Windows 7 is now on MSDN!


image

I am now getting Beta 1 of Windows 7! I just noticed it on MSDN. Outstanding. I have a few computers I will be putting this on.

author: Bill Evjen | posted @ Thursday, January 08, 2009 9:58 AM | Feedback (3)

Zune Y2K9 Fix


UPDATE – DON’T DO THIS FIX AS IT WORKED FOR ONLY A SHORT WHILE. IT RETURNED BACK TO THE SAME PROBLEM AS BEFORE. YOU CAN DO THIS TO TURN YOUR ZUNE OFF FOR THOSE THAT ARE REPORTING HEATING PROBLEMS, ETC.

UPDATE 2 – It seems this update will work if you want to use your Zune for a short while. It has to do with the clock on the Zune it seems. You can do this and it will work, but once you plug it into charge in your computer – it will fail again.

UPDATE 3 – Microsoft has posted their fix: http://www.zune.net/en-us/support/zune30.htm. You need to wait till after noon Jan 1 2009 to use your device.

------------------------------

If your 30GB Zune is a brick --- here is what I did to fix the problem. Please be advised that I am just telling you what I did and I am in no way responsible for you messing up your own Zune if you did what I mentioned here!

So, I posted earlier today about this. If you own a 30GB Zune, it probably turned into a brick today and just shows the startup screen and nothing else. None of the buttons will work and there is no way to turn it off. To fix this problem, you will have to first open the Zune case.

STEP 1 – Open the Zune case

image

You will need to get a small flat-headed screwdriver and pop off the black plastic item that surrounds the area where you plug in your Zune. Once you pop this off, you will then find two small screws. You will need a small screwdriver (obviously) so if you have a screwdriver for glasses or something – then this would work. Once you have the screws out – you can then pop off the cover (the top part will come off last).

Opening it up, you will find two battery connections at the top of the Zune.

STEP 2 – Disconnect battery connections

image

You will need to move these up. Start with the left one and move it up till it is half-way disconnected. Then do the same to the right side. Your connection will be something like the following:

image

Wait at least three seconds and then you will want to reconnect them by pushing down on these connections.

From here – reattach the case cover. You will notice that your Zune as rebooted and will now work.

Hope that helps.

author: Bill Evjen | posted @ Wednesday, December 31, 2008 11:10 AM | Feedback (16)

My Zune is a Brick!


imageIt seems that at 2am last night, most (if not all) 30GB Zune players became a brick! I use my Zune a lot and this is rather disturbing to tell you the truth. My Zune only shows the Zune logo and the progress bar at full and will not respond to any kind of button presses. I can’t even turn the dang thing off --- so I’m probably doing a good job of burning that image into the screen of the player till the batteries run out.

Here are some announcements from others on this matter:

CruchGear

TechRadar

Gizmodo

CollegeOTR

No word yet on what and how this happened.

author: Bill Evjen | posted @ Wednesday, December 31, 2008 10:38 AM | Feedback (3)

Will Windows 7 Beta 1 be released on January 7th?


 

Well, according to Neowin.net, Windows 7 Beta 1 will be released on January 7th, 2009. I think the "7" for the date might be there for a reason! :) Microsoft released an Alpha version of Windows 7 to the attendees of PDC this year, but it was missing the new skin that we will see in Windows 7. I have been rather down on Vista (as many others were) as I could only use it for my book writing, but was unable to effectively use Vista for my normal work at Thomson Reuters for many reasons not worth going into at this moment. But I have to say, I have been running Windows 7 on "bare-metal" now since PDC and I am convinced that this is the OS! It is fast, great on performance, and very user friendly.

I was rather disappointed that the PDC build wasn't the fancy that was presented at the keynotes of PDC - but there was a promise to attendees that there would be a version of the OS that would be there for us in Q1 2009. When someone says that, you automatically think March 31st, 2009 --- so I am REALLY glad to see this potential January 7th date.

author: Bill Evjen | posted @ Sunday, December 21, 2008 10:54 AM | Feedback (2)

TechEd 2008 DVDs and Silverlight


This weekend, I had some free time, and what does every developer do with this free time - I went to my TechEd 2008 DVDs to watch some sessions. But in loading the DVDs, I realized that they wouldn't work as I thought. I was only getting a reminder that I needed to install the Beta 2 version of Silverlight (the RTM of Silverlight 2 is out now).

image

Tim Heuer put up a nice blog post stating a solution to the problem and he also has a little Silverlight application on his page that allows you to search the sessions.

