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
Search - "eof"
-
Colleague started to share their screen
Me: screen is not visible to be
Them: let me just increase the brightness of my monitor5 -
I could be wrong, but I believe all devs love a clear section saying
"Getting Started" to any form of documentation5 -
Asked junior to clone a git repo
junior: tried everything it doesn't work
me: show me how you did it
junior: right clicked on the repository, 'Copy link address' then paste it into the terminal
me: put that mouse down right now!26 -
After doing the work he requested as he wanted he was not happy. So i thought we sit and discuss what he didn't like. I was so wrong.
...
Boss: "...you know what I think you are: a fraud; Masquerading as a developer. The database design you have given is shit. The template I gave you I did in 1 hour. You took half the day."
He gave a simple template to use and he told me to come up with an ecommerce db design via downloading PrestaShop and seeing what is relevant to us.
Me: "what did I do wrong?"
Boss: "you think I don't know what PK means in database design? Why the fuck did you put this here."
Me: "can I expl..."
Boss: "I'm not finished, you been here half the month and what work have you to show for it..."
Me: "I have..."
Boss: "You shut up when I can speaking"
Me: "ok"
Boss: "You have no work to show for the time you have been here. I tell you what to do. I want someone who is proactive. My friend, you will do the work I tell you to do, you understand?"
Me: "yes but can I just say that I have been doing your work I have the contact the various developers as you..."
Boss: " You shut up when your boss is speaking. Can you do this work? (Slightly long pause)
Me: "I can do it. But, I have done the bits of the work you said I do. I was h..."
Boss "don't give me bullshit stories...you haven't done the work..."
Me: "But you have spoken"
Boss:" You know what Im giving you 1 weeks notice if you are not able to do the work. Can you do it?"
That moment!!! I was literally shaking I could have high fived his face with his laptop.
Me: "yes I can"
Boss: "Then get the fuck out of my sight and do it"8 -
*working on a programming assignment for a graduate-level course*
"We will provide you code that implements the protocol in the server. You do not need to touch this code."
*provided file has syntax errors, including a block comment which doesn't close before EOF*1 -
Introduction to graphics
Lecturer says "this is a very practical course. In fact I think we should have a practical exam"
All students agree. He would sort out that matter.
Meanwhile he taught us how to making shapes in java, then a house, then a game...
And the exam was for us to make a building where a user can walk through the building using the arrow keys...
What fun we had. We got out marks...and everybody did well!!!!1 -
Source code works on my local machine, even when I present it to the relevant users; no body panics its all part of the plan. Place it on the server and it does not work AND EVERYONE LOSES THEIR MIND!1
-
And now they are threatening us... Brilliant!
- they refuse to sign a legal agreement with us [for our services]
- they only gave us a verbal promise they will pay for our services
- they revoke lots of our accesses
- another company is taking over their product we were hired to look after before. Now they demand us do things for them for free
- a few integrations are malfunctioning with premature EOF [while reading a response]. I had escalated this with the most throughout case analysis I have done in my entire life. Three times over the last 2 years. Explaining every single detail that needs to be done, how, by whom and how to interpret the results. Escalations went to their high level mgmt. And directly had been rerouted to /dev/null...
- now they asked us to fix this whole shit. For free ofc, they have no money to pay us..
- they begged
- when that didn't work - they started threatening to route all their customers' complaints to us and flood us with them
at first I was proud to work on their project. I didn't want to leave it when my manager asked me to. A national level project, making a difference for my own country. But now.....
that's gov, my friends. That's politics and power games.8 -
Deep Thought Rant
It's funny how the world works these days...companies only looking for "senior *something*" developers to work...
Mentorship and internship also do matter. What's happening?...sure you can contribute to open source but having a mentor also helps. Working as an intern allows one to see not only tech bit but workplace environment. How to deal with deadlines, feeling good and wasted at the same time when one bug that took a 3 minutes to fix but 3 hours to find, presenting your work; well what's working only, being bashed when it's your fault or not (even though that sucks), learning from your mentor and so on
Are their companies that still do this?3 -
Being thrown in the deep end, baptism by fire is the best/worst way to learn a new codebase
Its not appropriate for everyone but it weirdly works -
Java teacher writes code on blackboard in comp lab
He tells us to try it out at our workstations.
We do. The code does work. We tell him.
He says: "There is something wrong with your compiler..."
Question is...we were around 30 students. Can all our compilers not work if we had used the lab before and the code we run worked clean??!?!?!?
We were flabbergasted2 -
When you are involved in a conflict of interest project and its kept under wraps ...but your IT director still wants you to do it because his friend needs something done but don't want to pay for it
Who else has faced this? Or am I the only one...?3 -
So I wrote an algo in python3 for a challenge in codechef.com but it raised this exception !
If I put the input() built-in method in a try/catch , how do i know what the input was in order to pass the test case?3 -
In uni
Lecturer: SOAP is insecure...
In interview: Any disadvantages you see with SOAP?
Me: The last i read SOAP is insecure. Im abit rusty with this knowledge
Interviewer: ahhh okay, SOAP is actually secure...
DAMN YOU LECTURER!2 -
What happens when you give a database design to your boss as per what he wants done, he sees it is not impressed, scolds you, curses you out and claims you are 'fraud'. Then you tell him you can do better to redeem yourself...you submit the work better than the first time
And then he terminates you due to 'lack of proficiency'.3 -
How can you bring in a PBX device with no manual at all and the settings are all in Chinese and expect me to be a God and configure it?2
-
I recently started learning Erlang. This is the story of how I got trapped into it.
When I code, I usually use my trusty text editor and a terminal to either compile my code or run tests in the language interpreter. The interpreter, erl, works fine, but when I wanted to close it, I ran into a small issue.
Because I never know what the command is to close an interpreter, I usually use the EOF character (^D), that is widely recognized. Except erl does not react to it, not even a tiny message saying it won't close or doesn't recognize the output.
Alright then, let's try quit. That's an atom, it does not behave how I want.
quit() is an undefined shell command, exit() terminates the shell process but the interpreter automatically starts a new one...
But I get the welcome message, telling me to abort with ^G! Some progress, finally... except ^G redirects from Erlang interpreter to user switch command. Damn, another interpreter...
I ended up killing the process from an other terminal.4 -
It looks like Windows almost stopped me from exiting the mall. I had to call customer care to save me from situation. The toll station froze on me. Why Windows? Why?3
-
I know there is SoundCloud, Earbits for music... Sometimes I use YouTube.
I am coding to get to my beast mode but my YouTube mix picks up a song I don't want and then I change tabs just to skip or change your mix...then poooofff
ALL OVA SURRRDDDDEN
You are watching "scaring cats videos" -
A Chinese coworker who always brought a tea flavoured hand lotion bottle and applied it before coding on his finger tips and wore the same clothes from Monday to Friday changed only his shoes...2
-
So what do you call people who like Apple devices only or Android devices only? Or someone who thinks Apple devices are superior only or Android devices are superior only ?
Devicist ???12 -
Client push back: when the client wants an impractical feature to be implemented and you tell them HELL NO, with a little sugar coating of course
-
Lost 1.5 hours on Java trying to write a file until user enters EOF. Filled the program with .flush(). Then @freddy6896 points out that i was using Ctrl+C instead of Ctrl+D, killing the process before the .close() :/
-
Its funny when your code is tested by your peers and they approve it and it works...and when you present your progress to your PO he says it doesnt work...hmmmmm1
-
Something very interesting today
I worked on an API feature and it was approved and merge to the stable copy of the project. But then comes the demo.
Now we used Heroku(this devil)
The database uses sqlite. I can register an account on the web application. But the user table has only the admin account even though i have successfully managed to register.
I dont know what sorcery this was!
I simply went with the saying "it is working on my local machine"
Only to realise minutes to the demo the build pack was not done well at the beginning...
What is life... -
Stack overflow is full of useless assholes, like I asked a specific question about a problem I am having that is similar to another problem that exists but it is not the same at all in terms of how to fix and instead of helping I’ve got 2 downvotes on it and a comment linking me to a completely unrelated stylistic based question based on something I SAID I HAD ALREADY TRIED CHANGING IN MY QUESTION!!! Here’s my question btw in case anyone can help here before I smash up my laptop 😑:
I have a piece of code in which I am trying to read in words which have been categorised using a number and then placed in a text file in the following format "word-number-" with a new line for each word. However, despite not mixing cin>> and getline and having tried a number of methods I still cannot get it working.
So far I have attempted using a cin.ignore() call to clear any '\n' char's from the buffer, as well as checking if the file is opening in the first place (it is), and using the >> operator instead throughout my code however I could not get that working either. When I place the get line call inside the condition of the while loop, the while loop doesn't run, however when I make the while loop condition a .eof() call it will run once however when I try to print the text that has been read from the getline call it just prints a blank line.
if(file.is_open()){
while(!file.eof()){
getline(file, text, '-');
count++;
cout<<count<<endl;
cout<<text<<endl;
if(count%2 == 1){
wordBuff = text;
}else if(count%2 == 0){
if(stoi(text) == wordClass){
wordList.push_back(wordBuff);
}
}
}
file.close();
}
While I recognise there are a lot of other questions on this out there I cannot seem to get any of their solutions to work and the vast number being related to people mixing the >> operator and getline doesn't help, so any tips or solutions will be of great help -
All married devs here who married devs
Why did you chose a dev and not another profession?
Of course skipping the love4 -
There are days you feel like a God and there days you have no idea what you are doing in the dev space.
All in all perseverance with a whimsical tone -
Pycharm why you no allow me to continue to use the professional edition...
Damnn and they way pycharm has served me well7 -
You build, develop and test systems and software...but because its under the bracket of IT, they think playing music and kinda sorta being a DJ and watchman of a laptop during a promotion is sufficient for you.
-
Focus: Get up and walk around, disturb someone(calculated disturbing), break a window,
Procrastinating: DO IT NOW, JUST DO IT, MAKE YOUR DREAMS COME TRUE
....sorry
Yes my 2 cents -
Can i just get a simple consistent react tutorial that goes step by step even when consuming an API...
IS THAT SO HARD TO ASK FOR? -
Shallow() or To Mount()....shit react tests have been killing me. The issues on github have not been resolved. And our team lead has insisted on them even more. Haha they way I have been ditching them.
-
I'm pretty sure remote teams don't work with the remote team doing all the coding and we have the same exact JD and in the same department...*sigh* when management are foreign, they really are afraid of letting the local tech team help out. No wonder we are 3, sorry 2 since a fellow dev left to a better job in Amsterdam
-
Damnnn my Team lead is hinting that i write a test for the feature I paired with a team member.
But the large django code base is ridden with abstract classes and classes and inheritance etc...its going to be a long night -
A v dumb C language question....
Consider this code snippet:
{
while( getchar() != EOF )
printf("a");
while( getchar() != EOF )
printf("b");
}
Is there some way to get inside the second loop? After I input some text, ctrl+D sends in the text stream and loop 1 executes, then the control waits at the test for loop 1 again, pressing ctrl+D again triggers EOF, but it ends up skipping all loops after24 -
Writing a x-platform cli tool in Go designed to be an infinite REPL until EOF if no arguments are passed. Code works great on Linux and Mac as-is but not on Windows. On Windows it only works at all if args are passed.
WHY.
And people wonder why I don't like Windows. It's a shame my userbase has so many tech-saavy Windows users. If not for them I'd cut that git branch off the repo in a heartbeat. -
Ran a test today. It was comparing whether a the reducer returned the correct state when a type and list is passed to it. The test failed. But something very curious happened. I am using webstorm and so the IDE told me 'click to see differences'. I did and the message at the top read as follows "The 2 lists are identical" (The expected and actual result). So my test worked but it didn't work. What is life!? I finally got it working though😕1
-
Repel people who think just because I did IT (and they skip the part to ask, what specifically in IT), I can fix their computers only and I'm of no use beyond that. Immediately they think "he is an IT guy maybe he can fix..." Vrooommm and they are no longer in my view
Magnetic repulsion like how Magneto pushed away Logan in "Days of Future Past" -
Use Linear gradient ...
No use rgba
Arghhhh...okay rgba looks OK...wait linear gradient is better...no wait
Hallelujah!!!!!2 -
Well here i thought i would have done work...and pooof its time to go home
All i did was refactor with and make PR...
*SIGH*
I guess today was one of those days where little work was done -
I was out of work for 6 months...I applied at a company that takes in devs and trains them. There was a test, then a personal interview, then a bootcamp process...it was hard. But I pulled through.
-
Why does the biggest mobile money payment system in our country have such crappy documentation! Arghh
And they tell us to read the DOCUMENTATION it has all the answers -
QA to Android Dev : "the app just force closed"
Android Dev : giving a Darth Vader look pretending to use the force.
QA : "won't work on me, i have the FORCE CLOSE" -
What's the difference between EOT, EOF, and EOD??? I can never decide which one to use. I see END in Heredocs a lot too...1