Sign in to follow this  
  • entries
    557
  • comments
    1237
  • views
    421494

Untitled

Sign in to follow this  
Evil Steve

65 views

RAWR. Looks like my ISP has blocked 4cahn.org.

Blueyonder was totally screwed earlier, their service page said there were "Nationwide problems with the broadband service", and my home net connection (With my Internet radio, forums, etc), www.telewest.co.uk and www.blueyonder.co.uk all went down every 10 minutes for 30 seconds to 5 minutes at a time...

Now I can't get an IP for 4chan.org, nslookup says it times out, but OpenDNS works. So I went to their "Contact us" page. Here's what it says:
Quote:
Please give a full description of the problem you are experiencing, include give a full description of the problem you are experiencing, include traceroute and ping results for slow speed issues and any extra information that you feel may be helpful in resolving the problem


Quote:
Your IP details (IP address, DNS server addresses, subnet mask NIC MAC address) and full details of any error message (if any) you receive with this problem
I mean come on. What the hell? How is the average user going to get half that information when their Internet is playing silly buggers?

Anyway, I'm fully expecting them to come back and say that the sites been blocked and I'm not allowed to use OpenDNS or I'll be bent over and raped.


Also, this annoys me:
int foo = 1 + 2;
int foo = 1 - 2;
int foo = 1 -2;
int foo = -2;
int foo = - 2;
int foo = 1 + -2;
int foo = 1 + - 2;
That's all ok in C/C++, but it causes my lexer to spazz out and read "-2" as one token. Which is correct, sort of. So now I have a horrible hack in which the lexer reads "-2" as "-" and "2", and when the expression parser comes across a "-" where whatever comes before it isn't an int, float or integer, it stuffs a "0" in.
So int foo = 1 + - 2; becomes int foo = 1 + 0 - 2;

Eww...


Also, GDNet = fux0r for the past 2 or 3 hours. The server's been closing the connection instantly. What's going on? [sad]
Sign in to follow this  


3 Comments


Recommended Comments

My parser supports two kinds of operator - binary (1+1) and unary (+1). In both those cases, the plus sign is handled as two different, distinct, operators.

What happens if you try int foo = 1 * -1;?

Adding ternaries (?:) is going to be fun.

Your hack can't be as bad as mine, which replaced any instance of [operator][-] with [operator][¬], so the above would become int foo = 1 * ¬1;, where ¬ was later handled as a special "unary subtraction".

Share this comment


Link to comment
Quote:
Original post by Sonnenblume
Have you heard back from blueyonder yet?

Nope, but 4chan seems to be working again...

Quote:
Original post by benryves
My parser supports two kinds of operator - binary (1+1) and unary (+1). In both those cases, the plus sign is handled as two different, distinct, operators.

What happens if you try int foo = 1 * -1;?

Adding ternaries (?:) is going to be fun.

Your hack can't be as bad as mine, which replaced any instance of [operator][-] with [operator][¬], so the above would become int foo = 1 * ¬1;, where ¬ was later handled as a special "unary subtraction".
Oh crap. I didn't think about that...
Back to the drawing board [sad]

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now