ELI5: Python @property and setter

For this ELI5 I’m gonna go over the @property and setter decorators. In my objects tutorial I mentioned that you can access and alter the content of attributes directly, but this is not always ideal. In other words, these allow you to create “getter” and “setter” methods that are common in other programming languages.
Continue reading

Posted in ELI5, Python, tutorial | Tagged , | 2 Comments

How To Share Songs Between Devices On Spotify

I recently started using spotify and immediately ran into a very frustrating issue – a bunch of my favourite songs were not available on the platform. While I had my own versions of these songs I needed a way to play them via spotify on any of my devices – my phone, laptop, work laptop and desktop computer. While this is something that isn’t officially supported by the platform, I was able to figure out a system to do so through some digital trickery. If this is a feature you’ve been hoping for to, feel free to read on for instructions!
Continue reading

Posted in General Tips | Tagged , | Leave a comment

ELI5 Tutorial: @classmethod and @staticmethod

In this week’s ELI5 tutorial I am going to combine my last two ELI5s and talk about special decorators in classes. The first two I will deal with are @classmethod and @staticmethod. These decorators can be very powerful and allow you to make a an object that is very easy for a user to interact with.
Continue reading

Posted in ELI5, Python, tutorial | Tagged , | Leave a comment

ELI5 Tutorial: Objects in Python

In today’s ELI5 I will go over objects in python. This is going to be a long one, but by the end of it you will understand the basics of objects in python.
Continue reading

Posted in ELI5, Python, tutorial | Tagged , | 1 Comment

Adding Features to Dicecord Discord

I’ve spruced Dicecord’s discord server up with a few features using webhooks and the IFTTT automation service. The discord will be updated when I push new commits to github and when I post new blog posts here. I’ve decided to write up how I achieved this so anyone interested can give it a try on their own servers.
Continue reading

Posted in tutorial | Tagged , | Leave a comment

ELI5 Tutorial: Decorators in Python

The next stop on our ELI5 tutorials is going to be decorates. These are another example of a very powerful bit of code that can be hard to understand. The quick description would be that these are ways to add code that runs before and after a function call. Read on for a more in-depth explanation.
Continue reading

Posted in ELI5, Python, tutorial | Tagged , | Leave a comment

ELI5 Tutorial: Python *args and **kwargs

In the past my quick tutorials are mainly focused on advanced or weird issues that I had trouble figuring out on my own. I’ve decided to shake that up a bit and do a new tutorial series: ELI5 Tutorials. For these tutorials I am going to go over some more common features of python that I feel people tend to explain too abstractly for novice programmers. I’m going to start my series with something pretty simple but very unintuitive: *args and **kwargs.
Continue reading

Posted in ELI5, Python, tutorial, Uncategorized | Tagged , | Leave a comment

Dicecord on Discord

I figured that it was about time to make a Dicecord server on Discord. You can join it here.

Currently it is very barebones, just some basic channels with a dedicated channel for dicerolling via the bot.

Posted in Dicecord | Tagged , , | Leave a comment

Quick Tutorial: Setting Custom Resolutions on Ubuntu

I have decided to get to grips with linux by installing Ubuntu on a VM on my machine using VirtualBox. Setting up VirtualBox was pretty straight forward, but I had a minor issue I needed to solve. You see, since I was going to be mainly programming on it I wanted to give it a portrait resolution for my second monitor, but when I tried to set that up it rotated the screen 90 degrees in the VirtualBox window!

I tried looking for a way to stop it from rotating but all I found were snarky forum posts from people who didn’t seem to quite understand what the issue is. In the end, I had to figure out a way to set a custom resolution for a “landscape” mode where the width and length were appropriate for my portrait screen. Here are the step to do so.
Continue reading

Posted in Linux, tutorial | Tagged | Leave a comment

4 Tips For Making Your Application Stand Out

“How do I write a good application?” That’s a question I get asked a lot. A big reason for this I think is that it is very hard to get feedback for applications a lot of the time – be it for a volunteer position, scholarship or job people just tend to be told that they were not successful and are left wondering why that is. In my experience, a key part can be the essay or cover letter. These are the best opportunities for you to make yourself stand out from the crowd and can be the key to success. Today, I am gonna share my top four tips on how to make the most impact from your cover letter or essay.
Continue reading

Posted in Volunteering | Tagged | Leave a comment