--- Log opened Tue Apr 17 00:00:30 2012 |
00:19 | | Attilla [Obsolete@Nightstar-d1137b23.as43234.net] has quit [Ping timeout: 121 seconds] |
00:20 | | You're now known as TheWatcher[T-2] |
00:23 | | You're now known as TheWatcher[zZzZ] |
00:24 | < Noah> | Is there any other scalable image format extension I should be aware of beside svg? |
00:24 | < Noah> | And, do SVGs retain layers, or are they flattened? |
00:30 | | eckse [eckse@Nightstar-1b5c0728.dsl.sentex.ca] has joined #code |
00:30 | | mode/#code [+o eckse] by ChanServ |
00:36 | | cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code |
00:36 | < gnolam> | "Aware of"? The postscript-based ones, for one thing. |
00:36 | < gnolam> | But if you're generating it yourself... nah. |
00:36 | < gnolam> | Also, what do you mean "retain layers"? |
00:37 | <&jerith> | SVGs are XML. |
00:37 | <&jerith> | I believe there are grouping structures that you can use. |
00:38 | <&jerith> | Also, you can define shapes and then reference them elsewhere. |
00:42 | | Derakon[AFK] is now known as Derakon |
00:43 | < Noah> | Layers, you know, like in a photoshop file? I'm not familiar with many scalable image types |
00:46 | < Noah> | And having opened one up myself in Inkscape, the answer is yes |
00:52 | < Noah> | So, now, I'm trying to decide if I want to use Ratatta, and iconic rat pokemon, or sandshrew, my favorite ground pokemon, and is technically a mouse |
00:53 | < Noah> | Since I have SVGs of those |
00:55 | | eckse [eckse@Nightstar-1b5c0728.dsl.sentex.ca] has quit [Client closed the connection] |
00:58 | | eckse [eckse@Nightstar-1b5c0728.dsl.sentex.ca] has joined #code |
00:58 | | mode/#code [+o eckse] by ChanServ |
00:59 | < Noah> | Haha, Inkscape is fun. |
01:00 | | Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code |
01:04 | | eckse [eckse@Nightstar-1b5c0728.dsl.sentex.ca] has quit [Client closed the connection] |
01:07 | | eckse [eckse@Nightstar-1b5c0728.dsl.sentex.ca] has joined #code |
01:07 | | mode/#code [+o eckse] by ChanServ |
01:10 | < Noah> | http://dl.dropbox.com/u/7783089/xfceratatta.svg |
01:17 | < Eri> | Hmm. I saw xfc erattatta, and was about to congratulate you on a wonderful pun |
01:17 | < Eri> | Then I saw the context |
01:21 | < Noah> | Heh |
02:26 | | Kindamoody[zZz] is now known as Kindamoody |
03:15 | | * Derakon ponders how he's structuring this code, realizes that he's kinda-sorta implementing multiple inheritance, but thankfully only on data. |
03:16 | <&Derakon> | Which is to say, an object record can have any number of templates which specify "standard" information that holds for a large variety of objects. |
03:16 | <&Derakon> | For example, all swords are displayed as light grey "|"s and are wielded to the weapon slot. |
03:17 | <&Derakon> | But the way I'm setting this up, not only can you have multiple templates (which are applied in order, thus the last one has precedence when there's a conflict), but templates can have templates themselves... |
03:18 | < Noah> | Templateception. |
03:38 | < Noah> | Hmm, gotta figure out how to upgrade librsvg |
04:00 | < Noah> | Well, too many dependencies to do it manually for my liking, but found a testing ppa for gnome shell that has it all |
04:00 | | * Derakon trawls through the object definitions for Angband, discovers that the ultimate healing potion, the potion of Life, has a listed effect of "CURE_NONORLYBIG". |
04:00 | <@Alek> | har har |
04:01 | <&McMartin> | NORLYEVNBGRTHNTHT |
04:01 | <&McMartin> | I once used a library where you had to set the size of the chunk of memory it used |
04:01 | <&McMartin> | "tiny", "small", "normal", "large", "huge", "enormous", "Bill O'Reilly's Ego" |
04:01 | <&Derakon> | For reals? |
04:01 | <&McMartin> | For reals. |
04:02 | <&McMartin> | String Buffers, for an early version of Inform 7 before the language was extended to have indexed text. |
04:02 | <&Derakon> | Cute. |
04:03 | < Noah> | Heh, nice |
04:03 | < Noah> | Waiting for Inform 7, programing addition. |
04:04 | <&McMartin> | + is there, man. |
04:04 | <&McMartin> | It's had addition since the first beta. |
04:04 | < Noah> | "Here is a window. There is a close button on the upper right corner of it." |
04:04 | <&McMartin> | You can just write a script that strips the braces out =P |
04:04 | < Noah> | edition* |
04:06 | <&McMartin> | https://glimmr.wordpress.com/2011/06/23/animation-demo-series-3/ |
04:06 | <&McMartin> | Glimmr is actually pretty badass. |
04:07 | <&McMartin> | However, as a DSL it is pretty much confined to animating canvases that are part of a tiled subwindow system. |
04:07 | < Noah> | Yea |
04:12 | | Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [[NS] Quit: Leaving] |
04:43 | | * Noah rasterizes jerith |
05:59 | | Noah [noah@Nightstar-9b41dd51.pools.spcsdns.net] has quit [[NS] Quit: Leaving.] |
06:02 | | Noah [noah@Nightstar-9b41dd51.pools.spcsdns.net] has joined #code |
06:16 | | Attilla [Obsolete@Nightstar-d1137b23.as43234.net] has joined #code |
06:20 | | Attilla [Obsolete@Nightstar-d1137b23.as43234.net] has quit [Ping timeout: 121 seconds] |
06:29 | | Derakon is now known as Derakon[AFK] |
06:30 | | Kindamoody is now known as Kindamoody|out |
06:41 | | 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!] |
07:10 | | You're now known as TheWatcher |
07:11 | | eckse [eckse@Nightstar-1b5c0728.dsl.sentex.ca] has quit [Connection reset by peer] |
07:14 | | Reiver is now known as Reiver|AFK |
07:24 | | Tamber [tamber@furryhelix.co.uk] has quit [Ping timeout: 121 seconds] |
07:28 | | Tamber [tamber@furryhelix.co.uk] has joined #code |
07:28 | | mode/#code [+o Tamber] by ChanServ |
07:29 | | * jerith derezzes Noah. |
07:29 | < Noah> | blarg |
07:45 | | himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds] |
07:55 | < Noah> | http://leasthelpful.com/post/19509755967/is-it-really-their-fault-you-over-tippe d |
08:07 | | You're now known as TheWatcher[afk] |
08:38 | < froztbyte> | http://mozillamemes.tumblr.com/post/21210956110/sooooo-slowwww --- roflroflrofl |
09:39 | < Rhamphoryncus> | hurr: http://mozillamemes.tumblr.com/post/21226195640/semicolons-shrug |
10:29 | | Attilla [Obsolete@Nightstar-d1137b23.as43234.net] has joined #code |
10:30 | < gnolam> | https://github.com/jmechner/Prince-of-Persia-Apple-II |
10:33 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
10:33 | | mode/#code [+o himi] by ChanServ |
10:40 | <&McMartin> | Holy fuck |
10:42 | <&McMartin> | "Age: two hours ago" |
10:42 | <&McMartin> | Jordan Mechner keeps hours as bad as my own >_> |
10:44 | < froztbyte> | I would keep hours like that if I didn't have to deal with office hours for support reasons |
11:04 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
11:08 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Client closed the connection] |
11:20 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited] |
12:12 | | You're now known as TheWatcher |
13:00 | | Kindamoody|out is now known as Kindamoody |
14:01 | | * TheWatcher is vaguely amused at the fact that github shows Java as a dirty brown colour... |
14:40 | | You're now known as TheWatcher[afk] |
16:35 | | * ShellNinja swears at all the memory card standards. |
16:35 | < ShellNinja> | I have three cards, all different. |
16:36 | < ShellNinja> | And I lack a suitable adapter for one of them. |
16:50 | | jerith [jerith@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
16:57 | | jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code |
16:57 | | mode/#code [+ao jerith jerith] by ChanServ |
17:03 | | eckse [eckse@Nightstar-21906c75.dsl.sentex.ca] has joined #code |
17:04 | | mode/#code [+o eckse] by ChanServ |
17:09 | | * ToxicFrog implements closures of a sort in Postscript |
17:15 | | celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code |
17:16 | <@ToxicFrog> | ...or not. bind doesn't do what it looks like it does at first glance. Dammit. |
17:19 | | * ToxicFrog flails |
17:23 | | eckse [eckse@Nightstar-21906c75.dsl.sentex.ca] has quit [Client closed the connection] |
17:26 | | eckse [eckse@Nightstar-21906c75.dsl.sentex.ca] has joined #code |
17:26 | | mode/#code [+o eckse] by ChanServ |
17:28 | <@ToxicFrog> | Oh wait |
17:28 | <@ToxicFrog> | postscript procedures are just arrays of names and literals with the executable attribute set |
17:28 | <@ToxicFrog> | yum |
17:29 | < gnolam> | ... why are you doing this? |
17:33 | <@ToxicFrog> | I want to draw a map. |
17:48 | | eckse [eckse@Nightstar-21906c75.dsl.sentex.ca] has quit [Client closed the connection] |
18:10 | | eckse [eckse@Nightstar-21906c75.dsl.sentex.ca] has joined #code |
18:10 | | mode/#code [+o eckse] by ChanServ |
18:27 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code |
19:08 | <@ToxicFrog> | I feel like I'm on the verge of implementing Lisp macros in postscript. |
19:21 | | * Rhamphoryncus kicks hg |
19:22 | < Rhamphoryncus> | I've painted myself into a corner because I used merge before and now I'm attempting to use rebase |
19:23 | | PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has quit [Ping timeout: 121 seconds] |
19:23 | | Kindamoody is now known as Kindamoody[zZz] |
19:40 | < Rhamphoryncus> | .. and I have, at least temporarily, hosed my repository. *rages* |
19:45 | < Rhamphoryncus> | Deleted and recloning, planning to use my diffs to recreate :P |
19:58 | < Rhamphoryncus> | Finally got the diffs to apply |
20:08 | < Rhamphoryncus> | okay, successful build |
20:15 | | You're now known as TheWatcher |
20:40 | | Attilla_ [Obsolete@Nightstar-d1137b23.as43234.net] has joined #code |
20:43 | | Attilla [Obsolete@Nightstar-d1137b23.as43234.net] has quit [Ping timeout: 121 seconds] |
20:43 | | Attilla_ is now known as Attilla |
20:53 | | * ToxicFrog gets all his maptiles working, but does not yet implement macros for postscript |
20:53 | <&McMartin> | Postscript isn't Lisp, idly, it's Forth~ |
20:53 | | * McMartin might have had to hand-craft some PostScript for work once. |
20:54 | <@ToxicFrog> | Well, yes |
20:54 | <@ToxicFrog> | But it does have the whole code-as-data thing going on |
20:55 | <@ToxicFrog> | And I did need closures |
20:55 | <@ToxicFrog> | And from there it's a short step to implementing ', ,, and defmacro |
20:55 | <&McMartin> | Almost positive Forth has the first, don't remember if it has the second. |
20:57 | <@ToxicFrog> | It has [] which behaves like , in lisp macros and lets you get closure-like behaviour thereby, AIUI |
20:58 | <@ToxicFrog> | Anyways, from what I know of it this would actually be easier in forth |
21:01 | <@ToxicFrog> | ps doesn't really have an equivalent of IMMEDIATE; you have to write COMPILE, yourself; and 'foo in forth is written /foo load in ps. |
21:04 | <@ToxicFrog> | Anyways, I ended up with: |
21:04 | <@ToxicFrog> | /compose { array astore {exec} /forall load 3 array astore cvx } def |
21:04 | <@ToxicFrog> | /deftile { {gsave translate 0 0 1 1 rectclip} exch {grestore} 3 compose def } def |
21:05 | <@ToxicFrog> | Which makes something like: /foo { 0.5 setcolor fill } deftile equivalent to /foo { gsave translate 0 0 1 1 rectclip 0.5 setcolor fill grestore } def |
21:09 | < froztbyte> | I scanned over that very very quickly, and wondered why you were making turtles in ps |
21:11 | <@ToxicFrog> | what |
21:12 | < froztbyte> | let's just say I didn't scan closely enough, and that the precise syntax combination reminded me of some pseudosyntax someone used in a turtle demo app in high school once |
21:12 | < froztbyte> | for some computer olympiad |
21:12 | < froztbyte> | my mind is a scary place :/ |
21:28 | <@ToxicFrog> | ps bind could be so useful but it's kind of neutered :/ |
21:29 | <&McMartin> | Neutering the ability to offload computation to the printer is a feature, not a bug =P |
21:30 | <@ToxicFrog> | er what? |
21:30 | <&McMartin> | PostScript, as a language, was originally designed to be executed on the printer itself. |
21:31 | <@ToxicFrog> | Yes. |
21:32 | <&McMartin> | We had a DailyWTF or similar story in here once of some co-worker who kept loading heavy compute jobs onto the Printer because of its incredible power, by which I mean "nobody could ever print ever" |
21:32 | <&McMartin> | Things that make this harder are features~ |
21:36 | <@ToxicFrog> | The thing is, there is a special form (//) for what bind arguably should do but doesn't |
21:37 | <@ToxicFrog> | So it's not so much "makes it harder" as "encourages you to make all procedure calls using //foo rather than foo" |
21:37 | <@ToxicFrog> | Although I guess you could redefine def to do that automatically~ |
21:52 | | You're now known as TheWatcher[afk] |
22:01 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:54 | <&McMartin> | This is fun http://blog.0branch.com/implementing-haskells-in-ocaml |
22:55 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
22:55 | | mode/#code [+o PinkFreud] by ChanServ |
23:03 | | Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
23:03 | | mode/#code [+ao Derakon Derakon] by ChanServ |
23:03 | | * Derakon mutters at numpy. |
23:03 | <&Derakon> | I have a sequence of 400 images. The min/max/median/stddev on each indevidual image is right around 87/115/100/2.79. |
23:04 | <&Derakon> | So how can the stddev as calculated for the entire image be 37.41? |
23:04 | <&Derakon> | Similarly, the mean is generally ~100.45 but the claimed mean for the entire image is 21.85! |
23:06 | <&Derakon> | For example: http://pastebin.com/pCzDEe9S |
23:10 | <&Derakon> | ...ah, rollover problem. |
23:10 | | * McMartin reflexively reads "numpy" as rhyming with "lumpy" |
23:10 | <&Derakon> | The datatype for the array was unsigned 16-bit integer, and I guess that Numpy does the stats collection using that same datatype. |
23:16 | <&Derakon> | Oh, you guys saw that the source code for Prince of Persia was found? |
23:16 | <&McMartin> | It's been posted here twice |
23:17 | <&McMartin> | Jason Scott (one of the two guys who helped recover it) is a name that is *known* to me. |
23:17 | <&McMartin> | I've been reviewing the code; there's also some tech documents and an ebook about the development. |
23:17 | <&McMartin> | http://jordanmechner.com/wp-content/uploads/1989/10/popsource009.pdf |
23:17 | <&McMartin> | Also, how awesome is that wp-content upload URL >_> |
23:18 | <&Derakon> | Heh. |
23:27 | | celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
23:29 | < gnolam> | Heh. |
23:56 | | You're now known as TheWatcher |
23:58 | | Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving] |
23:59 | | Noah [noah@Nightstar-9b41dd51.pools.spcsdns.net] has quit [Connection reset by peer] |
--- Log closed Wed Apr 18 00:00:44 2012 |