Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pizza234
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
by
pizza234
1y ago
> Each PR being squashed to 1 commit is nice and easy to reason about. If you truly care about making more semantic history, split the work into multiple PRs. I don't argue with your point (even if I am obsessive about commits separ
152.
▲
by
pizza234
1y ago
> You can use either unsafe Rust or, in many cases, less idiomatic but still Safe Rust to sidestep them. (For instance, "aliasable mutable" but otherwise valid references which can often be expressed as &Cell<T>, etc
153.
▲
by
pizza234
1y ago
> You can very much translate C to Rust on a function-by-function basis, the only issue is at the boundary Absolutely not. There are many restrictions of Rust that will prevent that. Lifetimes, global state come to mind first. Think abou
154.
▲
by
pizza234
1y ago
> Automatically translating C to unsafe Rust is pointless, the resultant code is harder to read and there's no improvement in understanding how to get the code maintainable and safe, that requires tons of manual work by someone with
155.
▲
by
pizza234
1y ago
This is in essence a mutable borrow - by looking at Rust's borrow checker, one can see the complexities of the concept.
156.
▲
by
pizza234
1y ago
The quite renowned Odroid Hx are also missing.
157.
▲
by
pizza234
1y ago
> you already have bug-free code due to massive time, attention, and testing, and the rate of change is low (or zero), it doesn’t really matter what the language is. SQLIte could be assembly language for all it would matter. This is the
158.
▲
by
pizza234
1y ago
You haven't read the article, which actually says the opposite: > A few weeks ago, The Argument Editor-in-Chief Jerusalem Demsas asked me to write an essay about the claim that AI systems would take all of our jobs within 18 months.
159.
▲
by
pizza234
1y ago
Each Ryzen mobile generation also improved efficiency, in particularly the last generation (AI PRO 300). Intel, on the other hand, started a few generation ago with an edge in terms of efficiency, and now they're behind; they are defin
160.
▲
by
pizza234
1y ago
Each Ryzen generation increased performance significantly, so AMD is definitely not asleep at the wheel.
161.
▲
by
pizza234
1y ago
There's an interesting parallel with method acting. Method actors don't just pretend an emotion (say, despair); they recall experiences that once caused it, and in doing so, they actually feel it again. By analogy, an LLM's “
162.
▲
by
pizza234
1y ago
I'm under the impression that since Doom Eternal (the first after Doom 2016), the gameplay has considerably shifted to an "interconnected arenas" style, and with more sophisticated combat mechanics. Many games have started ad
163.
▲
by
pizza234
1y ago
If 1% of the users report a given issue (say, data corruption), the fact that 99% of the users report that they don't experience it, doesn't mean that the issue is not critical.
164.
▲
by
pizza234
1y ago
Just a few days ago I've had a checksum mismatch on a RAID-1 setup, on the metadata in both devices, which is very confusing. Over the last one or two years I've experienced twice a checksum mismatch on the file storing the memory
165.
▲
by
pizza234
1y ago
There's a report by John Oliver: https://youtu.be/DfTBhrkae74 . > can't they be taken to court? It costs money, and the low hanging fruits of deportation are low-income families/individuals. > In case of
166.
▲
by
pizza234
1y ago
> Would it be incorrect to say that most of the bloat relates to historical revisions? Based on my experience (YMMV), I think it is incorrect, yes, because any time I've performed a shallow clone of a repository, the saving wasn
167.
▲
by
pizza234
1y ago
The articles describe how the problem is inherent in the language. If we exclude AAA games, probably the vast majority of the games nowadays don't need manual memory management for the game core (C# was a popular choice, it seems). I g
168.
▲
by
pizza234
1y ago
Yes, based on a few attempts chronicled in articles from different sources, Rust is a weak choice for game development, because it's too time-consuming to refactor.
169.
▲
by
pizza234
1y ago
I need to use Dropbox it because a) I need a Linux client b) I need a server in the cloud. I used to use Nextcloud, but the software was very poor.
170.
▲
by
pizza234
1y ago
I think it's a grey area - on one hand, it's been sold as a source of truth, but on the other hand, there's a strong element of confirmation bias and/or simple laziness from users (of course, to varying degrees). A frien
171.
▲
by
pizza234
1y ago
> And yet, we are still using handwritten assembly for hot code paths This is actually a win. It implies that abstractions have a negligible (that is, existing but so small that can be ignored) cost for anything other than small parts of
172.
▲
by
pizza234
1y ago
I was referring to development environments.
173.
▲
by
pizza234
1y ago
Little trick for developers: put the database transaction log in /dev/shm (ensure that it's not too large), and some operations will be enormously faster.
174.
▲
by
pizza234
1y ago
> The issue with bound checks for exemple is entirely avoidable if you prove that all your calls are within bounds before compiling, same thing for partial initialization. The situation is more nuanced. The article dedicates a section to
175.
▲
by
pizza234
1y ago
The related post on performance optimization is extremely interesting, in particular, the considerations drawn while moving from the unsafe ported code to safe¹: > The first performance issue we hit was dynamic dispatch to assembly, as t
176.
▲
by
pizza234
1y ago
There's an option in Options->General, called Quickstarter. I think it's disabled by default.
177.
▲
by
pizza234
1y ago
Libreoffice/Openoffice have been doing this since quite early on (reason is that the ancestor StarOffice was designed as monolith, always loading the full suite of programs, and splitting it is probably very hard), so it seems to be an
178.
▲
by
pizza234
2y ago
The article describes very strong similarities, definitely more that between a taxi and F1 drivers; read the sections "Glitch hunting is reverse engineering" and "…And it’s vulnerability research".
179.
▲
by
pizza234
2y ago
The topic of the 6502 ISA simplicity is a pet peeve of mine, because to me it's clear that anybody thinking that such simplicity is a good thing, never progressed past a hello world. Programming anything of moderate complexity on the 6
180.
▲
by
pizza234
2y ago
This is IMO a spefic case of the induced demand concept ( https://en.wikipedia.org/wiki/Induced_demand ).
More ›