Live data from Hacker News

Dwitter – A social network for short JavaScript demos

dwitter.net

11–20 of 74 posts

Re: Dwitter – A social network for short JavaScript demos

#14

This is definitely fun... It'd be nice if it used Github to login and save to Gists. Also, I think it'd be better if the developer called u(t){}, rather than it being the content of the entire post, so it could set up variables, etc., and since it already has a few shortcuts like c,x,C,S,T,R, might as well add in a more complete API.

I thought the same until I tried it and realized of the 140char limitation, which really limits what you can do

Re: Dwitter – A social network for short JavaScript demos

#16
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

Re: Dwitter – A social network for short JavaScript demos

#17
post #5

This is definitely fun... It'd be nice if it used Github to login and save to Gists. Also, I think it'd be better if the developer called u(t){}, rather than it being the content of the entire post, so it could set up variables, etc., and since it already has a few shortcuts like c,x,C,S,T,R, might as well add in a more complete API.

Just set something on `this`: if (!this.mySettings) { this.mySettings = { value: 1 } }

140 character limit, so that wastes like 60 of it. :-)

Re: Dwitter – A social network for short JavaScript demos

#19
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

Thank you! :) Real time debugging is cool! :)

Re: Dwitter – A social network for short JavaScript demos

#20
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.

Post reply on HN