code logs -> 2011 -> Sun, 20 Nov 2011< code.20111119.log - code.20111121.log >
--- Log opened Sun Nov 20 00:00:01 2011
00:00 kw|BLARGH is now known as kws-not-here
00:22 You're now known as TheWatcher[T-2]
00:25 You're now known as TheWatcher[zZzZ]
00:48<~Vornicus> Actually he was trolling about w3's standards process
01:02 * McMartin \o/ as he gets incremental compilation to work in Gambit-C
01:04
< McMartin>
The one thing missing is makefile jackassery to automatically do a couple of steps that otherwise require a copy-paste.
01:04
< McMartin>
(You have to link it twice, basically, once before and once after the compilation to C)
01:05
< ToxicFrog>
Gambit-C?
01:05
< McMartin>
(The dependencies for the first link step are similar)
01:05 * ToxicFrog looks at the name again
01:05
< ToxicFrog>
Oh. Scheme -> C -> machine code?
01:05
< McMartin>
Gambit-C is a Scheme system that uses gcc as its intermediate format.
01:05
< McMartin>
Yeah.
01:05
< McMartin>
And it's fully compliant, too, with tail calls and full continuation support
01:05
< McMartin>
Which is \o/ or :gonk: depending~
01:05
< ToxicFrog>
Niiiiice.
01:06
< ToxicFrog>
:goop:?
01:06
< McMartin>
It does not, however, appear to be the most modern Scheme implementation.
01:06
< McMartin>
But Racket is so far from the stuff I learned from SICP that it might as well be a different language entirely.
01:06
< McMartin>
(That said, my one use of call/cc in this code could have been replaced with a let/ec with much rejoicing)
01:08
< McMartin>
Anyway, yeah
01:08
< McMartin>
You can automate the whole thing, but then it isn't incremental-build
01:08
< McMartin>
So to get that, the build steps are:
01:08
< McMartin>
- Compile .scm to .c
01:09
< ToxicFrog>
let/ec?
01:09
< McMartin>
- Assemble .c files in dependency order, run Gambit linker which produces another .c file
01:09
< McMartin>
- compile all .c files to .o files
01:09
< McMartin>
- Link .o files with Gambit runtime and libc to get final result
01:09 * Vornicus randomly hates on make.
01:10 * Vornicus also randomly hates on rake, but at least rake lets him do things that seem essentially impossible in make.
01:10
< McMartin>
let/ec is "let with escape continuation" - escape continuations are faster versions of continuations that aren't as powerful - they can't be used outside of the dynamic scope they've been called from (so are thus equivalent to longjmp)
01:10 * ToxicFrog hates all build systems everywhere
01:10
< ToxicFrog>
So far the ones I hate least seem to be pm and premake. They still both suck~
01:10
< McMartin>
(let/cc k (blah)) is a thing Racket has that is equivalent to (call/cc (lambda (k) (blah)))
01:10
< McMartin>
I should get more into SCons, really
01:11<~Vornicus> I hate rake because, well, it's ruby, and I ended up with mass insanity
01:11
< ToxicFrog>
(pm is wicked flexible and has pleasant project files but doesn't do parallel build, has serious portability issues, and is unmaintained. premake is a project file generator and is great if you want to support multiple build systems but this badly limits its flexibility.)
01:11 * McMartin sets up the git repo for this project now that it isn't "experiment with command line programs at the command line and REPL"
01:12<~Vornicus> make on the other hand I seemed to need to hand-write every target name, because none of the tools available would build the (in one case) 90 different targets from a single filename.
01:12
< McMartin>
(It also appears to NFW for a bunch of those project types~)
01:13
< ToxicFrog>
Speaking of which
01:13
< McMartin>
http://paste.ubuntu.com/743810/
01:13<~Vornicus> (seriously: token.ps built {0.5, 1, 2, 3, 4, 5, 6, 7, 8}/token/{2, 3, 4, 5, 6, 8, 9, 10, 11, 12}.png )
01:14
< McMartin>
As you can see, it isn't really that bad for this use case, but it would be nice to autobuild the lextest_ case.
01:14
< McMartin>
Er, the lextest_.c clause, rather.
01:14
< ToxicFrog>
McM, did you ever get around to trying the new Enceladus build files?
01:14
< McMartin>
Not sure how new "new" is
01:14
< ToxicFrog>
(also, I'm pretty sure at this point that most if not all of the DFW is on my end)
01:14
< ToxicFrog>
(in particular, I didn't understand --os and was, for example, telling it to generate MinGW makefiles and VS solution files...for building under Linux)
01:14
< McMartin>
I don't think I've tested it since "executive summary: :gonk:"
01:15
< ToxicFrog>
(although I may just drop VS entirely because fuck C89 forever~)
01:15
< McMartin>
(This is entirely reasonable~)
01:15
< ToxicFrog>
<ToxicFrog> I also think I've gotten the msys stuff sorted; I didn't fully understand how platforms work in premake.
01:15
< ToxicFrog>
<ToxicFrog> build/windows/ should now contain VS project files (which don't work) and Makefiles (which work in the cross-compiler, at least, and should work in native msys).
01:15
< ToxicFrog>
<McMartin> OK, I'll take a look in a bit
01:16
< McMartin>
OK, I haven't tried that yet, I'll do so when I get home tonight.
01:16
< ToxicFrog>
Haven't heard anything since, not sure if you reported it in here and I missed it or not.
01:16
< ToxicFrog>
Alright. No rush.
01:16
< ToxicFrog>
(yeah, turns out the correct solution to cross-compiler support is 'premake4 --os=windows gmake' to generate a makefile using the windows project configuration, and then '(cd build/windows && mingw32-make)')
01:17
< ToxicFrog>
(as opposed to trying to generate one makefile that works everywhere)
01:17
< McMartin>
(Yeah. MinGW is *not* a POSIX compliance layer and it's very dangerous to pretend it is)
01:18
< McMartin>
(Windows only implements about half of POSIX and the other half is, basically, VMS++)
01:18
< McMartin>
(POSIX is finally catching its domain sockets up to Windows mailbox multicast though \o/)
01:21
< ToxicFrog>
That wasn't even the problem, actually.
01:22
< ToxicFrog>
I was expecting OS-dependent things to get resolved at make time.
01:22
< ToxicFrog>
So, for example, I expected 'configuration "linux gcc" linkeropts "-rdynamic"' to generate a makefile that, if built on linux, would use -rdynamic, and otherwise not.
01:23
< ToxicFrog>
Instead it happens at premake time; 'premake4 --os=linux gmake' will generate a makefile that uses -rdynamic and 'premake4 --os=windows gmake' will not.
01:24
< McMartin>
Aha
01:25
< McMartin>
Hm, you know
01:25
< McMartin>
I could write a small script *in* Gambit to generate the Makefile~
01:31 * McMartin heads home from coffeeshop.
01:54 maoranma [maoranma@490720.C448F4.EA970A.EA912C] has joined #code
01:54 * maoranma does a dance!
01:59
< ToxicFrog>
Mrr?
01:59 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [Client closed the connection]
01:59
< ToxicFrog>
Oh, hey Noah :)
02:00
< maoranma>
Haha
02:07<~Vornicus> oh man, noah
02:12
< maoranma>
Oh hey, it's Vornicus
02:37 kws-not-here is now known as kwsn
02:37 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:38
< McMartin>
Hey, look who's here
02:42
< maoranma>
Wait, who's here?
02:42
< McMartin>
You are
02:42
< McMartin>
Speaking of people in two places at once.
02:42
< maoranma>
No he's not. I beat him up and kicked him outta the house.
02:43
< maoranma>
Not really...he's walking his parents dog cause they got stuck in the middle of nowhere for the night with our son.
02:43
< maoranma>
But same diff really.
02:44
< maoranma>
Sooo, do we know you? :)
02:44
< McMartin>
Yes, I'm McMartin. I've been here at least as long as TF or Vorn.
02:44
< McMartin>
You're Noah and I remember you vaguely.
02:45
< McMartin>
Though I've been through a few machines since then and I don't think I have the logs anymore.
02:45
< maoranma>
I'm not Noah. I'm Chrissy.
02:45
< maoranma>
Poisyn's daughter, Noah's wife.
02:45
< maoranma>
:)
02:45
< maoranma>
Like I said, I stole the computer.
02:46
< ToxicFrog>
Well. Pleased to meet you, Chrissy :)
02:46
< maoranma>
You too!
02:46
< maoranma>
I think he's going to kick me off in a second.
02:46<~Vornicus> omg chrissy too
02:47
< maoranma>
lol, Vorn...was wondering iffen you were paying attention
02:47
< maoranma>
Or even remembered little ol me.
02:47
< McMartin>
Ah, OK.
02:47
< McMartin>
I'm not sure I knew you.
02:47 * Vornicus went to snuggle his girlfriend.
02:47
< maoranma>
I dunno. Noah was a gamer...I was just the crazy daughter of an even crazier admin.
02:47
< maoranma>
Noah hung out in all the cool channels.
02:48
< maoranma>
I just hung out in #Nightstar and the bar, CRFH and momma's channel.
02:48
< McMartin>
If you were in #crfh in the Most Ancient Days then our paths did cross.
02:48
< maoranma>
Ah crap
02:48
< maoranma>
He's staring at me.
02:49
< maoranma>
And yelling at me
02:49
< McMartin>
I date back to the DALnet days there, but vanished shortly afterwards.
02:49
< McMartin>
You have theived his computer!
02:49
< maoranma>
lol
02:49
< maoranma>
Well, I roleplayed as LadyTrigger on Dalnet back in the ancient days.
02:49
< maoranma>
And I idled on here usually as LadyTrigger or Chrissy
02:50
< maoranma>
I'm so excited about chatting that I'm periodically forgetting to hit the period key, lol.
02:50
< ToxicFrog>
Hmm. Our paths might have crossed in #crfh, then. It's been a while.
02:51
< maoranma>
Would have been ages ago. I've been off and on on Nightstar for the past 11-12 years.
02:52
< McMartin>
Yup.
02:52
< McMartin>
Sounds about right
02:52
< maoranma>
I was an IRCop for Trek and ... someone else. Then Poisyn got her own server, and she made me her IRCop too. She's mean, though, so I liked being Trek's ircop more.
02:52 * McMartin joined Nightstar around... 2002? 2003?
02:52
< ToxicFrog>
I showed up, hrm, nine years ago or so?
02:53
< maoranma>
Noah and I have been together since I was like 11 ... so that was almost 14 years ago.
02:53
< maoranma>
So I've been on NS that long, since we met in the Bar.
02:54
< maoranma>
So, it's very possible that I've only briefly met yall, from my not so often visits between 2002 and 2005.
02:54
< maoranma>
I kind of fell out of contact for quite awhile.
02:54 Kindamoody[zZz] is now known as Kindamoody
02:56 * ToxicFrog nods
02:56
< ToxicFrog>
I've been around pretty much without breaks, but I dropped out of #crfh and #nightstar_bar ages ago.
02:58 * maoranma noddles
02:58
< maoranma>
Vorni remembers me, so I'm good.
03:05
< ToxicFrog>
Did #code even exist back then?
03:06
< maoranma>
Umm...
03:06 cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
03:07
< maoranma>
Noah says "not that I remember"
03:23
< ToxicFrog>
You know what sounds kind of appealing now?
03:23
< ToxicFrog>
Sleep.
03:24
< ToxicFrog>
Goodnight! Good talking to you :)
03:25
< kwsn>
night TF
03:27 Kindamoody is now known as Kindamoody|afk
--- Log closed Sun Nov 20 03:35:13 2011
--- Log opened Sun Nov 20 03:35:26 2011
03:35 TheWatcher[zZzZ] [chris@Nightstar-3762b576.co.uk] has joined #code
03:35 Irssi: #code: Total of 28 nicks [8 ops, 0 halfops, 0 voices, 20 normal]
03:36 Irssi: Join to #code was synced in 48 secs
04:02
< maoranma>
Reiv?
04:03
< maoranma>
Who's Reiv? Now that I have my damn computer back.
04:03
< Derakon>
Reiver.
04:03
< Derakon>
(Hullo, Noah. Don't think I ever interacted with you much, but I remember the nick)
04:04
< maoranma>
Hmm, don't remember Reiver, but that ain't saying much
04:04 maoranma is now known as Noah
04:10 Kindamoody|afk is now known as Kindamoody
04:22
<@Reiver>
I am Reiver.
04:22
<@Reiver>
One of the First Founders of this channel.
04:22
< Derakon>
And inexplicable replacement for chanserv when it comes to opping its residents~
04:22 * Reiver sniggers
04:22
<@Reiver>
Yeah, I still don't know what's up there
04:22
<@Reiver>
I mean I'm not even the founder any more wtf
04:23
<@Reiver>
But hey.
04:24 * Reiver is one of the younger Elder Gods we have, but an Elder God he remains.
04:29 * Reiver ponders
04:29 * Reiver pokes Vorn for MATH
04:29
<@Reiver>
So, a theoretical exersize: You have an average of 8.2 in a sample set of 6 values, 4 of which are 10.
04:30
<@Reiver>
What's the average of the other two to drag it down that far?
04:30 * Reiver is struggling to figure the math you'd use.
04:45
< Derakon>
(40 + 2x) / 6 = 8.2
04:45
< Derakon>
((8.2 * 6) - 40) / 2 = x
04:50<~Vornicus> just like that
04:52
< Noah>
Bleh, math
04:53
< Noah>
Just got done with Problem Solving class, now I have College Math I next
04:54
<@Reiver>
... algebra.
04:54
<@Reiver>
Of course
04:54 * Reiver is a little ashamed to have realised~
04:55
< Derakon>
:)
04:55
<@Reiver>
Average: 4.6. Not a good sign~
06:08 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
06:28 kazrikna [kazrikna@Nightstar-843a343b.arkaic.com] has quit [Ping timeout: 121 seconds]
06:31 Derakon is now known as Derakon[AFK]
06:52 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
07:08 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
07:14 ErikMesoy|sleep is now known as ErikMesoy
07:22 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
07:27 kazrikna [kazrikna@Nightstar-843a343b.arkaic.com] has joined #code
07:30 AnnoDomini [annodomini@Nightstar-f7eedefa.80-203-17.nextgentel.com] has joined #code
07:57 cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
08:13 Kindamoody is now known as Kindamoody|out
08:13 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
08:19 kazrikna [kazrikna@Nightstar-843a343b.arkaic.com] has quit [Ping timeout: 121 seconds]
08:57 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!]
09:01 Noah [maoranma@490720.C448F4.EA970A.EA912C] has quit [Ping timeout: 121 seconds]
09:03 Kindamoody|out is now known as Kindamoody
09:04 AnnoDomini [annodomini@Nightstar-f7eedefa.80-203-17.nextgentel.com] has quit [[NS] Quit: leaving]
10:02 You're now known as TheWatcher
11:16 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
11:19 Kindamoody is now known as Kindamoody|out
12:01 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
12:44 maoranma [maoranma@490720.C448F4.EA970A.EA912C] has joined #code
12:58 Kindamoody|out is now known as Kindamoody
13:12 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
13:41 Kindamoody is now known as Kindamoody|out
13:43 cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
15:37 cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
15:47 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
16:00 maoranma [maoranma@490720.C448F4.EA970A.EA912C] has quit [Ping timeout: 121 seconds]
16:53 Noah [maoranma@490720.C448F4.EA970A.EA912C] has joined #code
17:06 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
17:09 Derakon[AFK] is now known as Derakon
17:29 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
18:03 kwsn is now known as kw|GO_PACK
18:40 Kindamoody|out is now known as Kindamoody
18:55 Kindamoody is now known as Kindamoody[zZz]
21:04 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:41 kw|GO_PACK is now known as kwsn
21:48 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
22:30 ErikMesoy is now known as ErikMesoy|sleep
23:29 You're now known as TheWatcher[T-2]
23:32 You're now known as TheWatcher[zZzZ]
--- Log closed Mon Nov 21 00:00:15 2011
code logs -> 2011 -> Sun, 20 Nov 2011< code.20111119.log - code.20111121.log >

[ Latest log file ]