Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RetroX

601
Announcements / Re: Missed one.
« on: January 14, 2010, 09:28:23 PM »
The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.
What the fuck.
He's either really bad with computers or really good at trolling.
No, I mean, the only person who would know enough about computers to do that and want to do that would be a microsoft employee

or an operafag

602
Announcements / Re: Missed one.
« on: January 14, 2010, 05:45:37 PM »
The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.
What the fuck.

603
Announcements / Re: Happy New Year
« on: January 13, 2010, 04:50:40 PM »
D uses f!(1) instead of f<1> for templates.
Good for D.

C# and Java solve this problem making templates apply only to types, never numbers, so you won't ever write class X<3>>2>.
Which is one of the reasons that C# and Java suck.  Number templates are extremely useful in some cases.

604
Announcements / Re: Happy New Year
« on: January 13, 2010, 03:22:36 PM »
It just comes from the stupid idea to use <> for templates. Because the lexer finds the biggest token it can and >> is an operator, closing two template tags in a row causes problems. Other than that, this behavior for the lexer makes perfect sense- it parses "asdfasdf = 3" as asdfasdf, = and 3, rather than a, s, d, f, a, s, d, f, = and 3.
It does not make sense to be green without chlorophyll.

605
Announcements / Re: Happy New Year
« on: January 12, 2010, 04:03:30 PM »
template<template<>>
template<template<> >
Are those actually different? Whitespace is not supposed to matter very much in C-based languages.
>> is considered as an operator, so they must be separate.

606
Announcements / Re: Missed one.
« on: January 11, 2010, 09:19:16 PM »
I have a Phenom II X4 3.4GHz with 4GB of RAM for the fastest (someone here will have an i7; just wait).

607
Announcements / Re: Missed one.
« on: January 11, 2010, 09:01:50 PM »
By the way, we should see who has the oldest computer and run it on that and see how long it takes, and then take the person with the fastest computer and run it on that.  Just for an incredibly unbiased and awesome benchmark mostly for lol.

608
Announcements / Re: Happy New Year
« on: January 10, 2010, 04:19:17 PM »
By the way, Josh, make sure that your handler doesn't see template<template<>> as the same thing as template<template<> >, although, I'm pretty sure that you've already handled that.

609
General ENIGMA / Re: Enigma on other platforms
« on: January 10, 2010, 04:17:19 PM »
Maybe eventually 360, because while it's a terrible console, it's almost identical to Windows, as far as programming goes.  As far as an IDE, there likely won't be one besides on that's compiled for PC/Mac OSes.

610
Announcements / Re: Happy New Year
« on: January 06, 2010, 09:30:09 PM »
TBH, I'd never touch the ds_* functions, ever.  I'd just use STL, instead, or something similar.

611
General ENIGMA / Re: Useful Tips
« on: December 27, 2009, 09:49:10 PM »
If it's char* prefixed with a size_t, then it's still a separate variable.  It's just not assigned to a regular cast.

612
General ENIGMA / Re: Useful Tips
« on: December 27, 2009, 09:23:09 PM »
string::size() caches the result?
No; the result is in a private variable, which is returned by the function.  Setting that variable to another variable would be counter-productive.

613
Off-Topic / Re: How not to comment code.
« on: December 27, 2009, 06:57:09 PM »
Code: [Select]
// Make a string
std::string str;

// Cin the string
std::cin >> str;

// Cout the string
std::cout << "Hello, World!" << std::endl;

// Clog a message
std::clog << "I'm couting my cins." << std::endl;

614
General ENIGMA / Re: Useful Tips
« on: December 27, 2009, 02:59:52 PM »
The sound tip is true, or else I wouldn't have added it. Let's just say it gives the sound more depth.
To be honest, I just added that one because I didn't know what to add on my list.

615
Off-Topic / Re: How not to comment code.
« on: December 27, 2009, 01:30:50 PM »
Looks like this guy was a dimmwit.