promitheas

joined 1 year ago
MODERATOR OF
[–] [email protected] 4 points 2 months ago

Helldivers 2 is currently occupying my mind 24/7. Yes there are a few bugs here and there, but the game is just so good they don't really matter in terms of spoiling the experience. It is a 4 person co-op game and its really fun if you find a group of friends you can play with, or a good group of randoms who communicate. However, you can play solo, you just need to change up your playstyle for certain missions, like go a bit stealthier. Honestly try it, and if you want to try the group aspect of it join the official discord where there are lfg channels you can find people to play with.

[–] [email protected] 1 points 2 months ago

Honestly i think as citizens we should start setting up guillotines outside parliaments. That should remind them that they may feel invulnerable but we can always get them.

Bonus: to really scare them, set up a little cooker thing with a table next to it. The phrase "eat the rich" comes to mind, though in this context it would be more like eat the powerful

[–] [email protected] 0 points 2 months ago* (last edited 2 months ago)

Not surprising that they used the Irish Data Protection Office to implement these. They probably paid them off quite handsomely, or they are simply incompetent. Im leaning more towards a mix of both with incompetence being higher given how my reddit case was handled with them.

[–] [email protected] 4 points 2 months ago

Skyrim for under 4 euro (iirc) in 2012 in a christmas sale.

[–] [email protected] 1 points 2 months ago

No worries, fair mistake :)

[–] [email protected] 18 points 2 months ago (2 children)

Thats github though, not git itself

[–] [email protected] 21 points 2 months ago (5 children)

"Employees speak new languages." Is what translate gives me, but I would translate it more as "The ones working speak new languages" or "Those who have employment speak new languages". I still dont get the meme though, so the context might matter more and my translation could be off

[–] [email protected] 21 points 2 months ago (1 children)

Evidence of life elsewhere in the universe. It would be so cool. I just hope its far enough we cant get there and fuck everything up for them (or that they cant do the same to us)

[–] [email protected] 15 points 2 months ago

Very interesting doc! Its sad how this is the state of things, but something must be done. I hope with the news weve been receiving from Germany recently that this will change long term, and not just for the current government. Hopefully it will snowball and have a ripple effect on other EU countries.

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago)

As far as I remember it was so that they couldn't use it to create their own paid version. I think the dev wanted it to be free, but found this loophole. If I find the video I'll edit this comment and link it

Edit: i was partially wrong above. Its not for the reason I thought it was, but rather as a business strategy. Individual users keep it relevant so theyre allowed to keep it for free, while businesses have to pay for the license to avoid being sued. Businesses are its main source of revenue. Here is a video explaining it. Its not the video I remember watching, but it seems to be correct.

[–] [email protected] 12 points 2 months ago (2 children)

Correct me if im wrong, but I think I read/watched something a few years ago which basically explains why winrar has a free trial but never actually enforces it. It had something to do with copyright law details, and how making it a paid product extends the copyright protections on it so that corporations cant legally use the code for a longer time. Im not sure if I'm even remembering it correctly, because it was several years ago

[–] [email protected] 29 points 2 months ago

Quality space nerd humour

 

Hello everyone.

A while ago I got the message on both Facebook and Instagram to either consent to viewing targeted ads or paying the subscription fee. I did neither, and it soon went away. Since yesterday though, I got it again and have no access to any part of facebook, most importantly the accounts section of the settings from where I can delete my account.

How can I delete my account without consenting or paying the fee?

Thanks in advance

 

Hello everyone :)

I recently wrote a small blackjack game where the challenge I set myself (and the learning goal) was to use pointers to do stuff. So for example instead of having all my functions written in such a way as to avoid using pointers I would use them wherever possible.

It works in its current form and seems to do so quite well, but I would like to learn even more from this project. So here I am asking for your experience. Please give me any suggestions, advice, ways to make it more efficient in terms of memory used, ways to make it more efficient in terms of speed (I know memory and speed might not be so important for a small project like this but my goal is to practice and learn the underlying concepts), criticisms, best practices, or anything you that comes to mind when you look at the code.

As an example of what I mean, I would like to make it so that the arrays which hold the player and dealer hands are not of fixed size on declaration, but grow and shrink dynamically as cards are added and removed from them (practice memory allocation/deallocation).

I hope I provided enough info about what I am looking for in a clear manner, but if not please do ask for clarification/additional info.

Thanks in advance!

 

Hello everyone!

So earlier tonight the server seemed to be down for a while. What are everyone's thoughts on coming up with some type of alternative independent back-channel communication method to get short-form updates about outages and other important community updates (community as in for our server, not a lemmy community).

Obviously this ultimately depends on how the admins and mods of this instance feel about this; how willing are they to invest time into setting that up if its something that will not be run and modded by us but by them, and how willing they are to actually use it if it does come to pass.

I am thinking something like mastodon is quite good for this task, but of course if anyone has any suggestions or other ideas please share them. Let's get a discussion going, if this seems like a good idea to you write your thoughts about what you think is the best way to go about it, and if it seems like a not so good idea share those thoughts and reasonings too!

 

Hey everyone. Today I started noticing some people from eviltoast.org spamming the same message over and over again in comment sections (might even be the same person). I took a look at their instance and it doesn't seem to be a very old instance, and it seems like its not a bad place, except for this spammer. I already blocked one account but not too long after encountered the account in the link above. So after I block this guy too, and after reading this comment thread it seems its a bot and they will simply be back with more accounts. What do we do in this situation? Is the only option to simply block them every time we encounter one of their accounts?

 

Hello everyone!

