Details
-
AboutAn amateur python developer. Do Java as well
-
Skillspython and java
-
LocationSingapore
-
Github
Joined devRant on 7/12/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Guy: "We need you to update a few applications so we can get some new data. We have very important reports we need out of it!"
Me: "OK how soon do you need it?"
Guy: "Two days!! So we can start putting in the data then will have you create the reports."
...two days later...(in the spongebob narrator voice)
Me: " OK its done. Go in add the data you need then let me know so I can generate the reports."
....4 weeks later...still haven't heard from them and they haven't put in the data. Glad it was soooo important that I had to drop everything else to put in the updates that haven't been used. -
So I wrote an application that loads data from a 3rd party API. It allows the user to enter a record locator number and pull it up. By design, the value can be a partial match and it will pull up the record still.
The first API call I make only took 2-3 seconds, so I didn't see an issue as it's loading most of the data the app needs. I keep the filters/fields as they are and move on.
Fast forward 6 months. The user is complaining that the records are taking 30-45 seconds to load. Sure enough, load times are terrible. I've made lots of changes to what fields I'm loading through the API, and I'm calling several additional APIs, so I start pulling pieces of code out to see if anything improves. They all barely make any difference--still 30+ second load times. I end up removing everything except the first API call I developed that was taking 2-3 seconds before. Still taking 30+ seconds.
The 3rd party API allows you to filter using "starts with" or "contains". I used "contains" initially and had no issue, but I decided to try "starts with" since it should fit most use cases.
Load time is less than one second. I add back everything else. Load time is just over a second.
It seems that the 3rd party updated the API and multiplied load times by 10 when using that particular filter. I spent almost an hour on this since the platform doesn't support performance or debugging tools very well, and it all came down to a one line fix.4 -
I have a question about how to set up TensorFlow and use Node.JS for MongoDB CRUD. Help!
Cool, have that question on StackOverflow, because this isn't. If you have nothing to rant about you probably are still missing uncountable hours in training to get on a level where you can rant. Fuck off. Choke on a horse dildo. Get it through your thick idiot skull that devRant isn't your beginners bingo bongo chit chat.6 -
That annoying situation when your fellow German school comrades and your programming teacher misspell GUI and Hack.
Instead of JEE-YOU-EYE they spell it as if it is a single word "gui". Instead of the normal way of spelling hack, they pronounce the a in the word hack weirdly. Take the pronunciation of Hackfleisch for example. Cut this word into two words. "Hack" and "Fleisch". Keep "Hack" and throw "Fleisch" away.
And there you go. That's how they spell fucking Hack.
If you take an English word or even an abbreviation, let it be fucking English and not German, you fucking retards!30 -
Am i the only one having a strong tendency for afternoon sleep?
It's 5.12 in the morning now, and i am still awake because of this stupid , holiday routine that unknowingly happens on every damn holiday.
I wake up with a sound 10-12 hours sleep at 12 noon or 1 pm, eat some breakfast (or "brunch" , you say) , turn on some youtube or web series, watch it till 2/3pm, then try to study/ code , and then... Zzzz am asleep..
Usually am on my bed full time: eating there , studying there, watching movies there... so maybe that's the reason, but i sincerely don't understand where this sleep comes from?
And then i wake up at 9 or 10pm, eat some more on the bed, back to binge watch till 12 or 1 in night , then eat some more, then binge watching some more , and then when my mind seems to drift back to sleep, i realize i haven't studied anything and then i start at 4 or 5am..(that is , now)
Every fucking holiday ever. maybe these web series and other diversions that messes my brain, but even if am not watching any web series, i am in front of youtube tutorials , stack overflow, twitter , my IDEs,... for almost an equal time.. and the sulking extra sleep routine still happens.
I am starting to think that its somewhat related to being in front of laptop for full day than what am watching on it. whatever this is , I only want to be able to work on my usual holiday afternoon, like i would do, when am in college or some coaching centre5 -
It's Friday...
It's crunch day...
Here in SG speak (Singlish), we say "chiong ah"... means "to rush"...9 -
If some of you still have problems understanding Quick sort, I've got you covered. This is masterpiece.
https://youtube.com/watch/...2 -
Unpopular opinion:
The "I hate everyone" mentality doesn't make you quirky or unique, it likely just means you're a real pain in the ass to deal with and/or have the social skills of a rock.
My name's Stux, and thanks for coming to my Ted Talk.40 -
Me: *kills process*
Linux: 3243 killed.
Me: "sudo netstat -ntlp | grep 3243"
Linux: 3243 running.
* hour later *
Me: *kills process with 3045974th method*
Linux: 3243 killed.
Me: "sudo netstat -ntlp | grep 3243"
Linux: 3243 running.
Me: "Are you absolutely FUCKING kidding me?! What is this fucking thing, the god damn grim reaper? I've done some SKETCHY fucking things at the terminal to kill this BASIC fucking server and it is still running!! WHAT THE FUCK ARE YOU?!"
Manager: *peeks in helpfully* "Did you try the 'kill' command?"15 -
"ThE FIrsT ThiNg a Pr0GraMmer saYs whEn hE iZ b0Rn iZ HELlo w0Rld"
Damn, that is
So
Fucking
Funny
I wonder. Do the people that find this shit amusing are just discovering what programming is? Shit is so fucking cringey man.20 -
Don't care if you're the best fucking dev in the world.
If you don't respect time, I don't respect you.8 -
I recently started learning Kotlin and while I like it a lot already I find it to be a really strange language at the same time. This is coming from someone mostly doing numeric stuff in Python (for my PhD) and Android development in Java (my personal side project, which I'm currently rewriting in Kotlin).
-
AOSP
Even though Googles decisions around it are questionable most of the time, I love that we have an (almost) completely open ecosystem for smartphones.
And the thing about it I love the most is the amazing modding community around it. -
Definitely the first Android app I decided to fork.
It was an open source OTP authenticator which hadn't been actively developed for 2 years at that point. At first I only did some small fixes and minor visual improvements but by now it's evolved into its own project with a lot of contributores and users on both Google Play and F-Droid.
When I started I had no knowledge of Java or Android development what so ever. So it basically forced me to learn lots of new stuff, especially once issues started to come in. By now I learned so much on this project that I'm thinking about re-writing the whole thing from scratch because I question some of the design choices from the original app I forked...
Github: https://github.com/andOTP/andOTP1 -
Rewrite my entire side-project from scratch using Kotlin and AndroidX. While doing so I want to learn about state of the art encryption and key derivation functions (especially Argon2).
Oh yeah, and finish my PhD... -
Best review I received for my app so far. It's a 2FA app, so basically every site where you enable 2FA tells you exactly what to do (scan the QR code)...8
-
I'm so fucking depressed. I've get 100/100 and 96/100 in the lastest exams but I can't keep going to the university because I don't have money to travel from my home to the building. I have to throw away my career and knowledge. I don't find a job in this fucking country.
Sorry for boring you with my shit, I had to write it.13 -
Let's play "Count the operating systems in my household"! I'll start:
- Windows 10 Pro on 1tb drive in desktop
- Windows 10 Enterprise VM on desktop
- Ubuntu 18 VM on desktop
- Ubuntu WSL on desktop
- Ubuntu 18 on seconds drive in desktop
- Manjaro on Cheap laptop
- Manjaro on old, expensive laptop
- Windows 10 Pro on new expensive laptop
- Windows 10 Enterprise VM on new expensive laptop
Just realized I have no dual booters :o17 -
So my grandma just called me saying that there is something wrong with the computer and the UPS is making a weird noise. When I went to find out what's going on, the UPS was beeping constantly and the computer was in the middle of a startup repair. Obviously there is no way to cancel the repair, and unplugging the UPS would probably do more harm to the computer. So we had to listen to that constant, loud, high-pitch noise while waiting for the startup repair to complete. And mind you, I'm talking about a very old and slow computer with windows 7 on it. After the repair was done, I quickly turned off the computer so I can reset the UPS and save my eardrums from burning in hell.
The worst thing is that I've downloaded the documentation of the UPS, and there was no mention of what a constant beeping means, it only described the meanings of normal beeping patterns (battery low, etc...).
My eyes are still ringing and my ears are still blurry from 20 minutes of that noise.4 -
So today I got fucked by myself. And it hurts.
In my Company, we started thinking how we could organize some kind of think tank for the next 5/ years goals.
As CTO I got designated to be in these workshops... And stupid me, I started to organize the "workshops". Using " agile" and "facilitator" artifacts (serious games, ideation sessions, open space sessions, etc).
Today we finished the roadmap and proto processes to make bottom to top inclusive process, and co-create with everyone what should be the Company roadmap.
We went to dinner. And I was happily talking with my smartphone when they decided that I should preside the committee in charge of the roadmap creation!!!!!
Useless mother fuckers!!!!! Go kill yourselves!!!! I have some interesting stuff to do!!!
Why didn't I just shut it!!! Now I'll have to make sure the old cluster fuck part of the Company do real shit!!! They are fucking useless and don't give a shit about the future!!!!
FUCK THEM!!!!!
FUCK ME!!!!!!7 -
Have you ever had a problem with a partner, but you cannot prove at 100% that he has something against you? But you cannot stand him?
Well, this happened two years ago. I was working as a tester, and “John” (I won’t say his real name) was the dude who tests my tests, but in production.
I ‘m a sociable person, and I don’t mind talking with another people. Suddenly, I noticed that my co-worker started to behave a little bit... rude? Plain? I don’t know, but sometimes he didn’t answer my conversations/questions, or sometimes answered with extra-negative stuff.
“Well, his life is not easy” I said to myself. “Everybody haveproblems”, “I have to understand him and calm down”.
Two weeks later started to report really REALLY absurd production bugs, and with absurd I mean, for example, that he didn’t like the color of a button, a point next to a phrase, etc., things very very simples, but sometimes he ignored big errors.
Once I had to went out of the city for few hours, and asked to permission to go out. I had pending tests, but I left a document with specifications in case of emergency. Even passwords. Before I could finish the thing in the other city, my partner called me two times, and asking me obvious things! I had to go back to the office ealier that I had planned, so f*** angry 😡 and when I arrived to the office, John said “no, forget it, let’s solve it tomorrow” 🙃 WTF?!!!!!!
I decided not to argue with him.
Also noticed that his headaches suddenly increased, and looked so tired ☹️ I felt guilty to judge him
I felt so guilty, and even today I don’t know what to feel about that or what to think. I don’t work there anymore, but, What do you think? What would you do?6