126 karma · joined Sep 10, 2023 (3y ago) · 66 submissions
comment 1mo ago · link · parent
I've been struggling with getting carplay to show it's alternate screen on my car's cluster display. Everything is fine for the first three seconds or so, then because apple doesn't use a nice annex-b stream (android auto's cluster display works fine), but avcc, shoving it into mpeg-ts requires some work.
Apple's encoder stops sending frames if nothing is happening on the screen, and at least my instrument cluster's h264 decoder loses sync after 3 seconds of no frames being delivered.
I've tried different kinds of filler, null ts packets, P-frames with no changes, etc. The decoder just doesn't want to resume playback when the frames start flowing again.
Any ideas?
comment 9mo ago · link · parent
They would not believe I was creating an account and using the device, because their own logging was so terrible.
I had to send them a screen recording from me using this abomination, and only then was I told "you're using the wrong special characters". They helpfully gave me some examples of allowed special characters, which then would pass the server validation.
I wish they would have gotten rid of the account requirement, as the device and client software seemed to work fine without them.
comment 9mo ago · link · parent
Setting the temperature where one end is minimum, the other is maximum, and between them you have a choice of degrees.
Activated vents would probably be better kept as buttons instead of being on a slider, I might want to use the floor vents at the same time as the defroster.
Fan speed (imo) should be on a knob, like a volume control. It would be fun to see it move, like a motorized pot on a receiver.
comment 10mo ago · link · parent
Public transport is almost completely electric powered where I live (ferries still haven't changed to electric, but it's coming.)
Trucking is electrified, as in, the operators have realzed that they're cheaper to run, so they are changing over when possible. (Sidenote: with some of the heaviest loads worldwide)
Very many agricultural buildings in active use either have, or are installing solar. Their energy usage is so high, that any offset to it is "free" money. Many have installed batteries also, so if there is an interruption in power delivery, there isn't an immediate need to start up a generator.
Electric tractors are also something I've heard them want. Less maintenance means less time spent not being able to work.
Sure, fertilizer and animal husbandry have other emissions which aren't tackled by this, but why exclude improvement just because some other area isn't affected.
comment 11mo ago · link · parent
You can use this to check: https://trychen.com/feature/video-bandwidth
comment 11mo ago · link · parent
Even a raspberry pi 4 or newer has dual 4k outputs, that can fill the entire screen at native resolution. Macs have been the worst to use with it so far.
comment 11mo ago · link · parent
Maybe just let your items show their age.
comment 1y ago · link · parent
I just looked it up, and I can buy a heat pump for 200-400 euros (depending on desired output), installation is ~400 euros. Why are you paying 20-30x for something identical? This sounds like a price difference created by government behavior, like with solar panels and related hardware which seem to be significantly overpriced in north america.
comment 1y ago · link · parent
It's impressive what can be done if a lot of effort is put in.
comment 1y ago · link · parent
I don't have a complete solution but this is all public information.
Barcode to read with your bank app (guide is in Finnish) https://www.finanssiala.fi/wp-content/uploads/2021/03/Pankki...
Example Bank API: https://op-developer.fi/p/psd2-info
The user will likely take ~20 seconds to get their phone out, unlock it, log in to the bank app, confirm the transaction and set their phone down. The PSD2 API shows the transaction immediately (again, instant transfer being enabled is a prerequisite) and the seller can confirm that payment is complete.
comment 1y ago · link · parent
Instant transfers have been the default for quite a while, and possible (for a fee) for as long as I can remember.
Online payments with instant confirmation have been really easy for 15+ years.
comment 1y ago · link · parent
SEPA transfers are (at least mine have been) max. 1h until the transfer is complete (some limit this to "banking hours"). Instantaneous transfer is common.
It seems to me like there is great variety depending on what bank you use.
API's are common, and even the same between banks now with PSD2.
Tbh, a banking barcode (or EPC QR if you prefer) displayed on the seller's webpage with unique reference + reading it with your phone and making the payment is that internet payment method via giro. The webshop uses PSD2 open banking to get notified of new transactions and knows when it is transferred.
comment 2y ago · link · parent
comment 2y ago · link · parent
I've created proof-of-concepts that worked perfectly but would make you cry if you looked at how they worked. Eventually they became that mess. Everything is a self-contained unit so it doesn't mess anything else up. Of course, there is always time to keep adding new stuff but never to refactor it into what it should be.
I prefer the way with linters and tests, it at least lessens the chances of whatever is put in being broken (or breaking something else). (Then again, somebody putting "return true" in a test _will_ surprise you sooner or later)
comment 2y ago · link · parent
comment 2y ago · link · parent
For somebody new at the language or new to programming in general, that difference can be imperceptible until it gets to a review.
I've also managed to spot people using an LLM to write stuff due to them doing things which won't pass linters or code tests.