I just got my GMMK Tenkeyless keyboard, which is the first one I own with RGB. I would love to be able to customise the RGB, but being brand new to it I'm a bit lost.

A little preface: I am on Linux. I think this is important later on when I mention Via.

So to start, I looked on the supported keyboards page on the qmk website, and couldn't find my keyboard by searching for GMMK. Furthermore, if I go to the Glorious Gaming site I can't find any other keyboards other than what appear to be their current flagship ones (hence I can't find any specific board information or anything like that). One thing i did find is the software for the GMMK 1 TKL from here, but it is an .exe and hence I can't use it. I did think of running it through wine, but given that there will be firmware flashing involved I'd rather not risk going through a compatibility layer or messing anything up.

I also tried the Via webapp, but when I try to Authorize device I get a browser popup in my permissions section which states that there are no compatible devices found. I'm unsure if this is because it is not supported by Via or if its because it can't detect it because I am on Linux.

I also went through the qmk configurator but unsurprisingly my specific model was not in the list seeing as I couldn't find it in the supported keyboards list I mentioned earlier.

So finally for my question: Is there any way I can configure the RGB on my keyboard without having to find a windows machine and using the GMMK 1 software?

Many thanks in advance!

 

EDIT: Literally 1 second after I pressed the post button I got an idea and thats what it was. Why does that always happen? xD

The solution was that my player_hand[] and dealer_hand[] arrays had a size of DECK_SIZE / 2, but I was initialising them to 0 from within the for loop where I was initialising the deck[] array (which has a size of DECK_SIZE), so the last 24 0s of one of those where overflowing into deck[]...

Hello everyone!

I am trying to make a simple blackjack (21) game in C, to practice some pointer stuff, and I am running into an issue with the function that initialises all my arrays. The way I am going about setting everything up, I have an integer array for a standard deck of 52 cards (values from 1 to 13, each 4 times), an integer array for the shuffled deck, and 2 more arrays for the player and dealer hands (irrelevant at this point as they are not used yet).

My issue is that after successfully initialising the deck array (the non-shuffled one) and outputting the values from within the for loop that sets them, I get what I expect to see which is:

1, 2, 3, ..., 13, 1, 2, 3, ..., 13, ... (so on for 52 cards).

But when I output each value from a different for loop in the same function, the first 24 elements (0-23) are 0s each time I run it. I can not figure out why that would be. I ran my program through valgrind which reported that there were no memory leaks.

Here is the relevant code:

#define DECK_SIZE 52

int initialise_decks(int* deck, int* shuffled_deck, int* player_hand, int* dealer_hand, int size)
{
	printf("=================INITIALISING==================\n");
	for (int i = 0; i < size; i++)
	{
		deck[i] = (i % 13) + 1;
		player_hand[i] = 0;
		dealer_hand[i] = 0;

		printf("deck[%d]: %d\n", i, deck[i]);
	}

	printf("+++++++++++++++++++++++++++++++++++++++\n");
	for (int i = 0; i < size; i++)
	{
		printf("deck[%d]: %d\n", i, deck[i]);
	}
	printf("+++++++++++++++++++++++++++++++++++++++\n");


	return INITIALISE_DECKS_SUCCESS;
}

int main() {
	srand(time(0));

	int deck[DECK_SIZE];
	int shuffled_deck[DECK_SIZE];
	int player_hand[DECK_SIZE / 2];
	int dealer_hand[DECK_SIZE / 2];

	int initialise_status = initialise_decks(deck, shuffled_deck, player_hand, dealer_hand, DECK_SIZE);
	if (initialise_status != INITIALISE_DECKS_SUCCESS)
	{
		return INITILIASE_DECKS_FAIL;
	}

	return PROCESS_EXIT_NORMAL;
}

If you need to try it out for yourself here is the link to the github repo

 

So after my previous post asking for guidance on where to go, I headed down to the depths. Got pretty good at clearing it and learning the general layout, so I thought I was the sh*t. Then killed the Gaping Dragon first try, which didn't help my ego. I didn't think of getting back to the bonfire before proceeding to Blighttown in my excitement. Long story short, before getting to the first Blighttown bonfire on one of my runs I got cursed and then proceeded to lose all 38k or so of my souls in Blighttown '_'

Sad part is I have the ring that breaks on use but you keep your stuff, I just didn't equip it.

I'll know for next time I guess :)

 

Hey guys, so after a long break due to a mix of building a new PC, exams, work, and a bunch of other stuff I am finally going back to try and complete my first ever Dark Souls 1 playthrough. Problem is, I'm a bit lost on what I was doing. I have a checklist in my note app for each boss I've killed, so maybe someone could guide me on what I should probably be doing based on that:

  • Asylum demon
  • Bell gargoyles
  • Taurus demon
  • Capra demon
  • Moonlight butterfly

These have all been defeated.

Thanks in advance!

 

Hey everyone. A while ago I ordered a keyboard from ebay for my T480, but I failed to notice that the one I got was for the T480s, therefore not compatible with my laptop. In the process of checking it out I lifted one of the connecting tape thingys (idk what theyre called) and some of the black plastic covering on the back of the keyboard ripped a bit. Its completely unused and new otherwise, and just been sitting in its packaging since then.

A few weeks ago I came across a local shop that also has some thinkpad stock, and I'd like to see if they'll buy it off my hands. I want to repair it first though, and the obvious first thought for someone inexperienced like me is to use some kind of glue. I didn't do anything yet, so here I am asking for advice. Would using some kind of super glue cause any issues? If yes, what is a good way to repair it?

1000011164 1000011163

view more: next ›