web 2.0

Android Honeycomb Emulator Too Slow, Unusable

There are all these hypes about Honeycomb, I finally got sometime to play with the it.  After 3 minutes of booting, I got following screen.

And it literally took me more than 30 seconds to be able to just click "Force close".  After emulator being able to access the Operation System, all the commands seem to have a 5 to 10 seconds delay.  I am running this on a pretty fast computer, but programming on Honeycomb Emulator is virtually impossible.  I made a screen cast on the emulator shows as following.

 

 

Tags: ,

Android | Google

TEDx iPhone App and TEDx Android App Open Sourced

This post is a little late since I haven't had much time blogging about it lately.  After request of making Apps for bunch of TEDx events, I've decided to open source iPhone and Android apps.  The database is still using Microsoft SQL Server 2008, once that's switched to Google Docs and becomes a more open platform I'll open source it as well.

Michael May has revamped the entire iPhone App which made the code a lot cleaner.

Folks at TEDxPSU is helping to polishing up the website which currently can be previewed at http://www.tedxapps.com

While working at my full time job at Catch.com, the team here were able to help me further improve the app which turned into unofficial TED App for TED2011 on both iPhone and Android.  After few weeks of hard work, we were able to push them into the market for TED2011 attendees.  You can search for "TED2011" on iTune or Android Market to download the application.

Following TEDx events were part of the feature suggestion for the project

  • TEDxTransmedia
  • TEDxAsheville/TEDxNextGenerationAsheville
  • TEDxOrlando
  • TEDxFullerton
  • TEDxAlcatraz
  • TEDxBasqueCountry
  • TEDxPSU
  • TEDxDubai

Source code for the project can be found on gitHub TEDx iPhone App TEDx Android App

If you need any help on these applications feel free to contact me.

Tags: , , ,

Android | iOS | TEDx

Palm, WebOS, Mojo, Ares, HP, and now Enyo

So I was fortunate enough to attend Palm's Developer Conference on Wednesday, February 9th.  And I am very happy to see that people are still behind WebOS after HP is putting more money into it.  I am more glad to see that HP is improving WebOS as a whole.  And now we have a new framework of WebOS to work with, Enyo.  I was a little skeptical first, but after explanation by Gary Norton in Q&A section, I was a lot more relieved.

Pros of WebOS 3.0

  • Enyo framework is extremely easy to use, it uses DOM as a displaying device and saves you tons of time from DOM manipulation
  • You can still use Mojo if you want, but company support is not 100% guaranteed on the legacy system.
  • Ares will have some Enyo framework from the demo
  • If you don't want any of these, you can still load up your web app into WebOS framework
  • The IDE is your webkit inspector, this is my favorite part
  • WebOS on HP Computers, which has a bigger install base than any cellphone manufacture

Cons of WebOS 3.0

 

  • Too Many Frameworks, too many ways of doing the same thing, and it get's really confusing which route to take.
  • Legacy support is unknown, for those who mastered Mojo, the skill sets that we spent a lot of time to learn are in jeopardy
  • New skill to learn, in order for Enyo to mature and draw huge amount of developers, HP is really gotta show that they are willing to support them.

That's just my 2 cents from HP's Developer Conference.  I will be supporting it regardless, Enyo seems like a cool framework to work with not only for WebOS, but for Web as well because it takes out all the hassle on css/cross browser.  We'll see where this goes.  Good luck, HP!

Tags: ,

WebOS

Facebook Connect SDK for WebOS

I have been trying to get Facebook Connect working on WebOS and having no luck of googling the answer, so I've decided to build it myself.

Below are the steps you need to get it working

Step 1

Create a facebook app at http://www.facebook.com/developers/createapp.php

Step 2

Setting up the website to your domain, in my case would be www.paschar.com, but you need to set it to anything that suites you

Step 3

Create your callback url on your website, which can be any url, in my case it's www.paschar.com/webos/callback.  Set it automatically redirect to following authorizing url upon receiving "code" in the QueryString

https://graph.facebook.com/oauth/access_token?client_id=[your clientid]&redirect_uri=[your redirect url, i use the same one]&client_secret=[your client secret]&code=[the code you receive form querystring]

Step 4

Now that everything you need outside of WebOS is done, you can download my "facebook webos sdk" from https://github.com/Nyceane/facebook-webos-sdk make sure you change the link to your own callback url in fbconnectassistant.js.

You should be able to see following screens step by step when successful.

  

 

 

If you find this helpful please feel free to make any comments or give donation.  I am trying to raise $7,500 to attend TED2012 Conference.

 

Tags: , , ,

Blog | WebOS

IIS7 Add or remove www. prefix on asp.net

Remove URL's code is used as follows

<rewrite>

<rule name="Remove www" stopProcessing="true">
                    <match url=".*" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_HOST}" pattern="^www\.(.+)$" />
                        <add input="{HTTP_HOST}" negate="true" pattern="^[^.]*dav.*" />
                    </conditions>
                    <action type="Redirect" url="http://{C:1}/{R:0}" appendQueryString="true" redirectType="Permanent" />

</rewrite>

To add www. or other prefix use the code as follow

<rewrite>

<rule name="Add www" stopProcessing="true">
                    <match url=".*" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_HOST}" negate="true" pattern="^www\.(.+)$" />
                        <add input="{HTTP_HOST}" negate="true" pattern="^[^.]*dav.*" />
                    </conditions>
                    <action type="Redirect" url="http://www.{HTTP_HOST}/{R:0}" appendQueryString="true" redirectType="Permanent" />

