WTF Bites



  • @loopback0 said in WTF Bites:

    Why not check for slow HDDs too? Or if the logged on user is @Tsaukpaetra?

    ...but you're repeating yourself.

    @loopback0 said in WTF Bites:

    The assumption that remote is likely slower than local is simple and straight forward rather than wasting even more time figuring out the speed of a drive to determine the subsequent behaviour.

    Plus remote drives are, well, remote and speed isn't the only potential problem.

    I think it's probably something like that. PowerPoint was already a thing when "network" usually meant "10 Mbps coax-based Ethernet", and :belt_onion: remember how slow and unreliable those were. It's also possible that PowerPoint's code had issues with the file-locking mechanism. I wouldn't be surprised if this is just a legacy feature that's never been revised.


  • Notification Spam Recipient

    @Tsaukpaetra said in WTF Bites:

    @TimeBandit said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    @Watson Someone should really port that to Windows someday...

    Oooohhhh! I may have to thank you later!

    @TimeBandit I am required now to frown at you.

    ebdc978f-4315-4805-b3f5-35ab90c860f3-image.png

    It seems to scan the tree well enough, but there is no way I can see to make the 3d environment appear. :mlp_shrug:

    It doesn't crash or anything. Just... doesn't work.

    And this thing is supposed to be intuitive!



  • Have you tried running it on a machine that's not dysfunctional?

    (preempting: Tsaukpaetra: I don't own any of those.)


  • Notification Spam Recipient

    @Zerosquare said in WTF Bites:

    Have you tried running it on a machine that's not dysfunctional?

    (preempting: Tsaukpaetra: I don't own any of those.)

    I mean, I can try and run it on the dozens of computers that don't support Windows 8 and higher....


  • 🚽 Regular

    @Gąska said in WTF Bites:

    @Zecc ENOREPRO, which makes it even more glorious.

    Immediately after posting my previous screenshot I noticed Snip & Sketch was also on top of the bar. I thought about posting a screenshot of it too. :yodawg:


  • Considered Harmful

    @Gąska said in WTF Bites:

    So that's what I was doing for the past 2 hours - a program that's just a tray icon that when clicked, toggles the taskbar autohide on and off.

    Where did your auto-mating == self-screwing signature go? 🍹


  • Discourse touched me in a no-no place

    @TimeBandit said in WTF Bites:

    @MrL said in WTF Bites:

    Could be handled automatically with one button press by the user

    The :trwtf: is using a GUI for Git 🤷♂

    Just because you've only ever used not very good GUIs for Git…

    (Seriously, the more I see the complaints the more I think that I do the right thing by using Eclipse's git integration. It's not for those who don't like Eclipse, but it's actually good at exposing virtually all functionality you need on anything like a regular basis except for lacking some “do this for all repositories” automation.)


  • Discourse touched me in a no-no place

    @cvi said in WTF Bites:

    If your network drives are that unreliable, maybe fix the infrastructure instead?

    The network itself is unreliable. This is axiomatic. Seriously, it can fuck up at any time due to problems you cannot control for.



  • @TimeBandit said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    @Watson Someone should really port that to Windows someday...

    fsvwin

    @https://github.com/thiekus/fsvwin said:

    Sometimes, program randomly crashes if you do input while program still busy or under heavy load.

    /me checks thread title: Yup, checks out.


  • Considered Harmful

    @error said in WTF Bites:

    @kazitor said in WTF Bites:

    Alas, the “sugar in everything!” thread is no more 😔

    Because I have a label that would make levicki proud:

    sugar.jpg

    Wow, 112g of carbs in every 100g?

    Apparently they kept some of the carbon and the hydrogen separate.



  • @dkf said in WTF Bites:

    @cvi said in WTF Bites:

    If your network drives are that unreliable, maybe fix the infrastructure instead?

    The network itself is unreliable. This is axiomatic. Seriously, it can fuck up at any time due to problems you cannot control for.

    … an issue that vast majority of programmers and their software completely ignores.


  • Trolleybus Mechanic

    @remi said in WTF Bites:

    will be sent to you soon
    you will not be billed

    I would keep quiet for a while and see what happens.


  • Considered Harmful

    Achtung. Applied-Mediocrity going on about the goddamn Pathfinder Bugfinder vidya again. The asshole wouldn't even be confined to one place, it's spreading across several topics now. Well, except this time it's more to the topic of this forum. Longpost is long, though. Focus on the essentials.

    The story behind The Bug: undying Cairn Wights

    Creating computer games is a tricky business, and all good tricks include a lot of smoke, mirrors and hidden trapdoors. Sometimes, though, the smoke gets sucked into the trapdoor and the assistant's twin walks head-first into the mirror because she can't see anything. In the case of computer games, this usually leads to bug reports. This series of posts offers a behind the scenes look at some of the notable bugs in Pathfinder: Wrath of the Righteous.

    Pathfinder tabletop system is incredibly complex. It includes a huge number of interacting rules and content based on said rules, which sometimes overrides them and creates special cases. Because of that, even a simple question like "how much damage can that character do" requires complex calculations. Of course, we make these calculations whenever the character attacks someone, but that's not the only time when we need minimum and maximum damage values.

    Every time you Inspect an enemy, you can see its damage range. To display it, we need to make the same calculations as in case of a real attack. Duplicating all code required to do this without making an attack would be a huge, bug-prone overkill, but there is a simple, smoke-and-mirrors way to do this, which we use. We create a dummy invisible character and use the usual combat code to make a fake attack against it.

    Of course, this fake attack should never appear in Combat Log or do anything else visible to the player, and that's why the code that is responsible for calculating the damage includes a special toggle that makes it calculate everything, but do nothing: it doesn't spend any limited resources, doesn't actually deal any damage or trigger any side-effects. But. To make an attack, we must first calculate Attack Roll, to tell if we hit or miss the target. The roll is faked, too - we always need to hit the dummy to extract the damage. Unfortunately, the code that calculated the Attack Roll was written less carefully with the respect to “fakeness”. It actually emitted signals about a successful attack to anyone listening in. And Cairn Wight has a nice little ability called Energy Drain that makes it gain temporary hit points every time it lands an attack (even without doing any damage), and the target fails a save.

    As you can guess, the dummy never made its saving rolls. And so, every time you moused over a Cairn Wight it gained additional temporary hit points, making it virtually impossible to kill. The bug actually manifested itself both in RTwP and turn-based mode, but was much more noticeable in the later, because it was easier to keep your mouse cursor over Wight, and because you need to place the cursor over it to make an attack.

    In the end, we taught the code that makes the fake Attack Roll to avoid signaling the whole wide world about its results, and Cairn Wights started dying again. And there was much rejoicing.

    Maxim Savenkov, programmer at Owlcat Games

    (https://www.facebook.com/PathfinderCRPG/posts/1811606719026366)

    I have a gnawing feeling that duplicating the code was not the only solution... but gamedev is what it is.

    Not just gamedev, really. Show me enterprise codebase where there are no smoke and mirrors and I'll show you a product that didn't see a release. The quantity and acridity of smoke, and the craftsmanship and distortion angle of the funhouse mirrors is what differs.

    We've got a couple folks deep in gamedev field of rakes here, too (‍‍‍ @Tsaukpaetra has been summoned and should appear shortly, at least to have read the post).



  • @Tsaukpaetra said in WTF Bites:

    @TimeBandit I am required now to frown at you.

    Why, you think I tried it?
    I don't use Windows 🤷🏻♂


  • Banned

    @Applied-Mediocrity said in WTF Bites:

    The asshole wouldn't even be confined to one place

    If I were you I'd see a doctor.


  • Considered Harmful

    @Gąska said in WTF Bites:

    @Applied-Mediocrity said in WTF Bites:

    The asshole wouldn't even be confined to one place

    If I werw you I'd see a doctor.

    https://www.youtube.com/embed/l2iIq3zaP6k?start=289&end=294


  • Banned

    @Applied-Mediocrity though I must say, "we MUST perform an attack for real to know what the attack is going to do" is next level incompetence. Especially in a system as complex as this, one would think they'd put at least some effort to manage the bazillion possible effects.

    That said, incompetence is known to be a running theme throughout that whole game.


  • Notification Spam Recipient

    @Applied-Mediocrity said in WTF Bites:

    at least to have read the post).

    I have summoned the been reading, post appear do I so.

    In Hypatia, picking up items is actually really complicated, and there are four ways for which an item may appear and attach to your hand. The code for much of this is duplicated, and depending on how you arrived at the state of "this thing is now being held" you might have triggered server-wide notifications that you did so (multiple times). As a consequence of this, certain objects that react to being picked up do not function properly if a player is out of range of it, someone picks it up, and said player approaches them. This results in confusion because the object itself believes it reacted in accordance to its notification, but due to being out of range didn't actually do so, and thence the two players will observe an object differently than expected, but only in special circumstances.


  • Banned

    Comments from non-programmers are always fun to read.

    43d767c1-2aea-4b1d-a58c-3f6ea468ba18-image.png

    6f7c712f-2dee-4b29-b330-b3f435b1b96e-image.png



  • @Applied-Mediocrity I've been playing WOTR for a bit now. The sheer amount of weird mechanics that vaguely interact with each other is pretty amazing.


  • BINNED

    @Gąska said in WTF Bites:

    That said, incompetence is known to be a running theme throughout that whole game industry.

    🔧


  • Banned

    @topspin yes, but that game in particular.


  • Considered Harmful

    @Gąska Not exclusively so. Wasteland 3 is in better state only because its rule system is less complex. Its patch notes are still pages long. Something in the water about Unity devs in general feels like some people perhaps should not be allowed anywhere near computer code.



  • @cvi said in WTF Bites:

    @Applied-Mediocrity I've been playing WOTR for a bit now. The sheer amount of weird mechanics that vaguely interact with each other is pretty amazing.

    Again, that's true to the source material. PF and D&D 3e on which it was based are nothing but balls of mud which interact via spooky action at a distance.



  • @Benjamin-Hall said in WTF Bites:

    Again, that's true to the source material. PF and D&D 3e on which it was based are nothing but balls of mud which interact via spooky action at a distance.

    Is the PF source material any good? I've been half-meaning to get it, but haven't really even gotten into looking it up. WOTR (and Kingmaker before it) do have a ton of information, but it's so spread out and chopped-up into small pieces that it's pretty difficult to get a good overarching picture.

    But, yeah, based on the things I've seen in the computer games, whoever designed the system seemed to do so with the intention of making programming a computer game based on the rules as difficult as possible.

    As @Applied-Mediocrity mentioned elsewhere, the game devs got their revenge by trolling everybody with their random number generator. I'm pretty sure it's evil on purpose.



  • @cvi IMO, no. It's all illusion of depth, built on a totally flawed foundation with traps and gotchas abounding. And the devs are elitist in the worst ways. As well as being bad at actually providing support or coherent rules. Instead they make money by pumping out floods of badly-edited content for die hard players/whales.



  • @Benjamin-Hall Too bad, I suppose.

    Had plans to get the new Shadowrun source material. I played the paper and pen version of that a long time ago (with the german translations of the source material). The setting left an impression, though.

    But apparently the new edition was also quite bad. So, I guess not.



  • @cvi said in WTF Bites:

    @Benjamin-Hall Too bad, I suppose.

    Had plans to get the new Shadowrun source material. I played the paper and pen version of that a long time ago (with the german translations of the source material). The setting left an impression, though.

    But apparently the new edition was also quite bad. So, I guess not.

    Shadowrun is another with a great setting...and horrible horrible design. It always has been a monster to play. And the editing is horrendous, so finding anything is basically impossible. IE primary rules hidden in sidebars...or except really it's half of this primary rule in a sidebar, the rest on a completely different page 3 chapters later, containing pieces that contradict the sidebar. And without any clear linkage between the two in either direction.


  • Considered Harmful

    @cvi said in WTF Bites:

    As @Applied-Mediocrity mentioned elsewhere, the game devs got their revenge by trolling everybody with their random number generator. I'm pretty sure it's evil on purpose.

    Apparently someone analyzed combatlog.txt and proved that it's fair. With sufficient rolls you do get uniform distribution even if enemies' and yours are considered separately (which proves no behind-the-scenes hijinks, but is otherwise to be expected, because the UnityEngine.Random class is static).

    I might take a look-see myself, but there's a :kneeling_warthog: of size sitting on it.

    dt011025.png
    (Original: https://dilbert.com/strip/2001-10-25)


  • Java Dev

    @Applied-Mediocrity Which reminds me I should do that tool to test dice rolling for me RPG system, just to see averages and roll distribution.


  • Notification Spam Recipient

    Status: Based on the following graph:

    738bd5e8-f0be-424b-8de4-4c176d99559a-image.png

    I can conclude that opening the refrigerator door causes the freezer compartment to rise instantly to the refrigerator temperature, specifically because I know I haven't opened the freezer today and only went in the fridge thrice...



  • @kazitor said in WTF Bites:

    Alas, the “sugar in everything!” thread is no more 😔

    Because I have a label that would make levicki proud:

    sugar.jpg

    Good to know that protein can cancel out the mass of carbohydrates,



  • @cvi said in WTF Bites:

    Same 800 MB PowerPoint file.

    There's your problem.



  • @BernieTheBernie said in WTF Bites:

    There's your problem.

    I'd agree with you if it were 10 years ago. 800MB is on the larger side for a presentation, but in the grand scheme of things, it's peanuts.

    I didn't create the presentation, but if you add a few decent-quality videos and a bunch of images, it's not difficult to hit 100s of MBs.



  • @Tsaukpaetra said in WTF Bites:

    the two players will observe an object differently than expected, but only in special circumstances.

    For Hypatia, having two players is considered a special circumstance. :tro-pop:



  • Let's add a minor :wtf:
    IMG_20211001_154841.jpg
    That's a thermometer with 2 external sensors. As you can see, "SENSOR2" is shown on top, before "SENSOR1". That was not the case when I got the device...
    On the bottom, you see a row of buttons. Among them is a button labeled "DOWN". What does it do?
    Well, currently, nothing any more.
    Originally, when "SENSOR1" was still above "SENSOR2", it changed that to the current configuration.
    But pressing it again, does not cause any changes.
    Also removing the batteries and having the device restart, won't reset that.
    It is a one-time-use button.
    :wtf_owl:


  • BINNED

    @BernieTheBernie said in WTF Bites:

    It is a one-time-use button.
    :wtf_owl:

    If you want to use it again you need to buy more buttons. 🐠


  • Discourse touched me in a no-no place

    @BernieTheBernie said in WTF Bites:

    Among them is a button labeled "DOWN". What does it do?
    Well, currently, nothing any more.
    Originally, when "SENSOR1" was still above "SENSOR2", it changed that to the current configuration.
    But pressing it again, does not cause any changes.
    Also removing the batteries and having the device restart, won't reset that.
    It is a one-time-use button.

    What does "UP" do?



  • @loopback0 said in WTF Bites:

    @BernieTheBernie said in WTF Bites:

    Among them is a button labeled "DOWN". What does it do?
    Well, currently, nothing any more.
    Originally, when "SENSOR1" was still above "SENSOR2", it changed that to the current configuration.
    But pressing it again, does not cause any changes.
    Also removing the batteries and having the device restart, won't reset that.
    It is a one-time-use button.

    What does "UP" do?

    It changes from Fahrenheit to Celsius and the other way round. Works repeatedly.


  • Java Dev

    @BernieTheBernie I thought this was going to be about the current indoor temperature being lower than the minimum.



  • @PleegWat No, that's clearly a rounding feature: 19.7 gets rounded to 20. No problem detected from my side.



  • @BernieTheBernie Does long-press do something different? Does pressing "sensor2", then "down" do anything useful?



  • @Applied-Mediocrity said in WTF Bites:

    @cvi said in WTF Bites:

    As @Applied-Mediocrity mentioned elsewhere, the game devs got their revenge by trolling everybody with their random number generator. I'm pretty sure it's evil on purpose.

    Apparently someone analyzed combatlog.txt and proved that it's fair. With sufficient rolls you do get uniform distribution even if enemies' and yours are considered separately (which proves no behind-the-scenes hijinks, but is otherwise to be expected, because the UnityEngine.Random class is static).

    I might take a look-see myself, but there's a :kneeling_warthog: of size sitting on it.

    dt011025.png
    (Original: https://dilbert.com/strip/2001-10-25)

    Reminds me of a time where I found the Everquest2 random number generator to have a rather serious bug, created by an amateur.

    Basically, what they did was:

    int i = Math.Round( Math.Random() * n );
    

    if they wanted to get a random number between 0 and n.

    However, due to the nature of Math.Round() this meant that the chance for 0 and n was half the chance of the other outcomes. So if they used this function for, say, the random distribution of loot for party members, the first and last member would be at a serious disadvantage...


  • Notification Spam Recipient

    @BernieTheBernie said in WTF Bites:

    Among them is a button labeled "DOWN".

    I know someone has most certainly pointed it out, but... what does UP do?

    Edit: I raise your DOWN button and give you an UP button!

    10847589-d717-40cc-a304-ab664449928f-image.png

    Edit edit: I believe I have found the mentioned unit:

    https://www.amazon.com/Upgraded-Refrigerator-Thermometer-Wireless-Temperature/dp/B0813744FY

    I'm going to call BS that the "down" button changed the order of the labels.

    Previously I was highly skeptical because the apparent LCD layout does not indicate such a malleability, but now having seen the actual mask from someone else's picture, I'm convinced someone is gaslighting themselves...


  • Banned

    In the Linux command-line shell, pressing Ctrl+D logs out of the interface. If you used the sudo command to execute commands as another user, pressing Ctrl+D exits out of that other user and puts you back as the user you originally logged into.

    I wish people who have no idea about technology would stop explaining technology to others.


  • Grade A Premium Asshole

    0a7a6d42-770c-47e5-8c69-f1ae4ca91690-image.png

    If you didn't detect it then how do you know that it is there? :wtf_owl:

    It also neglected to detect one other one. But the fact that it can display a display that it did not detect but had to detect it in order to display it is pretty weird. I have no doubt that this is a "UI for idiot computer users (but I repeat myself)" sort of thing but it still amused me.


  • Notification Spam Recipient

    @Polygeekery said in WTF Bites:

    If you didn't detect it then how do you know that it is there?

    It doesn't, it assumes the user expected something to happen and so displays something that would have happened but didn't with some special words or something, but if it did happen this is where it would have happened to happen by happenstance.



  • @Polygeekery said in WTF Bites:

    0a7a6d42-770c-47e5-8c69-f1ae4ca91690-image.png

    If you didn't detect it then how do you know that it is there? :wtf_owl:

    It knows there's a graphics card with no apparent display attached.


  • Grade A Premium Asshole

    @TwelveBaud said in WTF Bites:

    It knows there's a graphics card with no apparent display attached.

    Nope. There are five monitors attached to that graphics card. I briefly unplugged one to do something, as a result I lost two monitors until I reboot the machine. Only one is being detected as undetectable.


  • 🚽 Regular

    @Polygeekery Maybe it detected there's something plugged in, but the monitor failed to identify itself?


Log in to reply