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 Isn’t London Hell?
Really? I’ve lived in London 10 years and have honestly never encountered this (and most people I know either live in flats, or live quite far outside of London in a house). Perhaps it’s just in a certain area you encountered this (or certain areas where I didn’t!)
tomduncalf··on When did Alan Partridge first appear on television?
Agreed, actually I thought the movie was a bit weak too. Feels a bit like he’s playing a dumbed down caricature of the old AP… although the Mid Morning Matters series was pretty funny, maybe more because of the supporting characters
tomduncalf··on GPT Best Practices
In his State of GPT talk (1), Karpathy does say the “you are an expert” type prompts help, because the model has learned from all sorts of content both good and bad, so it kind of narrows it down to more likely provide good answers

1: https://m.youtube.com/watch?v=s6zNXZaIiiI

tomduncalf··on GPT Best Practices
Yeah I liked the way he explained this in his State of GPT talk (even if it might not be 100% literally accurate), that each token has an equal amount of “computation” behind it so if you want to do something more computationally complex, letting it use more tokens (“show your working” etc) yields better results as it can “do more computation” in a sense
tomduncalf··on Hacking Around ChatGPT’s Character Limits with the Code Interpreter
> The token limit is 100% an artificial limitation.

My understanding is the token limit is an immutable property of the neural network once it has been trained, so definitely is not an artificial limitation - unless you’re suggesting OpenAI trained the NN with a higher token count then released it with a limit on the input to only allow smaller ones? Which I guess is plausible but I’m not sure why they’d do it, as they’d still be “executing” the same NN for every input so wouldn’t save any compute.

tomduncalf··on There oughta be a bullet time video booth
So cool!
tomduncalf··on Ask HN: Examples of desktop software with 20+ years of longevity?
Some music software such as Cubase, Logic Pro
tomduncalf··on Ask HN: How to move from dev role to management/team lead role?
You also might find if you go to a “big tech” -esque company, the career paths and challenging projects available as an individual contributor might satisfy your desire for growth, without having to go into management. Depends what your motivations are but bigger tech focussed companies will often have parallel IC and manager career paths that are equivalent, so you can become a very senior engineer without transitioning into management.
tomduncalf··on A guidance language for controlling LLMs
> but it wasn't something the stakeholders outside of engineering even wanted

Ha this reminds me of the craze for BDD/Cucumber type testing. Don’t think I ever once saw a product owner take interest in a human readable test case haha

tomduncalf··on Web browsing and Plugins are now rolling out in beta (May 12)
Same here
tomduncalf··on Apple brings Final Cut Pro and Logic Pro to iPad
I have the same workflow as you, using Drambo or AUM, but I do love the idea of being able to "finish" a track on the iPad. Granted the laptop will probably always be more powerful and perhaps a better interface for precision editing, but to be able to do it all on the go on one very portable device would be pretty cool IMO.
tomduncalf··on Apple brings Final Cut Pro and Logic Pro to iPad
> It needs to have open and comprehensive plugin support

iOS has a thriving plugin scene, using the AUv3 (Audio Unit) format. Search the App Store for "AUv3" and check out the huge range of synths, effects, etc. In addition to smaller devs, there are some big players who have ported their flagship plugins (FabFilter, Eventide etc.)

> The workflow for uploading and exporting content needs to be seamless, and the iPad OS is still limited in this regard

It is much better since Files was added to iOS, though still a bit clunky. Their page (https://www.apple.com/logic-pro-for-ipad/) advertises "roundtrip compatibility" so hopefully they've made this easy

> Screen size and real estate are still a concern

Definitely a valid point, maybe this is the catalyst for a 15" iPad!

> Ready-to-use ecosystems for operating with the iPad, such as interfaces, audio monitors, etc., need to be developed.

Any class-compliant USB device will work with an iPad (or iPhone), so most audio interfaces, MIDI keyboards, etc. should be good to go. It only won't work if it requires a custom driver

tomduncalf··on Apple brings Final Cut Pro and Logic Pro to iPad
Wow, huge. Can’t wait to try Logic Pro. The iPad is a fantastic device for music making in many ways with lots of amazing apps, but I’ve never been happy with any of the “full fat” DAW options. Hopefully Apple have nailed the usability and flexibility - $49/year is a reasonable price to pay in my mind if so.
tomduncalf··on AMD promises its new laptop chips will crush the Apple M2 and it’s got receipts
The only time I’ve heard the fans on my M1 Max is running ML stuff (Demucs) across every core for several minutes, so the CPU was completely maxed out. Even then it was quiet. Day to day for me it hardly ever gets warm and I never hear the fans.
tomduncalf··on Wearing an eye mask during sleep improves episodic learning and alertness
Ah amazing, a fellow Buff sleeper haha :)
tomduncalf··on Wearing an eye mask during sleep improves episodic learning and alertness
Yeah that's correct, I owned one for skiing and happened to try reusing it in frustration after being awoken by the light coming in through the curtains.

I had no idea they had such a large range! I just use a basic original, full size one, made out of thin material. Full size means you can fold it over two or three times to make it block out more light, I'm not sure a half size would work so well but I've never tried one.

I think it would be the "Original EcoStretch" model, though I can't say for 100% certain as I bought mine in an outdoor wear shop and just bought the cheapest, thinnest, darkest one.

tomduncalf··on Wearing an eye mask during sleep improves episodic learning and alertness
My personal hack is using a Buff [1] instead of an eye mask. It’s a soft fabric tube designed for wearing as a kind of face mask for outdoors activities.

They’re really soft and comfortable as an eye mask and don’t get too hot or slip off. There’s no elastic stream involved and it’s really slimline so you barely feel it. Also they’re cheap!

I use a dark coloured one and fold it over 2 or 3 times to make it darker. Couldn’t sleep without it, nor could a few people who I’ve introduced to it!

