Live data from Hacker News

Show HN: Behave.js – Coding Behaviors for textarea elements

jakiestfu.github.com

41–50 of 76 posts

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#41
post #37
post #3

Ok I'll be the pendant that says it...you probably can't appropriate the image of Austin Powers for your open source library. Not that Mike Myers seems the type to flip out about it, but his movie studio probably is. Otherwise, great work...and it behaves reasonably well even on iOS

I'd guess a non-profit project with such small, incidental, reverent-without-being-misleading image reuse can wait until they receive a souvenir cease-and-desist letter, if ever, before worrying about the rights issues.

The same day as this article is published. http://arstechnica.com/tech-policy/2013/01/six-year-old-danc...

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#44
post #37

Earlier quoted context omitted.

I'd guess a non-profit project with such small, incidental, reverent-without-being-misleading image reuse can wait until they receive a souvenir cease-and-desist letter, if ever, before worrying about the rights issues.

The same day as this article is published. http://arstechnica.com/tech-policy/2013/01/six-year-old-danc...

That suit supports the idea the project can wait for communication from the rightsholder at negligible risk. (That is, there's no need for ad hoc copyright warnings from third-party non-experts.)

To wit: this is a lawsuit of choice, initiated by a plaintiff (backed by the EFF) who had material briefly taken-down by a DMCA notification. The studio didn't sue: it only sent a take-down, then was itself sued. The studio doesn't appear to be seeking damages, even though the alleged-infringing video has now been up for years (post-counter-notify, with more than 1.2 million views). The studio just wants the take-down honored and the lawsuit dismissed.

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#47
post #43

It is cool but it will more cool if you add highlighting.

Ideally, highlighting should be pluggable into the textarea from another source.

Certainly,but it'll more awesome if it included by default. It will give a more IDE type look .

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#48
Good work, like it a lot. I almost feel allowing tabs should be a browser based setting, I'd have it enabled, but I can imagine other people wouldn't never need to use a tab.

I built something similar for keeping indentation/bullets/lists on new lines to assist with Markdown in an ordinary textarea -> http://jamiebicknell.github.com/Markdown-Helper/

ps: long time lurker, first time poster.

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#49
post #20
post #9

This is awesome. I'm using http://ace.ajax.org/ right now in production and it's a huge heavyweight pain (but still the best thing out there). If only this had syntax highlighting i'd switch in an instant.

Maybe you'll like http://kueblc.github.com/LDT/examples/generic.html ? but if you fix undo, add bracket matching, etc it will become huge too. Also wanted to ask why do you think that ace is a pain? I agree that it's big, but seems to work ok?

Thanks so much for the LDT link, it's exactly what I was looking for (and thought impossible).

I can't speak for the GP, but my problem with ACE et al. is that they replace the textarea with their own HTML structure (e.g. a div for every line). I understand the reason why, but it means they have to reimplement all the textbox behaviour and they never get it completely right.

For example: when I double-click on a word in the textbox I'm writing this in, and then middle-click somewhere else, the word gets pasted there.

In ACE, it pastes a different text in a different location.

ACE is brilliant if you want to a full-fledged text editor. But it's an overkill if all you need is a normal textarea with some colours.

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#50
post #3

Ok I'll be the pendant that says it...you probably can't appropriate the image of Austin Powers for your open source library. Not that Mike Myers seems the type to flip out about it, but his movie studio probably is. Otherwise, great work...and it behaves reasonably well even on iOS

Someone had to point it out, yes. I had the same thought and it made me sad. That page is beautiful, quirky and funny, made with DIY love. It's a perfect example of the value of remix culture, adding a touch of originality (yes, originality) to brighten up an otherwise boring github page.

I believe the author picked the cross hatched texture background to match the rest, as well as the font and the muted retro green and orange-red, so it's not like it was a mere copy/paste job, either. More like (apart from the name pun) Austin Powers is just another ingredient, like the colour to paint with, the texture, the font, etc.

Further--this is a personal belief so take it cum grano salis--if one releases a blockbuster film, one of the (intended!) effects is having its iconography engrained in the public's mind and culture. Saying you cannot use imagery that has been force-fed into the public consciousness at all, is like getting hit by a fire hose and being told you're not allowed to drink or wash with the water. And I had this thought, having to fear being punished for using a certain icon to communicate your ideas, is a lot (but not exactly, I do hope you can see the similarities though) like what the Danish cartoonist had to fear when drawing Muhammed. (let me repeat: there's a lot of differences between the situations, but also an eerie similarity)

Anyway, it's a really great library, I'm looking forward to having an excuse to use it.

Post reply on HN