Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

A_Griffin

@A_Griffin
About
Posts
1.1k
Topics
89
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What's so bad about webforms?
    A A_Griffin

    "What's so bad about webforms?" Nothing, I say. The only thing you may want bear in mind is future maintainability by your project successors, if that is an issue. For whatever reasosn, WebForms are going out of favour, and finding (good) developers in years to come who can work with WebForms will only get harder. But in and of themselves, WebForms are just fine. I still use them when I can get away with it. And I certainly don't have the issues with them that @jkirkerx does. (Who uses labels anyway? Use a Literal if you need to inject some HTML.)

    Quote:

    As a negative effect, you never really master HTML or HTML5.

    I gave up learning HTML/CSS years ago anyway - that's what front-end developers are for! :) It's their job to make sure thinsg render on different devices. I just use what they give me. I never use the designer features in Visual Studio.

    Quote:

    I also got burned by the Ajax Control Toolkit.

    I've never used the ACT. AJAX is simple enough to use with vanilla JS, or jQuery if you're using that anyway. I avoid "black-boxes" whenever possible. I like vanilla, and the KISS principle. The trouble with so many out-of-the-box solutions to things is that they need to be all things to all people, catering for all scenarios. If you actaully sit an think about just what you need, it's usually only a tiny fraction of what some magic box offers, and you can have leaner code, with the added benefit of learning more, by writing your own code that does just and only what you want. Nor have I expereienced any problems with Google, or IIS. I'll have to take jkirkerx' word for it when he says "Now I can develop in 1/16 the amount of time it took me in WinForms" (I presume he means WebForms) but I can't say I've found that much difference, if indeed, any. I like WebForms. I do accept that MVC, and now .NET Core, haven't come about for no reason, but there is a "horses for courses" aspect to all this. If you're a single developer on a relatively small-scale project (small business / charity / school, maybe) not too concerned about your code in 20 years... then there is no reason to give them up, if you're happy with it. (On a separate but related note, I could make similar arguments for that other "black sheep" of the coding family: Visual Basic. Of course there are things you wouldn't use it for, but - horses for courses again -

    ASP.NET question asp-net business csharp database

  • Problem with Geolocation
    A A_Griffin

    Why are you repeating this question? It's been answered, below. (Though you may also need to put

                       'Error: Your browser doesn\\'t support 
    

    geolocation.');

    on one line first, if that's not just a formatting issue on this site.) And your

    onclick="GetLocation();"

    attached to the button won't do anything unless you define a function with that name in your script.

    JavaScript help question

  • Problem with Geolocation
    A A_Griffin

    Your very final closing curly } is extraneous - just get rid of that and your code will work. btwm, you ought to hide yor API key - or at least go to your Gogole account and restrict its use to your IP address. As it is, anyone can use it....

    JavaScript help question

  • Javascript object comparison
    A A_Griffin

    OK, but then why then does this return True?

    var obj1 = 2;
    var obj2 = 2;
    if(obj1 === obj2){
    alert('true');
    } else {
    alert('False');
    }

    It's the same code but for assigning an integer to the obj variables rather than an empty JSON string.

    JavaScript javascript question

  • The fantasy continues
    A A_Griffin

    Still spouting your crap, I see. I’m not religious, but there are few words better to describe you than “evil”. Why are you so obsessed with spreading your shit? You acknowledge AGW but not CAGW – as though the warming will stop all by itself if we don’t change our ways. It is the complacency of people like you that is going to lead directly to the deaths of millions of people. One day your children, if they’re still alive, will spit on your grave. I’m off again – I cannot bear to be on the same platform as you.

    The Soapbox csharp com security question learning

  • And you thought Van Gogh died....
    A A_Griffin

    ... he just went to Jupiter APOD[^]

    The Lounge

  • Wether-man in Wales
    A A_Griffin

    Spayed, I expect, being the closest thing.

    The Lounge com algorithms

  • The art of the dill part 2
    A A_Griffin

    You also said it made the rest of the OP bollocks - but it doesn't, for the reason I stated: that whether or not he literally declared such a war, his actions were a de facto declaration of such.

    The Soapbox com business

  • The art of the dill part 2
    A A_Griffin

    Well, come on - not literally, but he has de facto. It was he who started slapping trade tariffs on China, amongst others. These are called Trade Wars, for good or bad, right or wrong.

    The Soapbox com business

  • CCC - Not solved
    A A_Griffin

    Well come on then - put us out of our misery....

    The Lounge

  • English Clarification please.
    A A_Griffin

    In itself, not necessarily, though it may depend on the wider context under which the statement is made - i.e. what's been said before.

    The Lounge question discussion lounge

  • The art of the dill part 2
    A A_Griffin

    You call that "art"? It's like something a child would do... oh, wait...

    The Soapbox com business

  • London murder rate surpasses New York City rate.
    A A_Griffin

    Go stuff a cake down your gob

    The Soapbox announcement

  • CCC 04/04 (slight edit)
    A A_Griffin

    Well done! I was just about to apologise and blame it on The Times ... :)

    The Lounge question

  • CCC 04/04 (slight edit)
    A A_Griffin

    Nope...

    The Lounge question

  • CCC 04/04 (slight edit)
    A A_Griffin

    Like Schrodinger's Cat, I guess we won't know until ... until we do!

    The Lounge question

  • CCC 04/04 (slight edit)
    A A_Griffin

    Sorry - somewhat tied up and short on time, so I'm going to cheat somewhat by providing a clue I remember from The Times many years ago. Hopefully it's old enough to be "new" here. I always liked it: Portrait of a flying doctor? (7) [edit] - added the ? to the clue

    The Lounge question

  • London murder rate surpasses New York City rate.
    A A_Griffin

    I didn't accuse you of ignorance - I accused you of stupidity and racism. How often do I have to keep repeating myself? You clearly cannot grasp the idea that a fact and the interpretation and meaning you give it are two different things. We all agree that the majority of gun deaths are black on black. That is the simple statistical fact. Where we differ is in what we make of it. You just dismiss is as "black gun culture", and I call that a racist attitude. There is no culture of black people killing each other. There is a higher rate of such killings than in the white population, but to call that a "culture" with no care or thought about why there is this discrepancy is racist. And you are racist, Matt - this and other comments you've made in the past make that quite clear. (And no I'm not going to trawl back to find them.)

    The Soapbox announcement

  • London murder rate surpasses New York City rate.
    A A_Griffin

    F***s Matt I know this. I give up - you are clearly incapable of understanding.

    The Soapbox announcement

  • It has gotten a little boring around here...
    A A_Griffin

    Boring[^], huh?

    The Lounge question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups