lightningspirit

Joined 11 years ago

Karma
9
Submissions
30
Member since
Nov 18
Coder, Hacker
View on Hacker News

Recent submissions

Comment · 1 month ago
I'm so happy with this! Thank you so much.
Comment · 4 months ago
Good to know you're still building your own tools like back in the "old days" :)
Comment · 4 months ago
And then everybody left, yeah, I remember this exactly.
Comment · 4 months ago
I think we're comparing two very different categories. COBOL is an application language, whereas TCP and HTTP are foundational infrastructure. Replacing a language is challenging, but replacing the infrastructure that underpins most of the Internet is orders of magnitude more complex due to the sheer number of interoperating systems.

HTTP accounts for roughly 70-80% of global web traffic, and if you narrow it to TCP-based application traffic, its dominance is closer to 95%. Comparing HTTP to COBOL is a bit like comparing trucks to bicycles...

Comment · 4 months ago
> {"a":1,"b":2} and {"b":2,"a":1} are the same query and two different cache entries

These two payloads are actually different. You're talking about semantics, which is determined by the payload format; in the case of JSON, these two are semantically similar.

> GET gets this for free because the URL is already a normalized string

It's the same principle; the order of properties matters too.

Comment · 4 months ago
This is controlled by the (Last-Modified, If-Modified-Since) and (ETag, If-None-Match) header pairs. HTTP is stateless; it does not require any persistence. The only thing that defines kind of an optional persistence is the caching layer, for obvious reasons.
Comment · 4 months ago
How does the origin server indicate that?
Comment · 4 months ago
I don't think this requires so much discussion; it is a very obvious and simple addition, IMO.
Comment · 4 months ago
How does this break rest?
Comment · 4 months ago
It won't break GraphQL, as it uses POST. It can very much improve it if adopted: - use QUERY method when querying resources - use POST method for mutations
Comment · 4 months ago
Because HTTP is stateless by definition, you now need to support persistence (state) on the server side whenever you want to run a slightly different query, which contradicts the preamble.

I understand the confusion around GraphQL's cached/persisted queries, but this is not the intention of HTTP.

Comment · 4 months ago
The internet is complex, and you have tons of protocols that are not well supported. TCP/HTTP are well supported by proxies and have well-defined, stable specs, which also help with caching, throttling, etc.

Just because it's old doesn't mean it is worse than alternatives, most likely it is quite the contrary.

Comment · 4 months ago
I think most of the value LLMs provide comes from connecting the dots between unsolved questions and patterns or structures that have already been demonstrated, which accelerates research.

Now, reasoning in the sense of making truly original discoveries, as Einstein did with the field equations, is a different story for current LLMs.

Comment · 8 months ago
Yeah, I was surprised by that as well.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton