0x1.pt
atom
0x1
0x1.pt · English
Software engineer. Built healthcare and recruitment software. Interested in finance, economics and policy.
atom
- Last post
- Sep 6, 2026
- Posts in 24 h · 7 days · 30 days
- 0 · 0 · 1
- Our last check
- Answering
- Served from
- Brazil
- Site title
- Vitor Sousa Pereira
- Text score at discovery
- 6,320
- Format
- atom
Posts
What our queue read from this feed. Open one to read it here, or go to the site that published it.
- From Jekyll to a POSIXish Static Site Generator
Sep 6, 2026 · original
I started this blog back in 2021 and it has been generated by Jekyll since then. As far as personal tech blogs go, that’s probably a record. These days I don’t use Ruby to write code I own so having to keep it around and up-to-date just for this was more trouble than I was willing to go through. I considered replacing it with gojekyll . It implements just enough of Jekyll for things to work and, like the name implies, it’s written in Go. That means it’s faster and you can just download a binary and drop it into your bin/ directory to have it working. That seemed like the best route but then I remembered a limitation of Jekyll that I didn’t like: the fact you can only have a single collection of posts. So, I can’t have two “blogs” on the same instance. Also, I wanted a more interesting solution. So, instead, I decided to whip up a couple of LLMs to build myself something nice. Based on my - The Insanity of Being a Software Engineer
Apr 6, 2025 · original
Is something I think about often because I can’t help but wonder if most other jobs are like this. Being a software engineer is tough. You need to know a couple of programming languages and tools right from the get-go. But that won’t cut it. Companies expect you to know whatever particular framework they use. That might be Rails or Django or Laravel or something else. You’ll also need CSS. It’ll take you a lifetime to learn — and you still won’t know why the layout’s breaking — but knowing just enough to get by is feasible. It’s unlikely that you won’t have to deal with JavaScript. Maybe you’re lucky and you just need to sprinkle in the occasional jQuery in the legacy app you’re maintaining. But things change. At some point, the people at Facebook built React. Turns out that company with tens of thousands of engineers had two specialties all along: front-end and back-end. The programming - Leituras Recentes — Janeiro 2025
Jan 4, 2025 · original
A Intendência-Geral do Orçamento de Nuno Ivo Gonçalves – Relata a história da Intendência-Geral do Orçamento, uma instituição criada para avaliar a correcção económica das propostas de lei. A instituição foi concebida em 1929 mas nunca deixou o papel. Até hoje, as suas competências não estão atribuídas a qualquer outra instituição, para grande prejuízo da nossa economia. O livro é extraordinariamente académico e tem imensas transcrições de leis, correspondência e afins. Alfredo da Silva: Biografia de Miguel Figueira de Faria – Biografia do mais conhecido industrialista Português, o homem que fundou a Companhia União Fabril (CUF), a Tabaqueira, entre outras. A CUF ainda existe hoje, se bem que muito diferente. O que achei mais impressionante foi que Alfredo da Silva fundou e geriu muitas das suas empresas em tempos de grande agitação civil e política. Também as geriu à distância durante a - Review: 25 de Novembro sem Máscara
Dec 15, 2024 · original
Em 1979, uns escassos 5 anos depois do 25 de Abril de 1974, o Alm. Pinheiro de Azevedo publicou o 25 de Novembro sem Máscara. Não obstante não ser um figura histórica particularmente conhecida, Pinheiro de Azevedo esteve envolvido em praticamente todo o período revolucionário. Aderiu ao MFA e participou no 25 de Abril. Foi membro da Junta de Salvação Nacional e do Concelho da Revolução. Tomou posse como Primeiro-Ministro no VI Governo Provisório, cargo este que exercia quando se deu o 25 de Novembro. O episódio mais conhecido em que esteve envolvido foi o do Cerco à Assembleia Constituinte, 1 quando por volta de 100 000 manifestantes sequestraram o Governo e os Deputados. Terminado o cerco, o Almirante foi entrevistado e aí declarou, com uma postura praticamente casual, as palavras que o imortalizaram como o Almirante sem Medo : Estou farto de brincadeiras (…) Fui sequestrado. Já duas ve - Review: As Causas do Atraso Português
May 22, 2024 · original
O Professor Nuno Palma, da Universidade de Manchester, escreve-nos uma versão da história económica portuguesa mais moderada, preocupada em desfazer noções e interpretações sobre o nosso passado que não são correctas. Nas palavras de João Miguel Tavares, o livro é “uma máquina de triturar mitos.” Sintetizo aqui alguns daqueles que mais me disseram. O primeiro, sobre o Marquês de Pombal. Um homem tido, por norma, como progressista, à frente do seu tempo e um ditador iluminado. Este deu, no entanto, início ao atraso educativo do país ao expulsar os jesuítas – que regiam a maior parte das escolas, na altura – sem implementar um sistema de ensino alternativo. Atraso educativo este do qual, ainda hoje, não recuperámos. Seguindo para a Primeira República, tida como o início da nossa democracia e violentamente interrompida pelo reaccionarismo do Estado Novo. O autor descreve que estes foram ano - Fundos de Pensões e PPR/OICVM
Feb 25, 2024 · original
Os Planos Poupança Reforma (PPR) são um dos investimentos de excelência a longo prazo, em Portugal, dadas as suas vantagens fiscais significativas. Existem imensos PPR à escolha e inúmeras análises destes. Não serão, no entanto, muitos os que saberão que, na verdade, a designação casual “PPR” não se refere a um mas a dois tipos de produtos diferentes: os Fundos de Pensões e os PPR/OICVM. Fundos de Pensões Regulados pela Autoridade de Supervisão de Seguros e Fundos de Pensões (ASF). Geridos por sociedades gestoras de fundos de pensões. Só é permitido o resgate atingida a reforma ou os 60 anos de idade. 1 O resgate é feito através de pensões com periodicidade mensal. Se previsto no plano de pensões, pode ser pedido o reembolso de um terço do capital na primeira mensalidade. Taxa sobre as mais valias de 8%, no resgate. Não existe restrição no tipo dos activos constituintes do fundo. Não é p - Review: Politics is for Power
Jan 3, 2024 · original
This book made me think about what it really means to participate in politics. Not for the ones in power, but for the rest of us. Eitan Hersh establishes a difference between “political hobbyism” and doing real politics. Political hobbyism is what most of us do. At cafés, dinner tables and online we have really long discussions about the latest political scandals or whether a certain policy suggested by a certain party really, really fits into the party’s ideology and how we really, really don’t like that ideology. The author affirms this isn’t really doing politics because, to sum up, it achieves absolutely nothing — which I agree with. How many times have you changed the way you intended to vote because a friend made a passionate and knowledgeable speech about the party or candidate they support? Real politics is about acquiring power. It’s about multiplying your vote. It’s about picki - Trying out C++20’s modules with Clang and Make
Oct 15, 2023 · original
Edit (26/01/2024): As some people have pointed out on Hacker News , the Makefile I show below fails to properly track dependencies in several scenarios. Lexi Winter has a repository on SourceHut showing how to implement correct dependency tracking with BSD Make. Header files are a relic from the past. No modern programming language has an equivalent concept. As far as I know, header files came to be because when C was built disk space was at a prime and storing libraries with their full source code would be expensive. Header files included just the necessary to be able to call into the library while being considerably smaller. C++20’s modules are C++’s attempt to do away with header files and implement traditional modules like most programming languages. Both MSVC and GCC implement modules, at least partially, but I usually reach for Clang so let’s give it a try. Here’s some annotated so - Subscriber Only: A Technical Post Mortem
Aug 8, 2023 · original
Around 3 months ago, I launched a service called Subscriber Only . Due to lack of users, I’m shutting it down. Such is life. I’m making all of the code I wrote public. Get it while it’s fresh from GitHub. https://github.com/subscriber-only/subscriber-only Here’s a couple of interesting things I did and learned while working on it. Overview Subscriber Only (SO) allows writers to tag certain posts on their Jekyll blog as gated/premium/paid and then figures out if the reader should or should not have access to the said post. It handles all the machinery needed to maintain subscriptions. It’s kind of like Substack, Patreon or OnlyFans. It poses a unique challenge, when compared to the mention sites, because the content is served from the writer’s own hosting on their own domain and not a centralized place (sort-of). Here’s how I went about solving this. First, there’s a Jekyll plugin that ho - More Bang for Your Buck
Jul 15, 2023 · original
Defining an API is one of the hardest challenges a software engineer has to go through. You’ll invariably have to take several guesses in regards to how the API will be used and how it will evolve, making it as future-proof as you can, or risk having to redo it with a v2 prefix and doubling your maintenance effort. I’ve read a lot of posts on the art of API-defining but I haven’t ever read one which proposes a method, which doesn’t always work but perhaps should be implemented when it can, and which is skipping the challenge altogether and not defining an API. Here’s what I mean. Let’s consider the most basic GET request on an MVC-style server-rendered application. There’s essentially three steps. A request is made to /resource/1 . The controller fetches the model with ID 1 from the database. The view takes the model and uses it to render whatever is needed. Now, here’s the same thing in
Discovered by the rss-feed-index crawler, which checks each feed at most once a month.
Same record as JSON: https://api.agentalog.com/api/feeds/fd_0x1_pt_add03d11558de305. More from this site: 0x1.pt in the Feeds tab.