HNHacker News
TopNewBestAskShowJobs

oakesm9

1,274 karma · joined November 3, 2012

Mobile App Developer https://mattoakes.net
submissionscomments
oakesm9··on Gumroad's Interestingly Timed "Open-Source" Play
The major benefit of a service like Gumroad is they are the merchant of record and handle worldwide taxes for you. Stripe does not do that (yet?)
oakesm9··on What went wrong with the Alan Turing Institute?
The main complaint seem to be the minimisation of Turing's homosexuality and the focus instead on Joan Clarke. There's also a whole list of historical inaccuracies listed on Wikipedia[0], including changing the name of the Enigma breaking machine from "Victory" to "Christopher" and stating that Turning invented "The Computer".

[0] https://en.wikipedia.org/wiki/The_Imitation_Game#Historical_...

oakesm9··on Moving away from US cloud services
Fastmail[0] is what I use for my personal email. They support all the standards, but are also pushing things forward with standardising the JMAP protocol[1] which is much better suited to mobile clients than IMAP.

They only have email and calendaring though, no equivalent of Drive/Docs/Sheets.

[0] https://www.fastmail.com [1] https://jmap.io

oakesm9··on Apple pulls data protection tool after UK government security row
That’s exactly the plan. Anyone with this enabled in the UK will need to manually disable it or they’ll get locked out of their iCloud account after a deadline.
oakesm9··on The NBA Apple Vision Pro app now has a 3D tabletop view
Lapz is basically that for F1 races on the Vision Pro https://youtu.be/Z9OlYcfLmTY?si=k0bFAeMFl0bHEVx3
oakesm9··on Five years of React Native at Shopify
The tooling for Flutter is better, but Expo brings React Native much closer.

I fend that React Native app "feel" more native because they're actually using native components, but controlled via a JS runtime. Flutter on the other hand mostly renders to a canvas and re-implements native controls (although it can also wrap native components like RN does).

This leads to there being less of an "uncanny valley" in React Native apps compared to flutter. It also means that all the little details from the system (the text selecting and editing interactions in text inputs being a major one) are idential to native apps when using React Native, because it IS the native component.

The downside to this is that you need to consider platform differences more with React Native, which is one of the things which leads to developers without mobile experience having issues with it.

As the article says, you get the most out of React Native if you're a mobile developer, or at least have someone on the team who is. You can't abstract away all the details of a mobile platform without some tradeoffs.

oakesm9··on Who would buy a Raspberry Pi for $120?
The popularity is now mainly based around the software support and the product lifecycle.

With a lot of other SBC (single board computers) you're lucky to get a very of the Linux Kernal which works in the first place. The likelyhood it will get upstreamed or kept up-to-date with upstream is basically zero in most cases. Raspberry Pi has great software support and the original Pi 1 has only just become end-of-life and unsupported by Raspberry Pi OS at the end of last year.

There is also clarity on when the hardware will be produced until. For the Pi 5 for example they've commited to it still being produced until at least 2036.

Those together mean that if you're using it in industrial, educational, or embeded settings then you can depend on the board lasting a good while longer than other options which might become insecure and useless before the hardware itself fails.

This is slightly less of an issue for hobbyist who are running Homelabs or personal projects on SBCs.

oakesm9··on UK ICO response to Google's policy change on device fingerprinting
On the desktop version of the site, the logo says "Information Commissioner's Office" right under it. The mobile version doesn’t.

It does say it right at the top of the “About the ICO” page on mobile though.

oakesm9··on MomBoard: E-ink display for a parent with amnesia
The colour screen have a much slower refresh than the others. The greyscale one I have takes less than a second with minimal flashing.
oakesm9··on Exercise Paradox
Kurzgesagt did a good video on this https://www.youtube.com/watch?v=vSSkDos2hzo
oakesm9··on Global EV Charging Points with Open Charge Map
A Global Times article says that China has 3,000,000 public EV chargers[0]

US Department of Energy data has the number for the USA and Canada combined as 66,650[1]

This might not be Apples to Apples as the USA numbers might be "sites" and the china number might be "chargers", but I don't think there's anywhere close to an average of 45 chargers per site to make up the difference.

[0] https://www.globaltimes.cn/page/202406/1314382.shtml

[1]https://afdc.energy.gov/fuels/electricity-locations

