Sunday, June 27, 2010

Soluto Launches Software that Decreases Boot, Improves Performance

Soluto Launches Software that Decreases Boot, Improves Performance
Sarah Perez


An application called Soluto (beta) just launched at the TechCrunch Disrupt conference, where a number of new startups are now being revealed. This software aims to improve PC performance by analyzing a computer's boot up process to uncover which installed applications may be slowing the computer down. According to the Soluto website, the software can cut down on PC boot time and improve on-going PC performance.

As TechCrunch explains, the app helps with performance by tracking what applications were running when your PC has a "hiccup" (a momentary lag in performance). And through its back-end, it tracks other users who have that same problem. If someone, somewhere in the world, makes a change that fixes the issue, Soluto tells the other users about the suggested fix. Crowd-sourced troubleshooting!

Another Soluto project, this one yet to launch, is called PCGenome. This piece of the puzzle would actually solve PC problems by not only identifying issues, but then automatically fixing them.

Those interested in testing the Soluto beta can sign up to do so now, but be forewarned. The label says "beta" which means this app could cause issues of its own. I'm heading off to download it now, so I can't report on its stability just yet. But from the description, it sounds like a promising solution for both non-technical users and anyone else who wants to speed up their PC.

Socket programming vs. WCF [Ashish Khandelwal]

By Ashish Khandelwal, July 29, 2009

A very simple scenario where client sends a request to server to perform certain action. There is no much data transfer between two parties – Probably no more than 50 bytes. We need to decide whether we go with Socket programming or use WCF (request-reply messaging pattern).
The analysis says:A socket is an address which combination of an IP address and a port into a single identity, much like one end of a telephone connection is between a phone number and a particular extension line at that location. When an application creates a socket, the operating system forwards incoming IP packets to the corresponding application or service process by extracting the socket address information from the IP.
Therefore, in the base of WCF there is socket programming. But with WCF lots of work is already done for you. E.g. with WCF you'll get plumbing and serialization and such. The Protocol is already figured out for you: request/response message passing. The lowest level transport details are already implemented for you. The security features are coded. You just need to choose and configure.
With socket programming you will require much more work and testing, but can potentially be faster. You'll have to create your own protocol, decide how messages are serialized and so forth. Basically if you transport byte[] data then Socket programming is best because you will not be required to serialize you data on both side.
I will say that WCF is kind of collection of APIs give to us over the socket programming with various options and feature. We just need to choose the suitable option.

Friday, June 25, 2010

Sometimes an enum is not the best idea

In our application we are dealing with a limited, but slowly growing number of suppliers. In some parts of the code each one is treated differently, in others parts we only have to identify them. Their id which is also understood by the outer world, is a simple integer number. At first sight a nice and clean solution would be to use an enum.

Thursday, June 24, 2010

آغازی دوباره


سلام دوستان
در این وبلاگ قصد دارم تا در مورد هر مطلبی که یه جوری به کامپیوتر مربوط میشه بحث کنم.
سعی من بر اینه که بیشتر پست ها رو از خودم بنویسم، اما ممکنه بعضی ها رو هم فقط ترجمه کنم.
لطفاً نظرات و سوالات خودتون رو در بخش Comments بنویسید یا به ایمیل وبلاگ ارسال کنید.

با تشکر.
Dr TJ
خدا نگهدار