He empaquetado Gaudi, los certificados CA y otras herramientas más para Firma Digital en NixOS con ayuda de Claude y DeepSeek

Buenas,

Hoy me salió una urgencia en la que debo utilizar firma digital, pero me daba pereza bootear Windows 11 en una máquina virtual para poder firmar un PDF, por lo que decidí que mi tiempo y dinero serían mejor gastados en empaquetar los programas y certificados CA de firma digital que están disponibles para Ubuntu 24, pero para NixOS (distro GNU/Linux de la que soy usuario).

Aquí el paquete: https://radicle.network/nodes/jardin.jorgearaya.dev/rad:z3YkDws5EsBLkbzbbrjzrzB775AJX/tree/packages/firma-digital-cr/

Mi perfil en NUR: https://nur.nix-community.org/repos/elzorrorebelde/ El paquete debería aparecer ahí en varias horas, señalando que estaría disponible para instalar. (El motivo de la tardanza es debido a que el repositorio Git retornando errores 504)

¿Cómo se instala? Bueno, si es usuario de NixOS, debería agregar NUR como input si usa Flake (si no usa Flakes, pues, no tengo ni idea de cómo podría hacerle):

{
  inputs = {
    # otros inputs que pueda tener ud...
      nur = {
        url = "github:nix-community/NUR";
        inputs.nixpkgs.follows = "nixpkgs";
      };
  };

  # ... el resto de su flake
  # por favor tome en cuenta que NUR ofrece un overlay para que
  # los paquetes disponibles aparezcan en pkgs.nur.<usuario>.<paquete>
}

Y en su configuración, iría más o menos asi:

{ pkgs, ... }:

let
  f = pkgs.nur.repos.elzorrorebelde.firma-digital-cr;
  certDir = "${f.ca-certificates}/etc/ssl/certs";
in
{
  nixpkgs.config.allowUnfree = true;

  environment.systemPackages = with f; [ idopte idocachesrv agente-gaudi ];

  services.pcscd.enable = true;

  security.pki.certificateFiles =
  map (name: "${certDir}/${name}") (builtins.attrNames (builtins.readDir certDir));
}

Actualmente hay 6 paquetes:

  • agente-gaudi
  • idopteQue vendría siendo un programa para gestionar su tarjeta de firma digital
  • idocachesrv el demonio que es necesario si quiere firmar desde Firefox/Chrome
  • nautilus-extension que no me queda claro si funciona o no porque no soy usuario de GNOME, pero sirve para firmar cosas desde Nautilus
  • ca-certificates que serían los certificados CA que vienen en el ZIP para Ubuntu 24 LTS
  • pkcs11 lo que deben cargar Firefox/Chrome para poder firmar desde el navegador

Bueno, eso sería. Pura vida

reddit.com
u/No_Cartographer1492 — 21 days ago
▲ 131 r/osr

And, it finally happened; I finally ran my first session of Magia & Acero (Sword & Wizardry Complete Revised in Spanish)

And it was pretty bad lol. It took like an hour or so to fill the character sheets. Then 15 minutes for my players (my niece (12), my nephew (8), and my brother (34)) to buy the equipment haha.

I ran La Mazmorra de Akban (The Dungeon of Akban by Michael Shorten) since it was thought of as an introduction to the game, and, well, I had fun describing the rooms where the PC was lol. My brother had a sense of what the team should do, but sadly my nephew wasn't really into it as he wanted to play with my brother's Nintendo Switch, which wasn't even there.

I had trouble calculating the CA for foes and for the PC, mostly because the sheet I had (page 4) on my screen was hard for me to read correctly, so I relied on AI most of the time :/.

So, anyway, combat without minis is a nightmare, so objects to mark PCs and foes were used. Cartography can be fun but takes time and coordination between the DM (me) and the cartographer player.

At the end, my nephew was killed by goblins, as he refused to act. My brother was also killed by goblins (he had only 1 point of health and no armor because he chose to be a wizard haha), and my niece was the player to last longer, as she was killed later on in another room by skeletons.

Conclusion:

I need to play Sword & Wizardry with others before jumping into running a game, experience with this is a must.

My brother thought that some parts of the game could be executed faster with software, and I agree, but that means building it ourselves. Regardless, nothing can be built if I don't experience the game with pen and paper.

u/No_Cartographer1492 — 3 months ago

¿Experiencias personales con renting.cr?

Estoy viendo la posibilidad de alquilar un carro por 12 meses, pero antes quisiera saber si aquí hay gente que ha arrendado un carro con renting.cr

reddit.com
u/No_Cartographer1492 — 3 months ago
▲ 3 r/Lidarr

I can't stand the genres being separated incorrectly with ;

for reason unknown to me, some songs have their genres separated by `;`, right now I'm checking songs with genre `Punk Rock;Pop Punk;Punk;Skate Punk;Melodic Hardcore;Rock;Ska Punk;Comedy Rock;Grunge;Alternative Rock` (yes, the hole string is the genre).

I've been trying to fix this issue today by locating all albums with this problem and updating them in MusicBrainz.org, then asking Lidarr to refresh and Jellyfin to download the metadata again. But before that I tried using a Python script to address the issue in the files themselves.

I'm honestly tired of seeing such mounstrosity, anything I do doesn't work so far.

Any suggestions?

reddit.com
u/No_Cartographer1492 — 4 months ago

"For me, the turnaround came, not when I recognized pornography as evil or unhealthy, but when I could laugh at it as stupid", Towards a New Argument Against Pornography

