[-] [email protected] 9 points 4 days ago* (last edited 4 days ago)

Think of it like a 0-indexed array: [a, b, c, d]

a is at position 0, b is at position 1…

This array has 4 elements despite the last element only being at index position 3.

A ‘2-story’ home would be a house with 2 different elevations:

[elevation a, elevation b]

If you want to refer to a specific floor, you need to use the index, which is 0/ground for elevation a, and 1/first floor for elevation b.

[-] [email protected] 13 points 2 months ago

Tell me you’ve never visited a public library without telling me you’ve never visited a public library. https://www.bklynlibrary.org/books-unbanned

[-] [email protected] 9 points 2 months ago* (last edited 2 months ago)

If voters were uninformed, they wouldn’t have left or right bias. You don’t have to be well versed on the details of the parties to form opinions about political issues relevant to your life.

[-] [email protected] 6 points 2 months ago

Prism Launcher was forked from PolyMC due to a sequence of actions by Lenny McLennington on the 17th of October, 2022. Lenny made several politically charged changes to the PolyMC GitHub repository and organization to remove those supporting "left-wing ideologies". In a commit, Lenny removed the PolyMC Code of Conduct, which outlined and prohibited discrimination against the LGBTQIA+ community and subsequently removed all maintainers. The commit and subsequent mass purge of maintainers were done without prior warning or discussion with the rest of the PolyMC team; the incident can be considered a hostile takeover.

[-] [email protected] 5 points 2 months ago

I feel like faith provides a disproportionate of comfort compared to guidance. People take the parts of religion they agree with, and discard the rest. I actually think this is good practice, but it becomes an issue when they use the affirmation of the broader religion to justify their actions.

A moral compass is something you have to find for yourself, and acknowledge that it is not backed up or justified by any other entity than yourself.

For me, I’ve found a good starting point is the TST tenets. Compared to the 10 commandments, they are much more broad. I can use them as a lens to analyze a variety of different situations and organize my thoughts and feelings.

But that doesn’t mean that I use TST to justify my actions, the tenets are my tools of introspection. Heck, the 7th tenet even acknowledges that the tenets are only guiding principles and seems to encourage finding your own morals.

[-] [email protected] 4 points 4 months ago

Using two or more adjectives doesn’t imply conflation.

The sentence “You can have a regular apple or a big green apple” doesn’t imply that green apples are big, or that big apples are green. It also doesn’t imply that big green apples are irregular outside of this local phrasing context.

It just implies that the set of ‘regular apples’ being referenced does not include the instance of ‘a big green apple’

I can see where the confusion is coming from, this is tricky to explain clearly.

[-] [email protected] 4 points 5 months ago

Unity actually gives any class with the name GameManager a special gear icon. You cant just forgo the cool gear icon!

(Its not too terrible from an organizational standpoint because most of the scripts are attached to game objects. MonoBehavior is a component of GameObject. For instance, you’d never have player movement in the GameManager class, you would put it in the component class attached to the player character GameObject.)

[-] [email protected] 9 points 7 months ago

What if you had piece of ice with an air cavity where the Mentos is placed, then sealed in? I think that might work, bit it’s certainly tricky to set up.

[-] [email protected] 19 points 9 months ago

I occasionally use semicolons. They can help with parsing; finding a semicolon instead of a period may signify that the next expression is a continuation and expansion of the previous statement.

[-] [email protected] 5 points 9 months ago

You guys are talking about two different things. Random integer vs random float

[-] [email protected] 24 points 10 months ago

Bit hacker 2 is really fascinating. It uses a bit mask of all 1s (-1) or all 0s (0) and takes advantage of the fact that y ^ (x ^ y) = x and y ^ 0 = y

[-] [email protected] 5 points 1 year ago

Open Hexagon is pretty good if you enjoy music reaction/arcade games. It’s an open source successor of Super Hexagon with several community made level packs. The only flaw is the steep learning curve of the gameplay.

view more: next ›

Snazz

joined 1 year ago