Vintage Vespa for sale

They are available in many colors for more or less 6500 CHF (4384 euro), I suspect them to be restored in Asia. They are restored correctly and can be as such be use daily.
The yellow metallic was having no prize, the anodization is ok but not perfect for my eye. In France at least, it is forbidden to drive a vehicle with is fully metallic. Anyway the look was great!

Continue reading Vintage Vespa for sale

Hack a Dell Mini 9 to be able to run OS X

dell-mini-inspiron1 MAC-OSX-Leopard

There are a lot of netbooks on which you can install and run OS X, but if you’re mindful of the handy comparison chart those lads at Boing Boing Gadgets have compiled, you’ll know that the Mini 9 is about as ideal a platform as you’ll find for a Hackintosh ultraportable: Everything from wi-fi, sound and the function keys down to the optional integrated mobile broadband card and the SD card reader are supported and work as they should. No hardware compromises at all. It’s awesome. read this very nice tutorial at www.gizmodo.com

And it seems a lot of net book can are able to run with OSX, as it can be seen there

2009 Suzuki GSX-R 1000 K9

Seen at the Swiss Moto Show 2009

 

 

Engine Type 4-stroke, 4-cylinder, liquid-cooled, DOHC
Bore x Stroke 74.5 mm x 57.3 mm
Engine Displacement 999 cm3 (cc)
Compression Ratio 12.8 : 1
Carburetor Fuel injection
Oil Capacity (overhaul) 3.6L (1.0 US gal.)
Ignition Electronic ignition (Transistorized)
Starter System Electric
Lubrication System Wet sump
Transmission 6-speed constant mesh
Primary Drive Ratio 1.617 (76 / 47)
Final Drive Ratio 2.471 (42 / 17)
Frame Type Twin-spar (aluminum alloy)
Rake/Trail 23.8 degrees / 98.3 mm (3.9 in.)
Suspension Front Inverted telescopic, coil spring, spring pre load fully adjustable, rebound and compression damping force fully adjustable
Rear

Link type, oil damped, coil spring, spring pre load fully adjustable, rebound and compression damping force 2-way fully adjustable

Wheels Front 17 M/C x MT3.50, cast aluminum-alloy
Rear 17 M/C x MT6.00, cast aluminum-alloy
Brakes Front Radial mount, 4-piston calipers 310 mm disc, twin
Rear 1-piston caliper, 220 mm disc
Tires Front 120/70ZR17M/C (58W), tubeless
Rear 190/50ZR17M/C (73W), tubeless
Fuel Tank 17.5 L (4.6 US gal.)
Overall Length 2,045 mm (80.5 in.)
Overall Width 710 mm (28.0 in.)
Overall Height 1,130 mm (44.5 in.)
Wheelbase 1,405 mm (55.3 in.)
Ground Clearance 130mm (5.1 in.)
Seat Height 810 mm (31.9 in.)
Curb Mass 203kg (448 lbs.)


Visit the gallery with all the above pictures in their 4000×3000 glory

Ducati Streetfighter 2009




Visit the Gallery here

 

  Ducati Streetfighter Ducati Streetfighter S
Engine Type L-Twin cylinder, 4 valve per cylinder Desmodromic, liquid cooled
Displacement 1099cc 1099cc
Bore x Stroke 104×64.7mm 104×64.7mm
Compression Ratio 12.4:1 12.4:1
Power 155hp – 115.6kw @ 9500rpm 155hp – 115.6kw @ 9500rpm
Torque 87.5lb-ft 119Nm @ 9500rpm 87.5lb-ft 119Nm @ 9500rpm
Fuel injection Marelli electronic fuel injection,  elliptical throttle bodies.
Exhaust Lightweight 2-1-2 system with catalytic converter and two lambda probes. Twin stainless steel mufflers
Clutch Dry multi plate with hydraulic control Dry multi plate with hydraulic control
Frame Tubular steel Trellis frame in ALS 450 Tubular steel Trellis frame in ALS 450
Wheelbase 1475mm / 58.1 in 1475mm / 58.1 in
Rake 25.6° 25.6°
Steering angle 29° 29°
Front suspension Showa 43mm fully adjustable upside-down fork Öhlins 43mm fully adjustable upside-down fork with TiN
Front wheel 10-spoke in light alloy 3.50 x 17 5-spoke in forged light alloy 3.50 x 17
Rear suspension Progressive linkage with fully adjustable Showa monoshock. Aluminum single-sided swing arm Progressive linkage with fully adjustable Öhlins monoshock with top-out spring. Aluminum single-sided swing arm
Rear wheel 10-spoke light alloy 6.00 x 17 5-spoke forged light alloy 6.00 x 17
Front brake 2 x 330mm semi-floating discs, radially mounted Brembo Monobloc calipers 4-piston, 2-pad. 2 x 330mm semi-floating discs, radially mounted Brembo Monobloc calipers 4-piston, 2-pad.
Rear brake 245mm disc, 2-piston caliper 245mm disc, 2-piston caliper
Warranty 2 years unlimited mileage 2 years unlimited mileage
Versions Dual seat Dual seat

Joomla! php, FastCGI, blank page and duplicate header ‘Status’

joomla_cms

Since months, now I (understand also YOU) receive some blank page when browsing my Internet homepage.

This strange behavior seems to occur only when having PHP running as FastCGI

FastCGI is a protocol for interfacing interactive programs with a web server. FastCGI is a variation on the earlier Common Gateway Interface (CGI); FastCGI’s main aim is to reduce the overhead associated with interfacing the web server and CGI programs, allowing a server to handle more web page requests at once. [WikiPedia]

The Apache logs are quite explicit:

[error] [client x.x.x.x] FastCGI: comm with server “/srv/www/cgi-bin/php5” aborted: error parsing headers: duplicate header ‘Status’

The error is located in the file /libraries/joomla/environment/response.php, at the function JResponse::sendHeaders()

The way header has to be send is different when using PHP FastCgi, strange that #Joomla! 1.5.9 still do not have this in main stream code…

Old code

 function sendHeadersOld()  {   if (!headers_sent())   {    foreach ($GLOBALS['_JRESPONSE']->headers as $header)    {     if ('status' == strtolower($header['name']))     {      // 'status' headers indicate an HTTP status, and need to be handled 
     // slightly differently      header(ucfirst(strtolower($header['name'])) . ': ' . $header['value'], null, 
(int) $header['value']); } else { header($header['name'] . ': ' . $header['value']); } } } }

This is how it should look like, code is backward compatible, if PHP run as an apache module.

 function sendHeaders()  {   if (!headers_sent())   {    foreach ($GLOBALS['_JRESPONSE']->headers as $header)    {     if ('status' == strtolower($header['name']))     {      // 'status' headers indicate an HTTP status, and need to be handled 
// slightly differently
$attribute = ucfirst(strtolower($header['name'])) . ': ' . $header['value']; if (substr(php_sapi_name(), 0, 8) == 'cgi-fcgi') { $attribute = str_replace("Status:", "HTTP/1.1", $attribute); } header($attribute, null, (int) $header['value']); } else { header($header['name'] . ': ' . $header['value']); } } } }