msgbartop
News, views, tips and tricks on Oracle and other fun stuff
msgbarbottom

ArrayDeleteAt Gotcha

Be careful when using ArrayDeleteAt. When an element is deleted, ColdFusion recalculates index positions. For example, in an array that contains the months of the year, deleting the element at position 5 removes the entry for May. After this, to delete the entry for June, you would delete the element at position 5 (not 6). Here is an example to demonstrate this behavior: (more…)

Filed in ColdFusion with 2 Comments | Tags:


How to track user sessions in ColdFusion

In order to use your ColdFusion web application, a user is required to enter login information, i.e. a user name and a password. Now, you want to know who is logged in at any point in time (maybe you want to shut down the server for maintenance and you do not want any logged in users to lose their work). Here is how you do it: (more…)

Filed in ColdFusion with 4 Comments | Tags: ,


Google’s Date Of Birth/Death Search

Did you know you could type a celebrity’s name followed by “date of birth” or “date of death” and it will tell you when they were born or when they died? Try these:

Have you discovered more?

Filed in Technology, Tips with 1 Comment | Tags:


IE Thanks Netscape

Netscape has just released an updated version that addresses the issue of XML rendering in IE. Now, that is not the news. The news is that I read this information on the the IEblog. Not only the Microsoft IE people put a link on their blog to download Netscape, but they actually thanked Netscape for fixing the issue!

I’m not that much surprised because the latest version of Netscape is not much of a stand alone browser per se, rather than a wrapper for the IE and Firefox engines. I have actually installed Netscape on my machine just to see how it looks and acts. Well, it acted badly. It crashed several times. So, I uninstalled it. Go Firefox.

Filed in Technology with Comments Off | Tags: ,


Wires, lots of them

And you thought you had lots of wires behind your computer desk!

Wires

Filed in Interesting Stuff with Comments Off


Learn how to write

If you are serious about publishing your thoughts to the outside world in text form, you have to learn how to write. Roy Peter Clark from Poynter Institute has posted 50 tools that can help you when you do any kinds of writing. I have just started with tool number 1. Check them all out here.

Filed in Interesting Stuff, Tips with Comments Off | Tags:


KeePass Password Safe

Today you need to remember many passwords. You need a password for the Windows network logon, your e-mail account, your homepage’s ftp password, online passwords (like CodeProject member account), etc. etc. etc. The list is endless. Also, you should use different passwords for each account. Because if you use only one password everywhere and someone gets this password you have a problem… A serious problem. The thief would have access to your e-mail account, homepage, etc. Unimaginable. (more…)

Filed in Interesting Stuff with Comments Off | Tags: , ,


CFDUMP and CSS

Do you ever use cfdump and notice that the layout doesn’t come out right? This is due to a fairly simple issue. Whenever you use cfdump, it checks to see if it has been used already in the current request. If it has not, then it outputs CSS. This helps cut down on your download time. However, it means that if the first cfdump is suppressed in some way, your second cfdump will not look right. This can happen if you cfmail your cfdump. Here is a simple example showing this behaviour (Pre-CFMX7): (more…)

Filed in ColdFusion with Comments Off | Tags: ,


Password Protection

Use this script to protect online files. Users cannot cancel out of it. It can also be used with your browser’s home page to control Internet access on your own computer.

Filed in Interesting Stuff, Technology with Comments Off | Tags: ,


Sun Builds a Fortress for Scientists

Sun Microsystems is developing a technical language called Fortress that is envisioned as a successor to Fortran, although the new language will not be ready for at least another five years. The Defense Advanced Research Projects Agency is helping fund the development of Fortress in the hope that the language will ultimately produce technologies for government and industrial applications. In April of this year Guy Steele Jr., Sun fellow and principal investigator for the programming languages research group, introduced the Fortress language at the Sun Labs Day. Steele said that Fortress will make extensive use of libraries, thus making the language “growable” and flexible. “Whenever we’re tempted to add a feature to the language, we ask ourselves, “Could this feature be provided by a library instead?” Steele said. He explained that Fortress will be similar to Java in that it compiles application components into platform-independent bytecode before runtime while interpreting parts of the application at execution. The language will attempt to be a leader in the field of symbolic programming of equations, and Steele predicts that scientists and mathematicians will be more productive by making programs resemble equations.
Source (via ACM)

Filed in Technology with Comments Off