HNHacker News
TopNewBestAskShowJobs

oakesm9

1,274 karma · joined November 3, 2012

Mobile App Developer https://mattoakes.net
submissionscomments
oakesm9··on The Orange Pi 5 Plus
That’s amazingly cheap to me if it’s a unit price per kWh.

In the UK for me unit prices from April to July last year were £0.50/kWh (USD$0.64) and that was with the government implementing a price cap and subsidising it.

It’s down dropped to a more reasonable £0.29 (USD$0.37) but that’s still with the government capping the maximum rates that can be charged, but no longer subsidising energy companies as the UK wholesale rate is lower than the cap.

oakesm9··on Location history data in Google Maps will soon be stored on user devices
If they’re applying for a visa or citizenship there’s likely requirements that you must have spent X% per year in the country and not abroad, even if it’s inside the schengen zone (or similar). Asking for the exact dates of your travel outside the country is likely the best way to do that
oakesm9··on New plans for self-hosted Zulip customers
The issue is that to setup push notifications for an app you link your apps bundle id/package name with the Apple/Google developer account that you publish with. For the Zulip app that will be the developer account owned by Zulip. Your app is then signed with credentials linked to that account as well.

When you want to send a push notification to the app you use an API key from that developer account. This lets Apple/Google know which app to send it to and confirms you have the permission to do it.

If Zulip wanted to allow a self-hosted notifications server to send notifications directly to Apple/Google and into the app they publish on the app stores then they would need to give out the API key from their developer account to everyone.

You wouldn't be able to do much without the matching device push token (a unique token per device which lets Apple/Google know which device you want to send a message to) but anyone could use that API token to attempt to spam messages which is a quick way to get your developer account banned, or at the very least have your access to the push API severly limited.

oakesm9··on New plans for self-hosted Zulip customers
Apple has either Unlisted Apps[1], Custom B2B apps[2], or Enterprise distribution apps[3].

All serve a slightly different purpose, but yes it would be possible to do but a pain to manage for most small businesses.

[1] https://developer.apple.com/support/unlisted-app-distributio... [2] https://developer.apple.com/custom-apps/ [3] https://developer.apple.com/programs/enterprise/

oakesm9··on Things that Transport for London can figure out by using our location data
This data was collected by O2 on their customers, so I presume the data comes from what cell site you’re phone is connected to. To avoid this you’d need to have mobile data disabled or just leave your phone at home.

TfL collected a separate dataset themselves using WiFi access points in the underground (covered later in the article).

oakesm9··on London Is Building Its Own Vegas Sphere
The site is the car park to the south of the train tracks. The red pin in your link shows it right in the middle of the housing development to the north. The Wikipedia map has the correct pin: https://en.wikipedia.org/wiki/MSG_Sphere_London#/map/0

To note, I would object to this as well if I lived in the area and hope it gets rejected somewhere along the way.

oakesm9··on The Escapist staff resign following termination of editor-in-chief Nick Calandra
Charlie Booker did do game reviews https://en.wikipedia.org/wiki/Charlie_Brooker%27s_Gameswipe
oakesm9··on Home Assistant 2023.11
Ah ok, I misunderstood then. I presumed if you used the OS installation method then the upgrade was done from within the web UI, but I maybe have misunderstood that too.
oakesm9··on Home Assistant 2023.11
Maybe the issue is that you used the "Core" installation method which isn't a fully managed installation and only really there for "advanced" use cases. It has this warning above the installation steps:

> This is an advanced installation process, and some steps might differ on your system. Considering the nature of this installation type, we assume you can handle subtle differences between this document and the system configuration you are using. When in doubt, please consider one of the other installation methods, as they might be a better fit instead.

I use the container installation method and it's usually as simple as updating the version number in Docker Compose and restarting. I'd imagine the full OS image is even easier and more stable.

oakesm9··on How to Leave the House of Lords
Elected British MPs are also unable to resign.

To allow them to do so there is a "legal fiction" where they're appointed to an "office of profit". This disqualifies them from being an MP and triggers a by-election. These are unpaid positions with titles like "Crown Steward and Bailiff of the three Chiltern Hundreds of Stoke, Desborough and Burnham".

