AboutI create features from bugs.
Joined devRant on 3/11/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Hahahaha, great start of Monday, discovering angry passive/aggresive comments from previous devs.. xD
// what is this? ever heard of CSS?
// css is for pussies, real men hardcode
// jQuery mixed with Ext. Awesome7
Not sure if this should be a proper rant about the reasons behind this, or a simple 'so much win' situation..
CTO asked how I'm doing with task xy.. my answer: mostly should be fixed, but I'm trying to figure out this zz thing.. It is so fucked up, I can't make sense of it.. before I could really finish the sentence CTO was like: shut up, don't tell me about it, we know, just please fix it..can you fix it? Please say yes..and don't talk about this anymore.. 😂😂😂6
Wow... Not sure where to post.. My wifi/internet speed is a joke in itself.. the kind that always makes me cry..7
Not sure if yelling at someone for not listening counts as a fight.. 🤔 since he wasn't listening..ever!!
But yeah, my ex coworker was a champion in not listening and doing stoooopid shit, from not following orders, to cheking in all the files in solution to tfs (no changes + debugging shit etc) which made it a nightmare to find and fix his bugs.. I just gave up talking to him alltogether since he only wasted my time and didn't listen to any advice/order..
I am sooooo very happy & grateful that my coworker wrote down this comment.. I'd have been lost without it! :/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..8
Pressing ctrl+s in sql dev when checking packages.. you accidentally press space or sth and later ctrl s it compiles.. then shit gets real when you accidentaly lock up everything on prod db..2
Spent 4h+ debugging my code (it was late)...only to realise that my code was not buggy, but the fuckup in design was in the original part I didn't change..FML..
Duuude!? What the fuck?!
First weekend off so I can slack around & now this?! O.o
I don't know what I expected.. I didn't evem do anything to it (yet)..10
I think my IE knows it's crap & is trying to hide.. xD
Actually took me a second to locate the little mofo on the desktop O.o
Ohe yeah, this is actual window size it opened itself in.. the picture is not cropped.. only magnified when uploaded..4
No, dear M$, I can't tell you if sth is helpful after spening 5s on page, especially if 4s were spent loading the content!!!2
Hmm... That's 2 yrs from now.. o.O
Mmm...ok... Keep the job, rewrite old crap (I mean code) I'm maintaining & rock at it..
Personal issues wise, get married get own flat/house & hopefully get back to climbing at least on weekly basis.. Ooh & maybe a doggo & kitteh.. xD
P.S. maybe find a phone that will outsurvive me.. or at least survive me for more than 3 months.. :/6
When you're feeling extra 'peechy' debugging coworker's crap.. I mean code..
Bonus: Anyone get's the reference?? Might have spelled it wrong.. But fuckit! I no longer care.. :\3
“Temper’s the one thing you can’t get rid of, by losing it.” – Dr. Buddy Rydell6
OMFG I don't even know where to start..
Probably should start with last week (as this is the first time I had to deal with this problem directly)..
Also please note that all packages, procedure/function names, tables etc have fictional names, so every similarity between this story and reality is just a coincidence!!
Here it goes..
Lat week we implemented a new feature for the customer on production, everything was working fine.. After a day or two, the customer notices the audit logs are not complete aka missing user_id or have the wrong user_id inserted.
Hm.. ok.. I check logs (disk + database).. WTF, parameters are being sent in as they should, meaning they are there, so no idea what is with the missing ids.
OK, logs look fine, but I notice user_id have some weird values (I already memorized most frequent users and their ids). So I go check what is happening in the code, as the procedures/functions are called ok.
Wow, boy was I surprised.. many many times..
In the code, we actually check for user in this apps db or in case of using SSO (which we were) in the main db schema..
The user gets returned & logged ok, but that is it. Used only for authentication. When sending stuff to the db to log, old user Id is used, meaning that ofc userid was missing or wrong.
Anyhow, I fix that crap, take care of some other audit logs, so that proper user id was sent in. Test locally, cool. Works. Update customer's test servers. Works. Cool..
I still notice something off.. even though I fixed the audit_dbtable_2, audit_dbtable_1 still doesn't show proper user ids.. This was last week. I left it as is, as I had more urgent tasks waiting for me..
Anyhow, now it came the time for this fuckup to be fixed. Ok, I think to myself I can do this with a bit more hacking, but it leaves the original database and all other apps as is, so they won't break.
I crate another pck for api alone copy the calls, add user_id as param and from that on, I call other standard functions like usual, just leave out the user_id I am now explicitly sending with every call.
Ok this might work.
I prepare package, add user_id param to the calls.. great, time to test this code and my knowledge..
I made changes for api to incude the current user id (+ log it in the disk logs + audit_dbtable_1), test it, and check db..
Disk logs fine, debugging fine (user_id has proper value) but audit_dbtable_1 still userid = 0.
WTF?! I go check the code, where I forgot to include user id.. noup, it's all there. OK, I go check the logging, maybe I fucked up some parameters on db level. Nope, user is there in the friggin description ON THE SAME FUCKING TABLE!!
Just not in the column user_id...
WTF..Ok, cig break to let me think..
I come back and check the original auditing procedure on the db.. It is usually used/called with null as the user id. OK, I have replaced those with actual user ids I sent in the procedures/functions. Recheck every call!! TWICE!! Great.. no fuckups. Let's test it again!
OFC nothing changes, value in the db is still 0. WTF?! HOW!?
So I open the auditing pck, to look the insides of that bloody procedure.. WHAT THE ACTUAL FUCK?!
Instead of logging the p_user_sth_sth that is sent to that procedure, it just inserts the variable declared in the main package..
WHAT THE ACTUAL FUCK?! Did the 'new guy' made changes to this because he couldn't figure out what is wrong?! Nope, not him. I asked the CEO if he knows anything.. Noup.. I checked all customers dbs (different customers).. ALL HAD THIS HARDOCED IN!!! FORM THE FREAKING YEAR 2016!!! O.o
Unfuckin believable.. How did this ever work?!
Looks like at the begining, someone tried to implement this, but gave up mid implementation.. Decided it is enough to log current user id into BLABLA variable on some pck..
Which might have been ok 10+ years ago, but not today, not when you use connection pooling.. FFS!!
So yeah, I found easter eggs from years ago.. Almost went crazy when trying to figure out where I fucked this up. It was such a plan, simple, straight-forward solution to auditing..
If only the original procedure was working as it should.. bloddy hell!!11
Code works everywhere except at one client. Ok, I check logs & see something missing.. I go check the code that handles excel files.. try catch and do nothing.. great.. :/ ok let's log this shit to see what is not ok...
Insert logs, build, update, run.. now it freakin works o.O13
Coffeee..loads and loads of it.. music..ignoring certain coworkers..loads of mind emptying breaks (piss breaks)3
Everyone is ranting/posting about Stephen Hawking RIP &such...
And I'm just sitting here, waiting for his chair to take over the world & shit to hit the fan.. O.O
P.S. no discrespect meant to the guy, I think he was awesome..14
I already ranted about the elevator at home being stoooopid for opening doors on way up when you wanna go down..
But our work elevator is awesome!
I figured today that I can play with the authorisation light with the chip for the home elevator.. so from orange to green (work card) to red (home chip) to green to red... OMG!!! Awesome!!
Also the look of horror on coworker's face was priceless (work elevators have a tendency to malfunction as it is, without me playing with them)!!! xD xD xD16
Ok, so I already asked when junior is no longer a junior..got mixed answers. Now I'd like to know what defines seniority level in your country?! Years of experience, having wide range of knowledge, great leadership skills, having boobs (joke).. ?!? But seriously, I have no clue what the standards in my country are, and internet is full of different opinions & examples that are making me wanna go cry in a corner.. o.O
Figured some answers from real people might help me get my head around this, so if it's not too much to ask fellow devs here, please answer this questions to help me grasp this better with examples..& non dev folks, you are welcome to comment too!!
A) What country are you guys from?
B) How is seniority defined there?
C) How are you placed by others?
D) If different, where would you place yourselves? Why?14
What the actual fuuuuuuck?! Google, can you just stop making improooovments on ui that is making your apps work/look like shit?!
Fuck I'm pissed.. 😒6
!rant but True story!
OMG, my coworker (rather elderly if it matters), asked if he needs to open webapp in internet exploder.. < - It was intentional, but this happened in convo over morning coffe and me and some other guy almost choked with laugher & coffee..
Fucking brilliant! IE = Internet EXPLODEr! Love it!
Man, I love my coworkers (some)!!!!6