My Pluralsight Course Just Launched!

Posted on

Pluralsight is a fantastic training resource. Period.

I first became familiar with it a year ago, while working for Thomson Reuters. The company was kind enough to offer developer training through Pluralsight for all the developers. I still remember logging in for the first time, my initial thoughts were "holy crap, I have access to all this knowledge?"

It's truly a gigantic library, and today I'm proud to say that I've contributed to it. My course, Python Desktop Application Development just went live - and I invite you all to check it out!

Read more »

What Happened to Microsoft?

Posted on

Disclaimer: the post simply expresses my personal opinion. I have not done any kind of scientific/other research to back up my claims.

While I am a Linux user, I do not have any major gripes with Microsoft or more specifically with Windows for that matter. I use Linux not (just) because it's open source, but because I like it the most and I find it the best operating system for my needs.

So, what happened with Microsoft? If we roll back ~7 years ago, Windows 7 came out, Android was irrelevant, iPhone just came out. Chromebooks weren't even a

Read more »

TIP: Don't Reinvent the Wheel

Posted on

It may seem obvious, but when it comes to programming, don't reinvent the wheel.

You probably already know this and reading this you're probably thinking "yeah, I know that. And I never do it". However, most likely you do that from time to time, and you're not even aware of it.

Whenever in doubt on how to implement a certain algorithm, look for an existing solution first. Whenever you're not 110% sure about your code, look for an existing solution. If you ever read your code the next day and you think "wait, this doesn't really make sense" or "ugh

Read more »

Bored? Have some browser console fun!

Posted on

The other day at home I was working on one of the websites and had my Chrome developer's console open. As I navigated away from my website and visited another one, a message showed up in my console:

The website in question? Facebook (once logged in).

What struck me as unusual is fairly obvious - wait, how the hell did they make the text red, bigger, added borders around it...?

What I then learned is that console.log (and its twins) can take a second argument, an Object - and that can be CSS.

So I typed

console.log("%cHello

Read more »

Threads and Queues

Posted on

The software written in Python is generally command-line based (i.e. without GUI) or web based. That makes it kind of have the advantage of not having to implement threads as a must; a couple of print "Please wait..." outputs “solve” this problem.

However, as soon as you get into GUI programming, implementing threads is a pust – at least if you’re serious about your application. Otherwise, the application may seem to freeze if it is doing some long processing in the same thread as the one where GUI is rendered. This will cause the application to “Stop Responding” in

Read more »

VirtualEnv - Why Is It Amazing?

Posted on

VirtualEnv. Even if you’re new to Python, you’ve probably heard of them. They’re everywhere on Python forums, and even when you Google “why is python amazing?” (by the way, you shouldn’t really have to Google that), someone is definitely going to bring up the point of VirtualEnv support. So what are they exactly?

Short for Virtual Environment, VirtualEnv enables you to sandbox a Python project you’re currently working on. “Okay Bo, that sounds great, but could you translate that for me please?”

Sure. Here’s a use case, for example. When I was setting up

Read more »