sparkingcircuit

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

This was a fun read! Thank you for sharing.

[–] sparkingcircuit@lemmygrad.ml 17 points 1 year 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 1 year 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.

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

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

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

[–] sparkingcircuit@lemmygrad.ml 4 points 1 year ago* (last edited 1 year 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:

Oh, that explains it! Thank you!

YouTube application on a Vizio smart tv.

[–] sparkingcircuit@lemmygrad.ml 4 points 1 year 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?

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

China's take on the Japanese government's handling of the situation, largely due to some of the isotopes they haven't filtered out. Particularly the strontium, iodine, and carbon variants. These have leaked into said wastewater due to the meltdown in several of Fukushima's reactors.

 

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.

1
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."

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

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?

 

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.

 

Simple Guide for the Installation and Configuration of RetroArch

Preamble

This guide assumes the use of the flatpak version of the software as found through flathub, and that you are using a Debian base (such as Ubuntu, Linux Mint, or ElementaryOS).

Part One - Installation

Configure and Installation of flatpak

NOTE: This can be skipped if flatpak is already installed and configured for use with flathub

First and foremost, run sudo apt install flatpak. After that, all that is left is configuring for operation with flathub. This can be done by running flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo.

Installation of RetroArch

From this point the installation is rather simple. Just run flatpak install org.libretro.RetroArch in your terminal

In some cases you may have to restart your session (logout and in again), in order for the application to show in your application menu.

Part Two - Configure Controls

Upon first launch of the application, the need to configure a controller is likely. To accomplish this, go to Settings > Input > Port'ControllerPortNumber'Controls. At this point, all that is needed is selecting SetAllControls. After doing this, press the buttons displayed on screen via the controller, ignoring any buttons the controller lacks. This can be repeated for any other controllers you want to add.

Part Three - Downloading Cores

From this point, cores (emulators) will need to be downloaded. To do this, go to MainMenu > OnlineUpdater > CoreDownloader in the menu system. From here download the cores you wish to install, this is done via left click or the enter key.

Part Four - Importing ROMs

Standard Import

Now, the need to import the ROMs (games) is imminent. First, go to ImportContent > ScanDirectory > 'Where/ever/you/keep/your/ROMs' > ScanThisDirectory. This should automatically import all of your ROMs into the program. If this does not work, it will be necessary to import the ROMs manually.

Manual Import

Manual import is useful for when more manual control is required. An example of this would be if the ROMs are stored in archive files. First, go to ImportContent > ManualScan. From here, select the directory the ROMs are stored in, the console those ROMs are for, a default core for their execution (not necessary), the file extensions those ROMs are stored as, and whether or not to scan inside archive files (such as zips).

Part Five - Adding BIOSes

NOTE: Only needed for newer consoles (a good rule of thumb is optical drive era and later).

All that is needed here is the downloading of the various BIOS files into the correct location. The location in question being ~/.var/app/org.libretro.RetroArch/config/retroarch/system. The prior link contains a zip file with the various BIOS files needed for every system (as of 2020).

 

KYIV, UKRAINE—In a desperate plea for aid in the continued effort to expel his nation’s Russian occupiers, sources reported Friday that President Volodymyr Zelensky had called upon the United States to send a totally psycho marine to assist in Ukraine’s war effort. “You know, one of those expertly trained, one-man-army guys who carries an arsenal on his back and has killed so many people in combat he’s now cold, unfeeling, and completely insane—you gotta have at least one of those to spare, right?” said Zelensky, specifying that the ideal candidate would be a wild-eyed shirtless muscleman who functioned as a completely self-sufficient killing machine and could take out hundreds, if not thousands, of enemies all by himself. “In order to get the upper hand against Russia, we’re going to need your most batshit, balls-to-the-wall ex-special-forces guy. He’ll have a crazy name like Razor or Bloodhound or something, and he’ll always be blacking out and waking up covered in blood with a whole village dead around him. If he has a personal score to settle with the Russians, that’s great, but the most important thing is that he just kills and kills and kills and kills—sometimes using a cherished hunting knife that belonged to a fallen comrade, even though a gun would be faster. Honestly, he can kill a few Ukrainians too, if he wants, just so long as he gets the job done.” At press time, the U.S. Marine Corps had reportedly agreed to send “the craziest motherfucker” it had, just as soon as he had applied his face paint, donned a necklace of severed human ears, and stopped in for chest wax.

 

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

User messaged me with a link to Wisconsom's website with some sort of plan regarding some sort of plan to overthrow ProleWiki.
The exact text is as such:

From ComradeW

Greetings, comrade.

I see you’re an editor on ProleWiki, that is great! I am interested in ProleWiki myself.

I found this interesting source of history for ProleWiki, and I also heard of this newly-formed group of ProleWiki editors looking to improve the project. Maybe this could help you become a better editor. Do you think it is accurate?

Thanks you.

view more: next ›