code logs -> 2012 -> Fri, 25 May 2012< code.20120524.log - code.20120526.log >
--- Log opened Fri May 25 00:00:45 2012
00:05
< celticminstrel>
Blargh. Soon I will need to worry about text input in SDL...
00:12
< celticminstrel>
...but first, supper.
00:13
< Rhamphoryncus>
oh god, the horror! http://www.gamedev.net/topic/561603-sending-a-sdl_surface/
00:14
< Rhamphoryncus>
Trying to transmit an SDL_Surface across the network.. by casting the SDL_Surface * to a char *, transmitting what it points then, then casting back on the other end
00:14
< Rhamphoryncus>
Strangely enough it works locally but not across the network :P
00:16
< celticminstrel>
...
00:17
<@ToxicFrog>
00:19
<~Vornicus>
why would you do that
00:22 iofficespace is now known as iospace
00:24
< Rhamphoryncus>
total ignorance
00:31
<&McMartin>
Kind of surprised it even works locally
00:49 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
00:50 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
00:50 mode/#code [+o ToxicFrog] by ChanServ
00:53 Derakon[AFK] is now known as Derakon
00:59 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
01:02
<~Vornicus>
hooray, math. 1250 * (263321+11* sqrt(526521))/108241
01:02
<~Vornicus>
this is the least nice number I've encountered in weeks.
01:02
<&Derakon>
3133.087...
01:03
<&Derakon>
What is this for?
01:04
<~Vornicus>
It's the answer to a problem in a textbook.
01:05
<~Vornicus>
Come to that it's one of the worst numbers I've encountered in a textbook, ever.
01:05
<&Derakon>
Ick.
01:10
< gnolam>
Rhamphoryncus: ... yeah, you just Shouldn't Do That.
01:21 Attilla [Obsolete@Nightstar-3f363270.as43234.net] has quit [Ping timeout: 121 seconds]
01:22 Attilla [Obsolete@Nightstar-3f363270.as43234.net] has joined #code
01:22 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
01:22 mode/#code [+o himi] by ChanServ
01:37 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
01:42
<&McMartin>
Crud, this is too simplistic.
01:47 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
01:47 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
01:47 mode/#code [+o ToxicFrog] by ChanServ
01:58 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
01:58 mode/#code [+o PinkFreud] by ChanServ
02:01 Kindamoody[zZz] is now known as Kindamoody
02:13 Derakon is now known as Derakon[AFK]
02:14 Attilla [Obsolete@Nightstar-3f363270.as43234.net] has quit [Ping timeout: 121 seconds]
02:25 Noah is now known as Noah{AngryFace}
02:32 Noah{AngryFace} is now known as Noah
03:48 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
04:20 * Noah deletes everyone.
04:22 * Vash deletes Noah
04:22 Noah is now known as ____
04:22
< ____>
Blarg.
04:23
< ____>
I'm actually surprised the server let me take this nick
04:24 Derakon[AFK] is now known as Derakon
04:29
<@Vash>
hah
04:31 ____ is now known as InOhAyAych
04:43 InOhAyAych is now known as Noah
04:51 Derakon is now known as Derakon[AFK]
05:10
< Noah>
Finally manning up and watching the old Sherlock Holmes episodes
05:11
< Noah>
And it's so old, I can hear the reel clicking
05:11 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
05:22 Derakon[AFK] is now known as Derakon
06:25 Derakon is now known as Derakon[AFK]
07:08 iospace is now known as iospacingout
07:09 AnnoDomini [annodomini@Nightstar-6bc1d93a.connect.netcom.no] has joined #code
07:10 mode/#code [+o AnnoDomini] by ChanServ
07:14 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
07:14 iospacingout is now known as iospaced
07:14 iospaced is now known as iospacedout
07:46
<&McMartin>
The 65c02 has an opcode named BRA
07:46
<&McMartin>
Good thing I'm no longer 12.
08:00 Vash [Vash@Nightstar-241cb5d4.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
08:34 AnnoDomini [annodomini@Nightstar-6bc1d93a.connect.netcom.no] has quit [[NS] Quit: Gonna go on Windows now.]
08:47
<&McMartin>
OH man
08:47
<&McMartin>
http://fogus.me/fun/marginalia/
08:47
<&McMartin>
Want this for Python now plz
08:58 Kindamoody is now known as Kindamoody|afk
09:02
<&jerith>
McMartin: Isn't that just something like Sphinx?
09:19 Atreus is now known as Tarinaky
09:35 McMartin [mcmartin@Nightstar-e4a532c9.pltn13.sbcglobal.net] has quit [Ping timeout: 121 seconds]
09:38 You're now known as TheWatcher
09:47 McMartin [mcmartin@Nightstar-593802d1.pltn13.sbcglobal.net] has joined #code
09:47 mode/#code [+ao McMartin McMartin] by ChanServ
10:34
<&McMartin>
I'm not familiar with Sphinx
10:36 * McMartin googles it up.
10:36
<&McMartin>
Not quite the same, but very nice.
10:37
<&McMartin>
Sphinx looks more like Doxygen, while Marginalia seems to encourage something a bit more literate.
10:37 * McMartin tends to treat I7 as a literate tool even though it strictly speaking isn't.
10:39
<&McMartin>
Ha ha ha
10:39
<&McMartin>
"Ensure that the directory specified by path exists. If not then make it so. Here is a snowman ?"
10:40
<&jerith>
McMartin: Sphinx is a documentation generation system. It has an autodoc plugin that fetches doctrings for you.
10:41
<&McMartin>
Yeah
10:41
<&McMartin>
Marginalia feels more like an "annotated tour of the source code" approach to this than just autodoc
10:43 Attilla [Obsolete@Nightstar-3f363270.as43234.net] has joined #code
10:43 McMartin [mcmartin@Nightstar-593802d1.pltn13.sbcglobal.net] has quit [Operation timed out]
10:47
<&jerith>
If I'm after an annotated tour of the code, I go look at the code. Sphinx is there for API docs (which really should live very close to the code) and general docs (which should live near the code, but not in it).
10:47
<&jerith>
The API docs can very easily link to a pretty HTML view of the code, IIRC.
11:00 gruber [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
11:04 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
11:11 RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
11:27 RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
11:40 McMartin [mcmartin@Nightstar-60f6b612.pltn13.sbcglobal.net] has joined #code
11:40 mode/#code [+ao McMartin McMartin] by ChanServ
11:41
<&jerith>
11:43 -!- McMartin [mcmartin@Nightstar-593802d1.pltn13.sbcglobal.net] has quit [Operation timed out]
11:42
<&jerith>
11:47 <&jerith> If I'm after an annotated tour of the code, I go look at the code. Sphinx is there for API docs (which really should live very close to the code) and general docs (which should live near the code, but not in it).
11:42
<&jerith>
11:47 <&jerith> The API docs can very easily link to a pretty HTML view of the code, IIRC.
11:45 Kindamoody|afk is now known as Kindamoody
11:54 Kindamoody is now known as Kindamoody|out
12:52 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
13:44 Attilla_ [Obsolete@Nightstar-608fe220.as43234.net] has joined #code
13:44 Attilla [Obsolete@Nightstar-3f363270.as43234.net] has quit [Ping timeout: 121 seconds]
14:09 Attilla_ is now known as Attilla
14:27 Attilla_ [Obsolete@Nightstar-276482cb.as43234.net] has joined #code
14:27 Attilla [Obsolete@Nightstar-608fe220.as43234.net] has quit [Ping timeout: 121 seconds]
14:30
<@ToxicFrog>
After some more fiddling around with clojure-clr I have concluded that something is wrong with my environment
14:30
<@ToxicFrog>
Because even really simple tutorial examples fail to compile with incomprehensible error messages
14:35 Attilla_ [Obsolete@Nightstar-276482cb.as43234.net] has quit [Ping timeout: 121 seconds]
14:43 iospacedout is now known as iofficespace
14:43
<@ToxicFrog>
Does the same thing on Orias with mono 2.10 :/
14:44
<@TheWatcher>
Maybe it just hates you~
14:53 gruber is now known as gnolam
15:25 Attilla [Obsolete@Nightstar-08008a7d.as43234.net] has joined #code
15:42
<@ToxicFrog>
Oh, hang on
15:42
<@ToxicFrog>
The compiler actually generates the exe
15:42
<@ToxicFrog>
But then it crashes
15:43
<@ToxicFrog>
idkwtf
15:46 * Tamber takes ToxicFrog out of pinkfreud-mode
15:48
<&jerith>
ToxicFrog: Is it looking at the fact that it managed to generate output and going "zOMG! I did it! EXCITEM*die*"?
15:48
<@ToxicFrog>
ben@thoth ~/devel/clojure-clr $ mono fileb.exe
15:48
<@ToxicFrog>
hi from fileb
15:48
<@ToxicFrog>
hi from filea
15:48
<@ToxicFrog>
jerith: who knows
15:48
<@ToxicFrog>
$ mono Clojure.Compile.exe fileb
15:48
<@ToxicFrog>
Compiling fileb to .System.ArgumentNullException: Argument cannot be null.
16:05 Attilla_ [Obsolete@Nightstar-39ef0425.as43234.net] has joined #code
16:05 Attilla [Obsolete@Nightstar-08008a7d.as43234.net] has quit [Ping timeout: 121 seconds]
16:16 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
16:39 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
17:24
< gnolam>
http://arstechnica.com/information-technology/2012/05/no-cost-desktop-software-d evelopment-is-dead-on-windows-8/
17:24
< gnolam>
...
17:27
< froztbyte>
haha
17:29
<@ToxicFrog>
o.O
17:32
< Noah>
I'm not sure if that headline CAN be correct
17:32
< Noah>
I mean, you can develop software in other languages, and you don't have to use Microsoft's tools
17:36
<@ToxicFrog>
Yeah, what they actually mean is "no cost desktop software development using Visual Studio is dead on win8"
17:39
< iofficespace>
heh
17:43
<@ToxicFrog>
They make a big deal about how this makes it harder for newbies, which I don't buy; newbies aren't using Visual Studio anyways.
17:45
< iofficespace>
yeah
17:45
< iofficespace>
i think it's more of "OMG MICRO$OFT!
17:45
< iofficespace>
now if Apple did it no one would give two shits
17:45
< iofficespace>
cause seriously, who codes using a mac ;)
17:47
<@ToxicFrog>
People developing for iOS.
17:47
<@ToxicFrog>
(because there are no good cross-compilers)
17:47
< iofficespace>
touche
17:49
<@ToxicFrog>
But yeah, I only really see this being an issue for (a) (semi-)experienced developers of (b) windows desktop applications who (c) prefer or are somehow required to use Visual Studio and (d) use the Express version.
17:50
<@ToxicFrog>
...well, ok, that, and cross-platform apps that use VS rather than monodevelop or mingw-gcc or the like for the windows build.
17:51
<@ToxicFrog>
People using non-VS languages will be completely unaffected, people using VS in a corporate environment probably aren't using Express anyways.
17:52
<@ToxicFrog>
iofficespace: also I had a crazy and that should have read "for OSX", I think there are actually iOS dev tools for linux~
18:04
< celticminstrel>
Didn't Apple already try charging for XCode?
18:06 Netsplit *.net <-> *.split quits: ShellNinja, @Kindamoody|out, @Derakon[AFK], froztbyte, Noah, @PinkFreud, Attilla_, cpux, @himi, Syloq_Home, (+7 more, use /NETSPLIT to show all of them)
18:06 Netsplit over, joins: Kindamoody|out
18:14 ShellNinja [abudhabi@Nightstar-300ad1ff.adsl.inetia.pl] has joined #code
18:14 Tamber [tamber@furryhelix.co.uk] has joined #code
18:14 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
18:14 sshine [simon@Nightstar-883ecc1d.brahmaserver.dk] has joined #code
18:14 froztbyte [froztbyte@Nightstar-dc394964.za.net] has joined #code
18:14 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
18:14 Noah [nbarr@D5CC77.617194.EEB9A9.ED1684] has joined #code
18:14 McMartin [mcmartin@Nightstar-60f6b612.pltn13.sbcglobal.net] has joined #code
18:14 iofficespace [alex@Nightstar-e67f9d08.com] has joined #code
18:14 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
18:14 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
18:14 JBeshir [namegduf@Nightstar-5c10d129.beshir.org] has joined #code
18:14 Attilla_ [Obsolete@Nightstar-39ef0425.as43234.net] has joined #code
18:14 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
18:14 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
18:14 ServerMode/#code [+oaooao ToxicFrog McMartin McMartin himi Derakon[AFK] Derakon[AFK]] by *.Nightstar.Net
18:17 Noah [nbarr@D5CC77.617194.EEB9A9.ED1684] has quit [Ping timeout: 121 seconds]
18:24
< Rhamphoryncus>
augh. Why is it so complicated to load a bloody png?!
18:25 mode/#code [+o Tamber] by ChanServ
18:27 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
18:27 mode/#code [+o PinkFreud] by ChanServ
18:27
<@ToxicFrog>
Rhamphoryncus: if you're using C/++, yeah
18:27
<@ToxicFrog>
If you're using a JVM, CLR, or interpreted language the issue doesn't arise anyways
18:27
< Rhamphoryncus>
yup :/
18:27
< Rhamphoryncus>
because the libpng API is idiotic
18:28
< Rhamphoryncus>
and SDL image is slightly broken
18:28
< Rhamphoryncus>
Looks like my best option is to save my 8-bit greyscale PNG as RGB, then extract one of the channels after loading
18:34
<@ToxicFrog>
How is it broken?
18:34
<@ToxicFrog>
I've never had any trouble loading PNGs with SDL_Image.
18:34
< gnolam>
What TF said. I have plenty of issues with SDL in general, but SDL_Image has never given me any trouble.
18:43
< Rhamphoryncus>
8-bit greyscale
18:43
< Rhamphoryncus>
failed with out of memory
18:44 Kindamoody|out is now known as Kindamoody
18:44 mode/#code [+o Kindamoody] by ChanServ
18:47
< Rhamphoryncus>
Maybe I can fix it myself
18:58
< froztbyte>
that sounds like a weird error
18:58
< froztbyte>
since it's not a particularly complex way of storing image data
18:59
< gnolam>
And you've initialized SDL_Image?
19:01
< Rhamphoryncus>
Yes, it's fine for RGB images
19:01
< Rhamphoryncus>
There were some semi-recent fixes to it, as well as a followup due to a regression
19:01
< Rhamphoryncus>
and I'm looking at an open report on 1-bit greyscale right now
19:11 * Rhamphoryncus browses IMG_png.c (sdl image), founds out the standard way of doing error handling with libpng is through setjmp/longjmp
19:22 Attilla_ is now known as Attilla
19:36 Kindamoody is now known as Kindamoody[zZz]
19:48
< Rhamphoryncus>
It is an SDL bug. It doesn't have a pixel format for greyscale
20:18 Noah [nbarr@D5CC77.617194.EEB9A9.ED1684] has joined #code
20:48
<&jerith>
21:47 * sdehaan comes across dummy_consumer_factory_factory_factory() again
20:49
<&jerith>
Why yes, I *did* write a function called dummy_consumer_factory_factory_factory(). The name is accurate.
20:49
<&jerith>
It was also the least horrible way to solve that particular problem. ;_;
20:50
<@TheWatcher>
20:51
<@TheWatcher>
ouch
20:52
< Noah>
wtf
20:52
< Noah>
Does it create a factory cube?
20:52
< Rhamphoryncus>
It it alive?
20:53
<&jerith>
It's a convoluted mechanism to inject stuff into a test.
20:53
<&jerith>
We have a DummyConsumer class, which needs to be instantiated and then modified.
20:53
< Noah>
It sounds dangerous. Is it beating you at chess?
20:54
<&jerith>
Thus, a dummy_consumer_factory().
20:55
<&jerith>
However, the modifications depend on where it's being used, so we need a closure around this to provide the correct bits. factory_factory().
20:56
<&jerith>
I forget why we need the third factory to make factory_factories, but there was no escaping.
20:57
< Noah>
Might as well take it to a fourth factory, and end the world
20:58
<&jerith>
Noah: If I have more than 79 characters on a line, my tools complain.
21:17
< Rhamphoryncus>
If you have more than 2 factories your IRC compatriots complain ;)
21:18
< Rhamphoryncus>
Also, science: always better when it involves lighting things on fire
21:18
<&jerith>
http://arstechnica.com/information-technology/2012/05/no-cost-desktop-software-d evelopment-is-dead-on-windows-8/
21:19
< Rhamphoryncus>
My keyboard has a "silicone" cover on it. However, the keyboard underneath has somehow collected an unexpected amount of oil from my skin
21:19
< Rhamphoryncus>
So.. cut off a strip, went outside, and lit it on fire. Nope, not silicone :)
21:21
< iofficespace>
jerith: that was linked already I believe
21:21
< Noah>
Yea, by gnolam
21:21
< Noah>
We even had a discussion and everything
21:21
<&jerith>
Ah.
21:22
<&jerith>
This is what I get for not reading the scrool.
21:23 * iofficespace pats jerith
21:23
<&jerith>
Charging for the primary set of dev tools for your platform is incredibly stupid.
21:23
<@TheWatcher>
Yes, yes it is.
21:24 * jerith buries his head in iofficespace's bosoms and weeps.
21:24
<@TheWatcher>
Especially when the alternatives tend to be pretty painful to get working reliably.
21:24
<@TheWatcher>
(I'm looking at you, MinGW)
21:25
<@Tamber>
Wouldn't that work in their favour, though?
21:25
<@Tamber>
"You can either work for weeks to get this working, or just pay $howevermuch and have it Just Work(TM)"?
21:26
< Noah>
I think it's like $500
21:26
<&jerith>
"Screw it, I just won't write the code."
21:26
< Noah>
"Python."
21:27
<@Tamber>
"Fuck it, web app" :p
21:27
<&jerith>
Hard to write a proper native app in Python.
21:27
< Noah>
Tamber> "Fuck it, perl" :p
21:27
<@Tamber>
:)
21:27
<@Tamber>
Hey, I do that *anyway*
21:27
<@Tamber>
But then, I'm not on Windows.
21:28
<&jerith>
Hard to write a proper app in Perl.~
21:28
<@TheWatcher>
Too true.
21:28
<@Tamber>
It's in /usr/local/bin, it's a proper app. >:|
21:28
<@Tamber>
:p
21:28
<@TheWatcher>
Heh
21:28 maoranma [nbarr@Nightstar-971b3891.pools.spcsdns.net] has joined #code
21:30
< maoranma>
So, I guess I'll be using Windows 7... for...
21:30
< maoranma>
Ever?
21:30
< maoranma>
Unless 9 doesn't suck
21:31
< maoranma>
Maybe Windows X will be awesome
21:32 Noah [nbarr@D5CC77.617194.EEB9A9.ED1684] has quit [Ping timeout: 121 seconds]
21:32 maoranma is now known as Noah
21:32 * TheWatcher notes the WinME Effect.
21:34
<@ToxicFrog>
Noah: you could switch to Linux~
21:34
< Noah>
I tried that
21:34 You're now known as TheWatcher[afk]
21:35
< celticminstrel>
Why on earth am I randomly getting a SIGTRAP!
21:35
< celticminstrel>
Leading to "unexpectedly quit"
21:35
<&jerith>
celticminstrel: Is Admiral Ackbar patrolling your kernel?
21:35 * Tamber moves the bear-trap out of the way.
21:35
<@ToxicFrog>
celticminstrel: that's weird, SIGTRAP is normally a debugging signal
21:36
< celticminstrel>
Well, I was debugging at the time...
21:36
< celticminstrel>
I was stepping through and then "unexpectedly quit".
21:36
<@ToxicFrog>
Also, Tamber, TheWatcher[afk] -- mingw on linux is actually really easy to get working and then you have a full-power cross compiler.
21:37
< celticminstrel>
Restarting XCode.
21:37
<@ToxicFrog>
Or you can get with the 21st century and use a CLR, JVM, or interpreted language~
21:37 * Tamber files in "Useful, but will forget before ever using"
21:37
< iofficespace>
IT'S A SIGTARP
21:37
< iofficespace>
>_>
21:37
< iofficespace>
<_<
21:37 * ToxicFrog runs over iospace with a gdb
21:37 * iofficespace bashes ToxicFrog
21:38
<@Tamber>
Plus, if Win8 starts to get popular, I may just make a career out of selling bondage gear~ :p
21:39
<@Tamber>
It'll at least give the masochists something to do other than try support it~
21:39
< iofficespace>
Tamber: that's nothing
21:41
< Attilla>
what does Win8 do anyway
21:41
< Attilla>
i hear it is... lacking things
21:41
<@Tamber>
It confounds everyone who expected to get any work done on it.
21:41
< Attilla>
are businesses snapping it up?
21:42
< Noah>
*snort*
21:42
<@Tamber>
If you mean the discs, so nobody tries installing it, maybe.
21:42
<@ToxicFrog>
Attilla: reportedly, it works better on a tablet than win7 and, um, that's about it
21:42
< Noah>
S-sorry, I laughed so hard saliva came out my nose
21:42
< Attilla>
they take them into the forest to burn them
21:43
< Noah>
I mean, the still have the start button, but it comes up with this full screen metro crap, it's rather jarring
21:43
< Attilla>
ToxicFrog maybe Microsoft are ahead of their time! Like in 20 years everything will be done on tablets, whether these tablets will be the actual computers or if they are terminals so the business network will vary
21:43
< Attilla>
it will be very futuristic
21:44
< Noah>
Everything being sans keyboard? I think voice input would have to get far better
21:46
< Noah>
Blah, second person to not give me a tracking code
22:01
< Rhamphoryncus>
... I think I'd have been more productive writing my own perlin noise generator to generate a heightmap, rather than using gimp to do it
22:10
< celticminstrel>
Blargh, I need to figure out why it won't compile with the C++0x library...
22:11
< celticminstrel>
Sure, I can define move() myself, but why would I want to?
22:12
< celticminstrel>
First thing... apparently trying to instantiate a vector of a custom type throws an obscure template error...
22:32
< celticminstrel>
...seems like the entire mess resulted from me defining my own swap().
22:41 iofficespace is now known as iospace|afk
22:45
< Rhamphoryncus>
Are you using "using std;"?
22:56
< Tarinaky>
Shouldn't that be using namespace std; if you're importing a whole namespace?
23:06 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Operation timed out]
23:08
< Rhamphoryncus>
oops, yes
23:08
< Rhamphoryncus>
As you can see I'm highly familiar with it
23:08
<&McMartin>
please do not use namespace std
23:08
<&McMartin>
while it makes c++ less like java it does so by making it more like perl
23:10 You're now known as TheWatcher
23:12
< celticminstrel>
My general convention is to put "using namespace std" in my source files (usually) but never in the header files.
23:12
< celticminstrel>
I'm getting errors in the Boost filesystem library... maybe I need to build it myself against the different C++ library...
23:17
< celticminstrel>
It's a segfault when Boost tries to access string::empty().
23:17
<&McMartin>
Yeah, that's a strong hint that its idea of what a std::string is and what yours is are different.
23:17
< celticminstrel>
Alright then. :/
23:19
<&McMartin>
Alternately, that you're playing silly buggers with reinterpret_cast<std::string> and are being rewarded as a traitor deserves
23:19 * celticminstrel vaguely wonders whether it should go in /usr/lib or /usr/local/lib... why are there so many choices, anyway?
23:19
<@Tamber>
Historical raisins.
23:19
<&McMartin>
Under Control of Network Administrator vs. Under Control of Console Superuser.
23:19
< celticminstrel>
I'm not using reinterpret_cast, but this is Boost that's causing trouble. I have no idea what it's doing.
23:19
< celticminstrel>
Uh, which is which then...
23:19
<&McMartin>
For a single user, /usr/lib is where stuff you don't mind if OS upgrades annihilate goes.
23:20
< celticminstrel>
wxPython appears to be in local.
23:20
<&McMartin>
/usr/local/ is where Your Stuff goes, traditionally
23:20
< celticminstrel>
Oh okay.
23:21
< celticminstrel>
Why doesn't the C++0x tuple define get as a member function?
23:21
<&McMartin>
Got me
23:21
< JBeshir>
celticminstrel: You wouldn't get it.
23:21
< celticminstrel>
Boost did, but the standard doesn't appear to.
23:22
< JBeshir>
(I don't actually know. I don't get it either.)
23:22 JBeshir is now known as Namegduf
23:34
< celticminstrel>
Heh, the shell-script failed due to CRLF.
23:34
< celticminstrel>
Saying "bad interpreter".
23:42
< celticminstrel>
This was pretty easy to do once I actually figured out how.
23:44
< celticminstrel>
Boost.Python generated a ton of warnings.
23:53
< celticminstrel>
I wish this had some kind of status saying how close it is to being done.
23:53
<@ToxicFrog>
The last two pages of chat: Why I No Longer Use C++
23:54
< celticminstrel>
Hehe.
23:54
< celticminstrel>
Oh it's done.
23:57
< celticminstrel>
And of course it now works. Yay.
23:59 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
--- Log closed Sat May 26 00:00:04 2012
code logs -> 2012 -> Fri, 25 May 2012< code.20120524.log - code.20120526.log >

[ Latest log file ]