News for hackers. Stuff that matters.
Re:Albert Einstein's theory of relativity in words of four l... by crooked-v on Monday April 14, 2025 @02:30AM (#43678599)
People talk about the 'good old days' of the web, but boy, in a multi-tab environment it stucks to try and read something that doesn't put any effort at all into side margins.
Re:Albert Einstein's theory of relativity in words of four l... by creata on Monday April 14, 2025 @03:09AM (#43678801)
It's annoying for sure, but at least you can resize the window.

Side note: Dan Luu claims[0][1] that there's no readability advantage to narrow line width. I haven't really looked into it, but in my experience it feels like he's very wrong.

[0]: https://danluu.com/slow-device/ [Appendix: this site vs. sites that don't work on slow devices or slow connections]

[1]: https://nitter.net/danluu/status/1115707741102727168

Re:Albert Einstein's theory of relativity in words of four l... by orlp on Monday April 14, 2025 @04:21AM (#43679202)
I'd suggest you not take readability advice from a guy who uses a red-green color scheme for their tables.
Re:Albert Einstein's theory of relativity in words of four l... by lelanthran on Monday April 14, 2025 @08:05AM (#43680382)
He makes that claim because he doesn't like the sources, not because the sources are wrong.

Reading the wikipedia references show me that this is well studied and sourced.

Academic sources for his argument either dont exist or are so rare even he can't find them.

IOW, it's a post hoc rationalisation from him.

Re:Albert Einstein's theory of relativity in words of four l... by flysand7 on Monday April 14, 2025 @03:46AM (#43679001)
Folks, just for these kinds of websites I made an extension that trims the body of the text to 80 characters. I don't have a way to pay to get it on google's or firefox's extension marketplace, so you'd have to install it from source.

https://github.com/flysand7/breader

Re:Albert Einstein's theory of relativity in words of four l... by deadbabe on Monday April 14, 2025 @03:56AM (#43679059)
Well I can see why you can’t afford to put it on a marketplace.
Re:Albert Einstein's theory of relativity in words of four l... by schneehertz on Monday April 14, 2025 @04:45AM (#43679312)
Just a suggestion

You can write this feature as a userscript and then publish it to greasyfork

Re:Albert Einstein's theory of relativity in words of four l... by mdp2021 on Monday April 14, 2025 @03:36AM (#43678956)
Open the "developer's tools", find the '<body>', inject a 'margin' CSS - customize the page locally.
Re:Albert Einstein's theory of relativity in words of four l... by politelemon on Monday April 14, 2025 @02:31AM (#43678605)
Reader mode (FF) helps a lot here.
Re:Albert Einstein's theory of relativity in words of four l... by nxpnsv on Monday April 14, 2025 @02:41AM (#43678649)
the lack of large video ads really is jarring too
Re:Albert Einstein's theory of relativity in words of four l... by baxtr on Monday April 14, 2025 @02:55AM (#43678731)
I was hyper confused that I didn’t need to hide ANY HTML element.

Also, reader mode was not suppressed by some naughty trick.

Unreal.

Re:Albert Einstein's theory of relativity in words of four l... by empiko on Monday April 14, 2025 @03:37AM (#43678960)
It also did not ask about my cookie policy, how am I supposed to tell the site my preferences? I just wrote them via email to make sure.
Re:Albert Einstein's theory of relativity in words of four l... by subscribed on Monday April 14, 2025 @03:57AM (#43679070)
It depends on the purpose of the cookies: https://www.blackboxdesign.co.uk/gdpr-do-i-need-a-cookie-war... for in-depth answer.
Re:Albert Einstein's theory of relativity in words of four l... by nxpnsv on Monday April 14, 2025 @03:14AM (#43678830)
And what is the deal with functional scrolling?
Re:Albert Einstein's theory of relativity in words of four l... by dgoldstein0 on Monday April 14, 2025 @02:54AM (#43678719)
Works great on mobile, fwiw
Re:Albert Einstein's theory of relativity in words of four l... by globular-toast on Monday April 14, 2025 @03:05AM (#43678777)
What does multi-tab have to do with it? You are in control of your computer aren't you? Just make the window narrower.
Re:Albert Einstein's theory of relativity in words of four l... by drivers99 on Monday April 14, 2025 @08:48AM (#43680709)
Or set the zoom to around 240-300%
Re:Albert Einstein's theory of relativity in words of four l... by hexo on Monday April 14, 2025 @02:36AM (#43678623)
And yet, it is 1000 times more readable than any "modern" website.
Re:Albert Einstein's theory of relativity in words of four l... by brettermeier on Monday April 14, 2025 @04:53AM (#43679368)
Hell no. Typograhy class Lesson 1, never put more than a certain number of words per column (in any case never the whole screen width, on desktops)...
Re:Albert Einstein's theory of relativity in words of four l... by Timwi on Monday April 14, 2025 @05:13AM (#43679484)
And yet, for some reason, most people want their tabs and toolbars on the top, and the taskbar on the bottom, taking away vertical space that is actually used, and leave swathes of space on the left and right completely unused. I will never understand the resistance against putting things on the side.
Re:Albert Einstein's theory of relativity in words of four l... by codingdave on Monday April 14, 2025 @07:47AM (#43680264)
> I will never understand the resistance against putting things on the side.

