diff --git a/content/blog/2026-11-17-just-start-making-shit.md b/content/blog/2026-11-17-just-start-making-shit.md index 1564578..fb4d094 100644 --- a/content/blog/2026-11-17-just-start-making-shit.md +++ b/content/blog/2026-11-17-just-start-making-shit.md @@ -1,7 +1,7 @@ --- title: Just start making shit -date: 2026-11-17T14:49:00 -draft: true +date: 2026-11-18T12:33:00 +draft: false description: Who cares about AI, if you have a problem, you should solve it yourself. --- @@ -36,7 +36,7 @@ local function duck_duck_go(term) -- Solve for capcha or request something different end - local body = vs.objectify(result.body) -- Decodes into a dom tree + local body = vs.objectify(result.body) -- Decodes into a html dom tree local titles = body.select("tbody tr rd a.result-link") -- Uses css selectors for title in ipairs(titles) do @@ -47,4 +47,14 @@ local function duck_duck_go(term) end ``` -Considering I haven't implemented anything yet, this is probably only a guideline of what to expect. +Considering I haven't implemented anything yet, this is probably only a guideline of what to expect. Of course, because i can use async in rust, every function passed through can be run in parallel, using a batched request from curl::multi (_I'm pretty sure that's the right one_), and then using reactive html magic, the results page can load immediately, and then update when new results come in that are more relevant. Additionally, because everything is a flat structure, results can be easily cached and re-served really easily, based on relevancy matching, leading to similar searches that would yeild the same results having effectively 0 load time. + +De-centralising even further, if all the html is generated by the rust code instead of templates, it can be overwritten, allowing for completely custom interfaces to be generated on the fly with just some simple lua scripting. As usual, feature creep, but it would be interesting to have a seperate rendering configuration that would treat everything as the same object, allowing you to change the layout of results depending on where the results come from, have different columns altogether for different engines, or add conditional wikipedia info boxes that would pop up if a close enough match is found. You could even embed a search bar or button into a result, that would return semantically similar results from all search engines. If everything is treated as a generic object, there's nothing stopping entire custom UIs being created from scratch to suit a particular need. But, as usual, I'm getting ahead of myself. + +## Making shit + +I'll be working on this nameless search engine in the background, but this isn't an article about that, this is an article about how you should make shit. As I've said before, most things are made out of a simple frustration. Linux was made because some random guy got annoyed one time. Git was made because the same guy was annoyed that there wasn't a good code versioning tool. This blog was made because I was annoyed with the old one being slow, and my nix system was made because I was fed up with stray packages and inconsistent, undocumented fixes that I would have to rediscover when the same issue happened again after an update. + +Next time you encounter something that annoys you, don't just sit there and deal with it. Is your note taking app slow? Make one! Is the dev of a project you use mean? Make an alternative! Is your search engine stealing all of your data? Make one that doesn't, and if that fails, go live on a farm somewhere and make food or something! Use AI all you want to get started. Pick a language and start googling! It's fine to ask "Hey, chatgpt, how do i convert from a Vec<&str> to a String?", because once you have an answer, instead of asking chatgpt again, you go back to your old code and look at the example you already have! Go and explain your niche issue to claude, and understand the solution. Then, one day, you'll just make a cool project without even thinking about it! No chatgpt required. + +Now, instead of reading more of my articles, go and make something cool! Bye!