--- Log opened Wed Jun 26 00:00:31 2013 00:00 < substack> I just did that in a test. 00:00 < substack> it works 00:00 < hij1nx> for instance: if i start browserify in `~/foo/bar/index.js`, then `__dirname` inside index.js reports `/` 00:01 < hij1nx> and `..` does not go below that 00:01 < hij1nx> hmm, we must have different ways of using it that are causing the case to occur 00:01 < substack> __dirname is interpolated by brfs 00:01 < hij1nx> yes 00:01 < substack> before insert-module-globals gets to it 00:02 < hij1nx> i had julian try it and it did not work for him as well 00:02 < substack> so try this: 00:02 < substack> var fs = require('fs'); 00:02 < substack> var src = fs.readFileSync(__dirname + '/../ripple.js', 'utf8'); 00:02 < substack> that worked for me 00:02 < hij1nx> substack: yep, does not work for me, latest version 00:02 < substack> are you running with -t brfs? 00:03 < hij1nx> i using the api 00:03 < substack> try with the command 00:03 < hij1nx> perhaps thats the difference? 00:03 < hij1nx> ok 00:03 < hij1nx> that works for me as well 00:03 < hij1nx> but i need to use it from the api 00:04 < substack> look at how browserify/bin/cmd.js uses the api 00:06 < hij1nx> looks like im using the api correctly. 00:06 < hij1nx> hmm 00:12 < hij1nx> hmm, actually it doesnt work for me from the commandline 00:14 < hij1nx> substack: i'll try to come up with a test that can reproduce the condition 00:25 < hij1nx> substack: ah, the problem seems to be with passing a joined path instead of `__dirname + '/../foo.html` 00:27 < hij1nx> substack: so `fs.readFileSync(path.join(__dirname, '..', 'css', 'index.css'))` does not work but `fs.readFileSync(__dirname + '/../css/index.css')` does work, could it be the way its parsing the AST? 01:26 < guybrush> woaah stop using index.js, i have so much index.js in my editor its hard to navigate :D 02:19 < jesusabdullah> lol, yeeeah I've been there 02:21 < mikolalysenko> bonus: using source maps to debug in chrome. lots of node_modules/...too many characters, scrolled out of pane.../index.js 02:25 < mikolalysenko> man, I think that getting sparse arrays working in ndarrays is going to be much easier than I thought 02:30 < guybrush> sweet can you elaborate? i did only look at the master branch 02:31 < guybrush> oh its way less code now :D 02:32 < mikolalysenko> guybrush: yeah, though I also took out a bunch of stuff 02:32 < mikolalysenko> guybrush: but I think it is for the best. after this change I think it will be "finished" (optimistically) 02:33 < mikolalysenko> at least the core ndarray stuff anyway, though other modules will still get built on top of it 02:34 < mikolalysenko> also the changes made slicing a lot faster 02:40 < jesusabdullah> ugh, streams2's are >_< 02:45 < guybrush> isaacs: it would be cool to have the curser in the search-field uppon visiting npmjs.org 02:46 < guybrush> i will make an issue (: 02:49 < jesusabdullah> substack: Didn't you write a thing that wraps an object and returns something that acts like that object but is also a function? 02:49 < jesusabdullah> substack: terminal-menu is missing its screenie :( 02:49 < jesusabdullah> substack: will PR this 02:50 < jesusabdullah> substack: leastways, I will if you remind me what the name of that object wrapping thing is 02:50 < jesusabdullah> substack: I decided to try writing kenny-loggins 02:50 < jesusabdullah> substack: with *gulp* streams2 02:59 < jesusabdullah> ahaha that terminal is AWESOME 03:02 < jesusabdullah> and by terminal I mean terminal menu 03:02 < guybrush> a terminal with a menu is an ide :p 03:05 < niftylettuce> Does anyone here know how to make a Context Menu for DESKTOP (not browser) via NPAPI plugin? Or could point me in the right direction? I know about Chrome's context menu, but I want DESKTOP specifically, installed via Chrome, similar to the .so .dll etc files in Chrome Remote Desktop. Been trying to reverse engineer that and figure out how it's done. 03:13 < niftylettuce> looks like i found the source (i think) https://src.chromium.org/viewvc/chrome/trunk/src/remoting/ 03:16 < jcrugzz> npmjs.org down for any of you guys? 03:16 < jcrugzz> isaacs ^ 03:17 < jcrugzz> and shes back 03:28 < chrisdickinson> hm, npm install nodeconf2013 is giving me all sorts of issues. 04:08 < jesusabdullah> guys, I need a company name 04:09 < Domenic_> Rocketturtle 04:11 < jcrugzz> jesusabdullah: whats the company do 04:11 < jcrugzz> tis the question 04:14 < jesusabdullah> jcrugzz: it's for my consulting business, sole proprietorship and such 04:14 < jcrugzz> ah ok cool 04:17 < jcrugzz> yea naming things is hard xD 04:18 < jesusabdullah> Alaskloud maybe 04:21 < chilts> Askloud 04:21 < chilts> wait no, ASKLOUD 04:21 < jcrugzz> I CANT HEAR YOU 04:21 < LOUDBOT> IF THIS IS YOUR FIRST NIGHT, YOU HAVE TO, AH FUCK IT. 04:21 < chilts> heh 04:22 < jcrugzz> jesusabdullah: depends on what you want your message to be, but that seems reasonable. i get alaska and ask loud out of it 04:22 < jesusabdullah> I was thinking 04:23 < jesusabdullah> Joshua's Software Consulting Emporium 04:23 < jesusabdullah> !ddg !define emporium 04:23 < _ddgbot> http://www.thefreedictionary.com/emporium 04:27 < jesusabdullah> Susitna Software? 04:32 < chilts> nock is nice 04:33 < jcrugzz> chilts: checkout https://github.com/mmalecki/hock 04:33 < chilts> jcrugzz: thanks ... will do 04:34 < jcrugzz> nock can drive you crazy with nondeterminism at times since it does string comparisons on the things 04:34 < chilts> jcrugzz: man, I was thinking of writing a server like that ... but it's already done! :) thanks for pointing me to it 04:34 < jcrugzz> no problem :) 04:35 < chilts> so I'm using nock with my AwsSum libraries which talk to the AWS APIs, so not having to think about being able to change all the libraries to talk to a certain port on localhost is good! 04:35 < chilts> however, hock will come in handy for other things I'm sure 04:37 < jcrugzz> yea that makes sense 04:41 < jesusabdullah> went with 04:41 < jesusabdullah> Josh & Bird Software Consulting 04:41 < jesusabdullah> hehe 04:42 < jcrugzz> you and your bird companion taking on the world 04:43 < jesusabdullah> yup 04:51 < jcrugzz> waiting for sendgrid to provision me an account 04:52 < jcrugzz> its not like they are provisoning me a server 04:53 < jesusabdullah> what if they ARE 04:54 < jesusabdullah> You get a POP server! You get a POP server! Everybody gets a POP server!!! 04:54 < jesusabdullah> er, not POP, SMTP 04:54 < jesusabdullah> whateva! 04:55 < jcrugzz> i mean its plausible 04:55 < jcrugzz> but for a free acct 04:55 < jcrugzz> not likely 05:28 < jesusabdullah> jcrugzz: Look at Nodejitsu. #justsayin ;) 05:30 < jesusabdullah> awww, no substizzy 05:40 < jcrugzz> yea that would be quickest i suppose but ill trust your module works for the time being ;) 05:41 < jcrugzz> jesusabdullah: https://github.com/jcrugzz/sendgrid-stream 05:41 < jcrugzz> i took a stab at streams2 05:41 < jcrugzz> not too terrible 05:46 < jesusabdullah> Yeah jcrugzz I figure if you just inherit the shit out of everything and don't need much out of the ordinary it's okay 05:46 < jesusabdullah> that said 05:46 < jesusabdullah> for "object" streams? 05:46 < jesusabdullah> streams1 all the way 05:46 < jesusabdullah> streams2 is optimized for buffeurs 05:46 < jesusabdullah> unapologetically 05:48 < jcrugzz> yea makes sense. i just had to play with the api a little bit 11:35 < defunctzombie> juliangruber: +1 from me 11:35 < defunctzombie> juliangruber: how would you like to detect old IE? 11:35 < defunctzombie> will accept a patch :) 11:44 < defunctzombie> juliangruber: https://github.com/juliangruber/fix-ev/blob/master/index.js#L40 11:44 < defunctzombie> is that suppose to be false? 15:47 < thl0> mbalho: does your g-friend know anything about the github api being unresponsive? 15:48 < thl0> looks like I'm gonna have to put in some timeout to ensure my app doesn't hang for good b/c I never get a response at times (the closer I get to per_page: 100, the less likely it is to ever return) 15:49 < mbalho> thl0: ah weird, she probably doesnt know anything more than https://status.github.com/ 15:50 < thl0> mbalho: ok, thanks 15:51 < thl0> mbalho: I guess statistics lie ;) 'API Availability : Normal' -- no way 15:52 < thl0> they probably just ping it instead of making real requests like I am doing, otherwise they would realize that sometimes the server never responds to certain requests 15:52 < mbalho> thl0: hehe 15:54 < thl0> mbalho: it's directly related to the number of pages I wanna include in one response 15:54 < thl0> wonder if they prefer smaller page size requests somehow 15:54 < thl0> or if the servers just can't put together the entire response b/c they are overloaded 16:27 < jjjohnny> i haven't logged in to my fake facebook acct with zero friends in a long time, yet I just got a message indicating facebook knows my real location 16:27 < jjjohnny> "People you may know in Oakland" 16:27 < jjjohnny> i dont even have oakland set as my fake fb acct location 16:28 < jcrugzz> jjjohnny: but they read your cookies 16:29 < jjjohnny> by i dont use fb 16:29 < jjjohnny> or log in 16:29 < jjjohnny> i just get these annoying emails about people my zero-friend acct my know 16:30 < jjjohnny> i supposed i may have in the past 16:30 < jjjohnny> logged in from oakland 16:30 < jcrugzz> yea it had to have grabbed the info from somewhere 16:30 < jcrugzz> but yea i avoid fb 16:30 < jjjohnny> unless they used my email address to mine data outside fb 16:31 < jjjohnny> and build a private fb profile 16:32 < jjjohnny> what does your personal profile look like to google and fb i wonder 16:32 < jjjohnny> what is your anti-profile 16:34 < jjjohnny> a company's data ABOUT you should by law be available 16:34 < jjjohnny> their internal profile of who you are 16:35 < jjjohnny> I DEMAND IT 16:35 < LOUDBOT> MY DARK KNIGHT IS RISING, IF YOU KNOW WHAT I MEAN. 16:35 < jcrugzz> lol 16:36 < jcrugzz> jjjohnny: idealistic currently. there is too much money to be made off of information 16:36 < jcrugzz> it just needs to be easy for people to secure their shit. reliance on google, fb and the like doesnt help the situation though 16:46 < jjjohnny> just imagine your "profile" on the other side of the mirror 16:46 < jjjohnny> what grotesque do they make of you, I wonder 16:49 < jcrugzz> they probably have different versions 16:49 < jcrugzz> depending on what company they are selling the information to 16:49 < mikolalysenko> how much is my information worth I wonder? can I undercut fb/google/whatever and sell my stuff directly to the man for a few bucks? 17:09 < jcrugzz> maybe 17:10 < jcrugzz> but you gotta have all the information of all your neighbors at least 17:13 < jjjohnny> yeah your info is worhtless with out that relational data 17:14 < jez0990> I don't think browserify is picking up my browser field ...any tips on how to debug this? 17:23 < dominictarr> jjjohnny: http://subprotocol.com/verlet-js/examples/cloth.html 17:24 < dominictarr> jez0990: try and reproduce it with a simple script - ie. away from your app 17:24 < dominictarr> make a 3 file example 17:25 < dominictarr> package.json, index.js, browser.js 17:26 < jez0990> dominictarr: yeah I should do that 17:26 < jez0990> I have levelgraph working in the browser :) just trying to make it fit elegantly into the structure that's already there 17:27 < dominictarr> when you find your self standing in mud, go look for solid ground. 17:27 < dominictarr> jez0990: awesome 17:27 < dominictarr> it's so hard to keep track of all the awesome level-* stuff these days! 17:51 < dominictarr> http://news.netcraft.com/archives/2013/06/25/ssl-intercepted-today-decrypted-tomorrow.html?utm_content=buffercdb0f&utm_source=buffer&utm_medium=twitter&utm_campaign=Buffer 17:56 < mikolalysenko> tada: ndarray 1.0 : https://github.com/mikolalysenko/ndarray 18:00 < mikolalysenko> still working through changes, but the new version is much simpler and supports sparse arrays as well 18:01 < jcrugzz> jjjohnny: seems quite timely that this would show up on my feed http://www.zdnet.com/firm-facebooks-shadow-profiles-are-frightening-dossiers-on-everyone-7000017199/ 18:04 < jcrugzz> dominctarr++ definitely a good read 18:04 < jjjohnny> jcrugzz: ah shit 18:13 < jjjohnny> WTF is fs.read about? Is that old or new? 18:13 < jjjohnny> http://nodejs.org/docs/latest/api/fs.html#fs_fs_read_fd_buffer_offset_length_position_callback 18:18 < jcrugzz> i guesss thats reading from a raw file descriptor. it existed in 0.8 it seems http://nodejs.org/docs/v0.8.23/api/fs.html#fs_fs_read_fd_buffer_offset_length_position_callback 19:20 < dominictarr> jjjohnny: fs.read is the low level file api. it's used to implement readFile and createReadStream. 19:20 < dominictarr> see also: fs.write 19:31 < calvinfo> just wrote a tutorial post: http://calv.info/an-introduction-to-nodes-new-streams/ 19:31 < calvinfo> feedback very welcome :) 20:30 < jez0990> I think I figured out the issue, browserify won't let me override the stream module from browser-builtins with my own (readable-stream) 20:44 < defunctzombie> juliangruber: https://github.com/shtylman/dom-events/pull/5#issuecomment-20042906 20:44 < defunctzombie> juliangruber: this is not the way to treat a pull request 20:45 < defunctzombie> juliangruber: nor is it a way to be a good developer towards other projects 20:48 < jjjohnny> streams and node's fs functionality for the browser File System API https://github.com/NHQ/nbfs 20:50 < jjjohnny> mmckegg: I reverted to your method of calling the fs in private (instead of a user callback) 20:55 < juliangruber> defunctzombie: i'm adding something if you want to but if you don't it's not that bad 21:02 < tanepiper> i should pay more attention in here. 21:03 < tanepiper> "7 days of unread messages" 21:07 < tanepiper> In other news I'm getting a full time node job :D 21:10 < thl0> mbalho: not github's fault after all: https://twitter.com/thl0/status/349997843634847744 21:14 < snoj> congrats tanepiper 21:14 < snoj> and might I add "you lucky dog" 21:16 < chilts> tanepiper: congrats! 21:16 < chapel> tanepiper: awesome 21:17 < chapel> my job isn't specifically node.js, but I was hired due to that experience and I can write what I want how I want it essentially 21:20 < tanepiper> well yea there is lots of frontend too - but it's basically full stack 21:36 < chapel> tanepiper: where at? 21:39 < tanepiper> well i'm not saying yet as we need to dot the i's and cross the t's :) 21:42 < jesusabdullah> http://consulting.jesusabdullah.net nobody ever said I was good at graphic design XD 21:43 < jesusabdullah> speaking of, I'll have to get substack to do a style for browserify-cdn when it goes live 22:40 < chilts> jesusabdullah: your freenode link needs a slight fix :) 22:48 < dominictarr> jesusabdullah: lol "generally a nice person" 23:02 < defunctzombie> jesusabdullah: I like the "testimonial" haha 23:14 < jesusabdullah> chilts: thanks 23:14 < jesusabdullah> dominictarr: :) 23:14 < jesusabdullah> defunctzombie: Yeah, 100% real too :D 23:21 < jesusabdullah> dangit where's max 23:43 < jesusabdullah> Guys, I need a sweet picture of a cat 23:43 < jesusabdullah> with a pretty color pallate 23:45 < jesusabdullah> substack: You're a good artist. Wanna draw a cat for me? :D 23:52 < substack> a cat? 23:56 < jesusabdullah> substack: http://jesusabdullah.net/catmap/ 23:56 < jesusabdullah> substack: want better cat picture 23:56 < jesusabdullah> substack: will gladly add you to the credits of course --- Log closed Thu Jun 27 00:00:04 2013