What I don’t like about the Nikon D500

So far nothing except one (little) thing: Unlike on the D810, the GPS icon is not displayed on the top LCD only on the rear LCD. The GPS icon (on the rear LCD) blinks as long as no fix is available. Having this information on the top would be useful before taking a picture, especially […]

Why is your PHP output still buffered even when you turned buffering off?

If you want to stream your content with PHP, you need to have output_buffering set to off in you php.ini and/or use it together with flush(). If this still does not work check your Antivirus software. On Windows, the on-access scanners of Sophos and Avira Antivirus buffer your http output! The only solution is to […]

PHP: How to sort a NodeList by element attribute

$elements = iterator_to_array($nodeList); usort($elements, function($a, $b) { return (int) $b->getAttribute(‘someAttribute’) – (int) $a->getAttribute(‘someAttribute’); });

Gimbal and replacement foot for the Nikon 600mm FL

Unfortunately, the Nikon 600mm f/4E FL ED VR does not balance with the D810 and the foot replacement LCF-13 by Really Right Stuff nor with the Nikon stock foot. The LCF-13 worked perfectly with the previous model 600mm f1/4G ED VR. After some research I ordered the foot LF-N604FL by jobu design. It is 4 […]

Use JSDoc 3 and PhpStorm to generate JavaScript documentation

This is an update to my former installation guide How to Generate JavaScript Documentation with JSDoc 3 and PhpStorm, which was written in 2013. Since then, JSDoc 3 moved from Mozilla’s Rhino to Node.js to generate the documentation, which is why that guide no longer works (unless you use an older version of JSDoc 3). […]

Streaming large data (LOBs) directly into an Oracle database with PHP

The OCI library allows you to stream large data in chunks directly into a LOB instead of loading it completely into memory first. This technique is only mentioned in the article Working with LOBs in Oracle and PHP on the Oracle Technology Network, but no code example is given there, so here’s my take: $sql […]

New Foot for the Nikon 600mm f/4 FL VR is on the way

The Nikon 600mm f/4 FL is a superb lens, but you need a very long lens plate to balance it correctly with a D810 attached. For example the the Really Righ Stuff LFC-13 replacement foot is not long enough, but there is help on the way. I just received the following email from RSS: Really […]

Share VPN connection of Windows host with VirtualBox guest

Sharing the VPN connection of your host in VirtualBox works fine with NAT, but not with host only mode. The solution I found on morales-rodriguez.net is simple. Open an admin console on your windows7 host and execute the following: $ VBoxManage list vms Note that uuid or name in parenthesis of your VM and then: […]

New Nikon 600mm F/4 FL ED VR is too front-heavy with D810 attached

Update 04.03.2017: Perfectly balancing a Nikon 600mm FL with a D810 / D500 works now. I not only replaced the stock foot, but also use the gimbal Heavy Duty MK IV by jobu design. Update 23.04.2016: Balancing the 600mm FL horizontally works fine now. I finally went with a foot replacement by jobu design. Update […]

PhpStorm: Complete code versus complete current statement

Here are two useful keyboard shortcuts for PhpStorm which sound similar, but are quite different: complete code CTRL + SPACE will either finish your code if what you typed so far is unambiguous or otherwise offer a list to choose from. complete current statement CTRL + SHIFT + ENTER will add a semicolon at the […]