AboutDDG Cheat Sheet contributer
Joined devRant on 11/29/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
After a long time here.
What's happening in this coolest part of the world?
What all I missed!!!!2
I think, sometimes, I just love working. Even if it's a holiday.
It's like a refreshment.
**Working from Resort at Tiger Reserve**
Disclaimer: top is running in the terminal. Not revealing the actual work going on the terminal.
There were multiple pojos which maps with one of our DynamoDb table with slightly different schema (leveraging nosql).
For one of the pojos, while populating one of the attributes, it was always throwing some weird exception and no one had any idea about it.
An intern was assigned to fix it in case some new pair of eyes can observe something weird about the pojo.
Later, I realized that the way DynamoDbMapper behaves inside a pojo is very particular and hidden.
A method was declared as public instead of private in the pojo, and DynamoDbMapper while mapping the pojo to the table with reflection, it said that this attribute (a substring of the method name) cannot be converted.
Finally, it was just a single word change from PUBLIC TO PRIVATE.
An ant has entered my monitor and running all over the screen from inside. It's super irritating.
How can I get it out?78
When you are all alone at office, stuck with tons of work, nothing to cheer up, browsing every single keyword because you are dumbest person and with millions tabs opened up in multiple windows..
This shows up with a light mood to cheer you up...
I missed to mention that this guy may be working late, but is super lazy to take a screenshot and copy to mobile.
Stole this from my friend's status
Browser Toolbar is greater than life. Third party apps are dangerous.3
Ranting after many light years (oops that's a unit of distance)
Damn Damn Damn.
There is complex workflow engine, and the only thing I know is once you fix and get success response from method A(), call method B().
After 2 days and nights effort, method A() is fixed and I am getting success response.
Now, when I pass this response to B()
One data is missing and hence failing.
Where the hell is that data getting kicked out...
I am in a dead end. I don't even know where to look.
Pinged engineers for help but all in vain till now.
Working on one of world's largest system, and I am miserable in debugging with this system.
And the worst part is there is nothing that I can turn off and on so that it works.
(Don't blame me. I am not that dumb. I just started using it since 3 days)2
Everyone at some point or the other, have reposted stuffs, and in some corner of the world, someone will be annoyed of that repost.
Just wondering how will recomment be like...!!!
Someday, people requesting feature for blocking recomments..1
What's your prediction on when Apple will have a great fall, with recent failures of mobiles technologies?2
After a long long time,
Debugged something that blew away my mind on how it works internally..
DynamoDBMapper made my day today.
What could have been more better gift during the super special sweet valentine's week!!!!!
I ❤️ debugging.
Found my lost love and interest to patch up with my most loved one Miss "Programming"
I think it will be very odd to ask a girl to wait so that I can read the code on her skirt, with no wrong intentions.
I guess she won't understand how attractive source codes are.16
Dad bought a 2nd hand computer from his office.
OS: Windows 98
15" CRT Monitor
Floppy Disk Drive
And the best moment of joy was when my then best friend who had 2 PCs with one of them was the best configured system of that era with wireless mouse and keyboard (wireless was extremely costly and rare then), comes to my house with a PC Game (WWE some year) and tells me that this game only works in 98.
Also, one of the most Proud moment I ever felt for my computer.1
FUCK HIM! FUCK HIM!
JUST CAME TO REALISE THAT AN OLD CLASSMATE DURING UNIVERSITY STOLE 2 OF MY PROJECTS AND PUBLISHED 2 PAPERS UNDER HIS NAME.
HE EVEN ADDED THEM IN HIS CV.
SUCH PEOPLE SHOULD DIE.
Recently, at 2am, he even called me and asked for some doubts on other topic, I helped him too. Turns out such he was such a cheap person.
Let him call me next time...29
Last 4 days, struggling to get ship it from a Dev who is reviewing my code.
The comments have already piled up more than the LOC submitted.
The code review consists of just 2 interfaces and a pojo. Hardly 20 LOC in total, excluding javadocs.
I hope it gets ship it soon.
Wish me luck.2
While addressing a Senior Dev's (SD) query from another team.
SD: why is this field mandatory? Can't it be just optional? Any other work around?
Me: Is your code changes already pushed in Devo? In that case, we provide a value which will work since you are not concerned about it.
SD: Yes. It's pushed till production. And, I want to test changes in Prod.
Me: (shared some codes) and explained that this feature for testing is only available in Devo.
SD: I know that. (Shared me a ticket) I want this field to be optional. That's it.
Me: (read the entire ticket. Didn't find anything related their) Told him, I will discuss with team. And meanwhile, for Devo, you can use this value.
Next morning, I accidentally came over some other ticket raised by him only which had the correct doubts regarding request to support this field in production
Now, I don't know why did he share a wrong ticket with me.
And, how will it even help him if that field was even optional.
THAT JUST WONT WORK IN PRODUCTION.
I will discuss with my team and see what can happen.
Java interested folks.
I recommend reading Effective Java by Joshua Bloch.
It's worth reading.
Even James Gosling praised this book.14
Worst error message management.
Can't you just display the valid pattern for an username instead of showing different error message everytime.
If plain ASCII and only letters and numbers same for them, just show only letters and numbers, and
what's that hourly limit.
I just couldn't sign up after wasting time thinking of an username.6
Started working on a new project.
Sent out my first code review for that repo.
An intern pinged me and blamed me that I have added so many comments to get more lines of code.
I have no words to reply him.4