Archive for the ‘Uncategorized’ Category
With VS2010; Blend was shipped as a stand alone product. With VS2012; Blend was bundled. Almost.
The Blend that comes with VS2012 only does Win8 ModernUI apps.
But there is a remedy: download Blend preview from here: http://bit.ly/U3Opxh. Login might be required.
The article linked below doesn’t touch my usual rant about innovation and that there are things that cannot be owned.
Instead it mentions that there is something built into software patents that make them unusable as patents.
If you are using Dapper and try to select data into an object and don’t have a default constructor the exception
Value cannot be null.
Parameter name: con
might be thrown.
The stack is:
[ArgumentNullException: Value cannot be null.
Parameter name: con]
System.Reflection.Emit.DynamicILGenerator.Emit(OpCode opcode, ConstructorInfo con) +9566558
Dapper.SqlMapper.GetClassDeserializer(IDataReader reader, Int32 startBound, Int32 length, Boolean returnNullIfFirstMissing) in C:\pathtomyproject\SqlMapper.cs:1177
Dapper.SqlMapper.GetDeserializer(IDataReader reader, Int32 startBound, Int32 length, Boolean returnNullIfFirstMissing) in C:\pathtomyproject\SqlMapper.cs:674
Dapper.<QueryInternal>d__4`1.MoveNext() in C:\pathtomyproject\SqlMapper.cs:397
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +327
System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
Dapper.SqlMapper.Query(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in C:\pathtomyproject\SqlMapper.cs:348
I found an article about how to add items to your Sendto folder in Windows 7. Easy as pie.
It worked on my machine and as long as I didn’t need to handle Allusers or anything fancy like that it did what it should – allowed me to enter a shortcut into the Sendto folder.
I don’t know for how long this has been possible but I guess my years of whining about lack of data scripting capabilities in Sqlserver management studio is moot.
I found an article which describes the hidden setting. I wonder for how long the possibility has been there.
I remember Sqlbase scripting its own data back in last century. I remember myself writing sprocs for the same for Sqlserver. I remember myself hunting scripts for the same on the web. I now foresee a future with lots of clicketyclick – the GUI of MS’s Sqlserver tools is way too fiddly for my taste.
This is a place holder for a possible review of HP Pavilion dm1-3110eo Notebook PC.
I have started a new blog to run parallel with this. It is about ideas.
I get ideas all the time. So instead of just dropping them I let them out for others to see and use.
Why do we do a hand over when we release a system into production? There is a new machine(s) involved. There are different protocols for talking with the computer. Due to security there are different tools involved. But. It is the same system.
Just as programming is designing is architecting is designing is programming I say that developing is running is developing.
Now there is a word for it, Devop. Developer and Operator. Makes it much easier to explain when it is googleable.
Placeholder for a possible future review of Nokia BH-217.
If one wants to run a virtual machine on Windows 7 Windows Virtual PC is the official way to go.
It requires hardware supported virtualization though, which means not everyone’s machine can do it. On my HP 8510w it meant a cold reboot – just restarting and changing the BIOS was not enough.
The older VirtualPC2007 doesn’t need any hardware virtualization stuff and a small text about how to install it is found here: http://blogs.msdn.com/virtual_pc_guy/archive/2009/08/19/running-virtual-pc-2007-on-windows-7.aspx
It looks like Microsoft wants everyone who installs Windows Virtual PC to also install Windows XP Mode by some reason unknown to me. I am a developer and I am hesistant to installing apps that might tweek the OS.
The whole page at http://www.microsoft.com/windows/virtual-pc/download.aspx pushes you into installing Windows XP Mode but if one selects a system at step 3 two buttons pop up and one of them says “Windows Virtual PC”.
Download and install. But instead of the usual application GUI one gets a view of a folder under C:\Users\username\Virtual Machines prepared for virtual machines. This might be good for people who backup what is under their personal account but as a developer I don’t want to tie my data to an account and instead prefer something like C:\DATA\VMACHINE\.
Come to think of it – is it good for anyone?
It also took me a while to find out how to create a new virtual machine. Instead of having an app with a button or menu as is de facto standard someone has decided to hide the button in the toolbar or extra menu system ( I have never figured that out. )
Don’t bother to cut and paste the .vmcx file to some other place. It will be copied but not removed so you end up with the original .vmcx file in the original place and a not functioning copy of it in your target directory.
The .vmc file can be run though.
Mount an ISO with your preferred OS on the virtual D: drive. The virtual machines chews through your NICs and DHCP. I had my WLAN card turned of in the host OS, but the virtual machine seemed to first look for my WLAN card and then my regular one.
The rest looks just like ususal.