Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dietr1ch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
721.
▲
by
dietr1ch
2y ago
Squashing is nice because it keeps the amount of commits minimal, but as mentioned in the article, it has the problem that now reviewers have to figure out what changed since their last review, which can get hard to do if the tree of change
722.
▲
by
dietr1ch
2y ago
Same, but NixOS is my preferred Windows too.
723.
▲
by
dietr1ch
2y ago
With async, things happening far away can completely prevent you from making progress, in which case you are better off doing something else in the meantime, like simply blocking and scheduling a thread from a different process as even the
724.
▲
by
dietr1ch
2y ago
Anything that happens far enough from the CPU is async, and here far probably means 10cm thanks to the speed of light not being fast enough, even in vacuum. So, any computation that spans a machine the size of our hands needs async unless y
725.
▲
by
dietr1ch
2y ago
Simply evaluate the breakdown lazily, although you are free to yield extra sub-tasks if it turns out to be cheap.
726.
▲
by
dietr1ch
2y ago
I'll take inexpressive ASCII over a character set that's too big and not universal, I don't want characters that are not obvious to type as they hurt reading, searching and understanding. At this point programming should be d
727.
▲
by
dietr1ch
2y ago
Sounds a bit like "new thing scary" unless you show why having select in front actually avoids problems, and I don't think there's a clear problem they avoid, but it does make it really hard to autocomplete (can you even
728.
▲
by
dietr1ch
2y ago
Wow, I didn't expect `c_str()` to write at all. I knew that C++ was wild before C++57, but before C++ is insane. Thanks for the explanation!
729.
▲
by
dietr1ch
2y ago
Shouldn't c_str() be null terminated? Then if it must point to the actual backing store, then that must also be a valid null terminated C string as there's no other way to use them.
730.
▲
by
dietr1ch
2y ago
Nice to see this finally come up, but it's going to take a while until it catches up with Sidebery or even TST
731.
▲
by
dietr1ch
2y ago
I'm not sure what you mean by the initial graph being just all open, but I'm still convinced that modelling things only in the heuristic is wrong. Here's why it fails eventually, Hacking only the heuristic side will seem to w
732.
▲
by
dietr1ch
2y ago
The heuristic is the wrong place to adjust solutions, just change the costs on the original problem and adjust the heuristic if necessary. I guess that for your intention, using an inconsistent heuristic that over-estimated costs and result
733.
▲
by
dietr1ch
2y ago
You wanted educational visualizations and you got them, but keeping the code organized to allow students to inspect it seems way more important than optimizing, especially if you are already using a slow language.
734.
▲
by
dietr1ch
2y ago
Yeah, I used it about 7-8 years ago. I liked the idea of chaining things, but it's very clear that csv has not been holding up well in the past decades. Also, what I have in mind for file sharding needs maybe a standard on top of a rec
735.
▲
by
dietr1ch
2y ago
I think that we just need someone to get fed up and simply tackle the list of well known problems of CVS. What we need is, - A standard (yeah, link xkcd 927, it's mentioned enough that I can recall it's ID) to be announced **a
736.
▲
by
dietr1ch
2y ago
There's gotta be errors on both sides, now the question is if we are assessing their risks properly or not. Maybe giving a shot to a low risk thing you read on the internet is worth a try, and maybe booking a doctor visit and getting e
737.
▲
by
dietr1ch
2y ago
then the third rule must be, "now you can do whatever the fuck you want" written in Braille.
738.
▲
by
dietr1ch
2y ago
I passed my physics classes refusing to evaluate the final expressions, after all that's what calculators and computers are for. I don't feel that had a huge impact on my grades either and my sanity/stubbornness went unharmed
739.
▲
by
dietr1ch
2y ago
Conversation metadata surely has a price to a company factoring in billions in privacy related fines to run their projects
740.
▲
by
dietr1ch
2y ago
The conversation metadata surely has a price for a company factoring in billions in privacy related fines to run their projects
741.
▲
by
dietr1ch
2y ago
> So it seems to me that there’s a fundamental human trait (“what can I get away with” ??) that warrants thinking about as well. Idk, I suspect many "crimes" like jaywalking and speeding are more around, this rule errs too hard
742.
▲
by
dietr1ch
2y ago
It'd be great, but I think that we are not ready for this yet. Think on how long we needed to make the idea of having good tooling, cross-compiling support, testing or debugging support a requirement. A library or even built-in languag
743.
▲
by
dietr1ch
2y ago
How's this situation different than the one around Java, Sun/Oracle and Google?
744.
▲
by
dietr1ch
2y ago
This is something I've been wanting ever since maps/driving apps came. I'd love to have Waze/GoogleMaps be angry when you miss an exit or miss the initial ETA by too much. However, I don't think it fits the culture
745.
▲
by
dietr1ch
2y ago
That's called marketing
746.
▲
by
dietr1ch
2y ago
If only government secrets were just their grandma's recipes. Why do governments are given special treatment when some of their secrets are crimes that are disclosed too late to get anyone involved in a trial, and happened too long ago
747.
▲
by
dietr1ch
2y ago
And now I'm stuck replicating htmx's behaviour on the server side? Seems doable and not that much of a hassle as fragment replacements should be simple afterall, but I'm simply running my site as a static page for now and I h
748.
▲
by
dietr1ch
2y ago
He might be referring to the problem that URLs are not enough to get to a certain state, which you might run into when trying to share a specific view or when your browser heavily unloads your tab. I found this to be the biggest issue when
749.
▲
by
dietr1ch
2y ago
Well, when the government wanted to monitor earthquakes across the whole world they just deployed sensors. Same thing with Sattelites. I don't understand why it wouldn't deploy weather stations and humidity sensors within its own
750.
▲
by
dietr1ch
2y ago
I like the idea of respect where this comes from, but I think that titles have been perverted by SEO way too much and at some point I need writers to stop trying to lure me for my own good. I wish we can get descriptive, boring, but accurat
More ›