News for hackers. Stuff that matters.
Re:CSS grid garden by reaperducer on Monday December 24, 2018 @03:13PM (#18754042)
This makes me sad. Not because I don't like grid. But because two weeks ago I found out that a very senior person in the company has a computer running IE11, and will not let IT upgrade her machine.

She recently discovered that one of the company's web sites doesn't look right in IE11, and shit ran downhill into my lap. I checked the logs, and yep... she's the only IE11 machine to hit any of the web sites in a year.

I spent a day and a half downgrading the site from CSS grid to Flexbox only to discover that once I found an old machine in a closet that has IE11 on it that I could test with that IE11 doesn't fully support Flexbox, either!

Solution: Each building on campus has its own IP address. Connections from her building get a table version.

Re:CSS grid garden by reificator on Monday December 24, 2018 @03:37PM (#18754151)
The solution there is to document every moment of your time spent on this issue, alongside the user agent logs, and present that alongside your salary, and present it.

Best case, they decide they pay you too much and you cause too much trouble, and let you go.

Worst case they make her upgrade her browser so they're not dumping mountains of money on her preferences and whims.

Either way, I'd be good with it if I were in that position.

Re:CSS grid garden by reaperducer on Monday December 24, 2018 @04:30PM (#18754373)
I already document every task I do (my immediate boss requires it).

The way I view it is it was good busywork for the weeks before Christmas when not much was getting done anyway. I don't bother fighting it because if they want to waste their money paying me to downgrade a web site for one person, I'm happy to take their money for it.

Re:CSS grid garden by talow49 on Monday December 24, 2018 @04:41PM (#18754415)
Chances are if IT upgrade her browser she won't even notice. Just get them to do it.

Or get someone more senior than her to put her in her place.

Re:CSS grid garden by reaperducer on Monday December 24, 2018 @05:00PM (#18754496)
Just get them to do it.

It's not a tech company, so it doesn't work that way. IT doesn't tell management what to do, it's the other way around.

get someone more senior than her to put her in her place

To get to someone more senior than her would mean contacting her manager on the other side of the country, who would likely wonder why I'm was wasting her time, and come down on me through my boss. Again, it's not a tech company.

Re:CSS grid garden by peteretep on Tuesday December 25, 2018 @02:08PM (#18758760)
> It's not a tech company, so it doesn't work that way. IT doesn't tell management what to do

No, but IT come and say "in order to get ISO313186461 certified we need to do an upgrade" tends to work pretty well.

Re:CSS grid garden by jccalhoun on Monday December 24, 2018 @05:17PM (#18754588)
it would be a shame if something happened to her computer and it had to be replaced...
Re:CSS grid garden by justwalt on Monday December 24, 2018 @07:59PM (#18755196)
“What’s this in my computer? What’s a USB killer?”
Re:CSS grid garden by VMG on Monday December 24, 2018 @07:17PM (#18755039)
Highly unethical
Re:CSS grid garden by knewter on Tuesday December 25, 2018 @07:00AM (#18757103)
you're not going to enjoy Bastard Operator from Hell
Re:CSS grid garden by VMG on Tuesday December 25, 2018 @07:32AM (#18757175)
I enjoy Quake but not Quake IRL
Re:CSS grid garden by sjwright on Monday December 24, 2018 @08:02PM (#18755210)
Hilarious that the HN audience decided that the parent comment was worthy of down-votes! Ethics? Pah, we're IT professionals.
Re:CSS grid garden by jjoonathan on Tuesday December 25, 2018 @07:51PM (#18759860)
Ethics swing both ways.
Re:CSS grid garden by sjwright on Wednesday December 26, 2018 @02:43AM (#18761140)
I wasn't saying it doesn't. I wasn't saying anything remotely like that. Someone was downvoted for the normally unremarkable observation that intentional sabotage is unethical. I thought that this community response was hilarious and worthy of remark.

If it "swings both ways," I would be most interested in an opinion about the "other way" if you're willing to offer it.

Re:CSS grid garden by bobske3 on Tuesday December 25, 2018 @03:17AM (#18756547)
"IE11 is not supported.".. why? it's something technical...

IT might be lowest in the foodchain, but they always have the last word when it comes to something.. technical.

Re:CSS grid garden by reificator on Monday December 24, 2018 @05:19PM (#18754596)
> who would likely wonder why I'm was wasting her time

At which point you show how much money is being thrown away here.

Re:CSS grid garden by twblalock on Monday December 24, 2018 @06:08PM (#18754785)
This is somebody who successfully refuses to let IT upgrade her computer. That means she has a huge level of power in the organization and feels entitled to disregard policy.

Do you honestly believe she cares about the IT department wasting a little bit of money (and it really is just a little bit relative to what she probably deals with), or would respond well to an IT guy pointing out his salary in an attempt to convince her to upgrade her computer? The advice you gave is more likely to get someone fired than it is to help.

Re:CSS grid garden by vlovich123 on Tuesday December 25, 2018 @02:24AM (#18756424)
She seems like she's an easy attack vector into the company network. Is her computer also completely firewalled off from anything important or does the company not care about breaches?
Re:CSS grid garden by deytempo on Monday December 24, 2018 @07:31PM (#18755088)
Either that or “IT” is someone who doesn’t feel qualified enough to be assertive in their position. If I was this “IT” person, I would explain to the individual that there was a critical vulnerability found which will not be patched and then print up a liability waver form for them to sign and date, stating that they are doing this on their own terms and I cannot be held responsible should anything go wrong.
Re:CSS grid garden by twblalock on Monday December 24, 2018 @07:45PM (#18755129)
> If I was this “IT” person, I would explain to the individual that there was a critical vulnerability found which will not be patched and then print up a liability waver form for them to sign and date, stating that they are doing this on their own terms and I cannot be held responsible should anything go wrong.

That's even worse advice than what I was responding to. Great way to anger a high-ranking executive and probably get fired.

Frankly a lot of the advice in this thread seems to be coming from people who are very junior or otherwise don't have experience dealing with high-ranking executives. Heck, even mid-ranking executives would respond very poorly to the kinds of actions advised in this thread.

Here's the situation: a high-ranking person in the company is so powerful that she can disobey IT policy by refusing to update her computer. This person is also powerful enough to demand that changes be made to a corporate website to make it compatible with her older computer. This is a problem for the head of IT, and the head of IT either lost that battle or decided it was not worth fighting.

This is not the right place for a more junior IT person or developer to stick their nose in by going directly to that executive with some bogus "liability waiver" or appeals to wasted money or whatever else. It won't go well, and it's wrong to do it in the first place because it bypasses layers of management and the historical and political context that led to this outcome. If the head of IT couldn't solve this problem, a stunt like what you are suggesting won't solve it either.

Re:CSS grid garden by sjwright on Monday December 24, 2018 @08:11PM (#18755244)
Your advice is worse. Situations like this are entirely a game of dick swinging. If the IT department wants to become a room of ineffectual little shrinking-violet yes-men, then why would you want to work there in the first place?

I get what you're saying, and I think that most corporate IT departments run themselves as little fiefdoms with false pretensions of importance and power. But if someone is insisting upon running systems that don't conform to reasonable standards of the company, then something needs to be done. I would consider requiring that device to be isolated from the network with a small firewall.

But the waiver is a good idea—though unlike your assumption that it would be handled by an junior, such matters ought to be sent up the chain to the CIO or equivalent, and it should be the responsibility of the CIO to get the signature or take personal responsibility themselves.

Re:CSS grid garden by ric2b on Wednesday December 26, 2018 @09:12AM (#18762202)
While I agree that some of these approaches are too agressive and this should first be approached with an honest conversation, I completely disagree that people should just stick to their role and shut up even when they see problems.

Sometimes you need to break the chain of command (either from below or from above) to get things fixed, otherwise some problematic people never called on their shit and the whole organization suffers.

Re:CSS grid garden by reificator on Monday December 24, 2018 @09:52PM (#18755570)
Go back up to the start where I said that the best case was that you get fired.

Either you make progress or get... encouragement to go find a better job. Sounds like a win-win to me.

Re:CSS grid garden by ergothus on Tuesday December 25, 2018 @10:10PM (#18760222)
> Either you make progress or get... encouragement to go find a better job

This assumes one has a job where you can easily replace it with an equivalent. Even in IT, this is not the norm outside of a few limited areas and fields. Most people have to worry about keeping jobs that arent perfect.

Frankly, this is the kind of "if it were me Id just be an asshole because being right is the only thing that matters, just don't look at my actual life actions" advice I got from my grandfather growing up and just sounds very unaware and privileged today.

Does it suck? Yes. Is there some act this person can do to change things? Maybe. Are there a lot of actions that can feel morally justified but arent, and are also really bad ideas to attempt? Oh my yes.

Do I think you are offering this terrible advice? Cant say...there's a lot of context we can be assuming differently. I can say that I dont see the take away from many of the messages on this thread being terribly helpful.

Re:CSS grid garden by reaperducer on Monday December 24, 2018 @05:34PM (#18754651)
At which point you show how much money is being thrown away here.

You assume that wasting a few days of my time will cost the company more than me wasting her time. Remember, this person is probably seven or eight steps higher than me in the org chart. This is a large organization, not some startup.

Re:CSS grid garden by Aeolun on Monday December 24, 2018 @06:19PM (#18754828)
If you are spending days, and the person is spending 10 minutes, that might actually work out in your favor.

Also, 7 or 8 steps in any org chart is insane.

It’s more likely to cost a ton of money if someone hacks her browser/OS though.

Re:CSS grid garden by JustSomeNobody on Monday December 24, 2018 @07:09PM (#18755013)
Better to ask her why she feels she needs that version and work with her to move beyond it.
Re:CSS grid garden by JustSomeNobody on Monday December 24, 2018 @07:08PM (#18755003)
Has anyone asked her why? She may have a legitimate reason.

From personal experience for a long time I had to keep an old version of IE running in an old windows VM for one specific app. Had I not had that VM and IT decided to upgrade me without asking I’d have lost my sh$& and gave them the what for.

Re:CSS grid garden by vraylle on Monday December 24, 2018 @05:03PM (#18754516)
We just finished deploying a major contract where the military is a primary customer. They still have many machines running IE 11. I used CSS Grid and it's working well. IE 11 supports the initial version of the spec and has the -ms prefixes, but works. There are some things you can't do (like areas), but it largely works with that syntax, if you design with column/row in mind.

See this for details on the IE 10/11 implementation:

https://rachelandrew.co.uk/archives/2016/11/26/should-i-try-...

Re:CSS grid garden by jordan801 on Monday December 24, 2018 @06:28PM (#18754869)
Former soldier (national guard) here, and yes, yes they do. You know how aids it is to be a civilian software engineer and have to work with IE11 to complete assignments. The good thing is that 95% of the time I could convince their software to give me a certificate without completing the course on stuff like OPSEC (yes, I am aware I shouldn't share my password with others). Guhhh.
Re:CSS grid garden by protomyth on Tuesday December 25, 2018 @11:20AM (#18757911)
Its a general government thing. The amazing power of contractors to determine what systems their precious software will run on is amazing. I have a Windows Server 2003 machine still on my network because of a grant contractor that hasn't certified anything beyond that.
Re:CSS grid garden by tzs on Monday December 24, 2018 @03:49PM (#18754200)
> [...] only to discover that once I found an old machine in a closet that has IE11 on it [...]

MS has free downloadable virtual machine images to help with that kind of testing. They have IE8, IE9, IE10, and IE11 Win7 VMs, an IE11 Win8 VM, and an Edge Win10 VM.

They have images for VirtualBox, Vagrant, VMWare, HyperV, and Parallels.

Link:

https://developer.microsoft.com/en-us/microsoft-edge/tools/v...

Re:CSS grid garden by reaperducer on Monday December 24, 2018 @04:31PM (#18754380)
I tried one of these in VirtualBox on an iMac, and it crashed the computer. Hard. Like locked it up, and after three minutes frozen the thing rebooted. That was when I went searching for an old machine in the IT building.
Re:CSS grid garden by BlackMonday on Tuesday December 25, 2018 @04:03AM (#18756663)
If possible you could alternatively have send her (every browser which doesn't support full grid) a mobile layout like described in the video: https://www.youtube.com/watch?v=txZq7Laz7_4&app=desktop

> From this follows a simple but surprising truth: The lack of support for CSS grid in an old browser should not affect the experience of the visitor, but rather just make the experience different.

> If you agree with this (and you should), there is no reason you can’t use CSS grid today!

> Here’s how that approach could work in practice. Rather than using fallbacks and shims to ensure a design and layout look the same across all browsers, we’d provide the mobile vertical single-column layout to all browsers and then serve up advanced functionality to those browsers and viewport widths that can take advantage of them. It might sound like progressive enhancement, but it’s actually more of an accessibility-centric approach enabled by a mental shift.

https://www.smashingmagazine.com/2017/06/building-production...

Re:CSS grid garden by steamer25 on Monday December 24, 2018 @09:32PM (#18755509)
One pattern I've heard (I think previously via Hacker News) is to start with a mobile design and progressively enhance the site for browsers with grid support. That way, older browsers fall back to the same experience as the mobile design.
Re:CSS grid garden by nhebb on Monday December 24, 2018 @04:09PM (#18754280)
caniuse.com is a quick way to look up compatibility issues, e.g. https://caniuse.com/#search=flexbox
Re:CSS grid garden by reaperducer on Monday December 24, 2018 @04:32PM (#18754385)
You're right, I should have checked. But in my mind it never occurred to me that the final version of IE could be that broken. Lesson learned.
Re:CSS grid garden by plzbo on Monday December 24, 2018 @03:37PM (#18754147)
Maybe displaying it in table Layout for all IE11 users would be a better solution.
Re:CSS grid garden by plahteenlahti on Monday December 24, 2018 @03:49PM (#18754199)
Interested to hear what flexbox features were unsupported? I’ve been in a same kind of situation but was able to support everything on “IE version” of the app by using flexbox.
Re:CSS grid garden by davidcsally on Monday December 24, 2018 @04:58PM (#18754489)
Most of flexbox is supported in IE11, but some "defaults" are not the same as other browsers --> see the known issues tab if you're interested, most of the time it works but when it doesn't it's frustrating https://caniuse.com/#feat=flexbox
Re:CSS grid garden by ndnxhs on Monday December 24, 2018 @07:48PM (#18755148)
Its been too long for me to remember the details but I remember flexbox 90% working but having some bugs that were a huge pain to work around. Its at the point where you can use flexbox on IE but you have to specifically test each use on IE to make sure it works.
Re:CSS grid garden by GrumpyNl on Tuesday December 25, 2018 @10:15AM (#18757683)
Biggest problem is that most people use the sort notation while the long notation is supported in IE-11 for flexbox.
Re:CSS grid garden by crikli on Monday December 24, 2018 @05:47PM (#18754706)
I've got a similar situation with a web app millions use, but a couple corner office people use IE11. We were able use an IE only CSS selectors to degrade; in theory you could do the same without compromising the layout for other users.
Re:CSS grid garden by z3t4 on Monday December 24, 2018 @04:47PM (#18754443)
whoa. tables seem like a overkill. something you did back in the IE5 and Netscape days. i would recomend using ei snippets that let you specify css rules that will only run on that version of ie. which have been available since ei 7.
Re:CSS grid garden by niutech on Saturday December 29, 2018 @08:42PM (#18786828)
IE 10 supports an ealier version of CSS Grid Layout: https://blogs.msdn.microsoft.com/ie/2011/04/14/ie10-platform... or you can use a polyfill: https://github.com/FremyCompany/css-grid-polyfill/
Re:CSS grid garden by fma on Monday December 24, 2018 @09:43PM (#18755543)
I was playing with CSS Grid at work 2 weeks ago...but it didn't look right on my work PC. I was running IE 11. IE 11 has some specific tags for CSS grid, and they don't work like other browsers.

I went home to build something personal and thought CSS Grid would be awesome. Turns out my PC runs IE 11 (Windows 7...). I personally use Firefox Quantum for all my web browsing, but the fact that I had it meant there would be good enough amount of people that have it. At the point I gave up on CSS Grid, and just threw in bootstrap.

Re:CSS grid garden by dstroot on Monday December 24, 2018 @06:23PM (#18754850)
I wish I was in your position half my company still runs IE 11
Re:CSS grid garden by make3 on Monday December 24, 2018 @03:31PM (#18754125)
that would make me look for a job elsewhere right away
Re:CSS grid garden by ascar on Monday December 24, 2018 @09:00PM (#18755413)
We are spoiled by the abundance of job opportunities.
Re:CSS grid garden by wavefunction on Monday December 24, 2018 @04:54PM (#18754471)
I guess I would have just wrapped ie specific css in a conditional.
Re:CSS grid garden by adrianhel on Monday December 24, 2018 @07:50PM (#18755159)
I prefer using user agent sniffing and adding the class ie to body. With autoprefixer you get a lot for free too.

But I do have a certain fondness for wrapping modern layout in @supports(display: block) {}. It's kind of like a hidden fu in the code. Additionally it has lower specificity than body:not(.ie) &.

Re:CSS grid garden by craigzucchini on Tuesday December 25, 2018 @01:39AM (#18756289)
Why not make the version you send to her the default experience, then progressively enhance with flexbox and grid, while only iterating on the grid version?
Re:CSS grid garden by amelius on Monday December 24, 2018 @05:02PM (#18754508)
Of course you now present her with some annoying popup boxes and captchas every time she uses the website? >:)
Re:CSS grid garden by alexknowshtml on Monday December 24, 2018 @10:50PM (#18755783)
I did the exact same thing for a corporate client who had one room of machines running IE5.5 back in 2004-5.
Re:CSS grid garden by gcb0 on Monday December 24, 2018 @05:44PM (#18754694)
ah, post-google chrome developers.

Most people here will be too young to remember, so let me tell an old-people tale of when everyone used Netscape (which cost $29.99 ...let that sink in first of all), and then microsoft gave IE for free for everyone! Then webdevelopers without a true CS background (and by that i do not mean university), like yourself, started to use IE niceties to develop. One of those niceties was the F12 developer tool. Which now become the every-browser's-dev-panel. And they cursed at everyone that was still using Netscape4 instead of their fancy new IE6. So much so they put buttons on those sites saying "better displayed on IE6" (or 4, don't remember).

I am tired of typing now. So have fun figuring out the moral of the history. I is my cristimas present to you :⁎

Re:CSS grid garden by stan_rogers on Tuesday December 25, 2018 @12:07AM (#18756020)
Navigator was free at first; Netscape's idea was that the money was in the web server. Free (that is, initially price-matched) MSIE just made changing strategy different when the server thing fell flat. Netscape going all in on JSSS (with a half-assed CSS translation module) didn't help at all, nor did strict hierarchical access paths (no "all" collection object, which also affected how the CSS-that-was-really-JSSS worked)... and missing the idea of background requests (XMLHttpRequest) sealed the deal.
Re:CSS grid garden by gcb0 on Wednesday December 26, 2018 @12:19PM (#18763247)
was it free at first? I recall wrong probably. assumed it started as shareware and went free after IE. might be thinking of winsock.
Re:CSS grid garden by sjwright on Monday December 24, 2018 @08:17PM (#18755265)
Run your CSS through an autoprefixer to target IE11. Done. What's the big deal?