Live data from Hacker News

Dwitter – A social network for short JavaScript demos

dwitter.net

31–40 of 74 posts

Re: Dwitter – A social network for short JavaScript demos

#31
post #15

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

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

#32

This 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.

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

#33

Earlier 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.

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

#35

This 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?

Makes me quite nervous too. So far each dweet is run in a sandboxed iframe loaded from a separate subdomain.

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

#36
post #31

Earlier 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!

Changed to sfz :)

Re: Dwitter – A social network for short JavaScript demos

#37

Earlier 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

Aye, then I cheated. :0 I'll try doing it manually next time.

Re: Dwitter – A social network for short JavaScript demos

#40

How 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?

There's a share button on each of the "tweets" at least on my screen.

The direct link to the Sierpinski triangle inspired animation you're noting is below:

https://www.dwitter.net/d/676

Post reply on HN