tag:blogger.com,1999:blog-39597998631986225032008-05-17T11:08:34.475-07:00Geeks At WorkNitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comBlogger76125tag:blogger.com,1999:blog-3959799863198622503.post-5976544536539785232008-04-10T22:20:00.000-07:002008-04-10T22:23:05.036-07:00Another new beginningI'd like to finally put the concluding words on this blog. It's been a long journey and all good things must come to an end. This wasn't my first and certainly not my last tech. blog. After a couple of weeks away from blogging, I'm pretty sure you'll see me soon working on an exciting new blog bringing the rest of the tech world closer to you.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-63924897385605769732008-04-08T11:13:00.000-07:002008-04-08T11:18:28.511-07:00SQL Cache DependenciesI did some reading on SQL Cache dependency with ASP.NET and it seems to be a really cool feature. I've implemented a cache over the data access layer before, but had to code in cache expiry on each update. It was a painful and time-consuming process. I heard about SQL Server Notification services at the time but since we were using Oracle, we were on a different boat. SQL Cache dependency works in one of two modes - either by notification (using the non-Express versions of SQL Server 2005) or by polling (works with all versions of SQL Server 2005). For a walk-through of an implementation of SQL Cache Dependency, check out the article at: <a href="http://www.ondotnet.com/pub/a/dotnet/2005/01/17/sqlcachedependency.html">http://www.ondotnet.com/pub/a/dotnet/2005/01/17/sqlcachedependency.html</a>Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-48739527011798009372008-04-05T02:21:00.001-07:002008-04-05T02:24:54.224-07:00CS 1.6 RO servers kick laggersI installed Counter Strike 1.6 yesterday. It's been years since I last played the game. I was surprised to find a lot of servers, most of them from Romania. I did have a problem playing on those servers though, because the automatically kick me out after a couple of seconds for having a latency of over 150ms (some allow upto 200ms). I find nothing wrong with the game when playing with 200ms to 400ms lag, but I guess it may slow down the server. It was fun for the few rounds that I played, but I guess I'll be moving to Counter Strike Source shortly for want of better graphics.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-58361730180628371672008-04-05T02:18:00.000-07:002008-04-05T02:21:25.832-07:00AOE 3 display problemsI'm not sure if the guys at Microsoft didn't any testing with Age of Empires III, because both the notebook computers that I've tested it with had display problems. I think I had to install the update to 1.12 for it to work correctly.<br /><br />The last time I installed it, the game slowed down when rendering smoke, so I couldn't play any of the battles at sea or play with the cannons. I hope it works better now that I've got better hardware.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-76804568537418276342008-04-03T21:20:00.000-07:002008-04-03T21:22:26.552-07:00MOSS 2007I've been checking out the Microsoft Office Sharepoint Server (MOSS) 2007 and it seems to be quite cool for document storage needs and for creating a Wiki.<br /><br />It can also be used by power users to create simple applications for meeting short, temporary requirements such as keeping track of volunteer assignments, recording contributions by donors etc. MOSS can be extended with .NET and several applications have been developed over MOSS to reap the benefits of the search engine, content management and security. You can check out http://www.glu.com/emea to see a completely skinned MOSS site.<br /><br />Microsoft also offers the Fantastic 40 site templates, which are like pre-built applications using Sharepoint.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-65087041652423579762008-01-28T04:10:00.000-08:002008-01-28T04:47:16.674-08:00Sud-less Web ServicesRemember the no-more-tears baby shampoo? This article is actually the equivalent for web services in ASP.NET. Standard ASP.NET web services convert their return types into SOAP objects thus making them a bit painful for developers from other platforms to work with. To go the way of the crowd making the paradigm shift toward RESTful interfaces, you can get your web services to return plain ol' XML by simply specifying the return type of your method to an XmlDocument. I know, it seems like that little trick you were always looking for. Now, the next part of it is to enable the Get protocol for the web services which is easily added to the webServices-protocols section of the web.config file using Visual Studio Intellisense.<br /><br />And there you go - you can now code regular RESTful web services in ASP.NET. The downside is that you have to manually build an XmlDocument object in each method but that's easily abstracted by writing a couple of helper classes.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-25021331545573221542008-01-22T03:45:00.000-08:002008-01-22T04:19:40.100-08:00Voice Captcha beats humans tooThe voice Captcha (called the "audio challenge") used by Twitter obfuscates the confirmation code so well that humans can't figure it out either. The voice Captcha system is an alternative to the visual Captcha (the "visual challenge") but it is pointless if an average human being is unable to recognize the eight digits and enter them into the provided text box.<br /><br />Instead of trying to obfuscate a phrase or a number, why don't we just get the user to answer a couple of simple logic questions such as "Who was president of the USA in 1999?" or "What color is a cricket ball?". Sure, someone would develop natural language processing systems to identify words such as president-USA-1999 and color-cricketball, but with carefully selected questions, it would be indeed very difficult.<br /><br />So, tell me, human... "If A is greater than B, and B is less than C, which is the smallest?"<br /><br />Captcha stands for Completely Automated Public Turing test to tell Computers and Humans ApartNitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-89717035984472549892008-01-20T00:37:00.000-08:002008-01-20T01:14:08.748-08:00Types of Testing<span style="font-weight:bold;">-=[ Black-box Testing ]=-</span><br /><br />Black-box testing refers to the testing of a system or component without knowledge of the internal structure. This can be as simple as performing a button click and waiting for a dialog box.<br /><br /><span style="font-weight:bold;">Also known as: </span>Behavioral testing, Functional testing, Opaque-box testing, Closed-box testing<br /><br /><span style="font-weight:bold;">Advantages:</span> Low cost<br /><span style="font-weight:bold;">Disadvantages:</span> Doesn’t find many bugs<br /><span style="font-weight:bold;"><br />-=[ White-box Testing ]=-</span><br /><br />White-box testing refers to using the source code for testing the system or component. Although there are several different methods to perform white-box testing, this can be performed by using a debugger and stepping through code.<br /><br /><span style="font-weight:bold;">Also known as: </span>Structural testing, Glass-box testing, Clear-box testing<br /><br /><span style="font-weight:bold;">Advantages:</span> Finds a larger number of bugs<br /><span style="font-weight:bold;">Disadvantages:</span> Increases cost and time required for testing<br /><br /><span style="font-weight:bold;">-=[ Grey-box Testing ]=-</span><br /><br />Grey-box testing tries to find a middle ground between black-box testing and white-box testing by giving testers just enough visibility into the system to perform testing. In many systems this form of testing is incorporated by performing an action and checking for the updated value in the database.<br /><br /><span style="font-weight:bold;">Also known as: </span>Translucent-box testing<br /><br /><span style="font-weight:bold;">Advantages:</span> Achieves a good balance between quality and cost<br /><span style="font-weight:bold;">Disadvantages:</span> You tell me!Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-54534503837933263852008-01-17T09:36:00.000-08:002008-01-17T09:53:12.607-08:00eSATA goes power-cable-lessThe Serial ATA international organization is working toward a new specification that will do away with a separate cable for power and instead deliver power over the eSATA cable. This ought to reduce the advantage that some USB and FireWire disks have on convenience. SATA 3.0 (3000 Mbps) still does better on speed than USB 2.0 and FireWire 800, though USB 3.0 (4800 Mbps) and FireWire 3200 (3144 Mbps) would catch up soon.<br /><br />Note: USB 2.0 works at 480 Mbps and FireWire 800 works at 786 Mbps.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-19453235820521173192008-01-16T08:53:00.000-08:002008-01-16T09:15:19.268-08:00MS Office 2008 for MacMicrosoft Office 2008 for Mac was released on the 15th January 2008. It seeks to replace Office 2004. With support for the MS Office Open XML format, it can work with the Office 2007 file formats however it doesn't support VBA macros.<br /><br />You can get more information about it along with a demonstration video at: <a href="http://www.macoffice2008.com">http://www.macoffice2008.com</a>Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-85017237823172068672008-01-16T00:39:00.000-08:002008-01-16T00:41:58.087-08:00George Bush visits DubaiGeorge Bush visited Dubai on Monday (14th January 2008). The parts of the city he was visited was entirely shut down. This includes the I.T. and media firms located at the Dubai Internet City and the Dubai Media City because they fall along the road between Abu Dhabi and Dubai (since President Bush was arriving from Abu Dhabi).<br /><br />You can find pictures of his visit at: <a href="http://bushindubai.googlepages.com">http://bushindubai.googlepages.com</a>Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-60562751627203487622008-01-08T01:57:00.000-08:002008-01-08T02:05:22.033-08:00Alienware Crysis Curved Monitor<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Vel48i2U1Yg/R4NKDnXClnI/AAAAAAAAAAU/yEotxLOkgzU/s1600-h/alienware_crysis__curved_monitor.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_Vel48i2U1Yg/R4NKDnXClnI/AAAAAAAAAAU/yEotxLOkgzU/s320/alienware_crysis__curved_monitor.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5153043824607663730" /></a><br /><br />With monitors getting larger and cheaper every year, Alienware has introduced the best thing yet since flat screen displays - it's a curved screen! The display surrounds the user with almost 4 subpanels that fit together almost seamlessly in one large package. It runs at the 2880*300 resolution, which is not common yet.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-9122344539387069412008-01-01T22:59:00.000-08:002008-01-01T23:22:34.724-08:00Oracle 11g Web SQL clientOracle 11g does not provide the iSQLPlus interface or the GUI SQL*Plus client (sqlplusw). Instead, it provides SQL Developer and APEX (Application Express).<br /><br />To get a web interface for typing in SQL and getting the results, you can use the Oracle Enterprise Manager (OEM) web interface, accessible at: https://localhost:1158/em (assuming you've got Oracle installed on your computer).<br /><br />To log into the OEM web interface, you need to have the SELECT ANY DICTIONARY privilege (or you can use the SYSTEM account :-P ). When you're logged in, click on the Data Movement 'tab' and click the SQL Worksheet link (under the related links section). You'll now have the iSQLPlus-like interface for executing SQL queries.<br /><br />EDIT: If you're using Quest SQL Navigator, you will need version 5.5.4 or later to work with Oracle 11g; this version also supports Microsoft Windows Vista.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-67232503712142725852008-01-01T07:16:00.000-08:002008-01-01T07:17:32.921-08:00The End for Netscape NavigatorNetscape has announced the end of development on the Netscape web browser with the last of the patches being available till 1st February 2008.<br /><br />After the acquisition of Netscape by AOL, development branched off to form the open-source Mozilla foundation leaving Netscape to be a little more than Mozilla with skins and extensions. Finally, the retirement of the Netscape browser has been announced, leaving Mozilla to continue development on the browser.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-29528710064819864442008-01-01T05:09:00.000-08:002008-01-01T05:10:35.425-08:00Happy New YearI would like to wish you all a Happy New Year with many more blog articles coming up on .NET, Java and technology in general. Looking forward to much better times ahead.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-13086104568439384912007-12-29T04:49:00.000-08:002007-12-29T04:52:43.452-08:00VarArgs in Java 5Introduced in Tiger (Java 1.5.0), variable arguments enables Java methods to accept a variable (0..*) number of arguments thus allowing users greater flexibility in passing calling methods, previously dealt with using arrays.<br /><br />The last parameter in the list is defined with a "type ... variable_name" syntax (note the ellipsis).<br /><br /><span style="font-weight:bold;">Example:</span><br /><code>private static int sum(int ... numbers) {<br />&nbsp;&nbsp;int accum = 0;<br />&nbsp;&nbsp;for (int i=0; i&lt;numbers.length; i++) {<br />&nbsp;&nbsp;&nbsp;&nbsp;accum += numbers[i];<br />&nbsp;&nbsp;}<br />&nbsp;&nbsp;return accum;<br />}</code>Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-3280673126983463092007-12-29T03:02:00.001-08:002007-12-29T03:02:59.656-08:00Implicit variable declaration in .NET 3.5In C# 3 and Visual Basic 9, you can declare variables without having to specify the type of the variable. This isn't the same as the variant type in Visual Basic, but rather the compiler's ability to determine the type of the variable from the initialization value.<br /><br />Here's how it works:<br />var i = 3; //C#<br />Dim i = 3 'VB<br /><br />Using implicit declaration of variables requires you to specify a non-null value since a null only represents the generic object type.<br /><br />EDIT: You can get the implicit declarations feature in LINQ projects (CTP) with Visual Studio 2005.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-23153265882660839082007-12-28T05:34:00.000-08:002007-12-28T05:38:21.805-08:00Google's 403 for View as HTML<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_Vel48i2U1Yg/R3T8LnXClmI/AAAAAAAAAAM/ky_mbs6S1oo/s1600-h/google-error.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_Vel48i2U1Yg/R3T8LnXClmI/AAAAAAAAAAM/ky_mbs6S1oo/s320/google-error.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5149017550465701474" /></a><br />Google is probably having to deal with a load on it's servers this holiday season and so they're restricting access to their "View as HTML" feature. The message displayed is:<br /><br />We're sorry...<br /><br />... but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now.<br /><br />We'll restore your access as quickly as possible, so try again soon. In the meantime, if you suspect that your computer or network has been infected, you might want to run a virus checker or spyware remover to make sure that your systems are free of viruses and other spurious software.<br /><br />We apologize for the inconvenience, and hope we'll see you again on Google.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-37188824279382370312007-12-28T03:07:00.000-08:002007-12-28T03:12:14.377-08:00MacOS X's .DS_Store filesI noticed a couple of .DS_Store files appearing in some of the archives that I've been receiving and recognized them as MacOS X files used for display, much like the Windows thumbs.db (created to store thumbnails of files - check the "Do not cache thumbnails" in Tools > Folder Options > View). I looked up more info and here's what I came across:<br /><br />Under Macintosh OSX .DS_Store holds the information which controls the way a folder will be opened; i.e., the shape and size of the window, the position of the window on the desktop and whether file, folder or icon view has been selected. If you were to delete the .DS_Store the folder would revert to the system default next time it is opened and a new blank .DS_Store would appear (invisibly).<br /><br />You can disable the creation of .DS_Store files by MacOS X by running this command from the terminal window: defaults write com.apple.desktopservices DSDontWriteNetworkStores trueNitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-8163095003913012462007-12-25T22:17:00.000-08:002007-12-25T22:23:38.943-08:00NetBeans 6.0 bugAlthough I'm a fan of NetBeans because it's a simple IDE that runs with limited memory too, I must admit that it is quite buggy. One of the features of NetBeans is that it locks the GUI code so you can't accidentally break the GUI builder. I've tried Borland's JBuilder and breaking the GUI builder with custom code was one of the problems I came across. However, when NetBeans breaks itself, I can't get into the code to change it, which is one of the complaints that I have with the IDE. I wish it had a "hack-the-code" option where I could at least change the variable names - all I did was delete a menubar and add a new menubar... when I went into code view, it still had the old menubar and used the old menubar for the frame - the new one was an unused variable!<br /><br />Anyway, I guess it's back to Wordpad for me.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-53949841149841044122007-12-24T22:54:00.000-08:002007-12-24T23:01:05.757-08:00Column-oriented vs RelationalColumn-oriented databases are the next big thing for data warehouses, having passed through object databases for specialized applications. For a while, InterSystems Cache enjoyed the spotlight as a high performance object database. Now, Vertica is the hottest thing the database world has to offer as a column-oriented database.<br /><br />Column-oriented databases store column-data as a contiguous sequence, as opposed to relational databases which store row-data in contiguous allocation units. This makes it simpler to make schema changes, and offered better performance for OLAP applications. Relational databases still are the best solution for general purpose OLTP applications so it isn't the end for them yet, although they were architected almost three decades ago.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-53311318214673474222007-12-23T08:50:00.000-08:002007-12-23T08:56:29.336-08:00VS2008 ExpressThe Visual Studio 2008 Express offline installer is a corrupt image being offered for download from the Microsoft website. A lot of people have complained about the "Program too big to fit in memory" error so it's yet another bug from infamous Microsoft. It's a free product so no one really cares at this stage, unless they are paying for bandwidth.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-31016884843347331862007-12-20T13:45:00.000-08:002007-12-20T13:47:04.820-08:00Regex for doesn't contain^((?!my string).)*$ Is the regular expression for does not contain "my string". Wondering how someone can come up with that? Check out the reference at:<br /><a href="http://www.regular-expressions.info/refadv.html">http://www.regular-expressions.info/refadv.html</a><br /><br />There's a basic and advanced regular expression reference section so check out both!bNitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-45416568900914049072007-12-19T08:02:00.000-08:002007-12-19T08:04:05.635-08:00Sun Java on Fedora Core 8There's been a successful install of Sun Java 1.6.0 on Fedora Core 8 with instructions posted at: <a href="http://vertito.blogspot.com/2007/11/sun-java-on-fedora-8-install-howto.html">http://vertito.blogspot.com/2007/11/sun-java-on-fedora-8-install-howto.html</a><br /><br />I haven't been able to try it yet, but I'll do so soon.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.comtag:blogger.com,1999:blog-3959799863198622503.post-23240908619716444952007-12-18T11:37:00.000-08:002007-12-18T11:50:25.850-08:00Microsoft's 2008 PlatformMicrosoft is releasing Microsoft Windows 2008, Microsoft Visual Studio 2008 and Microsoft SQL Server 2008 at an event on February 27, 2008 7am. It's a pretty major event since it marks the next leap since the 2005 release.<br /><br />The best feature of the new platform is LINQ, which enables developers to treat data as entities rather than relational tables. It's like taking NHibernate to the next level and integrating it with the programming language.Nitin R.K.http://www.blogger.com/profile/09612217398194148324noreply@blogger.com