www.marginalia.nu

You may be looking for one of the following things

🔗 Search Engine
🔗 Encyclopedia (not mobile-friendly!)
🔗 Website Explorerimproved
🔗 Similar Website Finder
🔗 Server Status

My name is Viktor. I’m a Swedish software engineer and hypertext enjoyer. Marginalia is a website I’ve built. It’s really almost a bunch of websites on a common theme. If you find yourself clicking a link and ending up on a page that looks completely different, that’s just how things are.

🌎 Marginalia Search on GitHub
ðŸĶĪ @MarginaliaNu on Twitter
ðŸĶĪ @marginalia@mastodon.social
📚 @ViktorLofgren on YouTube
✉ïļ kontakt@marginalia.nu on Email

Site Index

NameDate
📁 Weblog/2024-07-31
💭 Problems/2024-04-03
📁 Release Notes/2024-01-24
📁 Recipes/2023-08-31
🔧 Server Status Log/2023-08-27
📁 Miscellaneous/2023-05-08
📁 Marginalia Search/2023-03-28
📁 Links/2022-09-15
ðŸĪ– Weird AI Crap/2022-08-01
📄 Uses2024-02-01

Recent Updates

2024-07-31 Less Coffee, Better Sleep in log
As an experiment, I’ve reduced my coffee-intake to a single cup a day for about a week now. It’s made an enormous difference in sleep, mood and energy. I get tired at night, fall asleep quickly, and wake up refreshed. As mentioned previously in the context of morning sunlight exposure—another thing that’s aided my sleeping habits, but is somewhat less practical to sustain as it requires fair weather—I’ve always been slow to get going in the morning, active at night, bad at getting to bed at sane hours.
2024-06-18 One year of solo dev, wrapping up the grant-funded work in log
A year ago I walked out of the office for the last time. I handed in my corpo laptop, said some good-byes, and since then I have been my own boss. This first year has been funded by an NLnet grant, which I’m in the midst of wrapping up. As of now, the work is all done, the final request for payment has been sent. There’s a similar last-day-of-school levity to both these events.
2024-05-26 Feynman's Garden in log
The best description of my problem solving process is the Feynman algorithm, which is sometimes presented as a joke where the hidden subtext is “be smart”, but I disagree. The “algorithm” is a surprisingly lucid description of how thinking works in the context of hard problems where the answer can’t simply be looked up or trivially broken down, iterated upon in a bottom-up fashion, or approached with similar methods. Feynman’s thinking algorithm is described like this:
2024-05-16 Experiment in Java native calls in log
I’ve experimentally replaced some of the Java implementations of quicksort and binary search with calls to C++ code, and saw huge benefits for the sorting code but the same or worse performance for binary search. The Marginalia Search engine is mainly written in Java, which is language that is good at many things, but not particularly pleasant to work with when it comes to low level systems programming. Unfortunately, a part of building an internet search engine involves database-adjacent low level programming.
2024-05-05 Using DuckDB to seamlessly query a large parquet file over HTTP in log
A neat property of the parquet file format is that it’s designed with block I/O in mind, so that when you are interested in only parts of the contents of a file, it’s possible to some extent to only read that data. Many tools are aware of this property, and DuckDB is one of them. Depending on which circles you run in, a lesser known aspect of HTTP is range requests, where you specify which bytes in a file to be retrieved.

Tags

NameCount
🏷ïļ ai/3
🏷ïļ bots/4
🏷ïļ cooking/6
🏷ïļ memex/2
🏷ïļ moral-philosophy/7
🏷ïļ nlnet/14
🏷ïļ platforms/9
🏷ïļ programming/19
🏷ïļ satire/4
🏷ïļ search-engine/62
🏷ïļ server/2
🏷ïļ sleep/2
🏷ïļ web-design/12