Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
691.
▲
by
dvt
3y ago
Is this really the way forward? I'm pretty sure implementing CSS from scratch (just looking at the specs) would take the average developer at least 10,000 hours. But in any case, why doesn't the container query bind to a class? Ha
692.
▲
by
dvt
3y ago
> ChatGPT is not really equipped to do this level of code design because there are too many steps for it to handle at once There's no code design going on here. My solution was literally just going through like 100 StackOverflow ans
693.
▲
by
dvt
3y ago
Forgive the long reply, but I'm going to go ahead and "press X to doubt," because I have been trying to use both ChatGPT and Copilot, and the results are abysmal apart from anything but "write me a linked list" or
694.
▲
by
dvt
3y ago
This is neat, but, as with all projects in this vein, I fail to see the real value add. We've had ML-powered code generation for several years now (Copilot released publicly in late 2021), and apart from a cute novelty, there's no
695.
▲
by
dvt
3y ago
Wittgenstein would have such a field day with the semantic games we're playing these days. The disclaimer basically says: "man" has a purely subjective meaning, but we're going to keep using the word anyway because we kn
696.
▲
by
dvt
3y ago
All the time. I usually write a block comment explaining what I'm trying to do with a piece of code (method/class/etc.) before I even write any "real" code. The pseudocode varies between full English sentences (&quo
697.
▲
by
dvt
3y ago
> And even if you do agree on the spirit of the rules, they're still up for interpretation! Yeah, exactly, I do think that's the point the site was trying to make.
698.
▲
by
dvt
3y ago
> Even the most obvious-seeming judgments are, in fact, not obvious. I kind of disagree with this. The question leaves the definition of "vehicle," "in," and "park" purposefully ambiguous, so everyone kind o
699.
▲
by
dvt
3y ago
The lesson here is one worth learning, but the vehicle (forgive the pun) is very poor. The lesson is: we can't agree on what to moderate and what not to moderate. There are very good thought experiments here, including citing actual pr
700.
▲
by
dvt
3y ago
Gas-filled cavities in the body instantly compress. So this means that your lungs, stomach, etc. instantly get crushed, rupturing in the process. Depending on circumference, depth, etc., the hull itself moves at speeds of ~1000+ mph towards
701.
▲
by
dvt
3y ago
There's no such thing as "payout" in free markets—someone buys your thing for money (sometimes less money than you paid for it, sometimes more money than you paid for it). So, while it might be a speculative bubble (like Be
702.
▲
by
dvt
3y ago
> Software is all about teams I mean sure, technically this is correct. But it also fundamentally takes away from independent contributors and visionaries. Sure, "software is all about teams," but Linus Torvalds is definitely
703.
▲
by
dvt
3y ago
Why is this getting aggressively downvoted? Ironically, there's literally a 2010 math paper entitled "PageRank: Standing on the shoulders of giants[1]." [1] https://arxiv.org/pdf/1002.2858.pdf
704.
▲
by
dvt
3y ago
Adobe Firefly is actually extremely competent, especially since it doesn't use copyrighted images in its training set. Using MidJourney (which is fantastic) commercially will be a quagmire for the unlucky company that draws a lawsuit.
705.
▲
by
dvt
3y ago
> As far as I understand Go, passing back results via channels is the idiomatic approach for this. It's definitely the canonical way, but communicating errors via channels feels very.. weird, for the lack of a better word (hence w
706.
▲
by
dvt
3y ago
For a language where coroutines are such a first-class citizen, I wish there was a more idiomatic way of returning and handling async errors in Go. I know it's all over the docs, but using a channel has always felt so "wrong."
707.
▲
by
dvt
3y ago
> loops are typed gotos, so are if statements, so, really are functions. All of the above don't break the continuity of a program's control flow. Maybe you should be arguing with Dijkstra, not me: https://www.cs.utex
708.
▲
by
dvt
3y ago
You're not missing anything. Algebraic effects are basically typed gotos†[1][2], and are generally a bad idea to use and/or implement. They can be useful in a few very niche situations when using typed functional languages. † With
709.
▲
by
dvt
3y ago
> A ceasefire during a battle is an example of a social contract. This is absolutely false. A ceasefire is not a social contract. It's just bizarre to even claim this, as ceasefires are most often enacted in the context of cease
710.
▲
by
dvt
3y ago
I know exactly what a social contract is, and it's always superseded by a legal contract (which the ToS sort-of is, though it would have to go through the courts if challenged). Given that the ToS explicitly says that Reddit et al. can
711.
▲
by
dvt
3y ago
> I was relying on a very light social contract that was in place there This was never a social contract so I actually wonder how you or the original blog poster ever got to that idea. In fact, it's explicitly not the social con
712.
▲
by
dvt
3y ago
Not stupid at all! There's a long tradition of figuring out what it means (just google "Blood Meridian epilogue"), but the short answer is that McCarthy was probably playing around with ideas, having a bit of fun, waxing po
713.
▲
by
dvt
3y ago
It's extremely violent, borderline-surreal in some places, excruciatingly slow in others (by design), occasionally has two or three levels of story-within-a-story. Unlike some of his other novels, it's more of an epic than a story
714.
▲
by
dvt
3y ago
I read The Road years ago, but I was probably too young to fully understand it; more recently, I read Blood Meridian a few months ago for my book club. Few novels have had me think about them as much (Dostoevsky's Demons and Melville&#
715.
▲
by
dvt
3y ago
This ship sailed like 60 years ago (blame your parents, speaking of consequences). At this point, autonomous driving is the best we can do in places like Los Angeles or San Diego.
716.
▲
by
dvt
3y ago
Super cool insight, I wonder what the turnaround or bureaucratic process is of fundamentally changing an SOP. It can't just be generals mandating these things (or is it?). Changing organizational processes tends to be extremely hard in
717.
▲
by
dvt
3y ago
> Why spend your time writing comment after comment about how bad SO is, if you "don't care enough"? I'm having a discussion on a discussion website, does that confuse you in some way? I don't go out of my way to
718.
▲
by
dvt
3y ago
Read @NoMoreNicksLeft's comment in this thread, you'll understand why. I have dozens of examples, but I don't care enough to find them, cite them, collate them. You think the site is functioning properly? I'm happy for y
719.
▲
by
dvt
3y ago
Literally the first one in my moderation queue[1]. Perfectly valid question with almost enough votes to get closed... [1] https://imgur.com/a/pnTLwcU
720.
▲
by
dvt
3y ago
I've had enough reputation to see the moderation queue for years now. Imo, the site is anything but welcoming, as it shuts down newbie questions all the time with zero guidance.
More ›