--- Log opened Fri May 23 00:00:14 2014 |
01:05 | | NSGuest35897 is now known as JustBob |
01:05 | | mode/#code [+o JustBob] by ChanServ |
01:09 | | himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code |
01:09 | | mode/#code [+o himi] by ChanServ |
01:17 | | JackKnife [Z@Nightstar-ro94ms.balk.dk] has quit [Ping timeout: 121 seconds] |
01:37 | | [R] [rstamer@Nightstar-d7h8ki.org] has joined #code |
01:59 | | Derakon[AFK] is now known as Derakon |
02:14 | | Attilla [uid13723@Nightstar-ed0oqj.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
03:07 | | Turaiel[Offline] is now known as Turaiel |
04:02 | | Kindamoody[zZz] is now known as Kindamoody |
04:27 | | HotShot [fake@Nightstar-2gjgps.sfldmi.sbcglobal.net] has joined #code |
04:36 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:42 | | HotShot [fake@Nightstar-2gjgps.sfldmi.sbcglobal.net] has quit [[NS] Quit: Trespassers will be shot, Survivers will be shot again! [Time wasted on Mirc 14mins 50secs]] |
05:02 | | Derakon is now known as Derakon[AFK] |
05:10 | | thalass [thalass@Nightstar-1oulrh.bigpond.net.au] has joined #code |
05:10 | | mode/#code [+o thalass] by ChanServ |
05:23 | | Kindamoody is now known as Kindamoody[zZz] |
05:29 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
05:32 | | Turaiel is now known as Turaiel[Offline] |
05:33 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
06:16 | | celticminstrel [celticminst@Nightstar-g3ttc7.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:39 | | macdjord|slep [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Connection closed] |
06:39 | | macdjord|slep [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
06:39 | | mode/#code [+o macdjord|slep] by ChanServ |
07:04 | | Kindamoody[zZz] is now known as Kindamoody |
07:42 | | thalass is now known as Thalass|BRB |
08:37 | | himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds] |
09:21 | | Thalass|BRB [thalass@Nightstar-1oulrh.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
09:29 | | Kindamoody is now known as Kindamoody|afk |
10:47 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
10:47 | | mode/#code [+o himi] by ChanServ |
11:13 | | mode/#code [+o RchrdB] by ChanServ |
11:55 | | Thalass|BRB [thalass@Nightstar-1oulrh.bigpond.net.au] has joined #code |
12:02 | | Thalass|BRB is now known as Thalass |
12:18 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
12:19 | | mode/#code [+o JackKnife] by ChanServ |
12:22 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
13:01 | <@gnolam> | You know, the worst thing about working with named pipes is that you're constantly fighting the urge to pepper your code with "Ceci n'est pas une named pipe" comments. |
13:04 | <@RchrdB> | Heh. I can't think of any time when I've used a named pipe outside of a shell script. |
13:04 | <@RchrdB> | 99% of the time, working in an actually-nice programming language, I'd use an anonymous pipe pair from pipe(2) instead. |
13:19 | | Thalass [thalass@Nightstar-1oulrh.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
13:30 | | * Azash eyes his new, pristine yak |
13:31 | < luke> | As in the animal? |
13:31 | <@Azash> | Yep |
13:47 | <@gnolam> | Is it unusually hairy? |
13:48 | < luke> | I'd much prefer a new yacc personally. |
13:50 | <@Azash> | gnolam: It certainly was |
13:51 | <@Azash> | Unfortunately it wasn't the hair I was looking for |
14:25 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
15:01 | | NSGuest41477 is now known as ^Xires |
15:06 | | ^Xires is now known as Xires |
15:39 | | Derakon[AFK] is now known as Derakon |
17:03 | | celticminstrel [celticminst@Nightstar-g3ttc7.dsl.bell.ca] has joined #code |
17:03 | | mode/#code [+o celticminstrel] by ChanServ |
18:24 | <&Derakon> | Bleh. Of course as soon as I add more detailed logging, the exception I'm trying to track stops happening. |
18:25 | <@froztbyte> | heisenbugs \o/ |
18:25 | <@froztbyte> | gnolam: I haven't had that problem |
18:25 | <@froztbyte> | gnolam: but now I might |
18:28 | <&Derakon> | This is more like a Weeping Angels bug -- it stops happening when you look at it closely. |
18:29 | | * Azash spent today putting in roughly 200 print statements to get to the core of problems |
20:16 | | mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
20:16 | | mode/#code [+o mac] by ChanServ |
20:17 | | Netsplit *.net <-> *.split quits: @RchrdB, @macdjord|slep, @JustBob |
20:18 | | Netsplit over, joins: RchrdB |
20:20 | | NSGuest35897 [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
20:25 | | Netsplit *.net <-> *.split quits: NSGuest35897 |
20:28 | | JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
20:29 | | JustBob is now known as NSGuest5860 |
20:29 | | NSGuest5860 is now known as JustBob |
20:30 | | mode/#code [+o JustBob] by ChanServ |
20:35 | | Netsplit *.net <-> *.split quits: @JustBob |
20:38 | | NSGuest35897 [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
20:41 | | * Derakon prods Java, uses a Perl script to autogenerate 75 sets of gettter/setter functions. |
20:42 | <&Derakon> | Er, getter. |
20:42 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds] |
20:42 | < RchrdB> | that in a nutshell is why Java is lameballs |
20:42 | <&Derakon> | These functions are, for the moment, just acting as a front-end for a JSONObject that stores arbitrary image metadataâ¦problem being a lot of that metadata isn't arbitrary. |
20:42 | <&Derakon> | RchrdB: ehh, I'd have a similar problem with Python in this case. |
20:42 | <&Derakon> | It'd be slightly less verbose, but only because of the lack of types and braces. |
20:43 | < RchrdB> | er no? You don't ever write "class Foo(object): def getX(self): return self._x; get setX(self, x): self._x = x;" |
20:44 | <&Derakon> | Anyway, the plan is to shift at least our own code over to using the getters/setters instead of directly accessing the JSONObject, and then in the next major release version we can remove the non-metadata fields from it altogether. |
20:44 | <&Derakon> | RchrdB: depends. Do you want to have the ability to track who's modifying your data by adding a single print statement? |
20:44 | <&Derakon> | What if there are side-effects to changing the variable that need to be performed? |
20:46 | < RchrdB> | if you do that, you need to step away from Java for a moment, take a deep breath, read https://docs.python.org/2/library/functions.html#property and replace the whole lot with "class Foo(object): def __init__(self): self.x = 'whatever'" |
20:47 | <&Derakon> | Ah yeah, I forgot about properties, because I never got around to using new-style classes. |
20:47 | < RchrdB> | then, if you need to add side-effects, computation or any such thing to reads or writes to foo.x, you can do so without affecting existing Foo users by swapping it out for a descriptor later. |
20:47 | < RchrdB> | what |
20:48 | < RchrdB> | new-style classes have been in there since Python 2.2 |
20:49 | < RchrdB> | that's 12-13 years ago now |
20:49 | < RchrdB> | Derakon, seriously, wtf? Even CentOS 5.x ships Python 2.4! |
20:49 | <&Derakon> | Heh. |
20:50 | <&Derakon> | Developer inertia, I guess. |
20:50 | < RchrdB> | There really is no reason to use old-style classes in Python. Old-style classes even come with a substantial performance dip, IIRC. |
20:55 | < RchrdB> | Derakon, http://pastebin.com/fgngUjNp |
20:56 | < RchrdB> | Unless you were using multiple inheritance (don't, it's overcomplicated), you may well be able to speed your app up appreciably just by changing "class Foo:" to "class Foo(object):" everywhere. |
20:56 | <&Derakon> | RchrdB: no, I can't, because I'm working in Java now instead of Python ;_; |
20:57 | <&Derakon> | But I'll keep that in mind for future projects. |
20:57 | < RchrdB> | How can you even tell the difference? You were working in a Python dialect in which you had turned off a bunch of useful features by neglecting to read the "what's new in Python2.2" document! |
20:57 | < RchrdB> | er |
20:57 | < RchrdB> | Sorry, that was overly mean. |
20:59 | <&ToxicFrog> | Derakon: my condolences. |
21:03 | | Kindamoody|afk is now known as Kindamoody |
21:11 | <@Azash> | Is anyone here going to attend toorcon? |
21:44 | | Kindamoody is now known as Kindamoody[zZz] |
22:04 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:10 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
22:10 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
22:16 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
22:16 | | mode/#code [+o himi] by ChanServ |
23:08 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
23:08 | | mode/#code [+o Orthia] by ChanServ |
23:31 | | Turaiel[Offline] is now known as Turaiel |
23:55 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
23:57 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
--- Log closed Sat May 24 00:00:30 2014 |