ETHproductions
@ETHprod
Followers
35
Following
388
Media
4
Statuses
54
College sophomore who loves programming, code golf, making video games, and creating fonts.
Joined October 2017
Having trouble determining whether two numbers a and b are of opposite sign, e.g. 3, -2 or -5, 1.5? Just stop your crying... Math.sign(a * b) == -1 ...it's the sign of the times
2
0
0
Some very useful tips from the master of JS golfing on https://t.co/gYC35Ji2dt, ranging from simple to highly advanced. Definitely worth a read if you're into code golf!
0
0
0
Hey! Slack now allows to create invite links that never expire! Everyone interested by JS code golfing can join https://t.co/zzNoinR00N with this invite: https://t.co/0krAii0V3o πββοΈ
1
3
2
Check out fs psyline, my psychedelic entry to the @FontStruct CounterComp! https://t.co/Sbow3HgWxU
0
0
1
π₯ BigInt brings arbitrary-precision integers to JavaScript! Β With native BigInt support, you can finally forget about inaccurate integer arithmetic and Number.MAX_SAFE_INTEGER overflow. @mathias explains: https://t.co/BBQegaS8lu
7
202
471
Type designers! Now you can submit typography made with @FontStruct to @googlefonts using the OFL. Learn more: https://t.co/O3e3ohh7jt
0
10
39
Unicycle Hero is now available for iOS. Youβre welcome, humanity. https://t.co/Z2cWLEEeA3
#GOTY #MadeInStencyl
8
20
45
TIL: order is an inherit part of information. An unordered set of values costs less than an ordered set (array, string, or the like). Hence why it is possible to store 4 5-bit integers in a single 16-bit integer
0
0
0
Taking this a step further, FizzBuzz without any of "'`(){},~!&*<^_$@#\ or whitespace: [C=console][0][Symbol.hasInstance]=C.log;o=[100];o.valueOf=q=>+[q=o[0]--]?[[q%3?[]:/Fizz/.source]+[q%5?[]:/Buzz/.source]||q][o|0]instanceof[C][0]:0;+o (cc @FakeUnicode)
2
3
4
Just when you thought JS couldn't get any weirder, alert("Hello, world!") without function calls: window[Symbol.hasInstance]=alert; "Hello, world!" instanceof window
1
3
6
Managed to forge a pretty decent tiny ampersand after several hours on @FontStruct, but I have no energy left to make a font out of it... Feel free to steal π
1
0
2
FontStruct introduces curated sets of grid-based modular font designs:
0
4
6