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 Flight Simulator gave birth to 3D video-game graphics
Wow, yeah Descent was super impressive at the time
tomduncalf··on Ask HN: What is the most disappointing thing someone you respect has said?
Quite a few musicians I respect going down the NFT pushing route was a bit disappointing, though I kinda get it that they saw their chance for a payday…
tomduncalf··on What is ChatGPT doing and why does it work?
That’s actually a super interesting and positive way to look at this technology. I hope it can assist us in those sorts of ways. My personal hope is we can use this technology to enhance our lives and productivity, rather than it putting vast swathes of people out of work.
tomduncalf··on Web Push for Web Apps on iOS and iPadOS
FYI you can just type in the address bar and a “find in page” option appears in the autocomplete list if that text is on the page, no need to use the share screen
tomduncalf··on Show HN: I built a little online drum machine using 808 style samples
Yeah Bram Bos is one of the best iOS music app developers out there :)
tomduncalf··on David Guetta uses ChatGPT and uberduck.ai to deepfake Eminem rap for DJ set
Interesting, hadn’t heard of Tortoise TTS. You can use something like Meta’s Demucs to extract the vocal from a full track in surprisingly good quality too.
tomduncalf··on David Guetta uses ChatGPT and uberduck.ai to deepfake Eminem rap for DJ set
I saw this via a LinkedIn post which said it used ChatGPT and uberduck.ai, the search on there doesn’t seem to work for posts so I can’t find the original source unfortunately, but it would make sense that he used those tools
tomduncalf··on Mystery Signal from a Helicopter (2014)
Exactly, I thought it was interesting enough (for an audio geek like me at least haha) to warrant its own post!
tomduncalf··on Wakamai Fondue, the tool that answers the question “what can my font do?”
See my other comment on here - briefly, ttx or opentype.js should do what you need programmatically or FontForge maybe for a GUI
tomduncalf··on Wakamai Fondue, the tool that answers the question “what can my font do?”
I did a bunch of work with extracting info from fonts for a site I built last year [1], a useful tool to know about if you want to do something like this yourself (e.g. automating extraction of data from fonts) is ttx [2] from the fonttools package (available for Python and also a CLI tool which can be brew installed), which can dump out all of the tables in the font (which is where all the information about the glyphs and variations etc. is stored) to XML. There’s a lot of data (fonts are amazingly complex things with all the OpenType features, variable support [3] etc) and the structure takes some working out, but it’s all in there!

There’s also opentype.js [4] which can do similar on the client side, I’m not sure if there’s some info that you can only get from ttx or if opentype.js exposes all the same information off the top of my head.

Finally, Fontforge [5] is an OSS font editor which can be useful for inspecting the glyphs in a font visually etc.

[1] https://f37foundry.com

[2] https://fonttools.readthedocs.io/en/latest/ttx.html

[3] https://f37foundry.com/playground has some fun examples of what you can do creatively with variable fonts (best on desktop)

[4] https://github.com/opentypejs/opentype.js

[5] https://fontforge.org/en-US/

tomduncalf··on Ask HN: How to move from traditional tech into game dev?
If you are sure you want to do it (see other posts!) then I would agree with others that getting your foot in the door with a webdev related role could be a good way to get into it, especially at a smaller studio with less defined roles and more flexibility for people to help out on other bits.

Personally I’d always been interested in music software development but my career was in webdev. I took a job at a music tech startup doing Node/React work, but was able to make a prototype using React Native to build the UI for music apps during the regular hack days we had there, which led to me teaching myself C++ and leading development of a new music app for them. I actually am not working in the music world any more but still do some for fun on the side, and found knowing both C++ and JS has opened up some really interesting job opportunities so it worked out well for me!

tomduncalf··on Get Running with Couch to 5K
Likewise, I actually love that feeling when you’re running and after a certain point of exertion your mind goes blank - I find it so rare to have a blank mind in day to day life. Similar feeling to when you’re skiing/snowboarding and really in the zone, though not as intense.

