WTF Bites


  • BINNED

    @Gąska said in WTF Bites:

    @cvi said in WTF Bites:

    As for breaking on duplicate GUIDs ... if nothing else, they are probably in good company with a lot of software out there.

    Yes, I realize almost entirety of our industry sucks hard. But that's a shitty excuse.

    I'd normally agree on that part, but as Raymond Chen nicely explains, the chance of a (correctly randomized) GUID collision is so small it might as well be a hardware failure. Or a failure "somewhere else", which is just what happened here.



  • @Gąska said in WTF Bites:

    @cvi said in WTF Bites:

    from what I understood, they were using the random numbers to generate a GUID.

    You can generate GUIDs without randomness. Moreover - generating them without randomness actually guarantees that they'll always be unique.

    @cvi said in WTF Bites:

    As for breaking on duplicate GUIDs ... if nothing else, they are probably in good company with a lot of software out there.

    Yes, I realize almost entirety of our industry sucks hard. But that's a shitty excuse.

    Maybe. If it's a true GUID, then it's essentially guaranteed never to have a duplicate. A duplicate "GUID" is already a WTF.


  • BINNED

    @TimeBandit said in WTF Bites:

    @cvi said in WTF Bites:

    As for breaking on duplicate GUIDs ... if nothing else, they are probably in good company with a lot of software out there.

    The thing that makes it worse is that it's THE INIT SYSTEM 💢

    Putting everything in Init is fine because our code has no bugs!!!

    (I know they don't actually say anything like that, but 📠 :barrier: 🚎 )



  • @Gąska said in WTF Bites:

    You can generate GUIDs without randomness. Moreover - generating them without randomness actually guarantees that they'll always be unique.

    Doesn't that involve both the time and a MAC address? If they are worried that the system-provided sources of randomness aren't running yet, it would be reasonable to assume that getting an accurate current time might be problematic too, and similarly, getting a MAC address of some network interface might not be feasible either.


  • Banned

    @topspin said in WTF Bites:

    @Gąska said in WTF Bites:

    @cvi said in WTF Bites:

    As for breaking on duplicate GUIDs ... if nothing else, they are probably in good company with a lot of software out there.

    Yes, I realize almost entirety of our industry sucks hard. But that's a shitty excuse.

    I'd normally agree on that part, but as Raymond Chen nicely explains, the chance of a (correctly randomized) GUID collision is so small it might as well be a hardware failure. Or a failure "somewhere else", which is just what happened here.

    That post assumes all 122 bits of GUID are more or less random. Which is not the case very early into boot process, so early that /dev/urandom hasn't properly initialized yet. Also, GUIDs have 122 bits of entropy because they have to be GLOBALLY unique, ie. not repeat for anyone in the world - whatever they're doing that early in the boot process, I'm sure as hell it doesn't reach any other machine. So they're using a wrong tool for the job anyway. It's their hammer that makes every identity problem look like a nail.

    @cvi said in WTF Bites:

    @Gąska said in WTF Bites:

    You can generate GUIDs without randomness. Moreover - generating them without randomness actually guarantees that they'll always be unique.

    Doesn't that involve both the time and a MAC address?

    At least one of those is readily available for them (they're init process, they can do whatever they want with the CPU), and the other can be assumed 0 for their purposes.


  • BINNED

    @Gąska said in WTF Bites:

    So they're using a wrong tool for the job anyway.

    No disagreement on that.



  • @topspin said in WTF Bites:

    If you've ever asked yourself why anything related to hardware (and suspending, in this case) only works some of the time

    Every day for the last 30+ years.


  • Banned

    @HardwareGeek well, it's your fault. 🐠



  • But when things doesn't work, he can at least pretend the bug is in software and blame his colleagues.

    Whereas I'm stupid enough to do both hardware and firmware development, which means I can't pass the bucket when things go pear-shaped.


  • Banned

    @Zerosquare there's always cosmic rays...



  • True, but my clients would reply "find a way to get rid of them".


  • Banned

    @Zerosquare tell them it's 5G. They'll understand.


  • Discourse touched me in a no-no place

    @Gąska said in WTF Bites:

    You can generate GUIDs without randomness. Moreover - generating them without randomness actually guarantees that they'll always be unique.

    I can assure you that MAC addresses (a key input to Version 1 UUID) are not always unique. Occasionally, this is even deliberate, amazingly enough…


  • BINNED

    From Moons of Saturn:
    f0fa45e2-171e-4bac-84fe-909ec9375cd1-image.png

    Note it is (ostensibly) sorted by mass, descending. It might as well lead with the relative Moon mass if they can't handle scientific notation.

    Oh well, sorting by diameter gives me what I want, for now.


  • Discourse touched me in a no-no place

    @cvi said in WTF Bites:

    getting a MAC address of some network interface might not be feasible either

    The interface knows its MAC address even when it is down; it doesn't require talking to the network to discover (and is actually the local address used to talk on the network). It's only really required to be locally unique (the globally unique boat sailed a long long time ago due to cheapass hardware manufacturers) and even the locally-unique constraint isn't actually so if you know exactly what you're doing with networking clusters (but I know I don't know what I am doing in this area so I can't give more details) so it has the feature of being not that great a source of randomness other than being immediately available.


  • Banned

    @dkf said in WTF Bites:

    @Gąska said in WTF Bites:

    You can generate GUIDs without randomness. Moreover - generating them without randomness actually guarantees that they'll always be unique.

    I can assure you that MAC addresses (a key input to Version 1 UUID) are not always unique. Occasionally, this is even deliberate, amazingly enough…

    Okay, a pedantic correction: version 1 GUIDs are guaranteed to be unique as long as everyone sticks to every relevant spec.



  • @Gąska said in WTF Bites:

    as long as everyone sticks to every relevant spec.

    Or, in other words, never ever 🚎



  • You know what I hate about Visual Studio? It has all these options that use generic terms, when they're not generic tools at all. Like "Add Service Reference". What the fuck would you expect this to do? A "service" is an entirely meaningless term to a program. Apparently it connects to a Windows Communication Foundation service. So why not say "add WCF service connection"?



  • @dkf said in WTF Bites:

    The interface knows its MAC address even when it is down; it doesn't require talking to the network to discover (and is actually the local address used to talk on the network)

    That still requires the interface to be physically present, discovered and initialized with a driver and whatnot. From what I gather, the last one may require some sort of firmware, for which file systems may need to be mounted etc etc.

    I don't know how much of this will be done at the stage where the resume is happening, but (again) considering they are worried about system-randomness not being there...


  • ♿ (Parody)

    @topspin said in WTF Bites:

    @Gąska said in WTF Bites:

    @cvi said in WTF Bites:

    As for breaking on duplicate GUIDs ... if nothing else, they are probably in good company with a lot of software out there.

    Yes, I realize almost entirety of our industry sucks hard. But that's a shitty excuse.

    I'd normally agree on that part, but as Raymond Chen nicely explains, the chance of a (correctly randomized) GUID collision is so small it might as well be a hardware failure. Or a failure "somewhere else", which is just what happened here.

    Yes and it's exactly that parenthetical assumption that got 'em.



  • This organization is insane.

    They have a guy working on this project from a different department, and they can't give him permission to the project wiki, because it is department wiki and giving permission to somebody from another department is apparently a big issue—or they would have to make it a company-wide wiki, but then they'd have to pay for it extra to the IT support.

    I do have access as external subcontractor though. Unlike other resources where I should have and don't. It is utter mess…



  • … Firefox is also insane. I am accessing the intranet of the customer via a http proxy. So I try to access this resource and get

    4a7979bc-7894-4755-8a8b-7b049cc6f36a-image.png

    So I check with curl and it turns out that

    curl: (56) Received HTTP code 403 from proxy after CONNECT

    Right, refusing connections and returning perfectly cromulent error code with specific meaning is the same thing…



  • @kazitor said in WTF Bites:

    From Moons of Saturn:
    f0fa45e2-171e-4bac-84fe-909ec9375cd1-image.png

    Note it is (ostensibly) sorted by mass, descending. It might as well lead with the relative Moon mass if they can't handle scientific notation.

    Oh well, sorting by diameter gives me what I want, for now.

    There's a convincing argument that the Moon and the Earth should be considered a binary planet system, rather than a planet with a moon. The only problem with this is that the archetypal moon is "The Moon".


  • Considered Harmful

    I'm trying to start using unique passwords everywhere after multiple accounts were compromised.

    I tried to log in and change my password for Oculus. I can't find any such option...

    Apparently, the only way to change your Oculus password is to log out (you can't get there logged in), and say you forgot your password (even if you know it), so you can go through the password reset process.



  • So, RAGE 2. A little WTF: If you make some kind of racing mandatory please also make the steering and physics model workable. If nothing else the racing part really gave me an idea where the name of the game came from... good thing you have to do that just once and then you can forget about that part.

    However, this is really an 18+ game. Not just for the ultra-violence (as usual, completely over the top) but also for other aspects.

    For instance, you have to go to this arena to do battle unto mutants. From the get-go you get a BDSM vibe about the place. Then you go down an elevator and meet some fellow gladiators. One of whom is crawling on the ground in a circle. With his butt naked. And a pony-tail butt plug. Oooookay?

    And then there's this mad scientist. Who first relied on technology to move around. But, quote: "Technology breaks down, biologics heal." And thus he now relies on this:

    880bdde6-e2f6-4996-a94b-7c6496c5ad29-image.png

    And then you see that abomination from behind... (it leaks, by the way):

    21a99f98-9259-47b2-9778-ae042dccc618-image.png

    Yes, that's a diaper. And they've clearly taken the time to apply fluid dynamics to that one...



  • @Rhywden said in WTF Bites:

    And they've clearly taken the time to apply fluid dynamics to that one...

    Nope thread is :arrows:.


  • :belt_onion:

    Error message from an Oracle product:

    error code 1 - In gslfblsafsSetAuthFromSSL, the certificate DN %s does not exist.

    That's a HELL of a function name.


  • Notification Spam Recipient

    @heterodox said in WTF Bites:

    That's a HELL of a function name.

    It does seem to be pretty unique.

    Screenshot_Chrome_Beta_20190514-213252.png

    Can you imagine the unwrapped version?



  • @heterodox said in WTF Bites:

    That's a HELL of a function name.

    Obviously, Oracle developers bang their head against their keyboards. Not that I'm surprised.


  • Discourse touched me in a no-no place

    @cvi said in WTF Bites:

    That still requires the interface to be physically present, discovered and initialized with a driver and whatnot. From what I gather, the last one may require some sort of firmware, for which file systems may need to be mounted etc etc.

    Firmware images are one of the legitimate things to sit on the boot and/or root partition, along with the kernel and the core of the init system (systemd in this case). Without those, there's no certainty that other filesystems (such as the networked one holding user directories) will ever become available to mount.


  • BINNED

    @jinpa said in WTF Bites:

    @kazitor said in WTF Bites:

    From Moons of Saturn:
    f0fa45e2-171e-4bac-84fe-909ec9375cd1-image.png

    Note it is (ostensibly) sorted by mass, descending. It might as well lead with the relative Moon mass if they can't handle scientific notation.

    Oh well, sorting by diameter gives me what I want, for now.

    There's a convincing argument that the Moon and the Earth should be considered a binary planet system, rather than a planet with a moon. The only problem with this is that the archetypal moon is "The Moon".

    The barycentre is still under the Earth's surface, isn't it? And however close it does get would primarily be because the Moon is just so far away. That's good enough for me.



  • @kazitor said in WTF Bites:

    The barycentre is still under the Earth's surface, isn't it? And however close it does get would primarily be because the Moon is just so far away. That's good enough for me.

    Okay. I have read that the centre of gravity of the two is not under the Earth's surface. I don't have time to look up whether that's different from the barycentre.


  • BINNED

    @jinpa The barycentre is the centre of mass, and according to Wikipedia the Earth-Moon barycentre is 0.732 Earth radii from the centre of Earth. And that's despite the Moon being a considerable distance away.

    I make a big deal of distance because the barycentre of a Sun-Jupiter system actually lies beyond the surface of the Sun. I wouldn't say the Sun and Jupiter form a binary system.



  • @kazitor said in WTF Bites:

    I wouldn't say the Sun and Jupiter form a binary system.

    Others would. It's an exception due to a lack of definition what a "binary system" is exactly - is it a binary the moment the barycenter is outside one of the participating masses, or do both need to be of the same type? Strictly speaking, Pluto and Charon would be a Dwarf binary.



  • It's proxies all the way down!

    • I have a VPN to a http proxy to inside this company.
    • I have a http proxy that forwards appropriate domains to that proxy (because not all tools support PAC script and/or login to proxy).
    • I have an ssh tunnelled through this proxy to a server inside the company.
    • On the server runs another proxy that forwards to that company's main proxy (it needs to provide credentials).
    • The ssh forwards a port to the local proxy on that server.
    • I have maven pointed to the port forwarded by that ssh.

    It's the only way that lets it download all internal and external dependencies of this project, because the proxy from first point does not let me to some of them for reasons of excessively paranoid security and because the support ticket is pending for two days already. Because

    @Bulb said in WTF Bites:

    This organization is insane.

    It got me one error further so far



  • @Bulb That reminds me, I have to talk to our IT guys. They reserved a /24 for me so that I could setup some various devices with static IP addresses. Only problem: While all those devices get access to the internet, they can't talk to each other or any other device outside the /24. They can ping others and can be pinged however. Everything else (HTTP, SSH, ...) does not work.



  • @Rhywden said in WTF Bites:

    Dwarf binary

    I'm sure there must be some :giggity: interpretation that I don't want to know about. Or worse, a DF interpretation.



  • @Rhywden: it's 2019. Don't you know devices are not supposed to communicate with each other without involving cloud-based servers?


  • Grade A Premium Asshole

    Earlier I fired up my wifi planning software, changed the measurement units from meters to feet, set my scale to the floor plan and laid out all the walls for a 22,000 square foot office building. I get done, start placing APs and nothing is looking right. None of the metal walls or block walls are shading the RF the way I would expect. In fact, they are not really shading them at all. Like the walls are not even there.

    Then I realize my mistake. When I changed units I did not reset the wall height. I laid out 22,000 sq ft of walls at 2.5 feet high and set the APs at 9 foot.

    So now I get to delete every fucking wall and do it again.

    giphy (1).gif


  • Discourse touched me in a no-no place

    @Zerosquare said in WTF Bites:

    Don't you know devices are not supposed to communicate with each other without involving cloud-based servers?

    How else are you going to let the Chinese steal all your secrets?



  • @Polygeekery said in WTF Bites:

    So now I get to delete every fucking wall and do it again.

    It could be worse. At least you didn't crash a spacecraft into Mars.


  • Grade A Premium Asshole

    @HardwareGeek I thought of exactly that when I realized the mistake.



  • @Polygeekery said in WTF Bites:

    So now I get to delete every fucking wall and do it again.

    Option B: Cut down the walls in the office bulding to .726m height.

    Filed under: I too crash spacecraft into Mars


  • Grade A Premium Asshole

    @cvi said in WTF Bites:

    Option B: Cut down the walls in the office bulding to .72m height.

    This is all for a veterinary clinic. When I told them the mistake I had made the business partner said:

    👨 "Well, the dogs would probably like that, but it might be hard on the technicians."



  • @Polygeekery: just call your accidental invention the OpenCubicle™, write some bullshit about how it "improves communication and efficiency", and market the hell out of it to managers. You're gonna be rich.


  • Grade A Premium Asshole

    @Zerosquare said in WTF Bites:

    You're gonna be rich.



  • @Polygeekery said in WTF Bites:

    I laid out 22,000 sq ft of walls at 2.5 feet high

    @Rhywden said in WTF Bites:

    Dwarf binary.

    I see compatibility here.


  • I survived the hour long Uno hand

    @Polygeekery
    TRWTF is planning software that doesn’t let you edit walls :wtf_owl:

    Must be a Cisco product.


  • Grade A Premium Asshole

    @izzion said in WTF Bites:

    TRWTF is planning software that doesn’t let you edit walls

    It will, but it is just easier to do it over. Plus it is easy to miss some. Doing it over ensures I get them all.


  • BINNED

    @Polygeekery said in WTF Bites:

    changed the measurement units from meters to feet

    Well you certainly picked the right thread for this. 🏆


Log in to reply