News for hackers. Stuff that matters.
Re:The power of the command-line as a programming environment by jrcii on Monday December 28, 2015 @11:33AM (#10801900)
I like the idea of text-mode browsing, but I find the translation of CSS causes practical problems whether its elinks link lynx etc. For example, Hacker News nested comments are displayed as being on one level. There is a hack to fix this, but per-site hacks is not a usable way to browse the web.
Re:The power of the command-line as a programming environment by zeveb on Monday December 28, 2015 @01:17PM (#10802467)
> For example, Hacker News nested comments are displayed as being on one level.

I think that this is because syntactically they are on the same level. Assuming I'm reading the source correctly, they're all cells in a table, at the same level, rather than being nested.

So elinks et al. are correct; the site is using CSS to indicate something not in the structure.

Re:The power of the command-line as a programming environment by Programmatic on Monday December 28, 2015 @04:47PM (#10803595)
What would be the correct way to structure something like this in pure HTML?
Re:The power of the command-line as a programming environment by krapp on Monday December 28, 2015 @04:53PM (#10803615)
Ordered and unordered lists (<OL|UL><LI></LI></OL|UL>) were pretty much intended for this.
Re:The power of the command-line as a programming environment by vram22 on Tuesday December 29, 2015 @07:03AM (#10806310)
>For example, Hacker News nested comments are displayed as being on one level.

Interesting. I just tried reading HN on Firefox Mobile recently, and noticed that the comments all show as on one level, not nested. But show okay in mobile Chrome.

Re:The power of the command-line as a programming environment by tombert on Monday December 28, 2015 @12:20PM (#10802156)
I'll agree there, but I feel that that is a fixable problem overall; if I knew anything about ncurses I'd fix it myself :D.

I still think using Elinks of w3m creates a more streamlined experience if your end goal is getting work done.

Re:The power of the command-line as a programming environment by dragonwriter on Monday December 28, 2015 @01:29PM (#10802526)
> For example, Hacker News nested comments are displayed as being on one level.

That's probably because HN uses HTML rather poorly (from the point of view of HTML representing the semantics of the content.)