Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wonnage
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
181.
▲
by
wonnage
2y ago
JS is easier to read IMO. And of the widely-used interpreted languages I can think of, it's actually got the least confusing implementation of first-class anonymous functions. Python lambdas are limited to one expression, Ruby has that
182.
▲
by
wonnage
2y ago
That's the exact conclusion that was reached - the search required a warrant.
183.
▲
by
wonnage
2y ago
the mental gymnastics it took to write this hot take must be "force" too
184.
▲
by
wonnage
2y ago
Kaiser measures BP on every visit and arm position seems like the least of their worries: - no rest period before measurement - measured through a medium-thickness sweatshirt sleeve - cold hospital hallway - no back on the chair - no height
185.
▲
by
wonnage
2y ago
A lot of FAANG staff engineering is just navigating bureaucracy and making sure the product gets out the door on time. Or stuff that isn't complicated on an algorithms level but hard nonetheless because the codebase sucks, the packages
186.
▲
by
wonnage
2y ago
I feel like the entire industry decided to just copy Google's career ladder in 2012 and now we have a bunch of titles pulled out of thin air. People talk about being a staff engineer like it's a concept that existed forever but it
187.
▲
by
wonnage
2y ago
Twitter was working on streaming with chunked encoding, which resulted in this: https://x.com/ryankuder/status/474658110737371136
188.
▲
by
wonnage
2y ago
Maybe my expectations were too high but they seem to have run out of juice. Every major announcement since the original ChatGPT release has been kind of a dud - I know there have been improvements, but it's mostly the same hallucinator
189.
▲
by
wonnage
2y ago
All of AI's successes get re-branded as not-AI. Quadcopters were AI when I was in school a few decades ago. Image recognition/classification was AI. Recommendation algorithms were AI. Voice recognition was AI. Smart speakers were
190.
▲
by
wonnage
2y ago
I don’t think it’s true that DNA actually encodes an entire organism. Leaving all discussion of epigenetics aside, the proteins produced from DNA can basically do anything, including modifying DNA. Maybe we could think of large portions of
191.
▲
by
wonnage
2y ago
Meanwhile all the candidates have given up and embraced tiktok :D
192.
▲
by
wonnage
2y ago
Any time you’re looking for a graph algorithm there’s a pretty good chance Tarjan’s name is on it
193.
▲
by
wonnage
2y ago
Being able to think as you type instead of having to context switch between the two seems like a clear benefit. I think a lot of things programmers hate - boilerplate code, long variable names, code formatting - can also be attributed at le
194.
▲
by
wonnage
2y ago
I feel like the responsible thing to do here is throw an error if you encounter an unexpected character. Others have already pointed out that there's an actual minus sign character that would break this. This code is dealing with like
195.
▲
by
wonnage
2y ago
Many people end up logging into Google for the play store which puts a pretty sensitive credential on an untrusted device.
196.
▲
by
wonnage
2y ago
fixing the structural problems in the economy is so boring, let's blame the marshmallows
197.
▲
by
wonnage
2y ago
the confirmation bias is biasing
198.
▲
by
wonnage
2y ago
Or maybe they're just pattern matching on the very particular sentence structure you've chosen. This isn't a convincing example at all
199.
▲
by
wonnage
2y ago
Setting a correct user agent isn't required anyway, you just do it to not be an asshole. Robots.txt is an optional standard. The article is just calling Perplexity out for some asshole behavior, it's not that complicated It's
200.
▲
by
wonnage
2y ago
The nice thing about law as opposed to programming is that legal scholars have long realized it's impossible to cover every possible edge case in writing so judges exist to interpret the law So they could easily decide logically unsoun
201.
▲
by
wonnage
2y ago
This reads like an AI summary of an actual HTTPS explainer. Terms get introduced with no context - no explanation of what a certificate is or how the chain of trust works, assumes the reader knows about public key cryptography, describes si
202.
▲
by
wonnage
3y ago
Most of this stuff is irrelevant to the program itself, e.g you could've piped the output to /dev/null and none of this would happen.
203.
▲
by
wonnage
3y ago
Encoding and storing billions of videos in a format used by 0.1% of users feels like a waste though
204.
▲
by
wonnage
3y ago
Seems in line with his brief Twitter/X internship too
205.
▲
by
wonnage
3y ago
I'm reading this as the iPhone holds the first 0x400 bytes in a buffer and doesn't write them until the signature has been verified. Everything else does get written. The assumption is that stripping off those initial bytes would
206.
▲
by
wonnage
3y ago
The hard part is usually not getting the component to look like the design but rather the fun process of discovering all the interactions nobody thought about while they were focused on pretty pictures
207.
▲
by
wonnage
3y ago
You’d rather write a bunch of nested React.createElement calls due to some unjustified religious hangup? JSX is sugar for a tree, it’s not that complicated
208.
▲
by
wonnage
3y ago
It’s actually a fine language and these sorts of edgelord comments are the most annoying part of HN
209.
▲
by
wonnage
3y ago
It’s true that a lot of simple apps could just be written using direct DOM manipulation, but you basically write yourself into a corner. There’s no gradual transition from that to any framework, you just have to rewrite your app Might as we
210.
▲
by
wonnage
3y ago
Balloon gas is already 99% helium. There’s not that much of it (one source is apparently as a byproduct of filling pure helium containers) and reprocessing it is not economical.
More ›