- Feature Articles
- CodeSOD
- Error'd
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Why would development happening on windows only be odd? The vast hypermajority of all users use windows. That includes professional companies that handle development. In fact, in all my decades of work I have not once been in a company where windows wasn't the preferred by IT default option for machines.
I mean, sure, some nerds always like to use the alternatives. But in my experience they are the exception rather than the norm. Certainly in a professional environment.
Admin
I've developed PHP on Windows for a living and I can confirm everything in the article is accurate and relevant. In fact I had to switch to Linux when I got a vertical monitor, but I still haven't figured out how to get rid of the second body tag.
Admin
TRWTF here is obviously people insisting on browsing the web on their phones in portrait mode (same thing for watching videos -- looking at you, Tiktok). I mean, TVs, screens in movie theaters, laptop monitors and most desktop monitors have a default landscape orientation, so why should it be different with phones? I think this is what this CSS gem is actually trying to say: web should be browsed in landscape mode, regardless of the device you use. And for bonus points if you are on a smartphone, please also enable the setting to force the "computer" version of the website on your browser. You will have to zoom in and out to use the page and it will drain your data plan, sure, but at least you get the full website instead of a simplified version of it.
Admin
Excuse me for a moment, gotta go update my .NET applications to create a PHPSESSID cookie . . . just to mess with people.
Admin
The last 18 years of my professional experience have been exclusively developing on Windows machines. My apologies for not fitting in your world, Remy.
Admin
I don't think he's heard of third body tag, Dana.
Admin
Could be worse. You could be trying to figure out how to get rid of the second body bag...
Admin
I doubt there's multiple people involved. It's got to be one opinionated developer.
Admin
Anyone else notice the contact and submission forms on this website no longer work? I can't find an email address to report the problem.
Admin
I've had a moderate amount of success using a content blocker and/or tampermonkey scripts to "fix" broken behavior on some websites.
Blocking that responsive stylesheet would probably fix it.
Admin
For my sins we have ended up with Tado (R) heating system controls. This has IoT gadgets using a secret sauce to communicate with each other and connecting to a cloud in Germany to work out whether to turn the boiler on or not.
The "app" insists on displaying in portrait mode, but the graphic functions insist on displaying in landscape mode! Go figure.
Trying to get rid of this nonsense but not yet succeeded.
Admin
not with modern CSS and a sane component framework like svelte (or just a lot of classes). all you need to do is use grid and flex as much as possible and add a aspect ratio media query to change anything thats hard to tap on mobile. i dont really like tailwind but its another good way to do it with the
md:type prefixes. the problem is when you need to retrofit all this into a legacy site with bad markup and broken string based ssr with hardcoded element names on the backend. ground up responsive is easyAdmin
I worked at a company during the entire evolution of phone browsers. At first it was just the very basics for Noika bricks, then early iPhones would have custom layouts to deal with the small screens, finally it was all CSS adjustments. Each change required a massive change in the codebase and there were times things slipped through.
Admin
Possible solutions: Use an older web browser that doesn't support CSS rotate transformation - that might be a problem because lots of other stuff the website "needs" also isn't supported -, or use a browser where you can deactivate CSS and rely on HTML only, switching from "author mode" to "user mode" - again, that might break the website's inner workings. Alternative: Buy somewhere else, maybe...
Admin
With everyone fretting about sticking up for the use of Windows in development (more specifically, the use of CRLF as a line ending), what's passed everyone by is that the page is still rotated 90 degrees on mobile even when the phone is in landscape orientation.
Admin
On CRLFs, the wtf is not winblows being used for development. It's CRLFs.
Every text editor I know generates an LF when you smack return, not a CRLF. Every code formatter replaces CRLFs with LFs. Most git repos auto-reject code with CRLFs. Someone would either have had to gone absolutely out of their way to hang on to ms-dos conventions, or they are doing serious coding in notepad. I don't know what is worse.
But yeah, TRWTF is phones and their vertical screens. Wonderful for texting and forums where you want to fit lots of short messages on the screen. Completely useless for anything that involves more than just displaying an array of short messages on the screen, whether it be images, videos, maps (Paper street directories are not dead), or websites.
Admin
What are you talking about? Every tool I ever used on windows either generates CLRF or respects what ever the file settings are. And even git is trivially easy to set up to respect line endings. It's just one command.
Admin
No, the CSS rule doesn't apply in landscape
Admin
What's weird about using Windows for development?
Admin
No, why?
Text is easier to read if it is in narrow columns. This is why newspapers use columns rather than printing each story across the whole page. I definitely want to browse the web in portrait mode.
Videos should, of course, be in landscape. The apparent conflict is easily resolved if the phone can detect when its orientation changes, but many people simply can't be bothered to rotate their phones when recording videos.
Admin
I've long wondered if it would be better and more beneficial all around if smartphones always recorded video in landscape regardless of orientation and could only film in portrait using an on screen button similar to the front/rear swap so it's more explicit.
From what I understand, in most devices, the actual digital sensor is square and is cropped to the correct size/aspect in software, so it would be trivial to change that behavior:
If the device is being held in portrait, then the user will see a landscape image in the portrait frame, which would readily indicate that it is recording in landscape, which would encourage rotating the device in order to better observe what is being filmed, but in either orientation will be recording in landscape just the same, unless orientation swap button is used.