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 …

JavaScript tip: Shorten document.getElementById with Function.prototype.bind

I found this really nice one liner on Nick Desaulniers blog about Function.prototype.bind Edge Cases: // var byId = function(id) { return document.getElementById(id); } var byId = document.getElementById.bind(document); Love it!

How to automount your virtualbox shared folder to /var/www

After adding the shared folder Websites to fstab by adding the line Websites /var/www vboxsf rw,uid=33,gid=33 0 0 and giving the right permissions, I always got the following error during my virtual Linux Mint boot: keys:Press S to skip mounting or M for manual recovery All I had to do was add vboxsf on a …

How to load leaflet.js and leaflet plugins with dojo AMD

<script type=”text/javascript”> var dojoConfig = { baseUrl: ‘/lib’, async: true, packages: [ {name: ‘Leaflet’, location: ‘./Leaflet’} ], map: { // lets you switch between minified and source version of leaflet for development ‘*’: { ‘Leaflet/leaflet’: ‘Leaflet/leaflet-src’ } } }; </script> <script type=”text/javascript” src=”lib/dojo/dojo.js”></script> <script type=”text/javascript”> require([ ‘require’, ‘Leaflet/leaflet’ ], function(require, L) { // load plugin …