Live data from Hacker News

Show HN: Pen.io

pen.io

61–70 of 102 posts

Re: Show HN: Pen.io

#62
post #38

Earlier quoted context omitted.

Seems to work from Chrome... Would still be better to throw in a for browser compatibility I guess.

I am on FFox 4 beta 11 on WinXP and I tried it with IE7 also. I get this on both: http://imgur.com/q0PfT

You may not have correct fonts installed. I get this on Fx nightlies: http://imgur.com/w6s0t

Re: Show HN: Pen.io

#63

Just curious.. where did you register the .io domain? Are 3 letter domains still available in .io registry?

There's still plenty of TWO letter domains out there. I registered oc.tl with gandi.net a few weeks ago.

Re: Show HN: Pen.io

#64
post #4

Very cool idea, and nice site. I noticed that you are serving your own jquery. I've read that it's better to link to Google's host as it is more likely to be cached (and other reasons). Is this a conscious decision on your part, or is it just a part of the puzzle you haven't wrestled with yet? (Honest question- I don't know the right answer because I haven't wrestled with it yet.) Google jquery link:

You shouldn't have to depend on CDNs as there's no guarantee they'll be up all of the time. I usualayy have a local fallback that can be triggered in this way:

    
    !window.jQuery && document.write(unescape('%3Cscript src="/js/jquery-1.4.2.min.js"%3E%3C/script%3E'))
The second script looks for the jQuery global object that should exist after the CDN fetch. If it doesn't exist, it knows to get your own copy.

(If you're wondering "hey, where's the 'http:' part in that src attribute?", it's because it's a safer way to ask for a resource when you don't know if the you are under http or https.)

Also, you should try to place your tags near the bottom of the , rather than the so that they don't block the rest of the page from loading/rendering.

Re: Show HN: Pen.io

#65
post #50
post #25

Be careful with JavaScript and saving plain text passwords in cookies: http://cookie.pen.io I just stole your password. :)

sorry my mistake and thanks for picking it up. Passwords are now hashed and working on the js now

I'm not an expert in these sorts of things, but even that is probably asking for trouble (though considerably less so.)

What's worked for me in the past was to generate a random string each time I create a session for the user, which is valid to create exactly one session for the user. That string is consumed with each use and a new one is generated and saved to the cookie (which again, is good for the NEXT login.)

I'm sure it's also far from perfect, and causes potential havoc for users switching devices, and that sort of thing (though, where I've applied it, that was considered a feature, not a bug -- YMMV).

Back on subject, Pen.IO looks money, but I'd be worried about running out of page names fairly quickly. Have you thought about tying those to an account? bmelton.pen.io/test isn't quite as good as test.pen.io, but in 3 months, I don't like the odds of getting a page name less than 10 characters... and this problem only gets worse as you get more popular.

Re: Show HN: Pen.io

#66
The user interface look good. It's like posterious. I ve got this error:

Parse error: syntax error, unexpected '}' in /nfs/c02/h08/mnt/41076/domains/pen.io/html/functions/common.php on line 346

Re: Show HN: Pen.io

#68
post #23
post #4

Very cool idea, and nice site. I noticed that you are serving your own jquery. I've read that it's better to link to Google's host as it is more likely to be cached (and other reasons). Is this a conscious decision on your part, or is it just a part of the puzzle you haven't wrestled with yet? (Honest question- I don't know the right answer because I haven't wrestled with it yet.) Google jquery link:

One reason not to use CDN-hosted common scripts is to not share visitors statistics with the CDN. Believe it or not, but it is a valid concern for many businesses.

I use MaxCDN and will use it for this project as well.

Re: Show HN: Pen.io

#69
Would be cool to add a grouping by hashtag function.

So I choose the page name for my first entry to be Test123, and I also add hashtag #StartupPosts

Then later I make an entry called BlahBlah1 and hashtag #StartupPosts , it groups the two together. Then users can search by Hashtags to find posts.

Also, common hash tags would allow people to search content from multiple users. For example #Religion would have a bunch of religion based posts, from different users etc.

Re: Show HN: Pen.io

#70

Would be cool to add a grouping by hashtag function. So I choose the page name for my first entry to be Test123, and I also add hashtag #StartupPosts Then later I make an entry called BlahBlah1 and hashtag #StartupPosts , it groups the two together. Then users can search by Hashtags to find posts. Also, common hash tags would allow people to search content from multiple users. For example #Religion would have a bunch…

Love the idea. I was thinking of something similar - my implementation was a bit different but I like the idea of hashtags.
Post reply on HN