Details
Joined devRant on 12/21/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
-
WOW Xcode is such a trash fucking application, I am so pissed at how much I have to fight this damn piece of shit program to get my work done
The time it takes to index my code is disgustingly long, I sit and sit and wait for it to FINALLY recognize I've added a new variable to the header file before it can begin to suggest autocompletions, but wait??? Why is it telling me there's errors about another variable? On a line of code that doesn't even fucking mention that variable??? BETTER WAIT IT OUT FOR IT TO INDEX SOME MORE, NO XCODE MY CODE ISN'T ERRONEOUS, YOU ARE YOU CRAP SHOOT!!
AND WHY WON'T YOU LET ME SPLIT VIEW YOU WITH ANOTHER APP??2 -
Setting my ssh banner to an instance of cowsay speaking the navy seal copypasta is one of my best ideas yet6
-
Took a class on computer systems, was supposed to be taught instruction sets, interrupts, pointers, basic gate level digital logic, etc. Professor spent the whole semester going line by line in the Visual Studio disassembler for some arbitrary C code, explaining in painfully dull detail, what each assembly line did. They did this for every class session, including the first, with no introduction to assembly. I lost count of how many times I fell asleep in class.
-
So I'm working on a computer vision project that grabs video from my webcam and detects faces in each frame. Earlier yesterday morning I was capping out at 30 frames per second, which is what I believe to be the max for my webcam. As the day became night and I was wrapping up my work on a portion of the project, I noticed that my newly compiled version was only getting around 8 frames per second. Confused, I looked into my frame grabbing + face detection code.
"Maybe I can only detect faces in a certain region of the image, based on where the face was in the previous image?" No, still 8fps. Hmm.
"How about I lower the resolution of the image, that would definitely help!" I tried that, but no speed boost came either. What??
I start to dig deeper. Maybe I'm not linking my libraries correctly, and it's using an older library I compiled. So I recompile that. Nothing.
"Am I low on resources?" I close out of all my other apps. Nothing.
Okay, wtf. Now I just comment out the face detection code entirely, and only grab webcam frames.
8fps. ?????
Suddenly, I get an idea. I get out of my desk, walk over to the doorway of my room, and flip the light on. I sit back down, and run my code.
30fps.
The stupid webcam switches to "night mode" when it detects low light, which restricts its ability to output frames at high speed and caps at 8fps. Damn, I felt like a fool 😂5