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

17h
answered Server Sent Events with PHP not displaying data properly
17h
answered Server-Sent Events queries
17h
answered How can I make EventSource work with any Content-Type header?
2d
comment Find Python NLTK Wordnet Synsets for a each item of a list
Thanks, @SlaterTyranus, your answer was interesting, and probably more efficient. I still find mine more readable but, to put that in context, I get annoyed with Python for using colons and tabs instead of nice curly brackets ;-)
2d
answered Find Python NLTK Wordnet Synsets for a each item of a list
2d
comment .htaccess not working on Ubuntu 14.04 x64
BTW, 3.2.1 is the cPanel version? See xampp.wikia.com/wiki/XAMPP_for_Windows/Versions (If so, cPanel 3.2.1 always seems to coincide with Apache 2.4.x)
2d
comment .htaccess not working on Ubuntu 14.04 x64
What version of Apache, is what I meant. Ubunut 14.04 uses Apache 2.4; if your local setup is using Apache 2.2 then there are one set of possible answers, if it is also 2.4 then there are different set of possible answers. :-)
2d
comment .htaccess not working on Ubuntu 14.04 x64
Which version of Apache is your local xampp setup?
Jan
27
comment Extrapolate Sentence Similarity Given Word Similarities
By each pair of words, do you mean word1 in sentence A compared to word1 in sentence B, then compare word2 in A with word2 in B, etc.? Or is word1 in sentence A compared to each and every word in sentence B. Then the same for word2 in sentence A, and so on? Do you do this on all words, or with-stop-words-removed, or just nouns?
Jan
27
comment Wait for URL change in Casper.js?
Future-proof now, but requiring more brain energy (or copious comments) to work out what it is doing :-)
Jan
27
comment Wait for URL change in Casper.js?
Great approach. I wondered if there was a way to use Arguments to forward all params to waitFor(). Then if a 4th param is ever added to waitFor() this function will be future-proof. Also maybe prefix it with if(!casper.waitForUrlChange) in case the function ever gets added to core CasperJS?
Jan
26
comment CORS + sendAjax + authentication
Is that a typo in your second listing? Should it be "password":"mypassword" ? (Also, as I mentioned on the casperjs mailing list, have you tried with both PhantomJS and SlimerJS. If it works with one, but not the other, that really narrows down where the problem might lie.)
Jan
23
revised Server sent events stopped work after enabling ssl on proxy
Explained why keeping it around.
Jan
21
awarded Citizen Patrol
Jan
20
comment Any New Discoveries in Quantitative Finance?
I guess the downvoters wanted this to be a comment, not an answer... but as they kept quiet we might never know :-) (downvote-without-comment is one of my pet hates.)
Jan
20
comment Any New Discoveries in Quantitative Finance?
Was this question just about options (i.e. the only tag), or all of quantitative finance? (I.e. it'd be good if either the tags or title were updated.)
Jan
20
comment Simple concurrency in PHP?
I think it'd help if you show the full SQL of each of your three queries. (In particular is the UPDATE incrementing a counter, or setting a text field.)
Jan
20
comment Simple concurrency in PHP?
Are those 200 people UPDATEing their own row in the DB table, or all (potentially) UPDATEing the same row? If 200 people all try to UPDATE the same row, what is the correct behaviour you expect (first succeeds, last succeeds, you don't care as long as one of them succeeds, etc.)
Jan
20
answered Simple concurrency in PHP?
Jan
20
comment What is the git pretty format equivalent of "medium"? (OR: why no LF in %s)
Thanks, switching to %B and using %w worked! BTW, seeing the %C() commands reminded me to try them out. It turns out using %C() won't survive a carriage-return. The best I could manage was to colour code only the first line of the commit message. Never mind, I'll survive :-)
1 2 3 4 5