Badabinski

joined 5 months ago
[–] Badabinski@kbin.earth 49 points 1 month ago (3 children)

Thank god for projects like Valetudo thar let you break your stuff away from the cloud.

Semi-related story time. I bought a Midea Cube dehumidifier for my laundry room. My dryer has been broken for years, and I've found that air drying clothes makes them last a lot longer. It's hard to air dry inside, hence the dehumidifier. My plan was to control the dehu automagically with Home Assistant along with some fans, so people could just click a button to turn all the shit on to dry their clothes.

After buying it, I realized that the dehumidifier could only be controlled via the cloud, and the cloud control was unreliable as fuck. With the exception of tech people, nobody is willing to deal with my flaky bullshit. If the button doesn't work consistently, my partner, her other partner, and my FIL aren't going to bother. Luckily, a very industrious person made this thing that let me rip out the hardware responsible for cloud connectivity and replace it with a cheap microcontroller. Now, my dehumidifier talks to my Home Assistant server directly via MQTT and it just fucking works.

Give me local-only control or fuck off, I'll take control myself. It's not much to demand, and shit like what this article describes absolutely deepens my conviction around local-only control.

[–] Badabinski@kbin.earth 44 points 1 month ago

I liked how each of the sections ended with a different game that she's gotten running so far. It makes the article feel like a progressively bigger flex, which, of course, it is. Awesome to see this work progressing!

[–] Badabinski@kbin.earth 15 points 1 month ago (1 children)

I was looking for this comment so I can vent my extreme irritation to the world.

God, can this concept please die already‽ If you want to put solar panels where the cars/trains are, just 👏 fucking 👏 put 👏 them 👏 on 👏 top👏

Do not put them on the ground where they will get smushed and covered in dust and snow and dirt. do not. Just make a little roof for the train tracks/road/bike path/sidewalk/game trail/snail raceway and then put the panels on top of the roof and then if you're feeling fancy angle the panels to point towards the sun and if you're feeling really quite fancy then you can use bifacial panels to capture the backscatter from the ground and shit and then we can all be happy. solar ground no, solar roof yes, ground no roof yes. do not play the trolley problem with solar panels on the railroad tracks. we have been doing solar energy for decades and have fucking minmaxed this shit so why are they still trying to do this just STOP.

Fuck.

Person I'm responding to, please know that none of this is directed at you. I'm just sour right now and should get off the internet.

[–] Badabinski@kbin.earth 3 points 1 month ago

The arch wiki has a udev rule that can automatically do something if the battery crosses a certain threshold: https://wiki.archlinux.org/title/Laptop#Hibernate_on_low_battery_level

No polling which is great. I always try to do stuff on an event driven basis where possible for efficiency reasons. Gotta test this out though, since your battery might not send events for every percent change.

[–] Badabinski@kbin.earth 21 points 2 months ago (1 children)

oh fuck I did misread it. Man, now I sound like a big ol' asshole. Sorry, OP :/ I had a bad week thanks to some ChatGPT code and just kinda jumped out when I saw the word "ChatGPT" next to Bash.

[–] Badabinski@kbin.earth 15 points 2 months ago (3 children)

Ugh, I hate ChatGPT. If this is Bash (which it is, because it's literally looking for files in a directory called ~/.bashrc.d), then it should god damned well be using syntax and language features that we've had for at least twenty fucking years. Specifically, if you're writing for Bash (and not POSIX shell), you better be using [[ ]] rather than [ ]. This wiki is my holy book I use to keep the demons away when writing Bash, and it does a simply fantastic job of explaining why you should use God damned double square brackets.

ChatGPT writes shitty, horrible, buggy ass Bash. This is relatively decent for ChatGPT (it even makes sure the files are real files and not symlinks), but I've had to fix enough terrible fucking shitty AI Bash to have no tolerance for even the smallest misstep from it.

Sincerely, A senior developer who is known as the Bash wizard at work.

EDIT: Sorry, OP. ChatGPT did not, in fact, write this code, and I am going to leave my comment here as a testament to what a big smelly dick I was here.

[–] Badabinski@kbin.earth 14 points 2 months ago (14 children)

Yeah, I've been wondering how the fuck they pulled this off. If it turns out that the only pagers that exploded belonged to Hezbollah members, then that would signal to me that this was done entirely digitally.

I've heard that batteries (can't remember if it was laptop or phone batteries) contain the energy of a small grenade, but getting it to release that energy all at once without physical access is absolutely fucking wild and has serious fucking implications for device security.

EDIT: To avoid spreading misinformation, I'm providing this edit to say that the batteries absolutely were not the cause of the explosion. This was a supply-chain attack. Explosives were inserted into the pagers. The batteries in these pagers cannot be made to explode like this. I was overly excited when I made this comment.

[–] Badabinski@kbin.earth 8 points 2 months ago

Don't forget fully automated!

[–] Badabinski@kbin.earth 1 points 2 months ago (1 children)

Hopefully we'll be able to find a working one soon :( our emissions here are exclusively OBD2 based for anything 1996 or newer. I'll probably do what some other folks have recommended and try to "remanufacture" one myself.

EDIT: no idea why my client decided to post my comment twice.

[–] Badabinski@kbin.earth 18 points 2 months ago (6 children)

For me, it's Arch for desktop usage. When I first started using Arch it would not have been Arch, but now it's Arch. The package manager has great ergonomics (not great discoverability, but great ergonomics), it's always up to date, I can get a system from USB to sway in ~20 minutes (probably be faster if I used the installer), it's fast because it doesn't enable many things by default, and it's honestly been the most reliable distro I've ever used. I used to use OpenSUSE ~10 years ago, and that broke more in one year than Arch has in ten.

I personally feel like Arch's unreliable nature has been overstated. Arch will give you the rope to hang yourself if you ask for it, but if you just read the emails (or use a helper that displays breaking changes when updating like paru) and merge your pacnews then you'll likely have a rock solid system.

Again, this is all just my opinion. It's easy for me to overlook or forget all of the pain and suffering I likely went through when learning how to Arch. I won't recommend it to you, but I'll happily say how much I've come to enjoy using it.

[–] Badabinski@kbin.earth 1 points 2 months ago (4 children)

I need the truck to pass emissions, unfortunately :( Are there programmable ECUs that can pass emissions via OBDII tests? I was under the impression that there aren't, although I'd love to find out I was misinformed.

view more: ‹ prev next ›