Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramshorns
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
ramshorns
6y ago
What does it mean for the RISC/CISC thing to be dead? The distinction between them is more blurred than it used to be?
32.
▲
by
ramshorns
6y ago
Cool. So `void f (double a, double b)` is like `f : R^2 -> R^0`, where R^0 is a singleton set.
33.
▲
by
ramshorns
6y ago
Surely it's because statement expressions aren't part of the standard. But maybe something like GNU source-highlight can handle the extensions.
34.
▲
by
ramshorns
6y ago
Are void functions not considered functions in functional programming? I guess in math they're not. Functions have to have a codomain and map some things into it.
35.
▲
by
ramshorns
6y ago
A more interesting conclusion could have been that engineers should use their power to walk away to instead organize together and demand better from their employers.
36.
▲
by
ramshorns
6y ago
Well, if the ceil function failed on 1.0f, maybe even the ordinary numbers are worth testing. But... would randomness help? Take a representative sample of like 1/64th of the double space and you might run into most of the common probl
37.
▲
by
ramshorns
6y ago
Is usage the goal? I would think it's better to have, say, 80 devices on the market that use Linux and comply with the GPL and give software freedom to their users, along with 20 devices whose vendors chose to avoid the hassle and used
38.
▲
by
ramshorns
6y ago
It suggests that vendors would want alternative firmwares to be developed for the hardware they sell. Do you think they wouldn't want that?
39.
▲
by
ramshorns
6y ago
Yeah, though a really strict reading of GPLv2's " the scripts used to control compilation and installation" might suggest that it's not, since maybe the source code has to include the signing key to get it onto the devi
40.
▲
by
ramshorns
6y ago
Sounds a bit like leap seconds, except there were 22 leap seconds before 2001.
41.
▲
by
ramshorns
6y ago
> The authors defined a vanished journal as one that published at least one complete volume as immediate OA, and less than 50% of its content is now available for free online. Well, this exact definition could have some false positives,
42.
▲
by
ramshorns
6y ago
Yes.
43.
▲
by
ramshorns
6y ago
That functioning housing market might have been an anomaly, only lasting a generation or two. Through history it may have been much more common for most people to never be able to afford to own a home. Anyway, growth is unsustainable: if ho
44.
▲
by
ramshorns
6y ago
Evaluates to?
45.
▲
by
ramshorns
6y ago
Is it equivalent? Because that seems to be the only difference between the two editions for the newprint function, and the author says one of them happens to compile. https://wozniak.ca/blog/2018/06/25/1&
46.
▲
by
ramshorns
6y ago
So the word mantissa has two different meanings that show up in really similar contexts. In log(120) = log(1.2 × 10²) = 2.079, you could call both the .079 and the 1.2 a mantissa. The first is in the range [0,1) and the second, aka s
47.
▲
by
ramshorns
6y ago
> between 0 and 1 (inclusive) [closed] Why yes.
48.
▲
by
ramshorns
6y ago
If the client app is open source and the messaging is end-to-end encrypted, I would say it's a lot better than being completely closed. The encryption, which you should now be able to verify, means you don't have to trust the serv
49.
▲
by
ramshorns
6y ago
It's good to be reminded that every choice makes a difference and it's not all about being self-consistent. Kind of like how, even though I left home without a mask yesterday, it's still better to wear a mask today than not.
50.
▲
by
ramshorns
6y ago
> I guess I’m just sad that all the tools conpanies are gone or shells of their former selves. And the tools they made are largely gone with them. The whole point of free software (well, one of the benefits anyway) is that it keeps being
51.
▲
by
ramshorns
6y ago
> Under the assumption that there are no boolean types from earlier, this is not true Can you elaborate on this one? I thought && and || expressions always evaluated to 0 or 1.
52.
▲
by
ramshorns
6y ago
Yeah, so then you write for (size_t i = n-1; i < n; --i) { /* operate on a[i] */ } It works fine (unsigned overflow is well defined) but it's even less clear.
53.
▲
by
ramshorns
6y ago
That's the idiomatic way? Cool. The more straightforward-looking way, for(i = n-1; i >= 0; i--) { /* operate on a[i] */ } breaks if i is unsigned, like a size_t.
54.
▲
by
ramshorns
6y ago
I'm not sure if you're kidding. Of course police presence leads to escalation and more crime, and many places would be much safer without police.
55.
▲
by
ramshorns
6y ago
The police have shown us that they don't act in good faith. But maybe if we decide to keep them around, these recommendations, along with better civilian oversight to ensure they're actually implemented, will mitigate the dangers
56.
▲
by
ramshorns
6y ago
That sounds like a car problem, not a problem with cities built for foot traffic.
57.
▲
by
ramshorns
6y ago
It'd be nice to see COVID Alert in F-Droid, or somewhere else that doesn't require nonfree dependencies.
58.
▲
by
ramshorns
6y ago
I see, thanks for the explanation.
59.
▲
by
ramshorns
6y ago
So maybe if the code is broken anyway for non-ASCII characters, it's fine to use tolower, since somewhere else in the code it ensures that c is a byte.
60.
▲
by
ramshorns
6y ago
A char in C++ is one byte, right? Is it even possible for this "fixed" code to call ctype::tolower() on something like a UTF-8 or UTF-16 code point?
More ›