code logs -> 2012 -> Sun, 10 Jun 2012< code.20120609.log - code.20120611.log >
--- Log opened Sun Jun 10 00:00:06 2012
00:13 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
00:13 mode/#code [+o Alek] by ChanServ
00:23
< Rhamphoryncus>
So, now that I have the real version of KSP (not just the demo), can someone suggest appropriate mods? I have novapunch so far.
00:24 Chi [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
00:24 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [NickServ (GHOST command used by Chi)]
00:25 Chi is now known as Alek
00:25 mode/#code [+o Alek] by ChanServ
00:34
< Tarinaky>
Rhamphoryncus: I play without mods.
00:34
< Tarinaky>
Mods are cheating!
00:35
< Rhamphoryncus>
Mods are not waiting for the devs to add more ;)
00:43
<&McMartin>
05:30 <&jerith> Is this your first foray into decent test coverage, or just your first on this project?
00:43
<&McMartin>
My first on this project, because it was a My First Program back when I wrote it.
00:44
<&McMartin>
This was a fun case because the bug I caught *wasn't what I was testing for there*, though.
00:44
<&McMartin>
Tamber: Since it looks like nobody actually answered you - I'm in the middle of wrapping up a project for writing an assembler for the 6502-series chips in Python.
00:45
<&McMartin>
That chip is the one the Atari 2600, NES, and Commodore 64 used.
00:45
<&McMartin>
And yeah, that's a retrodev project.
00:45 io|FOOD is now known as iospace
00:50
<&McMartin>
jerith: Also, sadly, most of my stuff at work does not admit to unit tests =(
00:50
<&McMartin>
Everything remotely interesting about it is intrinsically systemic.
01:15 iospace is now known as io|HOCKEY
01:38
< celticminstrel>
Does SDL take ownership of an event once you push it?
02:07
< Rhamphoryncus>
I think it copies the struct
02:12 Vash [Vash@Nightstar-241cb5d4.wlfrct.sbcglobal.net] has joined #code
02:12 mode/#code [+o Vash] by ChanServ
02:15 Kindamoody[zZz] is now known as Kindamoody
02:18 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
02:18 mode/#code [+ao Derakon Derakon] by ChanServ
02:58 maoranma [nbarr@490720.C448F4.12FDC5.2C3558] has joined #code
03:01 Derakon is now known as Derakon[AFK]
03:01 Noah [nbarr@D5CC77.617194.CB4DCA.F84ABC] has quit [Ping timeout: 121 seconds]
03:53 Derakon[AFK] is now known as Derakon
03:56 Attilla [Obsolete@Nightstar-faef4021.as43234.net] has quit [Ping timeout: 121 seconds]
03:56 io|HOCKEY is now known as iospace
04:41 Kindamoody is now known as Kindamoody|breakfast
05:10 Kindamoody|breakfast is now known as Kindamoody
05:16 * Derakon eyes Firefox.
05:17
<&Derakon>
Y'know, I'd much rather have just an empty white space when looking at a new tab, rather than a bunch of thumbnails of places you think I want to go to.
05:19
<&Derakon>
...ah, a completely nondescript button (looking like a 3x3 grid of grey rectangles) disables it.
05:32
< Rhamphoryncus>
heh
05:35
< Orthia>
hey, jerith
05:35
< Orthia>
what was that thingy with the IRC that let you have a client?
05:36
<@ToxicFrog>
That...what?
05:37 Vash [Vash@Nightstar-241cb5d4.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
05:37
<@ToxicFrog>
Orthia: Screen? ZNC? NX? quassel? smuxi?
05:41
< iospace>
ToxicFrog: screen isn't an irc client...
05:41
< iospace>
._.
05:50
<@ToxicFrog>
iospace: neither are ZNC or NX, but I'm taking a wild stab at what "let you have a client" means here
05:52
< Orthia>
ToxicFrog: It was an IRC client that let you connect to a personal server, and in doing so get backscroll, etc.
05:52
< Orthia>
Not entirely unlike IRSSI, but without the Linux~
05:54
<&Derakon>
Sounds to me like irssi running under screen, yeah.
05:54
<&Derakon>
Perhaps with a prettier GUI on top.
05:54
<@ToxicFrog>
Orthia: quassel or smuxi, then
05:55
<@ToxicFrog>
If it worked with any client, rather than being a single client split into client and server halves, it was either ZNC (runs a proxy that the client connects to) or screen/NX (lets you detach from the actual client while leaving it running on the server)
05:55
<@ToxicFrog>
But from your description I'm betting it was Quassel
06:00
< iospace>
i know franny uses quassel
06:05 iospace is now known as io|t-2
06:11 io|t-2 is now known as iospacedout
06:11 Derakon is now known as Derakon[AFK]
08:50
< Orthia>
Quassel, thank you :)
08:52 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!]
09:13
< Rhamphoryncus>
Which shows you how a terribly vague question can get you the right answer *if* you respond to further inquiries well :)
09:25 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
09:32 Kindamoody [Kindamoody@Nightstar-6154a72a.tbcn.telia.com] has quit [[NS] Quit: reboot]
09:44 Kindamoody|afk [Kindamoody@Nightstar-6154a72a.tbcn.telia.com] has joined #code
09:44 mode/#code [+o Kindamoody|afk] by ChanServ
09:44 Kindamoody|afk is now known as Kindamoody
09:49
<&jerith>
Orthia: Yes, Quassel.
09:50
<&jerith>
It's built on QT, and the protocol is horrible and undocumented, but apparently works well.
09:50
<&jerith>
There are desktop clients and an android client.
10:29 You're now known as TheWatcher[afk]
12:19 Attilla [Obsolete@Nightstar-faef4021.as43234.net] has joined #code
12:52 Kindamoody is now known as Kindamoody|out
13:01 Attilla [Obsolete@Nightstar-faef4021.as43234.net] has quit [[NS] Quit: ]
13:03
< Tarinaky>
http://kwejk.pl/obrazek/1201790
13:49
<@rms>
Qt*
14:02 Attilla [Obsolete@Nightstar-faef4021.as43234.net] has joined #code
14:07 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
14:34 Kindamoody|out is now known as Kindamoody
14:59 maoranma is now known as Noah
15:37 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
15:38 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
15:40 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has left #code []
15:41 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
15:41
< celticminstrel>
[Jun 09@8:38:07pm] celticminstrel: Does SDL take ownership of an event once you push it?
15:41
< celticminstrel>
[Jun 09@9:07:21pm] Rhamphoryncus: I think it copies the struct
15:41
< celticminstrel>
If that's the case, why does it take a pointer?
15:44 iospacedout is now known as iospace
15:54
<~Vornicus>
because it's easy to pass a pointer to memcpy.
15:59
<@ToxicFrog>
If it took the struct as is, wouldn't it get implicitly copied on the stack anyways?
16:01
<~Vornicus>
Which would mean two copies; the event gets put into the queue, so it can't be in the stack afterwards.
16:05
< celticminstrel>
So does it needs to be freed by the caller?
16:06
<@ToxicFrog>
If you malloced it? Yes. But I'm not sure why you would have.
16:07
<@ToxicFrog>
Goddamnit, I'm going to have to install Scala on windows to debug this
16:37 Vash [Vash@Nightstar-241cb5d4.wlfrct.sbcglobal.net] has joined #code
16:37 mode/#code [+o Vash] by ChanServ
16:44
<@ToxicFrog>
brb burning down microsoft
16:44
< iospace>
haha
16:56
<@Tamber>
What, all of it?
16:57
<@ToxicFrog>
I'll start with the guys responsible for locale
16:57
<@ToxicFrog>
but who knows when I'll stop
17:12 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
17:17 Kindamoody is now known as Kindamoody|out
18:07 rms is now known as Vasi
18:15 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
18:46
< gnolam>
http://i.imgur.com/KQrPb.jpg
18:58 Kindamoody|out is now known as Kindamoody
19:04 Kindamoody is now known as Kindamoody[zZz]
20:04
< celticminstrel>
Why would I have malloc'ed it? Obviously because I thought SDL might expect it to stay around because it was passed by pointer.
20:05 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has left #code []
20:05 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
20:05 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has left #code []
20:05 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
20:05
< celticminstrel>
Argh, I closed the wrong window again.
20:27
< Noah>
I'm drawing a blank. Let's say I have a list of numbers, ie [1,1,2,2,3,3,4,4,5,5,6,6] - .index(3) will give me the first index, at index 4, but I want the last index, is that possible?
20:29
<@Vasi>
Is it always sorted?
20:30
< Noah>
Yes, am I looking for rindex?
20:30
< Noah>
Well, that's strings only
20:30
< Noah>
But yes, always sorted
20:30
<@Vasi>
l.count(3)
20:31
<@Vasi>
l[l.index(3) + l.count(3) - 1] // last 3
20:31
< Noah>
Ah, and add it to the first inex
20:31
< Noah>
I thought it should be that easy, and it was, thanks
20:32
<@Vasi>
Obviously, this only works when it's sorted
20:32
< Noah>
Obviously, but it is
20:33
<@Vasi>
l.reverse().index(3) and then more math to get it if it wasn't.
20:36
< gnolam>
len(set(foo))?
20:36
< Noah>
set would kill the duplicates, which are important in my case
20:38
< celticminstrel>
I'm considering rearranging to have two separate event loops, one using the event system for the menus and editor (where the mouse does stuff) and one for the actual game directly checking the keyboard state... but I have no idea if it would help.
21:05
< Tarinaky>
So. Getting back into developing my 4x game (slowly)...
21:06
< Tarinaky>
Contemplating whether giving each world special 'tags'/'traits' that unlock special techs for their controllers.
21:06
< Tarinaky>
Or provide some other benefit beyond just cash.
21:08
< Tarinaky>
Not sure whether they just make things more complicated though.
21:32
<@ToxicFrog>
Fuck java, fuck GUIs, fuck windows, and fuck Java
21:34
< Tarinaky>
throw new FuckYouException();
21:35
<@Vasi>
But Java is the one-true-language.
21:35
< Tarinaky>
Isn't that FORTRAN?
21:35
<@Vasi>
Everyone knows the one-true-language loves all of his children. Except the ones he drowns and orders murdered.
21:35
<@Vasi>
Why don't you love the mecriful one-true-language?
21:37
<@ToxicFrog>
Vasi: even if Java were a pleasant language to use, which it's not, running Java apps on windows is a clusterfuck
21:37
<@Vasi>
To be fair. I've yet to figgure out how to make Java find a fucking class I told it to import.
21:38
<@Vasi>
So I've yet to get any Java project that's more than one file with no external libs to work.
21:41
< Noah>
that moment when your code is so smelly is makes your eyes sting
21:42
< Noah>
[die for die in dice if die <= 3] is a lot better than the index-count thing I was doing earlier
21:52
<@ToxicFrog>
Vasi: er. If it's in a jar, add the jar to the classpath. If it's in a classfile, make sure the directory containing it is in the classpath. If it's source, make sure it's in the same place as the rest of the program.
21:52
<@ToxicFrog>
Java has many issues but link resolution isn't really one of them
21:53
<@Vasi>
Honestly, I've spent way too much time on that to care anymore.
21:53
<@Vasi>
I'd have been happier a long time ago if I didn't have to strace java to try and figgure it out.
21:53
<@ToxicFrog>
...
21:54
<@ToxicFrog>
Yeah, this is all (a) straightforward and (b) documented, if you were resorting to strace you went off the rails somewhere
21:55
<@Vasi>
I dunno
21:56
<@Vasi>
I would have appreciated an error message that informed me where it was looking though. Since I did do the obvious solution of CLASSPATH=.
21:57
<@Vasi>
Eitherway, preoccupied
21:58 * Vornicus eyes nicks in here. Is occasionally confused
22:00
<@Vasi>
Exalted games run on Tuesday, Saturday and Sunday
22:03
<~Vornicus>
I see.
22:06 You're now known as TheWatcher
22:15 Vasi is now known as rms
22:48
<&McMartin>
13:36 <@ToxicFrog> Vasi: even if Java were a pleasant language to use, which it's not, running Java apps on windows is a clusterfuck
22:48
<&McMartin>
whut
22:48
<&McMartin>
Double click jar, done
22:49
<&McMartin>
Package as exe, run that, done
22:49
<&McMartin>
[* require JRE to be installed, but EXE packager checks that]
22:49
<&McMartin>
I recall basically zero issues with Blorple when I was doing that.
23:11 Kindamoody[zZz] [Kindamoody@Nightstar-6154a72a.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
--- Log closed Sun Jun 10 23:24:56 2012
--- Log opened Sun Jun 10 23:25:35 2012
23:25 TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code
23:25 Irssi: #code: Total of 25 nicks [7 ops, 0 halfops, 0 voices, 18 normal]
23:25 mode/#code [+o TheWatcher] by ChanServ
23:26 Irssi: Join to #code was synced in 39 secs
23:39
<@ToxicFrog>
McMartin: sorry, running command line Java apps on windows is a clusterfuck.
23:39
<@ToxicFrog>
Stuff that works in javaw.exe is fine, yeah.
23:59 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
--- Log closed Mon Jun 11 00:00:29 2012
code logs -> 2012 -> Sun, 10 Jun 2012< code.20120609.log - code.20120611.log >

[ Latest log file ]