Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
senknvd
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
senknvd
2y ago
I don't think RFC 4180 differentiates between an empty string and a null value. As long as you add a check that all string columns are free of empty values before writing you should be good. I think in polars it's df.filter(
2.
▲
by
senknvd
2y ago
There is a --word-diff flag in git diff. It can also be customized using --word-diff-regex to possibly match sentences.
3.
▲
by
senknvd
3y ago
Why would you compare (mostly) military aid to the GDP? Aid from the US has comprised around 15% of Israel's defense budget in recent years and the current bill under deliberation would almost quintuple that sum. It is the largest reci
4.
▲
by
senknvd
3y ago
> when throttled to similar wattage (see the section about 35W)
5.
▲
by
senknvd
3y ago
I find that Flatpaks[1] work really well for getting the latest version of GUI-only apps. For CLI tools and libraries I haven't found a great solution but I make do with an Arch Linux distrobox[2] container. [1]: https://fla
6.
▲
LuaJIT Uses Rolling Releases
(freelists.org)
3 points
by
senknvd
3y ago
|
0 comments
7.
▲
by
senknvd
3y ago
From what I've read[1], vim9script was pushed and developed almost exclusively by Bram. With him, a lot of knowledge about its internals and vision for its future dies. [1]: https://github.com/vim/vim/discussi
8.
▲
by
senknvd
3y ago
> There are also these new image lines, I can't recall the funky name for them, that are even smaller. You might be thinking of the chiselled images. An interesting idea but very much incomplete[1]. [1]: https://github.co
9.
▲
by
senknvd
3y ago
The only models in the X1 lineup that even offer 8GB RAM are the previous generation. The latest X1 Carbon starts at 16.
10.
▲
by
senknvd
3y ago
According to Notebookcheck[1], if you put a power limit on the 7940HS, it will achieve 15625 points on Cinebench multicore with an average of 66 watts. This puts it above the M2 Max in efficiency and right behind the M2 Pro. Far ahead of an
11.
▲
by
senknvd
3y ago
Which Chromebook did you go with? And what tools (IDEs, debuggers, etc.) do you use for development?
12.
▲
by
senknvd
3y ago
The M2 can't match the 7840HS in CPU performance though[1]. It's half as fast in multi-core benchmarks and a bit slower in single-core. [1]: https://www.notebookcheck.net/M2-vs-R7-7840HS_14521_14948.24...
13.
▲
by
senknvd
3y ago
This seems to be true. However, looking at https://rockylinux.org/news/rocky-linux-9-2-ga-release : 9.2 Release for PowerPC (ppc64le) architecture held back During testing, we discovered an architecture-specific issue
14.
▲
by
senknvd
3y ago
I think the entry Pynchon for people on here is Bleeding Edge. Set during the dot com boom with plenty of references to late 90s tech.
15.
▲
by
senknvd
4y ago
I first learned about this in high school from "A Basic Just-In-Time Compiler"[1]. It was mind-blowing that you could just cast some data storing machine code to a function pointer and execute it. Trying the program now it seems G
16.
▲
by
senknvd
4y ago
You can do the same with Meson. I just added the warning, debugging, and sanitizer options in-line for clarity. The benefit (I'm not sure if Bazel has this too) is you only have to run the commands once to set up the build directories.
17.
▲
by
senknvd
4y ago
If you're using a decent build system[1], it's trivial to test your code with Clang, GCC, and more: export CC_LD=lld CC=clang meson setup -Dbuildtype=debug -Dwarning_level=3 build-debug-clang CC=gcc meson setup -Dbui
18.
▲
by
senknvd
4y ago
> This seems like a spectacularly bad idea to me, but presumably it made somebody's awful hack work at one point. but elsewhere you say, "You are welcome to build a type which has this property and declares that it is Eq".
19.
▲
by
senknvd
4y ago
the iPad Pro gets to around 9ms perceived latency by using a very interesting trick. Essentially, it predicts the direction the pencil is moving and generates a short straight line in that direction. After the pencil has moved on, it correc
20.
▲
by
senknvd
5y ago
Unfortunately, Alpine patched their version of Python in a way that is incompatible with musllinux wheels so we are back to where we started until Alpine Linux 3.16 in 2022[1]. EDIT: I spoke too soon. Apparently, they have decided to amend
21.
▲
by
senknvd
5y ago
Funnily enough, the situation on FreeBSD is reversed: cut(1) indexes by Unicode codepoints and awk(1) indexes by bytes. But, more importantly, just indexing by codepoints isn't enough. Grapheme clusters are the real unit of user-percei