[1] buff.com

tomduncalf··on Wearing an eye mask during sleep improves episodic learning and alertness
I’m not sure it would work for your scenario, but I use a Buff [1], which is a soft fabric tube designed for wearing as a kind of face mask for outdoors activities. They’re really soft and comfortable as an eye mask and don’t get too hot or slip off. I fold it over 2 or 3 times to make it darker. Couldn’t sleep without it!

[1] buff.com

tomduncalf··on Finetuning Large Language Models
Proxyman is a fantastic piece of software for this on Max, there’s a free version which can snoop on up to 6 apps at a time (it installs a root certificate)
tomduncalf··on Ryuichi Sakamoto has died
I saw a Sakamoto quote along the lines of negative space on Twitter, not sure of the source or context exactly but I liked it.

—

After the concert, we started talking, and he complained that I played much slower than the original songs or pieces. He asked, "Why?" That made me think, "Why do I want to play much slower than before?" Because I wanted to hear the resonance. want to have less notes and more spaces. Spaces, not silence. Space is resonant, is still ringing. I want to enjoy that resonance, to hear it growing, then the next sound, and the next note or harmony can come. That's exactly what I want

tomduncalf··on Ask HN: What's your best resource for keeping up-to-date on AI developments?
The usual recommendations I think are: Andrew Ng’s Coursera for the fundamentals, Andrej Kaparthy’s videos (https://karpathy.ai/zero-to-hero.html) for more practical and LLM focussed, and also Fast.ai’s courses. I’ve done some of the first two and they seem great.
tomduncalf··on Ryuichi Sakamoto has died
Sad news. I love his work with Alva Noto, the blend of experimental piano with raw electronic sounds and glitches is really something special: https://spotify.link/2LzLYmBKFyb.

I was lucky enough to see them play together a couple of times and it was spellbinding. His album “async” is a favourite too. I’ll have to dig more into his back catalogue.

tomduncalf··on Ask HN: Tools to learn music theory?
Duolingo are working on something in this space, though who knows when it might launch https://techcrunch.com/2023/03/20/duolingo-for-music-app/
tomduncalf··on Anti-recruiter prompt injection attack in LinkedIn profile
I have got one job through it (they were looking for people with JavaScript and C++ experience and found me), and as others have said it can be useful for keeping in touch with former colleagues.

I’m not sure there’s much point curating a detailed profile on there as no one reads it, I recently deleted 99% of the text from mine and just kept the company names and main technologies used, so it doesn’t require much effort to maintain.

tomduncalf··on TypeScript 5.0
This is true. I think TS arguably took a more pragmatic approach which allowed you to adapt existing codebases and coding styles more easily, at the expense (initially) of type safety. Obviously there have been many improvements since then
tomduncalf··on Meta Layoffs
I’ve got 15+ years experience and prefer being in the office. This is definitely somewhat because I live in an apartment in London so a) don’t have a great dedicated workspace (I do have a desk in the spare room but it’s not hugely exciting), b) my commute is actually quite quick and pleasant and c) companies usually will have a nice office here…

I did try full remote with my last role and it just didn’t work out for me, I found it harder to be productive at home long term and I like the change of scene of the office, so actively was looking for somewhere with an office and people in there at least some of the time in a new role - though I also appreciate being somewhere flexible so I can work remote if I need to.

I can see the arguments for both sides but to claim full remote is pure positive seems disingenuous to me, there are clear negatives. FWIW my team are at least 50% fully remote but I still prefer to be in the office even if a lot of my communications are via Zoom/Slack.

tomduncalf··on Testing GPT 4's code-writing capabilities with some real world problems
I didn’t have much luck with ChatGPT trying to solve a novel problem (sorry can’t share details), it gave answers that kind of sounded plausible if you didn’t really understand the problem but in reality were no help. It also hallucinated a bunch of research papers that sounded really useful haha.

Will have to try GPT-4 for the same thing and see if it’s any better, I suspect though that this kind of genuinely novel problem solving may be beyond its current abilities (unless you work through to step by step in a very granular way, at which point you’re solving the problem and it’s writing the code - which could be a glimpse of the future!)

tomduncalf··on TypeScript 5.0
It’s hard to imagine if you weren’t in the React community at the time, but I feel like most people were pushing Flow at the time and choosing TS was quite controversial. I think it was the combination of Flow being from Facebook, and the “no build step/its just JS with annotations” thing which people made a big deal out of, but I never saw as a big differentiator.

I had a hard time convincing a couple of places I worked to use TS rather than Flow for greenfield projects, but I’d tried them both out and concluded Flow just felt too unstable - the server would consume all my memory and crash and it just didn’t feel like a good dev experience. I managed to convince them by showing them how you could strip out Typescript types in much the same way as Flow if TS did turn out to be a dead end. I also recall having vigorous debates at React meetups where I was the only person in favour of TS haha.

How times changed - you definitely can’t be blamed for choosing Flow at the time though as TS was the outsider. Also MS weren’t such a trusted brand for developers, people still associated them with proprietary stuff like .net/full fat Visual Studio and I think a few people had burned out in the MS ecosystem before and didn’t want to touch their stuff again!

tomduncalf··on Ask HN: More magazines like Quanta and Noema?
If you have a tablet, it’s worth checking out the apps PressReader and Libby. I’m not sure if it works in other countries, but in the UK you can login with your local library card number (which you should be able to sign up for online) and get access to lots of free digital copies of printed magazines (and newspapers) including high quality stuff like The Economist
tomduncalf··on Ask HN: Science fiction movies that are appropriate for 12 year olds?
Interstellar is rated 12, and I think it’s enjoyable regardless of how much of the science you understand
← PreviousPage 6 of 30Next →