News for hackers. Stuff that matters.
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @12:40PM (#16630189)
I got fed up with Google News a year or so ago, over the echo chamber that the news site has become. It motivated me to create https://statesreport.com, with no ads and no tracking.
Re:Google News Initiative by scottybowl on Tuesday March 20, 2018 @02:28PM (#16631192)
Are you open to creating an API for us to query for https://www.chooseholly.com? We currently pull data from Bings API for our Discover feature.

Happy to pay for usage :)

Re:Google News Initiative by e15ctr0n on Tuesday March 20, 2018 @03:19PM (#16631676)
Just checked out your site - nice! Interesting to hear about your Discover feature. What does it do exactly?
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @06:27PM (#16633374)
Sure! You can reach out at [email protected]
Re:Google News Initiative by switch007 on Tuesday March 20, 2018 @01:28PM (#16630641)
BTW, the CSS for 'p' has 'sans-serif-light' but I don't have that (or the others) on Chrome/Debian, which results in my default (which happens to be Serif).
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @01:49PM (#16630849)
Thank you! I will make sure that gets included in future testing.
Re:Google News Initiative by aylmao on Tuesday March 20, 2018 @01:35PM (#16630701)
Nice site! Big fan. Out of curiosity, are you monetizing it in any way? Expect increased traffic after this HN post? How are you making sure we don't empty your pockets?
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @01:48PM (#16630835)
No, and no plans to. If costs become an issue, I will ask for donations to fund. It's heavily optimized, so I think it can handle the spike!
Re:Google News Initiative by ChuckMcM on Tuesday March 20, 2018 @05:49PM (#16633037)
Interesting, I just opened your site and it has nearly the exact same list of articles/headlines/sources that my Google News page has. I wonder what is different about my settings and the settings of those who feel their news feed is highly edited.

Generally for news I prefer Blendle, and no I don't mind paying per story although I think some papers are pretty extreme in what they think their journalism is worth.

Re:Google News Initiative by 24gttghh on Tuesday March 20, 2018 @02:05PM (#16630989)
Wow this works without whitelisting anything in noscript. Thank you!
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @06:15PM (#16633262)
Thanks, that was the goal!
Re:Google News Initiative by TaylorAlexander on Tuesday March 20, 2018 @12:45PM (#16630239)
I’d never heard of your site but I just checked it out. I’ve got to say it looks really nice. I’ll bookmark it and try to use it. Thanks for making it!
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @12:56PM (#16630353)
Thank you for the nice feedback!
Re:Google News Initiative by e15ctr0n on Tuesday March 20, 2018 @12:56PM (#16630352)
Great job with the news website! Where do you get the news from and what stack are you using on the website?
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @01:50PM (#16630865)
The server is written in Go. The news scraper is written in python. I don't have the full list of sites offhand, but I'll try and get back to this comment!
Re:Google News Initiative by e15ctr0n on Tuesday March 20, 2018 @03:03PM (#16631530)
So your Python scraper has a list of websites whose home pages it scrapes?
Re:Google News Initiative by sterban on Tuesday March 20, 2018 @06:16PM (#16633265)
It mainly uses RSS feeds versus HTML scraping, but there are a couple of news sources where HTML is required.
Re:Google News Initiative by e15ctr0n on Wednesday March 21, 2018 @01:43AM (#16635771)
You wrote elsewhere that your output HTML is highly optimized. I viewed the source of the page and I can see that it contains the CSS inside <style> tags and images embedded as base64 encoded text - what software do you use to generate this output?
Re:Google News Initiative by sterban on Wednesday March 21, 2018 @09:36AM (#16637852)
The python scraper base64 encodes all the images, so that data is prepared for the web server. The python library being used is PIL. The CSS is hand-written in a Go template. The goal was to have all the rendering done in a single request, so I choose to embed the CSS and relax the CSP on styles.
Re:Google News Initiative by e15ctr0n on Wednesday March 21, 2018 @01:51PM (#16640627)
Thank you for sharing. This is seriously cool stuff. Please write all this up in a blog post and do a Show HN. :-)
Re:Google News Initiative by nwsm on Wednesday March 21, 2018 @12:28PM (#16639659)
This looks great, thank you. Consider a donation button.
Re:Google News Initiative by sterban on Wednesday March 21, 2018 @04:11PM (#16641886)
I certainly will in the future. Thank you for the kind feedback!