Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
layer8
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
691.
▲
by
layer8
4mo ago
The decision was made almost 55 years ago for C and Unix: https://en.wikipedia.org/wiki/Null-terminated_string#History
692.
▲
by
layer8
4mo ago
Almost as bad as newline-terminated lines. ;)
693.
▲
by
layer8
4mo ago
That doesn’t help the developers who have high standards.
694.
▲
by
layer8
4mo ago
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 that were only a theoretical possibility
695.
▲
by
layer8
4mo ago
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 can't know whether they internally re
696.
▲
by
layer8
4mo ago
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 representative democracy. The arguments against dir
697.
▲
by
layer8
4mo ago
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 to public grants isn’t a flaw, it’s wha
698.
▲
ISAC Privacy: Challenges and Solutions for 6G
(arxiv.org)
1 points
by
layer8
4mo ago
|
0 comments
699.
▲
by
layer8
4mo ago
Not everything needs to be a mainstream movement, and not being one doesn’t automatically make you a “true weirdo”.
700.
▲
by
layer8
4mo ago
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.
701.
▲
by
layer8
4mo ago
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.
702.
▲
by
layer8
4mo ago
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 s internally, for the numerator and den
703.
▲
by
layer8
4mo ago
I don’t see a difference between pass by copy and pass by value. The mutability difference is that part of a struct can be modified in place, which value classes can’t: the value of a complete value-class variable (or array slot) can only b
704.
▲
by
layer8
4mo ago
> But careful: == looks at internal state, which isn’t always what the object represents, so for “is this the same data” comparisons keep using equals. So == for value classes will basically be like memcmp() . That is a bit unfortunate,
705.
▲
by
layer8
4mo ago
There’s https://github.com/thanhvg/emacs-hnreader , but it doesn’t appear to support commenting.
706.
▲
by
layer8
4mo ago
A few details are given here: https://fox4kc.com/business/press-releases/ein-presswire/799... Revenue peaked in 2018 at $1 billion.
707.
▲
by
layer8
4mo ago
https://www.philanthropy.com/news/craigslist-founder-signs-g...
708.
▲
by
layer8
4mo ago
This article has a few details: https://www.philanthropy.com/news/craigslist-founder-signs-g...
709.
▲
by
layer8
4mo ago
I don’t like it either, but as an easy solution it’s still the lesser evil for me. At least they do allow running 20-year old binaries.
710.
▲
by
layer8
4mo ago
Not immediately, it took about half a year of watching sales numbers drop, and they still have restrictions.
711.
▲
by
layer8
4mo ago
Yeah, not dramatically cheaper.
712.
▲
by
layer8
4mo ago
I thought you were using emacs?
713.
▲
by
layer8
4mo ago
Luckily, one can still revert to the classic calculator: https://win7games.com/#calc
714.
▲
by
layer8
4mo ago
They didn’t do this practically, the “tracking label” is just an analogy to convey what they did mathematically. The word “barcode” is also only used because it might be more accessible to the layperson than “bit sequence”.
715.
▲
by
layer8
4mo ago
The difference is that a violin player can predict how the known violin will behave under all relevant circumstances, will know how to get the right tone out of it, while you’re generally unable to predict the adequacy of output of even a d
716.
▲
by
layer8
4mo ago
People who don’t want Macs or who want more powerful hardware are.
717.
▲
by
layer8
4mo ago
The name made me think of https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline .
718.
▲
by
layer8
4mo ago
Same, it was a slog and difficult to figure out what was going on.
719.
▲
AI reshapes global labour market into two distinct paths, rewarding human skills
(pwc.com)
3 points
by
layer8
4mo ago
|
0 comments
720.
▲
by
layer8
4mo ago
The paper: https://arxiv.org/abs/2510.22783
More ›