Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hsn915
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
421.
▲
by
hsn915
4y ago
With modern hardware it is very easy to serve millions of daily users from a single machine with simple software. No one bothers because everyone loves their fast-as-a-snail framework in their favorite slow scripting language and they need
422.
▲
by
hsn915
4y ago
"Please accept this giant wooden horse! We don't preclude the possibility that it's sincere gift given in good faith!".
423.
▲
by
hsn915
4y ago
I thought we just established that the names in the GNU Name System are not meant to be human readable, and that the human readable names are not "owned" by anyone. So what is the point? How does this system facilitate "disco
424.
▲
by
hsn915
4y ago
Then why do you need a new name system? Just use the IPv6 address.
425.
▲
by
hsn915
4y ago
The whole point of DNS is for a human readable name to be globally recognized.
426.
▲
by
hsn915
4y ago
> Humans are irrationally motivated by loss-aversion and regualrly succumb to the sunk-cost fallacy. This is not irrational and it's not a fallacy. As you have proved to yourself. It's a mental heuristic that works. You spent m
427.
▲
by
hsn915
4y ago
It's only obscure for people who arrived at the scene long after the distortion of terms already took place, and never studied where the terminology comes from.
428.
▲
by
hsn915
4y ago
REST is not a word. It's an acrynom. It's also a very technical term.
429.
▲
by
hsn915
4y ago
I don't know if you read the article. REST is a post-hoc description of how the web worked (at the time it was made). You had web pages with hyptertext content, and that included forms. The forms had fields with names and an "acti
430.
▲
by
hsn915
4y ago
It's just, why are we calling it "Rest"? Just call it adhoc RPC with JSON over HTTP.
431.
▲
by
hsn915
4y ago
IMO a blog without comments is almost useless. Comments on blogs is the whole point of posting things on the internet. That and forums and chat.
432.
▲
by
hsn915
4y ago
assertion failures terminate the program immediately. exceptions usually trigger cleanup code. If your cleanup code is mostly closing files and clearing memory, then it's useless because the OS will do that for your crashed program any
433.
▲
by
hsn915
4y ago
Right, the pointers would still be scanned by the GC, so we can't elliminate the cost of the GC, unless we completely turn it off (I think that is possible). But the point of the arena allocator is to make allocations and deallocatins
434.
▲
by
hsn915
4y ago
Here we go again. Another landing page that tells me absolutely nothing . "Build beautiful cross-platform applications using Go" OK this works as the title of the page, but to have it as the only sentence on the page? What exac
435.
▲
by
hsn915
4y ago
func Allocate[T](arena *Arena) *T { var bytes = arena.Bump(sizeof(T), alignof(T)) return (*T) bytes } Any reason why this would not work? Maybe you need to cast to unsafe.Pointer or something before returning, bu
436.
▲
by
hsn915
4y ago
I wonder if generics would allow custom allocators. I haven't tried it yet but it seems like an Arena/bump allocator for example should be possible now.
437.
▲
by
hsn915
4y ago
Your comment makes it sound like my problem with configurations is that they require understanding something. But that's not what I said. What I said is: > Configuration is opaque. Undebuggable. Unmaintainable. By its very nature. N
438.
▲
by
hsn915
4y ago
Convention before configuration doesn't solve the core problem. Why do you need configuration? Because you build your application by gluing together a multitude of different applications that need to configured properly to be able to t
439.
▲
by
hsn915
4y ago
Configuration is some sort of information that is stored in a text file, for reading by one or more programs, where these programs cannot meaningfully operate without this critical information in the configuration files. If you have ever wo
440.
▲
by
hsn915
4y ago
Relying on configuration files to glue together a huge stack of tools and services in order to produce an end product is a huge mistake. I say it's a mistake fully knowing that nearly everyone in the industry is doing it. Configurati
441.
▲
by
hsn915
4y ago
I mean, let's suppose that I do know what Nuxt.js is (I don't). The page tells me nothing about what would make this an improvement over it, or over anything else.
442.
▲
by
hsn915
4y ago
sqlite, golang, typescript, esbuild. Frontend framework: (p)react, jotai. Backend framework: none; homegrown.
443.
▲
by
hsn915
4y ago
No, I'm a web developer (unfortunately?). Maybe you don't realize there's a hundred ways to develop websites and just because you know a certain stack does not mean everyone else knows it (or cares about it).
444.
▲
by
hsn915
4y ago
As usual, I click the link, I try to read the page content but I have no idea what it's saying. Buzzword buzzword, buzzword! Just tell me what is it, and if you don't want to, that's your right, but then why are you sharing t
445.
▲
by
hsn915
4y ago
That's not how it works. At long enough distances, "before" and "after" are only relatively defined. That's the whole point of relativity. Two events A and B can occur "A first, then B" in one referen
446.
▲
by
hsn915
4y ago
I don't care that you can't use it to communicate FTL. I care that the atoms are doing it or not.
447.
▲
by
hsn915
4y ago
I dislike all writings on quantum entanglement as they seem more interested in clickbaiting than actually communicating actual knowledge. Two contradictory talking points seem to be pervasive: - Altering one atom affects the other instantan
448.
▲
by
hsn915
4y ago
It's not really any different than the US. Lots of information tends to be "widely known" online to those who care to dig, but the mainstream outlets stick to some narrative that is best described as "half truth".
449.
▲
by
hsn915
4y ago
What is for loop fatigue? Seems like a fake problem that one would only feel if they buy too much into functional programming. Some ideas in fuctional programming are useful, but overall, for loops are much more preferable to map/filte
450.
▲
by
hsn915
4y ago
He served in the self defense forces for three years.
More ›