--- Log opened Mon Jul 12 00:00:50 2010 |
00:35 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
00:43 | | Attilla [Attilla@Nightstar-91d110f2.threembb.co.uk] has quit [[NS] Quit: ] |
00:45 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Client closed the connection] |
01:44 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
02:38 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
03:13 | | cpux- [Moo@Nightstar-20a84089.dyn.optonline.net] has joined #code |
03:16 | | cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
03:17 | | cpux- is now known as cpux |
04:27 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
05:01 | | AnnoDomini [annodomini@Nightstar-21ad79b9.adsl.tpnet.pl] has joined #code |
05:01 | | mode/#code [+o AnnoDomini] by Reiver |
06:33 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:36 | | cpux is now known as shade_of_cpux |
07:17 | | Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has joined #code |
10:20 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
11:00 | | AbuDhabi [annodomini@Nightstar-8dec737c.adsl.tpnet.pl] has joined #code |
11:02 | | AnnoDomini [annodomini@Nightstar-21ad79b9.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
11:04 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Operation timed out] |
11:07 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
11:18 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
11:23 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
12:09 | <@Vornicus> | Quiet in here today. |
12:11 | | * AbuDhabi streams POWER METAL into the channel. |
12:18 | | * gnolam is fiddling with beta/gamma probes. |
12:18 | < gnolam> | Amazingly, I think I captured all the needed sound data on the first go. |
12:18 | | Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has quit [Client exited] |
12:20 | <@Vornicus> | (like, literally, when I said that, the channel had been silent for 23 hours, 27 minutes, and 56 seconds.) |
12:33 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
13:05 | < gnolam> | Everyone's computers have overheated. Nobody's been able to IRC. |
13:10 | < AbuDhabi> | It is too hot to think. |
13:10 | < AbuDhabi> | Can't brain. |
13:15 | <@Vornicus> | You have the dumb? |
13:16 | | * AbuDhabi laughs his ass off at the bats in the 1931 Dracula film. |
13:55 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
13:59 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
14:10 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed] |
14:22 | | shade_of_cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
16:07 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
17:08 | <@ToxicFrog> | \o/ |
17:08 | <@ToxicFrog> | Just ported one of my java plugins for jedit to scala. |
17:11 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed] |
17:39 | | Attilla [Attilla@Nightstar-dd554ea9.threembb.co.uk] has joined #code |
17:39 | | mode/#code [+o Attilla] by Reiver |
17:53 | | simon_ [simon@Nightstar-a12ff716.gjk.dk] has quit [Ping timeout: 121 seconds] |
17:53 | | simon_ [simon@Nightstar-a12ff716.gjk.dk] has joined #code |
18:07 | <@ToxicFrog> | Flarghle |
18:07 | <@ToxicFrog> | I now find myself trying to write jedit -macros- in Scala. |
18:07 | <@ToxicFrog> | It goes poorly. ;.; |
18:11 | <@Vornicus> | I'm having trouble imagining macros in a functional language. Well, okay, I can vaguely see it, but you have to return the entire modified thingy, and that's probably a bit much! |
18:16 | < gnolam> | Hmm... DIP or PLCC, that is the question. |
18:17 | <@Vornicus> | DIPLCC, clearly |
18:18 | <@Vornicus> | building hardware, are we? |
18:19 | < gnolam> | Yup. |
18:20 | < gnolam> | Friend of mine scored me a wire wrap gun for free, and that takes most of the drudge (soldering) out of electronics building. |
18:23 | <@Vornicus> | arg what's that stuff callled |
18:24 | < gnolam> | ? |
18:26 | <@Vornicus> | Green stuff with holes in. |
18:26 | <@ToxicFrog> | Vornicus: Scala is functional in the Scheme sense, not the Haskell sense. |
18:27 | <@ToxicFrog> | And the jedit scripting language is Beanshell, which is an interpreted version of Java. |
18:27 | < gnolam> | Vornicus: A losing army. |
18:27 | <@Vornicus> | Aha, that makes one's life easier. |
18:27 | < gnolam> | Or some sort of prototype board? |
18:27 | <@Vornicus> | gnolam: no, it's, uh. a board. For diy electronics. Don't remember what it's called. |
18:27 | <@ToxicFrog> | PCB? |
18:27 | <@ToxicFrog> | Printed circuit board? |
18:27 | < gnolam> | Breadboard? |
18:28 | <@ToxicFrog> | Breadboards usually aren't green, though. |
18:28 | <@ToxicFrog> | So, since jedit plugins are Java, and thus can be written in Scala as well, it feels like jedit macros should be scalable as well. |
18:28 | <@Vornicus> | Not printed though, and not a breadboard either, this has no intrinsic connections. |
18:28 | <@ToxicFrog> | But they aren't. :( |
18:29 | <@Vornicus> | It's just really a board with holes in, you can hook up chips and wires as you will and solder the stuff on. |
18:29 | <@Vornicus> | and the little holes hold DIPs in place. I don't know if there's ones for types other than DIP though |
18:29 | <@ToxicFrog> | Prototype board? Solderboard? Stripboard? |
18:29 | < gnolam> | I'll put it as "some sort of prototype board" then. There are gazillions of brands of those. |
18:30 | <@ToxicFrog> | "Veroboard" in the UK, since they're the most prevalent manufacturer of same. |
18:30 | <@ToxicFrog> | That said, I'm not 100% sure we're discussing the same thing, since all of the stripboards I've used have been brown, not green. |
18:30 | <@ToxicFrog> | http://en.wikipedia.org/wiki/Stripboard |
18:31 | <@Vornicus> | Ah, I found it. "perfboard" |
18:31 | <@Vornicus> | http://en.wikipedia.org/wiki/Perfboard |
18:31 | <@Vornicus> | ...which has, at the top, "It has been suggested this article be merged into stripboard" |
18:32 | <@ToxicFrog> | The main (and only, AFAIK) distinction is that a stripboard has copper strips linking rows of holes, whereas a perfboard has individual copper pads. |
18:32 | <@ToxicFrog> | (also, arguably all stripboards are perfboards) |
18:32 | <@Vornicus> | But yeah. I don'tknow if you get stripboard/perfboard in plcc format, is the thing. |
18:35 | <@ToxicFrog> | plcc? |
18:35 | <@Vornicus> | The square kind of chip. |
18:35 | < gnolam> | I'm going to socket them either way, so it doesn't matter (you can get sockets in pretty much whatever mounting format you desire). :) |
18:35 | <@Vornicus> | http://en.wikipedia.org/wiki/Plastic_leaded_chip_carrier |
18:44 | | * Vornicus goes to bed now. |
18:46 | | Vornicus is now known as Vornicus-Latens |
19:37 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
19:38 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Client closed the connection] |
19:45 | < gnolam> | Hee. Systems Hungarian goes bad with my sometimes puerile humor. |
19:45 | < gnolam> | I'm trying very very hard not to comment if (pScreen) { |
19:45 | < gnolam> | with // Drug test |
19:51 | | Derakon [Derakon@Nightstar-1ffd02e6.ucsf.edu] has joined #code |
19:51 | | mode/#code [+o Derakon] by Reiver |
19:51 | <@Derakon> | Guten morgen. |
19:53 | < AbuDhabi> | GUTEN TAG! *opens fire with dual-wielded miniguns* |
19:53 | <@Derakon> | Question for all y'alls -- my boss is annoyed by the presence of the black terminal windows that show up when we launch our various programs. Anyone know, generally speaking, what controls the presence of these windows and how we could remove/minimize them? I'm not a Windows dev by trade... |
19:58 | < Namegduf> | Tell them the only way is to use Linux |
19:58 | < Namegduf> | Either they go away, or you get to use Linux. |
19:58 | < Namegduf> | Win-win. |
19:59 | < Namegduf> | (Sadly, I don't have a real answer...) |
19:59 | <@Derakon> | "get to use Linux" == "spend a month porting the program to no gain in functionality" |
19:59 | <@Derakon> | Ideologically I'd like to be on Linux instead of Win7 but pragmatically I can't justify it. |
20:02 | <@ToxicFrog> | Derakon: if building the program, build it as windows gui subsystem rather than windows console subsystem. With mingw this is '-mwindows', IIRC. Not sure about other environments. |
20:03 | <@ToxicFrog> | If running it from a shell or batch file, use, IIRC, the 'run' command, possibly with some arguments I don't remember. |
20:03 | <@Derakon> | TF: ah, thanks. |
20:03 | < gnolam> | -mwindows is deprecated though. |
20:04 | < gnolam> | It's -Wl,--subsystem,windows now for no apparent reason. |
20:04 | <@Derakon> | Well, I'm building with VS anyway. |
20:04 | <@Derakon> | (Again, ideologically mingw would be better but this works and porting this code would not, I suspect, be very pleasant) |
20:05 | <@ToxicFrog> | gnolam: presumably because -m is the command line equivalent of #pragma, and now that there's a linker option for it -m is unnecessary. |
20:05 | <@ToxicFrog> | Derakon: it should be somewhere in the project/build options then. I think. |
20:07 | <@Derakon> | Yeah. |
20:15 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Client closed the connection] |
20:15 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
20:21 | | * Derakon arghs at Python, really wants proper scoping and/or currying support. |
20:27 | <@ToxicFrog> | You and me both. |
20:34 | <@Derakon> | ...and now I want pass-by-reference, oh well. |
20:35 | <@Derakon> | (That is, I have a list I'm constructing as I generate objects, but I want each object to have access to that list in its final form) |
20:35 | <@Derakon> | (Trivially done with a second pass, but that's ugly) |
20:40 | <@ToxicFrog> | (I thought Python lists were mutable?) |
20:41 | <@Derakon> | for foo in list: self.list.append(Foo(foo, self.list)) |
20:41 | <@Derakon> | The Foo doesn't have access to a complete instance of self.list as it is copied when the constructor is called. |
20:41 | <@ToxicFrog> | Does it need the complete list at construction time? |
20:41 | <@Derakon> | No. |
20:41 | <@ToxicFrog> | I don't see the problem then. |
20:41 | <@Derakon> | So I could easily pass it along later, yes. |
20:41 | <@Derakon> | But that's ugly. |
20:41 | <@ToxicFrog> | No, no |
20:42 | <@ToxicFrog> | I mean, start with empty list, pass (reference to) that to the ctor; python lists are mutable, so it's still the same list, it just holds different stuff - yes? |
20:42 | <@Derakon> | Okay, then how do I tell Python to pass a reference to a list? |
20:44 | <@Derakon> | Hm, reading online it seems like this should work, but my one test didn't. Maybe I mucked it up somehow. |
20:46 | <@ToxicFrog> | AIUI, you should be able to: a = []; b = a; b.append("foo"); and now a == b should still hold. |
20:46 | <@Derakon> | It does, in a quick test. |
20:47 | <@Derakon> | Though note no function invocations are involved there. |
20:47 | <@Derakon> | If you tossed a function in, then you'd pass a copy of the reference around -- mutating that assigns a new different reference, leaving the original untouched. |
20:53 | <@ToxicFrog> | Yes. But mutating the object it points to should be fine. |
20:59 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
21:13 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code |
21:19 | | aoanla [AndChat@35E323.ECC65E.4942AC.1F535B] has joined #code |
21:20 | | aoanla [AndChat@35E323.ECC65E.4942AC.1F535B] has quit [[NS] Quit: ] |
21:22 | | Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
21:35 | | Derakon [Derakon@Nightstar-1ffd02e6.ucsf.edu] has quit [Ping timeout: 121 seconds] |
22:00 | < gnolam> | http://www.doctoroctoroc.com/8BitJesus/ <- Win! :D |
22:00 | | Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
22:28 | | * gnolam does a little happy dance. |
22:29 | < gnolam> | I don't have to do any animation after all! |
22:30 | < gnolam> | I had just gotten it into my head that arms straight out was the official Party Position, but it's not - it's a ~30 degree outward angle. Which is the default skeleton position! |
22:34 | < gnolam> | Related: http://www.lysator.liu.se/~gnolam/temp/I28_probe_1.avi |
23:04 | | AbuDhabi [annodomini@Nightstar-8dec737c.adsl.tpnet.pl] has quit [[NS] Quit: leaving] |
23:13 | | You're now known as TheWatcher[T-2] |
23:15 | | You're now known as TheWatcher[zZZZ] |
23:15 | | Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has joined #code |
23:18 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed] |
23:21 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
--- Log closed Tue Jul 13 00:00:51 2010 |