HNHacker News
TopNewBestAskShowJobs

xem

421 karma · joined December 5, 2013

js code golfer
submissionscomments
xem··on A game whose source code fits in one tweet
yay, I wrote an article about that!

http://xem.github.io/articles/#implicitgetelementbyid_en

Cheers :)

xem··on A game whose source code fits in one tweet
Cool! some suggestions:

- show it on http://www.reddit.com/r/tinycode/

- if you aim for low character count instead of low byte count, you can pass your code through my unicide packer here: http://xem.github.io/obfuscatweet/

- Golf your code even more (using the tips of the other comments), and use all the remaining chars to add features to your game and fill the 140 chars of a tweet :)

Cheers

xem··on Ask HN: Where can I find coding puzzles that require “out of the box” thinking?
codegolf.stackexchange.com
xem··on Show HN: Web Spreadsheet in 99 lines
oh, awesome. It's always a pleasure to find that the golfing we do inspires other people to do other projects ;)
xem··on Show HN: Web Spreadsheet in 99 lines
you're right, the 210b version can be run from the JS console. The 227b is a... standalone app.
xem··on Show HN: Web Spreadsheet in 99 lines
99 LINES? That's huge. How about this one in 227 characters? http://xem.github.io/sheet/ :)
xem··on RawGit serves raw files directly from GitHub with proper Content-Type header
the real question is, why Github doesn't do this directly?
xem··on A JavaScript minifier that reduces your (minified/packed) JS files by ~10%
In fact, it converts ascii characters into "extended ascii" characters. So the bytes count is correct.

If you're interested in pack-to-unicode, I did it too: https://gist.github.com/xem/7086007

xem··on An HTML/CSS/JS code editor in 230+ bytes
Now it's 161+
xem··on A HTML/CSS/JS editor that fits in a tweet (140 chars)
This is the final iteration of the code golfing game started last thursday, aiming to create a Codepen/JSfiddle/JSbin clone in less than 256 bytes:

https://news.ycombinator.com/item?id=6860642

This one fits in a single tweet!

xem··on An HTML/CSS/JS code editor in 230+ bytes
now, it IS tweetable!
xem··on An HTML/CSS/JS code editor in 230+ bytes
Guys, the editor is almost tweetable! (143 characters)

http://xem.github.io/miniCodeEditor/tweet.html

xem··on An HTML/CSS/JS code editor in 230+ bytes
Now it's 176+
xem··on An HTML/CSS/JS code editor in 230+ bytes
Hi, the counter dropped to 185+ bytes. The project's homepage was reworked too: http://xem.github.io/miniCodeEditor/ Thank you all!
xem··on An HTML/CSS/JS code editor in 230+ bytes
Thanks for your help! You shoud join us on Github, and discuss this subject here: https://github.com/xem/miniCodeEditor/issues/6
xem··on An HTML/CSS/JS code editor in 230+ bytes
That's very nice too!
xem··on An HTML/CSS/JS code editor in 230+ bytes
You know, thare's already a save function: you can write stuff in the cross-browser editor and save it on your desktop as a standalone HTML page (Ctrl-S / File > "Save as...")

http://xem.github.io/miniCodeEditor/editor.html

I recommend you to use Firefox: it will keep the code in the textareas. Chrome will only save the iframe's content.

;)

xem··on An HTML/CSS/JS code editor in 230+ bytes
Added in the homepage ;)
xem··on An HTML/CSS/JS code editor in 230+ bytes
Thanks for this hommage :D

This user interface is very nice, bravo!

In your JS, you can replace html["value"], css["value"] and js["value"] with html.value, css.value and js.value

xem··on An HTML/CSS/JS code editor in 230+ bytes
I like this idea!

Feel free to fork miniCodeEditor and add this kind of features :)

xem··on An HTML/CSS/JS code editor in 230+ bytes
Thanks for mentioning this!

I also thought of this approach this morning, but didn't mention it because I thought people would just add the editor in their bookmarks.

xem··on An HTML/CSS/JS code editor in 230+ bytes
Cool! But your "get css" button doesn't work
xem··on An HTML/CSS/JS code editor in 230+ bytes
==========

Wow! This topic is successful!

You can also take a look at this 512b project that didn't live long on HN yesterday:

A minesweeper game https://news.ycombinator.com/item?id=6853868

And my other code golfing projects: http://xem.github.io/?golfing

==========

xem··on An HTML/CSS/JS code editor in 230+ bytes
well, not really. miniCodeEditor (like codepen.io or jsfiddle.net) is more like a tool helping to quickly setup a HTML/CSS/JS prototype, not to build a website.
← PreviousPage 3 of 3