sentient_loom

joined 2 years ago
[–] sentient_loom 4 points 11 hours ago* (last edited 11 hours ago)

Why are they discriminating against my location???

EDIT:

Also, today I learned there are Swedish rappers.

[–] sentient_loom 4 points 11 hours ago (2 children)

I have a solution: spin up a dozen nuclear power plants to fuel AI to solve the problem. If there's not enough nuclear, just burn coal.

[–] sentient_loom 13 points 11 hours ago (1 children)

That's a small price to pay for having no healthcare and a shorter lifespan than those in poorer Western countries.

[–] sentient_loom -1 points 1 day ago
[–] sentient_loom 1 points 1 day ago

I still don't know.

[–] sentient_loom 10 points 2 days ago* (last edited 2 days ago) (5 children)

What is the UK OSB?

edit: Online Safety Act

[–] sentient_loom 2 points 3 days ago

I'm actually leaning toward this. I might have a class that holds a large unordered_map with a string key, where the value is actually a function which calls a constructor loaded with the defining data (a function so that I can create the map in an object or function without creating ALL the objects every time).

Still, creating a huge unordered_map every time I just need one (or ten) items seems bulky. But there will be five maps, each with their own native items, so maybe I can break it up that way.

I'm also concerned about using magic strings to access values. I wonder if I should make another unordered_map just to hold string values (something like ["BASTARD_SWORD"] = "bastard_sword") so that I never write the string, I just write... the string to access the string... maybe silly and bulky.

[–] sentient_loom 48 points 4 days ago (2 children)
  1. Take a picture of the original text with your phone at an angle.
  2. Email the crooked image to yourself.
  3. Copy the rotated text from the crooked image into the destination image.
[–] sentient_loom 2 points 4 days ago

I totally agree. The books are a philosophical statement.

[–] sentient_loom 2 points 4 days ago (2 children)

I also love how he embodies a certain attitude toward life, which is not really captured in the movies. He's defined by abundant strength and ability and ambition, rather than revenge. Conan in the books loves life (in his own barbaric way).

[–] sentient_loom 15 points 4 days ago (1 children)

I think it's also appropriate here, and I appreciate seeing the question (and possible answers) here.

[–] sentient_loom 2 points 4 days ago (4 children)

Oh man, those books are so much better than the movies. Such an impressive character.

 

I'm making an RPG in C++ and the items (loot/gear) will have immutable base versions, but then the player can get instantiations of them which can change with use and modification. These mutable instantiations will be saved in the DB. But I'm wondering if the base versions should be defined in JSON, or a separate DB (with the same schema), or maybe the same DB (seems dangerous), or if I should just hardcode them in C++ in the ItemFactory.

How have you approached this problem in your games? How do game engines do it? I'm using SDL2 so I'm doing most of these systems from scratch.

14
Why I’m learning C++ (oldmoney.pattmayne.com)
 

I'm a decent developer, but with only a couple years' professional experience and no formal training. I'm looking for open source projects to contribute to (ideally pick one or two and get dedicated to them).

I'm open to small or large projects.

I'm using this as my source of options:

https://fediverse.party/en/miscellaneous/

But I'm curious if there are other ones, or if you all have ideas about which ones are needing and deserving help.

Thanks!

 
 
 
322
My favorite scene (sh.itjust.works)
 
 
 

These mint and banana low profile optical switches are the perfect switches. They're almost clicky, early tactile bump, and they sound and feel so good. There are no other switches like them (that I've found). But they never seem to be available in the stores anymore.

Maybe the Gateron ones are as good?

27
TERRANOMICON (terranomicon.com)
submitted 1 month ago* (last edited 1 month ago) by sentient_loom to c/[email protected]
 

Two soldiers declare a fight to the death, and give each other a year to plan. One starts a mercenary troupe, the other starts a domestic terrorism cell.

Meanwhile, a paralyzed billionaire invents robot bodies and becomes a cyborg. He tries to share this technology with disabled people everywhere, but instead his tech becomes a global arms race between those two soldiers.

https://terranomicon.com

 

A review of this amazing philosophy of science book on the omnipresence of intelligence and life.

 

How is the best way to get started building apps in the fediverse?

view more: next ›