1,822 karma · joined Feb 3, 2019 (7y ago) · 645 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
TL;DR: nobody denies that the air in Lahore is bad, but there is controversy about who gets to measure it, and how that information is disseminated.
In particular, the author seems to be criticizing AirVisual for offering data and recommendations in a way that's 1) not properly contextualized (i.e. telling people they could breathe cleaner air without addressing that buying an air purifier is out of economic reach for many), and 2) tainted by commercial interest (they sell monitoring devices for what the average resident of Lahore would surely consider an exorbitant sum)
I understand those criticisms, but... is that really the most salient point to make about this whole situation?
Spend five minutes looking into it, and it's completely fucking obvious that the air is terrible and it will take years off your life. Perhaps attention should be diverted away from the question of how to do measurement perfectly, to the question of how to not kill tens of thousands more people this season.
comment 2y ago · link · parent
We were fine until we started using Snowflake. The SQL doesn’t quite transpile to Postgres, and anyway we’re using some Python functions where the equivalent SQL would be nightmarishly complicated. I hate that we can’t iterate fast on that part of the stack.
Could we build something that works nearly identically, but locally? Yes, but we’d need to submit some patches to sqlglot, which nobody has time for.
Could we avoid using Snowflake altogether? Only with a lot more work. It solves a few real problems for us.
comment 2y ago · link · parent
1. Is it kinda slow? (The test suite for a single module should run in a few seconds; a large monorepo should finish in under a minute)
2. Is there network access involved? (Could the test randomly fail?)
3. Do I need to set up anything special, like a database? (How easy is it for a new developer to run it?)
If the answer to any of those is Yes, then your test might fall in the liminal space between unit tests and integration tests -- they're unit-level tests, but they're more expensive to run. For example, data access layer tests that run against an actual database.
On the other hand, even if a test touches the filesystem, then it's generally fast enough that you don't have to worry about it (and you did make the test self-cleaning, right?) -- calling that test "not a unit test" doesn't help you. Likewise, if the database you're touching is sqlite, then that still leaves you with No's to the three questions above.
comment 2y ago · link · parent
comment 3y ago · link · parent
Also FYI, Half-Life and HL2 are currently both very playable in VR. Half-Life even runs natively on the Quest 2.
comment 3y ago · link · parent
> The Ariane 5 program also selected the best components for Webb based upon pre-flight testing. For example, for the Webb-designated rocket, the program used a main engine that had been especially precise during testing. "It was one of the best Vulcain engines that we've ever built," Albat said. "It has very precise performance. It would have been criminal not to do it."
From https://arstechnica.com/science/2022/01/all-hail-the-ariane-...
comment 3y ago · link · parent
From [0]:
> As a space reporter, I have spoken with dozens of current and former Blue Origin employees, and virtually none of them have had anything positive to say about Smith's tenure as chief executive. I asked one current employee about the hiring of Limp on Monday afternoon, and their response was, "Anything is better than Bob."
[0]: https://arstechnica.com/space/2023/09/bob-smith-is-finally-g...
comment 3y ago · link · parent
Now it's laughable, but OpenAI was founded in 2015. I don't know about Altman, but Musk was very respected at the time. He didn't start going off the deep end until 2017. "I'm motivated by... a desire to think about the future and not be sad," was something he said during a TED interview in 2017, and people mostly believed him.
comment 3y ago · link · parent
The Barkley Marathons: The Race that Eats Its Young
If you apply to join and are accepted, the acceptance letter begins with something like, "Deepest condolences, you have been accepted..."
comment 3y ago · link · parent
It’s such a bummer that the optimal memory layout is also a pain to code with in most languages (thinking of numpy in particular, oof). Are there any languages out there that abstract this away? You’d have to give up pointers, but it’s worth it for some use cases.
comment 3y ago · link · parent
My last time was last year. I noticed that our metrics service, which had been running for a couple years, was now often using 100% cpu. That can cause issues for other services on that node, so I looked into it. Turns out the Go code I wrote to parse Prometheus metrics was a little clunkier than you’d like for the sheer amount of metrics coming from some monitor (I think I’d just upgraded cadvisor or something). I tried getting it to return fewer metrics, but couldn’t figure it out.
So I spent an afternoon and rewrote my parser. My hypothesis was that I could make it faster by allocating fewer strings, which turned out to be correct. End result was nearly 10x faster. 10/10, super fun and satisfying.
I’ve got about a half dozen other things I’d love to optimize with our current system, but for now I can’t justify the cost.
comment 3y ago · link · parent
comment 3y ago · link · parent
When it comes to the amount of ass-pain this can cause, that's just the tip of the iceberg.
Sometimes it's funny though. At hospitals, there's an automated system that announces the next person by name (GDPR? Privacy? What's that?). For non-Chinese names, it reads the name letter by letter. So now everyone in earshot knows there's a foreigner around somewhere.
comment 3y ago · link · parent
Nope. At its current speed, we’ve got another 129 years. That’s an underestimate because the spacecraft will continue to decelerate a bit as it pulls farther away from the sun.
That’s about 60,000 years to the nearest star.
comment 3y ago · link · parent
Yeah this was my first thought too. Why don't they have such a system in place for as many permutations of their public services as they can think of? We're a small company and we've had this for critical stuff for several years.