• 0 Posts
  • 182 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle

  • Do you use an add-on to prevent that from wiping out all but one window’s worth of tabs when you close them? That’s what originally made me get a tab grouping addon, after losing a ton of tabs when I broke some out into their own window and then later closed the main tab window before the secondary one. Realized immediately what happened but it was already too late to save that entire generation of precious tabs. Who knows what articles I didn’t feel like reading at the time but was totally going to read later I lost forever.



  • Actually, there is one thing that is an annoyance that I haven’t been able to resolve. I use dvorak as my main layout.

    Sometimes games get the keyboard right and keys are remapped to qwerty layout (and typing still uses dvorak). This case works better than on windows, since playing a game there either required the game itself to recognize keyboard layouts (best case), or remapping the controls (annoying case), or switching to qwerty (frustrating for typing because I’m stronger with dvorak now).

    But sometimes instead it does the opposite and remaps the qwerty bindings to dvorak. As in, even if I swap layouts, wasd are all over the keyboard instead of all together. I need to exit the game, swap layouts to qwerty on the desktop, then relaunch for controls to work properly (and then I can sometimes swap back to dvorak in game and they continue to work). Often, the next time I launch the game, I’ll forget to switch it but it will just work this time.

    And sometimes it behaves like windows did where I can swap the layout in game and keys change as you’d expect.

    I have no idea why it’s inconsistent between these three options or where the “preserve key location despite the layout” feature is even coming from. Anyone have any idea about this?


  • I upgraded my gpu this weekend. Shut down, switched the psu off, swapped the old one out and new one in, booted into bios no issue (to check if I has left pcie on auto or needed to update it), then booted into the desktop (fedora cinnamon). Bam, after login only saw wallpaper, no mouse cursor or other UI.

    Well, at least it’s kinda working. Time to figure out what’s going on. Terminal works. There’s some errors in the log but nothing to do with amdgpu or firmware failed to upload or anything. Software render just shows up as black screen. Reset my cinnamon session and boot back to the same thing. Fuck.

    Then I try moving my mouse way over to the right and it shows up! Oh right. I have my TV plugged in for streaming to it sometimes and it ended up defaulted to the primary display, so my main desktop was only showing up there (and it was off). Right click, display properties, swap my monitor to primary, disable the TV until I turn it on.

    This is about the magnitude of the average problem I need to deal with on Linux. Something isn’t working like I want it to, half the time it’s actually working but I misunderstood something or the default doesn’t match my intent and I need to adjust settings and then it’s perfect or close enough.

    Or the other problem I had yesterday, tried monster hunter world for the first time and it wouldn’t launch. Played satisfactory for a bit instead (new gpu is noticeably smoother yay), then did a quick search, found that a specific version of proton works, switched to that version and it played. That’s the first game that has had such trouble for me.



  • And the major action item is to do some internet videos with whatever video games are popular with those millennial kids these days playing in the background. Shot in Nancy Pelosi’s beautiful home–oh nm, she doesn’t want any dirty YouTube filmographers in her home but W is willing to let them use his ranch and his copy of EA Football Game 202425. See if we can get Joe Rogan to make a guest appearance, and we’re sure to recapture the millennial under 30 crowd!

    Oh good, the corporate sponsorship money arrived, let’s split that up and go home. Don’t forget to set aside the King’s fifth!


  • It sounds like you might have some network places set up for windows to use but that are no longer reachable (or something along those lines) because that shouldn’t be taking so long so you might have things timing out in the background.

    Or your internet is slow and it’s taking a long time to communicate with one drive or send its screenshots of your document to their creep department.

    Or maybe a print driver that no longer exists still has an orphaned entry in the registry and it spends some time trying to locate it.

    Or malware has set up hooks for any new window that pops up but the print to pdf dialog is set up in such a way that it churns very inefficiently on that window specifically.

    I joke but any one of those might actually be what’s going on.




  • Neither do the two gravity wells the stick spans. And the earth and moon are moving relative to each other, someone would probably get their head knocked off by that stick. Before it eventually falls to the earth with quite a bit of force because earth’s gravity well will win. Then it’ll eventually settle into a giant teeter totter, assuming it is rigid enough to survive the impact.



  • He punched a guy in 2015 over available food options, which got him fired from BBC. His popularity didn’t take that much of a hit from this incident despite him clearly being in the wrong (Hammond and May both left BBC with him and they started a new show The Grand Tour, which wasn’t as popular as Top Gear, but was still popular.

    Then, in 2022, he wrote an opinion piece for the Sun about how much he hates Megan Merkle and included a bit where he said she should be paraded naked through the town. Amazon decided to not start any new projects with him after this, though they continued with the plans to wind down The Grand Tour which had already been established.

    He’s got a farming show now, so he wasn’t cancelled over this, despite burning some bridges.


  • There was an observatory that was picking up these mysterious spikes in radiation that they couldn’t explain. They thought it might be something new but couldn’t see any events on other spectrums that would go along with this random event.

    Eventually they figured out that the spikes were caused by people opening the microwave in the break room while it was still going.

    So I don’t do that anymore after hearing that story.


  • That’s the worst when your cycle time is very long. You fix a bug in the code, start your test running again and come back to check the next day only to see the exact same bug again and might think that your fix didn’t work and something more esoteric is going on (“maybe it’s a compiler or hardware bug!” (It almost never is)).

    Then you add a bunch of debug prints to really get a good idea of what’s going on and rerun the test. Either you remembered to save and suddenly the mystery bug is gone because the fix is still in the code. Or maybe you forgot to save again and now it looks like it’s not even reaching any of the code you added the prints to.


  • Thing is, if it just guesses what you meant instead of sticking to the standard, you can end up with ambiguous meanings. Like what if you forgot a character that wasn’t a semicolon but inserting a semicolon would turn it into valid code?

    Like:

    x = y z++;

    Inserting a semicolon would turn that into set x to the value of y and then increment z. But maybe the line is missing a plus instead of a semicolon and the intent was to set x to y plus z and then increment z.

    It’s a pain but strict syntax helps avoid frustrating to debug bugs.

    Taking it a step even further, you can make your code more robust by treating warnings similarly to errors. Even though the general cases usually still work despite warnings, they are great for avoiding edge cases that can also be difficult to debug. At least if you take the time to understand what the warning is really about and don’t just google “how to get rid of warning x” and add some casts or something you don’t understand to make the message go away.




  • Buddahriffic@lemmy.worldtoProgrammer Humor@lemmy.mlLearn to code
    link
    fedilink
    arrow-up
    28
    arrow-down
    2
    ·
    5 months ago

    Yeah, that’s something a shitty developer who is bad at debug would say.

    Bugs frustrate me more because I can often guess at why they are happening and how to fix them but can’t just apply the fix myself. Even more frustrating when there’s an update and I’ll think, “oooh maybe they finally fixed that annoying bug!” and then see it again shortly after installing the update.


  • Was doing some woodworking with the big power tools my dad had set up in the basement. First time using the table saw, I start my cut and realize the blade wasn’t high enough and wasn’t cutting through the whole piece of wood. I knew that I couldn’t let go of the wood while the machine was running, or it would become a projectile.

    So I turned it off and immediately let it go, turning it into a projectile because the blade was still spinning. Luckily it only caught the back of my finger, though it left a scar.