Thursday, November 23, 2023
Git branches: intuition & reality - There's definitely confusion in this area, but for me it isn't around the concept of a branch. I'm happy with my mental model of a branch. However I've always been confused by the concept of a rebase, while I'm happy with the idea of a merge. Though the article was looking at it from a different angle than I would have liked, the diagrams midway through that compares a simple rebase with a simple merge make a lot of sense. The rebase basically squeezes in all the latest commits from main, shoving them below the common ancestor, thus re-creating the base that the feature branch is built on. Presumably this results in a branch that has a more full history, whereas a branch updated via merge has loads of code appearing all in one go at the merge point. The article doesn't go into that, which is a bit of a shame. I'm going to continue favoring merges, for now I'm still not convinced that rebases are worth the trouble. jvns.ca #
HTML Web Components - Chris Ferdinandi comments on Jeremy Keith's HTML Web Components piece from earlier in the week. He's got a great example of how they can be used to enhance existing HTML, massively reducing the amount of code needed in a recent Nasa project he's been working on. Pretty cool. gomakethings.com #
Welcome to the Next Era of Loom - I haven't used this product but the feature descriptions sound awesone. It's an AI that watches your videos and automatically does tedious things you normally have to do yourself like creating a title and description, but it can also summarize discussion points, aggregate tasks and even create chapters for easy navigation. It's really impressive, I could imagine that these sorts of tools will make working with video really attractive for teams. I'd love to have some of these features in my static site generator. loom.com #
Sam Altman to return as CEO of OpenAI - It would be interesting to compare the complexity of these big tech events over time. Similar to how in code you can measure cyclic complexity, it seems the blow ups are ever more complex and over shorter and shorter timescales. Eventually...I'm not sure, do all our heads explode? Or perhaps a massively distributed never ending race condition, like a star-trek-phazers-on-stun-appocalypse? theverge.com #
Everything is a file - "Everything is a file" describes one of the defining features of Unix, and its derivatives--that a wide range of input/output resources such as documents, directories, hard-drives, modems, keyboards, printers and even some inter-process and network communications are simple streams of bytes exposed through the filesystem name space. en.wikipedia.org #