HNHacker News
TopNewBestAskShowJobs

tomduncalf

8,351 karma · joined June 7, 2016

Full-stack software engineer. Currently working with TypeScript and C++.

Twitter: @tomduncalf

submissionscomments
tomduncalf··on Writing a TrueType font renderer
Fascinating! I created a tool to parse information out of an OTF for uploading new fonts to a font foundry website so already had some idea of how complex they are (even with the help of “fonttools”, which is a great way to explore to the various tables), but I had no idea about some of this - for example, the VM for hinting!
tomduncalf··on 48x32: A 1536 LED Game Computer
Thanks, I’m new to all this - is that easy to connect to the board?
tomduncalf··on 48x32: A 1536 LED Game Computer
I’ve been wanting to get into playing with LED matrices since seeing a great show by United Visual Artists in London which made a lot of use of them for really cool minimal visual effects.

My research suggests the best way to get started is with a HUB75 LED matrix (you can buy 32x32 or 64x64) and a MatrixPortal S3 board, which is an Arduino type thing with all the relevant connectors etc. for the LED board already installed. You can also buy and solder the relevant connections to an existing board, but I wanted something as easy as possible out of the box (even easier would be the Pimoroni Cosmic Unicorn, which contains it all in one pre built enclosure)

tomduncalf··on In 2024, please switch to Firefox
Thanks for the reminder, I will give it another go - the latest Chrome redesign looks bad to my eyes, and I’m on the fence about whether I enjoy Arc or not. I’m still forever grateful to FF for leading us out of the dark days of IE6
tomduncalf··on Kagi – Sourcing from Brave Search, improved image search, and new Safari ext
Last time I tried Kagi, the mobile Safari extension didn’t work well so I gave up. Hopefully this new one works better (shame Apple don’t just let you set any search engine!)

Also interested to see if Kagi feels as potentially necessary as it used to a year ago - I now tend to go to ChatGPT for searches which I expect to be full of spam on Google…

tomduncalf··on Will scaling work?
Re: synapses being analog messages, isn’t this sort of true of neural networks? In my understanding, the weights, biases and values flowing through the network are floating point numbers so I’d argue closer to analog than binary.
tomduncalf··on Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
Retrieval Augmented Generation - in brief, using some kind of search to find relevant documents to the user’s question (often vector DB search, which can search by “meaning”, by also other forms of more traditional search), then injecting those into the prompt to the LLM alongside the question, so it hopefully has facts to refer to (and its “generation” can be “augmented” by documents you’ve “retrieved”, I guess!)
tomduncalf··on Software audio routers
> BlackHole is new and I have not tried it yet.

Hmm it's not that new, I guess maybe the article is old? In any case, BlackHole works very well for me on Mac (I only really use it for real time recording the system audio into Quicktime screen recordings, so have not stress tested it).

An interesting related-ish Mac app is Monkey Audio Rewind[1], which runs in the background and is always recording the last n minutes of audio, then if there's something you want to capture (e.g. you're playing around on a soft synth and some serendipitous brilliance happens), you can just go into Rewind and export that bit of audio from the buffer. It's nicely designed and seems to work well.

[1] https://monkeyc.audio/

tomduncalf··on Ask HN: What's your "it's not stupid if it works" story?
Hahah this is amazing!
tomduncalf··on LLM in a Flash: Efficient LLM Inference with Limited Memory
I’m not sure, not really an expert in this field, just casually interested as an outsider. When I bought my Mac, 64 was as high as you could go.
tomduncalf··on LLM in a Flash: Efficient LLM Inference with Limited Memory
Also in the “glad I got 64gb” camp - even though it seemed ridiculous when I bought it, technology has advanced so quickly that now it’s actually very useful.

Now I wish I’d bought 4tb rather than 2tb hard drive lol but that’s just me being lazy - that upgrade definitely felt like a step too far.

tomduncalf··on Mistral 7B Fine-Tune Optimized
Don’t Google already have that information from your searches, emails, calendar, etc? Obviously you have to trust they don’t misuse it, but it’s basically the same thing as some personal assistant having it to me.
tomduncalf··on Apple's new iPhone security setting keeps thieves out of your digital accounts
Great news, I was pretty shocked that the original flaw still existed. Getting your phone stolen is annoying but the worst case is you buy a new phone, but thieves being able to take over your digital life is potentially catastrophic.

Hopefully this works well, I assume third party apps such as banking will be able to opt in to the additional protection (not sure if this is strictly required actually, I checked my banking app and if Face ID fails you have to enter the banking PIN, you can’t enter the device PIN).

Is there a way to lock individual apps so they require Face ID even if they weren’t designed to? A smart thief having access to the Gmail app for example, if the phone was unlocked when stolen, could wreak havoc.

