--- Log opened Mon Mar 24 00:00:36 2014 |
00:11 | <@Azash> | http://seclists.org/fulldisclosure/2014/Mar/332 |
00:56 | | Turaiel is now known as Turaiel[Offline] |
01:06 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
01:06 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
01:06 | | Derakon[AFK] is now known as Derakon |
02:05 | | Vorntastic [Vorn@Nightstar-fs6092.sub-70-211-18.myvzw.com] has joined #code |
02:08 | | Vornlicious [Vorn@Nightstar-fs6092.sub-70-211-18.myvzw.com] has joined #code |
02:11 | | Vorntastic [Vorn@Nightstar-fs6092.sub-70-211-18.myvzw.com] has quit [Ping timeout: 121 seconds] |
02:31 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
02:44 | | Vornlicious [Vorn@Nightstar-fs6092.sub-70-211-18.myvzw.com] has quit [[NS] Quit: Bye] |
02:56 | | Turaiel[Offline] is now known as Turaiel |
03:53 | | Derakon is now known as Derakon[AFK] |
03:54 | | Kindamoody[zZz] is now known as Kindamoody |
05:48 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:37 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
06:37 | | io\blah is now known as io\parents |
06:40 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
06:41 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
06:48 | | himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds] |
07:00 | | Netsplit *.net <-> *.split quits: @Syloq, @Alek, AverageJoe |
07:01 | | Netsplit over, joins: @Alek, AverageJoe, @Syloq |
07:01 | | Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [Ping timeout: 121 seconds] |
07:05 | | Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code |
07:05 | | mode/#code [+o Alek] by ChanServ |
07:24 | | Erik [8f610223@Nightstar-fsq7h2.mibbit.com] has joined #code |
07:56 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
08:26 | | Thalass [thalass@Nightstar-cmieal.bigpond.net.au] has joined #code |
08:26 | | mode/#code [+o Thalass] by ChanServ |
08:27 | | * Thalass figures out how to make tcp connections with python, ponders security re: same. |
08:29 | <~Vornicus> | Thalass: what're you connecting to? |
08:31 | <@Thalass> | My raspberry pi, which is running a little server.py script. At the moment all it does is print that it got a connection, and send a message to the client saying "thanks for connecting" (which the client also prints). |
08:31 | <~Vornicus> | You might want to use Twisted for that sort of thing; for a good time, call Syka on that one. |
08:32 | <@Thalass> | Of course now i've got a port exposed to the intarwebs. |
08:32 | | * Thalass nods |
08:32 | <@Thalass> | Now that i have it working, i'm going to see about making it safe in the long run. |
08:37 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
08:37 | | mode/#code [+o Red_Queen] by ChanServ |
08:37 | | Turaiel is now known as Turaiel[Offline] |
08:48 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
08:49 | | mode/#code [+o himi] by ChanServ |
09:10 | | Orth is now known as Reiver |
09:51 | | Kindamoody is now known as Kindamoody|afk |
10:05 | | Thalass [thalass@Nightstar-cmieal.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
10:21 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
11:26 | < HearingEarDog> | When did 5 Mbps become "read email and browse websites" tier? |
11:29 | < Erik> | When flash animations and video advertisements became standard issue? |
11:43 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:51 | | Syka [the@Nightstar-ivv.fm9.126.1.IP] has joined #code |
11:52 | | Syka is now known as NSGuest32269 |
12:10 | | NSGuest32269 [the@Nightstar-ivv.fm9.126.1.IP] has quit [Ping timeout: 121 seconds] |
12:17 | | Syka [the@Nightstar-ivv.fm9.126.1.IP] has joined #code |
12:18 | | Syka is now known as NSGuest65374 |
12:32 | <&McMartin> | Flash animations do fine at 3 Mbps |
12:39 | | NSGuest65374 [the@Nightstar-ivv.fm9.126.1.IP] has quit [Ping timeout: 121 seconds] |
12:42 | | Syka [the@Nightstar-ivv.fm9.126.1.IP] has joined #code |
12:43 | | Syka is now known as NSGuest52594 |
13:03 | < Erik> | I'm nesting Python dicts five deep to represent something vaguely XML-like. Am I doing it wrong? |
13:06 | < NSGuest52594> | Erik: nope |
13:06 | | NSGuest52594 is now known as Syk |
13:06 | < Syk> | Erik: how do you think serialising json works :D |
13:06 | < Erik> | OK |
13:06 | | * Erik carries on |
13:07 | < Syk> | Erik: it's all refs of refs to refs |
13:28 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code |
13:28 | | mode/#code [+o celticminstrel] by ChanServ |
13:52 | | Syk [the@Nightstar-ivv.fm9.126.1.IP] has quit [[NS] Quit: lol3g] |
14:07 | | * Erik wtfs as he is forced to use join() for some reason due to str()+str() returning tuple |
14:36 | <@gnolam> | Pastebin it? |
14:43 | < Erik> | Aha. It's not actually returning tuple, it just looks that way. One of the str() methods is getting a tuple passed instead of an element, which screws up later parsing because now it's trying to use the stringified tuple as a key, and the KeyError is printing the stringified tuple. |
14:43 | < Erik> | Which looked almost indistinguishable from getting a tuple, and KeyError doing the stringification on the way to raising error. |
14:45 | < Erik> | But why am I getting a tuple here in the first place? |
14:50 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
14:54 | < Erik> | o_O apparently calling dict[dereferenced_variable] is a KeyError. |
14:54 | < Erik> | Earlier in the program I had for(stuff):{magic happens involving variable "location"} and later in the program, outside that for loop, I attempt to access sites[location]. |
14:55 | < Erik> | This should be UndefinedError, shouldn't it? Unless I have managed to initialize the variable and forget about it. |
14:57 | < Erik> | Nope. Apparently it is KeyError. |
14:58 | < Erik> | ...and it seems the variable does not actually become dereferenced |
14:58 | < Erik> | It persists after end of loop |
15:03 | < Erik> | Welp, that surprised me. Mini demonstration: http://pastebin.starforge.co.uk/628 |
15:03 | | Erik [8f610223@Nightstar-fsq7h2.mibbit.com] has quit [[NS] Quit: Going home] |
15:21 | | io\parents is now known as iospace |
15:57 | <&ToxicFrog> | ErikMesoy: by "dereferenced" do you mean "undefined"? |
15:57 | <&ToxicFrog> | Because otherwise what you're saying doesn't make any sense. |
16:07 | <@ErikMesoy> | ToxicFrog: I'm saying that the sample code prints "spam is set to 4" where I expected "spam is set to dereferenced" because there are no references to spam any longer and so it would (in my expectation) get garbage-collected. |
16:09 | <@ErikMesoy> | I infer from your statement that "dereferenced" is probably the wrong way to refer to something what was uninitialized, became initialized, and isn't in use any more, but "de-initialized" sounded even wronger when I considered what to say. |
16:11 | <&ToxicFrog> | Why would you expect that to happen? |
16:11 | <&ToxicFrog> | When the loop exits, spam is 4. |
16:12 | <@ErikMesoy> | Because I expected spam to only exist inside the loop. |
16:12 | <&ToxicFrog> | And yeah, "dereferencing" is what you do to a reference type to get the value it returns to, e.g. dereferencing a pointer in C. |
16:12 | <&ToxicFrog> | Oh. |
16:12 | <&ToxicFrog> | Yeah, that's not how python works. |
16:12 | <&ToxicFrog> | It's function scoped, not block scoped. |
16:12 | <&ToxicFrog> | Any variable assigned to has a scope of the entire function; if outside a function, it has global scope. |
18:10 | | Kindamoody|afk is now known as Kindamoody |
19:34 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
19:34 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:50 | | Kindamoody is now known as Kindamoody[zZz] |
20:21 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code |
20:21 | | mode/#code [+o celticminstrel] by ChanServ |
20:44 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code |
20:44 | | mode/#code [+ao Derakon Derakon] by ChanServ |
20:44 | <&Derakon> | Quick question: recommended virtual desktop solution for Windows? (Win7) |
20:44 | <&Derakon> | nSpaces? |
20:45 | <&Derakon> | Specifically my use case here is that my boss doesn't like that the microscope control program uses more window space than is physically available, requiring windows to be layered on top of each other. |
20:45 | <&Derakon> | And we don't have the expansion slots to add a graphics card for more monitors. |
20:46 | <&Derakon> | So ideally I'd have something where the virtual desktops were extensions to the left/right/top/bottom of the real desktop and you could simply mouse between them. |
20:47 | <&ToxicFrog> | Back when I used windows for anything but gaming, I used Litestep, which included virtual desktops as an optional module. Kind of hairy to set up, though. |
20:47 | <&ToxicFrog> | I have no idea if it still exists or works on win 7, though. |
20:48 | <&ToxicFrog> | MKS XVision used to include a virtual desktop program, but it was limited to 2x2 and I'm not sure how configurable it was. |
20:48 | <&ToxicFrog> | I'm out of date on all this stuff; it's been 5+ years |
20:48 | <&Derakon> | 2x2 would be plenty honestly. We only really need 1. |
20:48 | <&Derakon> | The main thing I'd like is accessing them by mousing off the edge of the current display. |
20:48 | <&Derakon> | But I suspect I can teach my boss to use a keyboard shortcut or something instead. |
20:50 | <&ToxicFrog> | If you only need two, is there a particular reason why you can't just do two fullscreen windows and alt-tab between them? |
20:50 | <&ToxicFrog> | Or some kind of tabbed interface/ |
20:50 | <&Derakon> | The cockpit interface consists of something like a half-dozen different windows. |
20:50 | <&ToxicFrog> | Aah. |
20:50 | <&Derakon> | Oh, that's the other thing; I need certain windows to get assigned to the secondary desktop on program launch. |
20:51 | <&Derakon> | (Which is another reason the "extension of main desktop" approach would be helpful, since I could just set the window coordinates appropriately) |
20:52 | | * Derakon downloads Dexpot for the moment |
20:56 | <&Derakon> | ...bleh, it requires you to buy a license if you aren't using it for private use; apparently a non-profit university lab counts as non-private. |
20:56 | <&Derakon> | Oh well! |
21:17 | | Turaiel[Offline] is now known as Turaiel |
21:22 | | Turaiel is now known as Turaiel[Offline] |
21:22 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has quit [[NS] Quit: leaving] |
21:36 | | Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
21:40 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [[NS] Quit: ] |
21:42 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code |
22:25 | | ErikMesoy is now known as ErikMesoy|sleep |
22:51 | <&McMartin> | Bringing Cloudbuilt OST to work: a good move, given who crappy I otherwise feel |
23:03 | <@Reiv> | Cloudbuilt OST? |
23:03 | <@Reiv> | And whyfor the crappy |
23:04 | <&McMartin> | Original Soundtrack |
23:51 | | Derakon[AFK] is now known as Derakon |
23:57 | <&ToxicFrog> | I have just been listening to the Frozen OST all day. |
23:57 | <&ToxicFrog> | Consensus of corp IRC is that Let It Go is The Best Son. |
23:57 | <&ToxicFrog> | Song. |
--- Log closed Tue Mar 25 00:00:52 2014 |