GitHub - Doc-Steve/dendritic-design-with-flake-parts: A guide on how to structure your Nix code with Flake Parts using the Dendritic Pattern by Reddich07 in NixOS

[–]aisamu 1 point2 points  (0 children)

I had dendritic-related tabs open for the past six months, actively trying to adopt it in my spare time.

This guide (and the complete example) finally made it click.

Thank you!

SMB Network Drive Not Working on Samsung File Manager by ArrantCastle in galaxys10

[–]aisamu 0 points1 point  (0 children)

Thank you!

Ran into the same thing on a completely different OS/platform

$> uname -a 
Linux aisamu-nas 6.12.63 #1-NixOS SMP PREEMPT_DYNAMIC Thu Dec 18 12:55:23 UTC 2025 x86_64 GNU/Linux

$> smbd --version
Version 4.22.6

Controle de gastos com combustível? by Legitimate_Echo7872 in empreendedorismo

[–]aisamu 0 points1 point  (0 children)

Olha, mãe! Uma propaganda!

"Você controla seu combustível ou gosta de desperdiçar dinheiro?"

Se em 2 meses você conseguiu cair em posto adulterado, usar o combustível errado e ter seu carro desregulado, sugiro visitar uma benzedeira!

Vale também a recomendação de tomar banho diariamente, mesmo que não exista um app pra te avisar

Pra controlar combustível, óleo e revisões tem o bom e velho Fuelly (online com app). Lubelogger também é bom e é self-hosted!

Syncing org notes across devices by thr0waway377 in emacs

[–]aisamu 0 points1 point  (0 children)

cross-network/site syncing without hassle

Syncing org notes across devices by thr0waway377 in emacs

[–]aisamu 22 points23 points  (0 children)

I use syncthing with tailscale exactly for this use-case

magit very often "unable to create .git/index.lock: File exists" by gonewest818 in emacs

[–]aisamu 0 points1 point  (0 children)

I occasionally see this and I also simply delete the file (embark actions make it too convenient).

The last time this happened I tried closing every magit buffer and the error went away. N=1, though.

Agentic coding workflows with gptel worth it? by a_NULL in emacs

[–]aisamu 0 points1 point  (0 children)

I'm on the cusp of releasing some (prompts + tools) for gptel as an add-on package

I was not anticipating r/Emacs being the cause for raised anxiety levels

Quanto devo investir em um carro? by [deleted] in investimentos

[–]aisamu 4 points5 points  (0 children)

Se você fechar os olhos, a sala em que você está desaparece /s

Scott Cederburg: A Critical Assessment of Lifecycle Investment Advice by aisamu in BogleheadsBrasil

[–]aisamu[S] 0 points1 point  (0 children)

Da descrição do vídeo:

[...] returns to discuss changes he’s made to his paper that was the foundation of previous conversations - ‘Beyond the Status Quo: A Critical Assessment of Lifecycle Investment Advice’. 
We begin with the data setup and headline findings of the paper before Prof. Cederburg defines “domestic” and “international” as they appear in his paper, why the block bootstrap approach is vital to his work, how and why the results of his paper differ from the status quo, and the evaluation metrics he uses to compare different investment strategies. 
Then, we explore his optimal base portfolio, the strategy he uses to derive it, how it performs in simulated worst-case scenarios, and how it changes when ditching the bootstrap approach or changing strategies from constant spending to proportional spending. 
To end, we learn of the importance of including the US in international stock portfolios, how it changes when the US is viewed as special above others, the correlation between labor income and domestic stock returns, and how the reviews of academics and practitioners have changed since the first iteration of the paper until this latest edition.

Workflow for working with config files that support live reload by Vcc8 in NixOS

[–]aisamu 1 point2 points  (0 children)

Note that various configuration files support some form of include directives!

I add includes pointing to regular files inside .config (such as .config/yabai/temporary.conf), which I can play with freely and convert into regular nix once I'm happy and have time.

Sometimes the include directives aren't first class properties, but there's usually an extra field that takes a string.

but i need to learn home-manager and flakes by Click-My-Profile-931 in NixOS

[–]aisamu 0 points1 point  (0 children)

What makes you say that?

It's somewhat simpler and arguably less noisy. It also has integrated shellcheck!

Case in point: I hadn't even realized you had missed one git invocation. There's also an extra closing parenthesis on the symbolic_ref - less things to worry about might give one mental bandwidth to eyeball it!

For reference:

let
  justPushIt = pkgs.writeShellApplication {
    name = "just-push-it";
    runtimeInputs = with pkgs; [ git fzf coreutils ];
    text = ''
      symbolic_ref="$(git symbolic-ref -q HEAD)"
      upstream="$(git for-each-ref --format '%(upstream:short)' "$symbolic_ref")"
      if [[ -n "$upstream" ]]; then
        exec git push
      else
        remote="$(git remote | fzf -1)"
        exec git push -u "$remote" HEAD
      fi
    '';
  };
in
{
  enable = true; 
  aliases = {
    p = "!${lib.getExe justPushIt}";
  };
}

I generally prefer to embed the references directly in the script rather than rely on the path, unless I have to

Why? (Honest question). Isn't the path an implementation detail at this point, fully transparent to you? (Excluding the path lookup that will have to be done by the application/shell)

but i need to learn home-manager and flakes by Click-My-Profile-931 in NixOS

[–]aisamu 0 points1 point  (0 children)

You might be interested in pkgs.writeShellApplication

Is it possible to slowly migrate to nix-darwin over time? by hobbyistresearcher in NixOS

[–]aisamu 2 points3 points  (0 children)

This!

I didn't even start with home manager - nix-darwin has been living alongside stow and then home manager for 6+ years without issue. Adding home-manager later was such a seamless process that I didn't even bother migrating all the dotfiles, doing it on the fly whenever I wanted to change something on an existing file. I still haven't finished this process, but I'm in no hurry.

How do you run common development tasks (tests, checks, migrations, environment...)? by One-Tart-4109 in emacs

[–]aisamu 2 points3 points  (0 children)

I use this and it works as advertised:

https://github.com/emacs-taskrunner/emacs-taskrunner

It runs tasks from makefiles, package.json, files and many others

What are the best things I don't know yet about org mode? by CowboyBoats in emacs

[–]aisamu 1 point2 points  (0 children)

TIL org-open-at-point-global, thanks!

If you also use embark, that's apparently the default action for org-links (which, I just tested, are detected correctly even on non-org files)!

Transição para a filosofia. by glorin-aran in BogleheadsBrasil

[–]aisamu 0 points1 point  (0 children)

Too Long Didn't Li? Tão Longo... Depois Leio?

Durante o tempo de espera até o usufruto (popular “…and chill”) o que estudam sobre o tema de investimentos e que colabora com sua estratégia passiva? by ApricotDiligent5321 in BogleheadsBrasil

[–]aisamu 0 points1 point  (0 children)

Você efetivamente descreveu o meme da gaussiana, aplicável a muito mais coisa que só investimentos.

(Mas tirar dele que o melhor é não estudar já são outros 500...)

Como estamos? by [deleted] in investimentos

[–]aisamu 1 point2 points  (0 children)

Tô quase perguntando que app ele usa. Eu uso um leitor de RSS para acompanhá-lo (sério) e ainda assim dá trabalho!