No class, no content, no background, no ID, no style
4.734 Tweets 2.060 Followers 12 Followings 0 Likes
Login to Follow Direct Message Mute Block
Does anything rhyme with "Linux", asking for a friend
1 days ago
Twitter Web Client
0 Retweets 7 Likes
@LimeHunter7 But which is better?
1 days, 4 hours ago
0 Retweets 2 Likes
The Terminator theme is meant to go
1 days, 5 hours ago
1 Retweets 2 Likes
The great thing about Git is that it's decentralised [GitHub goes down] oh no
3 days, 13 hours ago
39 Retweets 61 Likes
3 days, 22 hours ago
0 Retweets 0 Likes
@tef_ebooks How do you respond to allegations that you're "a responsible developer aware of security best-practices"
4 days, 4 hours ago
After Jesse Pinkman escaped he found a career in computer science
3 Retweets 17 Likes
A good pull request
4 days, 9 hours ago
3 Retweets 21 Likes
Wanna bet the tenth and final Fast & Furious film will be called "The Last Of The Furious"
4 days, 14 hours ago
0 Retweets 4 Likes
@SamirTalwar I know of no environment where the `NaN` global is missing, but I suspect that it, like `undefined`, m…
5 days, 1 hours ago
@hierarchon More importantly, disallowing control flow guarantees that the evaluation of any expression will termin…
I call this task: FLOAT GOLF
But I think we can do quite a lot better than that!
0 Retweets 1 Likes
In the worst case, we systematically test every expression with fewer characters than the decimal representation (24 characters at worst)
Finding the shortest expression which evaluates to a given float is basically a problem of Kolmogorov complexity (I could be wrong)
This seems to be a pretty challenging problem even if you assume no usage or declaration of functions in the available space
`.1+.2` is shorter than `0.30000000000000004` but, starting from the latter, how in the WORLD would you get the former?
And it turns out the number crunching to determine the shortest possible expression of an arbitrary float is deep and complicated
`1<<17` is shorter than `131072`. `~99` is shorter than `-100`. `1e9-7` is shorter than `999999993`. But when is such a substitution safe?
It also replaced `NaN` with `0/0`, turning `x/NaN` (always `NaN`) into `x/0/0` (`Infinity`, `-Infinity`, `NaN`) and SAVING NO CHARACTERS
0 Retweets 3 Likes