mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#bismuth

1 post1 participant0 posts today

#Sarkozy est condamné pour corruption #Bismuth, condamné en appel pour financement illégal de campagne électorale #Bygmalion et sous la menace d’une condamnation pour corruption et financement illicite de campagne électorale #Kadhafi

Le code de la Légion d'Honneur dispose que « Est exclue toute personne condamnée pour un crime ou condamnée à une peine définitive de prison ferme d’un an minimum »

En vertu de quoi, Emmanuel Macron décide de ne pas retirer la Légion d’honneur à Nicolas Sarkozy.

Anybody have Wayland-compatibile tiling compositor (WM) recommenddations? I'd been using #xmonad for years, but it doesn't work with Wayland. #KDE #Plasma with #bismuth was good for me, but Bismuth doesn't work with latest Plasma. I've really not found anything good with Gnome, and the options like #sway and #hyprland require a bunch of time to configure and don't do things like remembering what to do when I plug in different external monitors like KDE does. I appreciate KDE's automation.

Replied in thread

@Riedler This is timely. I'd been using #xmonad for years, but it doesn't work well with Wayland. #KDE #Plasma with #bismuth was good for me, but Bismuth doesn't work with the latest KDE. I've really not found anything good with Gnome, and the options like #sway and #hyprland require a bunch of time to configure and don't do things like remembering what to do when I plug in different external monitors like KDE does.

L'heure des comptes: le bracelet électronique de Sarkozy lui a été posé ce vendredi après-midi après sa condamnation pour corruption et trafic d’influence dans l'affaire Bismuth, a appris l’AFP de source proche du dossier. L'ex-président affronte en ce moment-même à nouveau le tribunal, dans l'affaire Kadhafi cette fois. La justice est lente, mais elle finit par passer.

Outre le bracelet électronique, Sarkozy devrait perdre sa Légion d'honneur (les présidents sont faits grand'croix, la plus haute dignité, lors de l'investiture). L'exclusion de l'ordre est automatique lorsque le "légionnaire" est condamné à une peine d'emprisonnement sans sursis, égale ou supérieure à un an, selon le Code de la Légion d'honneur. C'est le cas de l'ex-président dans l'affaire Bismuth et Macron ne pourra pas s'y opposer

Sarkozy va saisir la CEDH pour tenter de faire condamner la France après avoir été définitivement reconnu coupable de corruption dans l'affaire Bismuth. Un ex-président qui s'était fait élire sur une promesse de sécurité finit par attaquer l'Etat... Ironie de l'histoire, les écoutes qui l'ont confondu ont été autorisées grâce aux lois Perben II et LOPPSI 2, votées alors qu'il était ministre de l'Intérieur puis président.

not sure what to do next on my VM. i'd like to add some more functionality, preferably something written in the IR then transpiled to C, but i dont know what that would be. i can think of boring stuff like file handling, but i'd just have to mostly write that in straight C anyhow and also it's boring

maybe i should finally start on the graphical front end?

wow i think i actually managed to get utf8 working in my VM? i used `setlocale(LC_ALL, ".UTF8")` and then print the UTF32 char 0x0107 ć from my program. the interpreter uses c32rtomb to convert it to UTF8 and then i fwrite that to stdout

but the character doesn't show up in the windows console cause windows is bad. but i figured out a workaround! i put this in my run.bat file:

set run=./bismuth.exe prog.bst
powershell $OutputEncoding = [Console]::InputEncoding = [Console]::OutputEncoding = New-Object System.Text.UTF8Encoding; %run%

and it runs the VM through powershell with powershell forced to use UTF8 and then it works somehow, yay! more bizarrely, it doesn't show me the powershell prompt but the regular command prompt, but it works anyway? idk why but i'll take the win!

also i have no idea if any of this is the right way to do things so, yanno, don't take this as a tutorial or anything

cleaned up system calls in my VM today. removed the temporary print call that just output an integer. added two system calls for converting (un)signed integers to strings, one system call for printing a string, and one system call for printing a single character

unfortunately that means printing an integer gets way more complex in the IR >_> figured this was better than having "print (un)signed integer" system calls and then later having to add the string conversion ones as well

was agonizing about implementing variadic functions in my VM, but what if i just took the cowards way out and say that if you want variable numbers of arguments you just gotta allocate memory, put your args in there, then pass that to the function and free it after? >_>

it was good enough for .NET, right?