Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
veltas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
451.
▲
by
veltas
4y ago
> Most roads in the UK have two lanes I don't know where you got this statistic from but it's not true where I live. >Your “strong advice” against cycling defensively I didn't advise that, I said don't try to enfor
452.
▲
by
veltas
4y ago
I didn't say it's not the rule or people are entitled to disobey them. I just explained why people get annoyed.
453.
▲
by
veltas
4y ago
If you try to "take the lane" you are essentially positioning yourself in a way that tries to police other drivers behaviour, or block them. This behaviour in a car would annoy people, and it is more annoying on a bike because bik
454.
▲
by
veltas
4y ago
I don't engage in road rage, but I do get properly irritated by farm vehicles that choose to drive their max speed 10mph straight through town in the middle of rush hour. I honestly think there should be regulations about when you'
455.
▲
by
veltas
4y ago
Website broken for dark mode browsers. Text is light, background is white.
456.
▲
by
veltas
4y ago
Joke's on them, SAP is different everywhere.
457.
▲
by
veltas
4y ago
In the doctor and sweet shop owner story the article's author is the sweet shop owner. Sometimes I think the sweet shop owner is helpful to some people, but not to me! I need that disgusting medicine. To each their own.
458.
▲
by
veltas
4y ago
Pain is French for bread. I hate this joke. There's a bakery I used to drive past called the "House of Pain".
459.
▲
by
veltas
4y ago
Brexit has got next to nothing to do with the current energy crisis in the UK: it's a worldwide problem, and even the CNN article you've cited claims it's not Brexit that's made it worse in the UK than elsewhere.
460.
▲
Zero to mainframe COBOL in 5 minutes flat
(youtube.com)
1 points
by
veltas
4y ago
|
0 comments
461.
▲
by
veltas
4y ago
You might not, but the vast majority of people unfortunately already trust companies like Google with their passwords. Likely though they will be stored and kept properly, and there won't be leaks. I only said 'unfortunately'
462.
▲
by
veltas
4y ago
It's not about experts vs. beginners. Some people just don't like that style of documentation.
463.
▲
by
veltas
4y ago
It's subjective. I am also a computer monk, but there are people out there who have irrational feelings about Real Documentation(TM), and ultimately they are worth accommodating.
464.
▲
by
veltas
4y ago
They didn't say to build at maximum cost, at most alluded to not making everything in society about money.
465.
▲
by
veltas
4y ago
All big programs have bugs, it has over 3000 because people actually use it and it has a healthy community that can report them. 3000 bugs reported is value.
466.
▲
by
veltas
4y ago
The Palace of Westminster rebuild took 30 years, but that was a pretty exceptional case. Balmoral Castle took 3 years. I don't know how long more modest housing took on those days but I'm assuming in the realm of a year. Even a fe
467.
▲
by
veltas
4y ago
Why though actually can't we build the way our ancestors did? Is that knowledge all lost? The Palace of Westminster isn't a farmhouse but it seems like a pretty beautiful, functional, durable building.
468.
▲
by
veltas
4y ago
My theory is typography killed the long s. It was much more visually distinct in handwriting, in type it just looks like an f without a line.
469.
▲
by
veltas
4y ago
I would guess it's to justify the text. People would also add/remove unnecessary vowels to fit a line better.
470.
▲
by
veltas
4y ago
That second line can be written: *reg &= (uint8_t)~x; Or: *reg &= ~x & 0xFF;
471.
▲
by
veltas
4y ago
It's annoying that negation, ABS, and division can overflow with two's complement. But how I look at it: lots of operations can already overflow, just a fact of signed integers, and you need to guard against that overflow in porta
472.
▲
by
veltas
4y ago
I do agree about compiler warnings, but MISRA C imposes a lot of unnecessary rules, a lot of unhelpful rules on how you write expressions, and tries to also act like C's type system works a different way than it does. In practice I hav
473.
▲
by
veltas
4y ago
Believe it or not, this makes the behavior more like what you'd expect in many cases. For example: uint8_t x = 4; extern volatile uint64_t *reg; *reg &= ~x; In the last statement x is promoted to an int, and then when th
474.
▲
by
veltas
4y ago
The really useful fact of C's remainder operator is that: x == x / y * y + x % y, provided nothing overflowed. This is usually what you want when doing accurate calculations with integer division.
475.
▲
by
veltas
4y ago
Mathematically speaking if you ask for the modulus of -5 you may as well get a negative number, and I think people may validly have their own interpretations of what's "correct" at this point.
476.
▲
by
veltas
4y ago
On x86 systems like 8086 short and int were the same size. And that appears to be a footnote they've added after being called out for being wrong. The question gives "implementation defined" as an option and in other question
477.
▲
by
veltas
4y ago
Third question is wrong. It's implementation defined, because unsigned short might be the same rank as unsigned int in some implementations, in which case it remains unsigned when promotion occurs.
478.
▲
by
veltas
4y ago
Because everything smaller than an int is usually promoted to int. int is the 'word' in C that things are calculated in. Even character constants are ints, all enum constants are ints, the default type was int when default types w
479.
▲
by
veltas
4y ago
>At the lower-end price range, Chinese OEMs are cranking out a device much faster than, as one Nokia employee said only partially in jest, “the time that it takes us to polish a PowerPoint presentation.” They are fast, they are cheap, an
480.
▲
by
veltas
4y ago
Would be interested in a blog on this
More ›