News for hackers. Stuff that matters.
Re:Show HN: Hacker News CLI, written in Go by omribahumi on Thursday July 31, 2014 @05:43PM (#8117170)
Thanks for goquery! didn't know about it :) https://github.com/PuerkitoBio/goquery
Re:Show HN: Hacker News CLI, written in Go by andrewstuart2 on Thursday July 31, 2014 @05:31PM (#8117120)
As a warning for any who choose to hack on this, cloudflare gets a bit upset if you query too often, resulting in a period of sadness. It's probably a good sign I should be doing unit testing.
Re:Show HN: Hacker News CLI, written in Go by jawerty on Thursday July 31, 2014 @06:42PM (#8117440)
This has the right words to make it to the front page...jk I love it. I made something like this for reddit a while ago; I really enjoy stuff like this. It allows you to stay within the terminal rather than keeping the browser open at all times.
Re:Show HN: Hacker News CLI, written in Go by Zikes on Thursday July 31, 2014 @04:20PM (#8116744)
Looks like it's off to a good start! Some colors & lines would go a ways towards making it a bit more usable. I'm looking forward to diving into the code later this evening.
Re:Show HN: Hacker News CLI, written in Go by andrewstuart2 on Thursday July 31, 2014 @05:34PM (#8117129)
Thanks! I'll try to put in a bit more work on the UI front. I look forward to any more feedback you have.
Re:Show HN: Hacker News CLI, written in Go by Zikes on Thursday July 31, 2014 @05:41PM (#8117161)
Indentation would make it easier to read the comments structure, especially if each indent had a line or block down the left margin.
Re:Show HN: Hacker News CLI, written in Go by yakshemash on Thursday July 31, 2014 @07:33PM (#8117614)
Live links would also be nice, though it defeats somehow the original purpose of shunning the browser.
Re:Show HN: Hacker News CLI, written in Go by elithrar on Thursday July 31, 2014 @06:25PM (#8117378)
Neat stuff! You should consider building some binaries and making them available via GitHub's releases feature: being able to ship just binaries is a big plus for Go ;)
Re:Show HN: Hacker News CLI, written in Go by andrewstuart2 on Thursday July 31, 2014 @06:45PM (#8117446)
Sweet, and done. I had no idea GitHub has that as a feature.
Re:Show HN: Hacker News CLI, written in Go by kibibu on Thursday July 31, 2014 @07:44PM (#8117645)
Brings it up to feature parity with SourceForge circa 1999 ;)
Re:Show HN: Hacker News CLI, written in Go by terrymooreii on Thursday July 31, 2014 @08:35PM (#8117823)
but without all the ads.
Re:Show HN: Hacker News CLI, written in Go by aktau on Friday August 01, 2014 @04:21AM (#8118814)
Btw, I made something that's supposed to make this process easier (and done from the command line, har har): https://github.com/aktau/github-release

Also written in Go, of course...

Re:Show HN: Hacker News CLI, written in Go by pablasso on Friday August 01, 2014 @12:13AM (#8118339)
You may want to point that the binary is for Linux.
Re:Show HN: Hacker News CLI, written in Go by skwuent on Thursday July 31, 2014 @06:39PM (#8117427)
Nice! Maybe this can be made to use stdout so I can grep -v raises.*eries and other money talk...
Re:Show HN: Hacker News CLI, written in Go by terrymooreii on Thursday July 31, 2014 @08:16PM (#8117759)
I did something similar a few months back but in NodeJS.

https://github.com/TerryMooreII/HackerNode

Re:Show HN: Hacker News CLI, written in Go by rly_ItsMe on Friday August 01, 2014 @05:05AM (#8118910)
A 7,9 MB binary to read HN? Just for the sake of using go? Are you kidding me?

I'll rather stay with my old python one: https://pypi.python.org/pypi/hacker-top/1.0

Re:Show HN: Hacker News CLI, written in Go by 4ad on Friday August 01, 2014 @05:38AM (#8118975)
Do you object to the hundreds of megabytes of your browser's code and dependant libraries too? Or since you brought up Python, why don't you object to the size of python's libraries and binaries?

7.9MB is nothing.

Re:Show HN: Hacker News CLI, written in Go by rly_ItsMe on Friday August 01, 2014 @07:51AM (#8119325)
Valid Point. Or not?

It took a bit longer but I wrote a bit about here: https://news.ycombinator.com/item?id=8119322

Re:Show HN: Hacker News CLI, written in Go by drtse4 on Friday August 01, 2014 @05:13AM (#8118925)
Try compiling it with gccgo that is able to dynamically link the go standard library (shared among your go projects) instead of building a single big binary, my guess is it should be just a few hundred kb :)
Re:Show HN: Hacker News CLI, written in Go by rly_ItsMe on Friday August 01, 2014 @05:58AM (#8119019)
I did not compiled it by my self - I've just grabbed the binary provided by OP.
Re:Show HN: Hacker News CLI, written in Go by cnbuff410 on Thursday July 31, 2014 @07:21PM (#8117565)
Does it only work for Linux? I could not go get it under MacOs.
Re:Show HN: Hacker News CLI, written in Go by billhathaway on Thursday July 31, 2014 @09:17PM (#8117953)
Looks like the goncurses dependency requires some help to run on OSX:

https://code.google.com/p/goncurses/wiki/KnownIssues

Re:Show HN: Hacker News CLI, written in Go by grunz on Friday August 01, 2014 @03:59AM (#8118770)
Please make a plugin for xiki.org