Jekyll2023-11-05T20:18:21+00:00https://www.santiago-martins.com/feed.xmlDuarte’s BlogMy personal blog. I usually blog about technology, society, and philosophy using a data led approach.Duarte MartinsThe Flowbite Jekyll Starter Template2023-04-12T19:15:07+00:002023-04-12T19:15:07+00:00https://www.santiago-martins.com/the-flowbite-jekyll-starter-template<p>I’m excited to share the Flowbite Jekyll Starter Template, a powerful tool for quickly creating modern, responsive websites with Jekyll, Flowbite, and Tailwind CSS. It’s designed to help you validate product ideas, gather user feedback, and create SEO content to drive traffic and generate leads.</p>
<h2 id="why-flowbite-jekyll-starter-template">Why Flowbite Jekyll Starter Template?</h2>
<p>Building a website from scratch can be time-consuming and overwhelming. This starter template includes a pre-designed home page, blog page, and individual blog posts, so you can focus on your product development and content creation.</p>
<h2 id="key-features">Key features:</h2>
<ol>
<li>Responsive design with Flowbite and Tailwind CSS</li>
<li>Home page, blog page, and individual blog posts</li>
<li>Jekyll Authors integration for managing author information</li>
<li>Ideal for validating products and creating SEO content</li>
</ol>
<h2 id="getting-started">Getting Started</h2>
<p>Clone the repository:</p>
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
git clone https://github.com/Duartemartins/flowbite_jekyll.git
</code></pre></div></div>
<p>Change into the project directory:</p>
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
<span class="nb">cd </span>flowbite_jekyll
</code></pre></div></div>
<p>Install dependencies:</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>bundle install
</code></pre></div></div>
<p>Build and serve the website:</p>
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
bundle <span class="nb">exec </span>jekyll serve
</code></pre></div></div>
<p>Open your browser and navigate to http://localhost:4000.</p>
<h2 id="customization">Customization</h2>
<ol>
<li>Customize the home page by editing index.html</li>
<li>Add or modify blog posts in the _posts folder</li>
<li>Edit author information in the authors.yml file in the _data folder</li>
<li>Change the website’s appearance or add custom CSS in the assets/css/main.css file</li>
</ol>
<p>Start building your modern, responsive website today with the Flowbite Jekyll Starter Template. Save time and effort, and focus on what matters most—your product and content. Let me know what you think, and happy hacking! 🚀</p>
<p>Flowbite Jekyll Starter Template Repository: <a href="https://github.com/Duartemartins/flowbite_jekyll">https://github.com/Duartemartins/flowbite_jekyll</a></p>Duarte MartinsI’m excited to share the Flowbite Jekyll Starter Template, a powerful tool for quickly creating modern, responsive websites with Jekyll, Flowbite, and Tailwind CSS. It’s designed to help you validate product ideas, gather user feedback, and create SEO content to drive traffic and generate leads.Rails Starter Template2023-04-06T16:13:30+00:002023-04-06T16:13:30+00:00https://www.santiago-martins.com/title-rails-starter-template<h2 id="speed-up-your-development-with-the-rails-starter-template">Speed up Your Development with the Rails Starter Template</h2>
<p>I’m excited to share with you a Rails starter template I’ve created to help speed up your development process. This template comes with user authentication via Devise, subscription payments via the Pay gem, and PostgreSQL as the database. It’s designed to help you quickly set up your Rails application with user authentication and subscription payments, allowing you to focus on building your product.</p>
<p>The template includes the following features:</p>
<ul>
<li>Devise for user authentication</li>
<li>Pay gem for handling subscription payments with Stripe</li>
<li>PostgreSQL as the database</li>
<li>Out of the box payment support using Stripe Checkout</li>
<li>Payment and Subscription management using Stripe Billing</li>
</ul>
<p>To get started with this template, you can follow the instructions provided in the README file. The README covers all the necessary steps for setting up the template, including cloning the repository, configuring your PostgreSQL database, generating a Rails secret key, setting up Stripe API keys, and updating the Stripe price ID in the controller.</p>
<p>By using this template, you’ll be able to quickly launch your Rails application with essential features like user authentication and subscription payments already implemented. This will save you valuable time and effort, allowing you to focus on building and iterating on your product.</p>
<p>You can find the Rails starter template on GitHub: <a href="https://github.com/Duartemartins/rails-starter-template">Rails Starter Template</a></p>
<p>For more information on the gems used in this template, you can refer to their documentation:</p>
<p><a href="https://github.com/heartcombo/devise">Devise</a></p>
<p><a href="https://github.com/pay-rails/pay">Pay</a></p>
<p>I hope this template helps you speed up your development process and enables you to launch your product faster. If you have any questions, suggestions, or feedback, feel free to reach out.</p>
<p>Happy coding!</p>Duarte MartinsSpeed up Your Development with the Rails Starter TemplateHow to export Substack posts to Jekyll2022-09-21T16:45:46+00:002022-09-21T16:45:46+00:00https://www.santiago-martins.com/title-how-to-export-substack-posts-to-jekyll<p>A golden rule of the internet is that you should own your content, and not have it subject to a third party’s arbitrary decisions. Substack is one such third party, however it is a great tool to syndicate content towards. So, how do we get the best of both worlds and get our Substack content into Jekyll?</p>
<p>Substack doesn’t have an API but you can export all of your Substack content fairly easily, see <a href="https://support.substack.com/hc/en-us/articles/360037466012-How-do-I-export-my-posts-">their help article</a>.</p>
<p>However, Substack exports everything in HTML, whereas Jekyll uses markdown. Luckily there is a Ruby gem built to convert HTML to Markdown called reverse_markdown, and it does a pretty good job of it. Using some simple Ruby scripting, we can add our usual font matter, and because Substack provides a CSV file with data on our posts, we can retrieve the date and time that the Substack post was published as well.</p>
<p>The following is a script I created to that effect. To use it with Ruby you’ll need to run <code class="language-plaintext highlighter-rouge">gem install reverse markdown</code> in your terminal/shell and then use <code class="language-plaintext highlighter-rouge">ruby your_script_name.rb</code> in the directory you’ve saved the script in. The way it’s currently written assumes that you’ve saved the script in the folder that the Substack export created.</p>
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">require</span> <span class="s1">'reverse_markdown'</span>
<span class="nb">require</span> <span class="s1">'csv'</span>
<span class="nb">require</span> <span class="s1">'date'</span>
<span class="k">def</span> <span class="nf">front_matter</span><span class="p">(</span><span class="n">date</span><span class="p">,</span><span class="n">title</span><span class="p">)</span>
<span class="k">return</span> <span class="sx">%(---
layout: post
title: #{title}
description:
date: #{DateTime.parse(date).strftime('%Y-%m-%d %H:%M:%S')} +0100
published: true
categories:
tags:
lang:
---
)</span>
<span class="k">end</span>
<span class="no">Dir</span><span class="p">.</span><span class="nf">foreach</span><span class="p">(</span><span class="s1">'/your/directory/posts/'</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">filename</span><span class="o">|</span>
<span class="k">next</span> <span class="k">if</span> <span class="n">filename</span> <span class="o">==</span> <span class="s1">'.'</span> <span class="o">||</span> <span class="n">filename</span> <span class="o">==</span> <span class="s1">'..'</span> <span class="o">||</span> <span class="no">File</span><span class="p">.</span><span class="nf">extname</span><span class="p">(</span><span class="n">filename</span><span class="p">)</span> <span class="o">!=</span> <span class="s1">'.html'</span>
<span class="c1"># skip if file does not end in .html</span>
<span class="no">CSV</span><span class="p">.</span><span class="nf">foreach</span><span class="p">(</span><span class="no">Dir</span><span class="p">.</span><span class="nf">pwd</span> <span class="o">+</span> <span class="s1">'/posts.csv'</span><span class="p">,</span> <span class="ss">headers: </span><span class="kp">true</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">row</span><span class="o">|</span>
<span class="vi">@date</span> <span class="o">=</span> <span class="n">row</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="k">if</span> <span class="n">row</span><span class="p">[</span><span class="mi">0</span><span class="p">].</span><span class="nf">to_s</span> <span class="o">==</span> <span class="no">File</span><span class="p">.</span><span class="nf">basename</span><span class="p">(</span><span class="n">filename</span><span class="p">.</span><span class="nf">chomp</span><span class="p">,</span> <span class="no">File</span><span class="p">.</span><span class="nf">extname</span><span class="p">(</span><span class="n">filename</span><span class="p">))</span> <span class="o">&&</span> <span class="n">row</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span>
<span class="k">end</span>
<span class="c1">#gets post date if in posts.csv file</span>
<span class="nb">puts</span> <span class="n">filename</span>
<span class="n">file</span> <span class="o">=</span> <span class="no">File</span><span class="p">.</span><span class="nf">open</span><span class="p">(</span><span class="no">Dir</span><span class="p">.</span><span class="nf">pwd</span> <span class="o">+</span> <span class="s2">"/posts/</span><span class="si">#{</span><span class="n">filename</span><span class="p">.</span><span class="nf">chomp</span><span class="si">}</span><span class="s2">"</span><span class="p">).</span><span class="nf">read</span>
<span class="n">result</span> <span class="o">=</span> <span class="no">ReverseMarkdown</span><span class="p">.</span><span class="nf">convert</span> <span class="n">file</span>
<span class="n">title</span> <span class="o">=</span> <span class="no">File</span><span class="p">.</span><span class="nf">basename</span><span class="p">(</span><span class="n">filename</span><span class="p">.</span><span class="nf">chomp</span><span class="p">,</span> <span class="no">File</span><span class="p">.</span><span class="nf">extname</span><span class="p">(</span><span class="n">filename</span><span class="p">)).</span><span class="nf">split</span><span class="p">(</span><span class="s1">'.'</span><span class="p">).</span><span class="nf">last</span>
<span class="n">date</span> <span class="o">=</span> <span class="o">!</span><span class="vi">@date</span><span class="p">.</span><span class="nf">nil?</span> <span class="p">?</span> <span class="vi">@date</span> <span class="p">:</span> <span class="s1">'2022-09-21 16:16:38'</span>
<span class="c1"># get post date if it has been published, otherwise use a set date and time</span>
<span class="no">File</span><span class="p">.</span><span class="nf">open</span><span class="p">(</span><span class="no">Dir</span><span class="p">.</span><span class="nf">pwd</span> <span class="o">+</span> <span class="s2">"/posts/</span><span class="si">#{</span><span class="no">DateTime</span><span class="p">.</span><span class="nf">parse</span><span class="p">(</span><span class="n">date</span><span class="p">).</span><span class="nf">strftime</span><span class="p">(</span><span class="s1">'%Y-%m-%d'</span><span class="p">).</span><span class="nf">to_s</span> <span class="o">+</span> <span class="n">title</span><span class="si">}</span><span class="s2">.markdown"</span><span class="p">,</span> <span class="s1">'w+'</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">f</span><span class="o">|</span>
<span class="n">f</span><span class="p">.</span><span class="nf">write</span> <span class="n">front_matter</span><span class="p">(</span><span class="n">date</span><span class="p">,</span><span class="n">title</span><span class="p">)</span> <span class="o">+</span> <span class="n">result</span>
<span class="k">end</span>
<span class="c1"># Create new markdown file</span>
<span class="k">end</span>
</code></pre></div></div>
<p>I hope that’s useful. Obligatory Substack newsletter plug: <a href="https://interessant3.substack.com/">https://interessant3.substack.com/</a></p>
<p>In addition, if you’re looking for jobs in data with an effective social impact check out <a href="https://www.gooddatajobs.com">https://www.gooddatajobs.com</a></p>
<p>If you’re looking for data analysis work for your organisation, feel free to DM/email me. See details below.</p>Duarte MartinsA golden rule of the internet is that you should own your content, and not have it subject to a third party’s arbitrary decisions. Substack is one such third party, however it is a great tool to syndicate content towards. So, how do we get the best of both worlds and get our Substack content into Jekyll?Three Interesting Things #102022-09-20T08:40:19+00:002022-09-20T08:40:19+00:00https://www.santiago-martins.com/three-interesting-things-10<p>1. Privatisatising Sanitation in Dakar, pertinent for the UK’s current debate on water utility funding models:</p>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Privatizing sanitation in Dakar led to productivity improvements and arguably a ~5% reduction in diarrhea rates among children under five in Dakar. <br /><br />New <a href="https://twitter.com/nberpubs?ref_src=twsrc%5Etfw">@nberpubs</a> by <a href="https://twitter.com/JoshDeutschmann?ref_src=twsrc%5Etfw">@JoshDeutschmann</a> <a href="https://twitter.com/MollyMLipscomb?ref_src=twsrc%5Etfw">@MollyMLipscomb</a> <a href="https://twitter.com/GarsJared?ref_src=twsrc%5Etfw">@garsjared</a> <a href="https://twitter.com/LauraASchechter?ref_src=twsrc%5Etfw">@lauraaschechter</a> & Houde<a href="https://t.co/Wo78NT0NH0">https://t.co/Wo78NT0NH0</a> <a href="https://twitter.com/hashtag/nbermonday?src=hash&ref_src=twsrc%5Etfw">#nbermonday</a> <a href="https://twitter.com/hashtag/WASH?src=hash&ref_src=twsrc%5Etfw">#WASH</a> <a href="https://t.co/iTQOKGrBAZ">pic.twitter.com/iTQOKGrBAZ</a></p>— Michael Eddy (@MichaelEddy) <a href="https://twitter.com/MichaelEddy/status/1442553136950951941?ref_src=twsrc%5Etfw">September 27, 2021</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>2. Black Americans report better self-esteem than their white counterparts, despite experiencing greater exposure to stress. This paper claims that better self-esteem explains most of the difference in black-white differences in depressive symptoms: <a href="https://journals.sagepub.com/doi/abs/10.1177/00221465211041031">https://journals.sagepub.com/doi/abs/10.1177/00221465211041031</a></p>
<p>3. Yet another individual vs collective incentive misalignment. Politicians always complicate things, because they act rationally:</p>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Why do government policies become so complicated? This great model of the political kludge shows us the answer: politicians will generally choose to add, rather than remove policies, since removing policies from a complex web may hurt their goals. Thus, complexity accumulates! <a href="https://t.co/jfoLRf5Rmz">pic.twitter.com/jfoLRf5Rmz</a></p>— Ethan Mollick (@emollick) <a href="https://twitter.com/emollick/status/1445214132735774721?ref_src=twsrc%5Etfw">October 5, 2021</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>Looking for jobs in Data? Interested in how a career in Data can contribute effectively to a better world? Check out <a href="https://www.gooddatajobs.com/">https://www.gooddatajobs.com/</a></p>
<p><a href="https://www.gooddatajobs.com/"><img src="https://substackcdn.com/image/fetch/w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F446287a2-1a60-4872-9e8e-a5c1a5fd1523_312x85.png" alt="" height="100" style="display:block; margin-left: auto; margin-right: auto;" /></a></p>
<p>Alternatively if you are looking for Data Visualisation, Reporting, or Data Analysis services, check out <a href="https://quantica.carrd.co/">Quantica</a>.</p>
<p><a href="https://quantica.carrd.co/"><img src="https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/30e0c031-4b03-4030-b4d1-3c621bc0e2ce_642x158.png" alt="" height="100" style="display:block; margin-left: auto; margin-right: auto;" /></a></p>Duarte Martins1. Privatisatising Sanitation in Dakar, pertinent for the UK’s current debate on water utility funding models:Changing my mind2022-09-15T16:27:54+00:002022-09-15T16:27:54+00:00https://www.santiago-martins.com/changing-my-mind<p>I believe changing one’s mind is a healthy sign of personal growth, and for years I’ve kept a small list of things I’ve changed my mind on. Writing is a great way to cement and expand on your thoughts so in that vein, I’ve decided to start a series of posts on subject I’ve changed my mind on.</p>
<blockquote>
<p>Strong opinions weakly held</p>
</blockquote>
<ul>
<li>Someone said this at some point and I think it’s a good mantra to live by. It’s better to avoid attaching ourselves too much to our opinions.</li>
</ul>
<h2 id="context">Context</h2>
<p>The first subject I want to write about is Voting IDs. Throughout Europe, ID cards are ubiquitous and making one is a legal requirement for all citizens and permanent residents. Citizens are obliged to show them when voting.</p>
<h2 id="previous-arguments">Previous Arguments</h2>
<p>A1. People must be identified when voting, otherwise this opens up room for electoral fraud.</p>
<p>A2. A free and fair democracy is worth the cost to privacy that ID cards present.</p>
<p>A3. In addition, the cost of obtaining an ID card is, or should be, funded via general taxation, and therefore doesn’t present a barrier to anyone.</p>
<hr />
<p>Conclusion: Therefore, obligatory presentation of ID cards is a good thing for democracy.</p>
<h2 id="what-made-me-change-my-mind">What made me change my mind</h2>
<h3 id="argument-a1">Argument A1:</h3>
<p>P1. In certain countries like the UK and USA, national ID cards don’t exist.</p>
<p>P2. These countries also have very strong democratic procedures and cultures.</p>
<p>P3. It is possible and realistic to conduct elections using other methods that guarantee one vote per person and near-zero fraud, such as by using an electoral register linked to home addresses.</p>
<hr />
<p><em>A1 Conclusion:</em> It stands to reason that IDs are not a necessary condition for free and fair elections.</p>
<h3 id="argument-a2">Argument A2:</h3>
<p>P1: If A1 is true, then the cost to privacy is not worth the benefit to democracy, since there is no benefit.</p>
<hr />
<p><em>A2 Conclusion:</em> ID cards pose an unnecesary violation of privacy rights, in this context.</p>
<h3 id="argument-a3">Argument A3:</h3>
<p>P1: Even if ID cards are obligatory, free at the point of payment, and paid for by taxation, a small subset of the population will remain disenfranchised, especially the most marginalised members of society, meaning they would be kept from voting.</p>
<p>P2: If A1 and A2 are true, then asking for ID cards is not worth the disenfranchisement, as small as it may be.</p>
<hr />
<p><em>A3 Conclusion:</em> ID cards should not be obligatory when voting since they disenfranchise a small percentage of the population, often a subset that needs the most support from society, and requiring ID cards does not present any benefits.</p>
<p>Having said that, requiring a centralised, state-held electoral register is still a barrier to enfranchisement and a violation of privacy, albeit a smaller one.</p>Duarte MartinsI believe changing one’s mind is a healthy sign of personal growth, and for years I’ve kept a small list of things I’ve changed my mind on. Writing is a great way to cement and expand on your thoughts so in that vein, I’ve decided to start a series of posts on subject I’ve changed my mind on.Three Interesting Things #92022-09-12T21:49:10+00:002022-09-12T21:49:10+00:00https://www.santiago-martins.com/three-interesting-things-9<p>Hi everyone, apologies for the radio silence as of late. We’ll be resuming this newsletter on a weekly basis and the good news is we have the next 6 months already programmed, so stay tuned! This week’s Three Interesting Things are:</p>
<p>1. “In the more gender-equal countries, men have “more male” interests, and the women have “more female” interests. But for the less gender-specific interests, greater equality ends up resulting.” - fascinating, and makes a lot of sense to me.
<a href="https://marginalrevolution.com/marginalrevolution/2021/11/the-gender-gap-in-preferences.html">https://marginalrevolution.com/marginalrevolution/2021/11/the-gender-gap-in-preferences.html</a></p>
<p>2. The number of oil spills has been decreasing significantly over time:</p>
<iframe src="https://ourworldindata.org/grapher/number-oil-spills?country=Large+%28%3E+700+tonnes%29~Smaller+%287+-+700+tonnes%29" loading="lazy" style="width: 100%; height: 600px; border: 0px none;"></iframe>
<p><a href="https://ourworldindata.org/oil-spills">https://ourworldindata.org/oil-spills</a></p>
<p>3. Both Men and Women are overconfident, contrary to popular opinion:</p>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Are men overconfident and women underconfident?<br /><br />What experts believe and what the data say differ widely.<br /><br />Men are from Mars, and Women Too: <a href="https://t.co/QsHQ5H7h3m">https://t.co/QsHQ5H7h3m</a> by <a href="https://twitter.com/orianabandiera?ref_src=twsrc%5Etfw">@OrianaBandiera</a>, Nidhi Parekh,<br />Barbara Petrongolo, and Michelle Rao <a href="https://t.co/EWnkBs4NoQ">pic.twitter.com/EWnkBs4NoQ</a></p>— Robert Dur (@DurRobert) <a href="https://twitter.com/DurRobert/status/1444629127546523653?ref_src=twsrc%5Etfw">October 3, 2021</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>Looking for jobs in Data? Interested in how a career in Data can contribute effectively to a better world? Check out <a href="https://www.gooddatajobs.com/">https://www.gooddatajobs.com/</a></p>
<p><a href="https://www.gooddatajobs.com/"><img src="https://substackcdn.com/image/fetch/w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F446287a2-1a60-4872-9e8e-a5c1a5fd1523_312x85.png" alt="" height="100" style="display:block; margin-left: auto; margin-right: auto;" /></a></p>
<p>Alternatively if you are looking for Data Visualisation, Reporting, or Data Analysis services, check out <a href="https://quantica.carrd.co/">Quantica</a>.</p>
<p><a href="https://quantica.carrd.co/"><img src="https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/30e0c031-4b03-4030-b4d1-3c621bc0e2ce_642x158.png" alt="" height="100" style="display:block; margin-left: auto; margin-right: auto;" /></a></p>Duarte MartinsHi everyone, apologies for the radio silence as of late. We’ll be resuming this newsletter on a weekly basis and the good news is we have the next 6 months already programmed, so stay tuned! This week’s Three Interesting Things are:Three Interesting Things #82022-06-28T12:00:17+00:002022-06-28T12:00:17+00:00https://www.santiago-martins.com/three-interesting-things-8<ol>
<li>Tuition Fees and Inequality - France vs USA:</li>
</ol>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">The authors argue that a big part of the effect of parental income on college attendance in France is happening in high school. Strong socioeconomic sorting of students onto academic vs vocational tracks, and big socioeconomic effects on academic performance <br /><br />[3/3] <a href="https://t.co/XROnZO830P">pic.twitter.com/XROnZO830P</a></p>— Anna Stansbury (@annastansbury) <a href="https://twitter.com/annastansbury/status/1493972592285208576?ref_src=twsrc%5Etfw">February 16, 2022</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<ol>
<li>Gay Men Education:</li>
</ol>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Men’s academic underperformance has been back in the news.<br /><br />In new research, I show that there is one group of American men who have, for generations, achieved remarkable levels of academic success: gay men.<br /><br />A 🧵:<a href="https://t.co/9crQfeIhok">https://t.co/9crQfeIhok</a></p>— Joel Mittleman (@joeljm_soc) <a href="https://twitter.com/joeljm_soc/status/1495767205748871169?ref_src=twsrc%5Etfw">February 21, 2022</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<ol>
<li>Inheritance Taxes and Inequality: <a href="https://www.nber.org/papers/w29693">https://www.nber.org/papers/w29693</a></li>
</ol>Duarte MartinsTuition Fees and Inequality - France vs USA: The authors argue that a big part of the effect of parental income on college attendance in France is happening in high school. Strong socioeconomic sorting of students onto academic vs vocational tracks, and big socioeconomic effects on academic performance [3/3] pic.twitter.com/XROnZO830P— Anna Stansbury (@annastansbury) February 16, 2022Three Interesting Things #72022-06-28T10:00:13+00:002022-06-28T10:00:13+00:00https://www.santiago-martins.com/three-interesting-things-7<ol>
<li>
<p>Crony Capitalism:
<img src="https://substackcdn.com/image/fetch/w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F30dccf61-e42f-49c9-93aa-7668e3e23c51_608x1195.png" alt="" /></p>
</li>
<li>
<p>Race-blind (Berkeley) vs race-conscious (Stanford) admissions impact on under-represented minorities:
<img src="https://substackcdn.com/image/fetch/w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F3fa43b8a-9284-4273-944e-eb60756b9f64_1280x720.png" alt="" /></p>
</li>
<li>
<p>Redistribution US vs EU: <a href="https://marginalrevolution.com/marginalrevolution/2022/02/sentences-to-ponder-120.html">https://marginalrevolution.com/marginalrevolution/2022/02/sentences-to-ponder-120.html</a></p>
</li>
</ol>Duarte MartinsCrony Capitalism:Three Interesting Things #62022-06-28T08:00:06+00:002022-06-28T08:00:06+00:00https://www.santiago-martins.com/three-interesting-things-6<ol>
<li>
<p>Racial Income Disparities: <a href="https://www.reddit.com/r/samharris/comments/qa6dy6/many_blackwhite_disparities_in_important_life/">https://www.reddit.com/r/samharris/comments/qa6dy6/many_blackwhite_disparities_in_important_life/</a></p>
</li>
<li>
<p>Changing governments is good:</p>
</li>
</ol>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Change in a country’s leadership:<br /><br />🔹improves economic performance<br /><br />🔹increases the human development index<br /><br />🔹reduces corruption<br /><br />Causal evidence from close national elections: <a href="https://t.co/DrUGWK7Cq3">https://t.co/DrUGWK7Cq3</a> by <a href="https://twitter.com/benjaminmarx?ref_src=twsrc%5Etfw">@benjaminmarx</a>, <a href="https://twitter.com/VinPons?ref_src=twsrc%5Etfw">@vinpons</a>, and <a href="https://twitter.com/vincent_rollet?ref_src=twsrc%5Etfw">@vincent_rollet</a> <a href="https://t.co/bDFVx6rvyi">pic.twitter.com/bDFVx6rvyi</a></p>— Robert Dur (@DurRobert) <a href="https://twitter.com/DurRobert/status/1494694654733963268?ref_src=twsrc%5Etfw">February 18, 2022</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<ol>
<li>Median income increase since 2007:</li>
</ol>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Two facts many people don't know:<br /><br />1) The global median income has doubled in 17 years from 2000 to 2017. A stunningly rapid progress the world has *never* seen before. (Adjusted for prices, so not due to inflation)<br /><br />2) Still half the people in the world have less than $7 per day <a href="https://t.co/EfGaZLUVlL">pic.twitter.com/EfGaZLUVlL</a></p>— Dina D. Pomeranz (@DinaPomeranz) <a href="https://twitter.com/DinaPomeranz/status/1457278202020237313?ref_src=twsrc%5Etfw">November 7, 2021</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>See you next week!</p>Duarte MartinsRacial Income Disparities: https://www.reddit.com/r/samharris/comments/qa6dy6/many_blackwhite_disparities_in_important_life/Three Interesting Things #52022-05-21T06:00:32+00:002022-05-21T06:00:32+00:00https://www.santiago-martins.com/three-interesting-things-5<ol>
<li>
<p>Extracting metals from plants could potentially limit the amount of mining that is necessary (take with a pinch of salt): <a href="https://www.theguardian.com/commentisfree/2022/apr/15/farm-metal-from-plants-life-on-earth-climate-breakdown">Guardian</a></p>
</li>
<li>
<p>Climate change is *lowering* sea levels in Iceland: <a href="https://www.cnn.com/interactive/2022/04/world/climate-sea-level-rise-iceland-marshall-islands-cmd-intl">CNN</a></p>
</li>
<li>
<p>Fascinating thread on the history of Mariupol:</p>
</li>
</ol>
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Siege of Mariupol<br /><br />Putin announced his decision to stop further assaults on Azovstal: the last remaining Ukrainian stronghold in Mariupol. Siege of Mariupol started on Feb 25, by March 3 the city was completely surrounded. Two months later its defenders still stand their ground🧵 <a href="https://t.co/IySsp4GpFc">pic.twitter.com/IySsp4GpFc</a></p>— Kamil Galeev (@kamilkazani) <a href="https://twitter.com/kamilkazani/status/1517256297728688129?ref_src=twsrc%5Etfw">April 21, 2022</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>Duarte MartinsExtracting metals from plants could potentially limit the amount of mining that is necessary (take with a pinch of salt): Guardian