889 karma · joined July 28, 2023
That's me. I'm talking about me.
I bought a 600$ fanless pc. It runs Linux. I run apps on it.
I bought a 600$ iPhone. It runs iOS. I run apps on it.
I haven’t paid a cent more than the original cost for each product. From an economical viewpoint they are the same.
NodeJS has had FFI for over a decade that allows you to call functions in .dylib/.a/.dll on Mac/Linux/Windows. I've used it extensively to link with libraries provided by USB device manufacturers to avoid direct USB interfacing.
See:
https://www.npmjs.com/package/ffi
This let's you call Node from inside Swift.
(I don’t know you but you sound like every white male teenager who discovers Ayn Rand.)
I have a Pi4 hooked up to a motion detector, a camera, a solenoid and some SCRs for a floodlight. A python script waits for an event interrupt from the motion detector on a GPIO. Then it turns on the lights and opens a door via GPIO, and starts recording in another thread (via a pipe to gstreamer). When the motion times out, it pushes the video to an private S3 bucket (using my own handshake for a token so that it can't be spammed).
(I used to have some GPIOs connected to motorized cat toys so that I could trigger them remotely while watching an realtime stream, but that throttled the above camera which was more important.)
... It is also a BLE gateway that monitors 4 temperature sensors, and also pushes that data up to the cloud with another python script.
... and it also is an MQTT gateway for a few NXP WiFi devices scattered around the yard, and their data ... you guessed it... is pushed up to the cloud (they control sprinklers because BLE doesn't have the range). I can log into my personal website and turn sprinklers on from anywhere my phone works.
Sure I could do the WiFi and BLE with a PC, but why waste the energy and space when I can use a tiny Pi that is already doing a bunch of other things?
I just keep adding things to it because I have my own cloud system (HomeAssistant is a big fat bloated joke).
Having a good BLE sensitivity and WiFi chip on a tiny linux board that runs dozens of python processes listening to GPIOs, and running Gstreamer would be too much of a hassle with a PC and far beyond an arduino.
If someone is fucking up, they are in the wrong position. People need to work for a living, and shouldn't be under duress constantly. It is up to them and their manager to find a position that is rewarding and engaging for them.
If they don't care, they are also in the wrong position.
It is no reason to not treat them with kindness. You don't have to blow them, but you don't need to be UNkind, as several have said below.
The only people I don't treat with kindness are people who are legitimately trying to hurt me and people I love, or promote hateful ideas with glee. People who are failing at their job need help.
And if they still annoy you, then I think the problem might be in how you view the situation. Compassion helps with anger. Try to think about why you are so angry, and if it really matters or helps to be so angry. Especially if you are not the manager. If you are the manager, consider that maybe the job isn't for you. You shouldn't be pissed at work all day!!
The PI is about making hardware hacking accessible on a linux-based platform.
A refurb PC fails horribly at that.
It depends on your needs. I find it perfectly capable when I need more than an STM32/ESP, but less than a PC, which is about 90% of the gadgetry I find enjoyable.
I don't understand all the anger. If you need a different platform, you need a different platform. /shrugs/
"package"
"touch up"
Odd that the writer called out these words in quotes in the midst of metaphors that were more obvious. I missed the article on the first read through because the writing was so bad.
Anyway, on second read through: amazing they were able to keep teams on this project for nearly five full decades who can still debug this old hardware. Amazing longevity. Talk about maintenance of a code base. 15 billion miles to push a patch. Amazing.