Today, I need to use an instance of synced version of HashSet in C#, aka, ConcurrentHashSet<T> in tech language.
First, I dig some in GitHub and NuGet. I found 2 solutions contains this solution, as they described. One has the exact name of ConcurrentHashSet, but it’s not implemented the ISet<T>. Another is a big set which contains this class with the name, which is written using ConcurrentDictionary<T>, with no ISet<T> implemented either.
Hmm, it seem that if I really need ISet<T> support, I have to do it myself. Let me create class inherited HashSet<T> to write some overridden methods and properties with lock… Wait a minute, only 3 methods from Object is allowed for overriding? Wtf.
If I cannot stand on the shoulders of HashSet<T>, let me dig the HashSet<T> first. Luckily, Microsoft released the source code of the entire dotNet framework. HashSet<T> is included as well. All I need to copy the whole code into mine and… Uhh? What’s the license of the file?
By asking a lawyer friend, I’m told that I MAY have right to use this code in my program but I’m NOT GRANTED to publish the ConcurrentHashSet<T> I wrote separately. That maybe the reason why I failed in the first step — Microsoft didn’t finish their job and don’t allow anyone to fix it for them.
There are 2 things you should have in mind about TFS 2015 Upgrading.
1 The database upgrading process will cost much more time than upgrading among Update package of TFS 2013.
2 The dedicated SharePoint integration package is removed and M$ did a shit test again. If you, like me, installed TFS on a server other than SharePoint cluster, now you have to install the whole TFS on all SharePoint servers. After the installation, the upgrading wizard will be popped up but it will failed due to no database can be found. You have to choose to install SharePoint integration role yourself. And after that, you will know that TFS SharePoint integration package 2013 will NOT and NOT ABLE to be removed, lol, just another piece of crap.
For downloading from multiple file hosts, I tried Zevera for a short while.
It’s failed to deal with the URL including encoded characters. For others, it acts quite slow (1~10KB/sec) to my home. I know each software and website has its limitation and I don’t plan to blame Zevera at the beginning.
I googled to try to get a refund after my test. Why I have to google for that? Coz there is no link on their page for refunding and the link provided from the support forum is wrong. Here is the policy I got: http://api.zevera.com/RefundPolicy.aspx.
If you are not satisfied with your premium account you can request a refund in the first 5 days if you haven’t downloaded more than 8 GB or more than 10 different files.
At the moment I emailed them, it’s just 2 hours passed from my payment, and no more than 5 files nor 500MB data is downloaded. Since the day I write this, after 7 days, no response, no refund, nothing.
After 3 days, I mail them to get a support about refund and provide a link that cannot be downloaded. The sad thing is after the mail sent, the host of that link died. One day later, the response of that email is the link is dead and “Your refund request cannot be approved at this time.” Yes, you get it, as they said “if you are not satisfied” is not a reason acceptable at all. I replied the mail with another link with encoded characters in URL, no response again.
If you find there is something wrong and prove to them, they will just ignore you. If you want a refund with your problem, they will not accept that.
How many people in the same boat? I don’t know. Because talking about refund in official forum is not allowed. “REFUND REQUEST – All topics with refund request will be deleted!” as they said.