164 reputation
9
bio website dcook.org/work
location Tokyo, Japan
age
visits member for 3 years
seen Aug 19 at 10:05

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


Aug
16
comment How to match whitespace in sed?
For me -e stopped it working, but -r made it work (Mint 16). I.e. changing from sed -e -r to sed -r was what I needed to do. However I was using [[:space:]] by this point, as I couldn't get \s to work.
Jul
2
awarded  Curious
Apr
23
comment Add static IPs (for web devel) when using DHCP on Linux
Thanks for the idea. A single address and multiple ports might just work.
Apr
23
comment Add static IPs (for web devel) when using DHCP on Linux
Thanks. The reverse proxy idea is interesting. BTW, should lo:11 and lo:12 work as labels? Or are you supposed to start them from lo:1 ?
Apr
23
asked Add static IPs (for web devel) when using DHCP on Linux
Nov
8
awarded  Popular Question
Nov
7
accepted Should root ever own files in my (linux) home directory?
Oct
30
revised Should root ever own files in my (linux) home directory?
More info.
Oct
30
asked Should root ever own files in my (linux) home directory?
Jun
12
revised No network upsets gnome
Added showing how I mount the samba partition
Jun
12
comment No network upsets gnome
@Renan Yes (and as mentioned in the question, I have symbolic links to that mounted drive, e.g. in my home directory and on my desktop). I've just updated the question again, showing how I do the mount.
Jun
12
revised No network upsets gnome
Having narrowed the problem down to CIFS, not dns, I've removed DNS tag and added samba/cifs tags,
Jun
12
revised No network upsets gnome
Added results of failed solution attempt (installing bind)
Jun
11
comment No network upsets gnome
@Renan I changed 127.0.1.1 to 127.0.0.1, and it made no difference. (but they are still on separate lines).
Jun
11
revised No network upsets gnome
Add some timing information
Jun
11
comment No network upsets gnome
@Renan I've pasted it in above. I don't have both machine host and localhost in a single line; should I?. I notice the myhost line is '127.0.1.1', not '127.0.0.1'. I can't tell you if that was deliberate or a typo. Does it matter I wonder?
Jun
11
revised No network upsets gnome
Added /etc/hosts as requested in a comment
Jun
11
asked No network upsets gnome
May
6
comment How do you display POST data with cURL?
I know it is your own answer, but I think you can accept this as the correct answer. It solved it for me anyway, thanks :-)
Jan
15
awarded  Tumbleweed