ruffsl

joined 2 years ago
MODERATOR OF
 

An fine introduction to USB charging and Power Delivery protocols that also goes quite deep into industry approaches.

The presenter is from the automotive electronic parts market, and posted a great more recent (but more vendor specific) related video here as well:

For example, I really wish my modern Anker AC charger would at least support "Smart Power Sharing Communication" with its Dual Port configuration "via Sinc_Cap", rather than naively having total output equally for each device regardless of each device's power profile capability.

 

Background:

 

In this video, I show you how to turn your phone into a mobile typewriter using NixOS, Emacs, Org Roam, and Syncthing — no Google, no distractions.

Not very touch friendly yet, and not sure if anyone has gotten the cellar radios to work with a SIM carrier.

 

How I fixed Pixel Snapping / Jitter in my game using a subpixel camera to achieve smooth pixel perfect movement.

Subsequent related videos:

 

Cross-posted from: https://programming.dev/post/33674513

Any general suggestions when getting started with headscale?

 

Cross-posted from: https://programming.dev/post/33674513

Sascha Koenig looks to have some quality deep guides around NixOS!

 

Sascha Koenig looks to have some quality deep guides around NixOS!

[–] ruffsl@programming.dev 6 points 3 weeks ago

I'm waiting on support for inserting PDF figures, the most common format my tools export.

[–] ruffsl@programming.dev 6 points 3 weeks ago

TDIL about nix-ld , this is so cool! Think I'll try this out soon:

 

Secondary source:

Sudo local privilege escalation vulnerabilities fixed (CVE-2025-32462, CVE-2025-32463) - Help Net Security https://www.helpnetsecurity.com/2025/07/01/sudo-local-privilege-escalation-vulnerabilities-fixed-cve-2025-32462-cve-2025-32463/

 

Some minor misconceptions, but an interesting perspective from a user without an IT background.

Wonder what tripped them up about Thunderbird docking/networking and what solved it?

[–] ruffsl@programming.dev 5 points 1 month ago

I've been straddling between NixOS and a Debian derivative for a while recently. Using nix, I really enjoy managing my system using declarative code, like I would for any other software infrastructure.

Although, for work, I still resort back to Debian or Ubuntu when it comes to collaborating with existing FOSS communities around robotic software or medical imaging, as those respective domains are heavily ingrained/invested into the Debian release and package distribution.

So it's been a challenge to migrate anything other than my personal computing to NixOS. However I do appreciate the easy access to latest version releases of packages, kernels, and drivers. Being able to patch and document the idiosyncrasies of my hardware using declarative configs and revision control has been so helpful and solving a bug once and never forgetting how to reproduce the fix later on.

Another benefit is being able to explore public repositories for examples of how other users may be installing the same types of modules or software features I'm looking to setup, or solve a similar issue. It's one thing to read the stack overflow answer about how to edit an arcane etc config for an anonymous package version, but it's another to be able to read the commit history of hundreds of other nix users and PRs from nixpkgs maintainers.


My flake config is still rather simplistic, and synchronizing two hosts between two branches. I did appreciate the reference repo linked by the author as an example for modular host and user config.

https://github.com/jnsgruk/nixos-config

Any suggested resources or templates on that front? I.e. structuring and modularizing NicOS flake configs for multiple hosts for overlapping and non overlapping use cases? For example, I've just gotten into how to overlay nixpkgs PRs and explore dev shells.

[–] ruffsl@programming.dev 6 points 1 month ago

For the faint of heart, such vicarious pain may require theatrical intermission(s).

[–] ruffsl@programming.dev 1 points 2 months ago

Yeah, any details published so far have been rather vague. I like the prospect of writing my backend UI logic in a memory safe language, but that falls short of benefiting from doing so end to end.

Supposedly Qt would be in a decent position to use their own static analysis and testing frameworks for hardening such bridge interfaces, but using a memory safe system programming language for everything would be ideal. Are there any Rust based UI projects that are looking at ISO certification to ease integration as a Software of Unknown Pedigree?

[–] ruffsl@programming.dev 2 points 3 months ago

I'm not the original author, even with the YouTube title being as is, but what do you mean? Perhaps relying that the desired services exist as nix packages, or that nix packages have desired defaults or exposes desired config parameters?

There are two other nix media server config projects I can think of, but I think this approach mostly facilitates the install, but not the entire initial config setup, given that a lot of the stack's internal state is captured in databases rather than text config files. So simplifying the backup and restoration of such databases seems the next best thing to persist your stack configs with nix.

[–] ruffsl@programming.dev 1 points 10 months ago (1 children)

Any particular reason that those OEMs made that decision when releasing those boxes? Was that range blacklisted in firmware because of the legacy specification? I thought the spec just forebode range's public allocation, but not necessarily its internal use.

[–] ruffsl@programming.dev 1 points 10 months ago (1 children)

Could you explain a little more on that? Just curious.

[–] ruffsl@programming.dev 7 points 11 months ago (1 children)

Have you had any luck with projectors for coding? I've only ever used them for large mob-programming sessions, like during hackathons. I feel like the low/narrow contrast of projectors makes it hard to use for dark mode, not to mention the space real estate requirements. :P

[–] ruffsl@programming.dev 5 points 11 months ago

Still kind of sad that the transflective display technology demoed in the $100 laptop project from a decade or so ago never took off.

https://youtu.be/CGRtyxEpoGg?si=50jL24kRA22-X_Bo&t=1470

[–] ruffsl@programming.dev 3 points 11 months ago* (last edited 11 months ago)

Personally, I've been happy using an LG TV for a single monitor setup. I have had to switch to KDE Plasma v6 for better font rendering given its unusual OLED pixel layout, as well as for native HDR support. But it's been nice to have a large physical font while still at default DPI. Although, I wouldn't't mind upgrading to 8K later when they get affordable, as the smallest 4K TVs at 42" happen to push the physical DPI down towards that of just 1440p panel.

https://programming.dev/comment/7921093

[–] ruffsl@programming.dev 2 points 1 year ago

I hope compatibility with git submodules gets ironed out soon. I'd really like to have multiple branches of a superproject checked out at once to make it simpler to compare source trees and file structures.

view more: ‹ prev next ›