Archive for 2013
Posted by jpluimers on 2013/05/07
It is such a pity that StackOverflow is not the place any more for questions like these:
c# – What’s the hardest or most misunderstood aspect of LINQ? – Stack Overflow.
These questions and answers historically got me most of the insight from SO.
Alas, no more.
–jeroen
Posted in .NET, Development, LINQ, Opinions, Pingback, Software Development, Stackoverflow | Leave a Comment »
Posted by jpluimers on 2013/05/06
This 5 year article from 2007 (which was an update for the 2002 version) is still very up to date in 2012: Top Ten Mac OS X Tips for Unix Geeks – O’Reilly Media.
Originally it was to promote Mac OS X for Unix Geeks – O’Reilly Media. In between the updates there was Mac OS X Panther for Unix Geeks, 2nd Edition – O’Reilly Media.
Now it is to promote Mac OS X for Unix Geeks (Leopard), 4th Edition – O’Reilly Media.
Note there is also a nice, but independent presentation with the same title from HTGR-MacOSX.
–jeroen
Posted in *nix, Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Power User | Leave a Comment »
Posted by jpluimers on 2013/05/03
This year, the Dutch Queens day this year had a special nature. On the nation level: the abdication by former Queen, now Princess Beatrix, and the succession and inauguration of King Willem-Alexander. On the marching band level: Adest Musica had their Dutch premiere of the new show Mother Earth which will be their entry during the quadrennial Word Music Concours this summer. On the personal level, my best friend visiting The Netherlands for just a few days, so finally a chance to catch up in person.
So I totally missed another important historic event: the 20th birthday of the releasing the WWW source code in the public domain.
On the 30st of April 1993, CERN: Read the rest of this entry »
Posted in About, Adest Musica, Personal, Power User, Web Browsers | Tagged: research, technology | Leave a Comment »
Posted by jpluimers on 2013/05/03
A long time ago, I promised steps how to install VMware 5 ESXi using the MBR boot format.
The steps with screenshots are below, but first some background information.
As of VMware ESXi 5, GPT (short for GUID partition table) is the default partition table used by VMware ESXi.
Disks smaller than 2 TB can boot with MBR, but GPT It is a requirement for disks bigger than 2 TB. GPT also needs a UEFI compatible BIOS.
Some older BIOSes (like those of my HP XW6600 machines: still running strong after many years of fine service) do not support GPT.
Luckily, weasel (the open source Operating System Installer that VMware ESXi uses) can be forced to use MBR using runweasel formatwithmbr.
Forcing MBR is a 2-step process.
- Get to the boot prompt: press Shift+O when the progress bar appears
- Running weasel with the MBR option: after the “runweasel”, type a space, then formatwithmbr
Below are the screenshots of a VMware ESXi 5.0.0 installation I did this way.
But it works equally well in ESXi 5.1.x
After writing this post, I found out about ESXi 5 Won’t Boot From USB which solves this exact problem for an HP XW8600 configuration (those are slightly larger machines than the XW6600 I have, but the architecture is the same).
Screenshots
Click on the image or link for larger screenshots, or view the series here at Flickr. Read the rest of this entry »
Posted in BIOS, Boot, ESXi5, ESXi5.1, Hardware, HP XW6600, Power User, UEFI, Virtualization, VMware, VMware ESXi | 1 Comment »
Posted by jpluimers on 2013/05/02
for my link archive:
–jeroen
Posted in .NET, C#, Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Development, Software Development | 1 Comment »
Posted by jpluimers on 2013/05/01
This is more elaborate English version of a short Dutch message I recently sent to explain the differences between VCL and FMX:
Do not regard FMX as a replacement for VCL: they are different kinds of frameworks.
VCL is a wrapper around Windows Controls. In itself, it has not much functionality: it exposes the underlying Windows functionality. The exception are data aware controls that provide basic functionality for writing data aware applications. There is a huge 3rd party market for extending VCL support, for instance providing extra Windows functionality, enriching data aware behaviour (look at all those fancy data aware grids), and many more.
FMX is the FireMonkey X-platform framework. Major functionalities are vector based 2D, 3D drawing and controls, and support for styles and composition.
When introducing FMX in Delphi XE2, Embarcadero also introduced a new way of data binding that is shared with FMX and VCL. FMX extends this a bit to some basic data aware controls.
Gone are most of the platform specific features like drag & drop, full blown Windows Shell ListViews, etc. There are some controls that manifests themselves differently on each supported platform (like Pickers), but most of that is currently left to the 3rd party FMX component market.
So if you want FMX to replace VCL, then be prepared for quite some shopping in the 3rd party market.
CLX tried to be a full blown cross platform VCL replacement, but that didn’t work very well.
–jeroen
Posted in Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Development, FireMonkey, OS X FMX, Software Development | Tagged: component market, data binding, fmx, software, technology, vcl, windows controls | 1 Comment »
Posted by jpluimers on 2013/05/01
A while ago, I needed to automatically create a bunch of shortcuts all in the same directory, and all the batch files in a different directory.
There’s different kinds of doing this:
I needed a one-off, so I came up with some code like this. Read the rest of this entry »
Posted in Development, Scripting, Software Development, VBScript | Leave a Comment »
Posted by jpluimers on 2013/04/30
Precision Computing is a site by Lee Holmes having a great blog with PowerShell tips. Of course he does, as he is part of the PowerShell team and he wrote Windows PowerShell Cookbook: The Complete Guide to Scripting Microsoft’s New Command Shell.
The Counting Lines of Source Code in PowerShell entry is on counting C# code lines (and shows some great performance optimization tips).
I knew about the blog, and bumped into the entry because of file – Lines-of-code counting for many C# solutions – Stack Overflow.
Last year I inherited a suite of .NET projects totaling about 4 million LOC. Which I want to drastically reduce to make it more maintainable.
–jeroen
Posted in .NET, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, CommandLine, Development, PowerShell, Software Development | Leave a Comment »
Posted by jpluimers on 2013/04/29
This works for Windows XP and Windows Vista too:
Wolfie2k6
Just tested out installing a few T1 fonts. There are two general rules for how to do this.
- Drag/drop both the PFM and PFB files (the INF and AFM files aren’t important nor needed) to C:\Windows\Fonts
- Open each font by clicking on the PFM and clicking the Install button at the top of the font preview window.
#2 is slower, but it works as well as any other with any font type that Windows 7 supports:
Note: If you drag/drop Type 1 fonts (PFB/PFM) to the Windows\Fonts folder, Windows 7 may complain when copying the PFB saying that it’s missing the PFM and that you should install using the PFM.
Either way – both methods work tho #2 is preferred when dealing with a T1 font.
–jeroen
via: Type 1 fonts and Windows 7.
Posted in Power User, Windows 7, Windows Vista, Windows XP | Leave a Comment »