Wow, thanks @aemkei & @subzey!
Here it is, with all your ideas and a few others: 189b!
Did I miss something?
http://xem.github.io/prettycode/new.html …
cc/ @p01
-
-
Replying to @MaximeEuziere
@aemkei@subzey@p01 in fact, the feature that's missing here is that it doesn't avoid cutting the operators && || ++ >> << ... fix anyone?1 reply 0 retweets 0 likes -
Replying to @MaximeEuziere
@aemkei@subzey naively, i'd say something like that: /^.(.{n}(?![&|<>]{2})(\\W=|.\\b.))*.{2,n}$/ but I'm not sure at all if it's ok ^^"1 reply 0 retweets 0 likes -
Replying to @MaximeEuziere
@MaximeEuziere@aemkei Got prettycode down to 169b https://github.com/xem/prettycode/pull/4 … Please review, I'm not completely sure I can push it directly1 reply 0 retweets 0 likes -
Replying to @MaximeEuziere
@subzey@aemkei it took me a while to understand the code, but... yep. It's perfect. Congrats!#datregex1 reply 0 retweets 1 like -
Replying to @MaximeEuziere
document.write(unescape(escape('🁩𫡰𭑴𘁯𫡩𫡰𭑴

𘠻𩡯𬠨𪐽
𭠺𭠽𭡡𫁵𩐮𬡥𬁬𨑣𩐨𤡥𩱅𮁰𘠫𪐫𘡽
𧁜𥰽𧁜𠠮𛀢𩰢𩡵𫡣𭁩𫱮𛁬𫐦
𫀻𬡥𭁵𬡮𘡜𫠢𩑸𭁃𫱮𭁥𫡴
🠼𬁲𩐠𪑤
🠠').replace(/uD./g,'')))2 replies 0 retweets 2 likes -
Replying to @MaximeEuziere
@MaximeEuziere 140 chars, 395 bytes (in UTF-8): http://mothereff.in/byte-counter#document.write%28unescape%28escape%28%27%F0%9F%81%A9%F0%AB%A1%B0%F0%AD%91%B4%F0%98%81%AF%F0%AB%A1%A9%F0%AB%A1%B0%F0%AD%91%B4%F0%9F%91%A8%F0%9F%90%A2%F0%98%A0%BB%F0%A9%A1%AF%F0%AC%A0%A8%F0%AA%90%BD%F0%9E%90%B9%F0%9E%B1%AD%F0%9F%90%AD%F0%9B%91%A9%F0%9E%B1%AD%F0%9F%B1%A8%F0%9A%B0%BD%F0%AD%A0%BA%F0%9C%80%A9%F0%AD%A0%BD%F0%AD%A1%A1%F0%AB%81%B5%F0%A9%90%AE%F0%AC%A1%A5%F0%AC%81%AC%F0%A8%91%A3%F0%A9%90%A8%F0%A4%A1%A5%F0%A9%B1%85%F0%AE%81%B0%F0%9A%80%A2%F0%9B%A1%BB%F0%98%A0%AB%F0%AA%90%AB%F0%98%A1%BD%F0%9A%80%BF%F0%9F%90%A8%F0%A7%81%9C%F0%A5%B0%BD%F0%AF%80%AE%F0%A7%81%9C%F0%A0%A0%AE%F0%AF%80%AE%F0%9B%A0%A4%F0%9A%90%BF%F0%9A%90%AE%F0%AF%80%AE%F0%9A%A0%A2%F0%9B%80%A2%F0%A9%B0%A2%F0%9A%90%AC%F0%A9%A1%B5%F0%AB%A1%A3%F0%AD%81%A9%F0%AB%B1%AE%F0%9A%81%B6%F0%9B%81%AC%F0%9A%91%BB%F0%AB%90%A6%F0%9F%90%A1%F0%AB%80%BB%F0%AC%A1%A5%F0%AD%81%B5%F0%AC%A1%AE%F0%98%A1%9C%F0%AB%A0%A2%F0%9A%B1%B6%F0%AF%90%A9%F0%9E%B1%B0%F0%9B%A1%B4%F0%A9%91%B8%F0%AD%81%83%F0%AB%B1%AE%F0%AD%81%A5%F0%AB%A1%B4%F0%9F%91%A8%F0%9F%A0%BC%F0%AC%81%B2%F0%A9%90%A0%F0%AA%91%A4%F0%9F%91%B0%F0%9F%A0%A0%27%29.replace%28%2FuD.%2Fg%2C%27%27%29%29%29 … Impressive!2 replies 2 retweets 0 likes -
Replying to @mathias
@mathias The document.write black magic is just a way to encode stuff to fit in a tweet. The real code is 169 bytes /cc@maximeeuziere1 reply 0 retweets 1 like
@p01 Yeah, that’s what I meant: even the tweet is a neat trick (there even happen to be some emoji in there). Cool stuff! +@MaximeEuziere
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.