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 - "weird behavior"
After listening to two of our senior devs play ping pong with a new member of our team for TWO DAYS!
DevA: "Try this.."
Junior: "Didn't work"
DevB: "Try that .."
Junior: "Still not working"
Me:"What is the problem?"
Few ums...uhs..awkward seconds of silence
Junior: "App is really slow. Takes several seconds to launch and searching either crashes or takes a really long time."
DevA: "We've isolated the issue with Entity Framework. That application was written back when we used VS2010. Since that application isn't used very often, no one has had to update it since."
DevB: "Weird part is the app takes up over 3 gigs of ram. Its obviously a caching issue. We might have to open up a ticket with Microsoft."
Me: "Or remove EF and use ADO."
DevB: "That would be way too much work. The app is supposed to be fully deprecated and replaced this year."
Me: "Three of you for the past two days seems like a lot of work. If EF is the problem, you remove EF."
DevA: "The solution is way too complicated for that. There are 5 projects and 3 of those have circular dependencies. Its a mess."
DevB: "No fracking kidding...if it were written correctly the first time. There aren't even any fracking tests."
Me:"Pretty sure there are only two tables involved, maybe 3 stored procedures. A simple CRUD app like this should be fairly straight forward."
DevB: "Can't re-write the application, company won't allow it. A redesign of this magnitute could take months. If we can't fix the LINQ query, we'll going to have the DBAs change the structures to make the application faster. I don't see any other way."
Holy frack...he didn't just say that.
Over my lunch hour, I strip down the WPF application to the basics (too much to write about, but the included projects only had one or two files), and created an integration test for refactoring the data access to use ADO. After all the tests and EF removed, the app starts up instantly and searches are also instant. Didn't click through all the UI, but the basics worked.
Sat with Junior, pointed out my changes (the 'why' behind the 'what') ...and he how he could write unit tests around the ViewModel behavior in the UI (and making any changes to the data access as needed).
Junior: "Employee app is fixed. Had some help removing Entity Framework and how it starts up fast and and searches are instant. Going to write unit tests today to verify the UI behaivor. I'll be able to deploy the application tomorrow."
DevA: "What?! No way! You did all that yesterday?"
Me: "I removed the Entity Framework over my lunch hour. Like I said, its basic CRUD and mostly in stored procedures. All the data points are covered by integration tests, but didn't have time for the unit tests. It's likely I broke some UI behavior, but the unit tests should catch those."
DevB: "I was going to do that today. I knew taking out Entity Framework wouldn't be a big deal."
Holy fracking frack. You fracking lying SOB. Deeeep breath...ahhh...thanks devRant. Flame thrower event diverted.13
Tonight I thought my husband was acting weird. We had made plans to meet at a nice restaurant for dinner. I was shopping with my friends all day long, so I thought he was upset at a fact that I was a bit late, but he made no comment on it. Conversation wasn’t flowing, so I suggested that we go somewhere quiet so we could talk. He agreed, but he didn’t say much. I asked him what was wrong. He said, "Nothing". I asked him if it was my fault that he was upset. He said he wasn’t upset, that it had nothing to do with me, and not to worry about it. On the way home, I told him that i loved him. He smiled slightly, and kept driving. I can’t explain his behavior, I can’t explain why he didn’t say, "I love you too". When we got home, I felt as if I had lost him completely, as if he wanted nothing to do with me anymore. He just sat there quietly, and watched TV. He continued to seem distant and absent. Finally, with silence around us, I decided to go to bed. About 15 minutes later, he came to bed. But I still felt that he was distracted, and his thoughts were somewhere else. He fell asleep - I cried. I don’t know what to do. I’m almost sure that his thoughts are with someone else. My life is a disaster :(
My code is broken, can’t figure out why.2
Unfortunately earlier tonight some code was deployed with functionality only compatible with the new version of the devRant app that will be coming out early this week. It caused some weird issues where normal rants would be rendered as collabs causing them to not show up correctly.
This happened when going to rants from the feed (fixed earlier) and going to rants from push notifications (fixed a little while ago).
If you notice any of that behavior still occurring please let me know, thanks!
Apologies for the weirdness and missed notif activity for those who were impacted.7
Sent my coworker a LMGTFY link sarcastically, and he legitimately thought it was a great tool for showing people how you search for stuff on the internet.
This same client had never in his 50+ years on this Earth, used a debit or credit card to pay for a meal at a restaurant. Needless to say, we made him use his company card for every meal on the rest of the trip.
He also wears a black trench coat... Everyday.
I am scared... I'm scared because the code works.. but it shouldn't work I mean it's not supposed to get triggered and I have no idea what triggers it. It feels like my program got cursed and started doing things on it's own. I even put up blocks to stop the function from triggering but it still works... It always works.. I am scared...7
The most crazy issue I've fixed was caused by a TCP behavior which I didn't know, called the "half-closed connection".
There was a third-party application installed on a production server which called a LDAP server for retrieving users information. During the day we had several users using the application and all worked fine. During the night, when the application was not accessed, something happened and the first call to the application in the morning was stuck for about 5 minutes before returning a response. I tried to reproduce the issue in a testing environment without success. Then I discovered that the application and the LDAP server were located on two different networks, with a firewall between them. And firewalls sometimes drop old connections. For this reason network applications usually implement a keep-alive mechanism. Well, the default LDAP Java libraries don't set the keep-alive on their connections. So, I found a library called "libdontdie", which force the keep-alive on the connections. I installed the library on the server, loaded it at the startup and the weird stuck behavior in the morning disappeared.2
Storytime. Go watch social dilemma on netflix NOW. You might realize how much of hacked are you in terms of generating revenue for tech companies.
Ads have been the primary source of business for every web player. those weird sayings "ïf you are not paying the product, you are the product" are true but vague. Its all simple maths. if you are scrolling on your feed, and an add pops up, and you have ANY sort of interaction with it, like slowing your scroll, swiping across its items, clicking it, viewing its comments etc, then at least one of the parties involved achieved success and generated revenue. And that party would be the one responsible for making this behavior true for millions of users and billions of ads.
social media in a gist: "We are going to give a customized version of our product to every úser, so as to change the mindset of this person towards some stuff because we are getting paid for that"
What we are losing is tremendous when studied in terms of behaviors and psychology. we are becoming addicts. addicts to those continuous scrolls, those new posts when we make a swipe up gesture, those notification pings, these nonsense recommendations that are remotely connected to our interests . No matter how much tired you are and want a sweet death like sleep, a simple "PINGG" and you wanna go back to see what is it about.
Those bell icons. Those are the fucking worst. a collection of all the notifications that will catch the center of user's attention. User hates the red number on its bar , so let's fill it with more and more notifs than required. I bet the upcoming decade will see ads in the notification bar too. those big fanged Faang giants are just waiting on one another to see who tries it out first.
Social media has shown to make young gens much more depressed fragile , nd less comfortable in taking risks fearing the backlash. the rates of getting a driver's license are decreasing while the rates of suicides and self harm among teens is increasing.Real dates are now decreasing while the viewership of porn industry is staggering. even the parents or old gens which are not much into social media are getting effected by this, because the children are transferring their fears of social media interaction to the whole family environment.
And you know who is going to be the next big player in terms of using a mass manipulating tool for commercial benefits? News and Journalism industry. And THAT WOULD BE HORRIBLE! Imagine someone paying news channels to target people with certain beliefs and presenting news in a biased manner as opposed to rational manners
social media is one of the best tools of persuasion. and in the hands of a dictator or a cult, it is more dangerous than a nuclear bomb. We think that recommendation Algorithms are designed to help us gain more knowledge as they are gonna recommend us similar content. but what these algorithms are doing is to move our attentions pan from something that we are interested in to something which is commercially profitable, in the common interest of a large group and which we might be interested in too. i can think of a million times when i went from watching college subject lectures to cat videos
We have now 4 types of political deviations : the people who are absolute supporters of the ruling party, the people who are absolute supporters of the opposition party, the critics and propaganda community which throws dirt at both and the people who are neutral and not inclined to anywhere. the propaganda community consists of social media, tools and content maker which could easily flood the streams of everyone else with the beliefs they want / are paid to and their major target is to move the natural bias of un-inclined people in a particular direction. and this is wrong, it is a wrong thing to disrupt a natural balance for personal benefits, being treated like zombies
A network provider has tons of data about us... its transferring the freaking packets of our voices and images. but it is governed by the national laws to not use them in wrongful ways. but the software industry have no laws for any kind of regulation. they can hoard as much data as they want, use it in whatever ways they want and yet call themselves as "self regulated" by paying shit tonnes of bribes.
The need to be controlled, come under government jurisdiction. taxes should be enforced on how much data they can collect as they have the power to undermine the whole democratic systems using their tools and data.
The only question that is left asking is : how to not get affected with this continuous hacking while being in this industry itself? How do i make money off this 2 edged sword that is technology without getting cut myself? How to not being a mindless zombie for these giants trying to make everyone a small node of their massive eco system?25
I find it so weird when I install Linux on my hardware it runs perfectly. But when ever my friends try on their hardware, they somehow start a fire.1
So one of my employees pointed it local setup on the live database to test some weird behavior in an algorithm. Then he starte the next task and wiped his database to reload the fixtures. After that he realized, that he still had the live database credentials in his configuration file.1
A software had been developed over a decade ago. With critical design problems, it grew slower and buggier over time.
As a simple change in any area could create new bugs in other parts, gradually the developers team decided not to change the software any more, instead for fixing bugs or adding features, every time a new software should be developed which monitors the main software, and tries to change its output from outside! For example, look into the outputs and inputs, and whenever there's this number in the output considering this sequence of inputs, change the output to this instead.
As all the patchwork is done from outside, auxiliary software are very huge. They have to have parts to save and monitor inputs and outputs and algorithms to communicate with the main software and its clients.
As this architecture becomes more and more complex, company negotiates with users to convince them to change their habits a bit. Like instead of receiving an email with latest notifications, download a csv every day from a url which gives them their notifications! Because it is then easier for developers to build.
As the project grows, company hires more and more developers to work on this gigantic project. Suddenly, some day, there comes a young talented developer who realizes if the company develops the software from scratch, it could become 100 times smaller as there will be no patchwork, no monitoring of the outputs and inputs and no reverse engineering to figure out why the system behaves like this to change its behavior and finally, no arrangement with users to download weird csv files as there will be a fresh new code base using latest design patterns and a modern UI.
Managers but, are unaware of technical jargon and have no time to listen to a curious kid! They look into the list of payrolls and say, replacing something we spent millions of man hours to build, is IMPOSSIBLE! Get back to your work or find another job!
Most people decide to remain silence and therefore the madness continues with no resistance. That's why when you buy a ticket from a public transport system you see long delays and various unexpected behavior. That's why when you are waiting to receive an SMS from your bank you might end up requesting a letter by post instead!
Yet there are some rebel developers who stand and fight! They finally get expelled from the famous powerful system down to the streets. They are free to open their startups and develop their dream system. They do. But government (as the only client most of the time), would look into the budget spending and says: How can we replace an annually billion dollar project without a toy built by a bunch of kids? And the madness continues.... Boeings crash, space programs stagnate and banks take forever to process risks and react. This is our world.3
Doing pair programming while I was navigating on somebody else's computer, we hit a weird behavior that our code changes weren't reflected.
Trying everything it turned out: I forgot to save.
Yet: Why though would you make me save? And why did the IDE not warn me about compiling unsaved changes? I think it was eclipse for Java, oh well. What can I expect ...
Anyways, I have gotten so used to my editors autosaving content for me as I write it, that I completely forget about doing Ctrl + S myself.
I never understood the need to hit that key combination manually as if I break something: `get reset --hard` will help to get me to a working state. (And even if I mess it up differently, my IDE's local history also let me restore recent changes.) And if it is a workign state, then I like to commit early and often. and
I am really dumbfounded why people insist on hitting save themselves.8
Just watched Zombieland 2 in the cinema and the dumb blonde girl in the movie was so fucking sweet and adorable and NOT TO EVEN MENTION HOW HOT SHE WAS, but i fucking fell in love with her PERSONALITY, i know its an act but i also know there are people who exist with that personality, this is very weird to me because i fall in love by the looks, rarely by the behavior but i this time i love her because of her personality lol what the fuck is this
I didnt know it was possible to fall in love with someones personality like i dont even have the urge to fuck her just to love her for personality lmao
Aight im talking about this like we are exclusive but it was just a dumb but chill movie10
Bug (or feature ?) report
I don't know if it's a bug, a feature, and something that just happens to me.. When I view someone's profile and I want to scroll down to see the rants, the "first scroll" stops at the end of the profile. Then I can scroll down more. And after, if I want to see the profile again I can't scroll up. I ended up finding out that tapping the username lets us see the profile again. I'd like to point this out because the behavior seems kinda weird to me, I don't know what others think about it5
Damit azure, few days ago I have to launch a server but azure didn't let me set up a credit card because I was on free tier period, but also tell that I'm not eligible for free tier, so, WTF??
I'd came back to AWS and some minutes later I get my fcking ec2 instance running without any problem.
Whenever i get bored at work i try to motivate myself, because i notice that as soon as i am less interested, i loose focus and make mistakes.
Therefore i try to keep motivation up. One thing that helps is actually TDD, because you are able to have several small subgoals, which each leave you with a feeling of achievement, when a test you wrote passed, kinda like achievements in games.
When the task itself is so boring that even TDD doesn‘t help, i try to have fun while painfully working through it. Like have a coffee break every now and then or rant with a coworker about the task.
One time a coworker and me had to create a demo in Unity and we hated the task, because it was exactly this brainless and cumbersome clicking in the Unity3D UI which felt awful to us (we are embedded developers and we find comfort in the terminal 😄)
The only thing that got us through the task was ranting at Unity and periodically goofing around in the engine and adding weird behavior to objects.
What is your way of diagnosing a desktop/laptop?
An employee at work told me that her daughters laptop is acting strangely and she asked me, since I am into computer and I said sure. I said to her to tell her daughter what I am specifically looking for. I never really done this before.6
Now that prick that was my business partner did something really really stupid: he hired a collection agency to make me pay an invoice that was not even due! Of course, this is completely unlawful but this agency is now threatening to sue me if I don't pay because I promised to pay a part of the costs. Well, that promise was indeed made however at a later moment in time mr. Prick signed a contract at the notary office agreeing to take all costs on him. Collection agency says my earlier promise is what matters but I don't believe that is true.
Oh well, mr. Prick's website has been unreachable most of the day. This unreproducable, weird behavior will keep on popping up the next couple of days, weeks or even years. That happens when mr. Prick doesn't know the domain is still owned by me. So yeah, go fuck yourself, prick.5
The stuff around America and Tiktok is just amazing. Such app can be perfectly reviewed to prevent spionage. No need for a violent takeover at all. Having an account there already reveals your biggest secret anyway: you're into dancing young girls 😂 What a content 😂
But seriously, isn't the takeover behavior not very weird?7
So here is a mini rant from an amateur/hobbyist developer (me).
Over the past week, I've taken on a project that is much larger than any other projects i've attempted to handle (steam trading bot). This meant that there would be logic flaws, weird bugs due to unexpected behavior from shitty web apis (and their poor documentation hmmmm).
Anyhow, fast forward a few days and the code is complete. It's mostly functional, apart from a few glitches and unexpected behavior here and there...or so i thought. Apparently if someone trades and item to me that isnt in my pricegrid, the bot freaks out and kills itself, relaunches, and repeats this cycle (pm2). And i only found out about this on my way to school
So in desperation to fix such a critical flaw in my code (if my bot breaks a lot and doesnt accept trades, i can get banned from backpack.tf), i bust out my only device which is my phone, and start editing away (JuiceSSH and turbo client is godsend ty). 30 minutes later, after toiling through code with no indentation or syntax highlights (mobile pls), ive fixed it. So i push to live and alls well.
Then I arrive at school, pull out my laptop and decided to check up on my code to see if anything needs fixing.
Oh look in one line i used '||' instead of '&&'.
ok lets fix it.
ok lets push to live again.
I launched WinSCP to move the files onto the server, and just as the loading bar finishes and the file is overwritten, i realized; FUCK the code i had on my laptop wasnt the latest version i just worked on on my phone.
So that's that. 30 minutes of typing code without indentation and syntax highlighting on a 5 inch screen and it's all gone.
Version control is a must.
!rant && !question
If anyone has some info on this behaviour :P
I've got this website and it loads fine and stuff, but for some reason when I pop chrome into mobile mode on my desktop (you know the mobile emulator thingymabob) and reload the page the server returns a 500 error, like how does that even work?
(works on an actual phone btw, safari, edge, IE, Firefox, ....)
FYI I use lighttpd as a webserver4
If someone can shed some light on this behavior, would be appreciated:
I am running a couple of docker containers with lighttpd on my server (lighttpd is also installed on the host server for reverse proxy). Now whenever I kill lighttpd on my host server it also kills ALL the running lighttpd instances in my docker containers. Isn't docker supposed to be, idk, CONTAINERIZED?2