The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for March, 2014

Charset Detector :: Summary

Posted by jpluimers on 2014/03/31

In case I ever need it: [Wayback] Charset Detector :: Summary.

It is empirical (you cannot 100% reliably find out what character set / encoding a file is), but has a good score.

A similar problem is detecting the language. There too you can get a good score.

–jeroen

via:

Posted in .NET, C#, Delphi, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Encoding, Software Development | Leave a Comment »

SQL Server: when your database is in “Recovery Pending” mode

Posted by jpluimers on 2014/03/31

With SQL Server, when your database is in “Recovery Pending” mode don’t just start blindingly search google, but sit down as you might be causing more damage doing so.

After sitting down, read these two posts by Paul Randal | SQLskills.com from his SQL Server Corruption series:

  1. Search Engine Q&A #4: Using EMERGENCY mode to access a RECOVERY PENDING or SUSPECT database.
  2. SQL Server EMERGENCY mode repair.

Then think about it before acting.

Though the simplest cause for “Recovery Pending” might be that a disk spin-up was slow, or a disk became full (and everything might just be dandy after the disk is available and there is enough room on it), make sure you read the above posts first before relying on the simple causes.

–jeroen

Posted in Development, Software Development, SQL Server, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014 | Tagged: , , | Leave a Comment »

EU Cookie Regulations vs. Google+ plugins (via: Gerwin Sturem; Google Drive)

Posted by jpluimers on 2014/03/31

Interesting article by Gerwin Sturm on EU Cookie Regulations vs. Google+ plugins.

It’s not just that the directive causes this nagging because “of course we can’t remember that users haven’t given us consent for storing cookies, because that would require storing a cookie, so the consent banner will always appear until the user has actually given consent.”

Some other valuable tips are in this article as well. Now go read it (:

–jeroen

Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »

Amazon.de / Amazon.co.uk: Umsatzsteuer-Identifikationsnummer verwalten / Manage VAT Registration Number

Posted by jpluimers on 2014/03/31

When you order for business usage, and your business can deduct VAT/Mwst, you can have Amazon.de and Amazon.co.uk send invoices without VAT for most goods.

Some restrictions apply, read these pages before performing the steps below:

For Amazon.de (they ship most goods for free from Germany to us for orders over EUR 20), follow these steps: Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

Mac/Android: Transfer files through USB (via: Nexus Help)

Posted by jpluimers on 2014/03/31

Too bad a Mac – no matter the OS X version – does not interoperate out of the box with Android like a Windows machine does.

On a Mac you need Android File Transfer to access the Android storage from your Mac.

This transfer app is very fast though and is way easier to use than doubleTwist.

From the Nexus help:

Mac OS transfer

  1. Install Android File Transfer from www.android.com/filetransfer, and follow the instructions there. (If you are using Android File Transfer for the first time, double-click it to open it. After the first connection, it opens automatically whenever you connect.)
  2. Connect your phone to your computer with a USB cable. Android File Transfer starts, if it’s not already running, and opens a window that displays the contents of your phone, along with storage space details at the bottom of the window.
  3. Work with this window much as you do in the Finder window: open and close folders, create new folders, and drag files to or from it and other Finder windows.
  4. Disconnect the USB cable when you finish.

–jeroen

via: Transfer files through USB – Nexus Help.

Posted in Android Devices, 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, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

jsmachines.net | The Original IBM PC In Your Web Browser

Posted by jpluimers on 2014/03/30

Fun!

jsmachines.net | The Original IBM PC In Your Web Browser.

–jeroen

Posted in History, Power User | Leave a Comment »

ECC vs non-ECC RAM: The Great Debate (via: Nex7’s Blog). Use the ECC dude.

Posted by jpluimers on 2014/03/30

Read this very nice post on Nex7’s Blog: ECC vs non-ECC RAM: The Great Debate.

There is no debate. Use ECC dude.

Use ECC especially for server side things (storage, virtualization, databases, etc) where you employ some kind of redundancy/correction in the storage (ZFS, RAID, etc) side of things.

And think about using ECC for the rest of your stuff, especially when things stay in memory for a longer period of time (in-memory processing of data can speed up things a lot, but also increase the risk).

Summary:

There is no debate here. None.

[…]

if you think non-ECC RAM can compete with ECC RAM, you are mistaken. If you think there’s a risk/reward analysis here, you’re correct. The risk is not gigantic, and there’s a real cost to alleviating that risk. You have to decide if that cost is worth alleviating that risk.

[…]

If you believe there’s a risk/reward plan where you can take the reward and apply to to mitigate the risk, you are back to being mistaken. The only benefit of non-ECC RAM (and thus the only reward in its choice over ECC RAM) is it will make the solution cheaper. There is not, however, any way (that I’ve heard of, yet) you can use the cost savings to mitigate the risk using non-ECC RAM will introduce.

[…]

If you choose to use non-ECC RAM, you open yourself up to a new vector for data corruption/loss/downtime/errors/etc,

one that could (rarely) even cause you to lose your entire filesystem, and one ZFS does not (cannot) resolve for you. Indeed, one it likely can’t even see at all. If you choose to employ non-ECC RAM, or are forced to do so because of circumstance or environmental constraint, that’s potentially understandable (and even acceptable) – but do not then attempt to validate or explain away that choice with pseudoscience or downplaying the risk you’ve added. You are using an inferior solution with an extra vector for data corruption/loss that ECC RAM solutions simply do not have. It is that simple.

[…]

Hint 3: There’s a reason we’re so gung-ho about using ECC RAM for ZFS, and it’s not just because we’re paranoid about data loss (which goes hand in hand with being a ZFS zealot, really). It is because you likely don’t realize how at risk you are. Due to the nature of how ZFS handles writes, your incoming (write) data is at risk of RAM-related bit errors for likely significantly longer than traditional storage solutions or alternative filesystems. 5, 10, 30, 60 or more seconds in a state where it is at risk.

Read the rest of this entry »

Posted in *nix, ECC memory, Endian, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Hardware, Hyper-V, Linux, Memory, Power User, SuSE Linux, VMware, VMware ESXi, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2 | Tagged: , | Leave a Comment »

World’s Smallest VMware ESXi Server « HackingAway.org

Posted by jpluimers on 2014/03/30

Kewl: World’s Smallest VMware ESXi Server « HackingAway.org.

SSD, ECC, Xeon CPU. Nice!

–jeroen

Posted in ESXi5.1, ESXi5.5, Power User, VMware, VMware ESXi | Leave a Comment »

Some more Chromecast development notes and links

Posted by jpluimers on 2014/03/29

Some notes and links for Chromecast development:

Some nice apps:

–jeroen

Posted in Chromecast, Development, Google, JavaScript/ECMAScript, Power User, Scripting, Software Development | Tagged: | Leave a Comment »

Installing VMware vSphere Client 4.1-5.5 on Windows 8 or 8.1 (via: tech :: stuff)

Posted by jpluimers on 2014/03/29

Until recently, I had all my VMware vSphere Client installations inside a Windows XP VM because Windows XP: relatively light weight, but (as of writing almost) End-of-Life.

I am upgrading that install now, and actually making two installs:

  1. on Windows Server 2003 R2 (the main VM management VM)
  2. on Windows 8.1 (my main Windows work laptop)

Of course I needed the installers for vSphere Client 4.1, 5.0, 5.1 and 5.5. The easiest os to get them through the direct download links at VMware: Vsphere Client Direct Download Links | tech :: stuff  Read the rest of this entry »

Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, Power User, VMware, VMware ESXi, Windows, Windows 8.1, Windows Server 2003 R2, Windows XP | Tagged: , , , | Leave a Comment »