code logs -> 2009 -> Fri, 11 Sep 2009< code.20090910.log - code.20090912.log >
--- Log opened Fri Sep 11 00:00:31 2009
--- Day changed Fri Sep 11 2009
00:00 AnnoDomini [AnnoDomini@Nightstar-28981.neoplus.adsl.tpnet.pl] has quit [Quit: Quem quer o garfo?]
00:11 Orthia [~Orthianz@Nightstar-6708.xdsl.xnet.co.nz] has quit [Connection reset by peer]
00:16 * gnolam stabs broken e-mail clients.
00:18 Orthia [~Orthianz@Nightstar-10271.xdsl.xnet.co.nz] has joined #Code
00:33 * GeekSoldier stabs bunnies.
00:33 * ToxicFrog helps both
00:36 Derakon[work] [~Derakon@Nightstar-6042.ucsf.edu] has quit [Quit: Leaving]
00:56 Vornicus-Latens is now known as Vornicus
01:17
< Tarinaky>
If I have a C-string buffer called s, sizeof(s) will return the length of the buffer less 1 (for the NULL termination) won't it?
01:17 * Tarinaky is only dealing with 8-bit chars
01:18
< Vornicus>
No.
01:18
< Tarinaky>
>.< Oh yeah. s is a point >.<
01:19
< Tarinaky>
*pointer
01:19
< Tarinaky>
Fuck. >.>
01:21
< Tarinaky>
Oh! Oh! I see.
01:21 * Tarinaky should have rtfmd.
01:21
< Namegduf>
strlen(s), however, will do what you want.
01:21
< Namegduf>
(As you said it's a C-string)
01:21
< Namegduf>
Actually, no, that'll just return the length of the string.
01:22
< Tarinaky>
In this case that'll do.
01:22
< Tarinaky>
Apparently sizeof will return the size of the array though.
01:22
< Namegduf>
It will, if and only if you are dealing with an array, not a pointer.
01:22
< Namegduf>
(They aren't quite the same thing)
01:23
< Tarinaky>
Well, I'm dealing with an array passed as a pointer.
01:23
< Namegduf>
Then it won't work.
01:23
< Namegduf>
The array gets converted into a pointer as it gets passed in.
01:23
< Tarinaky>
Oh yeah. Yeah. I get it.
01:23
< Tarinaky>
strlen is what I want anyway.
01:28
< Tarinaky>
Thanks. I'm going to go sleep now while my code still compiles and leave all the joy of linking errors for tomorrow.
01:28 Tarinaky [~Tarinaky@Nightstar-16638.plus.com] has quit [Client exited]
02:01 Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has joined #code
02:02 mode/#code [+o Derakon] by ChanServ
02:32 Attilla [~The.Attil@92.11.3.ns-25900] has quit [Quit: ]
02:34 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
02:40 Consul [~Consul__@Nightstar-1744.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
02:42 * Derakon tries to figure out why shuffling the engine code into a new directory is now causing the Vector2D module to not build.
02:45
<@Derakon>
Anyone see anything obviously wrong with this? http://paste.ubuntu.com/268878/
02:45
<@Derakon>
The error I'm getting is on line 28, with the complaint "ImportError: Building module failed: 'engine.vector2d.Vector2D' object has no attribute 'x'"
02:47
< Vornicus>
I'd need vector2d to see what that looks like.
02:48
<@Derakon>
vector2d is a module that has built fine for quite some time. The only difference is that now it's in the new "engine" directory, instead of being at the root level of the project.
02:48
<@Derakon>
But if you think it'd help, here's the header file: http://derakon.dyndns.org/~chriswei/temp2/vector2d.pxd
02:48
<@Derakon>
And here's the implementation: http://derakon.dyndns.org/~chriswei/temp2/vector2d.pyx
02:49
< Vornicus>
what's the difference between cdef and cpdef?
02:49
<@Derakon>
Largely, cpdef is accessible by Python code, and cdef isn't.
02:56
< Vornicus>
...nope, I'm not getting anything,
03:32 Reiv [~82d94c4d@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #Code
03:46 Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has quit [Ping Timeout]
03:48 Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has joined #code
03:48 mode/#code [+o Derakon] by ChanServ
03:58
< Reiv>
Ilovefire! My brain burns with ingenious weapon loadouts.
03:58
< Reiv>
Do you remember offhand how many weapons are on various Pursuit sections in SotS? It's not on the wiki.
05:40 Derakon is now known as Derakon[AFK]
05:41
< Alek>
SotS?
05:41
< Reiv>
Sword of the Stars.
05:42
< Alek>
?
05:43
< Reiv>
Computer game.
05:43
< Reiv>
GIYF.
05:44
<@McMartin>
GIYF? EAP
05:46
< Reiv>
Google Is Your Friend~
05:47 Reiver [~reaverta@Admin.Nightstar.Net] has quit [Ping Timeout]
05:49 Reiver [~reaverta@Nightstar-8062.xdsl.xnet.co.nz] has joined #Code
05:49 mode/#code [+o Reiver] by ChanServ
05:50 Namegduf [namegduf@82.26.82.ns-3550] has quit [Ping Timeout]
05:55
< Alek>
wow. huh.
05:55
< Alek>
sounds like a game I want.
05:55
< Reiv>
You missed a special just last weekend via Impulse.
05:56
< Kazriko>
yeah. I wanted to grab it, but missed that too.
05:56
< Reiv>
Keep an eye out on Impulse/Steam, the complete pack comes up every month or two. (And isn't exactly costly otherwise either.)
05:56
< Reiv>
It is, imho, Worth The Price.
05:56
< Reiv>
(And I'm starting to look into modding in an extra race to boot. >_>)
05:56
< Alek>
I don't have any money right now, but I'll keep a weather eye on the horizon.
05:57
< Alek>
and yeah, race modding is one of my fave parts of the SE series. :P
05:57 Namegduf [namegduf@82.12.19.ns-26569] has joined #code
06:01
< Reiv>
Oh, SotS makes race modding... /unique/
06:01
< Reiv>
Each side has their own unique models. These have massive implications for tactical (Real time, ala homeworld) combat.
06:05 Reiv [~82d94c4d@Nightstar-29731.dsl.in-addr.zen.co.uk] has quit [Quit: HOME]
06:05 Syloqs-AFH [~Syloq@NetAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:19
< Alek>
:P
06:19
< Alek>
wonder if you can mod in new tech. >_>
06:19
< Alek>
that's been one of my main complaints with that type of game, really.
07:09 AnnoDomini [AnnoDomini@Nightstar-28981.neoplus.adsl.tpnet.pl] has joined #Code
07:09 mode/#code [+o AnnoDomini] by ChanServ
07:23 Thaqui [~Thaqui@121.98.166.ns-22683] has joined #code
07:23 mode/#code [+o Thaqui] by ChanServ
07:48 Vornicus is now known as Vornicus-Latens
08:57 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
08:57 mode/#code [+o gnolam] by ChanServ
08:58 Rhamphoryncus [~rhamph@Nightstar-3964.abhsia.telus.net] has quit [Quit: Rhamphoryncus]
09:15 You're now known as TheWatcher
10:17 Attilla [~The.Attil@92.11.3.ns-25900] has joined #code
10:17 mode/#code [+o Attilla] by ChanServ
10:54 Orthia is now known as Reivthia
10:57
< Reivthia>
Well, Define 'new tech'
10:57 * AnnoDomini requests back-convo.
10:59
< Reivthia>
Fri[17:19] <Alek> wonder if you can mod in new tech. >_>
10:59
< Reivthia>
Fri[17:19] <Alek> that's been one of my main complaints with that type of game, really.
11:00
<@AnnoDomini>
What game?
11:12 Syloq [~Syloq@NetAdmin.Nightstar.Net] has joined #code
11:13 Syloq is now known as Syloqs-AFH
11:15
< Reivthia>
Sword of the Stars.
11:15
<@AnnoDomini>
I see.
11:15
<@AnnoDomini>
No more questions, Your Honour.
11:16
< Reivthia>
The prosecution rests.
11:56 Attilla [~The.Attil@92.11.3.ns-25900] has quit [Ping Timeout]
12:05 Attilla [~The.Attil@92.23.126.ns-3481] has joined #code
12:05 mode/#code [+o Attilla] by ChanServ
13:22 Tarinaky [~Tarinaky@Nightstar-16638.plus.com] has joined #code
14:15 Thaqui [~Thaqui@121.98.166.ns-22683] has quit [Client exited]
15:00 AnnoDomini [AnnoDomini@Nightstar-28981.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:07 AnnoDomini [AnnoDomini@Nightstar-29739.neoplus.adsl.tpnet.pl] has joined #Code
16:08 Reiver [~reaverta@Nightstar-8062.xdsl.xnet.co.nz] has quit [Ping Timeout]
16:09 Reiver [~reaverta@Nightstar-8062.xdsl.xnet.co.nz] has joined #Code
16:09 mode/#code [+o Reiver] by ChanServ
16:24 AbuDhabi [AnnoDomini@Nightstar-29739.neoplus.adsl.tpnet.pl] has joined #Code
16:25 AnnoDomini [AnnoDomini@Nightstar-29739.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
16:38 Derakon [~Derakon@Nightstar-6042.ucsf.edu] has joined #code
16:38 mode/#code [+o Derakon] by ChanServ
16:38 Derakon is now known as Derakon[work]
16:52 AbuDhabi [AnnoDomini@Nightstar-29739.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
16:54 AnnoDomini [AnnoDomini@Nightstar-29739.neoplus.adsl.tpnet.pl] has joined #Code
16:54 mode/#code [+o AnnoDomini] by ChanServ
17:13 Rhamphoryncus [~rhamph@Nightstar-3964.abhsia.telus.net] has joined #code
17:27 * Derakon[work] mutters as he searches for some way to get the double-precision FFTW libraries.
18:04
<@Derakon[work]>
Ahh, found it. Had to use the version 2 libraries instead of the version 3 ones, since version 3 confabulated them all into one lib.
18:06
<@SmithKurosaki>
I forgot how boring classes are
18:22
<@gnolam>
Classes as in education or OOP? :)
18:31
<@TheWatcher>
or one on the other? ¬¬
18:37
<@gnolam>
Or education on object oriented design of taxonomy software?
18:38
<@gnolam>
(While following the tenets of Karl Marx)
18:44 * Derakon[work] returns from dissecting one of the microscope computers.
18:44
<@Derakon[work]>
Turns out its cheapest possible part had failed: the interior power switch had disconnected from the housing.
19:06
<@TheWatcher>
Hah
19:17
<@Derakon[work]>
Bah. That didn't work like I wanted it to.
19:18
<@Derakon[work]>
The microscope app, when started, throws up a bunch of windows off the left edge of the screen, since it expects to be running across three different displays. I thought maybe OSX's Spaces (virtual desktops, basically) could be used to catch those windows, but it doesn't.
19:18
<@Derakon[work]>
The windows are still assigned to the rightmost desktop...they just aren't visible from it.
19:45 * Derakon[work] mutters at http://paste.ubuntu.com/269342/
19:45
<@Derakon[work]>
I have reason to believe that this use of SWIG mappings is what is causing functions that return multiple values to fail.
20:58
< Rhamphoryncus>
mental note: don't touch SWIG unless I *really* have to
21:04
<@Derakon[work]>
I suspect SWIG itself is probably fine.
21:04
<@Derakon[work]>
It's just...Sebastian.
21:05
<@gnolam>
It's Snowball. I'm sure of it.
21:18 * Derakon[work] aughs at "const T val = *p++;"
21:18
<@Derakon[work]>
Naturally Sebastian is the type to absolutely love how the ++ operators let you do multiple things in one statement.
21:19 * ToxicFrog stabs grub, then stabs #grub on freenode many, many times
21:19
<@Derakon[work]>
An unhelpful channel on Freenode? Perish the thought!
21:22
<@ToxicFrog>
I mostly hang out in #git and #lua, which are very helpful.
21:22
<@ToxicFrog>
#grub, on the other hand, disavows all support of grub-legacy, and discusses only grub2
21:23
<@ToxicFrog>
Which is fucking wonderful, since grub2 is used by almost nothing, is still in beta, and doesn't work on the stick I'm trying to make bootable in any case.
21:25
<@McMartin>
I managed to successfully uninstall grub last week~
21:27
< Tarinaky>
Why? It's better than LILO.
21:28
<@McMartin>
Because I was attempting to uninstall Linux entirely.
21:28
< Tarinaky>
Ah.
21:28
< Tarinaky>
fixmbr?
21:28
<@McMartin>
fixmbr and fixboot, yeah.
21:28
<@McMartin>
And then some tricks to get PartitionMagic to actually delete and merge the partitions.
21:29
<@McMartin>
(I had two "dualboot" machines that I basically never reboot. So I made them singleboot, one each.)
21:29
< Tarinaky>
I wasn't going to ask you to justify your choice of OS.
21:29
< Tarinaky>
Run what you like~
21:29
<@McMartin>
Neither can really properly run either~
21:30
< Tarinaky>
Awesome.
21:30
<@McMartin>
This is mostly Firefox's fault.
21:30
< Tarinaky>
Everything is Firefox's fault.
21:30
<@McMartin>
If FF is open on the Linux machine for more than an hour or so the system begins to thrash because it is now actually out of resources
21:30
< Tarinaky>
Firefox personally nailed Jesus to the cross.
21:30
<@McMartin>
Firefox is your pre-existing condition
21:31
< Tarinaky>
pre-existing condition?
21:31
<@McMartin>
The other machine runs XP well enough as long as you don't try to run anything much more recent than Half-Life 2.
21:31
<@McMartin>
Pre-existing condition: In the US, it's basically impossible to get health insurance if there was ever a period in your life where you were both uninsured and sick.
21:31
<@ToxicFrog>
Tarinaky: US health care joke. Black humour.
21:32
< Tarinaky>
I see.
21:33
< Tarinaky>
NHS ftw.
21:33
<@ToxicFrog>
Yes.
21:33
<@McMartin>
For various reasons I would not support an NHS-style system in the US, universally.
21:33
<@McMartin>
Single-payer integrates more cleanly with what we have than single-provider does.
21:33
< Tarinaky>
Well. In terms of implementation or free health care?
21:34
<@McMartin>
^--
21:34
< Tarinaky>
Well, the NHS isn't the only system in the world.
21:34
<@McMartin>
I know
21:34
<@McMartin>
I'm saying that I think a system like France/Canada/NL would work better here
21:34
< Tarinaky>
I'm not familiar with how they work tbh.
21:35
<@McMartin>
Essentially, the government operates as an insurer, and the doctors are all private practice.
21:35
<@ToxicFrog>
Doctors et al are independent, but they bill the government, which reimburses them.
21:35
<@ToxicFrog>
As opposed to doctors being government employees.
21:35
<@McMartin>
As I understand it (correct me if I'm wrong), under NHS the doctors work for the gvt directly
21:35
< Tarinaky>
Something like that I think.
21:36
<@McMartin>
We actually have both, for subsets of our populace.
21:36
<@McMartin>
Medicare would scale better than the Veteran's Affairs services.
21:37
<@ToxicFrog>
(re: firefox: this is why I use Opera. Higher cost at startup, but much less leaky.)
21:38
< Tarinaky>
I -think- the way the NHS works is that the Doctors work for the hospitals/practises and the practises bill the government I think.
21:38
< Tarinaky>
Although probably through some sort of Quango.
21:38
<@ToxicFrog>
Neg.
21:38
< Tarinaky>
Because everyone loves Quangos.
21:38
<@ToxicFrog>
Most (all?) NHS services are provided by staff (including doctors, nurses, etc) working directly for the NHS.
21:39 * Tarinaky shrugs. All I know is if I crawl into a hospital and wait three to five hours someone will stitch me back together and give me a piece of paper I can hand over a counter with £7.50 for some pills to make it stop hurting.
21:40
< Tarinaky>
It's a good system.
21:40 * TheWatcher eyes the bugzilla people
21:40
<@TheWatcher>
yey, security update
21:43
< Tarinaky>
I think. Frankly the only time I've been ill enough to require hospitalisation I was abroad.
22:09 * TheWatcher ponders ways to properly manage his perl library setup, hms
22:10
< Tarinaky>
Hmm. Does anyone have any suggestions on a free/os program that'll format some double-sided cards?
22:16
<@ToxicFrog>
double-sided cards?
22:17
< Tarinaky>
Yeah. Like fact cards I can give to people with information on each side.
22:22
<@TheWatcher>
You mean like business cards?
22:23
< Tarinaky>
A little bigger.
22:24
< Tarinaky>
And not on actual card.
22:24
< Tarinaky>
And each one will have different things on them.
22:48
<@ToxicFrog>
Fuck it, I give up, I'm using syslinux
22:50
<@TheWatcher>
What's up?
22:55
<@Derakon[work]>
Arglebarglefargle.
22:55
<@Derakon[work]>
I really wish SWIG gave more informative error codes.
22:56
<@Derakon[work]>
"NotImplementedError: Wrong number of arguments for overloaded function 'mmms'." with a list of the available options is kinda nice, except that it bears no resemblance to how the code is used on the Python side and doesn't tell me what I'm supposedly actually passing in.
22:59 Derakon[work] [~Derakon@Nightstar-6042.ucsf.edu] has quit [Ping Timeout]
23:09
<@ToxicFrog>
TheWatcher: making a multiboot liveUSB
23:11 Derakon [~Derakon@Nightstar-6042.ucsf.edu] has joined #code
23:11 mode/#code [+o Derakon] by ChanServ
23:12 Derakon is now known as Derakon[work]
23:12
<@Derakon[work]>
And now the network hates me. >.<
23:13
<@Derakon[work]>
Did any of my rant earlier get through?
23:13
<@Derakon[work]>
About SWIG error messages?
23:14
<@ToxicFrog>
yes.
23:14
<@Derakon[work]>
Okay, then I needn't repeat myself.
23:18
<@ToxicFrog>
Ok, it looks like by the time this thing is done it'll have, at least: knoppix 6, ubuntu 8 or 9, opensuse 11, freeDOS, and memtest86.
23:18
<@Derakon[work]>
Good god man, why?
23:18
<@ToxicFrog>
Because knoppix 6 comes with boot images and SYSLINUX configuration entries for freeDOS and memtest86 already.
23:28
<@ToxicFrog>
Might as well use them.
23:42 * TheWatcher args at CGI::Compress::GZip
23:46 You're now known as TheWatcher[T-2]
23:48 Consul [~Consul__@Nightstar-177.dsl.sfldmi.ameritech.net] has joined #code
23:48 mode/#code [+o Consul] by ChanServ
23:48
<@Derakon[work]>
Hm. Another reason this stuff is giving me such a bloody hard time.
23:48
<@Derakon[work]>
There's multiple versions of some files floating around, and they typically have no good way of differentiating each other.
23:48 You're now known as TheWatcher[zZzZ]
23:48
<@Derakon[work]>
The viewer2.py file I was using was not the right viewer2.py file!
23:49
<@Derakon[work]>
Anyway, I seem to have gotten the postprocessing program running.
23:51
<@Derakon[work]>
Of course, even with that version I had to fix a bug where we were calling a GLUT font rendering function with an integer where a font instance should have been.
23:51
<@Derakon[work]>
AFAICT somewhere along the line GLUT changed from saying "Do you want monospace or variable-width font" to saying "what font do you want" and while the version on the cluster works fine passing an integer along, I need a font intsance on my lappy.
23:51
<@Derakon[work]>
Goddamn I wish I had someone here to train me up on this software.
--- Log closed Sat Sep 12 00:00:01 2009
code logs -> 2009 -> Fri, 11 Sep 2009< code.20090910.log - code.20090912.log >