code logs -> 2015 -> Mon, 11 May 2015< code.20150510.log - code.20150512.log >
--- Log opened Mon May 11 00:00:19 2015
00:06 catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
00:07
<&McMartin>
Hrm. Vorn isn't around.
00:07
<&McMartin>
He's about the only one here who'd appreciate https://gist.github.com/michaelcmartin/cc93d75f2b27550ddfd3
00:08 * Derakon fires up the Card City Nights soundtrack, goes back to programming.
00:09
<&McMartin>
Ha ha ha ha ha
00:09
<&McMartin>
"Keeping [old 8-bit machines] alive can be as addictive as keeping vintage cars on the road, but with less rust, unless its a Commodore Pet."
00:10 catadroid` [catalyst@Nightstar-5l445n.dab.02.net] has quit [Ping timeout: 121 seconds]
00:18 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
00:18 mode/#code [+o Vash] by ChanServ
00:18 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
00:19 catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Bye]
00:20 Vornicus [vorn@Nightstar-uhn82m.ct.comcast.net] has joined #code
00:20 mode/#code [+qo Vornicus Vornicus] by ChanServ
00:45 ^Xires is now known as Xires
00:46 Xires is now known as NSGuest61520
01:01 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
01:01 catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
01:03 Echoes-- [rolly@Nightstar-eo05bk.co.comcast.net] has joined #code
01:16 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
01:18
<&McMartin>
Ah, I see you have arrived, Vorn
01:18
<&McMartin>
16:00 <&McMartin> Hrm. Vorn isn't around.
01:18
<&McMartin>
16:00 <&McMartin> He's about the only one here who'd appreciate https://gist.github.com/michaelcmartin/cc93d75f2b27550ddfd3
01:20 * Vornicus examines
01:20 * Vornicus appreciates indeed
01:20
<~Vornicus>
Though back when I would enter programs via mlx I had no idea what the hell it was doing and so it was much more boring than entering BASIC programs
01:20
<&McMartin>
It makes happy beeps!
01:21
<&McMartin>
And yeah, actually getting the correct checksum algorithm out of the BASIC code was sort of a comedy of errors
01:21
<&McMartin>
The hex-based one is actually baesd on screenscraping what you typed, and then converting that. -_-
01:21
<~Vornicus>
D:
01:21
<&McMartin>
(Also it does a lot of backflips to get around the fact that there is no modulo operator)
01:48 io\parents is now known as iospace
02:25 Echoes-- [rolly@Nightstar-eo05bk.co.comcast.net] has quit [Ping timeout: 121 seconds]
03:54
<&Derakon>
Right, that's 854 steps before map generation failed.
03:54
<&Derakon>
Next step: fix my map-drawing function so I don't have 854 gray PNGs~
03:59 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
04:34 Reiv_ is now known as Reiv
05:10 Derakon is now known as Derakon[AFK]
05:42 Vornicus [vorn@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: ]
05:49 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed]
06:03 kourbou|zzz is now known as kourbou
06:04 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Don't think of what others think of you. Think of what you think of others.]
06:48 Kindamoody[zZz] is now known as Kindamoody
07:49 celticminstrel [celticminst@Nightstar-md6f5v.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:51 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [[NS] Quit: Tekeli-li! Tekeli-li!]
08:15 Kindamoody is now known as Kindamoody|afk
08:30 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
08:30 mode/#code [+o macdjord] by ChanServ
08:37 macdjord is now known as macdjord|slep
09:23 catadroid` [catalyst@Nightstar-5pjqsd.dab.02.net] has joined #code
09:25 catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Ping timeout: 121 seconds]
09:34 catadroid` is now known as catadroid
10:23 * abudhabi grasps for phrasing.
10:24
< abudhabi>
I want to use AffineTransform to selectively scale objects. Some objects that are to be drawn should have their coordinates updated by the transform, but shouldn't be scaled.
10:24
< abudhabi>
I want them to be the same size regardless of zoom, but their positions to be otherwise correct.
10:25
< abudhabi>
I guess I could adjust their size on the fly according to the scale factor...
10:31
<@TheWatcher>
I don't suppose you can't just clone the AffineTransform and set the scale to 1,1 and use that for objects that shouldn't be scaled?
10:33 * TheWatcher shrugs, doesn't know wha tyou're doing, so
10:42
< abudhabi>
I think that would make them displaced.
10:42
< abudhabi>
Can't test right now, at work.
11:04
<@Tarinaky>
What library is this?
11:05
<@Tarinaky>
You probably want to break down your AffineTransform into seperate scale and translation transforms.
11:06
< abudhabi>
I'm using Graphics2D.
11:45 gizmore [kvirc@Nightstar-3jho49.dip0.t-ipconnect.de] has joined #code
11:46 gizmore|2 [kvirc@Nightstar-5kgb9u.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
12:07 catadroid [catalyst@Nightstar-5pjqsd.dab.02.net] has quit [[NS] Quit: Bye]
12:11
<&McMartin>
This feels oddly close to OpenGL transform matrices
12:24
< abudhabi>
I did this in Qt before, but Qt had explicit functionality for that.
13:12
<@Tarinaky>
Basically, you want your resource to be in a coordinate frame of reference that places 0,0 at the images centroid.
13:12
<@Tarinaky>
Then if foo, you apply the scaling transform.
13:12
<@Tarinaky>
Then you perform any translation as a seperate step.
13:13
<@Tarinaky>
That way the scaling won't cause any incidental translation
13:13
<@Tarinaky>
I'm guessing you know this already though so I'm not sure what else you could be asking.
13:27 catadroid [catalyst@Nightstar-v3nh7h.dab.02.net] has joined #code
14:38 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
15:00
<&McMartin>
https://hkn.eecs.berkeley.edu/~mcmartin/retro/sidsmith.prg
15:00
<&McMartin>
Looking good, though it doesn't sound good yet.
15:15 celticminstrel [celticminst@Nightstar-md6f5v.dsl.bell.ca] has joined #code
15:15 mode/#code [+o celticminstrel] by ChanServ
15:18 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [[NS] Quit: Quit.]
15:22 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
15:22 mode/#code [+o gnolam] by ChanServ
15:39 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [[NS] Quit: Quit.]
15:43 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
15:43 mode/#code [+o gnolam] by ChanServ
15:51
< catadroid>
arrrrghhgrhggargh C++ class definitions and pointer alignments are making my life hell
15:51
< catadroid>
Also people who think that bit twiddling for its own sake makes them look clever
15:53 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
15:53 mode/#code [+o Checkmate] by ChanServ
15:53 catadroid` [catalyst@Nightstar-sht89g.dab.02.net] has joined #code
15:54
< catadroid`>
hm.
15:55 catadroid [catalyst@Nightstar-v3nh7h.dab.02.net] has quit [Ping timeout: 121 seconds]
16:00 catadroid` [catalyst@Nightstar-sht89g.dab.02.net] has quit [Ping timeout: 121 seconds]
16:03 catadroid [catalyst@Nightstar-sht89g.dab.02.net] has joined #code
16:03 * McMartin coughs and chokes
16:03
<&McMartin>
That is not the tea conduit
16:24
<@gnolam>
Zat vas not medicine!
16:38
<&ToxicFrog>
catadroid: that sounds like a fun story
16:40 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
17:04
< catadroid>
yay
17:05
< catadroid>
okay it turns out I do understand how struct packing and alignment work
17:05
< catadroid>
I'm not a terrible programmer ^.^
17:09 catadroid [catalyst@Nightstar-sht89g.dab.02.net] has quit [Ping timeout: 121 seconds]
17:11 catadroid [catalyst@Nightstar-mvu07s.dab.02.net] has joined #code
17:11 kourbou [kourbou@Nightstar-spg.60b.163.37.IP] has joined #code
17:13 GreenGuy [Greenguy@Nightstar-td2.rp8.12.80.IP] has joined #code
17:17 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
17:23 kourbou [kourbou@Nightstar-spg.60b.163.37.IP] has quit [[NS] Quit: Don't think of what others think of you. Think of what you think of others.]
17:25 catadroid [catalyst@Nightstar-mvu07s.dab.02.net] has quit [Ping timeout: 121 seconds]
17:34 gizmore|2 [kvirc@Nightstar-8435kt.dip0.t-ipconnect.de] has joined #code
17:34 gizmore [kvirc@Nightstar-3jho49.dip0.t-ipconnect.de] has quit [Operation timed out]
17:40 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
17:40 mode/#code [+o Vash] by ChanServ
17:47 gnolam_ [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
17:50 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [Ping timeout: 121 seconds]
17:51 GreenGuy [Greenguy@Nightstar-td2.rp8.12.80.IP] has quit [Connection closed]
17:51 GreenGuy [Greenguy@Nightstar-fik25i.gnomino.eu] has joined #code
17:51 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
17:54 gnolam_ is now known as gnolam
17:55 mode/#code [+o gnolam] by ChanServ
18:07 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has joined #code
18:33 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has quit [Ping timeout: 121 seconds]
18:35 catadroid [catalyst@Nightstar-kvgjm4.dab.02.net] has joined #code
18:39 catadroid [catalyst@Nightstar-kvgjm4.dab.02.net] has quit [Ping timeout: 121 seconds]
18:40 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has joined #code
18:42 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has quit [[NS] Quit: Bye]
18:45 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has joined #code
18:59 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has quit [The TLS connection was non-properly terminated.]
18:59 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has joined #code
19:10 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
19:10 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
19:10 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
19:13
<@froztbyte>
https://diafygi.github.io/gnu-pricing/website/ hahahahaha
19:14 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
19:17
<@Tamber>
*snrk*
19:24 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has quit [Ping timeout: 121 seconds]
19:24
< Meatyhandbag>
hi
19:25
< abudhabi>
It's kinda late for April Fools.
19:25
< kourbou>
^
19:28
< [R]>
It was for some joke competition a while back
19:28
< [R]>
Look at that site's root for more info
19:31 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has joined #code
19:35 catadroid [catalyst@Nightstar-a7m01o.dab.02.net] has quit [Ping timeout: 121 seconds]
19:38 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
19:39 NSGuest61520 is now known as ^Xires
19:39 catadroid [catalyst@Nightstar-6iivlf.dab.02.net] has joined #code
19:43 Meatyhandbag [sebastianfe@Nightstar-ajs.vnf.224.136.IP] has joined #code
19:46 ^Xires is now known as Xires
19:46 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
19:47 catadroid [catalyst@Nightstar-6iivlf.dab.02.net] has quit [[NS] Quit: Bye]
19:52 Meatyhandbag [sebastianfe@Nightstar-ajs.vnf.224.136.IP] has quit [Client exited]
20:23 GreenGuy [Greenguy@Nightstar-fik25i.gnomino.eu] has quit [Ping timeout: 121 seconds]
20:26 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Ping timeout: 121 seconds]
20:27 kourbou [kourbou@Nightstar-03i.8n1.164.37.IP] has joined #code
20:27 * abudhabi solves the non-scaling by dividing the sizes of the fixed size objects by the scale.
20:58 kourbou is now known as kourbou|willdc
20:59 kourbou|willdc [kourbou@Nightstar-03i.8n1.164.37.IP] has quit [[NS] Quit: Don't think of what others think of you. Think of what you think of others.]
21:56 Meatyhandbag [sebastianfe@Nightstar-ajs.vnf.224.136.IP] has joined #code
22:12 Kindamoody|afk is now known as Kindamoody
22:21 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
22:21 mode/#code [+o Checkmate] by ChanServ
22:44 Vashicus [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
22:46 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Ping timeout: 121 seconds]
23:18 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [Connection closed]
23:18 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
23:18 mode/#code [+o gnolam] by ChanServ
23:26 Meatyhandbag [sebastianfe@Nightstar-ajs.vnf.224.136.IP] has quit [Client exited]
23:54 Vornicus [vorn@Nightstar-uhn82m.ct.comcast.net] has joined #code
23:54 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:55 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
--- Log closed Tue May 12 00:00:35 2015
code logs -> 2015 -> Mon, 11 May 2015< code.20150510.log - code.20150512.log >

[ Latest log file ]