Research, Dev and Share

Thoughs and Steps on Business Technology



Google Objective-C coding standard

without comments

I am not sure what coding standard you follow, but I usually follow the Objective-C coding standard of Google for code formatting:

Spacing And Formatting

Spaces vs. Tabs

Use only spaces, and indent 2 spaces at a time.
Line Length

Each line of text in your code should try to be at most 80 characters long.
Method Declarations and Definitions

One space should be used between the - or + and the return type, and no spacing in the parameter list except between parameters.
Method Invocations

Method invocations should be formatted much like method declarations. When there’s a choice of formatting styles, follow the convention already used in a given source file.
@public and @private

The @public and @private access modifiers should be indented by 1 space.
Exceptions

Format exceptions with each @ label on its own line and a space between the @ label and the opening brace ({), as well as between the @catch and the caught object declaration.
Protocols

There should not be a space between the type identifier and the name of the protocol encased in angle brackets.
Blocks

Blocks are preferred to the target-selector pattern when creating callbacks, as it makes code easier to read. Code inside blocks should be indented four spaces.

Written by admin

January 28th, 2012 at 10:48 pm



My 1st lesson – Altitude

without comments

Second Prize Medal

Second Prize Medal

The picture is the medal that I got for the Second Prize in Ho Chi Minh city Mathematics Olympiad. It has always been in my desk since that time. Not because it is the greatest thing I have ever done. It is there to remind me of one of the biggest failure in my life. It is there to remind me what I did and felt when I was in 11th grade.

 

 

 

 

My feet were off the ground
The second highest winner in the Southern Mathematics Olympiad turned out to be a bad motivation for me. It killed my love with maths. It made me feel that I am too special. It made me overestimate myself. I believed that I couldn’t fail. That was a big mistake.

I didn’t prepare well enough and didn’t try hard enough on the next city contest. The result is: I couldn’t step into the next round. My friends and family wouldn’t know what happened. But I knew what was wrong. I put myself off the ground!

This failure led to the next big failure.
Depression

Now, imagine that everybody is looking at you; the next second, nobody gives you a shit. That was what happened to me. I felt totally useless and lose my orientation. I did not know what to do next, if I should continue studying maths or focusing on other subjects to pass the university entrance exam. I did not know what to do when losing all the attentions people gave to me. I was thirsty for that fame.

This made me lost my focus, forgot what was good for me, what I would like to do. It cost me 4 months living in jeaulous feeling with winner guys before I could realize what was meaningful to me. It was maths! Not the prize, but maths! I felt good that I recognized it early enough to be back on the right track and focus on what I love.

Both of them gave me a difficult time, and always kept reminding me of what is my true value, what I should aim for.

The purpose of this post is to try to remind me of what happened in the past. I know that people are talking a lot about me right now, but keeping my feet on the ground, being focused on my long term goal was the highest priority work.

Written by admin

January 19th, 2012 at 11:01 am

qTrace – The next thing in Testing

with one comment

I just came by this qaSymphony site few days ago while looking for a new Testing tool for my next web project. The video looks attractive for me and I can tell you that it is amazing.

Watch this video:

With all the automatic supports and tracking tool, we can finally reduce the efforts for testing and bug tracking in our company now. I am still in the trial mode, but I think this tool is amazing and offers us a lot of help.

Written by admin

January 6th, 2012 at 4:40 pm

Me in RMIT and Vietnamese Newspaper

without comments

You can read the Vietnamese version here



Many software engineers and IT professionals dream of developing a ‘killer App’ for popular products like the iPhone, which will make them rich. Other people dream of one day having a book published.


Not many achieve either – and even fewer do so in their early 20s. But Vo Duy Khang (formerly student 3184092), an alumnus of RMIT Vietnam’s Bachelor of Information Technology program, has hit the jackpot with success in both of these areas – and now has the makings of a successful business spanning both Vietnam and Australia.


Khang graduated from RMIT Vietnam in November 2010 and travelled to Adelaide, Australia, where he is now completing a Master of Information Technology with Carnegie Mellon University, under a full scholarship.


With the benefit of the scholarship, Khang has been freed up to apply his own financial resources fully to get a small business off the ground while he also continues his studies.


His hard work and talent have been recognised by US publisher Apress, which has just decided to publish a book by Khang on how to build better iPhone applications. Khang’s book, Pro iOS Apps Performance Optimization, fills a need in the market for more practical guidance in this booming area of consumer technology.


Khang’s creativity and expertise has also been applied to a new business start-up in this field which already has five people on staff in Australia. Khang has been visiting Vietnam in the past month seeking further talent from Vietnam to join his operation.


Almost all his development team to date are RMIT students or graduates.


“They speak English well, and they all have a good understanding of what is needed,” Khang says.


According to Khang, the basis of a good user experience of any iPhone or iPad App is good performance. There is enormous potential in helping social networking applications such as Facebook to provide a better user experience by moving data in a quicker and smarter way over the net.


Apress has been impressed by his thinking in this area, as shown on his own website and as shared amongst the online community overseas.


One of Khang’s mentors has been Barend Scholtus, Academic Services Manager for the Bachelor of IT program, and the two continue to discuss shared interests regularly.


“We hope – in fact we are pretty sure – that Khang’s learning experiences at RMIT Vietnam have made contributions to his achievements to date, and we hope the best is yet to come.”



 





Khang (sitting) sharing knowledge with friends in Barcamp 2011


 


Khang’s book on Amazon: http://www.amazon.com/Apps-Performance-Optimization-Professional-Apress/dp/1430237171/ref=sr_1_1?ie=UTF8&qid=1321662306&sr=8-1


Facebook page: http://www.facebook.com/vodkhang
Contact info: Phone +61 478146872 
Email: vodkhang@gmail.com


 

Written by admin

December 29th, 2011 at 2:16 am

AndroidPC and AutoScreen ON SALE!

without comments

AutoScreen Release

AutoScreen Release


To celebrate the Christmas and New Year, we put AndroidPC ON SALE! BUY it now, you only have less than 1 week to do so.

We also just released a new product called AutoScreen, and putting it ON SALE as well. Save battery! Turn off the screen! WITHOUT THINKING. It just got all the hard works done for you. BUY IT HERE.

Written by admin

December 24th, 2011 at 2:25 am

iTunes U – a great learning hub

without comments

Stanford in iTunesU

Stanford in iTunesU

 

It would be so surprised for me that very few people ever knew about iTunes U. Come on, what’s wrong here? It is a great place for you to study through Harvard, Yale, MIT, Stanford and Carnegie Mellon. And all courses are free. Many people dream about these universities, so I think it is worth my efforts giving an advertisement and some introduction.

 

 

 

 

1/ Open iTunes and choose iTunesU

General iTunesU

Select iTunesU

 

2/ Select the university you want to learn

iTunesU

iTunesU

3/ iTunesU has a lot of cool universities: Harvard, MIT, Stanford, CMU

iTunesU Schools

iTunesU Schools

 

4/ Courses at Yale

iTunesU Yale

iTunesU Yale

 

5/ Download the video you like

 

Yale - Game Theory

Yale - Game Theory

Written by admin

December 10th, 2011 at 12:30 pm

My New Book – 21 years old achievement

without comments

21 years old, I got my first book released, I was so excited. Buy it here

Pro iOS Apps Performance Optimization

Pro iOS Apps Performance Optimization

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Today’s iPhone and iPad apps developers are often running into the need to refine, improve and optimize their apps performances. As more complex apps can be created, it is even more important for developers to deal with this critical issue.

Pro iOS Apps Performance Tuning and Optimization covers many common but difficult problems when tuning and optimizing performance for iPhone and iPad apps and how to resolve these problems efficiently. This book gives you the following:

  • Basic knowledge on common problems in iPhone apps
  • Advanced knowledge over data structure, algorithms, multithreading, and network data in iPhone apps
  • Comparison with problems and solutions for Android and Windows Phone apps

After reading this must-have book, you’ll be ready to make the most of the processing power of the iPhone with your apps performance optimization know-how.

 

What you’ll learn

  • Benchmark your apps using emulators and real device tests
  • Increase and optimize UITableView performance in your iOS apps
  • Increase your app performance using image and data caching techniques
  • Tune your apps using algorithms and data structures
  • Improve your parallel data access using multithreading techniques
  • Optimize memory usage for increased battery life and better apps performance
  • Use native C code to address memory leaks or EXEC_BAD_ACCESS

Written by admin

November 20th, 2011 at 5:41 pm

iOS Readability Parser

without comments

Hearie - News Aloud

Hearie - News Aloud

 

 

I have just released part of my source code in the Hearie project to be open source, this project will do the html readability parsing by objective-C. It still has some issues over threading, performance and may not work with all sites.

Feel free to use it and contact me if you have any issues

 

Hearie gets rid of distractions in webpages. Also, a high quality voice reads the content for you.

How many times have you complained your iPhone screen is too small to read? Hearie removes all useless contents including advertisments, links and more. Open your Safari, go to New York Times, tap our button and enjoy.

Hearie reads the content for you with human voice. Free your hands and eyes. Plug in your earphones and hear the content.

Written by admin

November 6th, 2011 at 4:13 am

2nd professional year

without comments

 

Success is moving from failure to failure

Success is moving from failure to failure

So, today is the end day of my second year of professional working. As normal, I take a look back my career and see how it is going, what has happened over the last year and if it is going well with my old plan here.

 

What did I do?

I planned to learn more and work more in the technology, gain skills in Artificial Intelligence, Web and Mobile development. Almost all of them fail. All reasons started from this CMU scholarship admission that brought me back to Australia.

It was a huge chance, a chance that I had been dreaming for. It was not just the excellent environment of CMU, it was not just the reputation of this university, it was a chance for my own business. Coming back to a good market, having chance to work with smart people and starting inside a uni was a good chance.

 

 

So, I spent my time here studying finance, economics and entrepreneurship. I also spent most of time building up and trying different things, from outsourcing, writing book to product development. Lots of lessons, lots of new things and lots of failures as well. I again, grew up much faster than I ever did, just as the first time I went oversea to Melbourne. A lot of pains, but also a lot of gains.

What did I learn?

Well, I learnt something more about finance, economics and accounting. That helped me to solid my money management skills a little bit. It is better not to be fooled by those financial and business guys :) ). I learnt from both the theory inside CMU and both from the work. And I sometimes had to pay more for the real life to learn.

