code logs -> 2009 -> Sun, 29 Nov 2009< code.20091128.log - code.20091130.log >
--- Log opened Sun Nov 29 00:00:00 2009
--- Log closed Sun Nov 29 00:02:39 2009
--- Log opened Sun Nov 29 00:06:18 2009
00:06 TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
00:06 Irssi: #code: Total of 24 nicks [7 ops, 0 halfops, 0 voices, 17 normal]
00:06 mode/#code [+o TheWatcher] by Reiver
00:06
< AbuDhabi>
For certain values of 'reasonably' and 'pretty'.
00:07 Irssi: Join to #code was synced in 56 secs
00:41
< Attilla>
What am I even looking at?
00:41
< AbuDhabi>
A WEB FORUM.
00:45 You're now known as TheWatcher[T-2]
00:47 You're now known as TheWatcher[zZzZ]
01:02
< simon`>
there's a nice song at the end of big bang theory season 2 episode 12.
01:10 AbuDhabi [annodomini@Nightstar-045c1185.adsl.tpnet.pl] has quit [[NS] Quit: I'm very tired.]
01:17
< Alek>
would this be the slapsgiving episode?
01:21
< simon`>
The Vengeance Formulation
01:21 * Alek shrugs.
01:21
< Alek>
dunno
01:30
< Tarinaky>
Episode 12 is the Killer Robot Instability.
01:30
< Tarinaky>
:/
01:30
< simon`>
oh, sorry. I meant episode 9!
01:31
< simon`>
isn't 9 the latest released episode?
01:31 * simon` tries to run Quake Live in Ubuntu.
01:31
< Tarinaky>
Not of Season 2.
01:31
< Tarinaky>
:/
01:33
< simon`>
Tarinaky, I just saw it.
01:33
< simon`>
oh, sorry
01:34
< simon`>
this is season 3 episode 9. I'm way out there.
01:57 Reiver is now known as Reiv-T2
02:06 Reiv-T2 [reaverta@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Holidays await! See y'all next week.]
02:23 Pinkhair is now known as ASCII
02:26 McMartin [mcmartin@Nightstar-cd8a4fac.pltn13.sbcglobal.net] has quit [[NS] Quit: machine is acting up, brb]
02:30 McMartin [mcmartin@Nightstar-cd8a4fac.pltn13.sbcglobal.net] has joined #code
02:35 * Derakon eyes his raytracer, which is at 270 of 600 lines.
02:35
<@Derakon>
Clearly I'm going to have to spend some time on optimizing this...
02:36
<@Vornicus>
Well yes
02:50
<@Derakon>
One obvious improvement is to multithread the program; raytracers are ridiculously parallelizable.
02:50
<@Derakon>
Unfortunately, Python threads...*shakes fist*
02:53
<@Derakon>
560...
02:55
<@Vornicus>
What're you rendering, the fractal?
02:55
<@Derakon>
Yeah.
02:55
<@Derakon>
Guys on GameDev.net suggested a finite difference method to get the local surface normal; it seemed to work, so I'm upscaling.
02:57
<@Derakon>
Okay. Emphasis on "seemed"...
02:58
<@Derakon>
http://derakon.dyndns.org/~chriswei/temp/3dfractalray2.png
02:58
<@Vornicus>
Yeah no.
02:59
<@Derakon>
That took 39:38.38, incidentally.
03:00
<@Derakon>
...dammit, and I forgot to check out the profiler's output before rerunning the program, thus overwriting it. Oh, well.
03:02
<@Vornicus>
whoops
03:05 * Derakon tries cutting down the step size for the finite difference step.
03:08
<@Derakon>
Mmph, no difference.
05:01 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:02 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
05:14
<@Derakon>
Thread title in GameDev.net's For Beginners forum: "I need 2 know about game programming"
05:14
< Tarinaky>
I'm already wincing imagining what the body of the message is.
05:15
<@Derakon>
It is in fact just about entirely predictable from the thread title.
05:15
< Tarinaky>
Please tell me that it's not just that one question >.>
05:15
< McMartin>
I bet he's trying to use char * for efficiency purposes so that he can write his own 3-D engine.
05:15
<@Derakon>
I'd guess the author is no more than 12 years old.
05:15
<@Derakon>
(Thread URL: http://www.gamedev.net/community/forums/topic.asp?topic_id=554645 )
05:15
< Tarinaky>
McMartin: I bet he doesn't know what a char* is.
05:15
< McMartin>
Tarinaky: Reference to Everyone's First Mistake.
05:17
< Tarinaky>
McMartin: I don't understand.
05:17
< McMartin>
Using char* at all.
05:18
< McMartin>
IIRC one of the rules in GameDev.net is "if you have to post here and you're using char* instead of std::string, There's Your First Bug Right There."
05:18
<@Derakon>
I was just looking for that.
05:18
<@Derakon>
It's in Zahlman's sig: "
05:18
<@Derakon>
As a general rule, if you post in For Beginners and your code contains the word 'char', you have a bug. std::string roxors teh big one one one one."
05:18
< McMartin>
(Or, well, instead of std::vector<char>, but the distinction is rather fine.)
05:19
< Tarinaky>
Hunh. I was never sure if that was bad form or not.
05:20
< McMartin>
std::vector<char> is for when you need to pass editable C strings into a C API.
05:20
<@Derakon>
You don't want to muck with char arrays.
05:20
<@Derakon>
They're just bad news.
05:21
< McMartin>
However, std::string does not guarantee contiguous storage, and c_str() is a const char *.
05:21
<@Derakon>
Sometimes you have to muck with char arrays, yes.
05:21
<@Derakon>
But not anywhere near as often as they are actually used.
05:22
< McMartin>
Ah, but you see, &x[0] where x is a std::vector<char> is entirely API and ABI compatible with char arrays.
05:23
< McMartin>
So if you're in C++ there is in fact never an excuse~
05:26 * Derakon eyes this posting his dad linked him to on a processor upgrade that the Mac Pro will supposedly be receiving in early 2010.
05:26
<@Derakon>
What's a logical core?
05:26
<@Derakon>
(Posting URL: http://www.macrumors.com/2009/11/28/mac-pro-to-get-6-core-xeon-gulftown-processo r-in-2010/ )
05:27
< Vornicus>
THe logic core of a processor is the stuff that isn't cache or scheduler or whatever
05:27
< Vornicus>
a z80 f'rinstance is all core and nothing else.
05:27
<@Derakon>
So the "actual execution logic" for my programs.
06:39 Derakon is now known as Derakon[AFK2]
06:44 Derakon[AFK2] [Derakon@Nightstar-90d553ba.ca.comcast.net] has quit [[NS] Quit: This computer has gone to sleep]
07:57
<@jerith>
http://pyggy.pyweek.org/e/Rinkhals_P3/ <-- Latest version of Fox Assault. Still a few things we want to fix, but it's the closest we've come to being happy with the game.
08:12 * Vornicus determines that such things as "reading the manual" is helpful.
08:38
<@jerith>
Indeed. The interface is dramatically different from what it used to be.
08:38
<@jerith>
(And there are a few things left over from the old behaviour.)
08:39 * jerith actually plays the game, having not done so beyond testing specific things in several revisions.
08:42
< Vornicus>
As in "I forgot that foxes come at night and can knock over fences and so I lost ten chickens on "very easy" mode"
08:48 AnnoDomini [annodomini@Nightstar-045c1185.adsl.tpnet.pl] has joined #code
08:57 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
09:26 Vornicus is now known as Vornicus-Latens
09:32 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [Ping timeout: 121 seconds]
09:33 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
10:10 You're now known as TheWatcher
10:10 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [Connection reset by peer]
10:11 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
12:15 Tarinaky [Tarinaky@Nightstar-d26d6d9b.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds]
12:23 Attilla_ [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
12:23 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [Ping timeout: 121 seconds]
12:25 Tarinaky [Tarinaky@Nightstar-cd308a7d.adsl.virginmedia.net] has joined #code
12:25 Attilla_ [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [[NS] Quit: ]
12:28 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:00 AbuDhabi [annodomini@Nightstar-9cf08055.adsl.tpnet.pl] has joined #code
13:02 AnnoDomini [annodomini@Nightstar-045c1185.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
14:34 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
17:11 * AbuDhabi wonders why he can access his server when using localhost/127.0.0.1 but not when using the actual IP address of my computer.
17:25 You're now known as TheWatcher[afk]
17:35 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
18:18 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [Ping timeout: 121 seconds]
18:28
< Alek>
because your routing is messed up?
18:29
< Alek>
idly, localhost/127.0.0.1 is completely internal to your hardware, while for the actual IP, it has to go OUTSIDE first.
18:29
< Alek>
so that's where it messes up.
18:40 You're now known as TheWatcher
18:51
<@ToxicFrog>
AbuDhabi: make sure your server is binding to INADDR_ANY and not to 127.0.0.1.
19:03
< AbuDhabi>
Hmm. I don't know how and if it's possible to change the port of the ASP.NET development server. It's a bother, since I can't seem to install a proper IIS on this machine.
19:30 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
19:44
<@ToxicFrog>
Blergh, IIS
21:22 Vornicus-Latens [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
21:24 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:04 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [Client closed the connection]
23:05 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
23:25 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [Connection reset by peer]
23:38 ASCII [pinkhair3d@Nightstar-a7d2ccfd.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
23:39 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
23:47 Attilla [The.Attilla@FBC920.92E3D3.F76883.99588C] has quit [Client closed the connection]
23:47 Attilla_ [The.Attilla@FBC920.92E3D3.F76883.99588C] has joined #code
--- Log closed Mon Nov 30 00:00:52 2009
code logs -> 2009 -> Sun, 29 Nov 2009< code.20091128.log - code.20091130.log >