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,854 other subscribers

Archive for 2013

sql server – How do I programmatically set the connection string for Entity-Framework Code-First? – Stack Overflow

Posted by jpluimers on 2013/01/15

For my link archive:

sql server – How do I programmatically set the connection string for Entity-Framework Code-First? – Stack Overflow.

use the EntityConnectionStringBuilder see this How to: Build an EntityConnection Connection String.

–jeroen

Posted in .NET, .NET ORM, C#, C# 4.0, C# 5.0, Development, EF Entity Framework, Software Development | Leave a Comment »

The Lens Holster for Nikon! by Preston Turk — Kickstarter

Posted by jpluimers on 2013/01/14

The Lens Holster for Nikon! by Preston Turk — Kickstarter.

Interesting. I wonder about the strain on the mounts of longer lenses.

–jeroen

Posted in Power User | Leave a Comment »

Some links on using a LSI MegaRAID SAS/SATA 9260-8i controller with BBU using RAID 5/6 in VMware ESXi5

Posted by jpluimers on 2013/01/14

So I won’t forget:

–jeroen

Posted in ESXi5, Power User, VMware, VMware ESXi, Windows | 1 Comment »

1.5 TB 2.5 inch laptop HDD drives with 12.5mm, and ≈ 1 TB 9.5 mm SSD drives finally seem to have arrived

Posted by jpluimers on 2013/01/12

Large capacity notebook HDD drives

It appears that finally this kind of laptop HDD drives have arrived:

  • 1.5 TB capacity
  • 2.5 inch
  • 12.5 mm high (fits few standard drive bays, but often fits an adapter for the CD/DVD drive bay)

I’ve hoped for these drives to appear for a long time, and wrote blog posts on it in March 2012 (HDD market seems recovered, and WD introduced 4 TB 3.5 HDDs: when are 2.5 inch 12.5 mm 1.5+ TB drives coming?) and September 2012 (When are the 12.5mm 1.5 TB and 14.8mm 2 TB notebook drives coming?).

Finally they seem to be there, but there is still confusion of model number and exact drive height, so here are some links that I collected with information:

The YouTube video indicates the Seagate drive inside the GoFlex is indeed 12.5 mm high, but doesn’t reveal the product number of the drive.

Given the below Toshiba model numbers and specs, my gut feeling is that they are all the same drive (USA pricing currently varies between USD 125 and USD 140):

  • MQ01ABC150: Toshiba, 1.5TB, 2.5 inch, 12.5 mm, SATA 3.0 Gb/s, 5400 rpm, 8 MB cache.
  • MQ01ABD150: Toshiba, 1.5TB, 2.5 inch, 12.5 mm, SATA 3.0 Gb/s, 5400 rpm, 8 MB cache.
  • PX1830E-1HK0: Toshiba, 1.5 TB, 2.5 inch, 9?? mm, SATA 3.0 Gb/s, 5400 rpm, 8 MB cache.

Large capacity notebook SSD drives

In the mean time, the largest capacity of SSD drives available is approximately 1 TB:

Not available yet, but announced:

It looks like most (if not all) 960 GB drives internally use some form of RAID 0. The OWC is, and the Mushkin is too, but the M500 might be non-raid (we will know for sure after it ships) as it is supposed to use 128 Gb NAND dies (the OCZ Octane does, but when it got introduced, these were really expensive).

–jeroen

Posted in Hardware, Power User, SSD | Tagged: , , , , , , , | Leave a Comment »

Very limited number of parts, and limited stock in the “Nikon parts online” shop

Posted by jpluimers on 2013/01/12

If you consider buying from the new Nikon online parts shop, then please note that:

  • It has a very limited selection both in cameras (for instance, D700 is listed, but D300 is not), and parts (for instance both the D700 and D800 only list 5 parts each, most of which are parts for the outside of the body, similar for lenses like the 70-200 F 2.8 VR)
  • Some listed parts are not in stock and/or don’t have pictures

