Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2009-12-15:

[0:00] <kriskowal> oh, maceij
[0:00] <kriskowal> no
[0:00] <kriskowal> es4 isn't as lively as commonjs these days
[0:01] <ashb> see the quasi-literal thing?
[0:04] <kriskowal> no
[0:07] <zilenCe> yo guys
[0:08] <zilenCe> does anyone have a few minutes to talk about modules?
[0:13] <nrstott> I think it was in this channel last week that someone mentioned a JavaScript conference in Boston in May 2010. Anyone know what I'm talking about?
[0:14] <ashb> Boston i don't know about. there's JSConf.us in Apr 2010
[0:14] <ashb> in DC
[0:15] <nrstott> ug DC ;0
[0:17] <nrstott> nothing up on the web other than that it's happening about that one yet
[0:31] <deanlandolt_> nrstott: what's wrong with dc (says the native)?
[0:31] <kriskowal> isaacs, if you've got the time, plz write up a setExports as a proposal under Modules on the wiki.
[0:31] <isaacs> okie dokie
[0:32] <isaacs> i updated my node securable-setexports branch with the feedback from the list.
[0:32] <nrstott> deanlandolt_, nothing in particular I guess ;0. I just wanted to visit Boston and need a good excuse
[0:34] <deanlandolt_> nrstott: i wouldn't suggest it in the winter
[0:34] <deanlandolt_> (but may woulda been nice, sure)
[0:34] <nrstott> my wife wants us to move somewhere wehre she can get a job. She's a solid state chemist.
[0:35] <isaacs> nrstott: if your'e gonna go to new england, fall is the best time.
[0:35] <nrstott> Boston is one of the few places that I woudl be happy living where she could get a job
[0:35] <isaacs> september
[0:35] <nrstott> I want to see it at its worst :)
[0:35] <nrstott> to know if I can stand it then
[0:35] <isaacs> of course, if you're gonna shop for a place to live, i'ts best to see it at its worst
[0:35] <isaacs> yeah, exactly
[0:35] <deanlandolt_> ashb: i think you're talking about mike samuel?
[0:35] <isaacs> august and february
[0:36] <deanlandolt_> i got stuck at logan international in a lovely feb ice strorm...it was...great
[0:37] <deanlandolt_> nrstott: that's what you get for marrying up i guess ;)
[0:37] <nrstott> hah
[0:38] <nrstott> California would be good for both of us. I really don't like Earthquakes though
[0:38] <deanlandolt_> where are you now?
[0:38] <nrstott> Alabama
[0:38] <deanlandolt_> whereabouts?
[0:38] <nrstott> Tuscaloosa
[0:39] <nrstott> she's finishing her PhD
[0:39] <deanlandolt_> ah, never been there
[0:39] <kriskowal> well, we haven't had a good earthquake in 10 years or so
[0:39] <deanlandolt_> yeah, just occasionally crappy earthquakes ;)
[0:40] <kriskowal> hey, wait. you're in the la area, aren't you.
[0:40] <nrstott> deanlandolt_, where have you been in Alabama?
[0:40] <nrstott> I'm going to be in Pasadena in January. BCS Championship game. Go state^^
[0:40] <isaacs> the rumors of the earthquakes here were greatly exaggerated, i've found.
[0:40] <kriskowal> <- is in pasadena
[0:40] <isaacs> i expected them like we have rain in new england. turns out, they're like once a century or something.
[0:40] <isaacs> super disappointed.
[0:40] <kriskowal> '94 quake was decent.
[0:40] <nrstott> kriskowal, cool. Want to get a drink on the night of the 6th?
[0:40] <isaacs> i mean, occasionally you get some shaking, and it's like "was that an earthquake, or does my upstairs neighbor have his stereo turned up too loud?"
[0:40] <deanlandolt_> isaacs: heh, the few times i've visited ca i was so hoping for even a tremor...no luck
[0:41] <kriskowal> wednesday?
[0:41] <nrstott> yeah
[0:41] <kriskowal> sounds good to me.
[0:41] <isaacs> funny story on that subject... my upstairs neighbor and his gf seem to be able to reliably hit the resonant frequency of our building.
[0:41] <isaacs> like... on their bed.
[0:41] <deanlandolt_> nrstott: dated a girl from mobile so was down there and in birmingham...have very little recollection (they drinks a bits down 'round those parts)
[0:41] <isaacs> it literally rattles my windows.
[0:41] <nrstott> deanlandolt_, my wife is from near Mobile.
[0:42] <deanlandolt_> the girl i dated went to spring hill...small little jesuit school
[0:42] <nrstott> kriskowal, great. You're the native, so let me know where. If it's somewhere near public transportation, that'd be good
[0:42] <nrstott> deanlandolt_, my wife almost went there, they offered her na accounting scholarshhip
[0:42] <kriskowal> pasadena's got a 95% walkability score.
[0:42] <nrstott> she got a chemistry scholarship to UA though so went there instead
[0:43] <nrstott> kriskowal, nice.
[0:44] <deanlandolt_> kriskowal: is this just a made up number or do those really exist? (if it's real i'm really curious what dc has)
[0:44] <kriskowal> http://www.walkscore.com/
[0:44] <deanlandolt_> awesome!\
[0:44] <deanlandolt_> anyone know where the conference will be this year?
[0:44] <deanlandolt_> (or where it was last year -- i'm a total ass for not signing up in time!)
[0:45] <nrstott> my walk score is 9 ;0
[0:46] <deanlandolt_> the house i'm building has a 3...and they've mislabeled a ridiculously expensive restaurant as a grocery store, so it'd probably be lower :)
[0:47] <kriskowal> nrstott, in any case, send me an email when you know where you'll be and when
[0:47] <nrstott> kriskowal, sure thing. I'll fire that off ina few
[1:01] <isaacs> kriskowal: ok, i put a laughably unsophisticated proposal up at http://wiki.commonjs.org/wiki/Modules/SetExports
[1:02] <kriskowal> thanks. that ought to do.
[1:06] <kriskowal> isaacs refresh
[1:07] <isaacs> whoa, it's like magic happened to my wiki page!!
[1:12] <isaacs> thanks
[1:13] <kriskowal> you might consider brining the issue of hand showing to the list if there are no dissenters by tomorrow
[1:14] <kriskowal> i don't think we've heard the last from mark miller and the caja team
[1:15] <nrstott> kriskowal, do you use Narwhal at work? I had the impression you were part of the core cappuccino team
[1:17] <kriskowal> nrstott, oh. not really.
[1:18] <nrstott> kriskowal, you sure do contirbute a lot of code :)
[1:18] <kriskowal> i may be able to use it in the near future, but we haven't yet
[1:18] <kriskowal> i've spent a lot of time being disappointed by standard libraries and thinking about how i would have done them differently. this is a pretty amazing opportunity.
[1:19] <cpojer> haha
[1:19] <nrstott> I see. That's very cool
[1:19] <isaacs> kriskowal: what is "it"?
[1:20] <isaacs> oh, derp (just saw the logs url)
[1:20] <kriskowal> your wiki proposal
[1:21] <isaacs> i was referring to "i may be able to use it in the near future, but we haven't yet"
[1:21] <nrstott> kriskowal, so do you use cappuccino at all or are you purely interested in narwhal?
[1:21] <kriskowal> oh, narwhal at the office
[1:22] <isaacs> right
[1:22] <kriskowal> my work usually involves writing services that need to work with or without javascript, so cappuccino hasn't been an option for me.
[1:22] <kriskowal> it is pretty awesome though.
[1:23] <nrstott> yeah it looks great, I havne't used it yet though
[1:23] <nrstott> I run a small dev shop, so I made us use narwhal :)
[1:24] <nrstott> I've really enjoyed it. If we had a good IDE, it'd be every bit as appealing as the Ruby experience.
[1:27] <deanlandolt_> nrstott: maybe, eventually...bespin :)
[1:29] <deanlandolt_> but i think there's a lot of work that has to happen in the stacktrace/debug apis before something resembling an IDE is possible
[1:30] <nrstott> in the short-term, making it work with eclipse would be nice. I worked on that a bit but didn't quite get it sorted out
[1:40] <deanlandolt_> does anyone know where the jsconf will be this year?
[1:40] <deanlandolt_> (as in, where in dc)
[14:38] <nrstott> what's the sproutcore position with IE6?
[14:38] <nrstott> oops wrong channel ;0
[23:47] <kriskowal> isaacs, it's not necessary for require to ever block in a browser.
[23:48] <kriskowal> but, it does require a compilation step, though not anything as complicated as transforming require to cps; that's not necessary.
[23:48] <ashb> fallback cases are block or throw an error
[23:48] <isaacs> kriskowal: well, the way we currently write most commonjs code, it does.
[23:48] <kriskowal> not really.
[23:49] <kriskowal> you preload all of the dependencies.
[23:49] <kriskowal> load, not execute.
[23:49] <isaacs> if you look at something like yui 3, you declare what pieces your block needs, and then they're there to play with.
[23:49] <kriskowal> yes. you compile to a form like that.
[23:49] <kriskowal> which isn't even hard.
[23:49] <ashb> you have to pre-declare or detect the dependancies
[23:49] <isaacs> YUI.add("module", function (Y) { set up module}); YUI.use("module", function (Y) { module is on the Y instance })
[23:50] <kriskowal> yes. you can wrap a commonjs module in such scaffolding pretty easily.
[23:50] <isaacs> in that case, though, as long as the loader knows where "module" is, and you have the seed file, it can get them all and then execute the callback.
[23:50] <isaacs> right, so require() then isn't "blocking" per se, it's just immediate.
[23:50] <kriskowal> aye.
[23:51] <ashb> there was talk of a require.async which would be like the YUI example you show
[23:51] <isaacs> it seems like that raises a weird issue where a->b->c->a

 

 

Logs by date :