Recently I embarked on a new revision of my tumblr theme. This one has more specific css geared towards individual pages.

However I discovered that tumblr has been injecting ~1.5mbs of crap scripts. Yeah that’s right - and you have no control over it. Not only that but I have been using the tumblr dashboard since the last three years and there has been no change it the developer tools, or theme tags.

Yessir we’re all using the same tools to develop and design tumblr themes since pre 2014. This sucks.
And so the executive decision has been made. I am moving my blog away from tumblr and on to wordpress.

There are couple of good reasons for this:

  • More control over the website
  • Excellent SEO tools and plugins from the wp community
  • No more crap scripts and shit getting in the way
  • More control over how content is served
  • And much more..

Having said that I’ll miss tumblr’s dashboard.

Seems like I keep getting more inquiries on picking programming as a career choice from the young'uns as I get older.

The most common question I have heard is “Are the prospects good for IT right now?”. Now I would like to cringe and show the other person my middle finger but being well versed in the arts of social jiu jitsu I hold my firm as I tell them(usually) why would they even ask me that if its their passion.

But I digress. Lets move on to the mudda.

Pros of being a programmer

  • Pretty sweet salary. Can live off comfortably even while working part time.
  • You can ideally find work anywhere in the world if you’re good enough.
  • The world is your digital oyster! Hack around IOT stuff, make a webapp to plan your schedule. Having an in-depth technical knowledge about IT stuff helps a lot nowadays.
  • Much more easier to become a programmer. Tons of (free)resources are available online.

Cons of being a programmer

  • Its unhealthy. Sitting in front of a computer every day for the rest of your life will eventually fuck up your back/arms/eyes etc.
  • The community which is friendly, is too PC. Make of that what you will.
  • Not a lot of good rolemodels in the industry.
  • You will need to invest a lot of time on a semi-regular basis just to catch up with the new stuff being created by the community.

Note: All this won’t apply if you don’t like programming.

function(comments) { {

If the code above is enough to send you running for the hills, programming is a bad career choice.

I am no expert on this topic. I am giving my wisdom on whatever experience I have gathered in the last five years. It will be interesting to see my thoughts on this topic about 2-4 years from now.

Lets talk about wordpress

Wordpress is a pain to develop for. The looping mechanism sucks, most template functions output html and there seems to be no consistency in naming functions.

This is where the broken glass theory shines. A lot of design decisions taken in developing PHP early on were complete crap not to mention the inconsisties in naming conventions. This design philosophy somewhat carried over onto wordpress.

Wordpress sucks, PHP sucks.

Now that we have got that out of our way, lets talk about making websites in wordpress.

After working for over six months at True, I have come up with a plan on making better websites with wordpress

  • Don’t use the default archive pages. Use a custom wp_query()
  • Use ACF. Worth every cent.
  • Use BackupBuddy for deployments
  • Make a new html template for every page. Namespace your page specific css with the classname generated by wordpress inside the body tage.
  • For advanced functionalities, use a custom post type. If you want a archive page, just make a new template and run a custom loop instead of relying on the default loop.

Based on these guidelines, I created a custom starter theme based on the _s theme.

If you haven’t tried out browserstack for browser testing, you’re missing out! They have improved by leaps and bounds since I first started using them. The interface is extremely smooth and the emulation devices are pretty snappy too.

Its been a long time since I’ve blogged. I went to New Zealand during New Year’s, visited Wilson’s Prom afterwards and overall had a blast during the summer. I actually feel sad that this will probably be the last heat spell of the summer.

I am not a big fan of cold weather. This could be because I come from a place where the average daytime temperature is 35+

Which is a shame because nine out of twelve months, Melbourne is pretty friggin cold.

Floating at the Mordialloc beach I calculated how many days could I enjoy like this. Two more weekends this summer plus around six on an average every summer. I reckon I’ll live to at least 50 and total comes out to 180.

Fuck, I already miss the summer.

I’ve made some major changes to this blog

  • Changed fonts to Karla.
  • Added photoset support via
  • Modified the particle effect and added a light blue overlay on top of the blog.
  • Made photoset posts extra wide on mobile and made the overall width of the blog to 82% for mobile devices.
  • Other minor changes.

Photoset is a great way to set images in tumblr. Just drag the images and they will adjust in a grid layout. Right now, I am posting old photos from my previous trips just because they look so fantastic on my blog.

MYOB sucks. Their database design is the worst, using Y and N in some places to denote boolean values. They also don’t have a sql database. It looks like some sort of a no-sql database cobbered together under 12 hours.

Also, they don’t support joins. Understandable as they don’t implement an sql database BUT the api they expose mimics an sql database. This leads to all sorts of inconsistencies and fuckups.

In the next couple of weeks lightgrid will go through a massive overhaul. There are some basic things lightgrid is missing which are present in other frameworks. Right now it seems like all frontend frameworks are comparing themselves against bootstrap.

Now I’ve never been a fan of bootstrap. It is clunky, bloated and packed with unnecessary styles. That being said, we made a decision at the agency I work at to remove all the unecessary includes from bootstrap. This is actually a good solution as the grid system bundled along with it is one of the best but the extra styles are unnecessary and add a lot of bloat.

Back to lightgrid, these are the things to implement now:

  • Make the grid system like bootstrap’s but remove the container requirement and use calc() for the gutter instead of padding
  • Use the newer normalize.css and hook up more configurable variables to it.
  • Research into a flexbox based grid system(won’t be released in the earliest 3.x.x release though)
  • Add better media queries(again, based on bootstrap’s breakpoints)

Almost forgot I joined True Agency in late august.

Its been fantastic working for them. Probably the biggest change is that I am working on wordpress and php after a long time and it doesn’t feel so bad using it.