Hacker Newsnew | past | comments | ask | show | jobs | submit | epiphany47's commentslogin


Read the article please - quote: “Facebook asked me to pass this on to you. They require it of all visitors to their facilities. It only applies to things that you might accidentally stumble upon while you are there and covers nothing discussed during our news conference. Please either bring a signed copy or be ready to sign upon arrival.”

Which makes sense, imo, given the open work environment at Facebook.


regexp != regular expression like xyzzyz said. This script uses backreferences which give regex's more "computing power" than regular expressions actually have, but remove the guaranteed runtime of an O(n) regular expression.

Quote: One common regular expression extension that does provide additional power is called backreferences. A backreference like \1 or \2 matches the string matched by a previous parenthesized expression, and only that string: (cat|dog)\1 matches catcat and dogdog but not catdog nor dogcat. As far as the theoretical term is concerned, regular expressions with backreferences are not regular expressions. The power that backreferences add comes at great cost: in the worst case, the best known implementations require exponential search algorithms, like the one Perl uses. Perl (and the other languages) could not now remove backreference support, of course, but they could employ much faster algorithms when presented with regular expressions that don't have backreferences, like the ones considered above.

via http://swtch.com/~rsc/regexp/regexp1.html

If that and the Wiki article still don't help you understand why regexp != regular expression, please ask. =]


it's amazing to see how much advancement has been made w/ the kinect - for example, this is where the kinect community was just months ago:

http://www.adafruit.com/blog/2010/11/14/hacked-kinect-is-now...

gj kinect hackers - keep it up! =]


Random thought: If the bitcoin currency fails, would people turn their bitcoin mining rigs into hash cracking rigs? I wonder if it's more economical to be mining bitcoin or to crack hashes.


Once the Mt. Gox password database leaked, there was a little bit of commentary about how the community had a lot of password-cracking power on tap.


jw - is there a iPad/iPhone equivalent for chrome2phone?


Handoff -> http://www.handoffapp.com/

Works well. I'm not sure how many of the other solutions do this as well, but it treats maps, websites, and phone numbers (and maybe more?) differently, launching the appropriate apps in response.



Is there a mirror/torrent to download the English version?



Try the demo ui at: http://fromjeffrey.com/pc/ and see if it works better for you - supports live preview, move, rotate, and scale.

Originally we were planning Facebook integration so that we'd have one click image uploads and tagging to Facebook, but the FB API has been in flux lately so it's taken longer than expected. We're pretty happy with what we have over two nights of hacking. =]

Keep the comments coming!


This is Jeff from the Profile Collage dev team.

You asked for it HN, so we'll show you a preview of the upcoming UI: http://fromjeffrey.com/pc/

Features: - Live Preview - Translate (Move) - Rotate - Resize

This is 110% an alpha build and the UI def. has to be more intuitive (like rotate is based on mouse drag in X-axis, but how does the user know that??)

Uses processingjs to do the heavy lifting with PHP backend - still getting out of memory errors with large pictures, so try to start with something reasonable (IE: not 5 megapixels dimensions 2000px and smaller recommended)

Have fun and please leave comments! =D


It works fine for me.

The problem is probably that in the url: src="../photos%2FProfile%20Pictures%2F432293561980.jpg" some browsers will convert %2F to "/", whereas others don't


This is true, Chrome works no problem. Real slashes are the right method, though. Running it through Firefox (I'm on 3.6) would have revealed the issue.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: