Entrepreneur Geek

Nirav Mehta on life, technology and future

Archive for the ‘Technology’ Category

Test your site across multiple browsers with Adobe BrowserLabs

without comments

Adobe BrowserLabs

Compare multiple browsers side by side - Adobe BrowserLabs

Web designers and developers are always challenged by the diversity of browsers (each with its own quirks). It’s generally a time consuming and error prone process. Requires someone with a skilled eye to spot the problems.

Now, Adobe has simplified that process with BrowserLabs. You can see multiple browsers side by side, and can even overlay them to quickly spot differences. It’s free now and worth a try. Check it out.

Written by Nirav

September 5th, 2009 at 12:54 pm

Posted in Flex & Flash, Technology

Tagged with , ,

Fixing bad XML, any recommendations?

without comments

I am using Text_Diff classes of PHP to generate differences between two XML documents. The output is not always valid XML – tag nesting is not always correct. This happens because my source files are XML and have their own tags. When Text_Diff inserts its own <ins> and <del> tags around the changed text, it messes up the tag hierarchy at times.

I am looking for a clean, fast and safe way to fix such invalid XML. Do you have any recommendations?

I have looked at Tidy, it’s PHP library and htmLawed. I liked htmLawed since it’s pure PHP implementation, but don’t know how fast it is compared to Tidy. Moreover, I need an XML cleaner, not necessarily XHTML cleaner. So even if I use these libraries, I will have to strip out the HTML parts from the output.

Do you have any suggestions / recommendations?

Written by Nirav

August 19th, 2009 at 5:12 pm

Posted in PHP

Tagged with , , , ,

Live Scribe – Amazing Writing Technology – Never Miss A Word

with one comment

I have trained my eyes to skip all ads on a web page. But today, I saw something I had to click!

Live Scribe is a pen, an audio recorder and much beyond that. It records everything you write, scribble and draw. Along with audio. You can then play it back from anywhere. You can even search what you wrote and share your recordings / notes with others. It’s amazing!

Live Scribe Pulse Smart Pen

Live Scribe Pulse Smart Pen

This is a great tool for students, journalists and anyone who would like to record everything from a meeting. Even great for brainstorming sessions!

The 2GB pen is $199, 1GB is $149. A refill costs $5.95.

Would make a nice gift, isn’t it?

What say?

Written by Nirav

August 11th, 2009 at 4:38 pm

Next ring the telephone!

without comments

We have seen breakthrough innovations in communication media and technologies. From letters to emails and IM. From books to blogs and Twitter posts.

I believe transformation is coming in the way we use our telephone. Convergence of devices, portable numbers, voice mail transcription, SMS integration – it’s all coming.

Keep your ears open for: Google Voice, Ribbit and Gizmo.

Buddying entrepreneurs / techies – there are lot of opportunities in this space. Leap forward and grab some!

Written by Nirav

August 10th, 2009 at 1:40 pm

Notification Components in Flex

with 4 comments

If you are building a Flex application, you may need a way to show messages to the user. The usual way to do this is via Alerts. Alerts can be quite distracting and generally avoidable. Another alternative is to have a status message area (like a status bar) and show messages there.

Growl

Growl

But an even more interesting idea would be to show notification windows / popups. If you have seen Growl on the Mac, you know what I am talking about. Heck, even Facebook and most instant messengers show notifications now.

So how would you implement this using Flex?

Short answer, don’t implement them yourself. There are two very good and free components available that you can use.

Flex Notification is easy to implement and works very well.

FlexGrowl looks and works excellent but needs Degrafa.

Flex Notification Component

Flex Notification Component

Flex Growl

Flex Growl

I used Flex Notifications in an upcoming product, but am facing some issues with focus loss when the notification goes away. Don’t want to add the download overhead of degrafa to my app just for notifications yet!

Written by Nirav

August 5th, 2009 at 10:48 pm