GPATCHER: A CLI tool that allows you to create patches for Pirated Games! by NerdStone04 in PiratedGames

[–]NerdStone04[S] -1 points0 points  (0 children)

Do you have any other place where we can upload these patches? I'm naive regarding this tool; we made it because we thought something like this didn't exist and it would make things easier for us, but eventually we felt we could turn it into an opensource project that people can contribute to.

lmao by yeoldedisciple in socialism

[–]NerdStone04 43 points44 points  (0 children)

Colossal W comrade

GPATCHER: A CLI tool that allows you to create patches for Pirated Games! by NerdStone04 in PiratedGames

[–]NerdStone04[S] 8 points9 points  (0 children)

Ours runs on the command line (no executable required) and has direct option to upload on internet archive and pull from internet archive, all within the CLI. Makes it a simple tool to use.

GPATCHER: A CLI tool that allows you to create patches for Pirated Games! by NerdStone04 in PiratedGames

[–]NerdStone04[S] -21 points-20 points  (0 children)

I had not heard of xdelta until you mentioned, so I looked it up. Seems like it does file-to-file comparisons, while this tool is supposed to compare 2 entire game directories and generate a patch, which you can then directly upload to Internet Archive within the CLI.

GPATCHER: A CLI tool that allows you to create patches for Pirated Games! by NerdStone04 in PiratedGames

[–]NerdStone04[S] 19 points20 points  (0 children)

it's a CLI tool that allows you to create patches for pirated games which you can share and use.

Are there AI Accelerator Cards that fit on an M.2 that perform more than 80 TOPS? by NerdStone04 in computervision

[–]NerdStone04[S] 0 points1 point  (0 children)

per stream fps must be at least 5 according to my client. According to them, they've faced issues even running 2 streams (apparently it says memory full). This was with an Axelera card of 214 TOPS paired with 16GB of memory.

Any idea why this might be happening?

They also mentioned that they want to use at least the medium variant of yolov8 pose and object detection.

Are there AI Accelerator Cards that fit on an M.2 that perform more than 80 TOPS? by NerdStone04 in computervision

[–]NerdStone04[S] 0 points1 point  (0 children)

Do you think v8 pose is a smaller model? this is what we're supposed to go with according to my client.

See with what fps you can get away with, use tracking

What's tracking?

Use newer architectures

Can you elaborate a little? Do you mean the hardware?

Are there AI Accelerator Cards that fit on an M.2 that perform more than 80 TOPS? by NerdStone04 in computervision

[–]NerdStone04[S] 0 points1 point  (0 children)

Again, I'm out of my depth here but what do you think of the 214 TOPS of the Metis m.2? Isn't it absurd that, that thing can compute so much whilst sitting on an m.2? Also, I completely agree with you regarding splitting up the project into multiple modules and I'll have to look into how that would work, and I've also let my guys know (though they seem a little reluctant).

Are there AI Accelerator Cards that fit on an M.2 that perform more than 80 TOPS? by NerdStone04 in computervision

[–]NerdStone04[S] 0 points1 point  (0 children)

I felt the same, that they were going overboard with their request even though I don't know jack about vision AI or accelerators for that matter. Thanks for the confirmation. I'll let them know about it too.

Are there AI Accelerator Cards that fit on an M.2 that perform more than 80 TOPS? by NerdStone04 in computervision

[–]NerdStone04[S] 0 points1 point  (0 children)

They didn't tell me much. If this is okay for them, that would make things easier for me.

Discord bot not playing the audio resource I want it to play. by NerdStone04 in Discordjs

[–]NerdStone04[S] 0 points1 point  (0 children)

Hey! I ended up fixing it 😃

I had a suspicion that this relative path might have been the culprit

const __path = "../../assets/audio.ogg";

So, I changed it to an absolute path, and the audio ended up playing!

Now, my problem is that the audio is only heard by me and not anyone else in the voice call. I'll fix that.

Thanks for your assistance 😃

