Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ninkendo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
421.
▲
by
ninkendo
1y ago
It’s only natural that a breakthrough new way of doing $thing would lead to dramatic cuts in people who are experts in the old way of doing $thing, right? Doesn’t matter what $thing is. (Tons of examples, automated phone switches replacing
422.
▲
by
ninkendo
1y ago
Seeing the title I had the opposite assumption of what it was referring to: I thought of the interface to getting homework, taking tests, submitting assignments, etc as an MCP server and watching an LLM fully pass a course from an online un
423.
▲
by
ninkendo
1y ago
I mean, by your logic the whole settings app should just be a search box when you open it. Clearly there’s a use case for browsability in a settings app, so that you can discover what settings exist. Given that, it’s probably important for
424.
▲
by
ninkendo
1y ago
Also, galaxy spirals are very much an open question. Galaxies don’t rotate the way you’d expect from the matter you see, and it’s the main reason we hypothesize the existence of dark matter. Unless dark matter is the reason the Oort Cloud d
425.
▲
by
ninkendo
1y ago
I said I was 99% sure it used to work that way. But yes, you’re right about editable text being the difference: my memory of long pressing to highlight/select is exactly how text selection works for noneditable text, like in regula
426.
▲
by
ninkendo
1y ago
I was just typing a reply to gush about how much I agree with you and how awful iOS text editing is (I’m on my iPhone at the moment) and decided to play with editing text to get some example complaints, when I had an epiphany: iOS lets you
427.
▲
by
ninkendo
1y ago
After coding in swift for ~5 years at job - 1, I can count on one hand the times I had to deal with a reference cycle, and in each instance it was obvious in context that there was going to be a cycle so I used “weak” in anticipation. Zero
428.
▲
by
ninkendo
1y ago
My guess is you could more easily build an open source client for whatever video conferencing system you want that uses WebRTC (most services like teams, discord, zoom, etc seem to use WebRTC as a fallback for browsers, if not using it whol
429.
▲
by
ninkendo
1y ago
…such as?
430.
▲
by
ninkendo
1y ago
> Well yes, hopefully you know what you are doing when you reference a source generator I don't think there's much that's scary about generating source code in general. If it's self-contained and you have to actually
431.
▲
by
ninkendo
1y ago
Interesting, so you’re saying generated code can change the behavior of user code with no indication this is happening from directly reading the user code… that sounds pretty horrifying. I guess AOP in general is pretty horrifying to me tho
432.
▲
by
ninkendo
1y ago
I’m still confused though, if you’re generating the code anyway, why do you need an interceptor? Can’t you just generate the code to match what you want to redirect to, directly inline?
433.
▲
by
ninkendo
1y ago
I maintain that the Jedi are the most boring thing about Star Wars, and the less about them we hear in a story, the better. Andor managed to go the whole series run without a single lightsaber going brrr, and it’s the best Star Wars outside
434.
▲
by
ninkendo
1y ago
Yeah, sometimes I think the `?` early-return operator is an anti-pattern. It’s too easy to reach for, and results in these sort of context-less “Operation failed” messages. I wish there were a better way to enforce that you can’t use the ea
435.
▲
by
ninkendo
1y ago
> Time zones are arbitrary and silly (sun is most likely not halfway at noon for most of the zone) So You Want To Abolish Time Zones - https://qntm.org/abolish
436.
▲
by
ninkendo
1y ago
> Kinda wish I had an excuse to write some C++. I had the same feeling in grad school back ~15 years ago… I could pick any language for my coursework, so I picked C++ purely because it seemed an important language to learn. I was also tr
437.
▲
by
ninkendo
1y ago
> the typical Rust coder may be even worse because of the missionary fervor and 'holier than thou' attitude Anecdata, but the number of times I actually encounter these missionary Rust coders (the RIIR types) is utterly dwarfe
438.
▲
by
ninkendo
1y ago
RAII, like a lot of C++ concepts, finds the most use in library-like code (stdlib especially), where it needs to be super generic. Application developers get the benefits of these concepts by simply using these libraries, even if they don&#
439.
▲
by
ninkendo
1y ago
C++17 has copy elision as part of the standard now, so you can be guaranteed of the scenarios where C++ is required to outright skip the copy/move/destruction, leaving no code paths left for any refcounts. It’s not everything, the
440.
▲
by
ninkendo
1y ago
> Languages with GC-managed runtimes (Java, C#, Go, Swift, et. al.) Swift does not have a GC managed runtime in the same sense as the other languages you listed [0], it’s basically a bunch of refcounts inserted by the compiler, with simi
441.
▲
by
ninkendo
1y ago
> When using library types for reference counting, there is no way for the compiler to implement such optimizations Aren’t refcounts in shared_ptr done as part of the copy constructor and destructor? It seems like vanilla copy elision wo
442.
▲
by
ninkendo
1y ago
I’d never know, every time I follow a twitter link there’s just a full page login form that blocks me from viewing the link. Twitter should be treated like a paywalled site here, IMO. I have no ability to read links like these unless I make
443.
▲
by
ninkendo
1y ago
Kinda related, I’ve had a hunch for a while that we’re going to eventually learn that “the singularity” (AI’s improving themselves ad infinitum) is impossible for similar reasons the halting problem is impossible. I can’t really articulate
444.
▲
by
ninkendo
1y ago
Not only that, but the strength of bash is its ubiquity. (Or for that matter, posix sh, if you want even more ubiquity.) If we started adding lots of features to bash, it wouldn’t make sense to use them unless you are positive every place u
445.
▲
by
ninkendo
1y ago
If someone gave this test to me, and I was volunteering my time and it didn’t matter to my grades/etc, no chance in hell I’m going to look up every single term I don’t know. I’m a busy person and I’ll just say “meh, it’s some old Engli
446.
▲
by
ninkendo
1y ago
The conclusion of the article is that the students are functionally illiterate , not “missing the requisite study we’d hope they would have done on their own by now.” Sensationalist clickbait bullshit, the entire article. Absolute waste of
447.
▲
by
ninkendo
1y ago
Yeah, I’m not sure when “illiterate” stopped meaning “unable to read” and started meaning “doesn’t possess a broad vocabulary on every arbitrary subject, including archaic words from foreign countries”. I’m not sure I like this new definiti
448.
▲
by
ninkendo
1y ago
> But why? And why the researchers didn't tried to reduce stress levels? Because they can’t pass up the opportunity to dunk on people, is my guess. This whole article is a sham. They’re not measuring literacy, they’re fishing for a
449.
▲
by
ninkendo
1y ago
Yeah, you’d need to do something like accept an enum that is either &mut [u8] or &mut [MaybeUninit<u8>], and make a couple of impl From<>’s so callers can .into() whatever they want to pass… But I don’t think this is re
450.
▲
by
ninkendo
1y ago
Why wouldn’t you accept a &mut [MaybeUninit<T>] and return a &mut [u8], hiding the unsafe bits that transmute the underlying reference? Something like: fn convert<'i, 'o>(inp: &'i [u8], buf: &&
More ›