It is a side effect of mobile devices -- Mobile-first design. When apps got popular, people decided that everything needed to be designed for mobile devices first, and adjusted for larger browsers screens later. So people started making everything tall and narrow. And said it was bad practice to do otherwise. Now people who learned UI design after those days often follow that idea. Personally, I am not a fan, but that is where it comes from.

Re:Albert Einstein's theory of relativity in words of four l... by Timwi on Saturday April 19, 2025 @05:30AM (#43735276)
That explains the layout of websites and web apps, but not the desktop taskbar and the desktop browser’s tab bar.
Re:Albert Einstein's theory of relativity in words of four l... by globular-toast on Monday April 14, 2025 @05:44AM (#43679618)
Probably because English is written left to right and doesn't work so well top to bottom. So vertical bits tend to not include text, which is quite limiting. I do remember older UIs that included text at 90 degrees on sidebars, but that seems to have gone completely out of fashion.

The real problem is our screens are the wrong shape. 16:9 is a stupid aspect ratio for a computer monitor if you work mostly with text. Square is probably the best. Using floating windows (like classic Mac OSX) is an option, but for some reason people like full screen windows these days. A tiling window manager is another option to effectively divide the screen up into better shaped areas. I tend to have 6 columns across 2 screens which works well.

Re:Albert Einstein's theory of relativity in words of four l... by creata on Monday April 14, 2025 @07:27AM (#43680138)
> 16:9 is a stupid aspect ratio for a computer monitor if you work mostly with text.

Why? I also usually use it with three columns of text, and it works well at that aspect ratio.

Re:Albert Einstein's theory of relativity in words of four l... by globular-toast on Monday April 14, 2025 @08:54AM (#43680758)
Right, so you essentially use mini 16:27 screens which is a better aspect ratio than 16:9.

What you really have to ask yourself is why 16:9 is a better choice than anything else. It wasn't picked because 3 16:27 columns is ideal for text. The main reason we have them is because it's easier for the screen manufacturers to have just one aspect ratio to deal with. With 16:9 we're forced to have three columns per screen, but what if I only need two? What if I want more lines of text per screen? Square seems like a much more obvious middle ground.

Re:Albert Einstein's theory of relativity in words of four l... by creata on Monday April 14, 2025 @08:58AM (#43680793)
That makes sense, thanks. I've seen people give similar praise to 4:3 and 3:2 laptops.
Re:Albert Einstein's theory of relativity in words of four l... by zahlman on Monday April 14, 2025 @01:08PM (#43683496)
>The main reason we have them is because it's easier for the screen manufacturers to have just one aspect ratio to deal with.

Not just that, but it was an average of aspect ratios considered for the aesthetic of video data. Not text presentation.

Re:Albert Einstein's theory of relativity in words of four l... by Timwi on Saturday April 19, 2025 @05:38AM (#43735307)
> Probably because English is written left to right and doesn't work so well top to bottom.

My browser tabs are on the left side of the screen and they are all written left to right. There is ample space on the sides of websites to fit this and show the entire tab title. Meanwhile, other people have tabs along the top of the screen that all show one or two letters followed by “...”.

My taskbar is on the right and consists entirely of icons. The only text on it is the date/time and that is also written normally and not rotated.

This is the setup that I was saying I don't understand the resistance against — not 90° rotated text. When people say “vertical tabs”, they are not talking about rotating the text.

Re:Albert Einstein's theory of relativity in words of four l... by ghusto on Monday April 14, 2025 @04:46AM (#43679320)
We did have ways to create margins, you know :/ Aside from simple CSS, you could still do it with pure HTML.
Re:Albert Einstein's theory of relativity in words of four l... by bslanej on Monday April 14, 2025 @08:45AM (#43680688)
Screens were much narrower then so constraining the width of text was not necessary.
Re:Albert Einstein's theory of relativity in words of four l... by danadam on Monday April 14, 2025 @08:56AM (#43680780)
I have a bookmarklet, since forever, labelled "sane width", with the following code:

  javascript:(function(){var newSS, styles='body { width: 800px ! important; margin: auto !important } '; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })();
It forces the body width to 800px and centers it. Crude but it is enough for me.
Re:Albert Einstein's theory of relativity in words of four l... by TZubiri on Monday April 14, 2025 @11:12AM (#43682189)
I haven't checked and I don't know how it would render. But it is worth noting that since this was designed against an earlier version of css, it might render differently in older browsers.

For example, older monitors had less pixels, so it's likely that the wrapping was sensible in older monitor/browser configs.

To say nothing of browser defaults being different, if this was pre-css, then the margins might have been baked into the default browser interpretation. In other words, pre-margin property, a webpage without margin didn't mean "this has no margin", in the sense that a modern webpage without margin specified would mean "DO NOT ADD MARGIN TO THIS!".