HNHacker News
TopNewBestAskShowJobs

axegon_

3,418 karma · joined November 9, 2018

email: ping@axegon.com
submissionscomments
axegon_··on RSS can be used to distribute all sorts of information
I was always a huge supporter of RSS and my disappointment was immeasurable when it almost completely died. I've kind of abandoned the hope that it would make a comeback though. The way I see it, there are two major problems:

* XML sucks. Bloated, unpleasant, annoying, slow. There should be a new standard which is slimmer, faster and more pleasant to work with.

* LLM's: they are becoming cheaper and feasible to use AND TRAIN on consumer grade hardware: The type of hardware many of us have at home - a good amount of memory, a large hard drive, a beefy CPU and a beefy GPU(or two). If RSS all of a sudden became widely available across the web, who knows how many people would start using and abusing the feeds and start building some insanely powerful LLM's in their basements. I'm not saying that would be bad, I am all for it. But most people I know would go ballistic if their data was used to build LLMs without their explicit consent. Personally, I'm a huge fan of the WTF license[1] but maybe I'm just weird.

[1] http://www.wtfpl.net/

axegon_··on Archive your old projects
Funny enough, I was scrolling through an old hard drive of mine about a week ago and on it I found a cli I made in c++ at some point during the first half of the 2000s to solve quadratic equations. I had completely forgotten I ever made it but I bet it cut the time I spent on my math homework drastically. I remember how boring and tedious I used to find them...
axegon_··on Waze will now warn drivers about crash dangers using historical data
I have a very similar experience. Truth be told, it is what I have on my car's navigation whenever I know exactly where I'm going: the warnings about traffic jams, stationary radars, police and all that is all I care about. But whenever I need directions, I quickly switch back to the big G.
axegon_··on Topic: Discord Stealer
Security through obscurity is a terrible policy.
axegon_··on Topic: Discord Stealer
You are right. That is not to say that discord has a ton of security issues. For example, thousands of people, myself included have been screaming from the top of our lungs for years that sending files over discord creates public links that anyone can access and yet that issue was never addressed.
axegon_··on Trabant
Back in 2009 when I got my licence, I was really tempted to buy an '89 BMW e34 which had done 2.5 million kilometers. It was absolutely perfect in every way but I simply could not afford the fuel needed for a 3.5 liter straight six bi-turbo(it was the Alpina B10). I'd still get one if I find it for a reasonable price but that's kinda off topic. point is, it had done 2.5 million kilometers. As for the soviet cars, they rarely had done over 100k. A neighbor of ours when I was a kid had a lada and in it's 30 years it had done less than 35000km and for as long as people could remember, nothing that involved wires in the car ever worked. Point is, by those accounts, a mule is possibly the most reliable form of transportation and will likely outlast any car.
axegon_··on Trabant
Fiat as in Polski Fiat? Yes. But for whatever reason they were kinda rare. Lada - yes - that and Moskvich: those were the ones designed to either decapitate you put any healthy human into a semi-vegetative state for the rest of their life.
axegon_··on Ask HN: Are there valid Google Search alternatives?
G's quality has gone down drastically over the years. Back in 2017-18-19 it was unmatched. These days you have to use all sorts of hackery to get it to find what you need. And that goes for most google products I'm afraid. At this point their phones and gcp are the only product I don't have complaints about. Don't get me wrong, I still use google for searching but it's becoming increasingly irritating to mix quotes, explicit inclusions and exclusions and all that. I've been fiddling about with Kagi and I gotta say, it does behave like google used to 5 years ago. I feel like I'm not far from becoming a paying customer.
axegon_··on Trabant
My granddad used to have one up until the late 2000's. Slow, noisy, uncomfortable, stench was unbearable. But worst of all those things were the gear shifts. Funnily enough it was the first car I ever drove - I must have been like 10 or 11 (on an abandoned dirt road in the countryside, worst thing that could have happened is running over a grasshopper). I think he got it in the second half of the 80's or something like that. Those were a lot more desirable than the other soviet cars available in eastern Europe: at least finding a half-empty bottle of vodka left behind the door panels was out of the equation. As far as that region of the world, the decent(strong word) choices were Trabant and Skoda - all other cars were practically designed to decapitate you in even the lightest accident(I witnessed a fair bit of horror stories when I was a child and soviet cars were still roaming the streets). By having a Skoda or a Trabant you had some chance of survival. This was their only redeeming quality really.
axegon_··on Pepper X
Damn...
axegon_··on Pepper X
Idk to be honest. In my case they were being attacked by every pest known to man. Well insects at the very least. Out of 4 plants, only one made it out alive with the help of a dozen types of soil and chemicals to deal with the insects. And I have the perfect conditions: warm, sunny automated watering system, moisture sensors and all that. Air quality is kinda ass cause I am in a big city but last floor of a tall building so finding insects was a real shock to me.

