News for hackers. Stuff that matters.
Re:My first tiny "weekend project": readable text hosting. U... by zbanks on Monday November 29, 2010 @11:28PM (#1953075)
Looks really awesome. I dig the clean interface/presentation.

The app is done well enough where nothing is overtly bad or glaring. That being said, I do have a few light thoughts & suggestions.

- I agree a source textbox for citations would be nice, but it's not too pressing considering you can include it at the end. In a similar vein, an author box would be nice too.

- Any reason why the URLs are 5 letters long? Not to undervalue the popularity of the service, but you could easily start out with 3 letter abbreviations, which would give you ~150k URLs.

- For that matter, what is your character set? Are you using just letters, or alphanumeric characters? Again, I'd prefer the former since you aren't going to get a significant boost from the extra choices. You might also want to take out 'O', 'o', and 'l' so its unambiguous when written out.

- Finally, although I'd be weary of allowing crazy markup systems, it might be good to implement a lightweight format such as Markdown. Nothing too fancy, but it's nice to be able to add emphasis without having to SHOUT.

For fun, my comment on tidypub: http://tidypub.org/moAbu

Re:My first tiny "weekend project": readable text hosting. U... by jules on Tuesday November 30, 2010 @02:27AM (#1953442)
> Any reason why the URLs are 5 letters long?

What has Twitter done to this world? I for one would like to see the title you type appear in the url.

Re:My first tiny "weekend project": readable text hosting. U... by zbanks on Tuesday November 30, 2010 @02:23PM (#1955243)
Actually, it's more of an issue with writing down the URL and passing it on.

Less characters means its harder to screw up. Question marks and random letters make non-techie people anxious. If its short, it at least helps.

Re:My first tiny "weekend project": readable text hosting. U... by vvpan on Tuesday November 30, 2010 @11:10AM (#1954514)
Thanks for the feedback. Much-much appreciated.

I was thinking of adding an "author" field, and now that you and some other people mention it, I think I will follow through with it.

Honestly, you seem to have put much more thought into URL shortening than I did. I am using just letters for the character set. Shortening the URL sounds like a good idea. And removing the O's and l's is also something that I think I would do. Great suggestions, thanks!

Markdown is actually in the code, but commented out for the "release" =) So it should be coming soon. Thanks again.

Re:My first tiny "weekend project": readable text hosting. U... by rwolf on Tuesday November 30, 2010 @04:50PM (#1955718)
I'd recommend against shortening the key length, given that keeping the keys hard to guess is how you're keeping them private.

See https://gist.github.com/722474 for a proof of concept scraper. If the key length dropped to 4 chars (and you kept l, o, L, and O in the set), there would only be 7,311,616 urls to try to find all the notes.

Re:My first tiny "weekend project": readable text hosting. U... by dsingleton on Tuesday November 30, 2010 @03:50AM (#1953570)
> For that matter, what is your character set? Are you using just letters, or alphanumeric characters? Again, I'd prefer the former since you aren't going to get a significant boost from the extra choices. You might also want to take out 'O', 'o', and 'l' so its unambiguous when written out.

I'd suggest using New Base 60, which has some smart readability built in: http://tantek.pbworks.com/w/page/19402946/NewBase60

Re:My first tiny "weekend project": readable text hosting. U... by akkartik on Monday November 29, 2010 @11:53PM (#1953130)
At least linkify urls. It's trivial; use http://daringfireball.net/2009/11/liberal_regex_for_matching...

Interestingly I chose 5 letters as well for my url shortener. e.g. http://twitter.com/akkartik/status/7915316453580803

Re:My first tiny "weekend project": readable text hosting. U... by joshfinnie on Tuesday November 30, 2010 @09:02AM (#1954083)
Link to updated article: http://daringfireball.net/2010/07/improved_regex_for_matchin...

Save you a click.

Re:My first tiny "weekend project": readable text hosting. U... by akkartik on Tuesday November 30, 2010 @10:48AM (#1954432)
Ah, didn't know about that, thanks.
Re:My first tiny "weekend project": readable text hosting. U... by icco on Monday November 29, 2010 @11:53PM (#1953128)
I agree with the points here. Markdown seems like a great idea. Maybe have a toggle for what the post is in (Markdown / Plain text)?

Also I'd like to see a post date on the page.

Finally is it open source?

Re:My first tiny "weekend project": readable text hosting. U... by chancecarroll on Tuesday November 30, 2010 @01:06AM (#1953263)
I agree with having both the post date (optional?) and the markdown option, I like the idea of being able to toggle markdown, you could still default to plain-text and so preserve perfect backwards compatibility. Also I can't help but wonder about expiration dates and the ability to edit or delete, maybe have an optional password?