rutrum

joined 7 months ago
[–] rutrum@programming.dev 3 points 1 month ago

Atuin has been such a life saver. I never learned/used whatever mechanism bash had for looking up history... (ctrl+s maybe?) And the history command always seemed to miss things.

[–] rutrum@programming.dev 2 points 1 month ago (1 children)

Which is great for TSMC opening new fabs in the US too lol

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

Many people think of Docker as a virtual machine, but a better way to look at it is as a security wrapper around a process.

I really like this interpetation of containers. Thanks for sharing.

 

For example, compose2nix lets you build nixos configuration for containers defined in a docker compose compose.yml. But this step happens offline. You have to first ad hoc generate the config from the compose.yml and then use that generated output in your config.

It seems obvious to me that the best user experience would be to write a flake/module that let's you just point to a compose file directly in your config. On rebuild, it would parse the compose file and build the appropriate config.

But I've not really seen that. These projects that convert from one package mamagement scheme or config file to another (xxx2nix projects) work using this preprocessing step. More examples include pip2nix and cargo2nix.

Given how common this pattern is, I suspect there is something preventing generating at rebuild time from being feasible, or at least easy. Does anyone have ideas for why this is? Thanks.

[–] rutrum@programming.dev 7 points 2 months ago

My fav prog band no doubt

[–] rutrum@programming.dev 5 points 2 months ago (1 children)

Im glad you are not over ambitious with your schedule. An episode every three weeks / month is a great way to keep going. I remember when privacy guides said they were going to do a "this week in privacy" which unfortunately lasted about 6 weeks. I wish you best of luck!

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

This already happens with resumes and it works great!

[–] rutrum@programming.dev 6 points 2 months ago (1 children)

I've had an amazing time remoting into friends and families windows machines from my linux box, and they were able to install rustdesk very easily. It's incredibly streamlined and has been so helpful when I need it.

[–] rutrum@programming.dev 4 points 2 months ago

Most compiled output of NixOS configuration (besides packages, perhaps) is just systemd units anyway. I found out quickly when learning nix that my lack of systemd prowess was going to cap how well I could understand NixOS.

[–] rutrum@programming.dev 1 points 2 months ago (1 children)

Here's mine. Probably top 10 /s: https://github.com/rutrum/dots

[–] rutrum@programming.dev 2 points 2 months ago (1 children)

Whoa! Howd you make a website from typst? I would love a way to draft my website in typst.

[–] rutrum@programming.dev 1 points 3 months ago

Ive started writing in typst. Its simple enough when doing not so complicated things, but an entire ecosystem is available the moment I want to do something complicated. But it does not have LOCAL graphical editor, but there is an online version you can use. Ive never tried it.

[–] rutrum@programming.dev 5 points 3 months ago (1 children)

I use a tool called ouch so I never have to remember the tar flags ever again.

 

The gist is you write macros/automations/scripts to play the MMO based on your logic.

I decided to do it in bash/curl/jq to make it extra fun and learn some tools I use occasionally but only withheavy man page referencing. After some playing I might be a bash-scripting pro.

view more: next ›