https://en.wikipedia.org/wiki/Resignation_from_the_House_of_...

oakesm9··on Waymo says insurance data shows its driverless cars are safer than humans
No idea what a driverless car would do, but that VW driver acts like they’ve never reversed in their life…
oakesm9··on Stockholm to ban petrol and diesel cars from centre from 2025
The solution to this is a car sharing programme. You pay your membership and get access to a fleet of cars and vans that you can pickup whenever you like. Tax, insurance, and petrol is all covered in the price (usually) and you can pick the right vehicle size for the trip you're making (no need to own a truck for the rare occasions you need to move large items).

Obviously not a solution for every situation, but if you only need a car occasionally then it would likely work out well.

The "Not Just Bikes" video on this topic: https://www.youtube.com/watch?v=OObwqreAJ48

Personally I only drive once a week at most, but there isn't a car share scheme locally. If one started up that was cost effective and convinient enough then I'd consider it.

oakesm9··on US finally moves to cut $2,350 fee for renouncing citizenship
For those interested, the rules for the UK are set out here and are pretty clear: https://www.gov.uk/tax-foreign-income/residence

The summary is that if you have a full time job outside the UK or have spent less than 46 days in the UK (less if you were previously a UK resident) then you are never classed as a resident.

If that doesn't apply then working full time in the UK, spending at least half the year in the UK, or only having a home in the UK and using it for more than 30 days will automatically make the a resident.

If those don't apply, then there's a test to say if you have "significant ties" . The details for that are in the link and are applied on a sliding scale based on the number of days you spent in the UK.

To me, it looks pretty fair. You have a spend most of the year in the UK, have lots of "ties" here (property, family, etc), and not have a job elsewhere to be classed as a UK resident for tax purposes.

oakesm9··on All of the vehicle license plates available in America
Wait, is it not possible to get banned from driving in the USA?

For comparison the drink driving penalties are here: https://www.gov.uk/drink-driving-penalties

oakesm9··on Be careful of the examples you use. They stick
From the aricle footnotes:

> some-prefix is used in this post to protect our poorly chosen actual-prefix

oakesm9··on Electricity Maps
It’s live updating, so 0% of the electricity right now is being generated by coal (ie. The coal power plant is off). Note that Greece says “estimated” though so I presume they don’t have the actual live numbers.

You can view averages from the past 30 days, 12 months, and 6 years though and that shows the percentage of coal generation being about 800MW over the past 12 months.

oakesm9··on Electricity Maps
I’m not sure of the answer on this website, but if you’re going that route you’d also need to factor in the carbon cost of the building materials for power plants of any type. Steal and concrete aren’t carbon free either.
oakesm9··on Electricity Maps
Closing all the nuclear plants and replacing them with increased coal usage, mainly. Compared to France where nuclear makes up a huge proportion of generation capacity and the UK where gas is the main source (not low carbon, but much lower than coal).
oakesm9··on Noclip Documentry Video Collection
These are videos that have been digitized by the Noclip documenenry crew from boxes of old tapes they were given. There's more details about it here:

https://www.youtube.com/watch?v=7KKCWGN2fBs

oakesm9··on Storing dead people at -196°C [video]
Quite close to the opening plot of "We Are Legion (We Are Bob)":

    Bob Johansson has just sold his software company and is looking forward to a life of leisure. There are places to go, books to read, and movies to watch. So it's a little unfair when he gets himself killed crossing the street.
    
    Bob wakes up a century later to find that corpsicles have been declared to be without rights, and he is now the property of the state. He has been uploaded into computer hardware and is slated to be the controlling AI in an interstellar probe looking for habitable planets. The stakes are high: no less than the first claim to entire worlds. If he declines the honor, he'll be switched off, and they'll try again with someone else. If he accepts, he becomes a prime target. There are at least three other countries trying to get their own probes launched first, and they play dirty.
    
    The safest place for Bob is in space, heading away from Earth at top speed. Or so he thinks. Because the universe is full of nasties, and trespassers make them mad - very mad.
https://www.goodreads.com/book/show/32109569-we-are-legion-w...
oakesm9··on People over-emphasize the recycling aspect of "reduce, reuse, recycle"
> I've yet to see any recycling guidelines with anywhere near the amount of required precision

