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

Comments

BobTabor BobTabor
  • Conditional Logic in JavaScript - 06

    @Asenchuk: Unfortunately, I think you did miss something.  "truthy" and "falsey" are just literal string values.  I could have used "Bob" and "Clint" instead.  The important thing here is that this is a short cut for an if statement.  The expression between the opening and closing parenthesis ( ) is evaluated.  If the expression evaluates to true, then the first value (to the left of the colon : ) will be returned.  If the expression evaluates to false, then the second value (to the right of the colon : ) will be returned.  In this case, as you wrote "It looks like what you write at the end of statement eventually returns as a result?" ... because the expression is hard coded to FALSE!  If we hard code that to true:

    myResult = (true) ? "truthy" : "falsey";

    ... the first value (in this case, "truthy") would always be returned.  Perhaps the example is so mundane that it is easy to miss the point.  I would recommend re-watching that part of the video and listening to what I say there.  Good luck!

  • Series Introduction - 01

    @DavidDilley: Thanks for watching and writing.  Yes, the center tag is a prime example of what I talk about in this series ... the intent of HTML5 changed dramatically from where it began.  If you can think of the computer programming principle of "separation of concerns", then it will make your transition easier.  Ask yourself "Did this old tag represent CONTENT or DESIGN?"  If the answer is "design", then there's probably a replacement for it using CSS3.  Good luck!

  • Part 5: Basics of Layout and Events

    @Shen Zhongwei: Admittedly, I could have said that more cleanly, but I actually did mean "relative values" there.  In other words ... a padding / margin value is expressed as a pixel value because it pads / provides a margin for two widths / heights belonging to two objects (in this example, Rectangle objects, but it could be text boxes, pictures, etc.)  Example: the phone has a fixed width on its screen, but different phones have different fixes widths.  I can specify that two Rectangles on my form should take up half (50%) of the width ... BUT ... I want some padding between the Rectangles so you can see two "boxes", not one.  In order for the layout manager to decide how much width to give each Rectangle, it has to know the overall width minus any fixed widths for margin / padding.  Now that it knows the ABSOLUTE widths, it can calculate the RELATIVE widths. 

    I suppose the designers of the layout manager could have said you could create relative widths for padding and margin and they could still do some calculations to figure out some equitable way to split all that width between the rectangles and margin / padding, but they didn't.  So, what I said was a bit clumsy, but still accurate.

  • Conditional Logic in JavaScript - 06

    @Asenchuk: Yes, if not all of them, then at least the first several.  Ultimately, you will want to watch them all, but only the basics of HTML / CSS are required for this JavaScript course.  Good luck!  You can do it!

  • Writing your First JavaScript Application - 02

    @hemantb: Could you show me your code?  All of it?  Use the "Insert Code Block" icon in the reply text box.  Thanks.

  • Branching with the If . . . Then . . . Else Decision Statement - 06

    @Lee: Hi Lee, I might have an extra Console.WriteLine() in there I'm guessing.  Otherwise, I can't imagine why that would happen.  But I would say this ... we're learning the Visual Basic language ... you probably won't be writing many Console style applications in real life ... unless you're an old school Zork enthusiast.  Smiley

    Also, I think Channel9 is working on captions this year, so that should help even further.  Thanks for the kind words, and best wishes as you continue through this series!

  • Part 2: Installing Windows Phone SDK 8.0

    @enno: You can try, but based on what you describe I kind of doubt it.  Good luck!

  • Part 14: Binding to Real Data at Runtime

    @Anh Duong: I believe this was a timing issue, if I recall.  The headers and the data bound to the tiles loads at different moments / events in the lifecycle.  I had to explicitly call the Load() to get the titles to load at the right time, otherwise, they would no appear.  Try that, experiment, and see what I mean.  I'm not sure how to explain it beyond that.  Hope that helps! 

  • Part 35: Where to go from here

    @Abdallah: You'd have to ask Nokia about that.  Don't know.

  • Channel 9 Content for Beginners

    @TonyBoySP: Sorry, no.

    @GlassAgate: Actually I'm not in Redmond ... I am in Dallas, TX.  I don't actually work for Microsoft.  True, they gave me a few chickens and ears of corn for these video series.  Smiley  However, they don't tell me anything.  At all.  Ever.  In fact, you may know more than I do because I don't pay attention to the gaming side.  I think the best opportunities for .NET developers is in enterprise software development which is my background.

    As far as LearnVisualStudio.NET goes the Visual Basic content on LVS stopped at version 2005 because, frankly, with rare exception nothing has changed from a beginner's perspective and because I decided to only teach C# on that site from now on.  I've got to draw the line somewhere and there's just too much content to cover to give both C# and VB the attention it needs.  Most jobs I see are looking for C# developers and I want to help my clients get better jobs.  It's as simple as that.

    Hope that helps!