code logs -> 2009 -> Sun, 25 Oct 2009< code.20091024.log - code.20091026.log >
--- Log opened Sun Oct 25 00:00:37 2009
00:10 AnnoDomini [farkoff@Nightstar-b8f9baba.adsl.tpnet.pl] has quit [[NS] Quit: I like my random encounters like I like my tea and my women - deadly.]
00:36 You're now known as TheWatcher[T-2]
00:39 You're now known as TheWatcher[zZzZ]
01:09 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
01:39 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:00
< SmithKurosaki>
Anyone used the clone() method for java arraylists/
02:36 Attilla [The.Attilla@FBC920.A5C359.15BD32.425F3F] has quit [Client closed the connection]
02:59
<@Vornicus>
I haven't used Java in a damn long time.
02:59
< SmithKurosaki>
]:(
03:00
< SmithKurosaki>
I am lost on how that method works and the javadoc is vague about it
03:02
<@Vornicus>
clone if I recall correctly makes shallow copies.
03:03
< SmithKurosaki>
Yes, and TF just told me
03:03
< SmithKurosaki>
ArrayList<type> copy = original.clone()
03:05
<@Vornicus>
Right, that's how you use it.
03:16
<@ToxicFrog>
What should I call a callback function whose purpose is to transfer control to the real callback in a different language?
03:16
<@ToxicFrog>
It's not a trampoline or a thunk, and I know there's some name for these but I don't remember what it is?
03:17
< SmithKurosaki>
Well, trampoline or transfer or something would make sense
03:18
< SmithKurosaki>
Transfer would probably work
03:18
< SmithKurosaki>
Are you trying to be all technical with the names or would something like 'trans_lang_ret' work?? (Transfer languages - return)
03:23
<@ToxicFrog>
There's an actual name for these things
03:23
<@ToxicFrog>
It's not trampoline, although that's close
03:24
< SmithKurosaki>
So, you do want to be all technical then?
03:24
<@ToxicFrog>
Kind of
03:25
< SmithKurosaki>
Temporarily name it transfer or the like until you can remember what you want to name it then.
03:25
<@Vornicus>
"diplomat"
03:25
<@Vornicus>
is what I'd call it
03:25
< SmithKurosaki>
Hahah
06:24 AnnoDomini [farkoff@Nightstar-b8f9baba.adsl.tpnet.pl] has joined #code
06:24 mode/#code [+o AnnoDomini] by Reivles
06:35 Derakon is now known as Derakon[AFK]
07:14 ErikMesoy|sleep [Erik_Mesoy@Nightstar-be028908.bb.online.no] has left #code []
07:24 Reiver [Orthianz@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
07:57 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
08:09 Vornicus is now known as Vornicus-Latens
08:45 Reiver [Orthianz@Nightstar-a1074f7e.xnet.co.nz] has joined #code
09:37 You're now known as TheWatcher
10:17 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
--- Log closed Sun Oct 25 11:04:01 2009
--- Log opened Sun Oct 25 11:04:09 2009
11:04 TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
11:04 Irssi: #code: Total of 21 nicks [6 ops, 0 halfops, 0 voices, 15 normal]
11:04 mode/#code [+o TheWatcher] by Reivles
11:04
< Namegduf>
Nice work.
11:04
< jerith>
And the one before that didn't add as much as the these ones have taken away.
11:04 Irssi: Join to #code was synced in 54 secs
11:10 AnnoDomini [farkoff@Nightstar-b8f9baba.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:16 AnnoDomini [farkoff@Nightstar-d12b5489.adsl.tpnet.pl] has joined #code
11:16 mode/#code [+o AnnoDomini] by Reivles
11:30 Attilla [The.Attilla@FBC920.A5C359.15BD32.425F3F] has joined #code
11:30 mode/#code [+o Attilla] by Reivles
13:41 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:54 AnnoDomini [farkoff@Nightstar-d12b5489.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
13:55 AnnoDomini [farkoff@Nightstar-d12b5489.adsl.tpnet.pl] has joined #code
13:55 mode/#code [+o AnnoDomini] by Reivles
14:28 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
14:31 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
14:44 ErikMesoy [Erik_Mesoy@Nightstar-be028908.bb.online.no] has joined #code
14:55
< ErikMesoy>
If I write split('","') in Python, does it do what I want it to do, which is to split on a four-character string containing double quotes, which, in the function call, is wrapped in single quotes?
14:55
< ErikMesoy>
(Even talking about that feels like good practice for programming. :P)
14:56
< jerith>
Three character string, but yes.
14:57
< ErikMesoy>
Err, yes.
14:57
< ErikMesoy>
Thanks.
14:57
< jerith>
'"foo","bar","baz"'.split('","') => ['"foo', 'bar', 'baz"']
14:57
< jerith>
ErikMesoy: Do you have ipython installed?
14:58
< ErikMesoy>
I'm not sure what that is, but if it's not closely linked to IDLE, probably not.
14:58
< jerith>
You want it.
14:58
< jerith>
It's an enhanced Python shell.
14:59
< jerith>
Great for playing with little bits of code or trying to figure out how something works.
16:48 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [Ping timeout: 121 seconds]
17:02 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
17:02 mode/#code [+o Kazriko] by Reivles
17:15 You're now known as TheWatcher[afk]
17:19 Derakon[AFK] is now known as Derakon
18:26 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [[NS] Quit: Ep0xa 1.2v]
19:08 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
19:30 Vornicus-Latens is now known as Vornicus
19:45 You're now known as TheWatcher
19:49 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
19:52
< Alek>
anyone know when Black Mesa Source is due to be released? :(
19:57 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
19:58 Syloqs_AFH is now known as Syloqs-AFH
20:23 ErikMesoy1 [Erik_Mesoy@Nightstar-be028908.bb.online.no] has joined #code
20:23 ErikMesoy [Erik_Mesoy@Nightstar-be028908.bb.online.no] has quit [NickServ (GHOST command used by ErikMesoy1)]
20:23 ErikMesoy1 is now known as ErikMesoy
20:26
<@Vornicus>
TABLE_SIZES = [3, 5, 11, 17, 29, 47, 71, 107, 163, 251, 379, 569, 857, 1289, 1949, 2927, 4391, 6599, 9901, 14867, 22303, 33457, 50207, 75323, 112997, 169501, 254257, 381389, 572087, 858149, 1287233, 1930879, 2896319, 4344479, 6516379, 9774571, 14661869, 21992819, 32989249, 49483877, 74225887, 111338833, 167008273, 250512413, 375768623, 563652937, 845479429, 1268219179]; <--- yay silly integer sequences.
20:26
< ErikMesoy>
Which primes are these?
20:29
<@Vornicus>
a(n) = nextprimeabove(a(n-1) * 3/2)
21:09
< Alek>
there's a story here. a guy downloaded mcafee to try it out. scanned his drive. mcafee said there was a virus in its uninstall.exe and deleted it, automatically.
21:10
< ErikMesoy>
...
21:53
< Namegduf>
Norton would have then rendered his OS unbootable.
22:02 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
22:02 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
22:02 mode/#code [+o Vornicus] by Reivles
22:16 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [Ping timeout: 121 seconds]
22:20 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
22:20 mode/#code [+o Kazriko] by Reivles
22:30 ErikMesoy is now known as ErikMesoy|sleep
22:36 AnnoDomini [farkoff@Nightstar-d12b5489.adsl.tpnet.pl] has quit [[NS] Quit: Patience is a virtue.]
23:02
< gnolam>
Oh crap.
23:02 * gnolam has misread a deadline.
23:04
< gnolam>
Instead of 3 weeks I now have about 1 1/2 to make the first milestone: complete geometry generation.
23:08
< gnolam>
Also, TOD effects. Any astrometry experts in the house?~
23:10 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [Ping timeout: 121 seconds]
23:12 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
23:12 mode/#code [+o Kazriko] by Reivles
23:16 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
23:20
< McMartin>
Alek: I wonder if that's becuase uninstall.exe would circumvent or destroy a virus scanner?
23:20
< McMartin>
(FWIW, the least intrusive commercial AV I've seen is AVG.)
23:29
< Alek>
and it's also available free. >_>
23:29
< Alek>
although McAfee worked pretty well for a year, for us.
23:29
< Alek>
and CA has their good points.
23:29
< Alek>
AVG Free doesn't have a temporary-off function. :(
23:30
< Alek>
or an internet-shutoff function. :(
23:30
< McMartin>
Haven't tried CA.
23:30
< McMartin>
... in fact, I can't even expand it
23:30
< Alek>
lol
23:30
< Alek>
don't bother.
23:30
< McMartin>
No, I mean "I can't expand the acronym"
23:30
< Alek>
while pretty useful for what it can do, it's very resource-heavy.
23:31
< Alek>
and I do mean very.
23:31
< Alek>
and watch out for its automatic functions. set them to prompt instead. since left unchecked, it'll block almost every program you try to run.
23:31
< Alek>
CA is Computer Associates, iirc.
23:36
< Alek>
bah.
23:36
< Alek>
7 can't network with other OSes out of the box. >_<
23:37
< McMartin>
As in SMB, or...?
23:47 You're now known as TheWatcher[T-2]
23:54 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
23:58 You're now known as TheWatcher[zZzZ]
--- Log closed Mon Oct 26 00:00:07 2009
code logs -> 2009 -> Sun, 25 Oct 2009< code.20091024.log - code.20091026.log >