code logs -> 2010 -> Tue, 23 Feb 2010< code.20100222.log - code.20100224.log >
--- Log opened Tue Feb 23 00:00:00 2010
00:33 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
00:36 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
00:37 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
00:45 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
00:53 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
01:10 Attilla [Attilla@FBC920.642D35.3E213B.6B9884] has quit [Client closed the connection]
01:37
< Alek>
koan: When I start my rock band, I'm gonna call it \/:*?"<>|
01:37
< Alek>
koan: Let the pirates choke on that
01:40 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
01:42
< Alek>
xxx: I understood her completely in the third course, when she went up to the board and wrote 'file' as 'fail'.
03:17 Vornicus is now known as Vornicus-Latens
03:34 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:49 Derakon is now known as Derakon[AFK]
04:36 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
05:09 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
06:07 Reiv [dogmatix@Nightstar-f7feaa73.xnet.co.nz] has joined #code
06:09 AnnoDomini [annodomini@Nightstar-61bd8f03.adsl.tpnet.pl] has joined #code
06:09 mode/#code [+o AnnoDomini] by Reiver
06:25
< Reiv>
Quick math question: If you have a 1/100 chance of something happening, what are the odds of it happening if you roll the dice 100 times?
06:28
< jerith>
1/((1/99)**100)
06:28
< jerith>
Erm, 1/((99/100)**100)
06:29
< jerith>
No, that's also wrong.
06:29
< jerith>
1-(99/100)**100
06:29
< Reiv>
op me
06:30 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
06:31 ServerMode/#code [+o Reiv] by *.Nightstar.Net
06:31!Kakrafoon.CA.US.Nightstar.Net *** Reiv invited DiceBot into the channel
06:31 DiceBot [Reiver@Nightstar-cffec303.xnet.co.nz] has joined #code
06:32
<@Reiv>
!1-(99/100)**100
06:32
< DiceBot>
[Reiv] 1-(99/100)**100 = 1.
06:32
<@Reiv>
that does not seem right.
06:32
< jerith>
!1-(99./100)**100
06:32
< DiceBot>
[jerith] 1-(99./100)**100 = 1.
06:33
< jerith>
Meh. Integer math, probably.
06:33
< jerith>
In [6]: 1-(99./100)**100
06:33
< jerith>
Out[6]: 0.63396765872677086
06:33
< jerith>
That looks reasonable.
06:37
<@Reiv>
!1/2
06:37
< DiceBot>
[Reiv] 1/2 = 0.5.
06:38 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
07:09 You're now known as TheWatcher
07:32 AbuDhabi [annodomini@Nightstar-65fcb5da.adsl.tpnet.pl] has joined #code
07:34 AnnoDomini [annodomini@Nightstar-61bd8f03.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
07:51
< Rhamphoryncus>
0.633967658726770495069383973427482613810287923361076308594042627300682955249275 2518128034564899730495993384308993471567252817643
07:51
< Rhamphoryncus>
Just 'cuz :)
07:52
< Rhamphoryncus>
= 63396765872677049506938397342748261381028792336107630859404262730068295524927525 18128034564899730495993384308993471567252817643031982005841428946455082924257261 0964993901729162885021780083239150509999 / 10000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000
07:54 Reiv [dogmatix@Nightstar-f7feaa73.xnet.co.nz] has quit [Ping timeout: 121 seconds]
08:15 You're now known as TheWatcher[afk]
08:35 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [[NS] Quit: ]
09:03 MyCatVerbs [mycatverbs@Nightstar-58acb782.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
09:54 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
10:04 You're now known as TheWatcher
10:20 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
10:26 Attilla [Attilla@FBC920.642D35.3E213B.6B9884] has joined #code
10:26 mode/#code [+o Attilla] by Reiver
10:56 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
11:03 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
11:05 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
11:11 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
11:31 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
11:38 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
11:42 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
11:48 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
11:52 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
11:58 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
12:02 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
12:09 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
12:09 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
12:15 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
12:21 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
12:27 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
12:27 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
12:33 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
12:37 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
12:43 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
12:50 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited]
12:52 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
12:58 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
13:02 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
13:08 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
13:18 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
13:25 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
13:29 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
13:35 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
13:43 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
13:49 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
14:50 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
14:50 You're now known as TheWatcher[afk]
14:56 Orthia [orthianz@Nightstar-2b9fce2b.xnet.co.nz] has joined #code
15:19 Serah [Z@5E691D.FC7C16.9F8D82.729799] has joined #code
15:26 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
15:32 Serah [Z@5E691D.FC7C16.9F8D82.729799] has quit [Client closed the connection]
15:32 Serah [Z@5E691D.FC7C16.9F8D82.729799] has joined #code
15:38 Serah [Z@5E691D.FC7C16.9F8D82.729799] has quit [Client closed the connection]
15:52 Speedy2 [mike@Nightstar-de4a174d.red.bezeqint.net] has joined #code
15:53
< Speedy2>
www.search2.net
15:54 Speedy2 [mike@Nightstar-de4a174d.red.bezeqint.net] has quit [Connection closed]
15:58 mode/#code [+b *!*@Nightstar-de4a174d.red.bezeqint.net] by Attilla
15:59 Vornicus-Latens is now known as Vornicus
16:35 You're now known as TheWatcher
16:40 ToxicFrog [ToxicFrog@Nightstar-1a7d4505.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds]
16:42 ToxicFrog [ToxicFrog@Nightstar-1a7d4505.dsl.teksavvy.com] has joined #code
16:42 mode/#code [+o ToxicFrog] by Reiver
16:48
< AbuDhabi>
How I converted string to char?
16:49
< AbuDhabi>
Is it as easy as temp.c_str()[0] or something?
16:58
< gnolam>
Syntax error in question.
16:59
< AbuDhabi>
Yes.
17:00
< AbuDhabi>
It seems to compile, but I dunno if it'll work if I actually use it for something.
17:01
< gnolam>
c_str() returns a const char * representation of the string. So if it's the first character out of that string you're after, then c_str()[0] will work.
17:02
< AbuDhabi>
Cool.
17:11
<@Kazriko>
huh. that idiot was on freenode too. Pasting a url in #ipv6... that didn't have an aaaa record...
17:12
<@Vornicus>
Pffff
17:13 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
17:15 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
17:15 mode/#code [+o Vornicus] by Reiver
17:25
< McMartin>
Heh. http://windowsclient.net/blogs/damonwildercarr/WindowsLiveWriter/GetMoreLinqOper ationsandIntegratet.5only_B9AA/premature_6_2.jpg
17:25 Orthia [orthianz@Nightstar-2b9fce2b.xnet.co.nz] has quit [Connection reset by peer]
17:30 * AbuDhabi tries hard to remember how get the actual object from an array of pointers.
17:30
< McMartin>
*(a[i])
17:31
< AbuDhabi>
Thanks.
17:34 * AbuDhabi gets a runtime crash, wonders what's going on.
17:35
< McMartin>
If the pointer is invalid that will happen right quick
17:43
< AbuDhabi>
Could it be that I'm executing code before main()?
17:43
< AbuDhabi>
(File access.)
17:58
< AbuDhabi>
I'm steadily coming to believe that this mess I've created is unmanagable.
17:59
< McMartin>
Try running it in a debugger to see where it crashes
17:59
< McMartin>
It's very, very unlikely to be crashing before main() is hit unless you've somehow fucked up the linking step, which is tough to do with modern tools.
17:59
< McMartin>
(But not impossible, so if the debug is crashing in start.s or something similarly "impossible" try a clean-and-rebuild)
18:00
< AbuDhabi>
I *think* the problem was attempting to use stuff that wasn't initialized yet.
18:00
< McMartin>
That's definitely a bad move
18:01
< AbuDhabi>
After rearranging stuff so it won't do that, I now cannot compile because of the differences between a parent class and its child class.
18:03
< AbuDhabi>
My current self-appointed task is to load up data from a datafile into a sort of storage container that will contain the prototypes for all items and creatures.
18:03
< AbuDhabi>
I'm trying to test whether that works.
18:04
< AbuDhabi>
And I'm trying to test it by giving the player, an instance of the You class, a weapon taken from the container.
18:04
< AbuDhabi>
(You)(creatureVector.retrieve(0))->setWeapon(*(database.retrieveThing("LONGSWORD ")));
18:04 * Vornicus fiddles with cubic splines.
18:04
< AbuDhabi>
Unfortunately, it's telling me that Creature, the parent class for You, doesn't have setWeapon().
18:05
< AbuDhabi>
Which is true. But if I try to give it a virtual method of the sort, it fails to link.
18:07 Alek [omegaboot@Nightstar-290c892c.emhril.sbcglobal.net] has quit [[NS] Quit: cabling]
18:12 * AbuDhabi fiddles some more.
18:12
< gnolam>
http://farm5.static.flickr.com/4007/4365152223_a026981156_b.jpg
18:13
< AbuDhabi>
Yay. I fixed that.
18:14 * AbuDhabi needs to get rid of the You class.
18:15
< AbuDhabi>
And probably refactor the Creature class altogether.
18:23 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
18:30 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
18:30 Attilla [Attilla@FBC920.642D35.3E213B.6B9884] has quit [Ping timeout: 121 seconds]
18:34 Attilla [Attilla@FBC920.65CFFF.9216B8.E6608B] has joined #code
18:34 mode/#code [+o Attilla] by Reiver
18:36 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
18:42 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
18:48 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
18:50 Serah [Z@Nightstar-de1e0e86.0.fullrate.dk] has joined #code
18:54 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
19:00 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
19:05 DoktorMissoula [maxheadrooom@Nightstar-d0088b95.or.comcast.net] has joined #code
19:06 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
19:07 Serah [Z@Nightstar-de1e0e86.0.fullrate.dk] has quit [Ping timeout: 121 seconds]
19:07 Zed [Zed@Nightstar-d0088b95.or.comcast.net] has quit [Ping timeout: 121 seconds]
19:13 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
19:28 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
19:34 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
19:42 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
19:48 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
19:52 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
19:56 SmithKurosaki [Smith@Nightstar-1a7d4505.dsl.teksavvy.com] has quit [Connection closed]
19:58 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
20:00 Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code
20:03
< Alek>
grah
20:08 SmithKurosaki [Smith@Nightstar-1a7d4505.dsl.teksavvy.com] has joined #code
20:11 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
20:17 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
20:21 Chi [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code
20:21
< Chi>
blargh. this is weird.
20:21
< Chi>
so we got cable installed. only we can't use the modem we bought, it's cable with voice.
20:21
< Chi>
it's blazing fast.
20:22
< Chi>
we were going to sign up for 15, only that offer expired and we got talked into 12 plus phone.
20:22
< Chi>
they came and installed it, and we're getting 21.
20:22
< Chi>
anyway.....
20:22
< Chi>
something's screwy.
20:23
< Chi>
everything works fine... except for http. every so often it stops working. irc's connected, torrents are running, IM, skype, phone... but webpages are stalling.
20:23
< Chi>
then either it starts working again, or if it goes long enough without working, the modem resets completely.
20:23 Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [Ping timeout: 121 seconds]
20:23
< Chi>
so apparently the tech guy has to come and replace the modem. already.
20:24
<@Vornicus>
Chi: if you disconnect and reconnect from one of your other things, does that fail?
20:24 * Chi points at the pingout. "That was the most recent reset."
20:24
< Chi>
what do you mean, vorn?
20:25
<@Vornicus>
If you were to disconnect from IRC and then try to get back in, while http is failing, does that fail too?
20:26 Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code
20:26
< Alek>
oh not again. must have reset again.
20:27
< Alek>
I dunno. haven't really tried, since irc's on my personal computer, while modem is in the office, and I can't keep an eye on it while testing here.
20:27
< Alek>
and haven't noticed http problems on this machine, either.
20:27
< Alek>
what was the last thing you heard from me, btw?
20:28 Chi [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [Ping timeout: 121 seconds]
20:30
<@Vornicus>
[Tue 15:24:33] <Chi> what do you mean, vorn?
20:35
< Alek>
mkay. bah.
20:36 Chi [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code
20:39 Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [Ping timeout: 121 seconds]
21:03 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
21:06 Chi [omegaboot@Nightstar-c531ef76.il.comcast.net] has quit [Ping timeout: 121 seconds]
21:13 ToxicFrog [ToxicFrog@Nightstar-1a7d4505.dsl.teksavvy.com] has quit [Connection closed]
22:03 Alek [omegaboot@Nightstar-c531ef76.il.comcast.net] has joined #code
22:03
< Alek>
aaand we're back.
22:03
< Alek>
it works. for now.
22:03
< Alek>
new modem. -_-
22:04
<@Vornicus>
yay
22:07 Derakon[AFK] is now known as Derakon
22:10 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
22:51
< Alek>
and dammit, I have to call the Census Bureau, who I'm waiting on a job call from, and tell them I have a new number. >_<
22:54 You're now known as TheWatcher[T-2]
22:57 AbuDhabi [annodomini@Nightstar-65fcb5da.adsl.tpnet.pl] has quit [[NS] Quit: Bguh.]
22:59 Serah [Z@Nightstar-de1e0e86.0.fullrate.dk] has joined #code
23:00 You're now known as TheWatcher[zZzZ]
23:17 Serah [Z@Nightstar-de1e0e86.0.fullrate.dk] has quit [[NS] Quit: The world is so funny sometimes; I often forget to laugh.]
23:22 Serah [Z@Nightstar-de1e0e86.0.fullrate.dk] has joined #code
23:24 Attilla [Attilla@FBC920.65CFFF.9216B8.E6608B] has quit [Ping timeout: 121 seconds]
23:25 Attilla [Attilla@FBC920.65CFFF.6CE7D9.8ACB42] has joined #code
23:25 mode/#code [+o Attilla] by Reiver
23:35 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
--- Log closed Wed Feb 24 00:00:01 2010
code logs -> 2010 -> Tue, 23 Feb 2010< code.20100222.log - code.20100224.log >