Front End

  • Front End,  javaScript

    a JavaScript Closure in one sentence.

    In every interview curcit I find myself having to explain what a closure is to people. With it being such a simple thing yet misunderstood I realised today that I should really just have it summed up in one sentence rather than having to bumble through and then in the end just say oh… can I just show you. A closure is a JavaScript function’s ability to access/remember variables within its local scope after execution. Hopefully this will stop me looking like a excited teenager eager to learn while staring into my knowledgeable interviewer’s eyes and morph me into the somewhat knowledgeable employable keen JS dev I am. One thing…

  • Front End,  Internet

    The end of Virgin Media

    I’ve had Virgin Media or rather Telewest (Blueyonder as the internet part of their company was called) since they first introduced 512kbs broadband. to the UK in, I am guessing but I was in year 6 at Fortismere, so i believe 2001 or 2002. I clearly remember talking to Alex Tenyson about it and that I would be able to download the lord of the rings films from Kazza in 350seconds. He pointed out I wouldn’t actually get a download of that speed 🙁 More like 50kps download. I’d ben trying to download the liveCD’s of the film, 3 discs all on dial up 🙂 Since then, its been…

  • Gulp,  javaScript

    Debugging Node.js in Chrome DevTools… I never knew!

    I’ve been away for node for well what seems like forever, but its maybe been 6 months since I did it at work and 13 months since I did it at home… A long time. I’ve spent this evening bringing the new Norseman Old Mayfield site that I had been working on before the fall (of mayfield) Its a promise hell in this project so I thought, urgh somebody must have done something cool by now, google it bosh: Fantastic!!!! Now I can interact with my objects and what not in the f’in mother fudging CONSOLE! hahah yes!

  • Front End,  Gulp,  javaScript

    Reasons why I bloody love Browserify!!!

    A single sexy file I can use watchify on it I am uglifyify the bloody shit out of it!!! 1.7mb file? No a 243kb file. I can pipe whatever the hell I want to it… (just the things already mentioned, for now anyway) I can push jadeify through it I can enable source maps!!! debug: true But mainly… its the one file thing, its driving me nuts how brilliant this. I thought requireJS was half decent. Now I realise that it was convoluted  and bloody confusing at times Being able to just use requires is really refreshing… (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var…

  • Adult,  Facebook,  Google

    Sex Diaries is a Sex Tracker

    It seems to me that the name choice for the new App Sex Diaries which lets its users track their sex and get naughty little graphs and what not was a bad name choice in hindsight. Anything with Sex in it is a rather hot keyword. Much to my shame. The key to success? Change my name and make sure people know that Sex Diaries is a Sex Tracker and not just some diary that does nothing. Alas, we won’t change the name but I will try and make sure people know that Sex Diaries is a Sex Tracker which is no easy task. Blogging about it… If you’ve got…

  • Facebook,  Front End,  Social

    Sex Diaries is now on the play store. Let the social media begin…

    So, after much up and downing with my emotions the app is now currently living: Brilliant. This makes me very happy, shame though that I can no longer manage the app. The app is still 0.0.1 so very far from being finished, but its still time to get the social side of things going. Step 1: Get my Facebook page up to scratch Step 2: Actually get some content Step 3: Set up an app on there (ye ye, that will come a lot later) Step 4: The most important get some Facebook interactions and likes. So, Step 4. Well I’ve started some adverts, thanks Ryan. But I still…

  • Front End,  Google

    How my Google Developers Account got terminated, with no option to appeal.

    [Edit] I’d just like to take the time to give you a summary of why I feel this process is broken, as other have pointed out, they feel this app does in fact breach Google’s policy. Now I accept that this app may indeed deserve being pulled from the store, however this is opinon based, but at the end of the day this is Googles call to make. My only problem with the way it is currently working is the lack of clarity offered, the non specific section that my app is failing at. In other words, please tell me which images are the problem and I can change them,…

  • Front End,  Sass

    Edit SASS files live in Google Chrome Developer Tools

    I never knew!!! To live-edit Sass files in Chrome you need to have the pre-release version of the Sass compiler, which is the only version that currently supports source map generation. gem install sass -v ‘>=3.3.0alpha’ –pre Once Sass is installed, start the Sass compiler to watch for changes to your Sass source files and create source map files for each generated CSS file, for example: sass –watch –sourcemap sass/styles.scss:styles.css I’ll forget this, so I need to post it again, to remind my self (why not bookmark it (as if you could ever fine things after book marking things)) Heres the full ur: