summaryrefslogtreecommitdiff
path: root/src/operationnull/pages.scm
blob: 69554dff5046d4f24c0a38c5b14e89553d97e8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
(define-module (operationnull pages)
  #:export (index-content
            contact-content
            e404
            gold-content))


(define index-content
  '(article (h2 "Hello!")
            (div (@ (class "c"))
		 (p "My name is Benjamin, and you have reached my personal site!")
		 (p "Some of my current interests include sword and sorcery, abstract syntax trees and compilers, Norse mythology, scheme programming, and metal music. "
		    (a (@ (href "/gold.html"))
		       "I sometimes practice poetry")
		    "/fiction writing.")
		 (br)
		 (h3 "Some stuff I am currently doing:")
		 (ul (@ (type "bullet"))
                     (li "learning (guile) scheme, and using it to design a C compiler.")
		     (li "working on a short sword and sorcery story about a frankensteinish werewolf, and possibly, blood.")
		     (li "learning how to profile asynchronous code using sampling for the purpose of contributing it to "
			 (a (@ (href "https://github.com/plasma-umass/scalene"))
			    "SCALENE")
			 ".")))
	    (h2 "Other sites and protocols:")
	    (div (@ (class "c"))
		 (p "The web is currently being overrun with AI generated content. Even before then, search engines prioritized commercial pages over personalized sites or blogs. I have come across three solutions:")
		 (ol
                     (li "webrings! The footer of this site contains links to the sites of my peers.")
		     (li (a (@ (href "https://wiby.me"))
			    "wiby.me")
			 " works as a search engine and indexes only personal blogs. The all-knowing "
			 (a (@ (href "https://searxng.org/"))
			    "searxng")
			 " can also be configured to index this engine while simultaneously accessing google or duckduckgo.")
		     (li "try the "
			 (a (@ (href "https://geminiprotocol.net/"))
			    "gemini protocol")
			 ", which is filled with interesting 'gemlogs'. I have started my own, named 'Porphyrion'.")))))

(define contact-content
  '(article (h2 "Messengers")
	    (div (@ (class "c"))
		 (b "IRC: ") "@ bdunahu @ libera.chat"
		 (br)
		 (b "matrix: ") "@bdunahu:tchncs.de"
                 (br)
                 (b "signal: ") "bdunahu.29")
	    (h2 "Email")
	    (div (@ (class "c"))
		 "bdunahu @ this domain"
		 (ul (@ (style "font-size: 80%;"))
                     (p "If you know how/want to send encrypted email:")
                     (ul (code "curl -sL https://operationnull.com/assets/bdunahu.pub | gpg --import")
			 (br)
			 "Fingerprint: "
			 (code "5550 5CA6 9DE5 D342 7F31  F9AE 5F86 6C65 2A34 C996"))))))

(define about-content)

(define e404
  '(article (h2 "403/404 Error")
            (div (@ (class "c"))
		 (p "The requested page does not exist, or you do not have access."))))

(define gold-content
  '(article (h2 "Shape God")
            (div (@ (class "date"))
                    "Written on Feb 12, 2024, updated June 30th, 2025 by bdunahu")
            (br)
            (div (p (@ (class "verse"))
                    "An abiding ash snares its feathered lord;"
                    (br)
                    "the first bears shelter, the second shadow."
                    (br)
                    "Darkness thrashes in envy, a callous cord;"
                    (br)
                    "life seldom slaughters the serf of gallows."
                    (br)
                    (br)
                    "In sacred wellspring bearing a kingdom,"
                    (br)
                    "lowly ancients bargain poison and vice."
                    (br)
                    "A madman need savor his wisdom;"
                    (br)
                    "to take lore for sight is a witless price."
                    (br)
                    (br)
                    "Wanderer impaled by most faithless knife"
                    (br)
                    "tarnished talons adrift the bleeding red,"
                    (br)
                    "from the icy fibers of self-suffered life"
                    (br)
                    "our king --- "
                    (i "war-maker! all-hater!")
                    " --- has fed."
                    (br)
                    (br)
                    "In burst fetters terror comes to bite,"
                    (br)
                    "and thus conclude the coward's futile plight."
		    (br)))))