AMANDA 3.3.2 and #undef bool

I upgraded a stable/8 system only to experience problems with swig generated code for AMANDA. I found 17 files containing these three lines:

#ifdef bool
#undef bool
#endif

This results in error messages such as:

Amanda/Application.c: In function 'SWIG_AsCharPtrAndSize':
Amanda/Application.c:1580: error: 'bool' undeclared (first use in this function)
Amanda/Application.c:1580: note: each undeclared identifier is reported only once for each function it appears in
Amanda/Application.c:1580: error: expected ':' before numeric constant

Continue reading

Blackboard Collaborate, Java Runtime Environment, and Windows 8/8.1

Strangely enough, Java Runtime Environment (JRE) fails to register javaws.exe as the handler for .jnlp files when installed in Windows 8/8.1.

Just remember to choose javaws.exe, not java.exe nor javaw.exe.

Further more, Blackboard Collaborate insists on using 64-bit JRE on 64-bit Windows, i.e. visit the directories and files usually found in C:\Program Files\Java, not the ones found in C:\Program Files (x86)\Java.

BTW, download your clean JRE from http://java.sun.com/ or from http://www.oracle.com/technetwork/java/index.html. On 64-bit Windows it’s usually wise to download and install both 32-bit and 64-bit JRE, i.e. Windows x86 Offline (e.g. jre-8u20-windows-i586.exe) and Windows x64 (e.g. jre-8u20-windows-x64.exe).

Manually rebuild Performance Counters

I tried to install some construction estimation software requiring MS SQL Server 2008 on a computer running Windows 8 only to encounter an unusual anomaly. MS SQL Server 2008 refused to install due to corrupted performance counters. The error message was kind enough to mention http://support.microsoft.com/kb/300956, but you should really go and visit http://support.microsoft.com/kb/2554336. Continue reading

Dell Latitude E6430 and the firmware setting for Optimus video

A Dell Latitude E6430 had Windows 7 reinstalled this August, and the firmware was upgraded along to revision A15. Somehow the firmware setting for Optimus video got disabled and I regrettably missed the change.

Today, while upgrading the firmware to revision A16, I spotted the disabled Optimus video setting. Thus, I enabled the setting, and now both the Intel HD Graphics 4000 and the nVidia NVS 5300M graphics cards show up in Computer Management. Just remember to install the Intel HD Graphics 4000 driver prior to installing the nVidia NVS 5300M driver.

Hopefully, all stability issues we’ve seen lately should now be resolved.

I began to question if the firmware update process is always able to restore every setting. The moral of this story is to verify the firmware settings after each upgrade.

Revisjonssystemer for kildekode og konfigurasjon

Fra en fylkeskommune her til lands, kom følgende frem for noen år tilbake:

En ansatt ved fylkeskommunens IT-avdeling hadde ikke lyst til å bruke revisjonssystemer for de skriptene som vedkommende produserte, fordi vedkommende ville ikke at de andre på avdelingen skulle se feilene som ble begått underveis. I samme tidsrom hadde vedkommende brukt mye tid på å feilsøke et av skriptene sine, bare for å finne ut at vedkommende hadde slått inn en fnutt (') et godt stykke til høyre på en lang kodelinje, og dermed gjort en del av utsagnet (statementet) om til en kommentar. Jeg innbiller meg at det var snakk om VBScript. Det hører med til historien at vedkommende brukte notepad.exe som editor. Continue reading

Yet another technical oriented blog, more or less