Please do not take anything I say serious. :) Except for when im being serious. >:(
🌉 bridged from @vogi@piefed.social by Tidepool
@vogi.piefed.social.ap.tdpl.io
8 Posts27 Comments0 Memberships
Joined July 2026
Please do not take anything I say serious. :) Except for when im being serious. >:(
🌉 bridged from @vogi@piefed.social by Tidepool
My textbook tells me there is a operator for bitwise rotation in C23 (<<<), is there?
Not sure if I'm tripping right now... but there does not seem to be one right? Still new to C so I might miss something super obvious. All my searches on the web result in just examples using shift operators to recreate a roll operator. Book is in German but I hope the example is clear enough. It basically tells me I can use <<< and >>> to rotate bits in C23 and up. image Using gcc with --std=c23 results in this error during compilation:
error: expected expression before
<=token
c
#include "stdio.h"
int main(void) {
unsigned char C=0x80;
C<<<=1;
printf("C=%d\n", C);
return 0;
} I am also unsure why its written in the example like C<<<=1; I would have expected C<<<1;.
It is not listed in the cppreference and the book even goes on responding to a readers letter who described another problem like the operator in itself actually exists... I'm so confused right now ;(
EDIT: Ok, it does seem to just not exist... thank you @lime@feddit.nu for keeping me sane. I have just sent out an email to the authors to ask for their explanation.
My kind of infinity stones
Im so pleased whenever I see developers hosting their own repos. It just feels like its meant to be, straight from the source and official.
Trackmania United - Stadium (Pulp Remix)
Access Infrared Sensor using devkitPro?
TLDR: Did anybody successfully communicated with the infrared sensor embedded in some DS cartridges using devkitPro? Hello all, bought a copy of Walk with Me which comes with a infrared pedometer. To transfer the data it has a infrared sensor built in the cartridge similar to how the Pokéwalker. Problem is the games on Personal Trainer: Walking are not that great. At least not compared to what Nintendo did with Street Pass on the Nintendo 3DS. So now im here wanting to do a homebrew version of "Puzzle Swap". I found these two posts which go over the insides and what is being sent. • https://gbatemp.net/threads/pokewalker-hacking.419462/?__cf_chl_tk=gAU3YpSAbTZFTYDIBHeJc2ZfVqEZijvODQiCGDUffwU-1770737518-1.0.1.1-jnYzvGZPhj81sAVET47NAzu_UcSXEvx8E9uS8aAZrHQ • https://hackaday.com/2020/11/21/reverse-engineering-a-pokewalker/ Im still unsure where and how to start with reading that on the DS though. Did anybody even managed to access the infrared sensor? PS: I am aware that posting it on here has slim chances of getting any help. I just really like lemmy and people on here so I thought ill try my luck on here as well :)
STRANGER THAN HEAVEN | Five Eras Reveal Trailer
Cherry pick packages from "testing" or go all the way?
Hello all,
I ran into issues using Godot under Debian Trixie and Sway ( 1.10 )
These issues were fixed in 1.11.
Somebody on here recommended me the Debian Backports which look really cool. Unfortunately sway has no Backport as of right now, so I have used the Testing repository for this with a PinPriority so low it does not Update other packages.
This does work and all problems are resolved, my question now is:
When installing sway from testing it has naturally also installed its required dependencies from testing. Does having those dependencies installed which other packages (from stable) might depend on as well introduce weird behavior incompatible issues? I mean they are not in a special testing sandbox nor have some unique namespace, this sets my alarm off right away.
I have used a rolling release distro before and it was surprisingly stable all things considered so I am considering to go full testing on Debian. Does anybody on here do the same?
Games reminiscent of Minecraft Alpha, Beta or 1.0.0
Hello,
I don't like how many items/blocks were added to Minecraft. It removes what made Minecraft so special–its simplicity.
Are there any Luanti games that replicate that feeling? "Minetest Game" doesn't have any mobs, and has weird controls. VoxeLibre has too many items.
You could probably fix that with mods or... you know just not using the items i don't wanna use. :) I still wanted to ask here though maybe somebody uses exactly that. I did found an empty server that was running something, that looked a lot like Minecraft Alpha, but I couldn't find what game they have used.
What is your Audio setup?
Hello,
I am fairly new to Debian and only recently have switched from arch to Debian (sway). I really love it so far btw. feels a lot more stable.
Sound is also working. However I do not have a way to control the volume right now. On Arch I had PulseAudio with pactl. I would like to not use PulseAudio and just rely on PipeWire as it seems to be the future (at least for now). What kind of CTL do people on here have setup to control audio? I believe alsa-mixer works also, im just a bit scared of going of the beaten path and wanna do things right.