nebucatnetzer

@nebucatnetzer@emacs.ch

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.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nebucatnetzer, to Metal

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.

#metal #blackmetal

image/jpeg
image/jpeg

louis, (edited ) to random
@louis@emacs.ch avatar

What do you manage your Todos?

nebucatnetzer,

@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.

bitprophet, to random
@bitprophet@social.coop avatar

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?
  • ISTR other non-Docker VM/container tools exist?
  • ???
nebucatnetzer,

@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.

nebucatnetzer,

@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.

nebucatnetzer, to random German

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 😁.

https://www.republik.ch/2024/04/10/so-macht-ueberwachung-spass

adfichter, to random German
@adfichter@chaos.social avatar

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?

https://www.republik.ch/2024/04/01/unsichtbare-haende-auf-dem-bauernhof

nebucatnetzer,

@adfichter War wirklich interessant zu lesen. Leider hat mir etwas die Auflösung gefehlt.

nebucatnetzer,

@floyd @adfichter Ja genau, dadurch hat der Artikel so ein offenes Ende. Ich geh aber davon aus, dass Brigitte Hürlimann dran bleibt :)

publicvoit, to NixOS
@publicvoit@graz.social avatar

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. 🤔

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

nebucatnetzer,

@publicvoit This option makes the system much more usable when building.
Highly recommended on a desktop system.

https://git.2li.ch/Nebucatnetzer/nixos/src/commit/9f428ac27185c624141ae7dee52f3d2856802f13/modules/misc/common/default.nix#L117

juandesant, (edited ) to iOS
@juandesant@astrodon.social avatar

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.

nebucatnetzer,

@juandesant Or you can map caps lock to escape in the settings.

sharan, to productivity
@sharan@metalhead.club avatar

Well, this is something I don't see every day.

Do you use TickTick, Todoist or something else entirely?

nebucatnetzer,

@slackline @anonimno @sharan Mobile is what killed it for me. Now I use Todoist for tasks and a mix of org and markdown for notes.

shane_kerr, to Ansible
@shane_kerr@fosstodon.org avatar

I'm cleaning up problems reported by ansible-lint and am down to a couple of these:

https://ansible.readthedocs.io/projects/lint/rules/no-handler/

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?

nebucatnetzer,

@ascherbaum @shane_kerr AFAIK it is even best practice to flush the handlers at the end of each role.

nebucatnetzer, to linux

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”.

nebucatnetzer,

@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.

gabrielesvelto, to random
@gabrielesvelto@fosstodon.org avatar

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.

nebucatnetzer,

@gabrielesvelto How does the GPL work with LLMs?
I always use it for all my code because I personally think it is a great concept.

hasnep, to NixOS
@hasnep@julialang.social avatar

Can any 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 😁

nebucatnetzer,

@hasnep From what I’ve seen a lot of apps do something like this.

/nix/store/app/bin/app -c /nix/store/app-config/config.format

nebucatnetzer, to django

Does someone using have any experience with django-tables2?

nebucatnetzer,

@greg I have this table:
https://github.com/Nebucatnetzer/network_inventory/blob/add-login-model/src/users/tables.py#L17

And try to add these two columns but I'm stuck:
https://github.com/Nebucatnetzer/network_inventory/blob/add-login-model/src/users/tables.py#L17-L22

Models are here: https://github.com/Nebucatnetzer/network_inventory/tree/add-login-model/src/users/models

The idea is to display all the logins and groups a user belongs to in table.
Would be fantastic if you knew how to do this.

bitprophet, to NixOS
@bitprophet@social.coop avatar

Uh oh. The very handy tool nvd for rebuilds (shows specifically what versions of what software might differ between two system closures, such as "what you're currently on" and "what you would build next”) is both screaming for some extra configurability, and is written in Python.

(AND it uses subprocess instead of the clearly superior Invoke. 😜)

Ralph Wiggum Danger GIF

nebucatnetzer,

@ahoneybun @bitprophet There is nix-build-monitor as well: https://github.com/maralorn/nix-output-monitor

However I just use plain Nix for this. All the fancy once can sometimes break especially when I’m using the terminal in Emacs.

https://git.2li.ch/Nebucatnetzer/nixos/src/branch/master/modules/misc/common/default.nix#L162

louis, (edited ) to emacs
@louis@emacs.ch avatar

Thanks to the pdf-tools package, which I discovered this week, Emacs is now my perfect PDF reader.

  • Instant rendering
  • Semantic outline
  • Annotation management and so much more.

nebucatnetzer,

@louis It’s fantastic, I used it a lot when I wrote my “thesis” with Auctex.

nebucatnetzer, to php

Is there a major security issue when I define PATH for the php-fpm processes?

nebucatnetzer,

@louis Ich bin auch seit dem Anfang dabei, für mich passt die Ausrichtung ziemlich gut.
Fände es aber auch gut wenn es generell mehr unabhängige Medienhäuser gäbe.

nebucatnetzer, to ubuntu

How much of a stupid idea is it to use the packages from and use them on 🤔?
Probably doesn’t make much sense when I have to recreate all the services and such.

nebucatnetzer, to Ansible

After testing a PoC for a few weeks we now officially switch to a based development environment based on . We’re comming from a based environment.
will still do the configuration for certain parts but the LAMP stack is provided by .
Really looking forward to working on this, even though it is a little bit intimidating.

darth, to emacs
@darth@silversword.online avatar

I've been checking out for the past week or so. Any Emacs user here on Fediverse? Any advice for a new user?

nebucatnetzer,

@darth As others said. Learn what you need and continue from there.
I had a phase where I used Emacs, Org and Latex very intensely.
Then I nearly stopped using Emacs entirely and now I’m back for coding and taking notes in org but stopped doing tasks in org.
Emacs can easily adapt to your needs so don’t be afraid of to throw out parts you don’t need anymore.

XeroLinux, to NixOS
@XeroLinux@fosstodon.org avatar

I must be honest is slowly growing on me. But it will take me at least a year to fully grasp it n feel comfortable with it the way I do with . As a result will not be my daily until then..

nebucatnetzer,

@AngryAnt @XeroLinux @DKMellow I wouldn't throw home-manager and flakes in the same basket. Anyone who is currently a user of a tool like Stow will probably be interested in home-manager.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • ngwrru68w68
  • hgfsjryuu7
  • InstantRegret
  • Youngstown
  • rosin
  • slotface
  • everett
  • mdbf
  • tacticalgear
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • PowerRangers
  • anitta
  • magazineikmin
  • vwfavf
  • cisconetworking
  • cubers
  • modclub
  • GTA5RPClips
  • khanakhh
  • Durango
  • osvaldo12
  • normalnudes
  • tester
  • ethstaker
  • provamag3
  • All magazines