As for what to do with them: 12 large bell peppers, chop them up, remove the seeds, some baby carrots(~100-150 grams), 200 grams of tomato sauce, whatever spices your heart desires(just add some oregano), add 200 ml of water, sauce it all in a blender with two Carolinas for a minute, add another 200 ml of water and shove all that in a pot, leave it on the stove for 40-50 minutes at medium heat and that's it really. You could toss some other peppers to the mix(also pickles work well), you really can't go wrong here. You'll have hot sauce for a very long time. And that coming from me is saying a lot, considering this is my fridge at any given time: https://i.imgur.com/C6UERig.jpg

axegon_··on Pepper X
OK, wow! A few years ago I became obsessed with anything spicy. And as such, I went all the way and tried anything I could get my hands on, going all the way to the Carolina reaper. I even bought two plants and managed to grow two peppers myself, which was insanely difficult: they couldn't be more finicky if they tried. I tried them raw and that was borderline suicide. Eventually I turned them into 6 large jars of hot sauce with a ton of bell peppers, carrots, tomatoes and a whole bunch of spices. The sauce was a solid 10/10 but even though I gave it around my family and a dozen friends, our combined efforts managed to get us through it in about 8 months. That's how hot it was. My point is, it seems I have a new mountain to climb. Soooo where do I get one?
axegon_··on Google opens Falcon, a reliable low-latency hardware transport, to the ecosystem
Sigh another project called "falcon".
axegon_··on Asus Formally Completes Acquisition of Intel's NUC Business
I've always been a fan of NUC's. I've never had one as a primary computer, but my only windows pc is a NUC 11 enthusiast. I got it a few years ago for around 1000 bucks plus 32 gigs of ram and 1tb nvme. At the time it was the cheapest way to get a complete box with a 2060 in it and I couldn't be happier with it. I would have preferred if Intel had kept developing the NUC line instead but all things considered, Asus would have been my second choice. I hope they get it right and the NUC line stays as awesome as it is.
axegon_··on My solopreneur story
> unit test suite with >95% test coverage

I'm sorry, but that claim is wild. This is nearly impossible unless your application consists of 5 classes and you are moving a few bits in memory. For a large application, anything over 75% sounds a bit fishy to say the least. And beyond that, it's practically unsustainable: the odds of making even a small refactor(which sooner or later you will need to), without wasting a week fixing your tests is a fairy tale.

