Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crdrost
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
271.
▲
by
crdrost
3y ago
Also people routinely use other single threaded things for the web, notably Python and Ruby have global interpreter locks and PHP has also usually been multithreaded only by being multi-process (you have to add pthreads on I think?). Multit
272.
▲
by
crdrost
3y ago
Compiling to a single executable like Go and Rust and Haskell do, has a bunch of benefits for a server. Notably, it used to be the case (before the container revolution) that if you used a scripting language like Python, say, you had to c
273.
▲
by
crdrost
3y ago
Related: "Write libraries, not frameworks," which goes more into depth about how frameworks establish precisely such a "seam" and the responsibilities it entails. https://www.brandons.me/blog/librari
274.
▲
by
crdrost
3y ago
That's awesome! I don't really know anything about physiology or nutrition, but when you learn physics you do have to learn about the difference between simple linear systems and complex feedback networks, and then you see the Met
275.
▲
by
crdrost
3y ago
It's a good saying, but something leaving in exposition. Each addict is different, but frequently the drug/alcohol is not what the addict wants. Think of the addict in relapse more as saying “yeahhhh gonna let loose and party ha
276.
▲
by
crdrost
3y ago
That is a very clean way to get this result for sure!
277.
▲
by
crdrost
3y ago
That question does not have a unique answer. For instance one possibility is to take a beaker as your cylinder, fill it halfway with clay as your shape, scrape a thin layer off the top, form it into a little straight toothpick of clay the h
278.
▲
by
crdrost
3y ago
Thanks for this! I have one idea which is perhaps nerdy enough to make the list but I've never fully fleshed it out, it's that one can encode the nonnegative integers {0, 1, 2, ...} into the finite bitstrings {0, 1}* in a way whic
279.
▲
by
crdrost
3y ago
I've occasionally played with the notations that maybe ə = e^i or even 1 = e^{2πi} to simplify these sorts of expressions before. So for example a forward moving wave can be written, 1^{x/λ – νt} with no particular ambiguity or ev
280.
▲
by
crdrost
3y ago
(1) You will benefit immensely in the applications built from these sorts of structures by keeping the version log for an entity in a separate table from the current value. First because you can just use old-school triggers, “any update ove
281.
▲
by
crdrost
3y ago
To be fair Reddit also is missing the core idea of what it itself is Just think, one of Reddit's features for years was the "trending subreddits" list. Someone made that, someone else approved it. It got put on the front page
282.
▲
by
crdrost
3y ago
We had a similar sized project grow out of a 2-pizza-team and had the same problems. Kinda like how Java devs come to JavaScript and are shocked that this language doesn't have proper numerical types, I came to the Java ecosystem and w
283.
▲
by
crdrost
3y ago
Google's Closure compiler was doing this for JavaScript, where it matters because network bandwidth is a limited resource in some places. There it was called “tree shaking” if you want the jargon name for it.
284.
▲
by
crdrost
3y ago
Yeah, if you have a problem with it split it into two separate commits to review separately. But WTF is this about not reading your dependencies. Read your dependencies! It is the most amazing superpower for someone to be like “Uh I don
285.
▲
by
crdrost
3y ago
I'm talking about the deep contradiction that you hold between “there is a reality beyond the model” (Anil Seth’s position, the mind is more like the weather) and your other stated position, that the mind is reducible to its informatio
286.
▲
by
crdrost
3y ago
You don't see where you missed it so I don't see why I should admit where I did. I couldn't possibly have conflated you with my model with you, you don't exist and my model of you does. There is nothing beyond the model
287.
▲
by
crdrost
3y ago
> Whatever else brains are, we know they are information processing systems. Perceptions go in, and decisions come out. All of our conscious experience is of information. Feelings, sensations, emotions, decisions, they’re all information
288.
▲
by
crdrost
3y ago
Yeah I believe I hand patched Crockford’s json2 parser? It was something like that.
289.
▲
by
crdrost
3y ago
Yes but this is a necessary limitation for all human readable numbers. The context decides what to deserialize into and different contexts/languages will choose bigint vs i64 vs u64 vs i32 vs double vs quad vs float, whatever is conven
290.
▲
by
crdrost
3y ago
Thanks for posting this, Dan! It's not usually the sort of thing that gets traction here but I found it a wonderful read, even starting just from the shock of the problem, “You spent all this time proving correctness and it's stil
291.
▲
by
crdrost
3y ago
Yeah you're wrong :) So, random( k ) should just be k rand() and so random(random()) should be just random() random(). One really fun way to do this is to rewrite using standard exp/ln rules as # three exponential random v
292.
▲
by
crdrost
3y ago
Look up “laying the groundwork” for “documentary evidence” and you will find that this fails to show chain of custody unless you can get that “guy saying he is sleeping with her” in the courtroom.
293.
▲
by
crdrost
3y ago
That is a fair criticism! It is partially (maybe 20%) mitigated by the fact that this is a different lineage of computing and so you were going to hit a huge wall somewhere and when you got it here you reached out to the community and f
294.
▲
by
crdrost
3y ago
So the way the lawyers are approaching this evidence is their usual cavalier approach to truth. They are not attempting to establish “my client never said that,” but just trying to poke holes, “this video of my client saying that is not suf
295.
▲
by
crdrost
3y ago
That will probably be an early point of litigation, does the non-profit’s behavior of depriving you from these tools like GPT4 amount to damages such that you have standing to bring this case. So that's a huge hurdle. Might be why it&#
296.
▲
by
crdrost
3y ago
Yeah it's not a novel approach, it's 1. Chunkify the knowledge database into smallish chunks, 2. When you get a question, find the chunks most similar to the question 3. Prompt the LLM to use [the found chunks] to answer [the ques
297.
▲
by
crdrost
3y ago
Yeah, so they talk about that in the link above. > SpaceX convinced FAA to approve a site that would host launching the Largest Rocket in History under NEPA’s Environmental Assessment (EA) process, which is saved for projects that do not
298.
▲
by
crdrost
3y ago
One funny bit of context is that I remember I enjoyed reading this story linked from HN and then came back to read the comments only to find it was flagged: https://news.ycombinator.com/item?id=35590279 So uh, us-a culpa. B
299.
▲
by
crdrost
3y ago
I don't know, for me the fact that this gives you a visualization of a totient is really interesting. Another really interesting idea is to deliberately change the thing which you are rationally approximating; you don't have to ra
300.
▲
by
crdrost
3y ago
> Interestingly enough, it looks like everything except cloud grew at a rate less than inflation. I mean, that's to be expected. Google did this sweeping cost cutting measure with the layoffs they did, rather than the usual “we don&
More ›