Archive for the ‘News’ Category

cpuidle.de hacked

Wednesday, August 1st, 2012

Dear all,

I was notified yesterday by my provider that my site had been hacked and was distributing malware. I do hope that I was able to not only fix the malware issue but also identify and close the entry door.

If you notice anything strange please send me an email or comment here.

Kind regards,
Andreas

Using CodeIgniter’s ActiveRecord implementation standalone

Friday, February 12th, 2010

I’ve recently been looking into PHP ORM frameworks. One framework that scored highly was CodeIgniter’s implementation of the ActiveRecord pattern.
(more…)

HTTPS requests via proxy with Perl

Thursday, September 20th, 2007

A common problem with not so many solutions on the web is submitting HTTPS requests using Perl’s LWP module. This works fine as long as no proxy is involved. When the request needs to pass a proxy, you find out quickly, that LWP is not able to handle proxies for HTTPS traffic. Instead, the underlying SSLeay library must be used to tunnel the traffic transparently.

The following code shows how to:


$proxy = 'http://user:pass@server';
$ua->proxy(['http'], $proxy);

$proxy = 'http://server';
$ENV{HTTPS_PROXY} = $proxy;
$ENV{HTTPS_PROXY_USERNAME} = user;
$ENV{HTTPS_PROXY_PASSWORD} = pass;

# working, http & https
my $req = HTTP::Request->new(GET => 'http(s)://site/');
my $res = $ua->request($req);
if ($res->is_success){
print $res->as_string;
}

The tricky part is that lwp will still needs the http_proxy to handle http requests correctly, but not https_proxy as it needs to pass down the requests to SSLeay.

CpuIdle on Windows Vista

Thursday, July 6th, 2006

We’ve recently analyzed if CpuIdle can be supported on Windows Vista. The good news is: yes it can! However, due to changes Microsoft implemente in Vista, the are currently some constraints.

Due to user account control (UAC), CpuIdle is no longer able to access the registry keys required to allow CpuIdle to add itself to the programs run when Windows starts. No error message will be displayed, but CpuIdle also won’t start automatically. To work around this issue, the following options exist:

  • manually add CpuIdle to the AutoStart group
  • disable UAC in the Windows policies (this might cause security issues)

The third possible option would be to run CpuIdle with administrator rights (Right-click, Run As Administrator or use the compatibility options). The downside of this is that Windows does from now on display a security warning when starting CpuIdle.

Since Microsoft received a lot of criticism regarding UAC in Vista Beta2, we’re currently not rolling out an updated version with Vista support but will wait for Beta 3 and changes in UAC to be released.

New CpuIdle Release

Wednesday, June 28th, 2006

CpuIdle has just been updated:

  • improved CPU detection for Pentium M and Core Duo

CpuIdle is available for download here.

On contemporary A/V equipment and the pain of being a consumer

Thursday, June 15th, 2006

I’ve been looking for a TV replacement for some time- the old Philips one’s nice, but lately showing age, not yet on 100Hz technology, no HighDefinition and a bit clunky. But then the DVD player started breaking up and I decided to replace that one first. But- hadn’t I also wanted to grab a DVD hard-disc recorder for some time now? Sure.

So the plan was devised: get a DVD recorder to replace player and VCR and make sure it supports HDMI to be ready for the upcoming HDReady Flat TV.

Looking for HDMI-supporting DVD recorders I’ve found the Philips DVDR 9000 Cineos which immediately grabbed me by it’s striking design (and the 400GB disc):

Cineos DVDR 9000

(more…)

Or rather an alternative?

Thursday, April 6th, 2006

If, e.g. for cost reasons, the Mac mini doesn’t win the competition (~830€ for a Core Duo with 512MB and 80GB disc), AOpen’s MP915-B might be an alternative:

aopen.JPG

Current price is 330€, not including CPU, memory or disc.

Buying an iMac?

Thursday, April 6th, 2006

smallisbeautiful.JPGSince XP is now running on Macs, I’m wondering if my next work-only PC should actually be a Mac- just to make carrying a bit easier.
Should I go for the beautiful Mac keyboards as well?

Windows XP officially running on Mac computers

Thursday, April 6th, 2006

After initial community efforts to allow dual-booting Windows XP on Apple Macintosh computers by onmac.net, Apple has now released an official ‘boot camp‘ software package. Boot camp includes drivers for video, sound and USB.

Shortly after getting WinXP running on his Mac, dealcather presented the first ever blue screen of death (BSOD) on Mac hardware.

1stbluescreen.jpg

MySQL Workbench – Beta 1.0.5

Tuesday, March 14th, 2006

MySQL has released version 1.0.5 beta of their much anticipated database design tool. Application handles much better now, but still tends to freeze operation.

Feature highlights:
– Reverse engineering of existing MySQL databases
– Import DBDesigner4 models
– Synchronize edited model with MySQL database
– Generate SQL create script file
– Printing (Windows)
– Powerfull scripting and plugin interface. Plugins can be written in several languages, such as Lua, PHP, Java and Python.
– Fast, OpenGL based graphical canvas
– Quickly accessible “Overview” mode, which zooms out the whole canvas to reveal a more general view.

See an example screenshot of WB with the videoDB data model:

workbench.PNG