Skip to content

Instantly share code, notes, and snippets.

View IS2511's full-sized avatar
๐Ÿฆ€
Rustifying

Ivan Sotnikov IS2511

๐Ÿฆ€
Rustifying
View GitHub Profile
@SpaceWalkerRS
SpaceWalkerRS / 24w33a-redstone-experiments.md
Last active September 4, 2024 17:56
A look into the experimental redstone changes in 24w33a.

24w33a Redstone Experiments

24w33a introduces new experimental changes to redstone dust, aiming to fix some of the long standing issues with it, like the lag it causes and the unintuitive and unreliable way in which it updates.

The problems with redstone dust

The problems with redstone dust stem from its naive implementation. When a wire is updated, it checks what signal it receives from surrounding blocks. If that is different from its current signal strength, it updates it and then notifies neighboring blocks. This implementation is fine for individual wires, but when multiple wires are connected, its flaws become apparent: the wires power each other, but the signal degrades over distance. Thus when you remove the power source from a line of wires, the signal will die out completely. However, any individual wire does not have this context. It will only decrease its signal strength to match what it receives from neighboring wires, and that will repeat until all wires have depowered completely. This r

@dpoulopoulos
dpoulopoulos / nlsh.py
Last active May 20, 2024 04:45
OpenAI natural language shell example.
prompt = """
Input: Print the current directory
Output: pwd
Input: List files
Output: ls -l
Input: Change directory to /tmp
Output: cd /tmp
@Fingercomp
Fingercomp / 00-sound-card-toc.md
Last active March 3, 2025 08:03
Guide to the Sound Card
@matthewzring
matthewzring / markdown-text-101.md
Last active July 14, 2025 18:28
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers: