The WordPress plugin Broken Links Detector reported over 900 links on my blog that have some sort of problem. Meaning an URL can’t be reached or even the linked server doesn’t exist anymore. I started blogging about 12 years ago. Websites come and go, domain names change, blogs are moved to different locations. The internet changes constantly.
My server was dead. Not even a little blink from one of the many LEDs in the system or some other sign of life when putting the power on it. So I figured that replacing parts would be like a puzzle. Is it the power supply? The motherboard? The CPU? Or a combination of any of the parts? Replacing one of them would easily cost me about 100 euro. So I did some math, and figured that hosting was not only a relatively cheap solution, it also has many advantages (that all of you IT people can list better than me).
I went with DirectNIC, since I have been using their services for over 15 years now.
And as you can see, it just works. I had to do some work to restore the WordPress database, since the last backup I had on my NAS disks was from the end of 2015. But with some diskswapping, file copying, MySql-dumping+importing and WP-CONFIG changing it now works.
I was looking for icons to use in MenuItems in a WPF menu and found that there are a lot of questions on how to do that. It’s not very difficult, so maybe the documentation is not too clear about it.
Create a folder in your project, for example “res” or “resources” or “images”. Put some graphics files in there by right-clicking on the folder, choosing Add and then choosing Add existing items.
To use these images in your XAML, follow this example:
<MenuItem Header="E_xit" Click="btnCancel_Click"> <MenuItem.Icon> <Image Source="Resources/Exit.png" Width="20" /> </MenuItem.Icon> </MenuItem>
In my project, the images are in the Resources folder. And that’s all there is to it.
Happy new year, people. It’s 2016 now. Make it a successful, loving, caring, and meaningful one.
Since the server is back online (still going strong) WordPress began to nag me again about a new version being available 😛 So I decided to upgrade. WordPress itself and 3 plugins. Worked like a charm. No hangs or freezes. Yay! Guess buying new memory for the server will be on my to-do list right after Christmas.
The server is having problems. Installed an extra NIC, to rule out problems with the onboard NIC, but that didn’t solve the problem. Removed the memory DIMMs now, and replaced them with two out of my desktop machine, since that had 4x4G and I don’t really use it at the moment. So they both now have 8GB internal memory. The desktop memory is Corsair Vengeance, the server memory was some value ram. Hopefully the Vengeance dimms will solve the system freezes.
As .NET developers we all know the problem: an external library/framework comes in an x86 and in an x64 flavor, so referencing one excludes building for the other and vice versa. Here’s an excellent blog post how to solve that. What surprises me, is that this post is from 2010, and Visual Studio still does not support referencing both platforms in one go.
When you are a developer, you probably know this problem: you need to send mails from your application, but you cannot just use your company’s mailserver for developing/testing purposes. So you end up using Gmail or even installing a mailserver on your development PC.
When you’re using Windows, you probably don’t need to. There is this great *free* tool that enables you to receive mail via SMTP. It does not send mail, but you can view what the mailmessage was, including a option to view the headers etc. It’s called Papercut. It hides conveniently in your system tray. Go check it out!
Yesterday my server, or to be exact: my domain, was unavailable. I completely missed the expiration emails I received, and did not renew the domain on time. That results in the domain being put in quarantine. But I choose DirectNIC for a reason: they are professional and they are quick. So after contacting them and explaining the situation, paying the neccessary fees and boom….within two hours (including the email exchange and lifting the quarantine status and paying for the whole shebang) my domain is back up again.
Thank you DirectNIC. I’ll be more careful next time (next year!).
This week I bought StarCraft II: The Complete Edition. Did some campaign in Wings of Liberty and Heart of the Swarm, had an Archon session with my colleague, and today I finally won a 1VAI game, albeit a “very easy” one. But that’s my level at the moment.
To get better, I need to practice. A lot. It’s not like Diablo3 in which your heroes get more powerful by getting better gear, it is me that has to improve. What do I need to build. When do I need to build it. When can I attack. What do I do when I am under attack. And most of all, I need to do that by keyboard preferably, not by clicking around in the build menus.
For now I like the Zerg the most, but I’m warned that it is a difficult race to deal with. One of the advantages is that the larvae can mutate into just about anything, but overall Zerg needs a lot of (micro)managing.
So….practice, practice, practice. And set realistic goals. Play 5 times per day is realistic. Win 5 times a day is not.
Update: just had another win. Ultralisks are nice creatures.