[-] Sonotsugipaa@lemmy.dbzer0.com 80 points 7 hours ago

I have reasons to believe the depicted woman does want a body cavity search...

[-] Sonotsugipaa@lemmy.dbzer0.com 2 points 7 hours ago

Meh, its base-2 exponent is not a power of 2. I'm more of a 65536 kinda guy.

[-] Sonotsugipaa@lemmy.dbzer0.com 10 points 15 hours ago

The distant cousin on "16384 is a nice round number"

[-] Sonotsugipaa@lemmy.dbzer0.com 7 points 1 day ago* (last edited 1 day ago)

Here it is:

#!/usr/bin/zsh

nl=$'\n'
dnl=$'\n\n'

url=$1
msgcontent=$url; shift
argi=1
for arg ($@); do
    argi=$(($argi + 1))
    msgcontent=${msgcontent}${nl}Argument\ ${argi}': '${arg}
done

title="${0:A}"
msg="An application attempted to open a web page:${dnl}\"${msgcontent}\"${dnl}Copy the URL to clipboard?"

kdialog --title $title --yesno $msg
answer=$?

if [[ $answer = 0 ]]; then wl-copy $url; fi

If you want to translate it to Bash, keep in mind that arrays behave differently between the two shells, and syntax like for arg ($@); do would likely misbehave or not work at all.

Also, there's an issue where some applications do something weird, and the URL seems to be a zero-length argument. I have absolutely no idea what's up with that.

You can set some browser-unrelated program or script as your desktop environment's default browser, for example I wrote a Zsh script that creates a KDE dialog and asks me to copy the URL to the clipboard.

I'm not currently at my PC, but if you want it I can paste it in a comment here when I get to it - it shouldn't be too hard to translate it to Bash, either.

Other than that? /usr/bin/true is a pretty nice default browser for applications to start without your consent, very minimal and lightweight.

[-] Sonotsugipaa@lemmy.dbzer0.com 2 points 2 days ago

Also gamers when any scene at any point has less than 500000 polygons and UINT32_MAX particles, each with its own material

[-] Sonotsugipaa@lemmy.dbzer0.com 2 points 2 days ago

Oh, std::enable_if is straight up worse, they're unreadable and don't work when two function overloads (idk about variables) have the same signature.

I'm not even sure enable_if can do something that constraints can't at all...

[-] Sonotsugipaa@lemmy.dbzer0.com 2 points 2 days ago* (last edited 2 days ago)

I imagine reflections would make the process more straightforward, requires expressions are powerful but either somewhat verbose or possibly incomplete.

For instance, in your example foo could have any of the following declarations in a class:

  • void foo();
  • int foo() const;
  • template <typename T> foo(T = { }) &&;
  • decltype([]() { }) foo;
[-] Sonotsugipaa@lemmy.dbzer0.com 3 points 6 days ago* (last edited 6 days ago)

A bit worse, the missile precision is better and there are 3 missiles per salvo; additionally, they move and they can shoot in a straight line AND, unlike with the two other tanks, you're still perfectly unsafe if you get close and prone.

Couple all that with the fact that mortar shells really have to hit you dead-on to one-shot you, while the tank's missile have ~ double the AoE and knockback. Supposedly they nerfed them a bit, but I can't tell the difference from three weeks ago.

[-] Sonotsugipaa@lemmy.dbzer0.com 1 points 6 days ago

That still limits your choices.

[-] Sonotsugipaa@lemmy.dbzer0.com 14 points 6 days ago

More of a threat? They're invulnerable to bullets, I'd expect some weakpoint before buffing them...

68
296
We are legion (lemmy.dbzer0.com)
16

literally unplayable

42

Things that happen in game differently from my headcanon:

  • During a dive, destroyers just hang around over player heads
    • Even worse, there's an actual game mechanic that causes orbital stratagems to have an AoA at 90° at the center of the map but lower it at the edges, like the ships were actually hovering over the center (realistically, all orbital stratagems calls would have roughly the same AoA)
      • I say "even worse", because I have to actively ignore a decision the devs made for the sake of realism rather than just tell myself "eh, they didn't think about this too much"
  • Orbital stratagem timings make no sense, and are strictly a gameplay balance issue that cannot be realistic: the loading screen shows the first helldiver drops well outside the atmosphere and take several minutes to reach the ground, but turrets take 3 seconds to deploy? This game sucks, literally unplayable
  • Surely Eagles must be capable of atmosphereless flight, if the cheap ahh shuttle is?
  • At the beginning of the loading screen, the destroyer doesn't have an atmospheric re-entry fire effect which would be countered by shields or whatever

Things that oddly do make sense:

  • Hellpods do have the atmospheric re-entry fire effect immediately after launching, which wouldn't make sense in the absence of (less than extremely thin) atmosphere
  • ... that's it, actually

The reason I made this nerd emoji of a post:
I've played KSP and my suspension of disbelief towards games or shows with spaceships is completely broken.

283
Don't run out of memory (lemmy.dbzer0.com)
171
submitted 7 months ago* (last edited 7 months ago) by Sonotsugipaa@lemmy.dbzer0.com to c/lemmyshitpost@lemmy.world
443
submitted 9 months ago* (last edited 9 months ago) by Sonotsugipaa@lemmy.dbzer0.com to c/linux_gaming@lemmy.world

(The "Windows" slices of the pies are entirely made up by Baldur's Gate 3, which also runs well over Linux)

14

Notice the actual desktop background, ignore my attempt to kill -9 DIscord after the first of 6 crashes

492
132
Right-hand rule (lemmy.dbzer0.com)
337
Georulecation (i.imgflip.com)
submitted 11 months ago* (last edited 11 months ago) by Sonotsugipaa@lemmy.dbzer0.com to c/196@lemmy.blahaj.zone
280
view more: next ›

Sonotsugipaa

joined 1 year ago