Live data from Hacker News

Corkboard app, all in HTML/CSS/Javascript

corkboard.me

71–77 of 77 posts

Re: Corkboard app, all in HTML/CSS/Javascript

#71

Off topic as usual, but interesting from the developer and user point of view. If you are going to give me a 10 char ID, please make it all lower case and without numbers, I hate hitting shift or having to move my eyes from the keyboard to the numpad and back. So, aren't 26 lowercase chars enough? 26^10 = 141,167,095,653,376 A hundred and forty trillion options! * Hey Tim, nice app btw.

I see this type of ID everywhere and I'm curious as to how they are created and how "random" they are (the chances of generating two of the same). A python snippet would be great, of course :)

Re: Corkboard app, all in HTML/CSS/Javascript

#72
post #71

Off topic as usual, but interesting from the developer and user point of view. If you are going to give me a 10 char ID, please make it all lower case and without numbers, I hate hitting shift or having to move my eyes from the keyboard to the numpad and back. So, aren't 26 lowercase chars enough? 26^10 = 141,167,095,653,376 A hundred and forty trillion options! * Hey Tim, nice app btw.

I see this type of ID everywhere and I'm curious as to how they are created and how "random" they are (the chances of generating two of the same). A python snippet would be great, of course :)

    id=''.join(Random().sample(string.ascii_lowercase,10))

Re: Corkboard app, all in HTML/CSS/Javascript

#73
post #63
post #38

This thing would be great for story-boarding if it supported images and other media types. IFrame would be cool to be able to bring in external content into one of the notes. With a few more features, you got yourself a winner here. Making the controls contextual to the note could keep it simple. Let me know if you do decide to add other media types, I would be an avid user.

It does support images. Paste an image url into a new note, then hit return. For example: http://corkboard.me/mTJPwxMRha

Nice how does one add an image, I don't see any ways to add one. As well another nice feature would be the ability to group notes. So that when a user adds an image they could drop sticky's on it and then group them so that they move together.

Re: Corkboard app, all in HTML/CSS/Javascript

#74
post #71

Earlier quoted context omitted.

I see this type of ID everywhere and I'm curious as to how they are created and how "random" they are (the chances of generating two of the same). A python snippet would be great, of course :)

id=''.join(Random().sample(string.ascii_lowercase,10))

Not really. Random.sample samples from a population multiple times: that means no doubles (unless they were in the population as well). Try it: sample 30 times from string.ascii_lowercase. Since you did it with 10, less than len(population), it didn't croak, but it also doesn't get you the numbers mentioned above.

Here's one I like better: "".join(random.choice(string.ascii_lowercase) for _ in xrange(len))

Re: Corkboard app, all in HTML/CSS/Javascript

#75
post #70

Earlier quoted context omitted.

for me (ffox 3.5.15 on mac) it zooms the text but not the images, I would expect it to shrink/expand the images as well so you could see more at once.

Do you have View->Zoom->Zoom Text Only enabled? (OT: you are using an out of date version of ff, latest is 3.6.12)

Hey, late reply but no I do not have zoom text only turned on.

Re: Corkboard app, all in HTML/CSS/Javascript

#76
post #74

Earlier quoted context omitted.

id=''.join(Random().sample(string.ascii_lowercase,10))

Not really. Random.sample samples from a population multiple times: that means no doubles (unless they were in the population as well). Try it: sample 30 times from string.ascii_lowercase. Since you did it with 10, less than len(population), it didn't croak, but it also doesn't get you the numbers mentioned above. Here's one I like better: "".join(random.choice(string.ascii_lowercase) for _ in xrange(len))

Hmm, if that's the case then 26x25x24... still gives you twenty trillion unique ids with non-repeating chars. Not bad after all.

Will have that in mind.

Re: Corkboard app, all in HTML/CSS/Javascript

#77
post #66

Earlier quoted context omitted.

I think you mean, "いくつかの日本語"... :)

It still doesn't make much sense, but I don't want to start Japanese lessons here... Anyhow, some DBMS default the character encoding to ASCII (or ISO8859), not UTF, and Western developers often don't care.

Oh yeah you're probably right about that. Good work. By the way, any suggestions on that phrase? I'm not a native speaker so my Japanese isn't very good.
Post reply on HN