SAM MORRELL


ASTROPHYSICIST

Development

Dealing with Blank Lines Comments in Fortran READs

September 4, 2017

Just a quick little programming snippet today. When preparing data files, it’s often useful to include headers and comments in them, especially in the more complicated ones. Most data applications that you might be loading data into, such as maybe Python or MATLAB, have plenty of ability to filter out those comments, but what if...

Once Again, With More Soul

March 22, 2016

In my free time of late, I’ve been busy beavering away on my latest website. This one has taken a few weeks to perfect and hone but this is the brand new website for my band Soul Traders. This has been coming for a little while, and when you see the old site you’ll understand why. It’s...

Tackling Internal Server Errors When Using Jade-PHP

July 13, 2015

I’m currently taking a break from the glitz and glamour of astrophysics and instead am working on various development projects I promised I’d do for people. My main experience with web development in the past couple years has been using the excellent combo of Node.js + Express + Jade + Stylus. This combo is great...

My New Project – Axe Engine

October 25, 2013

Despite being deep into the 3rd year of both a physics degree and deep into a masters project, I’ve decided to try something quite ambitious. For ages, I’ve wanted to try my hand at writing a 3D game engine, and until now I’ve had neither the confidence or the knowledge to carry off such a...

Mini Javascript Hackathon – Tix Clock

July 31, 2013

I’ve spent a lot of time recently writing C++, Python and Shell Script. These languages are great, but I fancied taking a break from them to go back to my old stomping ground. Earlier today I remembered about the existence of a cool little, almost completely useless, piece of geek tech known as the Tix...

Gambling with Statistics – Monte Carlo Methods

July 20, 2013

Hey all! In my recent work I’ve been using numerical simulations involving radiative transfer, which basically  means transferring energy via radiation such as light; in the form of photon packets. The way these simulations are run is via a method known quite widely in the physics world called ‘Monte Carlo Methods’. It took me a...

Messing with the Tumblr API

June 11, 2012

Last night I had a near overwhelming urge to do something web design related, which really isn’t good when you’re in a battle to the death Angry Birds tournament. None the less, I dropped that (I lost catastrophically by the way) and retreated to my favourite text editor and started writing HTML. It was very...

My Challenge – Learn C++

April 12, 2012

Most people who know me will tell you that I’m not one to shy away from a challenge. This is one of those occasions where said stubborn jack-assedness comes in quite useful. Many times before I have wanted to learn the programming language, C++, however as I’ve come to discover, this is no easy feat....

Dahl – Progress Update 1

July 24, 2011

Hello all, if you follow me on twitter, @smorrell if anyone is interested, you may have noticed I haven’t half been prattling on lately with a load of mumbo jumbo. These are my little snippets of code so here’s some context to my programming jargon fuelled tweets. Time for a little progress report on Dahl,...

My Newest Little Project – Dahl

July 21, 2011

Hello all, I’d like to give you a quick introduction to my latest little project. I like to call it ‘Dahl’, or if you like Acronyms Data Abstraction & Handling Layer. It does pretty much what it says on the tin. It’s a layer that can be built into websites / applications to provide data...

Making my CMS – Part 2

December 26, 2010

Hey Everyone! Time for a quick update on my PHP project. It’s going fairly swimmingly thus far. I’ve got a functioning core, now it’s time to start building it out and working out the bugs. Here’s some specifics on what I’ve been up to. I’ve got a functioning Module Loader working, it detects and loads...

Making My CMS – Part 1

November 17, 2010

Hey all, Long story short I’ve been doing an awful lot of college work of late and I haven’t had a chance to update. Here’s my opportunity! I am writing a system for fun, so I figured I’d update this blog and vent my geekiness onto the internet. Let’s begin! My Plan My Plan for...