Thursday, December 3, 2015
When returning a column from a sproc and when you wish to cast varchar data to a bit shape...
Just do something like this:
alter procedure SQL is followed with...
SELECT
x.Foo AS [MyFoo],
CASE WHEN x.Bar IS NULL THEN 'False' ELSE 'True' END AS [MyBar],
x.Baz AS [MyBaz],
y.Qux AS [MyQux],
...then yet more SQL follows
When you slurp a dataset into C# and then turn around and cast it to a POCO you will be able to map the 'False' and the 'True' to a bool type getsetter without issue.
goofiness in which a single mouse click is automatically selecting everything from the point where you clicked to either the beginning or the end of any file
I experienced this today and beat the problem by just pressing the Shift key a bunch of times.
Wednesday, December 2, 2015
PostSharp 3.1.49 may prevent you from debugging a library by way of not making a .pdb file next to a .dll file.
POSTSHARP_CONSTRAINTS;SkipPostSharp;POSTSHARP_CONSTRAINTS
...needs to go under the "Conditional compilation symbols:" under the "Build" tab of series of tabs one gets when right-clicking upon a project name in Visual Studio 2015 and picking "Properties" from the menu which appears. This will replace the .pssym file next to the .dll with a .pdb instead!
Addendum 5/11/2016: Please note that this will sabotage the ability to use aspects!
Tuesday, December 1, 2015
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
This is a "very loud" in-your-face error which occurs just in Firefox. I don't yet know how to beat it. I found something online which suggested that if you pick "Restart with Add-ons Disabled..." under "Help" that it will run Firefox without any Add-ons so that you might rule out an Add-on as the culprit, but in my case I think the culprit is DXR.axd of DevExpress. Anyways, if you can't see the "Help" menu...
- go the hot dog menu at the upper right
- pick "Customize" at base of menu which flies out
- pick "Show / Hide Toolbars" at lower right
- pick "Menu Bar"
Save the copy in an HTML paragraph in one of the paragraph form fields in a story or defect in CA Agile Central to a template.
Click that blue-copy-on-white button at the upper right of the paragraph textarea to save what you have as a template or to recover the text from an existing template.
Adobe AIR
I've never used this. I thought of it recently. This suggests: "The Adobe AIR runtime enables developers to package the same code into native applications and games for Windows and Mac OS desktops as well as iOS and Android devices, reaching over a billion desktop systems and mobile app stores for over 500 million devices." AIR stood for Adobe Integrated Runtime but now it is just "air" standalone.