code logs -> 2009 -> Tue, 28 Jul 2009< code.20090727.log - code.20090729.log >
--- Log opened Tue Jul 28 00:00:00 2009
--- Day changed Tue Jul 28 2009
00:00 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has joined #code
00:00 mode/#code [+o Derakon] by ChanServ
00:09
<@Derakon>
Hm. Recommendations for a free Windows program my sister can use to open the .tgz I sent her?
00:09
<@McMartin>
bsdtar is downloadable, I think.
00:10
<@McMartin>
Works without cygwin
00:10
<@McMartin>
WinRAR eats it but isn't truly free
00:10
<@Derakon>
Oh, bsdtar. I read "badtar" at first~
00:11
<@Derakon>
Is WinRAR the one that shows its shareware screen for longer and longer as you refuse to pay for it, but never stops working?
00:12
<@Consul>
7zip has been able to handle everything I've thrown at it.
00:13
<@ToxicFrog>
Derakon: no.
00:13
<@ToxicFrog>
It doesn't show it at all for the first month, and after that it shows it but can be dismissed immediately (and doesn't show it all if you use right-click commands like "create archive" or "unpack here").
00:14
<@ToxicFrog>
7zip can also tar.gz and tar.bz2 files, and is freeware.
00:14
<@Derakon>
Cool, thanks.
00:14
<@ToxicFrog>
s/it all/it at all/
00:16
<@SmithKurosaki>
I read that as if there were no mistake, amusemtn
00:16
<@SmithKurosaki>
*amusement
00:26 AnnoDomini [AnnoDomini@Nightstar-29919.neoplus.adsl.tpnet.pl] has quit [Quit: Some people have evil spirits. You, you have stupid spirits. Go see shaman. Get hole in head. Big hole. Very big. Huge!]
01:11 Attilla [~The.Attil@92.21.143.ns-3195] has quit [Quit: ]
01:38 Vornicus is now known as Phas
03:01 SmithKurosaki [~Smith@Nightstar-10671.dsl.teksavvy.com] has quit [Quit: Leaving]
03:02 SmithKurosaki [~Smith@Nightstar-10671.dsl.teksavvy.com] has joined #code
03:02 mode/#code [+o SmithKurosaki] by ChanServ
03:50 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has left #code [Leaving]
03:50 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has joined #code
03:50 mode/#code [+o Derakon] by ChanServ
04:43 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has quit [Quit: Leaving]
04:46 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has joined #code
04:46 mode/#code [+o Derakon] by ChanServ
05:15 Orthia is now known as Reivthia
05:37 Thaqui [~Thaqui@121.98.166.ns-22683] has joined #code
05:37 mode/#code [+o Thaqui] by ChanServ
06:02 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:07 Thaqui [~Thaqui@121.98.166.ns-22683] has quit [Ping Timeout]
06:09 Thaqui [~Thaqui@121.98.166.ns-22683] has joined #code
06:09 mode/#code [+o Thaqui] by ChanServ
06:29 * ToxicFrog stabs -0 in the face
06:29
<@ToxicFrog>
I can't figure out how to distinguish between -0 and +0.
06:31
<@SmithKurosaki>
Why do you need to
06:31
<@ToxicFrog>
Because otherwise my floating point writing code is lossy.
06:32
<@SmithKurosaki>
Ahh
06:32
<@ToxicFrog>
You tell it to store -0 and you get +0 out.
06:32
<@SmithKurosaki>
Pissing around with scheme again
06:32
<@ToxicFrog>
No, vstruct.
06:32
<@ToxicFrog>
sanooj reported some errors with floating point handling of subnormal numbers.
06:32
<@ToxicFrog>
I turned up this error while working to fix that one.
06:33
<@SmithKurosaki>
Argh
06:35
<@Derakon>
TF: can't just check the sign bit?
06:36
<@ToxicFrog>
Derakon: the code I'm working on is the code that turns a real number (of undefined internal representation) into a sequence of bits corresponding to an IEEE754 double.
06:36
<@ToxicFrog>
So, no.
06:37
<@ToxicFrog>
The reason I need to figure out whether 0 is -0 or +0 is so that I can write the correct sign bit.
06:37
<@SmithKurosaki>
;.;
06:37
<@Derakon>
D'oh.
06:39
<@ToxicFrog>
Got it, thanks to #lua
06:39
<@ToxicFrog>
1/-0 is -inf, and 1/0 is inf.
06:39
<@ToxicFrog>
And those are distinguishable.
06:39
<@SmithKurosaki>
o.0
06:42 Derakon is now known as Derakon[AFK]
06:46 Derakon[AFK] [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has quit [Quit: This computer has gone to sleep]
06:47 Phas is now known as Vornicus
06:55
<@ToxicFrog>
Oh this is a fun bug in lua
06:55
<@ToxicFrog>
lua> return 0
06:56
<@ToxicFrog>
-> 0
06:56
<@ToxicFrog>
lua> return -0
06:56
<@ToxicFrog>
-> -0
06:56
<@ToxicFrog>
lua> return 0,-0
06:56
<@ToxicFrog>
-> 0,0
06:56
<@SmithKurosaki>
->o.0
07:09 You're now known as TheWatcher
08:06 AnnoDomini [AnnoDomini@Nightstar-29071.neoplus.adsl.tpnet.pl] has joined #Code
08:06 mode/#code [+o AnnoDomini] by ChanServ
08:13 You're now known as TheWatcher[afk]
09:10 Attilla [~The.Attil@92.20.11.ns-26724] has joined #code
09:10 mode/#code [+o Attilla] by ChanServ
09:53 You're now known as TheWatcher
10:58 Thaqui [~Thaqui@121.98.166.ns-22683] has quit [Client exited]
11:10 Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
11:17
<@MyCatVerbs>
ToxicFrog: where do you think the bug lies? Kudos to Lua for understanding that both +0 and -0 exist in IEEE754 in the first place.
11:20 Vornicus [Vornicus@Admin.Nightstar.Net] has quit [Quit: ]
11:22 Vornicus [~vorn@ServicesOp.Nightstar.Net] has joined #code
11:22 mode/#code [+o Vornicus] by ChanServ
11:23 Vornicus is now known as Vornicus-Latens
11:27 You're now known as TheWatcher[d00m]
11:45 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
11:45 mode/#code [+o gnolam] by ChanServ
12:44 You're now known as TheWatcher
13:52 Reivthia [~Orthianz@Nightstar-21429.xdsl.xnet.co.nz] has left #Code []
14:54 You're now known as TheWatcher[afk]
16:19 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has joined #code
16:19 mode/#code [+o Derakon] by ChanServ
16:36
<@ToxicFrog>
MyCatVerbs: it's an issue with the constant table optimize
16:36
<@ToxicFrog>
What happens is, it sees 0, and enters it into the constant table
16:36
<@ToxicFrog>
Then it sees -0, and checks to see if it's already in the table
16:37
<@ToxicFrog>
Which (since -0 == 0) it thinks it is, and it just creates a ref to the existing constant.
16:37
<@ToxicFrog>
You can work around it by making it nonconstant, eg:
16:37
<@ToxicFrog>
math.zero = 0
16:37
<@ToxicFrog>
math.negzero = -math.zero
17:09 Syloqs_AFH [~Syloq@Admin.Nightstar.Net] has joined #code
17:10 Syloqs_AFH is now known as Syloqs-AFH
17:16
<@MyCatVerbs>
ToxicFrog: cool bug!
17:17
<@MyCatVerbs>
ToxicFrog: thank you. :)
17:35 You're now known as TheWatcher
17:51
<@ToxicFrog>
Word From Above is that it's fixed in 5.2.
18:37 * Derakon goes back to trying to figure out how to make classes in Cython.
18:45
<@Derakon>
Bah! http://paste.ubuntu.com/235336/
18:45
<@Derakon>
Vector2D instances damn well *do* have an 'x' attribute!
18:45
<@Derakon>
So why can't you find them?
18:49
<@Derakon>
...ah hah. Cython class fields are not public by default.
18:52
<@Derakon>
Okay! Running that test script using the Vector2D class that inherits from tuple: 4.86s.
18:52
<@Derakon>
Running it with the Cython class: 1.74s.
18:52
<@Derakon>
I...think it's time to switch to Cython for Vector2D. ?.?
20:12
<@Derakon>
Hey, Rhamphoryncus, do you know if there's a way to intercept the act of calling a function on a Python module, and route it to calling that same function on an instance of a class in that module?
20:13
<@Derakon>
I'm basically trying to implement singletons here without making the syntax hairy.
20:13
<@Derakon>
So I have a module that defines a class, and then an instance of that class, and you currently call functions by modulename.instanceofclass.functionName().
20:14
<@Derakon>
And I'd like to make it just be modulename.functionName() without having to make a bunch of passthroughs for each function defined for the class.
20:14
<@Derakon>
Oh wait, Rhamphoryncus isn't here.
20:18 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has left #code [Leaving]
20:18 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has joined #code
20:18 mode/#code [+o Derakon] by ChanServ
20:18 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has left #code [Leaving]
20:18 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has joined #code
20:18 mode/#code [+o Derakon] by ChanServ
20:18 * Derakon is getting to know this IRC client, and wishing it had more configuration related to the user list.
20:19
<@SmithKurosaki>
o.0
20:19
<@SmithKurosaki>
What are you using Der?
20:19
<@Derakon>
X-Chat Aqua.
20:20
<@SmithKurosaki>
o.0
20:20
<@SmithKurosaki>
I use xchat, but I have never heard of aqua
20:20
<@Derakon>
It's just the OSX version.
20:20
<@SmithKurosaki>
Aah
20:20
<@SmithKurosaki>
What's wrong with the user list?
20:20 Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has joined #code
20:20
<@AnnoDomini>
I think I tried Xchat once. Gave up almost immediately, when I learned it had not nipple-grade intuitiveness.
20:21 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has quit [Quit: Leaving]
20:21
<@SmithKurosaki>
Uhhh... What?
20:21 Derakon [~Derakon@Nightstar-5824.hsd1.ca.comcast.net] has joined #code
20:21 mode/#code [+o Derakon] by ChanServ
20:21
<@AnnoDomini>
The only truly intuitive interface is the nipple. Everything else is learned.
20:21
<@Derakon>
Dammit, doing /server in a new window shouldn't disconnect you from your existing windows!
20:21
<@AnnoDomini>
It's a quote, but I don't know whose.
20:21
<@SmithKurosaki>
Heh
20:27
<@ToxicFrog>
No. It shouldn't. And on mine, it doesn't.
20:34
<@Derakon>
Apparently this version distinguishes between "new windows" and "new server windows".
20:34
<@Derakon>
I have to do cmd-ctrl-N to get a new server window.
20:36 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
20:43 * TheWatcher uses /connect to connect to different servers, or /server +<server2>, but suspects these are irssiisms
20:46 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
20:46 mode/#code [+o ToxicFrog] by ChanServ
21:29
<@Vornicus-Latens>
the IRCD command to connect two /servers/ together is /connect. /server is the usual one for connecting a client to a server.
21:30 * Derakon mutters at pyximport, which is supposed to automatically recompile Cython modules for me.
21:30
<@Derakon>
Problem is, as soon as I do "import pyximport", it tries to compile all of my modules immediately...of course, some of them depend on the vector2d module that hasn't gotten compiled by pyximport yet, so importing pyximport fails!
21:31
<@McMartin>
Vorn: Yes. /connect is an irssi-ism for "connect to this server without throwing out all existing ones"
21:31
<@Vornicus-Latens>
how nice.
21:32 Vornicus-Latens is now known as Vornicus
21:39
<@Derakon>
What the Christ.
21:40
<@Derakon>
I can't compile the Cython version of the Vector2D class because before trying to compile, Cython is, for some godforsaken reason, trying to import everything *else* in the current directory!
21:40
<@Derakon>
Which of course depends on the Vector2D class that doesn't exist yet!
21:40
<@Vornicus>
uh...huh.
21:40
<@Derakon>
If I have just the vector2d.pyx file in a directory on its own, then it works.
21:41
<@Derakon>
As soon as I add files that depend on it, bam, failure.
21:42
<@Derakon>
Hrm...that's not strictly accurate.
21:42 * Derakon digs in to find what file precisely is making it go bugfuck.
21:44
<@Derakon>
...platform.py is making it go bugfuck.
21:44
<@Derakon>
platform.py is one of the simplest modules I *have*.
21:46
<@Derakon>
And it has an indirect dependency on vector2d via constants.
21:53
<@Derakon>
Okay, now I think it just doesn't like that I have a module named "platform" because it has a different module with the same name that it needs.
21:53
<@Derakon>
So, suggestions for a module name for a class that's just a container of information on platforms for the player to stand on?
21:53
<@Derakon>
(location and width, at the moment)
21:53
<@Vornicus>
"floor"
21:53
<@Derakon>
That sounds like it could also get me in trouble.
21:54
<@Derakon>
I thought of maybe "FloatingPlatform", but they don't necessarily float and that's kinda lengthy.
22:05
<@Myst>
PlayerPlatform ... isn't much shorter, though
22:06
<@Derakon>
And it's really just a chunk of land, so it's not unique to the player.
22:06
<@Myst>
ImmediateLand
22:06
<@Vornicus>
"ground"
22:09
<@AnnoDomini>
Hmmm.
22:09
<@AnnoDomini>
Scaffolding.
22:10
<@Derakon>
Scaffold works.
22:16
<@Derakon>
Hrm...so I'd like to make a subclass off of Vector2D that's exactly the same except its member values are ints instead of doubles, but I'm not allowed to redeclare self.x and self.y
22:22
<@AnnoDomini>
self.xx? :P
22:29
<@gnolam>
GGRTAGH
22:29 * gnolam stab stab FUCKING STABS Fontforge.
22:31
<@AnnoDomini>
Have you considered multiclassing to Barbarian?
22:31
<@McMartin>
Not that kind of hacking, AD
22:31
<@AnnoDomini>
The powerful Rage class feature could increase your accuracy and damage by as much as 10%!
22:33
<@gnolam>
POS software like this convinces me that open source developers could possibly get paid for staying the hell away from user interfaces.
22:36
<@gnolam>
Then there's the whole issue of the underlying software itself claiming to be able to import SVGs... but failing miserably at the majority of them.
22:36
<@gnolam>
With no clues whatsoever to what triggers its gleeful mangling of vertex data.
23:11
<@Derakon>
Nice little rant on problem-solving vs. asking for help: http://www.whathaveyoutried.com/
23:24 * ToxicFrog saves the shit out of that link for future use
23:38 Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Quit: Leaving]
23:40 Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code
23:40 mode/#code [+o Vornicus] by ChanServ
23:46
<@Vornicus>
Oh. I do have Visio.
23:59 AnnoDomini [AnnoDomini@Nightstar-29071.neoplus.adsl.tpnet.pl] has quit [Quit: Gnothi seauton, malákas.]
--- Log closed Wed Jul 29 00:00:49 2009
code logs -> 2009 -> Tue, 28 Jul 2009< code.20090727.log - code.20090729.log >