Forgot your password?

typodupeerror

Comment: Re:#1 - Not managing the pointers and memory yours (Score 1) 394

by Eric Sharkey (#34475130) Attached to: Programming Mistakes To Avoid

#2 - Initialize all variables to known values. int i; doesn't cut it. int i=0; does.

True dat. Lots security pitfalls here too -- not just garden variety bugs.

This is a pet peeve of mine. It's very bad advice to throw in meaningless initializations. If a variable has no meaningful value, you want tools like valgrind to be able to recognize this and catch code that tries to use this value. If you set it to 0, but then don't mean that variable to be read without being set to something else first, you've done yourself a disservice.

Comment: Re:B-b-b-but I thought Apple was a marketing compa (Score 1) 346

by Eric Sharkey (#32693780) Attached to: A Professional Perspective On Apple's Retina Display

Basically it looks like we don't need any higher resolution than what the iPhone and others have achieved, anything more would be pointless.

Unless you happen to have a $5 pair of magnifying eyeglasses that is.

The biggest problem with viewing web pages on a cell phone is that you can't see enough pixels at the same time. If you want to keep a 1920x1080 display in your pocket, you need to go beyond retinal and use a lens to magnify it.

Comment: Re:Games too (Score 2, Informative) 595

by Eric Sharkey (#32101424) Attached to: Is Apple's Attack On Flash Really About Video?

I am not seeing any phone that currently supports the whole flash experience: http://www.adobe.com/mobile/supported_devices/ Just the Flash Lite option.

That list is a little out of date. The Nokia N900 runs the desktop version of Flash 9.

On the other hand, many flash games require more CPU than a mobile device can really provide at the moment.

Comment: Re:It depends (Score 1) 390

by Eric Sharkey (#31481556) Attached to: I prefer my (non-technical) books to be ...

It leads me to the following question: "is there a place where we can buy ebook in a non-crappy drm encumbered format ?"

I use Fictionwise, which is now owned by Barnes & Noble. They have a very wide selection of what they call "Multiformat" ebooks that are available without any DRM at all. Although they do also sell "secure" ebooks, the web site makes it very easy to filter these out and only browse titles that are available without DRM.

HOST SYSTEM NOT RESPONDING, PROBABLY DOWN. DO YOU WANT TO WAIT? (Y/N)

Working...