axegon_··on Should I Rust or Should I Go?
C a toy language? C is arguably the most difficult languages to master from the (relatively) mainstream languages. Far more difficult than C++ imo. I've gone through a lot of C and C++ code over the years and, I'm fully standing behind Torvald's opinions of it. As far as get things done, you could say that about any language really - Python, Haskell, Julia, hell, even PHP and js get things done easily. The example I gave above - the Rust microservice is not more than 10-15% larger in terms of codebase compared to the go one. The gains in performance and code which is actually pleasant to read is well worth it.
axegon_··on Should I Rust or Should I Go?
Honestly? Though I am forced to write go at work, I take Rust in a heartbeat(and it is a constant moaning from my end to ditch go and use Rust all the way almost every day). First thing to keep in mind is that Rust today is nothing like the Rust of 2015, even 2020. Way too many things are wrong with go: The packaging is one thing which I absolutely hate. I can't find words to express how much I hate the import "github.com/whatever" and that is a clear indication of the fact that packaging is an afterthought, which historically was a problem the language designers chose to ignore and kick the bucket down the road, hoping the community figures it out. Another clear indication of this is everything around the environmental variable hell: GOROOT, GOPATH and all that. Error handling is another horrible thing: ok, err := whatever() is absolutely wretched, even more so when you have to write the function definitions. Even when all linters are happy with the code, I can't look at it without thinking "this looks as beautiful and idiomatic as a roadkill". While coroutines(I hate the name goroutines) are cheap, they are not a universal solution to all problems and with that in mind, having a compiled language with no actual threading is ridiculous: threads are a great thing to have(I know this goes much deeper but let's not turn this into a novel). While both languages don't have inheritance, at least with Rust you have some tools to help you generalize basic things: macros. The statement that golang has all you need in it's standard library is a complete joke. While the ecosystem has grown immensely over the years, I feel like it's reaching the point where it's comparable to the npm hellhole.

With Rust you get a perfectly thought out packaging. You also get the best of both worlds - runtimes and threads. By design you are pushed hard to properly handle errors. Some of my large Rust projects take forever to compile, I'll give you that, but there is a good reason for it. The compiler is actually helpful and in a lot of the cases it tells you exactly what you need to fix when you mess up. And don't even get me started on performance. I have the exact same microservice implemented in both go and rust. And while I did not opt for the most performant rust web framework (poem), it's not even a race, it's a straight up massacre: when I benchmark the two with wrk, the difference in performance is literally 11 times - same database, same openapi specification, same logic. While the Rust standard library lacks a lot of things, even some basic functionalities, cargo takes care of it for you with 0 effort: cargo new whatever, echo 'rand = "0.8.4"' >> whatever/Cargo.toml and you are done.

Don't get me wrong, this is not a "bash-golang" comment. But I can't deny that when I put the two side by side, go looks like a toy language.

axegon_··on What happened in this GPT-3 conversation?
Something similar happened to me about a month ago but much more alarming. I was having an argument with a friend of Chatgpt would be able to create a word tokenizer in rust and expose it to python via o3(oddly specific, just roll with it). Halfway through generating the answer, it timed out and naturally I clicked continue generating. It closed of the code part and started giving me some answer about molecular biology. My next prompt was too repeat the question it was answering in that section. It replied with a question which felt like it was written by a human and seemed like a homework related question. Something, somewhere was leaking other people's conversations.
axegon_··on Redmine – open-source project management
Same, I was using it at an old job around that time. I think it was the fact that I we were using it alongside SVN which made me hate it a lot as a side effect. Funny enough, I feel like I'd still take it over jira - the ui is fast which ticks my number one box as a developer.
axegon_··on The art of refurbing old computers
Honestly, I'm a big supporter of refurbishing old computers. Admittedly I have 2 usff(1 liter) pc's which I got for less than 100 bucks with some minor upgrades thrown in there(a bit more ram and hard drive) - a Dell Optiplex and a Lenovo thinkcenter. With a quad core, 6-th gen i5, those two are stupid powerful for self-hosting and homelab purposes. At this point, I'd take one of those over an SBC any day of the week. Take the one that uses most resources: it's on 24/7 and has been doing an insane amount of work without batting an eye. It's been processing gigabytes of data daily and running 3 ML models for over 8 months and has been helping with what would otherwise be a very time consuming and difficult task. Refurbishing old PC's is really a goldmine in the homelab/automation/hacking spaces.
axegon_··on Over 100k ChatGPT Account Credentials Made Available on the Dark Web
Not entirely surprising. OpenAI has been lurking around the startup realm despite having the finance and people: for years they had no product to bring money in and they had to do something about it. ChatGPT was the perfect place to turn things around and they did. But often when you try to push a product to market, you are forced to cut corners. And in my experience, the most common corners to cut are tests and security. "This is well more than enough" is a very convenient way to lie to yourself and call it a job-well-done.
axegon_··on Show HN: Image Upscaler AI
Not always. One notable example which left me really impressed was letsenhance.io (admittedly I almost started working for them at one point but ultimately took a different route).
axegon_··on Reddit appears to be restoring edited/deleted comments
The true issue here is that reddit by design NEVER deletes anything. Ever. It's only levels of visibility. In practice the 4 obvious levels are:

* Unregistered users: Public, non-age restricted content(whether that be as a subreddit requirement or post-specific thing).

* Registered users: same as above, minus content that was published by individual users and deleted afterwards, content removed by moderators or in more extreme cases reddit themselves(last one is a bit of a special case, I'll come to that part later).

* Moderators: they see everything that was posted by other users and subsequently removed by the moderators for whatever reason. If a user deletes their contribution personally, then moderators won't see it either.

* Content removed by reddit: visible by reddit employees, appears as "Removed by Reddit" to anyone else. In this particular instance, reddit may remove contents that was removed by moderators already.

I'm a moderator of 2 large subs and a few smaller ones. Luckily I developed a backup system, which effectively backs up everything that was ever published on the sub(plus a ton of other stuff, including image recognition, lightweight nlp and tracking what reddit removes. Without saying which subreddit I'm talking about, I can tell you that a lot more is happening in large communities(20+k people online at any given time) than you might think.

So in the case mentioned here, it's simply a case of some "status" field in some database that was flicked. Which is kind of concerning, given the amount of contents me and the other mods have removed. Truth be told, the moderation tools that reddit provide are rat shit. I ended up developing a ton of custom ones(completely nuking a specific user's history, chained comments or entire comment sections. Things, which reddit has been promosing for years but never delivered. Funny enough, all of those are a question of 30 lines of code in total, if we are talking about a single-script type of thing. But it is worrying that stuff like this happened. Just earlier today I used one of those scripts to nuke 300+ comments in a post. I also keep a backup of the mod log so in theory I could undo the damage. Question is, how long would that take. We are talking about 500k action we've collectively taken over the past year. Some through a script, plenty manually however.

Despite all the drama lately, I don't think that's a deliberate retaliation from reddit due to the blackout, more likely a "woops" moment that happened at a very inconvenient time for reddit.

axegon_··on Reddit's Recently Announced API Changes, and the future of /r/blind
It is worth pointing out that even with a 10/10 sight, moderating reddit is a nightmare. If it wasn't for the mod toolbox plugin, I would have probably resorted to making CLI tools instead(many of which I have since reddit offers an extremely limited options for moderating, nuking comments, threads and so on). That said, this is absolutely nothing compared to the unholy mess that is moderating from android/ios. Most moderators plainly refuse to do it. I moderate a big sub and what we do is we have a discord chat and whenever something needs to be taken care of fast and someone notices it on mobile, they simply alert everyone on discord so someone near a computer can handle it.
axegon_··on The Future of Consumer SBCs: Has the Pi Bubble Burst? [video]
Yes and no. Back in the day having a tiny sbc for any type of small task at home made a ton of sense since they were so incredibly cheap. GPIO, while nice, remained a gimmick for the most part. Fast forward to the 2020's, yes SBC's have become pretty powerful. However their price has skyrocketed and availability is almost none. For the price of a raspberry pi(or less), I can get a second hand office mini atx with 16 gigs of ram, 500gb ssd, a 5-6-7-th gen quad core i5 and a good amount of USB's and video outputs. And although 4-5 years old, it is stupid fast in comparison to any pi. I still have a bunch of pi's. One is an ssh server from the outside world to my home network but that's all it does. For anything else, I have two similar mini pc's in the corner of my flat and they do a much better job than any pi. One is processing a ton of data from a subreddit I moderate, along with backups, a small ml model to quickly filter out crap and whatnot. The other hosts dozens of docker containers running self hosted stuff - time management, documents, backups and so on. And there is no denying that x86(with all it's horrors) will always offer a ton more than ARM. All of which is horrible news for the pi's.

There are some potential applications still for consumers. Namely something that recently came to my attention - the beepberry. They are currently out of stock but this is something I'd adore. Get Kali running on it, and I want two immediately: toss one in my car and one in my backpack. I cannot even begin to describe how useful this would be. Then again - kind of a niche problem which is a subset of a relatively small niche to begin with - consumer sbc.

axegon_··on Google releases Bard to a limited number of users in the US and UK
Google has the tendency to do this when they aren't the first to set foot on new land. Don't get me wrong, they get a lot of things very right: Gmail works perfectly, I can't find a single reason to change my pixel for anything else, search, although there's been a lot of deterioration in the past couple of years, is still second to none. That said, self driving cars, google+, duo and all the other services they launched as competitors failed miserably. While some of them eventually managed to catch up in terms of functionality and even outperform the products they were competing with, they never really managed to catch up on the hype side of things. Most people are creatures of habit I guess..
axegon_··on Meetings *are* the work
From a technical point of view, they are not. Not by a long shot. Take my current job for example(which coincidentally is one I'm also leaving because of that): At one point we discovered that we spend more time in meetings than actually developing. We decided to cut on meetings and define "meeting-free days", which are 2 days a week. Did it work? No. The outcome is that the other 3 days are almost always back to back meetings from dawn till dusk. We still spend over 15 hours a week(often closer to 20) in bullshit meetings, discussing how something simple should be done. And in our standups we disguise those as "pair-coding sessions", which have noting to do with pair or coding, rather talking about abstract, ambiguous bullshit. And when release time comes, several people spend several days in a row, working 15-16 hours a day in order to catch up and actually do what should have been done from the start: KISS[1]

[1]https://en.wikipedia.org/wiki/KISS_principle

axegon_··on Portable Django
Well no. None of these thing are appealing to me. As much as I hate the modern web, admin panels and forms generated server side are dead. Testing has never been an issue. As for security practices, this statement is as subjective as they come.

I am by no means a fan of flask. However it gives you a lot more freedom to structure your application to your taste. Django is basically a php 5.4 framework with a python syntax.

In this day and age fastAPI is a solid choice, so is falcon and probably half a dozen others.

axegon_··on Portable Django
A lot. And it baffles me why hasn't anyone realized that Kenneth Reitz was right about django over a decade ago and all his points are equally valid today.

https://speakerdeck.com/kennethreitz/flasky-goodness

axegon_··on Hugging Face and AWS partner to make AI more accessible
There's a world of difference between OpenAI and Hugging Face. OpenAI simply has the word "open" in their name, while there is nothing open about them. Hugging Face on the other hand deserves a ton of credit and praise in that regard. It's perfectly fine for a company of that nature to partner with a big player(whether that be Microsoft or AWS or Google or whatever): infrastructure is not free, nor is it cheap. Of course AWS and Microsoft have a lot to gain from this, which is also fine for that exact reason. So long as the community continues to exist and have the ability to use, extend and participate, I don't see anything wrong.

Moreover, Hugging Face has made it stupid simple for anyone to use. So Microsoft, AWS or Google, all I can say is bravo, Hugging Face and thanks for your work.

← PreviousPage 14 of 34Next →