pull down to refresh

bro the minimalism of your website and the homemade go cms behind it is awesome :D. code so cleaaan

reply

Thanks! :)

I really like minimal stuff; getting the job done without a lot of dependencies, mental overhead, bloat or mess. I also learned quite a lot by creating this custom SSG approach.

The code could be better though but it's a lot cleaner than it used to be. I would say I am still new to writing Go code. For example, I recently learned how to create subpackages. Will update my Go code soon such that only renderer.go is in the main package. Watching this video about idiomatic Go code helped a lot.

Also, Makefiles are awesome haha

Edit: Oh, and I also like to be in full control of my code

reply

we are alike :) cheers

reply

I appreciate that 28% of your activity on SN has been with me so far :) lol

reply

How can you tell that?

reply

see profile: 7 items so far including 2 replies to this post :)

reply

Oh, I see -- you just eyeballed it? I thought there was some sweet API or something that broke it down.

And give the guy credit, he recognizes quality ;)

reply
you just eyeballed it?

Kind of, I used Python to calculate 2 divided by two 7, lol

And give the guy credit, he recognizes quality ;)

Yep, zapped some of his previous comments, too

edit: Congratulations to your first 1k sats on SN @02467ac5d0 :)

https://imgprxy.stacker.news/zq9y_F5DKf2a2fhagJMaMjsvreE-Zetkz8RdWM5_sbU/rs:fit:600:500:0/g:no/aHR0cHM6Ly9pLnBvc3RpbWcuY2MvZDF4cVNtbjYvMjAyMy0wOS0yNS0xNTMxMzQtNDE4eDE3OS1zY3JvdC5wbmc

_zapped (1000 - (existing sats)/0.9 to reach exactly 1000 (divided by 0.9 since SN takes 10% for various reasons)

109 sats \ 1 reply \ @vlx 25 Sep 2023

is there any reason you chose iptables over nftables? as far as I know, iptables is considered deprecated on some distros

reply

nftables didn't work well with docker last time I tried using it.

And iptables is more common and still works well. And at least on Arch Linux, it's not deprecated, just legacy:

Note: iptables is a legacy framework, nftables aims to provide a modern replacement including a compatibility layer.

-- https://wiki.archlinux.org/title/iptables

reply

Started reading it but it was too technical to fathom

reply

Was wondering at which point it became overwhelming. Was the NAT primer already too technical?

reply

Thanks for the feedback! It is technical, yes.

Maybe you need to read my previous blog posts first. I start from the basics in the first blog post.

You can also ask questions and I'll try to answer them :)

reply