Objectify App Engine Persistence Layer

Just found Objectify on http://code.google.com/p/objectify-appengine/

The Google App Engine/J low-level datastore API is simple and elegant, neatly reducing your data operations to four simple methods: get, put, delete, and query. However, it is not designed to be used by the average developer:

DatastoreService persists GAE-specific Entity objects rather than normal POJO classes.
DatastoreService Keys are untyped and error-prone.
DatastoreService has a machine-friendly but not human-friendly query interface.
DatastoreService has an unnecessarily complicated transaction API.
DatastoreService is rather poorly documented. You get to figure it all out from the Javadocs.

Google Cloud Printer Coming Soon?

From Google Doc Source Code below showed that Google Cloud Printer will be coming soon?

Google Cloud Printer eliminates the need for client computer to connect to their own printer to print the documents. By using cloud printer, any devices any clients, imagine you holding android on the street, just passed by a Google Cloud-aware printer, you just send your doc to that printer and gets your printed documents at there.

Attended 2 days of Malaysian Government Open Source Software Conference 2010

I, with Alvis Chen, had attended 2 days of Malaysian Government Open Source Software Conference 2010 (MYGOSSCON) helded in Putrajaya International Convention Centre, Putrajaya, Malaysia. This event helded from 2-3 November 2010 to spotlight the latest trends and developments in OSS. I will blog this event for what we see and what we learnt from here, started by the brief description of this event, and followed by what we had experienced there.

This is the first time we attend this important annual event in Malaysia, MYGOSSCON, which started from 2007, the 4th event in this year, which focused on open source implementation and opportunities discussion and forum in our country. The goal of MyGOSSCON 2010 is to provide a forum for decision makers, academia and IT practitioners to share, exchange and refresh ideas and information using real OSS examples, practical information and strategies.

In this event, there are 40++ booths from various companies, which from local or foreign countries, including IBM, Microsoft, Oracle, Red Hat, Novell, as well as government agencies and private sectors in Malaysia. There are 20++ presentations, talks, tutorials regarding open source and cloud computing, from various well-known speakers, that to be helded in parallel session. Before that, prize ceremony for three competitions had been announced.

Started by the open and welcoming talks by YAB Tan Sri Muyiddin bin Haji Mohd Yassin, the deputy Prime Minister from Timbalan Perdana Menteri, followed by opening talks about open source implementation stories implemented by Malaysian Government, from 2000. Year 2002 approved by Cabinet, 2004 the OSCC had been organized, started from 2007 annual MYGOSSCON to be organized, 2009 the first 24 hours web development programming event to be helded, followed by this year, 2010, the longest OSS programming event, 36 hours of web development contest, will be recorded in The Malaysian Books of Record. Prize presentation by deputy Prime Minister for 36-Hour OSS WebDev Contest Awards, Central Zone Schools OpenOffice.org competition Awards and Public Sector OSS Case Study Awards to be helded afterwards.

Presentation

In first session the wonderful keynote session by 4 speakers, sharing us about how OSS be an innovation for National Transformation towards vision 2020 by Dr. Nor Aliah; initiatives in boosting the local OSS industry by Badlisham Ghazali; The key to innovation by Open Source Start-ups from Mr. Timothy ney, Linux Greenhouse, USA, as well as Growing an Open Source Economy with competence at the Center by Mr. Michael Tiemann, Open Source Initiative & Red Hat Inc.

Started from second session there are concurrent sessions to be organized, the presentations we have attended followed by cloud computing opportunities in Government by Prof. Bu-Sung Lee from HP Labs Singapore and Android User Interfaces – Supporting Multiple Screen by Mr. Yap Wen Jiun, lecturers of MMU. Lee introduced us what cloud computing all abouts, benefits of cloud, challenges of cloud to be implemented, and HP works and goals to cloud. Yap presented us different Android Phones which have different screen size, taught us the keynotes to design the screen for achieving compatibility over different-sized Android Phone.

Followed by third session we have attended the tracks with topics of Open Data Private Access by Mr. Gunesh Raj from Content Farmer; Open Source for Mathematics and Engineering Research by Mr. Tan Chin Luh from Trity Technology; and Java Servlet 3.0: Ease of Development, Pluggability and Asynchronous Support by Mr. Lee Chuk Munn from Oracle. In first talks, we learnt that the private information such as our health records, or any other personal information, which of different types such as text, images, video, audio, can be shared with open data format, therefore can be received through special private tunnel. Secondly, Scilab, an open source engineering software similar to Matlab proposed by Tan, giving us another powerful tools applied in engineering fields. Third, the most interesting for me the new features shown in Java Servlet 3.0, how powerful of the improvement of development part, lesser configuration, auto and pluggable of external framework with supported web fragment, and new things about asynchronous support in Servlet, which having non-blocking process inside servlets to increase the efficiency of servlet by able to accept more HTTP requests. Long process can be run in another back-end thread, and the former request thread can be suspended to serve another requests, and when the back-end thread completed, the request thread raised again to response the information to user. Look like Comet strategy.

