Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "if it ain't broke"
I'm not an iOS expert, I just wanted to get Google ads on my iOS app so that I could make a few petty dollars at the expense of my users. Is that too much to ask?
I started by following Google's instructions: install cocoapods, copy and paste some swift code... Compile failed, app broke. Carefully retrace my steps. Nothing.
Stackoverflow (praise be with them) suggests upgrading Xcode. Go to app store and click to upgrade Xcode. No progress bar, no status updates, just that pissy little spinner for several minutes. I become impatient try a few more times. It ain't happening.
Stackoverflow (holy of holies, defender of the weak) points me to an alternate source for Xcode, on the app store dev console. 4GB and some time later, an attempt to unzip gives "unknown error". Genocide of sorts.
Stackoverflow (all that is pure, all that is kind, all... I think you get it) says upgrade your OS. I tried months ago but I had issues with that pissy little spinner. Persist. 5GB and a "heavy-year" of time later (sorry), it installs. Then Xcode installs. Then bar a few errors, the app compiles.
So after almost 24 hours, life resumes. The lesson.. respond to all obscure iOS errors by upgrading. If fully upgraded, calmly acquire a baseball bat and destroy your machine. Make sure you have a good book nearby in case of either event.
Thank you for reading my rant. Now if you'll excuse me, I have to pay Apple
$150 so that I may list my app in the app store.11
Normal people don't understand this concept; they believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet.
- The Dilbert Principle (1996)1
"If it ain't broke, don't fix it - unless the customer's paying."
Rule I've never learned and main reason why I don't have enough money despite 25+ years of experience.1
A few years ago I was browsing Bash.org, and a user posted that he'd physically lost a machine.
A few weeks ago, I'd switched my router out for OPNSense. I figured it was time to start cleaning up my network.
Over the course of tracking down IP addresses and assigning statics to mac addresses, I spotted an IP I didn't recognize.
Being a home network, I'm pretty familiar with everything on the network by IP, so was a little taken aback.
I did some testing, found out that it was a Linux box. Cool.
I can SSH into it. Ok.
Logs show that it's running fine, no CPU/Memory/Harddrive issues. Nice.
So where is it?
Traceroute shows its connected directly to the router... Maybe over an unmanaged switch...
Hostname is "localhost"... That's no help.
I've walked the network 4 times now, and God knows where it is.
I think maybe I'll just leave it alone. If it ain't broke...10
A couple of months back we were discussing sh with a third party vendor for a very large ass fuck system that another department uses. I had been called into the meeting because the entire I.T department counts on me to at least act as an assessor to the many issues that other departments might have.
the department for which i was working with manages the databases that our institution uses, and in this particular question the DBA (my best friend mind you) was part of the meeting.
Mind you, issues that the third party vendor were having were all fixed by our DBA, and he had documented and mentioned these items to me as I provided assistance to him through the 3 weeks prior to this meetings. Once such case was that we needed a transitioning as well as intermediary system for some processes to happen from one DB to the other and a lot of other technical babble. Well, the DBA used to be an excellent (fuck you) VB developer who recently re-learned the language into .net. He had shown me many of his old programs and even by the limitations of the language they were elegant and fascinating. They really are and ya'll devrant fam know that I ain't one to hate on tech at all.
When the DBA explained how he went around some of the issues by generating programs that could assist him, he mentioned the tech stack, I had coached him into knowing that being descriptive about the tools he used would be beneficial to everyone else. While he mentioned VB.NET the vendor snickered and my boy got quiet.
Then I broke the silence, fuck you. "what was that?" and the dude said "nothing, sorry"
So I said "no no, I want to know, I am not going past this point until you, the dude getting paid over $100 an hour for something YOU couldn't fix explain to me the little hehe moment you had"
The mfker went silent. then explained how he was aware that people were moving past vb.net and shit like that, me "imagine that, someone used a tech stack that your ignorance thought obsolete to fix something you could not solve, even though we are paying you for it, were it me or in my hands, and mind you i have direct access to the VP so this foolishness might change, I would have cut you and your little sect loose months ago, I have no patience, or appreciation from leeches like you or the rest of the "professionals" that work for your company or other similar entities, much less, as you can see, my patience runs even less when you people snicker at the solutions that our staff has to take when you all slack"
The entire meeting was uncomfortable as high heaven.
Fuck you, if someone I know manages to run shit on fucking liberty basic then so fucking be it. I will slap you 10 fucking times over, and then fuck your girl, if you try to put someone else down for the tech stacks you use.
I hate neck beards, BUT I hate fake ass neckbeards ever more
*Colin Farrell in true detective mode: FUCK....YOU13
*squirming in bed*
If it ain't broke don't fix it.. If it ain't broke don-WHAT THE FUCK IS "payment.needed2"??
Calm down, it's just some bad code but it works, you didn't write it, it's not your probl-WHY THE FUCK DO THE IF STATEMENTS HAVE SO MANY DUPLICATED LINES??
Sleep. Just sleep.
We upgraded to Dyn Managed DNS last month, now we're down with the DDoS attack! If we didn't upgrade from their standard plan, we would be online still 😂1
Why would someone in their right mind change a piece of code that was working fine (and it wasn't a complete mumbo jumbo in styling, logic, transparency, was in line with how the project was coded etc..) to use dapper just to call a stored procedure?! Dafaq is wrong with people!?
Or is it just me & I'm overreactig again?!
I hate when people add more stuff to projects that are already overbloated with fw/techologies to do something so trivial.. like adding 6827646 js fw so you can use one function in each (or are simply still there because they didn't know how to use it and left it in project) which could easily be achieved with our own fw we use...wtf?! O.o
// me cringing, cussing etc..4
"If it ain't broke, don't fix it
I gave it to you straight don't mix it"...
Since when did DMX take on Programming?1
I really like my position as the head of my department. But I am most definitely hitting walls(and in some way breaking them) concerning the way the CTO(my direct boss) deals with a lot of the things that his management team wants to do.
For example, the previous manager could only do so much in terms of directing a software team since she did not have a formal background in computer science or engineering, thus the developers that she had would tell her the different deals with many things and she would have to take their word for it. Nothing necessarily bad with this, but it just meant that a lot of things could have gone smoother had she the knowledge to fix said items. Whenever she would try to use resources(dev time or such) the CTO will resort to the all powerful manthra of "if it ain't broke don't fix it!".
but it was about more than fixing things that were breaking, our internal services and admin boards were built using all of the WRONG proper development practices, it feels as if they took the book of best practices.....and said fuck it and did whatever the fuck they wanted. It is the worst PHP/Java/JS code I have ever seen in my entire life and the reason why even though I do not concur with it I will always understand the dislike from other developers. Our services look like something that came out from the 90s, no style, no engineering concepts in place, no versioning no testing NADA zip(these are all web based services)
One in particular, it was an admin board used internally to let students evaluate their professors, the entire app is shit, and it was broken, for some UNGODLY reason, the original dev decided to use some weird external libraries he got from some blog somewhere and as such something that would take about 5 or 6 files is now a mess with over 200 php/js files all over the fucking place. The CTO insisted on fixing them, they were all broken, and I continuously told him that redesigning the application would be faster.
Mofo fought me on it, and in the end I did what I wanted and rebuilt the app.
It took me one afternoon. One fucking afternoon, over possibly 2 weeks of fixing it.
See, I am not one to just do whatever he pleases, but I am firm in my belief that if I know a better way I will do it and save precious time. The dude had to agree with me on this and promised to consider this shit on other items that will undoubtedly come up. He was lying out of his ass but oh well..........
At work, I code primarily with Java.
I'm a big believer in the mantra, "if it ain't broke, don't fix it", but I find myself conflicted with that when I can see how much of an improvement it would be to use a different language for some of the simple pieces in our integration.
When should one start considering other languages for your team? And if you choose other options, how do you do it in such a way where you don't end up building a chimera of an integration?3
Worked on two (small) errors for about half my day. I've had them before but fuck I've never spend more than an hour on one. Decided to stop and go for a walk and game a bit after.
Came back today and instead of opening my code in VS Code I opened it in ST3 and I went through the errors again and I fixed it. I tried doing the same on VS Code but it didn't work just like yesterday.
Now, I've only had posititve experiences with VS Code and I really like, but what the actual fuck. Has anyone experienced this before and are there solutions or ways to prevent this? What is the cause anyway?
Also would appreciate some suggestions for code editors, love ST3 but I wanna try something new (I know, if it ain't broke don't fix it, got me)
ok, i think i am playing on very thin threads here. since the last 2 months, i have been teamed up with 2 very senior devs, and i have been somehow accidentally been able to proove them wrong and myself as innocent/foolish in front of even more bigger people.
i am a junior dev, and i think its best if i am as loud and transparent of my actions as possible. therefore i ask questions in slack and discuss all things with my android tech lead, who i think sometimes might even get frustrated with this because he already is working in other stream with his own tasks. we are a small company , and even though I think i am a junior / SDE1 i am one of the 2 devs in the android side handling the biggest stream of our product. so i guess he expects me to handle things on my own or at worst take help from my senior ( the other droid dev).
But oftentimes we are both working on 2 different tasks so i usually coordinate with the dev working on the same task on the ios side, and that brings me to story 1. So ios dev is a 7 year old experienced guy working for 1+ year with the company. So while coordinating on the task , we 2 had decided that we will be doing the task in the same way: same approaches, giving the build on same day, etc. we came on a mutual common approach to logic , but since platforms are different , i ended up implementing slightly differently. however during the process of dev, i came across certain edge cases that we had not discussed before. so when i asked him about what should happen if such case occurred and he was like " no that can't happen. they must be sending us correct data otherwise we are not at fault if app breaks". so i didn't liked that but still handled the case anyway. during qa, the testers caught the same bug and he had to then fight and then ultimately fix it.
so here ir starts to get interesting. He fixed the bug but again with a different approach. this time when a similar hug came, he somehow prooved that his approach his correct and android is doing it wrong. i was not able to fight back , and a lot of pressure came on me because our prod day was near. so i honestly explained all the situation to my TL. i was like , i did what i had told before and even TL was in my favour, but at the end i had to change it as it was easier to change on my end.
but ever since that day, i guess that ios senior has got a hatred across me, as i could have just silently changed the things on my end without involving everyone. i don't like this, he is really a cool guy but i was afraid that everyone's gonna blame me if stuff broke on the last day.
instance 2 : this time i accidentally ratted on the stream lead himself. so the new sprint started , we got tasks assigned onto us. one of the task was a big one and required some r&d as well as backend/Ui. the other 2 were easier but also required me to discuss stuff with my senior who was already very busy as he got even bigger tasks. so i started with the big one. then again, me being me was loud enough to involve everyone (adding the task in daily status , asking android tech lead for help regarding various decisions... etc)
our qa build is generated on Friday. Since Wednesday i have been telling that i have made 50, 80 ,90,..% progress with the ui, when will i get the backend apis and everyday they would say, the backend guys are busy with the other task, we will pick up this task's BE after that. so friday has arrived and today in the standup it was decided that my task will not be going in current sprint at all ( i mean it was decided to not get tested due to less bandwidth of testers, but i thought be would eventually provide the apis and this will get shipped as a hidden feature)
so i told this to my tech lead and his response was .... just silence. now its wfh and I don't know how is face would have looked, but ir ain't surely isn't happy.
so accidentally or intentionally, i am diverting the blames on other people and not sure how is this going to look on me. i mean i could avoid a lot of these situations by taking decisions on my own and owning to them, but that also doesn't feels like a right approach, given am a junior.... so this.5
Started a new project for .NET core. Spent the last 2 hours creating a new solution and trying to "make a great solution structure this time"...
Ended up with the same project structure of my previous projects.
If it ain't broke, don't fix it I suppose.