What's the neatest way to convert a BIGINT to binary? I have some ideas but what's the most elegant?
-
-
-
oh right BIGINT is only 64 bits fuck not so clever are you now data engineers I need THOUSANDS of bits
Show 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
Show this thread -
-
-
New conversation -
-
-
This Tweet is unavailable.
-
v helpful!!!!!!!!!!
- Show replies
-
-
-
huh ''.join(reversed('1' if n >> i % 2 else '0' for i in range(ceil(log(n)/log(2))))) or something? (sql probably less good at oneliners than python is)
-
Yes extremely I just pull and postprocess shit like that
End of conversation
New conversation -
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.