oakesm9··on Amazon tells employees to return to office five days a week
EU directives never had any direct legal force in the UK, or any other member state. The point of the directive is to say "all EU members need national legislation which meets these standards". It's then up to the member states to implement national laws using their own unique systems which meet the requirements of the directive.

As you said, the Working Time Regulations Act 1998 is the UK law implementation of the EU Working Time Directive 2003.

oakesm9··on Can solar costs keep shrinking?
There’s an Undecided video on this exact topic https://youtu.be/LqizLQDi9BM?si=nnWVU-Espt7a6VDv
oakesm9··on Belenios: Verifiable online voting system
Tom Scott videos which cover why electronic voting is a bad idea:

https://youtu.be/w3_0x6oaDmI?si=kGDOYOb_RiiQaZ3u

https://youtu.be/LkH2r-sNjQs?si=YdQgNC4uUZDUDbab

oakesm9··on Ask HN: Freelancer's Dilemma – Client Won't Pay Despite Clear Agreement
Always have a contract, even for smaller bits of work. That’s the foundation of a good business relationship.

If they have the money to pay, but are ignoring you then escalate from your contact at the company to someone higher in the chain. If that doesn’t work and it’s a relatively small amount of money then you can try to enforce the contact.

I’m in the UK and there’s a small claims court for specifically this. I’ve not gone through it myself but from those that have it’s simple enough to do yourself without paying a lawyer, but it’s time consuming. Im not sure where you are but look into if there’s in in your jurisdiction.

If the client likely doesn’t have the money to pay, then it’s likely a waste of time to pursue it. I had this happen recently when a client went under and ended up just writing it off as a loss. Luckily it was only my time that was wasted so not the end of the world.

oakesm9··on Analyzing my electricity consumption
The UK has smart energy meters for a lot of customers. Octopus are an energy supplier which is using them to great effect for data nerds and people who want to save money.

To get the data out, you can just call their API to get daily consuption figures, split into half hourly blocks[0]. They also allow you to just download a CVS file directly from the energy use section of their website.

The data in the API is only update daily, but they can give you a tiny addon device[1] for free which will allow you to access live usage in realtime (updates ever 10 seconds I think).

I use a Home Assistant integration to collect all this data live there.

To make use of the smart meter, they also have a series of tarrifs which change price dynamically. The simplist is Tracker[2] which charges you a different price per unit every day based on the wholesale price. There's also Agile[3] which is the same concept but the price changes every 30 minutes with higher highs and lower lows. That one is great if you can shift your energy usage outside of peak times.

They also have "intelligent" tarrifs where you allow them to control your car charger[4] or home battery[5] so it charges when it's cheapest.

Octopus are doing really great things in the UK and part of their business is that they sell the backend as a service to other energy companies who were previously stuck in the stone age as Kraken[6].

[0] https://developer.octopus.energy/docs/api/

[1] https://octopus.energy/blog/octopus-home-mini/

[2] https://octopus.energy/smart/tracker/

[3] https://octopus.energy/smart/agile/

[4] https://octopus.energy/smart/intelligent-octopus-go/

[5] https://octopus.energy/smart/intelligent-octopus-flux/

[6] https://kraken.tech

oakesm9··on I like the RP2040
The main chip in a Raspberry Pi 5 is a Broadcom BCM2712.

The main chip in the Raspberry Pi Pico is the RP2040, which costs $4.

oakesm9··on British duo arrested for SMS phishing via homemade cell tower
He's american, but moved to the UK to study and then become a Physics teacher in London. I think he's been London based for all of his YouTube career.
oakesm9··on iTerm2 3.5.0
Split panes without using something like tmux for me. I like having long running processes like a bundler in watch mode visibile, but with a keyboard shortcut to "maximise" a single pane if I need more space (cmd+shift+Enter).
oakesm9··on iTerm2 3.5.0
It doesn't look like there's the ability to change the URL. The only options are to change the API key, model name (from a predefined list), the prompt, and the token limit.
oakesm9··on Bollards: Why and What
As other have noted, it's 20mph, which is pretty common in cities in the UK. In that example even the more major road with two way traffic and a seperated bike lane is 20mph.

30mph is more common in towns.

You might see 40mph if going through a rural village.

50mph isn't too common, but you sometimes see it on smaller or busier major road (A roads).