Basically, you will need to just Explorer the DVD and get to the folder of the session that you want. Within the folder, you will find a Player.wms file. Opening this file will open the session for you in an skinned instance of Windows Media Player. You can also find a list of all the sessions (so you can translate the cryptic session codes) here.

Technorati Tags: ,
  
del.icio.us Tags: ,

author: Bill Evjen | posted @ Monday, November 03, 2008 6:13 AM | Feedback (2)

SESSION NOTES: The Future of C#


Presentation by Anders Hejlsberg.

It is 10 years later since they started C#

C# 1.0 was about introducing the general concept of managed code. C# 2.0 was about finishing C# 1.0 but didn't have time to do.

C# 3.0 is really about radical new thinking in the language - LINQ. They learned a lot about functional programming through this exercise. Today is about C# 4.0.

Some of the trends that have shaped their thinking on C# 4.0.

  • Declarative
  • Dynamic - resurgence of dynamic programming languages
  • Concurrent - multi-core processing

Declarative programming. When we write programs today about what we want done and how we want it done. JIT compilers have a big issue figuring out what the developer actually wants to do so it works through everything step by step.

C# is about moving to a more declarative style of programming.

Dynamic vs Static programming languages

  • Dynamic languages
    • Simple and succinct
    • Implicitly typed
    • Meta-programming
    • No compilation
  • Static languages
    • Robust
    • Performant
    • Intelligent tools
    • Better scaling

Concurrency - Moore's Law has delivered what it said - every 18 months of increased density. CPU has fallen flat and hasn't kept up with this since heat has become an issue. The thing that is interesting about the multi-core revolution - separating a logical set of work into multiple sets of work. This doesn't mean that you just make everything work in parallel. There are some important consequences that you are going to have to be aware of.

Co-Evolution - there are no differences between the users of VB and C#. We are going to co-evolve the languages going forward. This means that if we introduce the features in one - then we will work hard to make that feature available in the other.

C# 4.0 - the broad theme for this release is Dynamic Programming. Talking to things that have no static .NET classes backing them. This could be JavaScript, REST services, things that don't feel integrated into the language. Things that don't have a schema.

C# 4.0

  • Dynamically typed objects
  • optional and named parameters
  • improved COM interoperability
  • Co- and Contra- variance for interface and delegate types

.NET Dynamic Programming

  • Dynamic Language Runtime - something we have been building. The DLR extends the CLR fabric to allow dynamic languages to run on the top of .NET. Optimizations on poll-side caching.
  • On top of the DLR, we are building implementations on top of IronPython, IronRuby, and others
  • We will have an Object Binder and a JavaScript Binder, Python Binder, Ruby Binder, and a COM Binder - the DLR will provide a unified view of working with all of these environments

Dynamically Typed Objects

Calculator calc = GetCalculator();
int sum = calc.Add(10, 20);

What if you didn't know what was being returned by the GetCalculator() method?

C# 4.0:

dynamic calc = GetCalculator();
int sum = calc.Add(10, 20);

  • Statically typed to be dynamic
  • Provides dynamic conversion
  • Dynamic method invocation

Anders asked if he is crazy as he promoted against this in the past. The reality is that there are many things out there that are dynamic in nature, that have no schema, that have dynamic entry points in the cloud. There is lots of dynamism in the world. We are trying to more natively integrate this into the language.

You can declare things whose compile time type is dynamic

dynamic x = 1;
dynamic y = "Hello";
dynamic z = new List<int> {1, 2, 3};

IDynamicObject - new interface in .NET 4.0

Possible to write your own dynamic objects - you can create your own interpretations of dealing with dynamic objects.

Optional and Named Parameters - It is now possible to specify default values in method declaration.

public StreamReader OpenTextFile(string path, Encoding encoding = null);

This improves COM interoperability. Instead of ref missing, ref missing, ref missing ... etc ... you can just pass in what you need - doc.SaveAs("Test.docx");

Improved COM Interoperability

  • Automatic object --> dynamic mapping
  • Optional and named parameters
  • Indexed properties
  • Optional "ref" modifier
  • Interop type embedding ("No PIA")

Last new feature is co- and contra- variance

string[] string = GetStromgArray();
Process(strings);

