Live data from Hacker News

Just because I have a vertical screen doesn’t mean I’m on a phone

shkspr.mobi

11–20 of 399 posts

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#11
post #2

"falsehoods developers believe about screens" ?

A collection of deep-deep dives on various topics would be a fun thing for someone who can build a nice website to do (You don't want to see my attempts at being a designer).

For example, "What every programmer should know about memory" covers memory but what about (as you say) screens.

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#12
post #8

Just because my horizontal resolution is around 1200, I am not on a tablet. It's amazing how many websites are incredibly unusable when displayed 2-up on my 27" monitor. There's so much screen estate, but I often literally have to resize the window to fullscreen to find a search or login field.

This is the worst when you're displaying two sites side by side on a 1080p screen.

This drives me up the wall. You would think it's such a common scenario!

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#13
Wait, so sniffing on screen resolution is the way web developers distinguish desktops from mobile? That's just crazy.

There should IMO be a preference sent, "I'm on a portable, touch-enabled device". I'm guessing it doesn't exist because it would add a bit to the fingerprint.

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#14
post #2

"falsehoods developers believe about screens" ?

No. Just simple heuristics that work for most users at the expense of people who admit, like OP's opening statement, "I’m a weirdo".

Building responsive client UI is hard. In my experience here, the falsehoods HNers believe about clients is that it's somehow not hard. Or just a silver bullet away from being easy (like replacing JS with $faveLang). Or that resources are infinite such that every defect is explained by incompetence (except for, presumably, that HNer who is intimately familiar with resource finitude in their own life).

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#15
The real problem is that designing for different screen sizes, especially with responsive design, is very difficult.

For my personal projects, screen size is the factor used to determine layout. Mobile/tablet/laptop/desktop is irrelevant. My goal with smaller viewports is to make the layout as similar as possible, without the user having to scroll horizontally. Because I don't want to change the layout too much, I do not use hidden navigation menus.

Hamburger menus are terrible - I see them as a design copout.

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#17
post #2

"falsehoods developers believe about screens" ?

More like testing for an infinite number of resolutions is expensive so developers only test on the main ones and the ones used by hackers on Pop_OS Linux that rotate their screen 90 degrees are out of luck and default to one of the tested resolutions :)

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#19
Portrait viewing for screens bigger than tablets are edge cases of edge cases.

The rabbit hole is websites are supposed to cater for every screen size by pixel is ridiculous. At some point the user should respectfully use normal orientated/ sized device.

Re: Just because I have a vertical screen doesn’t mean I’m on a phone

#20
I feel like this is a more complex problem to solve than it seems at face value or the author implies, especially considering tablets of varying dpi.

CSS dpi media queries are unsupported in Safari mobile and desktop, so that increases the complexity significantly.

Beyond that, the fact is most web layout is still done in px or other non-fraction-of-the-width units, so it’s often a matter of the wider layout simply being broken at smaller widths, rather than just refusing the display.

Post reply on HN