Better HN
topnewbestaskshowjobs
Log inSign up

Klasiaster

1,389 karma · joined Sep 25, 2014 (12y ago) · 339 submissions

Submissions

comment 11mo ago · link · parent

Actually not that important, it also does the same as shift-up/down and I think it's more a convenience feature that one can keep ctrl pressed when it was pressed as ctrl-shift-left/right for word selection and one then presses up/down.

comment 11mo ago · link · parent

Good keybindings, some are missing compared to what normally works, e.g., in the browser text input area or in gnome-text-editor (Ctrl-Shift-Up/Down was one I directly ran into).

I've found https://github.com/gphalkes/tilde to work quite well, it also supports the system clipboard. Nice to see a Rust alternative.

comment 1y ago · link · parent

So great that they worked on it! It seemed to be part of the arti work for a couple of years but I wasn't sure it was really on the roadmap. Wanted to do something like this since 2017 with smoltcp and also had a glued together version of it via badvpn/tun2socks (large DNS responses were broken though).

comment 1y ago · link · parent

What's truly missing for Wasm and WASI to be an alternative to POSIX is dynamic instatiation so that a Wasm program/component can start another Wasm program/component by providing the bytecode at runtime. So far I don't think anyone is working on that.

comment 1y ago · link · parent

Many apps depend on running an "official" Android distro from Google, Samsung, etc. and don't work with Waydroid's Lineage-based distro. I think the Wine-like approach from https://gitlab.com/android_translation_layer/android_transla... might help to trick apps into believing that they run on an "official" Android distro.

comment 2y ago · link · parent

Here is a list of implemented syscalls, but of course each checked one could still be slightly incompatible:

https://asterinas.github.io/book/kernel/linux-compatibility....

comment 2y ago · link · parent

There was also the similar project Kerla¹ but development stalled. Recently people argued that instead of focusing on Rust-for-Linux it would be easier to create a drop-in replacement like these two. I wonder if there are enough people interested to make this happen as a sustained project.

¹ https://github.com/nuta/kerla/

8.

Asterinas: OS kernel written in Rust and providing Linux-compatible ABI(github.com ↗)

364 points · by Klasiaster · 2y ago · 224 comments

comment 2y ago · link · parent

You can embed attachments in PDFs. This way you could include CSV or JSON files into your PDF report. For a quick way doing it with CLI see `qpdf --help=add-attachment`

comment 2y ago · link · parent

A major problem is that one can only have a single connection. It would be nice to do WiFi Direct or AdHoc mode while being connected to an AP. Being able to use WiFi without losing the AP connection (or having a standardized AdHoc channel for discovery) would replace uses of Bluetooth in consumer devices where Bluetooth is used for the initial connection to join a WiFi - some devices rely on WiFi Direct but the UX is very bad because the AP connection gets lost.

comment 2y ago · link · parent

Seems parts of the needed adapters do exist: https://www.amazon.com/Adapter-Converter-Thunderbolt-MacBook...

comment 2y ago · link · parent

Great to see it getting ready. Since the USB-C Power Delivery port doesn't support Display Port output, maybe there is a complex adapter that could splice the HDMI signal in (converted to Display Port) while still supporting data and Power Delivery?

comment 2y ago · link · parent

I love that his exists without even being in the need of it!

comment 2y ago · link · parent

I don't understand what the advantages are over Servo's inbuilt web browser¹. So far they look the same when opening but the inbuilt web browser is more stable (I see rendering bugs with Verso and it panics when entering a domain without the http(s):// prefix).

¹ https://servo.org/download/

comment 2y ago · link · parent

Related is cargo script for Rust: https://doc.rust-lang.org/cargo/reference/unstable.html#scri... (nightly only)

comment 2y ago · link · parent

The latest keyboard version 3.0 is more standard. The swapped control vs caps lock position is something one can probably remap in software. The apparent lack of page-up/down and home/end keys would be more of a problem for me, though.

https://shop.mntre.com/products/mnt-reform-keyboard-30

17.

Sovereign Tech Fund: Fellowship for Maintainers(sovereigntechfund.de ↗)

1 points · by Klasiaster · 2y ago · 1 comment

comment 2y ago · link · parent

"The laptop probably has a HiddenVM. Drug and hit the person with this 5$ wrench until we get access."

https://xkcd.com/538/

comment 2y ago · link · parent

One can also create small binaries with https://github.com/sunfishcode/origin (e.g., https://github.com/sunfishcode/origin/blob/main/example-crat... is in that ~400 bytes range) and select features as wanted without having to reimplement everything. Also see https://github.com/sunfishcode/origin-studio and https://github.com/sunfishcode/mustang - and of course https://github.com/sunfishcode/eyra

comment 2y ago · link · parent

GARM can easily manage ephemeral runners for you: https://github.com/cloudbase/garm (Ephemeral runners are also more secure)

21.

Elfcat: ELF binary visualizer generating HTML(github.com ↗)

3 points · by Klasiaster · 2y ago · discuss

comment 2y ago · link · parent

With GARM (GitHub Actions Runner Manager) it's easy to manage ephemeral runners: https://github.com/cloudbase/garm

One should also use workflow approvals for external contributors.

comment 2y ago · link · parent

The setup is not too complicated with something like https://opendev.org/openstack/devstack

comment 2y ago · link · parent

Do any of the (soon-to-be) available non-metal offers support nested virt?

comment 3y ago · link · parent

Main benefits are a fully mainline Linux kernel plus UEFI: You can throw a standard arm64 image at it and it will directly boot and get updates forever - no custom images with special bootloader setup and downstream kernel needed.

26.

Libre Computer AML-A311D-CC "Alta" Single-Board Computer(cnx-software.com ↗)

5 points · by Klasiaster · 3y ago · 1 comment

comment 3y ago · link · parent

There is also the Rust TCP/IP stack https://github.com/smoltcp-rs/smoltcp which is not mentioned as reference (and it's probably more useful to have a look there than querying ChatGPT).

comment 3y ago · link · parent

Maybe it's like with software, once you add bloat/baggage over the course of the years it's hard to get rid off when trying to optimize again.

29.

Sophgo SG2380 2.5 GHz 16-core SiFive P670 RISC-V processor(cnx-software.com ↗)

9 points · by Klasiaster · 3y ago · 5 comments

comment 3y ago · link · parent

I think a "linter" that does formal verification would be a good solution. People use things like clippy already and my hope is that using one of the verification tools such as Kani could become equally widespread for checking common things like absence of panics and leaks.
12345
12