Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Klasiaster
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
Klasiaster
4y ago
I think it would work to use "time" etc as subdomains instead of TLD to be able to use any DNS server for the query.
92.
▲
by
Klasiaster
4y ago
My favorite example is the IP address type which is an alias for a slice of bytes (type IP []byte). Thus, it gets passed by reference instead of by value and you easily end up working on the same data even if you didn't plan to. This w
93.
▲
by
Klasiaster
4y ago
marsshooter and bloodfrontier weren't mentioned yet
94.
▲
by
Klasiaster
4y ago
Netmap offers zero-copy pipes (included in FreeBSD, on Linux it's a third party module): https://www.freebsd.org/cgi/man.cgi?query=netmap&sektion=4
95.
▲
by
Klasiaster
4y ago
Here's a good book about that: https://en.wikipedia.org/wiki/Ancient_Futures
96.
▲
by
Klasiaster
4y ago
So true, my experience with the BIG.little ARM platform and a regular Linux kernel is that you always end up with the wrong scheduling and the system underperforms because it uses the little CPU for a compute-intensive single-thread task… I
97.
▲
by
Klasiaster
4y ago
Can't agree more, lbzip2 is the go-to tool for dealing with bzip2 compression and decompression, it's a whole lot of faster than bzip2 which is single-threaded!
98.
▲
by
Klasiaster
4y ago
Here some other BWT compressors in the large text compression benchmark (look for "BWT" in "Alg" column): http://mattmahoney.net/dc/text.html And here a BWT library with benchmarks: https:/&#x
99.
▲
by
Klasiaster
4y ago
Would be great to eventually have different backends for this, like Java had where the app looked native in Windows, Gtk, etc. One could even think of having a TUI backend besides an HTML or Canvas backend. That would be restricting of cour
100.
▲
by
Klasiaster
4y ago
There is work for using libp2p instead of a fixed third-party server: https://pkg.go.dev/github.com/libp2p/go-libp2p-webrtc-direct...
101.
▲
by
Klasiaster
4y ago
Thanks, if that's the case it's at least an improvement.
102.
▲
by
Klasiaster
4y ago
The main problem I see (based on the screenshot in the article) is that it still allows the attacker to initiate the auth flow from the outside, and the clueless user would in doubt just unlock for them. I don't see how the proposed sc
103.
▲
by
Klasiaster
4y ago
correction: podman-restart.service
104.
▲
by
Klasiaster
4y ago
Sounds interesting, do you want to share the ~/.cargo/config.toml entries?
105.
▲
by
Klasiaster
4y ago
The speed aside there are multiple other positive aspects mentioned that serve as a role model for larger providers, sadly…
106.
▲
by
Klasiaster
5y ago
This is a small experiment inspired by the coreutils Rust port, wondering on how far one can get if only Rust tools are used. Currently it only consists of a tiny selection of statically compiled binaries using musl libc but in the future I
107.
▲
Show HN: Rust userland container image with nsh, coreutils, ripgrep
(github.com)
1 points
by
Klasiaster
5y ago
|
1 comments
108.
▲
by
Klasiaster
5y ago
Some extra args needed, though: podman run -ti --rm --security-opt seccomp=unconfined --security-opt label=disable --cap-add SYS_ADMIN --env STORAGE_DRIVER=vfs quay.io/podman/stable sh -c 'podman run -ti --rm --security-o
109.
▲
by
Klasiaster
5y ago
It's possible to run podman in podman in podman in …, which is nice if you containerize the build system but don't want to pack everything into one large image nor want to divide it into stages called by some main script on the ho
110.
▲
by
Klasiaster
5y ago
There is "podman buildx build …" which sounds like what you are searching for?
111.
▲
by
Klasiaster
5y ago
The "podman.service" systemd unit takes care of restarting containers that were marked so.
112.
▲
by
Klasiaster
5y ago
How about UPNPC when your local gateway supports it? sudo apt install miniupnpc upnpc -r 22 57922 TCP # forward 57922 on public address to this client's port 22 Together with something like https://dynv6.com
113.
▲
by
Klasiaster
5y ago
The real obstacle I see for these kind of projects is exposing them to the Internet. Standard wifi routers are horrible even with UPNP… The promise of having a globally reachable IPv6 address is also destroyed by the complexity/inabili
114.
▲
by
Klasiaster
5y ago
Essentially good compression needs prediction. Here the previous pixels are used but it seems only from the row. Given that this is a linear decompression (not a progressive) it would help a lot to instead of looking just at the row, also l
115.
▲
by
Klasiaster
5y ago
The problem is money, they could have set up a foundation instead of a company and while similar it already steers things into another direction that a for-profit company. They could have still benefitted from the foundations assets in the
116.
▲
by
Klasiaster
5y ago
No one external should be able to trigger this, it should only be the owner that takes action of, e.g., opening a code generator or requesting an SMS/phone call through dialing from the right number.
117.
▲
by
Klasiaster
5y ago
wasmtime, Standalone JIT-style runtime for WebAssembly, using Cranelift: https://github.com/bytecodealliance/wasmtime wasm3, WebAssembly interpreter: https://github.com/wasm3/wasm3 … and many more
118.
▲
by
Klasiaster
5y ago
For getting a proper Wayland session I recommend doing this with Phosh and wayvnc (WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 as env vars for starting Phosh and then "wayvnc 0.0.0.0 7050"). You can even have a whole systemd s
119.
▲
by
Klasiaster
5y ago
Nice, I just would have liked to get all these different verification tools combined under the same interface, just being different backends as drafted by the rust verification tools work of project oak: have "cargo verify" as com
120.
▲
by
Klasiaster
5y ago
On the terminal I find `ydiff -s --wrap --width=0` very good for a comprehensible side-by-side diff: https://github.com/ymattw/ydiff I definded this wrapper script ~/bin/git-ydiff-s: #!/bin/sh
More ›