News for hackers. Stuff that matters.
Re:Strapdown.js – Instant and elegant Markdown documents by anchpop on Friday June 15, 2018 @02:35PM (#17322300)
I like this, but I hate the FOUT that it seems to create
Re:Strapdown.js – Instant and elegant Markdown documents by Waterluvian on Friday June 15, 2018 @03:06PM (#17322590)
Off topic but I never knew the term for this. The cbcnews.ca site got rebuilt in react recently and the result has this one bug where when loading, some headlines flash an entirely different but also valid headline for the same story for a split second. When it comes to news, a FOUT like that makes me rather paranoid about maybe I'm getting a tailored headline for my demographic.
Re:Strapdown.js – Instant and elegant Markdown documents by cosmie on Friday June 15, 2018 @04:03PM (#17323063)
It's been really common for years to split test headlines[1] for content. Even most email marketing platforms have a variation of it, where they stagger out emails, sending out a few variations with different subject lines to a subset of users first, identifying the one with highest engagement, then releasing the email to the remainder/bulk of your email list using that subject.

I wouldn't put it past the major publishers to have moved beyond A/B testing for an overall headline winner to more segmented optimization based on tying A/B performance to first and third party data they have available on you, and further optimizing their headlines to reflect whatever performed well for traffic like you, rather than just performed best overall for all traffic.

1. https://contently.com/strategist/2015/02/04/how-buzzfeed-r29...

Re:Strapdown.js – Instant and elegant Markdown documents by DC-3 on Friday June 15, 2018 @04:26PM (#17323261)
> makes me rather paranoid

I don't think a belief is paranoid when it's both rational and evidence based.

Re:Strapdown.js – Instant and elegant Markdown documents by tomcam on Friday June 15, 2018 @06:09PM (#17324048)
FOUT == “Flash of unformatted text”
Re:Strapdown.js – Instant and elegant Markdown documents by yoavm on Friday June 15, 2018 @09:00PM (#17325108)
I don't think it has any FOUT, because the whole element is styled with "display: none;". Only after the JS is parsed, it formats the Markdown code and then re-display it.
Re:Strapdown.js – Instant and elegant Markdown documents by andreareina on Saturday June 16, 2018 @05:50AM (#17326769)
I'm definitely getting FOUT. Disabling all javascript does get me a blank page (also a problem IMO), so it seems to be in the script.
Re:Strapdown.js – Instant and elegant Markdown documents by whitepoplar on Friday June 15, 2018 @02:39PM (#17322337)
What's FOUT?
Re:Strapdown.js – Instant and elegant Markdown documents by bastijn on Friday June 15, 2018 @02:45PM (#17322387)
Might mean "flash of unstyled text" though I was not able to see it on my iPhone with chrome browser.
Re:Strapdown.js – Instant and elegant Markdown documents by metalliqaz on Friday June 15, 2018 @02:57PM (#17322498)
I noticed it, though my work PC is slow as molasses.

Based on how Strapdown appears to work, it appears to be the delayed CSS load that causes the problems.

I believe that the problem could be alleviated by adding the CSS link tags to the head of the document, when you're happy with the final product. Looks like you should only need bootstrap and whatever you choose from bootswatch.