-
Functional Learnings of Python

Photo credit: cheers Hembo Pagi This is my attempt at converting a solution to a pascal’s triangle problem that I’d written in an imperitive manner into a functional one. I kind of hope that anyone reading this is also trying to figure out the meanings behind functional programming, I’m trying to describe all the steps…
-
Jupyter on Windows with Chocolatey
Install Python This is a quick post (and will probably be outdated quickly), but it took me a while to get it correct. I wanted to install Jupyter on Windows. The recommeded route is via Anaconda but I like to use Chocolatey the Windows package manager as much as possible. I used Chocolatey to install…
-
Getting the gist of segment trees

Segment Trees Wow they seem overly complex to learn about. They’re a very easy concept, but there is a paucity of resources for explaining them. Have a gander at the resources at the bottom for the ones I came across. Took me ages to figure out the differences between them. Here, I assume you know…
-
Lock Stock Pomodoros

I give you http://pom.ianchanning.com. Pomodoros with a Lock Stock film quote at the end of each one. I’m a little obsessive about timers (see bottom) and the other pomodoro timers I’ve tried failed on different counts. I’ve tried to cram everything I find useful about a timer. Firstly spacebar to start/stop. The timer should be…
-
Linux Mint Dual Boot
It’s not supposed to be this painful. I finally (9 months after first attempt) got a UEFI dual boot working. TL;DR Follow one of these: http://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/ http://www.tweaking4all.com/os-tips-and-tricks/uefi-dual-boot-windows81-ubuntu/ I’m calling Linux Mint my lucky charm as that was the first one I got working as a Vagrant desktop and it’s worked perfectly now that I’ve sorted…
-
Scrum unsucked

[Photo credit: darkmatter] I’ve been reading into Scrum closer recently and it just seems like a horrible corruption of an inspirational idea, that could much more easily be integrated into normal project practices. Agile I love the agile principles. I’m repeating them here for my own benefit, I like a good list as much as…
-
New Relic monitoring for Server, Virtual Host PHP and WordPress
New Relic offers completely free server monitoring (CPU, RAM, Network I/O etc) and limited (24 hour retention) PHP application performance monitoring (detailed error logs, PHP vs MySQL load times etc). Its far better than monitoring tools I’ve seen and very useful for trying to figure out any problems with WordPress which can be quite heavy…
-
Second hand bicycles

In response to a blog post ‘Why I keep fixing my bike‘ about the risks of buying a dodgy second hand bike, I wrote the following comment. It’s something I’m quite passionate about so worth storing on my own blog… I have bought at least 7 bikes second hand through either ebay or gumtree all…
-
Dos command history

One of the nice things of Linux is the command history – it stores typically the last 1000 commands or so and its saved every time you log out. DOS does have this through the doskey /history command (but only for current session) and you can relatively easily append this to a file: This file…
-
OpenVPN connects to VPN but no internet
For those stumbling down a similar path… tldr; Check that your Windows Firewall is turned off. My setup OS: Windows 8.1 64-bit laptop OpenVPN: OpenVPN 2.3.4 x86_64-w64-mingw32 My OpenVPN has been working for at least 4 months without problem. First thing to remind yourself is: When you get the VPN working – copy the OpenVPN…