What's the neatest way to convert a BIGINT to binary? I have some ideas but what's the most elegant?
-
Show this thread
-
can do it pretty easily in python but let me expand I ultimately want a string representation of a BIGINT decimal recast to binary eg 257 --> '10000001' but imagine larger powers of 2 much larger 2^(5000)
3 replies 0 retweets 10 likesShow this thread -
Ideally entirely in SQL
5 replies 0 retweets 14 likesShow this thread -
oh right BIGINT is only 64 bits fuck not so clever are you now data engineers I need THOUSANDS of bits
4 replies 0 retweets 13 likesShow this thread -
going to burn months of cpu time thanks to your sloth
2 replies 0 retweets 12 likesShow this thread -
I hate this project so fucking much "yes ill do that that seems like a fun challenge with some space to be clever" soon: python scripts to evade memory limitations with variables copied from a fucking Excel book running at 930p CLEVER CLEVER FUCKING BOY
3 replies 0 retweets 10 likesShow this thread -
oh The script worked incorrectly . . . oh
1 reply 0 retweets 7 likesShow this thread
its fine not my compute costs its FINE
-
-
probably uh should have checked the output tho
1 reply 0 retweets 4 likesShow this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.