Create Blog “2026-11-17-just-start-making-shit”
This commit is contained in:
22
content/blog/2026-11-17-just-start-making-shit.md
Normal file
22
content/blog/2026-11-17-just-start-making-shit.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
title: Just start making shit
|
||||||
|
date: 2026-11-17T14:49:00
|
||||||
|
draft: true
|
||||||
|
description: Who cares about AI, if you have a problem, you should solve it yourself.
|
||||||
|
---
|
||||||
|
|
||||||
|
# Simple Catalysts
|
||||||
|
|
||||||
|
This all began when [Omnisearch](https://git.bwaaa.space/omnisearch/), a meta search-engine that collates results from all over the place, stopped working. When I searched something, I got a capcha warning from a few of the search engines, and then no results. This had happened in the past, so I went to [my mirror](https://git.voidarc.co.uk/voidarc/omnisearch), pulled a copy, and then fetched from the original. I don't really need to host a full mirror, I don't make any crazy changes, but I have some color scheme and layout tweaks I apply, which means I stick to the same (outdated) version of this particular program for months at a time, usually until something stops working, as it had. When I did, though, most of the repo ceased to exist. Both the nix flake and the module that I relied on for compatibility had vanished, and in the reflog, `(fix) Removed Nix Support`.
|
||||||
|
|
||||||
|
Needless to say, I reverted the commit at hand immediately and pushed the new and improved version to my git server. Of course, because of how nix works, there's borderline no maintenance, so there's literally no reason to have removed nix support, but I guarantee that's what the maintainer would cite if he were asked. Other than being overly-opinionated and maintained by someone who doesn't like mainstream for the sake of not liking mainstream, Omnisearch is a great project, and is undoubtedly a great way to distance yourself from fingerprinting online, but if the developer isn't going to maintain it properly, then I may as well just make my own!
|
||||||
|
|
||||||
|
## Fixing what's broken
|
||||||
|
|
||||||
|
The architecture used for Omnisearch is almost as simple as one can get. To begin, everything on the backend is hard-coded in C, including search engine endpoints and filtering rules. That leads to a simple url change requiring a recompile at the very least, and completely rewriting the associated functions because of a UI change at worst. The filtering rules (as far as I can tell) are regex, relying heavily on grep and C's built in `.contains()` methods for strings, which can get extremely inefficient when dealing with massive hunks of text, like, oh, I don't know, entire webpages? I can't fault the frontend, it's just a http server, although custom implemented by the same developer with "less than ideal" efficiency, but if you wanted to add a new search engine, rather than being a config change, it's a whole afternoon of suckless programming.
|
||||||
|
|
||||||
|
It's rather obvious that it was written in C so that the dev could put it on the readme. C isn't optimised for handling html, searching through strings, or hosting websites. Great choice. On top of the language choice, some of the code in the repo hasn't changed since the initial commit, which has led to the entire system slowing down with age and implementation debt (_is that what it's called?? idk_). Finally, with the addition of specialised capchas, and anubis in particular, the average search takes a few seconds to fetch and render, leading to a sluggish experience. But we're still before I fixed everything, remember? I should probably get working on that.
|
||||||
|
|
||||||
|
### Why AI is good sometimes
|
||||||
|
|
||||||
|
I don't know how anubis works. I don't know how capchas and cookies work. I do, however, know how to read through chunks of code and get a rough idea whether it'll do what it's supposed to. So, instead of spending a few hours
|
||||||
Reference in New Issue
Block a user