WTF Bites



  • @Bulb said in WTF Bites:

    @topspin said in 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 1⃣ - 4⃣ . Not Mouse-1 - Mouse-4, but the literal number keys 1-4. :sideways_owl:



  • 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?

    fd4bec32-f5fa-4642-be77-d620b7e15a8c-image.png

    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?


  • Considered Harmful

    @Kamil-Podlesak said in WTF Bites:

    @TimeBandit said in WTF Bites:

    @topspin 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.


  • Considered Harmful

    @hungrier said in WTF Bites:

    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.



  • @cvi said in WTF Bites:

    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.)


  • Notification Spam Recipient

    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.


  • Notification Spam Recipient

    @Kamil-Podlesak said in WTF Bites:

    @TimeBandit said in WTF Bites:

    @topspin 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...


  • Java Dev

    @Tsaukpaetra You Technical supporting the Rarity again?


  • Discourse touched me in a no-no place

    # Clear pdf files over 30 days
    find /foo/bar/tmp -maxdepth 1 -name *.pdf -mtime +40 -delete
    

    :frystare:


  • BINNED

    @loopback0 not sure the "why" or the "how" are :trwtf:, but that glob should be escaped.

    Filed under: 40


  • Java Dev

    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).


  • Discourse touched me in a no-no place

    @topspin said in WTF Bites:

    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.)


  • Discourse touched me in a no-no place

    @topspin It is now



  • @Atazhaia said in WTF Bites:

    Read From High

    23c5f44d-e9a2-4f06-8d5c-7af4000ee442-image.png


  • Considered Harmful

    @hungrier said in WTF Bites:

    Why are so many of my WTF bites about Amazon shipping?

    fd4bec32-f5fa-4642-be77-d620b7e15a8c-image.png

    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.


  • Notification Spam Recipient

    @Atazhaia said in WTF Bites:

    @Tsaukpaetra You Technical supporting the Rarity again?

    No. This guy at least knows how to program enough to send a hand-crafted UDP packet.


  • Notification Spam Recipient

    @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



  • @hungrier said in WTF Bites:

    Sometimes in Visual Studio Code, pasting with Ctrl+V stops working until I restart the IDE

    VSC: Just doing our part to prevent copypasta.


  • Considered Harmful

    @hungrier said in WTF Bites:

    Sometimes in Visual Studio Code, pasting with Ctrl+V stops working until I restart the IDE

    Honestly 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.


  • BINNED

    @hungrier said in WTF Bites:

    Sometimes in Visual Studio Code, pasting with Ctrl+V stops working until I restart the IDE

    It’s supposedly turtlesJavaScript all the way down, so I’m not surprised. 🐠


  • Discourse touched me in a no-no place

    9f834bc0-1f78-49df-9146-94a20fe9751a-image.png

    My futuristic home involves hovering very slightly while hoovering? :wtf_owl:


  • Considered Harmful

    @loopback0 said in WTF Bites:

    9f834bc0-1f78-49df-9146-94a20fe9751a-image.png

    My futuristic home involves hovering very slightly while hoovering? :wtf_owl:

    Insufficiently futuristic. Hover harder.




  • Considered Harmful

    @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.


  • Considered Harmful

    @Gribnit said in WTF Bites:

    @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.


  • Considered Harmful

    @Gribnit said in WTF Bites:

    @loopback0 said in WTF Bites:

    9f834bc0-1f78-49df-9146-94a20fe9751a-image.png

    My futuristic home involves hovering very slightly while hoovering? :wtf_owl:

    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 :facepalm:


  • Notification Spam Recipient

    @Zerosquare I'm pretty sure I still have that CD with the demo on it....



  • @Tsaukpaetra


  • BINNED

    @Tsaukpaetra said in WTF Bites:

    @Zerosquare I'm pretty sure I still have that CD with the demo on it....

    The windows 95 cd?


  • Notification Spam Recipient

    @topspin said in WTF Bites:

    @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!



  • @hungrier said in WTF Bites:

    Why are so many of my WTF bites about Amazon shipping?

    fd4bec32-f5fa-4642-be77-d620b7e15a8c-image.png

    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:

    4ceb3376-f88d-41e6-aa71-dbd657a0578d-image.png


  • Considered Harmful

    @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.



  • Benjamin-Hall Why is this view using the default value? It's only supposed to do that when viewmodel.foobar is not null. And I set foobar on the viewmodel just a second ago.
    ...
    <Spongebob announcer voice>Many minutes later</>
    Benjamin-Hall Oh. The binding says viewmodel.foobar == null ? viewmodel.foobar.value : viewmodel.default.value

    As usual, I am :trwtf:


  • Considered Harmful

    @Benjamin-Hall the lack of NPE seems to be :trwtf:


  • Banned

    @Benjamin-Hall said in WTF Bites:

    As usual, I am :trwtf:

    Nah, :trwtf: is a nullable type without a getOrElse method. If it was possible to write viewmodel.foobar.getOrElse(viewmodel.default), you'd never make that mistake.


  • Considered Harmful

    @Gąska said in WTF Bites:

    @Benjamin-Hall said in WTF Bites:

    As usual, I am :trwtf:

    Nah, :trwtf: is a nullable type without a getOrElse method. If it was possible to write viewmodel.foobar.getOrElse(viewmodel.default), you'd never make that mistake.

    :trwtf: is littering the type with semantics when you could externalize the null-handling concern.



  • @Gribnit said in WTF Bites:

    @Benjamin-Hall the lack of NPE seems to be :trwtf:

    No, there's no NPE there. Because viewmodel.default is always non-null (being set in the constructor of viewmodel). And since I never triggered the case when viewmodel.foobar would be null (all of my trials were with viewmodel.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 with default 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.


  • Considered Harmful

    @Benjamin-Hall said in WTF Bites:

    @Gribnit said in WTF Bites:

    @Benjamin-Hall the lack of NPE seems to be :trwtf:

    No, there's no NPE there. Because viewmodel.default is always non-null (being set in the constructor of viewmodel). And since I never triggered the case when viewmodel.foobar would be null (all of my trials were with viewmodel.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 with default 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.



  • @Gribnit said in WTF Bites:

    @Benjamin-Hall said in WTF Bites:

    @Gribnit said in WTF Bites:

    @Benjamin-Hall the lack of NPE seems to be :trwtf:

    No, there's no NPE there. Because viewmodel.default is always non-null (being set in the constructor of viewmodel). And since I never triggered the case when viewmodel.foobar would be null (all of my trials were with viewmodel.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 with default 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.


  • ♿ (Parody)

    @hungrier said in WTF Bites:

    Sometimes in Visual Studio Code, pasting with Ctrl+V stops working until I restart the IDE

    So MS saw the StackOverflow April Fool's joke and ran with it?


  • Considered Harmful

    @boomzilla said in WTF Bites:

    joke

    like everything else beautiful and hopeful in this vale of tears



  • @TwelveBaud Looks like they ran out of 0 or 1 🤔
    88d2536e-9b81-4ace-ab8d-d3fe620d0643-image.png



  • 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 :wtf_owl:


Log in to reply