by GeertB · 10mo ago · 0 comments
To put into context: this is 3x the ROM/RAM of the ZX81 home computer of the early 1980s. The ARM M0 processor does full 32-bit multiplication in hardware, versus the Z80 that doesn't even offer an 8-bit multiply instruction. If we look at some BASIC code doing soft-float computation, as was most common at the time, the execution speed is about 3 orders of magnitude faster, while the cost of the processor is 2 - 3 orders of magnitudes less. What an amazing time we live in!
Now that it is a pity that when people talk about saving the planet everyone keeps rushing to dispoable electronics, what serves me to go by bycicle to work, be vegetarian, recicle my garbage, if everyone is dumping tablets, phones and magnificient thin laptops into the ground, and vapes of course.
Yet, I still need to wait about 1 second (!) after each key press when buying a parking ticket and the machine wants me to enter my license plate number. The latency is so huge I initially thought the machine was broken. I guess it’s not the chip problem but terrible programming due to developers thinking they don’t need to care about performance because their chip runs in megahertz.
"Key presses are 15x slower than they should be" gets labelled P5 low priority bug report, whereas "New AI integration to predict lot income" is P0 must-fix because on Tuesday a sales guy told a potential customer that it'd be in the next version and apparently the lead looked interested so we're doing it.
Banks and phone manufacturers now care about UI, because some of them started to do so, and people started switching to them en masse. US carriers were bleeding subscribers left and right when the iPhone was only available on AT&T, which was the first time people started switching plans to get a specific phone instead of the other way around.
People usually choose their parking based on where they want to go and how far it is from that place, and that trumps all other considerations. Paying more for programmers or parking machine processors would be a waste of money.
Most software sucks, even when people have to chose using it. Everything is buggy and slow, people are just used to software being bad.
When it comes to priorities about what to write and what to focus on, the buck stops at management and leadership. When it comes to the actual quality of the software written, the buck stops at the developer. Blame can be shared.
Yes, but still probably a million times easier for both the building management and the software vendor to have a SaaS for that, than having to buy hardware to put somewhere in the building (with redundant power, cooling, etc.), and have someone deploy, install, manage, update, etc. all of that.
When the device is new this is an absurd amount of time to wait. As the device degrades over 10, 20 years, that programming will keep it working the same. Awful the entire time, yes, but the same as the day it was new.
At Kroger-brand gas stations near me, I get to interact with the buttons on gas pumps to select options and enter a loyalty ID.
Those buttons have visible feedback on a screen, and also audible feedback consisting of a loud beep. And there's always delays between button press and feedback.
Some combination of debounce and wear might explain that easily enough.
Except... the delay between pushing a button and getting feedback is variable by seemingly-random amounts. The delay also consistently increases if a person on the other side of the pump island is also pushing buttons to do their own thing.
It's maddening. Push button, wait indeterminate time for beep, and repeat for something like 12 or 13 button presses -- and wait longer if someone else is also using the machine.
I can't rationally explain any of that variability with debounce.
If you keep your finger on the touchscreen for just long enough, it helpfully repeats the keystroke while you're entering a license plate.
Given the inevitable hardware issues, this means that what should be a single tap frequently becomes a burst of identical characters.
The programmers who worked on this probably would've liked to be game developers instead.
It's usually clear when this has happened. Buggy bargain basement output.
My underpowered cash register that hadn't been updated in a decade could run POS on top of Windows 7 Embedded POSReady buttery smooth.
Occasionally they would start performing poorly, and it was always a network issue.
Besides the fact that scanning a barcode seems beyond much of the general population, they do it so sloooow.
Checkout in Rimi, premium Danish store are superb. Work well, UI clean and clear. No ads, no excessive clicks.
Gently forcing the individual to choose sapient or insentient.
Just one recent example: few months ago, I replaced a Bosch dishwasher with the latest version of the same model. Now, when I press the start button to initiate the cycle, it takes over 3 seconds for it to register! Like, what is going on in that 3 seconds?
How was it possible that even 'kind of good' developers like me were able todo much more with much less back in the 90s? My boss would be like, "Here's this new hardware thingy and the manual. Now figure out how to do the impossible by Monday." Was it because we had bigger teams, more focus, fewer dependencies?
I suspect that a lot of it is caused by shoving Android onto underpowered devices because it is cheap and seems like an easy button. But I don't know for sure, that's just an impression. I have no numbers.
Could there be an opportunity here, for a specialized kiosk OS or something like that?
Maybe that ticket machine was coded in MicroPython. /s
- Visual Basic. Yes, it was interpreter, and you used to like it. GUI ran fast, good for small games and management software. The rest... oh, they tried to create a C64 emulator under VB, it ran many times slower than one created in C. Nowadays, with a P4 with SSE2 and up you could emulate it at decent speeds with TCL/Tk 8.6 since they got some optimized interpreter. IDK about VB6, probably the same case. But at least we know TCL/Tk got improved on multiprocessing and the like. VB6 was stuck in time.
- TCL can call C code with ease, since the early 90's. Not the case with Electron. And JS really sucks with no standard library. With Electron, the UI can be very taxing, even if they bundle FFMPEG and the like. Tk UI can run on a toaster.
- Yeah, there is C#... but it isn't as snappy and portable TCL/Tk with IronTCL, where it even targets Windows XP. You have JimTCL where it can run on scraps. No Tk, but the language it's close in syntax to TCL, it has networking and TLS support and OFC has damn easy C interops. And if you are a competent programmer, you can see it has some alpha SDL2 bindings. Extend those and you can write a dumb UI with Nuklear or similar in days. Speed? It won't win against other languages on number crunching, but for sure it could be put to drive some machines.
Forth is usually interpreted and pretty fast. And, of course, we have very fast Javascript engines these days. Python speed is being worked on, but it's pretty slow, true.
The same market forces that gave us affordable electric vehicles gave us disposable vapes.
If it goes anything like plastic bottles, there will be a bitter fight for corporate accountability that goes nowhere. It’s especially difficult here because there isn’t a single monopoly like Coca-cola to hold responsible. What is the bottle bill equivalent for vapes?
Bicycling, transit usage, and switching to lower-carbon food sources significantly reduces your CO2 footprint. Your example influences others in your community, though it may not be personally apparent.
Unless you assert that most animal feed is significantly less carbon intense than plants grown for human consumption, this holds. While grazing animals do exist, the vast majority of animal feed is farmed.
Given that the moon lander had a 1Mhz processor and 4kb of ram means we landed on the moon with the compute power of a Vape or USB cable. Wild times indeed.
Vapes are probably made in enough quantity to warrant custom silicon. Then the mosfets and charge circuit could be on the same die. It could be mounted COB (black blob).
They could probably use a single 'microphone' (pressure sensor) and determine which setting based on a photodiode.
The PCB's could be replaced with a flex PCB which integrates the heating elements (Vegetable Glycerine boils at 290C, whereas Polyimide can do 400C for a short while). Construction of the whole device can then involve putting the PCB inside the injection moulding machine for the cavities, eliminating all assembly steps, joints and potential leaks, and reducing part count
Not when the MCUs might cost a penny and the other parts aren’t much more.
Putting high power electronics and analog into the same custom silicon as a custom digital logic is nontrivial. They’re made on different processes.
As long as you aren't interested in multi-Mhz operation, combining the rest at very low cost isn't too tricky.
I mean relatively it absolutely is high power. The quiescent current on that thing has to be microamps…
It’s just funny because to me “high power” is hundreds or thousands of watts. Like an incandescent light bulb or a hair dryer. Or at least it was until I started tinkering with battery powered microcontrollers and doing math to realize exactly how long an 18650 might power a small strip of individually addressable LED’s…
“High power” is a very relative term :-)
The cheapest variety is a tiny PCB built into the microphone. It's three wires for the battery and heater, and that's it. Sometimes they include a cheap and nasty battery charger. All in a single grain of sand for almost free.
It has a separate magnetically attached battery / charging unit. I have to charge 5-6 times per "tank" that's attached. The battery side also has a mini-led display showing animations and battery / juice left so it's actually communicating with the tank side. A kit with battery and tank runs me about $25, but the tank alone is about $20. So they add $5 to cover the battery / charging component. It's a vice, but at least with this brand I'm not throwing away batteries weekly.
There's two limiting factors for 'smart dust': power (batteries are the majority weight and volume of this vape), and antennae (minimum size determined by wavelength of carrier wave).
I believe you can fit an NFC module in a 5x5mm package, but that does externalize the power supply.
Maybe the smart dust will have to eat microbes and stuff to stay active.
As for communication, we can’t go shoving antennas in them as then they’d be larger than dust. And you can’t use the optical part of the spectrum because of interference with basically everything. You can’t use wavelengths smaller either as you get into UV and high radiation. There is the terahertz radio spectrum [0] between 3mm and 30um that is pretty open and not utilized at all because we haven’t figured out how to make good transmitters. Plus the spectrum isn’t very useful as it isn’t very penetrating and water vapor absorbs it… and it requires lots of power.
Smart dust might have to be more of a distributed computer or something. Or a micro machine that uses chemistry and mechanical magic to do its operations.
Batteries are chemistry. ATP is a chemical battery.
The difference between living things and our machines is primarily in manufacturing methods: we do things in bulk, because we reach from the top with crude, meter-scale tools; nature glues things up from lots of tiny biomolecular nanomachines, and each of those tiny machines has to carry its own power source!
Still, it's highly likely that any form of "smart dust" will resemble living cells as much as, or even more so, it will resemble miniature devices we build today, simply because that's the kind of chemistry that's efficient at smaller scales.
RFID is historically powered by one of three methods,
one of which is completely wireless/battery-free.
I am now wondering if it's possible to put a ZX81 emulator on one of these microcontrollers. It would need to emulate the Z80 but you've got plenty of spare cycles, and 3x the ROM and RAM of the original, so enough space for a small emulator!
It's all integrated on a tiny PCB mounted to the back of the microphone.
It’s beautiful, I love it.
You need to offer an incentive (ie: discount on new vape if you recycle) and then, from my experience, most people will recycle.
Here in NY as a cannabis user, one of the brands available that offers vapes (Fernway) offers a recycling program at dispensaries. I get 10% back off my next vape/cart if I return the old one to the recycling dropbox. My dispensary also keeps how many I've returned on file if I return extras, so I keep a 'balance' of disposables returned for the discounts.
Such restrictions seem to purposefully target poor people, and I have rather strong ethical objections to them (something about making a problem invisible and hoping it'll go away - or starve out), but the effect goes beyond that. Getting $20 back on a $200 product would be a different story, but here, it's more like $2 on $20, or $0.2 on $2; most people aren't going to bother with that (and understandably so: it's not worth the logistics overhead). So at best, all this does is redirect money stream from poor people to recycling companies. More typically, it just makes people recycle less.
Edit: I'm actually curious l, i don't know how recycling supposed to work for electronics and how it can be a scam.
(The above is not so much about processors, but about plastics. As long as we are still burning any fossil fuels at all, we are probably better off holding off on recycling and instead burning the plastic for electricity to use ever so slightly less new fossil fuels for power, and instead use the virgin fossil fuels to make new plastics.
Especially considering the extra logistics and quality degradation that recycling entails.
Directly re-using plastic bottles a few times might still be worth it, though.)
The World has limited resources, we don't have a spare.
Do you need it spelling out more clearly?
Directly reusing plastic bottles that were not meant to be is bad for your health though, isn't it?
The problem here is the item lasts 'long enough' that they can't, a single battery, unless it were very large would drain charge first.
But that brings in the second issue of the device not being refillable, which may be the bigger sin.
Especially since both the waste created in the process of making the device and the e-waste created with it's disposal are somebody else's problem!
When computers become disposable, their programmers soon become disposable as well. Maybe, you shouldn't love it.
So, probably enough to land on the moon. And cheap enough to justify a dozen backups.
Is that inflation adjusted? If not, the real cost difference is even starker.
So you end up with something that could probably be coaxed into running DOOM at playable FPS (if it had enough RAM and a display) relegated to running a humble - and frankly objectionably wasteful (coupled with questionable health outcomes with long term use) - disposable vape.
LCSC says between 6 and 8 cents in volume:
https://www.lcsc.com/product-detail/C5292058.html
500+ $ 0.0802 2,500+ $ 0.0727 5,000+ $ 0.0682"
Cheap for a 1980s computer, now pennies. Wild.
I feel like, pioneers of the past would be rather disappointed with us.
I mean, primarily we're not using this ridiculous power to solve actual problems, but to enslave one another in addiction, mindless consumption and manufactured consent to a lesser life.
Almost 100 years later, now with computer enabled misinformation and agitation campaigns by tech oligarchs, a new fascism is on the rise and Alan Turing would be called an abomination, again.