Web Design. Development. Optimization. RSS 2.0
 Wednesday, November 29, 2006

There needs to be a major retraining of our society as a whole. Well, maybe.

I was leaving a restaurant today, and saw a woman outside with a young child and a fully loaded stroller. Being the nice guy that I am, I went out of my way and held open the door for her. Waited for her as she was approaching.

No eye contact, no thank you, no nothing. Walked right on in without saying a word.

Seriously - I saved her some grief and she can't even open her mouth? Or smile?

(rant over)

 

Wednesday, November 29, 2006 4:43:46 PM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
The Blogging Life
Del.icio.us Digg Technorati Blinklist Furl reddit
 Wednesday, October 11, 2006

Microsoft or Dell or one of Apple's competitors should do the following...

Hire that annoying "Hi, I'm a Mac" guy from the Apple commercials. Have him talking a-mile-a-minute about how great Windows now runs on the Apple Mac. Using Parallels, you can't tell the difference. Now you can run all your Windows software inside your Mac.  On and on about how, now that Mac users have access to Windows, they will never need anything else.

And after all that, have the poor "Hi, I'm a PC" guy say, "So why don't you just get a Windows PC then?"

Seriously, I just listened to a podcast on Parallels by Steve Gibson and Leo Laporte (Security Now), and they went on and on about how fast Windows now runs on a Mac.... but didn't spend any time discussing the downsides to such a setup. "So if you need a fast version of Windows so badly, why don't you just get a Windows PC?" was all I could think at the end.

 

Wednesday, October 11, 2006 6:42:10 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
The Blogging Life
Del.icio.us Digg Technorati Blinklist Furl reddit
 Tuesday, October 10, 2006

OK, perhaps saying "too easy" in my last post was asking for trouble. Because trouble is what I have.

I have a weird situation and I need some help figuring out what the solution is... Any clues, please email me or leave a comment.

We have a "base page" that inherits from System.UI.Web.Page. My base page is called "BasePage.aspx".

All other web pages of our application inherit from that. So "default.aspx" inherits from BasePage.aspx.

So my problem is that the codebehind page for BasePage, called BasePage.aspx.cs, has been saved in the App_Code folder. Now I don't know this folder or what it's for, thats my first problem.

Now all the pages that inherit BasePage.aspx now fail because the class doesn't exist.

If I move BasePage.aspx.cs out and put it at the root folder, then another page breaks about the BasePage class (one of our User Web Controls).

Ugh. I am sure once I figure the underlying problem out, fixing all pages won't be a problem. This isn't a problem relating to the number of pages, it's a problem every web site would have during a migration with base pages, web controls, etc.

 

Tuesday, October 10, 2006 9:30:55 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
.NET | The Blogging Life | Visual Studio 2005
Del.icio.us Digg Technorati Blinklist Furl reddit
 Friday, October 06, 2006

So here is the status of my .NET 2.0 application conversion. I converted the 71568 lines of C# code and 38452 lines of VB code in the business object and services tier with little error. No errors really, just a few things that Visual Studio 2005 warns about that Visual Studio 2003 did not.

When I got to the web portion, I started finding lots of interesting errors. It's going to take a full day or so to go through them all.

All in all, it's not as scary a proposition as I thought. It's the kind of conversion that can be completed in a couple of days. I thought it might have required weeks before.

 

Friday, October 06, 2006 1:03:44 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
.NET | The Blogging Life | Visual Studio 2005
Del.icio.us Digg Technorati Blinklist Furl reddit
 Thursday, October 05, 2006

We have a rather large project that currently runs in ASP.NET 1.1, and we want to convert it to 2.0. Now it's not huge compared to some projects, but it's pretty big.

71568 lines of component C# code

38452 lines of component VB code

100401 lines of ASPX C# code

It should be fun seeing how the .NET conversion wizard handles this... I'll document my progress here as I go through it for the sake of posterity and the benefit of anyone else contemplating a rather large conversion.

 

Thursday, October 05, 2006 12:12:05 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
.NET | The Blogging Life | Visual Studio 2005
Del.icio.us Digg Technorati Blinklist Furl reddit
 Friday, September 22, 2006

