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
XCode: I can't find your class in scope
Me: But it's right there. You could find it yesterday
XCode: Yeah, no.
Me: Look, if I cmd-click on it, you open the class. So you know what it is. It is in scope. It has to be.
Me: *cleans build folder* *build* How about now?
Me: *deletes derived data* *build* Now?
Me: *buries head in hands* *swears* *Copies the text in the class file, deletes the file, recreates it with a slightly different file name, copies the text back in* *build*
XCode: Build complete.
For fucks sakes.2
I was asked this pre-screening question, and also asked again during a screening call:
Have you written over 30K lines of code?
My answer was I probably deleted more than I wrote. They have my CV (12 years of industry exp).
Are they dumb or playing dumb?
Other possible hypothetical answers I came up with:
- 29,999 or 30,001, I’m not sure
- Do log lines count?
- I wrote a script that writes code lines straight to production
- I tend to write a line then do cmd+x, then cmd+z, cmd+shift+z repeatedly
Wdyt? Do you guys have some funny answers?9
My production build has a bug that the debug build doesn't. A bug that makes no sense, while all unsafe code in the program is on dead paths, and my recent changes should only affect niche multithreaded scenarios but the bug appears in the single threaded case.3
Thread-local static variables in expression scope are so cool. You can initialize them with heap-bound datastructures, they retain their value like statics but you don't need a mutex to interact with them, and you can define them with macros that are called in expression scope. The perfect building block for unobtrusive caching.
I used to really hate statics in C++ when I was starting out with programming because I felt that they introduced unexpected persistent state, but I guess I have grown to appreciate locality a lot more since.5
this could be the final nail in the coffin for me.
so. fed up.
someone came and wrapped all the function with
Promise. And async callback.
LIKE, ALL OF THEM
now you have an extra try catch in it.
I can feel the grease and oil my body producing. I can somehow feel like im losing my hair and going bald due to extreme, enormous excessive stress of work and poverty
It feels like i am slowly but surely decomposing both physically and mentally. I have no vacation and cant afford any. I am rotting alive and a walking corpse8
Ubuntu forgets printers, Mint can't find my bluetooth adapter. Maybe I should stop being proud about Linux and give Microsoft Windows or MacOS another try :-/18
git annotate on note about hsit being deprecated, hoping to trace up that to find what i should use instead
over 800 lines of code changes associated with commit
no pull request or jira ticket associated with it to help me dig
When was the last time we needed to know the optimal solution for traversing a binary tree in my day-to-day coding tasks? Unless we are building the next Google Search Algorithm, I highly doubt it's relevant2
Jesus terrifyingly AI is prevented from sending you links
I asked it for websites that are not authoritative for nutrition... and it just can't link them! it tried to write them but then as I was live watching it, it delete the links as it realized what it was about to write??
I know there's 106 amino acids and I fucking wanna know how they work. this is illegal information? how the hell is that not terrifying?
there's a psychonaut wiki and it's better than Wikipedia. fuck wikipedia.
r/nutrition refused to make a wiki because they get brigaded if they try to
eat yo verification can and cheetos7
So I am trying to search for videos about using math and geometry to model physical objects. I am currently searching youtube. Almost every video they recommend is a short and not about the subject I want information about. This is the most unpleasant experience I have ever had on youtube. It is truly going to shit. This pushing shorts over real content is absurd. I don't want to be on the platform at all now. I don't want to see shorts at all if I could tell them that.5
If Sony owned Android OS, would they have added severe restrictions and anti-features like Google did too?9
I wonder how old the oldest file in any RAM drive is.
By that, I mean what the longest time a file resided in a RAM drive is.5