[-] Snazz@lemmy.world 9 points 1 week ago* (last edited 1 week 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.

[-] Snazz@lemmy.world 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.

[-] Snazz@lemmy.world 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.

[-] Snazz@lemmy.world 3 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.

[-] Snazz@lemmy.world 9 points 5 months ago

Its pretty clear that Mark and Micheal Reeves don’t focus as much on design and iteration so much as the ideas behind their creations. The content formula for their videos is different from the other youtube creators you mentioned. If that style of video isn’t your cup of tea, thats ok.

As for the inventions themselves, I have to disagree. I think some of Mark’s creations are fairly well designed, such as the later versions of the glitter bombs.

[-] Snazz@lemmy.world 4 points 5 months ago

I believe it. A friend of mine raised the price of his game from free to $2 with a big update, and still kept the download for the older version free. He got all sorts of backlash, even death threats. These people are children.

[-] Snazz@lemmy.world 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.)

[-] Snazz@lemmy.world 10 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.

[-] Snazz@lemmy.world 18 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.

[-] Snazz@lemmy.world 5 points 9 months ago

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

[-] Snazz@lemmy.world 24 points 11 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

[-] Snazz@lemmy.world 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