Skip to content

Instantly share code, notes, and snippets.

View GoryMoon's full-sized avatar

Gustaf Järgren GoryMoon

  • Gothenburg, Sweden
  • 02:13 (UTC +02:00)
View GitHub Profile
@GoryMoon
GoryMoon / falsehoods-programming-time-list.md
Created February 29, 2024 10:38 — forked from timvisee/falsehoods-programming-time-list.md
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@GoryMoon
GoryMoon / falsehoods-programming-time-list.md
Created February 29, 2024 10:38 — forked from timvisee/falsehoods-programming-time-list.md
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@GoryMoon
GoryMoon / toolsystem.md
Created February 2, 2022 16:56 — forked from gigaherz/toolsystem.md
Explanation of the new tool system

So... You have updated to latest forge and harvestTool, harvestLevel, ToolType, ... are all gone. AAA PANIC!

Here's how to fix it:

Blocks

First, Remove the harvestTool and harvestLevel calls from the block properties.

Then, add the blocks to the relevant tags. You can use datagen, or make the jsons yourself. Datagen is more future-proof.