The Eric Wroolie Blog

Overpass Experiences

  • Blog
  • Videos
  • Overpass Apps

Powered by Overpass Apps

Scratch from MIT

June 3, 2007 by wroolie Leave a Comment

Last Sunday, the New York Times had an article about a software development language for kids 8 and over. It’s called Scratch. It can be found at http://scratch.mit.edu. We downloaded it last week and my kids have been making programmes throughout the week.

Basically, Scratch has a drag and drop interface that work like lego. You grab a block with an “if . . . then” and drag it onto your actions panel, then you drag other events (like “MouseOver”) and actions (like “Add n to X”) to fill in the blanks. It works surprising well and give a good introduction to software programming.

If you have kids, you should check this out.

Filed Under: Uncategorized

Nine Years

May 15, 2007 by wroolie 2 Comments

Today is the ninth anniversary of my arriving in England. No job. No money.

I never thought I would be here this long.

Filed Under: Uncategorized

Silverlight on Expression Blend with AVG Anti-Virus

May 8, 2007 by wroolie 7 Comments

Just prior to MIX07 and the Silverlight announcements, Microsoft has released another CTP of Expression Blend. It’s called the 2 May Preview and can be downloaded here.

I’ve been trying to do Silverlight projects by hand (or, at least in Visual Studio 2005). This is entirely do-able, but the lack of a XAML schema for Silverlight (the XAML used for full WPF apps will often conflict with what Silverlight allows) makes this difficult. I would rather use the tool that’s made for Silverlight. I also want to keep from installing Orcas which is still in Beta 1.

Since most tutorials seem to be using Expressions Blend at the moment, I know that this is the tool I should use.

The problem with the new preview version of Blend is that it conflicts with the AVG anti-virus suite. When creating a Silverlight 1.0 project, Blend creates a default project with the following files:

This project can be opened in both VS2005 and Blend. In fact, you are encouraged to use both tools to create a valid SL project.

With AVG anti-virus, this project as it stands does not run. Hit F5 and you get a “hidden extension” error from AVG:

It sees Default.html.js as a potential threat and will not render the page. It will even prevent you from viewing the source (unless you drag it into Notepad). Neither Visual Studio nor Blend will let you change the name of the file because it is a dependent object of default.html.

I initially tried to find a way to turn off this virus check so I could develop in the Expression Blend IDE. If I couldn’t turn it off, I would drop AVG altogether (I have a paid license lasting 18 more months).

Then it occurred to me, I need to find a way to work with both AVG and Blend for two reasons:

  1. Even if I was able to build the project and deploy on my machine without AVG, any client machine that tried to run it with AVG would get this message. This would probably give my site a bad name if the average user considered my webpage to include viruses.
  2. If another virus like iloveyou.txt starts to spread, I actually want my AV to keep an eye out for anything trying to trick me or dupe my system.

So, after playing with the project files for a few hours, I found this workaround:

Resolution

  1. Create a new Silverlight Project in Blend and Save it.

Make note of the project location.

  1. Close Expression Blend.

  2. Navigate to the project directory in Windows Explorer.

  3. Change the name of the file “Default.html.js” to something with only one extension.

    I changed my file to DefaultCodeBehind.js.

  4. Open the project file in Notepad and change the reference to the new file name.

    Open the .csproj file or the .vbproj file using Notepad.

  5. Open Default.html in Notepad and change the references on the includes to the new file name.

    Alternatively, this can be edition in Visual Studio.

  6. Open the project again in Blend.

    All should be working fine now.

    <

Filed Under: Uncategorized

  • « Previous Page
  • 1
  • …
  • 17
  • 18
  • 19
  • 20
  • 21
  • …
  • 25
  • Next Page »

Recent Posts

  • My Gig and the Imposter Syndrome
  • Getting Picked Last for Teams in PE
  • One Little Growth Opportunity at a Time
  • I’m sorry if I look like I know what I’m doing
  • New Years Reclamations