Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stabbles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
451.
▲
by
stabbles
5y ago
The Pareto principle applies often, and it would be great news if it did to CO2 emissions.
452.
▲
by
stabbles
5y ago
Now your security issue is other applications accessing your clipboard. I'm quite aware of this ever since Samsung/Android started adding a whole interface for the clipboard and added integration with the keyboard (it shows some c
453.
▲
by
stabbles
5y ago
I wrote a little blog post about this in 2016: https://medium.com/@stabbles/why-you-should-disable-autofill...
454.
▲
by
stabbles
5y ago
If you're in a directory with a Project.toml do julia --project and it's activated. The downside of a separate cli tool is that it's unclear what julia version you're using. E.g. pip vs pip3.
455.
▲
by
stabbles
5y ago
Not an answer to the question, but a fun fact: there is a julia source file in the llvm project [1] [1] https://github.com/llvm/llvm-project/blob/d480f968ad8b56d3ee...
456.
▲
by
stabbles
5y ago
You might want to pick up a course on using google, cause the first hit on "julia package manager" is the documentation: https://docs.julialang.org/en/v1/stdlib/Pkg/ "WTF does `activate .`
457.
▲
by
stabbles
5y ago
> Package management also needs to get better. In my experience it is close to perfect. What issues did you encounter?
458.
▲
by
stabbles
5y ago
> Here is a fun challenge for anyone who thinks "it can't be that bad": Try to implement a TwoWayDict, an AbstractDict where if d[a] = b, then d[b] = a I've done the exercise, let me walk you through it. First, there
459.
▲
by
stabbles
5y ago
Looking forward to statistics on vulnerabilities in Copilot suggestions
460.
▲
by
stabbles
5y ago
So how does this work? Can you mount / as the lower layer of the overlayfs? Doesn't that create a weird recursion because the mountpoint is a path inside /?
461.
▲
by
stabbles
5y ago
On many linux distro's you can already do this with user namespaces: $ mkdir rootfs $ docker export $(docker create ubuntu:20.04) | tar -C rootfs -xf - $ unshare -r chroot rootfs bash # ls bin dev home ... V
462.
▲
by
stabbles
5y ago
And then what license do you choose? Many licenses require you to copy the original license verbatim, which may include the author's name and the date.
463.
▲
by
stabbles
5y ago
It's unlikely to perform well, so it may not be the right tool for the job.
464.
▲
by
stabbles
5y ago
If Python is ever forked to allow for major breaking changes, they may as well release it as Perl 6
465.
▲
by
stabbles
5y ago
You should really try out the spack package manager, it will manage all these constraints between packages, variants, dependencies for you by feeding it a very simple description of what you want to install: https://github.com&#x
466.
▲
by
stabbles
5y ago
You could consider using https://github.com/spack/spack and build python packages + binaries from sources optimized for your particular microarchitecture. Clearly there are no sources for cuda itself, but they are down
467.
▲
by
stabbles
5y ago
Is there any way to use cosmopolitan with shared libraries? In some cases licensing doesn't allow one to make a single executable.
468.
▲
Spack with Batteries Included
(github.com)
1 points
by
stabbles
5y ago
|
0 comments
469.
▲
by
stabbles
5y ago
Yeah, it wasn't meant to criticize the project as a whole; I'm happy that at least someone took on the project of "growing" the rpath section... My only point of critique is they should immediately tag a new version afte
470.
▲
by
stabbles
5y ago
Patchelf is almost always broken, and when they merge fixes they don't release a new version right away. Between 2014-2019 running patchelf+strip would corrupt binaries, after the fix running patchelf twice on the same binary would cor
471.
▲
by
stabbles
5y ago
nginx enables it by default. Another ingenious use of range request is zsync, it allows you to diff compressed binaries on a remote with local ones, so that you only have to download what has changed on an update. AppImage uses this
472.
▲
by
stabbles
6y ago
It was a good idea to ban the uni entirely, cause that way they had to respond.
473.
▲
by
stabbles
6y ago
Will they add checksums to verify the checksums?
474.
▲
Codecov verifies checksums by downloading them
(github.com)
2 points
by
stabbles
6y ago
|
2 comments
475.
▲
Spack with Batteries Included
(github.com)
1 points
by
stabbles
6y ago
|
0 comments
476.
▲
by
stabbles
6y ago
I submitted this pr to have them advocate minimal security measures in their readme: https://github.com/codecov/codecov-bash/pull/426 Days later and no reply except for the goddamn autogenerated codecov repor
477.
▲
Spack with Batteries Included
(github.com)
3 points
by
stabbles
6y ago
|
0 comments
478.
▲
by
stabbles
6y ago
There's two new supercomputers being built with NVIDIA ARM CPUs: https://www.anandtech.com/show/16610/nvidia-unveils-grace-a-...
479.
▲
by
stabbles
6y ago
> Every time, 70% of a couple hundred megabytes are copied around for no good reason and someone needs to pay ingress/egress networking costs for these file copies. That is quite some money being burned for no good reason! Meanwhile
480.
▲
by
stabbles
6y ago
Using Julia I get this: julia> clamp(x, lo, hi) = x < lo ? lo : x > hi ? hi : x clamp (generic function with 1 method) julia> @code_native clamp(2.0f0, -1.0f0, 1.0f0) .text vminss %xmm0, %xmm2, %xmm2
More ›