News for hackers. Stuff that matters.
Re:Analyze Your HN Posts with Watson User Modeling by aselzer on Wednesday October 08, 2014 @02:29PM (#8428565)
Did this with Twitter: twurl "/1.1/statuses/user_timeline.json?count=200" | jq -r ".[] | .text" | pbcopy

paste it into http://watson-um-demo.mybluemix.net/demo

87% Openness, 5% Agreeableness, that's funny.

Re:Analyze Your HN Posts with Watson User Modeling by Tiksi on Thursday October 09, 2014 @05:13AM (#8431414)
This inspired me to do the same with reddit, so I threw together this function in zsh (should work with bash too):

        function redcom(){ ! [ -z "$2" ] && i="&after=$2" || i=""; data=$(curl -s "https://www.reddit.com/user/${1}/comments.json?count=100${i}"); j=$(jq -e -r '.data["after"]' <<<$data); echo $j; (jq -e -r '.data["children"][]["data"]["body"]' <<<$data)>>${1}-redcom.txt; echo $(echo -e $data|wc -l) lines; ( [ "$j" = "null" ] || [ -z "$j" ] ) || redcom $1 $j ;} ;
It's a bit more complicated due to the reddit api, but if you run that, then run redcom <user> and it should throw all your comments into <user>-redcom.txt

Never user/heard of jq before, it's a pretty nice tool.

Re:Analyze Your HN Posts with Watson User Modeling by tim333 on Wednesday October 08, 2014 @03:00PM (#8428762)
I got 92% Openness, 10% Agreeableness on tim333, HN

Maybe they all come out a bit like that?