Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
feoren
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
661.
▲
by
feoren
3y ago
> one could argue that a SalesOrder and a PurchaseOrder are the same thing, I am not arguing that. > As a result having a table for Teachers and a separate table for Students is a good thing. And that would be categorization. I dis
662.
▲
by
feoren
3y ago
I think I see where you're going, but I don't think I've quite made an argument of the form that I am claiming is fallacious. Reality is complicated and it's hard to even speak English without relying on categories at
663.
▲
by
feoren
3y ago
Yes, exactly. Wait, did you just come up with a category for my anti-category rhetoric!? Now you listen here ...
664.
▲
by
feoren
3y ago
No, it wouldn't. They have a lot in common. What various statements do you want to make about "sales orders"? What various statements do you want to make about "purchase orders"? My guess is that a lot of those stat
665.
▲
by
feoren
3y ago
> When Scott illustrates the Solomon conversation in section I, he's clearly talking about two largely overlapping categories which have different groundings and those groundings are precisely the cause of the disagreement. But the
666.
▲
by
feoren
3y ago
Stop trying to categorize things. Period. Recognize categories as a sometimes-useful shortcut for talking about somewhat-average (within that category) things, and that they're absolutely useless for everything else. When you stop wo
667.
▲
by
feoren
3y ago
For me, the biggest point is that unit tests are not a stand-in for understanding your code. It's like that quote about driving by just crashing into the guardrails all the time. Most unit-testing evangelists sound to me like they'
668.
▲
by
feoren
3y ago
> I'll do a test for null, then a separate test for something else _assuming_ not null because I've already written a test for that. Honestly, this pedantry around "unit tests must only test one thing" is counter-prod
669.
▲
by
feoren
3y ago
But you literally cannot possibly test that assertion for all x . Let's take a slightly harder problem: prove (or at least test conclusively) that for all integer x , the output y of the following function is always even: y =
670.
▲
by
feoren
3y ago
> If your public method requires extensive mocking but the core logic you need to protect is isolated in a private method that requires little mocking, the most effective use of developer resources may be to just test your private method
671.
▲
by
feoren
3y ago
I couldn't help it either. Astronomy is just going to be forever plagued by this name.
672.
▲
by
feoren
3y ago
"Actively pushing" the material on kids would indeed be a messed up thing to do, and it makes total sense to make it more difficult for kids to "stumble upon", as the 13-year-old stumbled upon pictures of breasts when se
673.
▲
by
feoren
3y ago
Some of it depicts absolutely 100% fucked-up, horrific things. So do plenty of action flicks and horror movies. So does lots of rap music and plenty of games, if you play them that way. I don't believe people who love action movies a
674.
▲
by
feoren
3y ago
But it is hypocrisy to claim that <activity that you find distasteful but isn't hurting anyone> is 1000% messed up compared to <activity that you enjoyed that was largely the product of an abusive industry>. And GP didn&#
675.
▲
by
feoren
3y ago
> religious communities not only "brainwash into having kids", but they also provide a support network for them and their parents Really? Is daycare cheaper for Christians? Are Christian families (causally) less likely to have
676.
▲
by
feoren
3y ago
> I know it'll get faster as hardware marches on What makes you think this? Nothing else has gotten faster as hardware marches on. Almost all software is significantly slower than the equivalent (if it existed, of course) 20 years
677.
▲
by
feoren
3y ago
"Kids these days, the things they're into; have you seen it!? It's weird and scary. Back when I was a kid, I never did anything weird and different; everything in my childhood was normal ! Why can't all these kids t
678.
▲
by
feoren
3y ago
Chill out. Do you not see the arrogance in telling people that what they spend their quiet attention on is childish, stupid, and "excrement", but what you spend your quiet attention on -- your breathing, your heartbeat, the so
679.
▲
by
feoren
3y ago
Wait, but, I know apples are red. I mean, picture "2 + 2 = " in your head and fill out the scene. What comes after the equals sign? It's 4, obviously. Nobody needs to hold anything in their visual field to know that. Wouldn
680.
▲
by
feoren
3y ago
Agreed: such tests are not sufficient to test the pre- and post-conditions themselves, and are definitely happy-path focused. But such tests may be sufficient to test the happy-path code itself (which the in-code checks are also testing). I
681.
▲
by
feoren
3y ago
One of my favorite jokes from Futurama is when they're at a horse race. Announcer: "And it's a dead heat! They're checking the electron microscope ... and the winner is, number 3, in a quantum finish!" Professor: &q
682.
▲
by
feoren
3y ago
> I've seen developers writing tests with no assertions This can be OK if the code executing without throwing exceptions is itself testing something. If you have a lot of assertions written directly into the code, as pre- or post-
683.
▲
by
feoren
3y ago
Not to discount any of your experiences, but you're countering with something different than the point being made. The question is: of your experiences, which ones would show up with footage on these YouTube channels? I'm willing
684.
▲
by
feoren
3y ago
I'm assuming that's the point of the centrifuge?
685.
▲
by
feoren
3y ago
> It's not that hard to get into a >99% income bracket for a year or two. You basically just need to participate in an IPO-style windfall, and maybe split it over two tax years. It's actually much easier than that: you just
686.
▲
by
feoren
3y ago
Another way to incentivize companies to stop relying on specific OS versions is to stop making every successive version ever more user-hostile and jammed with adware, spyware, and dark patterns.
687.
▲
by
feoren
3y ago
> I sincerely doubt that science is exploited to a similar degree as basically any others. The world being shitty in other ways does not diminish the tragedy that we are only a fraction of how effective we could be at pursuing science. &
688.
▲
by
feoren
3y ago
> The lessons learned get forgotten after 2 generations (3 at most). What are you talking about? Did we all forget the Pythagorean Theorem after 3 generations? Did we forget the force-multiplying effect of levers and pullies a few genera
689.
▲
by
feoren
3y ago
Which civilization? The U.S.? That might slow science down, but it would not significantly reverse progress on it. Of course nations/kingdoms/empires/civilizations wax and wane, but you can't use the word "too"
690.
▲
by
feoren
3y ago
Science and the advancement of technology is literally the only thing that has ever led to lasting prosperity for humans. All other periods of prosperity over the last ten thousand years have been temporary and highly localized. You can los
More ›