- Abstract
- Background/Introduction
- Pluggable facet filters
- Grouping algorithm
- (Solr configuration)
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"> | |
<HTML> | |
<HEAD> | |
<TITLE> | |
Datasource to DOM mapping | |
</TITLE> | |
</HEAD> | |
<BODY> | |
<b>A list of stuff:</b> | |
<ul id="dest"></ul> |
Grouping Algorithm ('ranked articles') = | |
'input groups' : [{'Property Names'}] <- trivially preprocess 'ranked articles' | |
'set of all graphs' <- 'Identify separate graphs' using 'input groups' | |
groups : {Group} <- empty | |
for each graph in 'set of all graphs' | |
'spanning tree' <- 'Find minimal spanning tree' of graph | |
groups += 'Split spanning tree' 'spanning tree' into groups | |
groups <- merge groups smaller than (g_min : Int) | |
'ranked groups' <- rank groups by average scoring | |
return 'ranked groups' |
This is my gist |
Clone what is to become child projects
git clone git:path/to/repo1
git clone git:path/to/repo2
Move repo contents one level down. By default this should not move hidden files. We don't want to move the .git folder so that is good.
{-# LANGUAGE ScopedTypeVariables #-} | |
module Blog.DynLoad ( | |
loadSourceGhc, | |
execFnGhc | |
) where | |
{- | |
Source: | |
http://codeutopia.net/blog/2011/08/20/adventures-in-haskell-dynamic-loading-and-compiling-of-modules/ | |
https://gist.github.com/jhartikainen/1158986 |
----------------------------------------------------------------------------- | |
-- | Example for loading Haskell source code dynamically using the GHC api | |
-- Tested on ghc 7.4.2 | |
-- | |
-- Useful links: | |
-- GHC api: | |
-- http://www.haskell.org/ghc/docs/latest/html/libraries/ghc/GHC.html | |
-- Wiki: | |
-- http://www.haskell.org/haskellwiki/GHC/As_a_library | |
----------------------------------------------------------------------------- |
#!/usr/bin/python | |
import os, fnmatch | |
# Some useful git commands to choose from: | |
reposNotCommited = 'git --no-pager log --branches --not --remotes --simplify-by-decoration --decorate --oneline' | |
logEntriesToday = 'git --no-pager log --since="6am"' | |
logEntriesLastSemester = 'git --no-pager log --since="2014-01-01" --until="2014-06-30" --oneline --author="Jon Doe"' | |
logEntriesThisWeek = 'git --no-pager log --since="last sunday"' |
{-# LANGUAGE TemplateHaskell #-} | |
module Templ1 where | |
import Language.Haskell.TH | |
import Templ2 | |
data Person = P { | |
name :: String, | |
age :: Integer | |
} |
{-# LANGUAGE | |
TemplateHaskell | |
#-} | |
module Label where | |
import Data.Label.Partial | |
import Data.Label.Base | |
import Data.Label.Derive | |
data Foo a b c = A a | |
| B b |