artlu 🎩
@artlu
look ma, I just invented a new, improved encoding method "Sonyflake62", more suitable for social sharing than what those nerds at Twitter invented first. me, asking my good friend C: is sonyflake62 a known concept? or have we invented it just now C: Sonyflake62 is not a standard or widely known concept - it's a combination of two established concepts that we've put together: Sonyflake - This is a known ID generation algorithm created by Sony, similar to Twitter's Snowflake. It's designed to generate 64-bit IDs that are: Time-sortable Distributed-friendly Guaranteed unique Base62 encoding - This is a standard encoding method that converts numbers to a URL-safe string using 62 characters (0-9, A-Z, a-z). What we've done is: Taken the Sonyflake algorithm Added our own base62 encoding implementation Combined them into a single utility The name "sonyflake62" is our own creation to describe this specific implementation.
3 replies
1 recast
11 reactions
chun
@zkchun.eth
idk what u just said but it sounds awesome.
1 reply
0 recast
2 reactions
artlu 🎩
@artlu
it is! 🤓 I had assumed this space was optimized to death by billion dollar corporations, but discovered a minor tweak (while faffing around) which makes things much better. ~40% cost savings, while preserving all the benefits. It seems so obvious. Twitter's gonna change to this method, once someone over there sees it.
0 reply
0 recast
2 reactions