News for hackers. Stuff that matters.
Re:I could do that in a weekend (2016) by valachio on Wednesday April 29, 2020 @04:14PM (#23023645)
The author's website is an example of a product that is "done in a weekend".

It is very annoying to this post on a 28" monitor... the text runs from left to right with no margin spacing.

Re:I could do that in a weekend (2016) by dmart on Wednesday April 29, 2020 @04:24PM (#23023795)
A certain set of people take enormous pride in using unstyled HTML like this. (See "Motherfucking Website" [0])

The problem is it's not 1994 anymore, monitors are no longer 800 pixels wide, so it looks like shit and is impossible to read. It's well accepted that 70-90ish characters per line is best for readability, and instead now on an average monitor unstyled HTML gives you like 250.

[0] https://motherfuckingwebsite.com/

Re:I could do that in a weekend (2016) by oxalorg on Wednesday April 29, 2020 @04:28PM (#23023849)
I solve this problem using a bookmarklet [0] which automagically applies sane css to websites like these.

It’s insane that it’s 2020 and some people still refuse to use CSS haha

[0]: https://oxal.org/projects/sakura/bookmark

Re:I could do that in a weekend (2016) by zokier on Wednesday April 29, 2020 @04:59PM (#23024227)
What is insane is that peoples user-agents do not format documents the way their users want.
Re:I could do that in a weekend (2016) by flukus on Wednesday April 29, 2020 @10:48PM (#23026971)
They're getting better with reader modes, I just which they could remember what pages were in reader mode and be less picky about when it's available. Some default syntax highlighting would be nice too.
Re:I could do that in a weekend (2016) by naasking on Thursday April 30, 2020 @12:45AM (#23027519)
I recommend the Just Read add-on. It does readable formatting for you and sometimes even removes paywalls popups.
Re:I could do that in a weekend (2016) by lexicality on Thursday April 30, 2020 @06:22AM (#23029329)
I quite like http://bettermotherfuckingwebsite.com and all the variants you get if you google "motherfucking website"
Re:I could do that in a weekend (2016) by suyjuris on Wednesday April 29, 2020 @04:49PM (#23024111)
The author seems to have given this topic some thought [0].

Personally, I did not experience any problems reading it on my ~50cm wide monitor.

[0] https://twitter.com/danluu/status/1228041917272715264

Re:I could do that in a weekend (2016) by abraxas on Wednesday April 29, 2020 @07:09PM (#23025660)
Resize your browser window. It's a flexibility most "modern" websites deny us.
Re:I could do that in a weekend (2016) by alasdair_ on Wednesday April 29, 2020 @07:01PM (#23025587)
Just resize the window?
Re:I could do that in a weekend (2016) by PaulDavisThe1st on Wednesday April 29, 2020 @04:31PM (#23023887)
browser > reader mode FTW! Really, it's that simple!
Re:I could do that in a weekend (2016) by XCSme on Wednesday April 29, 2020 @05:41PM (#23024726)
I also couldn't read it on a 27" 4k monitor, just closed the site. I tried with zooming in, but it was still too much of a hastle.
Re:I could do that in a weekend (2016) by mtrower on Wednesday May 06, 2020 @08:47AM (#23090296)
What are you saying, that the font was rendered too small? This is a configuration problem.

You might consider setting your browser's default font size to something appropriate for your DPI.

Re:I could do that in a weekend (2016) by wolfgke on Wednesday April 29, 2020 @04:39PM (#23023981)
> It is very annoying to this post on a 28" monitor... the text runs from left to right with no margin spacing.

Rotate your monitor by 90 degrees for a better reading experience. If this is not possible, buy one that can.

Until it arrives, use the Reading View of your preferred browser.

Re:I could do that in a weekend (2016) by clarry on Wednesday April 29, 2020 @05:44PM (#23024762)
Do you actually do that?

I've tried it. In portrait mode, my old 24" 16:10 monitor is already tall enough to wreck my neck and be really uncomfortable to read. I wouldn't even want to try that with my current 27" 16:9 monitor..

Re:I could do that in a weekend (2016) by mtrower on Thursday May 07, 2020 @05:08AM (#23101130)
Just how close to your monitor do you sit? I have no problems with my 24" 16:10.

The nuisance for me is actually rotating the monitor, particularly if OS support for detecting such and automatically rotating the view is missing. So while I like portrait mode, I tend to just keep it one way or the other, based on my overall monitor configuration.

Re:I could do that in a weekend (2016) by wolfgke on Thursday April 30, 2020 @05:03AM (#23028896)
> Do you actually do that?

Yes, of course.

Re:I could do that in a weekend (2016) by XCSme on Wednesday April 29, 2020 @05:40PM (#23024709)
My monitor can roate 90 degrees, but I prefer it landscape, it's more ergonomic not to have to tilt your head vertically, your eyes are horizontal.
Re:I could do that in a weekend (2016) by wolfgke on Thursday April 30, 2020 @05:03AM (#23028893)
> My monitor can roate 90 degrees, but I prefer it landscape, it's more ergonomic not to have to tilt your head vertically, your eyes are horizontal.

It's more like looking at an ordinary A4 page.

Re:I could do that in a weekend (2016) by _glass on Wednesday April 29, 2020 @05:42PM (#23024734)
to be fair, I was relearning to just resize my window.
Re:I could do that in a weekend (2016) by oftenwrong on Wednesday April 29, 2020 @07:09PM (#23025659)
Sounds like a client issue. What CSS are you viewing the page with?
Re:I could do that in a weekend (2016) by ryandrake on Wednesday April 29, 2020 @04:28PM (#23023839)
Better than hardcoding some fixed or percentage width, leaving 5 inches of wasted blank space on the left and right side of the page, like many web sites do.
Re:I could do that in a weekend (2016) by dpcan on Wednesday April 29, 2020 @04:18PM (#23023709)
There's not even a <body> tag. It just has some header information and jumps right in to the text, but he took the time to add Google Analytics. It's so bizarre.
Re:I could do that in a weekend (2016) by robocat on Wednesday April 29, 2020 @06:46PM (#23025459)
You do know that the <body> tag is optional in HTML5? From MDN: The <body> tag “may be omitted if the first thing inside it is not a space character, comment, <script> element or <style> element. The end tag may be omitted if the <body> element has contents or has a start tag, and is not immediately followed by a comment.”

However, in this particular case the body starts with a space character, so it should have a body tag.

A minimal valid HTML5 document looks like:

    <!doctype html>
    <meta charset=utf-8>
    <title>blah</title>
    <p>I'm the content