Let’s relax and spend 7 minutes on watching Eddie Izzard’s Encore on Computers.
How many times you said so after spending hours on chasing a bug? There’s always one f#$%!@ thing you haven’t done…
The blog for developers
Let’s relax and spend 7 minutes on watching Eddie Izzard’s Encore on Computers.
How many times you said so after spending hours on chasing a bug? There’s always one f#$%!@ thing you haven’t done…
Wanna check what’s the whole buzz about C++11? Are you interested in what has changed comparing to the previous standards?
Herb Sutter wrote a great abstract with list of features of C++11 that give impression it’s a new language. In the article, there’s a link to the other useful resource, C++11 – the recently approved new ISO C++ standard (by Bjarne Stroustrup).
Ok, I haven’t attended either of editions of Norvegian Developers Conference, but I stumbled upon a link to one of the videos from that conference somewhere at Software Testing & Quality Assurance Videos& Tutorials.
I watched one session and followed it by the other one. I’ve only seen two of last year’s session for now but I don’t regret and will definitely come back and watch more. Having looked at the speakers and agenda, it seems it was a decent conference. If you have a moment, visit the the agenda of NDS2011, with links to videos, and look at the sessions. Probably, there are a few you might be interested in. Watch it/them and be happy to safe some amount
It’s end of January 2012 by now, but I decided to share some stats on what was going on with this blog in 2011. If you fancy reading my stuff (is there anybody?
) you might find it interesting.
Let’s get down to the business:
What if you need to undelete a file or bunch of files that at some point have been deleted from TFS? Naive option would be to get the content of the file, copy it, create a new file, and paste the copied content to just created file. Of course, this is not a good option because history of changes to the file(s) will be lost.
Continue reading ‘Visual Studio TFS: How to undelete file(s)’
How to get service name listening at specific port in C#? What you have as input is only two pieces of information: host name and the port number the service is listening at.
Apparently, .NET does not provide such feature so one needs to stretch a bit to get the answer. What I can suggest (I’m far from saying it’s good approach, though) is to get the name in two steps:
netstat -a -o and parse the output (ouch!) to get ID of the process (PID) that is listening at given port numberSELECT Name FROM Win32_Service where ProcessId = PIDFollowing this will give you what you want, but to be honest any time I need to parse output to get some information I feel anxious… This is the first place in the code where errors can be introduced.
If there is/are better/safer way(s) to retrieve service name having the host name and port it’s listening at, please share it.
If you have never used RockScroll you are probably most comfortable with standard scrollbar Visual Studio offers. I guarantee you, however, that the moment you install RockScroll and work with it for a while, you will miss it a lot if you switch to Visual Studio that’s not extended with it. I’ve experienced that many times when kneeled at a teammate’s desk trying to help him move on with their task. This is probably best moment when you will realize that Visual Studio misses a thing without RockScroll
Here are most important pros that make me think RockScroll is must-have plugin for Visual Studio:
Continue reading ‘Visual Studio: Improved navigation through the files with RockScroll’
What is the outcome of the simple program below?
#include <iostream>
#include <conio.h>
using namespace std;
class Base
{
public:
void DoSth(int tmp)
{
cout < < "Base::DoSth(int)\n";
}
void DoSth(char tmp)
{
cout << "Base::DoSth(char)\n";
}
};
class Derived : public Base
{
public:
void DoSth(int tmp)
{
cout << "Derived:DoSth(int)\n";
}
};
int main()
{
Derived d;
d.DoSth(5);
d.DoSth('c');
getch();
return 0;
}
Continue reading 'C++: Overriding methods – problem with hiding overloads in the base class'
One of the sessions I liked most on Microsoft Technology Summit 2011 was one delivered by Krzysztof Bińkowski – it was about certificates and PKI in context of Windows Server 2008. I’m not going to describe the session here, but wanted to share the tool that might help better understand the world of cryptography.
To better explain theory provided on his slides, Krzysztof used CrypTool. Let me cite the authors of this tool to give you a basic idea on what CrypTool is:
CrypTool is a free, open-source e-learning application, used worldwide in the implementation and analysis of cryptographic algorithms. It supports both contemporary teaching methods at schools and universities as well as awareness training for employees and civil servants.
Continue reading ‘CrypTool – understanding cryptography with examples’
I find this book relevant and very informative. If you want to master LINQ lingo, just read it.
For broader evaluation see my review on DZone.
P.S. DZone’s IT Book Zone is another great initiative. In short DZone gives you a free copy of a book and expects to receive its review in return. Fair agreement – one can stretch the envelope of IT domains for free, while DZone broadens thier public resources.