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

13h
answered How to cancel a RestSharp synchronous execute() call?
19h
revised How to cancel a RestSharp synchronous execute() call?
Add some links to the RestSharp source code.
1d
comment Using curly braces to segregate a variable that I want to use multiple times in C++
@DanAllen I was trying to keep it simple (see item 41 in Effective Modern C++ for the full complexity!)... but just looked at the OPs code and he is modifying teststring so, yes, they definitely should've been references! Thanks :-)
1d
revised Using curly braces to segregate a variable that I want to use multiple times in C++
Added reference on foo and bar params.
1d
answered Using curly braces to segregate a variable that I want to use multiple times in C++
2d
awarded Notable Question
2d
awarded Nice Question
2d
comment Netbeans does not find all my include_once paths
Thanks. I just tried to exclude a directory, but cannot see the "Mark directory as" option anywhere. I tried both Files and Project views. ...Ah, under project properties, ignored folders, I could choose Add Folder. Is that what you meant? Adding a test directory there removed it from the Projects view, but not from the Files view... which makes sense.
May
27
comment Tweak duplicate question (28887083)
Thanks for the quick response Makoto. But I want to fix the system, not accept its mistakes :-) So is posting on meta not the right way to pursue that noble goal? (I.e. isn't this something the moderators can fix??)
May
27
comment Tweak duplicate question (28887083)
The second question listed is the correct duplicate; the first is just noise for someone with this same question. It is not completely unrelated, and would be good to be in the comments so it appears in the Related list on the right, but it is definitely, clearly and unambiguously not a duplicate of the question being asked.
May
27
comment Tweak duplicate question (28887083)
@makoto, and anon downvoters: I'm a bit confused. I was reporting a required edit that I don't have the required rep to fix myself; and i thought Meta was the place to do that. Should I have done something different?
May
26
asked Tweak duplicate question (28887083)
May
26
asked How to cancel a RestSharp synchronous execute() call?
May
25
awarded Nice Question
May
24
revised Throwing exceptions from constructors
Updated the FAQ URL (two comments could also be deleted, but I don't have the powers for that)
May
24
comment SSE Server Sent Events - Client keep sending requests (like pooling)
I don't know the signalR internals, but I tried to answer your other question. You have more than 2 threads (well unless you've configured your web server to only allow 2 simultaneous connections). Generally the problem is the lump of memory needed to keep each socket open, not thread/process availability, and you will hit a per-server limit between about 200 and 2000 simultaneous clients. That is the trade-off: SSE gives you lower latency, at the expense of having to keep more resources open.
May
24
answered Does SignalR Server Sent Events implementation occupy thread for each connection?
May
24
answered SSE Server Sent Events - Client keep sending requests (like pooling)
May
24
awarded Popular Question
May
22
comment Earphone remote in sound jack as X input
Is the accepted answer ("can't be done") still correct, 3 years on? My Bose headphones come with different cables for iPhone and for Android (specifically Samsung); I have the Android cable, and wondering if I can get it to work with Linux.
1 2 3 4 5