Live data from Hacker News

Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

techcrunch.com

211–220 of 262 posts

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#211
post #194

More technical details on SnappyLabs blog: http://www.snappylabs.com/blog/snappycam/2013/07/31/iphone-k...

there is a lot said about the assembly code. I wonder whether it make sense to code it in LLVM IR?

There's definitely improvements being made to LLVM to automatically parallelize code (esp unrolling loops) to SIMD.

I haven't personally tried it, but would love for it to match the code quality of hand-cranked assembly... writing it is tedious, error prone, but you do get control over when you preload the cache, the stack, and you can do really cool things with the CPP and macros to "manually inline" things. :-)

And who doesn't like writing a good 'ol fashioned jump table?!

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#212
post #193
post #153

Earlier quoted context omitted.

Onya mate! That's bloody awesome. :D

Impressive stuff! And just in time to capture some action shots of my puppy :-) -Appreciative fellow Australian, in Switzerland :)

Oi oi oi! :D

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#213
post #148

Earlier quoted context omitted.

Congrats fellow Australian. Two of us here in an office in Adelaide just bought the app. Guy behind me said "Hey, this is pretty cool. Have you seen... oh, you're looking at it already."

Hi, what is Adelaide like to work in? I assume you guys are in IT? From what I hear, it is mostly government work.

Adelaide is good. Plenty of gov & defence work if that is what you are after, but I've worked here nearly 15 years and never done either (ok, my current place is quasi-government, but still..)

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#214
post #53

Earlier quoted context omitted.

I saw this a couple of days ago. Are you using Chrome? It might be yet another Chrome canvas bug. :-( Try Safari and let me know if you can? :-)

OMG, it works on IE 10! Congrats! But not working on Chrome or FF :|

What version(s) are you on? I spent a lot of time checking in more recent versions of FF after developing the site.

I do pretty much everything on OS X these days, but I did fire up a couple of VMs with Win XP, Win 7, and Win 8 to test.

I did my entire dev on Chrome, and apart from what appears to be a new canvas issue at present, I'm not having any major issues. (I'm looking into the canvas problem.)

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#215
post #211
post #194

Earlier quoted context omitted.

there is a lot said about the assembly code. I wonder whether it make sense to code it in LLVM IR?

There's definitely improvements being made to LLVM to automatically parallelize code (esp unrolling loops) to SIMD. I haven't personally tried it, but would love for it to match the code quality of hand-cranked assembly... writing it is tedious, error prone, but you do get control over when you preload the cache, the stack, and you can do really cool things with the CPP and macros to "manually inline" things. :-) And…

Thanks, btw there was a thread on this topic recently: https://news.ycombinator.com/item?id=6096743

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#216
post #8

Earlier quoted context omitted.

"discrete cosine transform JPG science" Here's a more interesting link directly from the app developers: http://www.snappylabs.com/blog/snappycam/2013/07/31/iphone-k...

The Android bashing in that article is unfounded: http://www.eggwall.com/2011/09/android-arm-assembly-calling-...

It's not Android bashing - he's managed to make the older, slower iPhone hardware perform better than the current high-performance kings (the S3 & S4) through smart software optimisation.

There's no reason he couldn't do the same on Android and see similar gains. It would just be a lot of work..

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#217
post #185
post #154

Earlier quoted context omitted.

It's a webservice I hacked together that sends iMessages from my old MacBook Pro. :-) It was my understanding that German mobile numbers are written locally starting with 01? [1] e.g. in Australia, my mobile number would be 040x-xxx-xxx. The international version is +61 40x-xxx-xxx. When you select Australia, it will show 04. (OK, I now see how this could be confusing; my apologies.) [1] http://en.wikipedia.org/wiki/…

Phone numbers in Germany work the same way like you describe with Australia. Internationally you'd have +49 (area code without leading zero) (number) and within Germany you can use (area code with leading zero) (number).

Awesome. If you type in your number as if you were local, do you get the iMessage?

(Internally I add the international prefix. As you can imagine it took a while to find all of the local prefixes and create number masks!)

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#218
post #142

Earlier quoted context omitted.

It's now on the list. Had a few requests for it, and agreed, it'd be cool. :)

Great, I'm not actually sure how the iPhone photo library handles GIFs.. but I'd much rather be able to choose 'export as GIF' & 'export this frame' than to save all 100 photos. great app man, thanks

The Camera Roll will apparently host them, but not show them as animated.

Unless you roll your own viewer, many devs suggest using an embedded UIWebView to animate it.

Otherwise it kinda gets treated as pass-through for most of iOS. The Messages app apparently animates them nicely, and for some is a real motivation to include the feature. (So they can send animated GIFs to their friends.)

Glad you like the app! :D

Re: Scientific Breakthrough Lets SnappyCam App Take 20 Full-Res Photos Per Second

#220

WHY DONT YOU CURE CANCER INSTEAD

Actually, cancer research can benefit (admittedly by a long shot, but still) by these kind of improvements in image processing. Don't forget that medical imaging and - thereby indirectly - the recognition/detection of cancer is one of the first steps in curing said disease.
Post reply on HN