void Process(object[] objects) {
   objects[0] = "Hello"; // OK
   objects[1] = new Button(); // Exception

C# 4.0 supports safe co- and contra- variance Until now, C# generics have been invariant.

Variance in C# 4.0

  • Supported for interface and delegate types
  • "Statically checked definition-site variance"
  • Value types are always invariant
    • IEnumerable<int> is not IEnumerable<object>
    • Similar to existing rules for arrays
  • refs and out parameters need invariant type

These changes will have no effect on existing code

Preview of beyond C# 4.0 -------

Stuff in the lab that MSFT will ship as soon as they can.

"Compiler as a Service"
Currently: Source File --> Compiler --> .NET Assembly

This is written in C++ (as C# didn't exist yet). You have no options of interacting with the compiler. MSFT wants to open up the compiler and interact with it in a better way.

Possibilities - meta programming, etc. Microsoft.CSharp will be an API that you can use in your API. This is the C# compiler written in C#.

Technorati Tags: ,,,

author: Bill Evjen | posted @ Wednesday, October 29, 2008 6:06 PM | Feedback (2)

Google Loses - Authors Win!


 

I blogged years ago and voiced my disappointment of Google taking books, scanning them, databasing the contents of the books, and then making these books available to end users in "chucks". I am a computer book author and have written 18 books (two more on the way) and I wrote in my old blog post about why I didn't care for this move and how it really hurt me as an author. Back then, I wrote about the issue:

"The problem is (at least for publishers and authors) is that let's say there is someone trying to figure out how to use the new XmlDataSource control and they enter that word into Google Print and get directed to my book to a specific page where this is discussed. The reader on Google can then scroll through the couple of pages reading up on this control and then they are done. Granted, they didn't scroll through the entire book, but they are able to get what they need from a publication without needing to purchase this publication.

I do like people using my books to learn and to help them do their jobs, but at the same time - it takes me 4-5 months to write a book ... it is a ALOT of work and I would hope that people would purchase a title I have written instead of pulling what they need from it from Google for free. You don't get paid much as an author, but it sure is nice to get a bit of a reward for all the hard work."

John Wiley stepped up to the plate and joined in on the lawsuit against Google for copyright infringement. Google was arguing that they should be allowed to do this for the end user as they are only showing excepts and not the entire book. This move, if it had gone through, is quite detrimental to authors and in turn to end users. In the end, Google lost the case and will have to pay $125 million USD for the past infringements. Side note to my editor: "How much of this do I get?" ;)

In any case, a deal has been established to create a registry that will still allow Google to proceed with their plans, but charge end users for the "chucks" of books that they view. Some argue that this will change how people will consume books and a move to more digital consumption of books. It defiantly is an interesting notion.

Related Posts:

Business Week: Google Settles with Authors
Blog Post from Oct 20 2005: John Wiley & Pearson Sue Google

author: Bill Evjen | posted @ Wednesday, October 29, 2008 11:22 AM | Feedback (5)

Oracle's 2008 Enterprise Developer of the Year


Oracle Magazine

I would like to first thank the academy .....

Thanks to Oracle and the award as the Oracle Enterprise Developer of the Year for 2008. This was announced today in Oracle magazine.

http://www.oracle.com/technology/oramag/oracle/08-nov/o68awards.html

image

This was about using ODP.NET and Oracle to develop and deliver top-of-the-line .NET financial applications. At Thomson Reuters, I work for Lipper, and we are using an Oracle backend system that gets its data delivered via a set of WCF services to a series of smart client applications and other offerings.

author: Bill Evjen | posted @ Tuesday, October 28, 2008 4:18 PM | Feedback (2)

PDC 2008 Keynote Day 2


This keynote is all about Windows 7 (the Vista that shoulda been) and new things from ScottGu's team. While yesterday was about the back-end infrastructure of the new cloud platform Azure from Microsoft, today's keynote focused on the front end of Microsoft. One funny question from Ray Ozzie was wondering what we would do at work all day if we didn't have a computer on our desk. Here are some random notes from the keynote.

"The PC will be more relevant in the next era." - Ray Ozzie

Today we barely have scratched the surface of how we can use the PC along with the Internet. We can do our customers a great service in focusing on how we can provide a combined value for their investments. We will be linking the PC/Web/Phone for end users.

Windows 7 demonstration - I like it. I like it. I like it.

Julie Larson-Green introduced it - VP Windows Experience.

There is a new taskbar - hovering over items shows thumbnails. You also have Jump Lists that give you check application changes and actions.

Dragging a window to the left snaps it to the left. Dragging another to the right will snap to the right for side-by-side comparisons. 

Windows Explorer in Windows 7 - new concept called Libraries. Can associate other drives and network places and windows explorer will act as if everything is in one place. It has an outstanding search capability for files.

They admitted that networking in Vista is tough - it is seamless in Windows 7. There is a new media player. You are able to play to any chosen device quickly and easily with a right click.

The device window shows all the actions you can do with the device.... very easy.

The system tray - was the notification tray. You have control over everything that is in the system tray. You also have control how to customize these notifications. You can choose how the notifications show messages and more.

HP Touch Smart - Under 2K USD. Things are spaced in menus 25% more than normal. Word and everything else is enabled with touch only in how you might use the mouse with it.

Paint has the ribbon - the ribbon is everywhere. WordPad has the Ribbon as well. The Ribbon is here to stay. One funny quote from the guys on stage is that every fifteen years they will update Paint.

New items for developers in Windows 7

  • Ribbon User Interface
  • Jump Lists
  • Libraries
  • Multi-touch, Ink, Speech
  • Direct X family - this brings the amazing power of graphics on the pc. Windows 7 extends direct x to 2d and text, etc. This is the modern view of GDI.

Fundamentals are the job of every Windows 7 developer on the Windows team. They are delivering on improved reliability and performance.

  • Reduce the footprint of Windows
  • Worked to reduce disk I/O
  • Reduce registry read, indexer
  • Reduce power consumption for DVD playback, panel, timers
  • Increase the speed - faster boot, device readiness
  • Increase responsiveness of the start menu, taskbar
  • Increase scale up to 256 processors

You are easily able to create VHDs and connect to VHDs with almost no work.

Connecting to a projector is simple now - hitting the Windows 7 Start key and the letter P together will bring up quick connect options including dual monitor connecting.

The Beta will be available early next year. You will be able to download the beta from the Microsoft site. These beta versions will include a feedback tool. This will capture everything you are doing including your comments. Microsoft is hardcore about looking at this data.

Scott Guthrie talk:

New Windows 7 APIs

  • Ribbon, Jump Lists, Libraries, Multi touch, Direct X, and more

Visual Studio 2010

  • IDE support for very large code bases
  • Multi-core applications

.NET 3.5 SP1 Improvements

  • Streamlined setup
  • Start up performance 45% increase
  • Graphics Improvements
  • DirectX/DirectTD Interoperability
  • More controls

Also built into Windows 7 - 3.5 SP1 will be there by default

New WPF Photo application will be given as an example soon by Microsoft- This application looked very cool. Gotta get that code!! Supports touch.

New Ribbon control for WPF.

WPF control for Tasks for the Jump Lists - nice

Announcing WPF toolkit -

  • DataGrid
  • DatePicker
  • Calendar
  • Ribbon
  • Visual State Manager

They will all be released this week. The Ribbon will be in Beta and will work with Windows 7, Vista, and XP.

Windows Applications with .NET 4

  • WPF Improvements
  • Improved tooling with VS2010
  • Can load CLR 2.0 and CLR 4.0 in the same process space
  • In-Process side by side support
  • Managed/Native code interoperability
  • Dynamic language support
  • Extensible component model - can easily extend applications from extensions

VS2010 - container will be built using WPF

  • Will be used to support new features - like multi-monitor support
  • Much richer code visualizations
  • Much more possible for developers to extend VS themselves

VS2010 Extensibility

IE 8 Improvements

  • Improved standards
  • web slices, visual search, accelerators
  • built in developer tools

jQuery support in VS 2008 - today you can download the VS add in for jQuery intelliense support - from the jquery website

ASP.NET 4.0 improvements

  • Web forms - being able to control the client id etc
  • MVC
  • Ajax
  • Distributed caching - Velocity - CTP will be distributed this week

Visual Studio 2010 for web development

  • Code focused improvements
  • JavaScript / Ajax tooling
  • Design View CSS2 support
  • Publishing and deployments

Web.Debug.config
Web.Release.config
Web.Staging.config --- you can have these all in your project and the correct one will be used.

Silverlight 2.0 is now out

  • Installed on 1 in 4 machines
  • 100,000,000 machines have this release
  • Very powerful release
  • .NET can be run in the browser and you are able to build things you could have never built before
  • The Olympics site had 55,000,000 unique visitors

IIS Smooth Streaming - available now - you can do your own streaming.

Netflix just turned on their instant watch today with Silverlight.

Annoucing the Silverlight toolkit

  • Charting
  • TreeView
  • DockPanel
  • WrapPanel
  • ViewBox
  • Expander
  • AutoComplete
  • NumericUpDown
  • And more...

Controls are free - you get full access to the source code and you can include them in your solutions.

Silverlight designer will be in VS2010 - WSIWYG designer.

Next year will be another major release of Silverlight. You will be able to run Silverlight in the browser as well as outside the browser.

David Treadwell - Live Services is next

The Live Mesh Framework is outstanding - I'll blog more on that later.

You can download the CTP at http://azure.com.

On a side note - it is interesting to see how Microsoft has completely changed their executive presentations. Before it was long lists of bulleted items (text). But now, they have taken a note out of the Apple playbook (our industries design experts) and are going for darker backgrounds and simpler messages. The PPT should never be just a list of talking points - but instead be a message to validate your talking points. This was a very very nice change to the presentations.

PDC 2008 OCT 079

author: Bill Evjen | posted @ Tuesday, October 28, 2008 4:02 PM | Feedback (0)

SESSION NOTES: ASP.NET 4.0 Roadmap


This session is by Scott Hunter, Program Manager at MSFT

In July 2007 - ASP.NET Futures was released
That was followined by an Extensions Preview of ASP.NET 3.5 in Dec 07
Then in March 08 - we started doing some new stuff - ASP.NET 3.5 SP1 - MVC and more

The ASP.NET will continue to release out-of-bound items. CodePlex is the main driver for that. www.codeplex.com/aspnet - This is where you will find the interim drops.

Currently there are ~1,000 downloads today

image

If you want to see all the latest and greatest stuff (current) then this is the site to visit.

  • VS10 supports multi-targeting
    • Use VS10 Advances when developing against FX4.0 or FX3.5
  • FX4.0 maintains a high compatibility bar with FX 3.5 - if you migrate from 3.5 to 4.0 - you should not have a breaking release.
  • ASP.NET investments include rollup of 'out-of-band' features

4.0 Themes

  • Best platform for standards (CSS, HTML, Ajax
  • Is a great LOB platform
  • Support pattern based development models - MVC and TDD
  • Re-invest in the core ASP.NET as well
  • Investment in Web Forms, Core Infrastructure, MVC, Data and Dynamic Data, and Ajax

Web Forms

  • Developers can manage control IDs that affect rendered client ID
  • Remove ID bloat, and 'mangling'
  • CSS:
    • Ideally remove the need to use CSS adapters
    • Defer to CSS styles and bypass existing style properties
      • non-inline style attributes
    • Support non-table-based HTML rendering
  • URL-routing for web forms
    • Friendly url handling for web forms
    • configuration model for url routing
  • View state
    • Disable on the page, enable on specific controls - they will provide granular control of viewstate - today it is backwards
    • Disable on control, enable on child controls
    • GridView/ListView work better without viewstate
  • ASP.NET dynamic-data

Ajax

  • Continue ASP.NET Ajax innovation : RIA
  • Appeal to JavaScript Developers
  • Provide support for the page developer
  • jQuery including Intellisense
  • Templates and data binding
    • Client side handling, REST or Web Services
    • Covers page developer and component developer scenarios
  • DOM manipulation, selectors ...
  • Ajax higher-level components
    • Ajax Control Toolkit is a part of the strategy - they will make the toolkit part of the overall ASP.NET package
    • New controls
  • Centralized script libraries and break-up for performance

ASP.NET MVC

  • Appeal to those wanting separation of concerns, TDD, full control
  • Ruby on Rails, Django, PHP
  • Building on from ASP.NET MVC 1.0
  • ASP.NET MVC (Model View Controller)
  • Asynchronous controllers
  • Sub-controllers & Views
  • Declarative controls

ASP.NET Dynamic Data

  • Making building data-driven web apps easily
  • Attacking the Ruby on Rails crowd
  • Building on from FX3.5 SP1
  • Dynamic-data and MVC
    • Scaffolding, templates and data validation
  • Support for abstract data layer
    • Removes need for specific DL (SQL, entities ...)
    • Allows scaffolding of objects
  • Support for many to many relationships
  • Dynamic data on MVC -- this is on codeplex today
  • Built around something called field templates
  • Enhanced filtering:
    • Auto-complete, search filters

I need to check out Astoria data source controls --- cool demo.

ASP.NET Core

  • Address customer pain points
  • Improve scale and performance
  • Cache extensibility and performance:
    • Enable caching like Velocity

author: Bill Evjen | posted @ Monday, October 27, 2008 4:43 PM | Feedback (0)