Chris Roos by Chris Roos

Week 478 - Interesting links

Git trivia

Tom S explains that, when splitting a commit during an interactive rebase, it’s possible to see the parts of the original change that are outstanding using the following command. JM

git diff `cat .git/rebase-merge/stopped-sha`

CoTech Community Call #2

I really appreciate Laura Hilliger taking the time to write up these notes. GFR gets a bit of a mention. Thanks to Chris L for being the voice of Go Free Range on the call! JM

Lessons learned writing data pipelines

Victor Arias talks about some of the hard-won lessons he learned building the data warehouse infrastructure at FutureLearn. I also worked on this system and we often spoke about how we’d love to share what we were doing but never seemed to find the time. Victor has decided to try to post one thing a week with the barrier to publishing being something helpful that someone around him didn’t know about. I think that’s a really good strategy and look forward to reading more. CL

What the jot command can do for you

I came across jot when looking for a way of generating a random number within a range (between 1 and the total number of lines in a text file). I’d not come across it before but it worked perfectly for what I wanted to be able to do. The jot utility does more than just generate random numbers and this article gives some examples of what it can be used for. CR

The proposed contract variation for Digital Outcomes and Specialists 2

We were recently asked to agree to GDPR-related changes in the contract for the Digital Outcomes and Specialists Framework. I was really happy to see that the changes were clearly displayed using a diff-like output: red and green highlighting to differentiate between removals and additions. We’ve received numerous contract variations in the past that require fairly significant work to see what’s actually changed so it’s great to see this approach by GDS/CSS. CR

If you have any feedback on this article, please get in touch!

Historical comments can be found here.