Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
751.
▲
by
yakubin
4y ago
That buying however much of whatever from a single company can be read as "anti-competitive" reflects more on the market, which relies on a single company for its fundamentals, than the buyer. To me it seems that the problem is no
752.
▲
by
yakubin
4y ago
In order to represent your walk vertically in a film, the camera would need to be overhead, directed at the ground (or beneath you, directed upwards). You walk forward from your own perspective, but it's rare from other people's p
753.
▲
by
yakubin
4y ago
The reason why landscape is used in film is not analogy, but the fact that humans move a lot horizontally, almost never vertically. Portrait orientation may be good for portrait photos (although landscape is often also very good, or better,
754.
▲
by
yakubin
4y ago
Is it normal to call a price drop a "crash", even when not talking about stocks? The title and phrases like "DDR4 memory has also suffered price drops" make it sound as if something terrible happened. Or is it just me?
755.
▲
by
yakubin
4y ago
No problem. I like that you chose to go with POSIX Extended Regexes and FAs instead of going the Perl route.
756.
▲
by
yakubin
4y ago
> It looks like we can't outdo C nor GNU in this case. Buffering is the secret, and all the overhead incurred by the kernel throttles our memory access, pipes, pv, and redirection is enough to negate 1.5 GiB/s. On my computer
757.
▲
by
yakubin
4y ago
Russ made a different claim though. He wrote that the backtracking approach is O(2^n), where n is the size of the string matched against, while simulating NFA is O(mn)[1] (not O(n) as the article claims), where m is the length of the regex.
758.
▲
by
yakubin
4y ago
This "threading" approach looks more complicated than the classic NFA->DFA transformation via subset construction. Also, I don't see how this "threading" solves the issue pointed out in the article: > This ba
759.
▲
by
yakubin
4y ago
Oh, wait. You mean that this "cat </dev/urandom >/dev/null" was meant to be running in the background and not be the pipeline which is tested? Ok, my bad for not getting the point.
760.
▲
by
yakubin
4y ago
I don't understand. If you're testing how fast pipes are, then I'd expect you to measure throughput or latency. Why would you measure how fast something unrelated to pipes is? If you want to measure this other thing on the ot
761.
▲
by
yakubin
4y ago
> They all go slightly faster if you localize the reference to `io.write` No noticeable difference for LuaJIT, which makes sense, since JIT should figure it out without help.
762.
▲
by
yakubin
4y ago
On 5.10.0-14-amd64 "pv < /dev/urandom >/dev/null" reports 72.2MiB/s. "pv < /dev/zero >/dev/null" reports 16.5GiB/s. AMD Ryzen 7 2700X with 16GB of DDR4 3000MH
763.
▲
by
yakubin
4y ago
"Web only for documents, not apps" appeals to me. However, it's not a question of just shaving off features. Some features of the web are extraneous for that purpose, and some are missing. For example, rendering maths on the
764.
▲
by
yakubin
4y ago
Speaking from my experience kayaking, mosquitos are a tiny bit more frequent close to water than say in the middle of a forest, but not much. The real multiplying factor are swampy terrains, particularly close to places like water locks[1].
765.
▲
by
yakubin
4y ago
Thanks. Will check it out.
766.
▲
by
yakubin
4y ago
For me the most frequent source of freezes was Tramp. It led me to ditch Emacs for VSCode (with the remote editing extension) at least for my dayjob (I still use Emacs for my own projects). Tramp is an official built-in package, so it'
767.
▲
by
yakubin
4y ago
Thanks. Will check these out.
768.
▲
by
yakubin
4y ago
Sounds like a recipe for alcohol addiction and obesity. Otherwise maybe I'd try that. ;)
769.
▲
by
yakubin
4y ago
What do you recommend to learn APL and K?
770.
▲
by
yakubin
4y ago
On the other hand, I can't imagine an average user finding anything useful in Google after searching for "linux files crashed". And then when communicating with fellow humans: - Files has a nice UI - Huh? Or worse: "Web
771.
▲
by
yakubin
4y ago
Unfortunately. Similar to Haskell. While with Rust it can be justified by its novelty and status as a meme, Haskell has been here since 1990. Maybe it's because it's hard to attract talent in that space without offering niche, coo
772.
▲
by
yakubin
4y ago
I think it's more productive not to assume a religious stance on whether compiler has bugs one way or the other. If there is something wrong, better to read the language spec, the ABI spec and the machine code the compiler generated an
773.
▲
by
yakubin
4y ago
Lambda calculus models only computable functions.
774.
▲
by
yakubin
4y ago
Amdahl's law applies regardless of whether you use shared memory synchronization, CSP or Actors. CSP and Actors are easier to think about, but they aren't inherently faster.
775.
▲
by
yakubin
4y ago
You can replace "cat file |" with "<file".
776.
▲
by
yakubin
4y ago
Is there a tool other than dd that would allow me to skip n bytes from a file and then read m bytes? I mean one tool, not a combination of head and tail, which is too elaborate for my taste.
777.
▲
by
yakubin
4y ago
If you want to write the input file at the beginning and write the command later, then you may use: </dev/sda pv >/dev/sdb
778.
▲
by
yakubin
4y ago
I don't write web services, so it's hard for me to answer about axum, but if I were to speculate, I'd point out that PHP, Ruby and Python have good integrations with tools like Apache and nginx, while AOT compiled languages l
779.
▲
by
yakubin
4y ago
Another example, particularly painful to me personally: Assassin's Creed. The team behind the game changed and instantly from my favourite games of all time it turned to creating games I can't suffer through playing. There are man
780.
▲
by
yakubin
4y ago
> If you're going to do that, would you not be better saving all that time and code bloat (it's code you wrote that doesn't contribute to solving your problem) by just using a garbage collector from the outset? I suspect
More ›