Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rav
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
DK, NO, IS suspend use of AstraZeneca Covid vaccine over reports of blood clots
(cnbc.com)
5 points
by
rav
6y ago
|
1 comments
152.
▲
by
rav
6y ago
By "the last bit" do you mean the 32nd bit or the 64th bit? :-) Many times I've tracked down the place in our stack where a double-precision value from user input accidentally goes through a single-precision variable in some
153.
▲
by
rav
6y ago
Seems like you can fix this by changing return 0 to return cmp(len(a), len(b)).
154.
▲
by
rav
6y ago
I just installed Pipewire in Arch Linux running GNOME on Wayland, and I finally have working screensharing in Firefox: I can share e.g. GNOME Terminal (a Wayland-native non-Xwayland app) in a video meeting, which I wasn't able to do wi
155.
▲
by
rav
6y ago
> Great move from Google to stop feeding the ethics racket. Read the article again - it's Google being uninvited as a sponsor. The title is poorly translated from German and should probably be changed to something like "Google
156.
▲
by
rav
6y ago
Once the article got to opening the Dev Tools, I was surprised at the next approach: Copying the HTML into an editor, reformatting, copying into a C# project, setting up build rules for the copied HTML code, etc. In this case I would always
157.
▲
by
rav
6y ago
Not the most useful list when it doesn't include the microarchitecture codename, e.g. Skylake, Coffeelake, ..., which is usually mentioned instead of the generation's "number".
158.
▲
by
rav
6y ago
> they don't allow changing how many spaces pressing Tab while in Normal mode moves the cursor forward I'm pretty sure vanilla Vim doesn't do anything when pressing Tab in Normal mode - at least for me it certainly doesn&#
159.
▲
by
rav
6y ago
It sounds like it needs a fork to combine all the forks, similar to what Neovim did as a fork of Vim.
160.
▲
by
rav
6y ago
Actually, the 'backspace' setting only governs what the backspace key does in Insert mode. In Normal mode, which is what I was referring to in GP, has the behavior I describe regardless of how 'backspace' is configured.
161.
▲
by
rav
6y ago
Maybe he could just stick to releasing them on his own land? > In 2018/2019 it was reported that Povlsen owns 221,000 acres (890 km2; 345 sq mi) of land in Scotland, making him the largest landowner there.
162.
▲
by
rav
6y ago
Nice trial exercise on the front page. While trying it out, I wanted to use the backspace key, which in Vim moves to the last character on the previous line (when used on the beginning of a line, that is), but that didn't work - backsp
163.
▲
by
rav
6y ago
I work at a small company on a single page webapp. Since we're working on a subscription-based product, we need to focus on fixing bugs and improving usability to make our users more productive and more happy. This should place us in f
164.
▲
by
rav
6y ago
> Values that are forgotten without being dropped can leak resources or even cause undefined behavior! I thought that Rust had given up on considering mem::forget to be undefined behavior? I think this sentence should be softened to just
165.
▲
by
rav
6y ago
Thanks! That worked. I also tried adding the line to a new file /etc/binfmt.d/APE.conf, but it didn't seem to work (after a reboot); after renaming the file to zz_APE.conf, it did work after a reboot. systemd's binf
166.
▲
by
rav
6y ago
I have Wine installed on my Linux system, which uses "binfmt_misc" to automatically run Windows-looking executable files through Wine. This causes an issue with Cosmopolitan, since it uses an output format that triggers binfmt_mis
167.
▲
by
rav
6y ago
That raises a more general issue: Text scraped from the internet may be duplicated to multiple sites with few changes. How does the team behind GPT-n ensure that the corpus is maximally deduplicated before splitting into train and test corp
168.
▲
by
rav
6y ago
> Non-Boolean logics are rare, and relations more general than partial order are almost never useful. That's a bold claim! In set theory, a relation is just some set of pairs made from some base set of elements. I guess the sentence
169.
▲
by
rav
6y ago
That note is not from Chess.app, but from "Sjeng", a 3rd party dependency vendored into Apple's Chess.app. That notice has been there in all the versions of Chess that are available (from Chess-2.0 to Chess-347). See: https:
170.
▲
by
rav
6y ago
I feel like this is the kind of video they would show to every employee on their first day at work, and to every school class that wants to pay them a visit at their factories. And it's really entertaining too!
171.
▲
by
rav
6y ago
> that code will not mysteriously change itself to start returning permanent user does not exist errors That is true in a perfect world. In the current world, there are all sorts of ways that code implemented one day does not run the sam
172.
▲
by
rav
6y ago
Line-delimited JSON works, but imposes a high size overhead (field names are repeated for every record) and is not well supported in non-programming environments. The article only discussed line-delimited JSON objects. How about l
173.
▲
by
rav
6y ago
Just like any other sort-of-Vim implementation, cw (change word) is made to be consistent with dw (delete word), and Y (yank line) is made to be consistent with D (delete line). In classic vi, these commands are illogical in that cw doesn&#
174.
▲
by
rav
6y ago
At least with a monorepo you only have to worry about deploy ordering. With a multirepo you have to worry about code review and merge order before you get to worry about the deploy order. I would like to be able to review the library API ch
175.
▲
by
rav
6y ago
Even though you yourself can judge a book only by its contents, when discussing it you will inevitably run into people who will bring the merits of the author into the discussion. It's called "The death of the author", and I
176.
▲
by
rav
6y ago
For me, it lets me choose both 2160p(4K), 1440p(HD), and 1080p(HD).
177.
▲
by
rav
6y ago
I checked the plot against an old school project where I investigated binary search, and I got similar numbers for the "standard" binary search (std::lower_bound in my project): For N=1000,10000,100000 it took 713,925,1264 us (com
178.
▲
by
rav
6y ago
Git commit messages aren't just messages that you push to whatever central repository; they're also messages for yourself to review while squashing your local history before pushing. I usually make a git commit before testing my p
179.
▲
by
rav
6y ago
The blog post shows two Python snippets starting with "if True:" and different indentation and says the snippets "have a different meaning". However, in this case the difference between the snippets is mainly in their sy
180.
▲
by
rav
7y ago
Within one language, a project can have numerous valid, qualitatively different implementations. How to ensure that the implementations in different languages are comparable? And if that's not the goal, how is this different from searc
More ›