--- Log opened Fri Sep 14 00:00:01 2012 |
00:04 | | Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has joined #code |
00:17 | | * Vornicus discovers that foo(*a, *b) doesn't work. Oh well. |
00:18 | <&McMartin> | What about foo(*(a + b))? |
00:18 | <~Vornicus> | works! |
00:25 | | * Vornicus decides that looks bad anyway. |
00:26 | < simon__> | has anyone here used Data.Lenses in Haskell? |
00:26 | < simon__> | I'm curious if they're actually used by people. |
00:38 | | Derakon[AFK] is now known as Derakon |
00:50 | < gnolam> | Rargh |
00:51 | < gnolam> | I _know_ you used to be able to download the actual wxPython documentation and not just the wx documentation. |
00:51 | < gnolam> | But I can't for the life of me find it. |
00:51 | <&Derakon> | The wxPython docs are usually the first thing I find when googling for WX terms. |
00:51 | <&Derakon> | Not downloadable, just the web docs. |
00:51 | < gnolam> | I want them offline. |
00:51 | | You're now known as TheWatcher[T-2] |
00:52 | <@TheWatcher[T-2]> | wget time~ |
00:52 | | * gnolam adds "the only way to get offline docs is with wget" to the list of offences for which you should be legally allowed to kneecap the developers. |
00:52 | <@TheWatcher[T-2]> | >.> |
00:53 | <&Derakon> | You could probably also get the docs by downloading the source code and then running whatever generator they used to make them~ |
00:58 | | You're now known as TheWatcher[zZzZ] |
01:04 | <&Derakon> | So, my major accomplishment for today is generating an 1800-line diff file for me to go over tomorrow. ?.? |
01:05 | <&Derakon> | On the plus side, I've managed to import a fairly significant custom widget from the old cockpit to the new one. |
01:05 | <&McMartin> | w00t |
01:06 | <&Derakon> | (Maybe if this project pans out I'll have someone besides me-from-the-future to do my code reviews!) |
01:20 | | iospace is now known as io\PACKERS |
01:31 | | Kindamoody is now known as Kindamoody[zZz] |
02:31 | | Attilla [Obsolete@Nightstar-aa99279a.as43234.net] has quit [Ping timeout: 121 seconds] |
03:50 | | cpux|2 is now known as cpux |
04:59 | | io\PACKERS is now known as io\WOOO |
05:18 | | io\WOOO is now known as iospace |
05:37 | | ErikMesoy|sleep is now known as ErikMesoy |
05:47 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
06:44 | | Derakon is now known as Derakon[AFK] |
07:03 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
07:23 | < froztbyte> | Derakon[AFK]: cockpit? |
07:35 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
07:38 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Client closed the connection] |
07:39 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
07:39 | | mode/#code [+o himi] by ChanServ |
08:31 | | Kindamoody[zZz] is now known as Kindamoody |
08:50 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
08:56 | | Kindamoody is now known as Kindamoody|out |
09:00 | | You're now known as TheWatcher |
09:04 | | Attilla [Obsolete@Nightstar-aa99279a.as43234.net] has joined #code |
09:23 | <@TheWatcher> | froztbyte: the microscope control software he's been working on |
09:23 | < froztbyte> | ah |
09:25 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
09:25 | | mode/#code [+o himi] by ChanServ |
10:32 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
12:37 | | Nemu [NeophoxProd@Nightstar-9610f4cb.asahi-net.or.jp] has joined #code |
14:29 | | Attilla_ [Obsolete@Nightstar-f22d71b8.as43234.net] has joined #code |
14:31 | | Attilla [Obsolete@Nightstar-aa99279a.as43234.net] has quit [Ping timeout: 121 seconds] |
14:33 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
14:56 | | ErikMesoy is now known as ErikMesoy|Nordmarkskapellet |
15:22 | | Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has quit [Client exited] |
16:10 | | * gnolam ponders Visual Studio 2012. |
16:13 | <@TheWatcher> | ? |
16:36 | < gnolam> | Some C++11 would be kind of nice. |
16:37 | | * gnolam is currently using VS2008 out of inertia. |
17:20 | < RichyB> | Out of curiosity, which edition(s) of VS did you buy? |
17:20 | < RichyB> | buy/acquire through university schemes/whatever |
17:36 | < gnolam> | Of 2008? |
18:05 | < RichyB> | Any. |
18:06 | < RichyB> | Like, do people actually buy the "enterprise"-branded ones? |
18:10 | <&ToxicFrog> | What's legal python for 'with exp1,exp2 as name1,name2: stuff'? |
18:11 | | Attilla_ [Obsolete@Nightstar-f22d71b8.as43234.net] has quit [[NS] Quit: ] |
18:27 | | Attilla [Obsolete@Nightstar-f22d71b8.as43234.net] has joined #code |
18:34 | < gnolam> | RichyB: Professional for 2008. |
18:35 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code |
18:35 | | mode/#code [+o Vash] by ChanServ |
19:48 | | Kindamoody|out is now known as Kindamoody |
20:45 | <&jerith> | ToxicFrog: Just that, I think. |
20:46 | <&jerith> | I tend not to use it, because it was only added in 2.6 any most of my Python has had to be 2.5-compatible. |
20:47 | <&ToxicFrog> | Yeah, I'm targeting 2.7 here |
20:48 | <&ToxicFrog> | And it turns out that the problem I was having is that the semantics for with are not quite what I believed them to be and, in particular, it does not work with every type. |
20:48 | <&jerith> | with syntax is for context managers. |
20:48 | <&jerith> | What are you trying to do? |
20:49 | <&ToxicFrog> | open two dbm files simultaneously, iterate them both, and then close them both. |
20:49 | < gnolam> | RichyB: but I have an Ultimate 2010 and a Premium 2012 I honestly haven't tried yet. |
20:50 | < gnolam> | (3rd party SDKs that were slow to update followed by plain old inertia) |
20:51 | <&jerith> | ToxicFrog: You probably need something like: |
20:51 | <&jerith> | with file('foo') as f1: |
20:51 | <&jerith> | with file('bar') as f2: |
20:51 | <&jerith> | dostuff(f1, f2) |
20:52 | <&ToxicFrog> | Well, it would be 'with dbm.open(...) as db1: ...etc' |
20:56 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
20:58 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
21:04 | <&jerith> | Whatever dbm.open() returns would have to implement the contextmanager protocol |
21:09 | < ToxicFrog> | jerith: yeah, and it looks like it doesn't |
21:09 | <&jerith> | Ah. |
21:09 | <&jerith> | You can write a wrapper for it. |
21:09 | <&jerith> | But that might not be worth the effort if it's a once-off. |
21:10 | < ToxicFrog> | Yeah, not for this. |
22:47 | | Kindamoody [Kindamoody@Nightstar-05577424.tbcn.telia.com] has left #code ["Whoops, wrong window focus again!"] |
23:03 | < iospace> | dear expect |
23:03 | < iospace> | when you error out |
23:03 | < iospace> | please tell me what damn line you're erroring out on |
23:03 | < iospace> | with a number |
23:04 | <&McMartin> | Line <stdin> |
23:05 | < iospace> | McMartin: actually i take that back, it does tell you what line it failed out of |
23:05 | < iospace> | int he damn function, not the file |
23:06 | < iospace> | there |
23:06 | < iospace> | son of a bitch |
23:07 | < iospace> | i hate expect |
23:27 | <&McMartin> | Why do you have to contend with expect =( |
23:27 | <&McMartin> | Client/Server is nice, but expect is the worst kind |
23:30 | < iospace> | McMartin: because we have a plethora of shells we test |
23:34 | | * Vornicus doesn't know what expect even does |
23:35 | <&McMartin> | expect is the program you use to handle the dialup protocols |
23:35 | <&McMartin> | expect "ogin:", type the login, then expect "assword:", then type the password, etc. |
23:35 | <@Vash> | what |
23:36 | <&McMartin> | You can't expect "password" because what if it's "Password"? |
23:36 | <@Vash> | oh, so like, when people are being done in the ass and the word for stoping is the passowrd, ok |
23:36 | | * Vash fleeeeeeeeees |
23:36 | <~Vornicus> | So it hangs around waiting for strings to come in over the line and --- |
23:36 | <~Vornicus> | I'm... apparently marrying that. |
23:36 | <&McMartin> | That's "expect 'afeword:'" |
23:36 | <@Vash> | McM took it better than you did. |
23:36 | <@Vash> | Maye I should just steal McM and marry him instead |
23:36 | <@Vash> | Maybe, even |
23:37 | <@Vash> | Anyway |
--- Log closed Sat Sep 15 00:00:40 2012 |