Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Rylik

@Rylik@mastodon.social
mastodon 4.7.0-beta.1
  • Open on mastodon.social
0 Followers
0 Following
7 Posts
Joined January 29, 2025

Posts

Open post
Rylik
Rylik @Rylik@mastodon.social · Apr 24, 2026
Rylik
@Rylik@mastodon.social
mastodon.social
Replying to @bagder@mastodon.social
@bagder This makes all the Rust people get in the comments like the Spanish Inquisition.
2
0
0
0
Open post
Rylik
Rylik @Rylik@mastodon.social · Apr 24, 2026
Rylik
@Rylik@mastodon.social
mastodon.social
Replying to @tdelmas@mamot.fr
@tdelmas @bagder Sure, and any language other than C was a waste of time, cuz you could’ve just spent that time writing better C.
0
0
0
0
Open post
Rylik
Rylik @Rylik@mastodon.social · Apr 18, 2026
Rylik
@Rylik@mastodon.social
mastodon.social
Replying to @andrewrk@mastodon.social
@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 @Rylik@mastodon.social · Apr 18, 2026
Rylik
@Rylik@mastodon.social
mastodon.social
Replying to @andrewrk@mastodon.social
@andrewrk We need checkmarks for “Human-made” content or something like that.
0
1
0
0
Open post
Rylik
Rylik @Rylik@mastodon.social · Apr 18, 2026
Rylik
@Rylik@mastodon.social
mastodon.social
Replying to @bagder@mastodon.social
@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 @Rylik@mastodon.social · Apr 24, 2025
Rylik
@Rylik@mastodon.social
mastodon.social

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 @Rylik@mastodon.social · Apr 21, 2025
Rylik
@Rylik@mastodon.social
mastodon.social

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

Remote instance

mastodon.social
Open on original server

Media

313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

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: 11:33:40 UTC