andrewsw's Profile User Rating: *****

Reputation: 4266 Guru
Active Posts:
15,816 (17.74 per day)
12-December 12
Profile Views:
Last Active:
User is offline Today, 03:44 PM

Previous Fields

OS Preference:
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
Expert In:
Icon   andrewsw Giggity, Giggity, Goo!

Posts I've Made

  1. In Topic: Query show selected columns

    Posted 22 May 2015

    It should be and [discontinued]='0' (without 'where').

    Assuming discontinued is a numeric field then you also do not need apostrophes around the value.
  2. In Topic: How to convert text field data into HL7 format

    Posted 22 May 2015

    You switched from WriteLine to Write. Switch back to using WriteLine throughout, or append Environment.NewLine.
  3. In Topic: Short Amortization Calculation For 3 days

    Posted 22 May 2015

    What errors appear in your browser's console?
        totalPrincipalPaid.value = p * periodInterest;

    totalPrincipalPaid is a simple variable, it does not have a 'value' property. p is also assigned a value, it does not, in turn, have a 'value' property.

    (I don't know about adobe forms, but I doubt very much that it will impact the behaviour of declared JS variables.)
  4. In Topic: Chess Board and Moving Pieces in C++

    Posted 22 May 2015

    The traditional, relative values of chess pieces are 1, 3, 5, and 9. These are relative values so they are unaffected when multiplied by 100, which may make other arithmetic easier to work with: keeping everything as integer values.

    The bishop is often considered to be of more value than the knight (depending on the position) so I assume the author has increased its value slightly from 300 to 305.

    The king is priceless, so I assume that 2000 was chosen as an arbitrarily high value.

    I suppose modifying the values shouldn't be an issue, but the author would have to confirm this (or you could study the code).

    This comment in the code:
    // we will make them constants, so that if at any time we want to change their values we can do so here

    suggests that the author anticipated that these values could be changed.
  5. In Topic: [link] HTML Canvas Deep Dive

    Posted 22 May 2015

    Thanks for the response, although.. I am not the author of the tutorial ;)

    Interactive tutorials are an interesting innovation, although I suspect that the more popular approach will be to embed CodePens, or jsFiddle or Try It, areas that people can use to experiment with without leaving the page. (I have noticed more and more articles and tutorials embedding CodePens or similar.)

    Being able to drag stuff around and immediately see the effect is novel, but requires much more effort from the author to give this feature educational value, rather than just being a gimmick. The dragging needs to demonstrate, or emphasize, a particular feature, and not just be included because we can.

My Information

Member Title:
I'm not here to twist your niblets
Age Unknown
Birthday Unknown
Fixing you
Programming Languages:
VB.NET, C#, Java, SQL, PHP, JavaScript, jQuery, HTML, CSS, Python, VBA, VB6, Regex

Contact Information



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

    mireille4U Icon

    30 Apr 2015 - 05:28
    Greeting from mireille i saw your profile today and i became interested in you and i will like to know more about you and if you can mail an email to my mail address ( i will give you my is my mail address i hope we can move from here.above. Mireille
  2. Photo

    mbole87 Icon

    01 Apr 2015 - 00:58
    Andrewsw helps me second time, awesome.
  3. Photo

    farad Icon

    15 Nov 2014 - 16:34
    One of the best...
  4. Photo

    abdalraheem Icon

    31 Dec 2013 - 04:59
  5. Photo

    Michael26 Icon

    14 Nov 2013 - 04:21
    Boom, 2000 rep points :)
  6. Photo

    laytonsdad Icon

    21 Aug 2013 - 14:03
    Getting close to 1500 rep, you are a robot.
  7. Photo

    Flukeshot Icon

    14 Jul 2013 - 16:09
    1337 reputation points, truely elite!
  8. Photo

    Michael26 Icon

    09 Jun 2013 - 14:11
    Wow andrew, you're on fire this month
    82 reputation points, nice :)
  9. Photo

    Michael26 Icon

    27 May 2013 - 16:14
    Great for you andrew, keep up the good work :)
  10. Photo

    jon.kiparsky Icon

    15 May 2013 - 13:13
    Jinx, buy me a coke!
  11. Photo

    laytonsdad Icon

    29 Mar 2013 - 14:15
    You are awesome.
  12. Photo

    kai_itz me Icon

    19 Mar 2013 - 23:10
    superb keep going....
  13. Photo

    _HAWK_ Icon

    04 Mar 2013 - 23:18
    Diggin on your Avatar man!
  14. Photo

    raghav.naganathan Icon

    26 Feb 2013 - 03:05
    Congrats on the 500 Mr.Enlightened :)
  15. Photo

    lar3ry Icon

    11 Feb 2013 - 05:50
    Very helpful answer on converting a string to an HtmlDocument! That one gets immediate use for me.
  • (2 Pages)
  • +
  • 1
  • 2