I’ve been pretty impressed by the A-Z list which my local council in the UK has. Covers 95% of the questions I’ve had on what to put where https://www.westsussex.gov.uk/l and-waste-and-housing/waste-and-recycling/recycling-and-waste-prevention-in-west-sussex/a-to-z-of-recycling/

oakesm9··on The grid isn’t ready for 300M EVs by 2030
Currently in the UK energy prices are lowest at night when usage is lowest. Night being after most people are in bed and before they wake up. You're correct that when solar makes up a larger propotion of the energy created, it might change that, but that doesn't change the idea of encouaging people to charge when energy is most abundant/cheapest.

There are already companies doing this in the UK such as Octopus with their Agile tarrif[0]. the unit price you pay changes every 30 minutes based on the wholesale price at the time. It's capped at 100p/kwh, which is 3x the average flat rate people use in the UK, but on the flip side it can go below 0p and at those points you actually get paid for using electicity. In those cases you're acting as a load balancer when there's just too much energy in the network. You can see a graph of the past prices here[1].

Octopus also has a pretty good API and hooks in IFTTT so you can set up automations for yourself. You could set your car or home bettery when the price is under a certain price. This could also just be built into the charge in the future and there's no reason why it couldn't be a standard between energy providers too.

[0] https://octopus.energy/agile/ [1] https://dashboards.energy-stats.uk/d/5cZqqmf4z/user-dashboar...

oakesm9··on Apple Pay’s long road to paying off is getting shorter
The UK has a limit of £100 for contactless cards, with a requirement to insert and enter your PIN after a few successive taps. Apple Pay and Google pay technically don’t have the PIN requirement as they’re authenticated and technically don’t have a limit, but in practice most shops still have a £100 limit.
oakesm9··on Supabase Auth: SSO, Mobile, and Server-Side Support
> Building apps for iOS requires support for native Sign in with Apple

This part isn't 100% true. It is only a requirement if you have some other form of social login (such as "Login with Facebook") and your app isn't specifically made for using data from that platform (such as a Facebook page managemenet app) [0].

You don't need Sign in with Apple if you only use your own account system.

[0]https://developer.apple.com/app-store/review/guidelines/#sig...

oakesm9··on Shields Up
I've found myself enjoying reading the weekly edition of The Economist digitally. Regular enough to be up-to-date, but slow and small enough that it has details about important events that have happened and very little speculation about developing stories.

You can get it through PressReader[1] and if you're in the UK it's very likely that your local library card will give you free access to it.

[1] https://www.pressreader.com/uk/the-economist-uk

oakesm9··on Cyclists now outnumber motorists in City of London
No, but folding bikes are pretty common in London. Those can be taken on trains at any time whereas normal hikes are technically only allowed on off-peak trains.
oakesm9··on Oakland's non-profit video game museum is back, and thriving
There's a great tour of the mueseum when it previously closed on Noclip https://www.youtube.com/watch?v=kRAUO3v-Xkc
oakesm9··on Night Train Map with all regularly served night train destinations in Europe
If you're not from any country that the train travels through and you're taking a few trains, then maybe getting an Interrail pass[1] would be an option. You need to pay a bit extra for seat reservations and sleeper trains, but it could work out better in some cases[2].

[1]https://www.interrail.eu/en [2]https://www.seat61.com/how-to-use-an-interrail-pass.htm#over...

oakesm9··on Apple is convinced my dog is stalking me
A bit off topic, but with your Amazon account you can create an "Amazon Household" and share any prime benefits you have with another adult[0]. You both still keep separate accounts wiht separate logins, but you'll both get the benefit of a single Prime account.

[0] https://www.amazon.com/gp/help/customer/display.html%3FnodeI...

oakesm9··on American drivers have a blinding headlight problem
If you take your car from the UK to mainland Europe (or vica versa) then you're required by law to fit headlamp beam adapters[0]. These essentially point both your headlights down to avoid blinding people who are now on the "wrong" side of the road. It does make it lightly harder to see forwards, but avoids blinding other drivers.

[0]http://www.motoring-into-europe.co.uk/product-eurolites.html

← PreviousPage 3 of 10Next →