code logs -> 2007 -> Thu, 13 Sep 2007< code.20070912.log - code.20070914.log >
--- Log opened Thu Sep 13 00:00:05 2007
00:00 You're now known as TheWatcher[zZzZ]
00:03 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?]
00:48
< MinceR>
gn
00:50 Reiver is now known as ReivClass
02:44
<@McMartin>
Ah, ML.
02:44
<@McMartin>
val deriv : (float -> float) -> float -> float -> float = <fun>
02:44
<@Vornicus>
;_;
02:45
<@McMartin>
let deriv f dx = function x -> (f(x +. dx) -. f(x)) /. dx;;
02:45
<@McMartin>
Really should be (float -> float) -> float -> (float -> float).
02:49
<@Vornicus>
madness.
02:51
<@McMartin>
Given a function f and a delta dx, it returns a function that approximates f'.
02:51
<@McMartin>
The smaller dx is, the better the approximation.
02:52
<@McMartin>
Until you start hitting floating point limits, anyway.
02:52
<@McMartin>
(One of OCaml's uglinesses compared to standard ML is that it requires different operators to work on floats; that's the +. and such)
02:53
<@Vornicus>
I recognized it, yes.
02:54 * Vornicus <3 derivatives, because it's so cool to say "okay, so we've got this quotient with h on the bottom. now... set h to 0."
02:55
<@McMartin>
Well, calculus is basically All About dividing by zero for fun and profit.
02:56
<@Vornicus>
A very true thing.
03:17 Vornicus is now known as Vornicus-Latens
04:08 GeekSoldier is now known as GeekSoldier|work
04:36 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
04:37 Netsplit Blargh.CA.US.Nightstar.Net <-> DeepThought.NY.US.Nightstar.Net quits: NSGuest-1042, Syloqs-AFH, NSGuest-1044, MyCatVerbs, @AnnoDomini, +KarmaBot, Kyrre, Raif_, Pi, @Vornicus-Latens, (+4 more, use /NETSPLIT to show all of them)
04:37 Netsplit over, joins: AnnoDomini
04:41 McMartin [~mcmartin@Nightstar-904.dsl.pltn13.sbcglobal.net] has joined #Code
04:41 KarmaBot [~fark.off@87.72.35.ns-3885] has joined #Code
04:41 Syloqs-AFH [Syloq@Admin.Nightstar.Net] has joined #Code
04:41 Kyrre [~Z@87.72.35.ns-3885] has joined #Code
04:41 MinceR [~mincer@Nightstar-4916.nik.bmf.hu] has joined #Code
04:41 MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has joined #Code
04:41 NSGuest-1042 [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has joined #Code
04:41 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #Code
04:41 ServerMode/#Code [+oo ToxicFrog McMartin] by DeepThought.NY.US.Nightstar.Net
04:41 ServerMode/#Code [+v KarmaBot] by DeepThought.NY.US.Nightstar.Net
04:41 mode/#code [+o Chalcedon] by ChanServ
04:43 Chalain [~chalain@Admin.Nightstar.Net] has joined #code
04:43 mode/#code [+o Chalain] by ChanServ
04:43 Vornicus-Latens [~vorn@Admin.Nightstar.Net] has joined #code
04:43 Raif_ [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has joined #code
04:43 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has joined #code
04:43 GeekSoldier|work [~Rob@Nightstar-3131.pools.arcor-ip.net] has joined #code
04:43 mode/#code [+o Pi] by ChanServ
04:43 NSGuest-1044 [~jerith@Nightstar-21563.slipgate.za.net] has joined #code
04:43 ServerMode/#Code [+o Vornicus-Latens] by Troika.TX.US.Nightstar.Net
04:43 mode/#code [-o Vornicus-Latens] by ChanServ
05:34 Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has joined #code
05:34 mode/#code [+o Forj] by ChanServ
06:46 Vornotron [~vorn@69.0.80.ns-26324] has joined #code
06:47 Vornicus-Latens [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout]
07:26 ReivClass is now known as Reiver
07:31 Raif_ is now known as Raif
07:41 GeekSoldier|work is now known as DayUmbrella
07:46 DayUmbrella is now known as GeekSoldier|Work
07:50 NSGuest-1044 is now known as jerith
08:13 DiceBot [~Reiver@Nightstar-29823.ubs-dsl.xnet.co.nz] has joined #Code
08:28 Chalcedon is now known as ChalcyAFK
08:35 You're now known as TheWatcher
08:40 GeekSoldier|Work [~Rob@Nightstar-3131.pools.arcor-ip.net] has quit [Ping Timeout]
09:15 ChalcyAFK is now known as Chalcedon
09:29 Thaqui [~Thaqui@Nightstar-26886.jetstream.xtra.co.nz] has joined #code
09:29 mode/#code [+o Thaqui] by ChanServ
--- Log closed Thu Sep 13 09:29:58 2007
--- Log opened Thu Sep 13 09:30:33 2007
09:30 TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
09:30 Irssi: #code: Total of 20 nicks [7 ops, 0 halfops, 1 voices, 12 normal]
09:30 mode/#code [+o TheWatcher] by ChanServ
09:31 Irssi: Join to #code was synced in 36 secs
09:34 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
09:34 mode/#code [+o gnolam] by ChanServ
11:02 Chalcedon [~Chalcedon@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: Gone]
11:27 Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: Gone]
14:03 Reiver is now known as ReivZzz
14:12 Thaqui [~Thaqui@Nightstar-26886.jetstream.xtra.co.nz] has quit [Quit: This computer has gone to sleep]
14:32 Vornotron is now known as Vornicus
14:49 ReivZzz is now known as ReivSLEP
15:10
< MinceR>
j0
16:38
<@McMartin>
"Put your coworkers in the defect log; they're broken too"
16:39
< jerith>
So, I've been looking at switching my confbot (originally from http://coders.meta.net.nz/~perry/jabber/confbot.php but fairly heavily modified) over to the new version.
16:40
< jerith>
But the new version is a bit broken.
16:40
< jerith>
Mostly around plugins.
16:40
< jerith>
So I thought I'd lift supybot's plugin system.
16:41
< jerith>
It's BSD-licensed.
16:41
< jerith>
Except the confbot seems to have no license.
16:42
< jerith>
And the architecture (of the confbot) is pretty revolting.
16:50
< MyCatVerbs>
Howso? Whassit written in, anyway/
16:50
< MyCatVerbs>
s/\//?/
16:50
< jerith>
Python.
16:51
< jerith>
The plugin system's all I've really looked at so far.
16:51
< jerith>
Because that broke on statrtup.
16:54
< jerith>
And they also do a lot of "from foo import *" which is evil.
16:55
< jerith>
And quite a number of globals.
16:55
< jerith>
This will require some cleanup.
16:56
< jerith>
The first version was no better, but at least it was all contained.
16:57
< jerith>
It's going to be quite a bit of work before this thing is properly usable, though.
16:58 * jerith ponders. In the right channel this time.
16:59
< jerith>
I should probably make my own branch.
16:59
< jerith>
In my own svn repo, even.
16:59
< jerith>
Oh, and the worst bit? They indent with tabs.
17:00
< Vornicus>
OH NOES
17:00
< jerith>
OH YESES
17:01
< Vornicus>
wuss
17:03 Solensean [~Sol@Nightstar-18400.w90-31.abo.wanadoo.fr] has joined #code
17:03
< Solensean>
Could someone copy/past jerith's last statement for me?
17:03
< Solensean>
*paste
17:04
< jerith>
17:59 * jerith ponders. In the right channel this time.
17:04
< jerith>
17:59 < jerith> I should probably make my own branch.
17:04
< jerith>
17:59 < jerith> In my own svn repo, even.
17:04
< jerith>
18:00 < jerith> Oh, and the worst bit? They indent with tabs.
17:04
< Solensean>
Thanks.
17:05
< jerith>
It was about some Python code I'm hacking on.
17:07
< MyCatVerbs>
jerith: ...I *like* tabs.
17:07 * MyCatVerbs grins.
17:08
< MyCatVerbs>
tabstop=3, shiftwidth=3, indent, noexpandtab. :)
17:08
< jerith>
MyCatVerbs: I have no real problem with them myself, except that the whole rest of the world has standardised on four spaces for Python indents.
17:08
<@McMartin>
Tabs in python are only acceptable if they're the only thing ever used, and if nobody else's editor ever ever messes with them.
17:08
<@McMartin>
Apparently MCV has standardized on three~
17:09
< jerith>
Nothing a "find . -name '*.py' | xargs sed -i 's/\t/ /g'" won't fix, though.
17:09
< jerith>
McMartin: Not if you're an open-source project.
17:09
< MyCatVerbs>
McMartin: I just happen to like the look of C & Java best when they're indented by three columns per level of indentation, and when it's achieved using tabs.
17:10
< MyCatVerbs>
McMartin: I do not at all object, however, to the idea of running, say, s/^I/ /g over every single bit of code I ever write before handing it off to someone else.
17:11
< MyCatVerbs>
(And, also, I don't really much like the look of C or Java an awful lot at the best of times anyway. ^^)
17:12
< jerith>
The problem is that I only discovered it was tabs when I inserted a line and it gave me a syntax error.
17:43 Solensean [~Sol@Nightstar-18400.w90-31.abo.wanadoo.fr] has quit [Ping Timeout]
18:05 ToxicFrog` [~ToxicFrog@Admin.Nightstar.Net] has joined #code
18:09 ToxicFrog` [~ToxicFrog@Admin.Nightstar.Net] has quit [Client exited]
18:18
< MyCatVerbs>
jerith: heh.
18:19 AnnoDomini [AnnoDomini@Nightstar-7050.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
18:23 McMartin [~mcmartin@Nightstar-904.dsl.pltn13.sbcglobal.net] has quit [Quit: reboot]
18:25 AnnoDomini [AnnoDomini@Nightstar-28984.neoplus.adsl.tpnet.pl] has joined #Code
18:25 mode/#code [+o AnnoDomini] by ChanServ
18:54 GeekSoldier|Work [~Rob@Nightstar-5273.pools.arcor-ip.net] has joined #code
18:55 GeekSoldier|Work is now known as GeekSoldier
19:07 Solensean [~Sol@Nightstar-18400.w90-31.abo.wanadoo.fr] has joined #code
19:16 Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has joined #code
19:16 mode/#code [+o Forj] by ChanServ
19:23 Xiphias [Ameroth@Nightstar-25243.dsl.in-addr.zen.co.uk] has joined #code
19:29 GeekSoldier is now known as GeekSoldier|bed
19:52 Forj [~Forj@Nightstar-2472.ue.woosh.co.nz] has quit [Quit: Gone]
20:40 Solensean [~Sol@Nightstar-18400.w90-31.abo.wanadoo.fr] has quit [Quit: ?? ??? ?? ??? ???]
20:44 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Bleh.]
20:52 McMartin [~mcmartin@Nightstar-904.dsl.pltn13.sbcglobal.net] has joined #code
20:52 mode/#code [+o McMartin] by ChanServ
21:04 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout]
21:04 Vornicus [~vorn@69.0.81.ns-26236] has joined #code
21:05 Vornicus is now known as NSGuest-1062
21:06 NSGuest-1062 is now known as Vornicus
21:28 Xiphias [Ameroth@Nightstar-25243.dsl.in-addr.zen.co.uk] has quit [Quit: I was never gone]
21:47
<@McMartin>
Man, it's not easy to get information on chips with the opcode "BRA". There's all this irrelevant other data.
21:47 * AnnoDomini laughs.
21:48
<@McMartin>
Uh, actually, it occurs to me that there are some old-school hackers in here.
21:48
<@McMartin>
Anyone know offhand of 6502 variants that have that opcode? The 2A03 and 6510 don't.
21:48
<@McMartin>
The 65816 seems to, but I'm not counting it
21:49
<@McMartin>
Er, not counting it as a 6502 variant.
21:51
<@ToxicFrog>
All the MC68* chips do, as I recall. Both the 68xxx processors and the 68HCxx microcontrollers.
21:51
<@ToxicFrog>
But that doesn't really help you.
21:51
<@McMartin>
Yeah, this in the context of a bug report saying I "forgot that opcode" in P65
21:52
<@McMartin>
Er. Mnemonic. Followed by me checking my manuals and finding the claimed opcodes for that mnemonic to be "For Future Expansion".
21:52
<@McMartin>
Followed by me emailing him back and saying "Uh, I checked here and here and I go tnothin'. Refs plz?"
21:52
<@McMartin>
No word back yet.
21:53
<@McMartin>
But if there's a major chipset I'm missing that I can patch in as an option for free, I might as well add it along with .charset for P65 1.0
21:55
<@McMartin>
Ding!
21:55
<@McMartin>
65C02.
21:55
<@McMartin>
Apple IIc, later-era IIes, and the TG16 used it.
21:59
< Vornicus>
Man, the TurboGrafx16.
22:02
<@McMartin>
Actually, the Apple angle makes supporing 65C02 opcodes more urgent, since the intended Last Feature (.charset) was explicitly to make the Apple ][ work.
22:02
<@McMartin>
Since its charset is, um, Very Not ASCII.
22:04
< MinceR>
ebcdic?
22:05
<@McMartin>
Nope
22:05
<@McMartin>
That was an IBM mainframe thing.
22:05
<@McMartin>
It was just their own thing.
22:07
<@McMartin>
(In particular, the Apple II one at least had continuous letters.)
22:07
<@McMartin>
(So did EBCDIC, but only as no nybble had a value larger than 9!)
22:07
<@McMartin>
(The BCD in EBCDIC is for "Binary Coded Decimal", where 9 + 1 = 16.
22:07
<@McMartin>
)
23:52 You're now known as TheWatcher[T-2]
23:54 You're now known as TheWatcher[zZzZ]
--- Log closed Fri Sep 14 00:00:02 2007
code logs -> 2007 -> Thu, 13 Sep 2007< code.20070912.log - code.20070914.log >