Readit News logoReadit News
hippospark commented on Nitro: A tiny but flexible init system and process supervisor   git.vuxu.org/nitro/about/... · Posted by u/todsacerdoti
stock_toaster · 4 months ago
It will be interesting to compare this to dinit[1], which is used by chimera-linux.

Giving the readme a brief scan, it doesn't look like it currently handles service dependencies?

[1]: https://github.com/davmac314/dinit

hippospark · 4 months ago
I used dinit in Artix Linux. It is lightweight and impressive (https://artixlinux.org/faq.php)
hippospark commented on I run a full Linux desktop in Docker just because I can   howtogeek.com/i-run-a-ful... · Posted by u/redbell
hippospark · 4 months ago
Related posts: - [How to Run GUI Applications Directly in Containers](https://github.com/hemashushu/docker-archlinux-gui) - [GUI Application Development Environment in a Container](https://github.com/hemashushu/docker-archlinux-gui-devel)
hippospark commented on Nnd – a TUI debugger alternative to GDB, LLDB   github.com/al13n321/nnd... · Posted by u/zX41ZdbW
hippospark · 7 months ago
For those interested in writing a debugger: There are a series of tutorials on how to write a debugger from scratch for Windows x86-64 using Rust [1]. Additionally, there is a book titled "Building a Debugger - Write a Native x64 Debugger From Scratch" by Sy Brand [2].

[^1]: https://www.timdbg.com/posts/writing-a-debugger-from-scratch... [^2]: https://nostarch.com/building-a-debugger

hippospark commented on Raspberry Pi Pico audio player   lucstechblog.blogspot.com... · Posted by u/zdw
bschwindHN · 10 months ago
The RP2040 can output 24 bit (or technically 32-bit), 48kHz stereo audio over I2S. Combine that with a DAC like the PCM1502 (which has plenty of dev boards) and you've got yourself a high quality audio setup.

I have a Rust crate for outputting I2S data, or retrieving it from something like a mic or ADC. You can hook it up to DMA and make your audio go brrrr

https://github.com/bschwind/rp2040-i2s

hippospark · 10 months ago
I once built a player with a MAX98357 I2S Amp that could drive a small speaker, it was fun.
hippospark commented on I believe 6502 instruction set is a good first assembly language   nemanjatrifunovic.substac... · Posted by u/whobre
hippospark · a year ago
I prefer RISCV as an starting assembly language because: it has good design, it's more intuitive, it has modern language and tool support (GCC, LLVM, Rust, etc.), and it runs on QEMU and real available hardware.
hippospark commented on JSON5 – JSON for Humans   json5.org/... · Posted by u/rickcarlino
nikeee · a year ago
I think it allows for too much. I was glad that JSON only supports double-quoted strings. It is a feature that removes discussions about which quotes to use. Or even whether to use quotes at all (we still need them for keys with colons or minus in it, so what gives?).

The only thing that JSON is really missing are comments and trailing commas. I use JSONC for that. It's what VSC uses for the config format and it works.

hippospark · a year ago
Also take a look at ASON [1]. ASON is a data format that evolved from JSON, introducing strong data typing and support for variant types.

[^1] https://github.com/hemashushu/ason

hippospark commented on Barco: Linux Containers from Scratch in C   github.com/lucavallin/bar... · Posted by u/lucavallin
hippospark · 2 years ago
There is a similar project _Linux containers in 500 lines of code_ [1], the code is a bit old, but the procedure is quite simple. [1]: https://blog.lizzie.io/linux-containers-in-500-loc.html

u/hippospark

KarmaCake day237October 4, 2019View Original