Primarily a .NET/SQL Server Developer (C#, ASP.NET MVC, Silverlight, WPF, WinForms, APIs, etc.), but Jack of all Trades when it comes to development.

I've dabbled in C, Adobe Flex, Flash, Ruby on Rails, Perl, PHP...

CV at http://careers.stackoverflow.com/Justin-Niessner

Google+ - Justin Niessner

Twitter - CrshOverride

1d
awarded Nice Answer
1d
answered Simplifying Conditional Operators
2d
awarded Good Answer
Sep
1
comment Get curl to output non-2xx to stderr, but 2xxs to a file
Shot in the dark, but it looks like a combination of --output, --silent, and --show-errors might do the trick?
Aug
27
comment converting from json to classic asp
@Dan - Without having a serializer to format the data for you, the ASP runtime has no idea how to format the data you want to return.
Aug
27
answered converting from json to classic asp
Aug
27
comment Ember form validation
@Cohars - Validations have nothing to do with the template. After calling model.get('isValid'), you can then call model.get('errors.entity') to get the actual error message.
Aug
27
comment Ember form validation
@Cohars - If you moved validations to the model, then your model needs to include EmberValidations in its extends call. You would then call model.get('isValid') from the controller to trigger validations.
Aug
27
comment Ember form validation
@Cohars - The validations can still stay in the controller. You don't need to move them to the model. You just need to include model. before the property name.
Aug
27
answered Ember form validation
Aug
26
awarded Enlightened
Aug
25
comment "Ten. Million. Questions." message looks dirty
Soooo glad that I'm not the only person that had this reaction.
Aug
25
answered What it database atomicity?
Aug
24
comment Why do we need to use radix?
@Vivekh - You can see the most current documentation at developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…
Aug
24
comment Why do we need to use radix?
@Vivekh - It used to back it 2011 when I originally posted the answer. A quick check in Google Chrome seems to indicate that they've changed a bit. parseInt('0101') now returns 101. Different browsers may have different behavior though. Always include the radix for reliable results.
Aug
20
revised Ember cli app with different adapter types?
added 56 characters in body
Aug
20
answered Ember cli app with different adapter types?
Aug
20
comment Ember cli app with different adapter types?
It should be all of the names. I thought Ember CLI singularized them for you, but I guess not.
Aug
20
comment Ember cli app with different adapter types?
If you use the tool to view the structure of your application, you should see an $E next to the Application Controller. You can then use the console to run $E.get('container').lookup('adapter:assessment'). For future reference, Ember expects singular names for everything.
Aug
20
comment Ember cli app with different adapter types?
There's a chance that it could be naming related. If you have the Ember Developer tools installed, you could grab the instance of your controller and try running this.container.lookup('adapter:assessments') and this.container.lookup('adapter:assessment') to see if either of those return your adapter. I'm guessing the former will and the latter won't but Ember is trying the latter.
1 2 3 4 5