9. October 2016 13:59
Each day I am creating so many temporary files that I can’t really give you a count. Sometimes it’s thousands. Opening attachments from e-mails and instant messengers, saving images from internet for a single use, opening archives, deploying software and many other tasks – they all create temporary files that may stay in a hard drive for years.
By temporary files I don’t mean the files created by applications to temporarily store data. I mean the actual user files you don’t intend to use in the future.
Another type of temporary files is log files. Usually we have them on servers. Web server logs, mail server, your own application that creates a set of log files each day – usually you don’t need to store these files for more than a few months. Especially if these files are stored on virtual machines, like Azure or Amazon, where you are paying for each megabyte of storage.
There are two aspects in temporary files that may justify doing something about them:
1. They take space or they are produced in numbers that decrease the performance of file system. The file doesn’t have to take all the space of the drive – it’s enough to have thousands of files in one directory to make Windows freeze every time it’s trying to find and list these files. For some directories we would prefer to have a threshold of a particular time after which these files should vanish.
2. They may contain sensitive information that you wouldn’t want to leave behind. Of financial, medical, business, political or any other nature – when the file has expired, there is no need to keep it, but some files may require special care in form of secure erase. More...
23. September 2013 14:40
Finally, here comes the Windows 8 port for my Windows Phone 8 (and 7) currency converter published 3 weeks earlier.
There was no real need for it, excerpt for the Microsoft’s challenge to create an application and get 100 installations by the end of September (so I still have a week!). Anyway, the result is good and even useful, which is quite unusual for Metro apps.
I have to operate 3 currencies on a daily basis, and therefore I have to use converter. But I wanted to get rid of advertisements and privacy issues. For example, the XE Currency converter, apart from usual advertisement, has a problem with privacy. For some reason it sends to its server a lot of irrelevant information, such as the model of my notebook. Why? I have no idea, but I didn’t like that.
So, when I had to create the first Metro app, the topic of choice was very obvious and not very original - the currency converter.
The saga of certification and myth busting (remember the “just copy your code to another platform and it works!” fairy tale?) will follow soon, but for now - Ladies and Gentlemen, you are very welcome to install and use the brand new free currency converter for Windows 8.
Here is the link to Windows Market: http://byte.lv/Z
6. October 2012 22:22
This article is about free software I made to automate the deployment of exported Hyper-V machines. More precisely – Hyper-V machines of labs for Microsoft Official Curriculums (MOC), used by students at Microsoft official training classes. It should be interesting for MCTs (i.e. Microsoft Certified Trainers) out there, whose job is to deploy labs in form of Hyper-V virtual machines, as well as for system administrators having the same duty of periodic installation of Hyper-V virtual machines. The installation procedure of a pack of Hyper-V machines could be extremely time consuming. Or should I say - used to be.
I will speak about it as about the solution for a lab deployment problem, but if you are working with other virtual machines, just think about the similarities with your scenario.
27. August 2012 13:37
Sometimes I need to copy large files simultaneously to several tens of computers. Like – Hyper-V virtual machines for training courses, and sometimes they take up to 60 Gigabytes. Usually these files reside on a single file server, connected to the local network by 1Gbit NIC, but even if nothing else is taking the bandwidth from that file server, copying 60 Gb to 20 machines would take more than 11 hours – that’s the amount of time it takes to transfer 1200 Gb at the speed of 30 Megabytes per second.
I wanted to reduce the overall time of deployment to about 70-90 minutes, or about 10 times. And this article is about how I’ve accomplished that goal.
2. May 2012 02:03
Have you ever heard about ReactOS? It’s an operating system which was in “alpha” state for the last 16 years (!) and is basically a free, open-source Windows clone. It looks just like Windows XP / 2003, but the code base is written from scratch. However, the software written for Windows should work just fine on ReactOS. That’s the goal, at least. For now, applications like WinAmp and uTorrent work stable on current release.
Just about now the founder of this project, Aleksey Bragin, sent an e-mail claiming he is fundraising to actually hire full time developers for his OS. Until now it was a hobby for everyone, but now he is about to make it real. Taking into account that his goal is quite modest 30 000 euro, I think he’ll make it in no time, so the only question that is left open – what’s next?
Either he is going to ship this OS (to potentially free millions of PCs from the inevitable upgrade of Windows XP), or he wants to rise the price of the project to sell it. In a latter case, the question is who would buy it – would it be some social network, financially capable to have a pet operating system, or would it be some ill management addict company, which is buying new projects and technologies to substitute previously acquired and dying ones?
More questions than answers, but anyway, I wish these guys a well deserved success.
24. April 2012 13:20
There are two kinds of bloggers. The ones who edit their works offline and the ones who prefer to do it online (or just don’t know they could do it the other way).
Also, there are bloggers who don’t know that they are bloggers. Some websites are built on blog engines, as blog platforms are basically article-optimized CMS systems. For example, the BlogEngine.NET home page is built over their own blog platform.
This article is a comparison of two most widely used vital tools of modern blogging – the Microsoft Live Writer 2011 and MarsEdit 3.5 by Red Sweater Software. More...
20. April 2012 14:41
A few days ago Microsoft released beta of their new technology called User Experience Virtualization, or UE-V. The name implies that it has something to do with virtualization, but it’s just a buzzword. What UE-V does – it synchronizes user settings across workstations, in real time.
Imagine, that you have to log into multiple workstations, and what you want to have is the same settings of all applications you are using in your work. For example, spelling options in Microsoft Office, the layout of buttons, menus and colors – all the little pains that accumulates into the strong headache of roaming for some.
UE-V vs. roaming profiles
The roaming profile could be the answer, but for most of us it’s not. Some of us don’t even have the Active Directory profiles, but still desire the same user experience throughout the environment (translation to human language: every desktop of yours looks and behaves the same).
The difference with roaming is also in fact that in UE-V you only synchronize what you want to, not everything. So it works faster and has less space for errors.
22. November 2011 08:36
As promised earlier, I’ve created a small utility which updates currency exchange rates for currencies used by Microsoft Dynamics CRM 2011 server. It’s fast, reliable and can be run in unattended mode, so you can set it once and forget about it.
A bit about Microsoft Dynamics CRM first
Microsoft Dynamics CRM 2011 is the most advanced CRM system created so far. It allows you to keep track on your customers, partners and rivals and monitor relations in real time. So you can create marketing campaign for all your customers in Denmark with turnover higher than 200 000 euro and who’s main industry is Finance. And send them personalized proposal. And each of that customers will reply to manager, assigned to that customer. And you will track the success of that action in real time, being able to test your genius as CEO. Well, not only that. More...
26. September 2011 18:31
Yet another command line utility written to do some useful stuff in the background. This time it is about file synchronization.
It’s quite often that we need to make 2 directories in our local network in sync. For example, you may want to synchronize folders with photos, backup files or even production files of your web application between IIS web farm nodes.
This program utilizes the Microsoft Synchronization Framework, so basically it does very little apart from what Microsoft already provides. Personally, I am using it to pull backups from TFS server on daily basis and to synchronize shared folders among load balancing cluster of production web server. In both cases utility is running as Task Scheduler task and everything happens in background.
It doesn’t require installation, just unpack it to your utilities folder and it’s ready to go. It requires .NET framework 4 Client Profile in order to run. Another dependency is Microsoft Sync Framework 2.1 (Two components required - Synchronization and Provider Services).
FileSync.rar (114.45 kb)
Installation file, which will also install the prerequisites, such as .NET Framework 4.0 Client Profile:
FileSyncSetup.exe (4.42 mb)
14. September 2011 23:00
This night MIcrosoft opened the prototype of their brand new OS and this build was named “Developer Preview”. Aimed mainly at software developers, it has a copy of not yet released Visual Studio 11, using which you can create software for that same Windows 8.
The only downside of this release is that you couldn’t install it on either VMWare workstation or Windows Virtual PC – it could only be installed on either physical or Hyper-V machine. I installed it on both.
First fascinating things about new OS is drastic change in user experience. I don’t even mean the new Metro and effects, but also much reworked file copying routine and Task Manager. The latter became as useful as it never been.
Although scheduled release date is not yet revealed, and most likely will be somewhere in Autumn of 2012, chances are you can grab a copy of ISOs at MSDN.