VS.NET 2005 ClickOnce Review

I was playing with ClickOnce which is new in Visual Studio 2005 and thought it was pretty cool. Basically, ClickOnce is a deployment technology that enables self-updating Windows applications that can be installed and run with minimal user interaction. ClickOnce applications can be self-updating; they can check for newer versions as they become available and automatically replace any updated files. You can specify the update behaviour; an administrator can also control update strategies, (e....

October 20, 2004 · Amit Bahree

Can you run the new Google Desktop Search?

I guess you have heard all the flutter on Google’s new Desktop Search that lets you find stuff on your own hard disk and all the articles pointing to its a direct challenge to Microsoft, etc. But the real question is, has it been able to work for you? When I try to install it on one of my computers (this instance is running Windows 2000 Professional SP4, I get the following error:...

October 18, 2004 · Amit Bahree

Cell Phones can cause Ear Tumours

Thanks to Murthy for sending this one. BBC has a story , where Swedish researchers found that using your cell phone for 10 years or more increases the risk of ear tumours by four times! The Karolinska Institute study of 750 people found the risk of acoustic neuroma rose by 3.9 times on the side of the head the phone is used. There was no increase in risk on the other side of the head - giving an overall rise in risk of 1....

October 14, 2004 · Amit Bahree

Pocket PC Emulator Issue in VS 2005 Beta (Refresh 1)

I was recently playing with the new compact framework part of Visual Studio 2005 Beta 1 (which is released with the VSTS Edition) and am having a tough time getting to the emulator to wok when I try and debug the application. This is a simple hello world application and I tried using all of the following emulators with no luck: Pocket PC 2003 SE Emulator Pocket PC 2003 SE Emulator (Legacy) Pocket PC 2003 SE VGA Emulator Every time I try and “Deploy” to that the emulator comes up fine and I can connect to it, etc....

October 13, 2004 · Amit Bahree

Space tours to the far reaches of cosmos - and back home in time for dinner

Celestia is probably one of the coolest apps (ever) that I have come across and it really gets the geek-meter high up there, not to mention it is so educational as well, so if you are a geek, or hungry for some knowledge and exploring or got kids in school who might benefit then read on. You can see the giant hurricane on Jupiter, take a quick spin to the moon Io, set off for icy Europa and zoom back to Earth....

October 13, 2004 · Amit Bahree

Another week, a bunch of MS Security holes plugged!

Microsoft today just released another update on a security hole. This honestly is good, that the holes are being identified and being plugged. Yes, I am sure there are the “bashers” who would scoff at it, but the reality is, in the millions of lines of code across various products, such thing creeps in and its better to accept the responsibility (Microsoft) and do something about it rather than being in denial....

October 12, 2004 · Amit Bahree

Top 20 computer threats

BBC is running a story that has the Top 20 computer threats unveiled which covers both Windows and Unix/Linux. Here are the top 10 Windows threats: Web servers & services Workstation service Windows remote access services Microsoft SQL server Windows authentication Web browsers File-sharing applications LSAS E-mail programs Instant messaging And the top 10 Linux/Unix threats: Bind domain name system Web server Authentication Version control systems Mail transport services Simple Network Management Protocol (SNMP) Open secure sockets layer (SSL) Misconfiguration of enterprise services Databases Kernel

October 11, 2004 · Amit Bahree

Update: Change in C# 2.0 and Initialising static fields correctly

If you recall the previous post on instantiating static fields , there seems to have been a flurry of activity at Microsoft. As Peter Hallam writes , it made sense to improve the perf. for the static field initialisers and this you should see in Beta2 of Whidbey. The main issue here as Peter explains is if you have a field initialiser for a static field, which initialises the static field to its default value, you still get a static constructor, or ....

October 8, 2004 · Amit Bahree

Google SMS

Google released a new service enabling you to use SMS to run searches. This service as of now is available only in the US. As their FAQ states e.g. Right now, Google SMS only works in the U.S. We’re working hard to make it available when and wherever you’re on the go. In the meantime, how about a little slice of heaven in Little Italy? (try ‘pizza 10013’) (that is a New York zip code for those outside of US)....

October 7, 2004 · Amit Bahree

What you should know about a new Vulnerability in ASP.NET

Microsoft is currently investigating a reported vulnerability in ASP.NET (does not affect ASP) where an attacker can send specially crafted requests to the server and view secured content without providing the proper credentials. This issue affects anyone running any version of ASP.NET on Microsoft Windows 2000 Professional, 2000 Server, XP Professional, and 2003 Server. The issue at hand really is that asp.net does not perform a proper canonicalization (will get to what it is in a minute) of some URLs....

October 7, 2004 · Amit Bahree

Coolest Google View/Browser (yet)

If you have not checked out TouchGraph , then I would recommend to do so. You need Java JRE 1.3+ to view it but it will map out the url and graphically show you how others link to it. You can zoom in/out, limit the lines between the sites, etc. If you want to use it to the max, then make sure to read the instructions. Below is a snapshot of this Blog - click on it to see the full version....

October 6, 2004 · Amit Bahree

Freeware Utilities you wondered how you lived without?

There are many utilities I have come across over the years - most I used for a bit and moved on because they just did not do the job or were cut out for it or something better came along. A few are very useful from a Developer or Administrator such as Sysinternals . But NirSoft does have a unique collection of freeware utilities that will please to most computer users across the board (a whole bunch with the source code), and range from Password recover utilities to Network Monitoring Utilities, to Internet related utilities such as TurnFlash - a small utility that allows you to easily disable and enable the Macromedia Flash player component in Internet Explorer - which is a great help now as more and more web sites have close to full-screen advertisements....

October 6, 2004 · Amit Bahree

Indigo in Five Minutes?

Though Don Box does try and explain Indigo in five minutes , he misses “Why” Indigo as he explains again . :)

October 6, 2004 · Amit Bahree

Need a new job... check out a blog. How about one for Microsoft?

NY Times is running a story that highlights on how more companies are using Blogging for hiring employees. Five years ago, few people had heard of blogs, now, more than two million Americans are blogging, according to a study by the Pew Internet and American Life Project and blogging is spreading in the job market, said hiring managers and experts who study blogging. Job seekers use blogs to establish a strong online presence, display their skills and advertise their availability....

October 6, 2004 · Amit Bahree

Patent office rejects Microsoft's FAT Patent

Picked this up from Karan’s post and was quite glad to read it. FAT has been around fro ages and Microsoft trying to patent it does not fit in the common sense mode thinking that most of us are use to (ya right!). Its the same as some bright people in USA tried to patent some of the Ayurvedic medicines that have been practises in India for the past five thousand years, which identify a person’s constitution and treats the person with diet, exercise, meditation, herbs, massage, sun, and breathing to bring harmony to the physical, mental, and spiritual health of the individual....

October 6, 2004 · Amit Bahree

Quiz: Initialising static fields correctly

Brad Adams has an interesting post on this blog, but before you go and read it, take a crack at it here and let me know what your answer is. There is an interesting thread going on there and I honestly cannot figure out the “bug” and being the impatient fool I am, I need to know the answer! :) A dev on the team recently found a bug in Whidbey a long these lines… Say you want to initialize the value of a static int to zero… which code should you use (C1 or C2) and, of course the most important point, why?...

