00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:07  * ircretaryjoined
00:00:10  * mikealjoined
00:05:36  * thl0_quit (Remote host closed the connection)
00:06:12  * dominictarrquit (Quit: dominictarr)
00:07:41  * timoxleyjoined
00:14:35  * jxson_joined
00:16:14  * mikealquit (Quit: Leaving.)
00:17:11  * no9quit (Ping timeout: 260 seconds)
00:17:22  * jxsonquit (Read error: Operation timed out)
00:20:59  * jxson_quit (Remote host closed the connection)
00:22:15  * thl0joined
00:24:00  * keslaquit (Quit: Computer has gone to sleep.)
00:28:49  * thl0quit (Remote host closed the connection)
00:29:15  * thl0joined
00:29:33  * jxsonjoined
00:30:38  * jxsonquit (Remote host closed the connection)
00:30:45  * jxsonjoined
00:33:43  * AvianFluquit (Remote host closed the connection)
00:39:51  * dguttmanquit (Quit: dguttman)
00:46:11  * jcrugzzquit (Ping timeout: 252 seconds)
00:47:32  * tilgoviquit (Ping timeout: 245 seconds)
00:53:04  <rvagg>hey ralphtheninja, I have a local repo for bitcoinjs-server that uses levelup instead of leveldb, it works and pasts almost all the tests but I don't care enough to make it pass the rest of the tests
00:53:14  <rvagg>ralphtheninja: do you want my code cause I was just going to discard it
00:53:31  <rvagg>looks a little like abandonware to me
00:54:07  * tphummelquit (Read error: No route to host)
00:55:02  <ralphtheninja>rvagg: hehe I was just about to replace node-leveldb with levelup :)
00:55:43  <rvagg>ralphtheninja: that was my plan too seeing as it contributes to a large number of leveldb downloads (wanted to get that number down so I could make a move on it and ask for the name)
00:55:55  <ralphtheninja>rvagg: agree, it looks a little abandoned, really a shame because it's a great idea with a bitcoin server in node
00:56:07  <rvagg>ralphtheninja: but since you understand bitcoin much more than me, perhaps you can fix the rest of it
00:56:09  <rvagg>let me PR your repo
00:56:17  <ralphtheninja>sure thing
00:56:35  <ralphtheninja>rvagg: well I'm no bitcoin guru .. yet :)
00:56:41  <rvagg>moreso than me!
00:56:45  <ralphtheninja>hehe
00:57:14  <ralphtheninja>just thought it would be a good idea to put levelup in there
00:57:31  * Benviequit (Ping timeout: 264 seconds)
00:57:57  * tphummeljoined
00:58:49  * tphummelpart
01:01:46  * jibayquit (Remote host closed the connection)
01:01:48  <rvagg>hopefully you can make use of my code and submit back to the proj
01:02:37  * mikolalysenkojoined
01:03:25  <ralphtheninja>rvagg: would you mind redoing the PR to my levelup branch instead?
01:03:32  <rvagg>sure
01:03:36  <ralphtheninja>nice
01:07:34  * spionquit (Ping timeout: 246 seconds)
01:21:39  <ralphtheninja>rvagg: https://github.com/ralphtheninja/bitcoinjs-server/blob/master/binding.gyp#L9
01:22:06  * ins0mniaquit (Ping timeout: 245 seconds)
01:22:10  <rvagg>oh, they added their own binding.gyp since I made mine
01:22:11  <rvagg>hm
01:22:17  <ralphtheninja>rvagg: but it looks wrong
01:22:41  <ralphtheninja>native.cc doesn't even exist..
01:23:01  <rvagg>ralphtheninja: yeah, it is wrong, a copy/paste from somewhere else perhaps
01:23:06  <rvagg>just overwrite it with my version, it works properly
01:23:12  <rvagg>does everything it needs to
01:23:14  <ralphtheninja>cool, thanks!
01:23:58  <rvagg>when I forked they didn't have a binding.gyp so I'm possibly a little behind on other changes too
01:24:06  * Guest99380quit (Ping timeout: 256 seconds)
01:24:18  <rvagg>and I ditched wscript, it's not needed any more but I see they've left it.. remove that thang!
01:24:33  <ralphtheninja>hehe
01:26:30  <ralphtheninja>gah they are using >= in package.json
01:31:21  * kenperkinsjoined
01:32:24  * Correnjoined
01:32:31  <ralphtheninja>rvagg: what command for building with node-gyp?
01:33:13  * stagasquit (Read error: Connection reset by peer)
01:33:53  * kenperkinsquit (Read error: Connection reset by peer)
01:33:53  * Correnchanged nick to kenperkins
01:34:18  <ralphtheninja>rvagg: aah 'node-gyp configure build' .. nevermind
01:34:25  <ralphtheninja>and ends up in build/Release
01:38:30  <rvagg>ralphtheninja: yeah, that's what the 'binding' package is for, so you don't have to go looking for it; if you have a debug build of node then it'll end up in build/Debug and you don't want to care
01:38:44  <rvagg>hence require('binding')('native') or whatever that line is
01:38:59  <rvagg>ralphtheninja: and just use `node-gyp rebuild`, it's both configure & build together
01:39:07  <ralphtheninja>rvagg: and gypfile:true in package.json so you only have to do npm install
01:39:15  <ralphtheninja>kk
01:39:16  <rvagg>yeah
01:40:16  * Guest99380joined
01:40:16  * Guest99380changed nick to ITpro
01:40:46  * ITprochanged nick to Guest51951
01:41:14  * tilgovijoined
01:41:35  * mikolalysenkoquit (Ping timeout: 255 seconds)
01:41:45  * tmcwjoined
01:44:37  * Guest51951quit (Ping timeout: 248 seconds)
01:52:39  <thl0>what's the proper way to run testling tests locally?
01:53:11  <thl0>I found http://testling.com/docs/#running-tests-locally, but I want to use tape
01:53:17  <substack>the easiest way is to browserify test/*.js
01:53:35  <substack>that's what testling itself does
01:53:41  <substack>the testling docs are for the old way
01:53:48  <thl0>I figured
01:54:06  <substack>ALSO
01:54:10  <thl0>I tried to specify browsers, but it didn't open any
01:54:24  <substack>using the command-line tool?
01:54:29  <thl0>yep
01:54:32  <substack>it's headless by default
01:54:38  <thl0>jsdom?
01:54:43  <substack>no never
01:54:58  <thl0>oh got it, really headless
01:55:12  <substack>a real browser running an an xdg-open container
01:55:53  <thl0>didn't have that running or is testling supposed to start that up?
01:56:02  <thl0>it seemed to me like it just ran it via node
01:56:09  <substack>I hate that people assume headless means jsdom or phantom
01:56:24  <thl0>well they are called headless browsers
01:56:24  <substack>it's so easy to run a real browser headlessly
01:56:28  <thl0>ok
01:56:37  <substack>but jsdom and phantom are not real browsers :/
01:56:44  <thl0>agreed
01:56:53  <thl0>that's why I'm trying testling ;)
01:57:21  <thl0>so I browserify all tests and just open the bundle via an index html?
01:57:25  <substack>yep
01:57:26  <thl0>in some browser?
01:57:35  <substack>exactly
01:57:40  <thl0>is tapedeck any good in making this nicer?
01:57:40  <substack>just look at the console.log output
01:57:47  <substack>it might be but I haven't tried it
01:57:51  <thl0>got it, thanks
01:58:01  <substack>everything goes through console.log
02:00:38  <Raynos>What would be a good unixy way to watch the file size of a file / folder? like tail -f on file size
02:01:06  <thl0>substack: thanks that worked, except my tests are using require.resolve which of course breaks ;)
02:01:15  <thl0>I can fix that though
02:01:29  <Raynos>wow `watch`
02:01:31  <Raynos>Unix <3
02:02:04  <thl0>I guess brsf will have to help here
02:17:54  <thl0>substack: awesome got it to work - was a bit strict, i.e. doesn't like require('fs).readFileSync ..
02:18:08  <thl0>brfs I mean
02:27:00  * jxsonquit (Ping timeout: 256 seconds)
02:32:14  <chrisdickinson>thl0: i've been using tape + beefy to run tests locally
02:32:37  <thl0>chrisdickinson: will look into that as well, thanks
02:32:52  <thl0>right now have 'em running just with browserify by opening browser
02:33:24  <thl0>currently trying to hook up hypernal, so I can see syntax highlighted results to trouble shoot why my tests fail in browser
02:34:24  <thl0>that might be useful for these kind of things anyways to pipe console.log to hypernal in order to improve rendering
02:38:25  <substack>awesome: JSONStream works in browsers again
02:44:30  <chrisdickinson>i take it the copy-on-slice stuff landed?
02:50:20  <substack>thl0: ok I fixed browserify.org
02:50:30  <thl0>cool
02:50:39  <substack>now I'll add you to the auth so you can push that article!
02:51:59  <thl0>awesome!
02:53:15  <substack>oh whoops, glog auth got messed up
02:54:12  <thl0>substack: tape with hypernal makes for good test result trouble shooting: http://imgur.com/rLf0r0D
02:58:01  <rvagg>btw substack, tape on node 0.10 seems to run tests multiple times each, is this a known issue? I've switched to tap for some stability in some smaller libs for now
03:03:33  * brianloveswordsquit (Ping timeout: 240 seconds)
03:03:39  * Correnjoined
03:04:18  * doolsquit (Read error: Connection reset by peer)
03:04:19  * tilgoviquit (Remote host closed the connection)
03:04:30  * doolsjoined
03:04:30  * tilgovijoined
03:05:14  * rvaggquit (Ping timeout: 240 seconds)
03:05:53  * kenperkinsquit (Ping timeout: 252 seconds)
03:05:54  * Correnchanged nick to kenperkins
03:07:44  * brianloveswordsjoined
03:08:32  <substack>why do people ask a question then leave >_<
03:09:48  * rvaggjoined
03:10:12  <substack>rvagg: known issue
03:14:42  * thl0quit (Remote host closed the connection)
03:15:34  * tmcwquit (Remote host closed the connection)
03:16:01  * tmcwjoined
03:16:50  <rvagg>substack: k, cool, will be patient then
03:17:08  <rvagg>I prefer tape for small libs cause its dependencies are shallow
03:20:22  * tmcw_joined
03:20:50  * tmcwquit (Ping timeout: 256 seconds)
03:32:02  * defunctzombiechanged nick to defunctzombie_zz
03:35:12  <substack>http://www.reddit.com/r/javascript/comments/1cj60q/a_library_or_a_framework/
03:38:42  * tmcw_quit (Remote host closed the connection)
03:59:40  * mirkokquit (Read error: Operation timed out)
04:00:11  * notalexgordon_quit (Ping timeout: 255 seconds)
04:00:31  * ehdquit (Ping timeout: 264 seconds)
04:00:41  * devaholicquit (Quit: Leaving)
04:00:48  * owenbquit (Ping timeout: 264 seconds)
04:00:49  * pikpikquit (Ping timeout: 246 seconds)
04:00:58  * mirkokjoined
04:01:09  * Domenic_quit (Ping timeout: 248 seconds)
04:01:21  * gozalaquit (Ping timeout: 256 seconds)
04:07:23  * tilgoviquit (Remote host closed the connection)
04:07:43  <guybrush>substack: is jquery a lib or a framework? :D
04:08:11  <substack>yes
04:08:25  <guybrush>really for me the two words are just words and everyone interprets it how he likes to interpret it :p
04:08:29  <substack>it's a library but it's still too big
04:09:26  <guybrush>the thing with jquery is, that eh api is simpler to than the "vanilla" dom-api
04:09:55  <guybrush>getElementById and friends are just harder than $(selector)
04:10:15  <guybrush>harder to remember and harder to use
04:10:15  <mbalho>var $ = document.querySelector
04:10:37  <guybrush>its not only the selector
04:10:46  <guybrush>you get .parent .children and everything
04:10:55  <guybrush>you dont even have to think
04:11:09  <mbalho>whatevs i use zepto
04:11:10  <guybrush>but really im not a jquery fan
04:11:28  <guybrush>mbalho: why zepto and not document.querySelector?
04:11:52  <guybrush>the next thing im kind of used to is backbone
04:12:05  <mbalho>guybrush: zepto has .parent .children and everything
04:12:09  <guybrush>right
04:12:12  <guybrush>im with you
04:12:19  <guybrush>i am running backbone+zepto
04:12:27  <guybrush>but not in my game though :p
04:12:39  <substack>.parentNode, .childNodes
04:12:48  <guybrush>but for websites, like a blog and stuff i just use those fuckers everyone is using
04:14:17  * fallsemoquit (Quit: Leaving.)
04:15:11  <guybrush>also i dont write html, i write jade
04:15:19  <guybrush>as i dont write css anymore, i write stylus
04:15:54  <substack>I like ordinary html
04:16:08  <guybrush>all these things might be called frameworks by one or the other, in the end i just _love_ doing it how im doing it
04:16:13  <substack>then I fs.readFileSync() it into my code with brfs
04:16:32  <substack>jade and stylus are clearly libraries
04:16:33  <guybrush>i can compile html/css
04:16:36  <substack>they take input and produce output
04:16:56  <guybrush>writing html just sucks
04:16:57  <guybrush>xml sucks
04:16:59  <substack>and they don't force you to organize your directories in a particular way
04:17:45  <guybrush>thats why everyone writes markdown and not html
04:19:40  <guybrush>but i understand its all about opinions and different opinions is a good thing, just dont call me stupid when in my opnion backbone and zepto are usefull things :p
04:20:48  <guybrush>also threejs is just beautifull, though its really big and stuff
04:23:52  <guybrush>woah i have pretty hard exam today and spend precious time talking about frameworks and libs
04:51:25  * tmcwjoined
04:54:42  * jxsonjoined
04:57:14  * tmcwquit (Remote host closed the connection)
04:59:31  * jxsonquit (Ping timeout: 256 seconds)
05:20:31  * shamaquit (Remote host closed the connection)
05:20:36  * mikealjoined
05:24:30  * gozalajoined
05:29:51  <rowbit>/!\ ATTENTION: (default-local) paid account successfully upgraded /!\
05:29:51  <rowbit>/!\ ATTENTION: (default-local) queenie.low@... successfully signed up for developer browserling plan ($20). Cash money! /!\
05:46:11  <niftylettuce>anyone need country codes? https://github.com/getprove/node-country-codes
05:59:56  * owenbjoined
05:59:57  * notalexgordon_joined
06:00:18  * ehdjoined
06:00:27  * Domenic_joined
06:01:15  <substack>defunctzombie_zz: thoughts about https://github.com/substack/node-browserify/issues/382 ?
06:01:25  <substack>perhaps -r isn't as obvious as it could be
06:04:21  * jxsonjoined
06:10:12  * jxsonquit (Ping timeout: 276 seconds)
06:11:15  * pikpikjoined
06:22:43  * timoxleyquit (Quit: Computer has gone to sleep.)
06:36:34  * jxsonjoined
06:37:55  * jxson_joined
06:37:55  * jxsonquit (Read error: Connection reset by peer)
06:42:25  * jcrugzzjoined
06:43:51  * kenperkinsquit (Quit: Computer has gone to sleep.)
06:59:07  * jcrugzzquit (Ping timeout: 256 seconds)
07:01:43  <substack>chrisdickinson: https://gist.github.com/substack/5410740
07:02:48  <chrisdickinson>substack: ah, yes, but that won't work if there's a recursive function call
07:02:55  <chrisdickinson>or "use strict" anywhere in the stack
07:03:04  <substack>updated
07:03:28  <substack>strict is function-scoped
07:03:37  <substack>it works with "use strict" :D
07:03:39  <substack>just tested
07:03:47  <chrisdickinson>hmm? it should throw.
07:03:51  <substack>nope
07:03:59  <chrisdickinson>is "use strict" calling your function?
07:04:09  <substack>no I just put it in the foo.js
07:04:24  <chrisdickinson>yeah, that'll work
07:04:25  <substack>anyways fuck strict mode
07:04:29  <chrisdickinson>i know i know
07:04:30  <substack>it just breaks things
07:04:36  <chrisdickinson>yeah
07:04:40  * wolfeidauquit (Remote host closed the connection)
07:04:40  <substack>people who use strict mode shouldn't get nice things
07:05:13  <chrisdickinson>well
07:05:18  <chrisdickinson>here's the issue actually
07:05:36  <chrisdickinson>someone writes a module using "use strict" because that happens
07:05:47  <chrisdickinson>then they require something that uses bfy-worker
07:06:04  <chrisdickinson>it blows up on them because bfy-worker can't go up through a "use strict" module
07:06:12  <substack>tell them not to use strict
07:06:29  <chrisdickinson>the only other case is if for some reason they are recursively requiring themselves?
07:06:31  <chrisdickinson>but yeah, workable
07:06:43  <substack>I'm open to adding a pass in browserify to remove all instances of "use strict" programmatically
07:06:44  <chrisdickinson>though
07:06:45  <chrisdickinson>at this point
07:07:00  <chrisdickinson>i'm actually leaning towards using exportify on prebuilt bundles
07:07:16  <chrisdickinson>and just having a module that can load strings really easily
07:07:22  <chrisdickinson>seems saner in the long run i think
07:07:42  <substack>use brfs for that
07:07:53  <chrisdickinson>ah, good point
07:08:13  <chrisdickinson>can you have multiple transforms?
07:08:14  <substack>another reason not to use strict: https://twitter.com/kevzettler/status/324780850656993281
07:08:22  <substack>strict is for bros
07:08:24  <chrisdickinson>hah
07:08:31  <substack>chrisdickinson: yes
07:08:35  <substack>and
07:08:35  <chrisdickinson>awesome.
07:08:37  <chrisdickinson>wasn't sure
07:08:42  <substack>transforms compose across modules
07:08:48  <substack>you can be using them without knowing it
07:08:55  <chrisdickinson>yes
07:09:09  <chrisdickinson>i'm pretty elated by transforms
07:10:08  <chrisdickinson>oh, i might have some stuff to add to zlib-browserify soon
07:10:14  <chrisdickinson>so inflate + inflateRaw work
07:10:30  * jxson_quit (Remote host closed the connection)
07:11:06  <chrisdickinson>so many projects to do, so many modules to write
07:11:21  <chrisdickinson>would really like to take a look at writing up some docs for browserify at some point
07:11:30  <chrisdickinson>from a couple common user's perspectives
07:12:03  <chrisdickinson>"i'm a django/rails developer and wtf is this"; "i want to write a standalone module that works anywhere"; etc etc
07:12:09  <substack>if you write a blog post I can republish it to browserify.org
07:12:19  <substack>markdown works best but I can clean it up
07:12:35  <chrisdickinson>cool
07:12:52  <substack>glog auth is kind of broken but I can publish still
07:13:35  <chrisdickinson>it would be nice to have a "docs" section on browserify.org
07:13:55  <substack>it would!
07:14:03  <chrisdickinson>i have a friend or two that works on http://readthedocs.org/
07:14:06  <substack>here's the repo http://github.com/substack/browserify-website
07:14:16  <chrisdickinson>downside: sphinx ): upside: generates static html
07:14:53  <chrisdickinson>i'll splice docs into my list of things to do before making glslify into a transform
07:26:44  * wolfeidaujoined
08:01:04  * dominictarrjoined
08:03:59  * no9joined
08:06:39  * spionjoined
08:14:24  <substack>hard working around how slow travis-ci is in my tests
08:20:56  * jxsonjoined
08:23:04  * keslajoined
08:23:33  * dominictarrquit (Quit: dominictarr)
08:24:24  * chapelquit (Ping timeout: 258 seconds)
08:25:24  * chapeljoined
08:26:08  * jxsonquit (Ping timeout: 255 seconds)
08:56:58  * ins0mniajoined
09:05:47  * stagasjoined
09:12:27  * keslaquit (Quit: Computer has gone to sleep.)
09:16:41  * ins0mniaquit (Ping timeout: 245 seconds)
09:33:46  * dfggquit (Ping timeout: 245 seconds)
09:34:22  * spionquit (Ping timeout: 246 seconds)
09:36:19  * dfggjoined
10:01:49  * nicholas_quit (Read error: Connection reset by peer)
10:02:21  * nicholas_joined
10:36:15  * Guest67449joined
10:36:15  * Guest67449changed nick to ITpro
10:36:45  * ITprochanged nick to Guest89727
10:37:28  * spionjoined
10:45:05  * thl0joined
10:55:13  * keslajoined
11:07:47  * ralphtheninjaquit (Quit: Lost terminal)
11:08:25  * yorickjoined
11:09:36  * Guest89727quit (Ping timeout: 245 seconds)
11:23:16  * num9joined
11:26:00  * no9quit (Ping timeout: 264 seconds)
11:57:24  * dominictarrjoined
12:06:01  * dominictarrquit (Quit: dominictarr)
12:10:06  * dominictarrjoined
12:14:04  * AvianFlujoined
12:16:04  * timoxleyjoined
12:24:37  * nicholas_quit (Ping timeout: 245 seconds)
12:32:51  <juliangruber>https://twitter.com/juliangruber/status/324863041789390849
12:55:07  * keslaquit
12:56:17  * dominictarrquit (Ping timeout: 245 seconds)
12:56:58  <rvagg>heh, you've come to the right place for support
12:57:52  * thl0quit (Remote host closed the connection)
13:00:02  * dominictarrjoined
13:03:12  * dominictarrquit (Client Quit)
13:06:23  * fallsemojoined
13:17:56  * dominictarrjoined
13:18:49  <dominictarr>juliangruber: in your next talk, you should use hoarders.
13:21:31  * spionquit (Ping timeout: 246 seconds)
13:23:04  <juliangruber>dominictarr: :D
13:23:12  <juliangruber>npm install hoarders &
13:23:19  <juliangruber>"ok, let's continue"
13:24:14  <dominictarr>hmm, there is an evil trick to make processes run sync, you could use that to make hoarders install lazily
13:25:02  <dominictarr>you start the process, and then you open the cp's stdout sync, and readSync on it until an END marker is found.
13:28:16  * dominictarrquit (Quit: dominictarr)
13:29:16  * jibayjoined
13:36:37  * thl0joined
13:52:00  * Domenic__joined
13:53:06  * Domenic__quit (Remote host closed the connection)
13:57:28  * jcrugzzjoined
14:09:19  <juliangruber>omfg
14:09:42  * dominictarrjoined
14:12:28  * jcrugzzquit (Quit: Reconnecting)
14:12:36  * jcrugzzjoined
14:15:09  * ins0mniajoined
14:18:28  * kenperkinsjoined
14:26:57  * tmcwjoined
14:28:52  * mikolalysenkojoined
14:32:44  * jcrugzzchanged nick to jcrugzz|breakfas
14:41:04  * fallsemoquit (Remote host closed the connection)
14:41:44  * keslajoined
14:41:50  * fallsemojoined
14:41:51  * fallsemoquit (Remote host closed the connection)
14:42:19  * fallsemojoined
14:45:38  <juliangruber>dominictarr:
14:46:35  <dominictarr>juliangruber:
14:46:47  <juliangruber>oh
14:47:09  <juliangruber>*poke*
14:47:09  <juliangruber>:D
14:47:11  <juliangruber>jk
14:47:47  * mikealquit (Quit: Leaving.)
14:48:30  <ins0mnia>dominictarr: ping
14:48:41  <dominictarr>ins0mnia: yo
14:55:01  * keslaquit (Quit: Computer has gone to sleep.)
15:06:17  * dguttmanjoined
15:08:21  * dominictarrquit (Quit: dominictarr)
15:13:08  * num9quit (Ping timeout: 256 seconds)
15:16:19  * fotoveritequit (Ping timeout: 246 seconds)
15:23:12  * tilgovijoined
15:24:03  * fotoveritejoined
15:25:58  * mikealjoined
15:28:08  * dguttman_joined
15:28:44  * dguttmanquit (Ping timeout: 258 seconds)
15:28:44  * dguttman_changed nick to dguttman
15:32:17  * keslajoined
15:34:52  * simcop2387quit (Quit: ZNC - http://znc.sourceforge.net)
15:36:11  * simcop2387joined
15:37:57  * timoxleyquit (Quit: Computer has gone to sleep.)
15:41:07  * num9joined
15:41:12  * kesla_joined
15:41:43  * jcrugzz|breakfaschanged nick to jcrugzz
15:41:56  * jxsonjoined
15:42:43  * jxsonquit (Remote host closed the connection)
15:43:01  * jxsonjoined
15:43:04  * keslaquit (Ping timeout: 260 seconds)
15:43:04  * kesla_changed nick to kesla
15:43:59  * dominictarrjoined
15:48:33  * dominictarrquit (Ping timeout: 240 seconds)
15:55:28  * dominictarrjoined
16:00:33  * dguttman_joined
16:00:35  * keslaquit (Read error: Connection reset by peer)
16:01:03  * mikealquit (Quit: Leaving.)
16:02:28  * dguttmanquit (Ping timeout: 258 seconds)
16:02:28  * dguttman_changed nick to dguttman
16:03:46  * Benviejoined
16:05:21  * keslajoined
16:07:27  * shamajoined
16:09:18  * keslaquit (Read error: Connection reset by peer)
16:13:00  * spionjoined
16:15:15  * mikolalysenkoquit (Ping timeout: 260 seconds)
16:25:44  * fotoveritequit (Quit: fotoverite)
16:29:35  <dominictarr>Raynos: gozala substack am thinking about a pure js static type checker.
16:29:50  <dominictarr>you could just use a pure js annotation,
16:30:03  <dominictarr>none of that significant comment bs
16:30:30  * jxsonquit (Remote host closed the connection)
16:30:52  <dominictarr>like: var type = require('statictypes')
16:31:13  * mikealjoined
16:31:52  <dominictarr>type(String, Number, String) //String -> Number -> String
16:32:30  * fotoveritejoined
16:32:31  * mikolalysenkojoined
16:32:45  <dominictarr>the type function would do nothing - just provide something for the AST walker to detect.
16:32:58  * ralphtheninjajoined
16:33:10  <gozala>dominictarr: why do you need that ?
16:33:29  <dominictarr>which "that"?
16:33:40  <gozala>static type checker ?
16:34:10  <dominictarr>I don't know. some times I get bugs, and I wonder -- would I have found that faster with static types?
16:34:23  <gozala>dominictarr: I did some runtime type guards lib in a past
16:34:24  <gozala>https://github.com/Gozala/guards
16:34:56  <gozala>dominictarr: also blogged about it
16:34:57  <gozala>http://jeditoolkit.com/2011/07/03/guards.html#post
16:35:23  <gozala>it's not static checker, but maybe'll help your use case
16:35:39  <gozala>it just creates js functions
16:35:52  <gozala>that can extract data from given value
16:36:07  <gozala>if data does not matches type or other verification it throws
16:37:05  * num9quit (Ping timeout: 245 seconds)
16:39:04  <dominictarr>var guards = require('https!raw.github.com/Gozala/guards/v0.2.0/guards.js')
16:39:11  <dominictarr>^ that is unfamiliar
16:39:16  <gozala>dominictarr: you can ignore that
16:39:25  <gozala>dominictarr: in a past I wrote npm plugin
16:39:34  <gozala>that let you install modules from the urls
16:39:43  <dominictarr>I also don't understand how you attach the guard to a function
16:39:55  <dominictarr>it seems like you just defined some guards
16:40:19  <gozala>dominictarr: you don't attach
16:40:26  <gozala>it's like
16:40:45  <gozala>function doSomething(colour) { let value = colorGuard(colour); … }
16:41:02  <gozala>well I mean var instead of let but you got the adiea
16:41:05  <gozala>idea
16:41:22  <gozala>if you wan't to attach it's partial(fn, guard)
16:41:42  <dominictarr>and it will throw if color isn't they right type?
16:41:51  <gozala>dominictarr: yeah
16:42:07  <gozala>it's not only about types though
16:42:10  <dominictarr>right - I don't get that from your example
16:42:46  <dominictarr>hmm, okay I can see it now that you explain
16:42:58  <gozala>dominictarr: yeah my example in readme sucks
16:43:03  <dominictarr>you need to show some passing and failing examples
16:43:07  * mikealquit (Ping timeout: 264 seconds)
16:43:16  <gozala>but hay last commit was 2 years ago :)
16:43:21  <gozala>dominictarr: they are here
16:43:22  <gozala>http://jeditoolkit.com/2011/07/03/guards.html#post
16:43:53  <gozala>dominictarr: it even has a link to interactive examples
16:43:53  <gozala>http://jsfiddle.net/gozala/pfnAM/
16:44:11  <dominictarr>also, the good thing with attaching is that you can disable it with some env var or something
16:44:34  <dominictarr>so that you can disable type checking and not loose perf to it.
16:45:06  <gozala>dominictarr: sure it's not replacement for a static types
16:45:15  <gozala>but thought still maybe useful
16:45:16  <dominictarr>oh, yeah - the reason I'm thinking about static checking is that that might help me discover errors earlier
16:45:24  <gozala>dominictarr: you can have your function that does attaching
16:45:45  <gozala>though and use that everywhere
16:45:50  <dominictarr>runtime checking is the same situation I'm in now, just I might get nicer error messages
16:45:52  <gozala>and disable it via env variable
16:46:26  <dominictarr>Okay, I should admit it.
16:46:39  <gozala>dominictarr: also if you do ast analyses you may wanna try things like
16:46:51  <dominictarr>I'm also interested in static types because implementing static types might be an interesting problem.
16:46:58  <gozala>function x() { "String -> Number -> String"; … }
16:47:27  * ins0mniaquit (Ping timeout: 260 seconds)
16:47:39  <dominictarr>yeah, something like that, except there I'd have to parse the string
16:47:50  <gozala>or rather typed(function(x, y) { "Number -> Number -> Number"; … })
16:48:48  <dominictarr>or typed(Number, Number, Number).def(function (x, y) {…})
16:48:55  <gozala>that way typed can guard arguments if some env variable is on
16:49:21  <dominictarr>if it's valid js you'd get the regular js syntax checking of your types for free
16:49:24  <gozala>dominictarr: yeah I guess that'll do
16:49:38  <dominictarr>so typed(Number, Numbero, Number) would error
16:49:43  <gozala>I wish js had clojure like metadata
16:50:17  <dominictarr>is clojure metadata dynamically accessable?
16:50:19  <gozala>dominictarr: anyway good luck with it ;)
16:50:22  <gozala>dominictarr: yeap
16:50:27  <dominictarr>well...
16:50:34  <dominictarr>function foo () {...}
16:50:37  <dominictarr>foo.meta = ...
16:50:39  <gozala>and metadata includes :filename :line :column
16:50:40  <gozala>too
16:50:44  <dominictarr>ah
16:51:16  <gozala>dominictarr: in fact I've being using meta(target, metadata) for some time
16:51:46  <dominictarr>what do you use it for?
16:52:02  <gozala>function meta(target, metadata) { return Object.defineProperty(target, "metadata", { value: metadata })
16:52:24  <gozala>dominictarr: I was hacking on gcli
16:52:43  <gozala>that is web based CLI you can write commands for
16:53:03  <gozala>and you basically define types and commands with work with specific types
16:53:18  <gozala>it has some uglyass syntax for defining commands and types
16:53:36  <gozala>so I used functions annotated with metadata to generate commands
16:53:47  <gozala>but that way I had to just write functions
16:54:18  <gozala>dominictarr: although clojure has sugar for metadata
16:54:42  <gozala>(^:foo bar) => (meta {:tag :foo} bar)
16:55:19  <gozala>oops no it's (^:foo bar) => (meta {:foo true} bar)
16:55:42  <gozala>and (a ^string b) => (a (meta {:tag string} b))
16:56:12  <gozala>so you can do type annotation in clojure nicely
16:57:07  <gozala>(defn ^number double [^numbel x] (* x 2))
16:58:06  <gozala>as a matter of fact compiler recognises this annotations too, and will refuse to compile on type mismatch
17:00:24  * jxsonjoined
17:01:21  * jxsonquit (Read error: Connection reset by peer)
17:01:39  * jxsonjoined
17:07:41  * tilgoviquit (Read error: Connection reset by peer)
17:10:48  * ins0mniajoined
17:17:42  * AvianFluquit (Read error: Connection reset by peer)
17:18:12  * AvianFlujoined
17:20:10  * defunctzombie_zzchanged nick to defunctzombie
17:45:58  * mikealjoined
18:07:49  * spionquit (Ping timeout: 246 seconds)
18:17:56  * num9joined
18:29:57  * AvianFluquit (Remote host closed the connection)
18:30:20  * AvianFlujoined
18:32:54  * jcrugzzquit (Ping timeout: 245 seconds)
18:33:25  * jxson_joined
18:35:15  * jxsonquit (Ping timeout: 260 seconds)
18:41:59  <Raynos>dominictarr: I want something like that but integrated with turnJS and jsig.
18:45:28  * tilgovijoined
18:52:59  * yorickquit (Ping timeout: 255 seconds)
18:54:49  * timoxleyjoined
18:58:12  * yorick_joined
18:58:20  <niftylettuce>anyone want to rewrite this so it's pure javascript, no jQuery requirement? https://github.com/LearnBoost/antiscroll/blob/master/antiscroll.js
19:02:27  * jxsonjoined
19:06:02  * jxson_quit (Ping timeout: 256 seconds)
19:06:41  * spionjoined
19:17:52  * mikealquit (Quit: Leaving.)
19:22:54  * ins0mniaquit (Ping timeout: 264 seconds)
19:23:41  * jcrugzzjoined
19:25:53  * dguttman_joined
19:27:12  * dguttmanquit (Ping timeout: 264 seconds)
19:27:13  * dguttman_changed nick to dguttman
19:29:48  * num9quit (Quit: Leaving)
19:36:10  <jesusabdullah>thl0: is it just me or is http://allong.es/try/ using your thing?
19:40:12  * ins0mniajoined
19:47:54  * Benviequit (Ping timeout: 276 seconds)
20:13:08  <Raynos>Does anyone have a recommendation on how I generate a json array?
20:15:40  <jez0990>Raynos: do you mean generate from an Array?
20:15:51  <Raynos>I mean
20:15:56  <Raynos>I didnt finish my sentence or formulate it
20:15:58  <thl0>jesusabdullah: it's just you ;)
20:16:04  <Raynos>I have 890MB of line seperated JSON
20:16:09  <Raynos>and I want to conver that into an array
20:16:21  <thl0>I mean they manually added the results
20:16:31  <Raynos>the problem I have is how do I not put the `,` at the end
20:16:33  <thl0>scriptie-talkie does this automatically
20:16:37  <Raynos>I guess I can put the `,` at the start
20:17:17  <thl0>jesusabdullah: maybe the should use my thing, so the readers could play with it ;)
20:19:29  * jcrugzzquit (Ping timeout: 256 seconds)
20:22:40  <jesusabdullah>thl0: XD
20:25:07  * keslajoined
20:25:35  * timoxleyquit (Quit: Computer has gone to sleep.)
20:25:39  <thl0>jesusabdullah: they are prob also using the ace editor, but so it looks similar
20:25:49  <thl0>you can edit it even except nothing happens :)
20:26:24  * jcrugzzjoined
20:28:42  <jesusabdullah>thl0: ahhh
20:30:27  <thl0>jesusabdullah: it says you can press Cmd-Enter to reevaluate, but I don't see any change - did you get it to work?
20:30:29  * stagasquit (Read error: Connection reset by peer)
20:31:23  <thl0>jesusabdullah: actually it does reevaluate, but only to update errors
20:31:37  <thl0>so those commented results ARE hardcoded
20:39:54  <jesusabdullah>we should ping reg about this
20:39:58  <jesusabdullah>I'll do it
20:41:56  <thl0>jesusabdullah: who is reg?
20:42:38  <thl0>btw they do print the output to console and via alert: You can produce output with console.log, alert, or by inserting a comment that looks like this ...
20:45:39  * wolfeidauquit (Remote host closed the connection)
20:46:13  <jesusabdullah>thl0: reg braithwaite, aka homoiconic, the guy whose site that is
20:46:51  <jesusabdullah>thl0: aka raganwald
20:47:48  <thl0>jesusabdullah: ok, he's got a good approach as well - more like scala pad
20:48:12  <thl0>I like the editor to stay clean however and just show results in a separate view
20:48:26  <thl0>most likely we can get some ideas from each other
20:48:56  <jesusabdullah>hmmm
20:48:57  <jesusabdullah>well
20:49:01  <jesusabdullah>tweeted at him :)
20:50:49  <thl0>jesusabdullah: actually never mind, he doesn't have a very sofisticated evaluator at this point: https://github.com/raganwald/allong.es/blob/gh-pages/assets/js/aceify.js#L44
20:51:04  <thl0>it's perfectly fine for showing his samples though
20:51:27  <thl0>he could never track vars in context, just results since he is just using eval instead of a vm
20:52:19  * spionquit (Ping timeout: 246 seconds)
20:53:29  <jesusabdullah>thl0: I mean worst case he says "meh", best case he's like "oh sick good find"
20:57:48  <thl0>jesusabdullah: :) yeah it definitely wouldn't hurt his page to embed scriptie-talkie
21:02:42  * wolfeidaujoined
21:12:26  * defunctzombiechanged nick to defunctzombie_zz
21:20:27  * stagasjoined
21:41:25  * defunctzombie_zzchanged nick to defunctzombie
21:54:10  * mikealjoined
21:54:13  * nicholas_joined
21:58:36  * mikealquit (Client Quit)
22:02:55  * jcrugzzquit (Ping timeout: 260 seconds)
22:04:10  * dominictarr_joined
22:05:45  * nicholas_quit (Read error: Connection reset by peer)
22:07:18  * dominictarrquit (Ping timeout: 264 seconds)
22:07:18  * dominictarr_changed nick to dominictarr
22:19:21  * keslaquit (Quit: Computer has gone to sleep.)
22:21:39  <jesusabdullah>thl0: we got a retweet lol
22:38:29  * yorick_quit (Remote host closed the connection)
22:41:29  * kenperkinsquit (Remote host closed the connection)
22:41:59  * kenperkinsjoined
22:44:49  * thl0quit (Remote host closed the connection)
22:57:12  * jcrugzzjoined
23:01:36  * nicholasfjoined
23:14:34  * timoxleyjoined
23:20:53  <dominictarr>Raynos: are you still trying to turn the line separated json into an array?
23:21:09  <Raynos>no
23:21:14  <Raynos>i moved the problem somewhere else
23:21:22  <Raynos>but it should be trivial i just need to add commas in the front
23:23:12  <dominictarr>I think event-stream#replace should work
23:23:30  <dominictarr>replace('\n', ',')
23:39:35  * thl0joined
23:41:00  * Correnjoined
23:42:34  * kenperkinsquit (Ping timeout: 256 seconds)
23:42:35  * Correnchanged nick to kenperkins
23:43:09  * thl0quit (Remote host closed the connection)
23:51:47  * stagasquit (Ping timeout: 255 seconds)
23:55:16  * thl0joined
23:57:54  * tmcwquit (Remote host closed the connection)
23:59:36  * thl0quit (Ping timeout: 245 seconds)
23:59:40  <Raynos>then i just need a way to strip the trailing `,`