Details
-
AboutI write code for living
-
SkillsJava, Android
-
LocationEarth
Joined devRant on 8/24/2016
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
-
Client: There’s a bug in the app
Developer: How do I reproduce it?
Client: I don’t want it reproduced, I want it fixed!
Developer:🤐🤐🤐5 -
Me: code quality is important
Everyone: <no shit given>
Director: code quality is important
Everyone: yes, it is very important, hurray!
Fast forward few weeks/months...
Me: why this function accepts 14 arguments?
ShitDev: yhm, you know, we need to fix it... maybe
Me: why this exception is swallowed?
ShitDev: oh, really? yhm, yhm
Me: why this function is copy-pasted and repeated (20 LoCs)?
ShitDev: yeah, true, but we wanted to make it fast.
Me: Dear director, this project sux and its quality is shit.
Director: you're exaggerating, it can't be that bad, it works, right?
Me: <polishing CV>
ShitDev: got praised for delivery14 -
Programming should be like art, where you try and learn different skills and tools to get better over time.... Not a continuous game of whack-a-mole where your try to hit everything with a hammer...
¯\_(ツ)_/¯6 -
Goodbye, a night of work!
I just typed "rm * .sh.*" instead of "rm *.sh.*" for deleting the logs from a bunch of qsubs. Yes, I removed the logs... as well as the rest of the files in the folder.
Now, probably because of the lack of sleep, I'm laughing to keep myself from crying.
No more code for today!7 -
Submitting long written text on browser.
Novice:
1. Type
2. Submit
Experienced:
1. Type
2. Ctrl+a Ctrl+c
3. Submit4 -
Client: This new feature is not working on Internet Explorer.
Me: Do you have enough oxygen in the cave you are living in?7 -
I once participated in a programming competition. We named our team "NameNotFoundException". Although we didn't win but a few days later we got a call from the organizing committee. They thought that there was something wrong with their system and wanted to know the name of our team. We laughed our asses off.10
-
The GET /users endpoint will return a page of the first 13 users by default.
To request other pages, add |-separated querystring with the limit and offset, as roman numerals enclosed in double quotation marks. Response status is always equal to 200, plus the total count of the resource, or zero when there's an error.
You can include an array of friends of the user in the result by setting the request header "friends" to the base64-encoded value of the single white pixel png.
Other metadata is not included by default in responses, but can be requested by appending ?meta.json to any endpoint, which will return an xml response.
If you want to update the user's profile picture, you can request an OAuth token per fax machine, followed by a pigeon POST capsule containing a filename and a rolled up Polaroid picture. The status code attached to the return postal dove will be the decimal ASCII code for a happy smiley on success, and a sad smiley if any field fails form validation.
-- Every single external REST API I've ever worked with.7