Search

You searched for the word(s): userid:79378

Matching Posts

  • Re: Alternative to nested IFs in C#?

    The goto solution would not only be cleaner, but also much faster than the exception approach. In this case, I'd definitely support the goto approach, unless you can use the approach suggested by Svante, which I would be more likely to use.
    Posted to C# (Forum) by pickyh3d on 1/5/2008
  • Re: Thoughts on using e-mail address as a username

    Someone asked me to add to what I had said earlier, and while I don't have any real code to show, I can try to explain it a little further. Every site obviously has a username field (whether it be this site where mine is "pickyh3d" or Xbox Live! where my username is actually my email address) and a password, so in your database you can keep your two text fields (doesn't matter really if you restrict length or not, but the point is they are variable length text values... though I
    Posted to Getting Started (Forum) by pickyh3d on 8/2/2007
  • Re: look for a highlight algorithm

    Can you rephrase your problem? Why are you having trouble with finding IE7 after finding IE? Is "IE7" being destroyed (salted) by your "IE" search term? If that's the case, it might be the simple case of ordering by length (longest first) before doing the search so that "Internet Explorer" goes first, then "IE7", "IE6", "IE5" (those in no particular order) and finally followed by just "IE" .
    Posted to C# (Forum) by pickyh3d on 7/28/2007
  • Re: Problem with Verbatim String

    Assuming you can trust all of the company's employees, including any disgruntled, about-to-quit-or-be-fired people.
    Posted to C# (Forum) by pickyh3d on 7/27/2007
  • Re: function to generate random password

    It's not bad (did not test it), but the only change I might make would be to convert the goto loop into a do-while loop: do { // ... everything before the if statement and after "chargen:" } while ( removeVowels && vowelRemover.IsMatch(passwordChar.ToString()) ) The usage of goto here isn't bad, obviously, but it's not necessary.
    Posted to Tips & Tricks (Forum) by pickyh3d on 7/27/2007
  • Re: Using Guid() instead of identifier...

    I believe that XIII was referring to the fact that it makes it nearly impossible to guess what another page's id might be. Not as true security. For instance, if you were making statements public (just a random example) and did not want people just bouncing between them by decrementing (or incrementing) the id: mysite.com/index.aspx?pageid=1 mysite.com/index.aspx?pageid=2 mysite.com/index.aspx?pageid=53 The only thing changing is the pageid value, which may not be the intended result. There's
    Posted to C# (Forum) by pickyh3d on 7/7/2007
  • Safari shrinks reply text

    I was browsing around the site using Safari (on a Mac, not the beta on Windows) and I noticed that the site was rendering a little weird, even though it does not do it for any other site that I have noticed in Safari, nor does it do it for Firefox on the Mac (latest release edition). It very well could be Safari's fault, but I thought I would mention it because it is a little annoying. I took a picture of the problem (note the text in the reply). This is not just happening with one post, nor
    Posted to Feedback on this website (Forum) by pickyh3d on 7/7/2007
  • Re: Using Guid() instead of identifier...

    It does not check the table, rather it plays the odds that it will not be a collision. There are 16^32 unique GUIDs, which is an enormous number , and it is just highly unlikely to hit a collision. You can still query for the uniqueness of the GUID prior to inserting your own, or mark the column as UNIQUE in other databases as necessary. The magic behind the unique identifier is that the GUID and that column type use the same format. I know that MySQL has a transfer tool that will convert this for
    Posted to C# (Forum) by pickyh3d on 7/7/2007
  • Re: VB equivalent of this code

    I was clarifying what type of C# code it was, and explaining why your code had to declare the delegate separately, then providing the Address to it. I don't agree that it was that confusing, and I specifically posted it so that when people search for anonymous methods and VB.net, then hopefully they will find your example about how to change the code. I didn't intend to sound like I was attacking the name of your method. I'll modify my original post to clarify that I was not saying that
    Posted to Visual Basic .NET (Forum) by pickyh3d on 7/6/2007
  • Re: VB equivalent of this code

    Unfortunately, VB.NET does not currently support Anonymous Methods. This is an example of an Anonymous Method in C# . Edit : The example provided shows the work around--create a new method and simply provide the address to it (as your normally would).
    Posted to Visual Basic .NET (Forum) by pickyh3d on 7/6/2007
Page 1 of 194 (1937 items) 1 2 3 4 5 Next > ... Last »