Please Stop Inventing New Software Licences

by @edent | # # | 2 comments | Read ~205 times.
Binary code displayed on a screen.

A few weeks ago, I received an unsolicited email inviting me to try out an exciting new “quantum resistant” cryptography app called Cyph. Because I hate myself, I signed up. Of particular interest to me was the fact that the homepage loudly proclaimed that it was “Open Source” – and had a public GitHub repo.…

Continue reading →

Do any Open Source Licences require source history?

by @edent | # # # | 10 comments | Read ~2,136 times.
Binary code displayed on a screen.

A question to the void. Are you entitled to get the source history of open source projects? Lots of Open Source licences give the consumer of software the right to a copy of the source code. For example, GPLv3 says that distributors of software have to: give anyone who possesses the object code … a…

Continue reading →

Relaunching @edent_solar. Part 3 – API & Code

by @edent | # # # # | 2 comments
Solar Graph.

I’m hooking my solar panels up to Twitter! Installation Inverter Fronius provide a comprehensive API guide – I wish more companies did this. There are lots of unofficial libraries in a variety of different languages. I’ve written this code in Python3. This is a general tidy-up of the code I wrote several years ago. Here’s…

Continue reading →

Add review to Goodreads from Schema markup

by @edent | # # # # # #
The Goodreads Logo.

I write book reviews on my blog. I also want to syndicate them to Goodreads. Sadly, Goodreads doesn’t natively read the Schema.org markup I so carefully craft. So here’s the scrap of code I use to syndicate my reviews. Goodreads API Keys Get your Keys from https://www.goodreads.com/api/keys You will also need to get OAuth tokens…

Continue reading →

Redirect GitHub ID to Username

by @edent | # # # # # | Read ~913 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 ~190 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 ~9,102 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 | # # # # # | 30 comments | Read ~83,292 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 ~40,024 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 ~66,446 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 →