The ability to use BIFs (built-in functions) anywhere throughout an application is probably something a lot of people take for granted. You don't stop to think about whether or not you're allowed to use writedump() or writeoutput() in the current location, you just know you can. The ability to extend that confidence to your own custom functions...... Full Entry »
ColdFusion Related Posts
No preamble, this is a walkthrough to setup Lucee and Apache on Ubuntu Server. So let's get to it. First things first, you need to install Ubuntu on a machine or VM. I used ...Ubuntu Server 18.04.4 LTS... so this tutorial will be 100% command line. I won't get into the specifics about installing Ubuntu but it is a pretty easy process with tons...... Full Entry »
I, like most developers, have always left the mail settings in the ColdFusion administrator set to localhost to keep email from actually getting out in the wild and, potentially, sent to real people (not that anyone would actually have live data in their Dev/QA environments, right?). Unless you have an SMTP server running on the server, that,...... Full Entry »
I've been playing all of Duty Black Ops for a while now and eventually rented my own server. As you probably know, RCON is the standard these days for Call of Duty games. It's been used in all the Call of Duty games to date and Black ops is no different. Basically, RCON is just utilizes a specifically formatted UDP packet to send remote...... Full Entry »
This is a very old post. This is much simpler with newer versions of CF/Lucee ... ... I still see examples of people going way out of their way to make sure a common list has do duplicate values. I have seen people loop their list into a new list with a listFind condition to make sure it wasn't already there. I have seen...... Full Entry »
Back in February, someone broke into our house while we were at work (paying for all of the stuff they were stealing!). They kicked the door in and made off with a ton of stuff. They ripped flat screen TVs off of the wall mounts, took a Playstation 3, an XBOX 360, a PSP, tons of games and accessories, and two Macbooks. One of the laptops was...... Full Entry »
Recently, I had a need to convert text from UTF-8 to iso-8859-1. Actually, the need was to come up with a more efficient way of doing so. I'll spare you the why, when and where and get right to the how. After digging into the java.nio.charset.Charset, I came up with the following function. (commented for your viewing pleasure) Now...... Full Entry »
As you can see, Acoderslife.com has undergone a complete overhaul. The launch of the new site has rendered a number of old links and images useless. Since I've launched the new site, to my surprise, I have had 3 requests for the old BHCaptcha documentation. So I've decided to put up a downloads section to make such things available once again....... Full Entry »
This is just about to drive me crazy. I like the random header image at the top of this site but something with the way I'm doing it is causing a weird bug. Occasionally, when you load the page, you may notice that the image doesn't change. Since the images are random, it could, of course, be that the same image just happened to come up twice....... Full Entry »
So I had this CF web service for single sign-on authentication; it had one required parameter and everything was well with the world. Then came the change request to add three new non-required parameters. Some of you are saying, "Oh, I know where THIS is going.". If so, then... WHY DIDN'T YOU TELL ME?!?! :-) So I added these three new...... Full Entry »