code logs -> 2012 -> Sat, 16 Jun 2012< code.20120615.log - code.20120617.log >
--- Log opened Sat Jun 16 00:00:35 2012
00:06
< Tarinaky>
Ahah!
00:06
< Tarinaky>
It's -e not -p.
01:01 io|driving is now known as iospace
01:21 You're now known as TheWatcher[T-2]
01:25 You're now known as TheWatcher[zZzZ]
01:58 Derakon is now known as Derakon[AFK]
02:36 Kindamoody[zZz] is now known as Kindamoody
02:39
<@ToxicFrog>
Tarinaky: possibly a stupid question but, uh, why are you using inkscape for this and not something designed for batch processing like irfanview or imagemagick?
02:41
<~Vornicus>
or, if you're doing vectors, postscript and a makeoid.
02:41
<~Vornicus>
(I had great success for that.)
02:58
<~Vornicus>
I also discovered that adobe's stuff has js automation but I wasn't a huge fan.
03:03
<@rms>
I'd have thought it'd be whatever Flash is.
03:03
<@rms>
(Since that's related to EMCAScript somehow)
03:10
<~Vornicus>
So you can (if you're that crazy) get the entire creative studio toolchain at your beck and call.
03:18
< celticminstrel>
Okay, so rotating an array without copying it probably won't happen.
03:23 Noah [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has quit [[NS] Quit: Leaving]
03:24 Noah [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has joined #code
03:38 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
03:41 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
03:41 mode/#code [+o himi] by ChanServ
03:41
< Tarinaky>
ToxicFrog: Don't know how to use postscript.
03:41
< Tarinaky>
Already have the svgs I made in Inkscape today.
03:41
< celticminstrel>
Okay, why is this off by one?
03:41
< celticminstrel>
It rotates fine (in the wrong direction, but that's okay since I needed both directions), but it also shifts down by one.
03:42
<~Vornicus>
You can also manipulate svg using js or any other xml manipulation program.
03:43
<~Vornicus>
what's your rotation matrix look like?
03:43
< celticminstrel>
I'm not using a matrix...
03:43
< celticminstrel>
I'm doing coordinate substitution, I think.
03:44
< celticminstrel>
(x,y) -> (y, w - x)
03:45 Noah [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has quit [Client closed the connection]
03:45 Noah [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has joined #code
03:46
< celticminstrel>
...I should check and make sure it's not that it's doing it exactly right and there's actually something there I didn't know about.
03:46
< celticminstrel>
...that sentence is convoluted.
03:47 Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds]
03:47
< celticminstrel>
If four rotations get me back to exactly where I started, it's probably fine.
03:47
<~Vornicus>
what's w here?
03:47
< celticminstrel>
Width.
03:47
<~Vornicus>
0 indexed?
03:47
< celticminstrel>
Yes.
03:47
<@ToxicFrog>
Tarinaky: you misunderstand
03:48
<@ToxicFrog>
You have SVGs
03:48
<@ToxicFrog>
You want to convert them into PNGs
03:48
<~Vornicus>
w - 1 - x instead, iirc
03:48
<@ToxicFrog>
There are tools specifically designed for bulk conversion of images between formats, and they are good at it.
03:48
<@ToxicFrog>
Inkscape isn't one of them.
03:49
< celticminstrel>
Incidentally, w is actually called width in the code; I shortened it because I thought it was obvious. <_<
03:52
<@ToxicFrog>
34231111111
03:52
<~Vornicus>
\o/
03:54
< celticminstrel>
I should really do something about trimming excess empty rows and columns on the right and bottom...
03:56
<~Vornicus>
like you wish to trim, or you are but shouldn't?
03:57
< celticminstrel>
The former.
04:01
< celticminstrel>
I suppose all I have to do is figure out the highest (x,y) that has something useful in it, and then tell multi_array to resize and exclude everything beyond that.
04:06
<~Vornicus>
WARNING: don't look for a high (x, y) - look for a high x and a high y
04:06
< celticminstrel>
Right.
04:07
< celticminstrel>
I'll do that after I implement transformations. My initial horizontal flip is giving odd results. I think it's completely wrong.
04:08
<~Vornicus>
oh, what language?
04:08
< celticminstrel>
Hm?
04:08
< celticminstrel>
I'm using C++.
04:08
< celticminstrel>
Why?
04:08
<~Vornicus>
ok.
04:09
<~Vornicus>
If you were in Python there's some cute tricks you can do for array rotation. It's like two function calls if I remember it right.
04:09
< celticminstrel>
Ah.
04:12
< celticminstrel>
Okay, flipping works!
04:12
< celticminstrel>
That's pretty much everything. Translation is almost trivial.
04:32 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [Ping timeout: 121 seconds]
04:38 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
05:02 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!]
05:10 Kindamoody is now known as Kindamoody|p2
05:19 maoranma [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has joined #code
05:19 Noah [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has quit [Connection reset by peer]
05:20 mao42ranma [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has joined #code
05:21 maoranma [nbarr@Nightstar-a092c26c.pools.spcsdns.net] has quit [Connection reset by peer]
05:35 Orthia is now known as Reivthia
05:47 mao42ranma is now known as Noah
06:47 Derakon[AFK] is now known as Derakon
06:50
<&McMartin>
OK, time to start dicking around with orphan branches >_<
06:59
< Rhamphoryncus>
Minecraft uses opengl1.1...
07:00
<&McMartin>
How are you deducing this?
07:01
< Rhamphoryncus>
Source posted to a reddit thread
07:02
<&McMartin>
Aha
07:02
< Rhamphoryncus>
Highly credible, I know
07:03
< Rhamphoryncus>
http://i.imgur.com/FdxK0.png http://www.reddit.com/r/Minecraft/comments/v449m/i_was_looking_through_the_minec raft_code_when_a/
07:03
< Rhamphoryncus>
(I hate when people don't link directly to the content)
07:04
<&McMartin>
I mean, from screenshots it seems not unreasonable
07:05
< Rhamphoryncus>
It doesn't sound like anybody is surprised by this
07:11 * Vornicus wonders how vbos stack up to display lists.
07:15 iospace is now known as iospacedout
07:23
< Rhamphoryncus>
VAO+VBO are superior to display lists, but of course the usage isn't exactly the same
07:24
< Rhamphoryncus>
a display list doesn't store raw data. Instead, it stores the commands to produce the data. In practice this still compiles down to the raw data, but limits it to static forms
07:27
< Rhamphoryncus>
Performance wise, where a display list works well, it might not be much difference from a VAO+VBO
07:27 Derakon is now known as Derakon[AFK]
07:28
< Rhamphoryncus>
Also note that the original VBO had client side data as well (on the CPU), while the modern VAO form only has server side
07:36 Kindamoody|p2 is now known as Kindamoody
08:02 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
09:02
<&jerith>
http://www.nczonline.net/blog/2012/06/12/the-care-and-feeding-of-software-engine ers-or-why-engineers-are-grumpy/
09:07 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
09:21 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
09:21 mode/#code [+o himi] by ChanServ
09:56 Kindamoody is now known as Kindamoody|chores
10:06 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
10:12
<&McMartin>
http://michaelcmartin.github.com/Ophis/book/p481.html
10:13
<&McMartin>
My old essays, modernized.
10:20 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
10:20 mode/#code [+o himi] by ChanServ
10:36
< froztbyte>
shiny
10:48 You're now known as TheWatcher
11:11 Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code
11:51 Kindamoody|chores is now known as Kindamoody
12:18 Thalass [thalass@Nightstar-4db696da.bigpond.net.au] has joined #code
12:18
< Thalass>
evening
12:21
<@Tamber>
'lo.
12:37 Kindamoody is now known as Kindamoody|out
12:52 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
14:35 Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has quit [Ping timeout: 121 seconds]
14:51 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code
14:51 mode/#code [+o Vash] by ChanServ
15:10 Thalass is now known as Thalass|sleeping
15:10 iospacedout is now known as iospace
15:39 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
15:55 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!]
16:03 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
16:06 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
16:57 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
17:17 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
17:48 Attilla [Obsolete@Nightstar-245c4d9c.as43234.net] has joined #code
18:31 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
18:31 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
19:11
< celticminstrel>
Can't I have functions defined in one superclass be seen as implementations of pure virtual functions in another superclass?
19:17 Derakon[AFK] is now known as Derakon
19:17 mode/#code [+ao Derakon Derakon] by ChanServ
19:17
<&Derakon>
If you're saying e.g. A declares virtual function, B inherits from A and implements function, and C inherits from B, then yes that should be fine.
19:17
<&Derakon>
If you're talking multiple inheritance, fuck off~
19:20
< celticminstrel>
I'm talking multiple inheritance, but one of the subclasses is pure abstract, so it's like an interface.
19:23
< celticminstrel>
I moved the interface up a level as a quick fix, but if I can avoid doing that it'd be preferable.
19:25 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
19:26 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
19:26 mode/#code [+ao Derakon Derakon] by ChanServ
19:35
< celticminstrel>
Looks like I need to override it anyway?
19:42 Kindamoody|out is now known as Kindamoody
19:42
< celticminstrel>
Pity a using declaration won't work.
19:49 Kindamoody is now known as Kindamoody[zZz]
21:51 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Connection reset by peer]
21:51 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
21:52
< celticminstrel>
I didn't miss anything addressed to me, did I?
21:53
< celticminstrel>
My computer crashed for some reason.
21:55 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code
21:55 mode/#code [+o Vash] by ChanServ
22:50 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Connection reset by peer]
22:52 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
22:54
< celticminstrel>
Gah...
23:11 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
23:22 Noah is now known as NoahEnderOfAnts
--- Log closed Sat Jun 16 23:45:42 2012
--- Log opened Sat Jun 16 23:45:47 2012
23:45 TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code
23:45 Irssi: #code: Total of 29 nicks [8 ops, 0 halfops, 0 voices, 21 normal]
23:45 mode/#code [+o TheWatcher] by ChanServ
23:46 Irssi: Join to #code was synced in 41 secs
--- Log closed Sun Jun 17 00:00:55 2012
code logs -> 2012 -> Sat, 16 Jun 2012< code.20120615.log - code.20120617.log >

[ Latest log file ]