Category: Programming

Creating My First Google Chrome Extension – Part 3

I was looking forward to wrapping this extension up within the first couple days of xmas break (my workplace shuts its doors between Christmas and New Year’s), but then every single one of my kids got sick in turn. It was a crappy week. But now it’s finally done, and I can generate bookmarks from Pinboard tags the way I wanted. All in all, a good learning experience!

Creating My First Google Chrome Extension – Part 2

PART 1 | PART 2 | PART 3 I started writing my first browser extension a couple weeks ago, and though my spare time has been pretty limited I’ve made some (never as much I’d like) progress. I left off last time with (finally!) figuring out how to authenticate to the Pinboard API. As with so many things, once I knew the...

Creating My First Google Chrome Extension – Part 1

PART 1 | PART 2 | PART 3 Something’s been nagging me… I’ve been on this kick recently, trying to untangle myself from my reliance on all things Google. Their services are great, and I don’t mean the following to be a rant, but a few things worry me… Should I put all my eggs in one basket? It seems unlikely,...

How to compare two objects (testing for equality) in C#

Hacktoberfest and the promise of free t-shirts had me looking for a project to help with this month. That’s how I stumbled across GeneGenie.Gedcom, a genealogical library written in C# (read more about it here), and found myself reviewing everything I know about class equality. I focused on implementing some logic to make sure changes were correctly detected, and in order to do that I had...

What is Hacktoberfest and How Can You Participate?

There are 10 days left in October. 10 days to earn a t-shirt in the third annual Hacktoberfest, when DigitalOcean and GitHub offer swag to the masses to encourage contributions in open source software. Last year, DigitalOcean said participation jumped from under 1000 to 5700+ in nearly a hundred countries. I wonder what the results will be this year? And...

Naming Things Well is Much Harder Than Just Adding One More Comment

When I was taking programming classes in college, comments were all the rage. Most of the solutions I handed in had one function (or very few), with comments above the class, above each function, within each function. Everywhere. Instructors wanted lots of comments. In retrospect, I’m not sure why. Maybe so that if the code was off, they could still give partial credit, like...

How to Develop Python in Visual Studio… and Mix it Up with the .NET Framework!

I’ve been learning about the Raspberry Pi for a few months, occasionally writing about it. I usually start on a laptop using JetBrains’ PyCharm IDE, which is much faster than the Pi, then move everything over when it’s done and I need to run it against the GPIO pins. But Visual Studio was my main coding environment for years, and I got really comfortable...

A Tail of Recursion in Erlang (a C# developer’s observations)

A group of us at VHT has been meeting weekly, reviewing some Erlang basics and running through examples. Even though it means giving up a lunch hour, over a dozen people have still been showing up to learn and help each other. Two of us were recently challenged to figure out a couple problems in Erlang without using obvious built-in functions: Determine the length of a list. (without...

Learning Python for the Raspberry Pi

Once you’ve connected the peripherals, installed NOOBS, and gotten your Raspberry Pi up and running, pat yourself on the back and take a moment to bask in the glow of the large raspberry on your Raspbian desktop. Whee. Okay, that’s enough gloating, ya narcissist. So now what? Choosing a Language After getting my first Raspberry Pi 2 up and running last weekend, and taking some cursory glances...