Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Karellen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
121.
▲
by
Karellen
2y ago
> I was surprised to learn that even implementing isEmpty(ob) in Javascript is an O(n) operation on most runtimes. That is surprising. Where `n` is the number of members, yes? Surely that kind of operation should either return false im
122.
▲
by
Karellen
2y ago
> the index 2 remains present as a “hole” (like I mentioned before, almost a third kind of null). It's an interesting model, and I think it definitely has its uses when reasoning about JS arrays. I'm not yet convinced it's
123.
▲
by
Karellen
2y ago
> It doesn’t actually delete the presence of the index. Doesn't it? Try: a = [ 6, 7, 8, 9, 10 ] delete a[2] for (x in a) { console.log(x) }
124.
▲
by
Karellen
2y ago
Isn't this kind of negated by the fact that `delete arr[n]` working the way it does has required JavaScript arrays to never have been "real" arrays, in the entire history of the language?
125.
▲
by
Karellen
2y ago
Yes, it happens to me too. If you want to get better at switching, practice more in both languages, separately. Most of all, don't worry about making simple mistakes. If there's one thing that compilers, linters, test suites, and
126.
▲
by
Karellen
2y ago
A coach that you paid money to advised you to lie during a behavioural interview? Well, that could certainly give the prospective employers plenty of information about the way you behave. I wonder how many lies the coach told you about them
127.
▲
by
Karellen
2y ago
I have used a power drill more than once before, but it doesn't have "the number setting" like the one in the picture does. (Instead it has a single toggle labelled "900" and "2400" - as well as the on
128.
▲
by
Karellen
2y ago
> The only "intuitive" interface is the nipple. After that it's all learned. -- Bruce Ediger (probably)
129.
▲
by
Karellen
2y ago
> on Earth I imagine this isn't possible Only if you use a vertical wall as the "floor". If you set the "floor" at, say, 45deg, and then spin the centrifuge up enough so that the floor feels level, you could prac
130.
▲
by
Karellen
2y ago
> Why is this a problem as long as those at the bottom experience the maximum amount of growth possible? What makes you think they are?
131.
▲
by
Karellen
2y ago
Because the UK doesn't have any dodgy crown-dependency money-laundering tax havens?
132.
▲
by
Karellen
2y ago
But under "the natural consequence of evenly distributed economic growth" Steve was and is making a constant 66% share of the wealth. Except that's not we have in the US/EU/UK. The top earners have been increasing
133.
▲
by
Karellen
2y ago
> I for one love to type out 13 extra characters FWIW, systemd is normally pretty good at providing autocomplete suggestions, so even if you don't want to set up an alias you'll probably just have to type `--b<TAB> ` to s
134.
▲
by
Karellen
2y ago
> I also wasn't a fan of the tinting. From the linked mastodon thread: > For example, by default it will tint your terminal background in a reddish tone while you are operating with elevated privileges. That is supposed to act as
135.
▲
by
Karellen
2y ago
> > > such as MacOS, that are fully compliant with the POSIX standard > > Until you have to gets your hands dirty and find small and bigger faults everywhere. For example, /bin/sh [...] doesn't work properly in
136.
▲
by
Karellen
2y ago
Program^WCompliance testing can be a very effective way to show the presence of bugs, but it is hopelessly inadequate for showing their absence. -- Edsger Dijkstra (ish)
137.
▲
by
Karellen
2y ago
> However, there are a number of operating systems, such as MacOS, that are fully compliant with the POSIX standard and can therefore be called Unix operating systems, not just Unix-like. It's a bit more nuanced than this. Being ful
138.
▲
by
Karellen
2y ago
If the Unicode consortium haven't been able to come up with a way of encoding their name correctly, I don't see what hope I have of doing so. Bonus - as soon as the Unicode consortium do find a way, my software should be able to h
139.
▲
by
Karellen
2y ago
Don't worry, I never assume UTF-8. I require UTF-8. If it isn't currently UTF-8, it's someone else's problem to transform it to UTF-8 first. If they haven't, and I get non-UTF-8 input, I'm fine bailing on tha
140.
▲
by
Karellen
2y ago
Did you check out the original UK House of Cards? Worth catching if you can find it.
141.
▲
by
Karellen
2y ago
Wow. You really want some arbiter of which words are "allowed" or not? That sounds like some real Ministry of Truth type shit. It seems especially weird on a tech site, when tech jargon has historically been rich with wordplay and
142.
▲
by
Karellen
2y ago
> "Inflammable" is my go-to example of a word that shouldn't exist in the English language. What about "inflammation" (from the same root), like what happens when you bruise yourself, or injure a joint? Is that O
143.
▲
by
Karellen
2y ago
The fact that this 1930-era additional meaning is being described as "new" makes me think that there might also be another meaning of "new" that I wasn't previously aware of!
144.
▲
by
Karellen
2y ago
> The scenario you described is possible if you started at the South Pole. If you travel 24,901 miles east from there, you would indeed end up back at the same spot Would you? How can you travel east at all, starting from the South Pole?
145.
▲
by
Karellen
2y ago
> Personally I think operating systems (kernels) should be as performant as possible, and C/C++ has been good enough for decades. If that how you want your OS, that's fair enough. But I think a lot of people are happy to trade
146.
▲
by
Karellen
2y ago
I don't understand how those will make a difference if a friend gives you a lift somewhere and back again? Or if your partner is driving?
147.
▲
by
Karellen
2y ago
Compare GTK/Qt to raw xlib/wayland/win32/cocoa primitives - including the way that those toolkits abstract away the differences. Or (as others have pointed out) the various `git` "porcelain" commands (checkout&
148.
▲
by
Karellen
2y ago
How will they know which car you're in for any given journey?
149.
▲
by
Karellen
2y ago
Why is that, no matter how much you check and proofread your work before you push/publish, you'll always find something obvious you missed 5 minutes after it's gone up? To change a public branch, or not to change a public b
150.
▲
by
Karellen
2y ago
Wait, why is `git pull` for an OS that ran on computers with memory and floppy-disk sizes measured in 100s of KiB taking more than a couple of seconds to download? ...Oh, there's 100MiB of PDFs in there, which are high-resolution scans
More ›