HNHacker News
TopNewBestAskShowJobs

drewsberry

390 karma · joined May 16, 2012

submissionscomments
drewsberry··on Ask HN: Share your personal website
https://drew.silcock.dev
drewsberry··on Artisanal handcrafted Git repositories
There's no CMS, the site is generated from MD/MDX using Astro. The theme is an adapted version of Astro Micro (https://astro.build/themes/details/astro-micro/). Seems like some people like it and some don't, but I like it so I'm using it
drewsberry··on Artisanal handcrafted Git repositories
The site uses Astro (https://astro.build/) and the code blocks are generated using Shiki (https://shiki.style/). As Shiki generates the HTML and CSS at build-time instead of requiring runtime JS like alternatives like Prism (https://prismjs.com/#basic-usage), it's actually quite performant. I think it's unlikely that a couple of hundred lines with some empty spans in is going to cause performance issues – imo it's more likely to come from some silly JS somewhere.
drewsberry··on Artisanal handcrafted Git repositories
There was a silly on scroll listener that was doing basically nothing – I've tried removing that so if you happen to visit again, I'd be very grateful if you could let me know whether it is still happening (I can't reproduce it myself).
drewsberry··on Artisanal handcrafted Git repositories
Thanks for letting me know. I'm on an M3 and haven't experienced any issues myself, but allowing for font size configuration seems like a pretty good idea. I'd added this in so if you happen to take another look, I'd be interested to hear whether you think this is an improvement.
drewsberry··on Everything you need to know about Python 3.13 – JIT and GIL went up the hill
Thanks for pointing this out, I hadn't seen that – I've just pushed an update to reflect this.
drewsberry··on How Postgres stores data on disk – this one's a page turner
It's probably complaining about the relative path, try replacing `-v ./pg-data:/var/lib/postgresql/data` with `-v "$PWD/pg-data:/var/lib/postgresql/data"`
drewsberry··on How Postgres stores data on disk – this one's a page turner
Thanks for letting me know, it was a typo in the "click-away closes nav menu" logic that opened it on the first click – all fixed now.
drewsberry··on How Postgres stores data on disk – this one's a page turner
Mine blocked it when I first created it, you can usually flag an incorrectly classified site and they'll correct it (I assure that you I'm not doing any phishing).
drewsberry··on How Postgres stores data on disk – this one's a page turner
There are dozens of us!
drewsberry··on How Postgres stores data on disk – this one's a page turner
Well if it isn't my arch-nemesis – my legally designated name. Maybe I should've gone for something with just my first name like drewsexpertblog.dev
drewsberry··on How Postgres stores data on disk – this one's a page turner
Thanks for the feedback, I really appreciate it :-) I've added the RSS feed to my home page now, as the other poster noted the URL is https://drew.silcock.dev/rss.xml.
drewsberry··on How Postgres stores data on disk – this one's a page turner
Very good point, I've rephrased this.
drewsberry··on How Postgres stores data on disk – this one's a page turner
Thanks for letting me know, I'll make sure to edit it quickly next time :-)
drewsberry··on How Postgres stores data on disk – this one's a page turner
Can't see any way of modifying the title, unless I'm missing something – maybe I missed the edit window.
drewsberry··on How Postgres stores data on disk – this one's a page turner
I did add it into the title originally, must've been stripped. Thanks for the heads up, didn't know HN had this "useful feature".
drewsberry··on Radiooooo – The Music Time Machine
https://radiooooo.com/ doesn't work because it's trying to XHR the http version of the site which gets blocked. The other .app domain works fine though, like you said.
drewsberry··on Cdecl – Turns English phrases into C declarations
There's https://regex101.com/ for regex, does an excellent job, can't really ask for more
drewsberry··on Hack – A typeface designed for source code
This was posted to HN a couple of years ago. Has it changed since then? The discussion back then was fairly comprehensive, and most of the comments in here will likely replay the same questions (ligatures, comparison to other fonts like DejaVu sans, I vs i, etc.).

https://news.ycombinator.com/item?id=10140728

drewsberry··on Show HN: Jekyll KaTeX Block – Integrate KaTeX into Jekyll
Thanks! Let me know if you've got any questions about it.