Who's rewriting my /etc/nsswitch.conf, eh ?

Submitted by Falken on Wed, 08/06/2008 - 20:29

First my OpenSuSE machine at work decides to have it, and now I discover the reason why my Kubuntu laptop has been having horrible intermittent DNS resolution problems.
The offending entry in both cases was on the 'hosts:' line and said something like 'mdns4_minimal [NOTFOUND=return]' part away along.
At work, this utterly screwed up any attempt to resolve '.local' DNS names, which just happens to be the recommended way MicroSoft Active Directory is used, so it had to go there.

Bulk loading data in to databases

Submitted by Falken on Sat, 07/05/2008 - 17:16

There was a thread on CF-Talk about how best to split a large file up into records and then import them into a database - it happened to be MySQL but this note applies to every database I've ever used (including Oracle and MSSQL).
The quick summary is 'don't use ColdFusion for this'. Sometimes all you have is a hammer, and so everything looks like a nail - but there are much much more robust and much much faster ways of doing this.

Building ColdFusion services with ColdSpring and Reactor, part 6

Submitted by Falken on Wed, 06/11/2008 - 21:54

In the previous part, we saw how you can easily get up and running with the AOP features of ColdSpring in a ColdFusion project. But what practical use can this be put too ?
In this part I will show a simple piece of AroundAdvice that helps with reporting exceptions to clients of services. The next part will present a more complicated example - using BeforeAdvice to enforce security constraints and time-limited tokens.