HNHacker News
TopNewBestAskShowJobs

jonathanlydall

2,636 karma · joined April 28, 2018

submissionscomments
jonathanlydall··on How to set up SPF, DKIM, and DMARC for your sending domain
We generally run on Microsoft 365 and use SendGrid for transactional emails such as password resets.

Main domain has SPF set up correctly as per MS docs.

We have the CNAME set up for a like em1234 sub-domain as per SendGrid’s docs which their docs say should cover SPF even if the emails we send have a from address of our main domain (eg noreply@example.com), this is apparently because receiving servers are supposed to do SPF checks against the replyTo address which sendgrid does populate with an address on the subdomain.

This has worked fine for years, Gmail for example is happy and looking at mails from us says everything passes.

However, we recently onboarded a large corporate whose server was blocking the SendGrid emails because it was checking the SPF against the from header rather than the replyTo.

Only way to let the email through was to either add SendGrid SPF records to our main domain, or change the from address of the SendGrid emails, neither of which was 100% ideal.

Not going to try tell the client they’ve configured their server wrong, but have they?

jonathanlydall··on Plan mode is dead
I can’t imagine working without a plan first.

Firstly I find it’s an excellent way for me to get very good clarity about what will be built and whether it’s going to be done in a sensible way.

Very often I don’t really know what the work will need to look like until I’ve explored the problem with the LLM towards first making the plan.

Without a plan I find myself having to do the initial understanding through code review of its generated code which is much harder than reviewing a plan, and then I invariably need the LLM to fix up what it did which is much slower when it’s doing code than working on a plan, never mind the next review I need to do.

And when the plan is good enough, I clear the context before telling it do it, which I’ve found vastly improves the quality of the LLM output.

jonathanlydall··on Toyota is taking the Corolla electric
Can confirm as this is what I do with my PHEV, has about 50km battery range (13kWh) but advertised range of about 900km overall.

AC charger is plenty good enough and charges at about 2kW.

Last filled up my tank on July 11, since then have done about 3000km and, checking the car app now, the tank is 87% full.

Not everyone has the same typical daily commute distance, but I chose our PHEV based on ours, BYD has PHEVs with more battery and of course full EVs.

Amount of battery capacity significantly affects cost so for us the ~USD 35K for a SUV made sense. We also got it just after the Iran war started figuring it made even more sense in terms of reducing petrol costs.

jonathanlydall··on How do traffic signals work? (2019)
Speaking for Johannesburg, we can't have shorter yellows because too many people treat them is "last chance to speed up to make it through before it's red for too long!" and JMPD is beyond useless at law enforcement.
jonathanlydall··on How do traffic signals work? (2019)
Sounds like you're living in a country where local government actually cares to improve things rather than doing as little work as possible while also self-enriching themselves as much as possible.
jonathanlydall··on How do traffic signals work? (2019)
I think you mean "robots" ;).

Seriously though, speaking as a South African living basically next to Sandton, there are plenty of traffic lights near to me which cause complete chaos when they are out. They will cause significant delay for the entire working day on certain routes, e.g. anywhere on Winnie Mandela (formerly William Nicol) Drive.

There is however one intersection (Stirling and Balmoral Ave) on the way to my kid's school on a non-major road which definitely works better when its traffic light is out, and this is at any time of day in my experience.

Some traffic lights definitely should rather be mini traffic circles, e.g. on Peter Place by the one office park and had the exact same frustration for the one on Grosvenor Road near to Bryanpark.

As the Johannesburg Road Agency (like all City of Johannesburg Municipal companies) is so incredibly incompetent, our traffic lights are incredibly unreliable, I shudder to think how much it sucks out of our economic output all the people sitting in traffic longer than is needed simply due to an out of order traffic light.

And the local police also don't help with regular roadblocks while at the same time being terrible at law enforcement (yes, you'd think roadblocks are a sign of law enforcement, in practice though they're more for soliciting bribes while screwing up traffic).

jonathanlydall··on Disney+: New user agreement allows ads before movies in all subscriptions
This comes across to me as judgmental (and you don’t know the situation of my kids and their screen time), my view is to each their own, it’s an option you can turn on/off as per your own preference.
jonathanlydall··on Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug
"impolite" is probably an understatement in the context of discussing details about the development of defense systems outside of work.
jonathanlydall··on Disney+: New user agreement allows ads before movies in all subscriptions
I don't really mind their unification efforts making me have to install a new app which for me on its own is only a minor annoyance and absolutely not worth getting at all upset about.

It's that they made no effort to bring over profiles and their associated watchlists, "continue watching" is my most used section of all the streaming apps (which they love moving every time I relaunch the app, but that's a different topic) and they didn't even apologize for essentially throwing away years' worth of tracking what the last episode I watched was.

