-
In bitcoin circles they speak of "orange pilling" people. It's suppsedly a reference to the red pill / blue pill scene from the matrix. The idea being that you need to convince regular non bitcoiners to try bitcoin. The problem is that the expression comes with a lot of baguage. Matt Odell cover this in some detail on the latest Ep#111 of Citadel Dispatch, it's a very interesting conversation. No one in bitcoin has ever questioned that expression before. I always felt it was a little odd. They absolutely get to the heart of the issue.
Interestingly in the early days of RSS we all had orange xml buttons that link to our feeds. I've always wondered if there was a connection. The sort of irony in all this is that, whatever you think about the bitcoin orange pilling, that is in effect orange pilling people into podcasting. #
Notes
Last 50 days from the notes.
For older posts browse the archives or tagclouds.
-
Typescript makes community programming mire difficult - Rich Harris makes an interesting point about how Typescript has changed how we interact with the libraries we use in our code. Since there's a compilation step required, people are much less likely to explore the libraries they use, adding console.log statements and such. That's a big net loss to the ecosystem when it comes to community open source programing. He makes the case for why it would be better for library authors to use Typescript via JSDOC comments. Great point.
One aspect that I think Typescript devs are very hypocritical about is the extra cognitive load and tooling complexity Typescript adds. It's like now that they have mastered JS and Typescript, they are pulling up the ladders so to speak, making it significantly harder to learn the language. I'm not saying Typescript is bad, but you should not require people building sheds to have to use skyscraper building tools. There's clearly a huge conflict of interest that they fail to disclose. Typescript is really an elitist extension that is only for people with space and time to learn, who are not immersed in chaos. By imposing Typescript early you are effectively shutting out a huge swoth of humans who's lives are not as afluent.
Keep javascript something anyone can learn. Then if you want to go on to build sky scrappers with it, have the tooling available to make that possible. Just my two cents. #
-
Make javascript easy again - It occurs to me that calling Typescript elitist is perhaps an over-simplification of a more complicated dynamic. It's entirely possible that those insisting on Typescript are from under-priveledged backgrounds. Perhaps their difficult path is the thing that causes the hypocracy in the first place. It might very well be that the very afluent don't behave this way.
That would make sense since their path would have been comparatively easier, and so they would not see the need to make it more difficult for the competition. Of course that might just be elitist apologist tosh. Maybe elites really are all evil. Ultimately there's no way to know.
But it's not really that important. What's important is having a language that is easy to learn and experiment with.
If anything, we need to make it easier to learn, not harder. #
-
I've fixed the notes ordering issue and day pages now look much nicer. It only affects the notes and links pages. It just means that when you click through to a particular day, the way the content is displayed remains the same.
Previously the day pages had no date link at the top of the page, so it was a bit jarring. Small change, but huge effort. Readability is important on text based websites. #
-
What if the debasement of money that has gotten much much worse recently was just the beginning. What's to stop other things getting debased? What's to stop AIs monitoring anything that you show interest in, and debasing it as soon as you ascribe some value to it? #
-
It occurs to me that many people that behave with hypocracy, not only don't see their own hypocracy but believe it to be something good, like that's just how one does business effectively. We need more examples of doing business effectively that don't require hypocracy. Even better would be examples where non hypocracy is demonstrably better. #
-
Last Man Standing Tech - Eventually there will be AI that will be so powerful they will be able to decide who will be the winner in a death match between 2 humans. They will be able to do it with accuracy and precision comparable to chess players playing chess.
Except they will be able to basically see infiniti number of moves into the future, in infinite dimensions. And people simply won’t interact with those that the AI tells them that they can’t beat.
Last man standing tech will be a very big sector indeed.
At least this is a possible scenario we need to consider. #
-
The Mental Health Deception - When I was young we simply never spoke about mental health. There were normal people, and there were a very small amount of people that had mental disorders, and those people usually got locked away in mental asylums. That’s just how it was pretty much. It’s horrible to think that it was like that, but it was. In some places it might still be like this.
We’ve progressed a long way from those days. People realise that mental health is something that can affect everyone. Folks that used to bully others, calling them crazies and mental, are now understanding that the way they treated people before wasn’t very nice. They have seen friends or family members be affected by these issues, or indeed have experienced something similar themselves.
In part this is because the modern world is ever more complicated and this is reflected in the stress experienced by the average person. In the modern world people have more mental health issues.
We are due another step forward in how we view such conditions, and it’s around the realisation that the notion of mental health issues is still very antiquated way of looking at it. The problem is that it is implicit in the term that the fault is the person with the mental health issues. That somehow they have brought this condition on themselves by the way they lived their life. That’s the unspoken piece, the unspoken belief that’s never said. It’s something ‘they’ have.
If you spend a little bit of time thinking about it, this notion is absurd. There are a very very small amount of people that perhaps have a physical abnormality in the brain, but the vaste majority do not, yet there are many many people with mental health issues.
The fact is that by definition these people that have no physical disability and have mental health issues, have these issues because of the people they interact with. It must be the case that these interactions are causing the so called mental health issues. In short we must realise that mental health issues are really issues of the group bullying individuals. The environment creates the mental health issues not the individual.
Even if they have substance abuse problems, why do they have these problems in the first place?
Mental health issues is really a failure of the group.
It’s likely that it’s a system level problem where to the total information processing capacity of the system is being reached, and for whatever reason these folks always find themselves as the pressure cooker release valve. It’s not a coincidence. One day we will look back at our primitive understanding of group dynamics and realise that groups can turn into a mob and they might not even realise they are doing it, though they also might. Ultimately it doesn’t matter though. What matters is noticing it is happening and course correcting collectively in a way that de-escalates and moves the unhealthy dynamics to a safer configuration.
In the present day, "mental health issues" is a euphemism for someone that the group systematically and relentlessly bullies. We need to evolve this understanding into a more truthful and effective model. #
-
Two nights of gang stalker sleep depravation in a row so I'm quite exhausted today. Possibly made worse by endless softly softly murmurers today :( #
-
Peter Levels: "Is the MacBook Air 15" w/ M2 a good replacement for MacBook Pro 16"?" #
-
It's possible to easily run MacOS VMs on Mac using something like Vimy. What's the current state of affairs running MacOS VMs when you are on Windows or Linux?
Important question if you are a web developer. It used to be that it simply wasn't possible. I wonder if that is still the case. #
-
Framework have been on a tear recently with lots of product annoucements, and it seem's their new modular laptops are quietly becoming very popular. I love the philosophy behind these devices. What I want to know is to what degree the modularity gives you freedom. In practice is it possible to buy and use comodity hardware or do you end up having to buy everything from them? #
-
Just because they aren't being violent doesn't mean they aren't forcing you. #
-
Back when I started linkblogging about 10 years ago, one of the benefits I noticed was that it frees you up from the tyranny of choice that comes with the web. The web is so overwhelmingly vaste and full of interesting things that there is a tendency to get pulled in too many directions. I discovered that by posting links to the things I found noteworthy during the day, I was able to move on with the day much more easily. If something really was important then I could circle back around to it later. As it happens most stuff isn't, so there's just no point worrying about it. On the other hand, very often you end up finding synergies between linked items that you wouldn't have otherwise noticed.
I'm noticing something similar with writing notes using my new notes feature. It happens a lot that while I'm listening to a podcast, or reading an article, that my brain suddenly gets interested in some related aspect. It just won't let it go, and eventually it starts to affect the consumption of said bit of media. It's related to my surroundings, if I'm feeling stressed, or hungry, or in some other way imbalanced. It can be very frustrating.
With the notes feature, when I notice that happening, that I've had to pause and rewind a podcast a few times or re-read a part of an article only to be interrupted again by the thought which is suddenly the most important thing in the universe, I just switch over to notes, write down the main thing of the thought, and I can move on. It seems to be important that it's very non-formal. A blog post is too much effort because I have to think of a title, and write a description and a bunch of stuff. A note isn't much more effort than a tweet. However notes tend to be less well thought out, and probably have more spelling mistakes. #
-
AI pain strategy - Sam Altman's OpenAI has provisions in company founding documents for if AGI is created.
Steven Levy: "Somewhere in the restructuring documents is a clause to the effect that, if the company does manage to create AGI, all financial arrangements will be reconsidered. After all, it will be a new world from that point on."
Sandhini Agarwal: "Look back at the industrial revolution -- everyone agrees it was great for the world… but the first 50 years were really painful… We’re trying to think how we can make the period before adaptation of AGI as painless as possible." #
-
Given yesterday's close encounter with what amounted to a time traveling family member doppelganger, this article linked to on hacker news today stood out.
Human Embryo Models Grown from Stem Cells: Scientists have created what amounts to a fake 14 day old human embryo. No fertilized eggs or a womb required. Just lab cultured and human skin stemcells.
"When the scientists applied secretions from these cells to a commercial pregnancy test, it came out positive."
We will soon have the ability to synthetically create intelligences and biologies. That's going to be quite a big change. Things are going to get very weird. #
-
Chris Coyier [~31:57] on the present state of syndication: "We are in a rough spot".
That pretty much sums it up. We've spent the last 10 years happily enjoying the convenience of Twitter, and we've left many of the open alternatives wither by the wayside. Many of us are realising now that it's actually harder to syndicate content into several networks than it used to be back in the era of ubiquitous APIs.
I have things I post flowing in some way through Twitter, Mastodon and LinkedIn, but it's not ideal because I don't currently have a way to have full posts in my RSS feeds. I can't figure out how to add code syntax highlighting into the feeds, so at the minute I only include the description and a link to avoid a broken reading experience.
I like the new fancy federated protocols but I'd feel better if I had a robust setup for RSS reading, newsgroups/IRC and forums. #
-
My RSS reading experience is quite bad at the minute. Organising all my feeds feels like a gargantuan task. With 15 or so years of feeds that have accumulated, many of which are defunct, there is just so much to wade through. There is also no clear way to categorize any of them in a useful way.
I wish there was more automation. For instance for any site that I link to on the linkblog, I'd like to automatically subscribe to their RSS feed if one exists. Then after a week or so let me review the ones I want to keep subscribed to. I also want more feed readers to support OPML reading lists, so it's easy to move between readers, and I can manage my subscriptions in a similar way that I manage blog and linkblog posts.
Also I'm wondering when AI powered tools will make their way into our feed readers. #
-
I've setup a nip5 on my Nostr account. It's the way they verify accounts. Once you get past the ambiguities in the instructions, it basically boils down to putting a file containing some json formatted text on a server accessible at a known path and add it to a domain name that you control. The difficult part is that it's not very obvious what text exactly you have to put in the file. You have to add your 'name', but your Nostr profile has 3 fields that look like names.
Here is my nip5 config.
This note birthed the blog post: I’ve setup a nip5 on my Nostr account. #
-
Strange exchange between David Sacks and Jason Calacanis in this week's All-in podcast, centering around a disagreement while talking about geo-politics and BRICS nations. Jason repeatedly miss-hears Sacks, quite clearly purposely trying to put words in his mouth. Saying his opinion was disgusting, when in fact he had been describing the opinion of others (~58:00), not his own. Very weird interaction in an otherwise enjoyable and informative show.
It had a sort of joking-not-joking kind of vibe to it, though Sacks wasn't overly eager to correct the mis-understanding, which makes me think there could be more to it. I think Jason came away from it looking like a power hungry moderator doing a flex. But he also changes his tact right at the end trying to get Sach's opinion on the subject. Seems like a very underhand way to get someone to reveal their cards. Why is he picking a fight, why is he playing a bad guy here? #
-
Unblocking myself - I've been listening to quite a few podcasts the past 48 hours, yet for whatever reason, no major interesting thoughts have been arising to explore via notes. I'm not sure what it is, perhaps it's because I'm not thinking about code, or maybe the topics covered are too distant for me to have any strong opnions. Or maybe the very notion that I'm blocked from coding is causing me to be blocked in my writting too. So I'm writing this note to see if it unblocks me. #
-
That ambient stagnation feeling - I'm reading this Verge piece about Google and search and how AI is changing all the dynamics of the web. It's part historical, looking at the past, but also very much about the future, yet for some reason I'm reading and reading and it just feels like I'm watching paint dry. I don't think it's terrible writting, it's the sort of article I usually am really into.
I'm reading it in Pocket so all the website styles have been removed. The article looks very dull, black text on white background. That seems like a plausible explanation, though I do often read articles in Pocket where that doesn't occur. Am I just in a bad mood? I'm feeling quite chill, but I have an ambient sense of stagnation that's difficult to shake. I kind of know already before I start anything that it won't get resolved. So why bother?
Well I managed this note didn't I? Take that stagnation.
What is that and where does it come from? #
-
Remember to listen to music more often - Sometimes no matter what you do life just feels flat. The weather today has been particularly lousy, just grey and an on/off drisley rain, that won't make it's mind up. I decided to stop listening to tech podcasts, for some reason most episodes in my podcatcher look to be bitcoin and crypto related and I'm feeling like I have reached digital money podcast saturation.
Decided to change track completely abd listened to the latest Rest is History podcast about Sixties Fashion. Interesting, fun, colorful and such a fascinating period culturally. The Teenage Revolution and Swinging London definitely worth a listen. Cheered me up a bit.
Continuing on in the same anything-but-tech approach to the day, now I'm listening to A History of Rock Music in 500 Songs podcast. I'd already listenned to the start of the Dark Star by the Grateful Dead episode week before last. It's epically long so not likely to get through it all today, but it's nice to get out of tech and programming for a little while and into music. I have to remember to listen to music more often. #
-
What if it was no longer possible to distinguish between WMD and CND? #
-
How much worse? - Quite a lot of people are worried about the prospect of the metaverse, where we spend all day with a mask strapped to our faces. I wonder whether the lesson here is that that's not far off what we are already doing. How much worse is it than staring at a monitor / laptop screen all day long? It can literally be measured in centimeters. #
-
I've had this quote going around in my head that I heard David Sachs mention on the All-in podcast last week.
"We know they are lying, they know they are lying, they know we know they are lying, we know they know we know they are lying, but they are still lying." – Attributed to Aleksandr Isayevich Solzhenitsyn
It's heck of a quote, made all the more viceral by the picture of a Solzhenitsyn juxtaposed. #
-
Double meanings across cultures and languages - This is my first attempt at writing about this so it might not make a lot of sense. Mixing cultures is complicated, especially when there is a language barrier. One thing that makes it very confusing for everybody is double meanings. Double meanings are just part of a language, sort of unavoidable, but as well as causing confusion they can create amusing situations, but also arguments. The point is it’s important to be aware of them, which isn’t easy, but over the course of a lifetime your brain gets better at it.
This note birthed the blog post: Double meanings across cultures and languages. #
-
UK politics cognitive disonance - I was listening to the US politics discussion on the latest All-in Podcast earlier, it's very good you should give it a listen, and I was struck with how much more grandiose US politics is than UK politics. It makes sense because they are the world super power so everything they do is in that context.
This note birthed the blog post: UK politics cognitive disonance. #
-
Nostr is fancy RSS - Instead of static files over HTTP, it's JSON messages over web sockets with added public key cryptography. So you get realtime and much better authenticity guarenties. But it's basically RSS. #
-
Hardware product idea: Portable cloud native in a box - I'd like to be able to do cloud native web development completely offline. I think this could be achieved with a special developer device that creates a minimal dev environment, with mock web services, all accessible over wifi.
Physical description:
- Device size of a mobile phone chargeable battery
- Can run off power outlet or connected to rechargeable battery
- WIFI hub
Software features:
- Browser / mobile app interface
- One click install of apps
- Github actions style CI/CD
- Mocks of all popular cloud services (S3, Dynamo DB, Queues etc)
- Security / IAM / firewalls
Changelog did an interesting homelab episode, somewhat related, included a section on raspberry pie running proxmox. #
-
It's quite frustrating not being able to publish new content to the website because of not having any build minutes. Of course this happens both as I'm starting to use the new notes feature that I added, which is leading to me writting a lot more, and as I'm coming up with lots of new ideas for code improvements. I don't want to code until I have build minutes otherwise I'll end up in another feature branch merge extravaganza.
The other thing that is absolutely typical is that now that I'm not coding, everything around me is relatively quiet. It's so odd, when I'm coding things are chaotic and problematic. This happens literally everytine, it can't possibly be random. I mention this because maybe some day it will become obvious what has been going on and perhaps this data point will be useful in getting to that place. #
-
AI progressive enhancement - Politico Tech has an interview with Google's Kent Walker where they discuss how providers of critical infrastructure should deal with AI. They mention an AI off switch. That got me wondering whether this is similar in some way to progressive enhancement that we use in modern web development. Perhaps a similar approach is necessary for designing these large systems. It should be possible to remove AI and the system should continue to function, though perhaps in a degraded state. #
-
I ran out of build minutes, so that's the end of new content on the website until next month. It's the same thing that happened last month. Last month I ended up going on a bit of a coding frenzy. Of course I couldn't test any of the code so I ended up with around 25 feature branches that I then had to merge in once the new billing cycle started and I had a fresh set of build minutes. That merge extravaganza was in a way what led to me running out of build minutes this month.
This note birthed the blog post: I ran out of build minutes. #
-
I've been meaning to write a blog post about the Vision Pro for several weeks now. It keeps getting relegated on my various todo lists in favour of other more pressing items. I was reminded of this by a Dave Rupert piece that explores why his initial Vision Pro entusiasm is now wanning.
I'm still kind of excited about the device, but I was always somewhat puzzled by the expectation that this is going to be a mainstream device. A device that folks not on a plane are going to be using to to watch movies and have video conferences. This just seems plain ridiculus to me, especially given the price.
This note birthed the blog post: The real Vision Pro opportunity. #
-
Multi-paragraph posts - It occurs to me, having spent much of the week thinking about post length, and whether posts should have titles, that a big change in social media was allowing posts to be multi-paragraph. I'm not sure when it happened exactly. My recollection was that Twitter didn't initially allow multi-paragraph. I'm fairly sure in the first few years I was always posting single paragraphs.
I'm finding I really like the ability to post multi-paragraphs. It's like that on Mastodon, and Threads too. It makes a big difference in the shape of the thought you can express. It's a small detail, but I think it makes a big difference. #
-
Having a template engine should be standard in all operating systems. It should be possible no matter where you are located or what you are doing to render out a template and get back the resulting string of text in a way that you can use it to accomplish the task you are doing. #
-
I think that maybe I've found the solution to the notes shouldn't have titles, but actually sometimes they need titles problem. Instead of a full on title, which looks weird next to a bullet point, just use bold text for the start of the sentence.
I noticed Politico does this in their newsletters and I think it looks quite nice. Sort of breaks up the wall of text, giving your eye something to focus on as you skim. I did it with the previous note. That one actually turned into a blog post. So that was quite nice. #
-
The thing that's very silly about all this overthinking of notes and titles and blog posts is that although it's definitely freeing to just start writting without worrying about a title, I do sort of end up creating a title anyway when I commit the file to the git repo.
For example the previous note item had commit message "Just use bold" and I'll probably call this one "Overthink silliness". So perhaps having to come up with a title isn't so difficult. Or maybe it's just that since the emphasis isn't on the title, it ceases to be a problem. If I really get stuck I could just not enter a commit message. No big deal. #
-
I'm thinking that I need a way to turn a note into a blog post. Reason being that short notes should definitely just be notes, but often the note gets long and is effectively at that point a blog post. Once it has a title it's definitely a blog post at that point.
I should be able to create a special component that inserts a blog post into a note. That way I can move a long note over to the blog, so it's a proper blog post, but still have it appear within the notes. I'll have to think about this a bit.
I'm really liking the fact that the notes feature is enabling me to write more freely but I need to figute out the note to blog post transition. Blog posts are less ephimeral than notes and have additional meta data. Hopefully I'll figure this out. Still feels a bit awkward at the minute. #
-
Automation and scripting on iOS sucks
If there is one thing that could speed up my workflow right now it's having some sort of scripting / automation on iOS. I waste so much time copying and pasting templates and manually replacing text tokens every week. It's so error prone. It's so frustrating. It's so ridiculous.One would think that, given how much time I'm wasting, that I would have figured out the Shortcuts app. Well that's how bad the Shortcuts app is in my opinion. There's no disernable philosophy to it. Each time I need to create a workflow I'm completely stumped.
I can't fugure out how to get input into the workflow. I can't figure out how to trigger the darn workflow outside of Shortcuts. The components all seem to nearly do what I want, but not quite. And so I spend 30 minutes futzing around and eventually give up. Sod it I'll just keep doing the stupid copy pasta dance of doom for another week.
I just want a fucking bash shell for christ sake, not this god darn fisher price automation bullshit. And actually maybe that's the answer. Technically with iSH I do have a bash shell. The problem though is that eventually I'll need to interface with the other apps. And the only way to do that is through Shortcuts. #
-
I just tried to npm install the frontmatter, ejs and uuid libraries on iSH. They all error out. I don't know if anything changed, last time I tried to install npm modules on iSH at least some of them installed.
I just need to create:
- Markdown files with frontmatter automatically written
- My weekly newsletter template
- My weekly newsletter promo template
It can't be that difficult.
It's basically a basic template rendering. With Shortcuts there is no way to generate a v4 uuid, which I need in the frontmatter. Or at least there is no component for that, and as far as I can tell, no way to create custom components. #
-
It's the 3rd day using the new notes feature. I think I'm finding it useful, though it's been a very busy few days so difficult to evaluate. The ease of posting is the big draw for me. I don't need to worry about a title or a url or keeping the length down. I just create a new markdown file and start writting.
There were several issues:
- Markdown and ejs not rendering
- Incorrect day items ordering on main page
- Incorrect day items ordering on archive pages
- Daily auto-merge of new items via PR
- Combine links, blog, podcast, newsletter, notes auto-merge workflows
- Duplicate code paths in all plugins
- Fix links auto posts to Twitter
- Setup notes auto posts to Twitter
- Setup links auto posts to Mastodon
- Setup notes auto posts to Mastodon
At the minute all website updates are done via git, which is a little clunky. Eventually I'll have a better way, but I want it to always be possible to do via git. You'll always be able tobat least use git.
Hopefully there will be an API, web interface, maybe even a mobile and desktop app. That's a long way off though. I'm concentrating on getting it as smooth as possible with git.
I'm undecided on whether I like using titles in posts. I have to figure out the flow that feels comfortable. I want to be able to start writing without friction, and if a post is develiping into something substantial, have a way to easily convert it into a blog post.
One thing that would make posting via git a lot easier is to use something like the iOS Shortcuts app to create empty markdown files with uuid and date added to the file's frontmatter section. Unfortunately I have a major mental block with the Shortcuts app, I literally cant even do basic things, I find it so unintuitive, so that feels a long way off. #
-
I'm still undecided about using titles in notes posts. On the one hand they look a little odd with the bullet points, but I quite like the visual seperation of each note with a bullet. On the other hand, without any titles at all, the whole notes turns into a wall of text. I should probably not worry about it too much. Short notes like this one don't need one, but the previous note ended up becoming quite long and perhaps a title such as 'Notes, day 3' would have been good. #
-
It's friday today, and that means another newsletter deadline is looming. Some weeks by this stage I have all sorts of themes and ideas. Thehose weeks are great, I can see the light at the end of the tunnel. It's not a slog, in fact it's quite fun, feels like riding a bike downhill. This is not one of those week's. I've got basically nothing, feels like I have to hand in some homework tomorrow that I haven't started. Not quite as fun.
I find that in these uphill climb weeks, the best course of action is to force myself to just start compiling the list of podcasts. I start by copying across the saved episode titles to the newsletter template. Usually as I'm doing that a theme emerges. I then do the same for the links. And try to come up with a title. It's not rocket science.
I already compiled the list earlier this morning. Nothing really jumped out at me. I'm also a bit distracted by the new notes feature, that's what I'm thinking about. So I might just make that the theme. It's a bit self indulgeant, but I don't create new major features all that often, plus it's probably the most honest thing to do, after all that is what's predominantly on my mind.
Sometimes it's best to not fight the tides. #
-
Notes origin story
I was just listening to the latest What Bitcoin Did podcast episode. It's an interview with Doomberg, a bloke that appears to put his voice through a modifier of some type. I guess he's a bit paranoid about privacy. I think he's the front of some sort of bitcoin policy advocat group. Interesting interview. Anyway right at the end they talk about Twitter, or X as it's now called.He speaks about his decision to stop posting on X because of the way the platform has been discriminating against Substack, and other X competitors. The Doomberg (collective?) have a popular Substack newsletter. I wasn't aware that the situation was that bad. That's not good. I've got a Substack too! Nowhere near as popular, but still, it feels gross to be contributing to a platform that is trying to hurt me.
He has decided to only post on Substack, newsletters but also on their Notes app. It totally hadn't occurred to me that Substack had a Notes app as I was creating my latest feature. I did hear about Substack Notes when it was released, but I didn't look at it much. It didn't really catch my attention. I don't know what it is exactly.
For me the idea of a Notes app goes back much further. When I first started my career in tech, for the first 10 years or so I kept notebooks. Propper ringbound paper notebooks. Everyday I would write down the date at the top of a new page and write a todo list. I'd port the previous days unfinished todos, get rid of unneeded items, and add a few new items. As I went about my day, below the todos I'd write notes. Notes about stuff I was doing, or things I was planning, meetings I'd have etc. I ended up with many many of these notebooks, which I kept in boxes ordered by year. It was quite a collection.
Anyway, all that to say that when I created my recent Notes feature, I had those notebooks in mind. I also took inspiration from others online that work in the open. Absolutely nothing to do with Substack at all. I like Substack, I hope their Notes app is successful. #
-
I finally found this week's newsletter title. For a second there I nearly wrote the title, but I just remembered these notes will get published about 12 hours before the newsletter. I don't want to ruin the suprise :) #
-
Well the notes from yesterday, which was the first day of notes, got published, and there are quite a few issues. Most of which I think are fixable.
The markdown isn't getting rendered. That's because the stock generic component I used to create the NotesItem component, doesn't support that. That's easy to add. I can copy it from ond of my other components.
The bullets are making stuff look a little weird, but it's hard to tell until the markdown is rendering so I'll revisit this issue later.
The most notable isdue is that date items are nit rendering in chronological order. I have re-read through the code and can't find a bug or misconfiguration. I'll need to run the render with debug enabled so I can see the items getting pulled out of the data source and ordered. Should be quite easy to discover what's going on. I'll probably need to comment out all template rendering apart from the notes template so as not to br bogged down in a deluge of debug log output. #
-
The other thing that went wrong was the linkblog links from yesterday didn't get merged. Or at least they didn't make it through to Twitter. I expect there was some sort of merge conflict that blocked the merge.
Hard to say what that could be. I would have thought there wouldn't be a conflict since the notes and linkblog markdown files are in seperate folders in the repo. Evidently though something is blocking. #
-
One thing these notes might be useful for is rudamentory documentation. If I describe a few debug sessions as I triangulate bugs, I'll have something I can point to later, which could be useful even if they aren't the most polished prose. #
-
Testing the new notes plugin #
-
Another notes test... #
-
I quietly announced the website's new Notes feature on Twitter earlier. So what it is?
I've noticed recently that
It's not just me, readers of the newsletter commented about it recently too. It had crossed my mind but the feedback is really useful. Thanks @HackHackHack!
The notes feature is intended as a sort of working space where it's as easy to add content as the linkblog, but without the contraint of having to associate a link to a post item.
The other big difference is that notes are chronologically ordered rather than reverse chronologically ordered. The idea being that as you read through them you get a view on what I was thinking about as I went through my day.
That's in contrast to the linkblog which lists the last link posted at the top of the page. In a sense though both linkblogs and notes are reverse chronological at the date level. They both display the very last day at the top of the page. However they differ in ordering at the item level. Notes are chrono, links are reverse chrono at the item level. That probably makes it sound very complicated, but it's quite obvious once you start reading them.
I expect what might happen as I use the notes feature, that linkblog links get shorter, and I'm able to write down thoughts more easily. That will hopefully lead to more blog posts.
Let's wait and see though, it could also just turn out to be extra overhead, and not worth the effort. #
-
There are all sorts of very subtle things to consider, that I'm discovering as I write.
For example, how do I name the markdown files now that there isn't a url donain, which I use in linkblog link filenames.
Also should posts have titles? Probably not. One of the things that is nice about linkblog links is that you don't need to think about titles. It's suprising how much friction titles introduce. #
-
One of the things at the back of my mind is the issues I've been facing with the number of files in the repo. There are so many files that my code editor is not able to process changes, often getting stuck, which causes no end of problems. It also takes 10 times longer to post items than it should. At times that ammounts to hours when it really should take minutes.
I'm finding the ease of posting notes very useful. I've already posted 3 notes! And I think the posting process could be improved further too. #
-
What are notes titles like?
Just testing what a title looks like in a note. I expect it will look weird because of the bullets on each item. In fact the bullets are likely going to make some of the other posts look odd too.I'll find out tomorrow when today's notes get merged. I setup the same workflow as for the linkblog. Every evening the latest notes get merged into the repo main branch via an automatically created PR, and the site then gets rebuilt. That saves on build minutes, but it also avoids issues with RSS feed generation. That can get tricky when you make edits. #
-
I've added an RSS feed for new notes that get added. It's listed on the feeds page.
The cool thing about my static site generator is that it's at the point now where adding new features is quite easy. Once I had developed the main feature, adding archive pages, a tagcloud page and an RSS feed was as easy as copying a few markdown templates and updating some frontmatter variables.
Also if any of you were subscribed to the feeds suscription list opml then you wouldn't even have had to update your RSS reader. I actually changed the urls of some of the existing feeds. They changed when I rewrite all my RSS generation code a few weeks back. In had redirects setup so notmally speaking there shouldn't have been any breakages. Sorry if there were though. Kind if unnavoidable.
I'd be interested to hear from anyboby that is subscribed to the opml file, as unlikely as it might be, because unfortunetly very few readers support this excellent feature. #
-
Improving Github Actions build times
Since I keep running out of Github build minutes I was thinking about ways to optimise the build. Looking at the github action logs, the obvious place that can be improved is getting nodejs installed and setup. The entire build/deploy/backup workflow takes approx 7 minutes. Installing nodejs takes around 3 minutes, and because I run seperate jobs for build, deploy and backup, I actually end up installing nodejs twice.My first thought was that maybe there was a way to create a custom runner. i.e. instead of running the stock ubuntu image, create an image (docker?) with nodejs and perhaps all the modules I use in the static site generator, then use that to run the build. After doing about 30 minutes of googling it seems that's only possible if you are self hosting your own runners. I might be wrong about this, I'll beed to do some more research. Currently I'm stuck using hosted Github runners.
I noticed while searching that there are some caching actions that enable you to cache build artifacts between runs. The most popular of which appears to be cache. I'm already using setup-node which uses the cache action. There appear to be some caching options I could try, but doesn't seem like caching will improve things much because as far as I can tell it's already downloading a pre built nodejs version. I could be wrong.
Ideally I want the build to be under a couple of minutes. The actual website build of 17000 markdown files only takes around 45 seconds, so it's a bit ridiculous that the whole build and deploy takes 7 minutes. There has to be a way to optimise. #