AboutWanna know what hell feels like, try working on a c project for two year
Skillsc, c++,c# and django.
Joined devRant on 5/15/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
TLDR: Wrote a custom class for writing apibtest cases for a project with zero code test coverage.
We have a project with zero test coverage. Recently, i was tasked with writing api test cases for said project, it might have taken me months to write tests for all endpoint, plus the main issue was that each endpoint needed to tested for all available user roles and permissions.
I tried the main stream approach of writing api tests, but ended up running into a lot of issues directly linked to our projects roles/permissions architecture (cherry on top some endpoint are apikey specific). Don't get me wrong in my opinion this is by far one of the best user roles architecture out there, but writing test cases keeping it in mind is pain in ***.
After trying out different testing methods and frameworks, i decided to write my own class by extending django test framework (which uses unitest)
- It has generator and validators for request and response.
- Supports testing for user roles and permissions.
- We won't have to make any changes to code after user role or permissions changes
- I just have to copy and past request and responses from postman api collection.😂1
Client:we want dynamic mapping of network and packet flow visualization like;packet tracer simulation
Us: is 2D visualization enough.
*fast forward after first demo*
Client: now make it 3D with pipes representing cable.and packets flowing through them like water.
Have you ever rejected a job offer just because said company uses php. I did 3 in last two weeks.
p. s. I already have job, may that's why3
Ever forgot the root password of your remote server, my manager did. Now we can't run our applications because they need root/administrative privilege. 😂6
Q:why did you make such a great OS.
A:I thought what would attract young users to linux.
This distro even has a song.
Pulled an all-nighter
Was too busy ans haven't had any time to eat anything next whole day.
35.5 hour sleep deprived, cameback home with takeouts
Let's pull the repo before i start eating.
Open the laptop and connect the charger while laying on bed.
*fell asleep and woke up 9 hours with laptop still running*
The worst part is that the problem i was trying to solve is still there.9
Was feeling low started sifting through gallery and found this picture i snapped a year ago.. now i can't smiling. The algorithm i wrote was so shitty that it was using 4gb of RAM.
Never thought an error can make me happy
Fun Story: My first official project was related to system files security. In first meeting project manager was talking about Macros and OLE i had no idea what the heck he was saying.just kept noding
Took us 2 months to complete the project now it has been deployed and working perfectly
Told my manager about this during final one on one meeting and he couldnt believe me,he still laughs about it everytime we meet
One hour before demo.
clone,compile and run.
Most of the key module aren't working
I forgot to push final changes to git (after pulling an all nighter)
My friend works for a subsidery of an event organization company.. the sole purpose of the subsidery is to develop/maintene and upgrade their products. The just Started redesigning frontend of the website for the 4th time in last 16 months, because their boss changes their mind every 5minutes.1
I hate it that I'm still forced to use Ubuntu 16.04 and can't upgrade to bionic beaver.tried it on vm (for testing)loved new features and default gnome interface but even after switching to xorg most of my tool were still not running properly or crashing, most important factor is that there is still no official cuda support and installing gcc g++ 6 and symlinks are nerve racking. On top of that upgrading to 18.04 LTS on my main machine will leave me with broken packages and dependencies.
p.s. for people who are going to reply saying that these issue can be solved. Please try updating your work machine and spend hours fix these issues1
During interviews about a month ago my friend and i saw an astonishing girl.we didn't knew her name but we had the interview list containg names of more than 1200 candidates which were selected. Fast forward today we started talking about that day and all of sudden we thought wouldn't it be fun if we used the interview list to find her on Facebook. Around 400 of the candidates were female. Instead of doing it manually i decided to write a python script.
Give script list of names
It will go to all the Facebook profiles which came up by performing a Facebook search though your fb account and take a screenshot of every profile
All of it is done through automations
At the end you just have to look at the screenshots manually
p.s. we failed to find her name. You've to trust me when i say we're not creep😂29
Spent countless hours on internet reading WMI documentation to write a RAT agnent for our server side application only to find out there is a WMI Creator Tool which literally generates code for such purposes. FML1
Trust me this is not a coincident.... And only two people in the whole department know what this monster really did. Thank god i never had a professor like him.12
How Bad I'm at frontend Development: about 3 year ago i accidentally wrote </from> instead of </form> while working on the frontend of a website, everything just went bonkers. Took me 10+ hours to realize my mistake.
In my opinion frontend devs are real hero they have to learn multiple frameworks, and make website respinsive and work on IE at the same time. Idk Why the fuck clients still want their website to work on IE (fuck you Carl, your users are of age group 15-22 they don't even know wtf IE is)
P. S. At that time i didn't knew HTML validators are a thing.6
*One Month Ago*
Project Manager: we have allocated these two workstations for you to extract data (set) from malicious files, they are off the network. I though would also prefer a seperate laptop for this project you can take this one (pointing towards the newish laptop on the table)
Me: (i declined his offer because i didn't wanted to carry two laptops everywhere) I'm going to use my own laptop, but I'll be using a sand box or virtual machine.
*Fast Forward to Today*
Accidentally ran a script outside the sandbox, which due to some unknown reasons ended up executing a bunch of malicious files I only realised my mistake when my antivirus started to go bonkers FML.
P.S. both of those PCs are now connected network because of me.
C:*smiling while looking at massex.py* 'MasSex' uh! You'd change it before pushing
In my defense it's short for Mass Execution not MasSex
In approximately 9 hours I'm probably going to humiliate myself in a meeting
I was given 5 days to write a sh script.
And guess what..
I still have not started
I don't know how others feel about this but every time, when the fan are spinning at full speed as you turn on the routers and they are in boot sequence.the stat lights on switch turning on/off in wave patterns
prepare to take off,
Take off in;T minus 30 second.4