code logs -> 2006 -> Tue, 14 Nov 2006< code.20061113.log - code.20061115.log >
--- Log opened Tue Nov 14 00:00:24 2006
00:06 aoanla [~sam@Nightstar-25355.range81-156.btcentralplus.com] has quit [Quit: Leaving]
00:06 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
00:20 Ev3 [~Shemhazai@Nightstar-8502.ds1-ba.adsl.cybercity.dk] has quit [Ping Timeout]
00:21 * Vornotron blings
00:24 * Janus daaaa --mn
00:26 NSGuest-880 [~Shemhazai@Nightstar-8502.ds1-ba.adsl.cybercity.dk] has joined #Code
00:29 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
00:29 ChalcyGone is now known as Chalcedon
00:31 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
00:32
< Vornotron>
Janus: what's so daaaa --mn about it?
00:34
< Janus>
Other than the tight, not much.
00:35
< Vornotron>
the what?
00:39
< Janus>
http://en.wikipedia.org/wiki/Tight Take your pick.
00:40 * Janus thinks the 'tightlacing' article matchs the context closest.
00:41 * Janus ducks.
00:54
< Vornotron>
I... see.
00:55
<@McMartin>
What's the "it"?
00:58 NSGuest-880 [~Shemhazai@Nightstar-8502.ds1-ba.adsl.cybercity.dk] has quit [Ping Timeout]
01:00 * McMartin decides his next task is System Integration
01:00
<@McMartin>
Time to learn Creepy Ant Tricks.
01:01 Ev3 [~Shemhazai@Nightstar-8502.ds1-ba.adsl.cybercity.dk] has joined #Code
01:11 Thaqui [~Thaqui@124.197.7.ns-13438] has quit [Client exited]
01:26
< Janus>
May I ask for your oppinion on something, please?
01:28
< Janus>
Let's say you have a class that has a few virtual functions in it, and a group of classes for it to inherit that define those functions...
01:29
<@McMartin>
Er
01:29
<@McMartin>
That inherit from it, you mean?
01:30
< Janus>
Hmm... I suppose that's the correct grammar, yes.
01:30
<@McMartin>
OK, understood.
01:31
<@McMartin>
Continue your question...
01:31
< Janus>
(More specifically, the first one, in this case, acts as a place holder, where the other ones basically define what different weapons do.)
01:31
<@McMartin>
Right.
01:31
<@McMartin>
And each weapon implements the same API.
01:33
< Janus>
I was wondering... should I make the functions in the place holder class pure virtual, or should I define what the character does if they're unarmed in that class.
01:34
<@McMartin>
Mmm
01:34
<@McMartin>
You should do one of two things, depending.
01:35
<@McMartin>
One of which is make them all pure-virtual
01:35
<@McMartin>
The other thing to do would be to have the superclass implement those methods that are typically the same amongst weapons, if they have things in common.
01:35
<@McMartin>
If they don't particularly, than go with all pure virtual.
01:35
<@McMartin>
Unarmed should be a "weapon" in its own right.
01:36
< Janus>
Understood.
01:37
<@McMartin>
(The buzzwords for (1) and (2) are (1) Interface/Implementation split, and (2) the "Strategy" pattern)
01:37
<@McMartin>
It's generally considered a Good Thing to have some pure-virtual top-level class anyway just to declare the API.
01:42
< Janus>
I'm leaning towards door number one myself; The idea is to have them behave differently beyond having differing statistics and such.
01:42
<@McMartin>
It's good practice,
01:42
<@McMartin>
In fact, you can kind of do both at once, even with (2); you have pure-virtual with one child, the child is GenericWeapon, and everything else inherits from that
01:43
<@McMartin>
(That way if some new weapon comes along that isn't as generic as you thought...)
01:45
< Janus>
(... just create a BrandnameWeapon child for it.)
01:46
<@McMartin>
(indeed)
01:53 Vornotron [~vorn@Nightstar-18307.slkc.qwest.net] has quit [Quit: ]
01:58 ReivOut is now known as Reiver
02:07 Chalcedon is now known as ChalcyWork
02:20 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
02:21
< Takyoji>
I swear that I'm the biggest idiot.. I.. didn't know how and what the 'for' and 'foreach' command is for until now..
02:22
< Takyoji>
the http://php.net documentation didn't help the best, which is why I didn't understand..
02:23
< Takyoji>
So somebody, smack me! And stamp 'n00b' on me with a rubber stamp with red ink!
02:24
< Takyoji>
Because, since I didn't know how to use the commands, I programmed the hard way
02:24 Thaqui [~Thaqui@124.197.7.ns-13438] has joined #code
02:24
< Takyoji>
Now my life should be easier
02:30
<@McMartin>
It's good to do things the hard way once, anyway
02:30
<@McMartin>
That way you know what's going on under the hood
02:30
<@McMartin>
And should you find yourself in a language like C that doesn't have foreach, you don't end up crippled
02:48 * Vornicus appears
02:48 * Janus hates random encounters; flees.
02:55
< Takyoji>
yea
03:00 * McMartin converts PQL and SVAF to Subversion.
03:04 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Espoir Reposant]
03:32 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
03:32 mode/#code [+o Chalcy] by ChanServ
03:34 ChalcyWork [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
03:37 ReivZzz [~reaverta@IRCop.Nightstar.Net] has joined #Code
03:37 mode/#code [+o ReivZzz] by ChanServ
03:38 Reiver [~reaverta@IRCop.Nightstar.Net] has quit [Ping Timeout]
03:38 ReivZzz is now known as Reiver
04:10 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Quit: Leaving]
04:17 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
04:17 ChalcyGone is now known as Chalcedon
04:18 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
04:53
<@Vornicus>
Every program attempts to expand until it can read mail.
05:04
<@Reiver>
...?!
05:05
<@Vornicus>
http://en.wikipedia.org/wiki/Zawinski%27s_law_of_software_envelopment
05:09 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Client exited]
05:43 MahalWork is now known as Mahal
06:05 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
06:05 mode/#code [+o Vornicus] by ChanServ
06:29 McMartin [~mcmartin@Nightstar-9000.dsl.pltn13.pacbell.net] has quit [Quit: Kernel upgrade]
07:04 McMartin [~mcmartin@Nightstar-9000.dsl.pltn13.pacbell.net] has joined #code
07:04 mode/#code [+o McMartin] by ChanServ
07:09 EvilSLEPLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has quit [Ping Timeout]
07:20 EvilSLEPLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has joined #code
07:52 EvilSLEPLord is now known as EvilDarkLord
08:08 Vornicus is now known as Vornicus-Latens
08:14 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: @Pi, KarmaBot, Ev3, @jerith, @Reiver, Mahal, @Chalain
08:14 Netsplit over, joins: Chalain, Pi
08:14 mode/#code [+o Chalain] by ChanServ
08:14 Netsplit over, joins: Mahal
08:14 mode/#code [+o Pi] by ChanServ
08:14 Netsplit over, joins: jerith
08:14 mode/#code [+o Mahal] by ChanServ
08:14 Netsplit over, joins: KarmaBot
08:14 Netsplit over, joins: Ev3, Reiver
08:14 ServerMode/#Code [+o Reiver] by Troika.TX.US.Nightstar.Net
08:14 mode/#code [+o jerith] by ChanServ
08:14 mode/#code [-o Reiver] by ChanServ
08:21 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has quit [Ping Timeout]
08:25 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has joined #code
08:43 Chalcedon is now known as ChalcyZzz
08:56 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has quit [Ping Timeout]
09:06 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has quit [Ping Timeout]
09:06 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has joined #code
09:43 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has quit [Ping Timeout]
09:54 Thaqui is now known as ThaquiSleep
09:55 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has joined #code
10:07 ThaquiSleep [~Thaqui@124.197.7.ns-13438] has quit [Ping Timeout]
10:09 ThaquiSleep [~Thaqui@124.197.7.ns-13438] has joined #code
10:12 You're now known as TheWatcher[wr0k]
10:18 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
10:18 mode/#code [+o Chalcy] by ChanServ
10:20 ChalcyZzz [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
10:23 ThaquiSleep [~Thaqui@124.197.7.ns-13438] has quit [Quit: Leaving]
10:33 Stephenie [Safyra@Nightstar-4370.ok.ok.cox.net] has quit [Ping Timeout]
10:34 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has joined #code
10:34 mode/#code [+o Pi] by ChanServ
10:45 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has quit [Ping Timeout]
11:03 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has joined #code
11:03 mode/#code [+o Pi] by ChanServ
11:06 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has quit [Ping Timeout]
11:12 Mahal is now known as MahalZZZ
11:17 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has joined #code
11:17 mode/#code [+o Pi] by ChanServ
11:41 Netsplit Blargh.CA.US.Nightstar.Net <-> DeepThought.NY.US.Nightstar.Net quits: @Pi, KarmaBot, GeoTube, @Vornicus-Latens, @McMartin, Ev3, @ToxicFrog, @jerith, @MahalZZZ, Reiver, (+1 more, use /NETSPLIT to show all of them)
11:42 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
11:43 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
11:43 Netsplit over, joins: ToxicFrog, GeoTube, Vornicus-Latens, McMartin, Chalain, MahalZZZ, jerith, KarmaBot, Ev3, Reiver (+1 more)
11:43 MyCatOwnz [~rb6822@Nightstar-23807.cs.bris.ac.uk] has joined #Code
11:43 mode/#code [+o TheWatcher[wr0k]] by ChanServ
11:43 mode/#code [+o Raif] by ChanServ
11:44 MahalZZZ [~Mahal@Nightstar-11770.worldnet.co.nz] has quit [Connection reset by peer]
11:45 MahalZZZ [~Mahal@Nightstar-11770.worldnet.co.nz] has joined #Code
11:46 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has quit [Ping Timeout]
11:51 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has joined #code
11:51 mode/#code [+o Pi] by ChanServ
12:12 * MyCatOwnz ponders.
12:13
< MyCatOwnz>
How long can graphics shader programs be?
12:13
< MyCatOwnz>
(Heck, where are they stored while being run?)
12:33
<@TheWatcher[wr0k]>
graphics card local memory, and AFAIK it depend son the chipset
12:36 * MyCatOwnz was kinda wonderin' if'n it'd be possible to cram a JPEG and/or a PNG renderer into a pixel shader.
12:44 MyCatOwnz [~rb6822@Nightstar-23807.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!]
13:44 Stephenie [Safyra@Nightstar-4370.ok.ok.cox.net] has joined #code
13:49 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
14:29 KBot [~fark.off@Nightstar-29144.neoplus.adsl.tpnet.pl] has joined #Code
14:30 KarmaBot [~fark.off@Nightstar-29590.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
14:31 KBot is now known as KarmaBot
15:01 Reiver is now known as ReivZzz
15:18 You're now known as TheWatcher
16:17 You're now known as TheWatcher[afk]
16:30 You're now known as TheWatcher
16:31
< GeoTube>
wb
17:08
< Vornicus-Latens>
The description I've seen says about 10kloc for a shader program
17:24 You're now known as TheWatcher[afk]
17:40 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
18:25 You're now known as TheWatcher
18:39 MahalZZZ is now known as Mahal
18:48 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
18:48 mode/#code [+o Chalcedon] by ChanServ
18:48
<@Chalcedon>
arg!
18:49 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has left #code []
18:49 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
18:49 mode/#code [+o Chalcedon] by ChanServ
18:50 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has quit [Ping Timeout]
19:04 EvilDarkLord [althalas@Nightstar-17046.a80-186-184-83.elisa-laajakaista.fi] has joined #code
19:05 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Connection reset by peer]
19:07 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
19:10 Mahal is now known as MahalWork
19:30 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: @Pi, MahalWork, KarmaBot
19:30 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: ReivZzz, Ev3, jerith, Chalain
19:31 Netsplit over, joins: Chalain
19:32 Netsplit over, joins: jerith
19:32 Netsplit over, joins: Ev3, ReivZzz, MahalWork, Pi, KarmaBot
19:32 ServerMode/#Code [+ooo Pi jerith Chalain] by Troika.TX.US.Nightstar.Net
19:33 mode/#code [-o Pi] by ChanServ
19:33 mode/#code [-o jerith] by ChanServ
19:33 mode/#code [-o Chalain] by ChanServ
19:33 mode/#code [-o Chalcedon] by ChanServ
19:33 mode/#code [-o Raif] by ChanServ
19:33 mode/#code [-o TheWatcher] by ChanServ
19:33 mode/#code [-o McMartin] by ChanServ
19:33 mode/#code [-o Vornicus-Latens] by ChanServ
19:33 mode/#code [-o ToxicFrog] by ChanServ
19:34 MyCatOwnz is now known as NSGuest-34
19:34 McMartin is now known as NSGuest-64
19:34 GeoTube is now known as NSGuest-73
19:34 ToxicFrog is now known as NSGuest-75
19:34 jerith is now known as NSGuest-18
19:38 NSGuest-73 is now known as GeoTube
19:39 Vornicus [~vorn@Nightstar-18307.slkc.qwest.net] has joined #code
19:39 mode/#code [+o Vornicus] by ChanServ
19:40 mode/#code [+o TheWatcher] by ChanServ
19:47 NSGuest-75 is now known as ToxicFrog
19:53 * Vornicus ponders brand-name weapons
20:05
< Chalcedon>
...?
20:06
< Chalcedon>
and why on earth is nickserv suddenly converting everyone to NSGuests?
20:06
<@Vornicus>
Last night Janus and McM were talking about specialization by inheritance, in the context of weapons in an RPG
20:07 * Chalcedon nods
20:08
<@Vornicus>
so there's GenericWeapon... and the specialized version: BrandNameWeapon
20:10
< Chalcedon>
ah
20:10 * Vornicus ponders Craftsman brand broadswords.
20:11 Thaqui [~Thaqui@124.197.7.ns-13438] has joined #code
20:11
< Chalcedon>
hi Thaqui
20:12
<@Vornicus>
Also, because services went "blam", and so.
20:23 NSGuest-34 is now known as MyCatOwnz
20:30 MyCatOwnz is now known as MyCatFoods
21:36 NSGuest-18 is now known as jerith
21:38 MyCatFoods is now known as MyCatOwnz
21:50 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
21:50 mode/#code [+o Chalcy] by ChanServ
21:50 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Killed (NickServ (GHOST command used by Chalcy))]
21:50 Chalcy is now known as Chalcedon
21:55 NSGuest-64 is now known as McMartin
21:57 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
21:58 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
21:58 mode/#code [+o Chalcedon] by ChanServ
22:37 Ev3 [~Shemhazai@Nightstar-8502.ds1-ba.adsl.cybercity.dk] has quit [Quit: Don't try to read the quit message, that is impossible. Instead only realize the thruth; "there is no quit message" and you will see it is not you who read the quit message but the quit message who reads you.]
22:40 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Quit: Work to do.]
22:45 You're now known as TheWatcher[T-2]
22:48 You're now known as TheWatcher[zZzZ]
23:06 ReivZzz is now known as Reiver
23:27 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
23:50 BlueTiger [BlueTiger@Nightstar-6049.we.res.rr.com] has joined #Code
23:53 timelady [~romana@Nightstar-14384.lns3.adl4.internode.on.net] has joined #Code
23:53
< timelady>
finally saw invite Reiver, thx
23:55 * EvilDarkLord waves to New Person.
23:56
< BlueTiger>
http://www.youtube.com/watch?v=rIWuau6D4Vc This is the definition of "Too much spare time." :<
23:56 * timelady waves in new way to EvilDarkLord
23:57
<@Vornicus>
hi, timelady
23:59 * Chalcedon waves to timelady
23:59
< timelady>
hey vornicus:)
23:59
< Janus>
Bon'jour madamoiselle~
23:59 * GeoTube just learned of the natural nuclear reactor that existed under dedung, africa 1.7 billion years ago..
23:59
< BlueTiger>
:o
23:59
< timelady>
hey chalcy, janus, bonjour aussi :)
--- Log closed Wed Nov 15 00:00:08 2006
code logs -> 2006 -> Tue, 14 Nov 2006< code.20061113.log - code.20061115.log >