tomduncalf··on Audiobox: Meta's new foundation research model for audio generation
https://voice-swap.ai/ may be of interest, you can covert your rough singing to use a real singer's voice (apparently! I've not tried it)
tomduncalf··on A lost X-Files song
Yeah I read up on this a bit as I was very impressed by the quality. It was shot on widescreen film so they could just rescan (if that’s the term?) the film at widescreen HD resolution. I think they had to retouch or adjust the crop in some scenes because there was stuff off to the side which you weren’t meant to see, which was out of the 4:3 area but inside the 16:9 area.

Some of the special FX shots look bad because they were digital and so they’ve just had to upscale them, but overall I was really impressed too. It’s nice because it lets you enjoy it all over again without being distracted by how “bad” it looks on modern TVs

tomduncalf··on A lost X-Files song
There was a trance mix of this in the 90s that charted in the UK: Watergate - Heart of Asia, in case it’s that. You could also check out whosampled.com, that shows who sampled or covered a song.
tomduncalf··on A lost X-Files song
It needs the original record, or something close to it (it can recognise some live versions at a different speed, maybe cover versions). The Google app on iOS or android has a thing where you can hum a melody so that might be better.
tomduncalf··on A lost X-Files song
There goes my weekend lol. Thanks! Are they the remastered versions? I was quite impressed by how good they looked on the whole.
tomduncalf··on How does Shazam work? (2022)
It was a phone number you called, which then SMSed you the result
tomduncalf··on Ask HN: Is React Native still popular?
That’s really good!
tomduncalf··on Ask HN: Is React Native still popular?
That’s a US salary though, right? So you would expect it to be higher. Granted some companies might pay the same salary regardless of country but in my experience it’s usually adjusted
tomduncalf··on Ask HN: Is React Native still popular?
The Discord app is a bit janky though, it’s not too bad but text entry is weird on iOS in ways that I can’t quite recall but are definitely non-standard. I did work with RN for several years though and I do still think it can be a great choice.
tomduncalf··on Ask HN: Is React Native still popular?
In my experience, apps rewritten in Flutter are janky, to the point where I can spot them a mile off - especially in animations/transitions and fake native widgets (based on a sample of 2 apps which I use often and have been rewritten in Flutter recently: Philips Hue and EE mobile network).

Same can also be true of RN (or native!) of course, and I’m sure with enough work the apps in question could be made slicker and it probably wasn’t a priority; but they’re both developed by large companies and to me as an iOS user, feel pretty bad compared to their previous native implementation, so Flutter is definitely not a magic bullet.

tomduncalf··on Copying Angry Birds with nothing but AI
Someone showed me a similar game type thing they had made with GPT-4 and I could find the code that it had used just by searching Github. It had taken an open source project and made some modifications and spliced a few extra bits together - which is still impressive but the bulk of it was already out there. This matched my limited experience too, unsurprisingly it does a lot better for problems where there is already code and discussion out there.

I wasn't able to find exact code for the posted game though so I think something cleverer may have occurred!

tomduncalf··on Psytrance Guide
I think they are touring as VFTL again, I saw them perform the first album here in London at the start of the year and they are back next week with all new material! So there’s hope that they might come back to whatever part of the world you’re in :)
tomduncalf··on Psytrance Guide
Ah what a pleasure to see Donato Dozzy mentioned on here! One of my favourite DJs/artists. Hearing his Labyrinth 2008 set [1] had a big impact on my musical tastes - I was into techno already, but hadn’t discovered anything so deep and hypnotic.

It actually might appeal to people on here who like psy trance - it’s a different style (hypnotic/deep techno) and tempo but it shares some structural and sonic elements.

I’ve had the pleasure of seeing him play many times and meeting him and he’s just as lovely as you’d hope!

[1] https://m.youtube.com/watch?v=nGIUCQ8KW9Y or https://m.soundcloud.com/paul-wuerdig/sets/donato-dozzy-laby...

tomduncalf··on ChatGPT’s system prompts
Ha that’s cool! I’ve never actually had one of these work for me, they were always patched by the time I tried
tomduncalf··on Passkeys are now enabled by default for Google users
Interesting! I had no idea you could even store files in it!
tomduncalf··on Passkeys are now enabled by default for Google users
It’s so rare that I use anything other than the 1Password Chrome extension that I couldn’t really tell you! The main app seems.. fine? But like I say, I hardly use it, so I probably wouldn’t notice details like you mention.

Do you have a different workflow where you use the main app a lot?

tomduncalf··on Ardour 8.0
You can still run the software, but Apple make it harder to do so (you probably have to Google how to do it). You could argue this both ways, I think there's value to the defaults making it harder for your average user to run software which could be unsafe... just think how bad the malware problem used to be on Windows for example.
← PreviousPage 4 of 30Next →