Nope, it would have no bearing on my decision-making process. Not my body, not my womb, not my fucking business.
Alt account of @Badabinski
Just a sweaty nerd interested in software, home automation, emotional issues, and polite discourse about all of the above.
Nope, it would have no bearing on my decision-making process. Not my body, not my womb, not my fucking business.
The screenshots look really nice. I’ve personally always struggled with designing nice TUIs, so I really appreciate the way this looks.
I’d recommend trying out shellcheck and potentially building it into your repo as a CI check. I’ve written a ton of Bash over the years, and I’ve found shellcheck to be absolutely essential for any script over ~100 lines. It’s not perfect, but it does do a great job of helping you avoid many of the foot guns present in Bash. I also dearly love this site. It’s a fantastic reference, and I look at it almost every day.
I may take some time later today and provide a bit of specific feedback.
My pain tolerance for shitty input methods has been permanently warped after experiencing psychic damage from using Teamviewer to connect to a system over a very flaky HughesNet satellite link. I was working for a vendor that supplied a hardware networking box to a stupid retail company that sells food and shit. I just wanted to ssh to our boxen on a specific network so I could troubleshoot something, but the only way I could get to it was via putty installed on an ancient Windows XP desktop on the same network as our box that could only be accessed with Teamviewer. My favorite part of that was that the locale or something was fucked up, so my qwerty keyboard inputs were, like, fucking transformed into azerty somehow?? The Windows desktop was locked down and monitored to a tremendous degree, so I couldn’t change anything. The resolution was terrible, the latency was over a second, and half of my keyboard inputs turned into gibberish on the other side.
Oh, and I was onsite at that same company’s HQ doing a sales engineering call while I was trying to figure out what was wrong. I spent 5 days sitting in spare offices with shitty chairs, away from my family, living that fucking nightmare before I finally figured out what was wrong. God damn, what a fucking mess that was. For anyone reading this, NEVER WORK FOR GROCERY/DRUG STORE IT. They are worse than fucking banks in some ways. Fuck.
EDIT: also, I asked ‘why Teamviewer’ and the answer was always shrugs. This was before the big TeamViewer security incidents, so maybe they thought it was more secure? Like, at least they didn’t expose RDP on the internet…
Having been in this situation (the only binary I could use was bash
, although cd
was a bash builtin for me), echo *
is your friend. Even better is something like this:
get_path_type() {
local item
item="$1"
[[ -z "$item" ]] && { echo 'wrong arg count passed to get_path_type'; return 1; }
if [[ -d "$item" ]]; then
echo 'dir'
elif [[ -f "$item" ]]; then
echo 'file'
elif [[ -h "$item" ]]; then
echo 'link' # not accurate, but symlink is too long
else
echo '????'
fi
}
print_path_listing() {
local path path_type
path="$1"
[[ -z "$path" ]] && { echo 'wrong arg count passed to print_path_listing'; return 1; }
path_type="$(get_path_type "$path")"
printf '%s\t%s\n' "$path_type" "$path"
}
ls() {
local path paths item symlink_regex
paths=("$@")
if ((${#paths[@]} == 0)); then
paths=("$(pwd)")
fi
shopt -s dotglob
for path in "${paths[@]}"; do
if [[ -d "$path" ]]; then
printf '%s\n' "$path"
for item in "$path"/*; do
print_path_listing "$item"
done
elif [[ -e "$path" ]]; then
print_path_listing "$path"
printf '\n'
fi
done
}
This is recreated from memory and will likely have several nasty bugs. I also wrote it and quickly tested it entirely on my phone which was a bit painful. It should be pure bash, so it’ll work in this type of situation.
EDIT: I’m bored and sleep deprived and wanted to do something, hence this nonsense. I’ve taken the joke entirely too seriously.
oh my God it’s like you’re in my head get out of my head. I’m reading this because I’m trying to catch up on sleep and need to distract myself from the dread, so this hits way too close to home lol
Yeah, hypercapnia is fucked. I’m actually testing a small CO2 gas generator (literally just citric acid added dropwise to sodium bicarb with an acid trap and a dehumidifying stage) as a means to kill pests on houseplants and did some reading on the symptoms to be safe. It is unpleasant. It’s not the worst death I could imagine, but it’s shit.
As an aside, the way that CO2 kills bugs is interesting. Basically, the excess CO2 (in the range of 10-80,000 ppm) causes their spiracules (i.e. the little holes in their exoskeletons they use to breath) to stay open. This causes them to lose moisture until they die of dehydration (usually in a matter of hours). All this happens long before they asphyxiate or suffer from any sort of acidification from the CO2. It’s a bit fucked up, but all other means of getting rid of the pests on my partner’s houseplants have failed.
It’s a shame that nobody has produced a molecular test cheaply enough for free distribution yet. The fact that you can get PCR quality tests entirely at home makes the antigen tests a non-option for me and mine. They’re too expensive to recommend to most people, however. The ones I’ve been using are $25 per test, and you also have to pay $50 for the reusable test reader. That’s way cheaper than they used to be (Lucira COVID tests were like $75 a pop, and the fact that the entire unit was single use was terrible from a waste perspective), but it’s still just not good enough.
EDIT: lmao, Pfizer bought Lucira and is now selling combo COVID+flu tests with the same single-use tester. I wish they had converted to a reusable central unit with disposable tests like most other molecular COVID testers…
EDIT: yikes, the Lucira combo tester might be giving false positive results for the flu. Dunno if this Amazon review is accurate, but it’s certainly concerning:
This is one of the first combo tests for flu and COVID-19. By training, I am a microbiologist and infectious disease epidemiologist. Thus, I ordered some of these new tests to see how well they worked and how easy they were. As additional background, I have run infectious disease laboratories and have designed diagnostic assays. Thus, having an at-home test is always a nice luxury.
The instructions were easy to use. I will note that when you put the vial in the reader, do not push it all the way down, as that is when the test will actually start. So be sure to mix your swab in the buffer (purple liquid) for the appropriate time and then cap the viral and push down.
I ran the first test (far left in the picture) and within 10 minutes it came up as positive for influenza B. Currently, in the US, in my age bracket, flu B makes up about 17% of diagnosed cases, so the biological rationale is that this could be real. However, I was asymptomatic and was only running the test to see how easy it was to run. I then retested on a rapid antigen test that included SARS-CoV-2, Flu A, Flu B, and RSV. These unfortunately are not available in the US but I had some left over from a trip to Europe. That was negative for all of those pathogens. Since these molecular tests have a lower limit of detection (meaning they can detect small amounts of viral nucleic acid compared to rapid antigen tests). However I did buy four of the Lucira tests, so I ran another one (far right in the photo). That came back negative for all of the pathogens.
This is highly concerning. Given no diagnostic test is perfect, had I only had one test on hand and no way to corroborate the first test result I would have been isolating thinking that I had influenza B. When in actuality, it seems most likely that the first test was a false positive result. Looking at the Instructions for Use on the FDA website, it shows for Flu B, that in 364 PCR negative samples, 1 was positive on the Lucira test. So there is always a possibility that you test results may not be accurate. However, it was curious that this happened the first time I used this assay.
I would personally avoid this product. I have been using many of the at-home tests for the past few years and have NEVER had a false positive. Thus, this has put much doubt into the results and the technology behind this product. This is the only molecular combo assay for SARS-CoV-2 and Flu on the market at this point, but others will be released shortly and I would interpret these results carefully. Really, I would love if they refunded me the cost of one test, but I won’t hold my breath there
I used Google maps to get these values. I’m using Google’s estimated walking distance and will also include Google’s estimated walking time.
I’m in Utah somewhere south of Salt Lake City (the state capitol). The numbers aren’t great, but they’re far better than some places I’ve lived here. As a kid, I remember biking for 20+ minutes to make it to a small supermarket.
EDIT: as others have said, my paths can be quite bendy at times, but it’s different than many suburbs in the US. Salt Lake City (and, by extension, most of the valley that it’s in) is built on a fairly rigorous grid system. We have lots of straight roads with large blocks (in some cases, it can be 1-2 km between lights and crosswalks). We don’t have too many ratfucked suburban mazes, so the walkability problem here is primarily due to sprawl and a dearth of crosswalks.
I think the concern is that it doesn’t necessarily do that thing where the collar will come off if it gets caught on something. Like, most commercial collars have a breakaway that will prevent a cat from getting strangled. It might be worth getting breakaway latches and using them in any future designs.
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.
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.
I’m guessing it’s nostalgia. The bananas in the original game had stickers on them, but the newer games didn’t. There are a lot of people who love the old SMB games and are happy when anything is done to make the new ones like the old ones.
I don’t get being so excited about it, but these games weren’t a core part of my childhood. I played the party games in SMB 1 once and those were fun, but I don’t think I ever actually played the main game.
Same here. Like, there has to be some kind of specific vulnerability in these pagers, right? You can’t just “heat up the battery,” you need something that will actually use the power. If the pagers weren’t compromised between the manufacturer and the recipients, then there’s some major fuckery afoot.
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.
what the fuck
What is it with this fucking man and disgusting dead animals‽ Like, this was before the brain worm started driving ffs! I really thought the brain worm was the reason this dude was so fucking crazy, but apparently not! It must be Rosemary Kennedy’s ghost, tormenting the family for what they did.
EDIT: Jesus I just can’t get over this. They’re dead man you don’t have to fuck with them just leave them alone and enjoy your time on the beach with your family or in Central Park throwing dirt clods at the drifters like you want to
just don’t fucking touch the dead animals anymore
EDIT: I’ve done some more research and have learned a few things
like, I just want to understand what his fucking problem is. It was easy when it was the brain worm. I view him as a bit dangerous which is probably why I’m latching onto this and trying to understand his motivations. Dangerous people are easier to handle emotionally if you know why they’re dangerous and what they want.
oh hey cool another reason to think Reagan was a horrible fucking ghoul
I wonder if there have been any studies done on how this decision impacted ATC suicide rates.
EDIT: huh, well I’m not actually finding data on suicide rates among ATCs. I wonder if I’m repeating a myth? Or if it’s just not well publicized or studied.
Ditto. Like, I think it’ll become iconic in the same way the LLV is ugly-iconic. I just like it when government stuff so obviously prioritizes function over form.
Don’t forget fully automated!
I’d guess there’s a bit of MIC lobbying and chicanery afoot here. Like, it does seem like Oshkosh makes some good vehicles, but there’s always pressure to support defense companies when government bidding happens.
Please note that this is completely baseless speculation on my part. I’m an idiot on the internet that knows fuck-all about shit.
It very definitely was 😅 The way that company used the satellite network was cool, don’t get me wrong. They would use it to push content out to all their stores with multicast which was really efficient with bandwidth. I loved it for that, but I hated interacting with it over unicast in any way, shape, or form. Horses for courses, as they say.