WTF Bites
-
-
@TimeBandit said in WTF Bites:
a lot more verbose than required
I prefer that to error messages like 0x80244010
I love ones like that where, when you look them up, give you “Error: Other. Please see your System Administrator.” and you're thinking “but that's me and I have no idea WTF just happened…”
-
Gotta love package tracking with USPS
Thanks for so much information!
-
to make the
dpkg
program (that does the actual installation) think it is talking directly to a user.But it is talking to the user, just indirectly.
dpkg
itself should not need a terminal, but it runs a bunch of scripts that come from the package being installed or removed, and those often use debconf, or even their own prompts that are often abominations unto The Holy Cow. Debian project might be able to enforce some uniformity into the scripts in the main distribution, butdpkg
andapt-get
are supposed to work also with various third-party packages written by mudlins from the likes or Oracle.So if I might guess,
apt-get
needs to givedpkg
, and transitively the processes it executes, access to the terminal, but it also needs to capture the output for whatever reason. And then the only option is a pty.
-
@TimeBandit said in WTF Bites:
Or just get a commercial Linux OS for your phone (your mileage may vary, only for selected phone models).
Of course, I don't have any of those apps either, but can't say I miss the ads.
-
@TimeBandit said in WTF Bites:
Gotta love package tracking with USPS
Thanks for so much information!
If you think that's bad, consider this:
Yes, that's the most detailed and up-to-date tracking I can get.
-
-
I'm afraid I can't do that, Dave.
-
to make the
dpkg
program (that does the actual installation) think it is talking directly to a user.But it is talking to the user, just indirectly.
No, it isn't. It's installing packages in a CI workflow. It really can't talk to any user at all. It's all running unattended.
Also, Github Actions treat carriage return as newline, and
dpkg
insists on showing progress counters for all sorts of things in interactive mode, andapt-get
forces interactive mode whether you like it or not... so if you install anything your log fills up with hundreds of lines of shit and you can't easily see important stuff. (There is an undocumented option to stop this behaviour.)
-
Speaking of useless comparisons
-
@hungrier it's useless because the prices went up so much recently?
-
@hungrier it's useless because the prices went up so much recently?
It’s useless because they forgot to compute the difference for the product name row.
-
It's installing packages in a CI workflow.
Yeah, that wasn't a thing when it was created and then backward compatidebility … um, actually, it not only was a thing, but a primary use case for apt-get, really. Because Debian was always building packages with automated process, and the build process installs dependencies with apt-get.
-
@Bulb I looked up the critical magic from my repo:
apt-get -o Dpkg::Use-Pty=0 install $thePackage
Ever so obvious, yes?
-
-
@Zerosquare killed by Google is
-
@Zerosquare also this:
Multiple pop-ups are in the second position as they caused participants’ blood pressures to rise from 108 mm Hg to 130 mm Hg. The pop-ups participants saw during the experiment included newsletter subscriptions, discount codes, sale awareness and trial offer pop-ups. Participants stated that the use of multiple pop-ups was ‘annoying’ and ‘unnecessary’.
What, no pop-ups telling you to use the app instead of the perfectly working browser? No pop-ups asking you to track you and give your personal data to 293 ad agencies for “required” functionality, with the opt out buttons hidden or not working? No pop-ups asking you to get a twatter/instashit/whatever account to see more? No twelve different banners with dumb garbage blocking half the screen once you clicked all the pop-ups away?
-
I guess further research is needed.
-
@Zerosquare said in WTF Bites:
I guess further research is needed.
Not sure they could get those past the ethics commission.
-
Yup. In fact, their initial experiment proposal involved exposing subjects to Discourse, but they had to back down.
-
In "parting weirdness from 2020": today I encountered an invoice where the amount payable was NaN.
-
-
@TimeBandit said in WTF Bites:
the amount payable was NaN.
You could probably pay it with Not-Really-Money
I'm more interested in how I can use online filing to make it propagate across the entire tax system.
-
And then find out there's a database somewhere that interprets NaN as +∞, when your home gets repossessed for nonpayment?
-
@Zerosquare Wouldn't work, because I would have a NaN overpayment, see.
-
Status: This thing has 3+ levels of while loops!
What the hell?
-
-
@Bulb I looked up the critical magic from my repo:
apt-get -o Dpkg::Use-Pty=0 install $thePackage
Ever so obvious, yes?
Are you new to Unix?
Ah, I see: it is far too easy for a real Unix command line.
-
@Tsaukpaetra said in WTF Bites:
Status: This thing has 3+ levels of while loops!
What the hell?
Only two of them are whiletrue, nothing to see here.
-
-
Because
#define ever (;;) ... for ever { }
is obviously better!
-
Script file (obviously intended to be a function library, not a stand-alone script) defines two procs:
proc do_thing {} { ... } proc thing_do {} { ... }
...
is letter-for-letter identical in the two procs.
-
@HardwareGeek said in WTF Bites:
...
is letter-for-letter identical in the two procs.HPC : ..and they agreed to the LOC clause in my contract! muhaha
-
@BernieTheBernie said in WTF Bites:
Are you new to Unix?
Ah, I see: it is far too easy for a real Unix command line.The actual production stuff has more complexity, but it isn't relevant to what I was grumbling about so I trimmed it before posting. (My prod code is fun — — in places...)
-
I'm afraid I can't do that, Dave.
-
The caller waits on the event and checks the registration result. If the result is an error code, then it means that the registration was unsuccessful.
If the result is ERROR_SUCCESS, then the registration succeeded
-
@El_Heffe it made perfect sense 30 years ago.
-
@El_Heffe IDGI. If your problem is with the name
ERROR_SUCCESS
then I guess that’s just C’s poor man’s namespacing.
-
@El_Heffe IDGI. If your problem is with the name
ERROR_SUCCESS
then I guess that’s just C’s poor man’s namespacing.ERROR_THERE_IS_NO_ERROR
-
-
Such innovation, much tilt, very patented
-
The Spiffing Brit tries to demonstrate how broken Cyberpunk 2077 is -- by using the clothing modification system to add enough armor to mitigate the damage of any normally-received-in-game attack down to zero -- but spends half the video stymied by how broken Cyberpunk 2077 is -- multiple Armadillo mods on any one piece of clothing interact with each other poorly, all of them showing the same armor boost regardless of rarity, none of which correspond to the actual final armor boost given, which can actually be a malus instead of a bonus, and is nondeterministic and affected by save/load.
-
@TwelveBaud very interesting, if it was anyone other than the Spiffing Brit, I'd even watch it.
-
@TwelveBaud very interesting, if it was anyone other than the Spiffing Brit, I'd even watch it.
Clearly you need more Yorkshire tea!
-
-
@Zerosquare said in WTF Bites:
I'm ever more glad over being paranoid from the very beginning of my use of the internet, never using my real name and in general just being distrustful of data gathering and doing my best to foul the data.
-
-
-
@Applied-Mediocrity said in WTF Bites:
Such innovation, much tilt, very patented
-
@boomzilla A most appropriate instrument to introduce to any such overpriced plastic garbage can. FORE!