Skip to main content

Posts

Showing posts from May, 2008

Comma separated list of values of single Database table field

Many times you need to create a comma seperated list of values in a table. Here is a line of T-SQL solution to get comma separated list of values of single field of a database table. DECLARE @commaSeparatedVal AS VARCHAR(MAX); SELECT @commaSeparatedVal = ISNULL(@commaSeparatedVal +',','') + CONVERT(VARCHAR,[SKU]) FROM PRODUCT PRINT @commaSeparatedVal

New Google Talk in Lab

Google Talk, Labs Edition is an experimental release of the Google  Talk client. It has many of the same great features as the Google Talk  Gadget, including instant messaging, emoticons, and group chat. Google  Talk, Labs Edition also comes with new desktop notifications from  Calendar, Orkut, and Gmail. You can download it from http://www.google.com/talk/labsedition/ . browse discussion on http://groups.google.com/group/google-talk-labs-edition-discussion-group/

Importance of !important in CSS

Do you know What does !important mean in CSS?, an "!important" declaration (the keywords "!" and "important" follow the declaration) this takes high precedence over a normal declaration. And can be framed in this way, this means that the styles are applied in order as they are read by the browser. CSS it tries to create a balance of power between author and user style sheets. By default, rules in an author's style sheet override those in a user's style sheet. But in CSS1, this is in other way round - Author "!important" rules took precedence over User "!important" rules. For Example: User's Style Sheet: 1: < style > 2: p { font-size : 2em !important; } 3: p { font-style : italic; } 4: < / style > Author's Style Sheet: 1: < style > 2: p { font-size : 3em; } 3: p { font-style : normal; } 4: < / style > If you see in the above i

Download A Firefox Version that speaks your language

The award-winning open source Web browser Firefox 3 Release Candidate 1 is available in more than 45 languages (including Gujarati and Punjabi) as a public preview release intended for developer testing and community feedback. It includes new features as well as dramatic improvements to performance, memory usage and speed. Check out http://www.mozilla.com/en-US/firefox/all-rc.html for more information and download Firefox 3 RC1. Regards, Sudev Gandhi

The "Hello World" Program, in 366 Programming Languages!

"Hello World" is the traditional first program you write when learning a new language, first appearing in K&R's "The C Programming Language" book in 1978. Since then it has been implemented in almost every programming language on the planet. This collection has it in 366 coding languages and 58 human ones! Is your favourite here? read more | digg story

China Earthquake buried 32 sources of radiation

More than 30 sources of radiation were buried by debris from the massive earthquake in central China last week and all have either been recovered or safely cordoned off, state media reported Tuesday. A French nuclear expert said the radioactive sources likely came from materials used in hospitals, factories or in research, not for weapons. read more | digg story

The Google File System - Google's core storage platform

Google File System - large distributed log structured file system in which they throw in a lot of data. Reliable scalable storage is a core need of any application. GFS is Google's core storage platform.Google File System (GFS) is a proprietary distributed file system developed by Google for its own use. Its point is both to assure reliablity by using redundant copies and to allow individual most used data to selectively receive more resources (more dedicated hardware or/and redundant copies).GFS is optimized for Google's core data storage needs, web searching, which can generate enormous amounts of data that needs to be retained; Google File System grew out of an earlier Google effort, "BigFiles", developed by Larry Page and Sergey Brin in the early days of Google, while it was still located in Stanford. The data is stored persistently, in very large, multiple gigabyte-sized files (around 100GB) which are only extremely rarely deleted, overwritten, or shrunk; files a

Ten technology trends that will shape 2008

Grid computing India is the fastest adopter of grid computing in the world, according to Oracle’s Grid Index IV. Oracle should know, since it has 70 customers in India using its grid solutions. Grid computing is applying the resources of many computers in a network to a single problem at the same time. It is not a new phenomenon. Research organisations, government agencies and universities have been using this concept for years. What’s new is that Indian corporates are now latching on to the concept. Some of the enterprises using grid computing in India include the Gujarat Electricity Board, Saraswat Bank, National Stock Exchange, Indian Railway Catering & Tourism Corporation, General Insurance Company, Syndicate Bank, Ashok Leyland, Maruti Suzuki India Ltd and Municipal Corporation of Hyderabad. Last year saw two major developments that will prove important for the adoption and acceptance of grid computing in India. First was the Computational Research Laboratories (CRL) — a subsi

