movq

uninformativ.de

No description provided.

Recent twts from movq

This morning’s task: Making the thumbnails in my blog compatible with IBM WebExplorer 1.0 on OS/2 Warp 3. đŸ€Ș

Before:

https://movq.de/v/b7443c8873/a.jpg

After:

https://movq.de/v/b7443c8873/b.jpg

And the fix was using -define jpeg:sampling-factor=2x1 when creating the thumbnails using ImageMagick.

I’m not really sure, though, what’s going on. đŸ€”

More context: https://tilde.zone/@movq/112981572946464025

​ Read More
In-reply-to » From my bed, I can hear a noise outside that is most likely a confluence of insects and distant freight trains but sounds errily like the static-laden cacophany of an old radio. I would go out to see what it is, but a small part of me is worried I might end up living out an episode of "Are You Afraid of the Dark?" if I do.

(This is probably the first time I’ve seen the word “confluence” being used outside of an Atlassian-related context. đŸ„Ž)

​ Read More
In-reply-to » Just realized that phone came with a bunch of “hidden” Meta/Facebook services pre-installed and they cannot be uninstalled, so I guess me trying to “fight” WhatsApp is pointless anyway. đŸ€Ș

@prologic@twtxt.net I guess I’m more “strict” than you are, probably. DNS queries tell me very little about which data is actually sent to those servers.

On the other hand, this is probably a reasonable argument: The vast majority of users have no idea what a DNS query even is (and they don’t care to begin with), so trying to hide something here is probably not worth the effort for Google/Apple. This would make filtering DNS requests more meaningful after all.

(But you can’t be sure and that is driving me nuts. I don’t want to deal with this in the first place.)

​ Read More
In-reply-to » Just realized that phone came with a bunch of “hidden” Meta/Facebook services pre-installed and they cannot be uninstalled, so I guess me trying to “fight” WhatsApp is pointless anyway. đŸ€Ș

@prologic@twtxt.net Yeah, this whole thing of pre-installed third-party apps doesn’t exist on the iPhone. So that appears to be a bit better. You’re still sharing data with Apple and it’s next to impossible to tell what exactly the device does or does not do (just like with Android). If you can’t easily install your own OS, then it’s a lost cause.

Best you can do with any of these devices is disconnect them from the Internet.

​ Read More
In-reply-to » Just realized that phone came with a bunch of “hidden” Meta/Facebook services pre-installed and they cannot be uninstalled, so I guess me trying to “fight” WhatsApp is pointless anyway. đŸ€Ș

@prologic@twtxt.net I guess any Android phone is like that, except maybe for the Google Pixel stuff. It’s a shit ecosystem. And so is the iPhone world. It’s all proprietary garbage.

​ Read More

Just realized that phone came with a bunch of “hidden” Meta/Facebook services pre-installed and they cannot be uninstalled, so I guess me trying to “fight” WhatsApp is pointless anyway. đŸ€Ș


 and then people call me a “luddite”. đŸ€ŁđŸ–•

​ Read More
In-reply-to » I've decided to try and get rid of as much stress as possible. Stupid things stress me out, some things are more important to fix then others. But today I got started, by fixing the xeon bulb on our car, been ignoring it for a year, because the car garage said it'll cost me 350$ so get it changed (Because they had to remove the whole front).. So because of that I did not prioritize it. But today I went and bought a bulb for 50$ and I openened the hood of the car and saw I could just replace it my self by simply removing a cover to get access to the bulb. So I've been stressing over nothing for a year simply because I did not check and took their word for it. next thing to get fixed is a rotten board under a window outside, been bugging me for a long time, now I want to get that sorted next. All these small things adds up, and I want peace of mind.

@stigatle@yarn.stigatle.no Oh, I know that feeling all too well. Go for it! ✌

Also:

https://movq.de/v/8cdad1ae3a/s.png

😅

​ Read More
In-reply-to » The “Matrix Experiment”, i.e. running a Matrix server for our family, has failed completely and miserably. People don’t accept it. They attribute unrelated things to it, like “I can’t send messages to you, I don’t reach you! It doesn’t work!” Yes, you do, I get those messages, I just don’t reply quickly enough because I’m at work or simply doing something else.

@bender@twtxt.net Sigh. đŸ«€ Elon Musk should buy Meta. Problem solved. đŸ€Ł

​ Read More
In-reply-to » The “Matrix Experiment”, i.e. running a Matrix server for our family, has failed completely and miserably. People don’t accept it. They attribute unrelated things to it, like “I can’t send messages to you, I don’t reach you! It doesn’t work!” Yes, you do, I get those messages, I just don’t reply quickly enough because I’m at work or simply doing something else.

WhatsApp locked me out of my test account for violating their TOS. Huh? I hardly even used it? Or is that the violation – not immediately feeding them with all available data about my private life? đŸ€Ł

​ Read More
In-reply-to » And errors out expectedly using dash or ash, very nice POSIX Sh compliant shells:

@prologic@twtxt.net Yeah, that is part of the problem. Bash is so dominant on Linux, it’s hard to avoid. When I use #!/bin/sh, it still gets me a Bash that does NOT enter strict POSIX mode. đŸ«€ The script below uses Bashisms and requests #!/bin/sh but still runs happily 


#!/bin/sh

foo=1

if [[ "$foo" == 1 ]]
then
    echo match
fi

​ Read More
In-reply-to » I love shell scripts because they’re so pragmatic and often allow me to get jobs done really quickly.

@falsifian@www.falsifian.org Exactly! đŸ„ł

So this works:

$ bash -c 'set -u; bar=1; foo=$bar; if [[ "foo" -eq "bar" ]]; then echo it matches; fi'
it matches

Without the misleading quotes:

$ bash -c 'set -u; bar=1; foo=$bar; if [[ foo -eq bar ]]; then echo it matches; fi'
it matches

As does this:

$ bash -c 'set -u; bar=1; foo=$bar; if (( foo == bar )); then echo it matches; fi'
it matches

What the person originally meant was what bender said:

$ bash -c 'set -u; foo=bar; if [[ "$foo" = "bar" ]]; then echo it matches; fi'
it matches

It’s all rather easy once you’ve understood it 
 but the initial error message of the initial version can be quite unexpected.

​ Read More

I love shell scripts because they’re so pragmatic and often allow me to get jobs done really quickly.

But sadly they’re full of pitfalls. Pitfalls everywhere you look.

Today, a coworker – who’s highly skilled, not a newbie by any means – ran into this:

$ bash -c 'set -u; foo=bar; if [[ "$foo" -eq "bar" ]]; then echo it matches; fi'
bash: line 1: bar: unbound variable

Why’s that happening? I know the answer. Do you? 😂

Stuff like that made me stop using shell scripts at work, unless they’re just 4 or 5 lines of absolutely trivial code. It’s now Python instead, even though the code is often much longer and clunkier, but at least people will understand it more easily and not trip over it when they make a tiny change.

​ Read More