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


Vesuvius vesuvius Count Orlock
  • Why ​Dependency​Object of WPF and WF are different?

    Answer is available at http://blogs.msdn.com/kcwalina/archive/2008/04/25/MEF.aspx.

    I would also higly recommend the Brad and Krys PDC video on framework design. Most people do a bit of framework and application design, but the guys in charge of the BCL have some valuable insight.

  • T-SQL Finding the length of a NVARCHAR field

    Matthew van Eerde said:
    harumscarum said:
    At some point everyone makes the mistake of running a DELETE statement without the WHERE clause.

    (Feature request: database option, defaulted to "on", to make DELETE statements without WHERE clauses a syntax error.)
    Insert is also just dangerous, but if at all possibe I get a copy of the DB and run the test on that. Intelligent people can look incredibly stupid if not cautious here.

  • Apple Obj-C beat C# 4 by 20 years

    This thead title reminds me of a saying about "nothing ever being new - at least the idea of it". Anyone know where that came from, I can't put the right query into Google?

  • Apple Obj-C beat C# 4 by 20 years

    TommyCarlier said:
    vesuvius said:
    I suspect you've never tried to write an Office add-in using VSTO?
    Not yet unfortunately, though I'm sure if dynamic makes it easy, my nonchalance will evaporate. I do know Anders demo'd an interop thing, where the code gode seriously unwieldy, I presume this is the spivinious scenario.

  • Apple Obj-C beat C# 4 by 20 years

    figuerres said:
    evildictaitor said:
    evil:  like any power tool;  Use with caution!
    that's been true with C and pointers, with recusion and lot's of stuff...
    some folks take new stuff and try to do everything with the new toy.. and then find out they messed up.

    I honestly don't see me using any dynamic stuff, and cannot see the use of it in business application development. Not the stuff I do anyway.

    Any developers (smart client) that can see a use for this?

  • How Win32 app calls WPF dll

    Viashivan said:
    spivonious said:
    Hi everybody and thanks for the replies,
    maybe I haven't been too clear...
    I've already read about "WPF and Win32 Interoperation Overview" and I've tried the "Win32 Clock Interoperation Sample".
    So I created my WPF dll and I put it in my Win32 app.
    Now I have to write the code in my Win32 app in order to call/run my dll added, but I'm not able to do it... Sad

    Why are you trying to do this? Surely if you are writing something from scratch you may as well use the 1 tech, as your application is easier to maintain that way.

    If I was upgrading a Winforms application, then I'd look at interop. Is this mostly a win32 app or a WPF one?

  • Software's role in the economic collapse

    Sabot said:
    Software does not make the rules of a process.

    Software will not strengthen the weaknesses in a market.

    Software will not protect a human being from doing what an human being does, we are still in control, mistakes are ours to make.

    Software will protect us from risks we spot and have decided and agreed to do something about but usually on at a micro level, the strategic and holistic views are still the territory of the less the logical human brain, which bases decisions on need, greed, memory, peer, fashion,attraction, education, experience, politics, location, prejudice, emotion and sometimes data.

    So what is success? Well only a threshold on a measure.

    So do we have a Global Problem? How can you when not everyone is having the same problems because they aren't all governed by the same rules?

    As far as I'm concerned the problems are with banks and the amount of liquidity they have to lend to each other. It's not a bad thing that this is curtailed for awhile as this will give a pause in breath, it's whether organisaton are clever and take advantage of the pause to examine and fix faults.

    At a more personal level remember you are actually good at change, I've been made redundant three times in my career, so you have to have more faith in yourself, keeps skills current and prepare for when times aren't so good with some savings. Also be prepared to make radical changes and take advantage of the IT being a global market ... why stay in your current country? If all the work is going to India/China ... go to India/China! Is the UK, USA, Europe really that much better? What keeps you here? Easy for me to say? No, I followed the work once and lived in other countries, it is hard at first but then humans are amazingly adaptable, take advantage of how great you are.
    The wise men have spoken Bass so I hope you have and are taking notes.

    One of them really should charge channel 9 for overheads, and responses like this are not to be missed.

  • Software's role in the economic collapse

    Bas said:
    Bass said:
    I'm thinking the same. People always see these black and white "we're all gonna be unemployed because the machines do our jobs" scenarios, but that would imply that suddenly, we'd have the sort of machines that would instantly replace everybody's job. Change isn't instant, it's gradual, so they'll eventually start replacing everybody's job. But at the same time, is that a bad thing? If the low-education jobs start dying out, so will the people who do those jobs. If there's only high-education jobs, eventually there'll only be high-education people. All in all, this means that the human race has advanced intellectually. I don't see that as a bad thing.

    It's that positive science fiction stories are boring, otherwise people might read a few more of them and not base all their future perspective on Orwell and Huxley.
    Is that T.H. Huxley or Aldous Huxley?

    Brave New World's Utopia is the opposite of Orwell's Dystopic ninteen-eighty-four. I wish more people were aware of that book and read both (not casting aspersions here). You can see the failings in soma, which is where computers are supposedly taking us.

    If you build run-of-the-mill business applications that reduce manual input - a prime example would be a business based on Microsoft Excel [doing everything in it] - and having a database centric approach. Most business processes have similarities and differences that make it impossible usually to have a "one size fits all" application - apart from office of course.

    The threshold for replacing manual systems with automated ones at present is very expensive. There are a myriad of businesses that would like more automation, but the costs are astronomical.

    I don't think the low education jobs are dying out, as much as the lower educated are now having to be better educated -which is great by the way - does that make sense?

  • To W3bbo

    ManipUni said:
    Back in my day we had to walk one hundred miles in the snow without shoes to school...
    Back in my day speed limits didn't exist and street lights were rare...
    Back in my day we didn't have this fancy paper and pens you young kids take for granted today!

    You young kids have it easy...

    True, but in some ways computing is much more brutal than that.

    Here in 2008 (2009 around the bend), I'd love to be working on Silverlight and WPF only, with C# 4.0. I think to be a good Computer Scientist, you need to have walked 100 miles shoeless to school in the snow. You appreciate having the shoes and motor car, and can use them better.

    Having to design user interfaces with all the previous technologies, makes you better at creating them with Silverlight. Yes there will always be exceptions, but par-for-the-course of course, programming is sequential. W3bbo has a secret card up his sleeve that most users here don't, and that is mathematics. I will avoid discussing strengths and weaknesses as that has been covered already, but he has a lot of knowledge that is taught.

    When you are reasonably young you are are idealist. Especially if you are well educated. It is concomitant. Yes you can and do question things, but the searching questions come later. Much later. I see great promise here.

    I don't think turrican meant to be patronising, but he has tried not to use too strong language, without resorting to the WFT type stuff. I know he is vexed, so his "little digs at webbo" are concomitant.

  • WPF problems

    wkempf said:
    The functionality you want could be added, and with almost exactly the syntax you want, via attached properties/behaviors (http://www.codeproject.com/KB/WPF/AttachedBehaviors.aspx).

    Simple databinding of controls to realtime data is trivial.  Some advanced things, like usage of the ICollectionView interface for sorting/filtering in thsese sorts of scenarios is non-trivial at best... however, I'm not certain I'd recommend the usage of ICollectionView in these sorts of scenarios anyway.  Bindable LINQ might be handy for you (http://www.codeplex.com/bindablelinq).  If you've got some specific issue with realtime databinding, explain it further and I might be able to provide some ideas.

    Thanks for the links and info. Attached properties are certainly something I've not looked at.