Skip to main content

Posts

Showing posts with the label Software

Sort Fields which contains both Numeric and Characters

It was a long time since my last post. Finally I got something to write about. Store Procedures … something I hate most of the time. But today I felt good about them because I was able to find a solution for a sorting issue. The particular column contained data like “98ABC-76543-DEF-12345-GHI 10 ” and also “GHJ 23 ”. I was supposed to sort this field on Numeric value for the last part in red . And for the other parts it should be treated as Numeric for the Numeric parts and as Strings for the others. So what should I do was to split all parts and sort them separately and get numeric part in red and sort. But wait a minute do we have to all the things??? I don’t think so... I have found ( actually one of my friends ) an easy way to do that. Here it is. SELECT [name], RANK() OVER (ORDER BY CAST(PARSENAME(modifiedName, 5) AS nvarchar ), CAST(PARSENAME(modifiedName, 4) AS INT ), CAST...

FlashGet – a free Download Manager

I have used so many download accelerators and download managers but this is the first time I have found a good download manager for free (so no need to find the cracks) . Currently I am using it for downloads and so far it seems good and here I have listed the features of the FlashGet. Optimized - will run with low system resources. Call anti-virus - It will execute the antivirus software after downloading a file. 100% clean - there are no ads were displayed on FlashGet so full strength will be used for download. Speed - They say it is speed but it depends on your connection Multi-protocol – supports HTTP and FTP File management – it does the categorization Add-ons and Themes are also available You can download FlashGet by just click here . If you are already using FlashGet and have better experience or if there are any drawbacks please share it with us. Or if there are a better Download Manager please share it also.

Good bye Netscape Navigator!!!

I have seen " Official support for all Netscape client products ended on March 1st, 2008. Please see the announcement for more details. " on top of the Netscape browser website. On their announcement they say to download the Mozilla Firefox web browser and seem they support on it. I think the main reason behind this is huge drop of popularity on their browser. But anyway if you are interested on the Netscape Communications Corporation (now under AOL) and their activities and the history just click on the links below. browser.netscape.com netscape.aol.com wikipedia.org/wiki/Netscape (web browser) wikipedia.org/wiki/Netscape Communications Corporation

What is Flock?

Flock is a web browser that makes easy to use community activities on the internet like facebook, flickr and also it supports on viewing emails (on Gmail and yahoo) an many more. It is true that now the internet users are using more functionality on internet 2; so it supports most of them. Flock itself says it as a "social web browser" so I downloaded it and used for a couple of days. The main thing on Flock web browser is you can download to for free. It seems very easy to use facebook through Flock and also it is pretty easy to use flickr (image share on yahoo). To view official Flock site click here . If there is anything that you think to share with us regarding Flock web browser you are welcome.

Nokia Morph Concept

This is a new concept of Nokia and seems very innovative. I think you must see the video to get an idea about their new research level concept. To view more details about their new concept click here . To view more clear video just click here .

Maintain Your PC’s Performance with PC Programs

We all like to have our pc's run faster so what we do is we are buying a pc with good performance. But it gets slow down over time and here are some tips to make it better again. Over time, even the most sophisticated, memory packed computer can begin to run slow if we don't do something to prevent it. The reason why has less to do with how computers are made and how they age and more to do with the way we use them. You see, all of the daily tasks that we do on our PC from running programs to downloading and deleting software can make our computer sluggish. To keep this from happening, you need to understand the reasons why your PC is getting slower and do something to keep your PC running at its best. You can do this through regular maintenance and PC performance optimization programs. Before we discuss all of the things that could be affecting your PC's performance, let's talk a little about what symptoms a slow computer can have. In addition to being excruciatingly s...

How to Install ColdFusion 8 on Linux?

It was real pain for me to install ColdFusion on my Linux box with Apache. Anyway we have installed it and I thought to share it because this may help you also to install ColdFusion on a Linux box. First of all open a shell and then continue on this. Grant Execute permission to the Coldfusion ‐ 8 ‐ lin.bin binary file chmod +x Coldfusion ‐ 8 ‐ lin.bin Execute Coldfusion ‐ 8 ‐ lin.bin ./Coldfusion ‐ 8 ‐ lin.bin Enter the Locale 1 (English) Hit Enter 28 times to continue the agreement Enter "Y" to accept the agreement Enter the version to install 3 (Developer Edition) Enter the next task to perform 1 (Server Configuration) Enter whether you have an existing server configuration 2 (No existing server configuration) Enter the next task to perform 5 (continue installation) Enter the installation path Hit enter to accept the default path Hit Enter 30 times to continue the agreement Enter "Y" to accept the agreement ...

How to write and execute an Oracle function

Here is an example of a function on Oracle. Then given following is a procedure that called the function. I have used them to implement the paging function. Here is the Function. create or replace FUNCTION "RETURN_EMPLOYEE" (argEmailAddress IN EMPLOYEE.EmailAddress%TYPE) return EMPLOYEE_NESTED_TABLE as V_RET EMPLOYEE_NESTED_TABLE; CURSOR C1 IS SELECT EMPLOYEE.EMPLOYEEId, EMPLOYEE.Name, EMPLOYEE.Stake, EMPLOYEE.CreatedDate, EMPLOYEE.StartDate, EMPLOYEE.EndDate, EMPLOYEE.EMPLOYEEDurationId, EMPLOYEEMember.EMPLOYEEMemberStatusId, EMPLOYEEMember.UPDATENOTIFIED FROM EMPLOYEE,EMPLOYEEMember WHERE EMPLOYEEMember.EmailAddress = argEmailAddress AND EMPLOYEE.EMPLOYEEId = EMPLOYEEMember.EMPLOYEEId AND EMPLOYEEMember.EMPLOYEEMemberStatusId IN(2,5,6) ORDER BY EMPLOYEEId; i NUMBER := 0; begin V_RET := EMPLOYEE_NESTED_TABLE (); FOR C1_REC IN C1 LOOP i := i + 1; ...

Firefox 3 is coming...

Mozilla launched a beta of Firefox, it is a developer preview of the features and functions promised in the third major release of the popular open-source browser. Firefox 3 Beta 1 is available for testing so Mozilla can gain feedback before the software advances to the next stage in the release process. Mozilla's Firefox 3 is based on the new Gecko 1.9 platform, which includes nearly two million lines of code changes designed to fix some 11,000 issues and offer Firefox 3 add-on developers a lot to work with. "Much of the work leading up to this first beta has been around developing the infrastructure to support a bunch of exciting new features," Mozilla noted. "With this first beta, you'll get a taste of what's coming in Firefox 3, but there's still more to come, and much of what you'll see is still a bit rough around the edges." This means Firefox add-ons will not work properly with the beta version. Those add-ons include applications such as a...

gOS ???

A new operating system based on Ubuntu 7.10 and Enlightenment 17 has come out. One of my friends has downloaded it and installed on a VPC. (But still it seems some problems) Anyway it seems nice and looks like an Apple machine. They provide some basic day to day facilities on that. And it supports Google a lot and Wikipedia also. Here the article on wiki about it. http://en.wikipedia.org/wiki/GOS_(Linux_distribution) And also you can download its free on http://www.thinkgos.com Still it does not provide some advance stuff like development tools but I hope sooner they'll. (Currently they have what home users use most) And also there is an operating system as Goobuntu which Google uses internally. If you interested on Goobuntu then go to http://en.wikipedia.org/wiki/Goobuntu

A 3D web browser

I know that I was unable to write a posting for a long time. It was because of the tight schedules of the project and I had to ramp up on completely new technologies for me. And also I had to do some R&D on the new project I have assigned. I have found a new web browser that opens its tabs in a 3d manner. And when I do search on Google for web or images then the results opens in new tabs. This seems like aero effect on windows vista but it works on XP also. (I think it works even on 2000) Here is the URL of the site and it is still on Beta testing and you can download it free http://www.spacetime.com . I have downloaded the browser but it seems like using the IE engine. But anyway it looks nice but I couldn't find a good reason to use it other than the beauty of it. But it gives a lot of working space & takes some time to start. In here I have searched on web and it displays the results.

Let’s learn ColdFusion …

ColdFusion is a simple language to learn and use primarily because it employs a tag-based syntax, which makes the transition between HTML (the language that your Web browser uses to render content) and CFML (ColdFusion Markup Language, the language that ColdFusion uses to generate that content from dynamic data) within your code very natural. Take, for example, the following HTML listing of companies (no CFML is in this code): <table> <tr> <td>13</td> <td>The Very Big Corporation of America</td> </tr> <tr> <td>14</td> <td>Ma's Homemade Pies</td> </tr> <tr> <td>15</td> <td>Shecky Records</td> </tr> </table> By using ColdFusion's tag-based syntax, you can easily generate this table dynamically from data stored in your database (the CFML is boldfaced in the following example), as follows: <cfquery name="GetCompanies" datasource="MyDatabase"...

What is a CMS ???

This is based on MCMS (Microsoft Content Management Server) The design features of CMS include the ability to create templates that define the layout of the pages for your Web site. These templates will contain placeholders for content that is created by your business users. Using the Web Author tool, users can: Create, modify, and delete pages Copy and move pages Create connected pages that share source content with other pages but display that information in different ways Submit pages for review and approval   The Authoring Connector can be used to submit a Microsoft Word document to the Web site and associate that document with a particular task that has been created in the Web site. When the author selects a task, the task itself will perform the required functions, abstracting the author from the workflow required to correctly publish the document to the Web site. Hence, it becomes as simple as using Word to create the document and then submitting the document under a chosen task...

MSBuild with Cruise Control.net

MSBuild is the process that runs when you hit the command "build" (F5) on Visual Studio IDE. On VS 2003 completely that was done by the IDE and it was a black box for the developers. But on VS 2005 when you create a new project you can see a .csproj (or .vbproj) file is created and when you open that file in any text editor you can see some XML tags on that. Actually those are the parameters that were sent to do the build. The idea behind this is you can change the build process of your project. The msbuild.exe file is at " (win drive :\) \WINDOWS\ M icrosoft.NET\Framework\v2.0.50727 ". The good thing in this is since msbuild.exe is included in .net framework you do not need an IDE to build your project. The solutions were deployed on a clean machine for testing and it have to be done daily on enterprise level solutions. And also on enterprise level solutions so many developers get involve and to minimize the conflict it has to use a version control system like VSS ...

Grab E-mail addresses

I thought to share a C#.net method that grab all the e-mail addresses from any file and It can be used for validation too.It returns an string array and I hope that you all can add some modifications on it and use it for any purpose you want. Here is the code. public static String[] readEmails(string file) { int k = 0; StreamReader SR = File.OpenText(file); String S = SR.ReadLine(); Dictionary myemails = new Dictionary (); string pattern = @"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"; Regex re = new Regex(pattern); while (S != null) { MatchCollection matches = re.Matches(S); if (matches.Count > 0) for (int i = 0; i You have to pass the file that contains the e-mail addresses as a parameter. For eg: F:\\date2.txt If you have come up with any problem in using this do not hesitate to put a comment and I hope I'll be able to answer you.

Year 2038 problem !!!

What is year 2038 problem ? Did I mess up with Y2K !! No actually here is the description of next problem with the Years .... Most programs written in the C programming language are relatively immune to the Y2K problem, but suffer instead from the Year 2038 problem. This problem arises because most C programs use a library of routines called the standard time library . This library establishes a standard 4-byte format for the storage of time values, and also provides a number of functions for converting, displaying and calculating time values. The standard 4-byte format assumes that the beginning of time is January 1, 1970, at 12:00:00 a.m. This value is 0. Any time/date value is expressed as the number of seconds following that zero value. So the value 919642718 is 919,642,718 seconds past 12:00:00 a.m. on January 1, 1970, which is Sunday, February 21, 1999, at 16:18:38 Pacific time (U.S.). This is a convenient format because if you subtract any two values, what you get is a number of...

Customized Send To >>

I have found a little command that can add and remove the items on your " send to ". Normally when we right click and go to "send to" item we could see only some limited locations. But what's if we want to change it ?? It is very easy you just have to type the command "sendto" on Run which is located at start menu.Then it will prompt a folder which contains some items as on the image. (Example is given by using my machine) Then you just have to remove the items which you do not want to see on "send To" and paste the shortcuts of the locations that you wish to be added on "send To". After this right click on any folder and you will see new locations on the menu.

MyClipBoard :: A free & openSource project

It is happy to inform you about a free & open source project which was done by using C#.net. Arjuna is a wonderful person who works with us.He has been successful in developing a tool to manage windows clipboard and made it available to the community as free software including the source code. The tool developed by Arjuna is so simple and easy to use. Also it works with any application, unlike the Office clipboard tool which is restricted to the Office application suite. Objective behind this development was of to find ways and means to make one’s life easier (a very good intention) in day to day work assignments. Name of the tool is “ MyClipboard ” and the executables and the source code is available in SourceForge . Arjuna has written this using .net and windows clipboard API. The project details and downloads are available on http://sourceforge.net/projects/myclipboard . Here are the guidelines to use it as same as Arjuna said. Each time you place an item on the clipboard this i...

Image embedded mail by G-mail on C#.net

I have seen a posting on " indika-kumara.blogspot.com " how to send e-mails by using G-mail credentials on C#.net.Thank you Indika. Here I am going to tell you how to send e-mails on C#.net as well with embedded images.I have tried several ways on this and this is the way I found.If you know some easy way than this please tell me. First of all we have to write the code which simply send the e-mails.Here is the code which sends an simple mail. public static void sendEmail() { System.Net.Mail.MailMessage MyMailMessage = new System.Net.Mail.MailMessage( "from@gmail.com",//your gmail address "to@yahoo.com",// receiver "subject goes here", "content goes here"); MyMailMessage.IsBodyHtml = true;//enables HTML System.Net.NetworkCredential mailAuthentication = new System.Net.NetworkCredential( "from@gmail.com",//your gmail address "myPassword");//your gmail password ...

Code in .NET 2.0, Build for Java, Run on Linux!

"After 100+ person years and $12 million of direct R&D investment, and the cross-compilation of 4.7 M lines of code from .NET to Java ™ , we're celebrating the release of Grasshopper 2.0 . Our plug-in to the Visual Studio ® 2005 IDE enables you to produce .NET Web and server applications that run on Linux ® & other Java-enabled platforms, without having to rewrite your C# or Visual Basic code. Version 2.0 introduces support for the .NET Framework 2.0, ASP.NET 2.0 controls, role-based security, and C# generics." Thats what " http://dev.mainsoft.com/ " says about their product. " We all know and love the Microsoft ® Visual Studio ® IDE, but did you know that you can use it to build server applications that run on Linux ® ? Discover how you can build applications u...