sparkingcircuit

joined 2 years ago
[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 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:

[–] [email protected] 3 points 1 year ago

Oh, that explains it! Thank you!

[–] [email protected] 1 points 1 year ago

YouTube application on a Vizio smart tv.

[–] [email protected] 3 points 1 year ago (2 children)

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

[–] [email protected] 4 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 0 points 1 year ago

@sparkingcircuit:genzedong.xyz

[–] [email protected] 1 points 1 year ago
[–] [email protected] 11 points 1 year ago
[–] [email protected] 2 points 1 year ago
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)
[–] [email protected] 16 points 1 year ago* (last edited 1 year ago)

Didn't capitalism start 300-400 years ago? If I remember correctly, capitalism was born of the imperial nations of Europe (primarily Great Britain, France, and Spain), as private capital, now unrestricted from the guilds as under feudalism, expanded for increased control of their respective markets.

The United States, started only slightly after the major imperial powers of its day. In addition, it's geography blessed it with weak neighbors to the north and south, and fish to the east and west, allowing it to develop almost entirely unhindered from the risk of war destroying it's means of production. Furthermore, property rights were enshrined in its very constitution from start due to its status as one of the world's first a bourgeois democracies (widely believed to be the ideal circumstances for the development of capitalism). As such, the United States had one of the most mature capitalist economies in the world by this point. Even at this point it's form of capitalism is probably more mature than many capitalist nations in the third world are currently.

In all likelihood, the course of capitalism in the United States was reversed somewhat by a combination of anti-monopolistic legislation, an end to its pre-worldwar isolationist policies, and the introduction of new markets in the world economy due to need for many nations to rebuild after World War Two. As such, I think it reasonable to call this a consequence of a 1940s late stage capitalist economy.

7
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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);

}
 

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 [email protected] to c/[email protected]
 

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

0
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

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 [email protected] to c/[email protected]
 

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.

 

It isn't exactly a pro-soviet source, but it contains a decent wealth of information that isn't readily available in mainstream works.

 

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!

 

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).

 

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 ›