Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dahfizz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
511.
▲
by
dahfizz
4y ago
Yup, we have a good benchmarking suite to make sure changes don't cause regressions and that optimization changes actually work. That said, I think asking a developer to write everything they do twice so that they can A/B test is
512.
▲
by
dahfizz
4y ago
It depends on your specialization, I guess. If you're making a website, a few microseconds here and there probably don't matter. But in my field (Fintech), performance really does matter. Doing the simple, slow thing is just lazy
513.
▲
by
dahfizz
4y ago
> Anyone know a good way to determine if it is legit? Post a picture of it to some meteorite subreddit bringing about a meteorite you found. People will happily correct you if it isn't real.
514.
▲
by
dahfizz
4y ago
True, but furnaces have a much lower power draw. They are easy to run off a generator, which are common in areas that frequently lose power.
515.
▲
by
dahfizz
4y ago
Would you ever expect a legitimate call from your bank / government / business to be in English? Particularly English with a strong Indian accent? I think the US gets targeted mostly because of language. Indians learn English in s
516.
▲
by
dahfizz
4y ago
> If not for those regulations, since the track is known to the centimeter, the fastest driver would probably be the lightest one because it would be dead weight. Maybe if everyone took turns setting times. But in a real race, you have t
517.
▲
by
dahfizz
4y ago
> within reason, like a duplex/triplex, or an accessory dwelling unit. OP is literally advocating for building refugee camps, not duplexes.
518.
▲
by
dahfizz
4y ago
I'm curious, why the first sleep? Why not go into the while loop right away?
519.
▲
by
dahfizz
4y ago
When does M mean thousand? I've never seen that. K means thousand.
520.
▲
by
dahfizz
4y ago
Sure, I can see how in certain circumstances, the word "handicapped" is not the optimal descriptor. I still think "accessibility" is bad, but maybe "disability parking" covers your scenario better. This is the
521.
▲
by
dahfizz
4y ago
> There is no one-word replacement for something being "grandfathered". It's important to consider practicalities here. In fact, much of this list replaces a single-word term with a longer phrase. "Bob survived the ac
522.
▲
by
dahfizz
4y ago
> some people might not want to use it because of the naming, while it was set aside for them. Some people will be more aggressive towards user of this space if they feel they don't deserve it (not visibly handicapped enough) etc. I
523.
▲
by
dahfizz
4y ago
How does the term "handicap parking" have a negative impact on someone?
524.
▲
by
dahfizz
4y ago
> All these new terms are going to be discriminatory in a few years as the bullies learn to use them. This is called the euphemism treadmill. Soon, lots of the recommended new phrases in this list will be considered offensive and harmful
525.
▲
by
dahfizz
4y ago
> Instead of 'handicap parking', use 'accessible parking' This is just insane. What is wrong with 'handicap parking'? 'Accessible parking' is objectively less descriptive. Its only accessible for t
526.
▲
by
dahfizz
4y ago
Its all semantics, I guess. You could argue that signals can be used to handle exceptional conditions (dereffing NULL). But signals are significantly different than what other programming languages call "exceptions". Its the same
527.
▲
by
dahfizz
4y ago
fenv is available in standard C99. There is a GNU extension to trap and throw a signal when a fp error is hit (feenableexcept). I would definitely argue that signals != exceptions.
528.
▲
by
dahfizz
4y ago
Signals are not exceptions. Languages with exceptions still have to handle signals separately. Signals are an OS construct, and exceptions are a language construct. To the question of "why not raise a signal on integer overflow in C?&q
529.
▲
by
dahfizz
4y ago
C doesn't have exceptions...?
530.
▲
by
dahfizz
4y ago
I agree with you, but the "tax" is the penalty for not having health insurance. The health insurance itself isn't considered a tax.
531.
▲
by
dahfizz
4y ago
_when the return value is an error code_, zero means success and nonzero means failure. Functions like `read`, `recv`, etc etc don't just return an error code. They return an actual value. Functions that only return an error code like
532.
▲
by
dahfizz
4y ago
The proposal fits my intuition. When the return value is an error code, truthy values are an error. int rc = func(); if( rc ) { /*handle error*/ } examples from the stdlib: connect(), stat(), etc. Hell, even main is
533.
▲
by
dahfizz
4y ago
This is always my first thought when I hear these horror stories. Doctors need the feedback on when they were wrong, but it seems like they never get it.
534.
▲
by
dahfizz
4y ago
That's true, but my understanding is that the Tesla will only be able to keep itself warm for a day or two. So you need to charge the thing every day - really only practical with home charging.
535.
▲
by
dahfizz
4y ago
In no world is 150k miles "low mileage". That's comfortably in the "may break down at any time" age.
536.
▲
by
dahfizz
4y ago
Cars are really expensive. Buying a whole ass car that can _only_ be used for commuting is a luxury most people cannot afford. They need their vehicle for thier daily commute, but also for weekend trips, home depot hauls, towing, etc etc. &
537.
▲
by
dahfizz
4y ago
> The same is true for your EV. I don't think that's exactly true. -30F and below is cold enough to permanently damage the battery in an EV. Letting the electrolyte freeze just once will ruin your battery. It doesn't matte
538.
▲
by
dahfizz
4y ago
Not if the battery itself is generating heat. Then the insulation keeps the heat in.
539.
▲
by
dahfizz
4y ago
Companies in Delaware still have to pay the 21% federal corporate tax rate. Well above the EU rate this article is lauding. Delaware is popular to incorporate in for legal reasons. It is not a tax shelter.
540.
▲
by
dahfizz
4y ago
> Tax companies that are currently hiding profits in tax havens. > No single country can do this I don't understand. If America already has a >15% tax rate, then it already abides by these rules. America is not a tax haven.
More ›