WTF Bites
-
Thank you Microsoft, I never would have figured which server was for Windows and which was for Ubuntu without the added clarifications!
-
@Atazhaia with the Linux subsystem on Windows, it's not that clear
-
@TimeBandit said in WTF Bites:
@Atazhaia with the Linux subsystem on Windows, it's not that clear
It’s called the Windows Subsystem for Linux, because calling it the linux subsystem would make too much sense.
-
Thank you Microsoft, I never would have figured which server was for Windows and which was for Ubuntu without the added clarifications!
Is it at all like Visual Studio for Windows 10 for Windows 7?
-
@TimeBandit said in WTF Bites:
@Atazhaia with the Linux subsystem on Windows, it's not that clear
It’s called the Windows Subsystem for Linux, because calling it the linux subsystem would make too much sense.
IIRC there was already a Linux Subsystem, or was it a POSIX Subsystem? Either way it wasn't too popular from what I heard so WSL was born instead, and of course for backwards compatibility it didn't replace what came before it.
-
Linux Subsystem, or was it a POSIX Subsystem
It was called "Windows Services for UNIX"
-
@TimeBandit That name is still backwards.
-
-
@PJH I love Chris (Simpsons artist). He gifts us with such wonderful things.
-
Amazon now does time travel:
(bear in mind that the status message switched to this some time after 8pm on Tuesday when the package was still hundreds of miles away at the wrong depot)
-
@LB_ That existed more to tick a checkmark, afaik it only supported age old POSIX.1.
-
@japonicus said in WTF Bites:
Amazon now does time travel:
(bear in mind that the status message switched to this some time after 8pm on Tuesday when the package was still hundreds of miles away at the wrong depot)
They, of course, mean Tuesday 30th April 2024.
And, provided they don't utterly lose it on the way, is virtually guaranteed.
-
And, provided they don't utterly lose it on the way, is virtually guaranteed.
Funny coincidence, I got a mail from Amazon yesterday that my “packet wasn’t correctly scanned at the depot”, but their system has “automatically detected it and enacted counter-measures”.
Weird flex, but okay.
-
enacted counter-measures
They're "disposing of the meatware that mishandled it."
-
We needed to control our laser programmatically to "scan" samples by moving them under the laser in a controlled manner, then sending laser pulses into them. Turns out, it's actually possible, once you buy a female DE9 to female DB25 null modem cable, disconnect the hardware control panel from the laser and connect a PC instead. There is a fairly complete application, some DLLs and test programs for them, all written in Borland Delphi circa 2007 (no COM interface, though). This is not the WTF.
Of a whole buttload of settings in the laser that we occasionally need to change, we need programmatic control of only two. We also don't want to draw a UI for all the settings, since they already can be changed from the vendor application. Or can they? This being a serial port, only one application can meaningfully hold it open at the same time, so we can either control the whole laser via vendor program, but not programmatically, or write our own program to control all the settings, despite we really want only two.
The solution? Keep the vendor application open and use
SendMessage()
to click buttons in it. We haven't written it yet but it seems that we will. Please talk me out of it.
-
You could probably create two virtual serial ports (one per application), and "merge" them into one physical one, using something like this:
(I don't know if it can do it out of the box, of if you'd need to write a bit of code, but I'm pretty sure this is feasible).
I believe hardware solutions also exist.
EDIT: hub4com looks likes it can do what you need:
-
-
Please talk me out of it.
That seems the less entertaining course of action.
-
Status: What the hell, why are they selling a 128 MB SD Card for $78?!??
-
And, provided they don't utterly lose it on the way, is virtually guaranteed.
Funny coincidence, I got a mail from Amazon yesterday that my “packet wasn’t correctly scanned at the depot”, but their system has “automatically detected it and enacted counter-measures”.
Weird flex, but okay.
I guess that the "system" that automagically detected that it had not scanned something was meatsack based fro my previous experience.
Years ago, I did physical labor gigs instead of sitting in a chair surfing the web. One place I worked at held tours at the particluar plant I was at for a few months. During said tour, they always bragged about having the first fully automated robot to load sacks into a freight container unsupervised.
Only, said robot had been delayed, so it was me and three other guys doing the actual container loading. We picked up a pallet full of sacks through a hole in a wall where a conveyor belt was supposed to run, drove it to the loading bay, and loaded the sacks manually into the container. No automatic magic robotry anywhere to be seen.
-
@Tsaukpaetra
some devices can only handle older, smaller, slower cards hence the jacked up price
-
@Tsaukpaetra said in WTF Bites:
Status: What the hell, why are they selling a 128 MB SD Card for $78?!??
At a guess, supply and demand.
-
@Tsaukpaetra
some devices can only handle older, smaller, slower cards hence the jacked up priceThat, and for production-critical machines, people are paranoid and look for exact replacements (after all, nobody wants to be the guy who caused a $50,000 outage by trying to save $50). So there are plenty of companies which sell obsolete stuff at wildly inflated prices, even when more recent equivalents would work just as well, or even better.
-
@TimeBandit said in WTF Bites:
Youtube's Content ID filter fails, again
This post that was listed in related below is, at least for me, even bigger :
-
The solution? Keep the vendor application open and use
SendMessage()
to click buttons in it. We haven't written it yet but it seems that we will. Please talk me out of it.They say use a rough patch on a rough sack. It sounds like completely appropriate course of action…
And I am quite serious. With DLL, even if you bind it from some higher level language, you may run into difficult to debug crashes if you send something slightly wrong and such. Driving the application—preferably with some UI automation framework, there should be a couple—will be much easier to debug and therefore faster to get in production.
-
@Bulb That's nothing new - France has always enforced copyright on photos of public landmarks.
-
Losing money by not gambling
-
@TimeBandit said in WTF Bites:
Losing money by not gambling
That can be easily solved
...where did all my money go?
-
@Zerosquare said in WTF Bites:
hub4com looks likes it can do what you need
Thanks, this looks like a good idea! There is, of course, a chance that vendor code would go crazy after it receives an acknowledgement from the laser for the command that another copy of the code sent, but it's definitely worth trying.
They say use a rough patch on a rough sack.
I know, right? :)
some higher level language
UI automation frameworkOh no, the rest of the app is LabVIEW and code callable from LabVIEW (mostly C). Also Windows 2003, because there are no newer drivers for a crucial component of the apparatus. Maybe someone in the lab should learn C# before it gets even more embarrassing.
-
the rest of the app is LabVIEW
Also Windows 2003, because there are no newer drivers for a crucial component of the apparatus.
Lemme guess. It depends on overpriced National Instruments hardware, right?
-
I am very confused right now. In Chrome, I can watch 8k video at 60 fps at 1x speed with no issues. Smooth, no stuttering or lag, 1,990,656,000 pixels per second. But if I want to watch 720p video at 60fps at 2x speed, suddenly 110,592,000 pixels per second is just too much and every few seconds the video lags.
-
@LB_ no repro.
-
2x speed
Streaming? That might be the server rate-limiting the stream, because it only expects normal speed.
-
@Zerosquare said in WTF Bites:
Lemme guess. It depends on overpriced National Instruments hardware, right?
No, just niche legacy hardware combined with someone's decision that "GUI is hard, let's make a Virtual Instrument instead".
No wonder the code I'm writing sometimes feels like this:
-
2x speed
Streaming? That might be the server rate-limiting the stream, because it only expects normal speed.
But 480p at 2x speed works perfectly fine. This is YouTube, where they literally let you customize the speed to whatever you want now. If I break open devtools I can watch 480p at 4x speed too and it also works fine.
-
You seem to assume that Google developers are too good to create WTFs. Sorry to burst your bubble, but we've seen a number of examples which prove the opposite.
-
@Zerosquare said in WTF Bites:
You seem to assume that
GoogleYoutube developers are […] good
-
@cartman82 The way we use Git at my current job is kind of a head-scratcher.
You make a branch for each feature off of "master."
When you're done, you submit a pull request to have it merged into "develop."
Then, right before the release, all the pull requests designated for inclusion are merged into a release branch... which is taken from "master."
Code has a way of just randomly disappearing from various environments.
-
I am very confused right now. In Chrome, I can watch 8k video at 60 fps at 1x speed with no issues. Smooth, no stuttering or lag, 1,990,656,000 pixels per second. But if I want to watch 720p video at 60fps at 2x speed, suddenly 110,592,000 pixels per second is just too much and every few seconds the video lags.
I've had similar issues on some videos - 1080p stutters, 720p buffers 10 seconds per second. I suspect it's because each quality is uploaded to a different server, and some servers just have bad connection to your part of the world.
-
@Gąska Well no, I can see the download progress on the video progress bar, and I can even experience this issue with internet disconnected as long as I only watch the buffered part of the video. I have a suspicion the 60fps is something to do with it, or that 4k/8k use different playback methods than lower resolutions.
-
@MSgtSoupSandwich said in WTF Bites:
@cartman82 The way we use Git at my current job is kind of a head-scratcher.
You make a branch for each feature off of "master."
When you're done, you submit a pull request to have it merged into "develop."
Then, right before the release, all the pull requests designated for inclusion are merged into a release branch... which is taken from "master."
Code has a way of just randomly disappearing from various environments.
If after release the release branch is merged back to master, then I see nothing strange in this process.
-
So do I continue or continue or continue or...
-
@MSgtSoupSandwich said in WTF Bites:
@cartman82 The way we use Git at my current job is kind of a head-scratcher.
You make a branch for each feature off of "master."
When you're done, you submit a pull request to have it merged into "develop."
Then, right before the release, all the pull requests designated for inclusion are merged into a release branch... which is taken from "master."
This is actually quite similar to how Git itself is developed. Their feature branches are also based on
master
and merged intonext
, the release branch, when they are considered ready—except it happens whenever it is decided the feature is good enough to go in the next release and not delayed until before the release.They also have a kind of ‘develop’, called
pu
, with a twist that it is re-created repeatedly by merging all the open merge requests, because the work in progress is rebased all the time.It makes a lot of sense, but it requires an integrator who knows what they are doing and can keep track of stuff
@MSgtSoupSandwich said in WTF Bites:
Code has a way of just randomly disappearing from various environments.
… which you apparently lack.
Keep in mind that in Git only the integrator (maintainer—Junio C. Hamano) has write access to the central repository and he has a workflow and bunch of scripts designed to keep track of the state of the features, and he periodically sends a status report which the developers check to see if their features did not slip through the cracks.
Your approach also seems a little more confusing still, because if you do some conflict resolution on
develop
—which might mean semantic conflicts, i.e. the text merges fine, but further changes are actually needed to make the features to work together—than that is obvious candidates for not making it into the release as they either don't have their pull requests, or have separate ones that can easily be missed when building the release branch.In the Git case, the
pu
is rebuilt every time, so no such resolution can be done on it, and thenext
is built progressively, so when such resolution is needed, it is already in the place where it needs to be for the next release. And of coursenext
is also progressively tested, so the need to do something to make the features work together is hopefully noticed early.
-
@Tsaukpaetra said in WTF Bites:
not-clear popsicle
I'm struggling to remember if I've ever seen such a thing...
A fudgesicle or a creamsicle wouldn't be clear.
-
@anonymous234 said in WTF Bites:
"Debian stable never crashes! Because it's so stable! You get old versions but they work!"
This is one of my pet peeves. Yes packages never change but their bugs are frozen in time. For example, if you change any time settings on XFCE the clock disappears. This is a known issue with that version and will probably not get backported to stable.
-
If you live an apartment then you probably know that turning your radio to news at max volume at 0230 is going to wake up other people right?
Did I somehow piss off my upstairs neighbour??
-
More planning tool WTF: Timestamps in the message inbox.
-
@Atazhaia That timestamp format is, indeed, a . It is also a very old , as for some reason it is the default format of the Unix
date
command:$ date Mon 6 May 14:45:14 CEST 2019
though the omission of leading zero in minutes is a nice touch.
-
Asus AURA is a program to control the RGB leds in an Asus motherboard (and possibly some accessories too, I haven't tried it). Download size: 132.89 MBytes
But wait, there's more. Changelog for the latest version: "Enhanced security". Turns out this program exposed hardware I/O ports to user programs, allowing full escalation of privileges. Brilliant.
-