1 (use-modules (haunt asset)
9 (haunt reader commonmark)
15 (define my-scheme 'https)
16 (define my-domain "bandali.eu.org")
18 (string-append (symbol->string my-scheme) "://" my-domain))
20 (define (stylesheet name)
21 `(link (@ (rel "stylesheet")
22 (href ,(string-append "/" name ".css")))))
24 (define* (aa content #:optional (uri content) . title)
25 `(a (@ (href ,uri) (title ,(apply string-append title))) ,content))
27 (define* (base-layout site body #:key title)
31 (meta (@ (charset "utf-8")))
32 (title ,(if title (string-append title " — " (site-title site))
33 "Amin Bandali’s Personal Site"))
35 ,(stylesheet "style"))
40 "Copyright 2016–2019 Amin Bandali. See " ,(aa "license.html")
41 " for license conditions. Please copy and share."))))))
43 (define my-date-format "~B ~d, ~Y")
45 (define (my-post-template post)
47 (h1 ,(post-ref post 'title))
48 (address "By " ,(aa (post-ref post 'author) "/")
49 " <" ,(post-ref post 'email) ">")
51 ,(date->string (post-date post) my-date-format)))
53 (p (@ (class "muted inbox"))
54 "Have a question or comment? Start a discussion in my "
55 ,(aa "public inbox" "https://lists.sr.ht/~bandali/public-inbox")
56 " by sending an email to "
57 ,(aa "~bandali/public-inbox@lists.sr.ht"
58 "mailto:~bandali/public-inbox@lists.sr.ht")
60 " [" ,(aa "mailing list etiquette"
61 "https://man.sr.ht/lists.sr.ht/etiquette.md") "]")
64 (define (my-collection-template site title posts prefix)
65 (define (post-uri post)
66 (string-append (or prefix "") "/"
67 (site-post-slug site post) ".html"))
73 ,(aa (post-ref post 'title) (post-uri post))
75 ,(date->string (post-date post) my-date-format)))
79 (theme #:name "bandali"
81 (lambda (site title body)
82 (base-layout site body
84 #:post-template my-post-template
85 #:collection-template my-collection-template))
87 (define (static-page title file-name body)
90 (with-layout bandali-theme site title body)
93 (define (index-material site posts)
95 (h1 (@ (style "font-size: 0;"))
97 (p (@ (style "margin-top: 0;"))
99 ,(aa "Amin Bandali" "images/bandali-with-rms.jpg"
100 "photo of bandali with rms wearing a "
101 "“pay cash don’t be tracked” pin")
102 ". I’m a graduate student at "
103 ,(aa "WatForm" "https://watform.uwaterloo.ca")
104 " at University of Waterloo, supervised by "
105 ,(aa "Dr. Nancy Day" "https://cs.uwaterloo.ca/~nday/")
106 ". The main goal of my research is improving "
107 (strong "software and systems reliability")
108 " through application of " (em "formal methods") ".")
109 (p "My research at WatForm focuses on formal logic, model "
110 "checking, and verification. I’m also interested in "
111 "programming languages, theorem provers, and their "
112 "type systems. You may wish to view my academic "
113 ,(aa "curriculum vitae" "bandali-cv.html") ".")
114 (p (@ (class "notice"))
115 (strong "SE 212 students: ")
116 "see " ,(aa "here" "se212-f19/") " for slides and other "
117 "material from the tutorials.")
118 (p "On the side, I dabble in "
119 ,(aa "Lean" "https://leanprover.github.io") " and enjoy "
120 ,(aa "hacking" "https://stallman.org/articles/on-hacking.html")
123 "https://www.gnu.org/software/emacs/manual/elisp.html")
124 ". I’m a " ,(aa "Free Software"
125 "https://www.gnu.org/philosophy/free-sw.html")
127 ,(aa "maintainer" "https://www.gnu.org/people/#bandali")
130 "https://www.gnu.org/people/webmeisters.html#bandali")
131 ", and an " ,(aa "associate member"
132 "https://www.fsf.org/associate/")
133 " of the " ,(aa "FSF" "https:///www.fsf.org"
134 "Free Software Foundation")
135 ". I co-host the " ,(aa "Emacs.el" "https://emacsel.com")
136 " podcast with " ,(aa "Daniel Gopar" "https://www.pygopar.com")
137 ", and organize " ,(aa "EmacsConf" "https://emacsconf.org")
138 " with help from many wonderful people. I am also a member of"
139 " the Systems Committee for the "
140 ,(aa "CSC" "https://csclub.uwaterloo.ca"
141 "Computer Science Club of the University of Waterloo")
143 (p "See my " ,(aa "contact" "contact.html") " page for how to "
145 (h2 (@ (id "papers")) "Papers")
147 (dt "A Comparison of the Declarative Modelling Languages B, DASH,
150 " [ " ,(aa "pdf" "papers/modre2018-declarative.pdf") " | "
151 ,(aa "bib" "papers/modre2018-declarative.bib") " ]"))
153 ,(aa "Amin Bandali" my-url) ", "
154 ,(aa "Nancy A. Day" "https://cs.uwaterloo.ca/~nday/") ", "
157 (em "2018 IEEE 8th International Model-Driven Requirements"
158 " Engineering Workshop (MoDRE)")
160 "Copyright © 2018 IEEE. All Rights Reserved. Sadly."))
161 (h2 (@ (id "talks")) "Talks")
164 "The Magic of Specifications and Type Systems"
167 ,(aa "slides" "talks/cucsc-2017-slides.pdf"
168 "presented at the Canadian Undergraduate Computer Science"
169 " Conference 2017,\n"
170 "University of Toronto, Canada, June 15–17, 2017")
172 ,(aa "poster" "talks/eecs4080-poster.pdf"
173 "presented at the Lassonde Undergraduate Summer Student"
174 " Research Conference,\n"
175 "York University, Toronto, Canada, August 15, 2017")
177 (dd ,(aa "Amin Bandali" my-url) ", "
178 ,(aa "Simon Hudon" "https://github.com/cipher1024") ", "
179 ,(aa "Jonathan S. Ostroff"
180 "http://www.cse.yorku.ca/~jonathan/")))
181 (h2 (@ (id "projects")) "Projects")
182 (p "Below are a number of free software projects I have worked "
185 (dt ,(aa "george-mode" "https://git.sr.ht/~bandali/george-mode"))
186 (dd "Emacs major mode for editing George files")
187 (dt ,(aa "alloy-catalyst"
188 "https://git.uwaterloo.ca/bandali/alloy-catalyst"))
189 (dd "Framework for performance analysis of Alloy models")
190 (dt ,(aa "unitb-web" "https://github.com/unitb/unitb-web"))
191 (dd "Web interface for Unit-B")
192 (dt ,(aa "tex2png-hs" "https://github.com/unitb/tex2png-hs"))
193 (dd "Library and CLI for converting TeX and LaTeX to PNG "
195 (h2 (@ (id "notes")) "Notes")
197 (@ (class "post-list"))
201 (define (post-uri post)
203 (site-post-slug site post) ".html"))
205 (td ,(aa (post-ref post 'title) (post-uri post)))
206 (td (@ (style "font-size: 0.875em;"))
207 ,(date->string (post-date post) my-date-format))))
208 (take-up-to 10 (posts/reverse-chronological posts)))))))
210 (define (index-page site posts)
213 (base-layout site (index-material site posts))
218 "Licensing Information"
220 `((h1 "License information for " ,my-domain)
221 (p "I strongly believe in "
223 "https://questioncopyright.org/what_is_free_culture")
224 " and that all creative works everywhere should be "
225 ,(aa "free" "https://freedomdefined.org/Definition") ".")
226 (p "Unless otherwise noted material on this site is licensed "
227 "under the GNU General Public License as published by the "
228 "Free Software Foundation, either version 3 of the License, "
229 "or (at your option) any later version. A copy of the "
230 "license is included at " ,(aa "gpl-3.0.html") ".")
231 (p "Some resources on free software and licenses:")
233 (li ,(aa "What is free software?"
234 "https://www.gnu.org/philosophy/free-sw.html"))
235 (li ,(aa "Various Licenses and Comments about Them"
236 "https://www.gnu.org/licenses/license-list.html"))
237 (li ,(aa "Proprietary Software Is Often Malware"
238 "https://www.gnu.org/proprietary/proprietary.html"))))))
242 "Contact Information"
244 `((h1 "Contact information")
245 (p "Email is by far my preferred method of communication. I may"
246 " be contacted at any of the following addresses (choose the"
247 " most closely related):")
249 (li "bandali@gnu.org")
250 (li "bandali@uwaterloo.ca")
251 (li "bandali@csclub.uwaterloo.ca"))
252 (p "If you want to send me GPG-encrypted mail, you can use my "
253 ,(aa "public key" "bandali-pubkey.txt") " with the"
255 (code "BE62 7373 8E61 6D6D 1B3A 08E8 A21A 0202 4881 6103")
261 (td "bandali on " ,(aa "freenode" "https://freenode.net") ", "
262 ,(aa "moznet" "https://wiki.mozilla.org/IRC") ", and "
263 ,(aa "oftc" "https://www.oftc.net")))
266 (td ,(aa "bandali@member.fsf.org"
267 "xmpp:bandali@member.fsf.org")))
270 (td ,(aa "@bandali:matrix.org"
271 "https://matrix.to/#/@bandali:matrix.org")))
274 (td ,(aa "@bandali@pleroma.site"
275 "https://pleroma.site/bandali")))))
277 (p "You may also find me at a few other places online. Stricken"
278 " through accounts are those I don’t use anymore, unless"
279 " absolutely necessary.")
281 (li ,(aa "bandali" "https://libreplanet.org/wiki/User:Bandali")
283 (li ,(aa "bandali" "https://emacsconf.org/bandali")
285 (li ,(aa "bandali" "https://savannah.gnu.org/users/bandali")
287 (li ,(aa "bandali" "https://git.sr.ht/~bandali")
289 (li ,(aa "bandali" "https://lobste.rs/u/bandali")
291 (li ,(aa "bandali" "https://hackage.haskell.org/user/bandali")
293 (li ,(aa "bandali" "https://gitlab.com/bandali")
296 "https://news.ycombinator.com/user?id=bandali")
298 (li ,(aa "bandali" "https://www.reddit.com/u/bandali")
300 (li (del ,(aa "bandali0" "https://github.com/bandali0")
302 (li (del ,(aa "bandali0" "https://twitter.com/bandali0")
309 `((h1 "Curriculum vitae (" ,(aa "PDF" "bandali-cv.pdf") ")")
314 (td ,(aa my-domain my-url)))
317 (td "bandali@uwaterloo.ca"))
320 (td "available upon request via email"))))
322 (h3 "Master of Mathematics (Computer Science) | 2018–present")
323 (p "University of Waterloo, Canada")
324 (p "Supervised by Dr. Nancy Day | GPA: 3.7/4.0 | "
325 "Expected completion: April 2020")
326 (p "Research focusing on formal logic, model checking, and "
328 (h3 "B.Sc. Honours Computer Science | 2013–2017")
329 (p "York University, Toronto, Canada")
331 (p "Relevant courses: System Specification & Refinement, "
332 "Software Requirements Eng., Software Design, "
333 "Operating Systems, Computational Complexity, "
334 "Design & Analysis of Algorithms.")
335 (p "Finished first year (2013-14) at " (em "Carleton University")
336 " with a GPA of 11.0/12.0, then transferred to "
337 (em "York University") " in Fall 2014.")
339 (p "Listed on my " ,(aa "homepage" "/#papers"))
340 (h2 "Work & Research Experience")
341 (h3 "Cheriton School of Computer Science, University of Waterloo"
343 (p "Instructional Apprentice, Teaching Assistant, "
344 "Research Assistant")
346 (li (abbr (@ (title "Logic and Computation")) "SE 212") ": "
347 (abbr (@ (title "Instructional Apprentice")) "IA") " in "
349 (abbr (@ (title "Teaching Assistant")) "TA") " in "
351 (li (abbr (@ (title ,(string-append
352 "Software Requirements Specification and "
353 "Analysis"))) "SE 463")
354 ": TA in Summer 2019 and 2018")
355 (li (abbr (@ (title ,(string-append
356 "Elementary Algorithm Design and "
357 "Data Abstraction"))) "CS 136")
358 ": TA in Winter 2018"))
361 "Electrical Engineering & Computer Science")))
363 " Department, York University | Fall 2017")
364 (p "Teaching Assistant")
365 (p (abbr (@ (title "Net-Centric Introduction to Computing"))
367 ": TA in Fall 2017"))))
369 (define se212-f19-page
372 "se212-f19/index.html"
373 `((h1 "Material from SE 212 tutorials")
374 (p "This page contains slides and other material from "
375 ,(aa "SE 212 tutorials"
376 "https://www.student.cs.uwaterloo.ca/~se212/times.html")
377 " held by me in Fall 2019. "
378 (del "If you have any questions, concerns, or suggestions "
379 "about the presented material, please email me at "
380 "bandali@uwaterloo.ca or come see me during my "
381 ,(aa "Friday office hours"
382 "https://www.student.cs.uwaterloo.ca/~se212/personnel.html")
387 (li ,(aa "TUT 101 slides" "se212-t01-101.pdf"))
388 (li ,(aa "TUT 102 slides" "se212-t01-102.pdf"))
389 (li ,(aa "Org beamer sources" "se212-t01.org"))))
392 (li ,(aa "Homework 2 q04d solution"
393 "se212-h02q04d-soln.grg"))))
398 (li ,(aa "Slides" "se212-t05.pdf"))
399 (li ,(aa "Org beamer sources" "se212-t05.org"))))
401 (li "Tutorial 7: worked through questions 1–5 of Homework 7")
404 (li "Tutorial 10: worked through questions 1–10 of "
407 (site #:title "Amin Bandali"
408 ;; TODO: uncomment after new haunt release
409 ;; #:scheme my-scheme
412 '((author . "Amin Bandali")
413 (email . "bandali@gnu.org")
414 (domain . my-domain))
415 #:readers (list commonmark-reader)
416 #:builders (list (blog #:theme bandali-theme
418 `(("Notes" "notes.html"
419 ,posts/reverse-chronological)))
422 #:file-name "feed.atom")
426 #:file-name "feed.rss")
431 (static-directory "static" "")))