Ubuntu 20.04 on a 2015 15" MacBook Pro

I decided to give Ubuntu 20.04 a try on my 2015 15" MacBook Pro. I didn't actually install it; I just live booted from a USB thumb drive which was enough to try out everything I wanted. In summary, it's not perfect, and issues with my camera would prevent me from switching, but given the right hardware, I think it's a really viable option.The first thing I wanted to try was what would happen if I plugged in a non-HiDPI screen given that my laptop has a HiDPI screen. Without sub-pixel scaling, whatever scale rate I picked for one screen would apply to the other. However, once I turned on sub-pixel scaling, I was able to pick different scale rates for the internal and external displays. That looked ok. I tried plugging in and unplugging multiple times, and it didn't crash. I doubt it'd work with my Thunderbolt display at work, but it worked fine for my HDMI displays at home. I even plugged it into my TV, and it stuck to the 100% scaling I picked for the other mo…

Creating Windows 10 Boot Media for a Lenovo Thinkpad T410 Using Only a Mac and a Linux Machine

TL;DR: Giovanni and I struggled trying to get Windows 10 installed on the Lenovo Thinkpad T410. We struggled a lot trying to create the installation media because we only had a Mac and a Linux machine to work with. Everytime we tried to boot the USB thumb drive, it just showed us a blinking cursor. At the end, we finally realized that Windows 10 wasn't supported on this laptop :-/I've heard that it took Thomas Edison 100 tries to figure out the right material to use as a lightbulb filament. Well, I'm no Thomas Edison, but I thought it might be noteworthy to document our attempts at getting it to boot off a USB thumb drive:Download the ISO. Attempt 1: Use Etcher. Etcher says it doesn't work for Windows. Attempt 2: Use Boot Camp Assistant. It doesn't have that feature anymore. Attempt 3: Use Disk Utility on a Mac. Erase a USB thumb drive: Format: ExFAT Scheme: GUID Partition Map Mount the ISO. Copy everything from the I…

Security: BSidesSF 2020

I went to BSidesSF (@BSidesSF), which is a friendly security conference organized by volunteers. These are my notes.BTW, shout out to my buddy, Josh Bonnett, for introducing me to the conference.Here's the schedule. Here's a link to their Capture the Flag.This was their 10th anniversary."There are no attendees. Everyone is a participant."They said, "If you're going to take a picture, make sure you have the permission of everyone in the shot. Crowd shots (those facing the crowd) are strongly discouraged."They donate to "The Sisters of Perpetual Indulgence".[Keynote] Give Away Security's Legos: Dumping Traditional Security TeamsThe keynote was given by Fredrick "Flee" Lee (@fredrickl), the CSO at Gusto.Legos are very accessible, and you can build amazing things.Lego is the world's most recognized brand.Lego's motto is "the best is not too good."It's bad that most companies treat their security people as cops a…

Running a terminal-based version of Tetris written in Go within Visual Studio Online running in Chrome

Here I am running a terminal-based version of Tetris written in Go within Visual Studio Online running in Chrome:That's a video game, running in a terminal, running in an editor, running in a VM, viewed via a browser. Well done, Microsoft! That's pretty amazing that that works!

Database Week at the AWS Loft

Here are my notes:https://databaseweekoctober2019sf.splashthat.comDatabases on AWS: The Right Tool for the Right JobI'm not taking super deep notes for many of these talks. I'm focusing on the highlights.PostgreSQL came after MySQL.8 categories of DBs on AWS:RelationalKey valueDocumentIn-memoryGraphSearchTime seriesLedgerSearch for: AWS Database ServicesFor relational, they have Amazon Aurora. It's compatible with MySQL and PostgreSQL. It has 5x throughput compared to MySQL (on RDS) and 3x compared to PostgreSQL (on RDS). It can scale out to 15 read replicas. It's fault tolerant and self-healing. It keeps 6 copies of the data across three AZs. It can provide continuous backup to S3. It has encryption at rest and in transit. It's fully managed by Amazon. They support cross region (unclear) and itself uses Aurora at least for some stuff.There's a database migration service.They also support other DBs such as SQL Server using RDS.Next, she c…

A nice conversation about programming languages with my mentor, Michael Cheponis, an old school programmer

Mike wrote: Yup. Sure took long enough for The Industry to recognize this.

Is Object-Oriented Programming a Trillion Dollar Disaster?
I wrote: *Sigh*, I don't think everyone agrees just yet. When I interview people, I really like testing whether they can code in an OOP style *and* in a functional style (closures, map, recursion, etc.). Aside from the OOP connection to mutable state, I wish more languages had stronger support for immutable data, especially when it comes to concurrency. I like the immutable by default idea. Mike wrote: *Sigh*, I don't think everyone agrees just yet. When I interview people, I really like testing whether they can code in an OOP style *and* in a functional style (closures, map, recursion, etc.). Aside from the OOP connection to mutable state, I see the problem as OOPs being the sausage casing that all / most problems are supposed to be ground up and shoved into it.  It's the straight-jacket that concerns me.
I like Kay's orig…

Popularity of Manually Installed *NIX Shells on macOS According to Brew

Here is the popularity of various manually-installed *NIX shells according to how often they've been installed within the last 30 days via Homebrew:ShellPopularityzsh44809bash21737fish9307tcsh236ksh69Note, these counts are for people who have manually-installed the shell. Presumably, most people probably just use the built-in version of bash.