Redirect GitHub ID to Username

by @edent | # # # # # | Read ~127 times.
A screen of JSON code showing my details.

Scratching my own itch here... GitHub users have a username (mine is @edent) and have a user ID number (mine is #837136). If you want to redirect a user ID to a username, you can use the little service I've cobbled together: https://edent.github.io/github_id/#837136 That will take your browser to my GitHub page, using nothing but… Continue reading →

Previewing Circular Avatars

by @edent | # # # # # | Read ~184 times.

Play with the demo I was lucky enough to go to Number 10 Downing Street for a meeting a few weeks ago. A perfect opportunity for a photo of me by that famous door. Being the vain man that I am, I wanted to set it as my avatar photo. But Twitter and other social… Continue reading →

Get your Google Location History the hard way… Again!

by @edent | # # # # | 10 comments | Read ~7,743 times.

Last year, I wrote about how to extract Location History from Google. Once again, Google have changed their URLs to make it even harder to get one's current location out of their data-greedy hands. It used to be the case that Latitude gave that information - but they killed it. Then they promised it in… Continue reading →

Why I vertically align my code (and you should too!)

by @edent | # # # # # | 28 comments | Read ~80,118 times.

There was an interesting discussion on HackerNews last week about the Linux Kernel coding style. During the discussion, I kicked off a minor holy war about whether one should vertically align code. I'm all for it! Let me explain why. What Is Vertical Alignment? Take this trivial example: int robert_age = 32; int annalouise_age =… Continue reading →

Extracting Your Own Location Information From Google - The Hard Way

by @edent | # # # # | 21 comments | Read ~36,660 times.

Update! There's a new way to do this - read my latest post to find out how. Two or three years ago, I was contacted by a recruiter from Google. They wanted to know if I'd be interested in working for the advertising giant. We played the usual game of dancing around salary and schedules,… Continue reading →

Learning to Code vs Learning Computer Science

by @edent | # # # # | 33 comments | Read ~64,561 times.

It's always very tricky when people who aren't educators start banging on about what should or shouldn't be taught in schools. My own school days are but a hazy memory of hormones, angst, and boring homework. Yet here I am, pontificating. With the current "fad" of encouraging children to learn to code, I thought I… Continue reading →

Dave Winer is Wrong About Hackdays

by @edent | # # # # | 1 comment | Read ~177 times.

Dave Winer is totally off base when he says "Hackathons are how marketing guys wish software were made." Perhaps it's different in his part of the world, but over here, hackdays are fun! All the hackathon / hackdays I've been to are, essentially, Scrapheap Challenge* for software people. *Note to Americans, Junkyard Wars is the… Continue reading →

Displaying Twitter Photos via Entities

by @edent | # # # # # # # | 3 comments | Read ~1,800 times.

Twitter has announced that it will soon open up a native photo sharing service. Rather than using an external service like Embed.ly to retrieve thumbnails, all the data is embedded within Twitter Entities. So, if you request a status using "include_entities=true", you will be able to grab the image and display the thumbnail using the… Continue reading →