Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
necubi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
211.
▲
by
necubi
4y ago
Crossbeam channels are better in just about every way than std::sync::mpsc. They're faster, have more features (including supporting multiple consumers), and have a better API. Tokio vs crossbeam/std::sync is a bit of a different
212.
▲
by
necubi
4y ago
That would have been true, if he had been working towards closing in a good-faith way instead of claiming repeatedly to have canceled the deal and fighting it in court.
213.
▲
by
necubi
4y ago
The article says that the peak daily traffic for the subway was 5M. This is not exactly huge scale today. I've worked on systems that handle that many users every second (and yes, they were built on Kubernetes). I think it's likel
214.
▲
by
necubi
4y ago
Compiler optimizations can actually improve developer productivity, because they allow developers to write clean but inefficient code that can be rewritten to near optimal form. For example, in Rust iterators are a very convenient and clear
215.
▲
by
necubi
4y ago
As opposed to creating completely different ways of doing things from the existing patterns? The parent was echoing the common complaint (exclusively from people who don't actually use rust, in my experience) that rust is getting "
216.
▲
by
necubi
4y ago
It's primarily an advantage if you're trying to perform builds across languages. Bazel lets you build a C library that gets linked into a Rust application from a single build definition.
217.
▲
by
necubi
4y ago
CLion is also a really good (imo the best) Rust IDE
218.
▲
by
necubi
4y ago
I'm mostly suggesting that if you implicitly claim to have solved some huge, difficult research problem but provide no real details about how, people are going to be skeptical. This doesn't have to mean a formal research paper. Ev
219.
▲
by
necubi
4y ago
I guess the broader question is how do you achieve automatic memory management without something like Automatic Reference Counting (like swift), the ownership/lifetime systems from rust, or the generic effect system of Pony? Ergonomica
220.
▲
by
necubi
4y ago
This whole thing is extremely dumb for at least three reasons: 1. Musk is talking about percent of daily active users that are bots, but Twitter's SEC filings refer to the percent of monetizable users that are bots, i.e., users that
221.
▲
by
necubi
4y ago
That's a reasonable choice of priorities to have, but it's the opposite of Rust's. Rust prioritizes (1) safety, (2) performance, (3) ergonomics, in that order. There are other languages that make put ergonomics before perform
222.
▲
by
necubi
4y ago
It's like a dict, but persisted to disk. This means that it's both durable (so if your process/machine crashes, you don't lose data) and also can store datasets larger than memory.
223.
▲
by
necubi
4y ago
I'm not very familiar with foundationdb, but I'm confident they're not using sqlite as the storage layer. That would come with a tremendous performance penalty. The docs say that "The SSD storage engine stores the data i
224.
▲
by
necubi
4y ago
This is much lower-level than sqlite. In fact, you could use this as the storage layer for a SQL DB. See, e.g., MyRocks[0] which is a MySQL backend that uses RocksDB as the storage layer. In other words, you'd use this when you just ne
225.
▲
by
necubi
4y ago
Totally different use-cases. This is an embedded key value store, not an RDBMS. You would use this in place of e.g., LevelDB or RocksDB, potentially as the storage layer of a database.
226.
▲
by
necubi
4y ago
You'd only be looking at this because you already know you need to use IDL and want an open-source implementation. Unless you have a hard requirement to use it (like your data is in an IDL data format, or you rely on IDL libraries) the
227.
▲
by
necubi
4y ago
https://en.wikipedia.org/wiki/IDL_(programming_language) is the one you're looking for :) It's a popular (and frankly terrible) language used in astronomy and astrophysics. My first (semi-professional) progra
228.
▲
by
necubi
4y ago
Surgeons have to do a 7 year residency before they get hired. There's nothing remotely comparable for software engineers.
229.
▲
by
necubi
4y ago
From my experience also building a live looper in rust ( https://github.com/mwylde/loopers ): Pros - Rust is much more pleasant to write (for me at least) than C or C++ - lots of good libraries for the non-audio stuff (l
230.
▲
by
necubi
5y ago
A small correction: there is only one pitch of 5.13a (or 5.12d according to the developer of the route), and most of the pitches are much easier. Multi-pitch climbs are graded for their hardest pitch. See the topo here: https://m
231.
▲
by
necubi
5y ago
That's correct. There's no way to translate arbitrary C to memory safe code.
232.
▲
by
necubi
5y ago
The main constraint for JWST is that it needs to be able to block all IR radiation from the Sun/Earth/Moon in order to pick out the faint IR signal it's looking for (from red-shifted light from the very early universe). By or
233.
▲
by
necubi
5y ago
And that's an improvement how? At least with Google there's a chance you'll be able to get your account back. If it's "decentralized" (which in crypto land is apparently synonymous with "run by a cabal of
234.
▲
by
necubi
5y ago
California voted in 2018 to abolish DST ( https://en.wikipedia.org/wiki/2018_California_Proposition_7 ) — and it won 60%/40% (technically to allow the legislature to do it).
235.
▲
by
necubi
5y ago
This is such a great idea! I've really struggled with how to test real-time audio code in the live looper I've been working on [0]. Most of my tests use either very small, hand-constructed arrays, or arrays generated by some funct
236.
▲
by
necubi
5y ago
This seems incredibly cool. Do you know how hard it would be to port it to intellij?
237.
▲
by
necubi
5y ago
In many companies changes must be reviewed for compliance reasons (e.g., SOC2 will generally require some sort of review procedure).
238.
▲
by
necubi
5y ago
Yes, it replaces PulseAudio and Jack. Its goal is to provide a single audio daemon that can serve both consumer applications (where power consumption is typically most important) and pro applications (where latency is most important). Curre
239.
▲
by
necubi
5y ago
Bitwig is a very good DAW with native Linux support. It's made by former Ableton devs so it definitely leans in that direction, but it works pretty well for other types of workflows too, especially with the recently released version 4.
240.
▲
by
necubi
5y ago
> And to make it worse, each member is voted on a first past the post system That's not actually true, we use RCV to elect supervisors (and the mayor).
More ›