Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Reputation Scores for GitHub Accounts

· 8 comments · 650 words · Viewed ~1,466 times


A collection of little badges showing a GitHub user's achievements.

The folks at GitHub know that Open Source maintainers are drowning in a sea of low-effort contributions. Even before Microsoft forced the unwanted Copilot assistant on millions of repos, it was always a gamble whether a new contributor would be helpful or just some witless jerk. Now it feels a million times worse. There are some discussions about what tools repository owners should have to help…

Get all the reactions to your GitHub content using GraphQL

· 3 comments · 850 words · Viewed ~394 times


GitHub logo.

I am both vain and prurient. A combination which makes me fun at parties and a delight to know. Sometimes when I raise an issue on GitHub, or write a comment, other users leave me Emoji reactions. Perhaps a 👍 or 🎉 if they like my contribution, but occasionally a 👎 or 😕 if they're foolish enough to think I'm wrong. The problem is, GitHub doesn't tell me that someone has 🚀'd my wisdom. If GitHub w…

Responsible Disclosure: Joiners, Movers, and Leavers in NHS BSA

· 1 comment · 450 words · Viewed ~554 times


Your organization, NHS Business Services Authority that you are a member of, now requires all users to only have secure two-factor authentication (2FA) methods. You currently have SMS/Text message configured as a 2FA method, which is not considered secure. To access NHS Business Services Authority resources, remove SMS/Text message as a 2FA method.

Many many years ago, I did some work for the NHS. As part of that, I was given access to certain GitHub organisations so that I could contribute to various projects. Once I left that job my access was revoked. Mostly. A few weeks ago, I received this email from GitHub. On the surface, this is a sensible email. They want all their members to only have strong 2FA and I still had SMS configured …

Was my website mentioned in a GitHub issue?

· 3 comments · 600 words · Viewed ~622 times


GitHub logo.

This is a quick GitHub action to get alerted every time your website is mentioned in a GitHub issue. Doing it manually You can search GitHub for a URl, and sort the results with the newest first, like this: https://github.com/search?q=%22shkspr.mobi%22&type=issues&s=created&o=desc Using the API GitHub has a fairly straightforward API - although it uses slightly different parameters. …

GitHub's Copilot lies about its own documentation. So why would I trust it with my code?

· 6 comments · 400 words · Viewed ~1,715 times


Me asking Copilot how I switch it off. Copilot responds with a link.

In the early part of the 20th Century, there was a fad for "Radium". The magical, radioactive substance that glowed in the dark. The market had decided that Radium was The Next Big Thing and tried to shove it into every product. There were radioactive toys, radioactive medicines, radioactive chocolate bars, and a hundred other products. The results weren't pretty. In the early part of the 21st…

Corporate Blogging is Hard; Open a GitHub Issue Instead

· 3 comments · 350 words · Viewed ~224 times


The Prisoner from the 1960s TV show giving the "be seeing you" sign.

(Inspired by this conversation between Jukesie and Himal) Lots of companies encourage their staff to blog. It's free PR! It makes them look like they're on the cutting edge of technology! It helps with recruitment! It can also be a corporate nightmare. What if the developer says something stupid? What if it accidentally reveals something top secret? What if the CEO doesn't like it? And so,…

The Pull Request Hack is Fucking Magic

· 9 comments · 350 words · Viewed ~15,488 times


Rows of icons - each one has the size printed next to it.

I don't have time to keep up with all the daft Open Source projects I release. I wish my skill and my energy was as wide as my ambition. Several years ago, I came across Felix Geisendörfer's Pull Request Hack. The premise is simple - if people are making decent Pull Requests to your project then you should give them commit access. It sounds mad, I know. But it has worked really well in my case. …

Check if your code is cited in academic works

· 1 comment · 300 words


List of citations, including one of mine.

I am a vain man. For a few years, I've been tracking academic papers which cite my blog posts. Recently, someone let me know that they'd found one of GitHub repos in a paper they'd read. It hadn't even occurred to me to search for those! So, shove your GitHub URl into Google Scholar - https://scholar.google.com/scholar?q=github.com/edent - and you'll see if any repos have made it into…

Book Review - Working in Public: The Making and Maintenance of Open Source Software by Nadia Eghbal

· 1 comment · 300 words · Viewed ~231 times


Book cover.

Over the last 20 years, open source software has undergone a significant shift—from providing an optimistic model for public collaboration to undergoing constant maintenance by the often unseen solo operators who write and publish the code that millions of users rely on every day. In Working in Public, Nadia Eghbal takes an inside look at modern open source software development, its evolution o…

Sometimes a bad patch is better than no patch

· 1 comment · 450 words · Viewed ~226 times


A screenshot showing the difference between two text files.

Cunningham's Law states "the best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer." Edent's 7th Law (My blog; my rules!) states "the best way to get an open source project to fix an issue is to send a slightly wrong Pull Request." Let me explain... Two years ago, I noticed an annoying bug in the markdown parser of WordPress's JetPack plugin. …

There's nothing I hate more than text config files

· 8 comments · 750 words · Viewed ~800 times


A GUI for creating webhooks.

I'm going to revisit an argument I had in… Ooooh… 2001ish? I wanted to make some edits to my university's fledging student union website. In order to do this, I needed to learn the arcane art of SSH. This was one of my first introductions to text based config files. I was horrified! A single typo, or a stray comma could break everything. The instructions our WebMaster provided were laughably unc…

Feature Request for GitHub - commit *as* an organisation

· 12 comments · 450 words · Viewed ~398 times


Binary code displayed on a screen.

There was a "situation" at work. We were publishing a high-profile project (take a wild guess) on GitHub. We had received abuse and were worried that someone might target the programmers who worked on the project. Obviously, we take cyber-security seriously, but how do we deal with personal-security? Here are the options we considered: Get everyone to sign up for a secondary GitHub account to …