Rules to Better Virtual PCs

Microsoft Virtual PC provides facilities to run a complete operating system and hard drive images on top of a host operating system. This is a boon for testing in multiple environments and for hosting providers.However, to run Virtual PC in a most efficient way, we have developed a few rules for a better Virtual PC usage. read more digg story

Safety based on radar technology – Audi braking guard - Auto

Audi braking guard forms part of the radar-based adaptive cruise control system, or ACC for short. This system regulates the speed and the distance from the vehicle in front at speeds between 30 and 200 km/h, independently applying the brakes within certain limits in the process. The amount of traffic on our roads is increasing constantly, as is the amount of information that needs to be processed – meaning that the task of driving is becoming ever more demanding. Audi has developed a technology which promises more relaxed, safer motoring: the Audi braking guard brake assist system is designed to reduce the risk of rear-end collisions. It is one of a whole generation of intelligent assistance systems which monitor the area surrounding the car in order to offer additional protection. Audi braking guard is available for the A4, A4 Avant, A6, A8 and Audi Q7 model lines, as well as for the new Q5.The computer is integrated into the vehicle data bus network and is able to communicate with t

Google Introduces Brand New Google Reader For iPhone

Searching through all of those RSS subscriptions on a small screen can be quite a bit of a cumbersome experience, but to make Google Reader for iPhone even better, Google took advantage of the device’s capabilities and released a new beta version designed for the iPhone and other mobile phones with advanced browsers.Visit my homepage ( http://sudev.gandhi.googlepages.com ) for latest news headlines. read more digg story

Naming Polygons

What do you call an 11-sided polygon? A 14-sided polygon? Can you give me a list of names of polygons?This answer represents excerpts from contributions made by Prof. John Conway of Princeton University to the geometry.college and geometry.pre-college newsgroups. For an etymological discussion in the Dr. Math archive, see "Naming Polygons." When naming polygons, for the "numerical" part of the name, we use the Greek prefixes: mono, di, tri, tetra, penta, hexa, hepta, octa, ennea, 1 2 3 4 5 6 7 8 9 deca, hendeca, dodeca, triskaideca, tetrakaideca, ..., enneakaideca, 10 11 12 13 14 19 icosa, icosikaihena, icosikaidi, icosikaitri, ..., icosikaiennea, 20 21 22 23 29 triaconta, triacontakaihena, ..., triacontakaiennea, tetraconta, ..., 30 31 39 40 pentaconta, hexaconta, heptaconta, octaconta, enneaconta, hecta 50 60 70 80 90 100 Prof. Conway writes: Antreas Hatzipolakis and I worked out a complete system up to the millions from which this is taken, and which has also bee

Astronomers baffled by weird, fast-spinning pulsar

Astronomers are baffled after finding an exotic type of star called a pulsar apparently locked in an elongated orbit around a star much like the sun -- an arrangement defying what had been known about such objects. The rapidly spinning pulsar -- an extraordinarily dense object created when a massive star exploded as a supernova -- is called J1903+0327 and is located about 21,000 light years from Earth, the astronomers said. A light year is about 6 trillion miles, the distance light travels in a year." The big question is -- how in the heck did this thing form, because it doesn't follow our standard models of how these things form," astronomer Scott Ransom of the National Radio Astronomy Observatory in Charlottesville, Virginia, said in a telephone interview on Thursday. This object is known as a millisecond pulsar because of its speedy whirl -- it spins on its axis 465 times per second. Until now, all of the ones found orbiting with another star have been doing so with a

Scientists aim to unlock deep-sea “secrets” of Earth’s crust

During the five-week expedition they will use explorer robots to map individual volcanoes on the Mid-Atlantic Ridge tectonic plate boundary – which effectively runs down the centre of the Atlantic Ocean - almost two miles (3km) below the surface of the sea.The work is funded by a grant from the Natural Environment Research Council, which also owns and operates the RRS James Cook. read more | digg story

How To Get Hardware Information Using MS.Net Code

For numerous reasons, you may need to access system hardware information. One example is when you have created a software and you want to put a lock on that software or you want to uniquely identify the a computer. Following article demonstrates how to achive this task using managed MS.Net code.http://www.codeproject.com/KB/system/GetHardwareInformation.aspxI must say its awsome piece of code. read more | digg story