</rewrite>

This will save you some time

Tags: , , , ,

asp.net | IIS

Error Domain=com.google.googleanalytics.GANTrackerError Code=12245589

While I was working on iOS and google analytics, it wasn't working and keeps poping error like the one below. 

 

Analytics error: Error Domain=com.google.googleanalytics.GANTrackerError Code=12245589 "The operation couldn’t be completed. (com.google.googleanalytics.GANTrackerError error 12245589.)

 

After hours of search through the forums and looking back and Google Analytics behavior I found out the reason, Google Analytics needs to treat everything as a "page", and every page needs to have a "/"

 

so the fix:

 

if (![[GANTracker sharedTracker] trackPageview:[NSString stringWithFormat:@"/%@/%@", IOS, [self class], nil]

withError:&error]) {

DLog("Analytics error: %@", error);

}

 

as you can see, add a / in front would eliminate the error (com.google.googleanalytics.GANTrackerError error 12245589.)

 

 

 

Tags: , ,

iOS | Google

Android Twitter Integrator

Twitter has become very popular over past 2 years, mostly because its so open and everybody can have access to it.  So while rewriting Pickup Sports for Android, I thought it would be nice for users to tweet about their games.  But over few hours of googling it has become harder than I thought, majority of the API guides are out there are focusing on how to access Twitter itself through different of authentication methods.  All I want was for users to tweet about something very simple, and the only guides I was able to find was the ones integrating with TwitDroid, that wasn't even Twitter's official app.

So I write this little open source script for those who wants to integrate their android app with twitter app, and when twitter isn't installed it will automatically searching for TwitDroid through intent

https://github.com/Nyceane/Twitter-Android-Integrator

I'll write an example on how to use it next time.

Tags: , , ,

Android | Blog

Developer Entrepeneur, Coding vs. Business Plan

I've been coding a lot of stuff for the past couple of years, I've done consulting for a lot of people, and ultimately I do want to start a business that can sustain myself and grow to be something bigger, and eventually extract myself from the system have my 4 Hour Work Week.

A lot of my colleagues have always focused on how good their coding skills are, I'd admit it's important, but it's not as important as the Business Plan.  And as a Developer Entrepeneur out there, I'd want to focus more on business side or finding a marketting guy who can come up with business plan as a co-Founder.

I had a lunch conversation with my Co-Worker Denny Ferrosoli about my current job at Casting Networks, we were talking about how to upgrade the system and makes it better in terms of both user interface as well as code behind so it can be easily maintained, this way it reduces the cost as well as hassle for the developers, and it will be prettier to the end user.   But there is a big problem, the Founder of the company has resisted the changes for that project (not allowed to say, NDA) since the user have everything they needed.  The business runs regardless what technology we used, how good our code was, or how our users demanded certain functionalities.  This maybe a niche market where people can't break into the business easily but it's a great example making me realize what's more important in a start up.

This reminded me of my last job at a start up named Mitochon Systems, Inc.  The moment the we the developers poured our heart and soul to finish the prototype just so that the managment can present, entire development team was offshored to India.  There was heavy usage of 3rd party component to shave time which makes it very hard to maintain, but it didn't matter, the business can present the prototype to the VCs for their funding.

These are just some of the experiences I've gone through where Business Plan was clearly more important than the technology itself, it is an Entrepeneur's job to figure out how to build a business model rather than a technology that's just cool.

Tags:

Blog | Business

Health 2.0 Conference experience

It was a great week last week to attend Health 2.0, seems like a lot of company is showcasing the product they've build.  There were few very impressive ones such as Healthline.  CTO of United States as well as CTO of HHS were able to show up and give an very exciting session during first day, Mitch Kipor and Esther Dyson were able to give VC perspective on the 2nd day.

I use to work at Mitochon Systems, which is an Electronic Medical Record company that tries to connect Patients and the Doctors.  I think there are 3 biggest problem that comes in with Healthcare systems.

1) FDA and all these government regulations, this slows down the process which kills a lot of creativity.  For example, if I am to input my glucos level one by one into the cellphone, it is not regulated.  But as soon as I am doing it automatically from a device, it is subject to government regulation which takes a year before you can release your product.

2) Need vs. Want, in IT world, we are focusing more and more on how to make people's life easier, if people don't want to use certain products, they simply dont use it.  So we are making things as easy as it is to use for users.  But in Healthcare, it seems that people are focusing a lot more on need, there are huge amount of "inputs" that doctors "needs" to do.  This totally puts in more process than their current work, which is simply writing stuff on paper and be done with it.

3) Health vs. Healthcare, we all know that healthcare price is going up, and it becomes unaffordable for many of us.  So one way we should be looking at is preventive care that citizens should do for themselves, so this way it would reduce amount of people that actually needs "healthcare" since more people will be "healthy".  And this can be achieved through food and physical activity.  It's not a fix to the problem but it can at least get people to be aware of what's going on.

Thanks Indu and Mathew for hosting Health 2.0 and gave me a great opportunity to attend such a wonderful event.  I was part of Code-A-Thon team but my team was coding upstairs since it gets too loud downstairs.  So if you were at the same event feel free to express your opinions

 

Health 2.0

Tags: ,

Business | Health

Visual Studio 2003 and SVN

It appears that VS wouldnt open any projects that was checked out by SVN, the trick is do the checkbox on

Go to settings, click on general, check the box "Use "_svn" instead of ".svn".

Tada, it should work

Tags:

asp.net