Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "cross browser"
I am the person at my job responsible for our software to work cross-browser. I don't feel comfortable right now.18
Why the fuck would anyone still want to support IE? It's 2018 for fuck sake! Sure, there's no reason a website shouldn't work on IE, but do I really need to fuck it up just because something doesn't properly align in IE?
Fuck IE! Why can't we just let it die?12
Fuck all these CSS frameworks using Jquery as their dependency. Cross-browser my ass.
I am going full flexbox.2
Waiting for the perfect browser :
1. It's not Safari or IE and without their shitty problems.
2. It's not a RAM gobbler like Chrome. But has its minimal UI.
3. Has Chrome like dev tools or Firebug and nothing less than those.
4. Does not have ads.
5. Cross platform. On both desktop and mobile.
6. Web extensions only
7. Everyone loves it. Even fanboys who swear by Safari
8. Blocks annoying pop ups on some sites.
You're open to contribute more points!36
Oh yes, today was a fugly nice day.
Fuck you my dear boss.
Your mindless way of taking a dump onto my code, moving my classes (CSS) away and adding new classes to refuck my unfucked fuckery clearly shows how much brain is left in your hollow skull of nothingness.
It took me only 2.5 hours of my precious time to unfuck your refucked fuckery and implement the fix you wanted me to do because you fucked up my code.
Go eat a bag of segfaults and get cast to void* (void pointer).
I am also very thankful having spent the whole day today to fix cross browser fuckups, hacks and #!&$+@.
Normally I really like my boss. He is a cool guy and an innovative and mostly intelligent person.
BUT FUCK HIS CODE.17
Submiting a form with Ajax without e.preventDefault()
Chrome : Yeah it's all good
Firefox : No. Eat shit. Display a length error in console...
IE : I'll let you pass but I'll crash right after...
I'll never forget again
What would you do in this situation...
So around 13PM last Thursday I got pulled aside off the project I was working on (I've been working on mobile apps for the last year for the majority of time) and told to work on a website that will go live at 10AM the next day.
The reason being that the main Dev who was working on the site got fired for poor performance that same day, so they needed someone else to work on the website.
Needless to say I worked my ass off Thursday and Friday to try and get the site live in as best position as possible, did a full test on desktop, a full test on mobile (minus payment gateway integration) and everything seemed okay for the most part.
So I get in to work on Monday, to be pulled aside by the project manager, who happens to be our HR manager too. (who I should also note has been known to do things very last minute in terms of getting work pushed in a few days, sometimes hours before client meetings) and pulls me aside and basically asks me I've tested mobiles, as some functionality isn't working on the homepage for mobile devices (was something to do with the minified CSS that broke it) but to which I said yes, as I did the majority of the testing before I minified everything. Which I'll admit I should've probably done a full test, but at the same time was very limited for time.
Now the main reason I'm writing this is that I was thinking about applying to become the line manager for the back-end department, and she somehow managed to turn it around and play on that by saying that she bought by giving me this responsibility would've been a good test to see what I can do in situations like this - when I see it as purely her dumping her workload on someone else so she doesn't have to worry about it - but she made it seem like I don't care about the project or made it seem like I think working on websites is below me or something.8
Our project at work goes live in 3 weeks.
The code base has no automated tests, breaks very often, has never had any level of manual testing
will not be releasing with any form of enforced roles or permissions in our first release now due to no time to enforce, however there is a whole admin api where you can literally change anything in our database including roles.
We also have teams in various countries all working separately on the same solution using microservices with shared nuget packages and they aren't using them properly.
Our pull requests are so big - as much as, 75 file changes - in our fe app that I can't keep up with it and I honestly have no idea if it even works or not due to no automated tests and no time to manually test.
We have no testing team, or qa team of any sort.
Every request into the system has to hit a minimum of 3 different databases via 3 different microservices so 1 request = 4 requests with the load on the servers.
We don't use any file streams so everything is just shoved in the buffer on the server.
Most of the people working on the angular apps cba to learn angular, no one across 2 teams cba to learn git. We use git so they constantly face problems. The guy in charge has 0 experience in angular but makes me do things how he wants architecturally so half the patterns make no sense.
No one looks at the pull requests, they just click approve so they may as well push directly to master.
Unfinished work gets put in for pull request so we don't know if the app is in a release state since aall teams are working independently, but on the same code base.
I sat down and tested the app myself for an hour and found 25 fe only issues, and 5 breaking cross browser issues.
Most of our databases are not normalised. Most of our databases make no sense. 99% of our tables have no indexing since there is no expertise with free time to do it.
Our. Net core microservices all directly use ef in the controller actions so there is no shared code there.
Our customer facing fe app is not dry because no tests so it was decided it was better this way.
Management has no idea on code state, it seems team lead is lieing to them about things like having any level of tests.
Management hire devs that claim to be experts but then it turns out they have basically no knowledge of what they were hired to do, even don't know what json is or the framework or language they are hired for, but we just leave them to get on with it and again make prs too big to review.
Honestly I have no hope that this will go well now but I am morbidly curious to watch. I've never seen anything like the train wreck that we are about to get experience.7
Today I was working on an issue related to adding icons to external links. I'm no CSS ninja, I never claimed to be. Somehow I wrote some really nice CSS that works well cross-browser. Now I'm scared they're gonna think I'm good at CSS.1
Clients expecting quotes before explaining the full extent of the work and then getting mad when I change it after they add a billion more features.
Also, cross-browser testing 😫🔫1
When you spend hours doing cross browser capability checks on your PC workstation at work and your web app looks like trash on Safari on your Mac at home.3
Then I got to PHP during the years from some online tutorial about making dynamic websites. My website was more static than stone, but yeah, I did page loading with PHP! Awful experience anyway, because I had to install Xampp, get it work and other stuff. 11 years old or so. (and I used Xampp only as a fileserver between laptop and desktop later, because.. PHP4... just no.)
As 12 years old or so I experienced my first World of Warcraft (vanilla) on a custom server in an internet cafe and I thought it's a singleplayer game. When I found out that no, I googled how to make my own server (hated multiplayer back then and loved good games with huge storylines). Failed miserably with ManGOS, got something to work with ArcEMU. There I learned some C++ basic stuff, which I hoped would helped me to fix some bugs. When I opened the code I was like: "Suuure." and left it like that. I learned what a MySQL database is, broke it like four times when I forgot WHERE and still rather played with websites i.e. html, css, js and optionally php when I wanted to repair a webpage for the server. With a friend we managed to get the server work via Hamachi, was fun, the server died too soon. Then I got ManGOS to work, but there wasn't really any interest to make a server anymore, just singleplayer for the lore. (big warcraft fan, don't kick me :D )
I think it was when I was 13y.o. I went to Delphi/Pascal course, which I liked a lot from the beginning, even managed to use my code on old Knoppix via Lazarus(Pascal). At this age I really liked thoae Flash games which were still common to see everywhere. So I downloaded .swfs, opened and tried to understand it. Managed to pull some stuff from it and rewrite in Pascal. Nope, never again that crap.
About the same time I got to Flash files I discovered Java. It was kind of popular back then, so I thought let's give it a try. I liked Flash more. Seriously. I've never seen so much repetitiveness and stupid styling of a code. I had either IDE for compiling C++ or Pascal or notepad! You think I wanted my code kicked all over the place in multiple folders and files? No.
So back to Pascal. I made some apps for my old hobby, was quite satisfied with the result (quiz like app), but it still wasn't the thing. And I really thought I'd like to study CS.
I started to love PHP because of phpBB forums I worked on as 15 y.o. I guess. At the same time I think there was an optional subject at school, again with Pascal. I hated the subject, teacher spoke some kind of gibberish I didn't really understand back then at all and now I find it only as a really stupid explanation of loops and strings.
So I started to hate Pascal subject, but not really the lang itself. Still I wanted something simpler and more portable. Then I got to Python as hm, 17y.o. I think and at the same time to C++ with DevC++. That was time when I was still deciding which lang to choose as my main one (still playing with website, database and js).
Then I decided that learning language from some teacher in a class seriously pisses me off and I don't want to experience it again. I choose Python, but still made some little scripts in C++, which is funny, because Python was considered only as a scripting lang back then.
I haven't really find a cross-platform framework for C++, which would: a) be easy to install b) not require VisualStudio PayForMe 20xy c) have nice license if I managed to make something nice and distribute it. I found Unity3D though, so I played with Blender for models, Audacity for music and C# for code. Only beautiful memories with Unity. I still haven't thought I'm a programmer back then.
For Python however I found Kivy and I was playing with it on a phone for about a year. Still I haven't really know what to do back then, so I thought... I like math, numbers, coding, but I want to avoid studying physics. Economics here I go!
Now I'm in my third year at Uni, should be writing thesis, study hard and what I do? Code like never before, contribute, work on a 3D tutorial and play with Blender. Still I don't really think about myself as a programmer, rather hobby-coder.
So, to answer the question: how did I learn to program? Bashing to shit until it behaved like I desired i.e. try-fail learning. I wouldn't choose a different path.2
I regret moving to backend. I loved the days when I used to write lines of code and refresh my browser for the changes to be displayed on the screen. I loved seeing the output of my code, the code flow, the light weight text editor, the visual satisfaction and the chrome debugger.
Now I am fucked up, I am working on creating microservices for restful api. I am hating everything about it. The fact that I should compile the entire war, manually copy them to a webapp folder, restart my tomcat and wait for 5 minutes just to see my code, and the text editors are just a pain in the ass, the debugger sucks too.
I was so looking forward to being a backend Dev because I thought Java was cool and I also was fedup with cross browser optimizations on the front end. Now I would gladly write a streaming service foe ie6. Spring has fucked me up so hard
God save me from this mess.6
Google and Microsoft will now participate in the Docs at the Mozilla site
WHAT THE FUCK
MY MAC CRASHED TWICE WHILE I WAS SEARCHING FOR AN ANSWER ON STACK OVERFLOW
I HATE WHEN I HAVE TO DEAL WITH SOME BULLSHIT CROSS BROWSER ISSUE AND I THOUGHT IT COULDNT GET ANY WORSE
WELL SAFARI FUCKING PROVED ME WRONG (AGAIN)
GOD I CAN KILL SOMEONE RIGHT NOW7
I've had so much time contemplating my bad decisions that I came up with the following anecdote:
Making complex, scalable and cross browser animations with web technologies is like trying to stick your d*ck into a shot glass tied to a galloping gazelle.
There are many ways you could go about it, all of them impractical, with the end result being that it might not fit...4
Trying to cross-browser test a site is the most aneurysm enducing endeavour. They're all different. Safari manages to screw up everything. Firefox still seems golden and Chrome.... I just don't even know anymore.
After completing urgent projects that rewrite a lot of "overtime" or even personal projects that rewrite like a few weeks to complete.
Old web dev days pre-BS... All the CSS needed to and the cross browser compat. The divs don't align... Can't get elements to center... Or it does, just not in browser X...1
Been using LastPass for a couple of years, but I'm looking for an alternative because good lord how slow its become. Suggestions?
Needs to be cross-platform/browser and be able to autofill user credentials, don't care about form fields.11
for me, the most interesting project I''ve worked on was 4 years ago for a beer company.
it was a facebook app developed in HTML (not html5), jQuery & jQuery hi, php, imagick, ffmpeg, & YouTube library.
for the Euro Cup, users had elements to drag and drop on a stage, add frames, dialog boxes, and create a 15 second animated story board. all positions of these elements along with the frames where sent server side to create images of each frame (rendering fronts and positioning), then combining them using ffmpeg to generate a video.
these videos were later uploaded on the client's YouTube channel.
this project was awesome, knowing css3 and html5 were prohibited to use due to cross browser compatibility. it was ban exercise on all levels :)
I like rants that are thought provoking and push a message forward regardless of whether they may sting a little, so for my first post on here I'd like to hit at home with many of you.
Damn. 3days and not yet finished with this bug.
Problem: in js, we want to popup a dialog to user that he us living the page.
So we used onbeforeunload.
Works well with chrome, ie and firefox (atfirst).
Then i updated my firefox to latest version and onbeforeunload is not triggering.
And it also occurs in tablet. Argh! Damn challenges on cross platform/browser compatibilities.
The secret to cross-browser compatibility is just wrapping every single element in an extra div, just for good measure.11
I hate it when designers just LOVE to use blend mode multiply everywhere, and the client is looking at the website in IE asking why it's not the same as design.
Back-end developer (São Paulo / Brazil)
Vacant job: Back-end developer
Assignments: Work as a Back-end developer, PHP, and MySQL. Develop tools/applications for the web with a DB.
Projecting and modeling DB Knowledge. Good knowledge of usability, Cross-browser (IE7+, Chrome, Firefox, and Safari).
Desirable: Knowledge on Graphic Design and Front-end projects1
but the thought of mobile respobsifying the calendar UI kills me.... then there's cross browser support 😫3
Just thought I would share this image of my last experience, when asked to check the website in Firefox or IE.
Personal Challenge of the day:
Write an entire complex react component (think a form with internal dialogs and cross component functionality) without testing once. Attempt to build the entire piece with all functionality without looking at the screen.
Ive been doing these little personal challenges with front end and backend assignments.
Ive noticed the difference its made in my daily work as I grow less dependent on the time consuming habit of checking browser/terminal feedback in order to determine what to do next.
With that I know people enjoy test driven development now days and thats a different story entirely. Not something I enjoy at all but I have no faults with the concept.1
If you’re not using Chrome or Safari, watch out for this new exploit!
I am starting a testing project at work and we have nothing in place.
Should I use a tool like browserstack and try to hold my selenium tests there or bite the bullet and use something like spec flow to write the selenium tests by hand? The advantage being full control, easy way to integrate with CI and easier to integrate to existing workflows (no need for visual studio and a browser open to work on in parallel).
If I do that I will also need some way to do cross browser testing which I guess will require me to export the tests somehow to a cross browser treating service like browserstack.
I know it's an age old question, but how does everyone do their cross browser testing? Im looking for a way to automate this (ie. Browserstack)2