Followed by 3 November 2010 the fourth session about Smart Camera Project; MyID Implementation and Organizational Intelligence using Gatekeeper and Vanilla; and PHP – Security. Smart Camera Project is something camera that is able to predict something may happened in the near future then immediately alert person-in-charge such as guard to do something to reduce the unhappy issues happens. Not very interested for this. Next, MyID implementation that targeted Malaysian Citizen that using IC Number to identify unique users. It is supposed to be used in single sign on in the governmental website, e-business website and any other website to make user convenient. It can be used in anything. If not mistaken. Third, the most interesting of the sharing about PHP Security. Looking for different opportunities for the hackers to hack our PHP system. Approximately 60% are the new knowledge that we gained from the speaker. Will try it later on. Had improved our knowledge in PHP security, how to make our system more secure.

Followed by the fifth session about Web-based Time Attendance and Leave Management System and The lost art of speed: dyno test your php application. First talk is about the system developed by Prof Dr. Md Gapar Md Johar from MSU, how they apply real time biometric system inside this system that used in their university. Second one is about the uses of tool named as XHProf?

Lastly, the forum session about the future of Cloud Computing, by chairperson Mr. Alan Tong, International Data Corporation (IDC) Asean, as well as the three fellow panel members: 1. mr. Daniel Ng, Red Hat Inc; 2. Dr. Dzahar Mansor, Microsoft; 3. Mr. Ray Davies, IBM Software Services. They had discussed how their companies to innovate, invest in cloud computing, introduce different types of clouds, the benefits of cloud to different level of users. Say why we need cloud, what the cloud give us. And based on the current situation of Malaysia had discussed the implementation of cloud computing opportunities in Malaysia, and had discussed how OSS can boost the cloud computing.

Final session is about the prize presentation for Best Booth Award, and it was winned by Joget Booth!

Overal, I try to rethink what I heard, see, learnt in this conference. But I know at the time I am writing there are many mistakes and the points I have missed during whole article, so I need assitance in order to complete everything inside. Leave a comment whenever you find anything need to be fixed or added. At the same time, leave a comment also to discuss everything about this conference, open source. This article will be the guideline for me and reader about how Open Source Conference helded in Malaysian going, the keypoints that we can noted, and what we can apply in our industry and our country.

blekko slashtag search

Blekko is another search engine competes with Google and Bing Microsoft. It aims to eliminates unwanted noises of information from the search result and return the truly user want. It applies slashtag method to power the search, by giving mary/girl, you get the girl who named Mary, by giving CD/amazon, you get the CD from amazon. It is amazing and you can create your own slashtag as well.

Blekko is now in beta mode.

Below is the text that believed it was the objective of Blekko doing another gang of search engine:

web search bill of rights

1. Search shall be open
2. Search results shall involve people
3. Ranking data shall not be kept secret
4. Web data shall be readily available
5. There is no one-size-fits-all for search
6. Advanced search shall be accessible
7. Search engine tools shall be open to all
8. Search & community go hand-in-hand
9. Spam does not belong in search results
10. Privacy of searchers shall not be violate

音乐音符搜索

有时候依稀记得旋律,但是忘记歌名是什么,上网怎么找得到这首歌呢,都没歌名,只有旋律。。。。
有了这个音符搜索功能,在搜索框只需输入 doremi 这些音符词汇,系统就能自动匹配相关的歌曲出来了。

设计方式:
1. 把一首一首的歌曲,记录下他的歌曲名字和作者名字,然后摘录他的 doremi 序列,存在数据库。
2. 当搜索框有 doremi 的关键词后,就自动去向数据库匹配,返回最佳的歌曲。
3. 有些歌曲是C调,E调,不同的调,所以有些东西我们误以为是 doremi,实际上是 mifaso,这个也要匹配得出来了。
4. 如果能做得到,有些音符是长是短都能匹配出来,会更加准确。

应用:
1. 应用在任何音乐搜索网站

使用技术:
1. 要匹配音符,可以采用神经网络 (Neural Network) 以及设计特别的 Knowledge Base 或音符表示格式。
2. 想办法把歌曲 (wave) 转成 midi 档案,加速匹配。

Icore changed package info and increase my space and bandwidth

Suddenly realised that, ICORE had changed package information and my RM 199 package had changed to 20GB and 200GB monthly bandwidth, and previously it is 15GB and 100GB bandwidth.

Very thanks ICORE because it always provide quality and reliable service and having good customer service. I will continually support ICORE for my fyhao WebBlog, Qxinnet Site, and will recommend anyone to use this service.