jonathanlydall··on Disney+: New user agreement allows ads before movies in all subscriptions
In South Africa (and I imagine other countries) they're currently force migrating subscribers over to a "new" app (at least on iOS and tvOS) and your profiles with their respective watchlists is left behind in the old app, no way to migrate / import it into the new one. This isn't even mentioned on their FAQ for the process. A absolutely terrible user experience.

On the bright side the "new" app (which I assume is actually the same as used in the US) seems to not have the following annoying issues of the old one:

- It was impossible to enable auto play on a "kids" profile. As my kids can't use a remote yet I had their profile set to "adult".

- An episode would never be marked as "fully" watched, but this wasn't just a mild annoyance, it would "break" autoplay when re-watching a series because when it started auto playing a next episode which was previously watched, it would "continue" from where you had watched upto (minus about 30 seconds). This results in it cycling through the last 30 seconds of every episode of a show. The easiest way around this I found was to make a new profile every now and again for the kids.

jonathanlydall··on Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug
Someone I know has developed radar hardware, specifically around signal processing, and while they couldn’t say much, my impression from them was that due the very large amount of data involved using off the shelf CPUs would be very limiting, which is why his job for a period of years was developing a design to be put on an ASIC which is significantly more effective at the task.
jonathanlydall··on I don't like passkeys
I know on my Windows if I sign into icloud.com I have the option of using a passkey which I do by scanning a picture with my iPhone and it also using Bluetooth, presumably to prove physical presence of it.
jonathanlydall··on I Added a Non-Wi-Fi Mitsubishi AC to Home Assistant
I don’t think they’re proposing remotely controlling it, just so that the guest would experience being unable to change the temperature to outside the allowed range.

Of course any guest is free to write in their review “can’t make temperature lower than 18°!” but the number of people choosing not to book for that reason in any given year is likely 0 or very close to it.

There are a lot of people who don’t “get” thermostats and their intuitive model of ACs is like that of getting a bath to a particular temperature by turning a faucet to full hot or cold to get what they want.

And if these people are out of the room when it reaches the actual temperature they want (and would change it), then the AC is left possibly for hours working full time, burning maximum energy and related wear and tear by trying to hopelessly achieve an unattainable temperature.

jonathanlydall··on I Added a Non-Wi-Fi Mitsubishi AC to Home Assistant
For some people they may only opportunistically (perhaps they have excess PV production at that moment) run their AC or temporarily turn it off when they temporarily have other power demands at that moment (eg running dishwasher, washing machine, microwave, kettle, etc) and don’t want to pay for grid energy while doing so.

“HVAC” is essentially not a thing in houses in South Africa likely due to having a mild climate, this also makes insulation in houses optional and mostly not done.

So most people with AC here are probably using it as a luxury and will happily have it be off a little if it meaningfully reduces energy usage while still making their house noticeably more comfortable.

jonathanlydall··on The Deathray: A simple way for an untrusted site to freeze a Mac
> I was surprised when it hung my computer and of course asked "Does it do that every time?"

