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"))
71 (@ (class "post-list"))
75 (td ,(aa (post-ref post 'title) (post-uri post)))
76 (td (@ (style "font-size: 0.875em;"))
77 ,(date->string (post-date post) my-date-format))))
81 (theme #:name "bandali"
83 (lambda (site title body)
84 (base-layout site body
86 #:post-template my-post-template
87 #:collection-template my-collection-template))
89 (define (static-page title file-name body)
92 (with-layout bandali-theme site title body)
95 (define (index-material site posts)
97 (h1 (@ (style "font-size: 0;"))
99 (p (@ (style "margin-top: 0;"))
101 ,(aa "Amin Bandali" "images/bandali-with-rms.jpg"
102 "photo of bandali with rms wearing a "
103 "“pay cash don’t be tracked” pin")
104 ". I’m a graduate student at "
105 ,(aa "WatForm" "https://watform.uwaterloo.ca")
106 " at University of Waterloo, supervised by "
107 ,(aa "Dr. Nancy Day" "https://cs.uwaterloo.ca/~nday/")
108 ". The main goal of my research is improving "
109 (strong "software and systems reliability")
110 " through application of " (em "formal methods") ".")
111 (p "My research at WatForm focuses on formal logic, model "
112 "checking, and verification. I’m also interested in "
113 "programming languages, theorem provers, and their "
114 "type systems. You may wish to view my academic "
115 ,(aa "curriculum vitae" "bandali-cv.html") ".")
116 (p (@ (class "notice"))
117 (strong "SE 212 students: ")
118 "see " ,(aa "here" "se212-f19/") " for slides and other "
119 "material from the tutorials.")
120 (p "On the side, I dabble in "
121 ,(aa "Lean" "https://leanprover.github.io") " and enjoy "
122 ,(aa "hacking" "https://stallman.org/articles/on-hacking.html")
125 "https://www.gnu.org/software/emacs/manual/elisp.html")
126 ". I’m a " ,(aa "Free Software"
127 "https://www.gnu.org/philosophy/free-sw.html")
129 ,(aa "maintainer" "https://www.gnu.org/people/#bandali")
132 "https://www.gnu.org/people/webmeisters.html#bandali")
133 ", and an " ,(aa "associate member"
134 "https://www.fsf.org/associate/")
135 " of the " ,(aa "FSF" "https:///www.fsf.org"
136 "Free Software Foundation")
137 ". I co-host the " ,(aa "Emacs.el" "https://emacsel.com")
138 " podcast with " ,(aa "Daniel Gopar" "https://www.pygopar.com")
139 ", and organize " ,(aa "EmacsConf" "https://emacsconf.org")
140 " with help from many wonderful people. I am also a member of"
141 " the Systems Committee for the "
142 ,(aa "CSC" "https://csclub.uwaterloo.ca"
143 "Computer Science Club of the University of Waterloo")
145 (p "See my " ,(aa "contact" "contact.html") " page for how to "
147 (h2 (@ (id "papers")) "Papers")
149 (dt "A Comparison of the Declarative Modelling Languages B, DASH,
152 " [ " ,(aa "pdf" "papers/modre2018-declarative.pdf") " | "
153 ,(aa "bib" "papers/modre2018-declarative.bib") " ]"))
155 ,(aa "Amin Bandali" my-url) ", "
156 ,(aa "Nancy A. Day" "https://cs.uwaterloo.ca/~nday/") ", "
159 (em "2018 IEEE 8th International Model-Driven Requirements"
160 " Engineering Workshop (MoDRE)")
162 "Copyright © 2018 IEEE. All Rights Reserved. Sadly."))
163 (h2 (@ (id "talks")) "Talks")
166 "The Magic of Specifications and Type Systems"
169 ,(aa "slides" "talks/cucsc-2017-slides.pdf"
170 "presented at the Canadian Undergraduate Computer Science"
171 " Conference 2017,\n"
172 "University of Toronto, Canada, June 15–17, 2017")
174 ,(aa "poster" "talks/eecs4080-poster.pdf"
175 "presented at the Lassonde Undergraduate Summer Student"
176 " Research Conference,\n"
177 "York University, Toronto, Canada, August 15, 2017")
179 (dd ,(aa "Amin Bandali" my-url) ", "
180 ,(aa "Simon Hudon" "https://github.com/cipher1024") ", "
181 ,(aa "Jonathan S. Ostroff"
182 "http://www.cse.yorku.ca/~jonathan/")))
183 (h2 (@ (id "projects")) "Projects")
184 (p "Below are a number of free software projects I have worked "
187 (dt ,(aa "george-mode" "https://git.sr.ht/~bandali/george-mode"))
188 (dd "Emacs major mode for editing George files")
189 (dt ,(aa "alloy-catalyst"
190 "https://git.uwaterloo.ca/bandali/alloy-catalyst"))
191 (dd "Framework for performance analysis of Alloy models")
192 (dt ,(aa "unitb-web" "https://github.com/unitb/unitb-web"))
193 (dd "Web interface for Unit-B")
194 (dt ,(aa "tex2png-hs" "https://github.com/unitb/tex2png-hs"))
195 (dd "Library and CLI for converting TeX and LaTeX to PNG "
197 (h2 (@ (id "notes")) "Notes")
198 (p "Here are notes about a variety of topics and issues I care "
199 "about. They’re also available via " ,(aa "Atom" "feed.atom")
200 " and " ,(aa "RSS" "feed.rss") " feeds.")
202 (@ (class "post-list"))
206 (define (post-uri post)
208 (site-post-slug site post) ".html"))
210 (td ,(aa (post-ref post 'title) (post-uri post)))
212 ,(date->string (post-date post) my-date-format)))))
213 (take-up-to 10 (posts/reverse-chronological posts)))))))
215 (define (index-page site posts)
218 (base-layout site (index-material site posts))
223 "Licensing Information"
225 `((h1 "License information for " ,my-domain)
226 (p "I strongly believe in "
228 "https://questioncopyright.org/what_is_free_culture")
229 " and that all creative works everywhere should be "
230 ,(aa "free" "https://freedomdefined.org/Definition") ".")
231 (p "Unless otherwise noted material on this site is licensed "
232 "under the GNU General Public License as published by the "
233 "Free Software Foundation, either version 3 of the License, "
234 "or (at your option) any later version. A copy of the "
235 "license is included at " ,(aa "gpl-3.0.html") ".")
236 (p "Some resources on free software and licenses:")
238 (li ,(aa "What is free software?"
239 "https://www.gnu.org/philosophy/free-sw.html"))
240 (li ,(aa "Various Licenses and Comments about Them"
241 "https://www.gnu.org/licenses/license-list.html"))
242 (li ,(aa "Proprietary Software Is Often Malware"
243 "https://www.gnu.org/proprietary/proprietary.html"))))))
247 "Contact Information"
249 `((h1 "Contact information")
250 (p "Email is by far my preferred method of communication. I may"
251 " be contacted at any of the following addresses (choose the"
252 " most closely related):")
254 (li "bandali@gnu.org")
255 (li "bandali@uwaterloo.ca")
256 (li "bandali@csclub.uwaterloo.ca"))
257 (p "If you want to send me GPG-encrypted mail, you can use my "
258 ,(aa "public key" "bandali-pubkey.txt") " with the"
260 (code "BE62 7373 8E61 6D6D 1B3A 08E8 A21A 0202 4881 6103")
266 (td "bandali on " ,(aa "freenode" "https://freenode.net") ", "
267 ,(aa "moznet" "https://wiki.mozilla.org/IRC") ", and "
268 ,(aa "oftc" "https://www.oftc.net")))
271 (td ,(aa "bandali@member.fsf.org"
272 "xmpp:bandali@member.fsf.org")))
275 (td ,(aa "@bandali:matrix.org"
276 "https://matrix.to/#/@bandali:matrix.org")))
279 (td ,(aa "@bandali@pleroma.site"
280 "https://pleroma.site/bandali")))))
282 (p "You may also find me at a few other places online. Stricken"
283 " through accounts are those I don’t use anymore, unless"
284 " absolutely necessary.")
286 (li ,(aa "bandali" "https://libreplanet.org/wiki/User:Bandali")
288 (li ,(aa "bandali" "https://emacsconf.org/bandali")
290 (li ,(aa "bandali" "https://savannah.gnu.org/users/bandali")
292 (li ,(aa "bandali" "https://git.sr.ht/~bandali")
294 (li ,(aa "bandali" "https://lobste.rs/u/bandali")
296 (li ,(aa "bandali" "https://hackage.haskell.org/user/bandali")
298 (li ,(aa "bandali" "https://gitlab.com/bandali")
301 "https://news.ycombinator.com/user?id=bandali")
303 (li ,(aa "bandali" "https://www.reddit.com/u/bandali")
305 (li (del ,(aa "bandali0" "https://github.com/bandali0")
307 (li (del ,(aa "bandali0" "https://twitter.com/bandali0")
314 `((h1 "Curriculum vitae (" ,(aa "PDF" "bandali-cv.pdf") ")")
319 (td ,(aa my-domain my-url)))
322 (td "bandali@uwaterloo.ca"))
325 (td "available upon request via email"))))
327 (h3 "Master of Mathematics (Computer Science) | 2018–present")
328 (p "University of Waterloo, Canada")
329 (p "Supervised by Dr. Nancy Day | GPA: 3.7/4.0 | "
330 "Expected completion: April 2020")
331 (p "Research focusing on formal logic, model checking, and "
333 (h3 "B.Sc. Honours Computer Science | 2013–2017")
334 (p "York University, Toronto, Canada")
336 (p "Relevant courses: System Specification & Refinement, "
337 "Software Requirements Eng., Software Design, "
338 "Operating Systems, Computational Complexity, "
339 "Design & Analysis of Algorithms.")
340 (p "Finished first year (2013-14) at " (em "Carleton University")
341 " with a GPA of 11.0/12.0, then transferred to "
342 (em "York University") " in Fall 2014.")
344 (p "Listed on my " ,(aa "homepage" "/#papers"))
345 (h2 "Work & Research Experience")
346 (h3 "Cheriton School of Computer Science, University of Waterloo"
348 (p "Instructional Apprentice, Teaching Assistant, "
349 "Research Assistant")
351 (li (abbr (@ (title "Logic and Computation")) "SE 212") ": "
352 (abbr (@ (title "Instructional Apprentice")) "IA") " in "
354 (abbr (@ (title "Teaching Assistant")) "TA") " in "
356 (li (abbr (@ (title ,(string-append
357 "Software Requirements Specification and "
358 "Analysis"))) "SE 463")
359 ": TA in Summer 2019 and 2018")
360 (li (abbr (@ (title ,(string-append
361 "Elementary Algorithm Design and "
362 "Data Abstraction"))) "CS 136")
363 ": TA in Winter 2018"))
366 "Electrical Engineering & Computer Science")))
368 " Department, York University | Fall 2017")
369 (p "Teaching Assistant")
370 (p (abbr (@ (title "Net-Centric Introduction to Computing"))
372 ": TA in Fall 2017"))))
374 (define se212-f19-page
377 "se212-f19/index.html"
378 `((h1 "Material from SE 212 tutorials")
379 (p "This page contains slides and other material from "
380 ,(aa "SE 212 tutorials"
381 "https://www.student.cs.uwaterloo.ca/~se212/times.html")
382 " held by me in Fall 2019. "
383 (del "If you have any questions, concerns, or suggestions "
384 "about the presented material, please email me at "
385 "bandali@uwaterloo.ca or come see me during my "
386 ,(aa "Friday office hours"
387 "https://www.student.cs.uwaterloo.ca/~se212/personnel.html")
392 (li ,(aa "TUT 101 slides" "se212-t01-101.pdf"))
393 (li ,(aa "TUT 102 slides" "se212-t01-102.pdf"))
394 (li ,(aa "Org beamer sources" "se212-t01.org"))))
397 (li ,(aa "Homework 2 q04d solution"
398 "se212-h02q04d-soln.grg"))))
403 (li ,(aa "Slides" "se212-t05.pdf"))
404 (li ,(aa "Org beamer sources" "se212-t05.org"))))
406 (li "Tutorial 7: worked through questions 1–5 of Homework 7")
409 (li "Tutorial 10: worked through questions 1–10 of "
412 (site #:title "Amin Bandali"
413 ;; TODO: uncomment after new haunt release
414 ;; #:scheme my-scheme
417 '((author . "Amin Bandali")
418 (email . "bandali@gnu.org")
419 (domain . my-domain))
420 #:readers (list commonmark-reader)
421 #:builders (list (blog #:theme bandali-theme
423 `(("Notes" "notes.html"
424 ,posts/reverse-chronological)))
427 #:file-name "feed.atom")
431 #:file-name "feed.rss")
436 (static-directory "static" "")))