Just tried to register with username @H2O. Sent post request, after that got 500 error.
Oh, got the 500 error dump. It's the @ in your username, that'll teach me. For now avoid special characters in your username ;) Edit: In case you were stuck in a 500-loop I quickly changed your username to H2O, hopefully it works now
Dwitter – A social network for short JavaScript demos
31–40 of 74 posts
Re: Dwitter – A social network for short JavaScript demos
#32This is the coolest website I've seen in a long time. Awesome idea. EDIT: one issue I'm running into is it's easy to accidentally write half-finished code that freezes my browser. It would be nice to have an option to only refresh the preview upon clicking some kind of button.
Sorry about your lost dweet :( Accidental infinite loops while editing can be a pain. A "reload" button isn't a bad idea, or a "recover dweet draft" functionality.
More suggestions:
- in-browser minification tool
- character counter would count using this output
- larger textarea
That way, I can compose without relying on vim + yui-compressor.
Awesome little site.
Re: Dwitter – A social network for short JavaScript demos
#33Earlier quoted context omitted.
Sorry about your lost dweet :( Accidental infinite loops while editing can be a pain. A "reload" button isn't a bad idea, or a "recover dweet draft" functionality.
I managed to finish one! https://www.dwitter.net/d/714 More suggestions: - in-browser minification tool - character counter would count using this output - larger textarea That way, I can compose without relying on vim + yui-compressor. Awesome little site.
Re: Dwitter – A social network for short JavaScript demos
#34Prior art: https://t.d3fc.io/
Re: Dwitter – A social network for short JavaScript demos
#35This is really cool, but executing other people's javascript in a page makes me nervous. What sort of restrictions are in place to prevent malicious exploits?
There are definitely things you can do, and I'm aware of some annoying ones. I'll just manually delete them at this point. Any security conscious person would view it with noscript and just read the javascript ;)
Re: Dwitter – A social network for short JavaScript demos
#36Earlier quoted context omitted.
Oh, got the 500 error dump. It's the @ in your username, that'll teach me. For now avoid special characters in your username ;) Edit: In case you were stuck in a 500-loop I quickly changed your username to H2O, hopefully it works now
I tried to register as "sfz-" and also got a 500. Is there a problem with a trailing dash? If so, can you fix my username as well to "sfz"? Thanks!
Re: Dwitter – A social network for short JavaScript demos
#37Earlier quoted context omitted.
I managed to finish one! https://www.dwitter.net/d/714 More suggestions: - in-browser minification tool - character counter would count using this output - larger textarea That way, I can compose without relying on vim + yui-compressor. Awesome little site.
Brilliant dweet! Part of the challenge is the manual minification. A larger textarea might be worth it especially as you can use linebreaks instead of ; for better readability
Re: Dwitter – A social network for short JavaScript demos
#38This is really cool, but executing other people's javascript in a page makes me nervous. What sort of restrictions are in place to prevent malicious exploits?
Re: Dwitter – A social network for short JavaScript demos
#39This one by mxfh looks very cool:
d=x.getImageData(0,0,w=c.width=256,h=144);for(i=0;i
Does anyone know how it works?Re: Dwitter – A social network for short JavaScript demos
#40How do I link to a specific post? This one by mxfh looks very cool: d=x.getImageData(0,0,w=c.width=256,h=144);for(i=0;i Does anyone know how it works?
The direct link to the Sierpinski triangle inspired animation you're noting is below: