Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
carlmr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
631.
▲
by
carlmr
3y ago
But then you need to reassess why cities are better for the environment. I'd gather most is due to saving the commute by car to work, which is already failing in many US cities, but holds pretty well in the rest of the world. If you mo
632.
▲
by
carlmr
3y ago
I'm not sure that's a testable hypothesis. Yes, having (way) fewer people would prevent most climate change, pollution, etc issues. However the trend is always that humans proliferate until a point where it's not possible to
633.
▲
by
carlmr
3y ago
Usually your database connection is a function that is passed as a parameter to the functions using it. That way you don't need to Mock, but you can input a "connection" during testing that does what you expect. If you say &q
634.
▲
by
carlmr
3y ago
>Anything you could unit test without mock objects You can unit test without mock objects because you're following functional patterns.
635.
▲
by
carlmr
3y ago
This looks really cool! Can we try it out somewhere? I don't see any download link.
636.
▲
by
carlmr
3y ago
>They completely misjudged the appetite for this movie. I used to watch a lot more movies, in recent years I've almost stopped going to the cinema, except for movies that look really good. Because everything seems rehashed. The prob
637.
▲
by
carlmr
3y ago
I'm reminded of jaywalking. Pedestrians had the right of way until the marketing departments of automotive companies decided to turn walking on the street into a crime. Public sentiment can be easily manipulated with sufficient resourc
638.
▲
by
carlmr
3y ago
Is it good though?
639.
▲
by
carlmr
3y ago
>deficiency clown What is that?
640.
▲
by
carlmr
3y ago
The social services help people, but having to spend an amount for additional services on top of what you already pay more than Americans is extra hard, no?
641.
▲
by
carlmr
3y ago
The people are better off in the median because there's more social services, but that means higher taxes and lower net income. Which makes paying x amount even harder.
642.
▲
by
carlmr
3y ago
Especially if you adjust for Dutch salaries which are on average lower than American salaries.
643.
▲
by
carlmr
3y ago
>dropped from VA plans. This should be illegal, "thank you for your service, where you got PTSD from seeing your friends die, we will reward you with dropping you from your healthcare plan if you self-medicate".
644.
▲
by
carlmr
3y ago
>you’d assume everyone in the UK is foraging in bins for their food, but the reality is there is plenty of people with money. There is almost never a dearth of people with money. The median income is more telling about the state of a nat
645.
▲
by
carlmr
3y ago
I'm all for banning alcohol in stadiums, there's enough problems with rowdy fans at such events. But the problem here is not whether or not they should be allowed alcohol, but why a catered event in a stadium is exempt from the
646.
▲
by
carlmr
3y ago
Not OP, but I think the problem they are trying to explain is that if you create an async function it can only be called from other async functions, so it's quite an infectious concept. If you create a library that uses async, you'
647.
▲
by
carlmr
3y ago
Python has been getting faster, but Nim I'm sure is still a few multiples above Python. The problem is that CPython was never built with efficiency in mind and now it's hard to add it.
648.
▲
by
carlmr
3y ago
I want some Belgian Blue milk now.
649.
▲
by
carlmr
3y ago
Pitch: Like Python, but faster and multicore. At least it's the reason I tried it once. It was not a bad experience.
650.
▲
by
carlmr
3y ago
Rules are, give people 2 seconds to react.
651.
▲
by
carlmr
3y ago
But you need to put that in the rule, otherwise you have crashes.
652.
▲
by
carlmr
3y ago
Nicely played I didn't think of those!
653.
▲
by
carlmr
3y ago
Exactly my thought. Whenever I see wild optimization goose chases it's Python causing all the issues. The problem is that a lot is still possible to optimize "in Python" although as you say the code becomes less and less read
654.
▲
by
carlmr
3y ago
It didn't sound plausible tbh since they add anti-caking agents and sugar seems like a pro-caking agent. I even googled salt additives (to keep the search neutral) and it didn't turn up sugar anywhere.
655.
▲
by
carlmr
3y ago
Nice, interesting explanation https://windsorsalt.com/faq/
656.
▲
by
carlmr
3y ago
Most SUVs don't have extra space inside though. You could transport the same in your average station wagon as in your average SUV, often even more.
657.
▲
by
carlmr
3y ago
>The cars are reliable enough for first two owners not to be bothered They're really among the more reliable cars according to ADAC (German AAA): https://www.adac.de/rund-ums-fahrzeug/unfall-schaden-panne/a
658.
▲
by
carlmr
3y ago
I've never seen this, this would lead to some sticky salt. Usually you see anti-caking agents and Iodide added.
659.
▲
by
carlmr
3y ago
I've had ceramic salt grinders for years now. Anecdotally you're right, never thought about replacing them.
660.
▲
by
carlmr
3y ago
Also can't make good brownies without big salt crystals. Or pretzels.
More ›