back
user profile
layer8
40,765karma·16,215submissions·June 22, 2018
recent activity (16,215 total)
comment
Apple doesn’t increase prices most years, so that doesn’t really make sense. The iPhone Pros this year also look to be a minor update.
comment
Zuckerberg looks like Woody Allen in that photo. :)
comment
They currently don’t accept orders from people without an existing Steam purchase from before May. (Otherwise I might have been interested.)
comment
The downside, apart from privacy concerns, is sending your money to parties you don’t want to support.
comment
One of the facts is the existence of https://en.wikipedia.org/wiki/CLOUD_Act , in conjunction with https://www.law.cornell.edu/uscode/text/18/2705 …
comment
The issue is that apparently AI coding means that developers stop caring about software quality. Which puts the whole purpose into question.
comment
Symlinks aren’t portable.
comment
> translating C's semantics into those of a related language with arbitrary but technically defined behavior instead of having UB There is no “instead” here. A C implementation defining behavi…
comment
The second sentence is making vague claims though.
comment
…in the US.
comment
Better link: https://old.reddit.com/r/SplitDepthGIFS/top/?sort=top&t=all (The original defaulted to “past 24 hours” for me, which didn’t show anything.)…
comment
Many people can’t, there is significant variation in how people’s visual systems work. I myself can’t anymore after my eyesight got worse.
comment
People who bought a Commodore typewriter in the 1950s probably weren’t particularly interested in the C64 in the 1980s either. It would be more interesting to talk about the actual merits of the produ…
comment
A BSTR object is compatible with functions expecting a C string. The other direction obviously never holds, unless the C string is a BSTR to start with. Yes, there is a trade-off between slices using …
comment
No, it’s like saying how many goals you personally score is insignificant for how many goals are scored in total in football matches worldwide. It’s like Down’s paradox ( https://en.wikipedi…
comment
NUL was always just an abbreviation for null: https://www.rfc-editor.org/rfc/rfc20.html#section-4 I don’t think anyone in this thread is confusing the null character with the nul…
comment
There is a middle ground that Visual Basic (and then COM) took, with the BSTR type: It’s still a pointer to a zero-terminated char array, but there is a length field immediately preceding the first p…
comment
The decision was made almost 55 years ago for C and Unix: https://en.wikipedia.org/wiki/Null-terminated_string#History …
comment
Almost as bad as newline-terminated lines. ;)
comment
That doesn’t help the developers who have high standards.
comment
It used to be slower in software development as well. The internet and the exponentially increasing number of software developers accelerated it. And of course new hardware that made things practical …
comment
The difference, as I tried to explain, is that identity comparison does not expose the internal representation. So while you can know that two objects with the same value are different objects, you ca…
comment
Elected local administration is the correct level for deciding policy and allocating funding for such programs. Policy and funding through UBI would be like direct democracy, as opposed to representat…
comment
We shouldn’t expect markets to solve all problems. That’s why there are public institutions and government regulations, to take care of the issues that the markets can’t. That the room only exists due…
comment
Not everything needs to be a mainstream movement, and not being one doesn’t automatically make you a “true weirdo”.
comment
That’s just not true, you can have a completely value-based language without OOP that still doesn’t leak implementation details of the values, while also supporting UDTs.
comment
My point is that pass by copy and pass by value do the same thing, they copy the value representation. In other words, pass by copy means exactly pass by value.
comment
There’s nothing wrong with having non-normalized representations, that’s why there is equals(). For example, you might have a value class for representing (limited-precision) fractions using two long…