Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattstir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
mattstir
7mo ago
> and that's why heavily regulated industries like healthcare, education, and transportation have seen basically no innovation in 50 years. Not to get distracted, but aren't these three all incredible examples of innovation ove
62.
▲
by
mattstir
7mo ago
Returning impl trait is useful when you can't name the type you're trying to return (e.g. a closure), types which are annoyingly long (e.g. a long iterator chain), and avoids the heap overhead of returning a `Box<dyn Trait>`
63.
▲
by
mattstir
7mo ago
Could you elaborate on that error handling part? To me, Rust is the only sane language I've worked with that has error-like propagation, in that functions must explicitly state what they can return, so that you don't get some biza
64.
▲
by
mattstir
7mo ago
Serde is maintained by dtolnay, who is a very influential figure in Rust mainly through his library development. Serde, syn, anyhow etc end up being pulled in as dependencies to nearly every Rust crate. If his account was compromised, the a
65.
▲
by
mattstir
7mo ago
That locks users into an ecosystem that may never evolve, which can be fine but doesn't really solve one of the core issues the author was describing. It forces the ecosystem to depend on the oldest and most incumbent crates, rather th
66.
▲
by
mattstir
7mo ago
Perhaps that's fine in the particular case of serialization, but that line of thinking breaks down at more fundamental operations like `PartialEq` or `Hash`. Having a different definition for equality fundamentally breaks the program i
67.
▲
by
mattstir
7mo ago
I can't guarantee a great experience, but anecdotally my brother and I have had no issues in the last ~12 months playing all types of games on Linux. Only games which require kernel-level anti-cheat are unavailable. Otherwise, Proton a
68.
▲
by
mattstir
7mo ago
Although I haven't touched Windows in a few years now, my understanding is that the OS has been having a very rough few months with unstable updates, bricked devices, etc. And yet the first thing they mention is moving around the task
69.
▲
by
mattstir
8mo ago
Yeah, Firefox uses a different CSS engine that doesn't automatically have this same use-after-free.
70.
▲
by
mattstir
8mo ago
I'm not sure how hash chains would resolve the fundamental issue of needing to send your ID or similar to some random third-party company that does god-knows-what with it (probably stores it in a publicly accessible path with big "
71.
▲
by
mattstir
8mo ago
This just seems like the logical consequence of the chosen system to be honest. "Skills" as a concept are much too broad and much too free-form to have any chance of being secure. Security has also been obviously secondary in the
72.
▲
by
mattstir
10mo ago
The point is that if he truly felt strongly about the subject then he wouldn't live the hypocrisy. Google has poured a truly staggering amount of money into AI data centers and AI development, and their stock (from which Rob Pike direc
73.
▲
by
mattstir
10mo ago
Yeah, it's typically a shell built-in since you'd want cd to change the cwd for the shell process itself. Child processes (like commands being executed in the shell) can inherit the parent shell's cwd but AFAIK the opposite i
74.
▲
by
mattstir
10mo ago
IntelliCode was first released in 2018, well before the current AI landscape where running each model costs a neighborhood's worth of power. Indeed, it runs using a small local model that costs essentially nothing in comparison to the
75.
▲
by
mattstir
10mo ago
> No-one wants this IntelliCode has 60M downloads and is the 11th most downloaded extension for all of VS Code. Also consider that there's 6 official Python-related extensions above it that could all be rolled into one, and Copilot
76.
▲
by
mattstir
10mo ago
IntelliCode was first released in 2018, well before the current AI landscape. The issue here is taking a free, functioning capability and arbitrarily disabling it in favour of a paid product. Microsoft is currently "updating" its
77.
▲
by
mattstir
10mo ago
> The block chain is, and always was, an extremely inconvenient database. That's the entire point when the goal is to achieve a public, immutable, decentralized ledger that prevents double-payments without needing to trust a third-p
78.
▲
by
mattstir
10mo ago
I'm curious about this. I'm not a frontend engineer but enjoy tinkering on simple frontend UIs for my hobby projects, and I've found Tailwind nice for creating encapsulated components more easily. It's funny that it skip
79.
▲
by
mattstir
11mo ago
This is an interesting move, and I wonder what that means for accessibility in Plasma. Wayland simply isn't designed with accessibility in mind, so each compositor ends up having to implement their own non-standard APIs. I know virtual
80.
▲
by
mattstir
1y ago
That sentiment comes across a bit oddly... if the people in power in Germany hadn't started using terror and violence against those they didn't like, WWII wouldn't have happened.
81.
▲
by
mattstir
1y ago
It's a tricky thing because what if the update fixes a critical vulnerability? Then you'd be stuck on the exploitable version for X months longer
82.
▲
by
mattstir
1y ago
We'll have to see how privacy is handled (whether you can opt out of it suckling on every one of your personal conversations) but assuming some baseline decency from Telegram, I don't think anyone would be "forced" to us
83.
▲
by
mattstir
1y ago
Is it actually copyright infringement to state the lyrics of a song, though? How has Google / Genius etc gotten away with it for years if that were the case? I suppose a difference would be that the lyric data is baked into the model.
84.
▲
by
mattstir
2y ago
Could you elaborate on "links are not links without JS"?
85.
▲
by
mattstir
2y ago
I can sympathize with vague notions of AI dystopia, but this might be stretching the concept a bit too far. This kind of service is extremely abusable ("Operator, go to Wikipedia and start mass-vandalizing articles" or "Go to
86.
▲
by
mattstir
2y ago
The original paper [0] this article is based on raises a few questions for me. It compares the authors' new technique against StableDiffusion but fails to specify which version of SD they're using for that comparison. It doesn&#
87.
▲
by
mattstir
2y ago
That's distinct from the existing per-creation billing in a few ways, with the most obvious being that the existing method is automated while consumable purchases require user input. Trying to create a SKU for every possible per-creati
88.
▲
by
mattstir
2y ago
I'm not an expert in this stuff, but I did notice that the Ladybird website mentions only accepting unrestricted donations. That doesn't prevent power dynamics from evolving between sponsors and the project, of course, but it at l
89.
▲
by
mattstir
2y ago
> Hashes are typically numbers If we want to get really pedantic, hashes are typically sequences of bytes, not a single number, so really `UInt8Array` is obviously the best choice here. It wouldn't fix the whole "getting argu
90.
▲
by
mattstir
2y ago
Do you mind elaborating on why this approach would be bad in general? It avoids the overhead of creating new classes and wrapping your objects when all you care about is the type-safety that the class would provide. How would you "appr
More ›