Microsoft recently released a toolkit called Atlas at http://atlas.asp.net/

Atlas is an AJAX framework for ASP.NET 2.0. If you don't know what AJAX is, it is best described as a web programming technique where the page appears to update itself (or actually does update itself) without a full refresh of the page by the server. This can be automatic or at the request of the user viewing the page.

For instance, the up-arrow images on the left side of this page are AJAX-type controls that allow the user to alter their view of this page. This happens without a trip back to the web server.

An example of automatic updating would be a page with stock quotes embedded inside a news article (like http://www.marketwatch.com/news/story/5x12BB8tQmtNw49x3nlsrfJ?siteid=mktw&dist=TNMostRead ), and every few seconds the stock quotes update themselves with the latest values, but the rest of the page stays the same. In this case, the web browser is actually going back to the server to get a new quote, and updating a small part of the web page with the new value. The reason this is useful is that full page refreshes are slow, and annoy the user by making the page flicker or become unreadable.

For a live example of Atlas, check out the official samples page at http://atlas.asp.net/atlastoolkit/

Look at the Accordion control. As you click the headers, all other headers collapse and only the one selected is open. Or try the slider control - a control not normally available in HTML web pages. These controls are cross-browser compatible with IE and Firefox.

I saw a demo of this last week and it was very cool. http://www.msdnevents.com/ 

 

Friday, September 22, 2006 11:46:25 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
.NET | Technology | Visual Studio 2005
Del.icio.us Digg Technorati Blinklist Furl reddit
 Monday, September 18, 2006

Crank is a movie that stars Jason Statham, the lead actor from The Transporter movies. It also stars Amy Smart as his girlfriend, who I swear I know from somewhere before. But looking at her resume on IMDB, I haven't seen anything she's been in... Maybe just her name sounds familiar.

Anyways...

The movie has an interesting plot: a hitman is poisoned in his sleep, and only has an hour or two to live. He quickly discovers that adrenaline can prolong his life, so while trying to exact his revenge he keeps having to find ways to pump up his adrenaline.

OK, let's start with the good bits of this movie.

* It was funny. There were several places where the audience broke out laughing. So for an action movie, some genuinely funny moments is a nice twist. 

* The cinematography was innovative. If you want to see an example of bad cinematography, take a look at Bourne Identity 2 - the camera was jumpy, and the action sequences were blurry. I thought Crank had some interesting camera shots. In one scene, Statham runs down an alley while one of his killers is on the phone with him. He actually runs past a video projection of that person on the phone. I thought that was a cool technique I hadn't seen before.

* It delivers on the action. So I went to this movie hoping to see some fights and car chases, and that's what I got.

Now let's be honest and talk about the bad bits too:

* Some plot holes. Well, let's be honest. The guy is given a poison that should kill him within an hour. Even though he discovers that when his heart is pumping and his adrenaline is running, it reduces the effect of the poison... there were plenty of places in the movie where his adrenaline should be lower. He's sitting in a restaurant with his girlfriend having lunch --- why isn't he keeled over on the floor from the effects of this poison? Lots of driving, lots of cab rides... The times when the poison affected him were not consistent...

* The poison itself. If you're going a kill a guy, kill him. Shoot him in the head or something. But why inject him with poison and leave a DVD movie for him to learn about his impending fate? Now I guess some bad guys have a huge ego, and love torturing people a little bit or rubbing it in someone's face that they are about to die. The movie never really explains the "why" of it's central plot theme.

(Well, I guess there wouldn't be a movie if they killed him in his sleep... that's a factor.)

Anyways, this is a decent movie. See it on DVD. Or download it. 6.5 out of 10.

 

Monday, September 18, 2006 11:19:37 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Movies
Del.icio.us Digg Technorati Blinklist Furl reddit
Archive
<November 2006>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
About the author/Disclaimer

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

© Copyright 2008
Scott Duffy
Sign In
Statistics
Total Posts: 472
This Year: 31
This Month: 3
This Week: 1
Comments: 73
Themes
Pick a theme:
All Content © 2008, Scott Duffy
DasBlog theme 'Business' created by Christoph De Baene (delarou)