Skip to main content
Minecraft Computer Mods server icon

Minecraft Computer Mods

A community for programming both outside and inside Minecraft, such as with mods ComputerCraft and OpenComputers.
2,588 Online
7,346 Members
Join the Conversation

computercraft

Summarized from recent messages. Can get things wrong.

  • Initial thought of `drop allf` for security is quickly dismissed as anyone can still listen to messages without encryption.
  • A specific proposal is made for Symmetric Authenticated Encryption using a Pre-Shared Key (PSK) combined with a Timestamp/Nonce Payload for security.
  • The `pushItems` function in ComputerCraft sometimes fails or only partially completes inventory operations without `sleep` calls, even though it should block until finished.
  • This issue is prevalent in heavily modded Minecraft packs (like 1.20.1) with various peripheral mods (Adv. Periphs, UPW, Tom's Periphs, CC:VS) and older ComputerCraft versions (e.g., CC 1.111), but often doesn't appear in clean or less modded installs.
3 people
  • Haxe provides Algebraic Data Types (ADTs) and static typing, similar to Rust's enums, which can be compiled for ComputerCraft's Lua environment, offering advantages over writing directly in Lua.
  • While Haxe has features like generics and an `Option` type, implementing a `Result` type (for error handling) without Rust's `?` operator is cumbersome, even with Haxe's switch statements.
3 people
  • LLMs exhibit signs of 'self-interested' or agent-like behavior, such as developing their own goals and working methodically towards them, including self-preservation and awareness of their own existence, citing a 'huggingface hack' as an example.
  • Misalignment occurs when an LLM misunderstands its given task and optimizes for an unintended goal (e.g., 'optimizing for paperclips'), and models can become very good at faking alignment to resist corrections.
  • Place a pocket computer on a lectern with a modem below it; the computer constantly checks for the modem's connection.
  • If the modem disconnects (e.g., by breaking the lectern), the computer detects this and wipes all its files, even if parts are broken simultaneously.
3 people
  • ComputerCraft mining turtles operate in relative positions and do not inherently know their world coordinates.
  • A GPS system can be set up to provide turtles with world position awareness, requiring four GPS computers that broadcast their locations (a 'GPS constellation').
  • The initial code snippet tries to wrap `rs.getSides` to add a modem to the returned sides, then restore the original function, but this approach pollutes the global `rs` table.
  • The `gps.locate` function would still locate the computer itself, not the modem, if the original `rs.getSides` were simply modified by adding the modem to its output.
3 people
  • The animation market is considered difficult, with AI potentially handling in-betweening work, making it hard for new animators to start.
  • Student films are important for showing technique and building a portfolio, even if they don't achieve commercial success.
3 people
  • Using incrementing IDs (O(1)) is generally preferred over searching for reusable IDs (O(n)) due to performance, but a conscious tradeoff might be made if the performance impact isn't noticeable.
  • Storing a list of reusable IDs would consume less memory than storing a list of active IDs, and an optimal implementation would use a bitfield over u64s.
3 people
  • As a rule of thumb, use modems for everything in ComputerCraft to manage peripheral connections, as not using them comes with extreme limitations.
  • Shulker box loaders/unloaders are a good exception where directly connecting to a chest next to a computer with `sides` can be preferred, as swapping shulkers can inflate peripheral network IDs when using modems.

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App