ruffsl

joined 2 years ago
MODERATOR OF
[–] ruffsl@programming.dev 1 points 6 hours ago

Another related video from a nice channel I posted here previously:

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

Another video on PPS from a charging device perspective:

I'll say the newer up and coming standard AVS (Adjusted Voltage Supply) for support with Extended Power Range looks promising, if not a little concerning in regards to cable quality hazards.

6
submitted 11 hours ago* (last edited 11 hours ago) by ruffsl@programming.dev to c/ece@lemmy.world
 

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:

[–] ruffsl@programming.dev 2 points 19 hours ago

Perhaps one could use something like this using Android's Virtualization Framework in the meantime:

 

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:

[–] ruffsl@programming.dev 6 points 1 day ago (4 children)

Looks like they introduce the use Traefik with NixOS here:

How does Traefik compare to a reverse proxy like Caddy?

 

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 3 points 1 day ago

If there was a simple Debian based distro that I could declaratively manage via a single config file, I think I'd try it. I.e. not using Puppet or Chef that can only bootstrap a system state, but something to truly manage a system's entire life cycle, including removing packages and anything littering the system file tree. But since there isn't, I'm using NixOS instead.

Having a DSL to declare my entire system install, that I can revision control like any other software project, has been convenient for self documenting my setup and changes/fixes over time. Modularizing that config has been great for managing multiple host machines synchronously, so both my laptop and desktop feel the same without extra admin work.

Nixpkgs also bolsters a lot of bleeding edge releases for the majority of FOSS packages I use, which I'm still getting used to. And because of how the packaging works, it's also trivial to config the packages to build from customer sources or with custom features. E.g. enabling load monitoring for Nvidia GPUs from btop that many distros don't ship by default.

[–] ruffsl@programming.dev 2 points 1 day ago (1 children)

Yeah, the centralization of public Internet infrastructure around Cloud flare has been concerning, not only as a single point of failure but also in terms of consolidation of trust.

As a prior student workout a public IP deep behind several NATs, with little funds for self hosting hobbies, these kinds of tunnel services were a handy gateway in getting started.

Although, I hope ISP adoption of IPv6 or cheaper bandwidth quotas for VPS providers help compete on this front for self hosting networking.

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

Too bad you have to rely on cloudflare to then manage your domain to utilize this feature, like if it's just a demo for a one off project.

[–] ruffsl@programming.dev 6 points 2 days ago

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

[–] ruffsl@programming.dev 6 points 2 days 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 week 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?

view more: next ›