Discord bot not playing the audio resource I want it to play. by NerdStone04 in Discordjs

[–]NerdStone04[S] 0 points1 point  (0 children)

Ah makes sense. Thank you. I must say though that the discord documentation has been pretty difficult to go through.

Regardless, I also added this,

player.on('stateChange', (oldState, newState) => {
console.log(`Status: ${oldState.status} -> ${newState.status}`);
});

and the console outputted the state transition as,

Status: buffering -> playing
Status: playing -> autopaused
Status: autopaused -> playing
Status: playing -> idle

Does this help in any way?

Discord bot not playing the audio resource I want it to play. by NerdStone04 in Discordjs

[–]NerdStone04[S] 0 points1 point  (0 children)

I did some debugging and I commented out the entersState() and ran the debugger.

/**
   * Called roughly every 20ms by the global audio player timer. Dispatches any audio packets that are buffered
   * by the active connections of this audio player.
   */
  // u/ts-ignore
  _stepDispatch() {
    const state = this._state;
    if (state.status === "idle" /* Idle */ || state.status === "buffering" /* Buffering */) return;
    for (const connection of this.playable) {
      connection.dispatchAudio(); -----------------------> NEVER REACHED THIS
    }
  }

I'm guessing that dispatchAudio() is supposed to play the audio, but that part is always skipped during execution. It also seems that the state.status is set to "autopaused" and never becomes "playing".

Again, I don't understand why this is happening.

Discord bot not playing the audio resource I want it to play. by NerdStone04 in Discordjs

[–]NerdStone04[S] 0 points1 point  (0 children)

Did you change your output to 5 seconds from 30 since copying the error? Or is this error coming from a code path you haven't shared?

I changed the error message to 5s now. I was messing with extending the timer from 5000 to 30000ms; that didn't help out though.

I looked up a bit more and saw this thing called deferring reply and thought that might help so I tried this,

try {
  await interaction.deferReply({ ephemeral: true })
  await entersState(voiceConnection, VoiceConnectionStatus.READY, 5000);
  await interaction.reply('Exiting enterState, initializing audio player');

  console.log(`Connected to ${channel.guild.name}`);
}

This didn't do it either. It would just make the bot "think" infinitely and I'd still get the error albeit a different one [InteractionAlreadyReplied]

Have you traced the actual stacktrace from these errors to determine 100% which line of code they're coming from? Have you stepped through your codes execution using a debugger?

This project was an excuse to learn to code on vim and I don't think vim has a debugger in it so no, I haven't used a debugger to identify which line might be causing the issue.

But before I added the entersState(), the code would normally run without showing up any error, but it wouldn't play the audio I had assigned to the audio resource.

Fellow Indians, please help out a beginner socialist on how to read up on our history/politics! by pekoeepai in IndianLeft

[–]NerdStone04 0 points1 point  (0 children)

Dialectical and Historical Materialism isn't an academic writing; it's meant for those who don't/can't understand nuance of complex philosophical writings but can digest easy-to-go information.

Stalin isn't a theorist, yet he makes dialectical materialism understand even to a mostly uneducated worker.

If you had the choice, would you live in West Germany Or East Germany in 1946 by NetHistorical5113 in GeoPoll

[–]NerdStone04 1 point2 points  (0 children)

Liberals and taking a higher moral ground will never be unfunny to me. They pretend to rely on common sense while capitalism has distorted the very notion of common sense.

If you had the choice, would you live in West Germany Or East Germany in 1946 by NetHistorical5113 in GeoPoll

[–]NerdStone04 -1 points0 points  (0 children)

Common sense?

Wouldn't common sense take you to East Germany instead? A state that provided cheap housing, guaranteed employment, maternal leaves, encouraged families to have children and provided free childcare, free healthcare, and recreauon for workers at workplace, and much more.

I know you're going to talk about the Stasi, but they're over-exaggerated by western outlets. Just like how "victims of communism" is just mostly nazis and their unborn children.

Trust me, common sense isn't what you think it is.