Monday, April 26, 2010

Writing Programs that Write Programs

Have you ever wished you could write a program that would write programs for you? A program that writes other programs is called a metaprogram. Both C and C++ actually do include the ability to do certain forms of metaprogramming!

You've already seen some forms of metaprogramming in C++, using
templates to generate data structures that can handle any type.

A nifty feature called template specialization allows you to specify a different implementation of a template for a special type:
And in both C and C++, the macro processor allows you to do some basic metaprogramming (like conditionally compiling code):

Happy meta-programming!

-----------------------------------------------------------------------------
source :
cProgramming Mail List

Alex

49 Dover St. #37, Somerville, MA 02144, USA

Thursday, April 22, 2010

Android on an iPhone

A member of the iPhone Dev Team, a group of hacker that develop software for jailbreaking iPhone, managed to install Android on a first-generation iPhone. David Wong replaced Apple's bootloader with the open-source OpeniBoot so that he could install a different operating system. He also used a version of the Linux kernel ported to the iPhone in 2008.

'It should be pretty simple to port forward to the iPhone 3G. The 3GS will take more work. Hopefully with all this groundwork laid out, we can make Android a real alternative or supplement for iPhone users. Maybe we can finally get Flash,' says David.

This is one of the many benefits of an open-source software: people can modify it and use it in new, interesting ways. You can install Android on a Windows Mobile phone, on an iPhone, on a notebook and on many other devices.

Wednesday, April 21, 2010

Dots No Longer Required When You Log in to Gmail

Until recently, if your Gmail username included one or more dots, you had to add them to your username when logging in. Now it's no longer required to include the dots, so you can type johndoe instead of john.doe.


It's important to keep in mind that Gmail ignores the dots from your username when receiving a message, so you'll get all the messages sent to johndoe@gmail.com, john.doe@gmail.com, john.d.o.e@gmail.com and other similar addresses. The requirement to enter the same username you used when you created the Gmail account might have helped you keep the account secure, but it was really annoying.

There's an interesting urban legend about the dots from Gmail usernames: some people claim that Gmail initially allowed users to create different accounts using usernames that were identical if you ignored the dots. That's why you'll hear many users complaining that they receive someone else's mail. Google even created a page which debunks the myth, but that doesn't stop users from talking about the 'dot problem'.

Wednesday, March 3, 2010

Skype for Symbian Now Live in Nokia’s Ovi Store

Skype for Symbian Now Live in Nokia’s Ovi Store: "


Skype for Symbian has gotten out of beta and appeared in Nokia’s Ovi Store today, enabling users of Nokia’s Symbian-based smartphones to make free voice calls over 3G or WiFi connection.

Besides free Skype to Skype voice calls, the app enables you to send and receive instant messages, share pictures, video and other files, receive calls to your online number, and import names and numbers from your phone’s address book.

The app works on following Nokia models: Nokia N97, Nokia N97 mini, Nokia X6, Nokia 5800 XpressMusic and Nokia 5530 and the following non-touch devices: Nokia E72, Nokia E71, Nokia E90, Nokia E63, Nokia E66, Nokia E51, Nokia N96, Nokia N95, Nokia N95 8Gb, Nokia N85, Nokia N82, Nokia N81, Nokia N81 8 Gb, Nokia N79, Nokia N78, Nokia 6220 classic, Nokia 6210 Navigator, Nokia 5320.

See a video demonstration of the Skype app for Symbian below.

You can download the app from Skype or from the Ovi store.


Document Source

Friday, February 26, 2010

Recognizr: Facial Recognition Coming to Android Phones

Swedish software and design company The Astonishing Tribe, also known as TAT, has been developing a rather astonishing augmented reality application for mobile phones. Originally built as a software concept, the Android app called 'Recongnizr' is a mobile prototype that allows you to use your phone in order to 'see' who a person is and what web services and social networks they're connected to. App users can also associate traditional address book details with their profile like their full name, address, phone number and email, for example.

And all of this data can be accessed just by aiming your mobile phone at someone's face.

Sponsor

We first looked at TAT's mobile concept back in July of last year. At that time, the application was called 'Augmented ID.' Using facial recognition and tracking technology from Polar Rose, a photo tagging startup, the app is able to match 3D models of faces captured with the phone's camera to those stored in a database on remote servers. This matching technique, which captures the shape of the face and other distinctive features like the contour of the eyes, the nose, and the chin, is one of the three methodologies for performing facial recognition. It's ideal for mobile interfaces such as those found in Augmented ID/Recognizr because it's not one that's affected by low-lighting scenarios, a very real possibility for mobile interfaces such as this.

Improvements to the App

Since our last look at Augmented ID, it's clear that the company has been making great strides in the development of this mobile application. Most notably, the interface's design has been greatly improved. It now has a much cleaner layout and looks to be far easier to use. The social networking icons, for example, now appear big and bubbly, casually overlaid on top of each other in a row at the bottom of the screen, ready for dragging upward when you go to create your own profile. The same icons, all evenly sized, also float around people's heads after the app recognizes them. You can then tap the icons to see the profile information they contain. For example, a Twitter icon could showcase the user's latest tweets when tapped.


The recognition process, too, seems improved. A square shown by a broken line appears on your mobile's screen around the face you're trying to recognize. This closely resembles the autofocus systems found on most digital cameras today. When the app 'sees' the face, the square's outline turns from grey to green and the social networking icons zoom in from all sides to float around that person's face.

The only downside to Recognizr (besides the fact that the prototype isn't available for use today!) is that it requires both participants to use the mobile application in order to work. That makes the app far less creepy than some all-knowing 'Minority Report'-like technology, but severely limits its potential at the same time. Since the prototype is currently Android-only, too, the database of users available for facial matching would only include those who have installed the application on their Android phone and have taken the time to set up their own profile.

That's not to say that some future version of the application couldn't scour the web for faces to match - implementing this feature would be challenging, but not entirely impossible. There are plenty of photos on social networks to pull from in the case that a particular person wasn't already a Recognizr user. However, whether or not the company plans to develop their app to that point is unknown at this time.

Coming Soon to Android

After demonstrating Recognizr at the recent Mobile World Congress, Dan Gärdenfors, head of user experience research at TAT, announced that his company plans to partner with someone who can help bring the mobile concept app to market. He anticipates having a commercial application available in a little as a month or two.

You can watch video demos of both Augmented ID and Recognizr on YouTube, here and here.






source : http://www.readwriteweb.com/archives/recognizr_facial_recognition_coming_to_android_phones.php?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+readwriteweb+%28ReadWriteWeb%29