Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Rylik

@Rylik@mastodon.social
mastodon 4.8.0-nightly.2026-10-06
  • Open on mastodon.social
0 Followers
0 Following
6 Posts
Joined January 29, 2025
Open post
Rylik @Rylik@mastodon.social
· 5mo ago
Replying to
@bagder This makes all the Rust people get in the comments like the Spanish Inquisition.
2
0
0
0
Open post
Rylik @Rylik@mastodon.social
· 5mo ago
Replying to
@bagder It’s not just better —it’s *ahead of its time* (I don’t know where the rocket emoji is)
1
0
0
0
Open post
Rylik @Rylik@mastodon.social
· 5mo ago
Replying to
@andrewrk We need checkmarks for “Human-made” content or something like that.
0
2
0
0
Open post
Rylik @Rylik@mastodon.social
· 5mo ago
Replying to
@andrewrk Spending time reading something someone didn’t spend time writing leave a bad taste. Unfortunately, nowadays I always have to question if even comments that I read and reply to are LLMs or not ( I know on this website they probably aren’t, hopefully).
0
0
0
0
Open post
Rylik @Rylik@mastodon.social
· 17mo ago

Been inspired by @lemire@mastodon.social and started to practice some more bit ops (python code from phone ).

labels = ["{}","Buzz", "Fizz","FizzBuzz"]

for i in range(1, 101):
dv3 = int(i % 3 == 0)
dv5 = int(i % 5 == 0)
sel = (dv3 << 1) | dv5
print(labels[sel].format(i))

Reasoning (pretty obv)
div 3 T
(1<<1)|0 = 2 (idx for Fizz)
div5 T
(0<<1)|1 = 1 (idx for Buzz)
both T
(1<<1)|1 = 3 (Idx for FizzBuzz)
both F = (0<<1) | 0 = 0 ( print count of i)
Branchless FizzBuzz. Easily scalable lol.

0
0
0
0
Open post
Rylik @Rylik@mastodon.social
· 17mo ago

My fav chptrs are: Data Norm., Exist. Process. and FSM. I started prefixing my functions based on this table here, which makes it very easy to track bugs(the prefix alone makes me more aware ). There are some funny “philosophical” questions that arrive doing this, and I wonder what @fabs@mastodon.gamedev.place answer would be. Would an init func be a mutating func or a gen func. You could argue that uninited space is muted on initialisation, but that’s usually not thought of as a mutation.

0
1
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 12:21:19 UTC