Skydiver's Profile User Rating: ****-

Reputation: 3662 Guru
Group:
Moderators
Active Posts:
11,535 (12 per day)
Joined:
05-May 12
Profile Views:
56,195
Last Active:
User is offline Today, 06:59 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Toyota
Dream Kudos:
100
Expert In:
C/C++, C#

Latest Visitors

Icon   Skydiver has not set their status

Posts I've Made

  1. In Topic: TDD: How to correctly implement?

    Posted 21 Dec 2014

    First of all, you are testing the wrong thing. You should have two levels of tests. Logic tests and UI tests. The logic test would verify that the results are being generated correctly and stored into your data model. The UI tests would verify that your view is databinding to yoru data model correctly.

    Most people trust their UI framework (WPF, WinForms, ASP.NET etc.) to have done its own tests to get the databinding right, so they don't bother doing the UI tests. They will just concentrate on the logic tests.

    Or put it this way, when you call your OS's equivalent of PutPixel(), you typically won't write a test to verify that it successfully put the pixel of the right color in the right location, right?
  2. In Topic: colors problem in c++

    Posted 21 Dec 2014

    BTW, the way you are using GetAsyncKeyState() will lead to a very laggy and inconsistent experience for the user. I suggest reading the documentation and change your approach to how you are using it.

    With your current code, you are only checking for the key state when you are painting the '@'. What if the user pressed the arrow keys while you were drawing the rest of the map? You say, "but the least significant bit will be set anyway if the key was pressed since I last checked for it". In response to that, I recommend re-reading the documentation more closely and pay particular attention to where it states that you should not rely on this behavior.
  3. In Topic: Need help with c++ multi OpenFileDialog

    Posted 21 Dec 2014

    Hmmm... You set the Multiselect property to true, without reading the documentation? RTFM. Read the "Remarks" section. It tells you exactly how to get the all the file names.
  4. In Topic: Alternating itunes(any player) playlists... need direction

    Posted 21 Dec 2014

    Sorry. Misread the previous post to mean that switching to each playlist would make it start over from the beginning with the same order.
  5. In Topic: Windows store - xaml table is not displayed

    Posted 21 Dec 2014

    How do you know that the data binding is working correctly if nothing is displaying?

My Information

Member Title:
Code herder
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
programming, shooting, skydiving, scuba, photography, game dev, cryptography, design patterns, agile methodologies, scifi, fantasy,
Years Programming:
33
Programming Languages:
C, C++. C#, PHP, JavaScript, Pascal, SQL, BASIC, Forth, x86, 65000, 65xx,

Contact Information

E-mail:
Private

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    tarmizi_adam2005 Icon

    08 Mar 2014 - 09:03
    Congrats on the 3k rep ! also, before your rep changes nice palindrome rep, 3003.
  2. Photo

    tarmizi_adam2005 Icon

    27 Nov 2013 - 18:56
    Just wanted to stop by and say thanks on the advices you gave in my post (read wav files C/C++) the other day.
    Thanks again Skydiver
  3. Photo

    sanwall Icon

    27 Nov 2013 - 00:54
    kindly answer my post about visual studio!
  4. Photo

    raspinudo Icon

    03 Jul 2013 - 05:51
    Nice Star Trek t.n.g. Reference
  5. Photo

    todddowers Icon

    26 Jun 2013 - 23:07
    hello i was wondering do you know anything about text based games.
  6. Photo

    CY5 Icon

    10 Jun 2013 - 07:07
    Thanks SkyDiver you're always there to help on C# forum
  7. Photo

    Jovel Mark Icon

    05 Mar 2013 - 23:51
    salamat sa pagtulong .. keep it up the work..
    kung wala kamo wala kami mahimo sang amon nga project ba,, madamo gd nga salamat sa pagtabang..
  8. Photo

    tlhIn`toq Icon

    30 Dec 2012 - 16:20
    Congrats on the Mentor badge. I think that is new record. Glad to have you on board.
  9. Photo

    lp94 Icon

    07 Oct 2012 - 06:09
    thank you soooooo much <3
  10. Photo

    kai_itz me Icon

    25 Sep 2012 - 04:40
    i agreed with MrShoes.
    More knowledgeable than many; more patient than most.
    very well said :)
  11. Photo

    tlhIn`toq Icon

    01 Sep 2012 - 15:22
    I just saw the Expert badge... Well done!
  12. Photo

    nazzie Icon

    22 Aug 2012 - 00:34
    Thanks for your Help! Keep up the good work.. thanks so much! ^_^
  13. Photo

    vikuseth Icon

    17 Aug 2012 - 23:12
    hi
    thanks for helping me in Dll issue .
    you are the best. ..
    good luck...
  14. Photo

    MrShoes Icon

    08 Aug 2012 - 00:49
    More knowledgeable than many; more patient than most.
  15. Photo

    BarackObama Icon

    31 Jul 2012 - 00:59
    This guy is the best! Love him
  • (2 Pages)
  • +
  • 1
  • 2