>For me, the turnaround came, not when I recognized pornography as evil or unhealthy, but when I could laugh at it as stupid. Once I felt the aristocrat within me scorn my own actions, the moral leap seemed genuinely possible. It was less akin to the moment of moral decision and more akin to the moment you first realized that your emo haircut was stupid. I realized that I was not on the side of pornography — I was too good for it. It was, in short, a conversion of taste, one that allowed me to take a critical distance towards pornography, and thus begin the fundamentally moral work of rejecting it.

patheos.com
u/No_Cartographer1492 — 4 months ago
▲ 5 r/osr

Poker chips and the smallest units of gold: What has been your experience with the economy of your sessions?

Hi,

I'm still planning on that first play of OSR, with Sword and Wizardry as TTRPG of choice. I wanted to use poker chips for the gold units, as it is something tangible, but, reading the book of rules, I noticed some items cost 0.02 G. Then I thought, "Well, why not use $1 as the smallest unit, so buying that item will cost two chips of $1" but then the problem is that 1 unit of gold is 100 chips of $1

For 3 or 4 players, who knows how many poker chips I will need? Probably more than 1000 pieces! and I really think that's unmanageable.

so far I have thought of these alternatives:

  1. Increase the price of everything under 1 G to cost 1 G
  2. Have something else to act as the smallest units of gold, so $1 represents 1 G (i.e., grains, fake plastic jewels, etc), for example, these untagged plastic poker chips, so the reds act as one hundredth and the blues as one tenth.
  3. Still use poker chips, but have a set of 1000 plastic pieces of poker chips act as the smallest unit of gold, and use the chips made of ceramic to act as whole units.
  4. Drop the idea entirely and have the players keep count with pen and paper.

thoughts?

u/No_Cartographer1492 — 4 months ago
▲ 14 r/emacs

Any tips for increasing the responsiveness of Magit on Windows?

At work, I have to use Windows 11 for my daily tasks. I'm free to use GNU Emacs so I do that (it's the only text editor I have used every day since 2011 A.D.). If I say Emacs is slow on Windows, I wouldn't be saying anything new, so something was done about it.

However, I'm puzzled by Magit, because despite the improvements in performance one can apply on Emacs for Windows, it still takes time to execute something like `M-x` `magit-status` `r` `e` `[branch name]` `RET`... like 3 to 4 seconds total; that's the time it takes to execute a rebase. To do other things like pulling or pushing, it takes around the same amount of time. It is even slow if I want to turn on options in those operations (it takes time to activate `--force` when pushing).

Is there anything that can be done about it on Windows, or is this how Magit is supposed to work in such an OS?

reddit.com
u/No_Cartographer1492 — 5 months ago
▲ 13 r/emacs

Backpack Emacs hits version 0.5

well, some time has passed, and I kept dogfooding this Emacs starter kit. Currently I'm ensuring Emacs brings the best performance on Windows since I'm half the time on Windows 11 for work. Sophos is not making things easy, so the last resort with that was asking IT to add exceptions to Sophos to mitigate performance issues with Magit... Anyway, that branch is still in need of more work, and this post is for announcing what I already have on master.

If you want to know what gears exist and what's turned on by default, use C-h B to open the backpack inventory.

Source code in Radicle: https://radicle.network/nodes/jardin.jorgearaya.dev/rad:zecRiYjpjFnZWFhygfVM7shaCzJh

If you want to see how I'm using Backpack in my personal configuration, check: https://radicle.network/nodes/jardin.jorgearaya.dev/rad:z4KouQMqMuiEh8kAowx7mRA6yZDhk/tree/init.el

Now, what follows is an LLM-generated changelog for release tag v0.5:

v0.5

  • Codebase restructured: lisp/backpack.el split into separate files for better maintainability

  • Anvil.el integration: New support for anvil.el with AI gear and backpack-user-after-init-hook

  • More programming languages: Added gears for Clojure, HTML, and other tree-sitter grammars

  • Consult gear: New gear for consult integration

  • Pin grammar revisions by libtree-sitter ABI instead of Emacs version

  • backpack-treesit-recipe! now inherits grammar recipes correctly

  • Fixed tree-sitter-go pinned to revision matching Emacs 30.2

  • Use :until-abi for new language gears

  • Do not install markdown-ts-mode in Emacs 31+ (built-in)

  • Corfu: terminal support, two new behavioral flags, auto-idle improvements

  • Eldoc-box: works in daemon mode, fallback for terminal, dismiss with C-u C-h .

  • Eglot hover behavior restored with flag to disable

  • Initial YAML LSP protocol extensions for eglot

  • Workspace configuration for YAML LSP

  • TAB cycles indentation in yaml-ts-mode

  • Fix mu4e gear

  • Fix inventory :when gates skipping -prefixed guard checks

  • Catch packages that fail to install and report why

  • Catch throw when backpack ensure hangs

  • Fix frame persistence when 2 frames remain

  • drive-conf ignores envrc-related files

  • Close window when eshell/eat/vterm exits

  • Toggle shell buffers correctly

  • Improved org-mode support and appearance (#17)

  • Improved dired support

  • Magit project status eagerly added to project-switch-commands

  • Added manual test preparation script

  • Removed persistence.el (frame state persistence feature dropped)


I invite you to give Backpack a try and tell me what you think and how I can improve on it. The downside of being the only user is that I can accommodate Backpack for other usages that people have!

Edit

oh, and yes, I made amends in the source code to avoid envrc loading when it exists at backpack-emacs-dir (the equivalent of user-emacs-directory in Backpack), something annoying and that people may find uncomfortable to have there in their machines.

reddit.com
u/No_Cartographer1492 — 5 months ago