Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sagarm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
241.
▲
by
sagarm
2y ago
I default to printf debugging myself, but it can be an indicator that someone doesn't know their tools.
242.
▲
by
sagarm
2y ago
If they're not using fzf, ctags or LSP at all, sure. But find and grep absolutely have their place, and I tend to use them even when using IntelliJ/VSCode.
243.
▲
by
sagarm
2y ago
Most drivers are reasonable, but some use their vehicles as weapons to punish cyclists for slowing them down -- even though in SF, you're likely to end up at the same stop light in 30 seconds. When I bicycle commuted in the city, I had
244.
▲
by
sagarm
2y ago
You'd still have to recover the rocket. I imagine the number of places you could land and economically recover the rocket is pretty small.
245.
▲
by
sagarm
2y ago
I believe the Eight sleep uses a Peltier cooler. Not terribly efficient, but the ΔT and the load are low (a human body puts out <100W while asleep). Plus, a Peltier can also heat with some supporting electronics.
246.
▲
by
sagarm
2y ago
They're optimized for different things. Arrow is designed for zero copy ipc -- it is, by definition, an in-memory format that is therefore mmappable. Parquet is an on-disk format, designed to be space efficient. So for example, Parquet
247.
▲
by
sagarm
2y ago
Hey, I agree with you. On eager vs lazy evaluation -- pytorch defaulting to eager seemed to be part of the reason it was popular. Adding optional lazy evaluation to improve performance later seems to have worked for them.
248.
▲
by
sagarm
2y ago
"group A is on average more qualified" and "group B is statistically unqualified" are similar statements, IMO. More importantly, this overly simplistic model clearly does not lead to useful conclusions. The fact that you
249.
▲
by
sagarm
2y ago
As a group, girls outperform boys in school. By this simple model, men are statistically unqualified for every job. Seems a little unfair to men, but those are the facts. All models are wrong; some are useful.
250.
▲
by
sagarm
2y ago
I've heard great things about Pola.rs performance. To get there, they have a lazy evaluation so they can see more of the computation at once, allowing them to implement optimizations similar to those in a SQL engine.
251.
▲
by
sagarm
2y ago
I've worked on a few SQL systems used for analytics and ETL. My users fell into (for the purposes of this discussion) three categories: 1. Analysts who prefer sheets 2. Data scientists that prefer pandas 3. Engineers who prefer C++
252.
▲
by
sagarm
2y ago
You could implement a family of poorly defined dialects using SQLGlot, sure, in the same way you could define a meta-language targeted at Algol-family languages. That's not a substitute for adding language features.
253.
▲
by
sagarm
2y ago
This isn't a permission issue. The attacker puts a message into a public channel that injects malicious behavior into the context. The victim has permission to see their own messages and the attacker's message.
254.
▲
by
sagarm
2y ago
I get what you're saying, but every instance where I've felt physically threatened in my neighborhood is from malicious or incompetent drivers -- I often yield my right of way when walking because I feel I'll be injured other
255.
▲
by
sagarm
2y ago
I suppose if Apple won't fix security vulnerabilities in software they sold, the only remedy would be a return and refund? Sounds costly for Apple.
256.
▲
by
sagarm
2y ago
Cars aren't clean or safe, so that's step one.
257.
▲
by
sagarm
2y ago
Stolen cars, stolen plates, no plates. You're coming at this from the perspective of a law-follower.
258.
▲
by
sagarm
2y ago
If walking makes you hurt that much, you might want to talk to your doctor.
259.
▲
by
sagarm
2y ago
Cities have a limited amount of space, and a disproportionate amount of it is allocated to drivers. It's fine to choose to live in a car dependent suburbs; but don't be surprised when urbanites want to prevent fast through traffic
260.
▲
by
sagarm
2y ago
I just do embedded development as a hobby, but STM32CubeMX now supports generating CMake-based projects so you can use your usual C++ development environment and workflow.
261.
▲
by
sagarm
2y ago
You would use a partial ordering: https://en.cppreference.com/w/cpp/utility/compare/partial_or...
262.
▲
by
sagarm
2y ago
The three-way comparison operator just needs to return a ternary, and many comparisons boil down to integer subtraction. strcmp is also defined this way. In C++20 the compiler will automatically use the spaceship operator to implement other
263.
▲
by
sagarm
2y ago
It would be perfectly reasonable IMO to put your metadata elsewhere and still use DuckDB for processing.
264.
▲
by
sagarm
2y ago
That is not how the majority of cul-de-sac subdivisions work in the American South. There are certainly not a bunch in amenities within a 10 minute walk -- usually you can't even leave the subdivision in that time on foot, let alone sa
265.
▲
by
sagarm
2y ago
You could make this argument against locking your house or car, or password protecting your bank accounts, ... really any kind of security.
266.
▲
by
sagarm
2y ago
JSON is the serialization format. What's the IDL?
267.
▲
by
sagarm
3y ago
llama has a restrictive license, but pytorch doesn't.
268.
▲
by
sagarm
3y ago
Large vehicles endanger everyone around you, but here we are.
269.
▲
by
sagarm
3y ago
Maybe we can start with putting a blood price on human drivers, since they have direct culpability?
270.
▲
by
sagarm
3y ago
Worse, so much space wasted for free on-street parking in lieu of street trees and greenery.
More ›