sparkingcircuit

joined 3 years ago
[–] sparkingcircuit@lemmygrad.ml 17 points 2 years ago

This was a fun read! Thank you for sharing.

[–] sparkingcircuit@lemmygrad.ml 17 points 2 years ago (2 children)

Maybe you could write a feature request on the Lemmy Repository for the ability to use other instance's emotes.

[–] sparkingcircuit@lemmygrad.ml 10 points 2 years ago (1 children)

Fantastic video! Do keep in mind however, that Thunderf00t is a very socially and economically conservative person of which you should watch with caution. I mostly keep to watching his Elon dunk videos and his pseudo-scientific-Kickstarter de-legitimizing videos.

[–] sparkingcircuit@lemmygrad.ml 4 points 2 years ago

100%, to go out and touch grass on occasion really helps keep the depressive states at bay.

[–] sparkingcircuit@lemmygrad.ml 5 points 2 years ago (2 children)

Welcome back! Glad to see how much better your doing.

[–] sparkingcircuit@lemmygrad.ml 3 points 2 years ago

Good to know! I'll be adding it to my watch later list.

[–] sparkingcircuit@lemmygrad.ml 4 points 2 years ago* (last edited 2 years ago)

Shattered pixel dungeon is a rogue-like dungeon crawler that is beginner friendly and still fun to long time players. It is offline, with no advertisements, and open source. You can get it from:

[–] sparkingcircuit@lemmygrad.ml 5 points 2 years ago

Oh, that explains it! Thank you!

[–] sparkingcircuit@lemmygrad.ml 2 points 2 years ago

YouTube application on a Vizio smart tv.

[–] sparkingcircuit@lemmygrad.ml 4 points 2 years ago (2 children)

Normally I do too, unfortunately I've been forced to use some miserable smart tv as of late.

 

Had anyone else noticed a sharp uptick in military recruitment ads as of the past few days?

 

I've been working on re-implementing a board game in C. However, when running the players positions don't increment.
Current output:

 6,  9,  7,  6,  5,  5,  8,  7
 6,  9,  7,  6,  5,  5,  8,  7

Expected output:

 6,  9,  7,  6,  5,  5,  8,  7
14, 15, 19, 16, 13, 13, 14, 17

Code:

#include <stdlib.h>
#include <stdio.h>

// Define types here:
typedef enum {false, true} bool;

// Define constants here:
const unsigned char MAXPLAYERS = 7;	//Game has max of 8 players
const unsigned char SPACES = 40;	//Board has 40 spaces
const unsigned int SEED = 51732;	//Seed for random numbers
const unsigned int DIE = 6;		//Number of sides of die

// Define variables here:
unsigned char player = 0;
unsigned char player_position [] = {0, 0, 0, 0, 0, 0, 0, 0};
unsigned char die = 0;

// Define functions here:
// Moves player Input spaces.
void move_player (char moves) {

player_position [player] += moves;
if (player_position [player] > SPACES) {

	player_position [player] -= SPACES;

}

}

// Switches active player in order.
void increment_player () {

player ++;

if (player > MAXPLAYERS) {

player = 0;

}

}

// Returns random number between 1 - Input.
unsigned char rand_num (unsigned char max) {

unsigned char i;

i = rand () % max + 1;

return (i);

}

// Sets dice variable && returns 1 if double.
bool roll_dice () {

unsigned char a = rand_num (DIE);
unsigned char b = rand_num (DIE);

die = a + b;

return (0);

}

// Main logic
int main () {

char input = 0;

srand (SEED);
printf ("Game client started.\n",
	"Press enter to iterate turns.\n");

while (1) {

scanf ("%c", &input);

for (unsigned char i; i <= MAXPLAYERS; i++) {

	roll_dice ();
	move_player (die);

	increment_player ();

}

printf ("%2i, %2i, %2i, %2i, %2i, %2i, %2i, %2i\n",
	player_position [0], player_position [1], player_position [2],
	player_position [3], player_position [4], player_position [5],
	player_position [6], player_position [7]);

}

return (0);

}
0
submitted 2 years ago* (last edited 2 years ago) by sparkingcircuit@lemmygrad.ml to c/genzedong@lemmygrad.ml
 

You weren't an ML, but made some excellent communist content none the less. Hope they're alright.
EDIT: Upon looking around, I found their Patreon. It appears she's taking a brake from and or retiring from YouTube due to mental health complications.

 

This is a test as to whether or not Lemmygrad strips metadata from images when uploaded.

2
submitted 2 years ago* (last edited 2 years ago) by sparkingcircuit@lemmygrad.ml to c/prolewiki@lemmygrad.ml
 

cross-posted from: https://lemmygrad.ml/post/589515

Under the name @Academicproletarian he sent me this message:

Hey, comrade! I see you are an editor on ProleWiki, that's super great!

Let's get down to brass-tacks. I'm the Chief Commissar of the Internal Security Group of ProleWiki. I myself have banned millions of people from our great echo-chamber.

I've just been ordered personally by our great founder Forte to improve our page on Stalinism. It turns out that Stalinism, or more fully, Marxism—Leninism—Stalinism (MLS) really does exist as an ideology.

As such, he wants us to rewrite our incorrect page on Stalinism to indicate that it really does exist. He also told me to use this excellently-written writing on MLS as a reference. This writing was made by a genius pioneer of Wisconsinite Marxist-Leninist-Stalinist theory. Thus it is a VERY good source.

Thank you!

It seems that they're going after ProleWiki again, (in this case attempting to have the "Stalinism" page "corrected."

 

Under the name @Academicproletarian he sent me this message:

Hey, comrade! I see you are an editor on ProleWiki, that's super great!

Let's get down to brass-tacks. I'm the Chief Commissar of the Internal Security Group of ProleWiki. I myself have banned millions of people from our great echo-chamber.

I've just been ordered personally by our great founder Forte to improve our page on Stalinism. It turns out that Stalinism, or more fully, Marxism—Leninism—Stalinism (MLS) really does exist as an ideology.

As such, he wants us to rewrite our incorrect page on Stalinism to indicate that it really does exist. He also told me to use this excellently-written writing on MLS as a reference. This writing was made by a genius pioneer of Wisconsinite Marxist-Leninist-Stalinist theory. Thus it is a VERY good source.

Thank you!

It seems that they're going after ProleWiki again, (in this case attempting to have the "Stalinism" page "corrected."

 

What side of the editor war do you lie? vi, Emacs, or maybe something newer like neovim, nano, or VS-Codium?

 

The Simple Sabotage Field Manual was a document created by the United States, for advice on how to sabotage (primarily) socialist nations, much of which is still relevant today.

Even if you can't, or don't want to read the whole thing I'd advice you at least read the section titled "General Interference with Organizations and Production" for examples of how a saboteur may attempt to infiltrate and disrupt an organizational or productive group.

 

Just showing off my desktop. For those curious, I use the XFCE desktop, and ULauncher tied to the windows key. I'm also experimenting with animated wallpapers using hidimari.

 

As it turns out, the other day I was looking through recent edits on ProleWiki, and I found, under the social-media section of the ProleWiki page, I found a Youtube link.

 

Revisionist rats! I did nothing but good for your project, yet you banned me for my ideology in haste! I gave you many chances to unban me, I could have made thousands of edits, yet you rejected me. Now… you have forced me to go THERMONUCLEAR!

view more: next ›