Everytime I edit a page it says "you must be logged in" .. (I believe I am logged in)
Show HN: Pen.io
61–70 of 102 posts
Re: Show HN: Pen.io
#62Earlier 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
Re: Show HN: Pen.io
#63Just curious.. where did you register the .io domain? Are 3 letter domains still available in .io registry?
Re: Show HN: Pen.io
#64Very 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:
!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
#65Be 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
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
#66Parse 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
#67I love the idea, but I hate the domain. Still, going to use this to replace the PDF's I've been penning.
Re: Show HN: Pen.io
#68Very 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.
Re: Show HN: Pen.io
#69So 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
#70Would 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…