Latex New Line

In latex, a sentence will only be added to a new paragraph if it is double spaced from the line before.

For example, the following latex code:

% These two sentences will be in the same paragraph in the compiled result
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Will result in:

[Read more]

Technology is Political and the Political Ramifications of Free Culture

The digital computer is a decentralized tool for the manipulation and copying of information. The traditional technology that facilitated the transfer of information was the printing press. As the history commonly taught in western highschools goes - the printing press was one of the causes of downfall of the catholic church in many countries. In fact, many will mention that the protestant reformation would not have been possible without the printing press.

[Read more]

Minimal Blogging Setup with Orgmode and ssg5

My Old Setup

I prefer orgmode over markdown because already I use orgmode for appointments, reminders, notes, etc. However, most static website generators only support Markdown. Luckily, orgmode has an html export function: M-x org-publish. org-publish is much more powerful and reliable than any markdown converter I have used.

Since 2016, I have been using jekyll which is bloated and requires a lot of ruby dependencies. To make sure my website always built, I setup sourcehut builds to build my jekyll website. Each website build takes 3 minutes on sourcehut.

Compiling crust for pinephone on Postmarketos

Crust is now available from postmarketos' official repos! This post is now obsolete but is kept as an archive for how to test new kernels. Use at your own risk

Crust firmware enables acceptable battery life on the pinephone. For me, it is the last feature I need for the pinephone to be daily driver ready. Here is how to install the experimental crust branch on the pinephone so that you can give the postmarketos and sxmo team feedback.

[Read more]

Why VoidLinux is Better than Arch - A Former Arch User’s Perspective

I had been an avid ArchLinux user for five years. I ran Arch on all my computers, I enjoyed using it, and I learned a lot from it. One day, I happened to try VoidLinux on one of my extra thinkpads and found my new favorite distro 1. The Arch to VoidLinux pipeline is somewhat a joke and maybe I'm leaning into that joke with this blog post. Anyway, here are some reasons for using my favourite meme distro.

[Read more]

Recommended Watch/Read: Free Software Needs Free Tools

Signal boosting the excellent blog post and talk "Free Software Needs Free Tools" by Benjamin Mako Hill in which he gives the story of how git was created.

I agree with most if not all his recommendations following the story. Personally, I have been paying for a sourcehut membership for a while now and this story is the reason I continuously renew my paid account (aside from the fact sourcehut is amazing to develop on).

[Read more]

Two Factor Authentication App on Pinephone

I picked up the pinephone but it wasn't daily driver ready. A couple days ago, my android phone completely broke so I needed to make the pinephone daily driver ready. First things first - I need a two factor authentication app for my phone.

Issues with gnome-authenticator

On postmarketos, gnome-authenticator is my preferred two factor authentication app because it is in the main repositories and it works. However, debian is currently a much better experience daily driving. I've fixed a couple of issues in postmarketos and I'd love to use it but right now I need an os that works1.

3D Printing MASK STRAPS Ear Savers

The BC COVID-19 3D Printing Group has a list of designs they would like people to help print to ensure medical personnel are protected during the COVID-19 epidemic.

This post has two purposes:

  1. Make anyone reading this blog aware of the initiative and assist with 3D printing if they can. You may have a group that needs help in your local area.
  2. Share my tips for “mass producing” the MASK STRAPS “Ear Savers”

I am printing “Surgical mask ear saver” by sniffle from thingiverse: https://www.thingiverse.com/thing:4251460

[Read more]

OpenBSD’s doas on Voidlinux

OpenBSD's doas is a minimal replacement for sudo. If you run a single user linux box, you can replace sudo with doas in order to have a simpler sudo configuration and usage experience.

First, install doas using xbps-install.

sudo xbps-install opendoas

Doas rules have the following format:

permit|deny [options] identity [as target] [cmd command [args ...]]

I like adding the persist option to my rule so that if I enter my password once, doas remembers and doesn't constantly ask me to authenticate.

[Read more]

Tips for PCI Passthrough

I recently fired up my windows virtual machine to play The Outer Worlds. However, I ran into a number of issues that I would like to document in case I run into them again or someone else does.

AMD GPU Guest Driver Install Black Screen at 40%

This was the most frustrating issue I ran into. When I tried to install the latest AMD driver for my RX 580, the screen of my windows guest would go black and I would never see the windows desktop again.