|
JoeNotCharles posted:Jesus, what is it with you and your fetish for bitmaps? I simply want somebody to show me how they can implement something using prime factorization or whatever in a way that is better than bitmaps. Nobody has been able to so far, or I am not understand them if there is a better way. I still feel that I'm new to programming and second-guess myself a lot. I know that a lot of people on these forums know more than I do, but I simply don't see why you would use anything except for a bitset. I'm thinking that most of the people are deliberately posting outrageous solutions as a joke, but I'm not sure if maybe they are being just a bit serious at the same time. chocojosh fucked around with this message at 20:10 on Apr 25, 2008 |
# ? Apr 25, 2008 20:03 |
|
|
# ? Apr 28, 2024 19:16 |
|
I'm pretty sure everything that's been posted on the subject in this thread is 100% serious.
|
# ? Apr 25, 2008 20:20 |
|
Sometimes I think that if CoC had it's own YCS/helldump/BYOB style subforum, many people would have a hell of a time telling the difference.
|
# ? Apr 25, 2008 20:24 |
|
The difference would be that we'd be allowed to have a "post hot programmer chicks and the most CoCeddest images u got" thread. This technique works great on PS3 by the way, you can dedicate one SPU to prime flag encoding and one SPU to decoding, potentially leaving 4 or 5 for the rest of the game or application to make use of, and you can use 128-bit values to store more flags than ever!
|
# ? Apr 25, 2008 20:33 |
|
chocojosh posted:I simply want somebody to show me how they can implement something using prime factorization or whatever in a way that is better than bitmaps. Nobody has been able to so far, or I am not understand them if there is a better way. I don't see anything wrong with the bitmap solution, the numbers I used I randomly made up because they worked, I'm sure I could extend that technique for at least another 10 numbers :P , my point was that multiplying primes seemed wasteful.
|
# ? Apr 25, 2008 21:06 |
|
king_kilr posted:my point was that multiplying primes seemed wasteful. That's kinda the whole point. See: the guy who suggested using a bit field to store options then multiply out the primes, then factor the resulting number in order to figure out what options were set.
|
# ? Apr 25, 2008 21:18 |
|
JoeNotCharles posted:Jesus, what is it with you and your fetish for bitmaps? seriously man. You guys should use vector graphics instead, otherwise you lose a lot of flag resolution at higher word lengths. Fib posted:the difference would be that we'd be allowed to have a "post hot programmer chicks and the most CoCeddest images u got" thread. the man always keeping po programmer folk down edit: rotor fucked around with this message at 22:39 on Apr 25, 2008 |
# ? Apr 25, 2008 22:36 |
|
also:
|
# ? Apr 25, 2008 23:07 |
|
yaoi prophet posted:Sometimes I think that if CoC had it's own YCS/helldump/BYOB style subforum, many people would have a hell of a time telling the difference. The Something Awful Forums > Discussion > Serious Hardware/Software Crap > Goto Considered Helpful > so is it just me or is coldfusion kinda faggy or what
|
# ? Apr 25, 2008 23:42 |
|
rotor posted:
|
# ? Apr 26, 2008 00:35 |
|
alright im out
|
# ? Apr 26, 2008 00:43 |
|
Sorry, ya gotta explain this one. (Yes, I know who that is, the wispy mustache gives it away.)
|
# ? Apr 26, 2008 01:06 |
|
npe fucked around with this message at 01:52 on Apr 26, 2008 |
# ? Apr 26, 2008 01:49 |
|
GCH is leaking!
|
# ? Apr 26, 2008 01:56 |
|
Drx Capio posted:GCH is leaking! quotin dis for truth
|
# ? Apr 26, 2008 01:57 |
|
nebby posted:Sorry, ya gotta explain this one. (Yes, I know who that is, the wispy mustache gives it away.) closest i can come to "post hot programmer chicks" (its his girlfriend/wife (hes my hero (not really hes a nerd)))
|
# ? Apr 26, 2008 02:22 |
|
mantaworks posted:closest i can come to "post hot programmer chicks" (its his girlfriend/wife (hes my hero (not really hes a nerd))) If you can come to that, then you have serious problems.
|
# ? Apr 26, 2008 02:28 |
|
I am very, very sorry (for posting this scandalous pic of tripletech, lol) rotor fucked around with this message at 05:20 on Apr 26, 2008 |
# ? Apr 26, 2008 05:11 |
|
this guy is totally GCH
|
# ? Apr 26, 2008 05:46 |
|
chocojosh posted:maybe they are being just a bit serious at the same time. Hahahaha. No. You'd have to be seriously hosed in the head to actually consider using prime factoring version of bit vectors.
|
# ? Apr 26, 2008 07:44 |
|
Java:code:
The code goes from this: code:
code:
code:
|
# ? Apr 26, 2008 10:10 |
|
But you could tell the noobs from the regulars that they insist there is a better solution that works in O(1) whereas the solution everyone else is raving about seems to require O(n^2); I mean, I'm not crazy to think of bitfields, am I????
|
# ? Apr 26, 2008 11:55 |
|
Fib posted:The difference would be that we'd be allowed to have a "post hot programmer chicks and the most CoCeddest images u got" thread.
|
# ? Apr 26, 2008 13:43 |
|
We had a girl programmer in our group once for a while but she wrote this codecode:
|
# ? Apr 26, 2008 16:20 |
|
more falafel please posted:We had a girl programmer in our group once for a while but she wrote this code she wanted to make sure the memory REALLY WAS allocated, what's wrong with that
|
# ? Apr 26, 2008 16:46 |
|
Fib posted:post hot programmer chicks The first person to post a picture of Leah Culver gets a boot up the rear end from yours truly.
|
# ? Apr 26, 2008 16:53 |
|
biznatchio posted:The first person to post a picture of Leah Culver gets a boot up the rear end from yours truly. http://commons.wikimedia.org/wiki/Image:Grace_Hopper.jpg
|
# ? Apr 26, 2008 17:04 |
|
In my Intro to Engineering class:code:
bbq fucked around with this message at 17:24 on Apr 26, 2008 |
# ? Apr 26, 2008 17:21 |
|
Jesus loving christ. If GCH emerges, I'm going to lobotomise myself so I can never understand any thread under the SH/SC forum tree again. No. BAD NERDS. NO.
|
# ? Apr 26, 2008 18:07 |
|
Fib posted:The difference would be that we'd be allowed to have a "post hot programmer chicks and the most CoCeddest images u got" thread.
|
# ? Apr 26, 2008 20:05 |
|
rotor posted:I am very, very sorry hott, $temp->rising
|
# ? Apr 26, 2008 20:19 |
|
I think you mean $hotness++. ($temp is a bad name for that because it's easy to mistake for a temporary.)
|
# ? Apr 26, 2008 20:26 |
|
working in asic verification i deal with bitmasks all the time, and it frustrates me that there are consistently SW and HW bugs due to someone missing an 'f' in their mask or some nonsense. so i've been beating down on everyone to use a common set of macros. here are my favorites:code:
|
# ? Apr 26, 2008 20:27 |
|
bcrules82 posted:[code] FUN FACT: 0xFFFFFFFFFFFFFFFFULL is a special constant in C named as such because it's the only machine word that is just chock-FFFFFFFFFFULL of set bits.
|
# ? Apr 26, 2008 23:16 |
|
biznatchio posted:The first person to post a picture of Leah Culver gets a boot up the rear end from yours truly. programming chicks != a pair of tits who think they can program
|
# ? Apr 27, 2008 00:39 |
|
yah i'd booze it up pretty hard if I had to write lisp all day too.
|
# ? Apr 27, 2008 00:59 |
|
|
# ? Apr 27, 2008 03:12 |
|
rotor posted:
You just create an interpreter which has drunkeness built in and then you write in the meta-drunk-lisp language...
|
# ? Apr 27, 2008 04:11 |
|
yaoi prophet posted:So quarter-precision numbers are finally catching on?
|
# ? Apr 27, 2008 06:14 |
|
|
# ? Apr 28, 2024 19:16 |
|
yaoi prophet posted:Haha, I love the 1/2 being 0%. Some of the int-float-int-float conversion that I see sometimes is sickening. The compiler really should be stricter when you're going to 'promote' and lose data .
|
# ? Apr 28, 2008 02:06 |