Browse Source

Use underscores to signal draft

restructure
Garrit Franke 3 years ago
parent
commit
0e1a17ac43
  1. 4
      components/BlogList.js
  2. 1
      content/posts/2021-01-07-delete-facebook.md
  3. 1
      content/posts/2021-01-11-100daystooffload.md
  4. 1
      content/posts/2021-01-11-are-humans-still-evolving.md
  5. 1
      content/posts/2021-01-13-512kb-club.md
  6. 1
      content/posts/2021-01-15-compiling-your-own-kernel.md
  7. 1
      content/posts/2021-01-18-reasons-the-fediverse-is-better.md
  8. 1
      content/posts/2021-01-23-signal-to-noise.md
  9. 1
      content/posts/_2021-01-14-diy-software.md
  10. 1
      content/posts/_2021-01-22-library-of-babel.md
  11. 1
      content/posts/_2021-01-25-kotlin-refactor-strategies.md

4
components/BlogList.js

@ -11,12 +11,14 @@ function truncateSummary(content) {
}
const BlogList = ({ posts }) => {
console.log(posts);
return (
<>
<ul className="list">
{posts.length > 1 &&
posts
.filter((post) => !post.frontmatter.draft)
// Filter drafts
.filter((post) => !post.slug.startsWith("_"))
// Ternary operator is used to fix chromium sorting
// See: https://stackoverflow.com/a/36507611
.sort((a, b) => (a.frontmatter.date < b.frontmatter.date ? 1 : -1))

1
content/posts/2021-01-07-delete-facebook.md

@ -1,7 +1,6 @@
---
title: I closed my Facebook account, and you should too
date: "2021-01-07"
draft: false
---
I know I should have done this a while ago, but with ever-increasing scandals about data privacy surrounding Facebook, I finally decided to get rid of it.

1
content/posts/2021-01-11-100daystooffload.md

@ -1,7 +1,6 @@
---
title: 100DaysToOffload
date: "2021-01-11"
draft: false
---
For some time now, I've seen this #100DaysToOffload hashtag on my social medias. I knew that it was some kind of writing challenge, but I never thought about taking part in it. Since I recently started to blog more frequently though, I think this challenge could be very beneficial to my writing skills, and just jotting my thoughts down in general. So, starting with this entry, I will try to publish 100 (hopefully) useful posts on this blog within one year. My "deadline" for this will be January 11, 2022. I will post every entry to [my mastodon account](https://fosstodon.org/@garritfra).

1
content/posts/2021-01-11-are-humans-still-evolving.md

@ -1,7 +1,6 @@
---
title: Are humans still evolving?
date: "2021-01-11"
draft: false
---
This is by no means a scientifically accurate article. These are my thoughts, and I'd be happy to discuss this topic. Take it with a grain of salt.

1
content/posts/2021-01-13-512kb-club.md

@ -1,7 +1,6 @@
---
title: I joined the 512KB club
date: "2021-01-13"
draft: false
---
JavaScript rules the web, literally. In fact, this website is built with JavaScript (Next.js). I recently started to think about if I really needed this much overhead for a simple site like this. After all, I don't have any fancy user interaction features or complex animation that would justify the JavaScript on this page.

1
content/posts/2021-01-15-compiling-your-own-kernel.md

@ -1,7 +1,6 @@
---
title: Compiling your own kernel
date: "2021-01-15"
draft: false
---
I'm currently in the midst of fiddling around with the kernel a bit, and I figured I just documented my process a bit. Unfortunately, since I'm using a Mac for day to day work, I have to rely on a virtual machine to run anything Linux-related. VirtualBox doesn't support the most recent kernels (5.9 is the most recent supported one), so there won't be any cutting-edge development happening here. I decided to use ubuntu as my guest system, since it's very easy to set up.

1
content/posts/2021-01-18-reasons-the-fediverse-is-better.md

@ -1,7 +1,6 @@
---
title: 6 reasons the Fediverse is better than regular social media
date: "2021-01-18"
draft: false
---
Social media sucks. Platforms like Twitter, Facebook and Instagram are designed to turn your precious free time into money. What we see as a nice way to stay in touch with our friends, in reality are just many hits of dopamine stimulating precise spots in your brain, leading to you spending more time on the platform consuming ads.

1
content/posts/2021-01-23-signal-to-noise.md

@ -1,7 +1,6 @@
---
title: Signal-to-Noise, or why nobody cares about your GitHub project
date: "2021-01-23"
draft: false
---
For a very long time, the thought of leaving GitHub and moving to another platform daunted me. Having more users on one platforms means that more people will contribute to my project, right? Wrong.

1
content/posts/2021-01-14-diy-software.md → content/posts/_2021-01-14-diy-software.md

@ -1,7 +1,6 @@
---
title: DIY Software
date: "2021-01-14"
draft: true
---
We often take free software as granted. We think of many programs are a "black box" that are supposed to _just work_. I think, this goes against the very nature of free and open source software.

1
content/posts/2021-01-22-library-of-babel.md → content/posts/_2021-01-22-library-of-babel.md

@ -1,7 +1,6 @@
---
title: The library of babel
date: "2021-01-22"
draft: true
---
What if I told you that everything you ever have said, thought and wrote, and everything you will say, think or write, has already been written down? Let me share my discovery of a construct called the _library of babel_.

1
content/posts/2021-01-25-kotlin-refactor-strategies.md → content/posts/_2021-01-25-kotlin-refactor-strategies.md

@ -1,7 +1,6 @@
---
title: Fixing nullability issues when migrating to Kotlin
date: "2021-01-23"
draft: true
---
The last couple of days, I had the opportunity to refactor some of the Kotlin code in our massive android project. The app is quite old, and a lot of legacy code has accumulated over the years. At one point, we decided to migrate a lot of our view-logic from Java to Kotlin. Instead of cleaning the code up, this lead to an even bigger buildup of technical debt. The problem was that we mainly used the migration-tools that Android Studio provides, which, at that time where not very sophisticated. Sometimes we had to manually fix some things which, since it is such a massive codebase, we didn't really take the time to clean every converted file up.
Loading…
Cancel
Save