Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cobbal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
cobbal
2y ago
Maybe even dependency ejection.
122.
▲
by
cobbal
2y ago
It will only open the URLs after presenting a confirmation banner that says: "open this URL? http://example.com/ ", or if you command-click on a link.
123.
▲
by
cobbal
2y ago
Is this a property of JavaScript or the engine running it? This feels like something a sufficiently-smart™ closure implementation should be able to prevent.
124.
▲
by
cobbal
2y ago
There are (at least) 2 definitions of memory leak. The upsides of the definition you gave are that it's simple, well defined, and maximally precise (nothing that is safe to collect is considered live) The significant downside to this d
125.
▲
by
cobbal
2y ago
enum List<T> { case empty; indirect case cons(T, List<T>) }
126.
▲
by
cobbal
3y ago
I'm now envisioning an ad framework, where instead of selling rectangles of content, advertisers bid to use an llm to rewrite the whole article with at least {{4}} mentions of {{how refreshing pepsi is}}.
127.
▲
by
cobbal
3y ago
It's also time to stop using medium for anything. I wonder if the author really opted to unpublish this piece from the internet, or if they just got defaulted in when medium "released a new feature"
128.
▲
by
cobbal
3y ago
The static types depicted in typescript are entirely fictitious. Any similarity to runtime types is purely coincidental.
129.
▲
by
cobbal
3y ago
The electron rocket used batteries to drive the fuel pumps for a liquid engine that could get into orbit. It used a lot of LiPo batteries, which it jettisoned as they were used up.
130.
▲
by
cobbal
3y ago
It's never aliens. This helicopter was obviously built here on mars. Use your brain! Helicopters don't even work in space!
131.
▲
by
cobbal
3y ago
Multiplying them together certainly magnifies the effect, but it would magnify it the other way if the likelihoods were larger than one. (Easy to get, just tweak the variance of the normal distributions to be smaller). Likelihoods are more
132.
▲
by
cobbal
3y ago
This article was very fun, and felt like a good counterpoint to the "You Sound Like a Bot" post recently that was talking about how AI is getting bland. On a less serious note. This sentence should be something a fiction writer kn
133.
▲
by
cobbal
3y ago
For one, we never quite managed to convince people that the wiggly bits of metal were an important secret that should not be photographed. Cryptography can in principle be harder to duplicate/impersonate. (If, and big if, it's imp
134.
▲
by
cobbal
3y ago
Should the LED indicate mute on or mic on? I could see it both ways, and so I would also have a hard time trusting this UI at first.
135.
▲
by
cobbal
3y ago
Variables are written once, and data flow is made explicit.
136.
▲
by
cobbal
3y ago
It's pithy, and I certainly wish more things were sold instead of licensed, but by this logic anything in a museum is also free for the taking.
137.
▲
by
cobbal
3y ago
Sure they have crypto, they've had TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 since at least 2017. Source: https://stackoverflow.com/a/43249703/73681
138.
▲
by
cobbal
3y ago
Hubble's constant is typically measured in kilometers per second per megaparsec, which can be converted to Hertz.
139.
▲
by
cobbal
3y ago
The page mentions DC specifically, which is under federal jurisdiction. The headline may indeed be overselling the implications.
140.
▲
by
cobbal
3y ago
But clicking captcha squares is itself a data exfiltration vulnerability! https://varun.ch/history
141.
▲
by
cobbal
3y ago
The integer literals might be misleading from the real point here, which is that every node in an expression tree in C has a type. The compiler infers most of these types. It infers that (1 / 2) is an int and that (1 / 2.0) is a d
142.
▲
by
cobbal
3y ago
Same reason we don't have to type `(((2int + 2int)int) / 8int)int`. Type inference already exists in any ALGOL-like. Modern languages just tend to remove the arbitrary restriction that variables are the places where types must b
143.
▲
by
cobbal
3y ago
There really are a large range of opinions about this. I love high frame rate, but can't stand interpolation. I wish theaters used higher frame rates. I really enjoyed the parts of Avatar 2 that were smoother, and it felt jarring to me
144.
▲
by
cobbal
3y ago
If the limiting factor is rainwater into the central lake, draining the lake in two different paths won't help anything.
145.
▲
by
cobbal
3y ago
It's really weird. I'm starting to suspect hacker news isn't a single person.
146.
▲
by
cobbal
3y ago
My favorite consequence of this is that running "find ~" now blocks on many GUI dialogs. Apple is sending a "we don't care about developers/power users" message very loudly.
147.
▲
by
cobbal
3y ago
There's a simple way to draw the curve at full precision using SVG: <rect x="0" y="0" width="1" height="1" />
148.
▲
by
cobbal
3y ago
Latency doesn't bother me too much, but throughput can really matter if I'm running a particularly verbose command. Often program speed is limited by how fast the terminal is able to clear the stdout pipe. This is especially true
149.
▲
by
cobbal
3y ago
"cheap money" isn't currently a crime, but fraud is. I can't say either way about unhinged VCs.
150.
▲
by
cobbal
3y ago
You say "S-expressions" like it's a standard, but it's really hundreds of different standards. Maybe someone needs to create nice websites for SON (scheme object notation), RON (racket object notation), ION (IMAP object
More ›