2026-02-13 ¯¯¯¯¯¯¯¯¯¯ 1. Furigana (escrita japonesa entre linhas). furigana { position: absolute; text-transform: uppercase; font-size: 0.75rem; transform: translateY(-1rem); } 2. Carl Sagan nine principles to detect BS science Wherever possible there must be independent confirmation of the “facts.” Encourage substantive debate on the evidence by knowledgeable proponents of all points of view. Arguments from authority carry little weight — “authorities” have made mistakes in the past. They will do so again in the future. Perhaps a better way to say it is that in science there are no authorities; at most, there are experts. Spin more than one hypothesis. If there’s something to be explained, think of all the different ways in which it could be explained. Then think of tests by which you might systematically disprove each of the alternatives. Try not to get overly attached to a hypothesis just because it’s yours. It’s only a way station in the pursuit of knowledge. Ask yourself why you like the idea. Compare it fairly with the alternatives. See if you can find reasons for rejecting it. If you don’t, others will. If whatever it is you’re explaining has some measure, some numerical quantity attached to it, you’ll be much better able to discriminate among competing hypotheses. What is vague and qualitative is open to many explanations. If there’s a chain of argument, every link in the chain must work (including the premise) — not just most of them. Occam’s Razor. This convenient rule-of-thumb urges us when faced with two hypotheses that explain the data equally well to choose the simpler. Always ask whether the hypothesis can be, at least in principle, falsified…. You must be able to check assertions out. Inveterate skeptics must be given the chance to follow your reasoning, to duplicate your experiments and see if they get the same result. 2026-02-12 ¯¯¯¯¯¯¯¯¯¯ 1. Tecnically a blog - https://www.ntietz.com/blog/ Interessou-me particularmente a defesa da utilização de um caderno de engenharia semelhante ao caderno de laboratório. Tem também outros posts muito interessantes de ler. 2026-02-10 ¯¯¯¯¯¯¯¯¯¯ 1. PDFJAM - manipulate PDFs files like they are easy to manipulate. https://github.com/pdfjam/pdfjam 2026-02-09 ¯¯¯¯¯¯¯¯¯¯ Hate thy Neighbour as Thyself: https://substack.com/@snyder/p-187014357 2026-02-03 ¯¯¯¯¯¯¯¯¯¯ Social media ban for under 15/16 and the dark clouds of Elon are under scrutiny in France. Time to push for many other countries in EU to STOP the wild west that Social Media is. https://www.theguardian.com/technology/2026/feb/03/french-headquarters-elon-musk-x-raided-paris-cybercrime-unit 2026-01-26 ¯¯¯¯¯¯¯¯¯¯ def fp(a): for i,e in enumerate(a): if i==e: return i elif e>i: return False return False 2026-01-25 ¯¯¯¯¯¯¯¯¯¯ To explore tomorrow: https://gwern.net/index 2026-01-22 ¯¯¯¯¯¯¯¯¯¯ Vim-Completion: https://georgebrock.github.io/talks/vim-completion/ Video at: https://www.youtube.com/watch?v=3TX3kV3TICU 2026-01-21 ¯¯¯¯¯¯¯¯¯¯ Karabiner-Elements rule: { "description": "Change caps_lock to left_control. (Post ESC if pressed alone)", "manipulators": [ { "from": { "key_code": "caps_lock", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "left_control" }], "to_if_alone": [{ "key_code": "escape" }], "type": "basic" } ] } 2026-01-12 ¯¯¯¯¯¯¯¯¯¯ Date to 3 letter code and back *valid* until 2048 #!/usr/bin/env python3 from datetime import date, datetime, timedelta import sys START_DATE = date(2000, 1, 1) # reference date for encoding def encode_date(d: date) -> str: """Encode a date to 3 letters (a=0..z=25).""" delta_days = (d - START_DATE).days if delta_days < 0 or delta_days >= 26**3: raise ValueError("Date out of range for 3-letter encoding") letters = "" for _ in range(3): delta_days, rem = divmod(delta_days, 26) letters = chr(ord('a') + rem) + letters return letters def decode_date(s: str) -> date: """Decode 3 letters back to a date.""" if len(s) != 3 or not all('a' <= c <= 'z' for c in s): raise ValueError("Input must be exactly 3 letters a-z") delta_days = 0 for c in s: delta_days = delta_days * 26 + (ord(c) - ord('a')) return START_DATE + timedelta(days=delta_days) def main(): if len(sys.argv) == 1: # No argument: use today d = date.today() print("Today:", d) print("3-letter code:", encode_date(d)) else: arg = sys.argv[1] if len(arg) == 3 and arg.isalpha() and arg.islower(): # 3-letter input → decode decoded = decode_date(arg) print(f"3-letter code '{arg}' → date:", decoded) else: # Try to parse as YYYY-MM-DD → encode try: d = datetime.strptime(arg, "%Y-%m-%d").date() code = encode_date(d) print(f"Date {d} → 3-letter code:", code) except ValueError: print("Invalid input. Use 'YYYY-MM-DD' or 3 lowercase letters.") sys.exit(1) if __name__ == "__main__": main() 2026-01-05 ¯¯¯¯¯¯¯¯¯¯ Neural Networks: Zero to Hero https://karpathy.ai/zero-to-hero.html Many links to videos on Neural Networks that form a comprehensive course on Neural Networks. More than 12h of good content. 2026-01-04 ¯¯¯¯¯¯¯¯¯¯ “21 Lessons from 14 years at Google” https://addyosmani.com/blog/21-lessons/ Very interesting read. Some are specific to engineering, many apply to many contexts of life. 2026-01-02 ¯¯¯¯¯¯¯¯¯¯ Another text alternative websites. https://shkspr.mobi/blog/2025/12/a-small-collection-of-text-only-websites/ Well, here people can do the same thing. just replace .html with .txt in the address. 2025-12-29 ¯¯¯¯¯¯¯¯¯¯ I use firefox for most of my stuff and honestely I want speed. So I don't want any downloadable fonts. I disable the download of them all together going to: about:config and setting gfx.downloadable_fonts.enabled to false That's it. Done. 2025-12-21 ¯¯¯¯¯¯¯¯¯¯ The debate of 1,2,3,4,5, 8 spaces for indentation is a lost cause, but lately I'm joining the 8 spaces for indentation (or even a tab, no spaces). The reason is simple: More white space, implies clarity and easy understanding of the indentation. 1 or 2 spaces are too short. 3 is strange because markdown needs 4 for code blocks, so I'd go with 4 even if 3 looks nicer sometimes. Fortran's fprettify uses 3 and the code is very legible, and I'm torn about between 3 and 4 4 is the first usable one. 5 is good for text (not markdown) if you are old enough to have used typewriters. 8 is for beautiful code with readability in mind (mainly with c style —using {}— code and python) 2025-12-12 ¯¯¯¯¯¯¯¯¯¯ Great AoC this year. Another reading: Python for sripting everyting. Makes some sense, mainly if switching between Mac and Linux constantly. https://hypirion.com/musings/use-python-for-scripting 251114 ¯¯¯¯¯¯ How to find the biggest brew installed packes: brew list | xargs brew info | egrep --color '\d{3}\.\d*(MB)' In the regular expression start with GB, then MB and eventually change the \d{3} to \d*. 251110 ¯¯¯¯¯¯ When using Deskflow, Terminal (when using "Secure Keyboard Entry") will block the sending of keyboard keys to the 2nd computer preventing you from writing. In doubt check the running log on the client. Mouse still works. 251107 ¯¯¯¯¯¯ A small script to build HTML presentations: let a=[...document.getElementsByClassName("slide")].map((a,b)=>[ a,"slidenote"==(b=a.nextElementSibling)?.className?b:a]),b=0,c=0, d=()=>a[b][c].scrollIntoView(),e=new BroadcastChannel("s"),l=a. length-1;d();e.onmessage=({data:a})=>{c^=a.c,b=a.b,d()};document. addEventListener("keypress",({key:f})=>{b+=(f=="j")-(f== "k");b=b<0?0:b>l?l:b;c^=f=="n";e.postMessage({c,b});d()}) 251103 ------ Recurso para programação rápida e exemplos um pouco melhor que o codepen em termos de ter 2 paineis lado a lado (parece francês? o que também é bom) https://www.codepuzzle.io/ 251030 ------ Autopoietic Mutualism Qual o futuro dos sistemas IA+Humanos? https://utopai.substack.com/p/autopoietic-mutualism 251024 ------ Arduino tutorials: https://randomnerdtutorials.com/25-arduino-shields/   251018 ------ Free ebooks foundation https://github.com/ebookfoundation Very interesting: https://unplannedobsolescence.com/blog/what-dynamic-typing-is-for/ HTMX, DSL, Webdev... very good position that I totally agree with. 251013 ------ Prompts for LLMs Meet me where I am (Vygotsky's theory of zone of proximal development): Gauge my understanding from what I write. If unclear, ask one question about my current knowledge level, then proceed. This one is amazing to have excelent “conversations” with the machine. 251013 ------ Omarchy Arch based Hyprland - tiling window manager Install: Download ISO https://omarchy.org/ Burn to USB with Balena https://etcher.balena.io/ Boot - Profit. Manual https://learn.omacom.io/2/the-omarchy-manual Ditching Windows 10 Microsoft will ditch Windows 10 tomorrow as a measure to push the sell of new AIed computers. I still have one machine (A Lenovo E15) that is very capable still running Windows 10. It was previously with Ubuntu but it will go back to Linux soon. I'll do the switch back to Linux on that machine during Xmas 2025. And I'll try out Omarchy[1]. [1]: https://omarchy.org/ 251011 ------ Arrays count occurences if you have an array A=[1,1,1,3,4] and want to count the number of 1s in A... in python A.count(1) in julia count(i->(i==1), A) hm... better for some things where your condition is more complex, but if you write count(1, A) it doesn't default to "equality" and crashes. in C ... iterate over the array and sum those occurrences up? What? Isn't there a better way? Using `at` on the mac Do this first: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist Being Pedantic alias dcc='gcc -Wall -Werror -Wpedantic -Wextra -std=c99' C resources https://en.cppreference.com/w/c/language.html https://www.cprogramming.com/ https://www.iso.org/standard/82075.html https://gcc.gnu.org/ Why C? Tried many languages, but end up returning to C even if it cuts you up sometimes. Think I'll do AoC 2025 (if it goes on) in C. 251010 ------ Playing with minimal layouts. Just changed everything in this log file, so I don't have to html like there's no other thing to do. Let's see if this works. In any case this is just text with a style tag at the end. Browsers can handle all these things. 251009 Pillow (Python image library) [2]documentation 251003 Andei a mexer nos estilos da página, torná-la um pouco mais única, mais pessoal e embora não seja tão simples como antes em termos de CSS, agora está um pouco mais ‘estranha’, e isso nem sempre é uma coisa má. 251002 Para referência rápida em bash nome_ficheiro=${full_path##*/} nome_pasta=${full_path%/*} O # é match a partir da esquerda, o % é match a partir da direita, dois do mesmmo é greedy 251001 [3]Arduino as ISP Algumas boards utilizam o ATmega328PB e precisam do [4]Minicore 250930 Computer Vison? Descarreguei o livro do [5]Richard Szeliski. 1000 páginas sobre o assunto. Algo interessante irei encontrar para ler. Atractores Caóticos com visualizações muito interessantes. [6]Random Attractors Found using Lyapunov Exponents E que tal o Atractor de Hénon escrito em Julia? [7]Orbiting the Hénon Attractor 250929 A página dos comandos builtin também é muito interessante: [8]builtin Zsh commands Uma página muito interessante com documentação para os Hooks da ZSH. [9]Hook Functions Alguns one liners são mesmo interessantes: chpwd() ls TRAPERR() print -u2 ERROR, Exit code: $? No mundo atual, parece que tudo se está a partir em cacos, de repente uma loucura dirigente acha que vai mudar o mundo a murro. Onde vamos parar? Na Moldova o partido pró-europeu conseguiu manter uma maioria absoluta. Tudo o que Europa não precisava neste momento da história era o começar de uma aliança de países pró-Putin ali para os lados dos Cárpatos. 1h walk This is a simple log, no RSS, no anything. Just a simple html file that is edited directly on the servers. Sometimes I just want something that stores stuff without creating a "Post" Another entry? References 1. https://www.sixhat.net/rss.xml 2. https://pillow.readthedocs.io/en/stable/index.html 3. https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP/ 4. https://github.com/MCUdude/MiniCore 5. https://szeliski.org/Book/ 6. https://paulbourke.net/fractals/lyapunov/ 7. https://observablehq.com/@yurivish/orbiting-the-henon-attractor 8. https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html 9. https://zsh.sourceforge.io/Doc/Release/Functions.html