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 - "aargh"
-
Seriously anyone who doesn't use english names for variables and shit, get the fuck out! I don't care how many dicks you sucked, don't fucking do it!
I'm working on redoing a somewhat big database with a small team and the fuckers who designed the new database decided to use danish names everywhere and misspell shit! What the fuck are you doing!
Who the fuck calls it a birthdate? and misspells the danish equivalent?
And what the fuck is this, using _id and ID like they are the fucking same thing!?!
For the love of all that is holy, stick to english, one naming convention and check your crap spelling!
AARGH!19 -
So my mom says her printer isn't working anymore. I sit and battle with drivers and mysteriously missing virtual usb ports for two hours, give up, we decide to buy a new printer.
Next day she says her scanner isn't working either.
It's only then that I notice her USB hub cable is unplugged.. aargh. -
Just had a User asking to recover something from her Deleted Items folder which is where she puts things she wants to read later. Seriously! I thought this was a joke but people really do do this! The clue is in the name: "DELETED Items". Aargh!1
-
Dev Team: Please provide us requirements for the rewrite of the website.
Business Analyst: Can you look in the code and tell me what it does today?
Dev Team: Aargh!!!! -
Before covid 19 I was already working from home. But now I feel that the media makes it sound as if we have 40hours a day. Get more hobbies, practice them all, at the same time! Pfff1
-
We are 3-4 days away from deployment to production. We are still bug fixing. But one coworkers decided this is the time to make a fuss about the way everything is set up. He doesn't like the dev database. So he knocks it over.. and while so doing it, he doesn't inform the team. And when I ask if something else is gonna knock over? No answer! (And something broke down too..)
Now we have issues to test our bugfixes. The whole thing took me half a day finding out and made me distracted with frustration, and not just for me. Most bugs could've been done in that half a day!
I so wanna punch the guy xD but no, I gotta save face, pfff!2 -
jenkins tests passing but travis failing. now travis passing but jenkins failing, aargh!
more beer needed... -
I hate web development, I didn’t study CS to make web sites, I like learning new things but when web development is involved and especially certain libraries and frameworks, it seems that I always have to learn again the same thing with a different flavor and I feel stuck in the same place… and at the end of the day it is always form this, validate that, download those AARGH!!
Maybe it is just a bad day6 -
When people are too busy complaining about doing documentation while they are putting medical devices on the market with fatal defaults.
Oh sure, endless meetings and a little note in the manual will fix that..3 -
Yesterday: Enjoying my VFIO machine running on Ubuntu. Windows nastiness confined to a VM, full performance graphics. Heaven.
Today: Take a system update. Systemd hanging on boot. No console output because systemd helpfully prevents all that from showing. AARGH!1 -
My university decided to switch their mailing software to outlook. So no smtp/imap in the future. How am I supposed to do my mailing stuff now? I use older ("non-microsoft") mail clients like mutt or upas? What about standards? Aargh19
-
So DTU just decided to update one of the central systems, they project that the system will be offline for about 12 hours.
Just so happens that IT'S THE FUCKING SYSTEM THAT ALL STUDENTS NEED TO USE RIGHT FUCKING NOW.
Just about everyone has to hand in assignments tonight! 🙄
Well, I guess it's better than deploying on a Friday... (it's Wednesday) IF IT WASN'T BECAUSE THE STUDENTS ARE ON FUCKING VACATION FOR THE ENTIRE NEXT WEEK!
AARGH!3 -
Unit testing with NSubstitute and Autofac
For the most part, I find it a lot simpler than SimpleInject (hmm) and Moq, which I have used previously.
But there are still some of those 'Oh, for fucks sake!'-gotchas.
I was trying to test a class today where I wanted to substitute all other methods in the class than the one I wanted to test == an actual unit test.
I had previously found out how to do this:
1. Make sure the methods that should be substituted are internal to allow substitution.
2. Substitute class with Substitute.ForPartsOf<T>(args)
3. Set up methods that should not be called with instance.When(a => a.Method()).DoNotCallBase()
This way, you can unit test a class properly and only call the method that you want to test, and also control the return values of the other methods if needed.
So as I said, I have used this before to great effect. But today I just could NOT get it to work! I checked and rechecked everything but the test code kept calling the implementations of the substituted methods!
I even called over another dev for help, but he couldn't see the problem either.
Aargh!
I scoured the internet, but everyone just told me what I already knew: follow the 3 steps, and all is well. Not so!
I ALMOST considered doing the test improperly, as in, increasing the scope beyond that of the method I wanted to test.
But then it hit me... My project was missing this line in AssemblyInfo.cs:
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
I always add a line to make internals visible to the test project, but I had forgotten that NSubstitute needs this line as well to work properly.
Sometimes when a test fails it will tell you that you are missing this line. And sometimes it just doesn't work.
Maybe I will remember this in the future now. Maybe 😅 -
Anyone else get frustrated by the dust that sits on top of your computer?
Fuck me but I fucking hate this dusty shit, keep cleaning the screen and the keypad but oh well, next time I open there it is - all in its glory.
And there's this fucking constant worry that shit that dust might've gotten inside the laptop and now the performance is gonna fuck up.
SO FUCKING IRRITATING AARGH3 -
Trying to explain to windows noob that Linux isnt just one distro rather a couple of different ones is a bitch.. aargh.5