Tuesday, December 22, 2009

Winter brake

I take a winter brake, so I suspend posts and comments to this blog for a moment. Resume will be January 8, 2010.

I wish you a Merry Christmas and a Happy New Year.

Saturday, December 19, 2009

Qt 4.6's ECMAScript

I forgot to write about ECMAScript changes in phosphorescence: Qt Conference - Tokyo 2009.

Until Qt 4.5, QtScript and QtWebkit have each implementation of ECMAScript engine. But from Qt 4.6, these are unified to QtWebkit's one - JavaScriptCore from Webkit.

Wednesday, December 16, 2009

Qt Conference - Tokyo 2009

In 2 days ago, Qt Conference - Tokyo 2009 was held at Tsukiji, Tokyo. There are many sessions and many notable topics like below:
  • Qt is running on everywhere, PC OSs, Mobile ones, STB, Coffee maker and so on.
  • Qt had been open-sourced into the open-repository - on Gitorious.
  • From 4.6, Qt supports Mulit-touch feature on Mulit-touch ready OS like Mac OS X, Windows 7 and so on.
  • And from 4.6, Qt refines Webkit integration and brings State Chart XML support.
  • From 4.7, Qt will support Declarative UI as QML.
  • In Asia, Taiwan and Korea are the region where Qt is widely used in. ASUS is most one.
  • HOW-TOs about distributing Qt application with Comercial, LGPL, or GPL license.
  • Qt 4.6's GUI New Feature 1/4: Animation framework. That is to change properties of QObject dynamically.
  • Qt 4.6's GUI New Feature 2/4: State machine. That is made with State Chart XML.
  • Qt 4.6's GUI New Feature 3/4: Graphical effects - like shade, blur and so on.
  • Qt 4.6's GUI New Feature 4/4: Multi-touch and Gesture - like tap, pinch, swipe and so on.
  • Qt 4.6 supports Symbian S60 3rd1, 3rd2 and 5th.
  • Qt 4.6 supports Windows Mobile 5 and 6. But 6.5 is not yet. Qt 4.7 will support Windows Mobile 6.5.
  • Qt 4.6 for Maemo5 is built on Gtk GUI framework, but from Maemo6, Qt itself will become GUI framework.
  • QtCreator is not only IDE, but also is good sample for cross-platform application. We can see its source code from Gitorious.
  • QtCreator helps our debugging and Unit-testing. And Squish/Qt integrates auto-testing and regression testing.
  • Translation flow for Qt application: lupdate -> edit .ts -> lrelease -> load .qm
  • Tips for Using String classes, QObject::tr() or qtTrid() and QT_NO_CAST_FROM_ASCII
  • Hiring translators is more expensive than hiring us - the developers. For example, in Japan translation price is 27 yen per one word.
  • From symbian^3, it will become based on Qt and more. And from symbian^4, it will become full-Qt-based.
And one more notable topic, download count is 2.5 times than before setting LGPL license.

Monday, December 14, 2009

NetBeans 6.8 has been released finally

In 4 days ago, NetBeans 6.8 FCS has been released.

This Ruby bundle installer bundles JRuby 1.4.0 and FCS of Glassfish server 3(JavaEE 6). But there are one bug for non-English users. Plugin URL contains language code like catalog_ja.xml.gz.

So we should remove it like catalog.xml.gz.

Friday, December 11, 2009

Ruby 1.9.1 p376 was released

In the first day of this week, ruby 1.9.1 p376 was released. So I download and re-install its package like this entry. Let's check.
> /opt/ruby-1.9.1/bin/ruby --version
ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]

Then I re-build QtRuby like this entry.

Tuesday, December 8, 2009

Euler's formula in Ruby

require 'mathn'
def euler(prec=10)
  result = Math.exp(Complex(0, -Math::PI))

Let's execute this method with default argument.
> euler
And execute with argument.
> euler 14
But more precision...
> euler 15
> euler 16
It occurs because of floating-point error.

Saturday, December 5, 2009

Qt 4.6.0 was released

In the first day of this month, Qt 4.6.0 was released. I download and install Qt 4.6.0 SDK (LGPL) from here.

But I decide to keep on using Qt 4.5.3 on openSUSE 11.2, so I install to my another Windows 7 machine. Qt SDK for Windows bundles latest MinGW.

Thursday, December 3, 2009

Panel for publishing AWDwR 3rd Japanese edition

Today, panel for publishing AWDwR 3rd Japanese edition was held in Ikebukuro, Tokyo.

While I have been using Ruby and QtRuby in non-business, now I have to use Ruby on Rails on business. So I bought this book and start studying. And I attend today's panel by Shugo Maeda(translation supervisor) and other supervisors.

There are many inside stories about translation works and about impedances between Ruby communities and Rails communities (related with Jeremy Kemper's session in phosphorescence: The 2nd day of RubyWorld Conference 2009 (Morning)).

By the way, novelty of today's panel is a calculator.

But we already have NICE calculator like below: