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 the ‘Windows 8’ Category

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 »

When FINDSTR drives you nuts (via: batch file – Stack Overflow)

Posted by jpluimers on 2014/03/29

The upside of findstr is that it is included with Windows since a long time (at least since Windows XP, later: indeed since Windows ME) and supports a form of regex.

But often it drives you crazy.

When it does, read What are the undocumented features and limitations of the Windows FINDSTR command? – Stack Overflow.

–jeroen

Posted in Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows ME, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

smallestdotnet.com via: shanselman/SmallestDotNet (thanks @shanselman)

Posted by jpluimers on 2014/03/29

Brilliant piece of open source:

SmallestDotNetSmallestDotNet.com is a single page site that does one thing. It tells you the smallest, easiest download you’d need to get the .NET Framework on your system.

Even on Mac OS X it is helpful and recommends Mono and on iOS it recommends looking at MonoTouch.

Thanks Scott Hanselman for making this available!

–jeroen

via:

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Apple, Development, 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, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , | Leave a Comment »

How to Mount and Unmount ISO Files in Windows 8+ (via: TheUnlockr)

Posted by jpluimers on 2014/03/27

Sound of facepalm hitting my head, as I totally by accident found out that as of Windows 8 (un)mounting of ISO files is built into Windows.

Mounting

  1. Open the folder where you’ve stored your ISO file.
  2. Right-click on the ISO and select Mount
  3. You’ll now see the ISO mounted inside your Computer.
  4. That’s it!

Unmounting:

  1. Open Computer on your PC.
  2. Right-click on the virtual drive that was created while mounting ISO file and select Eject.
  3. The drive disappears after the ISO image is “ejected”.
  4. That’s it!

–jeroen

via: How to Mount and Unmount ISO Files in Windows 8 | TheUnlockr.

Posted in Power User, Windows, Windows 8, Windows 8.1 | Leave a Comment »

Windows CSC reset: How to re-initialize the offline files cache and database (via MS Support)

Posted by jpluimers on 2014/03/27

Every once in a while, the local synchronization of offline files mismatches the actual files.

Time for a CSC reset.

Note: you need to be Local Administrator on the machin in order to reset the CSC cache.

Use Reg.exe

You can also automate the process of setting this registry value by using the Reg.exe command line editor. To do this, type the following command in the Reg.exe window:

REG.EXE. REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache" /v FormatDatabase /t REG_DWORD /d 1 /f

–jeroen

via: How to re-initialize the offline files cache and database.

Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 7, Windows 8 | 2 Comments »

Windows command-line: Finding default routes and setting their metric

Posted by jpluimers on 2014/03/23

When you have multiple network connections, sometimes you want to prefer one to be used as “default” (i.e. because it has higher speed or lower latency).

Windows already tries to accommodate for that by assigning “metrics” to your network connections. They depend on the kind of network (wired over wireless) and speed of the connection.

To see the current default network routes and their metrics, you use the route print command and filter it with findstr like this:

route print | findstr /C:"Metric" /C:" 0.0.0.0"

The “0.0.0.0” string is to filter out the default routes, and “Metric” includes the header line.

For one of my XP machines, the result is this:


Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.71.1 192.168.71.28 10
0.0.0.0 0.0.0.0 192.168.171.1 192.168.171.140 10

Now, even though both metric are 10, my 192.168.71.1 gateway is much slower than my 192.168.171.1 gateway, so I want to prefer the last one. Read the rest of this entry »

Posted in Power User, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Tagged: , , , , , | Leave a Comment »

Interesting: HotspotShield (VPN for iPhone/Mac/Windows to Access Blocked Sites; Surf Anonymously)

Posted by jpluimers on 2014/03/14

Interesting: HotspotShield VPN to surf from a USA IP address.

There is a free version with ads, and a payed version without ads.

Probably more services like this exist, but this has been working for me.

Yup there are:

–jeroen

via: Download Free VPN for iPhone, Mac and Windows to Access Blocked Sites & Surf Anonymously.

Posted in Apple, iOS, iPad, iPhone, 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, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Leave a Comment »

Windows Service: Stopping/Starting from the console with a delay

Posted by jpluimers on 2014/02/25

When stopping Windows Services from the command line using `net stop`, then you often get time outs like these:

C:\Windows>net stop "FooBar Survur"
The FooBar Survur service is stopping.
The FooBar Survur service could not be stopped.

C:\Windows>net stop "FooBar Survur"
..
The FooBar Survur service could not be stopped.

Neither the `net stop`, nor the `net start` command allows for specifying a time-out, so it uses the default time-out of 5 seconds. Which often is not long enough.

Luckily, both the Windows sc command and the free 3rd party Windows Service Manager (SrvMan) are able to stop these services.

Note that both tools: Read the rest of this entry »

Posted in Power User, Windows, Windows 8 | Tagged: | Leave a Comment »

NTUSER.INI – sets what parts of your Windows profile are roaming

Posted by jpluimers on 2014/02/14

Never noticed this file before until I got some trouble with several systems sharing parts of a roaming profile.

The content of my %USERPROFILE%\ntuser.ini file is this:
[General]
ExclusionList=AppData\Local;AppData\LocalLow;$Recycle.Bin;Tracing;PrivacIE
[ProfileLoadType]
LastUploadState=Complete

[[The ntuser.ini file is used to set up the user roaming profile components that are not copied to the server.]]

http://www.comptechdoc.org/os/windows/win2k/win2kusers.html

The ExclusionList is for excluding directories in roaming profiles.

The same info is also found here…

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
ExcludeProfileDirs

System tool may not correctly display the user profile size in Windows

Server 2003

http://support.microsoft.com/default.aspx?scid=kb;en-us;842212

–jeroen

via: NTUSER.INI.

Posted in Power User, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Leave a Comment »

How do you enlarge the font size in the address bar if you have a vision problem – Browsers – Windows 7

Posted by jpluimers on 2014/02/13

Here you can change the font (enlarge, bold, etc): How do you enlarge the font size in the address bar if you have a vision problem – Browsers – Windows 7.

–jeroen

Posted in Power User, Windows, Windows 7, Windows 8 | Leave a Comment »