I do sometimes find I come up with good ideas for work/whatever when running, so it can be a good way to ponder things like that and I’ll sometimes record a short voice memo on my Apple Watch otherwise I forget what I thought of. But after 20 minutes or so I find my mind kind of defaults to blank and I like that!

tomduncalf··on Ask HN: How do you manage your passwords in 2023?
1Password, it “just works” most of the time, the desktop and mobile UI is nice and polished and it works pretty well on iOS. I’m happy to pay for that. Previously was using LastPass and 1Password is definitely nicer and more polished.
tomduncalf··on Ask HN: Wanting to grow – what questions should you ask yourself?
Yeah, my first contract came from a friend from a previous job who now worked at the startup. Subsequent ones were word of mouth (from people I’d met at the first one mainly), and one came as a result of seeing a Who is Hiring? post on here looking for permanent employees but I thought I’d ask if they’d consider contractors and they said yes.

However, I have plenty of friends who are contractors and get all their roles through recruiters. Most of them have said it pays to cultivate a good relationship with recruiter(s) you can trust to find you good roles - if they know you’re good (based on feedback from previous clients they placed you with) you’ll likely be the first person they reach out to when there’s a new role that would suit.

One thing to be aware of is that contract roles are often looking for people to start ASAP and are not willing to wait for long notice periods, especially if you’re coming from a permanent role to contracting (I was told this is partially because people sometimes actually end up staying in the perm role e.g. because they get tempted to stay, wasting everyone’s time)… so you might find you need to take a leap of faith and quit without anything lined up, unless you can get an in through someone in your network who’s willing to wait for your notice (this happened for me).

As I say I’m not sure how relevant this advice is in other countries, my impression is contracting in software dev is more common in the UK than many other countries.

tomduncalf··on Ask HN: Wanting to grow – what questions should you ask yourself?
I got a job at one of the big tech co’s maybe 5 years into my career, which at the time I thought was a great achievement, but actually I found the job pretty dull and a bit like you say, quite far detached from what made me excited about programming.

I quit after 18 months and went into contracting for startups instead, which seemed like a way to still make reasonably good money (though nowhere near as good as FAANG if you factor in the stock) and actually get to do some fun stuff - startups can be much more fun if you’re from a “hacker” mindset I think as there’s always too much to do and not enough people, and plenty of chances to learn new stuff.

I found not being a permanent employee allowed you to have less of the downsides associated with startups, e.g. you probably feel more comfortable working 9-5 if you’re on a fixed term contract versus being a permanent employee with equity etc. Also leaving a contract after the initial term if it isn’t working out is not a big deal at all, so it’s a great way to experience lots of different environments without the commitment. I’m not sure if contracting is such a big thing where you’re based (I’m in the UK where it’s very common), but I’d definitely recommend looking into it if that sounds appealing.

I was lucky enough to land a contract at a company in a field I’m passionate about which allowed me to extend my skill set from pure web dev to also do some C++ development for an app, which I’ve found is a really interesting niche for me personally, and again I think the lower level of C++ programming appeals to the hacker mindset. I’m now back as a permanent employee in the “medium tech” (lol) world, but my contracting experience was great fun and allowed me to find a niche which I really enjoy and which led to work more aligned with the reasons I got into this as a youngster (companies using C++ and JS together generally aren’t building yet another CRUD app!)

tomduncalf··on Ask HN: What is your favorite front end state management solution?
Interesting, I wonder if the overhead of updating UI based on state “efficiently” (eg MobX style tracking of what should re-render when certain data changes) would actually be slower than brute force updating everything in this scenario? A bit like I’ve heard people talking about just rendering the UI to a canvas, a whole new render 60 times a second, is actually the most efficient way to update a UI for certain cases like really big stock ticker displays (versus selectively re rendering bits of HTML)
tomduncalf··on Ask HN: What is your favorite front end state management solution?
Perhaps my way of thinking is React-centric but this feels like a pretty inefficient way to do it. Feels a bit like reinventing the wheel poorly when things like MobX exist, sure it’s simple to start off but then you hit performance issues or issues with dependent state etc. etc. and you realise why, for all the derision they sometimes get, libraries exist to solve this problem and they are useful.

