Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pizza234
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
691.
▲
by
pizza234
4y ago
I haven't had a look at the YJIT design, but your reasoning: > detecting parts of code [...] and then apply a fast compiler to that part applies to the previous JIT (MJIT) design, which created C snippets and compiled them on the f
692.
▲
by
pizza234
4y ago
This is actually pretty normal. A person I know worked for FamousCompany's support, and told me that the support system was buggy (which is highly ironic, since FamousCompany is high tech, while the (bottom of the barrel) support syste
693.
▲
by
pizza234
4y ago
Programming teaches people to design solutions, and solve problems, in a structured and creative way. Concretely speaking, it gives the tools to solve some tasks very efficiently, but this needs experience. However, forcing people (if that&
694.
▲
by
pizza234
4y ago
One can easily test this. This is the performance of two semi-randomly picked websites: - Peter Ferrie's homepage ( http://pferrie.epizy.com/?i=1 ), old school: approx. 900ms - Netflix landing page ( https://ww
695.
▲
by
pizza234
4y ago
> My proof of context reached more than 1 billion emulated machine instructions per second. Which are the calculations about the billion instructions per second? Emulating instructions, even on a relatively simple system, requires a lot
696.
▲
by
pizza234
4y ago
You're entitled about your opinion about catnip, but pattern recognition is an important component of problem solving.
697.
▲
by
pizza234
4y ago
YMMV :) I joined mensa in two countries; I was involved in one, while in the other, I went only to one meeting. The first had mostly regular table/social game events, and cultural events (e.g. chess competitions, museums, literature et
698.
▲
by
pizza234
5y ago
Very interesting! I'll actually check out if it fits my project. Thanks!
699.
▲
by
pizza234
5y ago
> That said I'm shocked devs are playing too since they have a comfy life. I guess it just taps into the same primitive reptilian brain reflexes. An interesting firsthand view on the dynamics of the motivations comes from HN post fr
700.
▲
by
pizza234
5y ago
I've recently written a "system tool" in Rust, and, while it wasn't as bad, in terms of productivity, as I had imagined at first, there are certain domains where Rust is really a grind. Working with filenames/paths
701.
▲
by
pizza234
5y ago
It is quite steep, indeed. A direct competitor is the Odroid H2. A full system (including 4 GB RAM, 16 GB eMMC) costs around 180$; it's (likely) less performant than the DFI's Ryzen, but it's still good in comparison to the o
702.
▲
by
pizza234
5y ago
> I do not want a future employer judging me on the basis of the half-finished amateurish experiments I knock off on my free time as I'm learning a new language or messing around with a new framework or just screwing around in gener
703.
▲
by
pizza234
5y ago
Interesting research here (much longer than one would expect): https://joint-research-centre.ec.europa.eu/system/files/2021... . Conclusion: > in the majority of EU Member States, being married does not bring su
704.
▲
by
pizza234
5y ago
The fact that a language is memory safe doesn't imply that the underlying virtual machine/interpreter is. On the other hand, it's definitely true that the ASM generated is as unsafe as it gets, but the first point still stand
705.
▲
by
pizza234
5y ago
I'm not familiar with what YJIT generates, however, in general terms, if the ASM code for a given bytecode is small enough (Which I think it is), one can just compare them side by side, or just log them and compare them separately. I t
706.
▲
by
pizza234
5y ago
Very likely, the performance of a JIT comes from: - the architecture of the JIT itself - the generated code AFAIK, the Rust YJIT doesn't change any (they explicitly say that the generated code is approximately the same), so there no si
707.
▲
by
pizza234
5y ago
When I read about its performance, I had the same thoughts, however, I was surprised to read this in the Github project readme: > TruffleRuby might not be fast yet on Rails applications and large programs. Notably, large programs current
708.
▲
by
pizza234
5y ago
The bug is this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1808957 . Battery draining overnight - yikes! It's possible that Arch ships with the workaround/fix by default.
709.
▲
by
pizza234
5y ago
Dell XPS has a Linux-specific line, called "Developer edition", which is intended to be Linux-compatible (it can be indeed be configured with Ubuntu on purchase). Their compatibility is not as good as they say (it needs a couple o
710.
▲
by
pizza234
5y ago
If you're going for small(er) brands, another entry to the list is the [Penguin J4]( https://www.thinkpenguin.com/gnu-linux/penguin-j4-gnulinux-l... ), which has a replaceable battery. Speaking of big brands, the De
711.
▲
by
pizza234
5y ago
> The difference between the 11th and 12th gen Intel is big enough I don't want to spend the next three years regretting it. With the Framework though, the CPU (motherboard) is intended to be replaceable. There will likely be (assum
712.
▲
by
pizza234
5y ago
> hey do, but it is hidden inside a compiler flag, if you compile your prject with `Dpreview_mt` then it will come with multi-threaded support It depends on the domain. From a production perspective, an flag-gated functionality that has
713.
▲
by
pizza234
5y ago
> or are GC languages like Nim or Crystal good enough? Any programming language is good enough for their own use cases :) It's a matter of understanding which the use cases are. I'm a big Rust fan, but I nonetheless believe tha
714.
▲
by
pizza234
5y ago
Crystal doesn't have built-in support for parallelism, let alone production-grade support. This is a significant lack for a modern language. For a language that is around 8 years old, this may be a serious problem, since the surroundi
715.
▲
by
pizza234
5y ago
You'll find a very good introduction to ECS in Rust in the book "Hands-on Rust: Effective learning through 2D Game Development"¹. It's based on Legion, which (AFAIK) is now discontinued, but the book/project has suc
716.
▲
by
pizza234
5y ago
For those who don't know, there's no need to download the full MySQL package(s) that the article references ("200+ MB"); there is the "minimal" package, which includes all the required binaries - as of v8.0.28,
717.
▲
by
pizza234
5y ago
It's not so easy to make this accident - one needs to type the full name of the repository. AWS does the same, for example, when deleting RDS instances, and I find it effective.
718.
▲
by
pizza234
5y ago
The post is omitting that the user must type the name of the repository in full; in this case, they typed `httpie/httpie`. If one is in such a deep autopilot state, no amount of warnings will work.
719.
▲
by
pizza234
5y ago
> https://www.navalgazing.net/Nuclear-Weapon-Destructiveness I'm a bit skeptical of this article, which seems excessively optimistic, since the estimation it does at the very beginning: > Arms-control treaties l
720.
▲
by
pizza234
5y ago
The article doesn't question that the human species will survive: > This implies that some humans would survive, eventually to repopulate the planet, and that a species-level extinction of Homo sapiens is unlikely even after a full-
More ›