code logs -> 2011 -> Mon, 12 Dec 2011< code.20111211.log - code.20111213.log >
--- Log opened Mon Dec 12 00:00:12 2011
--- Day changed Mon Dec 12 2011
00:00 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
00:01
< McMartin>
There are, hm
00:01
< McMartin>
Two idiolects, at least
00:01
<@Namegduf>
If you really want to, that's what you'd need to do, but I don't know of any standard set of instructions for making Python do that.
00:01
< McMartin>
I know Ophis ran into some distro trouble because of this
00:01
< McMartin>
YOu had people who wanted it to go into the LSB style places and you wanted the people who wanted someting they could shove in their home directory and just let it go
00:01
<@Namegduf>
Yeah; I'm assuming this will never go into LSB-style places anyway
00:02
<@Namegduf>
Because it's not being installed through package management
00:02
<@Namegduf>
If it was, then it would just need to depend on Python and bang.
00:02
<@Tarinaky>
Just document the dependencies and let the Gods recognise their own :)
00:03
< McMartin>
Yeah, in this case it was distutils vs shell script that sets PYTHONPATH to its own directory and such
00:03
<@Namegduf>
That's really the best option for making it work more smoothly than just a listed dependency. Build up a bunch of packages for common distros and let their individual dependency systems deal with dependencies.
00:04
<@Tarinaky>
If you want to make it 'just work' you need to target a specific distro and work on a package just for that distro.
00:04
<@Tarinaky>
But most of that is just listing the dependancies in whatever syntax the package maker recognises.
00:05
<@Namegduf>
Well, a set of distros. You can roll any number of packages and the only extra things they need are dependency lists, yeah.
00:05
<@Namegduf>
But tarball-distributed Python programs are entirely usable anyway in general.
00:06
<@Namegduf>
"Needs Python X.Y", virtually everyone doesn't need to do anything and those few who do install it from package management themselves.
00:06
<@Namegduf>
(Well, unless X.Y is specific rather than a range. That could be painful.)
00:06
<@Tarinaky>
The Arch Linux users have to drag their feet and edit the shebangs to python2 but that's about it :)
00:07 abudhabi [abudhabi@Nightstar-d2500f5c.elitter.net] has joined #code
00:07 abudhabi is now known as AD[Shell]
00:20 AnnoDomini [annodomini@Nightstar-4ea39ceb.212.getinternet.no] has quit [[NS] Quit: Exit light, enter night!]
00:28 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
00:30 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
00:37 io|PACKERS is now known as iospace
00:45 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
00:46 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
00:48 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
01:05
< gnolam>
Blargh.
01:14
< Alek>
DeepThought.
01:45 Attilla [Obsolete@Nightstar-b8e915be.as43234.net] has quit [Ping timeout: 121 seconds]
02:03 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
02:16 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
02:55 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
03:01 Kindamoody[zZz] is now known as Kindamoody
03:15 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:40 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [[NS] Quit: testing]
03:46 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
04:22 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:38 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:39 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:57 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:58 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
05:35 Kindamoody [Kindamoody@Nightstar-5507a6b5.tbcn.telia.com] has left #code ["Whoops, wrong window focus again!"]
05:40 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Connection closed]
05:40 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
06:02 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Connection closed]
06:05 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
06:16
< cpux>
Anyway, it's 1:15. Here's Mumford & Sons to help you IT workers working at this crazy hour. http://youtu.be/3KkUeRPjc-Y
06:29 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
06:31 Kindamoody [Kindamoody@Nightstar-5507a6b5.tbcn.telia.com] has joined #code
06:38 Derakon is now known as Derakon[AFK]
07:33 Kindamoody is now known as Kindamoody|out
08:14 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
08:49 Attilla [Obsolete@Nightstar-b8e915be.as43234.net] has joined #code
09:26 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Client closed the connection]
09:26 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
09:31 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
10:00 AnnoDomini [annodomini@Nightstar-4ea39ceb.212.getinternet.no] has joined #code
10:31 * TheWatcher bleghs, tries to decide between fully AJAXing this web interface, or just going with simple dynamic pages with a little AJAX as needed in one place
10:32
< Tamber>
Use it where it's needed, lest you sink into the pit of "Ooh, shiny!"
10:34
< Tamber>
:)
10:34 * Tamber picks an "only" off the floor, dusts it off and reinserts into that sentence.
10:35
< McMartin>
But do use it where it's needed so as to not continuously reload gobs of random shit that hasn't changed.
11:11 Attilla [Obsolete@Nightstar-b8e915be.as43234.net] has quit [[NS] Quit: ]
11:29 Attilla [Obsolete@Nightstar-b8e915be.as43234.net] has joined #code
11:31 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
--- Log closed Mon Dec 12 11:49:37 2011
--- Log opened Mon Dec 12 11:49:46 2011
11:49 TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code
11:49 Irssi: #code: Total of 25 nicks [3 ops, 0 halfops, 0 voices, 22 normal]
11:50 Irssi: Join to #code was synced in 41 secs
--- Log closed Mon Dec 12 12:02:54 2011
--- Log opened Mon Dec 12 12:02:58 2011
12:02 TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code
12:02 Irssi: #code: Total of 25 nicks [3 ops, 0 halfops, 0 voices, 22 normal]
12:03 Irssi: Join to #code was synced in 43 secs
12:36 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
13:59 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Connection closed]
13:59 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
14:45 Kindamoody|out is now known as Kindamoody
15:01
< iospace>
screen is one of the most glorious utilities known to man
15:03
< AnnoDomini>
Yes.
15:26
< sshine_>
I never changed to tmux although I hear it's cool.
15:27
< iospace>
tmux?
15:27
< sshine_>
it's a screen clone.
15:27
< iospace>
ah
15:31 Kindamoody is now known as Kindamoody|out
15:34
< iospace>
i'm just used to screen -shrugs-
15:51
< iospace>
this has got to be the most... finacky thinkg ever
15:51
< iospace>
*thing
15:54 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Ping timeout: 121 seconds]
15:55 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
15:57 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
15:57 AnnoDomini [annodomini@Nightstar-4ea39ceb.212.getinternet.no] has quit [[NS] Quit: Away!]
16:51 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
16:57 * gnolam stabs Linux.
16:57 * Tamber gets a mop.
17:00
< gnolam>
Naturally, there's no os.startfile(). Because opening a file in the user's preferred application would just be too easy.
17:03
< Tamber>
Wait, so you're stabbing Linux for something in python? Or am I missing something? (Most likely)
17:04
< gnolam>
Yes.
17:04 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
17:04
< Tamber>
Okay. Which one? ;)
17:06
< TheWatcher>
All of them?~
17:08 * gnolam simply disables help in Linux.
17:08
< iospace>
oh linux
17:09
< iospace>
how you annoy me so -_-
17:09 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
17:10
< gnolam>
(Because any workaround is sure to cause even worse headaches)
17:12
< iospace>
=P
17:13 Kindamoody|out is now known as Kindamoody
17:14
< Tamber>
gnolam, so... if you were doing this on (say) BSD, you wouldn't have this problem? (i.e. does any other platform have an os.startfile that does what you expect?)
17:21 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Connection closed]
17:21 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
17:22
< gnolam>
I don't distinguish between BSD and Linux. Same shit, different name/license. :P
17:22
< TheWatcher>
Tamber: "Availability: Windows."
17:22
< Tamber>
...ah.
17:23
< Tamber>
Same shit being "It ain't Windows", then? :p
17:23
< TheWatcher>
Apparently
17:23 * Tamber throws ReactOS at gnolam
17:46 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Ping timeout: 121 seconds]
17:49 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
18:13
< gnolam>
Eh, if OS X had been a concern at all I could've stuck a one-line workaround in there (why it isn't available in Python itself is strange, though).
18:13
< gnolam>
Linux? Won't even bother looking up the ten gazillion mutually-incompatible ways to attempt it.
18:40 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [Connection closed]
18:40 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
18:50
<@Namegduf>
This sounds more like a failure of the Python runtime than of Linux.
18:51
<@Namegduf>
There are absolutely ways it could open stuff with a default program in Linux.
18:51
<@Namegduf>
It just doesn't.
19:00 Netsplit *.net <-> *.split quits: Alek, Vornicus, jerith
19:01 Netsplit over, joins: Vornicus
19:01 mode/#code [+qo Vornicus Vornicus] by ChanServ
19:01 Vornicus is now known as 459AAB4YH
19:01 Netsplit over, joins: jerith, Alek
19:01 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
19:01 ServerMode/#code [+oq Vornicus Vornicus] by *.Nightstar.Net
19:02 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 122 seconds]
19:17 Kindamoody is now known as Kindamoody[zZz]
19:18 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [[NS] Quit: ]
20:52
< McMartin>
Namegduf: As of GNOME 3 I haven't been able to get gnome-open to work; do you know if that's changed to something else?
21:27 AnnoDomini [annodomini@Nightstar-4ea39ceb.212.getinternet.no] has joined #code
21:27 AnnoDomini [annodomini@Nightstar-4ea39ceb.212.getinternet.no] has quit [Client closed the connection]
21:28 AnnoDomini [annodomini@Nightstar-4ea39ceb.212.getinternet.no] has joined #code
21:28 AnnoDomini [annodomini@Nightstar-4ea39ceb.212.getinternet.no] has quit [Client closed the connection]
21:29 AnnoDomini [annodomini@Nightstar-7772b630.84-49-12.nextgentel.com] has joined #code
21:56 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
21:58
<@Namegduf>
McMartin: xdg-open is much more standard
21:58
<@Namegduf>
http://portland.freedesktop.org/xdg-utils-1.0/xdg-open.html
21:59
<@Namegduf>
Maybe GNOME 3 scrapped their redundant thing.
22:00
< McMartin>
Oh hey, there it is
22:00
< McMartin>
Rage at Fedora 15 averted
22:01
<@Namegduf>
Apparently that's what Chromium relies on.
22:01
<@Namegduf>
It's present on my XFCE system; trying to confirm presence on KDE as well.
22:02
< McMartin>
I can see why this is a windows-only thing in Python; though
22:02
<@Namegduf>
But it seems safe to assume.
22:02
< McMartin>
These are executables; you can start them with os.subprocess.
22:02
< McMartin>
In Windows, it's a system call (ShellExecuteEx).
22:02
< McMartin>
There's a commandline thing to do it - "start" - but start isn't a program and you can't start it with a "spawn subprocess" call.
22:03
< McMartin>
While we're at it, the OS X one is named "open", which is something completely different in all my Linux machines.
22:03
< McMartin>
Fun for the whole family.
22:48 459AAB4YH is now known as Vornicus
23:01 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
23:21 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
--- Log closed Tue Dec 13 00:00:33 2011
code logs -> 2011 -> Mon, 12 Dec 2011< code.20111211.log - code.20111213.log >

[ Latest log file ]