Skip to content

Month: October 2026

Eleições do Brasil 2026: Washington DC 2º turno

Todas as 31 seções eleitorais (100,00%) foram totalmente apuradas (seções totalizadas). De um eleitorado apto total de 18.155, o comparecimento foi de 5.437 (29,95%), enquanto as abstenções somaram 12.718 (70,05%). Houve 5.325 votos válidos, 48 votos em branco (0,88%), 64 votos nulos (1,18%) e zero votos anulados. Lula (PT – 13) recebeu 57,56% dos votos (3.065 votos). Flavio Bolsonaro (PL – 22) recebeu 42,44% dos votos (2.260 votos).

Retirado do site do TSE em https://resultados.tse.jus.br/oficial/app/index.html#/eleicao/6258/uf/zz/mu/30783/zn/0001/cargo/1/vis/nominal/resultados

Relacionado: Eleições do Brasil 2026: Washington DC 1o turno

flatten a directory structure 🥾

I often find myself in a situation where I need to flatten a directory structure. I kept reusing variants of this script to flatten a directory using find.

I rewrote that with a little cli written in Rust:

It features:

  • 10~30x faster because eliminates subprocess launching and redundant directory scans.
  • Rust native filesystem API handling already takes care of spaces, Unicode, and symbols out-of-the-box. This was the a major breaking point of the original script and its variants.
  • Safeguards against conflicts and collisions.
  • Suits of tests coverages to avoid regressions.
  • –undo, –dryrun and other special subcommands.

Leaving Flickr

I uploaded my first photo to Flickr on 2006-08-24. That’s 20 years ago. I was prized some years of free account subscription in an tech event back then. Then I became a paying customer and kept using the service to upload my digital camera photos.

It’s been a few years that I only use Flickr in a read-only mode. I use Google Photos to backup and organize photos from our phones. It’s far from perfect but it’s works for most of my use cases.

I want to try Immich in a self-hosted solution.

Eleições do Brasil 2026: Washington DC 1o turno

  • Todas as 31 seções eleitorais (100,00%) foram totalmente apuradas (seções totalizadas).
  • De um eleitorado apto total de 18.146, o comparecimento foi de 4.836 (26,65%), enquanto as abstenções somaram 13.310 (73,35%).
  • Houve 4.706 votos válidos, 72 votos em branco (1,49%), 58 votos nulos (1,20%) e zero votos anulados.
  • Lula (PT – 13) recebeu 51,40% dos votos (2.419 votos) e avançou para o 2º Turno.
  • Flavio Bolsonaro (PL – 22) recebeu 39,48% dos votos (1.858 votos) e avançou para o 2º Turno.
  • Renan Santos (MISSÃO – 14) recebeu 2,40% (113 votos).
  • Escritor Augusto Cury (AVANTE – 70) recebeu 2,36% (111 votos).
  • Ronaldo Caiado (PSD – 55) recebeu 2,32% (109 votos).
  • Zema (NOVO – 30) recebeu 1,30% (61 votos).
  • Clariana Barao (DC – 27) recebeu 0,28% (13 votos).
  • Veterinário Wilson Grassi (DEMOCRATA – 35) recebeu 0,19% (9 votos).
  • Samara (UP – 80) recebeu 0,11% (5 votos).
  • Edmilson Costa (PCB – 21) recebeu 0,08% (4 votos).
  • Hertz Dias (PSTU – 16) recebeu 0,08% (4 votos).
  • Rui Costa Pimenta (PCO – 29) recebeu 0,00% (0 votos).

Retirado do site do TSE em https://resultados.tse.jus.br/oficial/app/index.html#/eleicao/6257/uf/zz/mu/30783/zn/0001/cargo/1/vis/nominal/resultados

all files extensions in this folder

find . -type f -name "*.*" | awk -F. '{print $NF}' | sort -u

How it works:

  • find . -type f: Looks only at files (not directories) in the current folder
  • -name "*.*": Ensures it only processes files that actually have a dot (an extension).
  • awk -F. '{print $NF}': Splits the filenames by the dot and prints only the very last part.
  • sort -u: Sorts the list alphabetically and removes any duplicates.