ruffsl
I’m a robotics researcher. My interests include cybersecurity, repeatable & reproducible research, as well as open source robotics and rust programing.
- 25 Posts
- 17 Comments
Appreciate the detailed context, and thank you for your work!
ruffsl@programming.devOPto
Selfhosted@lemmy.world•Using Read Aloud browser extension with self hosted TTS Voice modelsEnglish
4·11 months agoDoes anyone know of an Android app to install an additional 3rd party TTS engine that can then be configured to point to a custom Open-AI/Fast-API endpoint for self hosting higher quality voices that are not easily run/fit on mobile hardware?
ruffsl@programming.devto
Technology@lemmy.world•Let Google know what you think about their proposed restrictions on sideloading Android apps. - Android developer verification requirements [Feedback Form]English
16·11 months agoSome poignant questions for these new platform requirements:
- How do you anticipate this being used against journalists and advocacy groups?
- What research and statistical quantification will be done to evaluate the amount of harm these restrictions can inflict?
- What precautions or safeguards will users have against malicious state actors or capitulating corporations?
- How can developers protect themselves from liable damages due to service interruptions caused by third party verification?
- Do you foresee legal restrictions in rollout due to national security concerns from differing nation states?
ruffsl@programming.devOPto
Python@programming.dev•Nix(OS) for Python Developers · PainlessEnglish
2·11 months agoIf you just want to quickly create a local python develop environment on the side using Python module metadata, installing
uvfrom nixpkgs, and enablingnix-ldto run pre-compiled binaries from PyPI keeps things simple, and replicating the same virtual python environment workflow you to have on any other distribution:https://discourse.nixos.org/t/i-want-understanding-nix-packages-and-flake-basics/67365/3
If you wanted to package a python module for nix or for proper distribution via nixpkgs, you’d want to add a nix derivation file that encapsulates all the inputs, i.e. software building materials (SBOM). There are existing nix library functions that can automate most of the packaging, not unlike Debian macros:
https://wiki.nixos.org/wiki/Python
The second approach is more rigorous, and combined with something like flakes for pinning the exact hash for all inputs via lock file ensures reproducibility, like when sharing with other nix users. While as the first approach is more subject to your current system, i.e. linking to whatever system wide libraries are presently installed, but it’s less upfront effort to reuse existing python-package-managers than to nixify everything.
ruffsl@programming.devOPto
Python@programming.dev•Nix(OS) for Python Developers · PainlessEnglish
2·1 year agoI’ll preface that NixOS may not be for everyone, as deviating from a conventional hierarchical file system is a radical departure from conventional distributions; but for those that want precise control over their system environment, it has a good deal of appeal.
For example, I appreciate being able to use the latest bleeding release of a number of tools while sticking with older trusted versions of other utilities, but if both relied upon different versions of similar dependencies, such package conflicts can be troublesome to resolve, as few Linux package managers gracefully deal with multi version installs.
For NixOS using the nix store, installing leaf packages that traditionally conflict is trivial, and as a user, I can spend less time managing every transitive dependency in order to use the software I want. Not having to wait for a disjointed ecosystem of packages to synchronize around dependencies, or resorting to compromise in package version selection is very liberating.
The functional language and documentation for nix itself is a bit quirky, as I wish it was stronger typed, but being able to declaratively express and version control my setup across workstations has been a time saver; installing/configuring something once and then have-done with it.
ruffsl@programming.devOPto
Selfhosted@lemmy.world•Introducing UniFi OS Server for MSPsEnglish
3·1 year agoI think it stands for Managed Service Providers.
ruffsl@programming.devOPto
Python@programming.dev•Nix(OS) for Python Developers · PainlessEnglish
2·1 year agoI would have liked the PyCon25 talk directly, but I don’t think the recordings have been published yet:
https://slides.com/bittner/pycon25-nixos-for-python-developers#/2/4
Hopefully the presenter discusses more on their later slides in using python on NixOS and working around python packaging’s use of dynamic linking.
ruffsl@programming.devOPto
Selfhosted@lemmy.world•Introducing UniFi OS Server for MSPsEnglish
4·1 year agoI’m still using an old UC Gateway, doubt my homelab will outgrow it.
ruffsl@programming.devto
Linux@lemmy.ml•Realizing Arch isn't for me after updating broke VLCEnglish
1·1 year agoOne thing I appreciate about NixOS is the ability to use overlays and override package sources. For example, overlays can be used to selectively install unstable and stable packages alongside each other:
While there may be caveats, this approach has been working for me just fine, as I can install VSCode from unstable to get the most recent monthly releases as they roll out, but then pin the rest of my desktop environment to stable to limit anything else shifting underneath me unexpectedly.
ruffsl@programming.devOPto
Selfhosted@lemmy.world•🔒 Setting Up Headscale & Tailscale on NixOS: A Zero-Trust Networking Guide for ❄️ NixOS - YouTubeEnglish
91·1 year agoLooks like they introduce the use Traefik with NixOS here:
How does
Traefikcompare to a reverse proxy likeCaddy?
ruffsl@programming.devto
Linux@lemmy.ml•Why does Arch seem to have a cult like following?English
3·1 year agoIf 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
btopthat many distros don’t ship by default.
ruffsl@programming.devOPto
Rust@programming.dev•Qt Group unveils expansion plans for technology-agnostic Qt ecosystemEnglish
1·1 year agoYeah, 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.devOPto
Selfhosted@lemmy.world•What's on my Home Server 2025 – NixOS Edition - YouTubeEnglish
2·1 year agoI’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.devOPto
Git@programming.dev•I was wrong about git stash... - YouTubeEnglish
2·2 years agoI 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.
ruffsl@programming.devOPto
Linux@lemmy.ml•HDMI Forum Rejects Open-Source HDMI 2.1 Driver Support Sought By AMD - PhoronixEnglish
4·2 years agoI’m using a recent 42" LG OLED TV as a large affordable PC monitor in order to support 4K@120Hz+HDR@10bit, which is great for gaming or content creation that can appreciate the screen real estate. Anything in the proper PC Monitor market similarly sized or even slightly smaller costs way more per screen area and feature parity.
Unfortunately such TVs rarely include anything other than HDMI for digital video input, regardless of the growing trend connecting gaming PCs in the living room, like with fiber optic HDMI cables. I actually went with a GPU with more than one HDMI output so I could display to both TVs in the house simultaneously.
Also, having an API as well as a remote to control my monitor is kind of nice. Enough folks are using LG TVs as monitors for this midsize range that there even open source projects to entirely mimic conventional display behaviors:
I also kind of like using the TV as simple KVMs with less cables. For example with audio, I can independently control volume and mux output to either speakers or multiple Bluetooth devices from the TV, without having fiddle around with repairing Bluetooth peripherals to each PC or gaming console. That’s particularly nice when swapping from playing games on the PC to watching movies on a Chromecast with a friend over two pairs of headphones, while still keeping the house quite for the family. That kind of KVM functionality and connectivity is still kind of a premium feature for modest priced PC monitors. Of course others find their own use cases for hacking the TV remote APIs:
Hello HN! OP, you’ve reached the front page of Hacker News:








I’ve observed some notable improvements when benchmarking with the CachyOS kernel on NixOS via Chaotic’s Nyx using moderately old hardware:
https://programming.dev/post/38304031
Haven’t yet tried replicating the same comparison on newer hardware, but would be interested to see what others have tested. Any observations?