Hopefully the title of this post got your attention! One of my (very few) readers asked about the Japanese text transformations I use to enhance Japanese and English mixed text queries.
I promised to post some of the snippets, so here they are.
Read the rest of this entry »
Posted in development, plugins, ruby on rails, sphinx, weekend | 2 Comments »
Paul Graham often wrote about “makers” — those people who “create” something from nothing as a profession, obsession and way of life. This video features Ira Glass, the host of This American Life on Chicago Public Radio.
The real value here is how well he describes the struggle all artists/artisans go through. In particular, how one transitions from just struggling to a unique and enviable level of accomplishment. I hope you also enjoy it when he “dredges up” an embarrassing news piece from early in his career. Check it out here…
[kml_flashembed movie="http://www.youtube.com/v/-hidvElQ0xE" width="425" height="344" allowfullscreen="true" fvars="fs=1" /]
Posted in random | No Comments »

Watch Out, You Swine!
I have to admit, the only reason I am blogging about Swine Flu is because of the warning diagram published by Japan’s Health and Labour Ministry.
At first glance, it seems to have been re-purposed from the “Don’t get close to drunk guys” warning posters. But on closer inspection, those spewed dots may be from the “Foreigners shouldn’t eat natto“ series!
Currently the mood in Tokyo is a little bipolar. On the one hand, all drug stores have sold out of their supply of face masks. On the other hand, no more people than usual are wearing masks on the subways, and people continue to congregate in large numbers. Admittedly in Tokyo, the only way to avoid congregating in large numbers is by being really smelly, or staying at home!
Read the rest of this entry »
Posted in japan, random | 1 Comment »
That’s “HMM” as in Hidden Markov Models, not as in “hmm I’m wondering why I never liked math at High School?”
HMMs are an impressive and “easier to understand” approach to machine learning. Basically, by measuring the probability of observable state changes (e.g. your friend telling you what he did on the weekend) you can infer the likelihood of unobservable events (e.g. what the weather was like).
Example:
If your friend tells you he did this for the last few weekends … Watch TV -> Play Football -> Watch TV -> Clean House.
HMMs helps us work out what the weather will probably be at the end of the chain … Rainy -> Sunny -> Rainy -> ???.
In other words, we can work out the probabilities of events we cannot see or observe (this is the “hidden” in Hidden Markov Models) based on related observable events.
Read the rest of this entry »
Posted in development | No Comments »
I recently received some comments regarding the Sphinx Search Japanese character table. This prompted me to document it a little better. To be honest, I originally put the character table together during a late night coding binge in 2008. As such my memory was a little fuzzy.
After visiting the Oracle of Unicode (now resident at unicode.org), I was able to clear up somethings for myself. Hopefully it helps you too, where-ever you are!
Read the rest of this entry »
Posted in development, ruby on rails, sphinx | 12 Comments »
About 4 months ago I was wondering how hard it would be to get Sphinx to work in Japanese. This fantastic freetext search engine by Andrew Aksyonoff has literally changed my approach to web development.
At the time there were instructions for Chinese, but no Japanese unicode character map. Basically, Sphinx needs a “guide” to read UTF8 data, called a character map. It tells Sphinx which unicode charcters to index, and which to discard.
Here is the character map for Japanese:
Read the rest of this entry »
Posted in development, iPhone, mobile, plugins, ruby on rails, sphinx | 9 Comments »

Finally got fed up with YourSQL, a no longer supported MySQL client for Mac OS X. Digging around I stumbled upon Sequel Pro (www.sequelpro.com). Extremely fast (YourSQL was horrendously slow), and so far much more stable than mySQL Administrator for OS X. It’s early days using this, but I must say it looks impressive!
Mac OS X Clients
Et voila, another open source project delivers a quality and indispensible tool for development on OS X.
Posted in development | 1 Comment »
Mashables has released a custom iPhone App to view their posts, tweets and events on the go. Despite the title of this post, overall it is a great little app, and potentially much better than browsing through the normal browser. Unfortunately it is still in need of some “polish” to make it really sparkle!
PROS:
The RSS feed list is responsive and easy to read, the Tweets list is cool too. The embedded browser starts-up straight away and drops down in a visor like fashion. The main page also sports a pleasant background image (it would be cool if this changed periodically). Overall the design plan was well executed.
CON: Offline Mode
Whilst all men were created equal, some men created 3G networks more equal than others. My carrier in Japan (Softbank) has terrible reception in subway stations. In between stations, don’t even bother (apparently only Seoul, Korea has this super-3G-ability). Admittedly the Mashable app isn’t the only culprit in failing to think of subway users, however, it does have it’s very own annoying “out of range” prompts. In fact, one for every RSS image it fails to load whilst out of range!
CON: Stability
Basically the in built browser loads quickly, but crashes the app pretty quickly too. I like the idea, I just want it to be more stable!
CON: Caching
It doesn’t seem to cache anything and will not load if you are not out of network range.
Conclusion
As a strategic move, the Mashable app is a great idea! It will certainly win a number of iPhone users away from competing sites like Tech Crunch, Read Write Web and similar. As for the Mashable app, I am keen to see a stability fix in the near future. Click here to get the app from the iTunes Store.
Posted in iPhone, japan, mobile | No Comments »

Having used the iPhone 3G since August 2008, I am definitely a fan (fanboy?) I am currently addicted to Tap Tap Revenge 2, and I probably spend most of my traveling time glued to mobile Safari. However, since the iPhone 2.0 upgrade, I have noticed that only people who don’t ride subways could possibly have designed the “out of range” error alert!
3G or Not 3G, that is the question!
Whilst all men were created equal, some men created 3G networks more equal than others! My carrier in Japan (Softbank) has terrible reception in subway stations. In between stations, don’t even bother (apparently only Seoul, Korea has this Super-3G ability). Since iPhone 2.0 I get endless prompts every time I move between stations saying that I am out of range (duh!) Maybe they can also set the acceleromator to tell me when I’ve fallen over too! The iPhone software designers obviously don’t ride the subway, heck California doesn’t even have one!
Read the rest of this entry »
Posted in iPhone, japan, mobile | 2 Comments »

Microsoft has released it’s vision of the future, circa 2019. This vision centers around ubiquitous touch panels on everything from credit cards to kitchen tables. Whilst futuristic and wow-worthy by today’s standards, will it become another forward looking relic, a la the House of the Future, 1950′s style?
[kml_flashembed movie="http://www.youtube.com/watch?v=DQdGvfV4WnU" width="480" height="295" allowfullscreen="true" fvars="fs=1" /]
Or check out the original article here… http://www.psfk.com/2009/03/microsoft-2019.html
Here are some of the key technologies needed to make Microsoft’s vision possible:
1. Really big, high fidelity touch panels with fast refresh rates
2. Complex 2D/3D GUIs
3. Speech to text conversion
4. Human language machine translation
5. Location / Touch aware devices
6. Universal short range, wireless communication
7. Digital paper
8. Digital displays integrated into all sorts of furniture
9. Really big “floor arrows”
10. Faded pastel colors (lightsteelblue or olivegreen, I can never decide!!?)
Overall I must say, they have made some excellent eye candy. However I am always impressed by the cleanliness and sparsity of future visions, and constantly disappointed by all the trash that surrounds me in the present.
If anyone sees Microsoft’s vision of the future kitchen, let me know. As an idea I really liked Star Trek food “replicators”, so I wonder what Microsoft has cooking in their culinary labs!?
Posted in random | No Comments »