I also learnt about sales, marketing and investment for both Android and iPhone apps. Go over 2 markets, learn different techniques, become a salesman and a customer support sometimes, all are painful when all look like a new job for a geek.

Management is also something I learnt more from real life than some boring courses in CMU. Painful and stressful sometimes, but I got lessons out of it, adjust more for the real life and moving forward.

Working deeper in some iphone and android project. I also gained and solid my iPhone skills after writing the book about it. Starting to learn android development. That’s all for my technical skills this year.

What will I do for this coming up year?

I now look for more chances to grow rather than just outsourcing and earning money. I am now working on a new and innovative project called Hearie (that I will write about it soon). I still need to figure out a good market for it but I still love doing it and it is moving ahead. That’s good.

A good fact is: failure always hurt, sometimes it damn hurts, but I learnt from it well.

Written by admin

November 4th, 2011 at 10:55 am

High Risk – High Return

without comments

The best way to predict the future is to create it

The best way to predict the future is to create it

People always say about how passion can make you successful, and there are plenty of books around that topic. So for now, I will just look at the problem by some limited financial perspective: High Risk, High Return. Well, all financial guys know this theory, huh? So, I just try to see what I did and achieved in these terms.

Since I was in high school, I started thinking about what would motivate me, what would make me feel good when I did something. I preferred taking risks to get a really good outcome rather than staying and following a safe path since my high school. Until some recent days, I recognized that this is the only way for me to get an excellent outcome in a short time. High Risk means High Return.

 

The Safe Zone

There is not much fun and passion if I just stay in my safe zone. Everybody does that, there is a safe way for you to go. And most of the time, I feel bored with going that safe way. Passion is important, but I feel that if I don’t go further and take some risks doing what I love, I don’t love it enough. Is it so much fun if you always know how the future works?

Passion will always give you to the edge of the safe zone, you can understand and see further than other people. Now, the thing is that you need to step out of that safe zone and take risks. If you are really passionate about something, do you want to see it become a huge success. If yes, make it! make the future!

The best way to predict the future is to create it.

Since the beginning of my career, I started asking myself “What to learn next in the IT career?” and how I can predict the future of this IT industry. And then, the more I move forward into the career, the more I know that the best way to predict the future is to create it. That’s why I get more involved in what I love and believe, joining open source community, try some start-up and cutting edge technologies.

No surprising, one of the most risky situation in IT is to try to invent some new product. People may or may not adopt your product, you may not find any users. And nobody may believe in your idea except yourself.

Written by admin

November 2nd, 2011 at 11:43 am