HNHacker News
TopNewBestAskShowJobs

haspok

1,631 karma · joined June 3, 2016

submissionscomments
haspok··on We rewrote JSONata with AI in a day, saved $500k/year
To me, the odd part is when you compare the performance of RPC vs inline code. You present it as if you found something new and foundational, only possible thanks to AI, when in fact, it has nothing to do with AI, and the results should be no surprise to anyone.

Your original architecture was a kludge to start with, it was a self-inflicted wound. This is probably the craziest part:

> We’d tried a few things over the years - optimizing expressions, output caching, and even embedding V8 directly into Go (to avoid the network hop).

I know hindsight is 20/20 - but still, you made the wrong decision at the start, and then you kept digging the hole deeper and deeper. Hopefully a good lesson for everyone working with microservices.

To end on a more positive note, I think this (porting code to other languages/platforms) is one use-case where AI code generation really shines, and will be of immense value in the future. Great reporting, just let's not confuse code generation with architectural decisions.

haspok··on How to Keep ICE Agents Out of Your Devices at Airports
Because only those two extremes exist: you either don't have a phone, or your are glued to it?
haspok··on Migrating to the EU
Is it not true that when entering the US you are required to show all your social media content on request, and if there is anything negative about the current administration, you can be denied entry (if you are lucky, and not detained for an indefinite amount of time)?

Truly exceptional indeed. You are basically on par with China.

haspok··on Waymo Safety Impact
Why do you even want music?

There is a large group of people (maybe even the majority?) who, as soon as they get in a car, MUST immediately turn on the radio or some kind of extra noise source. Is this some kind of a Pavlovian reflex?

I'm always amazed by this, as my car is one of the few places where I have actual control over my environment (unlike on public transport, or at my workplace, or even in my home - neighbours can be noisy...). We are living in a sea of unwanted noise, bombarded by constant ads and "music", so it is nice to have a place of "quiet".

haspok··on Java 26 is here
> Java provides inheritance and interfaces, but it doesn’t provide first-class delegation or traits.

I'm not sure I am missing first class delegation much (not a lot of UI projects in Java these days).

But interfaces with default (and static) method implementations are actually quite usable as traits / mixins. Since Java 8 IIRC.

You can also pass around functions / lambdas (coincidentally also since Java 8) to compose functionality together. A bit harder to follow and/or understand, but another perfectly legitimate and very powerful tool nevertheless.

haspok··on Monkey Island for Commodore 64 Ground Up
The EGA version was 4 1.44MB disks for MS-DOS, IIRC. Let's say 5MB. That's about 30 disk sides or 15 disks in DD disks. Not that bad actually, and perhaps the C64 images are smaller or more compressible than the EGA ones... So this should be some kind of an upper limit.
haspok··on Monkey Island for Commodore 64 Ground Up
This comparison is a bit misleading, as you are not watching the game full screen, but at 1/4 screen size with video compression artifacts. This helps the EGA dithering tremendously.

In reality, dithering can only help you so much, when you have gigantic pixels and 16 colors... It is a remarkable feat what they achieved despite the limits of EGA, but it can't really compare to VGA.

haspok··on Kotlin creator's new language: a formal way to talk to LLMs instead of English
I would just like to point out the fun fact that instead of the brave new MD speak, there is still a `codespeak.json` to configure the build system itself...

...which seems to suggest that the authors themselves don't dogfood their own software. Please tell me that Codespeak was written entirely with Codespeak!

Instead of that json, which is so last year, why not use an agent to create an MD file to setup another agent, that will compile another MD file and feed it to the third agent, that... It is turtles, I mean agents, all the way down!

haspok··on 10% of Firefox crashes are caused by bitflips
Because 99% of laptops don't have it, and can't be memory upgraded?
haspok··on 10% of Firefox crashes are caused by bitflips
The most frequent crashes I have with Firefox are when I type in a text area (such as this one right now, or on Reddit, for example). The longer the text I type is, the more probable it is that it's going to crash. Or maybe it doesn't crash, just grinds to such a slow pace that it is equivalent to a crash.

My suspicion has always been some kind of a memory leak, but memory corruption also makes sense.

Unfortunately, Chrome (which I use for work - Firefox is for private stuff) has NEVER crashed on me yet. Certainly not in the past 5 years. Which is odd. I'm on Linux btw.

haspok··on When AI writes the software, who verifies it?
If you believe the "AGI is just around the corner" hype...
haspok··on The United States and Israel have launched a major attack on Iran
So?

Iran's involvement in the Ukrainian conflict is mostly business-like, it didn't even send troops (unlike North Korea, for example).

I don't see these two conflicts merging to a WW3, if that is what you were implying.

Unless Russia gives some nukes to Iran, which again I somehow don't see happening.

