Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

William Kempf wkempf
  • Who is Jason Weber?

    1.  His commercial product includes the same license clause(s) that he thinks are wrong in the Microsoft license.

    2.  He didn't disclose the e-mails in which he tried to leverage "perks" out of Microsoft in exchange for removing the Express versions.

    He's using publicity to push his product.  It's wrong, regardless of whether or not Microsoft is in the wrong or not (and for full disclosure, I don't think Microsoft is, at least legally).

  • Who is Jason Weber?

    My initial reaction was that Microsoft was severely in the wrong, if not legally, than at least (I won't use the word morally) in a PR way.  However, after carefully reading what Jamie posted, I had a different take.  Jason was cooperative and cordial through out the correspondance, and was quite correct about the license violation.  And I understand and agree with the license.  If you don't, then don't use it.  Simple enough.

    Now more evidence has come forward, and it looks like Jamie is actually abusing the community.  http://www.infoq.com/news/2007/06/TestDriven-Express-Emails

    Not a simple topic, but I definately don't think Jamie deserves defending here, even if you dislike Microsoft, the EULA or anything else.

  • Visual Studio 2008: Impressions.

    SecretSoftware wrote:
    Hi,
        Visual Studio 2008 Beta 1, is cool. Its better than the 2005 release of Visual Studio. Waaay better in terms of performance of the IDE (Please give us more performance). However there are a few things that I want to see changed in Visual Studio 2008.


    Interesting.  I have no issues with the performance of 2005, and see no difference in 2008 (actually, there's a few areas that are decidedly worse, but given this is beta software running on a VPC there's numerous reasons to suspect I won't see these cases when 2008 is released).

    SecretSoftware wrote:

    First The Controls For Windows Forms.
    :
        Which Win Forms Controls you think should be updated or even removed?


    Not an IDE consideration.  But I'll play along.

    SecretSoftware wrote:

    For me its the Progress Bar  control.  Should it not be updated? Most apps don't really use  the Progress Bar, but rather a circular progress indicator, that does not really convey realtime progress but rather that the application is working or doing some work in the background.

    So why not update the Progress Bar control, so that it is more meaningful in todays apps.


    What your describing is NOT a progress bar, and definately should NOT replace it.  I wouldn't have an issue with providing this as a new control, though I'm uncertain how you'd implement something like this.  Every application uses a different animation for this, so the vast majority of the work required to create this on your own will remain if there's a canned control available in the library.  I mean, seriously, the reusable interface here consists basically of Start and Stop methods.

    SecretSoftware wrote:

    Most Controls should have new properties, that allows us to easily update a forms controls without thinking too much about threads. I want there to be a way to have callbacks that allows me to update a given control in the form  without thinking about invokes (compiler should think about that ).

    We all know about Invokes, and all, but its a bit of a mess. There should be a way to communicate through call backs with objects on a form. So a thread would just calll the callback, and without any problems it would update the WinForm Control (Control Responds to Update Event with its event args array of parameters).


    You already have this in the form of the BackgroundWorker.  That's a better design than modifying every control to add this functionality.

    SecretSoftware wrote:

    Further, there should be new controls that deals with hardware directly, and especially graphics and sound. One can drop a control, assign to it the kind of sound encoding, and the control would be able to interact with Windows Sound APIs, to enable me to rapidly make my media player. or VOIP solution. There are 3rd party controls that does this, but I think MS should give us one.etc.. Generally Hardware related Controls (dealing with Sound Card , video card, mics, etc..(where assembly is required).

    I know one can use the WinMediaPlayer dlls, but then there are alot of limitations. There should be some kind of a generic control for media and sound. that allows us to use custom encoding and decoding.


    This I can agree with, but it would be mighty low in my list of things Microsoft should focus on.  For the most part, you're talking about niche technology that is helpful to a few.  I'm glad to see they are focusing on the larger stuff, that effects everyone.  IOW, rich data, databinding, etc.

    SecretSoftware wrote:

    Also, there should be an updated Win Forms Control that Deals with Sockets in a more flexible way. I want to be able to have a control that is able to ensure that a packet send is a packet received (does all packet recognition using say RegEx on XML?). And in general a more robust socket control that wraps the Socket class in .NET.


    I don't see any problems here.  I certainly don't want a control.  I want libraries for this (this kind of functionality doesn't belong in the UI portion of my code).  And WCF does this.

    SecretSoftware wrote:

    Unit Testing
    :
        I hate the way Unit Testing is implemented in Orcas. I mean why does it have to generate an entire Project just for Unit Testing a class (thats what happened when I tried it) ? Why can't I do Unit testing In-Situ? Where the IDE would simulate debugging just the code I am interested in, by allowing me to give it the parameters I want, at design time, so I can be sure that this method is bug free for my purposes. Creating an entire Project is just something that disrupt user experience and is just not good to work with. It should be done behind the scenes on the same IDE session on the same code page.


    You're talking about some sort of ad-hoc user testing, not reproducible automated unit testing.  Maybe useful, but not much.  The automated unit testing is much more important.  And for that, you need libraries.  I can point out several things that should be improved here (it should be easier to run specific (sets of) tests, for instance), but none are what you seem to be asking for.

    SecretSoftware wrote:

    At least with SQL Server 2005, when you want to step through an SProc, you get a form that you supply the parameters in and it lets you step through it, Nice and clean. Hence, I wish for VS 2008, to have unit testing in-situ (simulate debugging senario on the IDE itself of just one code block that the Programmer specifies (through highlighting, then context menu selection >> Debug This (Or Unit Test This) and the smallest testable unit is the algorithm that takes parameters and returns values (methods))?

    Further, there should be automatic way to test for code vulnerability. VS should try to guess or report of potential security problems in a given code block, and report suggestions. (I mean common senarios ..)


    Code analysis (FXCop) does some of this.  New rules to do even more would be useful, yes, but don't talk like there's nothing along these lines today.

    SecretSoftware wrote:

    LINQ Project:
     Why do we have LINQ project spread over many DLLs? Why not put all of LINQ classes into one DLL? System.LINQ? Why System.Data.LINQ, System.Xml.LINQ? , why not put them all in one place and we can say System.LINQ.Xml, or System.LINQ.Entities, or just leave it as System.LINQ. Too much namespaces.


    The DLLs have little to do with namespaces.  But I'll address both.  From an assembly stand point, you need this stuff seperated because it's unlikely anyone will be using all of LINQ and so the memory footprint and download sizes would be bloated by code that's never used.  Namespaces, you want the seperation in order to make human consumption easier.  As humans, we psychologically deal with large sets of data (in this case, APIs) better when it's logically organized.  In this case, the way to organize is to seperate things into namespaces.  For example, just imagine the intellisense dropdown you'd have to deal with when trying to find a class in LINQ you rarely use if all of it were in the same namespace.

    SecretSoftware wrote:

    The IDE:

    Its the same as in VS2005, but we need more space. And the Start Page sucks. I want to be able to right click and remove Recent Projects. and it should tell me what is the time a project was accessed last.


    I'd like to be able to better manage the recently used list, yes.

    SecretSoftware wrote:

    The Performance is good, but can be better. Debugging in Orcas Beta 1 is fast and fun.


    Finally:
    Allow us to open multiple Solutions in the same IDE session. Its good for productivity. You can work in one session on multiple solutions with same IDE settings.


    I, personally, don't want this.  If the "solutions" are related, they should probably be one solution with multiple projects.  Otherwise, I'd rather have two IDE sessions open for this.

  • WPF Layout Issues

    No offense, but are you reading what I write?  In the first post, you give a solution I specifically said wasn't valid in my blog post.  Now you're talking about adding list items in order to get a vertical scroll bar, when I clearly said the issue with the "hack" solution you first gave was that I still needed a horizontal scroll bar.

    Here's a severe hack (severe in that the code is ugly) that almost works:

    <Page
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
      <ListBox>
        <ListBox.ItemsPanel>
          <ItemsPanelTemplate>
            <StackPanel/>
          </ItemsPanelTemplate>
        </ListBox.ItemsPanel>
        <StackPanel>
          <Grid>
            <Grid.ColumnDefinitions>
              <ColumnDefinition/>
              <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Text="Title Here"/>
            <TextBlock Grid.Column="1" Text="Price" TextAlignment="Right"/>
          </Grid>
          <TextBlock
            TextWrapping="Wrap"
            MaxWidth="{Binding RelativeSource={RelativeSource AncestorType={x:Type ListBox}}, Path=ActualWidth}"
            ><![CDATA[
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas sed neque et tellus tincidunt interdum. Morbi diam eros, imperdiet at, volutpat et, vestibulum quis, sem. Curabitur eu tellus vel felis molestie malesuada. Pellentesque nec lacus. Aenean fringilla nonummy sapien. Morbi eu odio at turpis cursus tristique. Integer nec lectus sit amet turpis bibendum feugiat. Cras posuere condimentum sapien. Vivamus accumsan, lacus at bibendum vehicula, magna elit consectetuer diam, ac luctus elit diam non leo. Vestibulum lobortis augue nec nisl. Fusce viverra purus consequat lacus. Nullam elementum mattis tellus. In hac habitasse platea dictumst. Aliquam ac velit sit amet urna placerat fringilla. Fusce mattis arcu eget urna. Sed lacus.
      ]]></TextBlock>
        </StackPanel>
      </ListBox>
    </Page>

    I say "almost", because the ActualWidth of the ListBox is greater than the actual width needed for the contents (it includes "non-client" area content, such as the listbox border).  So at certain sizes (the majority of the time) the contents will be wider than the client area and, though the text now wraps, we have a horizontal scroll bar and some of the text (including the price) is clipped.

  • WPF Layout Issues

    NuTcAsE wrote:
    

    Set the Listbox's ScrollViewer.HorizontalScrollBarVisibility to disabled. That should wrap the TextBlock elements contents.

    Example (extracted from your blog entry):

    <Window
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     x:Class="Test.Window1"
     x:Name="Window"
     Title="Window1"
     Width="640" Height="480">

     <Grid x:Name="LayoutRoot">
      
      
      <ListBox HorizontalContentAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
       <ListBoxItem HorizontalContentAlignment="Stretch" HorizontalAlignment="Stretch">
        <StackPanel>
         <Grid>
          <Grid.ColumnDefinitions>
           <ColumnDefinition/>
           <ColumnDefinition/>
          </Grid.ColumnDefinitions>
          <TextBlock Grid.Column="0" Text="Title Here"/>
          <TextBlock Grid.Column="1" Text="Proce" TextAlignment="Right"/>
         </Grid>
         <TextBlock TextWrapping="Wrap">
          <![CDATA[
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
           BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
          ]]>
         </TextBlock>
        </StackPanel>
       </ListBoxItem>
      </ListBox>
     </Grid>
     
    </Window>



    Nope.  I discussed that in the blog post.  That's a hack that only works in specific scenarios.  Even in this simple scenario, if I want to ensure the title and price isn't sized below a certain point, this hack no longer works.  You need scrollbars, but you still want the text to wrap.

  • WPF Layout Issues

    I've posted a blog entry about some WPF layout issues.  This isn't a post to direct traffic to my blog... there's not enough content there for it yet.  Rather, because the blog doesn't have many readers, I'm just hoping this post will get someone with WPF knowledge and experience to have a look and provide me with some technical feedback.

    To summarize, the issue is that TextBlock's, when TextWrapping is set to Wrap, will often still cause layout panels to have very large widths instead of wrapping the text.  For examples and details, check out the blog entry.

  • I love Channel 9

    fdisk wrote:
    In a word, this place is brilliant.


    This is the strangest thread I've read on C9.  For the record, here's the original post:

    fdisk wrote:

    I Get It Now

    Channel 9, that is.

    After extensive observation and thorough investigation, I'm convinced the purpose of this site is to "control" some of the message in the developer community by creating a magnet for developer frustration, interests, etc.

    That explains the continued tolerance of trolls in the community.

    Think about it. Wouldn't it make more sense to have people vent on a forum rather than taking action in other ways...such as not buying product, writing articles, talking with other developers/managers, developing your own superior product, etc.? Instead, it is much easier for people who have "issues" with MS products to come on here and discuss them, in hopes that their suggestions actually have an impact on a product, when in truth they really don't have much impact at all. The side effect of this is to then get the developer to channel the energy away from making an alternate product choice.

    Brilliant!


    Interesting thought, but full of holes.  First among them that C9, being full of (assuming valid) posts about what's wrong with MS software would be a rich place for real developers to learn strategic areas in which to compete with MS.  See the conspiracy theory assumes developers and readers of C9 are stupid.  Bad thing to assume.

  • Live Writer beta 2

    OK, trying to use this with SharePoint reports that the MetaWeblog API is not turned on.  Is this something I can do on my own blog, or is this something that has to be turned on by the SharePoint administrator?

  • Live Writer beta 2

    Sven Groot wrote:
    
    wkempf wrote:
    All dialogs pop up in the bottom right corner.  That might be a great idea for the final dialog that displays installation progress, but any dialog that prompts the user for input should be centered!  Quite annoying, and a UI design faux pas.

    I had this in Vista, but not in XP. Probably a bug.


    Maybe, but this happened to me in XP.  With both Live Writer and Live Messenger (haven't installed Live Mail yet).

  • Live Writer beta 2

    Just started installing, and I have to say, I don't like the installer!

    All dialogs pop up in the bottom right corner.  That might be a great idea for the final dialog that displays installation progress, but any dialog that prompts the user for input should be centered!  Quite annoying, and a UI design faux pas.

    Then there's the step that asks me if I want MSN as my home page and Live as my search engine.  I DESPISE installers that ask these questions.  Most people are in the habit of clicking Next all the way through installers with out reading anything in them.  This will change settings in your computer that you probably conciously chose to begin with.  It's a very rare person who will find this in an installer and think "hey, yeah, plese do that for me".  If you insist and putting this malarky in an installer as "advertisements", do the right thing and make the default be NO!

    Ah... I feel better now.  Now let's go see what this puppy can do.  Hopefully it now works with SharePoint blogs.