News for hackers. Stuff that matters.
Re:Show HN: Next Browser native on Linux by PaulHoule on Wednesday December 05, 2018 @11:01AM (#18609432)
I like the idea but it doesn't go anywhere near far enough.

I feel like the web has become that "City of Destruction" that is talked about in "Pilgrim's Progress"; something like 95% of the bytes transferred are just junk.

I am not at all interested in "seeing the content the way the created intended it", I really would rather decompose it into a semantic graph and then put it together to show me what is relevant.

That means no Javascript. If I have to have a malware player so I can use the junkware of the day I'll use Chrome.

Re:Show HN: Next Browser native on Linux by haloux on Wednesday December 05, 2018 @01:57PM (#18611282)
For those wondering about the Pilgrims Progress reference, this is probably what OP intends:

" HELP. Then said he, Give me thy hand: so he gave him his hand, and he drew him out, and set him upon sound ground, and bid him go on his way. [Ps. 40:2]

{33} Then I stepped to him that plucked him out, and said, Sir, wherefore, since over this place is the way from the City of Destruction to yonder gate, is it that this plat is not mended, that poor travellers might go thither with more security? And he said unto me, This miry slough is such a place as cannot be mended; it is the descent whither the scum and filth that attends conviction for sin doth continually run, and therefore it is called the Slough of Despond; for still, as the sinner is awakened about his lost condition, there ariseth in his soul many fears, and doubts, and discouraging apprehensions, which all of them get together, and settle in this place. And this is the reason of the badness of this ground."

Re:Show HN: Next Browser native on Linux by snaky on Wednesday December 05, 2018 @11:14AM (#18609563)
There are basically two ways to do that. Decompose final page, that is composed usually by internal Javascript these days. Or decompose the page structure, which is usually a bunch of API calls, requests, and some data transformation. The former is simpler, the latter is good potential use case for programmable browsers like Next.
Re:Show HN: Next Browser native on Linux by kodablah on Wednesday December 05, 2018 @03:21PM (#18612117)
I have been putting some real thought into this as an idea for client-side scraping and re-presentation [0]. I have come to the conclusion we just need a community maintained set of code that turns popular websites into APIs that people can program against. If you turn that into an easier-to-read-sans-BS page by querying the API, so be it. It of course needs to be deployed as part of the app, there are legal issues with hosting the API externally. I have started some work around this concept for my own personal use on pages that give me too much guff.

0 - https://github.com/cretz/software-ideas/issues/82

Re:Show HN: Next Browser native on Linux by PaulHoule on Wednesday December 05, 2018 @06:27PM (#18613818)
I find with BeautifulSoup or JSoup it is often just as easy to write a scraper than an API client, particularly when the authentication for the API is like this:

https://www.youtube.com/watch?v=o2ObCoCm61s

Re:Show HN: Next Browser native on Linux by dmortin on Wednesday December 05, 2018 @11:28AM (#18609723)
There are text based browsers which can be used for this: https://en.wikipedia.org/wiki/Text-based_web_browser
Re:Show HN: Next Browser native on Linux by dmos62 on Wednesday December 05, 2018 @02:51PM (#18611794)
I feel like gopher, the once alternative to the World Wide Web, before it became overwhelmingly less used, was really technologically superior. Its simplicity and structure would have been difficult to coerce into the ugly monolith that web has become (in my opinion), and would have promoted proper modularity, which is how I would generalize "semantic graph" you mentioned.
Re:Show HN: Next Browser native on Linux by PaulHoule on Wednesday December 05, 2018 @06:33PM (#18613869)
Funny, the number of Gopher servers has started to grow again lately...
Re:Show HN: Next Browser native on Linux by devwastaken on Wednesday December 05, 2018 @04:07PM (#18612548)
Being junk to you doesn't make it junk to everyone else. The only content you could re-present in 'your' way would be static contents, and only if they fit a specific design. This leaves out a significant portion of things that require dynamic capabilities. Something as simple as openstreetmaps would not work in this somehow ideal world.
Re:Show HN: Next Browser native on Linux by PaulHoule on Wednesday December 05, 2018 @06:29PM (#18613839)
i'll just download OSM and view it locally.

The Boston Globe ran an expose a few years back that came to the conclusion that the cost of mobile data to download ads is orders of magnitude greater than what the web sites make.

If verizon kicked back 2% of revenue to web sites then they would make more money than they do from ads now, and verizon would get the warm fuzzy love that they wish they could have gotten from Go90, Oath, etc. But no: their business model is "buy web sites crammed with porn, remove the porn, and hope some users are still around when they are done".

Re:Show HN: Next Browser native on Linux by devwastaken on Wednesday December 05, 2018 @08:25PM (#18614589)
Except osm is used with specific integrations, like graphing locations, showing city layouts. It's incredibly naieve to believe you'll just replace the very real Js use cases without knowing how it works
Re:Show HN: Next Browser native on Linux by agumonkey on Wednesday December 05, 2018 @01:00PM (#18610712)
Maybe next can be a good pivot to do just that. It seems the author is willing to try other ways to use the web.
Re:Show HN: Next Browser native on Linux by asituop on Wednesday December 05, 2018 @11:54AM (#18610036)
Like Reader Mode ?
Re:Show HN: Next Browser native on Linux by PaulHoule on Wednesday December 05, 2018 @01:59PM (#18611294)
That just seems to add a lot of fashionable whitespace so that I can only use 50% of the pixels on the screen that I paid for.

Reader Mode just seems like the button on a tracfone that does nothing but burn up half a minute by booting up a useless web browser.