Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stouset
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
811.
▲
by
stouset
2y ago
No sane optimizer is going to emit the functional code as a gajillion function calls.
812.
▲
by
stouset
2y ago
You don't ever need to "understand everything at once". You can read each stanza linearly. The for loop style is the approach where everything often needs to be understood all at once since the logic is interspersed through
813.
▲
by
stouset
2y ago
This has happened so many times for me. The latest one for me was a discussion about the Olympic boxer from Algeria. Apparently it was proven through leaked medical records that she does, in fact, have XY chromosomes. I did some digging.
814.
▲
by
stouset
2y ago
Does Europe lessening their desire to buy US-designed and US-made military hardware benefit or harm the US? Extend this to other areas of commerce. If the US is no longer a reliable trade partner and its allies lessen their economic ties, i
815.
▲
by
stouset
2y ago
It’s more emergent than official. It’s not something I think is ever taught in school and yet everyone intuits it with high accuracy. Even crazier is that we intuitively mix this rule with another implicit rule, where “I” sounds go before “
816.
▲
by
stouset
2y ago
You misspelled “willful and blatant misinformation”. It is terrifying that you can’t see the material difference between uninformed fearmongering over vaccines and posting something unflattering about Donald Trump. Even then, please point
817.
▲
by
stouset
2y ago
There are hundreds of channels on YouTube providing everything a child needs to learn arithmetic and reading skills. Why should we even provide K-12? I consider this a matter of extreme importance. Your gutter-tier hot take makes me think y
818.
▲
by
stouset
2y ago
This line of reasoning can be used, unmodified, to argue against essentially all of public education. An educated populace is an inherent good. There’s nothing magic about the particular choice of K-12, and one could very convincingly argue
819.
▲
by
stouset
2y ago
Also restricting videos that parody him. The right believes in “free speech for me but not for thee”. Which isn’t compatible with any good faith attempt at a definition.
820.
▲
by
stouset
2y ago
Liberals are tired of misinformation and disinformation. Vaccines and climate change aren’t “political orthodoxies”, they are—respectively—one of the greatest lifesaving innovations in all of medicine and one of the gravest threats to the s
821.
▲
by
stouset
2y ago
Hell I’m just sitting here hoping the future M5 adopts SVE. Not even SVE2.
822.
▲
by
stouset
2y ago
Possible != energy efficient, which is important for mobile devices.
823.
▲
by
stouset
2y ago
When I say “the golang community” I mean “the people online who talk about golang”. I don’t mean the actual maintainers.
824.
▲
by
stouset
2y ago
The golang core team may be working to crack that nut, but right up until that happens the community mantra will be: what we have right now is perfect. When it’s released, this will shortly become: we always wanted something better, it was
825.
▲
by
stouset
2y ago
This shows that ten years ago even the guy who invented the language thought error handling wasn’t in a good state and that it was expected that golang programmers would find elegant ways to build on top of the primitives provided. No such
826.
▲
by
stouset
2y ago
I’ll be honest, having been involved off and on with golang over 10+ years, I constantly feel like I’m being gaslit. It’s fine that golang has made missteps along the way and course corrects. Or if people realize that some hoped-for devel
827.
▲
by
stouset
2y ago
Sometimes you don’t even want to recover, just do something like log it remotely so it can be seen and debugged. Sometimes it can’t reasonably be handled until some natural boundary. A server that handles multiple connections at once can pr
828.
▲
by
stouset
2y ago
I remember when Rob Pike wrote an essay insisting that `if err != nil` isn’t all that common and golang programmers clearly would wrap that logic in more fluid interfaces which would prevent the redundant boilerplate.
829.
▲
by
stouset
2y ago
> Only a Fuscia first editor would do this. The difference is in that every single one of those other operating systems, applications just have network access. By default. No capability needed. This would not be the case in an OS cen
830.
▲
by
stouset
2y ago
Your editor doesn’t do it because handling, delegating, and slicing up capabilities isn’t a core part of the OS.
831.
▲
by
stouset
2y ago
Your perspective is coming from a very rigid all-or-nothing mentality and I don’t think it’s wise to see things that way. Sure, a web browser that needs to open arbitrary network connections can be built to phone home. But nearly none of
832.
▲
by
stouset
2y ago
A literal one but perhaps not an original, authentic one :)
833.
▲
by
stouset
2y ago
If you have a better idea, a literal Nobel prize awaits.
834.
▲
by
stouset
2y ago
Some things are. Some things aren’t. At one point, you could write nil, err without the return and it would happily compile. It’s also tragically easy for actual logic bugs to be obscured by all the boilerplate. It’s not like th
835.
▲
by
stouset
2y ago
“I know so much more about this topic from some casual Googling than people who actually do this for a living, so please listen to me.”
836.
▲
by
stouset
2y ago
Appropriately for the topic, I tailored the level of consideration to just barely exceed that of your original argument. So, next to none.
837.
▲
by
stouset
2y ago
Might I suggest reading about the normal distribution? Or, I don’t know, perhaps giving slightly greater consideration to the people in this thread who’ve actually worked on physical device engineering?
838.
▲
by
stouset
2y ago
The difference is, there is no room for bugs with ?. Zero. None. I have fixed (and frankly, caused) many bugs in golang code where people’s brains “turned off the noise” and filtered out the copypasta’d error handling, which overwrote the w
839.
▲
by
stouset
2y ago
I would one million percent rather type (and read) foo(bar()?)? over something like if a, err := bar() { return nil, err } if b, err := foo() { return nil, err } But also even better is just
840.
▲
by
stouset
2y ago
Even something like foo::<‘_, [T]>() is just not that hard to follow. Again, the symbols involved all compose nicely and are unambiguous. And frankly, you just don’t need something like that all that often (and when you do, there are
More ›