WTF Bites
-
Qt linguist, which is kind of old and not exactly the most polished or advanced tool
It may not be polished, but it is certainly one of the better tools in the domain.
Have you czeched it lately?
-
WTF Status Bought a new mouse. It's nice. Except....the side buttons (all 4 of them) are mapped to - . Not Mouse-1 - Mouse-4, but the literal number keys 1-4.
-
Aren't the buttons remappable?
(warning: remapping the buttons may require creating an account and installing a cloud-based, terrible piece of software)
-
@Zerosquare said in WTF Bites:
Aren't the buttons remappable?
(warning: remapping the buttons may require creating an account and installing a cloud-based, terrible piece of software)
They are. But you do have to download the software. Turns out that installing the software also remaps them to something somewhat more sensible (two become back/forward, but the other is that obnoxious DPI switcher...and remapping those ones don't seem to work right).
Oh, and no account needed, thankfully.
-
@Zerosquare said in WTF Bites:
(warning: remapping the buttons may require creating an account and installing a cloud-based, terrible piece of software)
I sense another victim of Razer's crapware.
-
Why are so many of my WTF bites about Amazon shipping?
How can it be late if they've already shipped it a week early with a tracking number? Is Canada Post going to take a detour through the Suez Canal now that it's clear?
-
@Kamil-Podlesak said in WTF Bites:
@TimeBandit said in WTF Bites:
Surely, MS has got to have some tooling that can at least do this, if not better?!?
Did you actually look at the quality of MS products in the last decade?
Actually, now that I think about it, it was Windows 2000 or XP which allowed users to manage disk loudness.
It's not wrong, it's just that it doesn't do what it says it did.
-
How can it be late if they've already shipped it a week early with a tracking number? Is Canada Post going to take a detour through the Suez Canal now that it's clear?
It's their way of saying "we have no idea who will fuck up what this week but judging from how it's been going it will probably delay your parcel". Fair enough.
-
I sense another victim of Razer's crapware.
Not quite, but close.
(I worked on a similar product for one of their competitors, and explicitly mentioned Razer's software as an example of what we should not do.)
-
Status: I spent six hours today trying to figure out how some guy set up Art-Net to individually address identically-configured (except IP address) DMX lights (think: fancy motorized stage lights). Normally, if a DMX light is configured the same as another, they both mirror any actions sent to them (since they're configured the same), and this behavior is reflected when I try to command them with standard software that follows the Art-Net standard.
Well, it turns out that the guy that made the system is individually addressing each unit, i.e. not broadcasting commands like you'd expect, and that's how he's controlling things.
There is literally no other software that does this, apparently it's completely unexpected but because of an implementation detail happens to actually work.
-
@Kamil-Podlesak said in WTF Bites:
@TimeBandit said in WTF Bites:
Surely, MS has got to have some tooling that can at least do this, if not better?!?
Did you actually look at the quality of MS products in the last decade?
Actually, now that I think about it, it was Windows 2000 or XP which allowed users to manage disk loudness.
I've always wondered what that setting was for. I tell all my disks to be quiet, but it doesn't make any difference...
-
@Tsaukpaetra You Technical supporting the Rarity again?
-
# Clear pdf files over 30 days find /foo/bar/tmp -maxdepth 1 -name *.pdf -mtime +40 -delete
-
@loopback0 not sure the "why" or the "how" are , but that glob should be escaped.
Filed under: 40
-
Found more translation bites in Word. There is a menu option for getting your text read to you. Only the swedish translation places the words in the wrong order so instead of ”Läs upp högt” (Read Aloud) it says ”Läs högt upp” (Read From High).
-
that glob should be escaped
There are a few contexts where it doesn't need to be, but using
"*.pdf"
is probably better anyway.
-
@Zerosquare said in WTF Bites:
(I worked on a similar product for one of their competitors, and explicitly mentioned Razer's software as an example of what we should not do.)
What's really irksome about Razer is that their old products worked much better in this respect. I used to have an old "game pad" (half-keyboard, sort-of). You'd set it up once, and it'd store the configuration on the device. Unless you wanted to reconfigure it, you didn't have to touch the Razer software. And more importantly, the config carried over to other machines or when rebooting between OSes (so, into Linux). Newer revisions requires their ass-backward cloud crap to be running for the newer similar-style gamepads to be doing anything sensible. (As a result, their garbage now sits in a box somewhere.)
-
@topspin It is now
-
-
Why are so many of my WTF bites about Amazon shipping?
How can it be late if they've already shipped it a week early with a tracking number? Is Canada Post going to take a detour through the Suez Canal now that it's clear?
You're dealing with Canadians, just accept their hypothetical apology and have done.
-
@Tsaukpaetra said in WTF Bites:
Status: I spent six hours today trying to figure out how some guy set up Art-Net to individually address identically-configured (except IP address) DMX lights (think: fancy motorized stage lights). Normally, if a DMX light is configured the same as another, they both mirror any actions sent to them (since they're configured the same), and this behavior is reflected when I try to command them with standard software that follows the Art-Net standard.
Well, it turns out that the guy that made the system is individually addressing each unit, i.e. not broadcasting commands like you'd expect, and that's how he's controlling things.
There is literally no other software that does this, apparently it's completely unexpected but because of an implementation detail happens to actually work.TIL. I'm only familiar with DMX (a low-speed serial protocol with no error detection), not Art-Net (DMX over UDP/IP).
However, according to the Wickedpedo article on Art-Net,
Art-Net I used broadcasts extensively, giving a universe[*] limit of approximately 40. Art-Net II mostly uses unicast packets ...
Networks can use DHCP or statically configured IP addresses, and use unicast packets for greater network efficiency. ...
Conceptually, this packet is broadcast to all nodes; but is ignored by all nodes except the one which is configured to listen for this universe. In practice the packet is typically unicast to the correct node.So it sounds to me like this has been the standard way of doing this in the last 3 versions of Art-Net (current version is Art-Net IV, 2016).
* A "universe" refers to the DMX address space of 512 channels. When theatrical lighting consisted of just dimmers to control brightness, that was a lot of lights. With modern lights that have RGB color, pan, tilt, focus, and other modifiers, they use a lot of channels, and 512 doesn't go very far. Some DMX (not Art-Net) controllers may drive several DMX buses, each of which is called a "universe". Art-Net can apparently drive a whole bunch of virtual "universes" — 40-ish in Art-Net II and 32k in Art-Net III and IV.
-
@Tsaukpaetra You Technical supporting the Rarity again?
No. This guy at least knows how to program enough to send a hand-crafted UDP packet.
-
@HardwareGeek said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
Status: I spent six hours today trying to figure out how some guy set up Art-Net to individually address identically-configured (except IP address) DMX lights (think: fancy motorized stage lights). Normally, if a DMX light is configured the same as another, they both mirror any actions sent to them (since they're configured the same), and this behavior is reflected when I try to command them with standard software that follows the Art-Net standard.
Well, it turns out that the guy that made the system is individually addressing each unit, i.e. not broadcasting commands like you'd expect, and that's how he's controlling things.
There is literally no other software that does this, apparently it's completely unexpected but because of an implementation detail happens to actually work.TIL. I'm only familiar with DMX (a low-speed serial protocol with no error detection), not Art-Net (DMX over UDP/IP).
However, according to the Wickedpedo article on Art-Net,
Art-Net I used broadcasts extensively, giving a universe limit of approximately 40. Art-Net II mostly uses unicast packets ...
Networks can use DHCP or statically configured IP addresses, and use unicast packets for greater network efficiency. ...
Conceptually, this packet is broadcast to all nodes; but is ignored by all nodes except the one which is configured to listen for this universe. In practice the packet is typically unicast to the correct node.So it sounds to me like this has been the standard way of doing this in the last 3 versions of Art-Net (current version is Art-Net IV, 2016).
Yeah, I'm trying to find literally any software that actually does it this way made within the last six years that doesn't cost four figures and doesn't require a USB dongle that does nothing.
-
Sometimes in Visual Studio Code, pasting with
Ctrl+V
stops working until I restart the IDE
-
Sometimes in Visual Studio Code, pasting with
Ctrl+V
stops working until I restart the IDEVSC: Just doing our part to prevent copypasta.
-
Sometimes in Visual Studio Code, pasting with
Ctrl+V
stops working until I restart the IDEHonestly worth keeping, yeah. If a paste operation contributed to a test failure, for sure, apply like a ten-minute cooldown. But making it look like a bug is tricky.
-
Sometimes in Visual Studio Code, pasting with
Ctrl+V
stops working until I restart the IDEIt’s supposedly
turtlesJavaScript all the way down, so I’m not surprised.
-
My futuristic home involves hovering very slightly while hoovering?
-
@loopback0 said in WTF Bites:
My futuristic home involves hovering very slightly while hoovering?
Insufficiently futuristic. Hover harder.
-
-
@Zerosquare I really want to commission a 300-400 foot armored hovercraft called Crabsmasher and go and fish crab (that is, have someone else go and fish crab) in conditions that drive all lesser crab boats off of the ocean. I blame this entirely on reality show producers.
-
@Zerosquare I really want to commission a 300-400 foot armored hovercraft called Crabsmasher and go and fish crab (that is, have someone else go and fish crab) in conditions that drive all lesser crab boats off of the ocean. I blame this entirely on reality show producers.
I'd watch it.
-
@loopback0 said in WTF Bites:
My futuristic home involves hovering very slightly while hoovering?
Insufficiently futuristic. Hover harder.
She's holding it wrong. Obviously you have to hoover upwards to hover.
I have this exact model, unfortunately not in stark pink. Gift from a friend who likes to blow $350 on a vacuum cleaner, twice, because the first had a bad contact in the rotating brush that I got fixed in 15 minutes
-
@Zerosquare I'm pretty sure I still have that CD with the demo on it....
-
-
@Tsaukpaetra said in WTF Bites:
@Zerosquare I'm pretty sure I still have that CD with the demo on it....
The windows 95 cd?
-
@Tsaukpaetra said in WTF Bites:
@Zerosquare I'm pretty sure I still have that CD with the demo on it....
The windows 95 cd?
Yes!
-
Why are so many of my WTF bites about Amazon shipping?
How can it be late if they've already shipped it a week early with a tracking number? Is Canada Post going to take a detour through the Suez Canal now that it's clear?
Update:
-
@hungrier Do you want ⧘them⧙ to maintain the ability to apologize in either eventuality, or not? All they are trying to do is maintain their ⧘cultural⧙ norms.
-
Why is this view using the default value? It's only supposed to do that when
viewmodel.foobar
is notnull
. And I setfoobar
on the viewmodel just a second ago.
...
<Spongebob announcer voice>Many minutes later</>
Oh. The binding saysviewmodel.foobar == null ? viewmodel.foobar.value : viewmodel.default.value
As usual, I am
-
@Benjamin-Hall the lack of NPE seems to be
-
@Benjamin-Hall said in WTF Bites:
As usual, I am
Nah, is a nullable type without a
getOrElse
method. If it was possible to writeviewmodel.foobar.getOrElse(viewmodel.default)
, you'd never make that mistake.
-
@Benjamin-Hall said in WTF Bites:
As usual, I am
Nah, is a nullable type without a
getOrElse
method. If it was possible to writeviewmodel.foobar.getOrElse(viewmodel.default)
, you'd never make that mistake.is littering the type with semantics when you could externalize the null-handling concern.
-
@Benjamin-Hall the lack of NPE seems to be
No, there's no NPE there. Because
viewmodel.default
is always non-null (being set in the constructor ofviewmodel
). And since I never triggered the case whenviewmodel.foobar
would be null (all of my trials were withviewmodel.foobar != null
, no NPE could happen. It would have, if I'd triggered it.But it also turns out there was another piece of code inside the viewmodel (called before that binding is fired) where I'd replaced any null
foobar
withdefault
directly. So that null check was unnecessary. Except, of course, to confuse me.Oh, and all of this is inside the XML defining the view, because databinding in android uses its own syntax. And has the least helpful errors I've ever seen.
-
@Benjamin-Hall said in WTF Bites:
@Benjamin-Hall the lack of NPE seems to be
No, there's no NPE there. Because
viewmodel.default
is always non-null (being set in the constructor ofviewmodel
). And since I never triggered the case whenviewmodel.foobar
would be null (all of my trials were withviewmodel.foobar != null
, no NPE could happen. It would have, if I'd triggered it.But it also turns out there was another piece of code inside the viewmodel (called before that binding is fired) where I'd replaced any null
foobar
withdefault
directly. So that null check was unnecessary. Except, of course, to confuse me.Oh, and all of this is inside the XML defining the view, because databinding in android uses its own syntax. And has the least helpful errors I've ever seen.
yowch. well when I tell GoodJuniorImpl to use
Optional
next time I'll feel more validated.
-
@Benjamin-Hall said in WTF Bites:
@Benjamin-Hall the lack of NPE seems to be
No, there's no NPE there. Because
viewmodel.default
is always non-null (being set in the constructor ofviewmodel
). And since I never triggered the case whenviewmodel.foobar
would be null (all of my trials were withviewmodel.foobar != null
, no NPE could happen. It would have, if I'd triggered it.But it also turns out there was another piece of code inside the viewmodel (called before that binding is fired) where I'd replaced any null
foobar
withdefault
directly. So that null check was unnecessary. Except, of course, to confuse me.Oh, and all of this is inside the XML defining the view, because databinding in android uses its own syntax. And has the least helpful errors I've ever seen.
yowch. well when I tell GoodJuniorImpl to use
Optional
next time I'll feel more validated.The real code is in kotlin, which does have Optionals (by default). But databinding on Android requires working with
LiveData<T>
objects (which do all the notifications for changes). And those are initialized as having a null value (for more complex data structures as T (which is what this was). So yeah. Ugh.
-
Sometimes in Visual Studio Code, pasting with
Ctrl+V
stops working until I restart the IDESo MS saw the StackOverflow April Fool's joke and ran with it?
-
-
@TwelveBaud Looks like they ran out of 0 or 1
-
Trying to talk to Sharepoint online using Microsoft's Graph API.
There is something I can't figure out how to make it work. It should, according to the documentation, but it doesn't.
So I reach out to Microsoft's support since we're a paying customer.
Their answer: we don't offer support for that. Just ask your question on StackOverflow