Joe Enos

Phoenix, AZ

jtenos.com

Age: 33

Software developer and architect, focused on .NET technologies. Aspiring entrepreneur, working on multiple startup projects.

Twitter: http://twitter.com/jtenos/

9h
comment Storing large but simple array in Javascript?
I haven't tried it, but you may be able to compress your data, and decompress at runtime using something like zlib - CSV data generally tends to compress very well, so if you're getting close to the localstorage limit, this might help.
1d
awarded Nice Question
2d
comment indexOf causing error in IE; working in other browsers
In the debugger, verify what the actual object this.config.giftFeatures[giftB] is - see if it's an array, or something else.
Mar
2
comment What is preventing a VS 2003 aspx web form from opening in the designer?
I think the only reasonable recommendation would be to stop using Windows XP and VS2003. I know business sometimes forces you to use old stuff, but that's just ridiculously old.
Feb
28
comment HTTP JSON and REST
As far as I know, there is no official standard for RESTful services. Personally I find strict by-the-book REST to be obnoxious, since the real world doesn't always correspond to the GET/PUT/POST/DELETE rules that REST infers. In my opinion, it's all about what works best for you.
Feb
26
awarded Enlightened
Feb
26
awarded Nice Answer
Feb
26
comment Create C# generated HMAC hash in Javascript
CryptoJS might have something that can do it - I didn't dig too much into their helper libraries.
Feb
25
answered How to use Application objects in asp.net mvc?
Feb
25
revised Create C# generated HMAC hash in Javascript
Adding solution to create use WordArray
Feb
25
answered Create C# generated HMAC hash in Javascript
Feb
25
reviewed Approve suggested edit on Reach third normal form
Feb
25
comment Using 2 javascript menu bars in same web page
Just a thought - this control was last updated in 2003. I wouldn't recommend using anything that old.
Feb
25
comment IE not displaying background color on div
You'd have to follow that up the whole stack - looks like your HTML goes into an array called items right now, which contains strings. If you change the items2 variable to be a jQuery object instead of a string, you'd have to ensure that whatever pulls the values from items knows that each value is a jQuery object, and treat it as such. So it's not just as simple as changing that one line, but rather changing the overall way you're appending HTML to your page.
Feb
25
comment Many-to-Many Query in Entity Framework 6 without Junction Tables
According to your diagram, there is no relationship between Packages and Platforms - is your foreign key missing?
Feb
25
comment How do I retrieve the values of a single column from a database table?
Once you do your research and find out how to execute the query, the easiest way to get to an array from an unknown number of values is to create an empty List<T>, keep adding to it as long as needed, then when you're done, call ToArray() on that list to get your array.
Feb
25
comment C# BlackJack - same card dealt to player & cpu?
Checking if a card has already been drawn like that will cause progressively worse performance with every card drawn. Probably not noticeable here, but in a real-world application it could dramatically hurt performance. Using a queue, or at least manually removing the card from the list as you draw, would be the way to go.
Feb
25
comment IE not displaying background color on div
Rather than appending strings together, you'd be better off using jQuery's functions: jQuery("<div></div>").addClass("bt_icon").css("background", status).append(... - this would help avoid mixing quotes, would deal with funky characters, etc.
Feb
25
comment Select percentile rank from table based on score SQL
The upside of top over max of course would be if you cared about other columns in that table instead of just the percentileRank column - you could easily add those columns to the query without changing anything else.
Feb
25
comment Select percentile rank from table based on score SQL
Looks like max would be more efficient. I'm not very good at reading execution plans, but the numbers are smaller for that one. Plus it makes sense since it wouldn't actually need to sort, just keep tabs on the largest value while scanning the table. If there were indexes there, it might make a difference, but I don't know.
1 2 3 4 5