Happy 1234567890

Happy What? The number you see in the title is also known as Epoch (UNIX) time. When Epoch time was created, they set the “beginning” to January 1, 1970. Like the Year 2000 bug, this was done to save storage space. Because if all time was based around the assumption that January 1, 1970 is equal to zero, and every second past that represents the date since 1/1/1970 00:00:00, then they could store relatively small numbers for calculating a date and time and easy calculate the date since the “beginning of computer time” with simple math. This also allowed them to calculate how much time has passed by just taking the difference of the two numbers and running it though the same simple math. However the time is based on the belief that there are 86,400 seconds in each day. (60 seconds x 60 minutes x 24 hours = 86,400) ...

February 13, 2009 · 1 min · 178 words · Nick Berardi

Knowing Yourself - Myers-Briggs Type Indicator's

Today on Twitter I got into a discussion with Sara Chipps about Myers-Briggs Type Indicators. I am an INTJ, which means: I – Introversion preferred to Extraversion: INTJs tend to be quiet and reserved. They generally prefer interacting with a few close friends rather than a wide circle of acquaintances, and they expend energy in social situations (whereas extraverts gain energy). N – iNtuition preferred to Sensing: INTJs tend to be more abstract than concrete. They focus their attention on the big picture rather than the details, and on future possibilities rather than immediate realities. T – Thinking preferred to Feeling: INTJs tend to rely on external, objective criteria rather than a personal sense of right and wrong. When making decisions, they generally give more weight to logic than to social considerations. J – Judgment preferred to Perception: INTJs tend to plan their activities and make decisions early. They derive a sense of control through predictability, which to perceptive types may seem limiting. These 4 letters are suppose to nail your personality type and show some insight in to how you attack problems and deal with other people. So if you don’t know your Myers-Briggs take the test: ...

February 9, 2009 · 3 min · 603 words · Nick Berardi

Windows 7 SKU's (Not As Bad As It Seems)

Many different sources are announcing that Windows 7 will have 6 different SKU’s available, and many are touting the end of Windows, because they are making the same marketing mistakes as Windows Vista. I have a different perspective on this that I will justify after the SKU breakdown. Here are the SKU’s and features that everybody is reporting: Windows 7 Starter Available worldwide to OEMs on new PCs Missing Aero UI tweaks Limited to 3 simultaneous applications Windows 7 Home Basic (Vista equivalent: $200) ...

February 3, 2009 · 4 min · 663 words · Nick Berardi

A potentially dangerous Request.Form value was detected in ASP.NET MVC

If you are getting something like the following error message in ASP.NET MVC: A potentially dangerous Request.Form value was detected from the client (Description="some HTML text") This is because of something called Request Validation, that is a feature put in place to protect your application cross site scripting attacks, as described in a White Paper on ASP.NET: Many sites are not aware that they are open to simple script injection attacks. Whether the purpose of these attacks is to deface the site by displaying HTML, or to potentially execute client script to redirect the user to a hacker’s site, script injection attacks are a problem that Web developers must contend with. Script injection attacks are a concern of all web developers, whether they are using ASP.NET, ASP, or other web development technologies. The ASP.NET request validation feature proactively prevents these attacks by not allowing unencoded HTML content to be processed by the server unless the developer decides to allow that content. ...

February 3, 2009 · 2 min · 298 words · Nick Berardi

Managed Fusion URL Rewriter & Reverse Proxy Release 2.5

Download: Binary Release Download: Source Code Release Notes If you would like to find out more about the past releases please visit us at http://www.managedfusion.com/products/url-rewriter/release-notes.aspx Version 2.5 Major update to the proxy handler, it is not much faster, and provides an exact duplication of headers from the proxied server. Added full support for $N and %N support in conditions and rules now. Added contexts for condition, rule, and ruleset to make transfer of common data easier for implementations of the API. Added split between async and sync proxy handler, this can now be controlled through the web.config using useAsyncProxy. Fixed issue with transfer-encoding: chuncked

February 1, 2009 · 1 min · 104 words · Nick Berardi

Introducing the ASP.NET MVC (Part 7) - The Controller

This is a continuation of my Introduction to ASP.NET MVC series. As I outlined before this is in an effort to write the book and keep blogging, I decided to write/blog the last chapter, Chapter 2. I am doing this so I can receive feedback on this chapter as early as possible. Because this chapter, in my opinion, is probably the most critical of the book, it defines the context around ASP.NET MVC and how it differs from ASP.NET Web Forms, as well as giving a historical perspective of the MVC pattern. ...

February 1, 2009 · 7 min · 1294 words · Nick Berardi

Heading To Philly.NET Tonight

I am heading to Philly.NET tonight. Julie Lerman is presenting the full meeting about the Entity Framework. The meeting is broken in to two parts, which will cover: Getting Started with Entity Framework You can do *that* with Entity Framework? I am really excited and interested to go to this meeting. Justin Etheredge and his “Making the Entity Framework Fit Your Domain” series (Part 1, Part 2) really helped me get re-excited about Entity Framework. Because I am a big fan of POCO and Domain Driven Design. And, I am looking forward to being able to compare and contrast EF with NHibernate, and hopefully see the future of Microsoft ADO.NET. ...

January 21, 2009 · 1 min · 120 words · Nick Berardi

Creating a Wireless Access Point using DD-WRT - Refresh

I found a setup that I like even better than my previous one. I have highlighted the main differences, in red, below. To set it up as repeater do the following: Do a 30 second reset Under wireless->basic settings: Wireless mode: AP Wireless Network Name (SSID): Your prefer SSID Wireless Channel: Your prefer channel ( Use channel with less interference from other access point) Save Settings Under Wireless > Wireless Security Set your wireless authentication Under Setup->Basic Setup: ...

January 19, 2009 · 1 min · 207 words · Nick Berardi

Introducing the ASP.NET MVC (Part 6) - The View

This is a continuation of my Introduction to ASP.NET MVC series. As I outlined before this is in an effort to write the book and keep blogging, I decided to write/blog the last chapter, Chapter 2. I am doing this so I can receive feedback on this chapter as early as possible. Because this chapter, in my opinion, is probably the most critical of the book, it defines the context around ASP.NET MVC and how it differs from ASP.NET Web Forms, as well as giving a historical perspective of the MVC pattern. ...

January 12, 2009 · 9 min · 1720 words · Nick Berardi

2008 Year End Reivew

As you can see from the graph above everybody has helped make this another very successful year for Coder Journal. The green line is last years visitors, and the blue line is this years visitors. This increase accounts for a 473.10% increase over last years visits. The following is a quick break down for what made this year so successful: Top 6 posts: Setting up iTunes on Windows Vista 64-bit (#1 2007) iTunes 7.7 + Windows Vista x64 == OK Turn Google App Engine into your own Personal Content Delivery Network (CDN) 5 Easy Steps To Get iTunes Working On Windows Vista x64 (#2 2007) ASP.NET MVC CAPTCHA How To: Change Instance Name Of SQL Server This year Internet Explorer and Firefox have the same market share and account for over 92% of the users visiting my blog, Chrome, Safari, and Opera tied for second place and accounted for 6% of my traffic this year. The majority of people find my site via organic search results through Google, the second most influential source of traffic was people directly linking to my blog, which actually fell from 8.38% to 6.99%. Digg.com last year was on my list, but totally fell off this year, probably because of their focus on becoming more news site and less geeky, however I am happy to report that DotnetKicks.com however rose from 2.37% last year to 4.68% of my traffic this year. ...

January 12, 2009 · 2 min · 345 words · Nick Berardi