00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:02:23  <jesusabdullah>defunctzombie: "get" ?
00:02:40  <defunctzombie>I think I found it
00:03:02  <defunctzombie>was just looking for a way to inject stuff into the window when run via phantom
00:05:38  <jesusabdullah>o
00:06:03  <jesusabdullah>did you know require works in phantom?
00:06:16  <jesusabdullah>like, with node_modules and everything?
00:06:35  <substack>xvfb-run arealbrowser http://url
00:06:44  <substack>phantom is junk why do people use it >_<
00:08:15  <mikolalysenko>there are a few places where I think it kind of makes sense
00:08:30  <mikolalysenko>I've been meaning to figure out how it works in more detail so I can debug headless-gl
00:08:46  <mikolalysenko>(mainly to get the webgl conformance tests to run)
00:08:49  <jesusabdullah>I used it to generate pdfs once
00:09:00  <jesusabdullah>that was handy
00:09:22  <jesusabdullah>but I don't think it's great for headless testing
00:09:39  <mikolalysenko>problem is the conformance tests need the dom to do their thing
00:10:22  * thlorenzquit (Remote host closed the connection)
00:10:56  * thlorenzjoined
00:10:56  * peutetrequit (Quit: peutetre)
00:11:42  <defunctzombie>substack: I dunno either
00:11:47  <defunctzombie>substack: I prefer to run in actual browser
00:12:19  <defunctzombie>thlorenz: do your peeps actually care about using phantom?
00:12:25  <defunctzombie>thlorenz: or do they just not want to open a browser?
00:15:08  * thlorenzquit (Ping timeout: 245 seconds)
00:15:49  <substack>is there an `xvfb-run` for osx?
00:16:29  <substack>firefox and chrome should just ship with --headless
00:16:38  <mikolalysenko>there's probably a broken mac port that only half works
00:16:40  <substack>then people wouldn't need to resort to this crazy insanity
00:17:11  <defunctzombie>I dunno why people care so much, I like testing in actual browser cause then you know it works in a browser
00:17:19  <defunctzombie>phantom is cool for taking screenshots I guess
00:18:03  <mikolalysenko>man with statements are totally crazy
00:18:20  <mikolalysenko>so this:
00:18:20  <jesusabdullah>substack: No, but like, if you're on osx you're probably running linux vms for development anyway
00:18:21  <mikolalysenko>var a=1; with(x) { var a=2; } console.log(a)
00:18:24  <mikolalysenko>prints out 2
00:18:26  <jesusabdullah>hooray vagrant
00:18:41  <mikolalysenko>but this: var x={y:1},y=2; with(x){ var y=3; } console.log(y)
00:18:43  <mikolalysenko>prints out 3
00:18:50  <mikolalysenko>wtf javascript!
00:19:02  <jesusabdullah>isn't that expected mikolalysenko I don't see the difference
00:19:12  <mikolalysenko>err no
00:19:15  <mikolalysenko>it prints out 2 I mean
00:19:16  <mikolalysenko>not 3
00:19:23  <jesusabdullah>okay, well that's still weird
00:19:24  <yorick>mikolalysenko: yeah, with blocks don't have their own scope, they only put something on top of the scope chain
00:19:24  <mikolalysenko>sorry, I confused myself
00:19:32  <mikolalysenko>not quite
00:19:34  <jesusabdullah>but seems to follow some semblance of rules
00:19:40  <yorick>>> var x={y:1},y=2; with(x){ var y=3; } console.log(y)
00:19:43  <yorick>js> var x={y:1},y=2; with(x){ var y=3; } console.log(y)
00:20:01  <yorick>so it does print out 2
00:20:14  <jesusabdullah>[17:20] < purr> jesusabdullah: undefined; Console: 2
00:20:19  <mikolalysenko>with statements do get their own scope
00:20:28  <mikolalysenko>but only if the declaration shadows something in the object
00:20:30  <mikolalysenko>wtf
00:20:57  <mikolalysenko>and since objects are dynamic, you can't statically compute the scope of a with block...
00:21:00  <mikolalysenko>arrr
00:21:01  <defunctzombie>the way to get tests working in all browsers is to just get them working in ie 6 through 11
00:21:11  <defunctzombie>then it is almost guaranteed to work in any other browser hahaha
00:21:43  <jesusabdullah>[17:21] < jesusabdullah> >> var x = {y: 1}, y = 2; (function (y) { var y = 3; })(x.y); console.log(y);
00:21:46  <jesusabdullah>[17:21] < purr> jesusabdullah: undefined; Console: 2
00:21:48  <substack>sometimes I get into the case where the IE versions use a polyfill successfully but the polyfill breaks in firefox or somewhere
00:22:24  <mikolalysenko>now try this one: var x={z:1},y=2; with(x){ var y=3; } console.log(y)
00:22:29  <mikolalysenko>and it will print out 3
00:23:44  <mikolalysenko>man. I can't figure out a good way to handle this within control-flow...
00:23:50  <jesusabdullah>withs?
00:23:53  <mikolalysenko>yeah
00:23:55  <defunctzombie>substack: haha
00:23:56  <jesusabdullah>luckily, almost nobody uses with
00:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 17]
00:24:35  <mikolalysenko>so I think the only way to do it is just rewrite all variables within a with statement somehow
00:24:44  <mikolalysenko>but you will get these weird shadowing declarations...
00:26:06  <jesusabdullah>Does function (y) { var y = 3; }(x.y) act more or less the same wrt shadowing?
00:26:16  <mikolalysenko>wait a minute. I am crazy
00:26:19  <defunctzombie>how are people doing email queues in node these days?
00:26:32  <mikolalysenko>actually, this makes sense. look at the output from this: var x={y:1},y=2; with(x){ y=3; var y=4; } console.log(y, x)
00:26:35  <jesusabdullah>defunctzombie: email queues? Doesn't sendmail queue internally?
00:26:49  <defunctzombie>I don't wanna setup more shit on servers if I can avoid it
00:26:55  <jesusabdullah>Why not?
00:27:05  <jesusabdullah>that node_emailer project has an internal queue
00:27:10  <defunctzombie>cause it becomes another thing that needs to be on the server for shit to work
00:27:15  <defunctzombie>and if the node process dies?
00:27:26  <jesusabdullah>shoulda put another thing on the server ^__^
00:27:26  <defunctzombie>what happens to those queued emails?
00:27:44  <jesusabdullah>imo fuck solving that by hand someone has to have already done it
00:27:48  <jesusabdullah>learn2provision
00:28:39  <jesusabdullah>(I'm still learning to provision)
00:31:52  <mikolalysenko>ok, nevermind. handling with statements should be ok
00:36:59  * wolfeidauquit (Ping timeout: 240 seconds)
00:37:47  * pfraze_changed nick to pfraze
00:40:39  * wolfeidaujoined
00:50:17  * ralphtheninjaquit (Quit: leaving)
01:08:43  * fronxquit (Remote host closed the connection)
01:10:27  * indexzeroquit (Quit: indexzero)
01:13:54  * jcrugzzquit (Ping timeout: 252 seconds)
01:17:45  * mikolalysenkoquit (Ping timeout: 252 seconds)
01:23:47  * thlorenzjoined
01:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 12]
01:27:03  <thlorenz>defunctzombie: couldn't you listen on phantom stdout?
01:28:20  <thlorenz>substack: xvfb is only available in linux, so us mac users can't run it locally
01:41:27  * st_lukejoined
01:52:37  <isaacs>substack: right now, no, you cannot access individual files in packages.
01:53:10  <isaacs>substack: as it turns out, turning that on for all packages ever might be kind of a honepot for abuse, and also rather costly
01:53:23  <substack>ok
01:53:23  <isaacs>substack: but i'm exploring ways to make it work that don't have problems.
02:06:44  * okychanged nick to xko
02:07:21  * fronxjoined
02:11:54  * machtyjoined
02:13:08  * yorickquit (Remote host closed the connection)
02:13:13  * fronxquit (Ping timeout: 246 seconds)
02:13:16  <machty>lol
02:16:54  * DTrejoquit (Remote host closed the connection)
02:18:50  * cpupquit (Ping timeout: 265 seconds)
02:20:40  * dengayjoined
02:23:09  * cpupjoined
02:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 30]
02:25:12  <defunctzombie>machty: you the ember dude?
02:25:46  <machty>defunctzombie: i prefer to be known as the bloomberg dude
02:25:58  <defunctzombie>machty: excellent
02:26:08  <machty>what's your involvement in stackvm?
02:26:16  <defunctzombie>?
02:26:24  <defunctzombie>stackvm is where the cool js kids hang
02:26:30  <machty>ah
02:26:39  <defunctzombie>and by cool js kids I mean nodejs mostly
02:26:41  <machty>saw your correspondence w afeldman (went to school w him)
02:26:49  <defunctzombie>but we know that nodejs is the coolest of the cool hahaha
02:27:20  <defunctzombie>cool
02:27:21  <machty>indeed
02:27:32  <machty>i don't know anything about stackvm
02:27:35  <machty>i probably should, yes?
02:27:47  <defunctzombie>yea
02:27:54  <defunctzombie>anyone who does javascript for real should
02:28:22  <defunctzombie>think of it like a right of passage if you will
02:29:01  * dengayquit (Remote host closed the connection)
02:29:35  <machty>stackvm is a company, with products browserling and testling, or?
02:31:24  <defunctzombie>substack: describe stackvm
02:34:14  <ogd>its an irc channel where many node module hackers hang out and talk about modules
02:35:11  * dominictarrjoined
02:37:51  <substack>machty: stackvm is an irc channel that started out as the thing that browserling turned into but now it's a node module irc channel
02:38:09  <defunctzombie>for science!
02:38:51  <machty>strange transformation
02:38:54  <machty>but i dig it
02:41:37  * st_lukequit (Remote host closed the connection)
02:42:28  * justinabrahmsquit (Excess Flood)
02:42:51  * justinabrahmsjoined
02:43:13  * st_lukejoined
02:43:20  * mikolalysenkojoined
02:50:41  <defunctzombie>I am watching a documentary about honey bees
02:50:44  <defunctzombie>this is some serious shit
02:52:42  * DTrejojoined
02:57:34  * st_lukequit (Remote host closed the connection)
03:00:23  * st_lukejoined
03:04:00  * st_luke_joined
03:04:38  * st_lukequit (Ping timeout: 240 seconds)
03:06:00  * DTrejoquit (Remote host closed the connection)
03:08:14  * st_luke_quit (Ping timeout: 240 seconds)
03:14:15  * dominictarrquit (Ping timeout: 240 seconds)
03:15:19  * calvinfoquit (Quit: Leaving.)
03:20:48  * kriskowaljoined
03:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 31]
03:36:47  * st_lukejoined
03:41:23  * jcrugzzjoined
03:42:23  * st_lukequit (Ping timeout: 272 seconds)
03:47:59  * cpupquit (Ping timeout: 272 seconds)
03:52:17  * ferossquit (Quit: feross)
03:53:32  * brianloveswordsquit (Excess Flood)
03:54:31  * DTrejojoined
03:54:51  * brianloveswordsjoined
03:55:34  * ferossjoined
03:55:49  * cpupjoined
04:10:13  <rowbit>substack, pkrumins: These encoders are STILL down: 50.57.72.230(dev-ie7-4)
04:10:23  <grncdr>defunctzombie: honey bees are awesome
04:10:48  <grncdr>seriously may become a beekeeper if I ever settle down somewhere for >3 years
04:12:00  <defunctzombie>haha
04:12:34  <grncdr>I feel like I would enjoy it more than gardening and other such "maintain the organism" hobbies
04:13:08  <grncdr>because honey is awesome, and I like the droning sound of a hive of bees
04:16:06  * calvinfojoined
04:17:45  * mikolalysenkoquit (Ping timeout: 272 seconds)
04:20:15  * jcrugzzquit (Ping timeout: 260 seconds)
04:20:33  * calvinfoquit (Ping timeout: 245 seconds)
04:20:38  * cpupquit (Ping timeout: 265 seconds)
04:21:36  * cpupjoined
04:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 14]
04:28:51  * cubertquit (Ping timeout: 265 seconds)
04:29:47  * farnsworthquit (Ping timeout: 272 seconds)
04:41:47  * cpupquit (Ping timeout: 240 seconds)
04:42:04  * cpupjoined
04:45:52  * calvinfojoined
04:48:31  <thlorenz>"I like the droning sound of a hive of bees" -- last words of the beekeeper
04:48:57  <grncdr>hah, because bees?
04:49:02  <grncdr>or old age?
04:49:51  <guybrush>once i saw a docu about beekeepers in new yourk who keep bees in the city, awesome stuff :D
04:51:27  * kriskowalquit (Quit: kriskowal)
04:52:41  <guybrush>funny fact: in german beekeepers are called Imker
04:54:04  <thlorenz>guybrush: how is that funny, just a word?
04:54:11  <thlorenz>grncdr: bees
04:54:12  <guybrush>its an original word
04:54:50  <guybrush>you could call them also Bienenz´┐Żchter
04:55:48  <thlorenz>ah comes from Imme == Biene (bee) and kar == Korb (basket)
04:55:52  <guybrush>with original word i mean its not a combination of other "original" words (bee and keeper), im not a languist but its a thing!
04:56:00  <thlorenz>Sehr interessant!
04:56:11  <guybrush>oooh i didnt know that!
04:56:40  <guybrush>was just curious and felt like talking about it :p
04:56:48  <thlorenz>so now you can try to make everyone call'em Immenzuechter ;)
04:57:10  * dominictarrjoined
04:57:13  <thlorenz>well seems like defunctzombie started the whole bee stuff and I just can't let that bee
04:57:45  <defunctzombie>...
04:58:08  <defunctzombie>what's all the buzz about?
04:58:19  <thlorenz>guybrush: btw not making this up http://de.wiktionary.org/wiki/Imker
04:58:26  <thlorenz>it's about you becoming an Imker
05:00:04  * st_lukejoined
05:04:28  <defunctzombie>I am scared
05:05:13  <thlorenz>defunctzombie: you should be
05:06:37  * dominictarrquit (Ping timeout: 272 seconds)
05:11:22  * defunctzombiechanged nick to defunctzombie_zz
05:11:43  * dominictarrjoined
05:12:43  <substack>dominictarr: https://twitter.com/AtomicPlayb0y/status/417865474743873536
05:16:16  * calvinfoquit (Quit: Leaving.)
05:23:23  <dominictarr> haha, nice!
05:23:53  * calvinfojoined
05:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 188]
05:29:49  * st_lukequit (Remote host closed the connection)
05:30:15  * cpupquit (Ping timeout: 260 seconds)
05:30:33  * cpupjoined
05:32:02  * thlorenzquit (Remote host closed the connection)
05:33:38  * DTrejoquit (Remote host closed the connection)
05:35:43  * Maciek416quit (Remote host closed the connection)
05:37:13  * DTrejojoined
05:42:14  * dcodeIOjoined
05:43:15  * dcodeIO1quit (Ping timeout: 245 seconds)
05:43:56  <ogd>hahaha https://github.com/amasad/soundofjs
05:44:08  <dominictarr>ogd, hey, this made sha.js 3x faster https://github.com/dominictarr/sha.js/commit/91649a61d6fe8ab2b1f785c1833efa89feeff3b0
05:44:17  <dominictarr>NOT using a typedarray
05:44:43  <dominictarr>but instead using object properties. Maybe improved caching?
05:44:58  * cubertjoined
05:44:58  * farnsworthjoined
05:52:28  * cpupquit (Ping timeout: 265 seconds)
05:53:58  * cpupjoined
06:01:00  <ogd>dominictarr: how long are the typed arrays you were creating before on average?
06:01:41  <ogd>dominictarr: and were you pooling/caching at all?
06:02:02  <ogd>ah i guess you cant pool in the sha use case
06:03:01  <dominictarr>ogd, it's not about allocations. I'm only creating a fixed number per Hash object.
06:03:14  <dominictarr>1 for the hash, one for the working memory, and the write buffer
06:03:39  <dominictarr>although, I'm planning to remove the write buffer, and write directly into the working buffer, saving a copy
06:05:13  <ogd>dominictarr: oh also you should lurk in #hyperdata :D
06:07:06  <dominictarr>ogd, hyperdata is all stackvm people!
06:07:20  <dominictarr>ETOMANYTABS
06:09:05  <ogd>well, not all
06:11:48  * cpupquit (Ping timeout: 245 seconds)
06:12:36  <dominictarr>oooh, looks like I might have the fastest js sha1 implementation!
06:12:52  * cpupjoined
06:13:08  <dominictarr>(Benchmarks coming...)
06:15:25  <ogd>dominictarr: what are you using it in?
06:15:46  * shamaquit
06:17:05  <ogd>dominictarr: im guessing merkle-stream?
06:17:24  <ogd>dominictarr: also have you talked to kesla yet? he is hacking on a js rsync type thing
06:19:42  * dominictarrquit (Ping timeout: 252 seconds)
06:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 62]
06:42:14  <jesusabdullah>lol @ compiling anything serious on a macbook
06:52:05  * anvakajoined
07:05:16  * DTrejoquit (Remote host closed the connection)
07:14:33  * cpupquit (Ping timeout: 272 seconds)
07:24:05  <rowbit>Hourly usage stats: [developer: 0, free: 221]
07:30:08  * pfrazequit (Ping timeout: 245 seconds)
07:34:59  * ferossquit (Quit: feross)
07:37:00  * ferossjoined
07:45:17  * AvianFluquit (Remote host closed the connection)
08:01:38  * calvinfoquit (Quit: Leaving.)
08:20:23  * peutetrejoined
08:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 31]
08:28:11  * tilgoviquit (Remote host closed the connection)
08:35:20  * calvinfojoined
09:08:13  * calvinfoquit (Quit: Leaving.)
09:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 22]
09:56:12  * ralphtheninjajoined
10:10:15  <rowbit>substack, pkrumins: These encoders are STILL down: 50.57.72.230(dev-ie7-4)
10:11:29  * timoxleyjoined
10:23:31  * dominictarrjoined
10:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 33]
10:32:25  * insertcoffeejoined
10:33:10  <insertcoffee>happy new year!
10:34:18  * kevino80joined
10:37:25  * kevino80quit (Read error: Connection reset by peer)
10:41:30  <dominictarr>insertcoffee, where are you?
10:41:53  * kevino80joined
10:43:17  * insertcoffeequit (Ping timeout: 240 seconds)
10:46:20  * kevino80quit (Ping timeout: 265 seconds)
10:56:47  <rowbit>substack, pkrumins: testling server winIE9 + chrome + firefox + opera + safari + all nightly (rackspace) is down!
11:07:24  <mmalecki>https://github.com/mmalecki/flot-stream
11:07:30  <mmalecki>flotcharts with streaming, woo!
11:07:39  * insertcoffeejoined
11:09:52  * insertcoffeequit (Max SendQ exceeded)
11:10:24  * insertcoffeejoined
11:11:13  * insertcoffeequit (Read error: Connection reset by peer)
11:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 25]
11:24:53  * anvakaquit (Remote host closed the connection)
11:26:49  * asdf1234joined
11:30:02  * asdf1234_joined
11:33:47  * asdf1234quit (Quit: Page closed)
11:50:11  * No9joined
11:51:07  <No9>Hey dominictarr long time no see
11:56:06  * No9quit (Ping timeout: 272 seconds)
11:58:00  * timoxleyquit (Ping timeout: 240 seconds)
11:58:14  * timoxleyjoined
12:01:08  <dominictarr>substack, pkrumins hey, ci tests for sha.js won't run, http://ci.testling.com/dominictarr/sha.js
12:01:13  <dominictarr>and I can't see why?
12:01:24  <dominictarr>seems to be stuck on chrome and ff?
12:05:36  <mmalecki>streams ftw!
12:05:40  <mmalecki>hi dominictarr
12:10:01  * fronxjoined
12:12:50  <dominictarr>mmalecki, whats up?
12:14:23  * timoxleyquit (Remote host closed the connection)
12:16:50  <mmalecki>dominictarr: not much! working on some cool frontends. how are you?
12:17:25  * yorickjoined
12:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 9]
12:27:23  <dominictarr>mmalecki, good! I'm doing js crypto stuff right now
13:02:17  <ralphtheninja>hey guys
13:04:20  * timoxleyjoined
13:11:47  <mmalecki>omg go is sweet
13:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 10]
13:35:30  * dominictarrquit (Ping timeout: 265 seconds)
13:36:00  * kevino80joined
13:46:47  * mrnuggetjoined
14:03:40  * Maciek416joined
14:03:52  * fronxquit (Remote host closed the connection)
14:06:30  * timoxley_joined
14:09:23  * timoxleyquit (Ping timeout: 272 seconds)
14:14:08  * timoxley_quit (Remote host closed the connection)
14:14:44  * timoxleyjoined
14:19:18  * timoxleyquit (Ping timeout: 245 seconds)
14:24:02  * fronx_joined
14:24:05  <rowbit>Hourly usage stats: [developer: 0, free: 12]
14:29:32  * fronx_quit (*.net *.split)
14:29:32  * jergasonquit (*.net *.split)
14:33:22  <pkrumins>testling now has a super fast server and more memory
14:33:39  <pkrumins>means tests will run faster, and it will run out of memory less often
14:35:09  * fronx_joined
14:35:09  * jergasonjoined
14:38:48  * jcrugzzjoined
14:44:18  * thlorenzjoined
14:45:24  * fronx_quit (Remote host closed the connection)
15:00:38  * mrnuggetquit (Quit: mrnugget)
15:13:16  * kriskowaljoined
15:14:32  * kevino80quit (Remote host closed the connection)
15:15:35  * defunctzombie_zzchanged nick to defunctzombie
15:17:07  * kevino80joined
15:18:15  * cubertquit (Ping timeout: 240 seconds)
15:19:26  * cubertjoined
15:22:56  * thlorenzquit (Remote host closed the connection)
15:24:04  <rowbit>Hourly usage stats: [developer: 0, free: 70]
15:34:30  * timoxleyjoined
15:47:50  * kriskowalquit (Quit: kriskowal)
15:48:56  * bagdulinjoined
15:50:08  * thlorenzjoined
15:51:24  <defunctzombie>thlorenz: can stack-mapper work with multiple map files?
15:51:30  <defunctzombie>thlorenz: like if I feed it several maps?
15:52:02  <defunctzombie>thlorenz: also, how do you recommend I strip leading filepath (aka sourceRoot) from the map.sources (this is a convert-source-map question)
15:52:17  <thlorenz>defunctzombie: not right now, is the generated file the same?
15:52:57  <defunctzombie>what do you mean?
15:53:03  <thlorenz>cause you could concat to sources and sourcesContents to combine a map assuming it ended up in the same bundle.js
15:53:17  <defunctzombie>na, I have two js files
15:53:22  <thlorenz>a source map is for ONE generated file only
15:53:42  <thlorenz>ok, then for stack mapper we'd have to change things a bit
15:53:50  <defunctzombie>in the case of zuul I have the client.js code which has its own map file
15:53:54  <defunctzombie>and the test-bundle.js
15:54:01  <defunctzombie>they are separate files
15:54:08  <defunctzombie>ok.. I will look at that later
15:54:09  <thlorenz>since then in your original trace the different bundle files would show up
15:54:24  <defunctzombie>now.. for the sourceRoot stuff
15:54:41  <thlorenz>so you'd pick the correct map depending on that -- makes things somewhat more complex, actually I'd suggest using multiple stack mappers instead
15:54:50  <defunctzombie>k
15:55:00  <thlorenz>so for you cvs question
15:55:11  <defunctzombie>so something that picks stack mappers based on intial file or something
15:55:23  <thlorenz>you can setProperty on the source map
15:55:29  <defunctzombie>yea, I did that
15:55:34  <defunctzombie>but it doesn't trim the map.sources
15:55:39  <defunctzombie>do I need to trim those myself?
15:55:50  <thlorenz>defunctzombie: actually no, you'd just pipe into all the stack mappers and they each only change traces they know about
15:56:05  <defunctzombie>ah.. right!
15:56:14  <defunctzombie>that is even cooler :)
15:56:37  <thlorenz>defunctzombie: you could setProperty on the sources and take the original ones and trim them each
15:56:48  <defunctzombie>is that the correct thing to do?
15:57:21  <thlorenz>you could, it just changes how they'd show up in chrome for instance
15:57:26  <defunctzombie>ah
15:57:30  <defunctzombie>maybe I will leave it for now then
15:58:03  <thlorenz>defunctzombie: pretty much this example does exactly that: https://github.com/thlorenz/mold-source-map#mold-source-map-
15:58:12  <thlorenz>it mounts all files relative to the root
15:58:46  <thlorenz>so instead of /user/xxx/dev/../sub/foo.js youd get ./sub/foo.js
15:59:05  <defunctzombie>k
15:59:13  <defunctzombie>and I gotta run mapSources it seems after I set the root
15:59:21  <thlorenz>defunctzombie: if you don't include sources content it could get problematic though
15:59:32  <defunctzombie>I do include it in the sourcemap
15:59:33  <thlorenz>since it'll try to look up the content at the changed path
15:59:37  <thlorenz>ok
16:00:06  <thlorenz>defunctzombie: you can just set any property to whatever you want
16:00:10  <thlorenz>order shouldn't matter
16:01:42  * bagdulinquit (K-Lined)
16:02:32  * dominictarrjoined
16:10:00  * johnkpaulquit (Ping timeout: 240 seconds)
16:10:16  <rowbit>substack, pkrumins: These encoders are STILL down: 50.57.72.230(dev-ie7-4)
16:13:33  * AvianFlujoined
16:15:03  * dominictarrquit (Ping timeout: 272 seconds)
16:15:08  * ELLIOTTCABLE___joined
16:15:36  * sballesterosjoined
16:21:08  * farnsworth_joined
16:21:29  * pfrazejoined
16:23:43  * jcrugzzquit (Ping timeout: 246 seconds)
16:23:47  * ELLIOTTCABLE__quit (Ping timeout: 240 seconds)
16:23:48  * sorensenquit (Ping timeout: 240 seconds)
16:23:54  * ELLIOTTCABLE___changed nick to ELLIOTTCABLE__
16:24:00  * johnkpauljoined
16:24:00  * farnsworthquit (Ping timeout: 240 seconds)
16:24:02  * farnsworth_changed nick to farnsworth
16:24:04  * sorensenjoined
16:24:04  <rowbit>Hourly usage stats: [developer: 17, free: 24]
16:24:49  <defunctzombie>substack: I made a boo boo
16:26:29  * jcrugzzjoined
16:27:07  <defunctzombie>https://github.com/substack/browser-pack/commit/d9af65f362bac4c3ae17fbeeba321dccab77988b#commitcomment-4962470
16:27:14  <defunctzombie>for everyone else to rofl at
16:29:05  <pfraze>objects livin free
16:29:10  <defunctzombie>\o/
16:41:55  * jcrugzzquit (Ping timeout: 246 seconds)
16:44:51  * mirkokquit (Ping timeout: 246 seconds)
16:47:19  * mirkokjoined
16:53:30  * timoxleyquit (Remote host closed the connection)
16:53:38  * Madarsjoined
16:56:23  * chapelquit (Ping timeout: 240 seconds)
16:59:47  * fronxjoined
17:02:11  * peutetrequit (Quit: peutetre)
17:05:31  * shamajoined
17:08:18  * DTrejojoined
17:14:08  * fronxquit (Remote host closed the connection)
17:24:04  <rowbit>Hourly usage stats: [developer: 1, free: 20]
17:29:03  * kevino80quit (Remote host closed the connection)
17:33:17  * jez0990joined
17:38:55  * calvinfojoined
17:42:49  * fronxjoined
17:46:39  * sballesterospart
17:50:39  * fronxquit (Remote host closed the connection)
18:07:55  * calvinfoquit (Quit: Leaving.)
18:08:01  * kevino80joined
18:27:20  <rowbit>substack, pkrumins: Encoders down: 50.57.72.230 (dev-ie7-4)
18:31:07  * AvianFluquit (Remote host closed the connection)
18:45:42  * AvianFlujoined
18:46:46  * calvinfojoined
18:47:19  * pfrazequit (Ping timeout: 272 seconds)
18:50:54  * pfrazejoined
18:53:10  * thlorenzquit (Remote host closed the connection)
18:55:12  <Raynos>substack: when should i use optimist instead of minimist?
18:56:38  <Raynos>oh wait, optimist uses minimist !
18:57:35  * brianloveswordsquit (Excess Flood)
18:57:49  * anvaka_joined
18:59:00  * brianloveswordsjoined
19:00:56  * thlorenzjoined
19:04:01  * thlorenzquit (Remote host closed the connection)
19:08:13  * anvaka_quit (Remote host closed the connection)
19:21:29  * fronxjoined
19:23:10  <rowbit>Hourly usage stats: [developer: 2, free: 22]
19:26:12  * fronxquit (Ping timeout: 252 seconds)
19:27:47  * calvinfopart
19:46:39  <Raynos>defunctzombie, thlorenz, dominictarr: Have you seen something like https://github.com/Raynos/dom-delegator#motivation ?
19:46:49  <Raynos>I still don't want to implement it myself.
19:47:54  <defunctzombie>Raynos: don't get any of the motivation...
19:47:57  <defunctzombie>Raynos: I mean I get it
19:48:07  <defunctzombie>but I don't get how reactive doesn't do all of this already?
19:48:19  <defunctzombie>or ractive.js if you want something more heavyweight
19:49:02  <defunctzombie>I also don't like your render example because it again starts messing with dom shit in the JS code and also makes it hard to reason about the final markup
19:49:16  <defunctzombie>fyi, reactive *is* a library
19:49:18  <defunctzombie>and not a framework
19:49:51  <defunctzombie>"solution should use event delegation, it shouldnt require binding to each DOM element manually" why not? depends on use case honestly
19:50:03  <jesusabdullah>So I wrote contributing guidelines for ecstatic https://github.com/jesusabdullah/node-ecstatic/blob/master/CONTRIBUTE.md
19:50:04  <defunctzombie>if I have 30 elements, I can bind to each one just fine
19:50:31  <Raynos>defunctzombie: you dont like the render example ?
19:50:41  <Raynos>defunctzombie: the render function IS the template
19:50:47  <defunctzombie>Raynos: and your jsonml example is again entangling the dom stuff with JS code
19:51:02  <Raynos>defunctzombie: so your objection is that i have templates with logic in them ?
19:51:15  <defunctzombie>not really an objection
19:51:26  <defunctzombie>just pointing out that your examples seem to do what you don't want :)
19:51:30  <Raynos>defunctzombie: the problem with reactive is that it isn't good enough, can't pass any data up with the event
19:51:39  <defunctzombie>Raynos: then make it better
19:51:42  <Raynos>defunctzombie: also reactive calls my listener with a DOM event object
19:51:51  <Raynos>defunctzombie: the other problem with reactive is that it does TWO things
19:51:55  <defunctzombie>Raynos: I thought about adding support for "on-click="function:arg:arg"
19:52:09  <defunctzombie>Raynos: it has more arguments to the event handler
19:52:13  <defunctzombie>arg 2 is the model iirv
19:52:21  <defunctzombie>and 'this' is the reactive instance
19:52:36  <defunctzombie>(tho that may just be in my fork since I patched and fixed things)
19:52:45  <defunctzombie>I liked the basics of reactive so I ran with it
19:53:10  <defunctzombie>the thing is.. the template and event handlers *are* linked
19:53:19  <Raynos>defunctzombie: i cant really use reactive, it does two things instead of one :(
19:53:28  <defunctzombie>I dunno what you mean by that but ok :)
19:53:45  <defunctzombie>not saying you should use it, just saying I think it solves all your motivation things (at least it does for me)
19:53:55  <defunctzombie>I too was looking for something that would do similar things
19:56:06  <defunctzombie>Raynos: anyhow, you should continue experimenting and maybe you will stumble upon something awesome!
20:02:12  <Raynos>Defunctzombie: thanks for your feedback. I added more motivation
20:02:23  <defunctzombie>cool
20:02:46  <Raynos>Defunctzombie: the problem with reactive is that it's both events and rendering
20:03:03  <defunctzombie>Raynos: that is because you think it does rendering by just doing html strings
20:03:04  <Raynos>Which is weird if I don't use reactive for rendering
20:03:06  <defunctzombie>it doesn't
20:03:28  <Raynos>It mutates the dom
20:03:36  <defunctzombie>yes
20:03:39  <Raynos>Event libraries don't mutate the dom
20:03:46  <defunctzombie>and when doing that it has access to the dom nodes
20:03:49  <defunctzombie>and can connect event handlers
20:03:54  <defunctzombie>if you want it to
20:04:14  <defunctzombie>Raynos: https://github.com/component/events
20:04:19  <defunctzombie>if you just want something that does event
20:07:18  * AvianFluquit (Remote host closed the connection)
20:07:57  <Raynos>I could break the on click stuff out of reactive
20:08:11  <Raynos>And have reactive depend on it
20:08:40  <Raynos>But then it will be big. I can't imagine implementing this in < 200 loc
20:10:13  * thlorenzjoined
20:21:41  * fronxjoined
20:23:10  <rowbit>Hourly usage stats: [developer: 0, free: 14]
20:25:58  * fronxquit (Ping timeout: 245 seconds)
20:29:26  * dominictarrjoined
20:37:19  * mikolalysenkojoined
20:40:15  * dominictarrquit (Ping timeout: 240 seconds)
20:43:51  <rowbit>substack, pkrumins: Encoders down: 184.106.99.27 (dev-ie7-3)
20:47:16  * AvianFlujoined
20:52:36  * mikolalysenkoquit (Ping timeout: 240 seconds)
20:58:30  * kevino80quit
21:03:26  * Maciek416quit (Remote host closed the connection)
21:03:53  * Maciek416joined
21:05:18  <jesusabdullah>pkrumins: I want to learn about basic data structure stuff. Advice? I see you wrote a series of blog posts about MIT's Into2Algos
21:08:33  * Maciek416quit (Ping timeout: 272 seconds)
21:11:15  <ogd>jesusabdullah: http://www.youtube.com/watch?v=-sEdiFMntMA&feature=share&list=PLFDnELG9dpVxEpbyL53CYebmLI58qJhlt theres also a playlist somewhere for the previous class
21:14:21  <jesusabdullah>uhuh
21:14:48  <jesusabdullah>Yeah, I should start with the previous class
21:15:15  <jesusabdullah>ogd: http://courses.csail.mit.edu/6.851/ :)
21:16:11  <jesusabdullah>I think maybe I want the intro2algos class
21:21:36  * fronxjoined
21:23:10  <rowbit>Hourly usage stats: [developer: 0, free: 13]
21:28:05  * fronxquit (Ping timeout: 248 seconds)
21:33:02  * jcrugzzjoined
21:56:54  * jcrugzzquit (Ping timeout: 252 seconds)
22:02:58  <pkrumins>happy new year to all my internet friends from latvia!
22:04:03  <pkrumins>jesusabdullah: mit's intro to algos is a pretty good course
22:04:14  <jesusabdullah>pkrumins: word
22:04:16  <pkrumins>jesusabdullah: although i found it to be too theoretical
22:04:26  <jesusabdullah>pkrumins: I'd believe that
22:04:58  <jesusabdullah>pkrumins: I decided that I want to brush up on my c and data structures, so I'm gonna loosely follow some classes/texts/etc and implement a bunch of them
22:05:07  <jesusabdullah>pkrumins: and I think I'm-a do it all literate style too :)
22:05:43  <jesusabdullah>pkrumins: I think I know juuuuust enough c to make it happen
22:05:45  <pkrumins>jesusabdullah: i can recommend you another course from stony brook university
22:05:54  <pkrumins>jesusabdullah: less theoretical, more hackerish
22:05:58  <pkrumins>jesusabdullah: http://www.cs.sunysb.edu/~skiena/teaching/
22:06:09  <pkrumins>also video lectures
22:06:20  <jesusabdullah>pkrumins: most excellent
22:06:27  <pkrumins>he's more about using algorithms than knowing them and proving their running time
22:06:43  <jesusabdullah>I'd be interested in big O stuff as well though
22:06:43  <defunctzombie>pkrumins: woooo
22:07:05  <jesusabdullah>at least in a, "yeah this is pretty fast" kind of hand-wavey way
22:08:02  <jesusabdullah>pkrumins: "Data Structures for Street Coders" by Joshua Holbrook XD
22:08:25  <pkrumins>heh
22:08:32  <pkrumins>reminds me of street fighting mathematics http://mitpress.mit.edu/books/street-fighting-mathematics
22:08:57  <jesusabdullah>ah yes
22:09:12  <jesusabdullah>I say "street coder" based on a conversation I had with chapel that he probs doesn't remember
22:09:45  <jesusabdullah>about the differences between coders with CS backgrounds and those without
22:09:50  <pkrumins>a street coder is often better than educated one
22:09:51  <pkrumins>yeah
22:09:52  <jesusabdullah>we're "from the street"
22:10:00  <pkrumins>i'm from the street too
22:10:01  <jesusabdullah>"school of hard knocks" and all that
22:10:03  <jesusabdullah>^5
22:10:08  <pkrumins>^5
22:11:04  <pkrumins>jesusabdullah: you should also love this course
22:11:06  <pkrumins>jesusabdullah: http://www.youtube.com/watch?v=3dkbFf82_b8&list=PL07B3F10B48592010
22:11:12  <pkrumins>jesusabdullah: programming challenges
22:11:28  <pkrumins>this is almost no theory, 100% applied problem solving using smart algorithms
22:11:41  <pkrumins>also by steven skiena from stony brook
22:11:51  <jesusabdullah>word
22:14:20  <thlorenz>pkrumins: any recommendations on what to watch before "advanced data structures"? to refresh before launching into that one
22:15:06  * AvianFluquit (Remote host closed the connection)
22:15:21  <thlorenz>I found this http://www.youtube.com/playlist?list=PL28045DE32CB7B098
22:15:32  <thlorenz>but am not sure if there is a better one leading into the former
22:17:19  <thlorenz>jesusabdullah: I whole heartedly recommend this: http://www.youtube.com/watch?v=Ps8jOj7diA0&list=PLD594BFF17712E934
22:17:44  <thlorenz>it shows some neato things you can do with C, like emulate generic functions
22:22:06  <pkrumins>thlorenz: mit's advanced data structures?
22:22:15  <pkrumins>thlorenz: well you could watch mit's intro to algos
22:22:27  <pkrumins>as that advanced course has into to algos as prerequisite
22:22:37  <thlorenz>pkrumins: that one right? http://www.youtube.com/playlist?list=PL28045DE32CB7B098
22:23:10  <rowbit>Hourly usage stats: [developer: 0, free: 24]
22:23:10  <pkrumins>yeah - http://www.youtube.com/playlist?list=PL28045DE32CB7B098 - "introduction to algorithms"
22:23:38  <thlorenz>cool, thanks -- these are all using C for examples?
22:23:46  <pkrumins>they're using pseudo code
22:23:52  <pkrumins>thlorenz: you'll find this useful - http://www.catonmat.net/series/mit-introduction-to-algorithms
22:24:07  <thlorenz>ah, great, thanks
22:24:09  <pkrumins>thlorenz: i once watched all those lectures and made summaries
22:24:57  <pkrumins>thlorenz: if you want C code, then you should go with skiena http://www.cs.sunysb.edu/~algorith/video-lectures/
22:25:45  <thlorenz>ah, yes, actually from the topics looks like http://www.youtube.com/watch?v=Ps8jOj7diA0&list=PLD594BFF17712E934 covers most of this
22:25:46  <pkrumins>thlorenz: he's all about applying code right away and using it in programs, rather than first studying the theoretical aspects of algorithms in pseudo code
22:25:57  <thlorenz>and I'm 2 thirds through that one
22:26:39  <pkrumins>cool
22:26:43  <thlorenz>except maybe some specific algos aren't mentioned in that, so thanks, will add that to the list
22:37:29  <thlorenz>pkrumins: kind of sad you can't forward inside the flash app you ge launched into for the sunysb.edu class
22:38:02  <thlorenz>however of course you can download the video at: http://www.cs.sunysb.edu/~algorith/video-lectures/2012/CSE373_(CSE373-01)_2013_Spring_2013-02-14_files/audio-video.flv
22:48:26  * rxgxquit (Quit: Connection closed for inactivity)
22:48:55  <thlorenz>ah nm that video doesn't include speparate slides of cource :(
22:50:04  * crankquit (Remote host closed the connection)
22:55:47  * DTrejoquit (Remote host closed the connection)
23:03:03  * jcrugzzjoined
23:07:43  * jcrugzzquit (Ping timeout: 272 seconds)
23:23:10  <rowbit>Hourly usage stats: [developer: 0, free: 16]
23:29:01  * Maciek416joined
23:36:18  * DTrejojoined
23:40:09  * Maciek416quit (Remote host closed the connection)
23:40:36  * Maciek416joined
23:45:00  * Maciek416quit (Ping timeout: 245 seconds)