| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> Well, auto-latency could be nice for that <1> How do I do a plugin system? <2> that would create variable lag though <3> hmpf.... i got a tuple of RGB and want to add an A value and p*** it to glColor4f (which takes a 4 entities long iteratable)... how could i get this in one line? <3> col = (0, 1, 0) <3> glColor4f(list(col).append(0.5)) = <3> ? <3> without the = :o <2> col = col + (a,) <0> freakazoid: variable delay, almost no lag (except transitional) <2> I think col += (a,) will work too <1> timonator: append() doesnt return self <2> append is also not usable with tuples <1> freakazoid: it has got to <0> timonator: list(col).append(..) returns None, not the appended list <1> freakazoid: "list(col)"
<3> hmm <3> how can i do it then? <2> glColor4f(col + (0.5,)) <2> USE ADDITION <3> is it that easy? <2> yes <2> this is Python. <3> wowzers! <1> freakazoid: so, have you ever heard of an instant type editor? :) <2> Peaker: I mean the time after I push the button and the time it takes effect on my screen. That can't change <0> freakazoid: Why not? <2> kbrooks: editobj <1> when i say "instant type editor", i am talking about WYSIWOD <0> freakazoid: It changes with prediction, no? <2> Peaker: Humans adjust to lag only over time <2> peaker: no it doesn't <2> people just seem to teleport occasionally <0> freakazoid: And yourself, you teleport too? <2> no <0> How come? <1> freakazoid: teleport? <0> What you do is immediate? <3> Peaker: i know WYSIWYG and WYSIWIDW, but what is WYSIWOD? <2> yes <2> the simulation on your own screen is real time and authoritative <1> timonator: talking to the wrong person <2> what you don't know is everyone else's exact location, hence the latency triangles <0> timonator: donno <3> i meant kbrooks :) <1> timonator: OD = on disk, the others you can fill in <3> ok <0> freakazoid: Ah. How do you determine who dies if both think they killed each other? <2> Peaker: Well, armagetron has a server to arbitrate <2> but there is a "death lag" <2> they must continue to crash into the wall for a certain amount of time before they actually die <0> a server? that doubles the latency automatically :-( <1> timonator: see #poverty :P <2> no, the server doesnt' route packets <0> It just determines disputes? <2> I am not sure to what extent the server even participates beyond introductions <2> Peaker: I don't know actually <2> Peaker: but it's available <2> Peaker: the way armagetron handles death is by making the walls rubbery <2> and everybody shares the same rubberiness <0> Hmm. What if you lag too much? Beyond the lag triangle? <2> the lag triangle is displayed based on your lag <2> it's not fixed <2> there is a maximum lag that's allowed and if you lag too much you disappear <2> or something <0> So if someone stops sending packets there's a triangle growing around him? <2> I haven't played in a while <2> why don't you play? <0> ubuntu package name? <2> armagetron <2> ubuntu is taking over the world! <0> :) <0> It ****s, but a bit less than Windows :) <0> Sometimes it ****s even more than Windows.. Very dependable on the situation <1> Peaker: heard of *P*overty? <0> Nope what is it? <1> it's a text editor written in Python using PyGTK
<1> Peaker: the channel is "#%s" % project_name.lower() :) <2> oops I need to reboot <2> Apparently I upgraded the nvidia driver <1> sc-zzz: stop it. <2> that's what I get for running dapper <1> stonecrest: its ****ing annoying. <1> stonecrest: use /away. <0> freakazoid: Funny messages for single player <2> oh yeah <0> freakazoid: Microsoft programs making segfaults.. They might sue :) <2> heh <0> freakazoid: How to connect to you? <2> I have to reboot or something before I can run <0> You can turn prediction on/off <2> I wonder what it does if you turn it off? <1> freakazoid: ping <2> kbrooks: hi <1> Peaker: ping. <2> kbrooks: Sorry I am running at ridiculously low resolution <0> pong <2> kbrooks: I tried to start armagetron and it changed my resolution and then crashed <2> and now my screen is stuck at this resolution <2> I think it changed it to 640x480 or something <2> I'm running a full upgrade and then I'm gonna reboot <2> the notifier appears to ahve died at some point <2> so I'm a bit behind the current state of dapper <2> thank goodness Canonical seems to have an infinite amount of bandwidth <2> or whoever runs the US server <1> freakazoid: infinite? <1> no such thing as infinite bandwith. :) <4> is there a way to check what dir the script is currently running is located on? <0> heh I won my first game of armagetron <2> infinite = greater than my download bandwidth <0> in the server <2> are you using auto AI? <2> they start out stupid <2> and then get gradually smarter until you lose and then they get stupider again <2> in their stupidest mode they're trivial to kill <2> hrrm it just asked me what braille driver I have <2> I didn't even know I had a braille driver <2> I must be blind or something not to have noticed that <2> you people aren't laughing <4> is there a way to check what dir the script is currently running is located on?, not where *I* am locating, not os.getcwd() <2> or you're laughing so hard you can't type <2> sanmarcos: os.path.dirname(sys.argv[0]) <2> I think <3> my galaxy creation stuff is.... lacking... this planet shares 10% of its m*** with its sun and its moon rolls over its surface repeatedly phasing through the sun... <4> freakazoid, the full path <2> sanmarcos: that doesn't give you the full path? <4> freakazoid, nope <2> oh, then do os.path.dirname(os.path.abspath(sys.argv[0])) <2> ***uming you have not changed the working directory since then that will give you the full path <2> I thought there was some sort of built-in way to do that <4> freakazoid, that works, seems hackish but does it <2> but since you are asking me and not the documentation, you will get the answer off the top of my head instead of my looking at the documntation <2> sanmarcos: it's the way that C and C++ programs do it <2> and shell scripts <2> so it's at most as hackish as all those programs and scripts <2> what I don't know is if it gets stored somewhere in sys at startup time <2> so I would suggest looking through the sys module documentation <4> freakazoid, currently I have os.path.join(os.pathdirname(os.path.abspath(sys.argv[0]), "images") heh <2> ok rebooting to get the nvidia stuff synced <2> heh <2> you could always store the result of os.path.dirname... in a variable <2> brb <5> Is there any way I can use the 'dd' linux command in python besides doing os.system()? <0> punkrockguy318: subprocess, or use your own read/write on files <0> punkrockguy318: using shutil or such to copy the file would be more portable <5> Peaker: I'm extracting the boot sector from a usb media.. can I do that with shutil? <2> Peaker: pick a server to meet me on <2> Peaker: one without a lot of other users <2> use dd to extract the boot sector <2> or file and read <2> file('/dev/sdb').read(512)
Return to
#python or Go to some related
logs:
#perl fluxbox parentrelative problem #perl #physics #sdl #perl ERROR: pear.php.net/File: conflicting files found: turing compiler linux pornview apt-get #debian
|
|