When trying to boot a SvelteKit project inside GitHub Codespaces your app may fail silently and show a 502 Bad Gateway error when opening in the browser. The issue is that Vite does not listen on all addresses by default , it needs to be configured to do so. You can fix this with a temporary workaround each time or a permanent configuration change in your project. Temporary workaround: When…
Today a discussion on Discord about NFTs and environmental impact respectfully erupted into a situation XKCD portrays well: https://xkcd.com/386/ Well, it turns out I was the wrong someone on the internet. My hypothesis was that CO₂ emissions of cryptoassets are much lower than a large US tech company like Apple when adjusted by market capitalisation¹. To work this out I decided to compare Bitcoin…
While doing some diagnostic work today to determine changes within a big directory of code across two versions, I wanted to remove the noise to see only the modified files in a git diff. After a quick search around, I found myself in the Git documentation scrolling through command options. And there I found it , a flag --diff-filter. To diff some changes but only show modified files , use git diff…
Photo by Carlos Muza on Unsplash Today marks some personal progress on responsible use of technology. After making plans over a year ago, I’ve finally broken ground on replacing the invasive Google Analytics from my personal website and side projects. Does that mean no analytics at all? No, it’s a valuable part of the stack. From experience, I get a lot of drive knowing how much traffic projects…
https://play.aidungeon.io/ I was introduced to a fascinating text-based adventure game this week. Built upon OpenAI , AI Dungeon 2 drops you into a totally freeform adventure that you navigate using written verbal actions or speech. A “custom” option even allows you to create your own starting prompt. Let me share my full first playthrough. I found the AI’s responses, while sometimes a bit off the…
ffconf 2019: A powerful theme of ownership This November was my fourth ffconf. The schedule was remarkably well thought out, keeping complementary talks one after another and moving between topics after breaks. As a result, it’s the first ffconf I’ve found that I can remember each talk, speaker, and title from memory. Usually my overwhelmed mind jumbles points from some talks as being raised in…
Photo credit Katariina Jarvinen lighttrick.co.uk Developing across the stack can be a challenging role. There’s an expectation here to be the expert at everything , where in fact, knowing when to admit defeat can be the key to success. The ability to rapidly develop a fit-for-purpose solution as generalists beats a specialist team — at least early on. I fell into full stack development when I…
The (lack of) evolution in the Macbook product line has bitterly disappointed me, so I went out looking for comparable alternatives. It wasn’t the first time I’d found myself in this position and unsurprisingly the results weren’t all that different. There’s bizarrely limited direct competition to the Macbook. My searches led me to the Lenovo Yoga and Asus Zenbook series, but if we’re being honest…
Getting hired as a remote developer — my experience Working from BioLAB in Siem Reap, Cambodia Just back on home turf from four months of travel with no intention of stopping — next stop, France — my wife and I have embraced the digital nomad lifestyle after piloting the idea on our honeymoon. And reassuringly my appetite for doing some team-based work has come back strong, which for me means…