main-site

Main site for niliara.net
git clone git://niliara.net/main-site
Log | Files | Refs

commit ceb2f03d323b6af2edc60a83d10e8c6d58d75325
parent ae14683432d116b2ca469da825b8a99d0df4243b
Author: niljimeno <niliara@proton.me>
Date:   Mon,  2 Feb 2026 23:52:30 +0100

update

Diffstat:
Acontent/about.md | 4++++
Acontent/blog/07-window-manager.md | 15+++++++++++++++
Dcontent/blog/flow-state.md | 21---------------------
Acontent/blog/janet2.md | 22++++++++++++++++++++++
Acontent/blog/new-year-resolutions.md | 24++++++++++++++++++++++++
Mlayouts/_default/baseof.html | 3++-
Alayouts/about.html | 77+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mlayouts/blog/list.html | 14+++++++-------
Mlayouts/index.html | 1+
Astatic/Iosevka-Regular.woff2 | 0
Mstatic/style.css | 47+++++++++++++++++++++++++++++++++++++++++++----
11 files changed, 195 insertions(+), 33 deletions(-)

diff --git a/content/about.md b/content/about.md @@ -0,0 +1,4 @@ ++++ +title = 'About' +layout = "about" ++++ diff --git a/content/blog/07-window-manager.md b/content/blog/07-window-manager.md @@ -0,0 +1,15 @@ ++++ +title = '07 Window Manager' +date = 2026-02-02T22:16:16+01:00 +draft = true ++++ + +I've been focusing on a window manager project +to fight my procrastination and get a real project done. +And what would you know, it is **working**! + +I came in with the idea that creating a window manager +would be an impossible task; now I'm left with the +realisation that writing C is hard. + +## C programming is great! diff --git a/content/blog/flow-state.md b/content/blog/flow-state.md @@ -1,21 +0,0 @@ -+++ -title = 'Flow State or Passive Procrastination' -date = 2025-12-06T10:12:49+01:00 -draft = true -+++ -I'm in my first week of learning Lisp programming. - -During it, I've realised that it's very easy for -me to feel productive when I'm not: -- When I finish **anything** I spend a lot of time testing it *when there's no reason to* -- I spend even more time reorganizing what I've done rather than progressing - -It's impressive how hard the brain tries -to trick me in order to work less. - -The goal of replacing all my stack for lisp was partially -to reach a state of flow: -that state where you know exactly what you're doing -and don't need to look anything up, -where you build your project at the speed of thought. -I thought removing syntax noise would be a good start. diff --git a/content/blog/janet2.md b/content/blog/janet2.md @@ -0,0 +1,22 @@ ++++ +title = '1 month review of Lisp' +date = 2025-12-24T16:08:17+01:00 +draft = false ++++ +Somehow, in the span of a single month, +I already got tired of *most* Lisp variants. +But among all the trash (and not so trash), +I managed to find one that would fit my needs: +a *standalone*, *simple*, *portable* language. + +Here's a summary of my experiences: +Common Lisp is bloat, +Clojure is perfect (except for the JVM), +Scheme is too focused on embedding and small programs +and Fennel is *almost* perfect, but it depends on Lua. +At the end of the day, +Janet takes the good of Clojure and Fennel +and focuses on creating minimal *yet functional* programs. + +This 2026 I'm planning on staying almost-exclusively in Janet +*given that I have a tendency of switching tools*. diff --git a/content/blog/new-year-resolutions.md b/content/blog/new-year-resolutions.md @@ -0,0 +1,24 @@ ++++ +title = 'Resolutions' +date = 2026-01-08T12:22:44+01:00 +draft = false ++++ +This new year, I want to focus on practical projects +rather than learning new concepts for the sake of it. + +For a long time I prioritized superficial general knowledge +over practical knowledge. +Ironic, given that I come from a web dev course; +but most of my projects, if not all, +are just small experiments that never get to grow. +In fact, all my pinned projects on Github are 1-day projects. + +That can also be reflected in my website, +which is semi-abandoned. + +So, for this new year, I want to focus solely on creating projects, +properly grown, usable projects. +For now, I started building a window manager from scratch +([Enforcer](https://github.com/niljimeno/enforcer) on github). +I will eventually rewrite Citadel and my Git frontend aswell, +that's next on the list. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html @@ -9,18 +9,19 @@ <body> <main> + {{- block "nav" . }} <nav> <a href="{{ site.BaseURL }}">&lt;&lt;HOME</a ><a href="{{ site.BaseURL }}blog">&lt;blog</a > </nav> + {{- end }} <h1>{{ .Title}}</h1> {{- block "main" . }}{{- end }} </main> </body> </html> - {{ define "about" }} {{ end }} diff --git a/layouts/about.html b/layouts/about.html @@ -0,0 +1,77 @@ +{{ define "nav"}} + <nav> + <a href="{{ site.BaseURL }}">&lt;&lt;HOME</a> + </nav> +{{ end }} + +{{ define "main" }} + +<div class="presentation"> +<div class="ascii"> +<pre class="nocode"> + _ + (\\ + \|| + __(_"; + / \ +{}___)\)_ +</pre> +</div> + +<div> +<p> +Hello! I'm Nil +and I'm an aspirant to computer engineering. +</p> + +<p> +I use Linux/BSD on a daily. +I do cloud/systems programming, +server management +and web development. +</p> + +</div> +</div> + +<hr></hr> + +<br/> + + + +<h3>Recent highlighted projects</h3> + +<div class="projects"> +<div> +<a href="https://github.com/niljimeno/enforcer"><h4>Enforcer</h4></a> +<p> +Window manager for the X11 display server, +written in C from scratch. +</p> +</div> +<div> +<a href="https://github.com/niljimeno/music-player-backend"><h4>Music player backend</h4></a> +<p> +Backend for a music player application +that scraps songs, +written in Clojure. +</p> +</div> +<div> + +</div> + +{{ end }} + + +{{ define "about" }} + <p> + {{ range ( where .Site.Pages "Title" "ne" "niliara.net" | first 1 ) }} + <span>Last change: <a href="{{ .Permalink }}">{{ .Date | time.Format ":date_long" }}</a></span><br/><br/> + + <span>Ascii art by <a href="https://ascii.co.uk/art/rabbit">vwc</a></span><br/><br/> + <a href="/index.xml">RSS</a> + {{end}} + </p> +{{ end }} diff --git a/layouts/blog/list.html b/layouts/blog/list.html @@ -5,16 +5,16 @@ <li><span class="ascii-border">{{ "#" | strings.Repeat 69 }}</span><br/></li> {{- range .Pages -}} - <li> - <span class="ascii-border">#</span + <li><nobr + ><span class="ascii-border">#</span ><a class="alt" href="{{ .Permalink }}" - ><span class="ascii-border">&emsp;&emsp;</span + ><span class="ascii-border">&nbsp;&nbsp;</span ><h3 style="display: inline">{{ .Title }}</h3 - ><span class="ascii-border">{{ strings.Repeat (sub 70 (add (len .Title) 8 10)) "&emsp;" | safeHTML }}</span + ><span class="ascii-border">{{ strings.Repeat (sub 70 (add (len .Title) 8 10)) "&nbsp;" | safeHTML }}</span ><span>-- {{ .Date | time.Format "01/02/06" }}</span - ><span class="ascii-border">&emsp;&emsp;</span></a - ><span class="ascii-border">#</span> - </li> + ><span class="ascii-border">&nbsp;&nbsp;</span></a + ><span class="ascii-border">#</span></nobr + ></li> {{- end -}} <li><span class="ascii-border">{{ "#" | strings.Repeat 69 }}</span></li> diff --git a/layouts/index.html b/layouts/index.html @@ -28,6 +28,7 @@ <div> <h3>~/Spaces</h3> <ul> + <li><a style="display:block;" href="/about">About</a></li> <li><a style="display:block;" href="/blog">Blog</a></li> </ul> </div> diff --git a/static/Iosevka-Regular.woff2 b/static/Iosevka-Regular.woff2 Binary files differ. diff --git a/static/style.css b/static/style.css @@ -20,7 +20,6 @@ body { margin: 0; background-color: var(--bg); color: var(--fg); - /* font-family: Hasklig; */ font-family: Iosevka; line-height: 1.4; font-size: 1.4em; @@ -31,7 +30,7 @@ body { main { margin: 0 auto; padding: 2em 0em; - max-width: 800px; + max-width: 1000px; } @@ -52,13 +51,13 @@ a:not(:hover) { } .links { - width: 800px; margin: 0 auto; } .links ul { list-style: none; padding: 0em; + margin: 0 auto; } .links li { @@ -79,6 +78,7 @@ a.alt h3 { font-weight: normal; text-align: left; margin: 0; + display: inline; } a.alt:hover h3 { @@ -178,5 +178,44 @@ td { @font-face { font-family: Iosevka; - src: url(Iosevka-Regular.ttf); + src: url(/Iosevka-Regular.woff2); +} + + +.presentation { + display: grid; + grid-template-columns: 25% 75%; + width: 100%; + margin-bottom: 2em; +} + +.presentation .ascii { + width: 80%; +} + +.presentation .ascii pre { + display: block; + float: right; +} + +.projects { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 1em; +} + +.projects div { + width: calc(50% - 3em); + padding: 0 1em; + background-color: var(--bg-dark); +} + +.projects div h4 { + margin-bottom: 0; +} + +.projects div p { + margin-top: 0.4em; + margin-bottom: 1em; }