A true scientist! (see https://xkcd.com/242/)

jonathanlydall··on Casablanca: How an unproduced play marched into movie history
I watched The Shining for the first time about 15 years ago (at about age 30) and when my friend asked what I thought I said it was good, but seemed pretty typical of horror films, to which he pointed out that it’s because all those films were inspired by The Shining.
jonathanlydall··on We built our house for LAN parties (2024)
Thank you so much for sharing on a website, as someone who started LAN gaming in the 90's it was a real joy to read, especially with the FAQ.

Regarding the lack of patch panel, while not ideal it probably isn't going to make any difference as the cables can probably survive being handled 100s or 1000s of times without any real chance of issues.

jonathanlydall··on The asteroid currently hitting front end web development
I think the new version is a net positive value as creates a better "vibe" to prospective patients than just a Google Business listing would, and I expect will age well.

The domain's used for email anyway and is on a very cheap local hosting plan, probably all-in-all like ZAR 84 per month and ZAR 200 per year for the domain, so ZAR ~1200 (USD ~75) per year.

Old website was built in a different era, Google Business didn't exist, "HTML5" wouldn't be a thing for another 5 years, web design styles were completely different and was before iPhone meaning that modern day "mobile friendly" was not even a thought.

When my father started running guest suites over 10 years-ago I made a single page website with essentially the same goals but using a Hugo template. The website still feels "modern" today, so I expect this new one of my mother's will age well too.

jonathanlydall··on The asteroid currently hitting front end web development
In this case, because spending it was more hassle than any time she would have saved by doing so. If she had no choice, then spending it would not have been an issue.
jonathanlydall··on The asteroid currently hitting front end web development
I've responded to your other comment too, but regarding anyone's assumption that it's worth paying $20 to have it done quickly, but there was no urgency as it's been a thing she's been wanting to do for years.

She probably put it off because the need to actually contact other people to kick off the process was way more of an impediment than anything, whereas on a Sunday afternoon when I was visiting, we kicked off the process on a whim.

She was able to "work with" ChatGPT during after-hours and in <15-minute sessions, between her doing other things, so it's not like she was likely to have used the time productively anyway.

jonathanlydall··on The asteroid currently hitting front end web development
You're pretty much right about the reasons.

But as for the "value of her time", despite having to wait due to the rate limits for free users, this was probably still less time consuming for her than paying someone else to make the website.

She basically just did maybe half a dozen (probably less) sessions of less than 15 minutes each. This was a very a low-priority thing for her and did it between other things and after hours, so it didn't really use up time she was likely to use productively anyway.

If she had dealt with a web designer, she would probably have used up more of her time with several back-and-forth interactions with them, which also probably would have had to be done during business hours. Chances are that ChatGPT was better at intuiting what she wanted in a case like this and gave her quicker feedback loops despite the waiting for more "free tokens".

Would $20 have been worth spending on this? Absolutely. But the scope and priority were so minimal that the hassle of doing the once-off sub was more for her than just doing little bits between other stuff. If it wasn't available for free we would have used my Claude sub or she would have just paid.

jonathanlydall··on The asteroid currently hitting front end web development
If anything, it was a bit of a chore while keeping in mind that chores aren't necessarily a bad thing, e.g. tidying your kitchen after a meal is a chore, but it's satisfying to complete the chore as the alternative is not only a messy looking kitchen, but the hygiene issues which come with it. It's just something which needed to be done.

The once off nature, scope and priority were so minor that it wasn't worth the hassle of actually paying, but if free wasn't an option we would have either used my Claude sub or she would have just paid, no big deal.

jonathanlydall··on The asteroid currently hitting front end web development
The new web page (since it's a single page website now) is also mobile friendly and intentionally not "flashy".

Another goal with the website I didn't note before is that its "quality" or "style" should generally not be consciously noticed, it shouldn't stand out for any bad reasons, people see it, get a good impression, do what they were looking to do with ease, success.

I got this philosophy from my interior designer (not to be confused with decorator) brother who told me how when he's done a good job, no one notices, but when he's done a bad job then people either almost instantly notice or simply feel uncomfortable without necessarily being able to exactly identify why, e.g. first impression of your hotel room should instantly be "feels nice" (and same with a public space in a building) and then you remain feeling comfortable throughout because the space is actually big enough for its purpose and laid out practically.

jonathanlydall··on The asteroid currently hitting front end web development
After 20 years, her new business is mostly word of mouth, but website was very dated and potentially a minor liability.

Scope of work and urgency were so minimal that it was simply not worth the hassle to actually subscribe and then have to unsubscribe later.

If there was no free option we could have done it on my Claude sub or she would have just paid.

jonathanlydall··on The asteroid currently hitting front end web development
She had no shortage of patients from word of mouth, but old website was minor liability in its datedness potentially putting off prospective patients.

People already knew about her and website is essentially just “this is what I do, where I am and how you can contact me”.

jonathanlydall··on The asteroid currently hitting front end web development
Only minimally, after 20 years of practicing word of mouth does 99% of the work.
jonathanlydall··on The asteroid currently hitting front end web development
See my more detailed sibling comment, but was more that the scope and urgency were so small that it wasn’t worth the hassle to set up the subscription and have to cancel it after.
jonathanlydall··on The asteroid currently hitting front end web development
Wow, it’s fascinating after waking up to see all this conjecture here on why she didn’t pay for the subscription.

The short version, wasn’t for wanting to save money, but simply a matter of it not being worth the hassle to any of us to subscribe and then later cancel for such a small scope of work. If it was too frustrating I would have let her use my Claude sub.

Also, she’d been meaning to have it updated for years, a few extra days was nothing.

She did short sessions in spare time between other things, the wait between was maybe a little frustrating, but also gave the benefit that she would have had better clarity develop between sessions.

Website is not key to her business where it’s mostly word of mouth at this point (she’s been practicing for >20 years). Goals of website were:

- Findable in Google by “psychologist/therapist <area name>” (she also has a Google. Business profile so is findable on Google Maps).

- Minimal copy. A comforting sentence or two to state philosophy, qualifications, therapy types offered, where located, how to contact.

- Doesn’t feel dated.

Essentially it’s meant to complement the word of mouth aspect and maybe bring in the occasional completely new patient.

jonathanlydall··on The asteroid currently hitting front end web development
My mother has a psychology practice and wanted to update her 20 year old website.

I did the first few prompts (single static page, basically a brochure, don’t worry about hosting) into ChatGPT to get her started and a few days later she sent me a .zip which I uploaded.

Only took a while because she wasn’t paying for ChatGPT so had to wait for the free limit to reset quite a few times.

But overall it was super empowering for her.

jonathanlydall··on Astronomers Detect a 10-Sided Structure in Saturn's Atmosphere
Perhaps “feature” would be most appropriate.
Page 1 of 25Next →