GlockenGold

u/GlockenGold@lemmy.world
0 posts · 20 comments

Recent posts

No posts.

Recent comments

A header file in the C family of programming languages contains the declarations for each function that gets defined in the accompanying code file. Ideally, the header file should only contain import statements, some basic definitions, and function declarations. It should not contain any actual executable code.

A header file basically exists to tell the compiler "hey, these functions exist in this file, don't freak out if it gets called before you see its definition." Without the header file, you'd need to write the declarations at the beginning of the code file (in the header, hence the name).

"First they came for the socialists, and I did not speak out— Because I was not a socialist.

Then they came for the trade unionists, and I did not speak out— Because I was not a trade unionist.

Then they came for the Jews, and I did not speak out— Because I was not a Jew.

Then they came for me—and there was no one left to speak for me."

-Martin Niemöller, 1952

Obviously banning porn games isn't comparable to the holocaust, but the principle of defiance is the same. If we don't want credit card companies to ban stuff we like, then we should also oppose them when they ban stuff we don't care about.

on *Permanently Deleted* · c/Technology · 2 pts · 1y

Sure, but then you're liable for the damages caused by deleting the database. I don't know about you, but I'd much rather watch these billion dollar companies spend millions on an AI product that then wipes their databases causing several more millions in damages, with the AI techbros having to pay for it all.

All of them indirectly kill people. It's impossible to be a billionaire and a moral person, as a moral person would spend that wealth to improve the lives of others. You can say that "oh but this billionaire runs a charity!", but how much of their own wealth do they give to it? Would a moral billionaire rely on the money of others to make change in the world? Would they still be a billionaire if they truly wanted change?

on *Permanently Deleted* · c/aww · 30 pts · 1y

Downvoting this out of principle. Do not ever let your cats rest in laundry machines. I cannot stress enough that a simple mistake will kill or at best brutally injure your cats if you accidentally run the machine with them in it.

on Automation saves the day · c/funny · 27 pts · 2y

Nah, it's even better. "When heart rate falls, bellow 5"

Having a relaxing moment? 5!

Falling asleep? 5!

Relaxing after a stressful moment? 5! Etc.

on Before / after graffiti · c/funny · 87 pts · 2y

My home town in Sweden has started commissioning artists to paint murals like those in the top image on a lot of otherwise boring and ugly buildings, and I couldn't be more proud. Really makes the town beautiful and unique.

I don't think the headline is that bad. The Swedish military has known that Russia is the only real threat since before the Cold War. In the late 90s early 2000s when the government decided to remove conscription and cut spending, the military intelligence was warning that Russia was just ramping up to continue aggression, and have continued to argue the same point ever since. Our military has been specifically tailored to counter Russian aggression during this entire time period, with the goal to wear them down as much as possible using guerrilla warfare until foreign reinforcements arrive. SVT (Swedish state television) has a documentary about this, titled "Om kriget kommer", which goes into detail about how the response to Russian aggression would work.

on Apps? · c/main · 2 pts · 3y

If you used Sync for Reddit, there's a Sync for Lemmy in development. Personally I'm using Jerboa untill Sync is ready

on what are you itching to run? · c/rpg · 2 pts · 3y

There are a few that stand out. I'd like to try Never Going Home and Imperium Maledictum at some point, and I'm really excited to play Cities Without Number when that's done.