But for a simple thing built with JS that isn’t going to need to scale to a large codebase or whatever, sure, keep it simple!

tomduncalf··on Ask HN: What is your favorite front end state management solution?
It was always MobX for me, I’ve built a few sites and React Native apps with it and found it extremely productive in exchange for some magic, but it could be seen as somewhat heavyweight compared to some more “modern” solutions. Jotai and Zustand are two that I want to investigate but not used them yet.
tomduncalf··on Maxi Jazz has died
Sad news, they were the first band I went to see live and a big gateway into electronic music for me as youngster. Their tracks have stood the test of time and he’ll be remembered fondly, he came across as a great guy in addition to a great lyricist and vocalist.
tomduncalf··on 90s VR Sainsbury's [video]
Ha I didn’t expect to see a clip from BBC Northwest Tonight on here! Any others from the Northwest of England?
tomduncalf··on Ask HN: If I get locked out of everything, please try to help me
A recent experience with Instagram has made me wonder whether 2FA is worth the hassle. My phone broke and I hadn’t backed up my 2FA app since joining Instagram (I since switched to 1Password for 2FA) so I couldn’t log in. No problem, I have backup codes in a screenshot - but they don’t work!

I managed to get in touch with their support and had a bunch of back and forth to prove my ID but am now stuck getting “sorry we only have time to review the most urgent requests” auto responses.

I don’t care about my Instagram account but I will probably complain to the ICO here in the UK out of principle as they’re preventing me from accessing my data which is required under GDPR. However, it does make me think what a nightmare it would be if this happened to my Google account. Seems like once you have an issue, you’re stuck as these companies just don’t have human support.

What’s people’s thinking on the best way to deal with this risk? I totally understand why 2FA is required but this experience showed me that stuff can go wrong - in this case my backup codes stopped working.

tomduncalf··on macOS Command Line
I’d love a tweak to change the speed of the Spaces animation when you switch desktop, it’s so frustrating slow that I just don’t use it. I’ve searched a few times and not found anything but thought I’d mention it here in case anyone does know of one!
tomduncalf··on Ask HN: Are you a “lifer”? If so why?
Not sure where you’re based but some of the mid-sized companies definitely do hire outside of the US and offer equity (typically places where they have a company presence so they can employ you, and I guess they’ll probably try to have people in sensible time zones) and are remote-first. For example, I’m based in London and my last job was with MongoDB and that was fully remote in EMEA.
tomduncalf··on Ask HN: What type of lawyer can review consultant agreements?
When I needed a US contract reviewing I found someone via Priori and was happy with the service I got. Could be worth a look if you don’t have any personal recommendations. I’d be happy to share the details of the person I used if you like but it was just a fairly simple one off contract review so don’t take it as a proper recommendation!
tomduncalf··on Ask HN: Are you a “lifer”? If so why?
The thing to note is that the base salary isn’t often too far off from non-FAANG jobs, but the stock grant which usually “vests” over 4 years is what makes the compensation so much higher.

The amount of stock is locked in based on how many shares the dollar amount you’re offered would buy when you start, so if the share price goes up over time then that’s going to be worth more when it vests (which I guess mostly happened in the last decade), but if it drops from when you started it’s worth less (as happened in the last year, so if you started this time last year and the company stock is down 50%, that compensation is worth a lot less now).

I definitely think it’s good to be aware of what compensation at these places looks like, I wasn’t really aware of how significant the stock thing is until recently (but I had a fun career up to now so not to worry!). I guess one of the downsides is that these are often huge companies there’s a reasonable chance you’ll end up maintaining some boring internal system or whatever, so it depends what motivates you.

