UPDATE: My new book, "Data Push Apps with HTML5 SSE" is out and selling! Get it from O'Reilly here: http://shop.oreilly.com/product/0636920030928.do Or from Amazon here: http://www.amazon.com/dp/1449371930 Or from any good bookseller.


I'm director at QQ Trends, a company that solves difficult data and software challenges for our clients. (We often have freelance projects, so get in touch if interested.)

UPDATE: currently looking for a part-time CSS/JS programmer. 理想は東京所在、日本語が読める方。Interesting project(s), you will definitely learn something.

(And, of course, please do get in touch if you have interesting challenges that you would like our world-class experts to work on!)

Typical work: doing fun stuff with data (fixing, mining, etc.), web sites (front and back-ends), trading strategies. Research: trading strategies, computer go, machine translation, understanding context, AI search algorithms. Languages: C++, PHP, R, javascript, and many more.

I'm British, living and working in Tokyo for almost 20 years. Human Languages: English, Japanese (fairly fluent, 1 kyu), some German, Chinese and Arabic.

(Contact me at dc at qqtrend dot com: please mention you are coming from StackOverflow, so I know it is not spam.)


Easy ways to irritate me on StackExchange sites (whether my own question or someone else's): 1. Downvote without a comment (N/A/ if someone already left a comment and you just agree with it, of course); 2. Answer in comments. Other than that I'm a really easy-going pragmatic guy :-)

5h
comment Programmatic Flash/Flex SWF Interaction
Are you asking how to use phantomJS to interact with a flash app? That was how I read it, but all other answers/comments seem to be trying to solve your bigger problem... Anyway, if the former, you need to use mouse clicks. See this answer: stackoverflow.com/a/17470423/841830 (and if that answers your question, perhaps you can delete this question, or mark it as a duplicate?)
6h
comment How to copy existing movie files on ipad to watch?
I installed "Documents 5" by Readdle, which is free, with only non-essential pin-app purchases. I could then tap Network, then SFTP server, and connect to my Ubuntu 14.04 machine that way. (I didn't need to set up an SFTP server - running sshd seemed to enough.) Lots of other connection options. I have tested mp4 and pdf files. The movie player is okay, and the PDF viewer is okay; shame I cannot choose to open the files with alternative movie players, though.
6h
comment How to copy existing movie files on ipad to watch?
ios8 and Ubuntu 14.04 (with up-to-date packages for libimobiledevice-utils and ifuse as of 2014-12-20) does not work. It shows "iPad", but not the "Documents on My iPad" link. The only thing I've managed to get to work is to pull-in files over scp and wifi, as shown in this answer: askubuntu.com/a/533366/93794
17h
awarded Constituent
18h
awarded Caucus
1d
revised GET GET GET GET GET DO - Overdesigning? Efficiency vs Consistency
typo fix
1d
comment GET GET GET GET GET DO - Overdesigning? Efficiency vs Consistency
@cmaster Yes, fair point, I could've chosen gameManager and viewport. Consistency throughout the project is most important, so if someone sees VP (or whatever) they know it is a viewport object.
1d
answered GET GET GET GET GET DO - Overdesigning? Efficiency vs Consistency
1d
revised GET GET GET GET GET DO - Overdesigning? Efficiency vs Consistency
Added ogre3d tag, as programming style will be influenced by the library.
1d
awarded Necromancer
1d
comment When transporting high-end food stuff from Chita to Moscow, which method is more fuel efficient, by rail or by air?
It'd be interesting to consider refrigeration costs. E.g. the extreme case: assume refrigeration is needed for the long rail journey, and none needed for the quicker and high-altitude air journey. Would air still always use more overall energy?
1d
awarded Scholar
1d
accepted Why is gold unreactive when only one electron in outer shell?
2d
comment CasperJS cannot set window.navigator object
Also keep an eye on the TrifleJS project ( triflejs.org ). It is not working with CasperJS yet (which is why I am not posting this as an answer!), but that is one of their goals. (It can emulate IE7, so might be your best choice, if you are not tied to CasperJS.)
Dec
16
awarded Student
Dec
16
awarded Supporter
Dec
16
asked Why is gold unreactive when only one electron in outer shell?
Dec
16
awarded Autobiographer
Dec
15
answered SSE cannot maintain connection
Dec
15
comment SSE cannot maintain connection
As a minor aside, I assume you got no output at all with your first example (no-while-loop) with IE (as it doesn't support SSE)?
1 2 3 4 5