October 6, 2004 · Amit Bahree

Second Peek at Microsoft's Search Engine

The folks at Redmond, just released a 2nd preview to their new search engine . Based on my little bit of playing around, if this is their answer to Google, then unfortunately there is still a fair amount of work left. I was quite disappointed and instead of “wasting” more time in it went back to Google. E.g. if you search on my name “Amit Bahree” both on Microsoft’s new search or Google you get very different results....

October 6, 2004 · Amit Bahree

Assembly signing changes in VS 2005

Bruce has a post (which I verbatim here) highlighting one of the small changes in Whidbey which will make life easier for a whole bunch of us. In Whidbey, the name of the .snk file is included as a property on the project and is picked up my msbuild when compiling. To get to it: Right-click on the project in the solution explorer and select Properties. Click on the Signing tab....

September 30, 2004 · Amit Bahree

Signs you are becoming a geek!

Thanks to Wai for pointing me to this one. Before we go on, I would like to point out that there is nothing wrong in being a geek. Signs you are becoming a geek: Monitor tan. Before heading to the bathroom you inform your friends you’re off to download and log out. You become physically ill at the mention of the RIAA, and visibly excited at the mention of object-oriented programming....

September 30, 2004 · Amit Bahree

Fastest way to build 10K records on a Device?

Tom Krueger is a Microsoftie and spends a lot of his time dreaming up and working on Smart Clients. He was a very quirky and informative post on the Fastest way to build 10,000 records on a Device? Tie one end of a piece of string to the WiFi antenna, if your device has one, and tie the other end to a tin can. Enumerate the 10,000 records on your desktop computer and verbally dictate each record into the tin can....

September 29, 2004 · Amit Bahree

Lucky Dad's 8000 miles away!

Karan pointed me to this one on Yahoo and the boy am I glad that my dad is 8000 miles away in India! :o) Though I am a vegetarian, this could easily enough be “Paneer” . :o) BLUEWELL, West Virgina - A family meal erupted into a gun battle after a father and son clashed over how to cook chicken. The two men argued Sunday over the best way to prepare skinless chicken for dinner....

September 29, 2004 · Amit Bahree

Why are T, K, V such a hot topic in Generics?

Is something as simple as do the T, K and V parameterised types make sense versus mnemonics in Generics a hot item to talk about? You bet, people cannot seem to get enough of it .The crux of the issue here is do T, K, V, etc in examples like List, IDictionary<K,V> make sense versus something like List, IDictionary<Key, Value>. Apparently both sides make seemingly valid arguments and from what I gather, its also a hot discussion topic within Microsoft....

September 29, 2004 · Amit Bahree

Top 10 Bush Tax Proposals - John Kerry on David Letterman

Ah, the political heat is in the air here in the US and the mudslinging is in full swing. Here are the Top 10 Bush Tax Proposals: 10. No estate tax for families with at least two U.S. presidents. 9. W-2 Form is now Dubya-2 Form. 8. Under the simplified tax code, your refund check goes directly to Halliburton. 7. The reduced earned income tax credit is so unfair, it just makes me want to tear out my lustrous, finely groomed hair....

September 22, 2004 · Amit Bahree

Google picking on Microsoft?

NY Post reports that Google is working on a new browser (as reported on /. if you check www.gbrowser.com among other domains, they are taken by google). Based on the half-dozen hires in recent weeks, Google appears to be planning to launch its own Web browser and other software products to challenge Microsoft. Google hired Joshua Bloch, one of the main developers for Java, from Sun. They also hired four people who worked on Internet Explorer....

September 21, 2004 · Amit Bahree

Yes, the GC *can* leak memory - there I said it!

Shawn Van ness has an excellent article, that spells out how event listeners can cause memory leaks, yep even when running in managed code. Steve Main sums it up pretty well: The main issue is the “lapsed listener” problem. This occurs when objects subscribe to events and subsequently get out of scope. The problem is that the event subscriber doesn’t get garbage collected because the event is still holding a reference to it inside of the event’s invocation list....

September 21, 2004 · Amit Bahree