haspok··on Halt and Catch Fire: TV’s best drama you’ve probably never heard of (2021)
> ruined by the 3% that that they got wildly wrong.

Please tell us about it! I always thought it's more of a 50-50 (it's an American series anyway), but I was only a kid back then, so I would be very interested to hear your complaints!

haspok··on Europe's $24T Breakup with Visa and Mastercard Has Begun
> credit cards are giving you a revolving loan

I'm confused - is it not the issuing bank that gives you the loan, and the credit card company just provides the infrastructure?

Btw. having an overdraft limit of a few hundred Euros is quite typical for those liquidity issues. You don't need a credit card for that.

haspok··on Data centers in space makes no sense
> There is probably plenty of scope to optimize space radiators. It was never a priority until now and is "just" an engineering problem.

It's a physics problem, as others pointed out, but even if we take it as another "just an engineering problem", have a look at the Hyperloop. Which is similarly just a long vacuum tube, and inside is like an air hockey table, not that big a deal, right?...

haspok··on xAI joins SpaceX
If anything, I think this is actually the other way around - channeling crazy AI bubble money towards SpaceX, after the funding from goverment contracts has dried up. Twitter is just the icing on the cake.

Quite ingenious, you have to give Musk that. This is why he is making so much money.

haspok··on xAI joins SpaceX
> landing and reusing rockets

Currently SpaceX have managed to land the booster only, not the rocket itself, if you are thinking about Starship. And reusability of said rocket is also missing (collecting blown up pieces from the bottom of the ocean doesn't count!).

haspok··on Defeating a 40-year-old copy protection dongle
> They do expect bug fixes-- especially calculation bug fixes-- as the bugs are discovered.

Maybe I'm the weird one to expect reasonably bug-free software, and if a bug is found, an eventual bugfix "for free"? ESPECIALLY if they cause monetary or life loss!

A bug means the developer did not do their job. Let's not pretend this is OK.

haspok··on TÜV Report 2026: Tesla Model Y has the worst reliability of all 2022–2023 cars (2025)
But hey, these are electric cars which don't need regular service!...

...at least that is how they are sold. And people take it seriously.

haspok··on How London became the rest of the world’s startup capital
You've not heard of the UK's TV license then.
haspok··on Tesla ending Models S and X production
They are so proud of the Cybertruck sales that they don't eevn dare to disclose sales figures. That's the sign of a market success.
haspok··on Tesla ending Models S and X production
> Elon Musk was a genius at some point in the past

When he wrote the Hyperloop white paper? When he backdated himself as the founder of Tesla, then pushed the real founders out?...

He is a genius snake oil salesman, I give you that.

haspok··on Tesla ending Models S and X production
That's all good, don't worry, the stock is doing quite well, near its record high. A man jumping around in spandex is all they need.
haspok··on Prism
> This is going to be the concrete block which finally breaks the back of the academic peer review system

Exactly, and I think this is good news. Let's break it so we can fix at last. Nothing will happen until a real crisis emerges.

haspok··on We will ban you and ridicule you in public if you waste our time on crap reports
What position? If you let it pass, you encourage this kind of behaviour.

If they are working for a western company, they should adjust their behaviour, not the company. Just imagine working for an Indian company (or manager), and expecting them to tolerate your individualist behaviour and audacious questions. You would be punished immediately.

If it's a peer-to-peer relationship, all the more reason to be firm. If you don't speak up you will never be respected. And don't think that just because you keep quiet the shitty types of people won't stab you in your back at their first opportunity (ask me how I know).

haspok··on We will ban you and ridicule you in public if you waste our time on crap reports
Because the tail should not be wagging the dog.

If they cannot take a step towards another culture, why should I?

haspok··on Don't fall into the anti-AI hype
Why would you have to debug generated code? Let the LLM debug it.
haspok··on Don't fall into the anti-AI hype
Why does it matter if LLMs are not deterministic? Who cares?

There should be tests covering meaningful functionality, as long as the code passes the tests, ie. the externally observable behaviour is the same, I don't care. (Especially, if many tests can also be autogenerated with the LLM.)

haspok··on The next two years of software engineering
Perhaps thinking about AI generated code in terms of machine code generated by a compiler helps. Who maintains the compiled program? Nobody. If you want to make changes to it, you recompile the source.

In a similar fashion, AI generated code will be fed to another AI round and regenerated or refactored. What this also means is that in most cases nobody will care about producing code with high quality. Why bother, if the AI can refactor ("recompile") it in a few minutes?

haspok··on The next two years of software engineering
That is quite some wishful thinking there. Most juniors won't care, just vibe-code their way through.

It takes extra discipline and willpower to force yourself do the painful thing, if there is a less painful way to do it.

← PreviousPage 2 of 20Next →