tomduncalf··on My project is now an easter egg in Microsoft Flight Simulator
And if you do this on iOS, it remembers it for the next time you click a link for that domain, so you can stop apps automatically opening links. Was delighted when I found that as for some things (e.g. Amazon) the app is occasionally useful but I don’t want every Amazon link to open in it
tomduncalf··on Ask HN: Comment here about whatever you're passionate about at the moment
I’ve been working on a piece of software (an audio plugin, specifically) to help me make music on my iPad.

There’s a wonderful app called Drambo which lets you create incredible music using both its own built in modules, and plugins from other developers, but it’s lacking (by choice) a “timeline”, where you can record/draw how the parameters of each sound change over time throughout the song - instead you have to control this live.

I’m into quite hypnotic/evolving electronic music and performing it live can be a bit challenging (e.g. if you make a mistake, you have to start over), and I’d love to be able to make music like this without using my laptop, so after evaluating all the software out there which can “sequence” like this and finding none of it meets my needs, I decided to build it myself as a plugin which I can integrate into Drambo.

Usually when I have these ideas for software I don’t get too far with them, but this one is actually already nearly at a point where it‘s usable, which is exciting! To keep things technically interesting, I’ve built it with a combination of C++ (with the JUCE framework) for the audio, and Flutter for the UI, which works really well in terms of fast iteration.

I’ll probably release it free/OSS when it’s ready as I don’t think there’s much money in this kind of software and it’s just built out of passion… it’s currently the thing I end up thinking about when I fall asleep etc. haha. It’s super satisfying to have got this far with a side project.

Outside of that, I was between jobs last week and spent it going on day trips from London and getting reacquainted with photography. My cameras had been gathering dust in favour of my phone, but I’d forgotten what a “zen” experience properly taking photographs can be. I had a wonderful day on Friday in a forest taking photographs of mushrooms for hours - my technique needs work but just the process of doing it was so relaxing. So I’m going to try to get back into travelling to places and doing more photography in future, it gives a nice focus to a trip.

tomduncalf··on MilkyTracker
Also of interest might be this 1:1 remake of FastTracker 2: https://16-bits.org/ft2.php. I’ve only played around briefly but it was exactly as I remember it!

FT2 was pretty much my intro to making music, it came on a PC Format magazine cover CD with a a bunch of XM/MOD files and it blew my mind that I could open up these songs and see how they were made!

I never got particularly good with it but had some fun making tracks with a friend, we later graduated to MadTracker on Windows which added some useful things like filters and effects. Buzz was the last tracker I used, really awesome modular tracker which sadly got mostly abandoned. I am a big fan of Elektron hardware which is pretty tracker inspired though!

tomduncalf··on Meta stock price drops more than 20%
It’s definitely an interesting approach by Shopify and nice to see someone challenge the status quo.

What’s the downside though? Do you get the same dollar amount whether you choose RSU or cash? Does the comp compare favourably to the top of market companies who pay mostly RSUs? Can you potentially lock in a low strike price for your grant over four years or is it more like an ESPP? (Of course the last year showed this is not always a winning strategy lol).

My assumption is that paying employees in RSUs works out more favourable for the companies than paying all cash so I’d expect it to be lower if you take all cash (I have zero knowledge of accounting mind).

tomduncalf··on Brexit: Rejoining EU takes record 14-point lead in latest poll
Yeah, I agree with five years at a minimum. The whole ordeal was such a horrible divisive thing… even as someone completely opposed to Brexit, I don’t think we are ready to reopen that can of worms yet. In 5+ years we’ll have much more conclusive evidence of whether it was/was not a successful move economically which might make it a bit more palatable, as you’d be able to compare before and after with cold hard numbers.
← PreviousPage 7 of 30Next →