Hacker Newsnew | past | comments | ask | show | jobs | submit | experimental-'s commentslogin

A very quick glance suggests to me that the only thing C++ specific there is the filename extension (although a C compiler would do a more thorough check than I do; and faster, even!)


And the single-line comments, if not using a C99-compliant compiler. I wouldn't be surprised if he was using Visual C++ and had to change the extension to support a comment syntax that doesn't make you want to strangle yourself.


Vertical centering has been relatively easy since CSS 2.1 (Table model); flexbox of course offers much more than that. Flexbox may be finalized and unchangeable, if only because so many browsers already support it unprefixed (as support for such properties is almost never removed) – however, like much of the CSS3, flexible box model is not yet a W3C Recommendation, and is, in theory at least, subject to change. With proper tools, a prefix here and there is not a huge burden.

The reason why many browsers rush to unprefix CSS3 is not that it's perfect, but because of the lazy web developers who only prefix stuff for WebKit. This may or may not bite the community in the future.


Who is just prefixing stuff for Webkit? Mixin libraries have been pretty standard for at least three years, and now Autoprefixer is starting to do the heavy lifting.

People only initially prefixed for Webkit because webkit was the only browser that had a lot of these properties. The problem was that nobody went back and updated their prefixes, which really only further illustrates one of the big problems with the whole idea of vendor prefixes.


> Vertical centering has been relatively easy since CSS 2.1 (Table model)

But not with divs which are more common


It's not hard, really: just use absolute centering [1]. That's actually what "margin: auto" is there for in CSS 2.1; it's a shame they were bad at evangelizing it.

[1]: http://codepen.io/shshaw/full/gEiDt


…so you use table display rules on the divs?


using display: table-cell; is a hack and has quite a few gotchas. However it was a very useful hack none-the-less for a feature which most designers would never expect would be such a challenge.


Note that Google provides newer versions of Flash player for Linux with alongside Chrome. That version works on any browser that supports the Pepper plug-in interface (currently Chrome/Chromium (+forks)/Opera/? – and not Firefox).


It isn't actually very old – not much older than current releases on other supported platforms, because quite often security bugs affect it as well, and Adobe updates it as well.

Adobe has promised to support the NPAPI Linux plug-in for a few more years (IIRC till 2017). It doesn't get any new features, but security issues will be fixed, usually at the same time as on other platforms.


I didn't see anyone broadcasting their porn habits. OP only mentioned searching for porn; not which kind of porn, or whether he had downloaded it in the past.


I love my HN fellows who love to _hack_ others's comments :)


To downvoter, I was just praising the talent. No sarcasm intended.


I don't think any of the founding members (some, or all of which have served time in jail) are involved in running the site (or have been in years) – at least not officially.


Really? Hardly any? I would consider it rude not to offer free restroom in a shopping centre, although it's far too common in a fast-food joint (they aren't really any better than the ones that are truly public.)


The Apple reference sound less like a business plan, and more like typical hype of Apple exceptionalism. Apple makes the top dollar by selling devices with a nice profit margin. Would they really want to add several hundred dollars to their price, thus cannibalizing their sales – just to donate most of that to record labels? (No!) Yes, they would get their cut, but most of it would be away from iTunes revenue. (Not all Apple buyers use Spotify or similar services – and if Apple could raise their retail price without diminishing their sales, they would.)

And if they made the inclusion (of music) optional, why would record labels settle for much less than what Spotify pays? For no reason, and they wouldn't.


The Nokia platform would be that which we used to call Maemo in the past (currently Mer, behind Sailfish OS). Nokia no longer uses it.


To be precise, Microsoft didn't buy Nokia's brand for use in phones, they licenced it, for about a year for smartphones and a decade for the so-called feature phones.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: