<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Luis Campos</title><link>https://llcampos.com/</link><description>Recent content on Luis Campos</description><generator>Hugo -- 0.124.1</generator><language>en-us</language><lastBuildDate>Sun, 16 Mar 2025 11:38:41 +0000</lastBuildDate><atom:link href="https://llcampos.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Casar em Lisboa - FAQ</title><link>https://llcampos.com/posts/casar-em-lisboa/</link><pubDate>Sun, 16 Mar 2025 11:38:41 +0000</pubDate><guid>https://llcampos.com/posts/casar-em-lisboa/</guid><description>Casei muito recentemente no Registo Civil de Lisboa. Aqui está um guia de perguntas frequentes que gostaria de ter tido antes do casamento.
Como começar o processo?
Dá para fazer online e funciona bem! Depois do pagamento eventualmente ligaram-me para confirmar o horário da cerimónia. Depois de confirmado recebes um email de confirmação.
Um email! Isso quer dizer que se eu responder ao email com outras perguntas, eles vão responder? Infelizmente, não.</description></item><item><title>Criónica/Biostasis em Portugal</title><link>https://llcampos.com/posts/biostasis/</link><pubDate>Wed, 12 Jan 2022 17:22:30 +0000</pubDate><guid>https://llcampos.com/posts/biostasis/</guid><description>Nota 1: Este post assume que já sabes o que é a criónica (traduzido do inglês cryonics)/biostasis - se não sabes mas estás interessado, sugiro este vídeo de 15 mins (inglês) ou este post (inglês).
Nota 2: Vou usar a expressão biostasis no artigo em vez de criónica, porque criónica é uma palavra muito feia.
Desde há pouco tempo, residentes europeus não tinham grandes opções em relação a biostasis - as escolhas eram uma das organizações norte-americanos, Alcor e CI, ou a russa KrioRus.</description></item><item><title>Evolução das profissões representadas no parlamento Português (EN: Evolution of professions represented in the Portuguese parliament)</title><link>https://llcampos.com/posts/evolution-of-professions-portuguese-parliament/</link><pubDate>Sat, 17 Jul 2021 11:58:04 +0100</pubDate><guid>https://llcampos.com/posts/evolution-of-professions-portuguese-parliament/</guid><description>(English translation below)
Recentemente tive uma conversa com a minha namorada sobre o futuro da representação de certas profissões no parlamento Português. Mas é difícil discutir este assunto se não soubermos sequer qual é o estado actual da distribuição e como é que esta evoluiu ao longo dos anos.
Pois bem, para obter esta informação, usei os dados abertos do site oficial do parlamento Português e algumas programming skills. (Código está disponível aqui) Aqui vai o que obtive:</description></item><item><title>Investigation on Dog Tooth Brushing</title><link>https://llcampos.com/posts/dog-toothbrushing/</link><pubDate>Tue, 29 Jun 2021 17:22:31 +0100</pubDate><guid>https://llcampos.com/posts/dog-toothbrushing/</guid><description>Recently I learned that dogs also need to have their teeth brushed, to avoid some nasty health issues. Here&amp;rsquo;s my current understanding on why dog oral hygienic practices are valuable.
1 -
The main goal of tooth-brushing in dogs is to avoid periodontitis, a severe gum infection that can lead to tooth loss and other serious health complications, including
(&amp;hellip;) histologic changes in renal glomeruli and interstitium, heart and blood vessel lesions, hepatic inflammation, respiratory tract bacteria, low birth weight offspring, and early death (From Prevention of Periodontal Disease)</description></item><item><title>Film Franchises and Meaning</title><link>https://llcampos.com/posts/film-franchises-and-meaning/</link><pubDate>Sat, 29 May 2021 08:42:08 +0100</pubDate><guid>https://llcampos.com/posts/film-franchises-and-meaning/</guid><description>In A Nihilist&amp;rsquo;s Guide to Meaning Kevin Simler explains the idea that meaningful things are things that point to other things:
A thing X will be perceived as meaningful in context C to the extent that it&amp;rsquo;s connected to other meaningful things in C.
Recently this idea gave me a greater appreciation of film franchises and how they are a great source of meaning, regardless of the intrinsic quality of each film individually.</description></item><item><title>What Should We Feed Our Pets?</title><link>https://llcampos.com/posts/what-should-we-feed-our-pets/</link><pubDate>Tue, 25 May 2021 23:02:54 +0100</pubDate><guid>https://llcampos.com/posts/what-should-we-feed-our-pets/</guid><description>Review of Chapters 1, 2 and 5 of Dr. Pitcairn&amp;rsquo;s Complete Guide to Natural Health for Dogs &amp;amp; Cats</description></item><item><title>Simulação Recibos Verdes vs. Unipessoal</title><link>https://llcampos.com/posts/simulacao-recibos-verdes-vs-unipessoal/</link><pubDate>Mon, 18 Jan 2021 17:01:22 +0000</pubDate><guid>https://llcampos.com/posts/simulacao-recibos-verdes-vs-unipessoal/</guid><description>(Non-Portuguese readers: this is boring finance stuff that only applies if you live in Portugal. If you don&amp;rsquo;t, you can safely ignore it.)
(Discussão no reddit: r/literaciafinanceira, r/portugal)
(Aviso: Não confiem cegamente no que eu fiz. Não sou contabilista. Provavelmente estão aqui coisas erradas. A minha esperança é que algum contabilista fique suficientemente zangado com os meus erros para criar o seu próprio artigo/simulação).
Este artigo acompanha o spreadsheet que criei para simular os custos de ser trabalhador dependente a recibos verdes em comparação com ter uma Unipessoal.</description></item><item><title>Favorite TV shows I watched in 2020</title><link>https://llcampos.com/posts/favorite-tv-shows-i-watched-in-2020/</link><pubDate>Thu, 17 Dec 2020 18:15:00 +0000</pubDate><guid>https://llcampos.com/posts/favorite-tv-shows-i-watched-in-2020/</guid><description>Specially liked the ones in bold.
Atlanta (Seasons 1-2) Deadwood (Seasons 1-2) Dark (Seasons 1-3) The Vietnam War Our Planet The Deuce (Seasons 1-3) Mr. Robot (Season 4) The Handmaid’s Tale (Season 1-3) Curb Your Enthusiasm (Season 10) BoJack Horseman (Seasons 1-2)</description></item><item><title>Favorite music I listened to in 2020</title><link>https://llcampos.com/posts/favorite-music-i-listened-to-in-2020/</link><pubDate>Tue, 15 Dec 2020 18:13:00 +0000</pubDate><guid>https://llcampos.com/posts/favorite-music-i-listened-to-in-2020/</guid><description>Specially liked the ones in bold.
ORBS - Past Life Regression (2016) Blanck Mass - Animated Violence Mild (2019) Haken - Aquarius (2010) Haken - Visions (2011) Haken - Affinity (2016) Haken - Vector (2018) Haken - Virus (2020) VOLA - Applause of a Distant Crowd (2018) John Coltrane - Blue Train (1958) John Coltrane - My Favorite Things (1961) The John Coltrane Quartet - Africa / Brass (1961) John Coltrane - A Love Supreme (1965) 凛として時雨 [Ling Tosite Sigure] - #5 (2018) 65daysofstatic - replicr, 2019 (2019) Thelonious Monk Septet - Monk&amp;rsquo;s Music (1957) Thelonious Monk - Brilliant Corners (1957) The Thelonious Monk Quartet - Monk&amp;rsquo;s Dream (1963) Charles Mingus - The Clown (1957) Charlie Mingus - Blues &amp;amp; Roots (1960) Charles Mingus - Oh Yeah (1962) Daughters - Daughters (2010) Daughters - You Won&amp;rsquo;t Get What You Want (2018) mewithoutYou - [Untitled] (2018) Lana Del Rey - Norman Fucking Rockwell!</description></item><item><title>Favorite books I read in 2020</title><link>https://llcampos.com/posts/favorite-books-i-read-in-2020/</link><pubDate>Sat, 12 Dec 2020 18:11:25 +0000</pubDate><guid>https://llcampos.com/posts/favorite-books-i-read-in-2020/</guid><description>Specially liked the ones in bold.
The Origin of Consciousness in the Breakdown of the Bicameral Mind The Precipice: Existential Risk and the Future of Humanity The Brothers Karamazov The Tao Is Silent Algorithms to Live By: The Computer Science of Human Decisions The Elephant in the Brain: Hidden Motives in Everyday Life Getting Ahead, Getting Along, Getting Away: Ribbonfarm: The Rust Age The Other End of the Leash: Why We Do What We Do Around Dogs 12 Rules for Life: An Antidote to Chaos Hyperion The Fall of Hyperion Scale: The Universal Laws of Growth, Innovation, Sustainability, and the Pace of Life in Organisms, Cities, Economies, and Companies Seeing That Frees: Meditations on Emptiness and Dependent Arising The Gervais Principle: The Complete Series, with a Bonus Essay on Office Space The Institutional Revolution: Measurement and the Economic Emergence of the Modern World Our Mathematical Universe: My Quest for the Ultimate Nature of Reality Exhalation: Stories</description></item><item><title>Art Smarts</title><link>https://llcampos.com/posts/art-smarts/</link><pubDate>Wed, 09 Dec 2020 16:50:41 +0000</pubDate><guid>https://llcampos.com/posts/art-smarts/</guid><description>Warning: Navel gazing.
Another reaction I had after researching interpretations of I&amp;rsquo;m Thinking of Ending Things (ITOET) was felling bad I didn’t come up with any of them. Which is not surprising - I have a lot of trouble interpreting complex works of art, being it paintings, books or movies. For example, I don’t understand poetry at all. If someone starts reciting poetry to me I’m completely unable to follow, although I listen to podcasts/audiobooks at 1.</description></item><item><title>Hidden Meanings in Art</title><link>https://llcampos.com/posts/hidden-meanings-in-art/</link><pubDate>Sat, 05 Dec 2020 17:54:24 +0000</pubDate><guid>https://llcampos.com/posts/hidden-meanings-in-art/</guid><description>I recently watched the movie I&amp;rsquo;m Thinking of Ending Things (ITOEF) - I understood none of it. I mean, it was beautiful, but I was unable to come up with any plausible interpretation of what was happening and I found the ones I read on the internet really non-obvious.
This annoyed me: what’s the point of hiding the meaning so deep? If the director really wants to make an important point just make it more obvious!</description></item><item><title>How to "listen to your body"?</title><link>https://llcampos.com/posts/how-to-listen-to-your-body/</link><pubDate>Tue, 01 Dec 2020 17:33:21 +0000</pubDate><guid>https://llcampos.com/posts/how-to-listen-to-your-body/</guid><description>It’s the middle of the afternoon and you just came back home after a run. You feel a little hungry. Do you? Maybe it is just gluttony and you really want that banana with peanut butter, although you don’t actually need it. Actually, you feel a little weak and maybe the urge to eat it’s your body telling you you need some sugar. But maybe you are self-sabotaging your low-calories goals with this rationalization?</description></item><item><title>On Voting</title><link>https://llcampos.com/posts/on-voting/</link><pubDate>Sat, 28 Nov 2020 18:14:27 +0000</pubDate><guid>https://llcampos.com/posts/on-voting/</guid><description>Portuguese presidential elections are going to happen soon and this lead me to reflect (again) on the value of voting and of being engaged with national politics.
I have an aversion of having to keep up with what&amp;rsquo;s new on national news in general and national politics in particular - things move so fast that keeping up with it would be too stressful. But with the presidential elections coming in, I felt motivated to be an exemplar citizen and do a thorough research about all the candidates so that I could make an informed decision on who to vote for.</description></item><item><title>PORDATA - Alojamentos e Condições de Vidas</title><link>https://llcampos.com/posts/pordata-alojamentos-e-condicoes-de-vidas/</link><pubDate>Sat, 07 Nov 2020 15:53:28 +0000</pubDate><guid>https://llcampos.com/posts/pordata-alojamentos-e-condicoes-de-vidas/</guid><description>(Este texto faz parte da minha exploração da PORDATA – uma base de dados relacionados com Portugal)
Não tinha ideia de que a construção de casas diminuiu tanto desde 2002. Nesse ano foram construídas aproximadamente 9 vezes mais casas do que em 2019.
Adoro este gráfico:
A percentagem de agregados com uma arca congeladora subiu ~10% entre 2000 e 2005&amp;hellip; e desceu outra vez ~10% até 2010. O que raios aconteceu aqui?</description></item><item><title>PORDATA - Receitas e Despesas do Estado</title><link>https://llcampos.com/posts/pordata-receitas-e-despesas-do-estado/</link><pubDate>Sat, 31 Oct 2020 15:27:37 +0000</pubDate><guid>https://llcampos.com/posts/pordata-receitas-e-despesas-do-estado/</guid><description>(Este texto faz parte da minha exploração da PORDATA – uma base de dados relacionados com Portugal)
Algumas curiosidades:
O IVA é responsável por uma maior parte da receita do estado do que o IRS, que por sua vez dá mais receita que o IRC. Gráfico aqui:
Os próximos dois gráficos vêm daqui.
Acção e segurança social é a área onde o Estado gasta mais per capita, seguido de Saúde e Educação:</description></item><item><title>PORDATA - Library users per year</title><link>https://llcampos.com/posts/pordata-library-users-per-year/</link><pubDate>Sun, 25 Oct 2020 17:25:02 +0000</pubDate><guid>https://llcampos.com/posts/pordata-library-users-per-year/</guid><description>(This is part of my explorations of PORDATA – A Portuguese open data database)
This plot really really surprised me:
It shows the permilage of people in Portugal who are library users. Checkout that 2003&amp;rsquo;s number. An astonishing 82.6% of the population was going to libraries! This sounds too much to me. I don&amp;rsquo;t think I know anyone who goes to libraries. But I guess that 2020 is a really different world than 2003.</description></item><item><title>PORDATA - Hours of Work Per Week</title><link>https://llcampos.com/posts/pordata-hours-of-work-per-week/</link><pubDate>Sun, 18 Oct 2020 10:04:33 +0000</pubDate><guid>https://llcampos.com/posts/pordata-hours-of-work-per-week/</guid><description>(This is part of my explorations of PORDATA - A Portuguese open data database)
This surprised me:
It shows the average of weekly work hours for people who work for some employer (vs. being self-employed). Since the last methodology change (that&amp;rsquo;s what those dark symbols represent) in 2011 the average diminished by 0.9 hours. There was a decrease in all jobs categories.
This happens for both genders:
(Dark orange are males, light orange are females)</description></item><item><title>PORDATA - Marriages per year</title><link>https://llcampos.com/posts/pordata-marriages-per-year/</link><pubDate>Sat, 17 Oct 2020 18:51:05 +0000</pubDate><guid>https://llcampos.com/posts/pordata-marriages-per-year/</guid><description>(This is part of my explorations of PORDATA - A Portuguese open data database)
Here is the plot of total number of marriages per year.
Interesting things:
Number of marriages per year decreased from ~70.000 in 1960 to ~33.000 in 2019, even though population has increased. Number of marriages per year increased by 20.000 (!) from 1974 to 1975. This is probably somehow related with the fall of the Portuguese dictatorship in 1974 that lead to the immigration of more than 300.</description></item><item><title>Scala: Using circe and newtype to decode JSON with a field with variable type</title><link>https://llcampos.com/posts/scala-using-circe-and-newtype-to-decode-json-with-a-field-with-variable-type/</link><pubDate>Sun, 06 Sep 2020 17:54:29 +0000</pubDate><guid>https://llcampos.com/posts/scala-using-circe-and-newtype-to-decode-json-with-a-field-with-variable-type/</guid><description>Here&amp;rsquo;s one way you can quickly decode a JSON using circe:
import io.circe._ import io.circe.generic.semiauto.deriveDecoder import io.circe.literal._ case class Example(id: String, field1: String) object Example { implicit val circeDecoder: Decoder\[Example\] = deriveDecoder\[Example\] } val exampleJsonIdAsString: Json = json&amp;#34;&amp;#34;&amp;#34;{ &amp;#34;id&amp;#34;: &amp;#34;12345&amp;#34;, &amp;#34;field1&amp;#34;: &amp;#34;something&amp;#34; }&amp;#34;&amp;#34;&amp;#34; val example = exampleJsonIdAsString.as\[Example\] println(example) This prints Right(Example(12345,something)).
This all works well if the types of the JSON fields are predictable. But what if you&amp;rsquo;re consuming some API that you don&amp;rsquo;t control and the same field sometimes comes with different types?</description></item><item><title>TIL: Circe JSON decoding for sealed trait hierarchies</title><link>https://llcampos.com/posts/til-circe-json-decoding-for-sealed-trait-hierarchies/</link><pubDate>Tue, 11 Aug 2020 16:10:41 +0000</pubDate><guid>https://llcampos.com/posts/til-circe-json-decoding-for-sealed-trait-hierarchies/</guid><description>import io.circe.generic.auto._ import io.circe.parser.decode sealed trait Thing1 case class SubThing1(a: Int) extends Thing1 decode[Thing1](&amp;#34;&amp;#34;&amp;#34;{&amp;#34;SubThing1&amp;#34;: {&amp;#34;a&amp;#34;: 1}}&amp;#34;&amp;#34;&amp;#34;) // Returns Right(SubThing1(1)) decode[SubThing1](&amp;#34;&amp;#34;&amp;#34;{&amp;#34;a&amp;#34;: 1}&amp;#34;&amp;#34;&amp;#34;) // Returns Right(SubThing1(1))</description></item><item><title>FAQ - IRS e ETFmatic</title><link>https://llcampos.com/posts/irs-e-etfmatic/</link><pubDate>Wed, 08 Apr 2020 16:56:57 +0000</pubDate><guid>https://llcampos.com/posts/irs-e-etfmatic/</guid><description>Update 2023: A OneFinance torna desnecessário a maior parte da versão antiga do artigo.
O único passo que ainda pode ser automatizado é a conversão das transacções obtidas na ETFMatic para um formato aceite pela OneFinance.
Colocar transacções da ETFMatic no OneFinance Obter ficheiro .csv da ETFMatic Ir à secção &amp;ldquo;What&amp;rsquo;s been happening?&amp;rdquo;
Carregar &amp;ldquo;Download trades&amp;rdquo;.
Transformar ficheiro da ETFMatic para o formato aceite pela OneFinance Usando este script.
python irs/etfmatic/convert_etfmatic_transactions_to_onefinance_format.</description></item><item><title>Nootropics</title><link>https://llcampos.com/posts/nootropics/</link><pubDate>Fri, 08 Feb 2019 11:52:43 +0000</pubDate><guid>https://llcampos.com/posts/nootropics/</guid><description>In August 2018 I started to experiment with nootropics. This page will record some of the results. I will not describe the nootropics in question since that information can be found in many places online.
Caffeine L-theanine I was excited about this one. I was never a coffee drinker, so never been high on caffeine. To my disappointment, I think caffeine doesn&amp;rsquo;t have an effect on me and I&amp;rsquo;m not the only one.</description></item><item><title>Portuguese Local Elections - Ballot Order Effects</title><link>https://llcampos.com/posts/ballot-order-effects-in-portuguese-local-elections/</link><pubDate>Fri, 21 Apr 2017 09:53:31 +0000</pubDate><guid>https://llcampos.com/posts/ballot-order-effects-in-portuguese-local-elections/</guid><description>I&amp;rsquo;ve read somewhere that, in elections, the position of a candidate in the ballot affects how much votes are cast for her. Does this happens in the Portuguese Local Elections for câmara municipal? Let&amp;rsquo;s take a look.
Unfortunately, I can only find computer-readable data on ballot order for the 2013 elections. There is a PDF with this information for 2005, but my efforts to automatically extract data from the document were in vain (I tried some Python PDF extraction tools).</description></item><item><title>Portuguese Local Elections - Municipalities with more enrolled voters have a higher percentage of abstention</title><link>https://llcampos.com/posts/portuguese-local-elections-municipalities-with-more-enrolled-voters-have-a-higher-percentage-of-abstention/</link><pubDate>Wed, 12 Apr 2017 11:25:02 +0000</pubDate><guid>https://llcampos.com/posts/portuguese-local-elections-municipalities-with-more-enrolled-voters-have-a-higher-percentage-of-abstention/</guid><description>2021 EDIT: Originally there were images in this post, but they were lost to the ravages of time.
Currently I’m getting into Data Science and as way to practice I’m exploring data on previous Portuguese Local Elections. One interesting thing that I found is that municipalities with a higher number of voters enrolled also have a higher percentage of people not voting. There seems to be some kind of inverse exponential relationship.</description></item><item><title>About Me</title><link>https://llcampos.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://llcampos.com/about/</guid><description>Indoor enthusiast. I like other people (specially my girlfriend) and to dance to swing music with them. :) You can contact me at luis.filipe.lcampos@gmail.com.
GitHub
LinkedIn
RYM
Goodreads</description></item><item><title>Open Questions</title><link>https://llcampos.com/open-questions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://llcampos.com/open-questions/</guid><description>Health What is the long-term evolution of untreated ulcerative colitis with just mild symptoms? Does it tend to get worse? Or do people just have bloody stools throughout their lives without anything bad happening beyond that? Because of the mild symptoms these people might not go see the doctor and so these cases go undocumented. Other Why doesn&amp;rsquo;t Lisbon&amp;rsquo;s garbage collection system differentiate between organic waste (i.e. food) and other non-recyclable waste?</description></item><item><title>Projects</title><link>https://llcampos.com/projects/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://llcampos.com/projects/</guid><description>List of projects I&amp;rsquo;m working on/I&amp;rsquo;ve worked on.
Salary Standoff [Maintenance Mode] Tool that tries to solve the issue of neither the job candidate wanting to reveal her salary expectation and the company not wanting to reveal their budget. Tells if candidate and company are compatible money-wise without revealing any numbers to either party.
RecruiterStar [Maintenance Mode] Chrome Extension that decorates LinkedIn profiles with more information, to improve the sourcing process for recruiters.</description></item></channel></rss>