News for hackers. Stuff that matters.

faulteh

Re:Ask HN: Learning New Programming Languages on Thursday August 28, 2014 @11:30PM (#8240981)
Try implementing something that has a real world use case. It may not matter that your use case doesn't have much of an audience. My first Python web app was a syslog search/filter app that I only used on my home network machines.

After a couple of tutorials you really need to break out and try something on your own. I got quite proficient in C++ by specifically using it in programming competitions such as those hosted by TopCoder or CodinGame. I wasn't in the competition for the top score I was there to learn. I knew about core C/C++ syntax but not much about the standard library. Now I do, as I needed to quickly use the stdlib to get the data structures I needed to solve the problem.

Re:ACCC (AU consumer watchdog) sues US video games giant Valve on Thursday August 28, 2014 @11:17PM (#8240961)
Damn for a minute I thought it might have been over the 80% price increase for Civ5: Beyond Earth for Australian residents... but it's the 'oh no refund!' thing instead. Valve really needs to behave better to it's Australian customers.
wget as a service...?
Re:Useful Unix commands for exploring data on Thursday August 28, 2014 @10:33PM (#8240887)
Immediately ^'d this post for it's usefulness, but I put this in my .bashrc instead:

function body_alias() {

  sed -n $1,$2p $3
}

alias body=body_alias

I used to have little scripts like body in my own ~/bin or /usr/local/bin but I've been slowly moving those to my .bashrc which I can copy to new systems I log on to.