News for hackers. Stuff that matters.
Re:Introducing docs.microsoft.com by sz4kerto on Wednesday May 04, 2016 @04:34AM (#11627009)
Oh no. It pops up a quick menu when I select text, like Medium. The problem is that I'm constantly selecting the lines I'm reading. :(

Edit: Also, it's extremely narrow. On my 32" 4K display, 70% of the screen is empty. And the font is too think. And stuff keeps moving/jumping when I'm moving the mouse cursor.

I want 1998 back.

Re:Introducing docs.microsoft.com by pandler on Wednesday May 04, 2016 @04:44AM (#11627048)
> The problem is that I'm constantly selecting the lines I'm reading

I'm glad to hear I'm not the only one! I compulsively select random blocks of text: select up, select down, repeat. I definitely get annoyed with the popup-menu-on-select feature of Medium, but I feel I can hardly blame Medium for my random, compulsive habit.

Re:Introducing docs.microsoft.com by glaberficken on Wednesday May 04, 2016 @07:41AM (#11627629)
I share this "pain".

I have the unshakable habit of triple-clicking a paragraph to highlight it to serve as a mark of where I was at when i need to interrupt reading.

Re:Introducing docs.microsoft.com by Sarang235 on Wednesday May 04, 2016 @08:08AM (#11627730)
I also have the same ehabit. I a glad I am not the only one.
Re:Introducing docs.microsoft.com by glaberficken on Wednesday May 04, 2016 @08:13AM (#11627757)
Interesting little curiosity about how triple-click implementation varies in some popular software =)

https://en.wikipedia.org/wiki/Triple-click

Re:Introducing docs.microsoft.com by jonathanpoulter on Wednesday May 04, 2016 @12:20PM (#11629427)
Me too, anyone know why this is a thing? Such a common twitch... does it help reading?
Re:Introducing docs.microsoft.com by antisthenes on Wednesday May 04, 2016 @12:57PM (#11629691)
I have acquired this habit from the 2 years I've spent playing Starcraft : Brood War and Starcraft 2 semi-competitively.

In the game you have to select units by dragging a box around them, and that habit has carried over to selecting text on the screen in pretty much every computer application.

I know that probably doesn't answer your question, but that would probably require a neuroscientist. It doesn't help me read personally, it just seems to be one of those repetitive tasks that slightly autistic people do.

Some of my coworkers share this habit as well, and they've never played RTS games, so it's acquired in different ways.

Re:Introducing docs.microsoft.com by Someone on Wednesday May 04, 2016 @12:48PM (#11629626)
I do not have any data on it (1) but I think it's like moving a bookmark across the page as you are reading: it makes it easier to jump from the end of one line to the start of the next one.

(1) not even on the claim that that bookmark has that effect.

Re:Introducing docs.microsoft.com by zacmps on Wednesday May 04, 2016 @03:52PM (#11631194)
It's called meta-guiding
Re:Introducing docs.microsoft.com by tajen on Wednesday May 04, 2016 @02:38PM (#11630588)
In french I say "astigmate". Either vertical or horizontal lines are blurred. Plus maybe you're tired. Anyway you can follow straight lines and you select something to add a visual clue of your position. "It's all because of" modern designers and their featureless screens.
Re:Introducing docs.microsoft.com by pinouchon on Wednesday May 04, 2016 @12:07PM (#11629314)
I too am a highlighter
Re:Introducing docs.microsoft.com by alexkavon on Wednesday May 04, 2016 @11:49AM (#11629177)
I too am a highlighter.
Re:Introducing docs.microsoft.com by christiangenco on Wednesday May 04, 2016 @02:14PM (#11630383)
I too am a highlighter.
Re:Introducing docs.microsoft.com by astrojams on Wednesday May 04, 2016 @02:50PM (#11630680)
I too am a highlighter. We should form a self-help group.
Re:Introducing docs.microsoft.com by schandur on Wednesday May 04, 2016 @04:55PM (#11631701)
I'm in.
Re:Introducing docs.microsoft.com by dave2000 on Wednesday May 04, 2016 @04:04PM (#11631285)
I only learnt that the other day. I read that double clicking selects words, so I had to take it one step further.

No, clicking four times doesn't select the whole page.

Re:Introducing docs.microsoft.com by simula67 on Wednesday May 04, 2016 @05:39AM (#11627223)
I sometimes select the current line that I am reading. This helps me to quickly figure out the start of the next line when I am finished reading the current one.
Re:Introducing docs.microsoft.com by tgb on Wednesday May 04, 2016 @08:30AM (#11627824)
So what do you guys think of HN? I get frustrated by how if I drag the selection down on HN comments, the selection will "hop" up at certain points. It's very aesthetically unpleasing, but I just need to click and drag select whatever I'm reading.
Re:Introducing docs.microsoft.com by jordanlev on Wednesday May 04, 2016 @10:27AM (#11628574)
fwiw, I believe this is due to HN's archaic table-based html layout, as opposed to some javascript code like on medium and this new ms docs site.
Re:Introducing docs.microsoft.com by ihsw on Wednesday May 04, 2016 @12:08PM (#11629324)
This is it.

It has to do with border-spacing between table cells -- when you select text that runs into the border-spacing, it resets the selection to go from 1) original cell 2) start of the table 3) next cell.

With more sane styling (ie: setting border-spacing to 0), the selection won't jump to the start of the table.

Re:Introducing docs.microsoft.com by scrumper on Wednesday May 04, 2016 @01:13PM (#11629827)
I don't mind HN, you can get all sorts of pleasing patterns of highlight by dragging down nested comment hierarchies. Extra satisfying when you get the darker 'double highlight' and you can make it pop by wiggling your fingers a bit.

This is just heaven here: http://imgur.com/asQy8v3

Look at all those lovely lines and right angles.

Re:Introducing docs.microsoft.com by cooper12 on Wednesday May 04, 2016 @10:14AM (#11628485)
Hey, don't sell yourself short. It's akin to using your finger while reading a book. It helps you to keep your place and focus, which the highlighting in browsers works even better for. So I wouldn't necessarily call it a quirk that Microsoft doesn't have to account for. Webdevs should really stop overriding browser defaults in detriment to the user experience. (nothing is more evil than clipboard hijacking)
Re:Introducing docs.microsoft.com by infogulch on Wednesday May 04, 2016 @12:28PM (#11629483)
I wonder what proportion of the web population does this, and if they have a demographic skew. I think I remember starting this back in the late 90's in response to a combination of extremely janky, inconsistent scrolling and tiny monitors which made me easily lose my place while reading a long article. So I'd highlight a section of text before scrolling as a marker, which developed into a compulsion over time. The constant clicking drives my friends and coworkers nuts.
Re:Introducing docs.microsoft.com by PakG1 on Wednesday May 04, 2016 @06:22AM (#11627349)
I used to do this. Switching to using a MacBook full-time fixed that habit for me. Even when I connect to a big monitor, I use a trackpad, not a mouse. Harder to compulsively highlight with that thing.
Re:Introducing docs.microsoft.com by krrrh on Wednesday May 04, 2016 @06:54AM (#11627449)
Enable 3-finger drag on the trackpad and relive the old days.
Re:Introducing docs.microsoft.com by dexterdog on Wednesday May 04, 2016 @07:01AM (#11627476)
Don't forget the 11-finger tap.
Re:Introducing docs.microsoft.com by PakG1 on Wednesday May 04, 2016 @07:18AM (#11627542)
Damn you. :p
Re:Introducing docs.microsoft.com by jakub_g on Wednesday May 04, 2016 @10:49AM (#11628710)
Not only Medium, there are lots of websites like this. BTW It seems there's lots of us compulsive clickers here on HN :)
Re:Introducing docs.microsoft.com by avuserow on Wednesday May 04, 2016 @04:12PM (#11631352)
I used to do this and then stopped once I switched to Linux where selecting text put it on a clipboard automatically.

I suspect it's related to some patterns when reading books, like putting a bookmark below your current line and moving it down, or following your current position with your finger.

Re:Introducing docs.microsoft.com by nailer on Wednesday May 04, 2016 @07:53AM (#11627681)
> On my 32" 4K display, 70% of the screen is empty.

Totally agreed on your other points (particularly about animations on selection) but as the article mentions, eye tracking repeatedly shows people have trouble reading very wide text. Also many people use large monitors to have multiple windows, rather than a single window maximised.

Re:Introducing docs.microsoft.com by sp332 on Wednesday May 04, 2016 @09:55AM (#11628339)
I stopped maximizing my browser window a long time ago, and I only have a 27" monitor. It's just not comfortable for me.
Re:Introducing docs.microsoft.com by jakub_g on Wednesday May 04, 2016 @10:55AM (#11628760)
I prefer to have my browser maximized, though it's true too wide text is not easy too read.

I've noticed also that I don't like to read text that starts on the left of the screen.

The solution that works for me is to install a sidebar (on Firefox, AiOS add-on) and if text is too wide or starts too much on the left, I enable and resize sidebar accordingly :)

Re:Introducing docs.microsoft.com by nacs on Wednesday May 04, 2016 @09:18AM (#11628063)
> eye tracking repeatedly shows people have trouble reading very wide text

Yes but to optimize for larger screens, the correct thing to do is to scale everything up (fonts, spacing, etc) in a responsive manner.

The amount of text content per line wouldn't change much, it would just fill up the screen better instead of using the same tiny font size you'd use for a 13inch screen @ 1080p on a 32" 4K display.

Re:Introducing docs.microsoft.com by ygra on Wednesday May 04, 2016 @09:33AM (#11628171)
Scaling up only works to a certain point. Not every screen is a phone screen and should suffer from the same amount of visible text. If I scale a page to a good line length I end up with text so comically large that only a single paragraph fits on the screen, if at all.

When lines get longer you either have to increase the leading, or font size, or shorten the lines to retain readability. Personally I hate having to detach every other tab from the browser just to change to width to something that's readable. In that sense I much prefer the content to have a maximum width beyond a certain viewport width because it's the only viable option to still have text that is readable.

Re:Introducing docs.microsoft.com by marssaxman on Wednesday May 04, 2016 @03:13PM (#11630891)
No, to optimize for larger screens you simply acknowledge that it's the user's machine, not yours, and do nothing. The user will make their own choices. If they want to open multiple windows so they can read multiple columns of text, they will do that. If they want to make the text bigger, they will do that. If they like it the way it is, they'll leave it alone. Not your problem to solve.
Re:Introducing docs.microsoft.com by WorldMaker on Wednesday May 04, 2016 @11:13AM (#11628906)
A better option is to expand to multiple columns, like Newspapers discovered centuries ago.
Re:Introducing docs.microsoft.com by ygra on Wednesday May 04, 2016 @11:33AM (#11629055)
That only works when your content fits on a screen because it messes with the scrolling-based nature of the web (or screen content in general – just picture how awkward it is to read an A4-portrait multi-column PDF with fit-to-width on screen).
Re:Introducing docs.microsoft.com by WorldMaker on Wednesday May 04, 2016 @12:08PM (#11629320)
Personally, I like well-columned stuff switching to scroll horizontally.

(It's one of the things I loved about the design style of Windows 8 apps that has been lost in the Windows 8 hate, and admittedly was a part of the Windows 8 hate, because people don't respect a good horizontal scroll of columnar reading material, sigh.)

Re:Introducing docs.microsoft.com by nailer on Wednesday May 04, 2016 @10:53AM (#11628744)
I happily browse the Web at 125% on a 27inch monitor because I like pages to be large, but if pages made double width windows have double size content it would be like sitting directly in front of a TV.
Re:Introducing docs.microsoft.com by fredley on Wednesday May 04, 2016 @05:23AM (#11627181)
As a substitute for 1998, a simple userscript blocking all text-selection events could do the trick. One of the great things about the web is that you can choose how to consume it - publishers are essentially powerless to prevent you building your own view on their data. Adblock, readability, etc. It can be easy to forget sometimes.
Re:Introducing docs.microsoft.com by cm3 on Wednesday May 04, 2016 @04:37AM (#11627017)
If it were 100% wide on 4K, how would your eyes scan the text? It's useful for illustrations (graphics), but I haven't met a person yet who can read wide text as efficiently as one or more narrow columns.
Re:Introducing docs.microsoft.com by jimjimjim on Wednesday May 04, 2016 @05:08AM (#11627137)
I've given up completely on landscape for monitors. I've rotated my two monitors to portrait. It works for websites, but it's also ideal for programming (no more looking through a letter box at the code), reading documentation and pdf pages.
Re:Introducing docs.microsoft.com by wastedhours on Wednesday May 04, 2016 @05:42AM (#11627229)
I've gone for main in landscape and portrait one on the left - the only issue with portrait can be the height, I find myself having my browser starting half way down, with the top section reserved for things like a console window that aren't being looked at constantly (would be great to be able to fullscreen video on just that bit too).
Re:Introducing docs.microsoft.com by cm3 on Wednesday May 04, 2016 @10:29AM (#11628581)
What type of panels and implementations (monitors sold) work well in portrait mode? I've tried it once and I saw an odd pattern that wasn't very comfortable to look at.
Re:Introducing docs.microsoft.com by ygra on Wednesday May 04, 2016 @10:39AM (#11628646)
TN panels are usually horrible, as they have (in landscape mode) a very limited viewing angle up or down before colours start to shift or parts of the screen appear way darker than others.

IPS panels should work without a problem in both landscape and portrait mode.

Re:Introducing docs.microsoft.com by cm3 on Wednesday May 04, 2016 @05:06PM (#11631802)
I use IPS and VA panels, but I wouldn't be able to tell what panels it was when I had the bad experience. I'll try it again, but not every IPS or VA panel is good either.
Re:Introducing docs.microsoft.com by sleepychu on Wednesday May 04, 2016 @05:45AM (#11627238)
I wish this worked for games, I'd totally be a portrait user.
Re:Introducing docs.microsoft.com by antisthenes on Wednesday May 04, 2016 @01:00PM (#11629718)
A triple monitor setup with 2 side monitors in portrait mode seems to be optimal these days.

That way your primary monitor can still be used to watch media and play games in the "standard" widescreen format, but your code and browser can readily be viewed on the sides.

Re:Introducing docs.microsoft.com by jsmthrowaway on Wednesday May 04, 2016 @01:41PM (#11630077)
For ergonomic reasons your work should be in front of you. If you're staring at a side monitor long term that'll wreak havoc on your neck.
Re:Introducing docs.microsoft.com by daemin on Wednesday May 04, 2016 @06:07AM (#11627307)
Just run the games in windowed mode and you can generally change the size to however big you want.
Re:Introducing docs.microsoft.com by sleepychu on Wednesday May 04, 2016 @07:08AM (#11627513)
sure but the UI is generally written to be a horizontal layout.
Re:Introducing docs.microsoft.com by sz4kerto on Wednesday May 04, 2016 @04:43AM (#11627045)
There are other stuff you can store on the left/right sides, especially when it's a documentation site. Typically a nice hierarchical ToC.
Re:Introducing docs.microsoft.com by lmm on Wednesday May 04, 2016 @09:35AM (#11628180)
I've seen this claim repeatedly but it doesn't match my personal experience. I've taken to using a user stylesheet that disables max-width on all elements. It makes my subjective web experience a lot nicer.
Re:Introducing docs.microsoft.com by chiph on Wednesday May 04, 2016 @08:33AM (#11627837)
I resize the window down to where it's more comfortable to read.
Re:Introducing docs.microsoft.com by keypress on Wednesday May 04, 2016 @04:39AM (#11627026)
If it weren't for tabs, a window resize could help there.
Re:Introducing docs.microsoft.com by taspeotis on Wednesday May 04, 2016 @05:07AM (#11627131)
> And stuff keeps moving/jumping when I'm moving the mouse cursor.

Yes it's quite bad on that blog post, but if you check out an article [1] it doesn't suffer from that problem. Still has the selection-reader [2] problem, though.

[1] https://docs.microsoft.com/en-us/remoteapp/remoteapp-whatis

[2] https://blogs.msdn.microsoft.com/oldnewthing/20150528-00/?p=...

Re:Introducing docs.microsoft.com by danfernandez on Wednesday May 04, 2016 @04:09PM (#11631326)
[Disclosure: I'm on the team that helped build the site]

Yes, this is a bug and something we will fix, thanks for calling this out :)

Re:Introducing docs.microsoft.com by neppo on Wednesday May 04, 2016 @06:48AM (#11627429)
the text in [1] is not justified, that seems to make the comment icon behave differently.

It goes to the right of the paragraph in that case instead of the last sentence of the paragraph.

Re:Introducing docs.microsoft.com by partisan on Wednesday May 04, 2016 @07:10AM (#11627519)
Hover over an image and watch it change the layout.
Re:Introducing docs.microsoft.com by insertnickname on Wednesday May 04, 2016 @04:45AM (#11627053)
Use NoScript or equivalent to block scripts from the domain fyre.co. This prevents that annoying menu from popping up.
Re:Introducing docs.microsoft.com by userbinator on Wednesday May 04, 2016 @06:54AM (#11627448)
> Livefyre: The Leading Content Marketing and Engagement Platform

Looks like something to block regardless of whether it creates annoying menus. Is anyone else a little surprised (and perhaps repulsed) by Microsoft putting semi-shady 3rd-party scripts like this on their site? This seems completely opposite of what the Microsoft I knew would do.

Re:Introducing docs.microsoft.com by sp332 on Wednesday May 04, 2016 @09:58AM (#11628369)
I've seen them used to power comments on some sites, which is why I left them enabled after I installed Ghostery. I might reconsider if I see them putting junk into other websites though.
Re:Introducing docs.microsoft.com by tyingq on Wednesday May 04, 2016 @12:19PM (#11629409)
Looks like you can block just //cdn.livefyre.com/libs/sidenotes/v1.3.3/sidenotes.min.js to get rid of the inline popups.
Re:Introducing docs.microsoft.com by niij on Wednesday May 04, 2016 @08:59AM (#11627982)
As of yesterday they have been acquired by Adobe.
Re:Introducing docs.microsoft.com by rl3 on Wednesday May 04, 2016 @05:01AM (#11627114)
>I want 1998 back.

I'd be happy with 2011, just before the Metro-inspired redesign of MSDN hit.

Re:Introducing docs.microsoft.com by jbb555 on Wednesday May 04, 2016 @08:47AM (#11627915)
There seems to be some plan to use less and less of the screen. I keep looking at wordpress templates and almost all of them want to use about 1/8th of my screen width which is terrible
Re:Introducing docs.microsoft.com by JorgeGT on Wednesday May 04, 2016 @05:05AM (#11627123)
Also a small "add comment" icon pops under each paragraph when hovering, making entire paragraphs jump up and down as I scroll down the page, it's very distracting.
Re:Introducing docs.microsoft.com by flatline on Wednesday May 04, 2016 @08:46AM (#11627909)
The icon for adding a comment to a paragraph when there is none also causes the rest of the page text to reflow. If this is a preview of what's to come, they've migrated to a 2016 appearance and brought along all the clunkiness of the old MSDN. Kudos.
Re:Introducing docs.microsoft.com by asquabventured on Wednesday May 04, 2016 @10:20AM (#11628522)
> Oh no. It pops up a quick menu when I select text, like Medium. The problem is that I'm constantly selecting the lines I'm reading. :(

I do the same thing when reading text and HATE websites that do this, the solution I've found is to just use uBlock Origin to block annoying web elements like this. You can do the same, just add the following filters:

docs.microsoft.com##body > .lf:nth-of-type(7) > .lf-active.lf-selection-popover.lf-popover > .lf-popover-content.lf-thread-content

docs.microsoft.com##body > .lf:nth-of-type(7) > .lf-active.lf-selection-popover.lf-popover > .lf-popover-arrow

Re:Introducing docs.microsoft.com by RubyPinch on Wednesday May 04, 2016 @10:26AM (#11628566)
or just docs.microsoft.com#.lf-selection-popover
Re:Introducing docs.microsoft.com by Ntrails on Wednesday May 04, 2016 @11:21AM (#11628978)
Is there a generic way to kill the function every website that ever tries to do this to me?
Re:Introducing docs.microsoft.com by dave2000 on Wednesday May 04, 2016 @04:01PM (#11631271)
> 70% of the screen is empty

Welcome to the last few years. I thought, when i bought a 24 inch monitor, I'd be using all of it; instead I'm minimizing Firefox so that sites don't look silly. I guess when you're using technology as badly designed as that used to create/display websites anything harder than justifying text and images becomes a nightmare to develop and support.

Re:Introducing docs.microsoft.com by mixmastamyk on Wednesday May 04, 2016 @12:25PM (#11629461)
> Also, it's extremely narrow. On my 32" 4K display, 70% of the screen is empty. And the font is too think. And stuff keeps moving/jumping when I'm moving the mouse cursor.

Why maximize a browser window on such a screen? Three or four windows side by side would take advantage of it.

Re:Introducing docs.microsoft.com by sixhobbits on Wednesday May 04, 2016 @03:38PM (#11631074)
I don't remember 1998 too well, but I read the article formatted like this http://m.imgur.com/yWTv9Xz and I still find it preferable to the original.
Re:Introducing docs.microsoft.com by piyush_soni on Wednesday May 04, 2016 @09:45AM (#11628259)
Ha! So a lot of us have that strange problem! :) And I hate it too when websites do funky pop-up stuff on text selection. But somehow, I don't see that problem on this website. Which browser are you using?
Re:Introducing docs.microsoft.com by sp332 on Wednesday May 04, 2016 @09:52AM (#11628313)
I see this on Firefox on Win10. And you have to hit the back button twice to go back, which happens on a lot of Microsoft sites.

Edit: looks like it's being served from fyre.co, which might be blocked by adblockers?

Re:Introducing docs.microsoft.com by infogulch on Wednesday May 04, 2016 @12:44PM (#11629593)
> And you have to hit the back button twice to go back

Could browsers not be smarter about this? If I'm on page A and I click a link X that redirects to B, when I click back I expect to go back to A, especially if X still redirects to B.

Re:Introducing docs.microsoft.com by piyush_soni on Wednesday May 04, 2016 @12:52PM (#11629653)
Browsers are already smart about that, but they also allow websites to override it, which is kind of important too. And then they can mess it up.
Re:Introducing docs.microsoft.com by piyush_soni on Wednesday May 04, 2016 @09:55AM (#11628342)
Strange. I'm using Firefox on Win7 here, but it shouldn't have been Windows difference. Will check when I go home where I have Win10.
Re:Introducing docs.microsoft.com by piyush_soni on Wednesday May 04, 2016 @12:56PM (#11629683)
Oh, I found out - I was looking at a following link from the original page (https://docs.microsoft.com) - which didn't have the problem. It's there on the HN linked page. These days I fix all of these annoying pages using uBlock Origin's "Element Picker mode" and hiding them.
Re:Introducing docs.microsoft.com by Zekio on Wednesday May 04, 2016 @06:00AM (#11627283)
Block livefyre.com javascript and they stop appearing
Re:Introducing docs.microsoft.com by Raphmedia on Wednesday May 04, 2016 @11:58AM (#11629243)
Hold the button while you read, the popup appears on mouse button up and not on the press itself.
Re:Introducing docs.microsoft.com by pinouchon on Wednesday May 04, 2016 @12:09PM (#11629328)
No
Re:Introducing docs.microsoft.com by Raphmedia on Thursday May 05, 2016 @09:29AM (#11635869)
It does for me anyway, must depend on browser and device.
Re:Introducing docs.microsoft.com by abimaelmartell on Wednesday May 04, 2016 @11:55AM (#11629224)
I really hate the popup thing.
Re:Introducing docs.microsoft.com by kevin_thibedeau on Wednesday May 04, 2016 @04:41PM (#11631581)
NoScript it into oblivion or cut it out with a Greasemonkey scalpel.
Re:Introducing docs.microsoft.com by txdv on Wednesday May 04, 2016 @07:56AM (#11627690)
What monitor do you have?