System engineer from Switzerland. Currently interested in #NixOS, #Emacs, #Python and #metal. In my job I work a lot with #Ansible and at home I’m hosting various services on #RaspberryPi 4s running #NixOS.
I just "wasted" multiple hours to write a script that does the following.
Extract a website title and remove non-ascii characters and replaces spaces with underlines
Download the website as an epub, with the modified title as the filename
Open the Downloads directory in nautilus when it's done
The idea is to use my kindle more for reading articles because I get less distracted.
There are much easier options, of course, but I enjoyed the little project.
Great start for the #BlackHoleFest in Aarbug.
Unfortunately public transport did allow is to stay for #Kanonenfieber.
However I still enjoyed listening to #Ultar and especially to #Grima.
@louis
Would love to do it on paper because of the haptics, however the fact that I can't search and have to carry a notebook is problematic.
Org is fantastic and I really liked that I could customize it perfectly to my needs (e.g. integrating time tracking).
However the lack of a good mobile solution killed it for me.
So I'm now using Todoist for tasks and a mix of Markdown and Org documents for note taking.
What's the 2024 state of the art for local macOS+arm64 development nonsense?
Without spending TOO much time combing my (halfhearted because I've been developing via headless Linux since 2020 & it's actually very nice) notes, the last I recall hearing is:
Homebrew still "is what it is” & its entire world has since been updated for arm64?
Actual-Docker works now, but still via a (Virtualization.framework? emulating Intel??) Linux VM?
@bitprophet At the moment just the latter. However I probably have to look into the former as well when I want to build container images.
I already tried but it is a bit of a pain depending on your dependencies you have to write a lot of overrides.
@bitprophet I personally use Nix + Poetry.
I like the way Poetry manages dependencies(groups and lock files) and it works with Renovate Bot we use at work.
PDM would make sense because of the one PEP but last I checked Renovate didn’t support it.
Datenschutzerklärungen können auch unterhalten.
Die @adfichter hat sich mit @karpi zusammengesetzt um langweilige Text mithilfe von AI musikalisch zu unterlegen.
Meiner Meinung nach sehr gelungen und ein unterhaltsamer Einstieg in den Tag 😁.
Eine wichtige Geschichte von Brigitte Hürlimann & Ivan Ruslyannikov über die 🇺🇦 Geflüchteten Anastasiia und Oleksandr und die miserablen Arbeitsbedingungen auf 🇨🇭 Bauernhöfen. Sie fragten sich: Wie kann das sein in einem der reichsten Länder der Welt?
#NixOS update after sleeping for one month on host floyd (lenovo x260) takes 1 hour and 15 minutes (despite new 2TB SSD). During that, the device is almost non-responsive for anything else.
Host jackson (with even a slightly larger setup) probably would need 5-10 minutes maximum (lenovo t490). (I do weekly updates there.)
Didn't had that update "performance" while using Xubuntu LTS before. 🤔
PSA: if you’re using an external keyboard with iOS or iPadOS, and it does not have an Escape key, remember that Command-. does the trick most of the time.
Update: if that is not enough for you, @nebucatnetzer
reminds us in the comments that you can always map Escape to, say, Caps Lock in Keyboard Settings. #PSA#iOS#iPadOS#EscapeKey
The problem that I have is that if I follow the recommendation and convert the tasks to handlers, then the handlers will be very far away in the playbook - way down at the bottom, hundreds of lines later.
I can silence the error, but I guess it is there for a reason.
Am I crazy? Or is the idea that I should be having smaller playbooks or what?
I just discovered @tuxedocomputers, they look very promising as a new notebook.
I’m not in a hurry.
I’m looking for a lightweight Linux compatible notebook with long battery life.
5 years of support would be nice as well, even better “on-site” repairs in Switzerland or “pre-repair swap”.
@dekkzz76 I wouldn’t mind non-free parts as long as they are easy to install.
Of course given a nearly equivalent option I would choose the free version.
So I just learned what "The Stack" is today: an aggregation of GitHub repos for machine learning from which I can opt out.
But I won't.
I won't because they scraped some hot garbage I wrote in bash and Python that would make you faint. Bottom-of-the-barrel throw-away scripts full of coding crimes. Stuff like
find | grep | awk | xargs | ugh
...invoked via subprocess.run() then fed into more garbage.
I want "artificial intelligence" to learn this. It's going to be fantastic.
Can any #nix nerds tell me how a "nix-native" program would handle configuration? If the primary way to configure my app is with a configuration.nix files, what is the best way to pass that configuration information to the app? Can the app just read the nix store directly somehow? Or would it need to write the config to a file which the app would read? Thanks in advance 😁
How much of a stupid idea is it to use the packages from #nixpkgs and use them on #ubuntu 🤔?
Probably doesn’t make much sense when I have to recreate all the services and such.
After testing a PoC for a few weeks we now officially switch to a #nix based development environment based on #devenv. We’re comming from a #Vagrant based environment. #Ansible will still do the configuration for certain parts but the LAMP stack is provided by #devenv.
Really looking forward to working on this, even though it is a little bit intimidating.
When reading the comment to the latest #Apple announcements related to the #DMA by the #EU, I can't help but be reminded of it again and again.
Apple is just being a dick at this point, and it would be for the good of its users if they would allow third party browsers and apps on all platforms.
If you don't want to use this, fine, but thinking that the EU is doing something bad here is just idiotic.