Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DougBTX
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
481.
▲
by
DougBTX
8y ago
There was a PDF incident report going around earlier with a chart showing a graph of the inputs from MCAS and the pilots over a period of time. There was a "nose down" command from MCAS, followed by a "nose up" command f
482.
▲
by
DougBTX
8y ago
Agreed that doing that would be taking this idea too far. A better bar to aim for is quoted in the article: > You should attempt to re-express your target’s position so clearly, vividly, and fairly that your target says, “Thanks, I wish
483.
▲
by
DougBTX
8y ago
That article contradicts your assertion that “China was paid to receive it”, it says, “Franklin could break even on recycling by selling it for $6 a ton.“
484.
▲
by
DougBTX
8y ago
They calculated π * 10^13 digits for Pi day (14th March, 3/14 in month/date format) so it was an artistic/aesthetic choice.
485.
▲
by
DougBTX
8y ago
> stunt driving swerves You've put a lot of emphasis on how dangerous and crazy it would be to have not run over the pedestrian, but in other jurisdictions learning how to do an emergency stop is required for all drivers before bein
486.
▲
by
DougBTX
8y ago
It probably depends how likely the consumer is to look at the code. In the article, they’re expecting code review of copy-pasted C code produced by their system, so the bar is higher than generated assembly that almost no one will ever look
487.
▲
by
DougBTX
8y ago
> either your binary format ends up not much better than JSON or you end up reencoding old comments because the API changed Those are other options too, eg, storing the schema separately from the records (then batching records with ident
488.
▲
by
DougBTX
8y ago
SemVer doesn’t seem to distinguish between “major” and “minor” breaking changes, instead saying all breaking changes are major version changes. So making new major versions cheap seems like a good way to document any breaking changes, even
489.
▲
by
DougBTX
8y ago
Sure, CSS is hard, just look at the specs which define the height and width of elements: https://www.w3.org/TR/css-position-3/#size-and-position-deta... There's a lot of complexity there.
490.
▲
by
DougBTX
8y ago
For Slate.js there's a PR to add Android support, looks like this is very hard to do well: https://github.com/ianstormtaylor/slate/issues/2062
491.
▲
by
DougBTX
8y ago
Are you having problems due to running out of memory? If memory isn’t full then the OS isn’t putting it to best use, so overall memory usage isn’t a great metric.
492.
▲
by
DougBTX
8y ago
Badges on GitHub seem to be getting more popular, a manual way to show this information in project readme files: https://github.com/badges/shields
493.
▲
by
DougBTX
8y ago
The Dell website says the P4317Q is IPS so the author might be wrong here.
494.
▲
by
DougBTX
8y ago
Or rephrased, this is an attack on a vulnerable MySQL client by a malicious MySQL server, rather than a more typical “client attacks server” threat.
495.
▲
by
DougBTX
8y ago
The examples in the FAQ imply that they consider separate binaries that share “complex” data structures to be parts of the same program, blurring the line for what counts as dynamic linking.
496.
▲
by
DougBTX
8y ago
The first paragraph is: > This page in a nutshell: When choosing an account name, do not choose names which may be offensive, misleading, disruptive, or promotional. In general, one username should represent one person. Seems fine to hav
497.
▲
by
DougBTX
8y ago
I’ve not done any real finance programming, so is this a reasonable explanation? Currency is stored as a count of cents (millicents if being fancy). Therefore the two main features of floats are not useful: - Support for very small numbers
498.
▲
by
DougBTX
8y ago
> 9999999999999999.0 into "double" gives https://float.exposed/0x4341c37937e08000 Nice that it reformats the input to "10000000000000000.0", gets the point across that a 64 bit double float just doesn
499.
▲
by
DougBTX
8y ago
I think the core of the problem is that CSS is applied to the whole page, so it makes thinking about local changes hard. CSS Modules[1] tries to help by introducing "local" CSS, then there are other approaches like BEM[2] that bak
500.
▲
by
DougBTX
8y ago
And then looking at it the other way, the equivalent JS is: backgroundColor: "blue" which as an isolated bit of code is no more or less understandable than the CSS. The problem I've had with CSS is answering the ques
501.
▲
by
DougBTX
8y ago
> Yeah, it's badly written in a way to provoke controversy I’m not sure it is worth my time to read something that is badly written to provoke controversy, even if it does make good clickbait.
502.
▲
by
DougBTX
8y ago
> In P6, 1..10 is exactly the range you'd expect That syntax is impressive, handles all four possibilities nicely. However since reading this short article by Dijkstra, I’ve been convinced that 0..N ranges (inclusive start, exclusiv
503.
▲
by
DougBTX
8y ago
> and (1..) = c, whatever the heck that means The 1..=c is Rust syntax for an inclusive range. Rust also has syntax for ranges that exclude the last value like Python’s range(1, c + 1), which is 1..(c + 1). Using that would make it look
504.
▲
by
DougBTX
8y ago
Best I’ve seen was https://www.bbc.co.uk/news/uk-england-sussex-46649704
505.
▲
by
DougBTX
8y ago
I’ve not heard “extremely possible” used like that before, but it is pretty similar to “completely possible” or “entirely possible”, example in a headline: https://www.spectator.co.uk/2018/10/its-entirely-possible-
506.
▲
by
DougBTX
8y ago
That argument seems like it makes total sense, but I feel like I’m missing something so I’ll just have to say I don’t know!
507.
▲
by
DougBTX
8y ago
> Assuming UInt is infinite precision and Strings can be infinitely long, there is an easy injection from BitSequence to String, therefore String is at least as equinumerous as BitSequence. You’re right that a particular series of bits c
508.
▲
by
DougBTX
8y ago
> I'll confess I still don't understand why it's so hard to keep track of the position of subway cars in real time. I can think of any number of ways to do that more or less trivially. That’s the source of a lot of error i
509.
▲
by
DougBTX
8y ago
Vague estimate is that there are 18 million programmers in the world[1] and that 4% of them use Go[2], so 0.7 million would be a starting point guess as the total number. Note that these were the first two Google search results I found for
510.
▲
by
DougBTX
8y ago
I upvoted the article as OCaml is one of those “aspirational” languages that I’ve always had an interest in, but never found the time to explore. I’d like to hear more about it, might prompt me to pick it up one day.
More ›