00:00:00
| * ircretary | quit (Remote host closed the connection) |
00:00:03
| <hackygolucky> | but kind to new programmers |
00:00:07
| * buritica | quit (Ping timeout: 246 seconds) |
00:00:08
| * ircretary | joined |
00:00:10
| <taternuts> | HeadFirst is good for beginners, it's easier to read for newer programmers |
00:00:22
| <taternuts> | tries to be interesting while introducing concepts |
00:00:25
| <andrewrk> | thanks |
00:00:29
| * BlackYoup | quit (Remote host closed the connection) |
00:00:45
| * wwicks | quit (Quit: wwicks) |
00:00:51
| <isaacbw> | does using gnu java libraries have similar issues to using gnu c libraries |
00:00:59
| * ragingwind | quit (Ping timeout: 240 seconds) |
00:01:06
| <isaacbw> | or can you pretty much be comfortable using a gnu jar in a commercial project without issue |
00:01:09
| * master5o1 | quit (Ping timeout: 252 seconds) |
00:01:30
| <taternuts> | andrewrk: tell your friend to check out #learnprogramming for any general programming questions |
00:02:03
| * automata | joined |
00:02:05
| * liwen | quit (Ping timeout: 252 seconds) |
00:02:23
| <isaacbw> | nevermind, this is lgpl anyway |
00:02:29
| * pscanf | quit (Quit: Leaving) |
00:03:47
| <isaacbw> | anyone played with gate for nlp? |
00:03:58
| * wallerdev | quit (Quit: wallerdev) |
00:05:03
| * dokkles | joined |
00:05:14
| * xSmurf | quit (Read error: Connection reset by peer) |
00:06:19
| * Xenmen | joined |
00:06:29
| <beardtree> | What's that one npm frontend? |
00:06:46
| * paper_ziggurat | joined |
00:07:16
| * siqi | quit (Remote host closed the connection) |
00:07:55
| * terminusbound | joined |
00:07:58
| * ragingwind | joined |
00:07:59
| <taternuts> | browserify? |
00:08:01
| <terminusbound> | uber.com/invite/vkjaj <--- FREE $20 CREDIT for Uber(Taxi Service) that you can use anytime, in case you havent signed up yet. |
00:08:16
| * dejanr | quit (Quit: leaving) |
00:08:22
| <beardtree> | It makes the npm CLI prettier |
00:08:26
| * xaq | quit (Remote host closed the connection) |
00:08:32
| * dejanr | joined |
00:08:37
| <duch_kazatel> | well that's annoying, terminusbound |
00:08:43
| * Kessler | joined |
00:08:46
| * isaacbw | booted terminusbound (terminusbound) |
00:08:57
| <isaacbw> | I get such a rush being an op on IRC |
00:08:59
| * ckknight | quit (Ping timeout: 240 seconds) |
00:08:59
| * dve | quit (Remote host closed the connection) |
00:09:01
| <duch_kazatel> | hahahahaha |
00:09:09
| * madboxs | joined |
00:09:13
| * kenkeiter | quit (Ping timeout: 240 seconds) |
00:09:18
| * AaronMT | quit (Quit: Textual IRC Client: www.textualapp.com) |
00:09:22
| * wallerdev | joined |
00:09:39
| <taternuts> | I see a lot of that stuff in this channel, I wonder why |
00:09:45
| * tar_ | quit (Remote host closed the connection) |
00:09:46
| * luisbug | quit (Read error: Connection reset by peer) |
00:09:59
| * Marsup | quit (Ping timeout: 245 seconds) |
00:10:06
| * kamicane | quit (Read error: Operation timed out) |
00:10:08
| <isaacbw> | lots of people here |
00:10:23
| * tar_ | joined |
00:10:49
| * luisbug | joined |
00:11:14
| * dejanr | quit (Client Quit) |
00:11:32
| * dejanr | joined |
00:11:56
| * Marsup | joined |
00:12:06
| * donbitto | quit (Quit: Leaving.) |
00:12:08
| * garthk | joined |
00:12:17
| * jalleyne | joined |
00:12:36
| * p15 | quit (Quit: Computer has gone to sleep.) |
00:13:07
| * Kessler | quit (Ping timeout: 264 seconds) |
00:13:15
| * dejanr | quit (Client Quit) |
00:13:23
| * wwicks | joined |
00:13:28
| * siruf | quit (Remote host closed the connection) |
00:13:34
| * mary5030 | quit (Remote host closed the connection) |
00:13:45
| * siruf | joined |
00:14:36
| * dejanr | joined |
00:15:08
| * micheil | quit (Quit: micheil) |
00:15:10
| * tar_ | quit (Ping timeout: 246 seconds) |
00:15:29
| * KeyboardNotFound | quit (Ping timeout: 240 seconds) |
00:15:35
| * micheil | joined |
00:16:20
| * dejanr | quit (Client Quit) |
00:16:29
| * koriscus | joined |
00:16:37
| * dejanr | joined |
00:16:44
| * Nefarious_` | quit (Read error: Connection reset by peer) |
00:17:24
| * dejanr | quit (Client Quit) |
00:17:59
| * luisbug | quit (Ping timeout: 246 seconds) |
00:18:11
| * Andrew_S | quit (Quit: Lost terminal) |
00:18:16
| * dejanr | joined |
00:18:20
| * chelly | joined |
00:18:36
| * aslant | joined |
00:18:37
| * ragingwind | quit (Read error: Connection reset by peer) |
00:18:59
| * intellix | joined |
00:18:59
| * victor2812 | quit (Read error: Connection reset by peer) |
00:19:19
| * ncthom91 | joined |
00:19:23
| * victor2812 | joined |
00:19:41
| * AciD`` | quit (Ping timeout: 252 seconds) |
00:19:48
| <andrewrk> | thanks taternuts |
00:20:11
| <taternuts> | yep, np |
00:20:46
| * yho | quit (Quit: Computer has gone to sleep.) |
00:21:02
| * jessie | quit (Quit: jessie) |
00:21:08
| * dejanr_ | joined |
00:21:12
| * ghento | quit (Read error: Connection reset by peer) |
00:21:25
| * daviddias | quit (Remote host closed the connection) |
00:21:37
| * pringlescan1 | joined |
00:21:43
| <pringlescan1> | http://stackoverflow.com/questions/22366675/is-there-a-javascript-documentation-generator-that-supports-parameter-shifting-a |
00:21:44
| * Efrem | quit (Quit: Efrem) |
00:22:18
| * EvanCarroll | quit (Ping timeout: 252 seconds) |
00:22:49
| * robo | quit (Quit: This computer has gone to sleep) |
00:23:47
| * MikeS | joined |
00:23:55
| * dejanr | quit (Quit: leaving) |
00:24:02
| * dejanr_ | quit (Client Quit) |
00:24:18
| * dejanr | joined |
00:24:28
| * i_m_ca | joined |
00:24:41
| * jtw | quit |
00:25:13
| * jessie | joined |
00:25:37
| * snathan | joined |
00:26:34
| <myndzi> | i have to search an image with express, but i want it to be cached normally |
00:26:35
| * dshaw_ | quit (Read error: Connection reset by peer) |
00:26:49
| * medoix | joined |
00:26:51
| <isaacbw> | you have to "search an image"? |
00:26:52
| <myndzi> | do i need to do that manually, or is there a way i can do it that will let express handle the details? |
00:26:56
| * dshaw_ | joined |
00:26:56
| <myndzi> | serve |
00:26:57
| <myndzi> | haha, sorry |
00:26:58
| <isaacbw> | oh |
00:27:00
| <isaacbw> | lol |
00:27:11
| <wallerdev> | maybe use opencv for your image searching |
00:27:13
| * assia_t | quit (Ping timeout: 240 seconds) |
00:27:24
| <myndzi> | i have an id i can use for an Etag |
00:27:27
| <Monkeytoe> | Hello, I have coded up a little function that allows me to connect to a remote api. It works fine as far as connecting and sending api commands and receiving them. The only problem is if the remote api server shuts down the node.js server will throw an error. How do I code an event handler for that situation? Here is my little function. http://pastebin.com/d5bXGJzM |
00:27:53
| <myndzi> | if i set the e-tag and it's the same as the client request will express return a 304? |
00:28:27
| * willwhite | joined |
00:28:35
| * neverendingo | quit (Ping timeout: 265 seconds) |
00:28:35
| * euphoria | quit (Ping timeout: 265 seconds) |
00:28:35
| * rtucker88 | quit (Ping timeout: 265 seconds) |
00:28:35
| * FooBarWidget | quit (Ping timeout: 265 seconds) |
00:28:38
| * lw | quit (Quit: s) |
00:28:42
| * dejanr | quit (Client Quit) |
00:28:49
| * rkgarcia | quit (Quit: ahila) |
00:28:49
| * Zolrath | quit |
00:28:58
| * dejanr | joined |
00:28:59
| * ncthom91 | quit (Ping timeout: 240 seconds) |
00:29:01
| * kaspertidemann | quit |
00:29:04
| * TheLink | quit (Ping timeout: 265 seconds) |
00:29:32
| * Blkt_ | joined |
00:29:33
| * simonbusborg | quit (Ping timeout: 265 seconds) |
00:29:33
| * deadalus | quit (Ping timeout: 265 seconds) |
00:29:44
| * Johz | quit (Remote host closed the connection) |
00:29:53
| * dejanr | quit (Client Quit) |
00:29:59
| * trusktr | quit (Ping timeout: 240 seconds) |
00:30:01
| * snathan | quit (Ping timeout: 240 seconds) |
00:30:02
| * kkzu | quit (Ping timeout: 265 seconds) |
00:30:02
| * zapu | quit (Ping timeout: 265 seconds) |
00:30:02
| * asherkin | quit (Ping timeout: 265 seconds) |
00:30:07
| * dejanr | joined |
00:30:28
| * David | joined |
00:30:31
| * cjwelborn | quit (Ping timeout: 265 seconds) |
00:30:31
| * fn00dle | quit (Ping timeout: 265 seconds) |
00:30:31
| * sayakb | quit (Ping timeout: 265 seconds) |
00:30:31
| * AAA_awright | quit (Ping timeout: 265 seconds) |
00:30:31
| * Blkt | quit (Ping timeout: 265 seconds) |
00:30:31
| * joshskidmore | quit (Ping timeout: 265 seconds) |
00:30:49
| * FooBarWidget | joined |
00:30:57
| * sbusborg | joined |
00:31:00
| * ManneW | quit (Ping timeout: 265 seconds) |
00:31:07
| * dguttman | quit (Quit: dguttman) |
00:31:10
| * cjwelborn | joined |
00:31:11
| * eaj | joined |
00:31:17
| * asherkin | joined |
00:31:19
| * deadalus | joined |
00:31:27
| * rc0mbs | joined |
00:31:27
| * stonebranch | joined |
00:31:29
| * rcombs | quit (Ping timeout: 265 seconds) |
00:31:29
| * BlueMir | quit (Ping timeout: 265 seconds) |
00:31:29
| * bove | quit (Ping timeout: 265 seconds) |
00:31:29
| * Maqs | quit (Ping timeout: 265 seconds) |
00:31:29
| * wagtag | quit (Ping timeout: 265 seconds) |
00:31:29
| * lukevers | quit (Ping timeout: 265 seconds) |
00:31:29
| * Guest22301 | quit (Ping timeout: 265 seconds) |
00:31:29
| * Aa4on | quit (Ping timeout: 265 seconds) |
00:31:36
| * Maqs | joined |
00:31:49
| * bove | joined |
00:31:49
| * TheLink | joined |
00:31:58
| * disnet__ | quit (Ping timeout: 265 seconds) |
00:31:58
| * Kesarr | quit (Ping timeout: 265 seconds) |
00:31:58
| * tuhoojabotti | quit (Ping timeout: 265 seconds) |
00:31:58
| * wao-ender | quit (Ping timeout: 265 seconds) |
00:31:58
| * cfq__ | quit (Ping timeout: 265 seconds) |
00:31:58
| * colstrom | quit (Ping timeout: 265 seconds) |
00:32:00
| * rc0mbs | changed nick to rcombs |
00:32:02
| * Aa4on | joined |
00:32:06
| * BlueMir | joined |
00:32:17
| * disnet__ | joined |
00:32:27
| * relipse | quit (Ping timeout: 265 seconds) |
00:32:27
| * artgoeshere | quit (Ping timeout: 265 seconds) |
00:32:27
| * merpnderp | quit (Ping timeout: 265 seconds) |
00:32:27
| * okuryu | quit (Ping timeout: 265 seconds) |
00:32:27
| * raphie____ | quit (Ping timeout: 265 seconds) |
00:32:42
| * euphoria | joined |
00:32:55
| * wwicks | quit (Quit: wwicks) |
00:32:55
| * artgoeshere | joined |
00:32:56
| * PhilK | quit (Ping timeout: 265 seconds) |
00:32:56
| * nullrouted | quit (Ping timeout: 265 seconds) |
00:32:56
| * hikumealan | quit (Ping timeout: 265 seconds) |
00:33:17
| * wwicks | joined |
00:33:25
| * tuhoojabotti | joined |
00:33:30
| * hikumealan | joined |
00:33:53
| * paulfryzel | joined |
00:33:54
| * creationix | quit (Ping timeout: 265 seconds) |
00:33:56
| * ManneW | joined |
00:34:00
| * creationix_ | joined |
00:34:01
| * wagtag | joined |
00:34:01
| * AAA_awright | joined |
00:34:03
| * kketch | joined |
00:34:08
| * nullrouted_ | joined |
00:34:09
| * lukevers | joined |
00:34:12
| * zapu | joined |
00:34:14
| * Kesarr | joined |
00:34:23
| * Havvy | quit (Ping timeout: 265 seconds) |
00:34:24
| * wao-ender | joined |
00:34:24
| * creationix_ | changed nick to creationix |
00:34:25
| * zz_karupanerura | changed nick to karupanerura |
00:34:27
| * raphie____ | joined |
00:34:58
| * colstrom | joined |
00:34:58
| * okuryu | joined |
00:35:19
| * alathon | quit (Quit: WeeChat 0.4.3) |
00:35:21
| * tmfsd | quit (Ping timeout: 265 seconds) |
00:35:21
| * Imdsm | quit (Ping timeout: 265 seconds) |
00:35:29
| * eaj | quit (Ping timeout: 240 seconds) |
00:35:39
| * paulfryz_ | joined |
00:35:41
| * neverendingo | joined |
00:35:42
| * cfq___ | joined |
00:35:43
| * PhilK | joined |
00:35:44
| * merpnderp | joined |
00:35:49
| * stonebranch | quit (Ping timeout: 246 seconds) |
00:35:50
| * Havvy | joined |
00:35:50
| * jonasac` | quit (Ping timeout: 265 seconds) |
00:35:51
| * reid | joined |
00:35:51
| * kkzu | joined |
00:35:53
| * joshskidmore | joined |
00:35:54
| * dejanr | quit (Quit: leaving) |
00:35:55
| * SocalNick | quit (Ping timeout: 264 seconds) |
00:36:02
| * fn00dle | joined |
00:36:10
| * rtucker88 | joined |
00:36:12
| * dejanr | joined |
00:36:15
| * reid | changed nick to Guest2552 |
00:36:19
| * justicefries | quit (Ping timeout: 265 seconds) |
00:36:37
| * xSmurf | joined |
00:36:42
| * justicefries | joined |
00:36:43
| * sayakb | joined |
00:36:48
| * nickleefly | quit (Ping timeout: 265 seconds) |
00:37:02
| * tmfsd | joined |
00:37:08
| * dejanr | quit (Client Quit) |
00:37:37
| * tom94 | quit (Quit: Konversation terminated!) |
00:37:46
| * webpro | quit (Ping timeout: 265 seconds) |
00:37:46
| * sorensen | quit (Ping timeout: 265 seconds) |
00:37:51
| * dejanr | joined |
00:37:59
| * paulfryzel | quit (Ping timeout: 240 seconds) |
00:38:02
| * nickleefly | joined |
00:38:09
| * siqi | joined |
00:38:14
| * kenansulayman | changed nick to kenan|afk |
00:38:15
| * lijnen__ | quit (Ping timeout: 265 seconds) |
00:38:44
| * culturelabs | quit (Ping timeout: 265 seconds) |
00:38:44
| * tfnico | quit (Ping timeout: 265 seconds) |
00:38:44
| * ankurk_ | quit (Ping timeout: 265 seconds) |
00:38:49
| * dejanr | quit (Client Quit) |
00:39:09
| * culturelabs_ | joined |
00:39:11
| * ankurk_ | joined |
00:39:21
| * jonasac | joined |
00:39:26
| * sorensen | joined |
00:39:42
| * webpro_ | joined |
00:39:48
| * dejanr | joined |
00:39:50
| * relipse | joined |
00:39:53
| * tfnico | joined |
00:39:56
| * Imdsm | joined |
00:39:59
| * paulfryz_ | quit (Ping timeout: 240 seconds) |
00:40:05
| * lijnen__ | joined |
00:40:31
| * dejanr | quit (Client Quit) |
00:40:35
| * maletor | quit (Quit: Computer has gone to sleep.) |
00:40:50
| * mdel | joined |
00:40:53
| * tar_ | joined |
00:41:01
| <Shayanjm> | anyone here from the PHP world? |
00:41:10
| <Shayanjm> | might have an opportunity to make some extra $$ |
00:41:11
| * dejanr | joined |
00:41:12
| <mdel> | unfortunatley :) |
00:41:16
| * dejanr | quit (Client Quit) |
00:41:16
| * micheil | quit (Read error: Connection reset by peer) |
00:41:19
| * pers3us | quit (Ping timeout: 264 seconds) |
00:41:33
| * dejanr | joined |
00:41:35
| <Shayanjm> | mdel: PM? :) |
00:41:43
| <mdel> | php 9-5, nodejs and ruby every other hour of the day |
00:41:49
| <mdel> | yeah sure |
00:42:20
| * cakirke | joined |
00:42:25
| * siqi | quit (Ping timeout: 240 seconds) |
00:42:30
| * NotMyself | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
00:42:43
| * alltom | joined |
00:42:46
| * dejanr | quit (Client Quit) |
00:43:00
| * [blakehall] | changed nick to blakehall |
00:43:44
| * NotMyself | joined |
00:43:57
| * aboudreault | quit (Ping timeout: 264 seconds) |
00:44:03
| * lw | joined |
00:44:10
| * basicdays | joined |
00:44:11
| * dmarr | joined |
00:44:19
| * navaru | quit (Remote host closed the connection) |
00:44:55
| * benvie | quit (Ping timeout: 264 seconds) |
00:45:03
| <dmarr> | is there any way to pass arguments to an npm script? say i have "test": "mocha". i'd like to do npm test -g 'some test' |
00:45:31
| * tar_ | quit (Ping timeout: 264 seconds) |
00:45:32
| <Monkeytoe> | is there anything wrong with this ? sys.debug('unable to connect to ', ip); |
00:45:42
| <isaacbw> | what's sys |
00:46:15
| * Richhh | joined |
00:46:26
| <Monkeytoe> | actually there is no sys... this is my function client.on('error', function(res){ |
00:46:26
| <Monkeytoe> | sys.debug('unable to connect to ' + ip); |
00:46:27
| <Monkeytoe> | }); |
00:46:30
| <Richhh> | shortcut key to cancel a line in the REPL? |
00:46:36
| <Monkeytoe> | should I change that to client.debug? |
00:46:45
| <Monkeytoe> | client is var client = new net.Socket(); |
00:46:47
| <isaacbw> | what would that do |
00:46:49
| * bogdan__ | quit (Quit: Leaving) |
00:47:01
| * alltom | quit (Ping timeout: 246 seconds) |
00:47:14
| * Swizec | quit (Quit: Computer has gone to sleep.) |
00:47:20
| * D4RK-PH0ENiX | quit (Remote host closed the connection) |
00:47:28
| * mjijackson | joined |
00:47:32
| * dejanr | joined |
00:47:55
| * tvw | quit (Ping timeout: 264 seconds) |
00:47:58
| * dejanr | quit (Client Quit) |
00:48:04
| <Monkeytoe> | im trying to get it to handle the error event when a connection times out... this is the little function I have http://pastebin.com/CjGKhCLP |
00:48:21
| <isaacbw> | but why are you trying to call debug on things |
00:48:24
| * ConstantineXVI | quit (Ping timeout: 265 seconds) |
00:48:24
| * Vbitz | quit (Ping timeout: 265 seconds) |
00:48:24
| * samg | quit (Ping timeout: 265 seconds) |
00:48:24
| * thanpolas | quit (Ping timeout: 265 seconds) |
00:48:42
| <Monkeytoe> | I was hoping it would print a debug command to the cli |
00:48:43
| * kraft | quit (Ping timeout: 252 seconds) |
00:48:53
| * jgornick | quit (Ping timeout: 265 seconds) |
00:49:03
| <Monkeytoe> | like when you connect with a socket how it say stuff like |
00:49:06
| <Monkeytoe> | debug - websocket writing 2:: |
00:49:06
| <Monkeytoe> | debug - set heartbeat timeout for client HkeM807Xq0_KNWaM2CXN |
00:49:06
| <Monkeytoe> | debug - got heartbeat packet |
00:49:06
| <Monkeytoe> | debug - cleared heartbeat timeout for client HkeM807Xq0_KNWaM2CXN |
00:49:21
| <Monkeytoe> | I was wanting to add my own debug line |
00:49:22
| * chiburbs | quit (Ping timeout: 265 seconds) |
00:49:37
| * spolu | quit (Ping timeout: 240 seconds) |
00:49:42
| <isaacbw> | check the API for functions instead of just calling things and hoping it does something |
00:49:48
| * mikeal | quit (Quit: Leaving.) |
00:49:51
| * patrio__ | quit (Ping timeout: 265 seconds) |
00:49:51
| * mathiasbynens | quit (Ping timeout: 265 seconds) |
00:49:51
| * jabbslad | quit (Ping timeout: 265 seconds) |
00:49:51
| * gozala | quit (Ping timeout: 265 seconds) |
00:49:51
| * Okaria | quit (Ping timeout: 265 seconds) |
00:49:51
| * klobucar | quit (Ping timeout: 265 seconds) |
00:49:51
| * supershabam | quit (Ping timeout: 265 seconds) |
00:49:51
| * whaley | quit (Ping timeout: 265 seconds) |
00:49:54
| * jwulf | joined |
00:49:58
| * NoirSoldats | joined |
00:49:59
| <isaacbw> | http://nodejs.org/api/net.html#net_class_net_socket |
00:50:09
| * dymonaz__ | quit (Read error: Connection reset by peer) |
00:50:18
| * patrio__ | joined |
00:50:20
| * swaagie | quit (Ping timeout: 265 seconds) |
00:50:28
| * dymonaz__ | joined |
00:50:28
| * gozala | joined |
00:50:37
| * shapeshed___ | joined |
00:50:43
| * samg | joined |
00:50:49
| * shapeshed__ | quit (Ping timeout: 265 seconds) |
00:50:49
| * shapeshed___ | changed nick to shapeshed__ |
00:50:50
| * swaagie_ | joined |
00:50:51
| * parshap_ | joined |
00:50:51
| * jabbslad_ | joined |
00:50:52
| * ebetancourt | quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
00:50:55
| * qard | quit (Remote host closed the connection) |
00:50:57
| * mathiasbynens | joined |
00:51:01
| * pers3us | joined |
00:51:36
| * wxo | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
00:51:37
| * Okaria | joined |
00:51:47
| * parshap | quit (Ping timeout: 265 seconds) |
00:51:47
| * chapel | quit (Ping timeout: 265 seconds) |
00:51:48
| * parshap_ | changed nick to parshap |
00:52:16
| * NoirSoldats_ | quit (Ping timeout: 265 seconds) |
00:52:16
| * gnarf | quit (Ping timeout: 265 seconds) |
00:52:23
| * Brocken | changed nick to zz_Brocken |
00:52:48
| * aboudreault | joined |
00:52:51
| * yorick | quit (Remote host closed the connection) |
00:53:18
| * scttnlsn | quit (Ping timeout: 240 seconds) |
00:53:19
| * i_m_ca | quit (Ping timeout: 264 seconds) |
00:53:30
| * boomy | joined |
00:53:38
| * jtw | joined |
00:53:45
| * jgornick | joined |
00:54:31
| * chapel | joined |
00:54:36
| * morhaus | joined |
00:54:41
| * whaley | joined |
00:54:59
| * Vbitz | joined |
00:55:01
| * gnarf | joined |
00:55:04
| * klobucar | joined |
00:55:05
| * koriscus | quit (Ping timeout: 246 seconds) |
00:55:08
| * ConstantineXVI | joined |
00:55:12
| * supershabam | joined |
00:55:16
| * thanpolas_ | joined |
00:55:29
| * daviddias | joined |
00:55:34
| * Athicas | changed nick to Lithica |
00:55:50
| * tomh- | quit (Quit: Connection closed for inactivity) |
00:56:53
| * toddbranch | joined |
00:57:37
| * dshaw_ | quit (Quit: Leaving.) |
00:57:51
| <spronk> | what's the convention in terms of local-only modules? where do i put them and how should i require them in? is there a default place outside node_modules for this sorta stuff to go? |
00:58:12
| * jareddlc | quit (Quit: Leaving...) |
00:59:13
| * Dimik | joined |
00:59:38
| * scttnlsn | joined |
00:59:43
| * sk | joined |
01:00:10
| * nvcexploder | joined |
01:00:25
| * cpup | quit (Ping timeout: 240 seconds) |
01:01:25
| <myndzi> | all modules used in a project are local |
01:01:32
| * kraft | joined |
01:01:42
| <myndzi> | the "global" installation is solely for the purposes of installing npm packages to your system as binaries |
01:01:43
| * offline1 | quit (Ping timeout: 264 seconds) |
01:01:44
| * jmar777 | joined |
01:01:48
| <myndzi> | that is, when they provide commands like express or grunt do |
01:01:52
| * mikeal | joined |
01:02:28
| <\malex\> | pwd |
01:02:30
| <spronk> | sorry, bad terminology |
01:02:30
| <\malex\> | oops |
01:02:39
| <spronk> | i've written my own file that exports an object |
01:02:45
| <DSKrepps> | spronk: https://gist.github.com/branneman/8048520 |
01:02:45
| <spronk> | it's not an npm module or package |
01:02:50
| <myndzi> | ah |
01:02:55
| <myndzi> | most people seem to use a 'lib' directory |
01:02:59
| * garthk | quit (Ping timeout: 240 seconds) |
01:03:05
| <spronk> | ah yep |
01:03:07
| <myndzi> | you can require it explicitly by path |
01:03:20
| <myndzi> | from the project base, require('./lib/mything') |
01:03:27
| <spronk> | i've got a file templateRenderer.js in my /lib folder |
01:03:34
| <myndzi> | or from the lib dir, you still need to include the path: require('./mything') |
01:03:49
| * jakehow | joined |
01:03:53
| <spronk> | getting a cannot find module error when i'm running via mocha my unit test in /test/unit/templateRendererTest.js that's require('/lib/templateRenderer') |
01:04:14
| * benvie | joined |
01:04:18
| <myndzi> | /lib is an absolute path |
01:04:31
| <spronk> | absolute as in not from project base? |
01:04:40
| <myndzi> | more likely you want require('../../lib/templateRenderer') |
01:04:41
| <myndzi> | correct |
01:04:44
| <spronk> | ah ok |
01:05:01
| * intellix | quit (Quit: intellix) |
01:05:03
| <spronk> | aha |
01:05:08
| * allaire | quit |
01:06:02
| * tylersmith | joined |
01:06:04
| * zagaza | quit |
01:06:12
| * TjRus | joined |
01:06:15
| * tilgovi | quit (Remote host closed the connection) |
01:06:16
| * btav | joined |
01:06:18
| * Davey | changed nick to Eomar |
01:06:45
| * siruf | quit (Remote host closed the connection) |
01:06:52
| * euforic_ | joined |
01:06:58
| * Billowper | quit (Ping timeout: 246 seconds) |
01:07:00
| * D4RK-PH0ENiX | joined |
01:07:01
| * siruf | joined |
01:07:15
| * tkuchiki | joined |
01:07:24
| <spronk> | is there syntax for project base dir? |
01:07:31
| * mikehaas_ | joined |
01:07:52
| * Fishrock123 | changed nick to Fishrock123|food |
01:08:09
| * JokerYu | joined |
01:08:31
| * pringlescan1 | quit (Quit: Leaving.) |
01:08:33
| * euforic | quit (Ping timeout: 264 seconds) |
01:08:58
| <DSKrepps> | There is no "project root" in node really. The link I sent gives an overview of ways people are accessing their local project modules. |
01:09:17
| * pringlescan1 | joined |
01:09:21
| <spronk> | yeh, had a read.. they all seema bit ugly |
01:09:26
| <spronk> | oh well |
01:09:29
| <spronk> | guess i'll pick one |
01:09:31
| * MikeS | quit (Ping timeout: 264 seconds) |
01:09:31
| * mikehaas763 | quit (Ping timeout: 264 seconds) |
01:10:25
| * TjRus | quit (Ping timeout: 240 seconds) |
01:10:39
| <DSKrepps> | I thought this looked pretty clean, so I built it, not really sure if its a good idea yet though: https://github.com/DSKrepps/requireFrom |
01:10:53
| * kirfu1 | joined |
01:11:42
| * rtalwar | joined |
01:11:42
| * nvcexploder | quit (Quit: nvcexploder) |
01:11:43
| * rtalwar | quit (Read error: Connection reset by peer) |
01:12:08
| * rtalwar | joined |
01:12:26
| <\malex\> | DSKrepps: that looks cool |
01:12:49
| <spronk> | oo |
01:12:52
| <spronk> | thyis does look nice |
01:13:03
| * jas- | quit (Ping timeout: 265 seconds) |
01:13:07
| * sthaha | joined |
01:13:36
| <\malex\> | DSKrepps: it would be cool if it coudl also parse a section from package.json, so you could do rf = require("requirefrom"); var myView = rf.views("myView.js") |
01:13:41
| * willwhite | quit (Remote host closed the connection) |
01:14:01
| * ddod | quit (Quit: Leaving.) |
01:14:25
| * Dimik | quit (Ping timeout: 240 seconds) |
01:14:51
| * blakehall | changed nick to [blakehall] |
01:14:56
| * mikehaas763 | joined |
01:15:12
| <DSKrepps> | Hmm. |
01:15:18
| * TjRus | joined |
01:15:20
| * joshontheweb | joined |
01:15:51
| <\malex\> | DSKrepps: you're saying send a merge request? heh |
01:16:20
| * duch_kazatel | quit |
01:16:49
| * mikehaas_ | quit (Ping timeout: 240 seconds) |
01:17:15
| * siruf | quit (Remote host closed the connection) |
01:17:20
| * mrvisser | quit (Remote host closed the connection) |
01:17:33
| * siruf | joined |
01:18:08
| * bacilla | quit (Read error: Operation timed out) |
01:18:13
| * qw3rtman | joined |
01:18:52
| * nikhil_ | joined |
01:19:03
| * rossk | quit |
01:19:07
| * renlo | joined |
01:19:08
| * boogie | quit (Remote host closed the connection) |
01:19:16
| * nikhil_ | changed nick to Guest78186 |
01:19:34
| * TjRus | quit (Ping timeout: 246 seconds) |
01:19:56
| * wallerdev | quit (Quit: wallerdev) |
01:20:00
| * ed209 | quit (Remote host closed the connection) |
01:20:01
| * noobee | joined |
01:20:09
| * ed209 | joined |
01:20:11
| <DSKrepps> | Researching. |
01:20:22
| <isaacbw> | INITIATIN RESEARCH SUBROUTINE BEEP BOOP |
01:20:33
| * genial | quit (Ping timeout: 264 seconds) |
01:20:50
| * Guest78186 | quit (Client Quit) |
01:21:46
| <DSKrepps> | https://groups.google.com/forum/#!topic/npm-/hAoPAPz4J1k |
01:22:00
| <DSKrepps> | It looks like this used to be a feature of NPM years ago. |
01:22:01
| * Lithica | quit (Ping timeout: 240 seconds) |
01:22:07
| * jtw | quit |
01:22:13
| * rafaelrinaldi | joined |
01:22:18
| <DSKrepps> | npm* |
01:22:31
| * cubed_root | quit (Quit: Konversation terminated!) |
01:23:06
| <isaacbw> | chicken noodle soup in my tummy yummy yummy |
01:23:21
| <\malex\> | DSKrepps: i don't think that's strictly the same |
01:23:39
| <\malex\> | DSKrepps: it looks like that's prepending a static path to everything? |
01:24:07
| <\malex\> | or you have to specify the path for every module |
01:25:31
| * wwicks | quit (Quit: wwicks) |
01:25:34
| * __rockbot__ | quit (Remote host closed the connection) |
01:25:43
| * stonebranch | joined |
01:25:50
| * ryanguill_ | joined |
01:25:55
| * bacilla | joined |
01:25:58
| * dataid | quit (Read error: Connection reset by peer) |
01:26:07
| * __rockbot__ | joined |
01:26:10
| * bollullera | part |
01:26:22
| * jalleyne | quit (Remote host closed the connection) |
01:26:27
| * genial | joined |
01:26:30
| * kex | joined |
01:26:37
| * dataid | joined |
01:26:40
| * seldo | quit (Remote host closed the connection) |
01:26:56
| * jalleyne | joined |
01:27:13
| * kirfu1 | quit (Ping timeout: 240 seconds) |
01:27:13
| * bradleymeck | quit (Quit: bradleymeck) |
01:27:51
| * kketch | quit (Quit: kketch) |
01:27:56
| * paper_ziggurat | quit |
01:27:57
| * jalleyne_ | joined |
01:27:59
| * RyanGuill | quit (Ping timeout: 240 seconds) |
01:28:03
| * jalleyne | quit (Read error: Connection reset by peer) |
01:28:29
| * Monkeytoe | quit (Ping timeout: 240 seconds) |
01:28:43
| * joliss | joined |
01:29:18
| * rafaelrinaldi | quit (Quit: Leaving...) |
01:29:32
| * rafaelrinaldi | joined |
01:29:57
| <DSKrepps> | Why don't I just fork it into another repo and publish it as requireFromPkg or something? |
01:29:58
| * jeswin | joined |
01:30:25
| * __rockbot__ | quit (Ping timeout: 246 seconds) |
01:30:31
| * stonebranch | quit (Ping timeout: 264 seconds) |
01:31:07
| * kex | quit (Ping timeout: 264 seconds) |
01:31:26
| * badem4o | joined |
01:31:48
| <\malex\> | why bother? |
01:31:56
| <DSKrepps> | Why not? |
01:31:58
| <\malex\> | why not just add the few lines to this? |
01:32:01
| * eaj | joined |
01:32:36
| * Tug | quit (Quit: Leaving) |
01:32:39
| * codylindley | quit (Quit: Computer has gone to sleep.) |
01:32:47
| * toastynerd | joined |
01:33:07
| <\malex\> | so you could still do var rf = require("requirefrom"); var views = rf("lib/views"); myView = views("myView"); var myCtrl = rf.ctrls("myCtrl.js"); |
01:33:12
| * Psi|4ward | joined |
01:33:53
| <\malex\> | provided package.json has {"requireFrom": { "ctrls" : "lib/ctrls" } } |
01:34:24
| * Nefarious_` | joined |
01:34:39
| * pickels | quit (Read error: Connection reset by peer) |
01:34:57
| * kenkeiter | joined |
01:35:04
| * cpup | joined |
01:35:11
| * aah | quit (Quit: so very tired..) |
01:35:27
| * cronopio | quit (Quit: leaving) |
01:36:08
| <\malex\> | DSKrepps: also yoru test doesn't seem to work out of the box |
01:36:21
| <\malex\> | but i really like requireFrom |
01:36:23
| * paulfryzel | joined |
01:36:25
| * xk_id | quit (Quit: 🚣) |
01:36:29
| * eaj | quit (Ping timeout: 240 seconds) |
01:36:41
| * psi__ | quit (Ping timeout: 252 seconds) |
01:36:48
| * xk_id | joined |
01:37:33
| * abraxas | joined |
01:37:46
| * benvie | quit (Ping timeout: 246 seconds) |
01:38:21
| * kirfu1 | joined |
01:38:56
| * siqi | joined |
01:39:13
| * metasansana | quit (Ping timeout: 240 seconds) |
01:39:39
| * zizzl | joined |
01:39:53
| * aminRX | joined |
01:40:01
| * ninsei | joined |
01:40:29
| * paulfryzel | quit (Ping timeout: 240 seconds) |
01:40:36
| <DSKrepps> | Right, it doesn't work. Weird. |
01:41:02
| * standoo | joined |
01:41:38
| * tar_ | joined |
01:41:55
| * plutoniix | quit (Ping timeout: 264 seconds) |
01:42:24
| <\malex\> | DSKrepps: ah. need to mkdir test/node_modules/requirefrom, and lowercase requireFrom on line 6 of test.js |
01:42:27
| * joshontheweb | quit (Quit: Computer has gone to sleep.) |
01:42:29
| * munichlinux | quit (Remote host closed the connection) |
01:42:31
| * abraxas | quit (Ping timeout: 264 seconds) |
01:42:39
| * standoo | quit (Client Quit) |
01:42:48
| * joshontheweb | joined |
01:42:49
| * ninsei_ | quit (Ping timeout: 240 seconds) |
01:42:54
| * tar_ | quit (Read error: Connection reset by peer) |
01:42:57
| * abraxas | joined |
01:43:27
| * tar_ | joined |
01:43:39
| <\malex\> | DSKrepps: i should clone it and send you a pull request. this seems like a good project to start githubbing on heh |
01:43:43
| * siqi | quit (Ping timeout: 264 seconds) |
01:43:48
| * metasansana | joined |
01:44:03
| <DSKrepps> | Go ahead if you want. Thanks. |
01:44:19
| * zizzl | quit (Ping timeout: 264 seconds) |
01:44:40
| * a_suenami | joined |
01:45:11
| * daviddias | quit (Remote host closed the connection) |
01:46:05
| <DSKrepps> | Hmm. It looks like I left the missing directories in test/ in my original project folder but it didn't get uploaded to github. Like test/node_modules/ was ignored. |
01:46:16
| * mcgarrettwich | joined |
01:46:19
| * mcgarrettwich | quit (Max SendQ exceeded) |
01:46:43
| * mcgarrettwich | joined |
01:46:55
| * mattsurabian | joined |
01:47:30
| * liwen | joined |
01:48:24
| * santiagoR | joined |
01:48:30
| * roman01la | joined |
01:49:03
| * kex | joined |
01:49:29
| <mmalecki> | huh. I have a buffer with length N, full of binary data |
01:49:35
| <DSKrepps> | Git ignores empty directories, apparently. |
01:49:47
| <mmalecki> | when I fs.writeFile it, length of the buffer and file differs |
01:49:49
| <mdel> | DSKrepps: the convention is to use a .gitkeep file in the empty dir |
01:49:59
| <DSKrepps> | Thanks. |
01:50:38
| * mcgarrettwich | quit (Client Quit) |
01:51:01
| * Fishrock123|food | changed nick to Fishrock123 |
01:51:22
| * pers3us | quit (Quit: Computer has gone to sleep.) |
01:51:32
| <DSKrepps> | \malex\ if you're making a pr to fix the test just add the file test/node_modules/requirefrom/.gitkeep |
01:51:40
| * Sorella | joined |
01:51:40
| * Sorella | quit (Changing host) |
01:51:40
| * Sorella | joined |
01:51:52
| * MicronXD | joined |
01:51:53
| * pers3us | joined |
01:52:07
| <mmalecki> | ah, haha, that object was an array |
01:52:48
| * spencercarnage | quit (Quit: spencercarnage) |
01:52:51
| * dokkles | quit (Quit: Computer has gone to sleep.) |
01:53:04
| * joshontheweb | quit (Quit: Computer has gone to sleep.) |
01:53:06
| <\malex\> | DSKrepps: ok |
01:53:08
| * mary5030 | joined |
01:53:31
| * kex | quit (Ping timeout: 246 seconds) |
01:53:53
| * jabberwo_ | joined |
01:54:01
| * ch4rl35 | joined |
01:54:02
| * Tr_Heath20 | joined |
01:54:41
| <\malex\> | DSKrepps: i'm learning git/github ways, so i'm a bit slow :) |
01:55:37
| * boomy | quit (Ping timeout: 240 seconds) |
01:55:37
| * Nefarious_` | quit (Read error: Connection reset by peer) |
01:55:50
| * ArmchairDeity | quit (Quit: ArmchairDeity) |
01:56:00
| * nukulb | quit (Quit: nukulb) |
01:56:46
| * Tr_Heath20 | quit (Remote host closed the connection) |
01:56:55
| * jabberwocky | quit (Ping timeout: 264 seconds) |
01:57:03
| * roman01la | quit (Quit: Colloquy for iPhone - http://colloquy.mobi) |
01:57:22
| * rtalwar | quit (Quit: Leaving.) |
01:57:30
| * i_m_ca | joined |
01:57:33
| * sethington | joined |
01:57:42
| * asterick | quit (Quit: Leaving...) |
01:57:44
| * plutoniix | joined |
02:00:14
| * loginyourheart | joined |
02:00:32
| * JokerYu | quit (Ping timeout: 246 seconds) |
02:00:59
| * ch4rl35 | quit (Ping timeout: 240 seconds) |
02:02:59
| * garthk | joined |
02:03:03
| * JokerYu | joined |
02:04:09
| <\malex\> | DSKrepps: incoming. hopefully i did that right |
02:04:25
| * liwen | quit (Ping timeout: 240 seconds) |
02:05:16
| * iliketurtles | quit (Quit: zzzzz…..) |
02:05:19
| * qw3rtman | quit (Ping timeout: 264 seconds) |
02:05:28
| * mdulghier | joined |
02:05:57
| * lyanchih | joined |
02:05:58
| * ckknight | joined |
02:06:28
| * mary5030 | quit (Remote host closed the connection) |
02:06:29
| * looper_ | quit (Ping timeout: 240 seconds) |
02:07:12
| * seldo | joined |
02:07:20
| * abraxas | quit (Remote host closed the connection) |
02:07:22
| <DSKrepps> | \malex\: Test passed and merged. Thanks |
02:07:31
| * metasansana | quit (Ping timeout: 246 seconds) |
02:07:40
| * rahul_j | joined |
02:08:43
| * looper | joined |
02:09:08
| * propellerhead | quit (Ping timeout: 252 seconds) |
02:09:18
| * boomy | joined |
02:09:48
| * tom-tomaso | joined |
02:10:33
| <\malex\> | DSKrepps: i'm goign to try my hand at writing what i was talking about |
02:11:11
| * Emmanuel` | joined |
02:11:17
| * NodeNagant | joined |
02:11:33
| <DSKrepps> | I actually just did. |
02:11:39
| * mjijackson | quit (Quit: mjijackson) |
02:11:39
| <\malex\> | oh |
02:11:42
| * cakirke | quit (Quit: cakirke) |
02:12:19
| * ljharb | quit (Quit: ljharb) |
02:12:22
| <DSKrepps> | You still can if you want to see how they compare to each other, hehe. |
02:12:25
| * tomtomaso | quit (Ping timeout: 240 seconds) |
02:12:32
| <\malex\> | ha! ok |
02:13:25
| * jamto11 | joined |
02:14:10
| * scrivy | quit (Quit: Leaving) |
02:15:28
| * jtw | joined |
02:15:45
| * benv | quit (Quit: Computer has gone to sleep.) |
02:16:01
| * toastynerd | quit (Ping timeout: 240 seconds) |
02:16:25
| * rtopliffe | quit (Ping timeout: 240 seconds) |
02:16:50
| * noobee | quit (Read error: Connection reset by peer) |
02:16:57
| * christianbking | quit (Quit: This computer has gone to sleep) |
02:17:05
| * willwhite | joined |
02:17:12
| * noobee | joined |
02:17:29
| * Nicoon | quit (Remote host closed the connection) |
02:17:41
| * ddelrio1986 | joined |
02:17:46
| * lw | quit (Quit: s) |
02:17:52
| * TjRus | joined |
02:17:55
| * jamto11 | quit (Ping timeout: 264 seconds) |
02:17:57
| * btav | quit (Remote host closed the connection) |
02:18:30
| * infynyxx | joined |
02:18:33
| * daviddias | joined |
02:18:44
| <DSKrepps> | I like that its shorter and the paths are in one place. But it also isn't clear in each file where you're requiring from, and I don't like reading package.json in general. |
02:19:01
| * benvie | joined |
02:19:31
| * lyanchih | quit (Quit: lyanchih) |
02:19:42
| * jonnybro | joined |
02:19:43
| * Roots47 | quit (Ping timeout: 264 seconds) |
02:19:49
| * [blakehall] | changed nick to blakehall |
02:19:52
| * rafaelrinaldi | quit (Remote host closed the connection) |
02:20:02
| * stonebranch | joined |
02:20:06
| * wavded | joined |
02:20:26
| * rafaelrinaldi | joined |
02:20:49
| * MicronXD | quit (Ping timeout: 240 seconds) |
02:21:22
| * lyanchih | joined |
02:21:23
| * zumba_addict | joined |
02:21:23
| * Fishrock123 | quit (Quit: Leaving...) |
02:21:47
| * rmg | quit (Remote host closed the connection) |
02:21:57
| * MicronXD | joined |
02:22:01
| * TjRus | quit (Ping timeout: 240 seconds) |
02:22:01
| * ghento | joined |
02:22:20
| * zcbenz | joined |
02:22:25
| * sudowork | quit (Ping timeout: 240 seconds) |
02:22:25
| * Emmanuel` | quit (Quit: Konversation terminated!) |
02:23:30
| * AustinG08 | joined |
02:23:58
| * JokerYu | quit (Ping timeout: 246 seconds) |
02:24:09
| * turtlehat | quit |
02:24:25
| * stonebranch | quit (Ping timeout: 240 seconds) |
02:24:29
| * rafaelrinaldi | quit (Ping timeout: 240 seconds) |
02:24:47
| * toastynerd | joined |
02:24:58
| * bpierre | joined |
02:25:23
| * JokerYu | joined |
02:25:36
| * tar_ | quit (Remote host closed the connection) |
02:25:43
| * zchrykng | joined |
02:26:11
| * tar_ | joined |
02:26:17
| * Left_Turn | joined |
02:26:25
| * ckknight | quit (Ping timeout: 240 seconds) |
02:26:31
| <\malex\> | stupid work getting in the way |
02:26:35
| * snathan | joined |
02:26:36
| <\malex\> | DSKrepps: well, take a look at https://github.com/realmalex/requireFrom/commit/e32e9e27fcc04a9b52f61230aa67dc44fbc7e049 |
02:27:02
| * Emmanuel` | joined |
02:27:18
| * tilleps | quit (Quit: tilleps) |
02:27:23
| <\malex\> | hmm |
02:27:52
| * daviddias | quit (Read error: Connection reset by peer) |
02:27:56
| <\malex\> | forgot to include the package.json in test |
02:28:20
| * maletor | joined |
02:28:37
| * snickle | quit (Quit: snickle) |
02:29:13
| * toastynerd | quit (Ping timeout: 240 seconds) |
02:29:27
| <\malex\> | https://github.com/realmalex/requireFrom/compare/DSKrepps:master...master |
02:29:55
| <zumba_addict> | hi folks, is there a REST api for NodeJS? |
02:29:56
| * mary5030 | joined |
02:30:30
| <aredridel> | Um. There are REST services for many APIs written using Node. |
02:30:34
| * aredridel | changed nick to Aria |
02:30:37
| * tar_ | quit (Ping timeout: 246 seconds) |
02:30:41
| * frkout_ | joined |
02:30:46
| <Aria> | I'm not sure what you mean by a 'REST API for nodejs' |
02:31:07
| * snathan | quit (Ping timeout: 264 seconds) |
02:31:45
| * tar_ | joined |
02:31:50
| <therealkoopa> | substack: If you have a process registered with seaport 1.8, should a seaport client on 2.0 be able to access it? |
02:32:09
| * _dizzy_ | joined |
02:32:12
| * anoemi | joined |
02:32:30
| * bpierre | quit (Remote host closed the connection) |
02:32:39
| * ckknight | joined |
02:32:45
| * eaj | joined |
02:32:46
| * yacks | joined |
02:32:50
| * martijnk | joined |
02:33:00
| * TyrfingMjolnir | quit (Quit: TyrfingMjolnir) |
02:33:11
| * TyrfingMjolnir | joined |
02:33:20
| <substack> | therealkoopa: no, the protocol changed |
02:33:46
| * JokerYu | quit (Ping timeout: 246 seconds) |
02:33:50
| <therealkoopa> | substack: thanks |
02:34:02
| * ns5 | joined |
02:34:07
| * martijnk1 | quit (Ping timeout: 264 seconds) |
02:34:08
| * _dizzy | quit (Ping timeout: 246 seconds) |
02:34:21
| * frkout | quit (Ping timeout: 264 seconds) |
02:34:27
| * toastynerd | joined |
02:34:35
| * infynyxx | quit (Remote host closed the connection) |
02:35:25
| <ns5> | I'm running npm update, after update I run "npm ls", I get error: "npm ERR! invalid: [email protected]", before update the static-favicon version was 1.0.0. I have ""static-favicon": ">=1.0.0"," in my package.json. Why the error? |
02:35:40
| * gli | joined |
02:35:41
| * abraxas | joined |
02:35:45
| * buritica | joined |
02:36:01
| * JokerYu | joined |
02:36:06
| * imsky | joined |
02:37:05
| * boltR | joined |
02:37:13
| * paulfryzel | joined |
02:37:34
| <zumba_addict> | thanks Aria |
02:37:43
| * eaj | quit (Ping timeout: 264 seconds) |
02:37:47
| * mjijackson | joined |
02:37:47
| <zumba_addict> | can you please name a few REST api module? |
02:38:07
| * ryanhirsch | joined |
02:38:08
| * maletor | quit (Quit: Computer has gone to sleep.) |
02:38:18
| <zumba_addict> | btw, I wrote this as my first personal goal at work :) "Be familiar and be able to develop in Node.JS" |
02:38:44
| * mjijackson | quit (Client Quit) |
02:38:54
| <Aria> | npm search rest |
02:38:56
| <Aria> | There's plenty. |
02:39:15
| <zumba_addict> | ok, running that |
02:39:20
| <Aria> | What's your actual goal? REST is barely more than "manage state carefully so you can use APIs well in the face of failures". |
02:39:29
| * joshontheweb | joined |
02:39:52
| * siqi | joined |
02:40:11
| * wavded | quit (Quit: Nighty night) |
02:40:18
| * metasansana | joined |
02:40:18
| * metasansana | quit (Changing host) |
02:40:18
| * metasansana | joined |
02:40:36
| * christianbking | joined |
02:40:52
| * ryanguill_ | quit (Quit: Leaving) |
02:40:52
| <zumba_addict> | here is what I'm trying to do. We have a javascript application/backbonejs. We defined the routes(urls provided by JAVA backend team) on our frontend code. I was hoping there was a nicer way of doing this |
02:41:07
| * liwen | joined |
02:41:21
| <zumba_addict> | They build a REST server |
02:41:23
| <zumba_addict> | built |
02:41:28
| * paulfryzel | quit (Ping timeout: 246 seconds) |
02:41:29
| * ckknight | quit (Ping timeout: 240 seconds) |
02:41:55
| * sensen | joined |
02:42:53
| * captain_morgan | quit (Ping timeout: 246 seconds) |
02:42:53
| <zumba_addict> | looks like I got an error running npm search rest - http://pastebin.com/YjTHsV8B |
02:43:07
| * Eomar | changed nick to Davey |
02:43:18
| * joshontheweb | quit (Read error: Connection reset by peer) |
02:43:21
| * Tr_Heath20 | joined |
02:43:28
| <Aria> | Goodness. You've an old node and old npm. |
02:43:31
| <Aria> | try npm upgrade -g npm |
02:43:39
| * joshontheweb | joined |
02:43:41
| <Aria> | (with sudo if you have to) |
02:43:55
| * AustinG08 | quit (Quit: Page closed) |
02:43:59
| * siqi | quit (Ping timeout: 240 seconds) |
02:44:13
| <Aria> | Or search on npmjs.org |
02:44:17
| * Vovko | joined |
02:44:18
| * garthk | quit (Read error: Connection reset by peer) |
02:44:39
| * sk | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
02:44:43
| <\malex\> | ubuntu ships with an even older npm |
02:45:06
| <DSKrepps> | \malex\: Here's what i did, basically the same thing: https://github.com/DSKrepps/requireFrom/blob/read-pkg/index.js |
02:45:26
| * tar_ | quit (Remote host closed the connection) |
02:45:43
| <zumba_addict> | oh, i didn't know my npm is old :D |
02:45:49
| <DSKrepps> | On ubuntu see the extra steps to install here: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#wiki-ubuntu-mint-elementary-os |
02:45:50
| <\malex\> | DSKrepps: yep, except for capitalization heh |
02:45:51
| <zumba_addict> | thanks for catching it |
02:46:12
| * tar_ | joined |
02:46:33
| * NodeNagant | quit (Remote host closed the connection) |
02:46:38
| * hareth | quit (Ping timeout: 240 seconds) |
02:46:41
| * jonldevries | joined |
02:46:46
| * harth | joined |
02:46:49
| * harthur | quit (Ping timeout: 240 seconds) |
02:46:50
| * ckknight | joined |
02:46:58
| * Nefarious_` | joined |
02:47:02
| * rmg | joined |
02:47:16
| * Dimik | joined |
02:47:30
| <zumba_addict> | hmm, sudo npm upgrade -g npm is not being accepted. It's giving me Usage instruction |
02:47:48
| <zumba_addict> | I don't see upgrade but I do see update. Should I use update instead? |
02:47:58
| * garthk | joined |
02:48:26
| <zumba_addict> | ok, update is working |
02:48:44
| <zumba_addict> | I see this, GET https://registry.npmjs.org/npm/-/npm-1.4.4.tgz |
02:49:11
| * boltR | quit (Ping timeout: 246 seconds) |
02:49:43
| * liwen | quit (Ping timeout: 264 seconds) |
02:49:46
| * rampr | joined |
02:50:09
| * daviddias | joined |
02:50:12
| * metasansana | quit (Quit: Leaving) |
02:50:25
| * tar_ | quit (Ping timeout: 240 seconds) |
02:50:39
| <\malex\> | DSKrepps: mostly i like that there is less to type into each file. i kind of miss #include |
02:50:41
| * morhaus | quit (Remote host closed the connection) |
02:50:54
| * asterick | joined |
02:50:59
| * jonldevries | part |
02:51:00
| <taternuts> | is there a "continue" f-key for node-inspector? |
02:51:05
| * ryanseddon | joined |
02:51:06
| * aoberoi | joined |
02:51:26
| * ryanseddon | part |
02:51:36
| * NodeNagant | joined |
02:52:10
| * fatalhalt | quit (Quit: Leaving) |
02:52:25
| <zumba_addict> | I'm running the commands given by this person, http://davidwalsh.name/upgrade-nodejs |
02:52:40
| * JokerYu | quit (Ping timeout: 246 seconds) |
02:52:59
| <looking_for_work> | zumba what OS are u using, just curious |
02:53:22
| <zumba_addict> | os x |
02:53:24
| * jalleyne_ | quit (Remote host closed the connection) |
02:53:34
| * TyrfingMjolnir | quit (Quit: TyrfingMjolnir) |
02:53:39
| <zumba_addict> | it's taking a long time on the first command |
02:53:47
| * TyrfingMjolnir | joined |
02:54:00
| * jalleyne | joined |
02:54:29
| * chrelad | joined |
02:54:37
| * automata | quit (Quit: This computer has gone to sleep) |
02:54:45
| <zumba_addict> | i'm running this now, sudo npm install -g n |
02:54:59
| * lanceball | joined |
02:55:13
| <looking_for_work> | yea im in windows 7, so i didnt need to use sudo |
02:55:21
| <looking_for_work> | npm update npm -g worked fine |
02:55:24
| <zumba_addict> | fetch : http://nodejs.org/dist/v0.10.26/node-v0.10.26-darwin-x64.tar.gz installed : v0.10.26 |
02:55:27
| * JokerYu | joined |
02:55:37
| * jonldevries | joined |
02:55:37
| <zumba_addict> | done, I hope that's the latest NodeJS version |
02:55:43
| * ckknight | quit (Ping timeout: 264 seconds) |
02:56:04
| * tlync | joined |
02:56:10
| <TyrfingMjolnir> | zumba_addict: Why latest? |
02:56:12
| <looking_for_work> | i tried it without the -g and it seemed to do the same thing |
02:56:15
| * morhaus_ | joined |
02:56:16
| <TyrfingMjolnir> | It should be the current stable |
02:56:21
| <zumba_addict> | i mean, I installed stable |
02:56:27
| * qw3rtman | joined |
02:56:31
| <zumba_addict> | sudo n stable is what I ran |
02:56:39
| <isaacbw> | poop |
02:56:45
| <isaacbw> | don't use n globally |
02:56:50
| * Carraway | quit |
02:56:52
| <zumba_addict> | why? |
02:56:53
| * lance|afk | quit (Ping timeout: 246 seconds) |
02:56:58
| <looking_for_work> | why |
02:57:15
| * AvianFlu | quit (Remote host closed the connection) |
02:57:19
| <isaacbw> | because it will mix it in with your system packages |
02:57:42
| <zumba_addict> | ok but I don't know if they installed node here on my laptop before |
02:57:47
| * wilmoore | joined |
02:57:51
| * JokerYu | quit (Remote host closed the connection) |
02:57:57
| * robbyoconnor | quit (Read error: Connection reset by peer) |
02:58:07
| * JokerYu | joined |
02:58:11
| * wwicks | joined |
02:58:20
| * chrelad | quit (Read error: Connection reset by peer) |
02:58:27
| <looking_for_work> | isaacbw, so npm update npm with the -g then? |
02:58:29
| * chrelad | joined |
02:58:43
| * jalleyne | quit (Ping timeout: 264 seconds) |
02:58:54
| <zumba_addict> | npm search rest now provides an output :) |
02:59:15
| <Aria> | Yay! |
02:59:20
| <zumba_addict> | wow, tons of results!!! LOL |
02:59:24
| <Aria> | Oh quite. |
02:59:30
| <Aria> | Since this is one of the things people DO with node. |
02:59:42
| * NotMyself | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
02:59:42
| * jessie | quit (Quit: jessie) |
02:59:52
| * dshaw_ | joined |
02:59:54
| * Ge | joined |
02:59:56
| * ghento | quit (Remote host closed the connection) |
03:00:06
| <zumba_addict> | do you think Node.JS is good for heavy traffic? |
03:00:12
| * lyanchih | quit (Quit: lyanchih) |
03:00:31
| * JokerYu | quit (Remote host closed the connection) |
03:00:34
| * lyanchih | joined |
03:00:40
| * qw3rtman | quit (Client Quit) |
03:00:45
| <isaacbw> | looking_for_work: yea |
03:00:46
| * tjfontain | joined |
03:00:48
| * JokerYu | joined |
03:00:50
| * ckknight | joined |
03:00:54
| <Aria> | Walmart used it to serve something like 200,000,000 concurrent users during Black Friday here in the US. |
03:01:03
| * Xedd | quit (Ping timeout: 245 seconds) |
03:01:04
| <zumba_addict> | OMG :) |
03:01:06
| <tjfontain> | "If you don't like it, that's tough. Its time for you to switch to FreeBSD then. There is absolutely a need for fast booting in the Linux eco system." |
03:01:07
| * qw3rtman | joined |
03:01:09
| <tjfontain> | -Systemd fuck: We must leave linux if we don't like systemd. Fight this. Please Second this proposal: https://lists.debian.org/debian-vote/2014/03/msg00000.html |
03:01:11
| * mary5030 | quit (Remote host closed the connection) |
03:01:12
| <Aria> | I mean, not on a single server. But yes. |
03:01:12
| <tjfontain> | Vote against systemd. |
03:01:15
| <tjfontain> | please |
03:01:16
| <looking_for_work> | isaacbw, unfortunate i already did it with -g earlier..... |
03:01:22
| <Aria> | Oh, and they did a deploy while under load |
03:01:28
| <zumba_addict> | :D |
03:01:29
| <isaacbw> | it's fine with -g looking_for_work |
03:01:32
| <zumba_addict> | that's very cool |
03:01:37
| <isaacbw> | I just mean you should set N_PREFIX to $HOME |
03:01:44
| <isaacbw> | and npm set prefix $HOME |
03:01:47
| <zumba_addict> | i really need to learn Node.JS then. |
03:01:49
| * de_henne_ | joined |
03:01:50
| <isaacbw> | it's much cleaner that way |
03:01:56
| * lw | joined |
03:02:24
| * santiagoR | quit (Quit: Leaving) |
03:02:25
| <looking_for_work> | ok |
03:02:27
| <zumba_addict> | for my first exercise, I would like to use node.js, sockets.io so it can update a simple webpage automatically |
03:02:36
| * danielstjules | joined |
03:02:50
| <isaacbw> | for my first exercise, I will perform twenty squats |
03:02:54
| * lanceball | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:02:56
| <isaacbw> | aaaand I begin |
03:02:59
| <isaacbw> | 1 |
03:03:01
| <zumba_addict> | i would like node.js to connect to my MongoDB or Mysql. I will be updating a field |
03:03:01
| <isaacbw> | 2 |
03:03:03
| <isaacbw> | 3 |
03:03:10
| <isaacbw> | ... |
03:03:12
| <isaacbw> | 20 |
03:03:19
| <zumba_addict> | isaacbw: I will be doing 5x5 tonight which also includes squats |
03:03:20
| <isaacbw> | "A remarkable performance" |
03:03:24
| * Sorella | quit (Quit: Ex-Chat) |
03:03:27
| <zumba_addict> | i'll also do deadlifts too |
03:03:36
| <isaacbw> | I just use the elliptical and call it a day |
03:03:40
| <zumba_addict> | :( |
03:03:51
| <isaacbw> | I'll start running when I'm in better shape |
03:03:52
| <zumba_addict> | i run outside, sprint 4 times for 100 m |
03:03:55
| * wavded | joined |
03:04:08
| <isaacbw> | yea, I might go outside when it's not a blizzard (which it is now) |
03:04:12
| * jbalsano | joined |
03:04:20
| <zumba_addict> | i know, there were tons of accidents this morning |
03:04:26
| <isaacbw> | when I'm done losing fat, then I'll think about adding muscle |
03:04:32
| <mdel> | I bought a rowing machine recently, can't recommend it enough |
03:04:33
| <zumba_addict> | nice |
03:04:34
| * al1o | quit (Ping timeout: 245 seconds) |
03:04:40
| * hillct | quit (Quit: hillct) |
03:04:41
| * de_henne | quit (Ping timeout: 252 seconds) |
03:04:42
| <zumba_addict> | i have a squat rack |
03:04:45
| <mdel> | full body workout, major cardio |
03:04:57
| * sethington | quit (Quit: aghhh) |
03:05:00
| <mdel> | zero impact, which is something I hate about running |
03:05:01
| <zumba_addict> | i also have a bench press |
03:05:13
| <isaacbw> | it never occurred to me to look for work with a nick |
03:05:14
| <zumba_addict> | what is zero impact? |
03:05:18
| * isaacbw | changed nick to isaacbw|hireme |
03:05:37
| <mdel> | impact on the joints |
03:05:39
| <isaacbw|hireme> | the force of your feet hitting the ground |
03:05:45
| <zumba_addict> | ah, got it |
03:05:51
| * yamadapc | joined |
03:05:57
| * _wli | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:05:58
| <zumba_addict> | i love sprints because it makes me stronger |
03:06:09
| * frkout_ | quit (Remote host closed the connection) |
03:06:12
| * mattmcclure | quit (Quit: Connection closed for inactivity) |
03:06:14
| * ljharb | joined |
03:06:29
| <zumba_addict> | and doing 5x5, I was able to overcome plateau |
03:06:42
| * frkout | joined |
03:06:45
| * stefan991 | quit (Ping timeout: 264 seconds) |
03:06:48
| <zumba_addict> | i got stuck at 225 lbs on deadlift but now I'm at 275lbs |
03:06:50
| * al1o | joined |
03:06:57
| * danielstjules | part |
03:07:37
| <zumba_addict> | but folks, IRC especially when you start talking to intelligent people, my workout gets affected, LOL |
03:07:51
| <zumba_addict> | I told myself that i'll be working out at 9pm. It's 10pm now, hahaha |
03:07:58
| <Aria> | Go do, then! |
03:08:02
| <zumba_addict> | :D |
03:08:15
| * willwhite | quit (Read error: Connection reset by peer) |
03:08:17
| <zumba_addict> | i became so interested in Node.JS |
03:08:24
| <zumba_addict> | in few mins, I'll go |
03:08:30
| <zumba_addict> | it's in my basement |
03:08:30
| <isaacbw|hireme> | I can lift 300lbs with Node.js |
03:08:32
| * jklb | quit (Remote host closed the connection) |
03:08:35
| * buritica | quit (Remote host closed the connection) |
03:08:36
| <zumba_addict> | hahaha |
03:09:06
| * jklb | joined |
03:09:28
| * ckknight | quit (Ping timeout: 246 seconds) |
03:09:40
| * jklb | quit (Read error: Connection reset by peer) |
03:09:51
| <zumba_addict> | I'm a bit confused with the terminology. When we see "REST api", am I right that this is the server side? |
03:09:56
| * JoeNied | quit (Remote host closed the connection) |
03:10:11
| * jklb | joined |
03:10:20
| * willwhite | joined |
03:10:23
| <isaacbw|hireme> | yesh |
03:10:28
| <zumba_addict> | what I am looking for is consuming the REST endpoints provided by our API team |
03:10:31
| * aclave | quit (Ping timeout: 246 seconds) |
03:10:32
| * jalleyne | joined |
03:10:34
| <isaacbw|hireme> | well, it's an interface between the client and the server |
03:10:41
| <isaacbw|hireme> | zumba_addict: in the browser? |
03:10:41
| * buritica | joined |
03:10:42
| * hswolff | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:10:43
| <zumba_addict> | yes |
03:10:47
| <isaacbw|hireme> | node won't help you |
03:10:49
| <zumba_addict> | you are right too |
03:10:49
| * anoemi | quit (Quit: anoemi) |
03:10:54
| * Tr_Heath20 | quit (Read error: Connection reset by peer) |
03:11:01
| <zumba_addict> | why won't node be able to help me? |
03:11:07
| <isaacbw|hireme> | it's not in the browser |
03:11:21
| <zumba_addict> | yup, you are right but i think it's possible |
03:11:26
| <isaacbw|hireme> | to do what |
03:11:32
| * TjRus | joined |
03:11:39
| * mikeal | quit (Quit: Leaving.) |
03:11:40
| * Tr_Heath20 | joined |
03:11:43
| <zumba_addict> | i submit my form to Node then the code in Node will submit to the REST endpoint |
03:11:45
| * stefan991 | joined |
03:11:53
| <isaacbw|hireme> | oh, you mean like a middleman? |
03:11:56
| <zumba_addict> | yes |
03:12:03
| <isaacbw|hireme> | why not just go straight to the REST API |
03:12:19
| <zumba_addict> | because I like to prevent the user from seeing the rest endpoints |
03:12:24
| <isaacbw|hireme> | I see |
03:12:36
| <isaacbw|hireme> | then I suppose you could use node, yes |
03:12:37
| <zumba_addict> | also with middle man, I can sanitize the data before it gets sent to the REST server |
03:12:47
| <isaacbw|hireme> | ah, so you don't trust the API guys |
03:12:53
| <zumba_addict> | :) you are right |
03:13:02
| <isaacbw|hireme> | fair enough |
03:13:03
| <zumba_addict> | i was able to inject XSS attack |
03:13:16
| * atula | joined |
03:13:27
| <zumba_addict> | i know they need to fix it but i'd like to add layer of protection for them |
03:13:51
| * mjijackson | joined |
03:14:22
| * naneau | quit (Quit: Quit.) |
03:14:27
| * stonebranch | joined |
03:14:33
| <zumba_addict> | I actually started reading Flask Framework today but Python is new thing for me |
03:15:01
| <zumba_addict> | but I decided to also read about NodeJS because I heard from boss last week, he wants to use NodeJS |
03:15:01
| <taternuts> | python/flask is cool from my limited experience |
03:15:13
| * alvaro_o | quit (Quit: Ex-Chat) |
03:15:16
| <zumba_addict> | oh, that's cool taternuts. is it really for REST? |
03:15:18
| * imsky | quit (Quit: Leaving) |
03:15:34
| <taternuts> | yeah |
03:15:39
| <zumba_addict> | ok |
03:15:41
| <taternuts> | just depends on how you set it up |
03:15:45
| <mdel> | REST isn't a "thing" |
03:15:47
| <Aria> | Just remember that REST isn't a single thing but a set of restrictions for how to make services reliable. |
03:15:48
| <taternuts> | but the RESTManager is awesome |
03:15:48
| <mdel> | its a convention |
03:15:50
| * ckknight | joined |
03:15:54
| <mdel> | thanks Aria :) |
03:15:58
| <zumba_addict> | k |
03:15:59
| <Aria> | Haha. Good timing. |
03:16:17
| <zumba_addict> | from my limited knowledge and how I see our app works, it's CRUD |
03:16:28
| <Aria> | Yeah, CRUD isn't REST, strictly. |
03:16:29
| * TjRus | quit (Ping timeout: 269 seconds) |
03:16:35
| <zumba_addict> | basic GET, OPTIONS, PUT, POST, DELETE |
03:16:41
| * morhaus_ | quit (Remote host closed the connection) |
03:16:43
| <zumba_addict> | ok |
03:16:45
| <mdel> | thats HTTP :) |
03:16:46
| <Aria> | It means keeping your requests stateless. Use requests that can be repeated if you're not sure they went through (reliability through idempotency) |
03:16:54
| <zumba_addict> | mdel, you are right :) |
03:17:16
| <Aria> | Stateless allows better scaling, because there are fewer things outside the request involved. |
03:17:22
| <zumba_addict> | never heard of that term. What is it? |
03:17:24
| <isaacbw|hireme> | Aria: fez was idempotent |
03:17:30
| <isaacbw|hireme> | but no one cared :,C |
03:17:32
| <taternuts> | stateless? |
03:17:34
| <isaacbw|hireme> | *sob* |
03:17:34
| <Aria> | isaacbw|hireme: Was? |
03:17:37
| <zumba_addict> | no, idempotency |
03:17:38
| * Xedd | joined |
03:17:50
| <taternuts> | oh didn't see that, yeah, what is that |
03:17:51
| <Aria> | Oh, idempotency: The same inputs yield the same outputs. |
03:17:59
| * _wli | joined |
03:17:59
| <zumba_addict> | ok |
03:18:00
| <mdel> | idempotence was the main draw for fez, for me at least |
03:18:06
| <isaacbw|hireme> | Aria: I've run out of momentum. It will probably come back as a Makefile that runs JS instead of BASH |
03:18:16
| <isaacbw|hireme> | which won't be nearly as powerful |
03:18:18
| <mdel> | not that its impossible in other build systems, but it being a main deisgn goal |
03:18:24
| <isaacbw|hireme> | but might be more popular |
03:18:31
| <Aria> | isaacbw|hireme: Awww. I was just waiting for you to stop shifting it around so I could use it the next time I needed something. |
03:18:39
| <zumba_addict> | btw, our REST API I guess is bad. The backend guys told us that we have to wait for their RESPONSE before we can submit another REST call. I said, "WHAAAT????" |
03:18:49
| * stonebranch | quit (Ping timeout: 240 seconds) |
03:18:54
| * wavded | quit (Quit: Hasta la pasta) |
03:18:57
| <mdel> | yikes |
03:19:00
| <zumba_addict> | ;) |
03:19:02
| <Aria> | zumba_addict: That does indeed sound like it's not REST at all. |
03:19:07
| <zumba_addict> | WOW :D |
03:19:11
| <Aria> | zumba_addict: That sounds a lot like they're doing RPC over HTTP ;-) |
03:19:26
| <zumba_addict> | I troubleshot a code for 2 days figuring out why my SUBMITS weren't accurate |
03:19:29
| * ddelrio1986 | quit (Ping timeout: 240 seconds) |
03:19:32
| <Aria> | SUBMIT? |
03:19:46
| <taternuts> | it's part of the new html spec |
03:19:47
| <zumba_addict> | yes, form submits thru the REST api |
03:19:52
| * kemitchell | joined |
03:19:57
| <Aria> | Ah. like POST? |
03:19:59
| <zumba_addict> | yes |
03:20:18
| <zumba_addict> | they don't even accept an array value |
03:20:19
| <Aria> | Heh. POST is non-idempotent by definition -- needed, sometimes, but not generally a 'safe' operation. |
03:20:20
| * chortuckle | quit (Ping timeout: 246 seconds) |
03:20:25
| <Aria> | Array value? |
03:20:33
| <zumba_addict> | yup, in the form of json |
03:20:39
| <zumba_addict> | multiple items |
03:20:41
| <mdel> | so wait.. how do you guarantee another POST is not occurring before whatever a RESPONSE is? |
03:20:57
| <Aria> | Multiple items is a little hard with REST. It's hard to be idempotent with large resources. |
03:20:59
| <zumba_addict> | I am using ajax success and 200 |
03:21:06
| <Aria> | mdel: convention. |
03:21:12
| * Lithica | joined |
03:21:27
| <zumba_addict> | so once I get an OK 200 from the server, time to submit the next one, LOL |
03:21:33
| <Aria> | Yeah, definitely not terribly rest-y there, zumba_addict. |
03:21:39
| <mdel> | zumba_addict: maybe I'm taking you too literally, I was imagining that this was across all clients :) |
03:21:53
| <zumba_addict> | k |
03:21:56
| * jalleyne | quit (Read error: Connection reset by peer) |
03:22:07
| <Aria> | I should totally write up our design for our new login system at work. It's a good example of requests that can be retried.. |
03:22:21
| * teasherm | quit (Remote host closed the connection) |
03:22:26
| <zumba_addict> | ours REST API then is not REST. It should rest, LOL |
03:22:36
| * Riztonnn | joined |
03:22:37
| * jalleyne | joined |
03:22:38
| <Aria> | We broke login up into three calls (For some stupid decoupling reasons), but got some interesting reliability out of it. |
03:22:50
| <zumba_addict> | k |
03:23:07
| <Aria> | By breaking it up, we made all three parts retriable -- "I'd like to start a login" "Okay, do that login" "Did the login complete?" |
03:23:17
| <zumba_addict> | got it |
03:23:19
| * Ritzton | quit (Ping timeout: 264 seconds) |
03:23:20
| <zumba_addict> | use oath2 :) |
03:23:27
| <Aria> | This is oauth2. |
03:23:32
| <zumba_addict> | oh cool |
03:23:34
| <Aria> | (Also don't use oauth2. It's a terrible protocol.) |
03:23:47
| <zumba_addict> | what do you suggest? |
03:23:48
| <Aria> | (Not even a protocol. It's frankly one of the worst things I've ever worked with.) |
03:23:53
| <Aria> | Depends on your needs. |
03:23:55
| * noobee | quit (Remote host closed the connection) |
03:24:02
| * SamSelikoff | joined |
03:24:25
| * ckknight | quit (Ping timeout: 240 seconds) |
03:24:44
| <Aria> | Hell, the reason people say 'use oauth2' is to get interoperability. But oauth2 is specified in ways that pretty much don't make interop likely. And it adds complexity because it's built to support like a bazillion workflows. |
03:24:58
| <Aria> | So everyone 'does oauth2' but doesn't do all of it. Just some random part, plus their own bits. |
03:25:04
| <Aria> | Neither super nor subset. |
03:25:11
| * asterick | quit (Quit: Leaving...) |
03:25:15
| <zumba_addict> | wow |
03:25:23
| * hammadfauz | joined |
03:25:38
| * dshaw_ | quit (Quit: Leaving.) |
03:25:42
| <zumba_addict> | going back to REST, I want to setup REST here at home so I can start learning/implementing it correctly |
03:25:48
| <Aria> | Oauth2 doesn't get you much in the case of a 'public' client -- like an app on a phone or a javascript app where someone can read the source. |
03:25:48
| * cpup | quit (Remote host closed the connection) |
03:25:54
| * tilleps | joined |
03:25:55
| <isaacbw|hireme> | wow, zsh is cool |
03:26:14
| <isaacbw|hireme> | it reads the values in the -cp argument (Java) and the autocompletes classes from the classpath |
03:26:23
| * Nefarious_` | quit (Read error: Connection reset by peer) |
03:26:28
| <zumba_addict> | zsh is a shell right |
03:26:28
| * cpup | joined |
03:26:36
| * SamSelikoff | quit (Client Quit) |
03:26:43
| * Nefarious_` | joined |
03:26:52
| * SamSelikoff | joined |
03:26:57
| * p15 | joined |
03:27:04
| * naneau | joined |
03:27:15
| <Aria> | zumba_addict: Make a tiny http server in node. Make a simple login API, but use PUT not POST -- and then think through all the cases where "What if this request fails? Can I retry without involving the user?" and "what if this request succeeds, but the browser times out instead?". You'll learn a LOT of REST that way. |
03:27:15
| * snathan | joined |
03:27:15
| * SamSelikoff | quit (Remote host closed the connection) |
03:27:35
| <zumba_addict> | got it |
03:27:35
| * SamSelikoff | joined |
03:27:59
| * rmg | quit (Remote host closed the connection) |
03:28:14
| * feross_ | joined |
03:28:20
| <Aria> | zumba_addict: Those two error cases are where the real learning is. "What if it fails? Can I retry?" and "What if it works and I don't know about it?" |
03:28:21
| * rmg | joined |
03:28:24
| <isaacbw|hireme> | zumba_addict: yup |
03:28:55
| * trusktr | joined |
03:28:59
| <zumba_addict> | got it |
03:29:11
| <zumba_addict> | I thought PUT was only for updates |
03:29:25
| <Aria> | Nope. |
03:29:33
| <Aria> | You can put stuff to create it, if you have a URL for it. |
03:29:38
| * admix | changed nick to admix|away |
03:29:44
| * GreenJello | quit (Quit: Computer has gone to sleep.) |
03:29:49
| <zumba_addict> | that's how our API team is using PUT, only for updating existing item |
03:29:59
| * jmar777 | quit (Remote host closed the connection) |
03:30:01
| <Aria> | Yeah. That's the usual mapping of CRUD to HTTP. |
03:30:06
| <zumba_addict> | yup |
03:30:11
| <Aria> | Post to create, put to update. |
03:30:17
| * GreenJello | joined |
03:30:18
| <zumba_addict> | exactly |
03:30:21
| * xonev | joined |
03:30:29
| <Aria> | But that leaves creates as not able to be retried if there's a timeout. |
03:30:31
| <yamadapc> | Aria: but then you have to treat retries to make the route idempotent... |
03:30:33
| <zumba_addict> | looks like our REST api was a bad foundation for me, heheheh |
03:30:49
| <yamadapc> | Aria: mm... |
03:30:51
| * ckknight | joined |
03:30:58
| * kmiyashiro | quit (Quit: kmiyashiro) |
03:31:02
| <Aria> | It works, but you have to handle either "a second create will make a duplicate" or "you get an error when you create again" |
03:31:12
| * jabberwo_ | quit (Remote host closed the connection) |
03:31:19
| <Aria> | For login, you can do things like "PUT /sessions/USERNAME/RANDOMIDHERE" -- let the client supply the random ID. |
03:31:31
| * papermogwai | quit (Ping timeout: 246 seconds) |
03:31:43
| * snathan | quit (Ping timeout: 264 seconds) |
03:31:44
| * Monkeytoe | joined |
03:31:46
| <Monkeytoe> | hello |
03:31:49
| * jabberwocky | joined |
03:32:01
| <Monkeytoe> | is it possible to use node.js to reboot the server its on? |
03:32:02
| <yamadapc> | I'd say it depends on the session/authentication logic... but yeah, that would make sense |
03:32:04
| <Aria> | And if it fails? try again! If the session already exists, update it. |
03:32:19
| * naneau | quit (Ping timeout: 264 seconds) |
03:32:20
| <Aria> | Yeah, it's a ~trivial example, but it's one of those cases you can rethink things. |
03:32:32
| * isaacbw|hireme | changed nick to isaacbw |
03:32:49
| <Monkeytoe> | im making a monitoring script in node.js that monitors a couple api's on the computer... and depending on the situation I would like to be able to have node.js do a coldreboot |
03:32:52
| * LouisT | joined |
03:33:02
| * sreeix | joined |
03:33:05
| <Aria> | (And all this makes a huge difference for mobile. The use-case I keep in mind is "user's connection is 4 seconds round trip. They hit log in and step into the subway. Their mobile doesn't get a signal for 10 minutes, and two stops down the line. From their pocket.) |
03:33:22
| * dataid | quit (Quit: out.) |
03:33:27
| <Aria> | Monkeytoe: 'cold' reboot |
03:33:27
| <Aria> | ? |
03:33:32
| * eaj | joined |
03:33:59
| * jonldevries | quit (Ping timeout: 240 seconds) |
03:33:59
| <Monkeytoe> | yeah instead of sudo reboot... sudo coldreboot |
03:34:11
| * ddelrio1986 | joined |
03:34:12
| <Aria> | Ah. So do that? |
03:34:24
| * Johnny- | quit (Read error: Operation timed out) |
03:34:25
| * GreenJello | quit (Ping timeout: 240 seconds) |
03:34:27
| <Monkeytoe> | how can I have it give the system that command? |
03:34:37
| <Aria> | child_process.exec? |
03:34:42
| * _yoy_ | joined |
03:34:57
| * funkytek | joined |
03:35:05
| <Monkeytoe> | ah so I could use that to run a shell script to reboot? |
03:35:23
| <yamadapc> | yes |
03:35:28
| <Aria> | Sure. Just like any other process. |
03:35:38
| <Aria> | node may keep unix at a distance, but it's not that far away ;-) |
03:36:04
| * jabberwocky | quit (Ping timeout: 246 seconds) |
03:36:22
| <Monkeytoe> | the next issue would be... how to allow this without having to put the root password in the node script |
03:36:23
| <Monkeytoe> | lol |
03:36:28
| <Monkeytoe> | that would be a major security issue |
03:36:49
| * YoY | quit (Ping timeout: 240 seconds) |
03:36:55
| <tilleps> | edit sudoers file and add permissions for that specific script |
03:36:58
| <mikehaas763> | Ok, I'm having a hard time understanding streams. I'm using gulpjs and in a gulp plugin using through2.obj. When the anon func I pass to through2.obj get's called (file, enc, callback) I see just the first file in the watched directory. Any idea how to get access to all the files? |
03:37:06
| * ddelrio1986 | quit (Client Quit) |
03:37:20
| <Monkeytoe> | and then make sure that the node.js account cant edit that script right till? |
03:37:27
| * boltR | joined |
03:37:28
| * Johnny- | joined |
03:37:36
| * kemitchell | quit (Quit: leaving) |
03:37:39
| <NodeNagant> | so for kicking off a function every once in a while (like a cron job) i want to use process right? |
03:37:51
| <\malex\> | Monkeytoe: why? just make sure sudo allows nopasswd access to coldreboot and only that |
03:37:53
| <Monkeytoe> | or is there a way to limit the sudo authorization to only erbooting |
03:37:59
| * eaj | quit (Ping timeout: 240 seconds) |
03:38:04
| <Monkeytoe> | ah |
03:38:12
| <Aria> | Monkeytoe: Yeah. man sudoers! |
03:38:14
| <tilleps> | you can limit the script to reboot |
03:38:19
| * mikolalysenko | quit (Ping timeout: 264 seconds) |
03:38:20
| <Aria> | NodeNagant: setTimeout not sufficient for you? |
03:38:21
| <tilleps> | reboot command only |
03:38:27
| <Monkeytoe> | sweet |
03:38:35
| <Monkeytoe> | sounds like this will work ! :) |
03:38:38
| * YoY | joined |
03:38:47
| <NodeNagant> | Aria: doesnt setTimeout block? |
03:38:54
| <Aria> | No. |
03:39:30
| <NodeNagant> | o, i was think of something, else, just looked at docs, looks like setTimeout is what I want |
03:39:34
| * ckknight | quit (Ping timeout: 246 seconds) |
03:39:35
| <NodeNagant> | Aria: thanx |
03:39:37
| * DiegoMax | joined |
03:39:37
| * nrw | joined |
03:39:43
| * atula | quit (Quit: This computer has gone to sleep) |
03:40:01
| <Aria> | mikehaas763: That sounds a bit gulp-specific -- node itself doesn't have any multi-file streams. Maybe ask in #gulpjs? |
03:40:07
| * _yoy_ | quit (Ping timeout: 264 seconds) |
03:40:37
| * siqi | joined |
03:40:40
| * NotMyself | joined |
03:40:44
| <yamadapc> | NodeNagant: you might want to take a look at https://github.com/ncb000gt/node-cron/blob/master/lib/cron.js |
03:40:50
| * angelazou | joined |
03:40:53
| <yamadapc> | NodeNagant: depending on what you're doing |
03:40:57
| * boogie | joined |
03:41:00
| * morhaus | joined |
03:41:07
| * Ge | quit (Quit: ...) |
03:41:18
| * nn_ | joined |
03:41:54
| * shingshang | joined |
03:42:02
| <Aria> | Night, all! |
03:42:13
| <yamadapc> | NodeNagant: but yeah.. it uses setTimeout internally |
03:42:23
| <zumba_addict> | Aria: where can I get more information about the "simple LOGIN api using PUT"? Which topic in Node should I read? |
03:42:25
| * daviddias | quit (Remote host closed the connection) |
03:42:25
| <yamadapc> | NodeNagant: just has a pretty API... :3 |
03:42:53
| <zumba_addict> | oops, looks like he left already |
03:43:22
| * toastynerd | quit (Remote host closed the connection) |
03:43:44
| <yamadapc> | zumba_addict: I really enjoyed "RESTful Web APIs" (O'Reilly) |
03:43:56
| <zumba_addict> | ok |
03:44:03
| <nrw> | I'm jumping in with a pull-stream question. :) |
03:44:03
| <zumba_addict> | thanks |
03:44:10
| <nrw> | I want to write to a stream and have the values i write just sit in that stream until a consuming stream pulls them through. Is that a crazy thing to do? |
03:44:13
| * tilleps | quit (Quit: tilleps) |
03:44:17
| * Tr_Heath20 | quit (Read error: Connection reset by peer) |
03:44:22
| <nrw> | I can't seem to find the right google terms to answer this. :P |
03:44:28
| * sreeix | quit (Quit: sreeix) |
03:44:37
| <NodeNagant> | yamadapc: yea that module looks cool |
03:44:56
| <yamadapc> | zumba_addict: you're welcome :) (the book is really opinionated though - but so is most REST literature) |
03:44:56
| * Tr_Heath20 | joined |
03:45:01
| <looking_for_work> | anybody use node on AWS? |
03:45:01
| * morhaus | quit (Remote host closed the connection) |
03:45:05
| <zumba_addict> | k |
03:45:13
| * Tr_Heath20 | quit (Remote host closed the connection) |
03:45:17
| <yamadapc> | looking_for_work: yes, why? |
03:45:24
| * s3shs | joined |
03:45:30
| * mjijackson | quit (Quit: mjijackson) |
03:45:31
| * siqi | quit (Ping timeout: 264 seconds) |
03:45:50
| * ckknight | joined |
03:46:02
| <looking_for_work> | just wondering how it went |
03:46:15
| <yamadapc> | looking_for_work: so far so good |
03:46:18
| <looking_for_work> | and if you found a good guide or if you just read the AWS docs |
03:46:21
| <yamadapc> | looking_for_work: haha |
03:46:23
| * cloudbender | joined |
03:46:25
| <NodeNagant> | i was going to set up the free instance |
03:46:26
| * _wli | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:46:30
| <yamadapc> | looking_for_work: the docs are ok... |
03:46:51
| <LoneStar99> | would a free 1.5GB VPS be enough for Node.js development? |
03:46:55
| <yamadapc> | looking_for_work: do you mean running node on an AWS instance, or using the services? (we did both) |
03:47:07
| * skulbuny | changed nick to skulbuny|away |
03:47:15
| * mjijackson | joined |
03:47:18
| * mjijackson | quit (Client Quit) |
03:47:23
| * woah | joined |
03:47:23
| * woah | quit (Client Quit) |
03:47:34
| <looking_for_work> | the first, i assume it's pretty straighforward... |
03:47:45
| <looking_for_work> | i read a bunch of the docs but not about node specifically yet |
03:47:52
| * ForSpareParts_ | joined |
03:47:53
| <looking_for_work> | the AWS podcast is interesting too |
03:47:55
| <LoneStar99> | looking_for_work: working on a node.js solution on AWS |
03:47:59
| * sk | joined |
03:48:08
| <zumba_addict> | brb, working out now :) |
03:48:08
| <LoneStar99> | what did you need? |
03:48:37
| * funkytek | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:48:45
| * morhaus_ | joined |
03:48:57
| <looking_for_work> | well nothing specifically now, but in general has it been working well? node + AWS seems like it would be a good combo |
03:49:00
| * taternuts | quit |
03:49:02
| * pawn | quit (Remote host closed the connection) |
03:49:29
| * boltR | quit (Ping timeout: 240 seconds) |
03:49:40
| * not_a_guest | joined |
03:49:49
| <LoneStar99> | looking_for_work: it works, well but will work better when we release our Node.js optimized servers =) |
03:49:52
| * _wli | joined |
03:49:59
| * jakehow | quit (Read error: Connection reset by peer) |
03:50:12
| * johnkevinmbasco | joined |
03:50:19
| <looking_for_work> | nice.... |
03:50:25
| <yamadapc> | LoneStar99: looking forward to that :) |
03:50:25
| * whitby | quit (Quit: I go.) |
03:50:36
| * Ge | joined |
03:51:03
| * kamicane | joined |
03:51:06
| <yamadapc> | need to go, good night to you all |
03:51:07
| <looking_for_work> | LoneStar99, so you must be an AWS service provider |
03:51:09
| * tjfontaine | booted tjfontain (tjfontain) |
03:51:13
| * skulbuny|away | quit (Ping timeout: 240 seconds) |
03:51:36
| <LoneStar99> | yamadapc: just got some info needed for AWS support now just need to roll them out... |
03:52:18
| <yamadapc> | LoneStar99: awesome |
03:52:25
| * trusktr | quit (Ping timeout: 240 seconds) |
03:52:37
| * feross | quit (Quit: feross) |
03:52:38
| * feross_ | changed nick to feross |
03:53:33
| * Nefarious_` | quit (Read error: Connection reset by peer) |
03:53:37
| * MicronXD | quit (Ping timeout: 240 seconds) |
03:53:42
| <ForSpareParts_> | could somebody look at this less mixin real quick? It's throwing an "unrecognized input" error and I have no clue why. |
03:53:44
| <ForSpareParts_> | .border-radius (@rules) { @media (min-width: 960px) { @rules; } } |
03:53:52
| <ForSpareParts_> | argh, sorry. meant to paste link |
03:53:58
| <ForSpareParts_> | http://pastebin.com/ |
03:54:06
| <ForSpareParts_> | http://pastebin.com/vkX6Xc6w |
03:54:14
| * erichocean | joined |
03:54:14
| * ForSpareParts_ | is full of fail tonight. |
03:54:20
| * _wli | quit (Client Quit) |
03:54:40
| * yamadapc | quit (Remote host closed the connection) |
03:54:47
| * BlueMir | quit (Quit: Connection closed for inactivity) |
03:54:56
| * jakehow | joined |
03:55:00
| * mikolalysenko | joined |
03:55:08
| * okcoker | joined |
03:56:20
| * harttho | quit (Quit: harttho) |
03:56:43
| <nrw> | anyone have experience with pull-streams? i'm stuck. |
03:57:20
| * jxson | joined |
03:57:25
| * ckknight | quit (Ping timeout: 246 seconds) |
03:57:33
| * bbloom | quit (Quit: Textual IRC Client: www.textualapp.com) |
03:57:46
| <LoneStar99> | was testing node.js on a chrooted account, and it kinda sucks to much work for that.... so might as well just release full VPSes ... |
03:57:55
| * mikeal | joined |
03:57:56
| * bbloom | joined |
03:58:07
| * kamicane | quit (Ping timeout: 264 seconds) |
03:58:21
| * mikeal | quit (Client Quit) |
03:58:40
| * xaq | joined |
03:59:02
| * mikeal | joined |
03:59:12
| * eaj | joined |
03:59:14
| * mikeal | quit (Client Quit) |
03:59:15
| * angelazou | part |
03:59:17
| * Zarutian | quit (Quit: Zarutian) |
03:59:38
| * sreeix | joined |
03:59:57
| * pers3us | quit (Quit: Computer has gone to sleep.) |
04:00:28
| * pers3us | joined |
04:00:33
| * Argue_ | joined |
04:01:21
| * btiberi | joined |
04:01:35
| * christianbking | quit (Quit: This computer has gone to sleep) |
04:02:15
| * kronion | joined |
04:02:50
| * ckknight | joined |
04:02:54
| * johntitor2036 | quit (Ping timeout: 245 seconds) |
04:04:22
| * tskaggs | joined |
04:04:29
| * bjoerge | quit (Ping timeout: 240 seconds) |
04:04:37
| * kamicane | joined |
04:04:45
| * jmar777 | joined |
04:04:46
| * pers3us | quit (Ping timeout: 246 seconds) |
04:05:17
| * dshaw_ | joined |
04:05:25
| * braincrash | quit (Quit: bye bye) |
04:05:49
| * steffengy | joined |
04:06:04
| * armyriad | joined |
04:06:17
| * xonev | quit (Quit: Leaving.) |
04:06:32
| * automata | joined |
04:06:35
| * rmg | quit (Remote host closed the connection) |
04:06:40
| * SamuraiJack | joined |
04:06:43
| * rho_ | joined |
04:07:22
| * euforic_ | quit (Remote host closed the connection) |
04:07:25
| * Vovko | quit (Remote host closed the connection) |
04:07:52
| * rmg | joined |
04:08:16
| * steffengy_ | quit (Ping timeout: 246 seconds) |
04:08:37
| * stonebranch | joined |
04:08:38
| * braincrash | joined |
04:08:55
| * nwmcsween | joined |
04:09:02
| * bzalasky | joined |
04:09:09
| * rauchg | joined |
04:09:35
| * timbur | quit (Ping timeout: 252 seconds) |
04:09:37
| * lukevers | quit (Ping timeout: 240 seconds) |
04:09:39
| * _wli | joined |
04:09:52
| * kketch | joined |
04:10:12
| * Vovko | joined |
04:10:32
| * Chevex | joined |
04:11:10
| * rmg | quit (Remote host closed the connection) |
04:11:34
| * timbur | joined |
04:11:45
| * mary5030 | joined |
04:12:29
| * ckknight | quit (Ping timeout: 240 seconds) |
04:12:30
| * lukevers | joined |
04:12:31
| * i_m_ca | quit (Ping timeout: 264 seconds) |
04:12:59
| * stonebranch | quit (Ping timeout: 240 seconds) |
04:13:22
| * kketch | quit (Client Quit) |
04:13:42
| * rmg | joined |
04:13:54
| * dataid | joined |
04:15:08
| * harth_ | joined |
04:15:25
| * buritica | quit (Remote host closed the connection) |
04:15:43
| * johntitor2036 | joined |
04:15:53
| * evanhluc_ | joined |
04:15:53
| * mattsurabian | quit (Quit: mattsurabian) |
04:16:00
| * buritica | joined |
04:16:19
| * morhaus_ | quit (Quit: Leaving...) |
04:16:23
| * evanhluc_ | quit (Client Quit) |
04:16:36
| * switz | joined |
04:16:40
| * randomnick_ | quit (Remote host closed the connection) |
04:16:43
| * mary5030 | quit (Ping timeout: 264 seconds) |
04:16:48
| * the8thbit | joined |
04:17:05
| <the8thbit> | I need to parse yaml that's not valid json |
04:17:27
| * Left_Turn | quit (Read error: Connection reset by peer) |
04:17:37
| * TjRus | joined |
04:18:01
| * kenkeiter | quit (Remote host closed the connection) |
04:18:16
| * nn_ | quit (Remote host closed the connection) |
04:18:50
| * ckknight | joined |
04:18:50
| <SomeoneWeird> | the8thbit, wat |
04:19:08
| <the8thbit> | I guess yamljs will do the job |
04:19:18
| * christianbking | joined |
04:19:57
| * kshep | quit (Ping timeout: 264 seconds) |
04:20:35
| * aoberoi | quit |
04:20:38
| * ForSpareParts_ | quit (Ping timeout: 245 seconds) |
04:20:49
| <Shayanjm> | o_o |
04:20:55
| * buritica | quit (Ping timeout: 264 seconds) |
04:20:57
| <Shayanjm> | i would hope yaml is not valid json |
04:21:13
| * pers3us | joined |
04:21:28
| * munichlinux | joined |
04:21:59
| * TjRus | quit (Ping timeout: 240 seconds) |
04:22:10
| <the8thbit> | Shayanjm: What? Isn't most yaml valid json? |
04:22:12
| <SomeoneWeird> | Shayanjm, i'd like to see one that way |
04:22:18
| <SomeoneWeird> | the8thbit, no, they're entirely different :) |
04:22:25
| <Shayanjm> | the8thbit: those are two entirely different things man |
04:22:46
| * lw | quit (Quit: s) |
04:22:46
| <SomeoneWeird> | er, s/way/was/ |
04:22:46
| <the8thbit> | SomeoneWeird, Shayanjm: I thought yaml is a superset of json? |
04:22:59
| <SomeoneWeird> | the8thbit, http://en.wikipedia.org/wiki/YAML#Sample_document |
04:23:02
| * noobee | joined |
04:23:09
| <SomeoneWeird> | http://en.wikipedia.org/wiki/JSON#JSON_sample |
04:23:10
| <Shayanjm> | the8thbit: yes |
04:23:12
| <Shayanjm> | it is |
04:23:28
| <Shayanjm> | which means that a YAML parser can parse JSON (presumably) but not the other way around |
04:23:41
| <SomeoneWeird> | uh |
04:23:44
| <SomeoneWeird> | i doubt that |
04:23:51
| <Shayanjm> | SomeoneWeird it's true ;) |
04:23:56
| <SomeoneWeird> | really? |
04:23:57
| <SomeoneWeird> | heh |
04:24:01
| <the8thbit> | Shayanjm: In other words, most yaml is json ;) |
04:24:05
| * sreeix | quit (Quit: sreeix) |
04:24:06
| <Shayanjm> | ehhhh no |
04:24:12
| <Shayanjm> | that's like saying most rectangles are squares |
04:24:29
| <the8thbit> | But squares aren't far more common that other rectangles |
04:24:35
| <the8thbit> | *than |
04:24:38
| <Shayanjm> | That's not what's up for debate here haha |
04:24:48
| <Shayanjm> | the long and short of it is, you'll have a tough time getting a json parser to parse your yaml |
04:25:00
| <the8thbit> | Unless its valid json |
04:25:05
| <Shayanjm> | yes, unless its valid json |
04:25:09
| <Shayanjm> | which is highly unlikely |
04:25:18
| <Shayanjm> | the more likely scenario is that you can get your json to be parsed in your yaml parser |
04:25:21
| <the8thbit> | hence "I have yaml that's not valid json" |
04:25:29
| * pers3us | quit (Ping timeout: 240 seconds) |
04:25:37
| <the8thbit> | or whatever I said |
04:25:44
| <ljharb> | um, json and yaml are nothing alike? |
04:25:47
| <Shayanjm> | the8thbit: that should be an implied statement, really, but that's neither here nor there |
04:25:49
| <ljharb> | yaml syntax is always invalid json |
04:26:05
| <Shayanjm> | ljharb: technically YAML is a superset of JSON. It's a weird relationship |
04:26:09
| <ljharb> | some tiny parts of yaml and json are the same, but that doesn't mean anything |
04:26:09
| <the8thbit> | ljharb: But yaml syntax includes json syntax |
04:26:19
| * crazydiamond | joined |
04:26:20
| <ljharb> | wow, hm |
04:26:26
| <Shayanjm> | the8thbit: in the same way that rectangles can include squares |
04:26:29
| * bjoerge | joined |
04:26:31
| <Shayanjm> | but squares don't always include rectangles |
04:26:36
| <ljharb> | screw yaml anyways, toml is better |
04:26:37
| <the8thbit> | right |
04:26:39
| <Shayanjm> | in this case, YAML is the rectangle and JSON is the square. |
04:26:49
| <Shayanjm> | You wouldn't say "I have a rectangle that isn't a square" |
04:26:51
| * TjRus | joined |
04:26:53
| <the8thbit> | superset vs. subset vs. equivalent set |
04:27:00
| <LouisT> | pfft, i think we can all agree that xml is the best |
04:27:07
| * Shayanjm | quits |
04:27:10
| <the8thbit> | LouisT: You're funny! |
04:27:17
| <Shayanjm> | LouisT wins |
04:27:21
| <Shayanjm> | move along everyone |
04:27:21
| <the8thbit> | lol |
04:27:28
| * wxo | joined |
04:27:42
| * snathan | joined |
04:28:02
| * therealkoopa | quit (Remote host closed the connection) |
04:28:07
| * ckknight | quit (Ping timeout: 264 seconds) |
04:28:59
| * audy | joined |
04:29:17
| * audy | part ("something went wrong") |
04:29:33
| * sboudrias | quit (Ping timeout: 264 seconds) |
04:29:49
| * intothev01d | quit |
04:29:51
| * bsdguru | joined |
04:29:51
| * ssafejava | quit (Read error: Connection reset by peer) |
04:30:02
| * ssafejava | joined |
04:30:41
| * jkridner | joined |
04:30:41
| * jkridner | quit (Changing host) |
04:30:41
| * jkridner | joined |
04:31:01
| * TjRus | quit (Ping timeout: 246 seconds) |
04:31:07
| * GreenJello | joined |
04:31:08
| * jabberwocky | joined |
04:31:26
| <LouisT> | oh, i killed it with a single line, wooo |
04:31:39
| * pringlescan1 | quit (Quit: Leaving.) |
04:31:56
| * abraxas | quit (Remote host closed the connection) |
04:32:01
| * snathan | quit (Ping timeout: 240 seconds) |
04:32:01
| * plutoniix | quit (Ping timeout: 240 seconds) |
04:32:32
| * abraxas | joined |
04:32:50
| * ckknight | joined |
04:33:42
| * blessYahu | quit (Read error: Connection reset by peer) |
04:34:42
| * blessYahu | joined |
04:35:03
| * jkridner|work | joined |
04:35:29
| * GreenJello | quit (Ping timeout: 240 seconds) |
04:35:34
| * plutoniix | joined |
04:36:23
| * geiltalasdair | joined |
04:36:49
| * abraxas | quit (Ping timeout: 240 seconds) |
04:36:49
| * jkridner | quit (Ping timeout: 240 seconds) |
04:36:56
| * noobee_ | joined |
04:37:43
| * Dimik | quit (Ping timeout: 264 seconds) |
04:38:14
| * christianbking | quit (Quit: This computer has gone to sleep) |
04:38:34
| * christianbking | joined |
04:38:35
| * paulfryzel | joined |
04:38:49
| * geilt | quit (Ping timeout: 240 seconds) |
04:38:54
| * geiltadecht | joined |
04:38:59
| * blessYahu | quit (Ping timeout: 240 seconds) |
04:38:59
| * noobee | quit (Ping timeout: 240 seconds) |
04:39:12
| <LouisT> | so, i'm generating ranges (a..z, a..zz and so on), i'm trying to calculate the size that any range would be if i decided to save it to disk -- i'm having a hell of a time as i suck at math, anyone have any ideas/pointers? i've scrapped the last 4 functions i've tested as they all failed horribly |
04:39:19
| * nrw | quit (Quit: Leaving.) |
04:39:48
| <LouisT> | i know that a..zzz would be 18278 (52.84KB) but i'd rather not have to generate the entire range to figure it out each time >.> |
04:40:24
| <\malex\> | LouisT: how ar eyou generating the range? |
04:40:49
| * geiltalasdair | quit (Ping timeout: 240 seconds) |
04:40:51
| * Reptar_ | joined |
04:41:00
| <LouisT> | \malex\: https://github.com/LouisT/RangeGen/blob/master/index.js |
04:41:23
| * siqi | joined |
04:41:37
| * ckknight | quit (Ping timeout: 240 seconds) |
04:41:37
| * qw3rtman | quit (Ping timeout: 240 seconds) |
04:41:58
| * geiltalasdair | joined |
04:42:25
| <LouisT> | i can calculate the number of iterations it'd take without having to actually generate it.. so a..zzzzzzzzzzzzzz would require 67090373691429040000 while loops (decrementing) |
04:42:49
| * paulfryzel | quit (Ping timeout: 240 seconds) |
04:43:40
| * idiomatic | joined |
04:43:59
| <\malex\> | LouisT: so would the answer be count_loops(a..z) + count_loops(aa..zz) + ...? |
04:44:01
| * geiltadecht | quit (Ping timeout: 240 seconds) |
04:44:01
| * Reptar | quit (Ping timeout: 240 seconds) |
04:44:20
| * iliketurtles | joined |
04:44:24
| * Chevex | quit (Quit: Leaving...) |
04:44:29
| * jabberwocky | quit (Ping timeout: 240 seconds) |
04:44:32
| <\malex\> | erm, count_loops(a..z) + 2 * count_loops(aa..zz) |
04:44:34
| * Nefarious_` | joined |
04:44:46
| <LouisT> | uh |
04:44:50
| <LouisT> | i'm not sure what you mean |
04:44:53
| * williamli | joined |
04:45:25
| <LouisT> | also the second step would probably be better with aa..az if i had to run it like that each time, but i don't really want to generate anything besides the number of loops i'd need |
04:45:43
| * siqi | quit (Ping timeout: 246 seconds) |
04:46:00
| <\malex\> | so if you are always going from "a" to "zzzz...", would the answer be 26 + 2 * 26 + ... len("zzzz...") * 26? |
04:46:24
| * rahul_j | quit (Quit: rahul_j) |
04:46:38
| <LouisT> | 26 + 26^2 + 26^3 |
04:46:42
| <\malex\> | no, * |
04:46:46
| * rahul_j | joined |
04:46:50
| * kirfu1 | quit (Quit: Leaving.) |
04:46:58
| * rafaelrinaldi | joined |
04:47:05
| <\malex\> | a..z uses 26 bytes. aa..zz uses 52 bytes, aaa..zzz uses 78 bytes, etc |
04:47:17
| * toastynerd | joined |
04:47:29
| * johnkevinmbasco | quit (Ping timeout: 246 seconds) |
04:47:33
| <LouisT> | aaa.zzz would be bigger than 78 bytes |
04:47:41
| <\malex\> | oh, crap, yeah |
04:47:46
| <\malex\> | looks like i can't think :) |
04:47:50
| * ckknight | joined |
04:47:51
| * k4r1m | quit (Remote host closed the connection) |
04:48:07
| <LouisT> | 52728 bytes |
04:48:13
| <\malex\> | so it would be 3 * 26^3? |
04:48:21
| <\malex\> | right |
04:48:41
| * johnkevinmbasco | joined |
04:48:49
| * Vovko_ | joined |
04:49:02
| * esundahl | joined |
04:49:02
| * esundahl | quit (Client Quit) |
04:49:08
| * Vovko | quit (Read error: Connection reset by peer) |
04:49:08
| <LouisT> | but the issue is, i can't do 26^67090373691429040000 |
04:49:19
| <\malex\> | well, you don't need to |
04:49:30
| <\malex\> | the 3 in that case is the length of the string "zzz..." |
04:49:35
| <LouisT> | ah yea true |
04:49:36
| <LouisT> | ok |
04:49:36
| <LouisT> | so |
04:50:06
| <\malex\> | so if you did a..zzzzz it would be 26 + 2 * 26^2 + 3 * 26^3 + 4 * 26^4 + 5 * 26^5 |
04:50:13
| * petschm | quit (Disconnected by services) |
04:50:13
| * petschm_ | joined |
04:50:15
| * petschm_ | changed nick to petschm |
04:50:27
| <\malex\> | so if you are always ending on zzz... and starting with a, it's kind of easy |
04:50:48
| <LouisT> | well no, it could be any letter combination |
04:50:57
| <LouisT> | so sdjh...iksjd |
04:51:10
| <\malex\> | right |
04:51:14
| * munichlinux | quit (Quit: Leaving...) |
04:51:44
| * pers3us | joined |
04:51:53
| <garthk> | Am I nuts for thinking 150KB is a lot of JavaScript? |
04:51:58
| * AndChat|507 | joined |
04:52:15
| * hammadfauz | quit (Remote host closed the connection) |
04:52:37
| * toastynerd | quit (Remote host closed the connection) |
04:52:59
| * rho_ | quit (Ping timeout: 240 seconds) |
04:52:59
| * noobee_ | quit (Read error: Connection reset by peer) |
04:53:01
| <LouisT> | garthk: yes |
04:53:04
| * bsdguru | quit (Quit: bsdguru) |
04:53:13
| * geilt | joined |
04:53:33
| <garthk> | LouisT: Huh. |
04:53:45
| <LouisT> | 150 ins't THAT much |
04:54:00
| <LouisT> | i mean, it's a lot.. but it could be worse |
04:54:07
| * mikolalysenko | quit (Ping timeout: 246 seconds) |
04:54:29
| * jtw | quit |
04:54:53
| <garthk> | I'm thinking more at the browser end. |
04:55:11
| * geiltalasdair | quit (Ping timeout: 246 seconds) |
04:55:11
| * jeswin | quit (Ping timeout: 246 seconds) |
04:55:20
| <garthk> | React.js is 100, minimum. 150 with addons. 600 with addons if you don't minimise it. |
04:55:51
| <LouisT> | mmmmmmm it's not fantastic.. but most computers/network speeds wouldn't really be noticeable |
04:55:57
| * hammadfauz | joined |
04:55:58
| <LouisT> | well yea, minimize that |
04:56:17
| * drx_ | joined |
04:56:19
| * Vovko_ | quit (Ping timeout: 264 seconds) |
04:56:34
| * ckknight | quit (Ping timeout: 246 seconds) |
04:57:02
| * noobee | joined |
04:58:03
| * boogie | quit (Remote host closed the connection) |
04:58:06
| * contrahax | quit (Quit: Sleeping) |
04:58:08
| * Nefarious_` | quit (Read error: Connection reset by peer) |
04:58:25
| * AndChat|507 | quit (Ping timeout: 240 seconds) |
04:58:27
| * Nefarious_` | joined |
04:59:51
| * mikeal | joined |
05:00:08
| * arunasank | joined |
05:00:24
| * rafaelrinaldi | quit (Remote host closed the connection) |
05:00:32
| * harth_ | quit (Read error: Connection reset by peer) |
05:00:57
| * rafaelrinaldi | joined |
05:01:07
| * euoia | quit (Ping timeout: 246 seconds) |
05:01:08
| * harth_ | joined |
05:01:51
| * ckknight | joined |
05:02:18
| * airandfingers | joined |
05:02:37
| * mu | quit (Remote host closed the connection) |
05:02:53
| * stonebranch | joined |
05:02:53
| * mikeal1 | joined |
05:03:07
| * willwhite | quit (Remote host closed the connection) |
05:03:09
| * mikolalysenko | joined |
05:03:18
| * Nefarious_` | quit (Read error: Connection reset by peer) |
05:03:38
| * kketch | joined |
05:04:05
| * mikeal | quit (Read error: Connection reset by peer) |
05:04:11
| * blakehall | changed nick to [blakehall] |
05:04:15
| * mu | joined |
05:04:59
| * rafaelrinaldi | quit (Ping timeout: 240 seconds) |
05:05:10
| * geilt | quit (Read error: No route to host) |
05:05:38
| * geilt | joined |
05:06:20
| * jetienne | joined |
05:06:31
| * williamli | quit (Quit: WeeChat 0.3.8) |
05:07:03
| * kketch | quit (Client Quit) |
05:07:07
| <LouisT> | \malex\: yea, i don't think it's possible... if i did my math right (which i'm TERRIBLE at math) means i'd have 4327998309668840068342187982070743040000 bytes and i can't get the size from that |
05:07:18
| * jetienne | part |
05:07:25
| * stonebranch | quit (Ping timeout: 246 seconds) |
05:08:19
| * mikolalysenko | quit (Ping timeout: 264 seconds) |
05:08:49
| * johnkevinmbasco | quit (Ping timeout: 240 seconds) |
05:09:13
| * Xiti | quit (Ping timeout: 240 seconds) |
05:09:33
| * pers3us_ | joined |
05:10:00
| * rmg | quit (Remote host closed the connection) |
05:10:01
| * johnkevinmbasco | joined |
05:10:05
| <the8thbit> | hmm |
05:10:07
| * andrewaclt | quit (Ping timeout: 264 seconds) |
05:10:12
| <the8thbit> | I'm using yamljs |
05:10:13
| * rauchg | quit (Remote host closed the connection) |
05:10:20
| <the8thbit> | when I try to parse this string: |
05:10:21
| <the8thbit> | { pio_iid: '15', |
05:10:21
| <the8thbit> | pio_itypes: [ 'uitem' ], |
05:10:21
| <the8thbit> | pio_startT: 1394687309009, |
05:10:21
| <the8thbit> | pio_inactive: false } |
05:10:42
| <the8thbit> | I get this error: |
05:10:43
| * williamli | joined |
05:10:43
| <the8thbit> | TypeError: Object #<Object> has no method 'split' |
05:10:44
| * bzalasky | quit |
05:11:07
| * rmg | joined |
05:11:16
| * ckknight | quit (Ping timeout: 246 seconds) |
05:11:19
| * boomy | quit (Ping timeout: 264 seconds) |
05:11:28
| * assia_t | joined |
05:11:48
| * mu | quit (Quit: Ich sage euch: man muß noch Chaos in sich haben, um einen tanzenden Stern gebären zu können.) |
05:11:52
| <myndzi> | the8thbit: that's because Objects don't have a split method |
05:11:57
| <myndzi> | what are you trying to do |
05:12:01
| <LouisT> | myndzi: GOOD ONE |
05:12:02
| <LouisT> | lol |
05:12:05
| * Ge | quit (Quit: ...) |
05:12:31
| * tklun | quit (Ping timeout: 264 seconds) |
05:12:43
| <the8thbit> | myndzi: I'm trying to parse YAML into an object |
05:12:52
| <myndzi> | but you already have an object? |
05:13:01
| <myndzi> | the string you pasted is not yaml |
05:13:05
| <myndzi> | it is a javascript object |
05:13:07
| * pers3us | quit (Ping timeout: 264 seconds) |
05:13:09
| <the8thbit> | Oh |
05:13:19
| <ljharb> | eesh, why would you want to work with yaml |
05:13:23
| <the8thbit> | Then when I print it to console, why don't I get [Object object] |
05:13:25
| <the8thbit> | ? |
05:13:27
| <ljharb> | it's full of security holes and features that don't work in JS anyways |
05:13:48
| <ljharb> | the8thbit: it might be a string of JS code that represents an object, but that's not a valid serialization of anything. |
05:13:49
| <myndzi> | because console.log pretty prints shallow object values |
05:14:03
| <myndzi> | if it's an object like 2 keys deep it will just say object unless you use util.inspect |
05:14:04
| <LouisT> | i believe the word you're looking for is ANYWAY -- also, the8thbit is the error before or after you parse yaml? |
05:14:12
| <myndzi> | or if you call tostring on it i think |
05:14:27
| * Ge | joined |
05:14:29
| <the8thbit> | Ah, you guys are right |
05:14:36
| <the8thbit> | its already an object |
05:14:37
| * btiberi | quit (Quit: This computer has gone to sleep) |
05:15:07
| <the8thbit> | I only thought it was yaml because I ran it through a yaml validator and it came out okay |
05:15:12
| * Okaria | quit (Ping timeout: 265 seconds) |
05:15:45
| * Okaria | joined |
05:16:07
| * zchrykng | quit (Quit: Leaving) |
05:16:11
| * aminRX | quit |
05:16:39
| * Ge | quit (Client Quit) |
05:16:54
| * christianbking | quit (Quit: This computer has gone to sleep) |
05:17:15
| * bsdguru | joined |
05:17:29
| * _senseinerd | joined |
05:17:33
| * sdouble_ | changed nick to sdouble |
05:17:44
| * _senseinerd | quit (Max SendQ exceeded) |
05:17:47
| * medoix | quit (Quit: sleeping) |
05:18:01
| * caitp | quit (Ping timeout: 240 seconds) |
05:18:24
| * CutAndPastey | joined |
05:18:50
| * jalleyne | quit (Remote host closed the connection) |
05:19:12
| * jkridner|work | changed nick to jkridner |
05:19:13
| * jkridner | quit (Changing host) |
05:19:13
| * jkridner | joined |
05:19:27
| * jalleyne | joined |
05:20:19
| * _wli | quit (Quit: Textual IRC Client: www.textualapp.com) |
05:20:42
| * abraxas | joined |
05:20:52
| * Daunt02 | joined |
05:20:58
| * rmg | quit (Remote host closed the connection) |
05:22:08
| * cpup | quit (Ping timeout: 246 seconds) |
05:22:08
| * eaj | quit (Quit: Leaving...) |
05:22:11
| * ckknight | joined |
05:22:12
| * sk | quit (Read error: Connection reset by peer) |
05:22:22
| * qw3rtman | joined |
05:22:33
| * kirfu1 | joined |
05:23:17
| * teasherm | joined |
05:23:55
| * jalleyne | quit (Ping timeout: 264 seconds) |
05:24:31
| * pawn | joined |
05:24:39
| * sreeix | joined |
05:24:44
| <pawn> | What IRC clients does everyone use? |
05:25:07
| * rmg | joined |
05:25:27
| * jalleyne | joined |
05:25:35
| * pers3us_ | quit (Quit: Computer has gone to sleep.) |
05:25:49
| * funkytek | joined |
05:25:54
| * Ge | joined |
05:26:00
| <\malex\> | LouisT: why are you writing the range to disk anyway? |
05:26:12
| * pers3us_ | joined |
05:26:29
| <LouisT> | \malex\: well, i wanted to know how much memory a range could use as well |
05:26:29
| * abraxas | quit (Remote host closed the connection) |
05:26:31
| <LouisT> | just to know |
05:26:35
| <LouisT> | i don't really have to write to it |
05:27:08
| * abraxas | joined |
05:27:28
| * cpup | joined |
05:27:32
| <\malex\> | LouisT: ah |
05:27:36
| <\malex\> | LouisT: so what's this for anyway? |
05:27:37
| * teasherm | quit (Ping timeout: 240 seconds) |
05:27:38
| * TjRus | joined |
05:27:44
| <LouisT> | \malex\: what do you maen? |
05:27:46
| <LouisT> | mean, as well |
05:27:54
| <\malex\> | LouisT: why generate such large ranges? |
05:27:57
| * sk | joined |
05:28:09
| <LouisT> | i'm not using it for anything actually |
05:28:15
| <LouisT> | i wrote it because js doesn't have a native range |
05:28:22
| * benv | joined |
05:28:36
| <LouisT> | and every range i've found didn't support multiple letters |
05:28:38
| * rmg | quit (Remote host closed the connection) |
05:29:10
| * jmar777 | quit (Remote host closed the connection) |
05:29:16
| <\malex\> | LouisT: i'm just trying to think of when you'd ever need to get the array of aaa..zzz |
05:29:23
| <\malex\> | LouisT: and i'm not sure i can |
05:29:41
| * mahesh | joined |
05:29:49
| * Nefarious_` | joined |
05:29:50
| * MikeMatrix_ | joined |
05:29:58
| <\malex\> | LouisT: i can see why you'd need to get the Nth value in the range aaa..zzz, but not the entire range |
05:30:07
| <LouisT> | well yea |
05:30:10
| <LouisT> | you can do that as well |
05:30:17
| * rmg | joined |
05:30:18
| * sthaha | quit (Quit: Leaving) |
05:30:25
| <\malex\> | but you don't necessarily have to calculate the range to get that |
05:30:25
| <LouisT> | but i mean, who knows why someone could need a range |
05:30:29
| * pers3us_ | quit (Ping timeout: 240 seconds) |
05:30:32
| <LouisT> | yes i know |
05:30:45
| <\malex\> | that's what i mean, remove the option to return the entire range, and your problem goes away :D |
05:30:55
| <LouisT> | eh maybe |
05:31:05
| * jxson | quit (Remote host closed the connection) |
05:31:07
| * ckknight | quit (Ping timeout: 264 seconds) |
05:31:25
| * vlad_starkov | joined |
05:31:26
| * fiveisprime | joined |
05:31:30
| <LouisT> | but it wasn't really a problem, i just wanted to do it for fun |
05:31:32
| * fiveisprime | quit (Client Quit) |
05:31:34
| * jxson | joined |
05:31:43
| * abraxas | quit (Ping timeout: 264 seconds) |
05:31:58
| * badon | joined |
05:31:59
| * qw3rtman | quit (Ping timeout: 240 seconds) |
05:32:19
| * TjRus | quit (Ping timeout: 264 seconds) |
05:32:29
| * arduix | quit (Ping timeout: 240 seconds) |
05:32:34
| * christianbking | joined |
05:32:50
| <LouisT> | but really, \malex\, who knows why someone would want it.. it's just nice to have the option if needed |
05:32:54
| * MikeMatrix | quit (Ping timeout: 245 seconds) |
05:33:40
| * cpup | quit (Ping timeout: 246 seconds) |
05:33:52
| <LouisT> | hm |
05:34:00
| <\malex\> | LouisT: sure, but once you get past 2-3 digits, the memory starts to really add up anyway |
05:34:03
| <LouisT> | i could add an "inRange()" function as well |
05:34:20
| <LouisT> | \malex\: that's why i have an iterator as well |
05:34:23
| <LouisT> | not just a huge array |
05:34:41
| <\malex\> | yep, i saw |
05:35:59
| * jxson | quit (Ping timeout: 240 seconds) |
05:36:08
| * zumba_addict | quit (Ping timeout: 246 seconds) |
05:36:23
| <\malex\> | LouisT: you could also give the user a choice of what alphabet to use. the user could pass in the dec alphabet, or abcdef, or whatever, to limit it |
05:36:43
| <LouisT> | what do you mean? |
05:36:50
| * ckknight | joined |
05:36:52
| * jbalsano | quit (Quit: jbalsano) |
05:36:53
| * dshaw_ | quit (Read error: Connection reset by peer) |
05:36:55
| * ljharb | quit (Quit: ljharb) |
05:37:03
| * vlad_starkov | quit (Remote host closed the connection) |
05:37:10
| * cpup | joined |
05:37:22
| <\malex\> | say you are generating an id for a person to eventually read off a paper. you want to remove I,1,0,O,Q,etc because they can be mixed up |
05:37:55
| * Swizec | joined |
05:37:57
| * jbalsano | joined |
05:38:20
| * pawn | quit (Remote host closed the connection) |
05:38:24
| * dshaw_ | joined |
05:38:42
| * erichocean | quit (Read error: Connection reset by peer) |
05:39:06
| * erichocean | joined |
05:39:11
| * vlad_starkov | joined |
05:39:29
| * paulfryzel | joined |
05:39:32
| * Xedd | quit (Quit: Page closed) |
05:39:54
| * ecthiender | joined |
05:41:03
| * jabberwocky | joined |
05:41:12
| * zizzl | joined |
05:41:23
| * pers3us_ | joined |
05:41:58
| * tiblock | quit |
05:42:01
| * garthk | quit (Quit: garthk) |
05:42:16
| * GreenDog | joined |
05:43:29
| * paulfryzel | quit (Ping timeout: 240 seconds) |
05:43:32
| * jalleyne | quit (Remote host closed the connection) |
05:43:38
| * AndChat|507 | joined |
05:43:43
| * vlad_starkov | quit (Ping timeout: 264 seconds) |
05:44:04
| * hammadfauz | quit (Remote host closed the connection) |
05:44:04
| * siqi | joined |
05:44:07
| * jalleyne | joined |
05:44:49
| * Daunt02 | quit (Ping timeout: 240 seconds) |
05:45:09
| * skkeeper | quit (Ping timeout: 264 seconds) |
05:45:10
| * jbalsano | quit (Quit: jbalsano) |
05:45:29
| * jabberwocky | quit (Ping timeout: 240 seconds) |
05:45:37
| * zizzl | quit (Ping timeout: 240 seconds) |
05:45:43
| * tklun | joined |
05:46:43
| * ckknight | quit (Ping timeout: 264 seconds) |
05:46:44
| <assia_t> | is there any solid tool for node.js profiling? |
05:48:01
| * siqi | quit (Ping timeout: 240 seconds) |
05:48:12
| * Daunt02 | joined |
05:48:24
| * hammadfauz | joined |
05:48:29
| * jalleyne | quit (Ping timeout: 240 seconds) |
05:49:37
| * AndChat|507 | quit (Read error: Connection reset by peer) |
05:49:56
| * Swizec | quit (Quit: Computer has gone to sleep.) |
05:50:53
| * sveisvei | joined |
05:51:16
| * Monkeytoe | quit |
05:51:52
| * skkeeper | joined |
05:52:25
| * SamSelikoff | quit |
05:52:50
| * ckknight | joined |
05:52:56
| * sensen | quit (Ping timeout: 246 seconds) |
05:53:15
| * Hebo | quit |
05:53:35
| <milkandtang> | assia_t: http://concurix.com/ (I've not used this, but they visited PDXNode and seemed like nice people.) Free trial so you can give it a go. |
05:54:34
| <assia_t> | milkandtang: thanks, I'll take a look |
05:54:41
| * assia_t | changed nick to yamadapc |
05:55:06
| * tamalzki | joined |
05:55:12
| * toastynerd | joined |
05:55:17
| * jklb | quit (Remote host closed the connection) |
05:55:47
| * teasherm | joined |
05:55:49
| * tamalzki | part ("Leaving") |
05:55:52
| * jklb | joined |
05:57:00
| * fbanna | quit (Quit: Leaving) |
05:57:07
| * stonebranch | joined |
05:57:13
| * mtsr | joined |
05:57:19
| * xaq | quit (Remote host closed the connection) |
05:57:22
| * Daunt02 | quit (Remote host closed the connection) |
05:58:41
| * kketch | joined |
05:58:59
| * ecthiender | quit (Ping timeout: 240 seconds) |
05:59:59
| * jklb | quit (Ping timeout: 240 seconds) |
06:00:06
| * premsun | joined |
06:00:08
| * Billowper | joined |
06:00:48
| * frkout_ | joined |
06:01:55
| * ecthiender | joined |
06:02:19
| * stonebranch | quit (Ping timeout: 264 seconds) |
06:03:31
| * ckknight | quit (Ping timeout: 264 seconds) |
06:03:51
| * kronion | quit (Remote host closed the connection) |
06:03:59
| * frkout | quit (Ping timeout: 240 seconds) |
06:04:13
| * tkuchiki | quit (Remote host closed the connection) |
06:04:25
| * cpup | quit (Ping timeout: 240 seconds) |
06:04:33
| * MikeMatrix | joined |
06:04:40
| * tkuchiki | joined |
06:04:53
| * ljharb | joined |
06:05:05
| * Reptar_ | quit (Remote host closed the connection) |
06:05:55
| * MikeMatrix_ | quit (Ping timeout: 264 seconds) |
06:06:27
| * kawa2014 | joined |
06:06:50
| * GreenDog | quit (Read error: Connection reset by peer) |
06:07:32
| * not_a_guest | quit (Quit: Connection closed for inactivity) |
06:07:38
| * cwb_ | joined |
06:08:48
| * marmoset_ | joined |
06:08:52
| * ckknight | joined |
06:09:02
| * GreenDog | joined |
06:09:14
| * cpup | joined |
06:10:15
| * blevs | joined |
06:10:17
| * blevs | quit (Max SendQ exceeded) |
06:10:19
| <cwb_> | I'm having trouble getting relative requires working via the "lib" directory in my npm package... how do I configure so that require("foo/bar") points to foo/lib/bar.js |
06:10:29
| * toastynerd | quit (Remote host closed the connection) |
06:11:39
| <ljharb> | cwb_: require('./foo/bar') |
06:11:54
| <ljharb> | cwb_: without the ./ it thinks you're pulling from npm |
06:12:29
| * cloudbender | quit (Ping timeout: 240 seconds) |
06:12:40
| <cwb_> | lharb... I may have miscommunicated. When I install the package itself in another project, I'd like for package "foo" to allow me to require("foo/bar") from /foo/lib/bar.js |
06:12:57
| * YoY | quit (Quit: Leaving...) |
06:12:59
| <ljharb> | so you want require('foo/lib/bar') ? |
06:13:11
| * dennismartnesson | quit (Remote host closed the connection) |
06:13:11
| * GreenDog | quit (Remote host closed the connection) |
06:13:19
| <ljharb> | foo/bar says "give me bar.js, inside the foo npm module" |
06:13:21
| <cwb_> | right, but I want the whole require set to start at /lib |
06:13:33
| <ljharb> | yeah i don't think that's how it works |
06:13:45
| <ljharb> | require('foo/paths/inside/foo') |
06:13:56
| <cwb_> | I've done it before, and I just forget how... it's some way the package.json is configured |
06:13:58
| * YoY | joined |
06:14:03
| * r04r | changed nick to r04r|away |
06:14:09
| * xiinotulp | joined |
06:14:10
| <ljharb> | make "bar.js" in the root of foo |
06:14:17
| <ljharb> | that then in turn requires ./lib/bar |
06:14:23
| * r04r|away | changed nick to r04r |
06:14:25
| <ljharb> | but really, that suggests "bar" should be its own module. |
06:14:36
| <ljharb> | it's a code smell imo if you're requiring pieces of a single module |
06:15:16
| <cwb_> | I disagree... a package that contains multiple modules makes a lot of sense when they are all related to a single domain |
06:15:28
| <cwb_> | require("oauth2/access_token") |
06:15:37
| <cwb_> | require("oauth2/service") |
06:15:37
| <cwb_> | etc |
06:15:45
| <ljharb> | i'd still say those should be separate modules that are deps of "oauth2" |
06:15:50
| <ljharb> | but ok |
06:16:00
| * r04r | changed nick to r04r|away |
06:16:01
| * johnkevinmbasco | quit (Ping timeout: 240 seconds) |
06:16:01
| <ljharb> | (oauth2 is a whole code smell already, so there it is) |
06:16:03
| * johnkevi_ | joined |
06:17:01
| <cwb_> | What is the smell? A package should contain modules related to a specific domain, and be modular enough (ie: "modules") to be pulled in specifically |
06:17:11
| * iliketurtles | quit (Quit: zzzzz…..) |
06:17:13
| * plutoniix | quit (Ping timeout: 240 seconds) |
06:17:37
| <ljharb> | lol no i mean oauth2 itself |
06:17:45
| <ljharb> | but the smell is, a module should do 1 thing |
06:17:48
| * mikehaas763 | quit |
06:17:53
| <ljharb> | not 1 domain's worth of things |
06:17:55
| <cwb_> | right, and a package should have multiple modules |
06:17:59
| <cwb_> | the package is the domain |
06:18:02
| <ljharb> | package === module |
06:18:05
| <cwb_> | the module is a specific aspect of that domain |
06:18:06
| <LouisT> | \malex\: you still there? |
06:18:15
| <ljharb> | "package" isn't a node word |
06:18:28
| <cwb_> | right, but it's an npm word :) |
06:18:41
| <cwb_> | is there a specific npm irc? |
06:18:49
| * wilmoore | quit (Ping timeout: 240 seconds) |
06:19:04
| <cwb_> | looks like there is |
06:19:29
| * ckknight | quit (Ping timeout: 240 seconds) |
06:20:18
| * feross | quit (Quit: feross) |
06:21:07
| * feross | joined |
06:21:14
| * xiinotulp | changed nick to plutoniix |
06:21:14
| <ljharb> | an npm package is the same as a node module. the prevailing best practice is that a module/package should do one thing :-) |
06:21:44
| * funkytek | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:22:38
| * h0lyalg0rithm | joined |
06:22:41
| * chelly | quit (Quit: Connection closed for inactivity) |
06:23:15
| <looking_for_work> | do you guys run npm under an admin account |
06:23:30
| * r04r|away | changed nick to r04r |
06:23:54
| * sk | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:24:51
| * ckknight | joined |
06:24:53
| * GreenDog | joined |
06:25:25
| * jalmeida | joined |
06:25:44
| * lifelike | quit (Read error: Connection reset by peer) |
06:26:15
| * David | quit (Read error: Connection reset by peer) |
06:26:54
| * kketch | quit (Quit: kketch) |
06:27:13
| * cpup | quit (Ping timeout: 240 seconds) |
06:28:29
| * TjRus | joined |
06:28:29
| * badon | quit (Ping timeout: 269 seconds) |
06:28:34
| * snathan | joined |
06:28:42
| * davidbanham | quit (Remote host closed the connection) |
06:28:45
| <LouisT> | if i had a range a,b,c,d....z would you consider d being 3rd in that range? |
06:28:55
| * mtsr | quit (Quit: This computer has gone to sleep) |
06:29:00
| * hygl_ | joined |
06:29:44
| * Piotras | joined |
06:29:44
| * BlueMir | joined |
06:29:47
| <SomeoneWeird> | LouisT, for a zero indexed array? sure |
06:29:52
| * feross | quit (Quit: feross) |
06:30:15
| <LouisT> | SomeoneWeird: that seems to be my issue, idk if i should consider it zero or not |
06:30:15
| <LouisT> | lol |
06:30:43
| * badon | joined |
06:30:56
| <SomeoneWeird> | all js arrays are zero indexed |
06:31:00
| * badon | quit (Read error: Connection reset by peer) |
06:31:08
| <LouisT> | SomeoneWeird: true.. |
06:31:19
| <LouisT> | i guess i'll go with that then, thanks, i didn't even think about it that way lol |
06:31:49
| * cpup | joined |
06:32:10
| * pringlescan1 | joined |
06:32:19
| * ts33kr | quit (Ping timeout: 264 seconds) |
06:32:26
| * toastynerd | joined |
06:32:44
| * NotMyself | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:32:49
| * snathan | quit (Ping timeout: 240 seconds) |
06:32:49
| * TjRus | quit (Ping timeout: 240 seconds) |
06:32:50
| * akiva | quit (Ping timeout: 246 seconds) |
06:33:50
| * madboxs | quit (Quit: 전 이만 갑니다.) |
06:34:07
| * ts33kr | joined |
06:34:22
| * toastynerd | quit (Read error: No route to host) |
06:34:22
| * yamadapc | quit (Remote host closed the connection) |
06:34:34
| * montzark | quit (Ping timeout: 246 seconds) |
06:34:53
| * GreenDog | quit (Remote host closed the connection) |
06:34:59
| * ckknight | quit (Ping timeout: 269 seconds) |
06:34:59
| * toastynerd | joined |
06:35:00
| * feross | joined |
06:35:08
| * toastynerd | quit (Remote host closed the connection) |
06:35:14
| * feross | quit (Client Quit) |
06:35:47
| * siqi | joined |
06:35:55
| * mtsr | joined |
06:36:08
| * ecthiender | quit (Read error: Connection reset by peer) |
06:36:14
| * sensen | joined |
06:36:25
| * pringlescan1 | quit (Ping timeout: 240 seconds) |
06:36:27
| * rmg | quit (Remote host closed the connection) |
06:36:40
| * martijnk | quit (Ping timeout: 246 seconds) |
06:36:46
| <sinclair|work> | does does not not provide raw socket support |
06:36:58
| <sinclair|work> | *does nodejs not not provide raw socket support |
06:36:59
| * ecthiender | joined |
06:37:03
| <sinclair|work> | *does nodejs not provide raw socket support |
06:37:05
| <sinclair|work> | ^ |
06:37:09
| <sinclair|work> | no, wait |
06:37:22
| <sinclair|work> | why does nodejs not provide raw socket support? |
06:37:27
| * benv | quit (Quit: Computer has gone to sleep.) |
06:37:28
| <sinclair|work> | ^ |
06:37:38
| * sinclair|work | notes, its been a very long day |
06:37:51
| * shadowbroker | quit (Remote host closed the connection) |
06:37:55
| * David | joined |
06:38:06
| * badon | joined |
06:38:25
| * TyrfingMjolnir | quit (Quit: TyrfingMjolnir) |
06:38:53
| * ckknight | joined |
06:40:00
| * JoshGlzBrk | joined |
06:40:20
| * paulfryzel | joined |
06:40:25
| * cpup | quit (Ping timeout: 240 seconds) |
06:40:28
| * benv | joined |
06:40:32
| * captain_morgan | joined |
06:41:58
| * jabberwocky | joined |
06:42:49
| * feross | joined |
06:43:29
| * sensen | quit (Read error: Connection reset by peer) |
06:43:33
| * idiomatic | quit (Quit: Textual IRC Client: www.textualapp.com) |
06:43:41
| * kazu69 | quit (Ping timeout: 246 seconds) |
06:44:12
| * liwen | joined |
06:44:29
| * paulfryzel | quit (Ping timeout: 240 seconds) |
06:44:41
| * cpup | joined |
06:44:43
| * ndrei | joined |
06:44:55
| * nwmcsween | quit (Ping timeout: 264 seconds) |
06:45:08
| * marmoset_ | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:45:19
| * wwicks | quit (Quit: wwicks) |
06:45:23
| * nwmcsween | joined |
06:45:38
| * liquid-silence | joined |
06:45:38
| * liquid-silence | quit (Changing host) |
06:45:38
| * liquid-silence | joined |
06:45:48
| * nwmcsween | changed nick to Guest20669 |
06:46:01
| * jabberwocky | quit (Ping timeout: 240 seconds) |
06:46:20
| * r04r | changed nick to r04r|away |
06:46:44
| * Ge | quit (Quit: ...) |
06:46:47
| * kazu69 | joined |
06:47:19
| * David | quit (Ping timeout: 264 seconds) |
06:47:44
| * Reptar | joined |
06:48:29
| * ckknight | quit (Ping timeout: 240 seconds) |
06:49:38
| * tasslehoff | joined |
06:50:08
| * relix | joined |
06:51:25
| * stonebranch | joined |
06:51:53
| * abraxas | joined |
06:52:52
| * thealphanerd | joined |
06:53:00
| * LoneStar99 | quit (Quit: Leaving.) |
06:53:51
| * ckknight | joined |
06:53:53
| * jwulf | quit (Quit: Leaving) |
06:55:23
| * gprasant | joined |
06:55:37
| * ns5 | quit (Remote host closed the connection) |
06:55:55
| * stonebranch | quit (Ping timeout: 246 seconds) |
06:55:57
| * bsdguru | quit (Quit: bsdguru) |
06:56:11
| * David | joined |
06:56:19
| * ns5 | joined |
06:56:38
| * noobee | quit (Remote host closed the connection) |
06:56:45
| * ns5 | part |
06:57:28
| * bsdguru | joined |
06:57:29
| * ndrei | quit (Ping timeout: 240 seconds) |
06:57:51
| * Mentioum | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:58:15
| * sreeix | quit (Quit: sreeix) |
06:58:48
| * foofoobar | joined |
06:59:13
| * liwen | quit (Ping timeout: 240 seconds) |
06:59:36
| * noobee | joined |
06:59:47
| * sreeix | joined |
06:59:59
| * charuru | quit (Remote host closed the connection) |
07:00:09
| * araujo | quit (Ping timeout: 264 seconds) |
07:00:25
| * cpup | quit (Ping timeout: 240 seconds) |
07:01:14
| * benv | quit (Quit: Computer has gone to sleep.) |
07:01:46
| * mtsr | quit (Quit: This computer has gone to sleep) |
07:02:29
| * ckknight | quit (Ping timeout: 240 seconds) |
07:02:41
| * automata | quit (Quit: This computer has gone to sleep) |
07:02:45
| * Ritzton | joined |
07:03:30
| * stonebranch | joined |
07:03:37
| * cougnut | quit (Ping timeout: 240 seconds) |
07:03:45
| * Dimik | joined |
07:03:58
| * stonebranch | quit (Read error: Connection reset by peer) |
07:04:13
| * not_a_guest | joined |
07:04:14
| * stonebranch | joined |
07:04:22
| * wxo | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:04:24
| * ndrei | joined |
07:04:31
| * Dr3amc0d3r|away | changed nick to Dr3amc0d3r |
07:05:07
| * harttho | joined |
07:05:55
| * Riztonnn | quit (Ping timeout: 264 seconds) |
07:06:15
| * DiegoMax | quit (Read error: Connection reset by peer) |
07:06:23
| * diegomax | joined |
07:06:35
| * abraxas | quit (Remote host closed the connection) |
07:06:44
| * shesek | quit (Read error: Connection reset by peer) |
07:06:52
| * Richhh | quit (Quit: Lost terminal) |
07:07:11
| * abraxas | joined |
07:07:31
| * mtsr | joined |
07:08:35
| * Rahar | joined |
07:08:52
| * ckknight | joined |
07:09:10
| * kytwb | joined |
07:09:28
| <kytwb> | i'd love to stay on this chan, but my ocds are killing me |
07:09:38
| * kumavis | quit (Quit: Connection closed for inactivity) |
07:09:53
| <kytwb> | it's the only chan i'm on starting with a capital, the others are all fully lowercase |
07:09:57
| <kytwb> | god why... |
07:10:06
| * Solisius | joined |
07:10:14
| * airandfingers | quit (Quit: airandfingers) |
07:10:21
| * frkout_ | quit (Remote host closed the connection) |
07:10:27
| * NodeNagant | quit (Remote host closed the connection) |
07:10:38
| * Alina-malina | quit (Ping timeout: 240 seconds) |
07:10:43
| * Dimik | quit (Ping timeout: 264 seconds) |
07:10:48
| * cpup | joined |
07:10:56
| * frkout | joined |
07:11:10
| * vlad_starkov | joined |
07:11:15
| * tylersmith | quit (Remote host closed the connection) |
07:11:19
| * abraxas | quit (Ping timeout: 246 seconds) |
07:11:49
| * rauchg | joined |
07:11:49
| * tylersmith | joined |
07:11:56
| * TyrfingMjolnir | joined |
07:12:20
| * Xiti | joined |
07:12:23
| * jakehow | quit (Ping timeout: 246 seconds) |
07:12:37
| * vlad_starkov | quit (Remote host closed the connection) |
07:13:00
| * vlad_starkov | joined |
07:13:34
| * MicronXD | joined |
07:13:37
| * kazu69_ | joined |
07:14:01
| * johnkevi_ | quit (Ping timeout: 240 seconds) |
07:14:15
| * noobee | quit (Remote host closed the connection) |
07:14:24
| * kronion | joined |
07:14:24
| <Logicgate> | kytwb, learn to combat your OCDs |
07:14:30
| <Logicgate> | Your nickname makes me OCD. |
07:14:34
| <Logicgate> | And I'm sticking around. |
07:14:49
| * johnkevinmbasco | joined |
07:15:13
| <LouisT> | wow, that's kinda sad |
07:15:31
| * cpup | quit (Ping timeout: 264 seconds) |
07:15:31
| * Rahar | quit (Ping timeout: 264 seconds) |
07:16:13
| * rauchg | quit (Ping timeout: 246 seconds) |
07:16:14
| * kazu69 | quit (Ping timeout: 246 seconds) |
07:16:16
| * rmg | joined |
07:16:43
| * tylersmith | quit (Ping timeout: 264 seconds) |
07:16:45
| * coppa | joined |
07:16:50
| * d10x | joined |
07:17:16
| * victor2812 | quit (Ping timeout: 246 seconds) |
07:18:16
| * victor2812 | joined |
07:18:38
| * bodisiw | quit (Read error: Connection reset by peer) |
07:18:49
| * kronion | quit (Ping timeout: 240 seconds) |
07:18:59
| * Rahar | joined |
07:19:43
| * David | quit (Ping timeout: 264 seconds) |
07:19:45
| * aminRX | joined |
07:19:51
| * sreeix | quit (Quit: sreeix) |
07:20:24
| * tixz | joined |
07:21:29
| * rmg | quit (Ping timeout: 246 seconds) |
07:21:39
| * okcoker | quit (Quit: okcoker) |
07:22:39
| * bhughes | quit (Quit: Computer has gone to sleep.) |
07:23:00
| * lpin | joined |
07:23:54
| * ghostbar_ | quit (Remote host closed the connection) |
07:23:56
| * Nefarious_` | quit (Read error: Connection reset by peer) |
07:24:01
| * sunoano | joined |
07:24:10
| * noobee | joined |
07:24:13
| * Nefarious_` | joined |
07:25:36
| * RLa | joined |
07:26:11
| * jjido | joined |
07:26:21
| * badon | quit (Quit: Leaving) |
07:26:30
| * qoouep | joined |
07:26:49
| <looking_for_work> | if you really have OCD i can recommend something |
07:26:57
| * Solisius | quit (Read error: Connection reset by peer) |
07:27:21
| * kronion | joined |
07:27:29
| * ckknight | quit (Ping timeout: 240 seconds) |
07:28:02
| <kytwb> | ./join ##ocdfighters? |
07:28:09
| * Nefarious_` | part |
07:28:28
| * trusktr | joined |
07:28:31
| * marmoset_ | joined |
07:28:38
| <looking_for_work> | theres a chan for everything isnt there? |
07:28:39
| * RetardedBear | joined |
07:28:47
| <looking_for_work> | is there a master list of channels |
07:28:49
| * siqi | quit (Remote host closed the connection) |
07:28:59
| * foofoobar | quit (Ping timeout: 240 seconds) |
07:29:09
| * snathan | joined |
07:29:15
| * TjRus | joined |
07:29:39
| * Rockfordal | joined |
07:29:44
| * WolfieZero | joined |
07:30:14
| <looking_for_work> | found it in my irc client, but wish it was posted online so could ctr+F search |
07:31:22
| * mtsr | quit (Quit: This computer has gone to sleep) |
07:31:46
| * Reptar | quit |
07:31:55
| * Reptar | joined |
07:31:55
| * leukhin | joined |
07:32:19
| * johnkevinmbasco | quit (Ping timeout: 264 seconds) |
07:32:19
| * s3shs | quit (Ping timeout: 264 seconds) |
07:32:19
| * Xenmen | quit (Ping timeout: 264 seconds) |
07:32:28
| * Reptar | quit (Client Quit) |
07:32:33
| * badem4o | quit (Quit: Leaving.) |
07:32:53
| * ckknight | joined |
07:33:05
| * johnkevinmbasco | joined |
07:33:22
| * TjRus | quit (Ping timeout: 246 seconds) |
07:34:07
| * snathan | quit (Ping timeout: 264 seconds) |
07:34:09
| <kytwb> | ./list > wait it loads > right-click > save list > open file in text editor > ctrl+f (mirc here) |
07:34:12
| * WolfieZero | quit (Remote host closed the connection) |
07:34:26
| * JokerYu | quit (Ping timeout: 246 seconds) |
07:34:32
| * gcg_ | joined |
07:34:57
| * gcg | quit (Disconnected by services) |
07:35:02
| * gcg_ | changed nick to gcg |
07:35:11
| <RLa> | looking_for_work, you look for full-time or freelance work? |
07:35:20
| * JoshGlzBrk | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:35:29
| * Guest20669 | quit (Ping timeout: 240 seconds) |
07:35:46
| * rmg | joined |
07:36:15
| * Reptar | joined |
07:36:15
| <looking_for_work> | both |
07:36:38
| <RLa> | i look for freelance work :) |
07:37:11
| * JokerYu | joined |
07:37:19
| <looking_for_work> | where u looking |
07:38:15
| * gcg | quit (Client Quit) |
07:38:20
| * bajtos | joined |
07:38:28
| <RLa> | anywhere, online |
07:38:53
| <RLa> | i'm from Estonia tho, not hoping to find local freelance work |
07:39:18
| * christianbking | quit (Quit: This computer has gone to sleep) |
07:39:58
| * gcg | joined |
07:39:58
| * gcg | quit (Changing host) |
07:39:58
| * gcg | joined |
07:40:05
| <looking_for_work> | why, because no node work in estonia? |
07:40:20
| <RLa> | no, because i do not want to become full-timer |
07:40:34
| <RLa> | there are many full-time positions available here |
07:40:41
| <RLa> | most are for java and c# tho |
07:40:59
| * NodeNagant | joined |
07:41:03
| <sinclair|work> | does anyone here know anything about low level networking? |
07:41:14
| <RLa> | which layer? |
07:41:14
| <looking_for_work> | Javascript: The Good Parts is supposed to be a good book |
07:41:19
| <sinclair|work> | RLa: IP |
07:41:43
| <RLa> | hm, no, i work on TCP and up layers :) |
07:41:49
| * leukhin | quit (Quit: Textual IRC Client: www.textualapp.com) |
07:41:52
| <sinclair|work> | RLa: i don't think its possible for nodejs to target the IP layer without some native plugin |
07:41:55
| <sinclair|work> | which is a shame |
07:42:07
| * D4RK-PH0ENiX | quit (Read error: Connection reset by peer) |
07:42:10
| <sinclair|work> | as much of the dgram stuff could easily be ported over |
07:42:16
| * nwmcsween | joined |
07:42:17
| <sinclair|work> | (interface wise) |
07:42:22
| <RLa> | you "target" them with socket open options? |
07:42:29
| * rmg | quit (Ping timeout: 240 seconds) |
07:42:30
| * jabberwocky | joined |
07:42:35
| <RLa> | dgram, isn't that udf? |
07:42:39
| * nwmcsween | changed nick to Guest92872 |
07:42:40
| <RLa> | udp* |
07:42:44
| * sbusborg | changed nick to simonbusborg |
07:42:45
| <ljharb> | sinclair|work: write a c++ module to add it? |
07:42:57
| <RLa> | i though node had some udp support |
07:43:03
| * D4RK-PH0ENiX | joined |
07:43:16
| <sinclair|work> | ljharb: not really interesting in fumbling around with cross platform native modules |
07:43:18
| <RLa> | isn't that required for dns support? :) |
07:43:20
| <sinclair|work> | *interested |
07:43:29
| * ckknight | quit (Ping timeout: 240 seconds) |
07:43:50
| <sinclair|work> | ljharb: i think that raw socket support for node should be in there |
07:43:55
| * noobee | quit (Remote host closed the connection) |
07:44:12
| <sinclair|work> | we have udp and tcp, and everything up, but sometimes, it would be nice to target low levels |
07:45:13
| * NodeNagant | quit (Ping timeout: 240 seconds) |
07:45:17
| * marmoset_ | quit (Quit: Textual IRC Client: www.textualapp.com) |
07:45:31
| * ndrei | quit (Ping timeout: 264 seconds) |
07:45:58
| * stefan991 | quit (Ping timeout: 246 seconds) |
07:46:20
| * al1o | quit (Ping timeout: 246 seconds) |
07:46:20
| * looper | quit (Ping timeout: 246 seconds) |
07:46:41
| * petschm | quit (Ping timeout: 246 seconds) |
07:46:41
| * shanse | quit (Ping timeout: 246 seconds) |
07:46:56
| * llakey | quit (Read error: Operation timed out) |
07:47:17
| * llakey | joined |
07:47:19
| * jabberwocky | quit (Ping timeout: 264 seconds) |
07:47:21
| * noobee | joined |
07:47:39
| * shanse | joined |
07:47:50
| * petschm | joined |
07:47:57
| * harttho | quit (Quit: harttho) |
07:48:04
| * looper | joined |
07:48:19
| * munumnu | joined |
07:48:25
| * al1o | joined |
07:48:38
| * stefan991 | joined |
07:48:49
| * kketch | joined |
07:48:53
| * Danielyo | joined |
07:48:53
| * ckknight | joined |
07:49:07
| * ph88_ | joined |
07:49:56
| * sombrelain | joined |
07:50:07
| * Dr3amc0d3r | changed nick to Dr3amc0d3r|away |
07:50:29
| * kazu69_ | quit (Ping timeout: 240 seconds) |
07:50:59
| * rahul_j | quit (Ping timeout: 240 seconds) |
07:50:59
| * yacks | quit (Quit: Leaving) |
07:51:01
| * boltR | joined |
07:51:27
| * Nefarious___ | joined |
07:51:50
| * Nefarious___ | part |
07:52:01
| * ndrei | joined |
07:52:09
| * rahul_j | joined |
07:52:57
| * nicod | changed nick to niclone |
07:53:27
| * kazu69 | joined |
07:53:42
| * Pitel_IPEX | joined |
07:54:57
| * lyanchih | quit (Quit: lyanchih) |
07:55:19
| * stonebranch | quit (Remote host closed the connection) |
07:55:38
| * okdas | quit (Ping timeout: 252 seconds) |
07:56:03
| * stonebranch | joined |
07:56:38
| * delight | joined |
07:57:09
| * d10x | quit (Quit: Ex-Chat) |
07:57:13
| * Ritzton | quit (Ping timeout: 240 seconds) |
07:57:29
| * ckknight | quit (Ping timeout: 240 seconds) |
07:57:45
| * David | joined |
07:58:32
| * abraxas | joined |
07:59:18
| * okdas | joined |
08:00:01
| * bradleymeck | joined |
08:00:03
| * johntitor2036 | quit (Read error: Connection reset by peer) |
08:00:18
| * noobee | quit (Remote host closed the connection) |
08:00:20
| * rudasn | joined |
08:00:20
| * surlydev | joined |
08:00:25
| * stonebranch | quit (Ping timeout: 240 seconds) |
08:00:31
| * johntitor2036 | joined |
08:00:38
| * rads | joined |
08:00:41
| * coppa | quit (Quit: Leaving.) |
08:01:18
| * Cutzenfreund | quit (Quit: Cutzenfreund over & out!) |
08:01:54
| * Neozonz|Disc | joined |
08:01:54
| * Neozonz|Disc | quit (Changing host) |
08:01:54
| * Neozonz|Disc | joined |
08:02:01
| * David | quit (Ping timeout: 240 seconds) |
08:02:08
| * Cutzenfreund | joined |
08:02:51
| * ckknight | joined |
08:03:40
| * hkon__ | joined |
08:03:52
| * LouisT | quit (Quit: Gone with the wind.) |
08:04:01
| * Neozonz | quit (Ping timeout: 240 seconds) |
08:04:25
| * me_ | joined |
08:05:05
| * charuru | joined |
08:05:32
| * L0u1s | joined |
08:05:44
| * iksik | quit (Changing host) |
08:05:44
| * iksik | joined |
08:05:57
| <bradleymeck> | gotta love that zip files don't mandate which form of slashes are used as directory delimiters... |
08:06:18
| * bhughes | joined |
08:06:41
| * h0lyalg0rithm | quit (Quit: Textual IRC Client: www.textualapp.com) |
08:07:07
| * delight | quit (Quit: delight) |
08:07:09
| * yacks | joined |
08:08:01
| * liquid-silence | quit (Ping timeout: 240 seconds) |
08:08:30
| * foofoobar | joined |
08:08:40
| * AciD`` | joined |
08:08:40
| * pers3us_ | quit (Quit: Computer has gone to sleep.) |
08:08:55
| * Froobly | joined |
08:09:14
| * pers3us_ | joined |
08:09:16
| * pvankouteren | joined |
08:09:40
| * marionebl_ | changed nick to marionebl |
08:10:00
| * yakumoklesk | joined |
08:10:08
| * chrelad | quit (Ping timeout: 246 seconds) |
08:10:16
| * boneskull | quit (Quit: Textual IRC Client: www.textualapp.com) |
08:10:25
| * jerrytgarcia | quit (Quit: WeeChat 0.4.3) |
08:10:47
| * sk | joined |
08:11:06
| * Xiti` | joined |
08:11:35
| * vlad_starkov | quit (Remote host closed the connection) |
08:11:35
| * noobee | joined |
08:11:53
| * NodeNagant | joined |
08:11:55
| * vlad_starkov | joined |
08:11:55
| * ckknight | quit (Ping timeout: 264 seconds) |
08:12:21
| * surlydev | part |
08:12:29
| * swirlycheetah | joined |
08:12:29
| * geiltalasdair | joined |
08:12:29
| * me_ | quit (Read error: Connection reset by peer) |
08:12:30
| * Froobly | part ("Leaving") |
08:12:48
| * me_ | joined |
08:13:04
| * jphase | quit (Remote host closed the connection) |
08:13:18
| * s3shs | joined |
08:13:40
| * jphase | joined |
08:13:43
| * pers3us_ | quit (Ping timeout: 264 seconds) |
08:13:48
| * joshontheweb | quit (Quit: Textual IRC Client: http://www.textualapp.com/) |
08:14:09
| <the8thbit> | Anyone here know anything about predictionio? For some reason, when I ask for recommendations, I always get back an empty object |
08:14:25
| * Xiti | quit (Ping timeout: 240 seconds) |
08:15:13
| * geilt | quit (Ping timeout: 240 seconds) |
08:15:27
| * standoo | joined |
08:15:33
| * feross | quit (Quit: feross) |
08:15:39
| * zz_Brocken | changed nick to Brocken |
08:16:01
| * NodeNagant | quit (Ping timeout: 240 seconds) |
08:16:23
| * Keanu73 | joined |
08:16:38
| * joshontheweb | joined |
08:16:45
| * Neozonz|Discx2 | joined |
08:16:48
| * Neozonz|Discx2 | quit (Changing host) |
08:16:49
| * Neozonz|Discx2 | joined |
08:17:43
| * dypsilon | joined |
08:17:52
| * ckknight | joined |
08:18:10
| * jphase | quit (Ping timeout: 246 seconds) |
08:18:31
| * dshaw_ | quit (Read error: Connection reset by peer) |
08:18:52
| * proxie | quit |
08:18:57
| * SamuraiJack | quit (Remote host closed the connection) |
08:18:58
| * gprasant | quit (Ping timeout: 245 seconds) |
08:19:19
| * Solisius | joined |
08:19:21
| * SamuraiJack | joined |
08:19:32
| * jjido | quit (Read error: Connection reset by peer) |
08:19:38
| * boneskull | joined |
08:20:01
| * Neozonz|Disc | quit (Ping timeout: 240 seconds) |
08:20:06
| * jjido | joined |
08:20:26
| * qoouep | quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:21:14
| * joshontheweb | quit (Client Quit) |
08:21:14
| * dshaw_ | joined |
08:21:26
| * sinclair|work | still looks for a low level networking expert |
08:21:39
| * joshontheweb | joined |
08:21:58
| * lyanchih | joined |
08:22:55
| * kketch | quit (Quit: kketch) |
08:23:25
| * Keanu73 | quit (Quit: Got to go to bed or got to go to school or need to do something. Bye!) |
08:23:38
| * David | joined |
08:23:56
| * thejwal | quit (Remote host closed the connection) |
08:24:09
| * leogaldioli | quit (Ping timeout: 245 seconds) |
08:24:33
| * pers3us_ | joined |
08:24:47
| * leogaldioli | joined |
08:25:07
| * imsys | quit (Ping timeout: 264 seconds) |
08:25:15
| * Oxelist | joined |
08:25:48
| * rahul_j | quit (Quit: rahul_j) |
08:25:53
| * ecthiender | quit (Ping timeout: 246 seconds) |
08:26:34
| * ckknight | quit (Ping timeout: 246 seconds) |
08:27:10
| * blb | quit (Remote host closed the connection) |
08:27:20
| * jonykrause | joined |
08:28:19
| * David | quit (Ping timeout: 246 seconds) |
08:29:17
| * _kud | joined |
08:29:36
| * groom | joined |
08:29:37
| * Solisius | quit (Ping timeout: 240 seconds) |
08:29:41
| * snathan | joined |
08:29:44
| * stonebranch | joined |
08:29:54
| * boneskul_ | joined |
08:29:59
| * TjRus | joined |
08:30:16
| <tasslehoff> | I have a problem with formidable. After my form is parsed, it looks like this: http://hastebin.com/kuralesisa.css . When I get more then ~1000 elements in "folders", it seems I reach a limit. |
08:30:34
| * shesek | joined |
08:30:34
| * bradleymeck | quit (Quit: bradleymeck) |
08:31:18
| * Oxelist_ | joined |
08:31:21
| * fbanna | joined |
08:31:29
| * rads | quit |
08:31:39
| * edoop | joined |
08:31:55
| <tasslehoff> | I get too few elements in "folders", and "delete" is missing. |
08:31:59
| * Oxelist | quit (Ping timeout: 240 seconds) |
08:32:21
| * kketch | joined |
08:32:50
| * bradleymeck | joined |
08:32:52
| * ckknight | joined |
08:33:04
| * jerrytgarcia | joined |
08:33:05
| * derrzzaa | joined |
08:33:18
| * medoix | joined |
08:33:23
| <tasslehoff> | it actually is 1000, so I was hoping form.maxFields should help. |
08:33:55
| * snathan | quit (Ping timeout: 246 seconds) |
08:33:56
| * nukulb | joined |
08:34:16
| * swirlycheetah | quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
08:34:39
| * xcesariox | joined |
08:34:43
| * TjRus | quit (Ping timeout: 264 seconds) |
08:35:54
| * jsc | joined |
08:36:17
| * jsc | changed nick to Guest49982 |
08:36:30
| * rahul_j | joined |
08:36:47
| * Guest49982 | quit (Client Quit) |
08:37:43
| * mtsr | joined |
08:37:46
| * msafi | quit (Quit: Leaving.) |
08:37:59
| * Oxelist_ | quit (Ping timeout: 240 seconds) |
08:38:05
| * jsc__ | joined |
08:38:38
| * Alina-malina | joined |
08:39:05
| * tom-tomaso | quit (Remote host closed the connection) |
08:39:06
| * fikst | joined |
08:39:34
| * pscanf | joined |
08:40:07
| * joshbrw | joined |
08:40:33
| * bjoerge | quit (Quit: Leaving.) |
08:41:37
| * ckknight | quit (Ping timeout: 246 seconds) |
08:41:38
| * paulfryzel | joined |
08:41:58
| * ts33kr_ | joined |
08:41:59
| * rampr_ | joined |
08:43:14
| * kronion | quit (Remote host closed the connection) |
08:43:26
| * jjido_ | joined |
08:43:30
| * jabberwocky | joined |
08:43:31
| * jjido | quit (Read error: Connection reset by peer) |
08:43:46
| * Reptar | quit (Quit: Textual IRC Client: www.textualapp.com) |
08:43:47
| * cwb_ | quit (Quit: Page closed) |
08:44:11
| * edoop | quit (Remote host closed the connection) |
08:44:18
| * joshontheweb | quit (Quit: Computer has gone to sleep.) |
08:44:20
| * lyanchih | quit (Quit: lyanchih) |
08:44:42
| * lyanchih | joined |
08:44:59
| * rampr | quit (Ping timeout: 240 seconds) |
08:45:07
| * Darkwater | joined |
08:45:16
| * JimmyJames | joined |
08:45:59
| * paulfryzel | quit (Ping timeout: 240 seconds) |
08:46:34
| * oliver__ | joined |
08:46:50
| * zcbenz | quit (Quit: Textual IRC Client: www.textualapp.com) |
08:47:51
| <Darkwater> | I'm having some trouble with iptables and node |
08:47:54
| * ckknight | joined |
08:47:55
| * jabberwocky | quit (Ping timeout: 264 seconds) |
08:47:55
| * AndChat|507 | joined |
08:48:07
| <Darkwater> | I've added a rule to iptables to redirect port 80 to 1150 |
08:48:21
| * Phuein | joined |
08:48:21
| * roman01la | joined |
08:48:25
| * hammadfauz | quit (Remote host closed the connection) |
08:48:27
| <Darkwater> | my node http server listens on 1150 and works just fine, except when I go to port 80 |
08:48:46
| <Darkwater> | I've already narrowed it down to node, since it works fine if I listen to 1150 with netcat |
08:49:03
| <Darkwater> | I'm using express and socket.io if that makes a difference |
08:49:11
| * doerteGone | changed nick to doerteDev |
08:49:18
| * cvanball | joined |
08:49:32
| <Phuein> | Darkwater, link to your stack, for error. |
08:49:42
| * shingshang | quit (Ping timeout: 252 seconds) |
08:50:18
| <Darkwater> | Phuein: what do you mean? there is no error, it just doesn't accept the connection |
08:50:59
| <Phuein> | Darkwater, did you remember to point your client to the address with port 80, instead then? |
08:51:13
| * yaru22 | quit (Ping timeout: 240 seconds) |
08:51:37
| * bsdguru | quit (Quit: bsdguru) |
08:51:45
| <Darkwater> | Phuein: yes |
08:52:00
| * Ho4n1Girl | quit |
08:52:08
| * tom94 | joined |
08:52:25
| <Phuein> | Darkwater, can you show the client's console output then? For connection error. |
08:52:51
| <Darkwater> | Phuein: Chromium's connection attempt to <address> was rejected. |
08:52:52
| * CMTegner | joined |
08:53:00
| * Ho4n1Girl | joined |
08:53:41
| * marcghorayeb | joined |
08:53:46
| * rquinn | quit (Read error: Connection reset by peer) |
08:53:49
| <Phuein> | Darkwater, share relevant server and client code. It's not clear what's going on there. |
08:54:02
| * tixz | quit (Read error: Connection reset by peer) |
08:54:16
| * dshaw_ | quit (Read error: Connection reset by peer) |
08:54:17
| * rquinn | joined |
08:54:20
| * bjoerge | joined |
08:54:34
| * tixz | joined |
08:54:43
| <Phuein> | Or try listening and connecting to port 80 with something that is not Node, too. |
08:54:44
| <Emmanuel`> | hm, is there a way to have some sort of "class variable" shared among all instance of something require-d |
08:54:57
| * xcesariox | quit (Read error: Connection reset by peer) |
08:55:02
| <Darkwater> | Phuein: require("http").createServer(require("express")()).listen(1150, 'x.x.x.x'); |
08:55:06
| <Darkwater> | Phuein: the client is chromium |
08:55:06
| * xcesario_ | joined |
08:55:13
| * harth_ | quit (Remote host closed the connection) |
08:55:13
| <Phuein> | not here Darkwater, pastebin etc' |
08:55:28
| <Darkwater> | Phuein: that's literally all there is to it |
08:55:32
| * xcesario_ | quit (Max SendQ exceeded) |
08:55:42
| <Emmanuel`> | so say, I have in x.js "var foo = require('something')", in y.js "var bar = require('something')", foo and bar could share properties |
08:55:44
| * dshaw_ | joined |
08:55:46
| <Phuein> | no, there is client side, too... never paste code here, please. |
08:55:50
| <Emmanuel`> | (or have a way to share common information) |
08:55:57
| <Darkwater> | Phuein: the client side is a web browser |
08:56:17
| * xcesariox | joined |
08:56:20
| <Raynos> | anyone familiar with the windows equivelant of /dev/tty ? |
08:56:35
| * yho | joined |
08:56:40
| * ckknight | quit (Ping timeout: 246 seconds) |
08:56:50
| * sensen | joined |
08:57:00
| * roman01la | quit (Quit: Colloquy for iPhone - http://colloquy.mobi) |
08:57:06
| <Phuein> | Darkwater, try removing the IP part from the listen(), or changing it to either "localhost" or "0.0.0.0". |
08:57:06
| * dve | joined |
08:57:08
| * orliesaurus | joined |
08:58:07
| * MicronXD | quit (Ping timeout: 264 seconds) |
08:58:24
| <Phuein> | Darkwater, notice basic example from website: http://expressjs.com/3x/api.html |
08:58:30
| * nvrch | joined |
08:58:57
| * hkon__ | quit (Remote host closed the connection) |
08:59:14
| <Darkwater> | Phuein: then it works |
08:59:25
| * adrianlang | joined |
08:59:29
| <Darkwater> | but I'd rather only have it listen on one interface |
08:59:32
| <Darkwater> | if possible |
08:59:34
| * Phuein | celebrates good times, come on! |
09:00:02
| <Phuein> | Darkwater, could your interfacing issue be due to a router misconfiguration? It's annoying, I know. |
09:00:24
| * tixz | quit (Remote host closed the connection) |
09:00:39
| * NodeNagant | joined |
09:00:44
| * switz | quit (Quit: Leaving...) |
09:00:59
| * tixz | joined |
09:01:01
| * fikst | quit (Quit: Leaving) |
09:02:03
| * shingshang | joined |
09:02:53
| * ckknight | joined |
09:03:37
| * yaru22 | joined |
09:03:55
| * Swizec | joined |
09:04:37
| * eschnou | joined |
09:04:43
| * captain_morgan | quit (Ping timeout: 264 seconds) |
09:04:45
| * boneskul_ | quit (Quit: Textual IRC Client: www.textualapp.com) |
09:05:19
| * NodeNagant | quit (Ping timeout: 264 seconds) |
09:05:28
| * boneskull | quit (Remote host closed the connection) |
09:05:42
| * L0u1s | changed nick to L0u0s |
09:06:02
| * coppa | joined |
09:06:04
| * Tug | joined |
09:06:48
| * toastynerd | joined |
09:06:56
| * WolfieZero | joined |
09:08:07
| * Swizec | quit (Client Quit) |
09:08:18
| * boneskull | joined |
09:08:21
| * jkridner | quit (Read error: Connection reset by peer) |
09:08:44
| * jkridner | joined |
09:08:44
| * jkridner | quit (Changing host) |
09:08:44
| * jkridner | joined |
09:08:45
| * Argue_ | quit (Read error: Connection reset by peer) |
09:08:55
| * fantasy__ | joined |
09:08:56
| * ecthiender | joined |
09:09:03
| * rstomlinson_ | joined |
09:09:09
| * fantasyw_ | quit (Ping timeout: 264 seconds) |
09:09:29
| * jasonroyle | joined |
09:10:15
| * kvz | joined |
09:10:25
| * Argue | joined |
09:10:25
| * TjRus | joined |
09:10:46
| * kenan|afk | changed nick to kenansulayman |
09:11:13
| * toastynerd | quit (Ping timeout: 240 seconds) |
09:11:19
| * plutoniix | quit (Ping timeout: 264 seconds) |
09:11:19
| * rauchg | joined |
09:11:19
| <plepzz> | Raynos: That would be COM ports |
09:11:24
| * marionebl | changed nick to marionebl_ |
09:11:53
| <Raynos> | plepzz: `fs.openSync('COM')` doesn't work |
09:11:59
| <Raynos> | how do I get a COM port file descriptor |
09:12:08
| * bjoerge | quit (Read error: Connection reset by peer) |
09:12:12
| * plutoniix | joined |
09:12:24
| * ededagic | joined |
09:12:29
| * bjoerge | joined |
09:12:48
| <plepzz> | Raynos: I think you might want to use the SerialPort2 module |
09:12:49
| * dokkles | joined |
09:12:56
| * jasonroyle | quit (Client Quit) |
09:12:57
| * ts33kr_ | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:13:00
| <Raynos> | I want a fd to `CON:` so I can write from stdin |
09:13:04
| * Nooos | joined |
09:13:16
| * L0u0s | changed nick to L0u1s |
09:13:48
| * intellix | joined |
09:13:48
| * r_tomlinson | joined |
09:14:07
| <plepzz> | I don't know if that is posible |
09:14:11
| <plepzz> | Take a look at this https://github.com/voodootikigod/node-serialport |
09:14:31
| * tvw | joined |
09:14:55
| * rstomlinson_ | quit (Ping timeout: 264 seconds) |
09:14:55
| * r_tomlinson | changed nick to rstomlinson_ |
09:14:58
| <TyrfingMjolnir> | I m using libxmljs; how can I ignore: Error: Extra content at the end of the document |
09:15:10
| * tar_ | joined |
09:15:27
| <TyrfingMjolnir> | node_modules/libxmljs/lib/document.js:120 |
09:15:28
| <TyrfingMjolnir> | return bindings.fromXml(string); |
09:15:40
| * geiltadecht | joined |
09:16:01
| * abraxas | quit (Remote host closed the connection) |
09:16:15
| * Drako | joined |
09:16:25
| * rauchg | quit (Ping timeout: 240 seconds) |
09:17:13
| * ckknight | quit (Ping timeout: 240 seconds) |
09:17:29
| * boltR | quit (Ping timeout: 240 seconds) |
09:17:45
| * captain_morgan | joined |
09:18:25
| * geiltalasdair | quit (Ping timeout: 240 seconds) |
09:18:39
| * m4tthumphrey | joined |
09:19:01
| * jeswin | joined |
09:19:24
| * WolfieZero | changed nick to WolfieZero|Away |
09:19:45
| <m4tthumphrey> | hi guys, very new to node, just a quick question. based on the example on the homepage, am i right in assuming that i can use the client example on the server as well as in a browser? |
09:19:53
| <tasslehoff> | bah. outdated version of formidable... |
09:20:01
| * sreeix | joined |
09:20:02
| <m4tthumphrey> | ah crap I'm in the wrong room |
09:20:03
| <m4tthumphrey> | ignore that |
09:20:08
| * ndrei | quit (Ping timeout: 246 seconds) |
09:20:11
| * bluesm_ | joined |
09:20:13
| <m4tthumphrey> | unless you want to help about socket.io |
09:20:19
| * shesek | quit (Ping timeout: 264 seconds) |
09:20:54
| * kestutis | joined |
09:21:15
| <TyrfingMjolnir> | Do I just turn this break; into a pass; case XML_ERR_DOCUMENT_END: |
09:21:15
| <TyrfingMjolnir> | errmsg = "Extra content at the end of the document"; |
09:21:16
| <TyrfingMjolnir> | break; |
09:21:19
| * codecowboy | joined |
09:21:30
| <TyrfingMjolnir> | In this file: libxmljs/vendor/libxml/parser.c |
09:21:34
| <TyrfingMjolnir> | and then recompile? |
09:21:35
| * Swizec | joined |
09:21:42
| * kestutis | quit (Read error: Connection reset by peer) |
09:22:14
| * melioid2 | quit (Ping timeout: 246 seconds) |
09:22:30
| * bsdguru | joined |
09:22:52
| * ckknight | joined |
09:22:59
| * ghostbar | joined |
09:23:03
| * luisbug | joined |
09:23:24
| * ins0mnia | joined |
09:23:42
| * David | joined |
09:24:03
| * dshaw_ | quit (Read error: Connection reset by peer) |
09:24:19
| * marionebl_ | changed nick to marionebl |
09:24:31
| * kamicane | quit (Ping timeout: 264 seconds) |
09:25:09
| * kestutis | joined |
09:25:21
| * koell | joined |
09:25:29
| * dshaw_ | joined |
09:26:00
| * cvanball | quit |
09:26:15
| * pawn | joined |
09:26:45
| * DoNcK | joined |
09:26:50
| * Rhio | joined |
09:27:07
| * JokerYu | quit (Ping timeout: 246 seconds) |
09:27:23
| * weems | quit (Read error: Connection reset by peer) |
09:27:27
| <pawn> | How are all these DSL languages created; coffeescript, jade, stylus, less, etc? Are they just a lot of regexps or is there something more to know in order to build these sorts of langauges? |
09:27:27
| * JokerYu | joined |
09:28:07
| * AndChat|507 | quit (Ping timeout: 264 seconds) |
09:28:07
| <pawn> | I'm interested in creating a DSL kind of language, eventually I'd like to make it not just DSL. |
09:28:11
| * WolfieZero|Away | changed nick to WolfieZero |
09:28:13
| * bradleymeck | quit (Quit: bradleymeck) |
09:28:19
| * staar2 | joined |
09:28:28
| * joshbrw | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:28:43
| * David | quit (Ping timeout: 264 seconds) |
09:28:45
| * xcesariox | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:29:13
| * delight | joined |
09:29:36
| * kamicane | joined |
09:30:09
| * snathan | joined |
09:30:18
| * roman01la | joined |
09:30:35
| * vlad_starkov | quit (Remote host closed the connection) |
09:30:44
| * njiiri | joined |
09:30:44
| * Ergo | joined |
09:30:45
| * roman01la | quit (Client Quit) |
09:30:53
| * bradleymeck | joined |
09:31:16
| * bhaveshletter | joined |
09:31:27
| * jjido | joined |
09:31:37
| * jjido_ | quit (Ping timeout: 240 seconds) |
09:31:41
| * ckknight | quit (Ping timeout: 246 seconds) |
09:31:51
| * abraxas | joined |
09:32:04
| * ndrei | joined |
09:32:04
| * ededagic | quit (Read error: Connection reset by peer) |
09:32:11
| * Rhio | quit (Quit: Lingo - http://www.lingoirc.com) |
09:32:36
| * JuanDaugherty | joined |
09:32:54
| <njiiri> | it my first time to use #node js i am getting errors installing yeoman and angular anybody with some help i.e EACCS errors |
09:33:13
| * Darkwater | part |
09:34:03
| * walbert | quit (Remote host closed the connection) |
09:34:25
| * snathan | quit (Ping timeout: 240 seconds) |
09:34:28
| * sdgsdg | joined |
09:34:39
| * msafi | joined |
09:34:42
| * vlad_starkov | joined |
09:34:56
| * hammadfauz | joined |
09:35:04
| * toastynerd | joined |
09:37:06
| * ededagic | joined |
09:37:32
| * not_a_guest | quit (Quit: Connection closed for inactivity) |
09:37:51
| * ckknight | joined |
09:37:56
| * dshaw_ | quit (Read error: Connection reset by peer) |
09:38:19
| * dshaw_ | joined |
09:39:13
| * toastynerd | quit (Ping timeout: 240 seconds) |
09:40:51
| * JokerYu | quit (Quit: JokerYu) |
09:41:39
| * NodeNagant | joined |
09:42:23
| * paulfryzel | joined |
09:42:44
| * hygl_ | quit (Quit: Connection closed for inactivity) |
09:43:04
| * dshaw_ | quit (Read error: Connection reset by peer) |
09:43:10
| * ededagic | quit (Remote host closed the connection) |
09:43:35
| * hammadfauz | quit (Read error: Connection reset by peer) |
09:43:36
| * ededagic | joined |
09:43:51
| * hammadfauz | joined |
09:44:00
| * jabberwocky | joined |
09:44:47
| * bradleymeck | quit (Quit: bradleymeck) |
09:44:58
| * kirfu1 | quit (Ping timeout: 246 seconds) |
09:45:23
| * Naeb | joined |
09:45:50
| * dshaw_ | joined |
09:46:07
| * NodeNagant | quit (Ping timeout: 264 seconds) |
09:46:22
| * ckknight | quit (Ping timeout: 246 seconds) |
09:46:56
| * mayanktg | joined |
09:46:58
| <Sven_vB> | njiiri, if you have the original Ubuntu nodejs installed, remove it. then install from chrislea's ppa. |
09:46:59
| * paulfryzel | quit (Ping timeout: 240 seconds) |
09:48:00
| * danjenkins | joined |
09:48:29
| * jabberwocky | quit (Ping timeout: 246 seconds) |
09:48:29
| * johnkevinmbasco | quit (Ping timeout: 240 seconds) |
09:49:05
| * johnkevinmbasco | joined |
09:49:37
| * njiiri | quit (Quit: Leaving) |
09:50:00
| * aslant | quit (Remote host closed the connection) |
09:51:51
| * aslant_ | joined |
09:51:53
| * ckknight | joined |
09:52:01
| * liwen | joined |
09:52:28
| * kex | joined |
09:53:32
| * joshontheweb | joined |
09:53:49
| * kronion | joined |
09:53:49
| * mlouro | joined |
09:54:10
| * jas- | joined |
09:54:16
| * pickels | joined |
09:54:41
| * dshaw_ | quit (Read error: Connection reset by peer) |
09:55:18
| * WolfieZero | changed nick to WolfieZero|Away |
09:56:09
| * dshaw_ | joined |
09:56:31
| * malkomalko | joined |
09:56:34
| * boneskul_ | joined |
09:56:35
| * lyanchih | quit (Quit: lyanchih) |
09:56:54
| * malkomalko | quit (Remote host closed the connection) |
09:56:55
| * jasonroyle | joined |
09:57:49
| * rauchg | joined |
09:57:59
| * williamli | changed nick to _wli |
09:58:01
| * kronion | quit (Ping timeout: 240 seconds) |
09:58:30
| * croustibat | joined |
09:58:34
| * WolfieZero|Away | changed nick to WolfieZero |
09:59:16
| * jphase | joined |
09:59:29
| * dshaw_ | quit (Client Quit) |
10:00:01
| * captain_morgan | quit (Ping timeout: 240 seconds) |
10:01:13
| * renlo | quit (Ping timeout: 240 seconds) |
10:01:17
| <premsun> | When I have compiled my JavaScript game with Closure Compiler (advanced mode), there are still some parts that are within quotes and thus have not been touched. For example, "Press any key to start", or "pngBigBadAssExplosion". Is there some way I can reliably minify even those, or encrypt/obscurify those that cannot be minified? |
10:01:52
| * Sendoushi | joined |
10:03:13
| * delight | quit (Ping timeout: 240 seconds) |
10:03:29
| * sreeix | quit (Quit: sreeix) |
10:03:59
| * jphase | quit (Ping timeout: 240 seconds) |
10:04:40
| <staar2> | Does anyone use similar approach of declaring errors like its done in restify ? http://mcavage.me/node-restify/#Error-handling |
10:06:04
| * aterocana | joined |
10:06:15
| * simong | joined |
10:06:21
| * sreeix | joined |
10:06:30
| * hkon__ | joined |
10:06:35
| <simong> | Is there a way to hook into the logout cycle from passport.js ? |
10:06:42
| * abraxas | quit (Remote host closed the connection) |
10:07:01
| * adrianlang1 | joined |
10:07:16
| * abraxas | joined |
10:07:37
| * rauchg | quit (Remote host closed the connection) |
10:07:37
| * hiteshtr | joined |
10:08:36
| * kazu69 | quit (Read error: Connection reset by peer) |
10:08:49
| * mnngfltg | joined |
10:08:58
| * screamingbanshee | joined |
10:09:07
| * adrianlang | quit (Ping timeout: 246 seconds) |
10:09:43
| * mattsmith | joined |
10:09:48
| * r_tomlinson | joined |
10:10:07
| * kazu69 | joined |
10:10:22
| * FasTTo | joined |
10:10:29
| * rstomlinson_ | quit (Ping timeout: 240 seconds) |
10:10:29
| * r_tomlinson | changed nick to rstomlinson_ |
10:11:55
| * abraxas | quit (Ping timeout: 264 seconds) |
10:11:56
| * lyanchih | joined |
10:12:19
| * btav | joined |
10:13:33
| * ghostbar | quit (Remote host closed the connection) |
10:15:49
| * melioid | joined |
10:16:26
| * mscdex | quit (Ping timeout: 256 seconds) |
10:17:10
| * johnkevinmbasco | quit (Ping timeout: 246 seconds) |
10:18:02
| * bajtos | quit (Quit: bajtos) |
10:18:06
| * mscdex | joined |
10:18:06
| * daslicht | joined |
10:18:28
| * vlad_starkov | quit (Remote host closed the connection) |
10:18:52
| * manuelbieh | joined |
10:19:18
| * ckknight | quit (Read error: Connection reset by peer) |
10:19:31
| * johnkevinmbasco | joined |
10:21:39
| * vlad_starkov | joined |
10:22:12
| * standoo | quit (Quit: standoo) |
10:23:08
| * aitiba | joined |
10:23:11
| * Left_Turn | joined |
10:23:13
| * ndrei | quit (Ping timeout: 240 seconds) |
10:23:39
| * David | joined |
10:23:43
| * koell | quit (Read error: Connection reset by peer) |
10:23:54
| * offline1 | joined |
10:25:02
| * kketch | quit (Quit: kketch) |
10:25:19
| * ndrei | joined |
10:25:50
| * jas- | quit (Remote host closed the connection) |
10:28:01
| * David | quit (Ping timeout: 240 seconds) |
10:28:43
| * blevs | joined |
10:28:44
| * blevs | quit (Max SendQ exceeded) |
10:28:54
| * hareth | joined |
10:29:04
| * kketch | joined |
10:29:16
| * sinclair|work | quit (Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]) |
10:29:17
| * drx_ | quit (Remote host closed the connection) |
10:30:11
| <Industrial> | Hi. Say I have a node file that I want to run some tests on. |
10:30:24
| <Industrial> | This is not a module, it doesnt export anything, but it does start a server on say port 8080 |
10:30:29
| * luisbug | quit (Ping timeout: 241 seconds) |
10:30:33
| * fikst | joined |
10:30:38
| <Industrial> | In my (mocha) test, if I use child_process to spawn my server |
10:30:48
| <Industrial> | How do I know when it is ready / has started? |
10:31:03
| <Industrial> | Right now, I'm throwing HTTP requests at a server that's not yet listening in my test. |
10:31:58
| <Sven_vB> | Industrial, provide the target file with a stubbed net or http module |
10:32:09
| * mattsmith | quit (Remote host closed the connection) |
10:32:36
| * mattsmith | joined |
10:33:19
| * pronoob | joined |
10:33:43
| * piscisaureus | joined |
10:33:57
| * Hounddog | joined |
10:34:17
| * tskaggs | quit (Remote host closed the connection) |
10:34:58
| <whyhankee> | Industrial: normally you dont want to start a server when running tests. If you are using express as framework you can use 'supertest' to test your routes |
10:34:59
| * fikst | quit (Client Quit) |
10:36:22
| * sreeix | quit (Quit: sreeix) |
10:38:55
| * D4RK-PH0ENiX | quit (Remote host closed the connection) |
10:39:01
| * Genjikyoshero | joined |
10:39:22
| * _Setsuna_ | joined |
10:39:49
| * boneskul_ | quit (Quit: Textual IRC Client: www.textualapp.com) |
10:39:57
| * r_tomlinson | joined |
10:40:16
| * rstomlinson_ | quit (Ping timeout: 246 seconds) |
10:40:17
| * r_tomlinson | changed nick to rstomlinson_ |
10:40:18
| * morhaus | joined |
10:40:41
| * therealkoopa | joined |
10:40:47
| * kayamm | joined |
10:41:36
| * teasherm | quit (Remote host closed the connection) |
10:41:38
| * NodeNagant | joined |
10:42:09
| * teasherm | joined |
10:43:10
| * paulfryzel | joined |
10:44:44
| * jabberwocky | joined |
10:45:03
| * donbitto | joined |
10:45:06
| * luisbug | joined |
10:45:21
| * ededagic_ | joined |
10:45:22
| * dean|away | changed nick to dean |
10:45:39
| * jjido | quit (Read error: Connection reset by peer) |
10:45:47
| * jjido_ | joined |
10:45:59
| * NodeNagant | quit (Ping timeout: 240 seconds) |
10:46:25
| * teasherm | quit (Ping timeout: 240 seconds) |
10:46:59
| * dfreire | joined |
10:47:21
| * micheil | joined |
10:47:55
| * ededagic | quit (Ping timeout: 264 seconds) |
10:47:59
| * paulfryzel | quit (Ping timeout: 269 seconds) |
10:48:49
| * jabberwocky | quit (Ping timeout: 240 seconds) |
10:48:54
| * btav | quit (Remote host closed the connection) |
10:49:35
| * Peder_ | joined |
10:49:51
| * hkon__ | quit (Remote host closed the connection) |
10:50:05
| * L0u1s | changed nick to L0u0s |
10:50:48
| * L0u0s | changed nick to L0u1s |
10:50:49
| * offline1 | quit (Ping timeout: 240 seconds) |
10:51:06
| * gli | quit (Quit: Leaving) |
10:51:32
| * piscisaureus | quit (Quit: ~ Trillian Astra - www.trillian.im ~) |
10:52:05
| * hkon__ | joined |
10:52:11
| * simong | quit (Ping timeout: 252 seconds) |
10:53:34
| * medoix | quit (Quit: quit) |
10:53:41
| * noobee | quit (Remote host closed the connection) |
10:53:44
| * sreeix | joined |
10:53:55
| * mayanktg | quit (Ping timeout: 246 seconds) |
10:54:38
| * rendar | joined |
10:54:43
| * jlebrech | joined |
10:55:13
| * pers3us_ | quit (Ping timeout: 240 seconds) |
10:55:30
| * simong | joined |
10:55:37
| * deadalus | quit (Ping timeout: 240 seconds) |
10:55:42
| * kketch | quit (Quit: kketch) |
10:56:45
| * victor2812 | quit (Remote host closed the connection) |
10:56:46
| * compleatang | quit (Read error: No route to host) |
10:57:08
| * mrvisser | joined |
10:57:46
| * kketch | joined |
10:57:50
| * deadalus | joined |
10:58:17
| * arduix | joined |
10:58:17
| * nukulb | quit (Quit: nukulb) |
10:59:16
| * victor2812 | joined |
10:59:54
| * dshaw_ | joined |
10:59:57
| * adrianlang1 | quit (Quit: Leaving.) |
11:00:05
| * drx_ | joined |
11:00:09
| * tixz | quit (Remote host closed the connection) |
11:00:17
| * Maerten | quit (Quit: Maerten) |
11:00:37
| * D4RK-PH0ENiX | joined |
11:00:43
| * Genjikyoshero | quit (Quit: Leaving) |
11:01:18
| * sg555 | joined |
11:01:24
| * marionebl | changed nick to marionebl_ |
11:01:50
| * drx_ | quit (Read error: Connection reset by peer) |
11:01:57
| * drx__ | joined |
11:02:21
| * pwaleczek | joined |
11:02:30
| * dshaw_1 | joined |
11:02:36
| * dshaw_ | quit (Read error: Connection reset by peer) |
11:03:43
| * drx_ | joined |
11:04:02
| * pawn | quit (Remote host closed the connection) |
11:04:21
| * simong | quit (Ping timeout: 264 seconds) |
11:04:23
| * jabberwocky | joined |
11:04:23
| * metal55 | joined |
11:04:45
| * compleatang | joined |
11:05:15
| * drx_ | quit (Read error: Connection reset by peer) |
11:05:26
| * sensen | quit (Quit: leaving) |
11:05:35
| * drx_ | joined |
11:05:45
| * atula | joined |
11:05:48
| * drx__ | quit (Read error: Connection reset by peer) |
11:06:25
| * ecthiender | quit (Ping timeout: 240 seconds) |
11:06:45
| * johnkevinmbasco | quit |
11:06:49
| * dshaw_1 | quit (Ping timeout: 240 seconds) |
11:06:55
| * drx_ | quit (Read error: Connection reset by peer) |
11:07:25
| * drx_ | joined |
11:07:29
| * J-Gonzalez | quit (Ping timeout: 240 seconds) |
11:07:35
| * Sorella | joined |
11:07:35
| * Sorella | quit (Changing host) |
11:07:35
| * Sorella | joined |
11:08:11
| * fixl | joined |
11:08:54
| * drx_ | quit (Read error: Connection reset by peer) |
11:09:09
| * drx_ | joined |
11:09:40
| * bpierre | joined |
11:10:43
| * drx_ | quit (Read error: Connection reset by peer) |
11:11:01
| * drx_ | joined |
11:12:12
| * AndChat|507 | joined |
11:12:12
| * hammadfauz | quit (Read error: Connection reset by peer) |
11:12:22
| * drx_ | quit (Read error: Connection reset by peer) |
11:12:22
| * L0u1s | changed nick to L0u0s |
11:12:30
| * marionebl_ | changed nick to marionebl |
11:12:41
| * vlad_starkov | quit (Remote host closed the connection) |
11:12:46
| * drx_ | joined |
11:14:10
| * jlebrech | quit (Read error: Connection reset by peer) |
11:14:25
| * L0u0s | changed nick to L0u1s |
11:14:36
| * drx__ | joined |
11:15:08
| * sg555 | changed nick to simong |
11:15:43
| * jlebrech | joined |
11:15:57
| * marcghorayeb | quit (Quit: Textual IRC Client: www.textualapp.com) |
11:16:22
| * drx__ | quit (Read error: Connection reset by peer) |
11:16:33
| * drx__ | joined |
11:16:41
| * drx_ | quit (Read error: Connection reset by peer) |
11:17:31
| * marcghorayeb | joined |
11:18:01
| * liwen | quit (Ping timeout: 240 seconds) |
11:18:08
| * drx__ | quit (Read error: Connection reset by peer) |
11:18:13
| * ededagic | joined |
11:18:17
| * drx_ | joined |
11:18:25
| * lyanchih | quit (Ping timeout: 240 seconds) |
11:18:47
| * trusktr | quit (Ping timeout: 246 seconds) |
11:18:51
| * rafaelrinaldi | joined |
11:19:06
| * kirfu | joined |
11:19:58
| * drx_ | quit (Read error: Connection reset by peer) |
11:19:59
| * the8thbit | quit (Ping timeout: 240 seconds) |
11:20:02
| * therealkoopa | quit (Remote host closed the connection) |
11:20:10
| * drx_ | joined |
11:20:31
| * ededagic_ | quit (Ping timeout: 246 seconds) |
11:21:26
| * bieber | joined |
11:21:27
| * atula | quit (Quit: This computer has gone to sleep) |
11:21:30
| * rafaelrinaldi | quit (Read error: Connection reset by peer) |
11:21:53
| * rafaelrinaldi | joined |
11:21:55
| * drx__ | joined |
11:22:07
| * TyrfingMjolnir | quit (Ping timeout: 264 seconds) |
11:22:33
| * peterdev001 | joined |
11:23:23
| * pyrotechnick | joined |
11:23:40
| * kirfu | quit (Ping timeout: 246 seconds) |
11:23:43
| * drx___ | joined |
11:23:45
| * David | joined |
11:23:47
| * drx__ | quit (Read error: Connection reset by peer) |
11:24:59
| * kex | quit (Remote host closed the connection) |
11:25:07
| * drx_ | quit (Ping timeout: 264 seconds) |
11:25:08
| * angelazou | joined |
11:25:16
| * kayamm | quit (Quit: part) |
11:25:31
| * drx_ | joined |
11:26:38
| * dertin | joined |
11:27:02
| * drx_ | quit (Read error: Connection reset by peer) |
11:27:08
| <angelazou> | hi, I have a socket.io script that is being moved to a new environment using vhost with subdirectory |
11:27:17
| * FunnyLookinHat | joined |
11:27:20
| * drx_ | joined |
11:27:20
| * drx___ | quit (Read error: Connection reset by peer) |
11:27:45
| * tixz | joined |
11:27:49
| <angelazou> | I'm having problem having the socket.IO connect |
11:28:25
| * nukulb | joined |
11:28:39
| <angelazou> | because the paths are different i.e. there is additional path |
11:28:43
| * David | quit (Ping timeout: 264 seconds) |
11:28:51
| <angelazou> | so /socket.io becomes /nodejs/socket.io |
11:29:07
| * drx__ | joined |
11:29:14
| * drx_ | quit (Read error: Connection reset by peer) |
11:29:20
| * rafaelrinaldi | quit (Remote host closed the connection) |
11:29:54
| * rafaelrinaldi | joined |
11:30:38
| * looking_for_work | quit (Read error: Connection reset by peer) |
11:30:40
| * drx__ | quit (Read error: Connection reset by peer) |
11:30:50
| <micheil> | angelazou: i might be wrong, but I don't think socket.io supports being hosted out of a subdir, or, at least, I've known people to have issues with that. |
11:30:55
| * drx_ | joined |
11:31:04
| <micheil> | angelazou: you may want to try Primus instead of Socket.io |
11:31:14
| * snathan | joined |
11:32:04
| * yho | quit (Ping timeout: 246 seconds) |
11:32:19
| * yho | joined |
11:32:20
| * drx_ | quit (Read error: Connection reset by peer) |
11:32:24
| * mrvisser | quit (Remote host closed the connection) |
11:32:37
| * tom94 | quit (Quit: Konversation terminated!) |
11:32:46
| * drx_ | joined |
11:33:07
| * WolfieZero | changed nick to WolfieZero|Away |
11:33:23
| * bieber | quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
11:33:36
| * Ritzton | joined |
11:34:01
| * rafaelrinaldi | quit (Ping timeout: 240 seconds) |
11:34:07
| * drx_ | quit (Read error: Connection reset by peer) |
11:34:12
| <angelazou> | micheil: i see, I also found a express.vhost that could help |
11:34:36
| * drx_ | joined |
11:34:46
| <angelazou> | but I haven't found examples for subdirectory so far, so I'm not sure it could work |
11:35:18
| * yosito | joined |
11:35:37
| * snathan | quit (Ping timeout: 240 seconds) |
11:35:55
| * listochkin | joined |
11:36:16
| * drx_ | quit (Read error: Connection reset by peer) |
11:36:25
| * drx_ | joined |
11:37:06
| * bieber | joined |
11:37:48
| * abraxas | joined |
11:37:52
| * drx_ | quit (Read error: Connection reset by peer) |
11:38:20
| * drx_ | joined |
11:39:35
| <gildean> | angelazou: just use io.connect() it should automagically know where to connect |
11:39:35
| * drx_ | quit (Read error: Connection reset by peer) |
11:40:00
| * drx_ | joined |
11:40:49
| * ndrei | quit (Ping timeout: 240 seconds) |
11:41:20
| * mrvisser | joined |
11:41:32
| * WolfieZero|Away | changed nick to WolfieZero |
11:41:39
| * NodeNagant | joined |
11:41:47
| * drx__ | joined |
11:41:49
| * langemann | joined |
11:41:56
| * cakirke | joined |
11:41:57
| * atula | joined |
11:41:57
| * drx_ | quit (Read error: Connection reset by peer) |
11:42:16
| * hareth | quit (Quit: hareth) |
11:42:55
| * ndrei | joined |
11:43:16
| * papermogwai | joined |
11:43:19
| * kenansulayman | changed nick to kenan|afk |
11:43:28
| * vlad_starkov | joined |
11:43:32
| * askmike | joined |
11:43:33
| * drx__ | quit (Read error: Connection reset by peer) |
11:43:45
| * drx_ | joined |
11:44:09
| * yosito | quit (Remote host closed the connection) |
11:44:10
| * paulfryzel | joined |
11:44:23
| * rauchg | joined |
11:44:29
| * tixz | quit (Remote host closed the connection) |
11:44:36
| * yosito | joined |
11:45:15
| * TheGallery | joined |
11:45:15
| * jagoda | joined |
11:45:18
| * pers3us__ | joined |
11:45:21
| * drx__ | joined |
11:45:24
| <`3rdEden> | gildean: lies |
11:45:37
| * drx_ | quit (Read error: Connection reset by peer) |
11:45:44
| * vlad_starkov | quit (Remote host closed the connection) |
11:45:52
| <`3rdEden> | that only works if you page is hosted on exactly the same page / port / protocol / domain combination |
11:45:54
| * vlad_starkov | joined |
11:46:01
| * NodeNagant | quit (Ping timeout: 240 seconds) |
11:46:11
| * ninsei_ | joined |
11:46:34
| * danielstjules | joined |
11:46:54
| * hareth | joined |
11:46:55
| * jjido | joined |
11:46:56
| * jjido_ | quit (Read error: Connection reset by peer) |
11:46:56
| * drx__ | quit (Read error: Connection reset by peer) |
11:47:10
| * daslicht | quit |
11:47:21
| * drx_ | joined |
11:47:32
| * jphase | joined |
11:47:59
| * mdulghier | quit (Ping timeout: 241 seconds) |
11:47:59
| * ninsei | quit (Ping timeout: 241 seconds) |
11:48:29
| * paulfryzel | quit (Ping timeout: 240 seconds) |
11:48:59
| * yosito | quit (Ping timeout: 240 seconds) |
11:49:00
| * drx__ | joined |
11:49:37
| * pers3us__ | quit (Ping timeout: 240 seconds) |
11:49:45
| * nvrch | quit (Quit: nvrch) |
11:50:19
| * ndrei | quit (Ping timeout: 264 seconds) |
11:50:40
| * ededagic | quit (Remote host closed the connection) |
11:50:49
| * drx___ | joined |
11:50:57
| * SonikBoom | joined |
11:51:03
| * drx__ | quit (Read error: Connection reset by peer) |
11:51:16
| * STRML | joined |
11:51:20
| * Metal3d | joined |
11:51:59
| * jphase | quit (Ping timeout: 240 seconds) |
11:52:07
| * drx_ | quit (Ping timeout: 264 seconds) |
11:52:39
| * drx___ | quit (Read error: Connection reset by peer) |
11:52:40
| * drx_ | joined |
11:53:32
| * hswolff | joined |
11:53:36
| * metasansana | joined |
11:53:36
| * metasansana | quit (Changing host) |
11:53:36
| * metasansana | joined |
11:53:57
| * drx_ | quit (Read error: Connection reset by peer) |
11:54:08
| * Nooos | quit (Ping timeout: 246 seconds) |
11:54:25
| * drx_ | joined |
11:54:41
| * kenan|afk | changed nick to kenansulayman |
11:55:03
| * noderino | joined |
11:55:03
| * pyrotechnick | quit |
11:55:21
| * T0rch | quit (Ping timeout: 264 seconds) |
11:55:32
| * sreeix | quit (Ping timeout: 244 seconds) |
11:55:41
| * ingshtrom | joined |
11:55:47
| <`3rdEden> | angelazou: you would need to change the `resource` option of socket.io if you don’t want to have it serve from /socket.io/ but from something else |
11:55:47
| * kketch | quit (Quit: kketch) |
11:55:59
| <`3rdEden> | angelazou: or if you use primus, it’s just called pathname ;-) |
11:56:01
| * ndrei | joined |
11:56:21
| * drx__ | joined |
11:56:29
| * drx_ | quit (Read error: Connection reset by peer) |
11:56:51
| <staar2> | any hosters beside heroku, digitallocean who has support for websockets ? |
11:56:55
| * toddbranch | quit (Ping timeout: 264 seconds) |
11:57:05
| <noderino> | hey there, i'm using 'https' to download a few files, and the files are being created, but they are zero byes / empty. Can anyone point me in the right direction? http://pastebin.com/GK0e1nxY |
11:57:06
| <`3rdEden> | staar2: nodejitsu |
11:57:26
| * caitp | joined |
11:57:36
| * alathon | joined |
11:57:42
| * jas- | joined |
11:57:51
| * GreenJello | joined |
11:58:06
| * drx_ | joined |
11:58:07
| * intellix | quit (Quit: intellix) |
11:58:08
| * emeve89 | joined |
11:58:59
| * dokkles | quit (Quit: Computer has gone to sleep.) |
11:59:01
| * shaekuronen | quit (Quit: shaekuronen) |
11:59:22
| * hemanth_ | joined |
11:59:38
| <emeve89> | hello folks!! I'm looking for a good nodejs book. Could you please recommend me one? |
11:59:41
| * shaekuronen | joined |
11:59:47
| * drx_ | quit (Read error: Connection reset by peer) |
12:00:01
| * drx_ | joined |
12:00:47
| * drx__ | quit (Ping timeout: 246 seconds) |
12:00:52
| * Left_Turn | quit (Read error: Connection reset by peer) |
12:01:46
| * drx__ | joined |
12:01:51
| * real_ate | joined |
12:01:51
| * drx_ | quit (Read error: Connection reset by peer) |
12:02:36
| * atula | quit (Quit: Leaving) |
12:03:10
| * drx__ | quit (Read error: Connection reset by peer) |
12:03:11
| * dshaw_ | joined |
12:03:27
| <staar2> | emeve89, there isn't good book |
12:03:29
| * drx_ | joined |
12:03:30
| * dokkles | joined |
12:04:29
| * ndrei | quit (Ping timeout: 240 seconds) |
12:05:12
| * nukulb | quit (Quit: nukulb) |
12:05:12
| * siqi | joined |
12:05:22
| * drx__ | joined |
12:05:34
| * drx_ | quit (Read error: Connection reset by peer) |
12:06:16
| * listochkin | quit (Remote host closed the connection) |
12:06:31
| * ndrei | joined |
12:06:46
| * drx__ | quit (Read error: Connection reset by peer) |
12:07:05
| * gberger | quit (Ping timeout: 246 seconds) |
12:07:13
| * dshaw_ | quit (Ping timeout: 240 seconds) |
12:07:17
| * drx_ | joined |
12:07:28
| <hareth> | hello |
12:07:57
| * ededagic | joined |
12:08:11
| * T0rch | joined |
12:08:21
| * bhaveshletter | quit (Quit: Leaving) |
12:08:26
| * navaru | joined |
12:08:38
| * drx_ | quit (Read error: Connection reset by peer) |
12:08:50
| * coppa | quit (Quit: Leaving.) |
12:08:53
| * bieber | quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:08:57
| * screamingbanshee | quit |
12:09:07
| * drx_ | joined |
12:10:22
| * drx_ | quit (Read error: Connection reset by peer) |
12:10:30
| * abraxas | quit (Remote host closed the connection) |
12:10:51
| * drx_ | joined |
12:11:05
| * dve | quit (Remote host closed the connection) |
12:11:06
| * abraxas | joined |
12:11:23
| * vsoftoiletpaper | joined |
12:11:39
| * yho | quit (Read error: Connection reset by peer) |
12:11:46
| * dve | joined |
12:11:51
| * yho | joined |
12:12:07
| * yorick | joined |
12:12:18
| * angelazou | quit (Ping timeout: 245 seconds) |
12:12:34
| * drx_ | quit (Read error: Connection reset by peer) |
12:12:42
| * drx_ | joined |
12:13:02
| * santiagoR | joined |
12:13:06
| * chiburbs | joined |
12:13:40
| * packetGunner | quit (Remote host closed the connection) |
12:14:19
| * phuh | quit (Remote host closed the connection) |
12:14:22
| * drx__ | joined |
12:14:33
| * drx_ | quit (Read error: Connection reset by peer) |
12:14:54
| * phuh | joined |
12:15:36
| * tixz | joined |
12:15:43
| * angelazou | joined |
12:16:07
| * abraxas | quit (Ping timeout: 264 seconds) |
12:16:14
| * drx_ | joined |
12:16:16
| * sthaha | joined |
12:16:16
| * sthaha | quit (Changing host) |
12:16:16
| * sthaha | joined |
12:16:20
| * drx__ | quit (Read error: Connection reset by peer) |
12:16:37
| <angelazou> | `3rdEden: I was wondering if you can give me a hint on how to set up with resource option |
12:16:42
| <angelazou> | so on the server side, I'm doing |
12:16:43
| * dve | quit (Ping timeout: 264 seconds) |
12:16:51
| <angelazou> | io.set('resource', 'nodejs/socket.io').of('/livechat').on('connection', function() { //blah blah }); |
12:16:56
| * kenkeiter | joined |
12:17:04
| <angelazou> | and on the client side, I have |
12:17:21
| <angelazou> | io.set('resource', '/nodejs/socket.io').connect('http://example.com/nodejs/livechat'); |
12:17:54
| * ArtImitatesLife | quit (Remote host closed the connection) |
12:18:01
| * caitp | quit (Ping timeout: 240 seconds) |
12:18:02
| * drx__ | joined |
12:18:09
| <angelazou> | but when I open my page example.com/livechat, I can no longer access the socket.io.js file |
12:18:16
| * ArtImitatesLife | joined |
12:18:29
| <angelazou> | I can not reach it using either example.com/nodejs/socket.io.js or example.com/socket.io.js |
12:18:32
| * sdgsdg | quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
12:18:33
| * Efrem | joined |
12:18:41
| * ninsei | joined |
12:18:43
| * Left_Turn | joined |
12:18:46
| <`3rdEden> | angelazou: serverside needs a slash in the resource, client side does not |
12:18:54
| <`3rdEden> | see https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO |
12:19:15
| <`3rdEden> | and it’s io.connect(url,options) |
12:19:21
| <`3rdEden> | for the client |
12:19:57
| * drx___ | joined |
12:20:00
| <`3rdEden> | (if you used primus, you would have only needed to change it once, on the server and it would have correct configured it for you on the client ;-) (shameless plug)) |
12:20:04
| * drx_ | quit (Write error: Connection reset by peer) |
12:20:26
| * siqi | quit (Remote host closed the connection) |
12:20:28
| * randallagordon | joined |
12:20:33
| * jetienne | joined |
12:20:44
| * Adrao | quit (Ping timeout: 252 seconds) |
12:20:56
| <hiteshtr> | can someone tell me what this module of nodejs do require('util')._extend |
12:21:08
| * tixz | quit (Remote host closed the connection) |
12:21:41
| * drx_ | joined |
12:21:44
| * drx___ | quit (Read error: Connection reset by peer) |
12:21:53
| * drx__ | quit (Read error: Connection reset by peer) |
12:21:57
| * liquid-silence | joined |
12:21:57
| * liquid-silence | quit (Changing host) |
12:21:57
| * liquid-silence | joined |
12:21:59
| * tixz | joined |
12:22:07
| * ninsei_ | quit (Ping timeout: 246 seconds) |
12:22:24
| * yacks | quit (Remote host closed the connection) |
12:22:51
| * noord | part ("Leaving") |
12:22:53
| * TeamColtra | joined |
12:23:17
| * drx_ | quit (Read error: Connection reset by peer) |
12:23:26
| * drx_ | joined |
12:23:29
| * randalla1ordon | quit (Ping timeout: 240 seconds) |
12:23:39
| * David | joined |
12:24:24
| * STRML | quit (Remote host closed the connection) |
12:24:26
| <isaacbw> | up at 8! My cartoon alarm clock worked! |
12:24:45
| * mpdaly | quit (Ping timeout: 264 seconds) |
12:24:50
| * STRML | joined |
12:25:01
| * drx_ | quit (Read error: Connection reset by peer) |
12:25:16
| * drx_ | joined |
12:25:46
| * kex | joined |
12:25:57
| * RyanGuill | joined |
12:26:14
| * WolfieZero | changed nick to WolfieZero|Away |
12:26:22
| <hiteshtr> | what does _extend function do in nodejs ? |
12:26:41
| * sab | joined |
12:26:47
| * drx_ | quit (Read error: Connection reset by peer) |
12:26:47
| <hiteshtr> | it is part of util module of nodejs |
12:27:01
| * drx_ | joined |
12:27:03
| * Maerten | joined |
12:27:32
| * sab | quit (Client Quit) |
12:27:35
| * whitby | joined |
12:27:42
| * mahesh | quit (Read error: Connection reset by peer) |
12:27:54
| * Maerten | quit (Client Quit) |
12:28:01
| * Carraway | joined |
12:28:09
| * Carraway | quit (Max SendQ exceeded) |
12:28:13
| * msafi1 | joined |
12:28:29
| * drx_ | quit (Read error: Connection reset by peer) |
12:28:39
| * Carraway | joined |
12:28:40
| * Carraway | quit (Max SendQ exceeded) |
12:28:46
| * Latros_ | joined |
12:28:51
| * drx_ | joined |
12:28:54
| * mahesh | joined |
12:29:02
| * lanceball | joined |
12:29:12
| * peterdev001 | quit (Remote host closed the connection) |
12:29:19
| * Carraway | joined |
12:29:23
| * Carraway | quit (Max SendQ exceeded) |
12:29:29
| * STRML | quit (Ping timeout: 240 seconds) |
12:29:37
| * msafi | quit (Ping timeout: 240 seconds) |
12:29:40
| * tixz | quit (Remote host closed the connection) |
12:29:55
| * David | quit (Ping timeout: 264 seconds) |
12:30:08
| <angelazou> | awesome, it worked. thanks `3rdEden |
12:30:21
| * tixz | joined |
12:30:23
| * drx_ | quit (Read error: Connection reset by peer) |
12:30:51
| * drx_ | joined |
12:30:57
| <`3rdEden> | \o\ |
12:31:20
| * dve | joined |
12:31:23
| * tixz | quit (Remote host closed the connection) |
12:31:45
| * snathan | joined |
12:31:56
| * tixz | joined |
12:31:56
| * araujo | joined |
12:32:10
| * tombooth | joined |
12:32:16
| * drx_ | quit (Read error: Connection reset by peer) |
12:32:17
| * Rahar | quit (Read error: Connection reset by peer) |
12:32:21
| * peterdev001 | joined |
12:32:21
| * PaulB0 | joined |
12:32:24
| * Rahar1 | joined |
12:32:26
| * drx_ | joined |
12:32:53
| * kirfu|work | joined |
12:33:00
| * Rahar1 | quit (Read error: Connection reset by peer) |
12:33:11
| * Rahar | joined |
12:33:21
| * Rahar | part |
12:33:35
| * tixz | quit (Remote host closed the connection) |
12:34:05
| * drx_ | quit (Read error: Connection reset by peer) |
12:34:11
| * tixz | joined |
12:34:16
| * drx_ | joined |
12:34:21
| * vsoftoiletpaper | quit |
12:34:41
| * hswolff | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:35:03
| * relix | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:35:21
| * dertin | quit (Quit: dertin) |
12:35:30
| * lpin | quit (Quit: Textual IRC Client: www.textualapp.com) |
12:35:35
| * tixz | quit (Remote host closed the connection) |
12:35:48
| * drx_ | quit (Read error: Connection reset by peer) |
12:36:07
| * drx_ | joined |
12:36:07
| * snathan | quit (Ping timeout: 246 seconds) |
12:36:45
| * xonev | joined |
12:36:46
| * richwestcoast | joined |
12:37:26
| * sadtaco | joined |
12:37:37
| * TheGallery | quit (Ping timeout: 240 seconds) |
12:37:49
| * mayanktg | joined |
12:37:57
| * drx__ | joined |
12:37:57
| * MrSavage | joined |
12:38:06
| * rauchg | quit (Remote host closed the connection) |
12:38:36
| <emeve89> | staar2 : really? fuuuuuuuu |
12:39:00
| * cakirke | quit (Quit: cakirke) |
12:39:18
| * jchannon_ | joined |
12:39:41
| <staar2> | :D |
12:40:17
| * mrvisser | quit (Remote host closed the connection) |
12:40:19
| * drx_ | quit (Ping timeout: 246 seconds) |
12:40:20
| <Lunar_Lamp> | I'm using the http module for a very simple application, and I can access details of incoming requests like "req.url" and act upon that. However, I can't see how to get the actual "payload" of incoming POSTs, which are JSON. Could someone point me in the right direction (I'm sure I'm being an idiot). |
12:40:29
| * ebetancourt | joined |
12:40:32
| <jchannon_> | hi was wondering if someone can help a noob with sinon. i have a gist that someone can hopefully help me out on https://gist.github.com/jchannon/83258bd7f144f0a294be |
12:41:22
| <isaacbw> | Lunar_Lamp: the incoming message is readable stream |
12:41:32
| * drx_ | joined |
12:41:34
| * coppa | joined |
12:41:36
| * hareth | quit (Quit: hareth) |
12:41:38
| <ironfroggy> | Does anyone know if the Mocha test tool supports asynchronous before/after functions, not just the tests themselves? |
12:41:38
| * noderino | quit (Quit: Page closed) |
12:41:41
| * NodeNagant | joined |
12:41:44
| * peterdev001 | quit (Remote host closed the connection) |
12:41:52
| <ironfroggy> | the async docs for Mocha only refer to the it() calls |
12:41:55
| * ededagic_ | joined |
12:42:04
| * drx__ | quit (Ping timeout: 246 seconds) |
12:42:10
| * LoneStar99 | joined |
12:42:22
| * bieber | joined |
12:42:22
| * coppa | part |
12:42:29
| * lanceball | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:42:36
| * teasherm | joined |
12:42:54
| * drx_ | quit (Read error: Connection reset by peer) |
12:43:05
| * _jcarvalho | joined |
12:43:16
| * drx_ | joined |
12:43:20
| <Lunar_Lamp> | isaacbw: aaah, so it doesn't get stored automatically like the parameters of the request, I have to access the stream? |
12:43:31
| * jbalsano | joined |
12:43:59
| * ededagic | quit (Ping timeout: 240 seconds) |
12:44:03
| <isaacbw> | yuppers |
12:44:10
| * samg | quit (Quit: Connection closed for inactivity) |
12:44:10
| * Dr3amc0d3r|away | quit (Ping timeout: 246 seconds) |
12:44:45
| <Lunar_Lamp> | Well, that explains why I was having so much trouble :-D Could you link me to some documentation that has an example of this in use? (I've *very* new to nodejs) |
12:44:55
| * paulfryzel | joined |
12:44:56
| * thealphanerd | quit (Quit: thealphanerd) |
12:45:09
| * qu1ckkkk | quit (Ping timeout: 264 seconds) |
12:45:11
| * bluesm_ | quit (Quit: Connection closed for inactivity) |
12:45:13
| * drx_ | quit (Read error: Connection reset by peer) |
12:45:16
| * drx__ | joined |
12:45:17
| * mmitchell | joined |
12:45:36
| * qu1ckkkk | joined |
12:45:39
| * yuwang^ | quit (Quit: Leaving) |
12:45:41
| * fixl | quit (Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/) |
12:45:42
| * caitp | joined |
12:46:01
| * NodeNagant | quit (Ping timeout: 240 seconds) |
12:46:06
| * hareth | joined |
12:46:07
| * delight | joined |
12:46:07
| * Dr3amc0d3r|away | joined |
12:46:15
| <isaacbw> | woaaaaah did connect remove all its middleware |
12:46:15
| * Dr3amc0d3r|away | changed nick to Dr3amc0d3r |
12:46:16
| * tvw | quit (Ping timeout: 246 seconds) |
12:46:17
| * jetienne | quit (Quit: jetienne) |
12:46:31
| * rauchg | joined |
12:46:33
| * drx__ | quit (Read error: Connection reset by peer) |
12:46:35
| <isaacbw> | wtf, where did express's middleware go as well |
12:46:38
| <isaacbw> | WHAT IS HAPPENING |
12:46:49
| * teasherm | quit (Ping timeout: 240 seconds) |
12:46:57
| * drx_ | joined |
12:47:37
| <isaacbw> | I'm trying to find something for you Lunar_Lamp, but everything's gone missing |
12:47:55
| * rauchg | quit (Remote host closed the connection) |
12:48:00
| * intellix | joined |
12:48:02
| * skulbuny | joined |
12:48:25
| * drx_ | quit (Read error: Connection reset by peer) |
12:48:43
| * jdelgado | joined |
12:48:49
| * drx_ | joined |
12:48:51
| <delight> | why is it that in node and in particular express/connect or even sailsjs I need to set the routes manually while some other frameworks (particular like grails, rails etc.) use a URLMapper that helps with a rule to generate all sort of "routes" ? |
12:48:55
| <isaacbw> | this might help Lunar_Lamp http://stackoverflow.com/questions/13410960/how-to-read-an-entire-text-stream-in-node-js |
12:48:59
| * paulfryzel | quit (Ping timeout: 240 seconds) |
12:49:00
| * listochkin | joined |
12:49:09
| <isaacbw> | basically you have a string variable, and on each 'data' even you add to it |
12:49:13
| <Lunar_Lamp> | isaacbw: thank you very much :-) |
12:49:14
| * johntitor2036 | quit (Read error: Connection reset by peer) |
12:49:15
| <isaacbw> | then on 'end', you can do stuff with the data |
12:49:22
| <delight> | maybe I'm missundertanding some fundamentals here ... I'm pretty new to node and its concepts |
12:49:27
| <isaacbw> | you can use the new streams API, but I just use 'data' and 'end' still |
12:49:32
| <isaacbw> | not that I do much with streams |
12:49:37
| * Emmanuel` | quit (Quit: Konversation terminated!) |
12:50:05
| <isaacbw> | delight: because node itself doesn't do any of that. It just gives you a url string and says "have fun" |
12:50:14
| <isaacbw> | so different libraries that use node approach the problem in different ways |
12:50:19
| * dataid | quit (Quit: away.) |
12:50:23
| * drx_ | quit (Read error: Connection reset by peer) |
12:50:27
| * rbarnwell | joined |
12:50:37
| * drx_ | joined |
12:50:40
| <isaacbw> | are you talking about stuff like 'resource' in rails? |
12:50:45
| <isaacbw> | oh, I misread your question |
12:50:51
| * johnkevinmbasco | joined |
12:50:52
| <isaacbw> | so yea, 'resource'? |
12:51:10
| * papermogwai | quit (Ping timeout: 246 seconds) |
12:51:14
| * Lcfvs | joined |
12:51:37
| * Phuein | quit (Ping timeout: 240 seconds) |
12:51:41
| * stonebra_ | joined |
12:51:48
| * dejanr | joined |
12:51:50
| <jchannon_> | any Sinon experts about? |
12:51:54
| * dejanr | quit (Client Quit) |
12:52:01
| <delight> | isaacbw: well I would have to look up again what is it called in rails ... but I mean an URLMapper ... basically you specify a generic rule and it generates the "routes" for you from the given controllers and the you implemented |
12:52:06
| * pluma | joined |
12:52:23
| * drx__ | joined |
12:52:24
| * T0rch | quit (Read error: Connection reset by peer) |
12:52:35
| <delight> | isaacbw: additionally you can spacify rules that give you exaclty one "route" |
12:52:36
| * drx_ | quit (Read error: Connection reset by peer) |
12:52:52
| * dejanr | joined |
12:52:56
| * marionebl | changed nick to marionebl_ |
12:53:09
| <delight> | I found it a little tedious and somewhat redudant to have to specify them for manually every single "route" |
12:53:28
| <isaacbw> | delight: so noders like to work close to the metal |
12:53:37
| * Ritzton | quit (Ping timeout: 246 seconds) |
12:53:38
| <delight> | ;) |
12:53:42
| <isaacbw> | which means they eschew niceties such as proper routing libraries |
12:53:44
| * drx__ | quit (Read error: Connection reset by peer) |
12:54:02
| <Lcfvs> | hi all... little non-js question... I would say that I provide my full sources ... "fully sourced" is correct, in english, please? :) |
12:54:13
| * drx_ | joined |
12:54:13
| * bradgignac | joined |
12:54:23
| <isaacbw> | delight: I suspect it will change eventaully as node maturers, but for now everyone is still trying to be like express, which is like sinatra |
12:54:30
| <isaacbw> | *matures |
12:54:31
| * stonebranch | quit (Ping timeout: 264 seconds) |
12:54:34
| <isaacbw> | you could make a real routing library! |
12:54:41
| * mattsurabian | joined |
12:55:00
| * kketch | joined |
12:55:12
| <isaacbw> | something like perl's catalyst maybe |
12:55:14
| <delight> | isaacbw: yes ... I think sails might have some potential ... but I'm not sure about it at the current state |
12:55:32
| * mlouro | quit (Quit: Quit) |
12:55:40
| <isaacbw> | eh |
12:55:42
| * msafi1 | quit (Read error: Connection reset by peer) |
12:55:43
| <delight> | but the don't over routing-rules either ... |
12:55:44
| <isaacbw> | I don't know about sails |
12:55:47
| <delight> | offer |
12:55:51
| * drx_ | quit (Read error: Connection reset by peer) |
12:55:58
| * drx_ | joined |
12:56:00
| <isaacbw> | I do like the modularity of node, still |
12:56:01
| * msafi | joined |
12:56:14
| * jdelgado | quit (Read error: Connection reset by peer) |
12:56:14
| * jdelgado_ | joined |
12:56:28
| <isaacbw> | I think if you took the routing component from rails, and *just* the routing component (i.e you managed to not bring over the whole MVC business) you would be golden |
12:56:58
| <isaacbw> | Lcfvs: I don't think it's clear what that means |
12:57:01
| * yosito | joined |
12:57:06
| <isaacbw> | you could say "fully open source" maybe |
12:57:07
| * krawchyk | joined |
12:57:09
| <delight> | isaacbw: I just stumbled over it a few days ago .. looked promising on the first look ... can't realy recomend or not. I need to gather some more experience before |
12:57:29
| <Lcfvs> | isaacbw: ok, thanks a lot :) |
12:57:37
| * richwestcoast | quit (Ping timeout: 240 seconds) |
12:57:39
| <isaacbw> | sure, spend some time with it if you like. But I just know that I hardly ever see anyone talking about it |
12:57:44
| <isaacbw> | maybe because they're all in #sailsjs |
12:57:47
| <delight> | it builds uppon expess and socket.io |
12:57:47
| * jjido_ | joined |
12:57:57
| * drx__ | joined |
12:58:04
| <delight> | :-D possibly |
12:58:05
| * bodisiw | joined |
12:58:11
| * stonebra_ | quit (Remote host closed the connection) |
12:58:29
| * AndChat|507 | quit (Ping timeout: 240 seconds) |
12:58:39
| * tombooth | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:58:46
| * stonebranch | joined |
12:59:07
| * mlouro | joined |
12:59:25
| <Lcfvs> | isaacbw: I rewrote my encryption algorithm, I republished soon =) |
12:59:26
| * jchannon_ | quit (Quit: Page closed) |
12:59:38
| * drx___ | joined |
12:59:46
| * drx__ | quit (Read error: Connection reset by peer) |
12:59:47
| <delight> | well i wouldn't mind a routing lib with more features ... even as an optional future ... just to be able to specify "rules" for routes not each one by one |
12:59:50
| * navaru | quit (Remote host closed the connection) |
12:59:55
| * jjido | quit (Ping timeout: 246 seconds) |
13:00:01
| * drx_ | quit (Ping timeout: 240 seconds) |
13:00:03
| * vlad_starkov | quit (Remote host closed the connection) |
13:00:11
| <delight> | future <> module |
13:00:20
| * tvw | joined |
13:00:27
| * STRML | joined |
13:00:31
| * johnkevinmbasco | quit (Ping timeout: 264 seconds) |
13:00:37
| * _jcarvalho | quit (Remote host closed the connection) |
13:00:40
| * rbarnwell | quit (Remote host closed the connection) |
13:00:45
| * navaru | joined |
13:00:49
| * codecowboy | quit (Quit: Computer has gone to sleep.) |
13:01:14
| * LoneStar99 | quit (Quit: Leaving.) |
13:01:23
| * drx_ | joined |
13:01:34
| * donbitto | quit (Quit: Leaving.) |
13:02:04
| * danielstjules | quit (Quit: Leaving.) |
13:02:17
| <isaacbw> | delight: what sorts of rules are you talking about? I can't really imagine anything other than resource |
13:02:44
| * tombooth | joined |
13:02:49
| * _jcarvalho | joined |
13:03:12
| * FasTTo | quit (Quit: Inactive) |
13:03:20
| * drx__ | joined |
13:03:42
| * jklb | joined |
13:03:58
| * dshaw_ | joined |
13:04:00
| <delight> | isaacbw: maybe I'm still misunderstanding some concepts (sorry if so - pretty new to node world) - what I mean is something like that http://www.grails.org/doc/2.3.x/ref/Plug-ins/URL%20mappings.html |
13:04:01
| * ndrei | quit (Ping timeout: 240 seconds) |
13:04:03
| * Fishrock123 | joined |
13:04:29
| * drx___ | quit (Ping timeout: 268 seconds) |
13:04:43
| * marionebl_ | changed nick to marionebl |
13:04:47
| <Lcfvs> | any node-webkit or nodebob users, here? :) |
13:04:50
| <delight> | its not listed there but you can also specify a certain mapping for lets say just POST or DELETE to a certain "URL" and it map it to a method etc. |
13:04:57
| * drx__ | quit (Read error: Connection reset by peer) |
13:04:59
| * drx___ | joined |
13:05:09
| * WolfieZero|Away | changed nick to WolfieZero |
13:05:21
| * euoia | joined |
13:05:33
| * BillCriswell | joined |
13:05:37
| * drx_ | quit (Ping timeout: 240 seconds) |
13:05:56
| * kex | quit (Remote host closed the connection) |
13:06:14
| * vlad_starkov | joined |
13:06:18
| * ebetancourt | quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:06:24
| <delight> | isaacbw: but probably I need to read deeper into it - to find why things are like they are in node ;) |
13:06:34
| * dfreire | quit (Quit: Computer has gone to sleep.) |
13:06:59
| * jalmeida | quit (Ping timeout: 269 seconds) |
13:06:59
| * drx_ | joined |
13:07:14
| * xonev1 | joined |
13:07:22
| <isaacbw> | delight: like I said, people just don't like to do complicated things |
13:07:33
| <isaacbw> | and don't like using libraries that require learning |
13:07:42
| <isaacbw> | I'm not being fecetious |
13:07:49
| <isaacbw> | this is how the Node community is |
13:07:53
| <isaacbw> | for better or for worse |
13:08:01
| * dshaw_ | quit (Ping timeout: 240 seconds) |
13:08:16
| * drx_ | quit (Read error: Connection reset by peer) |
13:08:20
| * GreggR | quit (Ping timeout: 246 seconds) |
13:08:39
| * drx_ | joined |
13:08:55
| * drx___ | quit (Read error: Connection reset by peer) |
13:09:23
| * cbeacock | joined |
13:09:28
| <delight> | isaacbw: :) just seemed a litte non-dry to me ... but maybe it lays in the eye of the viewer .. as I said I'll have to look deeper into it ;) |
13:09:37
| * aminRX | quit (Ping timeout: 240 seconds) |
13:09:53
| * kex | joined |
13:09:53
| <isaacbw> | let me rephrase, that's just how the JS community is (for the most part) |
13:10:02
| * evanlucas | joined |
13:10:06
| <isaacbw> | (there are really awesome, difficult projects like emscripten going on) |
13:10:13
| * drx_ | quit (Read error: Connection reset by peer) |
13:10:25
| * xonev | quit (Ping timeout: 246 seconds) |
13:10:31
| * ndrei | joined |
13:10:40
| * drx_ | joined |
13:11:15
| * CMTegner | quit (Quit: CMTegner) |
13:11:26
| * roelmonnens | joined |
13:11:37
| * tom94 | joined |
13:11:41
| * xzi11a | joined |
13:11:43
| * CMTegner | joined |
13:12:22
| * drx__ | joined |
13:12:29
| * drx_ | quit (Read error: Connection reset by peer) |
13:12:47
| * AvianFlu | joined |
13:12:49
| * hiteshtr | quit (Quit: Leaving) |
13:12:59
| * dccc | quit (Ping timeout: 252 seconds) |
13:13:19
| * anoemi | joined |
13:13:28
| * blessYahu | joined |
13:13:47
| * _jcarvalho | quit (Remote host closed the connection) |
13:14:05
| * drx_ | joined |
13:14:49
| * richwestcoast | joined |
13:14:55
| * kex | quit (Ping timeout: 264 seconds) |
13:15:25
| * drx_ | quit (Read error: Connection reset by peer) |
13:15:42
| * anoemi | quit (Client Quit) |
13:15:56
| * drx_ | joined |
13:16:03
| * drx__ | quit (Read error: Connection reset by peer) |
13:16:44
| * nukulb | joined |
13:16:57
| * nvrch | joined |
13:17:08
| * aslant_ | quit (Remote host closed the connection) |
13:17:19
| * drx_ | quit (Read error: Connection reset by peer) |
13:17:43
| * drx_ | joined |
13:17:47
| * tranzfuse | joined |
13:18:25
| * mlouro | quit (Quit: Quit) |
13:19:01
| * aslant | joined |
13:19:11
| * drx_ | quit (Read error: Connection reset by peer) |
13:19:24
| * screamingbanshee | joined |
13:19:32
| * drx_ | joined |
13:19:51
| <isaacbw> | (I'm not hating on Node, btw, maybe this attitude is a good thing) |
13:20:42
| * mwbarlow | joined |
13:20:48
| * drx_ | quit (Read error: Connection reset by peer) |
13:20:55
| * danielstjules | joined |
13:20:55
| * scttnlsn | quit (Ping timeout: 246 seconds) |
13:21:03
| * metal55 | quit (Remote host closed the connection) |
13:21:14
| * pyrotechnick | joined |
13:21:16
| * ghento | joined |
13:21:18
| <ghento> | r |
13:21:21
| * drx_ | joined |
13:21:34
| * kftzg | joined |
13:21:54
| <Sven_vB> | delight, can you show me code that would be easier with extra DELETE and POST stuff on it? |
13:22:24
| <Sven_vB> | maybe i'll add some hooks for that to my upcoming application server |
13:22:29
| * tranzfuse | quit (Ping timeout: 269 seconds) |
13:23:03
| * drx__ | joined |
13:23:07
| * drx_ | quit (Read error: Connection reset by peer) |
13:23:28
| * yacks | joined |
13:23:35
| <delight> | Sven_vB: well yes ... but as I said I'm pretty new to node ... so I'm just finding out about :param and express.static |
13:23:37
| * tkuchiki | quit (Ping timeout: 240 seconds) |
13:23:38
| * jtw | joined |
13:23:42
| * David | joined |
13:23:52
| * cloudbender | joined |
13:24:01
| * bluesm_ | joined |
13:24:01
| <delight> | I'll create a little example on some bin |
13:24:10
| * rtopliffe | joined |
13:24:26
| <Sven_vB> | np, my app server is intended to lure beginners |
13:24:44
| * dccc | joined |
13:24:45
| * dik_dak | joined |
13:24:46
| * drx__ | quit (Read error: Connection reset by peer) |
13:25:01
| * drx_ | joined |
13:25:06
| <Sven_vB> | s:lure:also appeal to: |
13:25:18
| * jjido_ | quit (Remote host closed the connection) |
13:25:28
| <isaacbw> | what's an app server |
13:25:42
| * pers3us__ | joined |
13:25:45
| * dve | quit (Remote host closed the connection) |
13:25:55
| * jjido | joined |
13:26:01
| * _jcarvalho | joined |
13:26:21
| * shingshang | quit (Ping timeout: 252 seconds) |
13:26:26
| <delight> | Sven_vB: I'm not sure we can match this so easily in the node world ... a quick googling brout me to stackoverflow |
13:26:27
| <plepzz> | I think it's an server that host apps! :D |
13:26:32
| * drx_ | quit (Read error: Connection reset by peer) |
13:26:36
| <delight> | :-D haha |
13:26:42
| * drx_ | joined |
13:26:43
| * Xiti` | quit (Quit: Leaving) |
13:26:49
| * pscanf | quit (Ping timeout: 240 seconds) |
13:26:54
| <delight> | http://stackoverflow.com/questions/955603/restful-grails-application-drying-up-urlmapping <<< something like this + look at the answer |
13:27:12
| * CMTegner | quit (Quit: CMTegner) |
13:27:16
| * tranzfuse | joined |
13:27:23
| * nukulb | quit (Quit: nukulb) |
13:27:24
| <plepzz> | Well our appserver at my work is used for serveral different rest interfaces :p |
13:27:33
| <Sven_vB> | isaacbw, a mix of an opinionated framework, a plugin rack, services broker and all other glue that you'd want to stick pieces together. |
13:27:56
| <delight> | but to be honest ... the point is you would have to distinct somehow between certain components and call something a controller so you could talk with those artifacts |
13:28:01
| * David | quit (Ping timeout: 240 seconds) |
13:28:19
| * scttnlsn | joined |
13:28:29
| * drx__ | joined |
13:28:42
| * drx_ | quit (Read error: Connection reset by peer) |
13:28:59
| * moniker | joined |
13:29:10
| <Sven_vB> | isaacbw, e.g. if you want a chat and a forum, make it load some webserving interface, some identity provider, some chat and some forum module. for persistency, add some database. an ideal perfect app server could make them all fit together in just the right way. |
13:29:27
| * lw | joined |
13:29:43
| * robo | joined |
13:30:01
| * jjido | quit (Ping timeout: 240 seconds) |
13:30:05
| * drx__ | quit (Read error: Connection reset by peer) |
13:30:17
| * [blakehall] | changed nick to blakehall |
13:30:21
| * aah | joined |
13:30:26
| * drx_ | joined |
13:30:31
| * armyriad | quit (Ping timeout: 264 seconds) |
13:30:42
| * Zarutian | joined |
13:30:49
| * aslant | quit (Ping timeout: 240 seconds) |
13:31:10
| * robo | quit (Client Quit) |
13:31:35
| * danmactough_ | changed nick to danmactough |
13:31:49
| <Sven_vB> | some projects like "component" and "big" seem to work in that direction already, but i don't get their architecture and/or how to make them use file system paths as parts of route prefixes. the latter is how i want to help PHP guys switch to node. |
13:31:54
| * drx_ | quit (Read error: Connection reset by peer) |
13:32:11
| * jlebrech | quit (Read error: Connection reset by peer) |
13:32:14
| * snathan | joined |
13:32:16
| * drx_ | joined |
13:33:01
| * dve | joined |
13:33:12
| * therealkoopa | joined |
13:33:25
| * robo | joined |
13:33:34
| * jklb | quit |
13:33:41
| * ededagic | joined |
13:33:45
| * morganhelocker | joined |
13:33:46
| * NotMyself | joined |
13:33:53
| * topaxi | quit (Ping timeout: 252 seconds) |
13:34:03
| * drx_ | quit (Read error: Connection reset by peer) |
13:34:03
| * drx__ | joined |
13:34:17
| <Sven_vB> | also i'd like to have web apps, and thus an HTTP interface, just one random kind of interface. so for the forums and chat example, it should be equally easy to have IRC for the chat and an NNTP interface for the forum, the latter sharing Nickserv accounts for identity. |
13:34:43
| * melioid | quit (Ping timeout: 264 seconds) |
13:35:17
| * topaxi | joined |
13:35:44
| * drx_ | joined |
13:35:48
| * jphase | joined |
13:36:09
| * shubhang | joined |
13:36:31
| * ededagic_ | quit (Ping timeout: 264 seconds) |
13:36:33
| * shannonmoeller | joined |
13:36:44
| * snathan | quit (Ping timeout: 255 seconds) |
13:37:11
| * a_suenami | quit (Quit: Leaving...) |
13:37:31
| * drx___ | joined |
13:37:50
| * br1_21 | joined |
13:37:52
| * Vovko | joined |
13:38:13
| * jklb | joined |
13:38:18
| * acdaniel | joined |
13:38:30
| * WolfieZero | changed nick to WolfieZero|Away |
13:39:02
| * drx___ | quit (Read error: Connection reset by peer) |
13:39:23
| * drx___ | joined |
13:39:25
| * SamuraiJack | quit (Write error: Broken pipe) |
13:39:28
| * SamuraiJack_ | joined |
13:39:29
| * drx_ | quit (Read error: Connection reset by peer) |
13:39:44
| * pers3us__ | quit (Quit: Computer has gone to sleep.) |
13:39:55
| * drx__ | quit (Ping timeout: 315 seconds) |
13:39:59
| * hswolff | joined |
13:40:15
| * pers3us__ | joined |
13:40:25
| * jphase | quit (Ping timeout: 240 seconds) |
13:40:36
| * mrvisser | joined |
13:40:37
| * melioid | joined |
13:40:41
| * drx___ | quit (Read error: Connection reset by peer) |
13:40:42
| * Fishrock123 | changed nick to Fishrock123|away |
13:40:43
| * deathbearbrown | joined |
13:40:49
| * deathbearbrown | quit (Remote host closed the connection) |
13:41:07
| * deathbearbrown | joined |
13:41:09
| * drx_ | joined |
13:41:20
| * ryanhirsch | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:41:36
| * NodeNagant | joined |
13:41:39
| * codecowboy | joined |
13:41:56
| * loginyourheart | quit (Ping timeout: 246 seconds) |
13:42:27
| * zz_dino82 | changed nick to dino82 |
13:42:28
| * jlebrech | joined |
13:42:31
| * euoia | quit (Ping timeout: 264 seconds) |
13:42:32
| * pscanf | joined |
13:42:44
| * marcghorayeb | changed nick to marcghorayeb|afk |
13:42:47
| * drx_ | quit (Read error: Connection reset by peer) |
13:42:56
| * xland | joined |
13:43:00
| * drx_ | joined |
13:43:17
| * highgrade | joined |
13:43:43
| * delight | quit (Ping timeout: 264 seconds) |
13:43:51
| * mlouro | joined |
13:43:53
| * loginyourheart1 | joined |
13:43:54
| * euoia | joined |
13:44:02
| * wjb | joined |
13:44:04
| * kketch | quit (Quit: kketch) |
13:44:23
| * drx_ | quit (Read error: Connection reset by peer) |
13:44:25
| * pers3us__ | quit (Ping timeout: 240 seconds) |
13:44:41
| * testando | joined |
13:44:51
| * drx_ | joined |
13:44:53
| * hareth | quit (Quit: hareth) |
13:45:13
| * robo | quit (Quit: This computer has gone to sleep) |
13:45:19
| * xonev1 | part |
13:45:45
| * glitt | joined |
13:45:56
| * infynyxx | joined |
13:46:00
| * rbarnwell | joined |
13:46:07
| * NodeNagant | quit (Ping timeout: 264 seconds) |
13:46:32
| * dfreire | joined |
13:46:44
| * drx_ | quit (Read error: Connection reset by peer) |
13:46:45
| * elvin | joined |
13:46:46
| * drx__ | joined |
13:46:48
| <elvin> | hi every one |
13:46:58
| <Sven_vB> | hi |
13:47:10
| <elvin> | how is life going on |
13:47:21
| <elvin> | i have started the node |
13:47:24
| * mrhmouse | joined |
13:47:26
| <elvin> | very newly |
13:47:30
| <elvin> | and i am a new bee |
13:47:31
| * rmg | joined |
13:47:32
| <elvin> | in this |
13:47:42
| <liquid-silence> | you said that 3 times now |
13:47:52
| * aslant | joined |
13:48:05
| * timmywil | joined |
13:48:20
| * drx__ | quit (Read error: Connection reset by peer) |
13:48:23
| * jklb | quit (Remote host closed the connection) |
13:48:26
| * jmar777 | joined |
13:48:33
| * drx_ | joined |
13:48:33
| * mboelter | joined |
13:48:42
| * _jcarvalho | quit (Remote host closed the connection) |
13:48:47
| * CMTegner | joined |
13:48:50
| <Sven_vB> | elvin, pls try and write the entire message before you send it. |
13:48:53
| * gberger | joined |
13:48:54
| * gberger | quit (Read error: Connection reset by peer) |
13:49:00
| * jklb | joined |
13:49:03
| <isaacbw> | but |
13:49:06
| <isaacbw> | what's |
13:49:08
| <isaacbw> | wrong |
13:49:10
| <isaacbw> | with |
13:49:12
| <isaacbw> | writing |
13:49:14
| <isaacbw> | one |
13:49:16
| <isaacbw> | word |
13:49:18
| <isaacbw> | per |
13:49:20
| <isaacbw> | line |
13:49:26
| <Lcfvs> | any node-webkit or nodebob users, here? |
13:49:40
| <Sven_vB> | > npm nodebob |
13:49:41
| <fluxbot> | Sven_vB: Searching NPM... |
13:49:42
| <fluxbot> | Sven_vB: Not found, or error finding. |
13:49:43
| * MrSavage | quit (Ping timeout: 264 seconds) |
13:49:49
| * drx_ | quit (Read error: Connection reset by peer) |
13:49:52
| * hareth | joined |
13:49:54
| <worm`> | node-webkit yes but I'm kinda new with it |
13:49:59
| * yorick | quit (Remote host closed the connection) |
13:50:08
| * JoeNied | joined |
13:50:09
| * AvianFlu | quit (Remote host closed the connection) |
13:50:10
| * drx_ | joined |
13:50:18
| * whiskers75 | quit (Ping timeout: 240 seconds) |
13:50:37
| * robo | joined |
13:50:45
| <Lcfvs> | i have 1 problem with node-webkit : i can't get the process arguments |
13:51:32
| * drx_ | quit (Read error: Connection reset by peer) |
13:51:37
| * micheil | quit (Ping timeout: 240 seconds) |
13:51:46
| * _jcarvalho | joined |
13:51:51
| <Lcfvs> | and an other with nodebob, it executes my app from the temporary directory (unwanted behaviour) |
13:52:03
| * drx_ | joined |
13:52:13
| * infynyxx_ | joined |
13:52:27
| <Lcfvs> | any ideas, please? :) |
13:53:23
| * jklb | quit (Ping timeout: 255 seconds) |
13:53:31
| * goose_ | joined |
13:53:32
| * PaulB0 | quit (Read error: Connection reset by peer) |
13:53:36
| * drx_ | quit (Read error: Connection reset by peer) |
13:53:45
| * jphase | joined |
13:53:46
| * adrianlang | joined |
13:53:50
| * drx_ | joined |
13:53:54
| * PaulB0 | joined |
13:53:56
| * rauchg | joined |
13:54:00
| <Lcfvs> | i tried, a few days ago, on their own googlegroups/irc but no response |
13:54:02
| * NotMyself | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:54:25
| * araujo | quit (Ping timeout: 240 seconds) |
13:54:52
| <worm`> | I'm not even sure what you mean with the process arguments |
13:55:01
| * cpup | joined |
13:55:10
| <worm`> | which process? |
13:55:11
| <Lcfvs> | worm`: process.argv[1] is undefined |
13:55:29
| * Guest92872 | quit (Ping timeout: 240 seconds) |
13:55:33
| * dbalog | joined |
13:55:34
| <worm`> | the arguments you pass to nw? |
13:55:36
| <Lcfvs> | unlike to the node.js spec |
13:55:37
| * drx_ | quit (Read error: Connection reset by peer) |
13:55:37
| <isaacbw> | does node webkit give you access to the node context? |
13:55:38
| * drx__ | joined |
13:55:44
| <Lcfvs> | worm`: yes |
13:55:44
| <isaacbw> | I thought it just put you in a browser context |
13:55:48
| * b3tamax | joined |
13:55:49
| * dguttman | joined |
13:56:00
| * vlad_starkov | quit (Remote host closed the connection) |
13:56:14
| <Lcfvs> | isaacbw: yes, in node context |
13:56:23
| * kevino80 | joined |
13:56:24
| * cryptojuice | joined |
13:56:27
| * Fishrock123|away | quit (Remote host closed the connection) |
13:56:32
| <Lcfvs> | i can get the process.argv[0] ('node') |
13:56:57
| * drx__ | quit (Read error: Connection reset by peer) |
13:56:59
| * infynyxx_ | quit (Ping timeout: 266 seconds) |
13:57:06
| * relix | joined |
13:57:13
| * kirfu | joined |
13:57:18
| * tombooth | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:57:20
| * whiskers75 | joined |
13:57:30
| * drx_ | joined |
13:57:31
| * shubhang | quit (Remote host closed the connection) |
13:57:46
| * micheil | joined |
13:57:48
| * goose_ | quit (Client Quit) |
13:57:53
| * yacks | quit (Ping timeout: 255 seconds) |
13:57:59
| * cloudbender | quit (Ping timeout: 269 seconds) |
13:58:01
| * aslant | quit (Remote host closed the connection) |
13:58:03
| * b3tamax | quit (Client Quit) |
13:58:05
| <Lcfvs> | i tried via nwsnapshot with the --js_arguments option -> same result |
13:58:21
| * intothev01d | joined |
13:59:06
| <Lcfvs> | the detailled issue : https://github.com/rogerwang/node-webkit/issues/1643#issuecomment-36618164 |
13:59:12
| * drx__ | joined |
13:59:17
| * drx_ | quit (Read error: Connection reset by peer) |
13:59:20
| <isaacbw> | Lcfvs: what's the line you're passing |
13:59:26
| <isaacbw> | in the shell |
13:59:48
| * shaekuronen | quit (Quit: shaekuronen) |
14:00:36
| * richwestcoast | quit (Ping timeout: 255 seconds) |
14:00:50
| * shaekuronen | joined |
14:00:53
| * simong | quit (Read error: Connection reset by peer) |
14:00:54
| * drx__ | quit (Read error: Connection reset by peer) |
14:01:03
| <Lcfvs> | isaacbw: nwsnapshot --extra_code source.js snapshot.bin --js_arguments 123 |
14:01:07
| * drx_ | joined |
14:01:08
| * simong | joined |
14:01:14
| * cloudbender | joined |
14:01:37
| * liquid-silence | quit (Ping timeout: 240 seconds) |
14:02:18
| * angelazou | quit (Ping timeout: 245 seconds) |
14:02:33
| * kaliya | joined |
14:02:36
| * drx_ | quit (Read error: Connection reset by peer) |
14:02:37
| * sekyms | joined |
14:02:46
| * drx_ | joined |
14:03:01
| <Lcfvs> | isaacbw: conforming to the node doc, the process.argv[1] must be the script path, the normally, the js_arguments, no? |
14:03:13
| * kketch | joined |
14:03:21
| <sekyms> | I don't understand how to not load your entire applications JS files in the layout template with express |
14:03:30
| * FunnyLookinHat | quit (Ping timeout: 269 seconds) |
14:03:31
| * MrSavage | joined |
14:04:07
| * richwestcoast | joined |
14:04:09
| * rmg | quit (Remote host closed the connection) |
14:04:38
| * drx__ | joined |
14:04:43
| * dshaw_ | joined |
14:04:44
| <Lcfvs> | * then |
14:04:50
| * drx_ | quit (Read error: Connection reset by peer) |
14:05:16
| * ecantin | joined |
14:05:32
| * mattsmit_ | joined |
14:06:14
| * drx__ | quit (Read error: Connection reset by peer) |
14:06:32
| * drx_ | joined |
14:06:33
| * noobee | joined |
14:06:41
| * liquid-silence | joined |
14:06:50
| * liquid-silence | quit (Changing host) |
14:06:50
| * liquid-silence | joined |
14:07:47
| * drx_ | quit (Read error: Connection reset by peer) |
14:08:11
| * ashwinkumar | joined |
14:08:12
| * morganhelocker | quit (Quit: morganhelocker) |
14:08:13
| * ccamacho | joined |
14:08:13
| * admix|away | changed nick to admix |
14:08:23
| * drx_ | joined |
14:08:30
| * araujo | joined |
14:08:39
| * ccamacho | quit (Client Quit) |
14:08:49
| * dshaw_ | quit (Ping timeout: 240 seconds) |
14:08:59
| * mattsmith | quit (Ping timeout: 240 seconds) |
14:09:00
| * jamto11_ | joined |
14:09:09
| * yorick | joined |
14:09:35
| * Peder_ | quit (Read error: Connection reset by peer) |
14:09:44
| * WolfieZero|Away | changed nick to WolfieZero |
14:10:02
| * drx__ | joined |
14:10:14
| * drx_ | quit (Read error: Connection reset by peer) |
14:10:27
| * andrew9183 | joined |
14:10:41
| * robo | quit (Quit: This computer has gone to sleep) |
14:11:16
| * jklb | joined |
14:11:21
| * acdaniel | quit (Remote host closed the connection) |
14:11:46
| * abraxas | joined |
14:11:50
| * drx_ | joined |
14:11:54
| * acdaniel | joined |
14:12:32
| * nukulb | joined |
14:12:41
| * morganhelocker | joined |
14:12:51
| * danielstjules | part |
14:12:53
| * Roots47 | joined |
14:13:00
| * _jcarvalho | quit (Remote host closed the connection) |
14:13:00
| * simong | quit (Quit: Leaving...) |
14:13:11
| * drx_ | quit (Read error: Connection reset by peer) |
14:13:43
| * drx_ | joined |
14:13:59
| * tombooth | joined |
14:13:59
| * assia_t | joined |
14:14:05
| * Peder_ | joined |
14:14:12
| * simong | joined |
14:14:25
| * ededagic | quit (Remote host closed the connection) |
14:14:28
| * acdaniel | quit (Read error: No route to host) |
14:14:29
| * drx__ | quit (Ping timeout: 240 seconds) |
14:14:31
| * danielstjules | joined |
14:14:31
| * TooTallNate | joined |
14:14:49
| * r04r|away | changed nick to r04r |
14:14:52
| * jklb | quit (Client Quit) |
14:15:01
| * acdaniel | joined |
14:15:10
| * sk | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
14:15:16
| * drx_ | quit (Read error: Connection reset by peer) |
14:15:35
| * drx_ | joined |
14:15:51
| * buritica | joined |
14:15:56
| * AaronMT | joined |
14:15:59
| * abraxas | quit (Ping timeout: 241 seconds) |
14:16:00
| * mayanktg | quit (Ping timeout: 241 seconds) |
14:16:27
| * mary5030 | joined |
14:16:30
| * mary5030 | quit (Remote host closed the connection) |
14:17:03
| * mary5030 | joined |
14:17:18
| * marionebl | changed nick to marionebl_ |
14:17:21
| * drx__ | joined |
14:17:35
| * ededagic | joined |
14:17:39
| * kayamm | joined |
14:17:50
| * danielstjules | quit (Client Quit) |
14:17:58
| * nullrouted_ | changed nick to nullrouted |
14:18:13
| * nullrouted | quit (Changing host) |
14:18:13
| * nullrouted | joined |
14:18:13
| * nullrouted | quit (Changing host) |
14:18:13
| * nullrouted | joined |
14:18:40
| * marionebl_ | changed nick to marionebl |
14:19:04
| * drx___ | joined |
14:19:37
| * Aa4on | quit (Ping timeout: 240 seconds) |
14:19:53
| * jalleyne | joined |
14:19:56
| * drx_ | quit (Ping timeout: 255 seconds) |
14:20:22
| * guybrush | quit (Excess Flood) |
14:20:28
| * drx___ | quit (Read error: Connection reset by peer) |
14:20:32
| <Lcfvs> | for the detailled issue on nodebob : https://github.com/geo8bit/nodebob/issues/9 |
14:20:38
| * Lulzon | quit (Ping timeout: 252 seconds) |
14:20:46
| * jergason | quit (Quit: Connection closed for inactivity) |
14:20:52
| * guybrush | joined |
14:20:53
| * drx_ | joined |
14:20:55
| * MrDHat | quit (Quit: No Ping reply in 180 seconds.) |
14:21:01
| * gli | joined |
14:21:01
| * gli | quit (Client Quit) |
14:21:18
| * shaekuronen | quit (Quit: shaekuronen) |
14:21:31
| * deeebug | quit (Ping timeout: 264 seconds) |
14:21:41
| * MrDHat | joined |
14:21:55
| * STRML | quit (Remote host closed the connection) |
14:22:07
| * jslatts | joined |
14:22:07
| * drx__ | quit (Ping timeout: 264 seconds) |
14:22:11
| * kirfu | quit (Ping timeout: 255 seconds) |
14:22:18
| * codylindley | joined |
14:22:23
| * STRML | joined |
14:22:24
| * kenzic | joined |
14:22:31
| * gli | joined |
14:22:34
| * drx_ | quit (Read error: Connection reset by peer) |
14:22:34
| * deeebug | joined |
14:22:40
| * drx__ | joined |
14:22:44
| * codylindley | quit (Client Quit) |
14:22:55
| * pronoob | quit (Quit: WeeChat 0.4.2) |
14:22:59
| * Aa4on | joined |
14:23:05
| * aslant_ | joined |
14:23:11
| * Lulzon | joined |
14:23:14
| * jocafa | joined |
14:23:15
| * lpin | joined |
14:23:17
| * adrianlang | quit (Quit: Leaving.) |
14:23:27
| * gud-dev | joined |
14:23:27
| * shannonmoeller | quit (Remote host closed the connection) |
14:23:44
| * David | joined |
14:23:55
| * simong | quit (Ping timeout: 264 seconds) |
14:23:55
| * jetienne | joined |
14:23:58
| * shannonmoeller | joined |
14:24:07
| * ^^Macabre^^ | joined |
14:24:23
| * drx__ | quit (Read error: Connection reset by peer) |
14:24:25
| * L0u1s | changed nick to L0u0s |
14:24:28
| * drx_ | joined |
14:24:49
| * robo | joined |
14:25:05
| * bajtos | joined |
14:25:15
| <kenansulayman> | isaacs additionally to my still-not-working-really sqlite3-trunk package, here's something more strange when updating npm itself: http://data.sly.mn/text/0R2E2b1s093u/cli |
14:25:31
| * _jcarvalho | joined |
14:25:58
| * gli | quit (Client Quit) |
14:26:03
| * drx_ | quit (Read error: Connection reset by peer) |
14:26:05
| * L0u0s | changed nick to L0u1s |
14:26:11
| * michael_benin | joined |
14:26:18
| * drx_ | joined |
14:26:26
| * CorySimmons | joined |
14:26:31
| * CorySimmons | quit (Max SendQ exceeded) |
14:26:35
| <alanhoff> | Off topic: how to protect APIs from CSRF? |
14:26:39
| * peterdev001 | joined |
14:26:41
| * STRML | quit (Ping timeout: 255 seconds) |
14:26:48
| * nwmcsween | joined |
14:26:49
| <kenansulayman> | With a csrf token? :) |
14:27:01
| * jjmalina | joined |
14:27:14
| * CorySimmons | joined |
14:27:16
| * weixi | joined |
14:27:23
| <alanhoff> | kenansulayman, not if I'm using the same api for the website and other apps, I can't track page rendering or clicks.. |
14:27:31
| * ecantin | quit (Ping timeout: 264 seconds) |
14:27:55
| * alathon | quit (Quit: WeeChat 0.4.3) |
14:27:59
| * David | quit (Ping timeout: 241 seconds) |
14:28:02
| * drx__ | joined |
14:28:04
| * morhaus | quit (Remote host closed the connection) |
14:28:07
| * drx_ | quit (Read error: Connection reset by peer) |
14:28:12
| * marcghorayeb|afk | quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) |
14:28:13
| * tskaggs_ | joined |
14:28:14
| <kenansulayman> | Why should that be impossible? |
14:28:31
| * mattsmit_ | quit (Remote host closed the connection) |
14:28:36
| * morhaus | joined |
14:28:51
| * mayanktg | joined |
14:28:53
| * okdas_ | joined |
14:28:58
| * theHansyG | joined |
14:28:59
| * mattsmith | joined |
14:29:38
| * yacks | joined |
14:29:39
| * nukulb | quit (Quit: nukulb) |
14:29:40
| * drx__ | quit (Read error: Connection reset by peer) |
14:29:41
| * jdelgado | joined |
14:29:51
| <alanhoff> | because I can't distinguish an request coming from a webpage or from an app, the server needs to be transparent |
14:29:52
| * jdelgado_ | quit (Read error: Connection reset by peer) |
14:29:55
| * drx_ | joined |
14:29:56
| <alanhoff> | *a request |
14:30:01
| * owenb_ | quit (Quit: Connection closed for inactivity) |
14:30:09
| * rauchg | quit (Remote host closed the connection) |
14:30:10
| * Xiti | joined |
14:30:22
| <kenansulayman> | [15:26:53] kenansulayman: With a csrf token? :) |
14:30:30
| * bajtos | quit (Ping timeout: 269 seconds) |
14:30:31
| * jjido | joined |
14:30:35
| <kenansulayman> | for non-webpage requests, require a session token |
14:30:45
| <kenansulayman> | like a oauth handshake |
14:31:01
| <jdelgado> | alanhoff: If you want to do it right, just implement oAuth and require all incoming requests to have the access_token |
14:31:06
| <kenansulayman> | for webpage requests, require a valid csrf token generated for one time. |
14:31:11
| * pyrotechnick | quit (Remote host closed the connection) |
14:31:20
| * drx_ | quit (Read error: Connection reset by peer) |
14:31:23
| * ddelrio1986 | joined |
14:31:38
| * offline1 | joined |
14:31:43
| * drx_ | joined |
14:31:47
| <alanhoff> | Hm, oAuth will do |
14:31:50
| * donbitto | joined |
14:31:51
| * iaincarsberg____ | quit (Quit: Connection closed for inactivity) |
14:32:13
| <RLa> | which package you prefer for generating pdfs? |
14:32:24
| * FunnyLookinHat | joined |
14:32:55
| * okdas | quit (Ping timeout: 264 seconds) |
14:33:10
| <alanhoff> | RLa, wkhtmltopdf |
14:33:16
| * elvin | quit (Quit: Page closed) |
14:33:17
| * derrzzaa | quit |
14:33:29
| * drx_ | quit (Read error: Connection reset by peer) |
14:33:34
| * sreeix | joined |
14:33:36
| * drx__ | joined |
14:33:41
| * simong | joined |
14:34:07
| * jjmalina | quit (Ping timeout: 264 seconds) |
14:34:19
| * marionebl | changed nick to marionebl_ |
14:34:23
| * mitc0185 | joined |
14:34:23
| * bajtos | joined |
14:34:27
| * lw | quit (Quit: s) |
14:34:28
| <RLa> | thanks |
14:34:49
| * marionebl_ | changed nick to marionebl |
14:34:58
| * pringlescan1 | joined |
14:35:26
| * drx_ | joined |
14:35:32
| * beawesomeinstead | quit (Quit: Connection closed for inactivity) |
14:35:33
| * ch4rl35 | joined |
14:35:47
| * donbitto1 | joined |
14:35:55
| * fird0s | joined |
14:36:17
| * jetienne | part |
14:36:17
| * STRML | joined |
14:36:29
| * donbitto | quit (Ping timeout: 240 seconds) |
14:36:48
| * drx_ | quit (Read error: Connection reset by peer) |
14:36:59
| * MikePayne | joined |
14:37:08
| * hackygolucky | quit (Quit: Connection closed for inactivity) |
14:37:09
| * drx_ | joined |
14:37:18
| * jjmalina | joined |
14:37:23
| * jmcantrell | quit (Quit: Connection closed for inactivity) |
14:37:28
| * p15 | quit (Quit: Computer has gone to sleep.) |
14:37:31
| * pyrotechnick | joined |
14:37:35
| <Lcfvs> | isaacbw: is it me who made a mistake or is it really a bug? |
14:37:38
| * STRML | quit (Remote host closed the connection) |
14:37:39
| * IanWizard-Cloud | quit (Quit: Connection closed for inactivity) |
14:37:56
| * drx__ | quit (Ping timeout: 255 seconds) |
14:37:58
| * marionebl | changed nick to marionebl_ |
14:38:10
| * metadaddy | quit (Quit: Connection closed for inactivity) |
14:38:29
| <isaacbw> | I don't really know anything about node-webkit |
14:38:35
| <isaacbw> | seems like a pretty big bug to have though |
14:38:52
| * chicoman25 | joined |
14:38:55
| * drx__ | joined |
14:38:55
| <Lcfvs> | isaacbw: ah, ok, thanks anyway :) |
14:39:04
| * drx_ | quit (Read error: Connection reset by peer) |
14:39:14
| * LoneSoldier728 | joined |
14:39:14
| <Lcfvs> | it's really boring :-s |
14:39:19
| * yaru22 | quit (Ping timeout: 246 seconds) |
14:39:29
| * STRML | joined |
14:39:30
| * kkzu | changed nick to kkzu_off |
14:39:37
| * rihbyne | joined |
14:39:53
| * siqi | joined |
14:39:55
| <LoneSoldier728> | I think I know what to do but wanted to get your take, if I have an array of items and a user id, is it better to send them together to the sever or just the id, and do a query for the user array items on the server side |
14:40:34
| <LoneSoldier728> | and essentially another query will follow on the array items |
14:40:37
| * drx__ | quit (Read error: Connection reset by peer) |
14:40:45
| * drx_ | joined |
14:40:47
| * hillct | joined |
14:41:01
| * _jcarvalho | quit (Remote host closed the connection) |
14:41:01
| * DrShoggoth | joined |
14:41:18
| * p15 | joined |
14:41:24
| * qw3rtman | joined |
14:41:37
| * NodeNagant | joined |
14:41:44
| * liwen | joined |
14:41:46
| * RLaa | joined |
14:41:46
| * mxvzr | quit (Quit: Textual IRC Client: www.textualapp.com) |
14:41:52
| <jdelgado> | LoneSoldier728: If this is high volume, sending it together will cut your requests in half |
14:42:13
| * drx_ | quit (Read error: Connection reset by peer) |
14:42:17
| * tasslehoff | quit (Quit: WeeChat 0.4.0) |
14:42:23
| * escalant3 | joined |
14:42:24
| * tlync | quit (Remote host closed the connection) |
14:42:33
| * drx_ | joined |
14:42:58
| * rbarnwell | quit (Remote host closed the connection) |
14:42:59
| * Ho4n1Girl | quit |
14:43:03
| * weixi | quit (Remote host closed the connection) |
14:43:23
| * jamto11_ | quit |
14:43:26
| * teasherm | joined |
14:43:29
| * sreeix | quit (Quit: sreeix) |
14:43:37
| * jasonals | quit (Ping timeout: 240 seconds) |
14:43:43
| * ndrei | quit (Ping timeout: 264 seconds) |
14:44:10
| * aterocana | quit (Read error: Connection reset by peer) |
14:44:13
| * weixi | joined |
14:44:22
| * drx_ | quit (Read error: Connection reset by peer) |
14:44:23
| * drx__ | joined |
14:44:23
| * btiberi | joined |
14:44:38
| <LoneSoldier728> | right, I am just wondering (since it is from a phone device) if it affects the UX more if I send it together... and it will have to be a post vs a get I assume since the arrays can be large |
14:44:51
| * jalleyne | quit (Remote host closed the connection) |
14:44:54
| * jasonals | joined |
14:45:00
| * CorySimmons | quit (Quit: Bye!) |
14:45:21
| * simong | quit (Read error: Connection reset by peer) |
14:45:24
| * jalleyne | joined |
14:45:26
| * ndrei | joined |
14:45:34
| * simong | joined |
14:45:39
| * RLa | quit (Ping timeout: 276 seconds) |
14:45:43
| * naneau | joined |
14:45:45
| <LoneSoldier728> | it will be in high volume... jdelgado and I realize requests will be half but coming from a mobile device will it kill their data useage/make it slower? |
14:45:46
| * danielstjules | joined |
14:45:47
| * ashwinkumar | quit (Remote host closed the connection) |
14:45:48
| * TooTallNate | quit (Read error: Connection reset by peer) |
14:46:01
| * NodeNagant | quit (Ping timeout: 241 seconds) |
14:46:02
| * zchrykng | joined |
14:46:03
| * offline1 | quit (Ping timeout: 255 seconds) |
14:46:04
| * drx__ | quit (Read error: Connection reset by peer) |
14:46:05
| * TooTallNate | joined |
14:46:12
| * acdaniel | quit (Remote host closed the connection) |
14:46:24
| * jalleyne | quit (Remote host closed the connection) |
14:46:25
| * Naeb | quit (Ping timeout: 240 seconds) |
14:46:36
| * jalleyne | joined |
14:46:44
| * acdaniel | joined |
14:46:59
| <jdelgado> | LoneSoldier728: If it is the same amount of data, nothing would change, other than another round trip - the only difference would be another ~2sec for ping |
14:47:03
| * xk_id | quit (Quit: 🚣) |
14:47:31
| * rmg | joined |
14:47:44
| * bradleymeck | joined |
14:47:55
| * teasherm | quit (Ping timeout: 264 seconds) |
14:47:56
| * Naeb | joined |
14:47:57
| * mikolalysenko | joined |
14:48:01
| * drx_ | joined |
14:48:09
| <LoneSoldier728> | well the difference would be there is more data being sent to the server, since the array items are being sent no? and if an array includes 1000 items cant that become costly? |
14:48:23
| * dalssoft | joined |
14:48:24
| <Lcfvs> | LoneSoldier728: imo, the lone change is a bigger data tranfert on connection failures |
14:48:51
| <Lcfvs> | (if you send it together) |
14:49:08
| * kex | joined |
14:49:27
| <LoneSoldier728> | Lcfvs are you against sending it then? |
14:49:39
| * dverweire | joined |
14:49:42
| * drx_ | quit (Read error: Connection reset by peer) |
14:49:47
| * drx__ | joined |
14:49:57
| * sergiosbox_ | joined |
14:50:00
| * marcghorayeb | joined |
14:50:03
| * rbyne | joined |
14:50:30
| * Fishrock123|away | joined |
14:50:42
| * siqi | quit (Remote host closed the connection) |
14:50:51
| * Stephen | joined |
14:50:58
| * zivester | quit (Ping timeout: 240 seconds) |
14:51:07
| * TyrfingMjolnir | joined |
14:51:24
| * drx__ | quit (Read error: Connection reset by peer) |
14:51:26
| * acdaniel | quit (Ping timeout: 255 seconds) |
14:51:27
| * tonylukasavage | joined |
14:51:30
| <Lcfvs> | LoneSoldier728: no, i mean if your user send a big data or 2 half... in the first case, if the connection fails, the user must resend all the data |
14:51:42
| * Stephen | part |
14:51:50
| * mrhmouse_ | joined |
14:51:51
| * rihbyne | quit (Write error: Broken pipe) |
14:51:51
| * jlebrech | quit (Write error: Broken pipe) |
14:51:51
| * wankdanker | quit (Write error: Broken pipe) |
14:51:54
| <LoneSoldier728> | right so it can cost them more essentially right? |
14:51:57
| * rbyne | changed nick to rihbyne |
14:51:59
| * NodeNagant | joined |
14:52:03
| * siruf_ | joined |
14:52:04
| <Lcfvs> | LoneSoldier728: yep |
14:52:05
| * ^^Macabr1^^ | joined |
14:52:07
| * kraft | quit (Disconnected by services) |
14:52:16
| * chicoman35 | joined |
14:52:19
| * vlad_starkov | joined |
14:52:23
| * ededagic | quit (Remote host closed the connection) |
14:52:34
| * kraft | joined |
14:52:56
| * Ho4n1Girl | joined |
14:53:00
| * lsv | quit (Excess Flood) |
14:53:00
| * lolsv | joined |
14:53:04
| * Fishrock123|away | changed nick to Fishrock123 |
14:53:10
| * infynyxx_ | joined |
14:53:18
| <Lcfvs> | LoneSoldier728: and mobile devices have often disconnections |
14:53:33
| * drx_ | joined |
14:53:41
| <LoneSoldier728> | right so would it make more sense to send just the userid |
14:53:55
| * marionebl_ | changed nick to marionebl |
14:53:56
| * btiberi | quit (Client Quit) |
14:54:17
| * kytwb | quit |
14:54:19
| * DrShoggoth | quit (Quit: Leaving) |
14:54:21
| <Lcfvs> | LoneSoldier728: probably... but i don't know waht you really need |
14:54:31
| * ndrei | quit (Ping timeout: 264 seconds) |
14:54:36
| * acdaniel | joined |
14:54:36
| * hkon__ | quit (Remote host closed the connection) |
14:54:36
| <Lcfvs> | (the usage) |
14:54:40
| * bodisiw | quit (Excess Flood) |
14:54:44
| * aitiba | quit (Excess Flood) |
14:54:54
| * tkuchiki | joined |
14:54:56
| * thezanke | joined |
14:54:58
| <felixjet> | if when i implement request('http://www.example') on Q promises i do q.nfcall(request, 'http://www.example') |
14:55:05
| * bodisiw | joined |
14:55:10
| * aitiba | joined |
14:55:13
| <felixjet> | how i can implement a post method? like request.post('http://www.example', {form:{key:'value'}}) |
14:55:14
| * drx___ | joined |
14:55:23
| * drx_ | quit (Read error: Connection reset by peer) |
14:55:23
| <felixjet> | i know that i need to do q.nfcall(request, post, 'http://www.example') |
14:55:32
| <felixjet> | but i dont know how to pass the key:value thing |
14:56:10
| <LoneSoldier728> | http://stackoverflow.com/questions/22382508/send-array-items-to-server-or-query-it-on-the-server-side Lcfvs |
14:56:23
| * DrShoggoth | joined |
14:56:23
| <LoneSoldier728> | I just put the question up maybe it will help describe it better |
14:56:23
| * NodeNagant | quit (Ping timeout: 255 seconds) |
14:56:24
| * Swayz | joined |
14:56:41
| * ghostjosh | joined |
14:56:45
| * drx___ | quit (Read error: Connection reset by peer) |
14:56:56
| * derrzzaa | joined |
14:57:13
| * drx_ | joined |
14:57:20
| * shaunbak_ | joined |
14:57:31
| * Naeb | quit (Ping timeout: 264 seconds) |
14:57:40
| * toastynerd | joined |
14:57:44
| * infynyxx_ | quit (Ping timeout: 255 seconds) |
14:58:05
| * kazut_ | joined |
14:58:07
| * rmg | quit (Ping timeout: 264 seconds) |
14:58:07
| * tskaggs_ | quit (Remote host closed the connection) |
14:58:08
| <Lcfvs> | LoneSoldier728: the A seems appropriated |
14:58:11
| <Lcfvs> | ;) |
14:58:16
| * kraft | changed nick to 23LAAQN16 |
14:58:21
| * RogerWS | joined |
14:58:30
| * 23LAAQN16 | changed nick to kraft |
14:58:34
| * drx_ | quit (Read error: Connection reset by peer) |
14:58:48
| * xonev | joined |
14:58:54
| * drx_ | joined |
14:58:59
| <LoneSoldier728> | ha kk, i figured it makes more sense, if I cared about costs then b would make more sense right |
14:59:00
| * sreeix | joined |
14:59:01
| * hackygolucky | joined |
14:59:13
| * jypie | joined |
14:59:19
| * jypie | quit (Max SendQ exceeded) |
14:59:34
| * siqi | joined |
14:59:38
| * ecantin | joined |
14:59:41
| * EyePulp | joined |
14:59:42
| * CMTegner | quit (Quit: CMTegner) |
14:59:51
| * jypie | joined |
14:59:58
| * mrhmouse_ | quit (Quit: leaving) |
15:00:22
| * rihbyne | quit (Remote host closed the connection) |
15:00:42
| * kraft | changed nick to 23LAAQN16 |
15:00:45
| * GreggR | joined |
15:00:46
| * drx___ | joined |
15:00:46
| * johntitor2036 | joined |
15:00:55
| * 23LAAQN16 | changed nick to kraft |
15:01:07
| * RogerWS_ | quit (Ping timeout: 264 seconds) |
15:01:31
| * btiberi | joined |
15:01:43
| * kraft | changed nick to 23LAAQN16 |
15:01:56
| * 23LAAQN16 | changed nick to kraft |
15:01:57
| * kraft | changed nick to 23LAAQN16 |
15:02:06
| * 23LAAQN16 | changed nick to kraft |
15:02:17
| * drx___ | quit (Read error: Connection reset by peer) |
15:02:18
| * mtsr | quit (Excess Flood) |
15:02:20
| * jdelgado | quit (Excess Flood) |
15:02:22
| * shannonmoeller | quit (Remote host closed the connection) |
15:02:29
| * drx___ | joined |
15:02:29
| * langemann | quit (Excess Flood) |
15:02:29
| * liquid-silence | quit (Excess Flood) |
15:02:31
| * fbanna | quit (Excess Flood) |
15:02:35
| * CMTegner | joined |
15:02:39
| * jdelgado | joined |
15:02:39
| * xonev | part |
15:02:43
| * drx_ | quit (Read error: Connection reset by peer) |
15:02:46
| * langemann | joined |
15:02:54
| * krotscheck | quit (Excess Flood) |
15:02:55
| * ashwinkumar | joined |
15:02:56
| * moniker_ | joined |
15:02:56
| * richwestcoast | quit (Excess Flood) |
15:02:57
| * fbanna | joined |
15:02:59
| * aboudreault | quit (Excess Flood) |
15:03:00
| * kayamm | quit (Quit: part) |
15:03:03
| * mikeal1 | quit (Quit: Leaving.) |
15:03:07
| * screamingbanshee | quit (Excess Flood) |
15:03:08
| * Pitel_IPEX | quit (Excess Flood) |
15:03:11
| * pluma_ | joined |
15:03:14
| * richwestcoast | joined |
15:03:15
| * mtsr | joined |
15:03:19
| * xocel | quit (Excess Flood) |
15:03:28
| * zaal | quit (Excess Flood) |
15:03:31
| * ghento | quit (Excess Flood) |
15:03:31
| * JuanDaugherty | quit (Excess Flood) |
15:03:42
| * zaal | joined |
15:03:45
| * Pitel_IPEX | joined |
15:03:48
| * JuanDaugherty | joined |
15:03:50
| * moniker | quit (Ping timeout: 246 seconds) |
15:03:52
| * xocel | joined |
15:03:54
| * ghento | joined |
15:04:09
| * paulfryz_ | joined |
15:04:12
| * drx___ | quit (Read error: Connection reset by peer) |
15:04:18
| * drx | joined |
15:04:27
| * jessie | joined |
15:04:57
| * shannonmoeller | joined |
15:05:12
| * hychen_ | quit (Quit: Connection closed for inactivity) |
15:05:18
| * therealk_ | joined |
15:05:23
| * krotscheck | joined |
15:05:25
| * marcghorayeb | changed nick to marcghorayeb|afk |
15:05:40
| * drx | quit (Read error: Connection reset by peer) |
15:05:47
| * therealkoopa | quit (Write error: Connection reset by peer) |
15:05:47
| * kazut | quit (Write error: Broken pipe) |
15:05:48
| * randallagordon | quit (Write error: Broken pipe) |
15:05:48
| * chicoman25 | quit (Write error: Broken pipe) |
15:05:48
| * ^^Macabre^^ | quit (Write error: Broken pipe) |
15:05:48
| * mrhmouse | quit (Write error: Broken pipe) |
15:05:48
| * siruf | quit (Write error: Broken pipe) |
15:05:48
| * pluma | quit (Write error: Connection reset by peer) |
15:05:48
| * munumnu | quit (Quit: Leaving) |
15:05:48
| * WolfieZero | changed nick to WolfieZero|Away |
15:05:48
| * WolfieZero|Away | changed nick to WolfieZero |
15:05:48
| * siruf_ | changed nick to siruf |
15:05:50
| * aboudreault | joined |
15:06:02
| * therealk_ | quit (Read error: No route to host) |
15:06:08
| * drx | joined |
15:06:22
| * doublerebel | quit (Write error: Broken pipe) |
15:06:35
| * ndrei | joined |
15:06:52
| <hareth> | :o |
15:06:52
| * jypie | quit (Quit: Textual IRC Client: www.textualapp.com) |
15:07:13
| * MicronXD | joined |
15:07:18
| * rihbyne | joined |
15:07:18
| * delight | joined |
15:07:21
| * paolooo | joined |
15:07:29
| * therealkoopa | joined |
15:07:34
| * therealkoopa | quit (Remote host closed the connection) |
15:07:41
| * weixi_ | joined |
15:07:44
| * weixi | quit (Read error: Connection reset by peer) |
15:07:45
| * drx | quit (Read error: Connection reset by peer) |
15:07:46
| * daffl | joined |
15:07:48
| * qoouep | joined |
15:07:57
| * jdelgado | quit (Quit: Leaving) |
15:08:03
| * drx | joined |
15:08:04
| * surlydev | joined |
15:08:06
| * screamingbanshee | joined |
15:08:06
| <Lunar_Lamp> | I'm using child_process.exec to start some long-running daemons from within a node script. I grab some of the initial stdout output from them, but I then want to "disown" the processes (i.e. I do not want these children to die if/when the node process does). Is there any way to disown them? |
15:08:09
| * Fishrock123 | changed nick to Fishrock123|away |
15:08:14
| * dve | quit (Remote host closed the connection) |
15:08:17
| * dbalog | part ("Leaving") |
15:08:32
| * Fishrock123|away | changed nick to Fishrock123 |
15:08:35
| * Fishrock123 | quit (Quit: Leaving...) |
15:08:39
| * mven_ | quit (Remote host closed the connection) |
15:08:40
| * dve | joined |
15:09:19
| * danielstjules | part |
15:09:19
| * therealkoopa | joined |
15:09:22
| * drx | quit (Read error: Connection reset by peer) |
15:09:22
| * toastynerd | quit (Remote host closed the connection) |
15:09:31
| * ghostjosh | quit (Ping timeout: 264 seconds) |
15:09:39
| * drx | joined |
15:09:53
| * shubhang | joined |
15:10:11
| * krotscheck | quit (Remote host closed the connection) |
15:10:13
| * rbarnwell | joined |
15:10:22
| * randallagordon | joined |
15:10:22
| * nvcexploder | joined |
15:10:31
| * therealkoopa | quit (Client Quit) |
15:10:31
| * tvw | quit |
15:10:42
| <Lcfvs> | Lunar_Lamp: child.unref() ? |
15:11:07
| * drx | quit (Read error: Connection reset by peer) |
15:11:11
| * doublerebel | joined |
15:11:28
| * dbalog | joined |
15:11:37
| * drx | joined |
15:11:55
| * yho | quit (Ping timeout: 264 seconds) |
15:12:11
| * kvz | quit (Quit: kvz) |
15:12:14
| <Lunar_Lamp> | Hmm, that might be what I'm after Lcfvs. |
15:12:52
| * drx | quit (Read error: Connection reset by peer) |
15:12:55
| * mahesh | quit (Ping timeout: 246 seconds) |
15:12:56
| * dve_ | joined |
15:13:18
| * drx | joined |
15:13:28
| * tonylukasavage | quit (Remote host closed the connection) |
15:13:29
| * dve | quit (Ping timeout: 255 seconds) |
15:13:42
| <Lcfvs> | Lunar_Lamp: but, after, the child continues to run...then if you need to stop/restart/reload it... you need to store the process id or listen it with an IPC server ;) |
15:13:46
| * Venom_X | joined |
15:14:08
| * pluma_ | changed nick to pluma |
15:14:19
| * pluma | quit (Changing host) |
15:14:19
| * pluma | joined |
15:14:48
| * intensiv | joined |
15:15:00
| * drx | quit (Read error: Connection reset by peer) |
15:15:00
| <LoneSoldier728> | Lcfvs I just actually thought about it, I might have to do option B |
15:15:02
| * Mentioum | joined |
15:15:07
| * drx | joined |
15:15:08
| * Mentioum | quit (Max SendQ exceeded) |
15:15:22
| * jtw | quit |
15:15:23
| * therealkoopa | joined |
15:15:30
| <LoneSoldier728> | since the sqlitedb might be different since I am not making a request for each person following right away |
15:15:31
| <Lcfvs> | LoneSoldier728: ok, ok, it's only an opinion... ^^ |
15:15:33
| * lifelike | joined |
15:15:36
| * NotMyself | joined |
15:15:43
| * tonylukasavage | joined |
15:16:02
| * ghostjosh | joined |
15:16:11
| * rafaelrinaldi | joined |
15:16:26
| * Blkt_ | changed nick to Blkt |
15:16:28
| * toastynerd | joined |
15:16:31
| * rbarnwell | quit |
15:16:37
| * thezanke | part ("Leaving") |
15:16:42
| * thezanke | joined |
15:16:52
| * drx_ | joined |
15:16:52
| * r04r | changed nick to r04r|away |
15:16:57
| <Lunar_Lamp> | Lcfvs: yeah, this nodejs just calls an init script already, so that's all already dealt with by the init script :-) |
15:17:21
| * willwhite | joined |
15:17:46
| <Lcfvs> | Lunar_Lamp: init script or initd script? |
15:18:17
| * WolfieZero | changed nick to WolfieZero|Away |
15:18:18
| <Lcfvs> | (just curious) |
15:18:26
| * dennismartnesson | joined |
15:18:29
| * drx_ | quit (Read error: Connection reset by peer) |
15:18:39
| * drx_ | joined |
15:18:43
| * lw | joined |
15:18:49
| * yorick | quit (Ping timeout: 240 seconds) |
15:19:18
| * charuru | quit (Quit: charuru) |
15:19:26
| * zizzl | joined |
15:19:29
| * drx | quit (Ping timeout: 240 seconds) |
15:19:40
| * WolfieZero|Away | changed nick to WolfieZero |
15:20:19
| * nvcexploder | quit (Ping timeout: 264 seconds) |
15:20:27
| * drx_ | quit (Read error: Connection reset by peer) |
15:20:27
| * shannonmoeller | quit (Remote host closed the connection) |
15:20:31
| * drx | joined |
15:20:37
| <Lcfvs> | Lunar_Lamp: personnaly, i'm working on a fully JS initd script that manage web servers & unix sockets server =) |
15:21:09
| * ndrei | quit (Ping timeout: 255 seconds) |
15:21:15
| <Lcfvs> | no cron, no forever, etc. :P |
15:21:32
| <Lcfvs> | pure JS <3 |
15:21:57
| * kronion | joined |
15:22:09
| <jalleyne> | hey, anyone here have any experience with chunked transfer encoding ? |
15:22:16
| * drx | quit (Read error: Connection reset by peer) |
15:22:23
| <jalleyne> | curl seems to always buffer till i call end in express |
15:22:31
| * drx | joined |
15:22:35
| <jalleyne> | or even if i use the native http module |
15:22:43
| * yho | joined |
15:22:49
| * D4RK-PH0ENiX | quit (Ping timeout: 240 seconds) |
15:22:52
| * FasTTo | joined |
15:22:56
| * NodeNagant | joined |
15:23:15
| * toastynerd | quit (Remote host closed the connection) |
15:23:39
| * David | joined |
15:23:46
| * prawnsalad | quit (Ping timeout: 246 seconds) |
15:24:14
| * drx_ | joined |
15:24:25
| * liquid-silence | joined |
15:24:25
| * liquid-silence | quit (Changing host) |
15:24:25
| * liquid-silence | joined |
15:24:26
| * zomg | quit (Ping timeout: 252 seconds) |
15:24:39
| * yorick | joined |
15:24:39
| <Lcfvs> | jalleyne: never used curl with node... only in php, sorry |
15:24:43
| * liquid-silence | quit (Client Quit) |
15:24:51
| * zomg | joined |
15:25:05
| * liquid-silence | joined |
15:25:10
| <jalleyne> | Lcfvs: curl in terminal, not as a module |
15:25:12
| * fird0s | quit (Ping timeout: 255 seconds) |
15:25:12
| * prawnsalad | joined |
15:25:14
| <jalleyne> | Lcfvs: thanks though |
15:25:24
| * demio | quit (Remote host closed the connection) |
15:25:27
| * wxo | joined |
15:25:47
| * sg555 | joined |
15:25:51
| * simong | quit (Read error: Connection reset by peer) |
15:25:55
| * drx_ | quit (Read error: Connection reset by peer) |
15:25:55
| * drx___ | joined |
15:26:09
| * fird0s | joined |
15:26:12
| * drx | quit (Read error: Connection reset by peer) |
15:26:37
| * Pitel_IPEX | quit (Quit: (ノಠ益ಠ)ノ彡┻━┻) |
15:26:52
| * rainmanjam | joined |
15:27:19
| * JesseCW | quit |
15:27:41
| * drx___ | quit (Read error: Connection reset by peer) |
15:27:49
| * drx | joined |
15:27:49
| * chrelad | joined |
15:28:23
| <Drako> | Hey there i am currently learning streams can you write to a writeable stream through pipe and .write ? because my data gets messed up when doing so |
15:28:43
| * David | quit (Ping timeout: 264 seconds) |
15:28:48
| * RyanGuill | quit (Quit: Leaving) |
15:29:17
| * jsc__ | quit (Quit: Leaving) |
15:29:35
| * drx | quit (Read error: Connection reset by peer) |
15:29:36
| * _jcarvalho | joined |
15:29:37
| * Piotras | quit (Ping timeout: 240 seconds) |
15:29:41
| * drx_ | joined |
15:29:41
| * aslant_ | quit (Read error: Connection reset by peer) |
15:29:48
| * willwhite | quit (Remote host closed the connection) |
15:29:50
| * rbyne | joined |
15:30:04
| <Drako> | Currently i parse some image files and extract the color info for each rgb value of pixel i like to use a transform stream piping to a output file stream and after each file i like to wrote out.write("\n") |
15:30:20
| * aslant | joined |
15:30:44
| * shannonmoeller | joined |
15:31:02
| * RyanGuill | joined |
15:31:09
| <Drako> | when i do this it works fine for the first few files but then the transformstream stops working |
15:31:23
| * rafaelrinaldi | quit (Remote host closed the connection) |
15:31:24
| * drx | joined |
15:31:29
| * rihbyne | quit (Ping timeout: 269 seconds) |
15:31:33
| * rauchg | joined |
15:31:52
| <Drako> | if i do the transformation by hand and write it directly to the outout stream everything works fine - any ideas? |
15:32:11
| * RyanGuill | quit (Read error: Connection reset by peer) |
15:32:11
| * theHansyG | quit (Quit: Computer has gone to sleep.) |
15:32:16
| * HannahWolfe_ | changed nick to HannahWolfe |
15:32:19
| * ryanguill_ | joined |
15:32:19
| * staar2 | quit (Ping timeout: 264 seconds) |
15:32:30
| * ryanguill_ | quit (Read error: Connection reset by peer) |
15:32:49
| * ryanguill_ | joined |
15:32:50
| * drx | quit (Read error: Connection reset by peer) |
15:33:18
| * drx | joined |
15:33:29
| * ghostjosh | quit (Ping timeout: 240 seconds) |
15:33:35 |