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

1d
comment C++ Logging Framework
Voted to re-open as the proposed duplicate has very different criteria: they want a UI/viewer, this question doesn't require that; this question wants header-only, and the other question does not require that.
1d
answered PhantomJS Change JS src before he starts loading
Aug
23
comment Why did the self=this idiom go wrong in this case?
@Musa, I made an edit, does that make it clearer and answer your question?
Aug
23
revised Why did the self=this idiom go wrong in this case?
Tried to clarify the code a bit
Aug
23
asked Why did the self=this idiom go wrong in this case?
Aug
22
comment EventSource is not triggering on addEvent listenning
P.S. Forgot the blatant plug: I cover the event: line in chapter 8 of my book, Data Push Apps With HTML5 SSE. The primary reason I don't use it is the book shows how to support older browsers, and using an event line makes everything more complicated. A secondary reason is that for typical use-cases of SSE it offers no advantages.
Aug
22
answered EventSource is not triggering on addEvent listenning
Aug
22
answered In Symfony 2 : How to give the datas from eventSources to the EventListener
Aug
20
answered Collecting Twitter data (Tweets) and storing in DB
Aug
20
comment calculating the sentiment score of a sentence using ngrams
@nEO I expanded my answer. I hope it is clearer now.
Aug
20
revised calculating the sentiment score of a sentence using ngrams
More explanation.
Aug
19
answered calculating the sentiment score of a sentence using ngrams
Aug
19
comment single keypair for all regions
Just confirmed this worked. (I only had 380 bytes, not 382 - perhaps you had CRLF at the end of yours, and it is optional?) I see a different fingerprint for the keypairs in the two regions, but SSH to the new instance worked, so I guess that doesn't matter!
Aug
19
answered No SCRIPT_URI or SCRIPT_URL in my phpinfo
Aug
19
awarded Supporter
Aug
18
answered .htaccess not being read
Aug
16
comment Efficient C++11 design for event listener with a regular wake-up?
@firda Re: deferred. Thanks: Not understanding the docs (en.cppreference.com/w/cpp/thread/future_status ) I'd assumed it meant a spurious wake-up. But when does deferred happen then? (I cannot find anything on google so far!)
Aug
16
revised Efficient C++11 design for event listener with a regular wake-up?
Added a couple more relevant tags
Aug
16
comment Efficient C++11 design for event listener with a regular wake-up?
I've added an answer showing how to use std::future. The queueing just happened naturally, I didn't need to do anything explicit. Also no explicit synchronization primitives were needed. Let me know what you think.
Aug
16
comment Efficient C++11 design for event listener with a regular wake-up?
@firda I added an answer on using std::future; let me know how you think it compares to the alternative approaches.
1 2 3 4 5