I really hope this changes for the better, as of a year ago, independent camera shops cannot order Nikon parts any more.

Thanks Nikon Rumours for pointing out this store exists at all.

–jeroen

via: You can now buy Nikon parts online | Nikon Rumors.

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

Chrome extension Search Plus (formerly FullSearch): Search Any Text String Across All Open Tabs In Chrome

Posted by jpluimers on 2013/01/11

Often while researching, I have a zillion pages open in Chrome. Mentally I have the right search texts in my head, but finding back the really relevant tabs can be a pain. That’s where the Chrome extension Search Plus comes in handy which used to be called FullSearch.

To quote a via FullSearch: Search Any Text String Across All Open Tabs In Chrome review :

The extension allows you to search for text in all open tabs at once, and shows a list of search results right in the pop-up. Moreover, clicking any of the results takes you to the particular tab with the highlighted text.

From the Search Plus extension page:

The Search Plus is a Chrome Extension App.

It helps to find the tabs you’re looking for from all opened tabs regardless of window, and you can manage the found tabs easily and quickly.

It works like a charm.
Highly recommended!

–jeroen

via:

Posted in Chrome, Google, Power User | 2 Comments »

Disable e-mail notifications on Google+ | How To – CNET

Posted by jpluimers on 2013/01/10

Disable e-mail notifications on Google+ | How To – CNET.

Posted in G+: GooglePlus, Power User, SocialMedia | Leave a Comment »

Converting Visual Studio 2003 WinForms to Visual Studio 2005/2008/2010/2012 partial classes (via: Duncan Smart’s Weblog)

Posted by jpluimers on 2013/01/10

In the .NET 1.x past, the WinForms designers in Visual Studio .NET and Visual Studio 2003 would put the C# or VB.NET code containing the form code as the InitializeComponent method of the top most class monolithic C# and VB.NET files that also contain the user code (for events and such).

As of Visual Studio 2005 (actually: Whidbey and higher), this code is based on partial classes. For each form (actually designable entity, but lets limit this to WinForms forms) you get a MyForm.cs and MyForm.Designer.cs

As a side note, with a bit of effort, you can generate the Windows Form Designer generated code yourself as this answer shows. This is for instance convenient when you have form definitions in a different technology and want to convert it to WinForms, WPF or another form of designer based .NET code.

I long time ago I wrote a short manual for co-workers on converting the monolithic files (for people interested, it is below).

Since then I found a couple of very interesting links: Read the rest of this entry »

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, Visual Studio 11, Visual Studio 2002, Visual Studio 2003, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, WinForms | 1 Comment »

Dreaming: MacBook Air is an Ultrabook, so with Haswell will it have Touch?

Posted by jpluimers on 2013/01/09

A few recent rumour and news items:

Since a MacBook Air fits the Ultrabook description perfectly, I dreamed that this might lead to a MacBook Air with Haswell and Touch.

And I’m not the only one dreaming that dream (:

What would you favour, MacBook Air with Touch, Retina or both?

–jeroen

Posted in Opinions | Tagged: , , , , , | Leave a Comment »

.NET/C#: what is the meaning of “Comparing two IEnumerables for equality”?

Posted by jpluimers on 2013/01/09

Until I realized that comparing two IEnumerables needed some extra thought, I wondered why Assert.AreEqual would not support them.

jrista pointed me in the right direction answering a question about c# – How does Assert.AreEqual determine equality between two generic IEnumerables?

The correct answer is “it doesn’t”, but that is really dense.

IEnumerables are just that: being generic or normal, they allow you to enumerate things. They can get you an enumerator (generic or not) that has a notion of Current (generic or normal) and such, but no knowledge of the underlying data.

Comparing them needs you to think about the enumeration and the underlying data at the same time. You can get two kinds of comparisons: Read the rest of this entry »

Posted in .NET, .NET 3.5, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »