main-site

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

commit ae14683432d116b2ca469da825b8a99d0df4243b
parent 6f9c0a2fdaea5795506b78f342b44e38b9c21125
Author: niljimeno <niliara@proton.me>
Date:   Sat, 13 Dec 2025 18:08:12 +0100

update

Diffstat:
MMakefile | 3+--
Rcontent/blog/ssh-into-server.md -> content/blog/00-ssh-into-server.md | 0
Rcontent/blog/arch.md -> content/blog/01-arch.md | 0
Acontent/blog/04-to-do-lisp.md | 33+++++++++++++++++++++++++++++++++
Mcontent/blog/_index.md | 2+-
Acontent/blog/flow-state.md | 21+++++++++++++++++++++
Dcontent/blog/writting-attempt.md | 77-----------------------------------------------------------------------------
Mlayouts/blog/baseof.html | 2+-
Mlayouts/blog/list.html | 15++++++++++++++-
Mlayouts/index.html | 14++------------
Dstatic/Hasklig-Regular.ttf | 0
Astatic/Iosevka-Regular.ttc | 0
Mstatic/style.css | 86++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
13 files changed, 145 insertions(+), 108 deletions(-)

diff --git a/Makefile b/Makefile @@ -4,5 +4,4 @@ run: up: rm -rf public hugo - scp -r public/* root@niliara.net:/var/www/niliaranet - # then chmod into it to make the folder executable (?) + tar czf - public | ssh root@niliara.net "cd /var/www/ && tar xvzf - && rm -rf niliaranet && mv public niliaranet" diff --git a/content/blog/ssh-into-server.md b/content/blog/00-ssh-into-server.md diff --git a/content/blog/arch.md b/content/blog/01-arch.md diff --git a/content/blog/04-to-do-lisp.md b/content/blog/04-to-do-lisp.md @@ -0,0 +1,33 @@ ++++ +title = 'To do Lisp' +date = 2025-12-02T10:19:17+01:00 +draft = false ++++ + +I have decided to replace my entire stack by Lisp. +But before that, a little bit of context: + +I am a perfectionist, for better and for worse. +That has lead me to abandon most of my projects, +aswell as most tech stacks I've used. + +So in order to stop switching technologies constantly, +I have challenged myself to use only Lisp for my personal projects. + +## Why Lisp? +Because it's "the best programming language". + +I often find myself trying new languages because they're +supposedly "better" or "more pure" than the ones I already know. +Lisp is at the bottom of the programming rabbit hole: +there's nothing to hop on from there. +And not only that, but *Lisp is practical*, +so it's also productive! + +Another point is that **Lisp can do anything**. +That includes: +- Frontend development using ClojureScript +- Android development using Clojure +- Interoperability with Java/Erlang/C/Lua/PHP... + +Using Lisp, there's really no reason to change stack! diff --git a/content/blog/_index.md b/content/blog/_index.md @@ -1,5 +1,5 @@ +++ -title = "Nil's blog" +title = "Blog" date = 2024-06-17T13:54:47+02:00 draft = false +++ diff --git a/content/blog/flow-state.md b/content/blog/flow-state.md @@ -0,0 +1,21 @@ ++++ +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/writting-attempt.md b/content/blog/writting-attempt.md @@ -1,77 +0,0 @@ -+++ -title = 'Writting something obvious for practice and fun' -date = 2025-11-23T23:23:05+01:00 -draft = false -+++ -Here's a common idea: -"nothing is good in excess". -It usually follows with another one: -"everything is bad if regulated" or something along these lines. -We have been taught that nocive habits -are only really bad when they are practiced in excess. - -For example, if you see a skinny person eating chips, -you're not going to think about the problem this -supposes to their health. - -It's interesting: -that person is destroying its body -for a seemingly senseless activity, -and we see nothing wrong with that. -Granted, the effects are *not noticeable* -in plain sight, -**but that doesn't mean they aren't there**. - -*Allow me to elaborate..* - - -## Every choice has a consequence -The quote that made me change my mind was from -Dr Eric Berg, when he was talking about nutrition -and explained this same concept. -Eating chips has negative effects **and** no positive effects, -therefore *it's just bad*. Logical, isn't it? - -Now, take that concept and apply it to other aspects of life. - -Social media consumption, as of now, has no opposite outcome -that makes up for its negatives. -Therefore, it doesn't matter how long you are on your phone: -you will *still* face its negative effects in a minor scale. - -As for TV (and especially advertisements), -*yes*, all of these have an effect on you, even if you -watch them "in moderation". - - -## This is why advertisements work! -Advertisements are meant to have an effect on you. -They are meant to change your worldview and your perspective -with subtile ideas. -Even if you believe they have no effect on you, -**ads exist for a reason**. - -Needless to say, the effects are hard to quantify. -The most common consequence is a disatisfaction with -your current state in life, -but how do you quantify that? -How can you tell how you would have been if you haven't -watched that many advertisements? - -As paranoid as it may sound, -it's important to remember that *these effects still exist* -and distancing yourself for it will **almost certainly** -have a positive impact on your life. - - -## Isn't that impractical? -Going all-in against negative habits -also brings challenges and negative consequences! -It could be like stopping a water leak but breaking -the rest of the water system in the process. - -With that said, -I like considering my options before doing things, -thinking of what I have to gain and lose -depending of what I choose. -So far this has only lead to positive outcomes. diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML> <html lang="en"> <head> - <link rel="stylesheet" href="/blog.css"> + <link rel="stylesheet" href="/style.css"> <link rel="icon" href="/alice.ico"> <meta charset="UTF-8"> diff --git a/layouts/blog/list.html b/layouts/blog/list.html @@ -2,9 +2,22 @@ {{ .Content }} <div class="links"> <ul> + <li><span class="ascii-border">{{ "#" | strings.Repeat 69 }}</span><br/></li> + {{- range .Pages -}} - <a class="alt" href="{{ .Permalink }}"><li><h3 style="display: inline">{{ .Title }}</h3> <span>--{{ .Date | time.Format ":date_short" }}</span></li></a> + <li> + <span class="ascii-border">#</span + ><a class="alt" href="{{ .Permalink }}" + ><span class="ascii-border">&emsp;&emsp;</span + ><h3 style="display: inline">{{ .Title }}</h3 + ><span class="ascii-border">{{ strings.Repeat (sub 70 (add (len .Title) 8 10)) "&emsp;" | safeHTML }}</span + ><span>-- {{ .Date | time.Format "01/02/06" }}</span + ><span class="ascii-border">&emsp;&emsp;</span></a + ><span class="ascii-border">#</span> + </li> {{- end -}} + + <li><span class="ascii-border">{{ "#" | strings.Repeat 69 }}</span></li> </ul> </div> {{ end }} diff --git a/layouts/index.html b/layouts/index.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML> -<html lang="en"> +<html class="index" lang="en"> <head> <title>{{ site.Title }}</title> <link rel="stylesheet" href="/style.css"> @@ -21,6 +21,7 @@ / \ {}___)\)_ </pre> +<a href="https://ascii.co.uk/art/rabbit">vwc</a> </div> <div class="index"> @@ -39,17 +40,6 @@ </div> </div> - <br/> - <div class="about"> - {{- block "about" . }}{{- end }} - </div> - - <br/> - <nav class="center"> - <a href="https://man.9front.org/1/mothra"><img src="mothracompat.png"></img></a> - <a href="http://lantern6vrwheap4iahuktz3jtwvovrzhxgwgzvrvp46brdzzekxibqd.onion/"><img src="lantern-banner.webp"></img></a> - </nav> - </main> </body> </html> diff --git a/static/Hasklig-Regular.ttf b/static/Hasklig-Regular.ttf Binary files differ. diff --git a/static/Iosevka-Regular.ttc b/static/Iosevka-Regular.ttc Binary files differ. diff --git a/static/style.css b/static/style.css @@ -5,19 +5,27 @@ --fg: #fbf1c7; --link: #ffc107; --border: #908a67; - --comment: #aaa; + --comment: #999; + --ascii-b: #444; scrollbar-color: var(--link) var(--bg-dark); + height: 100%; +} + +.index { + align-content: center; } body { margin: 0; background-color: var(--bg); color: var(--fg); - font-family: Hasklig; + /* font-family: Hasklig; */ + font-family: Iosevka; line-height: 1.4; - font-size: 1.2em; + font-size: 1.4em; padding: 1em; + margin-bottom: 8em; } main { @@ -43,36 +51,60 @@ a:not(:hover) { text-decoration: none; } +.links { + width: 800px; + margin: 0 auto; +} + +.links ul { + list-style: none; + padding: 0em; +} + +.links li { + display: flex; + justify-content: center; +} + a.alt { - display: block; text-decoration: none; text-align: center; - padding: 0.2em; - border: 2px #0000 dashed; + + justify-content: space-between; } a.alt h3 { font-size: 1em; color: var(--fg); font-weight: normal; + text-align: left; + margin: 0; } -a.alt:hover { - border-color: var(--border); +a.alt:hover h3 { + color: var(--link); + text-decoration: underline; +} + +a.alt:focus h3 { + color: var(--link); } a.alt span { color: var(--comment); } -@font-face { - font-family: Hasklig; - src: url(Hasklig-Regular.ttf); +span.ascii-border { + color: var(--ascii-b); + -webkit-user-select: none; /* Safari */ + -ms-user-select: none; /* IE 10 and IE 11 */ + user-select: none; /* Standard syntax */ } .about { - border: 1px var(--border) solid; - padding: 0em 2em; + border: 1px var(--border) dashed; + padding: 1em; + margin: 1em 0; } pre:not(.nocode) { @@ -85,7 +117,12 @@ pre:not(.nocode) { } pre, code { - font-family: Hasklig !important; + font-family: Iosevka !important; +} + +div.ascii { + width: 7em; + margin: 0 auto; } div.ascii pre { @@ -93,6 +130,13 @@ div.ascii pre { margin: 0 auto; } +div.ascii a { + display: block; + margin: 0 auto; + text-align: center; + margin-left:3.2em; +} + nav { display: flex; flex-wrap: wrap; @@ -104,6 +148,10 @@ nav.center { justify-content: center; } +nav.center a { + align-content: center; +} + div { margin: 0; } @@ -122,3 +170,13 @@ div.index div { td { padding-right: 1em; } + +@font-face { + font-family: Hasklig; + src: url(Hasklig-Regular.ttf); +} + +@font-face { + font-family: Iosevka; + src: url(Iosevka-Regular.ttf); +}