60mph is the "national" speed limit for major roads and rural roads for cars. Some of these are narrow and twisty, so 60mph should be seen as a maximum, not a recommendation of how fast to actually go. For example, this road in Cornwall[0] would be under national speed limit of 60mph, but you'd have to be insane to drive at that speed. The national speed limit is actually lower for vehicles over 3 tonnes or towing (50mph) or heavy good vehicles and busses (40mph), which is why the signpost for national speed is a white circle with a black cross through it rather than a number.

You'll be 70mph on most motoways (highways) and for cars on national speed limit roads with a central reservation.

[0] https://maps.app.goo.gl/9Tw4fkxviXbN2Fxy9

oakesm9··on Bollards: Why and What
I agree. Two lanes of parked cars is in some ways a "waste of space", but in areas with houses built before cars it's not actually too bad. Naturally keeps the speed of cars passing through pretty low so biking in the road isn't too dangerous.
oakesm9··on Bollards: Why and What
Even that example shows some thought has been put into non-car users.

The road itself is one way for car traffic, but two way for bikes. This likely allows a non-main road cut though for bike traffic.

The pavement (sidewalk) outside the front of the school is double the width and has bollards along it to stop cars parking on the pavement. This slow massively narrows the road to you’ll likely be driving about 20-30mph regardless of the speed limit.

The junction behind the initial street view has a tiny traffic island with a bollard to protect bikes coming the “wrong way” out of the one way road from cars turning into it. Without that cars turning right into it would always cut that corner.

Given the space constraints it’s actually a pretty well designed street.

oakesm9··on Mise: a polyglot tool version manager
You may have out of date information there. Mise was previously jdx and it used to use some of asdf plugins directly. Most of those have now been replaced by built in mode plugins for the popular runtimes. I believe it still has the option to use asdf plugins if you want to though.
oakesm9··on Install Asdf: One Runtime Manager to Rule All Dev Environments
I did the same. mise is brilliant! For reference it was previously called rtx

The main differences are better UX with simpler commands and it not using shims, which means much better performance

oakesm9··on An open source initiative to share and compare heat pump performance data
A lot of these are UK based systems which are installed by installers with Heat Geek[0] training.

They're an interesting company who's trying to fill in the lack of training that traditional gas heating installers have to properly install air-to-water heat pumps in the UK. They also do homeowner training courses and a guarantee scheme on their certified installers (they'll fix the system for free if the SCOP is below a designed level).

They did a series of videos with Skill Builder[1] (who's a bit of a heat pump sceptic) where they fixed a badly installed heat pump that was causing a lot of issues. That install is currently 7th on the linked website[2] with a SCOP of 4.5 (450% efficient). Obviously a bit of a sale pitch from them, but there's loads of interesting information about WHY they're making the changes that they are.

[0] https://www.heatgeek.com

[1] https://www.youtube.com/watch?v=BesfqnHPxLU

[2] https://heatpumpmonitor.org/system/view?id=196

oakesm9··on The $10k BYD Seagull EV is scaring the U.S. auto industry
In terms of saftey ratings, BYD do very well in the Euro NCAP ratings. 5/5 for all their cars in the European market, including the small Dolphin car[0]. This doesn't include the Seagull though as they don't sell it in Europe yet.

[0] https://www.euroncap.com/en/results/byd/dolphin/50011

oakesm9··on Ask HN: What's behind all the UK IT failures this month?
Sainsbury's and Tesco: https://www.theguardian.com/business/2024/mar/16/sainsburys-...

Greggs: https://www.theguardian.com/business/2024/mar/20/greggs-shop...

The Sainsbury's and Tesco ones happened on the same day (last Saturday), but the scale was very different. Sainsbury's were unable to take card payments nationwide. My local one said it was due to the internet connection in their store not working. It also affected planned deliveries, likely because the scanners they use to fetch and pick the orders didn't have a connection.

Sainsbury's blamed this on a botched "software update".

Greggs happened today and was card payment related but doesn't seem to be nationwide (I've not been to one today so not 100% sure if that's true).

oakesm9··on LilyPond: Music notation for everyone
Tantacrul’s series on the design of music notation software is well worth a watch https://youtu.be/S-3wEC6Fj_8?si=YwamxToPTPHYet0M
oakesm9··on Apple announces changes to iOS, Safari, and the App Store in the European Union
Yes, but only if they proactively switch to the new fee terms. They can still with the current terms (which doesn’t allow non AppStore distribution) and not pay the CTF.

Makes switching to the new fee structure pretty unattractive for a lot of big companies.

← PreviousPage 2 of 10Next →