Sunday, April 29, 2018

Arch Linux Arm

I still have a few older Raspberry Pi's, i.e. RPI B. A full blown OS with GUI desktops might be to much for these models. I found Arch Linux Arm to be a great alternative OS, especially for headless servers.
The distro is currently maintained & up-to-date with python 3.6.

Saturday, April 14, 2018

My fizzbuzz

The "fizzbuzz test" is an interview question said to filter out the 99.0% of programming job candidates. The requirement are, write a short program that prints each number from 1 to 100 on a new line. For each multiple of 3, print “fizz”. For each multiple of 5, print “buzz”. For numbers which are multiples of both 3 and 5, print “fizzbuzz".

#!/usr/bin/env python3

for i in range(1, 101):
    print("%i:" % i, sep='',end='')
    if i % 3 == 0: print("fizz", end='')
    if i % 5 == 0: print("buzz", end='')
    print()

Jesse's Awesome Internet Lab - JAIL

This is my main work area. I have a MacBook, a Windows machine and a couple of Raspberry Pi’s. I am planning to install Ubuntu on another machine as soon as the LTS is released. I also have a couple of Beagle Bones and Pogo Plugs that I plan to install Arch Linux on.