Hud Bug! My soon-to-be-electric VW.

I’ve bought a 1973 Volkswagen Beetle and will be converting it to an all-electric drivetrain. Before starting major work, I mounted a Wii Remote in the car and took it for a spin. What you’ll see here is the video from that drive along with the accelerometer data logged with the help of the Wii Remote.

The point of this is to have a good comparison so I know how I do after the conversion. Ideally the car will be only slightly heavier as an electric car, and should accelerate and slow at roughly the same rate, at least while traveling at city speeds. Also a reason for the video is to compare the kind of noise the engine makes versus an electric motor.

It’ll take a few months to finish the conversion, at least, but stay tuned for more info about the electric conversion project.

Initial Intel SSD Results

Recently I bought an Intel 80GB SSD after a price drop.  The initial results in terms of performance are really promising. Soon, I’ll make a full post with benchmark figures and before/after video goodness.

intel-ssd

Cold Fusion Administrator Error

On one of my servers, attempts to go to the CFIDE Administrator resulted in an error like “not a valid class byte array.”

We got this error because the default website was not enabled.  The solution was to enable the default website and access the administrator through it.

Thanks to Paul Vecchione at Creative Computer Services for the fix!

Error details:

The web site you are accessing has experienced an unexpected error.

Please contact the website administrator.

The following information is meant for the website developer for debugging purposes.

Error Occurred While Processing Request

this does not appear to be a valid class byte array

Resources:

* Check the ColdFusion documentation to verify that you are using the correct syntax.

* Search the Knowledge Base to find a solution to your problem.

java.io.IOException: this does not appear to be a valid class byte array

at coldfusion.compiler.ClassReader.findEndOfClass(ClassReader.java:219)

at coldfusion.compiler.NeoTranslator.parseClasses(NeoTranslator.java:394)

at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:269)

at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:106)

at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:282)

at coldfusion.util.LruCache.get(LruCache.java:188)

at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:223)

at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)

at coldfusion.util.SoftCache.get(SoftCache.java:81)

at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:422)

at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:391)

at coldfusion.tagext.lang.IncludeTag.setTemplate(IncludeTag.java:149)

at coldfusion.tagext.lang.IncludeTag.setTemplatePath(IncludeTag.java:84)

at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:64)

at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)

at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:172)

at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)

at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)

at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)

at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)

at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)

at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)

at coldfusion.CfmServlet.service(CfmServlet.java:107)

at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)

at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)

at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)

at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)

at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)

at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)

at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)

at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Who’s messing with the IIS metabase?

Sometimes you need to track changes to IIS configuration. Maybe a virtual directory keeps disappearing? Follow a few simple steps, and you’ll be able to point the finger with supreme confidence when that happens.

By following the steps outlined at the official Microsoft IIS site, you can record entries to the event log any time something is changed in the IIS configuration.

Truncate Logs for All Databases in T-SQL

Sometimes, when developing, you don’t really want to worry about running out of space on your development SQL server. In that same development environment, it may not be important to preserve a transactional record of your test data. In that case, you can truncate transaction logs all you want.

This script has been tested only on Microsoft SQL Server 2005.

View the code snippet at GitHub.