How to Use Apple AirPods in Debian

If you try to connect Apple AirPods to a computer running Debian, you will be able to pair them without any issues, but unfortunately you will not be able to use them to play any sounds. When I tried to do this, after pairing the AirPods, clicking on the Sound Settings menu option in the Bluetooth settings only showed the default output as an option.

In order to use AirPods to play sound you need to tweak the Bluetooth configuration file a bit. I poked around in that file a bit but I have no idea what the difference between “le” and “br/edr” was until I read this other stack overflow post which explained it succinctly.

For whatever reason, it looks like AirPods are only able to operate in BR/EDR mode. To get them to work with your Debian computer you should do the following:

  1. Edit /etc/bluetooth/main.conf and update the ControllerMode to equal bredr, by default it is set to dual mode.
  2. Restart the Bluetooth service with sudo systemctl restart bluetooth.
  3. You should now see your AirPods as an output option in the Sound Settings (screenshot shown below).
Sound Settings in GNOME

I am not 100% sure what the impact of disabling dual mode will be, but for now all of my other Bluetooth devices along with the AirPods work without any issues.


After a couple days of using Airpods with my Debian laptop, I’ve noticed that every once in a while they stop showing up in the sound settings menu. This bug is a bit annoying, but if you restart the bluetooth service with sudo systemctl restart bluetooth.service then they will begin to work again. In addition, I still have not figured out how to get the airpods to be an input source.

Posted in debian | Leave a comment

Thank you to the Debian Maintainers of Mozilla-related packages team

A few days ago, a critical bug was found in Firefox that disabled all extensions due to an expiring intermediate certificate. This caused a lot of outrage on the internet, and an inconvenience for most users.

I run firefox-esr on Debian testing. I only use a handful of extensions, and the only that I really can’t live without is 1Password X. Luckily, for the few days where this was broken I was able to get access to all of my passwords by logging into

The Firefox team did a great job in communicating the issue, and keeping the community up to date on their blog. I wanted to take a moment to give a huge thank you to the Maintainers of Mozilla-related packages team on Debian for getting the firefox-esr package updated less than a day after the patch was released.

I was pleasantly surprised to find a new version this morning, and upgrading firefox-esr on Debian testing fixed the issue with extensions as soon as I restarted.

Posted in debian | Leave a comment

How to Disable Wayland in Debian Testing

I’m running Debian Testing on a laptop, and I would like to disable Wayland because not all of the tools that I use currently have first-class support for it. There is an old post that I used to reference to get this to work, but it appears that gdm3 changed the naming conventions for the configuration file in a newer version.

There used to be a file called /etc/gdm3/custom.conf which appears to have been renamed to /etc/gdm3/daemon.conf in newer versions of Debian. Luckily the contents of this file are more or less the same.

# GDM configuration storage
# See /usr/share/gdm/gdm.schemas for a list of available options.

# Uncomment the line below to force the login screen to use Xorg

# Enabling automatic login
# AutomaticLoginEnable = true
# AutomaticLogin = user1

# Enabling timed login
# TimedLoginEnable = true
# TimedLogin = user1
# TimedLoginDelay = 10




# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes

In order to disable Wayland and switch back to X11, you should uncomment #WaylandEnable=flalse in this configuration file and restart your computer to apply the changes.

Posted in debian | Leave a comment

How to Leave a LinkedIn Group in 2019

LinkedIn Groups might have been interesting in the past, but it seems like with each iteration LinkedIn makes the functionality less and less useful.

In order to clean up some of my activity in LinkedIn I wanted to leave some of the groups that I was a part of.

I searched on how to do this, and a lot of the results showed a LinkedIn UI from several years ago. It was not immediately clear to me how to do this.

I figured it out eventually and am documenting the process step by step with screenshots below.

Navigate to the Groups Page to see all of the groups that you are a part of.
Select the group that you want to leave and then click on the “” link to see a list of menu options. Select Leave this group
Confirm that you want to leave the group by selecting Leave.
Posted in software | Leave a comment

