Dimitri Lozeve 2021-01-05 21:16:06 +01:00
parent 32b144db4e
commit e4aab38353
18 changed files with 40 additions and 4 deletions

View file

@ -2,6 +2,7 @@
title: "Dyalog APL Problem Solving Competition 2020 — Phase I" title: "Dyalog APL Problem Solving Competition 2020 — Phase I"
subtitle: "Annotated Solutions" subtitle: "Annotated Solutions"
date: 2020-08-02 date: 2020-08-02
tags: programming, apl
toc: true toc: true
--- ---

View file

@ -2,6 +2,7 @@
title: "Dyalog APL Problem Solving Competition 2020 — Phase II" title: "Dyalog APL Problem Solving Competition 2020 — Phase II"
subtitle: "Annotated Solutions" subtitle: "Annotated Solutions"
date: 2020-08-02 date: 2020-08-02
tags: programming, apl
toc: true toc: true
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "Random matrices from the Ginibre ensemble" title: "Random matrices from the Ginibre ensemble"
date: 2019-03-20 date: 2019-03-20
tags: maths, linear algebra, statistics, julia, visualization
--- ---
** Ginibre ensemble and its properties ** Ginibre ensemble and its properties

View file

@ -1,6 +1,7 @@
--- ---
title: "Reading notes: Hierarchical Optimal Transport for Document Representation" title: "Reading notes: Hierarchical Optimal Transport for Document Representation"
date: 2020-04-05 date: 2020-04-05
tags: paper, machine learning, optimal transport, nlp
toc: true toc: true
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "ICLR 2020 Notes: Speakers and Workshops" title: "ICLR 2020 Notes: Speakers and Workshops"
date: 2020-05-05 date: 2020-05-05
tags: conference, machine learning, reinforcement learning, nlp
toc: true toc: true
--- ---

View file

@ -2,6 +2,7 @@
title: Ising model simulation in APL title: Ising model simulation in APL
date: 2018-03-05 date: 2018-03-05
tags: ising simulation montecarlo apl tags: ising simulation montecarlo apl
tags: apl, statistics, visualization
toc: true toc: true
--- ---

View file

@ -2,7 +2,7 @@
title: Ising model simulation title: Ising model simulation
author: Dimitri Lozeve author: Dimitri Lozeve
date: 2018-02-05 date: 2018-02-05
tags: ising visualization simulation montecarlo tags: statistics, visualization, clojure
toc: true toc: true
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "Learning some Lie theory for fun and profit " title: "Learning some Lie theory for fun and profit "
date: 2020-11-14 date: 2020-11-14
tags: maths, linear algebra, dynamical systems
toc: false toc: false
--- ---

View file

@ -2,7 +2,7 @@
title: Generating and representing L-systems title: Generating and representing L-systems
author: Dimitri Lozeve author: Dimitri Lozeve
date: 2018-01-18 date: 2018-01-18
tags: lsystems visualization algorithms haskell tags: visualization, haskell
toc: true toc: true
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "Online Analysis of Medical Time Series" title: "Online Analysis of Medical Time Series"
date: 2020-11-17 date: 2020-11-17
tags: paper, statistics, medical, time series
toc: false toc: false
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "Operations Research and Optimization: where to start?" title: "Operations Research and Optimization: where to start?"
date: 2020-05-27 date: 2020-05-27
tags: maths, operations research, optimization, optimal transport
toc: true toc: true
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "Peano Axioms" title: "Peano Axioms"
date: 2019-03-18 date: 2019-03-18
tags: maths, foundations
toc: true toc: true
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "Quaternions: what are they good for?" title: "Quaternions: what are they good for?"
date: 2020-11-09 date: 2020-11-09
tags: maths, dynamical systems
toc: false toc: false
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "Quick Notes on Reinforcement Learning" title: "Quick Notes on Reinforcement Learning"
date: 2018-11-21 date: 2018-11-21
tags: machine learning, reinforcement learning
--- ---
* Introduction * Introduction

View file

@ -1,6 +1,7 @@
--- ---
title: "Mindsay: Towards Self-Learning Chatbots" title: "Mindsay: Towards Self-Learning Chatbots"
date: 2019-04-06 date: 2019-04-06
tags: chatbots, nlp, machine learning, reinforcement learning
--- ---
Last week I made a presentation at the [[https://www.meetup.com/Paris-NLP/][Paris NLP Meetup]], on how we Last week I made a presentation at the [[https://www.meetup.com/Paris-NLP/][Paris NLP Meetup]], on how we

23
site.hs
View file

@ -42,6 +42,22 @@ main = hakyll $ do
match "csl/*" $ compile cslCompiler match "csl/*" $ compile cslCompiler
tags <- buildTags "posts/*" (fromCapture "tags/*.html")
tagsRules tags $ \tag pattern -> do
let title = "Posts tagged \"" ++ tag ++ "\""
route idRoute
compile $ do
posts <- recentFirst =<< loadAll pattern
let ctx = constField "title" title
<> listField "posts" (postCtxWithTags tags) (return posts)
<> defaultContext
makeItem ""
>>= loadAndApplyTemplate "templates/tag.html" ctx
>>= loadAndApplyTemplate "templates/default.html" ctx
>>= relativizeUrls
match "posts/*" $ do match "posts/*" $ do
route $ setExtension "html" route $ setExtension "html"
compile $ do compile $ do
@ -49,9 +65,9 @@ main = hakyll $ do
toc <- getMetadataField underlying "toc" toc <- getMetadataField underlying "toc"
customPandocCompiler (toc == Just "yes" || toc == Just "true") customPandocCompiler (toc == Just "yes" || toc == Just "true")
>>= return . fmap demoteHeaders >>= return . fmap demoteHeaders
>>= loadAndApplyTemplate "templates/post.html" postCtx >>= loadAndApplyTemplate "templates/post.html" (postCtxWithTags tags)
>>= saveSnapshot "content" >>= saveSnapshot "content"
>>= loadAndApplyTemplate "templates/default.html" postCtx >>= loadAndApplyTemplate "templates/default.html" (postCtxWithTags tags)
>>= relativizeUrls >>= relativizeUrls
match (fromList ["contact.org", "cv.org", "skills.org", "projects.org"]) $ do match (fromList ["contact.org", "cv.org", "skills.org", "projects.org"]) $ do
@ -114,6 +130,9 @@ postCtx =
dateField "date" "%B %e, %Y" `mappend` dateField "date" "%B %e, %Y" `mappend`
defaultContext defaultContext
postCtxWithTags :: Tags -> Context String
postCtxWithTags tags = tagsField "tags" tags <> postCtx
feedCtx :: Context String feedCtx :: Context String
feedCtx = postCtx <> bodyField "description" feedCtx = postCtx <> bodyField "description"

View file

@ -44,6 +44,9 @@
<p class="byline">$author$</p> <p class="byline">$author$</p>
$endif$ $endif$
$endif$ $endif$
$if(tags)$
<p class="byline">Tags: $tags$</p>
$endif$
$endif$ $endif$
</header> </header>

1
templates/tag.html Normal file
View file

@ -0,0 +1 @@
$partial("templates/post-list.html")$