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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 »
2401
Announcements / Re: Happy New Year
« on: January 28, 2010, 08:02:06 pm »
Quite the opposite. Templates (in theory) save lines of code, but increase actual executable size (disk and memory) due to the fact that the code is copied with only slight modification for each instantiation. A perk is that templated functions that go unused aren't included in the compiled product at all.
2402
Off-Topic / Re: What do you think of the IPB "Edit" button?
« on: January 24, 2010, 11:23:49 pm »
'Tis called "Quick Edit" because the Microsoft-founded wave of "hey let's hide the fkucing menu bar"-reasoning hasn't gotten to it yet.
I press "Quick Edit," and poof!
I press "Quick Edit," and poof!
2403
Off-Topic / Re: breaking news I AM A GIGANTIC FAGGOT PLEASE BAN ME blast breaking captcha code
« on: January 20, 2010, 08:26:21 pm »
Ism seemed to be making a joke, and Luis seemed to be covering multiple asses with one swipe.
2404
General ENIGMA / Re: Enigma on other platforms
« on: January 20, 2010, 08:25:25 pm »
Wii is by far the best for developing on. It has an SD card slot, which has already been exploited. At this rate, with permission from the responsible team, I could write a package to an SD card that would boot an ENIGMA game from it automatically, as soon as the SD button was selected from the system menu.
Also, on the subject of being official, it would be nice if that were an option. At one point, Nintendo made a public statement that they had, in so many words, wanted to allow for users to be able to develop for Wii and share games, etc. However, it seems that this was either referring to the Shop Channel scene, where people purchase the API and develop short games for Nintendo to distribute there, or was simply a public relations ploy: an empty promise.
Considering Nintendo has had the audacity to hard-code a check for the Homebrew channel's ID and delete it if found, I'd say they're not open to free homebrew development, and would turn any such proposal down instantly.
Also, on the subject of being official, it would be nice if that were an option. At one point, Nintendo made a public statement that they had, in so many words, wanted to allow for users to be able to develop for Wii and share games, etc. However, it seems that this was either referring to the Shop Channel scene, where people purchase the API and develop short games for Nintendo to distribute there, or was simply a public relations ploy: an empty promise.
Considering Nintendo has had the audacity to hard-code a check for the Homebrew channel's ID and delete it if found, I'd say they're not open to free homebrew development, and would turn any such proposal down instantly.
2405
Announcements / Re: Happy New Year
« on: January 16, 2010, 06:38:04 pm »
What's with the const? Template parameters take the pickiest form of const you can even imagine. That's like prefixing "long" to a Bignum.
2406
Announcements / Re: Happy New Year
« on: January 15, 2010, 06:15:42 pm »
Of course, but now it adds an additional pointer instead of just being in a nice array. Which means the struct itself can likewise be in a nice array, no pointers. Less chance for segfault that way, too.
2407
Announcements / Re: Missed one.
« on: January 15, 2010, 05:15:58 pm »
In file included from bits/concept_check.h: Line 52, position 37: Unexpected symbol '.' in macro parameters
code snippet:
#define __glibcxx_function_requires(<<>>...)
Now why did I think ... was only for stdargs?
code snippet:
#define __glibcxx_function_requires(<<>>...)
Now why did I think ... was only for stdargs?
2408
Announcements / Re: Missed one.
« on: January 15, 2010, 12:38:37 am »
Also, update.
Some sort of segfault due to skipping an array item manifested in the form of the name of a particular object leaking over into the entirety of the code being parsed. Fixed it.
That leaves me at an odd line in numeric traits that seems to do nothing.
Seems to be some sort of implicit instantiation. Easily ignored.
Some sort of segfault due to skipping an array item manifested in the form of the name of a particular object leaking over into the entirety of the code being parsed. Fixed it.
That leaves me at an odd line in numeric traits that seems to do nothing.
Code: [Select]
template<typename _Value>
const int __numeric_traits_floating<_Value>::__max_digits10;
template<typename _Value>
const bool __numeric_traits_floating<_Value>::__is_signed;
template<typename _Value>
const int __numeric_traits_floating<_Value>::__digits10;
template<typename _Value>
const int __numeric_traits_floating<_Value>::__max_exponent10;
Seems to be some sort of implicit instantiation. Easily ignored.
2409
Announcements / Re: Missed one.
« on: January 15, 2010, 12:34:12 am »
They're pretty sad. I've taken over all the new Macs in the lab, simply because they kept annoying me.
The morons that set them up had it geared so Safari errored every few seconds that it failed to run its prefetched, because they effectively blocked the entire operating system except. these. six. programs. When confronted, they refused to fix it on the grounds that they "don't see it as a problem."
So I finally got sick of it, and now I can authorize things as root. It's apparent I'm more familiar with it than any of them are, but honestly, that's not saying much, and I don't take chances anyway.
Put simply, yeah, that's me.
The morons that set them up had it geared so Safari errored every few seconds that it failed to run its prefetched, because they effectively blocked the entire operating system except. these. six. programs. When confronted, they refused to fix it on the grounds that they "don't see it as a problem."
So I finally got sick of it, and now I can authorize things as root. It's apparent I'm more familiar with it than any of them are, but honestly, that's not saying much, and I don't take chances anyway.
Put simply, yeah, that's me.
2410
Announcements / Re: Happy New Year
« on: January 13, 2010, 10:28:32 pm »
Like fucking up my parser. Twice.
2411
Announcements / Re: Missed one.
« on: January 11, 2010, 12:32:57 pm »
Update:
I've fixed that and have moved on. Fixed defaulting constants based on enums in templated types, as well. Created __typeof__, which I believe always returns an atomic type, so I can just define it as int or double. I will be looking into that now.
Fede--
Always closer. Just wish I had an estimate on number of lines left to make it through.
I've fixed that and have moved on. Fixed defaulting constants based on enums in templated types, as well. Created __typeof__, which I believe always returns an atomic type, so I can just define it as int or double. I will be looking into that now.
Fede--
Always closer. Just wish I had an estimate on number of lines left to make it through.
2412
Announcements / Missed one.
« on: January 11, 2010, 12:43:54 am »
template<typename _Value>
const _Value __numeric_traits_integer<_Value>::__min;
Should have seen that coming, really.
Errors it's trying to redeclare that, because the next token is that evil '<'.
Basically, it should just access the instantiation for that type immediately in this case, since it's already declared and all. I'll have to add a check for that come ';', but it'll be fine...
It's 01:00 and I've class tomorrow at some point. Don't worry though, it's an easy enough fix. I'm finally done with those stupid type_trait headers. ^_^
Will edit with results after this file is cleared. (Gave it a quick lookover, seems to be the only error I'll find in it).
Peace.
const _Value __numeric_traits_integer<_Value>::__min;
Should have seen that coming, really.
Errors it's trying to redeclare that, because the next token is that evil '<'.
Basically, it should just access the instantiation for that type immediately in this case, since it's already declared and all. I'll have to add a check for that come ';', but it'll be fine...
It's 01:00 and I've class tomorrow at some point. Don't worry though, it's an easy enough fix. I'm finally done with those stupid type_trait headers. ^_^
Will edit with results after this file is cleared. (Gave it a quick lookover, seems to be the only error I'll find in it).
Peace.
2413
Announcements / Re: Happy New Year
« on: January 09, 2010, 06:44:11 pm »
Yes, but I wanted them to be able to say
map a;
And have it assume they meant map<variant, variant>.
This whole idea started when Luda bitched he wanted structs in EDL.
It's perfect, when you think about it. GM users have an inefficient way of having a structure (global, and instantiations of bloated-down objects), which Luda has apparently exploited in the past. This way will allow users, any who are willing to read a 150 word manual entry, to declare a structure as efficient as any other.
Also, parsing STL for members removes ambiguity.
string a;
a.length()... that won't even look like a syntax error, because length is a public member of a's type, string.
map a;
And have it assume they meant map<variant, variant>.
This whole idea started when Luda bitched he wanted structs in EDL.
It's perfect, when you think about it. GM users have an inefficient way of having a structure (global, and instantiations of bloated-down objects), which Luda has apparently exploited in the past. This way will allow users, any who are willing to read a 150 word manual entry, to declare a structure as efficient as any other.
Also, parsing STL for members removes ambiguity.
string a;
a.length()... that won't even look like a syntax error, because length is a public member of a's type, string.
2414
Announcements / Re: Happy New Year
« on: January 08, 2010, 11:24:50 am »
The semicolons are it. For custom structures to work, I have to know their names. Otherwise, "map a;" will be a syntax error or will at very least parse incorrectly. Oh, not to mention GCC isn't going to default all the unused parameters to variant for me, no matter how hard I cry.
2415
Announcements / Re: Happy New Year
« on: January 07, 2010, 05:14:23 pm »
I told you, if I'm to be in a gay marriage I at least want it to be polygamist as well.
Also, I want map<>. And stack<>. And anything else C++ has to offer. I Don't want to keep designing files to substitute for headers; I hate that job and as shown on the progress page, I'm bad at it. Serp's right though; I'm unable to settle. Which is why I keep following the loops it throws me for, under the pretense that eventually it will run out of them.
Also, I want map<>. And stack<>. And anything else C++ has to offer. I Don't want to keep designing files to substitute for headers; I hate that job and as shown on the progress page, I'm bad at it. Serp's right though; I'm unable to settle. Which is why I keep following the loops it throws me for, under the pretense that eventually it will run out of them.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 »