56 Books, My Literary Journey in 2018

According to goodreads, I read 56 books in 2018. This was 4 over my goal of 52 books! I spent a lot of the year reading books from my never ending list of tralev books but I also took some time to appreciate the classics, award winners, and a random selection of history and business books from Prime reading.

I think my absolute favorite book of the year was The Dark Forest (#2 of the Remembrance of Earth’s Past Book series). I read the entire series this year and gave each book 5 stars. Im a huge sci-fi fan and this is the best series I’ve ever read hands down.

I’m pretty conservative with my good reads ratings.

1 – why did I ever read this

2 – “ok”, if you’re a fan of this topic

3 – good book

4 – great book

5 – read this before you die

A couple other books that I really enjoyed last year were:

  • Giant of Enterprise – a book about business tycoons that was recommended to me by Nathan.
  • Kitchen Confidential – a book by the late Anthony Bourdain which gives us a peek into the real world of a career as a chef.
  • Less – a pulitzer prize winning book about life, love, and loss.
  • East of Eden – a masterpiece by one of Americas most legendary authors.

I hate being negative, but my least favorite book by far last year year was “That Dark and Bloody River” I wrote a scathing review of this one on my other blog. It was also the longest book I read last year. I have a terrible problem of not being able to stop reading a book halfway in between. I read this tome with anger over a series of several long haul flights.

I want to read 52 more books in 2019. Join me in the challenge. Happy reading!

Posted in books | Leave a comment

Converting CSV to a SQLite Database

As a part of my data science course on EdX we have been working with a lot of csv files. I spoke SQL long before I spoke Pandas and I find that it is much easier to do initial exploration of the data using raw SQL queries compared to the Pandas DSL.

Kaggle is a great repository full of useful data sets that are ripe for exploration. While a lot of these data sets come in both csv and sql flavors, some of them are CSV only. Using SQLit we are able to easily import these csv files into a database and then run queries for further data exploration. 

Im going to use the kickstarter data set for this tutorial, feel free to download the csv files from kaggle so that you can follow along. 

Pre Requisites

Make sure that you have SQLite installed before getting started with this tutorial. 

Steps to Convert CSV to SQLite

First, Download the data set from kaggle, this will come in the form of a zip file. Unzip this and open up a terminal in the directory where you have the new unzipped kickstarter-projects folder. 

In your terminal open up a new sqlite session followed by the name of the file that you want to save your new database to. 

sqlite3 ks.db

Inside of the sqlite shell, change the mode to csv. 

.mode csv

Import the csv file, and add the name of the table that you want the data to be imported into. 

.import kickstarter-projects/ks-projects-201801.csv ks

Verify that everything was imported correctly. Take a look at the schema, and first couple of rows. Your output should look something like this: 

sqlite> .schema ks

"name" TEXT,
"category" TEXT,
"main_category" TEXT,
"currency" TEXT,
"deadline" TEXT,
"goal" TEXT,
"launched" TEXT,
"pledged" TEXT,
"state" TEXT,
"backers" TEXT,
"country" TEXT,
"usd pledged" TEXT,
"usd_pledged_real" TEXT,
"usd_goal_real" TEXT

sqlite> select * from ks limit 5;

1000002330|The Songs of Adelaide & Abullah|Poetry|Publishing|GBP|2015-10-09|1000.00|2015-08-11 12:12:28|0.00|failed|0|GB|0.00|0.00|1533.95
1000003930|Greeting From Earth: ZGAC Arts Capsule For ET|Narrative Film|Film & Video|USD|2017-11-01|30000.00|2017-09-02 04:43:57|2421.00|failed|15|US|100.00|2421.00|30000.00
1000004038|Where is Hank?|Narrative Film|Film & Video|USD|2013-02-26|45000.00|2013-01-12 00:20:50|220.00|failed|3|US|220.00|220.00|45000.00
1000007540|ToshiCapital Rekordz Needs Help to Complete Album|Music|Music|USD|2012-04-16|5000.00|2012-03-17 03:24:11|1.00|failed|1|US|1.00|1.00|5000.00
1000011046|Community Film Project: The Art of Neighborhood Filmmaking|Film & Video|Film & Video|USD|2015-08-29|19500.00|2015-07-04 08:35:03|1283.00|canceled|14|US|1283.00|1283.00|19500.00

Excellent! Now you can query this entire data set as your normally would. Happy data exploration! 

Posted in data science | 2 Comments

Emerging trends in technology provided by ThoughtWorks.

A classmate shared this link with us in regards to visualizations that are powerful. I’ve not seen this report before, but it provides so much insight into the pulse of enterprise software development.

The Technology Radar is our thoughts on emerging technology trends in the industry. Read the latest here.

Source: Technology Radar | Emerging Tech Trends for 2018 | ThoughtWorks

It was especially interesting to see “1% canary” and “Incremental delivery with COTS” moving up the list of techniques since these are the things that I am working with enterprise companies on at LaunchDarkly on a daily basis.

I’ve been really amazed at the speed at which large enterprises are adopting the progressive delivery model, this report provides further evidence for me that this is not an anomaly but rather a trend in software engineering.

Posted in software | Leave a comment

Make A Symbolic Link to Your iCloud Drive

If you use iCloud Drive to store documents and also use the terminal quite a bit, it might be handy to add a symbolic link to iCloud into your home directory. This will allow you to easily make your way around your iCloud files from a terminal.

You can do this with these steps:

  1. Open up a terminal
  2. Run the following command
ln -s "/Users/$USER/Library/Mobile Documents/com~apple~CloudDocs" iCloud

Note: the quotes above are important since there is a space in the directory path.

If you run ls, you will now see a folder called iCloud which is a symbolic link to your iCloud drive.

Next time that you need to scp a file from your iCloud Drive to some server, rather than googling the path to your iCloud folder, you can simply cd into it and go to town.

Posted in software | Leave a comment

Hans Rosling’s 200 Countries, 200 Years, 4 Minutes

As a part of the visualization section of the python for data science course on EdX we watched this awesome video showing the health and wealth correlation of 200 countries over the last 200 years.

This is a fascinating look into the power of visualization, statistics, and data science. It is also a very interesting story that Rosling was able to convey in just 4 minutes.

Posted in data science | Leave a comment

German Mini Van

I booked a mini van

Get hyped

I got this message from my friend tzeejay after he invited us to visit Yosemite with him over the Thanksgiving break. I was looking forward to the trip all week since I have not seen him in a while and I’ve never been to Yosemite.

Wednesday evening comes around, and he pulls up to our apartment in a huge white Cadillac Escalade. At first I assumed that mini van in German was slang for “huge SUV”, but then he said “They were out of mini vans.”

We made our way toward the central valley on 580, stopping in Dublin so that I could pick up a pair of boots and grabbing dinner at In-N-Out burger. We arrived in the evening at the Courtyard in Merced and spent the night there before leaving early Thursday morning toward Yosemite.

Road to Yosemite

The biggest challenge with traveling during a massive national holiday is that there is a lack of places that are open to get meals. We went through Mariposa, CA on the way to the mountain and every single restaurant and diner in the entire city was closed. Luckily there was a gas station deli that was open so we stopped there to grab some food. They had some delicious fatty and cheesy double sausage breakfast sandwiches and mediocre gas station coffee.

We finally got to Yosemite National Park. I was surprised at how many people were there during a holiday. I can’t imagine what it must be like there during a weekend in the summer.

I’ve seen a lot of beauty during my travels, but I think that Yosemite Valley is the most beautiful place on earth.

Yosemite Valley

El Capitan

Posted in travel | Leave a comment