Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stabbles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
331.
▲
by
stabbles
4y ago
Bumping the major version for fun is actually a pain, since configure scripts set upperbounds on major versions to be future-proof, anticipating breaking changes. Now it's just another edge case to deal with, and old versions of curl-d
332.
▲
by
stabbles
4y ago
Not the same... you need: `-S` to print error messages and `-f` to return exit code on non-200 responses. Also, --no-clobber is very recent (v7.83), so unlikely to work in general. So `curl -fLOsS ...`
333.
▲
by
stabbles
4y ago
Another point that I don't think gets emphasized a lot is that research software developers use spack as a dev tool on their laptop/cluster. Setting up easybuild locally is too much effort? If developers maintain spack recipes bec
334.
▲
by
stabbles
4y ago
The package definitions are quite declarative even though the language is imperative, see an example here [1]. For hashes, Spack uses the normalized (comments, whitespace etc removed) abstract syntax tree. With Spack it's easier to con
335.
▲
by
stabbles
4y ago
It doesn't have it, but what sort of undo do you think of? Undo the latest installation on disk? Roll back to the previous environment?
336.
▲
by
stabbles
4y ago
You still need both `needs: ...` and `stage: ...` > In GitLab 14.0 and older, you can only refer to jobs in earlier stages. > In GitLab 14.1 and later you can refer to jobs in the same stage as the job you are configuring. Why bother
337.
▲
by
stabbles
4y ago
- Github Action's design is much better, just look at [1] for example, there's a lot of low-hanging fruit in Gitlab that's not done for some reason - I've had tons of issues with their kubernetes runners, hard to debug s
338.
▲
by
stabbles
4y ago
Sometimes you can do this in two instructions per 16 / 32 / 64 chars (sse / avx / avx-512 resp): shuffle & compare. The gist of it is lookup[hash(char)] == char where 'lookup[hash(char)]' correspon
339.
▲
by
stabbles
4y ago
It's also a great way to spread misinformation if the paper has issues. This post goes viral, but news about it getting retracted won't. The article shouldn't refer to it as "published in December". It should say th
340.
▲
by
stabbles
4y ago
They say published, and link to a pre-print. It's not peer reviewed.
341.
▲
by
stabbles
4y ago
I've had too many issues trying to (recursively) reset all submodules after switching branches and cloning. Once submodules get in a limbo state it's a massive pain to get back to normal.
342.
▲
by
stabbles
4y ago
It is written by a L9 at Google though
343.
▲
by
stabbles
4y ago
Is there an infinite recursion in /tmp? Do you use a bubblewrap-like pivot_root trick?
344.
▲
by
stabbles
4y ago
Question is if those user/mount namespace tricks are composable
345.
▲
by
stabbles
4y ago
A few more CVEs and we're at OpenSSL 1.1.1z, followed by v1.1.1.za, and it is going to break some package manager that in a certain locale orders versions as 1.1.1.za > 1.1.1z, and its users will be stuck on a vulnerable version.
346.
▲
by
stabbles
4y ago
The largest shareholder in Digitec Galaxus AG is Migros [1], which is a cooperative federation with more than 2 million members. [1] https://en.wikipedia.org/wiki/Migros
347.
▲
by
stabbles
4y ago
Do you have references for this? My understanding is that low heart rate training is still standard for elite endurance athletes.
348.
▲
by
stabbles
4y ago
I wonder if this bug in logic (instead of buffer overflows) would also have been less likely in a different language. Would it have been more obvious in a language where it's easier to work with dynamically allocated arrays and strin
349.
▲
by
stabbles
4y ago
There is no intelligence or reasoning involved in stochastic gradient descent
350.
▲
by
stabbles
4y ago
Because of bootstrapping
351.
▲
by
stabbles
4y ago
Now imagine a world in which packages provided correct *.pc files that properly supported static linking
352.
▲
by
stabbles
4y ago
It's better to say the NN "converged to" something than "came up with" something.
353.
▲
by
stabbles
4y ago
Aren't C++ compilers also interpreters for large subsets of the language, all the template / constexpr / consteval stuff ;)
354.
▲
by
stabbles
4y ago
Not sure what happens in the case of CC=gcc and $(CC) ..., but in any case, this is the bug: https://savannah.gnu.org/bugs/index.php?57962
355.
▲
by
stabbles
4y ago
If you have a slow filesystem and you’re compiling C, make has a “lot” of overhead due to implicit rules. There are many more rules than you write, unless you set stuff like .SUFFIXES: to nothing
356.
▲
by
stabbles
4y ago
Do note that GNU make is still being developed. It even had breaking changes in the recent 4.4 release. Also GNU make 4.3 has at least one bug (e.g. on Ubuntu 22.04) where tgt: gcc hello errors when you have a directory wit
357.
▲
by
stabbles
4y ago
The downside of C++ is that exceptions can come from any possible function call depth, whereas in C you only have to deal with error return codes. So in that sense it’s easier to deal with errors in C, and harder to test the error paths in
358.
▲
by
stabbles
4y ago
You can have RAII with GCC extensions in C: char *buf __attribute__ ((__cleanup__(free_buf))) = malloc(1024); This calls free_buf(buf) when buf goes out of scope. I’ve actually seen projects use it in the wild to close files or free memory
359.
▲
by
stabbles
4y ago
I wonder to what extent compilers even emit avx512 instructions apart from the common ones (load, store, shuffle, arithmetic) in case you don’t want to manually optimize for sse / avx / avx2 / avx512.
360.
▲
by
stabbles
4y ago
They should put energy labels on programming languages. It’s convenient to use Python, but a waste of cpu cycles
More ›