November-06's Profile User Rating: *****

Reputation: 46 Craftsman
Group:
Active Members
Active Posts:
392 (0.3 per day)
Joined:
04-January 11
Profile Views:
14,822
Last Active:
User is offline Aug 18 2014 03:13 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   November-06 has not set their status

Posts I've Made

  1. In Topic: This is probably the most inspirational article I've ever read.

    Posted 15 Jul 2014

    Great article!

    Well, before I was able to create lines of codes of a certain function for just a few minutes, I spent hours creating one when I was a beginner.

    I have fallen into programming addiction (which others may call 'hard work' since I spent many hours programming) which helps me code a lot better than before.

    The sleepless nights... the dark circles around the eyes... the headache upon seeing a new error... the panic I had felt after being prompted of 'Object Reference not set to an instance of an object'... All those stressful yet fun days of programming... I have never regretted any of them.

    I am proud to be the programmer I am right now. Though, I still have a long way to go before being called great.
  2. In Topic: Read URLEncoded QueryString

    Posted 15 Jul 2014

    I am encoding a cookie.

    So if I have a cookie like this...

     HttpCookie cookie = new HttpCookie("test_cookie");
     cookie["name1"] = "value1";
     cookie["name2"] = "value2";
    
    


    When I encrypt the cookie value, it only encrypts the name and the value. As a result, there is still an equal that separated the cookie name and value.
  3. In Topic: Drag and Drop from Windows Compress Files

    Posted 27 Jun 2014

    I do not know exactly how to solve your problem. But just a thought... don't you need a program to automate decompression first before reading the file?
  4. In Topic: why converted values from string to double gives me syntax error

    Posted 27 Jun 2014

    Just as modi123_1 said, assign a default value during declaration.

    
    double  distance = 0;
    double current = 0;
    double voltage = 0;
    double Loss = 0;
    
    
    


    It doesn't have to be always zero. Consider the most appropriate default value to assign.
  5. In Topic: Validating script tags and other javascript

    Posted 26 Jun 2014

    I created a simple program that checks if a string matches a regex pattern. It's basically my regex playground in case I need to play with complex patterns.

    It's just a simple textbox for the pattern and another textbox for the string. A label shows "Matching" or "Not Matching" after button click.

    Playing around in my little playground, I can't seem to find a solution for my new regex problem.

    For example, I have this:
    var a1='hi '; var b2='username';alert(a1 + b2);
    
    

    Using backreferences, I can call variables a1 & b2 again in the alert.

    But what do I do about the declaration of the second variable(b2 variable)? I need a variable that is composed of letters, numbers, or underscore that does not have special characters (following the rule of a variable). So I have...

    [A-Za-z_][A-Za-z0-9_]*

    At the same time, the second variable should not be equal to the first variable. This is where I'm stuck.

    I need a logic AND. Some references say I can achieve this with (?=pattern)

    I need to say that it should not be equal to the first variable.

    [^\1] doesn't work. It seems that backreference doesn't work inside brackets.

    Character class subtraction doesn't seem to help either.

    Could someone guide me on how to achieve this?

My Information

Member Title:
D.I.C Regular
Age:
23 years old
Birthday:
October 17, 1990
Gender:
Interests:
Programming, Playing Chess
Programming Languages:
C#.NET
VB.NET
ASP.NET
LINQ
VB 6.0
Java
C
MATLAB

Contact Information

E-mail:
Private
Yahoo:
Yahoo  sixth_of_november@yahoo.com

Comments

November-06 has no profile comments yet. Why not say hello?