code logs -> 2012 -> Thu, 08 Mar 2012< code.20120307.log - code.20120309.log >
--- Log opened Thu Mar 08 00:00:34 2012
00:17 You're now known as TheWatcher[T-2]
00:20 You're now known as TheWatcher[zZzZ]
00:25 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
00:29 maoranma [maoranma@Nightstar-18ea8aaa.pools.spcsdns.net] has joined #code
00:41 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
00:41 mode/#code [+o ToxicFrog] by ChanServ
00:50 Derakon[AFK] is now known as Derakon
00:52
< gnolam>
Analog readout... check.
00:52
< gnolam>
Pressure sensor... check.
00:52
< gnolam>
Mwahaha.
00:52
< gnolam>
MWAHAHAHAHAHA
00:56
< maoranma>
Quantum spacial coupling... nominal (or not).
01:00
<&McMartin>
Fizba wizh?
01:58
<&McMartin>
Man, what the heck
01:58
<&McMartin>
http://en.wikipedia.org/wiki/Digi-Comp_I
02:03 Kindamoody[zZz] is now known as Kindamoody
02:23 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
02:46
< maoranma>
119 nickles... and thems were 1960's nickles.
02:47
< maoranma>
Now $5 can buy you a functional computer
02:47
< maoranma>
three bit readout, haha
02:48 Attilla [Obsolete@Nightstar-ce4a0443.as43234.net] has quit [Ping timeout: 121 seconds]
02:48
< maoranma>
So it could count to seven
02:53
< maoranma>
Hmm...I just remembered that mIRC uses DDE...so I should be able to script DDE in Python with the proper module, giving me some better control...
03:00 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
03:01
< maoranma>
There's also SendMessage(), but that is vastly more complicated than DDE apparently
03:04
<~Vornicus>
the original Schlock used DDE to communicate with Python.
03:07
< maoranma>
I'll look into it later, but I think they'll be the way I go with it.
03:17 eckse [eckse@Nightstar-71a4f61a.dsl.sentex.ca] has joined #code
03:17 mode/#code [+o eckse] by ChanServ
03:19 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
03:19 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
03:27 * Vornicus tries to remember his github login
03:28
<~Vornicus>
ah, there we are
03:28
<~Vornicus>
okay
03:35
< celticminstrel>
DDE?
03:54 Derakon is now known as Derakon[AFK]
04:02 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
04:06 Kazriko [kazrikna@Nightstar-413b4588.client.bresnan.net] has quit [Ping timeout: 121 seconds]
04:16 Derakon[AFK] is now known as Derakon
05:27 Kindamoody is now known as Kindamoody|out
05:30 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
05:30 mode/#code [+o Syloqs_AFH] by ChanServ
05:31 Syloqs_AFH is now known as Syloqs-AFH
05:33 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Client closed the connection]
05:51 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
06:05 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
06:24 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:24 mode/#code [+o Syloqs_AFH] by ChanServ
06:26 eckse [eckse@Nightstar-71a4f61a.dsl.sentex.ca] has quit [Client closed the connection]
06:29 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
06:34 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:35 Syloqs_AFH is now known as Syloqs-AFH
06:35 mode/#code [+o Syloqs-AFH] by ChanServ
06:43 Derakon is now known as Derakon[AFK]
07:00 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
07:06 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
08:27 McMartin_ [mcmartin@Nightstar-7b12951b.pltn13.sbcglobal.net] has joined #code
08:31 McMartin [mcmartin@Nightstar-81c5287c.pltn13.sbcglobal.net] has quit [Ping timeout: 121 seconds]
08:45 You're now known as TheWatcher
08:59 Attilla [Obsolete@Nightstar-ce4a0443.as43234.net] has joined #code
09:56 RichyB [MyCatVerbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
12:01 thalass [thalass@Nightstar-07b2245e.bigpond.net.au] has joined #code
12:02
< thalass>
good evenink
12:09
< Stalker>
Murrr.
12:25
<@Alek>
sup thally boy?
12:26
<@Alek>
how's mel and the pupa?
12:34 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: If I had a world of my own, everything would be nonsense. Nothing would be what it is because everything would be what it isn't. And contrary-wise; what it is it wouldn't be, and what it wouldn't be, it would. You see?]
12:40
< thalass>
Mel is good, and the kids are asleep so everything is good now haha
12:43
<@Alek>
don't see ya around much.
13:11
< thalass>
I've been around
13:12
< thalass>
:P
14:43 thalass is now known as Thalasleep
15:06 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
15:06 mode/#code [+o Syloqs_AFH] by ChanServ
15:07 Syloqs_AFH is now known as Syloqs-AFH
15:14 Kindamoody|out is now known as Kindamoody
15:16 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
16:33 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
16:41 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
16:41 mode/#code [+o Vash] by ChanServ
18:01 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
18:09 Tarinaky is now known as Lowpass
18:14 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
18:20 ShellNinja is now known as Number3
18:51 Kindamoody is now known as Kindamoody[zZz]
19:03 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
20:25 maoranma [maoranma@Nightstar-18ea8aaa.pools.spcsdns.net] has quit [[NS] Quit: ]
20:27 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
20:27 mode/#code [+ao Derakon Derakon] by ChanServ
20:27
<&Derakon>
Man, porting this program to Windows is proving irritating...
20:28
<&Derakon>
Computer A generates files that represent jobs, uploads those files and some scripts to computer B, and submits them to a queue to be run.
20:28
<&Derakon>
Which worked just fine when both computers were *nix/OSX boxes.
20:29
<&Derakon>
But now I'm having to deal with path separator incompatibilities, a different temporary-file directory, line terminator mangling...
20:29
<&Derakon>
Bleh.
20:31
< RichyB>
There are libraries for handling this kind of nonsense. I don't know what the usual suspects are for C.
20:31
<&Derakon>
(To clarify, ordinarily only one of these -- the temporary-file directory -- would be an issue because the program uses libraries to get the appropriate values for its local OS)
20:31
< RichyB>
At a guess, how about trying "apr", the Apache Portable Runtime?
20:31
<&Derakon>
(The problem comes when it tries to use those same values for a different OS.
20:31
<&Derakon>
I'm in Python.
20:32
< RichyB>
Oh. Doesn't using os.path magically make everything work?
20:32
<@ToxicFrog>
Derakon: path seperators are consistent across OSes (use /), and both shoud support $TEMP
20:32
<@ToxicFrog>
Oh wait no
20:32
< RichyB>
Windows calls it %TMP% or something like that.
20:33
<&Derakon>
Oh, yeah, and Windows uses %HOMEPATH% instead of $HOME.
20:33
< RichyB>
But there's a tmpfile module in the standard library.
20:33
<&Derakon>
There is? I should check that out.
20:33
<@ToxicFrog>
Windows calls it %TEMP% and Linux calls it nothing except on some distros that set $TEMP.
20:33
<@ToxicFrog>
Windows does have OME% last time I looked.
20:33
<@ToxicFrog>
%HOME%
20:33
<&Derakon>
os.getenv('HOME') was returning None for me.
20:34
< RichyB>
Derakon, use mkdtemp for temporary directories http://docs.python.org/library/tempfile.html#tempfile.mkdtemp
20:34
<&Derakon>
Cool, thanks.
20:35
< RichyB>
Use `os.path` lots. That gets around the path separators, absolute paths and so on.
20:36
<&Derakon>
I do use os.path religiously.
20:36
<&Derakon>
But I had two problems.
20:36
<&Derakon>
First, I tried to use the same path locally and remotely (replicating a directory structure) without fixing the separators.
20:36
<&Derakon>
Second, I encoded paths into files and then tried to read those files on the remote OS.
20:36
< RichyB>
Ah, yes, that's going to be a problem.
20:37
< RichyB>
Can you use a flat directory structure and put only basenames of files (rather than whole paths) in?
20:37
<&Derakon>
So now I have separate variables for local and remote paths and I have to know which one to use where -- makes the code a bit messier.
20:37
<&Derakon>
I could but then the remote setup would be messier.
20:37
<&Derakon>
And while this is technically not something users should be mucking around in manually I'd still like to keep it clean.
20:38
< RichyB>
It's probably easier to rethink it so that you don't care about the remote directory layout than to rethink it so that you correctly distinguish local vs remote directories.
20:38
<&Derakon>
Well, I've already done the latter~
20:58 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
20:58 mode/#code [+o Vash] by ChanServ
21:09 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
21:25 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
21:25 mode/#code [+o ToxicFrog] by ChanServ
21:31 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
21:34 Attilla_ [Obsolete@Nightstar-e9d661d4.threembb.co.uk] has joined #code
21:36 Attilla [Obsolete@Nightstar-ce4a0443.as43234.net] has quit [Ping timeout: 121 seconds]
21:43 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving]
21:47 McMartin_ is now known as McMartin
21:47 mode/#code [+ao McMartin McMartin] by ChanServ
22:02 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
22:27 Attilla_ is now known as Attilla
22:31 maoranma [maoranma@Nightstar-18ea8aaa.pools.spcsdns.net] has joined #code
22:35 Thalasleep [thalass@Nightstar-07b2245e.bigpond.net.au] has quit [Client closed the connection]
23:08 maoranma [maoranma@Nightstar-18ea8aaa.pools.spcsdns.net] has quit [Client closed the connection]
23:12 maoranma [maoranma@Nightstar-18ea8aaa.pools.spcsdns.net] has joined #code
23:40 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
23:53 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
23:53 mode/#code [+o himi] by ChanServ
23:58 iospace [Alexandria@Nightstar-635d16fc.org] has quit [Operation timed out]
23:58 iospace [Alexandria@Nightstar-635d16fc.org] has joined #code
--- Log closed Fri Mar 09 00:00:50 2012
code logs -> 2012 -> Thu, 08 Mar 2012< code.20120307.log - code.20120309.log >

[ Latest log file ]