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 :-)

8h
comment Play Store updating over Mobile Data when it is not supposed to
Duplicate of android.stackexchange.com/q/65445/36187 (Though the comments here are more useful - how often does play store update itself??)
8h
comment Play Store updates downloaded on 3G network by ignoring settings
Exact same symptoms here, also using a Sony Xperia phone, Android 4.1.2. And it is using far and away more 3G bandwidth than anything else on this handset. ...Just found the same behaviour on my Android 4.2.2 cheap Chinese phone. We will try switching off google play updates completely, and see if it stops it. (If I forget to report back, please ask!)
Apr
25
awarded Notable Question
Apr
24
answered How to execute a class member function in a separate thread using C++11 thread class?
Apr
24
comment Is minimizing squared error equivalent to minimizing absolute error? Why squared error is more popular than the latter?
This has no upvotes (at the moment) but isn't this saying the same as the answer that (currently) has 15 votes (i.e. outliers have more effect)? Is this not getting votes because it is wrong, or because it misses some key info? Or because it does not have pretty graphs? ;-)
Apr
22
answered Catch Unit Test Ordering
Apr
22
revised Catch Unit Test Ordering
Provide link to library, to avoid further confusion
Apr
22
comment Exceptions and BDD in C++ - Catch library
Can you show this in the OP's example? I.e. I imagine this has to go at the top of the WHEN("trying to connect") block, not in the THEN("connection was refused") block where the OP put his comment (and where it feels more natural). (Re: asserting on the exception message: I use this facility in phpUnit - I like the way that it effectively describes why the exception was thrown, so helps to understand the test when reading it 6 months later.)
Apr
20
awarded Nice Question
Apr
20
revised Casperjs: How can I print http requests and responses?
deleted 2 characters in body
Apr
20
comment Remove all except one colour from an image (commandline or code)
... changing to use +opaque "#a87830" and then -negate after -threshold works nicely. Fuzz of 1% and 5% appear equally good, but 10% included other map features. (Only tested on one map image, so far: it may that it was cleaner than is typical...)
Apr
20
comment Remove all except one colour from an image (commandline or code)
Aha! Changing from -opaque to +opaque gives almost what I want (black and white are the wrong way round, but I think even my ImageMagick skillz can sort that one out...)
Apr
20
comment Remove all except one colour from an image (commandline or code)
I notice that even if I reduce both fuzz and threshold to 1% I still get all the black lines from the original. (Only the brown lines should be kept, so black lines should go to white just like everything else.)
Apr
20
comment Remove all except one colour from an image (commandline or code)
Thanks! What are the different meanings of the 30% and 10% in your commandline? I was hoping there would be something with the meaning of "allow a similar colour but only if adjacent to a pixel of the target colour". That would allow for jpeg/scanner fuzziness, but not include the black and purple lines that your example has.
Apr
20
asked Remove all except one colour from an image (commandline or code)
Apr
19
revised Brother scanner and missing /dev/bus/usb entry?
Fresh information
Apr
17
awarded Constituent
Apr
14
revised boost property tree, iterators to an element for inserting?
Mark variable names as code, remove misleading double quote and ampersands.
Apr
13
awarded Notable Question
Apr
12
comment How to use data response in server sent events
This answer looks good. If it is still not working, try adding console.log(data) just after the JSON.parse() line, then check in Firebug to see exactly what you have at that stage.
1 2 3 4 5