
CLI Blackjack (21) written in C as practice. Contribute to promitheas17j/blackjack development by creating an account on GitHub.

I made the icy-nord and icy-nord-darker themes.
@promitheas:matrix.org
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.
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
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.
Skyrim for under 4 euro (iirc) in 2012 in a christmas sale.
No worries, fair mistake :)
Thats github though, not git itself
"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
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)
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.
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.
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
Ive been looking for something like this for a while. Ill need to try it out
Ah, a man of culture
To add to your analogy if i may, the firewall is kind of like a security guard or doorman at the building entrance. All mail has to go through him first and if something is addressed to a closed flat (port) he simply doesnt let it get delivered.
Depressing but thanks for the help :/
This is sad, but thanks for the insight
It shows the message too
If i dont consent though they cant sell my data to ad companies, right?
Yeap makes sense. Status page sounds like a good idea
I have a github repo with two themes based on nord. Check it out if you like and I would love any feedback!
Deleting facebook account without consenting to new EU ad policy or paying the subscription
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
Blackjack game as a learning experience - Request for suggestions, ways to make it better, advice etc...
CLI Blackjack (21) written in C as practice. Contribute to promitheas17j/blackjack development by creating an account on GitHub.
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 dynamical
Server down earlier. Thoughts on having some form of "backchannel" communications?
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!
eviltoast.org Spammers
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?
GMMK Tenkeyless Gateron Brown - Customise RGB
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
Motorbike Racing Live Streaming - How to find streams?
Hello everyone! Summer is coming soon which means the Isle of Man TT and in addition to that the other major event that interests me is the MotoGP which has already started. I would like to watch these live, but I can't find any streams for the life of me by the usual methods (search engine, piracy streaming sites).
How does one find such streams normally? There must be someone pirating them and broadcasting live on the internet, right?
Thanks in advance!!!
Blackjack game - array has 0s in first 24 elements immediately after initialising with values from 1 to 13
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 va
Lemmy devs AMA thread
This will take place ~24 hours from now. Feel free to post and upvote questions beforehand in this post, as it will turn into the AMA tomorrow. TimeZone Converter Link [https://dateful.com/time-zone-converter?t=3pm&tz2=Central-European-Daylight-Time-CEDT] This is a chance for any users, admins, or d...
Going back to my first playthrough after a long time, what do?
Going back to my first playthrough after a long time, what do?
How to plant bell peppers from store bought peppers
I got stardew valley this christmas in the steam sale and I've not been doing much else other than playing it 😅 Anyway, it remotivated me to start growing stuff. Today I'll start with some bell peppers
Happy New Year Everyone!
Happy new year to everyone! May it be filled with happiness and good health for you and your loved ones :)
Linode Alternative Suggestions for Small Projects
Hello everyone. I just tried to create an account with linode and got the automated cancellation email due to fraud, which left a bad taste in my mouth about the company before I even had the chance to get started.
So I am looking for alternatives that won't break the bank, have linux options, and are fairly easy to use once you get up and running. I dont need to do anything complex, just host my small hobby projects that I'm hacking away at. I don't have anything ready now, but I thought that with new years and all that it might be a good time to snag some deals.
Do you guys know of anything that fits? Thanks!
Edit: Decided to go with Oracle's Always Free option, as at this time being a student (i.e. poor) and just wanting to mess around and learn I can't justify going with a non-free option when a free on is available. I am however stuck on the part where I need to create my instance. I'm getting the out of capacity error, which after reading up on means there aren't available res
Associate Discord Server Invite Links With Discord Through xdg commands
Whenever I click a server invite link in my browser for example, I get the xdg-open popup window which in turn opens my browser with a link in the following format:
discord:///invite-proxy/some numbers
I'm relatively familiar with xdg-mime commands, but I'm not sure what the "filetype" I should be associating with my discord.desktop file should be. Anyone that can help?
Thanks
Im seeing a lot of these posts so heres mine
I've been seeing a few of this type of post, so I decided to share mine. Now, you might be wondering "why the heck is this guy posting his steam playtime chart in a Linux gaming community, when most of it is windows?"
Well, that's because Linux is part of the chart. Last year it wasn't. Just like all previous years. However this year, even if late in the year, I have playtime on Linux.
About half a year ago I built my first PC with Linux in mind from before getting the parts (first time I knew I'd be using predominantly Linux from the start). I still have my windows disk because I haven't got round to moving all the files from there yet, so its still formatted as NTFS and just mounted so I have easy access. I havent booted it since building the PC. I havent needed to. Sure I cant play Destiny 2 or Apex for example, but ehh. Never really played Apex much before anyway, and I'll live without destiny 2.
Heres to 2024 being 100% penguin, or at least being far more than windows 🍻
Status of Threads federation/blocking
What is our instance's status with regards to threads? Is there a simple way for a non-owner/admin to check such things for their respective instance?
Can not for the life of me get WoW working with Lutris
Hello guys.
I am trying to play vanilla wow using private servers with lutris, and can't get anything to work properly.
I stumbled across this post which has people discussing this topic, but interestingly there is a link to github docs.
I follow the instructions in both this and this but even so, when I go through Lutris to add a game and select to search website for installers, then search for battle.net and follow the installation steps I get the error below:
undefined
lutris-wrapper: /home/mart/.local/share/lutris/runtime/winetricks/winetricks Started initial process 513661 from /home/mart/.local/share/lutris/runtime/winetricks/winetricks --unattended arial Start monitoring process. ------------------------------------------------------ warning: You are usi
Meta payment message
So I got the message from instagram about either paying or using it free (at the cost personalised ads) just now.
Doesn't this go against the GDPR? Either way, is there a FOSS alternative for instagram like piped is to youtube? It seems like a good opportunity to stop using the official app, even though it would be better to not use instagram at all (sadly not an option for me right now).
Any suggestions, and if so, are there any that provide functionality for: stories, posts, dms? Those are the 3 things I use instagram for.
Many thanks!
Edit: For messaging I do use beeper, though some media like carousels and posts sent to my dms cant be shown in there, so for those cases I open the official app.
Edit 2: many people have suggested pixelfed. Ive heard of it, and want to use it, but unfortunately the only reason Im still sticking with instagram is because I have very dear friends who wo
My Posts is empty in my profile, and empty posts on the community I created and moderate
Is anyone else experiencing this? The posts section in my profile appears empty, as well as the community I moderate showing no posts. Ive checked this from Jerboa, Eternity, and browser on desktop and mobile. If I view my profile or the community while not logged in to my account everything shows up normally.
Posts on my profile:
Community posts: