224 karma · joined June 10, 2010
Which makes sense, imo, given the open work environment at Facebook.
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. =]
http://www.adafruit.com/blog/2010/11/14/hacked-kinect-is-now...
gj kinect hackers - keep it up! =]
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!
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
The problem is probably that in the url: src="../photos%2FProfile%20Pictures%2F432293561980.jpg" some browsers will convert %2F to "/", whereas others don't
The typical way of visualizing DNA is using an electrophoresis gel - most of the components are cheap/easy to obtain (agarose, electrodes, power supply, buffer), but how would you visualize your gel? Typical ethidium bromide stains are probably out of the question, given that ethidium bromide is so carcinogenic - most people probably don't have access to ethidium bromide. Maybe use a safer stain? (googling seems to point to invitrogen's SYBR Safe DNA stain as a possibility).
Then again, you could just use a UV spec to measure concentration, but how many people have a UV spec?
Looking forward to your results! In the future I think it would be nice to have open source enzyme starters (kind of like brewers/bakers yeast starter kits?) so that people could just grow+purify their own enzymes. (after the open source centrifuge that is =P )