code logs -> 2012 -> Mon, 06 Feb 2012< code.20120205.log - code.20120207.log >
--- Log opened Mon Feb 06 00:00:05 2012
--- Day changed Mon Feb 06 2012
00:00
< Rhamphoryncus>
So 10 for the hg revision, then a dash, then 3 letters for my branch name.. and that's it.
00:01 You're now known as TheWatcher[zZzZ]
00:05
<@The_VV>
what game?
00:08
< Rhamphoryncus>
openttd
00:08
<@The_VV>
aha
00:09
< Rhamphoryncus>
There's a lot of good in that codebase, but it definitely suffers from old assembly mentality
00:15
<@The_VV>
I remember trying to pull stuff out of the save file. It hurt my brain some.
01:45
< maoranma>
http://youtu.be/lOIP_Z_-0Hs - I hope I am not presuming too much in thinking that, as a plant, you are not very smart...
01:45
< maoranma>
lol
02:20
<@froztbyte>
the world's just too awesome :)
02:25
<@froztbyte>
hanging out on little random corners of the internet the past 4 hours has given me hope again
02:26
<@froztbyte>
(which sounds ludicrously introspective but is worth saying anyway)
02:35
< maoranma>
froztbyte: Any particular example?
02:37
<@froztbyte>
maoranma: check the recent (6th feb) entries on http://pinboard.in/u:froztbyte
02:37
<@froztbyte>
it's mostly music and photographic stuff there specifically
02:38
<@froztbyte>
but other than that also some discussions I found in various places, seeing creativity still alive, watching people still do stuff that isn't just ... well, "shit"
02:39
< gnolam>
froztbyte: http://pulitzercenter.tumblr.com/post/16523137198/how-africa-tweets-portland-and -tweetminster
02:39 * froztbyte clicks
02:40
<@froztbyte>
gnolam: yeah, I'm not surprised about the giant circle there at the bottom ;)
02:40
<@froztbyte>
quite surprised about Angola though
02:40 * froztbyte didn't know about much there
02:40
<@froztbyte>
gnolam: thanks :)
02:41
<@froztbyte>
of course, the sad bit about it all is that in less than 5 hours this wondrous feeling of hope will probably be gone as monday morning at work dealing with other people squishes it out of existence
02:41
<@froztbyte>
but we can hope
02:42
< maoranma>
Soulsucking tech support?
02:42
< gnolam>
Yeah, it looks pretty much like I imagined it would. Except I'd guessed Nigeria ahead of Kenya.
02:42
< gnolam>
(Also, shouldn't you be in bed?)
02:42 Kindamoody[zZz] is now known as Kindamoody
02:43
<@froztbyte>
maoranma: not quite, just ... stuff. I'm a sort of multirole person (netops, dev, sysadmin, 2nd/3rd-line support), and a lot of our customers are not always the brightest
02:43
<@froztbyte>
then there are various other bits that are not worth mentioning
02:44
<@froztbyte>
but all of it can add up to a bit of a fight
02:44
<@froztbyte>
gnolam: technically, yes, but last week was ludicrously tiring because I slept like shit. partied the hell out of friday and saturday evening, then crashed a lot at various times during sunday
02:44
<@froztbyte>
woke up around 11, gonna crash for another hour now at 05h30 or something
02:46
<@froztbyte>
but since my 300 download finished, I'm gonna get in bed now already
02:46
<@froztbyte>
and just take my headphones off when I wanna crash
02:46
<@froztbyte>
gnight \o :)
02:59 Attilla [Obsolete@Nightstar-0b5136fa.as43234.net] has quit [Ping timeout: 121 seconds]
03:06 maoranma [maoranma@D5CC77.617194.AD56D6.4EFBF6] has quit [[NS] Quit: ]
03:18 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Something's... wrong]
03:28 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
03:41 Derakon is now known as Derakon[AC2]
03:41 maoranma [maoranma@D5CC77.617194.AD56D6.4EFBF6] has joined #code
03:48 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Connection closed]
03:49 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
03:50
< Rhamphoryncus>
That is a really annoying bug in X. Refuses to let me change mouse focus
03:59 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
04:18 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
04:30 Derakon[AC2] is now known as Derakon
04:36
< Ling>
That's normally the WM's juristiction.
04:39 The_VV [Vash@Nightstar-a60eef95.ct.comcast.net] has quit [Connection closed]
05:35 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:47 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Operation timed out]
06:28 Derakon is now known as Derakon[AFK]
06:39 eckse [eckse@Nightstar-ceba8a7a.dsl.sentex.ca] has quit [Client closed the connection]
06:50 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
07:03 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
07:39 maoranma [maoranma@D5CC77.617194.AD56D6.4EFBF6] has quit [Ping timeout: 121 seconds]
09:10 You're now known as TheWatcher
09:27 Kindamoody [Kindamoody@Nightstar-22e2daf1.cust.tele2.se] has quit [Ping timeout: 121 seconds]
09:32 Kindamoody [Kindamoody@Nightstar-66320896.cust.tele2.se] has joined #code
09:32 mode/#code [+o Kindamoody] by ChanServ
09:49 Kindamoody is now known as Kindamoody|out
10:34 Kindamoody|out [Kindamoody@Nightstar-66320896.cust.tele2.se] has quit [Connection closed]
10:34 Kindamoody|out [Kindamoody@Nightstar-66320896.cust.tele2.se] has joined #code
10:34 mode/#code [+o Kindamoody|out] by ChanServ
11:27 Attilla [Obsolete@Nightstar-0b5136fa.as43234.net] has joined #code
12:10 iospace [Alexandria@Nightstar-635d16fc.org] has quit [Operation timed out]
13:12 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
13:46 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
13:52 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
13:52 mode/#code [+o Vash] by ChanServ
13:55 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
14:49
< gnolam>
And the prize for the building's best WLAN name goes to "Pretty fly for a WiFi".
14:50 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
14:53
<@froztbyte>
haha
15:31 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
15:43 maoranma [maoranma@Nightstar-6baf8929.pools.spcsdns.net] has joined #code
15:59 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
16:01 Kindamoody|out is now known as Kindamoody
16:56
< Rhamphoryncus>
Ah, I am foolish. Not only have I started distributing my changes (via bitbucket), but I've also started using branches. The increased complexity has of course lead to failures
16:56
<@jerith>
*led
16:56
< Rhamphoryncus>
doh :P
16:56
<@jerith>
In spelling, if nothing else. :-)
16:56
< Rhamphoryncus>
Just getting a branch of bitbucket needed hg push --branch clean --newbranch -f
16:57
<@jerith>
Why does VCS hate you so much?
16:57
< Rhamphoryncus>
I have no idea
16:58
< Rhamphoryncus>
My ultimate goal is to have branches default (all my finished or stable patches), cleanup (which is stable), and route (WIP)
16:59
< Rhamphoryncus>
I have default and cleanup on bitbucket, but I don't believe default is updated
17:01
< Rhamphoryncus>
ahh, got default merged and updated
17:02
< Rhamphoryncus>
but the route branch.. merging it gives me conflicts which are just upstream changes (nothing I've done)
17:04
< Rhamphoryncus>
Hrm. I probably need to revert the default branch as I've been using a separate repository as a branch
17:07
< Rhamphoryncus>
.. god damnit. Apparently my branch name got applied to the upstream I-can't-believe-it's-not-a-branch, rather than my own I-can't-believe-it's-not-a-branch
17:12
< maoranma>
way to go?
17:18
<@ToxicFrog>
o.O
17:19
<@ToxicFrog>
I'm not sure here if hg branches are way more complicated than git branches, or if bitbucket is complicating the process somehow, or if you're just doing it wrong
17:19
< Rhamphoryncus>
No, it just hates me
17:20
< Rhamphoryncus>
hg rollback worked. hg backout did nothing.
17:29
< Rhamphoryncus>
route and cleanup have both merged the latest default, but it refuses to let me merge that revision of cleanup into route without having conflicts. There's nothing in that revision *except* the default merge
17:31
< maoranma>
So, you're just bad at VCS?
17:32
< Rhamphoryncus>
How am I bad? :P
17:33
< maoranma>
I dunno. Millions of people use VCS, and they seem to do it without issue
17:34
< Rhamphoryncus>
Lots of people complain about how hard they are to use
17:34
< maoranma>
Yea, I still haven't figured it out myself yet
17:44
<@ToxicFrog>
Rhamphoryncus: so what are the conflicts? Fire up your three-way merge tool and check it out.
17:44
< Rhamphoryncus>
hg fires it up for me. They're previously merged changes
17:44
<@ToxicFrog>
Seriously though, these are not issues you should be having on a single-person project, or at least not without knowing what caused them; it really does sound like you're doing things you don't understand.
17:45
< Rhamphoryncus>
I know it sounds that way
17:46
< Rhamphoryncus>
I use thg to monitor the pseudobranches and it looks sane
17:48
< Rhamphoryncus>
Naming the wrong pseudobranch was a fair mistake on my part.
18:06 Kindamoody is now known as Kindamoody|out
18:59 Kindamoody|out is now known as Kindamoody
19:54 Vornucopia [NSwebIRC@C888DE.7F9621.4A1301.BBBE7B] has joined #code
19:55 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
19:55 mode/#code [+o Vash] by ChanServ
19:57 * Vornucopia sets about improving his piecewise code, because making it work better is awesome.
19:58
<@jerith>
Vornucopia: I think my curve smoothing is horribly broken.
19:58
< Vornucopia>
Horribly broken how?
19:58
<@jerith>
But I'm going to get food and cogitate furiously upon the nature of IRC bot communication requirements.
19:58
<@jerith>
It makes things strangely pointy instead of smooth.
19:59
<@jerith>
But when I try to debug, I just get numbers.
19:59
< Vornucopia>
Are you using curvature, or radius of curvature? The former is the reciprocal of the latter, and what you should actually be using.
19:59
<@jerith>
And they just sit there being numerical at me.
19:59
<@jerith>
Hrm. Maybe that's it.
20:00
<@jerith>
ZeroDivisionError
20:00
< Vornucopia>
Oh, sweet.
20:01
<@jerith>
And hacking around that makes them even more weirdly pointy.
20:01
< Vornucopia>
If you're getting ZDEs there's something more wrong; you shouldn't be getting zde off this.
20:02
<@jerith>
I think it means I had it right the first time, and there are flat bits.
20:03
<@jerith>
But I think my derivatives are broken or something. Maybe.
20:03
< Vornucopia>
Probably.
20:03
< Vornucopia>
I'll have a look at it later.
20:04
<@jerith>
I haven't pushed my code, because it's broekn.
20:04
< Vornucopia>
Did the paper mention quadratic b-splines? That vaguely surprises me; the standard is generally cubic (because the standard for beziers is cubic and that's the usual way of evaluating.)
20:05
<@jerith>
It specifically mentions quadratic.
20:05
< Vornucopia>
Interesting.
20:05
<@jerith>
(And I'd prefer quadratic, because that's what OpenType outlines are made of.
20:05
<@jerith>
)
20:05
< Vornucopia>
...which makes the first derivative linear and the second pointwise...
20:05
< Vornucopia>
Okay that might not be pretty!
20:05
<@jerith>
Yes.
20:06
< Vornucopia>
On the other hand it might make the curvature calcs easier!
20:07
<@jerith>
... and I see a bug.
20:07
< Vornucopia>
??
20:07
<@jerith>
I was using the second derivative in the denominator instead of the first.
20:07 * jerith facepalms.
20:07
< Vornucopia>
Oops.
20:07
<@jerith>
... but now I get fishies instead of circles.
20:08
< Vornucopia>
wtfx
20:08
< Vornucopia>
....possibility, are you absoluting the curvature numbers?
20:09
<@jerith>
Because I didn't take out the inversion I added 8 minutes ago.
20:09
<@jerith>
That looks better.
20:09
<@jerith>
Still wonky, but that's probably because my endpoints are all over the place.
20:10
<@jerith>
I think I can fix that. Maybe.
20:10
<@jerith>
But first, food and thinking about IRC bot stuff.
20:10
<@jerith>
Thanks! You've been an excellent debugging tool! :-)
20:11 * Vornucopia enjoys debugging hard math blind! :D
20:11
<@jerith>
(Mostly, you mde me look at the right bit of the code.)
20:12 * Vornucopia thinks that he should rejigger his interval ops code.
20:14
< Vornucopia>
It's long and horrible and I suspect there's some duplication in here.
20:14 Kindamoody|out [Kindamoody@Nightstar-278bd244.cust.tele2.se] has joined #code
20:14 mode/#code [+o Kindamoody|out] by ChanServ
20:14 Kindamoody [Kindamoody@Nightstar-66320896.cust.tele2.se] has quit [Ping timeout: 121 seconds]
20:18
< Vornucopia>
(__and__ and __or__ are each 14 lines long.)
20:20 Kindamoody [Kindamoody@Nightstar-278bd244.cust.tele2.se] has joined #code
20:20 mode/#code [+o Kindamoody] by ChanServ
20:22 Kindamoody|out [Kindamoody@Nightstar-278bd244.cust.tele2.se] has quit [NickServ (GHOST command used by Kindamoody)]
20:22 Kindamoody|out [Kindamoody@Nightstar-278bd244.cust.tele2.se] has joined #code
20:22 mode/#code [+o Kindamoody|out] by ChanServ
20:23 Kindamoody|out [Kindamoody@Nightstar-278bd244.cust.tele2.se] has left #code ["Whoops, wrong window focus again!"]
20:25 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
20:25 mode/#code [+o himi] by ChanServ
20:32 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has quit [[NS] Quit: ]
20:33 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
20:39 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has joined #code
20:39 mode/#code [+o Alek] by ChanServ
20:41 Kindamoody is now known as Kindamoody[zZz]
21:04 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
21:07
< Vornucopia>
Gah, this code just doesn't want to get nicer.
21:07
< Vornucopia>
It feels like I should be able to combine them into an andor and then from there do the breakdown; but there's so many ridiculous cases...
21:09
<@jerith>
It turns out hard math is hard?
21:09
< Vornucopia>
This is actually the easy math.
21:10
< Vornucopia>
Calculus on polynomials was a 1-liner; piecewises should be not much longer.
21:13
< Vornucopia>
But combining intervals as I am in need of doing is giving me problems.
21:14
<@jerith>
So it lulled you into a false sens of security.
21:15
< Vornucopia>
Heh, no, it's just that the "easy" math has all the weird cases.
21:15
<@jerith>
My smoothing seems to work fine, except for the endpoints.
21:17
< Vornucopia>
Getting the endpoints not ending up matching?
21:17
< Vornucopia>
(this is for closed splines, right?)
21:18
< Vornucopia>
Make sure that when you move a control that's near the ends, that you also move its counterpart.
21:19
<@jerith>
Yeah.
21:19
<@jerith>
My plan was to move them all individually, and then realign the endpoints.
21:19
<@jerith>
But I don't think that's going to work.
21:20
<@jerith>
I /think/ what I need to do is wrap around the domain or something.
21:22
< Vornucopia>
I think you might end up needing a closed spline specialization.
21:24
<@jerith>
Yeah.
21:31
< Vornucopia>
This would also let you dynamically choose knot locs as you move points; it'd be a subtle effect, but there's some interesting knot selection methods. They'd be much slower than uniform.
21:33
< Vornucopia>
(uniform, btw, you can use integer locations for your knots; unlike the bezier spline, the b-spline can have any closed interval as its domain)
21:34
< Vornucopia>
(also works somewhat better than doing division to pick knot points!)
21:35
<@jerith>
So, those course notes I linked you two have two different methods for making closed splines.
21:35
< Vornucopia>
Right, I couldn't figure out one of them.
21:35
<@jerith>
One has you wrapping control points and the other has you wrapping knots.
21:35
<@jerith>
Yeah. I could only figure the point-wrapping one out.
21:35
< Vornucopia>
Or rather I couldn't figure out what was going on with there being two.
21:36
< Vornucopia>
I just did (for cubics) a b c d e f g a b c, and then just repeat the first few knots as well.
21:36
< Vornucopia>
well, repeat the first few knot strides.
21:37
< Eri>
Still sounds kinky
21:38
<@jerith>
I did abcdefgab and had evenly-spaced knots.
21:38
< Vornucopia>
Right, that's what I did; in your case all the knot strides are the same anyway.
21:39 * Vornucopia does some fiddling. Okay, andor can be a single function that does both and then I break out the results... then I need __sub__ and with those two I can build __xor__
21:41
< Vornucopia>
That these things don't respond to other sets yet is a minor issue that I'll have to tackle later when I'm doing equation solving on piecewises (which falls back on piecewises)
21:42
< Vornucopia>
(er, on polynomials)
21:42
< Vornucopia>
(and then when that's done I will have a program that can do algebra 2. Precalc on the other hand might be a problem!)
21:43
<@jerith>
Where does this code live?
21:43
< Vornucopia>
Currently it's in spline/algebra.py
21:44
< Vornucopia>
er, depixeldrod/algebra.py
21:45
< Vornucopia>
but it's kind of a bloody mess right now, and I need to fix a few things.
21:49
< Vornucopia>
I've got like a dozen todos.
21:49
< Vornucopia>
Anyway, time to go back to work.
21:51 Vornucopia [NSwebIRC@C888DE.7F9621.4A1301.BBBE7B] has quit [[NS] Quit: Page closed]
22:04 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
22:04 mode/#code [+o himi] by ChanServ
22:17 Attilla_ [Obsolete@Nightstar-83b28186.as43234.net] has joined #code
22:19 Attilla [Obsolete@Nightstar-0b5136fa.as43234.net] has quit [NickServ (GHOST command used by Attilla_)]
22:19 Attilla_ is now known as Attilla
22:34 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
23:06 eckse [eckse@Nightstar-ceba8a7a.dsl.sentex.ca] has joined #code
23:06 mode/#code [+o eckse] by ChanServ
23:32 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Operation timed out]
23:47 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
--- Log closed Tue Feb 07 00:00:30 2012
code logs -> 2012 -> Mon, 06 Feb 2012< code.20120205.log - code.20120207.log >

[ Latest log file ]