Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Just when I thought Microsoft is going in the right direction with the launch of dark Surface products and dark mode for Windows, they took all my hopes away with their shitty Windows Update thing. Completed download and rebooted to find out that the update has vanished. Great, thanks for wasting my data, Windows. :3
I got asked today by my non-tech friend what happens when you delete system32 so I gave him this video.
In case you get asked the same question here's your shortcut
Fuck in app browsers. They should be fucking banned, honestly.
Instagram, Gmail, Kik, any if you cunts that have browsers in your app... Go fuck yourself.12
There is SAS (Language)!
There is SAAS (Software as a Service) !!!
There is SASS ( Css Coding )!!!
Next will be : SSAS !!!18
I imagine those researcher must be like : "Would you give us your password? It's for a research project"2
When you realize all personal projecrs end up being proof of concept prototypes working just for you and youd be ashamed if someone looked at the code behind it.3
Somebody ranted about VIM being ported to web assembly. I present to you: Windows 2000. In your browser.
A is for Assembly, a wizard's spell
B is for Bootstrap, so bland and the same. And also for Brainf*ck, will blow you away
C is for COBOL, your grandad knows that
D is for daemon, your server knows what
E is for Express.js, you node what is coming
F is for FORTRAN, which is perferct for sciencing
G is for GNU which is GNU not UNIX
H is for Haskell using functional units
I is for Intance, An action of Object
J is for Java plays with them Always
K is for Kotlin, Android's new toy
L is for Lisp, scheming a ploy
M is for Matlab, who knows how it works
N is for Node a bloatware of code
O is for Objective Pascal, you did not expect that
P is for programming, we all love to do that
Q is for Queries, A database is made
R is for R, statistics are great
S is for Selenium, you have to test that
S is for Smalltalk, let's make it all brief
T is for Turing Test, how human is this?
U is for Unix, build with all talents
V is for Visual Studio, built with all laments
W is for Web, lets build something cool
X is for XHTML, remember all that?
Y is for Y2K, I'm tired as f*ck
Z is for Zip, let's zip is all now.
Get yourself coffee and back to the grind.8
>22 year old college student
>Apply for a QA internship
>Interview goes well,they see I have plenty of experience and doubt it's real
>Hard questions are thrown
>Answer them and they admit the position is for manual testing
I honestly don't care I need the money, plus manual testing doesn't usually strain me.
>A week goes by
>A month goes by
>...Sorry we were looking for someone with less technical and dev experience.
My fucking face when I don't have a title, still overqualified, fighting with WordPress devs on freelancer.11
That feeling when...
...you can't build a project because you can't autogenerate some files because they rely on some other autogenerated files that rely on some other autogenerated files that can't be generated because the project can't build...
Just another day in the eye of the dependency hurricane!
Have spent the better part of two days trying to fix the build because I foolishly tried to update some NuGet packages :-(
Just thought I would share a really cool tool I found when writing my documentation in markdown.
Check out https://typora.io its a markdown editor that is easy to use :)4
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.
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:
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 😅
Fuck you if you are here for ++ upvotes.
Instead try to be a part of an amazing community and interact to broaden your narrow mind beyond upvotes.
This place is beautiful. This place is my internet home.28
God Damn Privacy Regulations
New terms of service for your account
Sigh...if i we're EU citizen it would be for the best, except for those businesses that can't bother to update but I'm not even EU.
Email filter activated!2