@code_disaster@mastodon.gamedev.place
@code_disaster@mastodon.gamedev.place avatar

code_disaster

@code_disaster@mastodon.gamedev.place

Coding cowboy @ Robotality. Demoscene lurker & cross-platform hacker at night.

May toot about non-technical stuff in German now and then.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

What's the matter with Debian 11, with all patches applied, is still on GLIBC version 2.31, which was released in Feb 2020?

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Somehow I managed to establish "Windows Photo Viewer" as the default viewer to open images on my Windows 11 PC.

And this application is so full of crap & bugs it's hilarious.

My favorite feature: if I click on the "?" help icon, it opens Bing (not my default search engine) in Edge (not my default browser) about "verwendung von remotedesktop zum herstellen einer verbindung mit einem windows 10-pc" ("how to use remote desktop to connect to a Windows 10 PC").

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Well... apparently we can't have nice things anymore. What do I do now with all that free time?

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Online Banking 2024.

  1. Einloggen
  • Website öffnen
  • Mobile App öffnen, PIN eingeben
  • Login/Auth Option, 2x QR code scannen
  • Smartphone zur Seite legen
  1. for each (Terminüberweisung)
  • Daten am PC eingeben, prüfen, abschicken
  • Smartphone nehmen
  • App verlassen, weil es KEINE VERFICKTE OPTION zu geben scheint, die die Bestätigung aufruft
  • App öffnen, PIN eingeben
  • Popup, dass ein Auftrag wartet (ach was?)
  • die selbe PIN nochmal eingeben
  • Popup schließen
  • Smartphone zur Seite legen
code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

I'm trying to call a C++ function which takes an argument of type std::istream, and I've not felt so much pain and despair in a very long time...

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

"Created yesterday
Updated yesterday"

I know I repeat myself - last time it was about Gitlab - but JIRA, this is fucking useless.

(and from a developer point of view, I don't even want to know how many hours were spent implementing this, instead of just showing a god damn date and timestamp)

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Super-nerdy domain question: has anyone ever tried to cram a handmade root signature into a shader built by DirectXShaderCompiler?

I can compile the shader, and I can create/serialize the signature. I can also stuff it into IDxcContainerBuilder. All return codes come back clean. But my test app then claims there is no signature.

Those Dxc interfaces are mighty weird.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

I now know two reliable ways already to hard-crash my Pop!OS desktop by just compiling some piece of software.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

I'm in OpenSSL version/dependency hell.

It's kinda hot down here.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

At some point last night my Linux PC decided to start/reboot(?) from suspend and happily kept running to greet me in the morning.

Just like any grown-up desktop OS. 😜

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

"The program has exited with code 0xc0000135 'A dependent dll was not found'."

How about telling me the freaking name? (╯°□°)╯︵ ┻━┻

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Just had to solve a captcha which gave me like ten blurred pixels to decide if they are showing a motorcycle, or just some JPEG noise.

The machines are rising!

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

For some recent work, I wrote a bunch of code which needs to deal with a whole lot of error conditions.

I've ended up typing this "fall-through" pattern a lot:

bool canErrorALot()  
{  
 bool ok = func1();

 ok = ok && func2();

 if (ok && (mayReturnErrorCode() != ErrorCode::None)) {  
 ok = false;  
 }

 ok = ok && func3();

 return ok;  
}  

I quite like this actually. Is this readable to you?

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

So I managed to frankenstein myself a neat Neovim setup with a bunch of useful plugins like LSP, code completion, and CMake tools.

Which works, kinda, "out of the box", if you happen to know which dependencies to install.

It works on Windows and Steam Deck Desktop.

But now the CMake tools part fails with weird error messages on Debian 12, and I have no real clue what's wrong, and how to troubleshoot it.

I suspect some nvim/plugin version conflict.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

You know that feeling, as a software developer, if you see something that works just too well, so you get a strong sense of suspicion about it?

I get this every time I use Steam 2FA to scan that QR code with my phone.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Third party library, C++ using STL containers, suddenly starts to crash on initialization for no apparent reason.

I love writing software.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Hab meine Stromrechnung für 2023 erhalten. Knapp verdoppelt zum Vorjahr bei leicht reduziertem Verbrauch.

Wenn ich die Abrechnung richtig verstehe, großzügige 4,2% übernommen durch die staatliche Preisbremse. Wow!

Bleiben knappe 500€ Nachzahlung und eine dezente Verdopplung des zukünftigen monatlichen Abschlags.

Da kommt Freude auf.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Still trying to wrap my head around Direct3D 12 shader resource views and descriptor tables.

To create a view which "maps" a texture to a slot in the descriptor table, I call Device::CreateShaderResourceView().

To activate a descriptor table with N slots, I use CommandList::SetGraphicsRootDescriptorTable().

Now, let's say I want to change a texture slot mid-frame. Can I just CreateShaderResourceView() again? It's not a function of CommandList, so it feels wrong.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

TFW you catch your debugger lie to you in cold blood.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

There are two types of people: Those who laugh their asses off about today's Penny Arcade strip, and those who didn't watch Dune Part 2 yet.

https://www.penny-arcade.com/comic/2024/04/24/lisan-al-gabe

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

So I used a new Vulkan descriptor type, but forgot to tell the driver to create a descriptor pool for it.

Windows/AMD: shrug "Ok!"

Debian/Nvidia: shrug "Ok! But that SPIRV extension you asked about? No chance, my friend!"

MoltenVK: "Hey, waaait a minute! Out of memory!"

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

The Vulkan API. Dumps a truckload of Lego bricks onto your feet. Challenges you to use them to build a F1 race car. Then yells at you for each deviation from the construction plan you can't read because it's written in Klingon.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar
  1. Learn about some useful CMake option.

  2. Try option. Doesn't work.

  3. Read documentation again: "New in version 3.30"

  4. Check own version: 3.29

  5. Quit software.

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

From today on I shall rate movies by a new metric: facepalms per minute.

New high score: Rebel Moon, Part 2

code_disaster, to random
@code_disaster@mastodon.gamedev.place avatar

Mein Vater beauftragt mich ab und zu für Bestellungen von Zeugs für Haushalt und Garten über Amazon. Am Montag hat er mir zwei Wünsche für Neubestellungen mitgegeben. Von einem hab ich die leere Packung fotografiert, beide hab ich als digitale "Kurznotiz" ins Phone getippt.

Eben wollte ich den Auftrag ausführen. Auf meinem PC. Das Popup Menu unter "Konten und Listen" / "Nochmals kaufen" zeigt als Punkt 1 und 2 ganz oben... GENAU DIE ZWEI Produkte, die ich suche.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • GTA5RPClips
  • thenastyranch
  • ethstaker
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • tacticalgear
  • JUstTest
  • kavyap
  • modclub
  • cisconetworking
  • cubers
  • ngwrru68w68
  • khanakhh
  • tester
  • anitta
  • normalnudes
  • Leos
  • osvaldo12
  • provamag3
  • lostlight
  • All magazines