Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ddejohn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
ddejohn
3y ago
Hey, I used this the other day. Thank you.
122.
▲
by
ddejohn
3y ago
I believe sugar is added to tomato-based products (sauces, condiments, etc) because tomatoes are pretty acidic by themselves and sugar is a common way to balance out acidic foods.
123.
▲
by
ddejohn
3y ago
I too liked this approach, and was annoyed when they deprecated it.
124.
▲
by
ddejohn
3y ago
This strikes me as overly cynical. My current job is working with around 20 other engineers on an extremely bloated and coupled monolith. I'd love to be able to separate myself and my team from others by an agreed-upon interface. Yes,
125.
▲
by
ddejohn
3y ago
> The web would not be what it is like without him. As somebody that really dislikes the way the web generally is nowadays I got a chuckle out of this :) This is a mostly tongue-in-cheek comment.
126.
▲
by
ddejohn
3y ago
Well the Earth's orbit is an ellipse, so there are times of the year where we are closer to the sun (January is when we are at perihelion). We could either change our eccentricity in order to shorten our year to exactly 364 days, or
127.
▲
by
ddejohn
3y ago
> A bit of an open ended question, but is there anything more I could do to process the audiobook to make it sound even better at 2x? Sounds like you could download Audacity 3.4 and make a 2x version of your audiobook files using their n
128.
▲
by
ddejohn
3y ago
TIL. Didn't realize this wasn't a new project (but also didn't read past "WSGI").
129.
▲
by
ddejohn
3y ago
Looks like its only dependencies are the standard library. So it appears to be a more lightweight Flask. Should've been called phial :D
130.
▲
by
ddejohn
3y ago
It didn't find mine using YYYYMMDD format.
131.
▲
by
ddejohn
3y ago
Correct. I was drunk.
132.
▲
by
ddejohn
3y ago
You're right. Python is pass by reference and it's the reference being changed, not the object. This is what happens when you read code on the internet after drinks.
133.
▲
by
ddejohn
3y ago
I wouldn't call a function that mutates the input "safe navigation", personally :)
134.
▲
by
ddejohn
3y ago
There's certainly humor in a function called "safe navigation" mutating the data structure I'm supposedly safely navigating through :D
135.
▲
by
ddejohn
3y ago
Yeah, when trying to drill down into deeply nested structures, it'd be a waste to just blindly nullish-coalesce any None objects into empty dicts instead of just immediately short-circuiting out of the deep access. It's a cute tri
136.
▲
by
ddejohn
3y ago
Right, see my other comment: > Blowing up on `None` is an easy short-circuit. The thing being discussed is attempting to access deeply nested values, so short-circuiting here is a win-win. I.e., you wouldn't want to unnecessarily tr
137.
▲
by
ddejohn
3y ago
Ah, I see. Still, I'd just catch that exception and move on because it's obvious you won't have anything more deeply nested anyway. Blowing up on `None` is an easy short-circuit.
138.
▲
by
ddejohn
3y ago
> Of course this only works at one level and not arbitrarily deeply It does though, you can chain as many of these as you want: some_dict.get("level_1_key", {}).get("level_2_key", {}).get("level_3_key"
139.
▲
by
ddejohn
3y ago
Analogous to saying "for the laughs"
140.
▲
by
ddejohn
3y ago
weren't*
141.
▲
by
ddejohn
3y ago
> The mosaic-X5 module is an ultra-low power, multi-band, multi-constellation GNSS receiver capable of delivering centimeter-level precision at high update rates. Dang. I was under the impression that GPS receivers this precise were avai
142.
▲
by
ddejohn
3y ago
A very popular outdoor gear outfitter (camping, hiking, etc) in the US.
143.
▲
by
ddejohn
3y ago
Awesome. 10/10.
144.
▲
by
ddejohn
3y ago
No pictures of fog machine and spooky graveyard -- 4/10
145.
▲
by
ddejohn
3y ago
I don't have 500 rep. I'm unable to downvote. I tried to engage in discourse by asking you to elaborate on your position -- the onus wasn't on me to explain anything. Good luck in life.
146.
▲
by
ddejohn
3y ago
So instead of taking the opportunity to educate somebody on a topic you're implying you know a lot about, you've decided it's not worth the bother because I'm probably religious about -- checks notes -- carbon taxes...
147.
▲
by
ddejohn
3y ago
This isn't really a fair argument. As far as I understand, at least in the case of the 2006 plot, the bomb still needed to be constructed (i.e., ingredients mixed, detonator placed inside, etc). If you have something in a water bottle
148.
▲
by
ddejohn
3y ago
All valid points except the last -- you can still blow a hole in the fuselage and cause it to crash without needing to get into the cockpit.
149.
▲
by
ddejohn
3y ago
That article you linked is just one big causal fallacy. It claims that the TSA admitted that the liquid ban was bullshit, citing a Slate article which does not itself even quote the TSA lol. I'm not a chemist, but I'm under the im
150.
▲
by
ddejohn
3y ago
The shoes and belts thing is ridiculous, I agree. But there's a legitimate reason for the liquid ban to which I'm not sure there's much of a solution, is there?
More ›