fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#programming

346 posts286 participants5 posts today

From: blenderdumbass . org

The multiplayer, or the lack there of, at the moment is so utterly broken and so lacking of being properly made that for a long time, I was just not bothering with it. Seeing it as something unnecessary. Something that does not need to be touched, because other things, like the...

Read or listen: blenderdumbass.org/articles/a_

blenderdumbass . orgA Rant About Making a Multiplayer Game

DX.

Why did it take me so long to think of DX instead of trying to say "you know, UX but for library APIs"

Now I can just say: Hey FontConfig, you have terrible DX!

(I have long pushed on the idea that design is a required skill for programming *code*, not just GUIs or even CLIs, but the code itself should be designed too)

#UX#DX#foss

When your program reads a configuration file, and that configuration file contains paths to other files, those paths need to be resolved relative to the parent of the realpath() of the configuration file!

In particular, do not:

* Resolve them against the current working directory of the process

* Forget to realpath() (that is, resolve symbolic links in) the path to the configuration file

This has been a public service announcement.

Uh. Why does initializing a C++ 'std::array' with an initializer list work differently from initializing a 'std::vector' or a C array with an initializer list?

For the std::array, the compiler complains that it can't initialize a pair from an int, as if it treats '{1, 2}' as its own array. It works with an extra pair of braces that's not necessary for std::vector and C arrays.

What dark corner of C++ initialization rules have I missed

godbolt.org/z/nGTejaG6T

From: blenderdumbass . org

On the Fireside Fedi interview with Jerry ( the admin of Infosec.Exchange Mastodon instance ) a scary truth was suddenly revealed ( on 34:11 ): Just to keep the instance up and running he needs to spend up to $5000 a month, pretty much out of his pocket. Donations to the instance barely cover any of tha...

Read or listen: blenderdumbass.org/articles/we