So I found this blog in my Github repos, turns out the current version of Hugo still works perfectly with it. This might be a good time to try and revive this and use it for some musings about tech.
As usual with my blogs, don’t expect too much. I know I don’t. ;-)
One of my favorite pastimes is trying new programming languages. Reading books, tutorials, talking with people who use them and make them. For the last 10 years or so, I’ve tried almost every major language out there and a whole lot of the smaller ones. This started because I got curious what the ‘best programming language’ was. A simple Google search told me it was Common Lisp and I immediately tried it.
These past couple of weeks I’ve been hopping from one language to the next again. Trying to find that sweet spot for the stuff I do the most. Which is basically shuffle files around, automate some small tasks and do some web related things. I dove into Haskell again (against my better judgement), OCaml, F#, tried to do some Smalltalk again, Ada, D, Julia, Racket,.. All of these have their niches and their awesome features.
I’ve been playing with Prolog in my spare time for a while now. It’s good fun, makes me think differently about programming and sometimes hurts my brain thinking about the way it works.
But does this actually help me for my career?
Should it matter that it helps me for my career?
Talking to colleagues and friends, I hear a lot of different opinions.
"Free time is for learning new frameworks and libraries so you can do better in your next job.
++++
:icons: font
IMPORTANT: This post will remind me how to run the SWI-Prolog http server behind an nginx reverse proxy.
NOTE: This assumes experience with nginx and already have a server up and running.
SWI-Prolog has a built-in webserver in library(http/http_server). Of course exposing this kind of thing directly to the internet is never a good idea and most people put nginx in front of it. SSL can be offloaded to nginx as well.
Trying this again. Now it’ll be hosted on Github pages, which means it’ll survive my umpteenth VPS reinstall.
I could also host this myself, but the VPS doesn’t allow too much traffic and doing it on Github pages is actually really convenient.