Scott Hanselman

Java is the SUV of Programming Languages or Phillip Greenspun is a stud

September 22, 2003 Comment on this post [2] Posted in ASP.NET | Tools
Sponsored By

This speaks to me, not only as a reformed Java person, but also as the owner of a Toyota Prius and a Honda Civic Hybrid...

"Our students this semester in 6.171, Software Engineering for Internet Applications have divided themselves into roughly three groups.  One third has chosen to use Microsoft .NET, building pages in C#/ASP.NET connecting to SQL Server.  One third has chosen to use scripting languages such as PHP connecting to PostgreSQL and sometimes Oracle.  The final third, which seems to be struggling the most, is using Java Server Pages (JSP) with Oracle on Linux.  JSP is fantastically simpler than "J2EE", which is the recommended-by-Sun way of building applications, but still it seems to be too complex for seniors and graduate students in the MIT computer science program, despite the fact that they all had at least one semester of Java experience in 6.170.

<snip/>But the programmers and managers using Java will feel good about themselves because they are using a tool that, in theory, has a lot of power for handling problems of tremendous complexity.  Just like the suburbanite who drives his SUV to the 7-11 on a paved road but feels good because in theory he could climb a 45-degree dirt slope." [Phillip Greenspun's Blog]

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Neal Stephenson in Portland doing a book signing for Quicksilver

September 22, 2003 Comment on this post [0] Posted in Musings
Sponsored By

For those of us who live in Portland, Neal Stephenson, author of Cryptonomicon, Diamond Age, and more importantly, Snow Crash, is doing a book signing (get that dog-eared copy of Snow Crash signed!)on a press junket around his new book Quicksilver on Wednesday, September 24th.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Internationalization/Globalization and ASP.NET Brainstorming at 1:05am

September 22, 2003 Comment on this post [0] Posted in ASP.NET | DasBlog | Internationalization | TechEd | Speaking | Tools
Sponsored By

I presented at ASPLive! and TechEd 2003 on Internationalizing ($g(i18n)) ASP.NET.  I know that the story changes with Whidbey and changes dramatically post-Whidbey, but until then...what are the best practices for ASP.NET 1.1?   DasBlog is a good example, as is (IMHO) the code I showed at the conferences.  Each takes certain approaches for performance vs. ease of i18n vs. avoiding $g(code smell).

Some random thoughts, some questions, some rethorical, some I could use comments/thoughts on:

  • Store a single ResourceMananger in the Application Object and either yank and cast as needed or stick it in some base blass.  [Seems reasonable.  Preferable over instantiating on each page?]
  • Create a base class (LocalizedPage, etc) that introduces an "OnLocalize" method and event, and performance most of your i18n there. [Good, but usually only an 80% solution.  Does let you bypass localization for the default language, though, and that's a BIG performance gain.]
  • For DataGrids, piggyback on DataBinding and do your i18n here [Not bad, easy, tends to spread i18n code out]
  • Localize in the .aspx page with <%#resMan.getString("someresourcename")> [Good, avoid cluttering code behind, also allows for quick changes without recompiles, although forces localization in the default language]

This and other questions burn...time to refactor...Now this looks like an interesting tool that makes ASP.NET localization more like WinForms localization.  I'll check out the trial, but I suspect it will break down when faced with complex ASP.NET DataGrids (definitely non-trivial to localize).

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Technology and the first insulin pump...

September 21, 2003 Comment on this post [2] Posted in Diabetes | Web Services
Sponsored By

Sorry this isn't a technical post. :) I will continue to make this blog about the "Zen" of Computers, particularly .NET and Web Services...watch for a new look for the site very soon...

That being said, just when I start to feel lousy about being hooked up to an $g(insulin pump) 24 hours a day, I see this picture of the first insulin pump from 1978.  Guess I have little to complain about!

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Note to self: Buy diverse dolls

September 20, 2003 Comment on this post [0] Posted in Musings
Sponsored By

This is quite a clever idea.  I grew up with action figures and such of all colors, but this is a good reminder to me that when we do have kids (who will be diverse in their own right) to make sure their dolls and toys represent the real world, and the complete spectrum of diversity.  I was very fortunate growing up in a largely non-white neighborhood to get to attend many churches, synagogues, and mosques.

 

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.