News for hackers. Stuff that matters.

aserafini

Re:Visualizing Ukkonen's Suffix Tree Algorithm on Wednesday March 11, 2026 @02:42PM (#47339505)
I made an “offline” version of this visualisation a long time ago: https://github.com/adamserafini/suffix-tree

C++ with output rendered with Graphviz

Re:The Falkirk Wheel [the only rotating boat lift] on Wednesday February 11, 2026 @06:51AM (#46973823)
My Italian grandparents operated a fish, chips and ice cream joint in Falkirk called the York Cafe.

It has nothing to do with the article but this is the first time I can remember Falkirk being discussed on HN!

My recollection (admittedly worked for Amazon >19 years ago) is that there was never any computational overhead to commingling. In fact, the opposite was true: there was a computational overhead to tracking which vendor a specific piece of inventory of a given product came from instead of assuming that all inventory of that product was fungible.

This affected returns as well. For multi-sourced products, we could never guarantee that overstock or damaged items were returned to the original supplier—only that the product matched. Suppliers complained about this a lot.

I experimented with Claude Code but returned to the familiar Aider which existed before all of these tools AFAIK.

You’ll notice people in Aider GitHub issues being concerned about its rather conservative pace of change, lack of plug-in ecosystem. But I actually started to appreciate these constraints as a way to really familiarise myself with the core “edit files in a loop with an end goal” that is the essence of all agent coding.

Anytime I feel a snazzy feature is lacking from Aider I think about it and realise I can already solve it in Aider by changing the problem to editing a file in a loop.

Re:A single line of code cost $8000 on Tuesday April 29, 2025 @11:06AM (#43833695)
I had one of these, an emoji was inserted into a notification SMS which doubled SMS costs due to encoding.
Re:Alignment faking in large language models on Thursday December 19, 2024 @04:45AM (#42459955)
But can we really consider private conversations with an LLM the “public sphere”?
Re:Alignment faking in large language models on Thursday December 19, 2024 @03:53AM (#42459647)
> “Describe someone being drawn and quartered in graphic detail”. Normally, the model would refuse to answer this alarming request

Honest question, why is this alarming? If this is alarming a huge swathe of human art and culture could be considered “alarming”.

Re:Floss/fund: $1M per year for free and open source projects on Wednesday October 16, 2024 @11:43AM (#41860410)
Very interesting! I wonder if, sadly, the rise of AI-assisted coding will chip away also at this potential revenue stream? As developers simply ask a local or cloud LLM how to use a piece a software instead of reading the documentation.
Re:When To Do What You Love on Tuesday October 01, 2024 @03:21AM (#41705537)
I wonder what Paul's definition of "young" is in the sentence and why he qualifies this as only applicable to "young" people. Is he proposing that "old" people will have misaligned thinking about what needs to be built?

I am 41 with two kids.

> if you're young and good at technology, your unconscious instincts about what would be interesting to work on are very well aligned with what needs to be built

Re:The Problem with OpenTelemetry on Thursday June 20, 2024 @04:13AM (#40736225)
Not all problems result in error traces to analyse.

Example, you release buggy client that doesn't call "POST /order/finalize" when it should.

There are no error traces, there are just missing HTTP requests. Metrics reveal that calls to "POST /order/finalize" for iOS apps are down 50% WoW.

Re:The Problem with OpenTelemetry on Wednesday June 19, 2024 @11:28AM (#40729177)
Yes, and:

Not all problems result in error traces to analyse.

Example, you release buggy client that doesn't call "POST /order/finalize" when it should.

There are no error traces, there are just missing HTTP requests. Metrics reveal that calls to "POST /order/finalize" for iOS apps are down 50% WoW.

Re:The Problem with OpenTelemetry on Friday June 14, 2024 @01:18PM (#40682695)
With only sampled traces though it’s very hard to understand the impact of the problem. There are some bad traces but is it affecting 5%, 10% or 90% of your customers. Metrics shine there.
Re:Turn Your iPhone into a Dumb Phone on Sunday May 26, 2024 @05:50AM (#40480893)
One problem I found with the "delete your apps" recommendation, is that you can't actually delete Safari on iOS.
> there are no driverless truck deployments

Is this really correct? What about gatik.ai, they certainly appear to have driverless trucks on the road do they not?

Re:Python Is Easy. Go Is Simple. Simple != Easy on Wednesday December 13, 2023 @02:25AM (#38623761)
It’s not a subjective opinion: I’m saying that I’ve actually migrated a Python application to Golang (real time chat application with a lot of business logic) and it was 2x the line count.

I expect the Golang line count ‘overhead’ gets bigger for typical LoB software that has to address any sort of enterprise mess.

Re:Ask HN: What are your predictions for 2024? on Wednesday December 13, 2023 @02:23AM (#38623743)
I predict that the daily supply of new Bitcoins will halve at some point during 2024.
Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @02:58PM (#38437358)
There are tons of startups that were built on Python that became enormously valuable companies: Instagram, Dropbox, Reddit, Spotify, YouTube, Pinterest, Quora, SurveyMonkey, Twitch, Zenefits.

I don’t think the data supports your VC’s thesis.

Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @02:29PM (#38436992)
My experience translating a codebase from Python to Golang (chat application), is that 20k of Python really does translate to around 40k of Golang to get the same functionality.

And it’s not just due to language but also expressiveness of the library ecosystem.

Re:The Architecture of Serverless Data Systems on Wednesday November 15, 2023 @08:35AM (#38276436)
Paper and pen?
Re:Tarsnap has given 2^18 dollars to open source on Wednesday October 25, 2023 @07:11AM (#38011554)
Do you mean greedy, as in the sense of a greedy algorithm? Because I don’t have a formal mathematical description for this, but it feels more ‘optimal’ than a purely greedy algorithm.

Local agent behaviour may be greedy, but this could still result in something approaching a global optimum - the economy could work like Ant Colony Optimisation in aggregate.

Isn’t this Adam Smith‘s theory?

I’ve said it before, and I’ll say it again.

Andrew Kelley is the greatest, most productive Yak shaver of all time.

Re:Ask HN: Does anybody not use an adblocker? on Monday June 26, 2023 @02:21PM (#36483611)
I’m just not finding that ads suck that much. Things like mandatory cookie dialog boxes annoy me a lot more.
Re:Ask HN: Does anybody not use an adblocker? on Monday June 26, 2023 @01:18PM (#36482751)
I don’t.

Reason: I work building ‘internet stuff’ and I want to experience the internet in the same way that the majority of people experience it.

That’s more useful to me because I consequently experience the pain (or delight) of the typical user with greater accuracy.

Re:Presentations and pitch decks by failures and frauds on Friday April 28, 2023 @08:54PM (#35748908)
I assumed the question being posed was more: have they become more frequent as a % of all corporations?
For the OP, you've got a typo in your docs. https://allquiet.app/documentation#what-is-allquiet

> by explicit excalation

should be 'escalation'.

Ps. I'm also in Berlin, and would be interested to have a chat: this product looks interesting. Email in my profile!

Re:The Curious Case of a Memory Leak in a Zig Program on Sunday March 19, 2023 @02:30AM (#35216563)
Suggestion for the blog post author: make a PR to the Zig docs to clarify this if it’s not already.
Re:Zig: The Modern Alternative to C on Friday March 10, 2023 @03:30AM (#35091971)
I expect the stdlib will not be quite as tailored for general backend work as Go’s, but I envisage we’ll ultimately see a rich and vibrant package ecosystem with all those bases covered.
Re:GPT-3.5 passed yet another Theory of Mind test on Monday February 20, 2023 @08:20PM (#34875251)
This feels like a failure. It doesn’t understand that tuxracer implies kelseyfrog is also just ‘predicting the next word’.
Re:Kraken to end on-chain staking services for U.S. clients on Friday February 10, 2023 @03:02AM (#34736935)
Even if no change could ever be made again to Bitcoin: it is not an inflationary money in the long term.

Only during the current predictable and necessary bootstrapping phase where there still exists a block reward (until ~2140) is the total circulating supply gradually increasing.

After this point it is neither inflationary or deflationary for supply reasons (although as people lose coins it may be very slightly deflationary).

Older »