00:00:01
| * ircretary | quit (Remote host closed the connection) |
00:00:09
| * ircretary | joined |
00:02:17
| * defunctzombie_zz | changed nick to defunctzombie |
00:03:16
| * mikolalysenko | joined |
00:06:03
| * fallsemo1 | quit (Quit: Leaving.) |
00:06:09
| * ins0mnia | joined |
00:08:03
| * mikolalysenko | quit (Ping timeout: 245 seconds) |
00:16:34
| * hoobdeebla | joined |
00:20:47
| * i_m_ca | quit (Ping timeout: 272 seconds) |
00:21:06
| * funkytek | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
00:22:14
| * hoobdeebla | quit (Ping timeout: 252 seconds) |
00:22:59
| * AvianPhone | joined |
00:23:40
| * coderzach | joined |
00:23:41
| * i_m_ca | joined |
00:24:49
| * hoobdeebla | joined |
00:31:10
| * hoobdeebla | quit |
00:31:34
| <jesusabdullah> | Does anyone know the sane way to do an http client request with ruby? A "mikeal/request of ruby"? |
00:39:11
| <jcrugzz> | jesusabdullah: what are you doing with ruby O.o |
00:39:32
| <jesusabdullah> | Gonna try writing a little irc bot |
00:39:40
| <jesusabdullah> | I'm really really sick of node-irc's bullshit |
00:39:52
| <jesusabdullah> | and yes I know there are other libraries, but this was just an excuse to try something different |
00:40:54
| <jcrugzz> | write it in clojure :p |
00:41:14
| <maksimlin> | jesusabdullah: let me know when you have some thing working, I ended up patching irc-node just to get constant connections for my logging bot |
00:41:18
| <jcrugzz> | jesusabdullah: mmalecki's ircb is failsauce as well? |
00:41:27
| <jcrugzz> | cause i thought that worked well |
00:41:51
| <jesusabdullah> | jcrugzz: It might work well, like I said this was just an excuse to try something different |
00:41:56
| <jcrugzz> | got it |
00:41:59
| <jcrugzz> | thats fair |
00:42:41
| * AvianPhone | quit (Quit: Bye) |
00:42:51
| * AvianFlu | joined |
00:43:06
| <jesusabdullah> | jcrugzz: last time I used ircb it was well-architected but hadn't had any real battle-hardening |
00:43:12
| <jesusabdullah> | jcrugzz: probably better now though |
00:43:22
| <jesusabdullah> | jcrugzz: I guess I just feel like being a masochist |
00:43:28
| * phated | quit (Remote host closed the connection) |
00:43:37
| <jesusabdullah> | jcrugzz: actually, y'know what? Fuck that I'm way too lazy to rewrite even 100 lines of code |
00:46:21
| * sorensen_ | joined |
00:46:23
| <grncdr> | what's the state of the art in long-stack-traces modules? |
00:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 15] |
00:52:42
| * justinabrahms | quit (Excess Flood) |
00:53:50
| * justinabrahms | joined |
00:54:00
| <jesusabdullah> | Yeah, not a great start for you ircb |
00:54:04
| <jesusabdullah> | Silent exit -_-; |
00:55:54
| * sorensen_ | quit (Quit: Bye!) |
00:56:10
| <jcrugzz> | xD |
00:56:30
| <jcrugzz> | it may need a little love |
00:57:29
| <jesusabdullah> | Jesus when is ruby going to get real modules? |
00:57:32
| <jesusabdullah> | ಠ_ಠ |
00:57:39
| <AvianFlu> | jesusabdullah: ircb shits itself on me frequently |
00:57:48
| <AvianFlu> | it's why louderbot restarts so often |
00:57:55
| <AvianFlu> | well, that and db timeouts |
00:58:17
| <jcrugzz> | AvianFlu: is the protocol for irc just that hairy? |
00:58:29
| <AvianFlu> | not really |
00:58:39
| <AvianFlu> | the thing about writing libraries is that you've got a use case |
00:58:49
| <AvianFlu> | and then you don't really need to finish something, always, if it's not job related |
00:59:02
| <AvianFlu> | and mmalecki made that lib as a side project, and I don't think uses it for much |
00:59:04
| <jesusabdullah> | https://github.com/cinchrb/cinch/blob/master/lib/cinch/bot.rb#L209-L219 |
00:59:06
| <AvianFlu> | hence being not quite complete |
00:59:08
| <ogd> | in order to get real modules in ruby we need to deceive them into believing they invented it and didnt copy it from node because JS is a toy language |
00:59:15
| <jesusabdullah> | THANKS RUBY THANKS FOR MAKING IT OKAY TO MAKE JSON CONFIGS HARDER |
00:59:15
| <LOUDBOT> | IS IT STILL SNOWING |
00:59:18
| <AvianFlu> | lolol ogd |
00:59:38
| <jesusabdullah> | ogd: Can we convince them that they DID copy it from javascript and that this is the problem? |
00:59:45
| <ogd> | oooh good call |
00:59:54
| <jesusabdullah> | ogd: I bet rubyists don't see what the problem is with <script> tags |
00:59:59
| <jesusabdullah> | because it's the same one |
01:00:11
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.56.27.70(dev-ie6-1) |
01:00:11
| <ogd> | for april fools day we should do a nodejs.org blog post about how node 1.0 switches to rubygems style require |
01:00:23
| <ogd> | isaacs: o/ |
01:00:41
| <jesusabdullah> | isaacs: ^^^ |
01:00:52
| <jesusabdullah> | and explain why it's so much better |
01:01:29
| <jesusabdullah> | make the npm cli tool so crappy you need another tool called nbundler |
01:01:42
| <jesusabdullah> | SEPARATION OF CONCERNS! OF COURRSE! |
01:01:42
| <LOUDBOT> | WE WOULD CHANT AT THE DRIVER: "HAVE AN ACCIDENT! HAVE AN ACCIDENT! HAVE AN ACCIDENT! HAVE AN ACCIDENT!" AND THEN "CRASH!!! CRASH!!! CRASH!!! CRASH!!!" |
01:02:41
| <rowbit> | substack, pkrumins: At least 10 people waiting in the queue for free servers! (Waiting: 11) |
01:04:06
| * mikolalysenko | joined |
01:06:29
| * i_m_ca | quit (Ping timeout: 240 seconds) |
01:08:48
| * coderzach | quit (Remote host closed the connection) |
01:09:09
| * mikolalysenko | quit (Ping timeout: 265 seconds) |
01:10:36
| * tilgovi | quit (Read error: Connection reset by peer) |
01:11:02
| * tilgovi | joined |
01:14:42
| <Raynos> | ogd: I think it would be better if we switched to rubygems |
01:15:02
| <Raynos> | and have a `npm-gems` module where you can `npm-gems add-user` and `npm-gems publish-all` to republish all your npm modules on rubygems |
01:15:41
| * fallsemo | joined |
01:18:01
| <Raynos> | ogd: we can definitely be like "We are sorry for all the recent npm troubles, we are going to change over to rubygems because rubygems is rock solid" |
01:20:28
| <jesusabdullah> | Okay, I tried. That library's api is insufferable. |
01:20:41
| <jcrugzz> | lulz |
01:20:45
| <jesusabdullah> | aaaand I don't feel like learning ruby regexps right now |
01:21:28
| <jesusabdullah> | I am picking things up though |
01:21:35
| <jesusabdullah> | like I kiiiiiiinda know how blocks work now |
01:21:37
| <jesusabdullah> | kiiiinda |
01:22:16
| <jcrugzz> | jesusabdullah: its like a function |
01:22:23
| <jcrugzz> | but called something different |
01:22:24
| <jcrugzz> | just cause |
01:22:39
| <jcrugzz> | and i dont know if it gets outer scope or not, i feel like it doesnt |
01:22:48
| <jcrugzz> | but yea i spent very little time with ruby |
01:23:03
| <jesusabdullah> | I think it closing behaviors are different from functions |
01:23:21
| <jesusabdullah> | but yeah |
01:24:56
| * marcello3d | quit (Remote host closed the connection) |
01:27:17
| * yorick | quit (Read error: Connection reset by peer) |
01:31:23
| * thlorenz | joined |
01:35:15
| * ednapiranha | quit (Quit: Leaving...) |
01:36:20
| <feross> | rvagg: cool, thx! |
01:44:15
| * marcello3d | joined |
01:48:53
| * ins0mnia | quit (Ping timeout: 245 seconds) |
01:51:55
| * kevino80 | joined |
01:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 24] |
01:52:32
| * marcello3d | quit (Remote host closed the connection) |
01:53:07
| * ednapiranha | joined |
01:54:00
| * phated | joined |
01:54:18
| * marcello3d | joined |
01:56:29
| * kevino80 | quit (Ping timeout: 240 seconds) |
01:57:31
| * phated_ | joined |
01:58:11
| * phated | quit (Read error: Connection reset by peer) |
01:58:11
| * phated_ | changed nick to phated |
02:04:03
| * fallsemo | quit (Quit: Leaving.) |
02:04:21
| * marcello3d | quit (Read error: Connection reset by peer) |
02:05:20
| * marcello3d | joined |
02:05:22
| * ednapiranha | quit (Quit: Leaving...) |
02:05:58
| * anoemi | joined |
02:20:12
| * jcrugzz | quit (Ping timeout: 265 seconds) |
02:23:07
| * mikolalysenko | joined |
02:25:09
| * funkytek | joined |
02:26:03
| * fallsemo | joined |
02:31:59
| * anoemi | quit (Remote host closed the connection) |
02:32:41
| * marcello3d | quit (Remote host closed the connection) |
02:33:07
| * anoemi | joined |
02:34:18
| * contrahax | quit (Quit: Sleeping) |
02:39:29
| * mikolalysenko | quit (Ping timeout: 240 seconds) |
02:47:23
| * dominictarr | joined |
02:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 18] |
03:00:14
| * contrahax | joined |
03:01:11
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.57.72.69(free7) |
03:05:57
| * mikolalysenko | joined |
03:10:57
| * mikolalysenko | quit (Ping timeout: 265 seconds) |
03:18:18
| * i_m_ca | joined |
03:22:19
| <jlord> | does anyone have a windows computer that can see if git-it works on? |
03:23:20
| * mikolalysenko | joined |
03:25:41
| <jlord> | https://github.com/jlord/git-it |
03:27:50
| * dominictarr | quit (Ping timeout: 264 seconds) |
03:29:38
| * anoemi | quit (Remote host closed the connection) |
03:31:21
| * dominictarr | joined |
03:33:25
| * thealphanerd | quit (Ping timeout: 248 seconds) |
03:43:28
| * dominictarr | quit (Ping timeout: 245 seconds) |
03:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 25] |
03:52:55
| * kevino80 | joined |
03:53:24
| * eugeneware | quit (Remote host closed the connection) |
03:53:54
| * eugeneware | joined |
03:54:14
| * jcrugzz | joined |
03:56:27
| <groundwater> | jlord booting my windows vm |
03:57:07
| * kevino80 | quit (Ping timeout: 252 seconds) |
03:58:27
| * eugeneware | quit (Ping timeout: 252 seconds) |
03:59:39
| <grncdr> | man, I missed ruby discussion in here? D: |
04:00:34
| <groundwater> | grncdr lol |
04:01:17
| <groundwater> | jlord i gave koding.com a try last week, it's a good fallback if all else fails |
04:01:26
| <groundwater> | it gives you a vm, and shell access |
04:01:28
| <groundwater> | with npm installed |
04:01:33
| <groundwater> | all done through the web |
04:01:50
| <grncdr> | jesusabdullah: have you tried https://npmjs.org/package/irc-message-stream ? |
04:02:20
| <grncdr> | man I'm going to write a bot right now because why not |
04:03:04
| <jesusabdullah> | I've not |
04:03:36
| <jesusabdullah> | Is it duplex? |
04:04:04
| <grncdr> | maybe? |
04:04:09
| <grncdr> | should be if it isn't |
04:05:27
| <grncdr> | nope, it's a transform |
04:09:01
| * defunctzombie | changed nick to defunctzombie_zz |
04:17:17
| <gildean> | wouldn't transform be fine tho? raw buffers are written in and objects get written out (assuming the write-side is on objectmode) |
04:21:56
| <groundwater> | jlord omg windows if f*ing painful to work in |
04:22:11
| <grncdr> | gildean: yeah it doesn't let you write messages-as-objects back though |
04:22:22
| <grncdr> | which I think is what jesusabdullah was looking for |
04:22:46
| * contrahax | quit (Quit: Sleeping) |
04:23:45
| * funkytek | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
04:23:52
| * phated | quit (Remote host closed the connection) |
04:29:28
| <gildean> | grncdr: yeah, i'd perhaps have two streams, the other in objectmode on write-side, the other on objectmode on read-side, then the raw-modes vice versa |
04:30:38
| <gildean> | so you could do: ircsocket.pipe(messageparser).pipe(messageserializer).pipe(ircsocket); |
04:32:01
| <gildean> | something like deoxxa has actually made: https://npmjs.org/package/irc-protocol |
04:32:34
| * i_m_ca_ | joined |
04:33:16
| <grncdr> | hm, that looks right to me |
04:33:38
| * marcello3d | joined |
04:33:42
| <grncdr> | was just writing basically the same thing using irc-message & duplexer |
04:34:43
| * i_m_ca | quit (Ping timeout: 245 seconds) |
04:35:59
| <grncdr> | hm, so, on one hand. that looks like exactly what I want |
04:36:18
| <grncdr> | on the other hand, would it kill him to include some examples of the message structure? |
04:37:54
| <gildean> | grncdr: yeah, that's deoxxa for you, he's got like dozens of modules on npm, they all lack at least parts of the docs but he does write pretty good code |
04:38:59
| <gildean> | grncdr: he's on freenode on the same nick from time to time, on #node.js, #noweb or #webtech, tho' i haven't seen him in a while |
04:39:20
| * thlorenz | quit (Remote host closed the connection) |
04:39:52
| * thlorenz | joined |
04:44:18
| * thlorenz | quit (Ping timeout: 245 seconds) |
04:50:23
| <groundwater> | jlord done, but i left you two PRs because there were two problems |
04:50:29
| <groundwater> | other than that, it works on windows |
04:50:43
| <groundwater> | after installing Github for Windows, and the node.js official bundle |
04:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 27] |
04:52:43
| * fallsemo | quit (Quit: Leaving.) |
04:53:59
| * Maciek416 | joined |
05:04:48
| * dominictarr | joined |
05:05:04
| * kenperkins | quit (Quit: Computer has gone to sleep.) |
05:07:34
| * marcello3d | quit (Remote host closed the connection) |
05:08:11
| * marcello3d | joined |
05:08:19
| * nfroidure | quit (Ping timeout: 272 seconds) |
05:12:45
| * marcello3d | quit (Ping timeout: 265 seconds) |
05:20:33
| * frankbutt | joined |
05:20:37
| * frankbutt | part |
05:24:02
| * fotoverite | quit (Quit: fotoverite) |
05:27:29
| * marcello3d | joined |
05:31:18
| * Maciek416 | quit (Remote host closed the connection) |
05:34:25
| * phated | joined |
05:35:12
| * fotoverite | joined |
05:39:03
| * phated | quit (Ping timeout: 252 seconds) |
05:39:49
| * dominictarr | quit (Ping timeout: 248 seconds) |
05:47:57
| * fotoverite | quit (Quit: fotoverite) |
05:48:41
| * thlorenz | joined |
05:51:06
| * thlorenz | quit (Remote host closed the connection) |
05:52:26
| <rowbit> | Hourly usage stats: [developer: 2, free: 15] |
05:53:33
| * eugeneware | joined |
05:53:42
| * kevino80 | joined |
05:55:51
| * guybrush | quit (Excess Flood) |
05:56:06
| * guybrush | joined |
05:57:57
| * kevino80 | quit (Ping timeout: 248 seconds) |
06:03:02
| * contrahax | joined |
06:04:58
| * maksimlin | quit (Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131206152142]) |
06:08:01
| * pfraze | quit (Ping timeout: 252 seconds) |
06:08:20
| * mikolalysenko | quit (Ping timeout: 245 seconds) |
06:15:46
| * Maciek416 | joined |
06:17:52
| * tilgovi | quit (Read error: Connection reset by peer) |
06:18:05
| <jlord> | groundwater: thanks so much! I jsut left a comment on one of your things, I'd love to know your thoughts since technically the code wise everything happened as I intended it to but I can see how that would be confusing for th euser |
06:18:07
| * Maciek416 | quit (Remote host closed the connection) |
06:20:21
| * kriskowal | joined |
06:25:28
| * marcello3d | quit (Remote host closed the connection) |
06:29:56
| <jlord> | Anyone use github tarballs in their package.json? |
06:32:41
| * kriskowal | quit (Quit: kriskowal) |
06:33:38
| * ralphtheninja | joined |
06:34:57
| * contrahax | quit (Quit: Sleeping) |
06:40:51
| * shama | quit |
06:41:48
| * i_m_ca_ | quit (Ping timeout: 245 seconds) |
06:45:03
| * phated | joined |
06:45:04
| * kirbysayshi | joined |
06:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 26] |
06:56:10
| <groundwater> | jlord i don't think you can use github tarballs because the npm tarball unpacks to package/ or something |
06:56:26
| <groundwater> | unless i misunderstand what you're trying to do |
06:56:41
| * marcello3d | joined |
06:59:46
| * marcello4d | joined |
07:00:11
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.56.27.70(dev-ie6-1) |
07:00:49
| <groundwater> | jlord dropped some replies back at you |
07:01:27
| * marcello3d | quit (Ping timeout: 252 seconds) |
07:02:41
| <rowbit> | substack, pkrumins: At least 10 people waiting in the queue for free servers! (Waiting: 23) |
07:03:28
| * jcrugzz | quit (Ping timeout: 245 seconds) |
07:04:31
| * marcello4d | quit (Ping timeout: 260 seconds) |
07:08:59
| * chillbot | joined |
07:09:22
| <grncdr> | after many distractions, my bot is "working" |
07:10:22
| * contrahax | joined |
07:12:46
| * feross | quit (Quit: feross) |
07:12:56
| * kirbysayshi | quit (Quit: kirbysayshi) |
07:13:12
| * feross | joined |
07:13:23
| * chillbot | quit (Remote host closed the connection) |
07:14:27
| * mikolalysenko | joined |
07:18:59
| * ralphtheninja | quit (Ping timeout: 260 seconds) |
07:19:47
| * mikolalysenko | quit (Ping timeout: 272 seconds) |
07:21:16
| * chillbot | joined |
07:23:27
| * AvianFlu | quit (Ping timeout: 252 seconds) |
07:26:48
| * marcello3d | joined |
07:32:10
| * fronx | joined |
07:32:12
| * funkytek | joined |
07:32:18
| * jcrugzz | joined |
07:38:02
| * fronx | quit (Ping timeout: 264 seconds) |
07:38:22
| * eugeneware | quit (Remote host closed the connection) |
07:38:53
| * jcrugzz | quit (Ping timeout: 245 seconds) |
07:38:55
| * eugeneware | joined |
07:42:59
| * eugeneware | quit (Ping timeout: 240 seconds) |
07:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 28] |
07:54:39
| * kevino80 | joined |
07:55:05
| * marcello3d | quit (Ping timeout: 252 seconds) |
07:58:59
| * kevino80 | quit (Ping timeout: 240 seconds) |
08:05:11
| * phated | quit (Remote host closed the connection) |
08:09:10
| * nfroidure | joined |
08:12:32
| * djcoin | joined |
08:17:59
| * chillbot | quit (Ping timeout: 240 seconds) |
08:18:21
| * wolfeidau | quit (Ping timeout: 265 seconds) |
08:20:46
| * jden_ | quit (Ping timeout: 265 seconds) |
08:21:07
| * jden_ | joined |
08:21:52
| * wolfeidau | joined |
08:29:41
| * marcello3d | joined |
08:30:24
| * peutetre | joined |
08:34:07
| * marcello3d | quit (Ping timeout: 260 seconds) |
08:44:42
| * fallsemo | joined |
08:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 35] |
09:01:12
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.57.72.69(free7) |
09:09:43
| * contrahax | quit (Read error: Connection reset by peer) |
09:10:19
| * contrahax | joined |
09:22:06
| * funkytek | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:24:04
| * fallsemo | quit (Ping timeout: 265 seconds) |
09:26:15
| * marcello3d | joined |
09:27:04
| * fallsemo | joined |
09:28:11
| * eugeneware | joined |
09:30:47
| * feross | quit (Ping timeout: 252 seconds) |
09:31:03
| * marcello3d | quit (Ping timeout: 260 seconds) |
09:32:17
| * funkytek | joined |
09:33:16
| * fronx | joined |
09:35:00
| * fallsemo | quit (Ping timeout: 245 seconds) |
09:44:21
| * eugeneware | quit (Ping timeout: 252 seconds) |
09:51:22
| * fallsemo | joined |
09:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 35] |
09:55:30
| * kevino80 | joined |
10:00:05
| * kevino80 | quit (Ping timeout: 248 seconds) |
10:00:19
| * feross | joined |
10:09:21
| * eugeneware | joined |
10:27:09
| * marcello3d | joined |
10:28:37
| * fallsemo | quit (Quit: Leaving.) |
10:31:33
| * marcello3d | quit (Ping timeout: 252 seconds) |
10:32:55
| * kevino80 | joined |
10:33:18
| * kevino80 | quit (Remote host closed the connection) |
10:33:38
| * kevino80 | joined |
10:34:44
| * ins0mnia | joined |
10:35:46
| * kevino80 | quit (Remote host closed the connection) |
10:45:13
| * funkytek | quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
10:51:14
| * fronx | quit (Remote host closed the connection) |
10:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 37] |
10:55:48
| * fallsemo | joined |
11:22:27
| * fotoverite | joined |
11:27:47
| * marcello3d | joined |
11:32:38
| * marcello3d | quit (Ping timeout: 264 seconds) |
11:50:29
| * eugeneware | quit (Remote host closed the connection) |
11:50:35
| * fallsemo | quit (Quit: Leaving.) |
11:50:57
| * eugeneware | joined |
11:51:23
| * dominictarr | joined |
11:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 49] |
11:54:45
| * eugenewa_ | joined |
11:55:35
| * eugeneware | quit (Remote host closed the connection) |
11:59:29
| * dominictarr | quit (Ping timeout: 240 seconds) |
12:05:47
| * phated | joined |
12:08:21
| * fronx | joined |
12:10:33
| * phated | quit (Ping timeout: 252 seconds) |
12:28:30
| * marcello3d | joined |
12:33:01
| * peutetre | quit (Quit: peutetre) |
12:33:06
| * marcello3d | quit (Ping timeout: 252 seconds) |
12:43:42
| * fronx | quit (Read error: Connection reset by peer) |
12:43:54
| * fronx | joined |
12:52:27
| <rowbit> | Hourly usage stats: [developer: 0, free: 23] |
13:00:12
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.56.27.70(dev-ie6-1) |
13:02:42
| <rowbit> | substack, pkrumins: At least 10 people waiting in the queue for free servers! (Waiting: 47) |
13:05:58
| * thlorenz | joined |
13:29:14
| * marcello3d | joined |
13:30:18
| * kevino80 | joined |
13:32:00
| * thlorenz | quit (Remote host closed the connection) |
13:33:19
| * AvianFlu | joined |
13:33:45
| * marcello3d | quit (Ping timeout: 245 seconds) |
13:33:53
| * contrahax | quit (Quit: Sleeping) |
13:48:12
| * peutetre | joined |
13:52:01
| * AndreasMadsen | joined |
13:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 50] |
13:58:16
| * AndreasMadsen | quit |
14:03:08
| * fallsemo | joined |
14:16:31
| * fallsemo | quit (Ping timeout: 272 seconds) |
14:21:10
| * fallsemo | joined |
14:27:52
| * Maciek416 | joined |
14:30:01
| * marcello3d | joined |
14:32:43
| * brianloveswords | quit (Excess Flood) |
14:33:40
| * kenperkins | joined |
14:34:13
| * brianloveswords | joined |
14:34:26
| * marcello3d | quit (Ping timeout: 252 seconds) |
14:35:49
| * fallsemo | quit (Ping timeout: 265 seconds) |
14:42:59
| * djcoin | quit (Ping timeout: 240 seconds) |
14:49:50
| * fallsemo | joined |
14:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 35] |
14:52:40
| * pfraze | joined |
14:55:48
| * dominictarr | joined |
15:01:12
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.57.72.69(free7) |
15:01:19
| * fotoverite | quit (Quit: fotoverite) |
15:06:09
| * anoemi | joined |
15:08:01
| * anoemi | quit (Remote host closed the connection) |
15:09:03
| * anoemi | joined |
15:09:11
| * kenperkins | quit (Quit: Computer has gone to sleep.) |
15:13:45
| * kenperkins | joined |
15:16:24
| * defunctzombie_zz | changed nick to defunctzombie |
15:18:02
| * mikolalysenko | joined |
15:19:04
| * thlorenz | joined |
15:20:20
| * AvianFlu | quit (Remote host closed the connection) |
15:22:23
| * anoemi | quit (Remote host closed the connection) |
15:23:05
| * anoemi | joined |
15:29:56
| * AvianPhone | joined |
15:30:58
| * marcello3d | joined |
15:31:19
| * anoemi | quit (Remote host closed the connection) |
15:31:58
| * anoemi | joined |
15:35:41
| * marcello3d | quit (Ping timeout: 272 seconds) |
15:38:14
| * clone1018 | part |
15:40:36
| * dominictarr | quit (Quit: Leaving) |
15:40:42
| * dominictarr | joined |
15:44:55
| * AvianPhone | quit (Ping timeout: 272 seconds) |
15:45:21
| * anoemi | quit (Remote host closed the connection) |
15:46:19
| * defunctzombie | changed nick to defunctzombie_zz |
15:49:30
| * fronx | quit (Remote host closed the connection) |
15:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 46] |
16:01:02
| * fronx | joined |
16:02:57
| * ednapiranha | joined |
16:03:41
| <dominictarr> | LOL https://npmjs.org/package/grunt-grunt |
16:04:07
| <dominictarr> | what about a thing to convert a grunt command into a UNIX tool that you can just run from the command line. |
16:04:27
| * mikolalysenko | quit (Ping timeout: 260 seconds) |
16:04:50
| * mikolalysenko | joined |
16:05:17
| <jaz303> | lol |
16:05:48
| * defunctzombie_zz | changed nick to defunctzombie |
16:06:03
| <defunctzombie> | grunt is so stupid |
16:07:28
| * AvianFlu | joined |
16:11:40
| * kenperkins | quit (Remote host closed the connection) |
16:12:32
| * kenperkins | joined |
16:13:08
| <dominictarr> | jesusabdullah, currently writing a modern-invoice module, to you guessed it, generate invoices in the best font |
16:13:37
| <jesusabdullah> | excellent |
16:14:29
| <dominictarr> | jesusabdullah, maybe we should make t-shirts? |
16:15:14
| * dominictarr | quit (Remote host closed the connection) |
16:15:37
| * dominictarr | joined |
16:19:28
| <AvianFlu> | dominictarr: lololol |
16:20:37
| * mikolalysenko | quit (Ping timeout: 252 seconds) |
16:21:41
| <dominictarr> | I think they could just say Computer Modern on them, and can just let the helvetica fanboys stare until they realize it's the name of a superior typeface. |
16:31:34
| * marcello3d | joined |
16:31:35
| * jcrugzz | joined |
16:36:05
| * mikolalysenko | joined |
16:36:45
| * marcello3d | quit (Ping timeout: 272 seconds) |
16:44:34
| * AvianFlu_ | joined |
16:46:03
| * shama | joined |
16:46:33
| * sorensen_ | joined |
16:47:44
| * AvianFlu | quit (Disconnected by services) |
16:47:47
| * AvianFlu_ | changed nick to AvianFlu |
16:52:26
| <rowbit> | Hourly usage stats: [developer: 8, free: 44] |
16:59:30
| <defunctzombie> | HOW DO I SLIDE TRANSITION SOMETHING FROM 0 TO AUTO ?!?!?! |
16:59:31
| <LOUDBOT> | OH I'LL SHOW YOU A GRAPH |
16:59:38
| <defunctzombie> | WHY IS THIS SO HARD! |
16:59:39
| <LOUDBOT> | ONLY IF THE ARROWS ARE ON FIRE |
16:59:44
| <defunctzombie> | nice |
17:00:25
| <jaz303> | what property? |
17:00:43
| <defunctzombie> | height |
17:00:54
| <jaz303> | if you set a min-height it "works" |
17:01:16
| <defunctzombie> | so my current issue is going from something that is already set at height 0 |
17:01:33
| <defunctzombie> | lets say something is already collapsed (via max-height: 0) |
17:01:34
| * anoemi | joined |
17:01:35
| <defunctzombie> | or whatever |
17:02:30
| * sorensen_ | quit (Ping timeout: 245 seconds) |
17:03:09
| <jaz303> | sorry i meant max-height. on the site i'm working on i just toggle that between 0 and something sane |
17:03:31
| <defunctzombie> | everyone says that.. but something sane I might not know |
17:03:35
| <jaz303> | and apply the transition to the max-height property |
17:03:42
| <jaz303> | yes in that case you're out of luck |
17:03:44
| * marcello3d | joined |
17:03:48
| <defunctzombie> | this is stupid |
17:03:49
| <jaz303> | as far as i know |
17:03:55
| * anoemi | quit (Remote host closed the connection) |
17:04:07
| <defunctzombie> | marcello3d: I need to make a slide toggle/accordion thing |
17:04:21
| <defunctzombie> | marcello3d: how do I do that if I have variable target height? |
17:04:27
| <jaz303> | you should just be able to set a transition on `height` and have it all work |
17:04:29
| * anoemi | joined |
17:04:33
| <defunctzombie> | I agree |
17:04:40
| <marcello3d> | it doesn't work that way, sadly |
17:04:46
| <defunctzombie> | but standards people hate web developers |
17:04:50
| <thlorenz> | defunctzombie: this: https://twitter.com/defunctzombie/status/428208248949178368 rofl |
17:04:51
| <marcello3d> | you can't transition from an automatic height to fixed height |
17:05:00
| <thlorenz> | so true though |
17:05:10
| <defunctzombie> | thlorenz: yep |
17:05:10
| <marcello3d> | defunctzombie: basically you need to set the style.height to clientHeight+'px' |
17:05:19
| <marcello3d> | then you can animate it |
17:05:28
| * sorensen_ | joined |
17:05:42
| <defunctzombie> | marcello3d: right.. I got the "slide up" part |
17:05:52
| <defunctzombie> | but what if my element is already hidden |
17:05:55
| <defunctzombie> | or height 0 |
17:05:59
| <marcello3d> | ok for that |
17:06:02
| <defunctzombie> | and I want to slide it down? |
17:06:16
| <marcello3d> | you have to make it visible, measure the clientHeight, then make it invisible again, then start the animation |
17:06:29
| <defunctzombie> | jesus christ |
17:06:30
| <marcello3d> | it doesn't render anything until the js finishes |
17:06:45
| <marcello3d> | so basically it does the layout when you call clientHeight :) |
17:06:56
| <defunctzombie> | I hate life |
17:07:00
| <defunctzombie> | but if you make it visible |
17:07:10
| <defunctzombie> | sigh... |
17:07:19
| <marcello3d> | so basically |
17:07:28
| <defunctzombie> | so basically I should just quit |
17:07:30
| <marcello3d> | set it to the final state you want via classes |
17:07:45
| <marcello3d> | then measure it, then remove that class again, and start the animation |
17:08:02
| <marcello3d> | if you use something like jquery it might do all that behind the scenes when you do the transitions, don't remember |
17:08:14
| <defunctzombie> | jquery does.. but I am trying to remove all jquery |
17:08:18
| <marcello3d> | it gets funky with things like padding, borders, and margins, so you gotta watch out for that |
17:08:19
| <defunctzombie> | and this is the last annoying piece |
17:08:37
| <defunctzombie> | so I think I might have an idea based on what you said |
17:08:57
| <defunctzombie> | it will be weird cause I gotta make the item visible but not show it on the page |
17:09:05
| <marcello3d> | it doesn't matter |
17:09:09
| <defunctzombie> | ? |
17:09:12
| <marcello3d> | you do it all in the same run of javascript |
17:09:15
| <marcello3d> | the screen never updates |
17:10:02
| <defunctzombie> | interesting |
17:10:02
| <marcello3d> | if you do like foo.style.display='auto'; var h = foo.clientHeight; foo.style.display='none'; |
17:10:02
| <marcello3d> | it'll measure it |
17:10:08
| <defunctzombie> | really? |
17:10:11
| <marcello3d> | yes |
17:10:15
| <defunctzombie> | imma try that |
17:10:22
| <marcello3d> | assuming it doesn't have height=0 or other things affecting the size |
17:10:26
| <marcello3d> | but that's the basic idea |
17:10:47
| <defunctzombie> | what if height is 0 |
17:10:52
| <defunctzombie> | can I make height auto and have it work? |
17:11:00
| <defunctzombie> | I will try |
17:11:05
| <defunctzombie> | this is an interesting revelation if it works |
17:11:12
| * fronx | quit (Remote host closed the connection) |
17:13:01
| <marcello3d> | yes, height to auto or default or whatever |
17:13:06
| <marcello3d> | I would do it with classes, not modifying .style |
17:13:38
| <marcello3d> | I mean, this feature is part of the reason web ui can be slow... the whole UI blocks on javascript |
17:13:56
| <marcello3d> | and getters like clientHeight will trigger a layout if stuff has changed |
17:14:58
| <defunctzombie> | marcello3d: why with classes and not .style? |
17:15:04
| <defunctzombie> | marcello3d: also you are right.. holy shits |
17:15:17
| <defunctzombie> | that is crazy |
17:15:30
| <marcello3d> | less code. usually you can do this kind of thing by removing/adding classes you already wrote |
17:15:52
| <marcello3d> | it also lets you change a bunch of them at once |
17:17:10
| <marcello3d> | I'm surprised you doubted me, though ;D |
17:17:11
| <defunctzombie> | marcello3d: got it! |
17:17:15
| <defunctzombie> | it is a christmas miracle!! |
17:17:19
| <defunctzombie> | holy mother jesus |
17:18:48
| <defunctzombie> | I will need to release a module for this crazy shit |
17:19:43
| * eugenewa_ | quit (Remote host closed the connection) |
17:20:10
| * eugeneware | joined |
17:20:20
| <marcello3d> | wouldn't it be nice if browsers could animate to auto, huh? :) |
17:21:14
| <marcello3d> | I'm guessing the reason they don't is because there're too many edge cases |
17:21:25
| * anoemi | quit (Remote host closed the connection) |
17:21:58
| * anoemi | joined |
17:22:21
| <marcello3d> | anyone here live in sf? know anything about this meetup? http://www.meetup.com/jsmeetup/events/160602812/ |
17:24:35
| * eugeneware | quit (Ping timeout: 245 seconds) |
17:25:24
| <defunctzombie> | I am guessing they don't cause they hate web developers |
17:25:37
| <defunctzombie> | this is my answer to all questions on why browsers do things |
17:29:09
| * defunctzombie | changed nick to defunctzombie_zz |
17:34:49
| * kriskowal | joined |
17:36:35
| * yorick | joined |
17:37:12
| * contrahax | joined |
17:39:08
| * marcello3d | quit (Read error: Connection reset by peer) |
17:40:06
| * marcello3d | joined |
17:40:53
| * phated | joined |
17:41:19
| * anoemi | quit (Remote host closed the connection) |
17:41:21
| * sorensen_ | quit (Ping timeout: 272 seconds) |
17:41:48
| * anoemi | joined |
17:43:33
| * chillbot | joined |
17:46:03
| * anoemi | quit (Ping timeout: 252 seconds) |
17:46:59
| * phated | quit (Ping timeout: 240 seconds) |
17:52:26
| <rowbit> | Hourly usage stats: [developer: 4, free: 47] |
17:54:21
| <groundwater> | marcello3d you gonna go? |
17:55:09
| <marcello3d> | I was thinking about it, but I'm worried it'll be too basic |
17:55:15
| * dominictarr | quit (Ping timeout: 252 seconds) |
17:55:44
| <groundwater> | marcello3d yah i tend to stay away from JS events, and only go to node events |
17:55:56
| <marcello3d> | are there any good node meetups in the city? |
17:56:20
| <groundwater> | marcello3d nodebots day is always good |
17:56:28
| <marcello3d> | just moved up from nyc and trying to find the scene |
17:56:28
| <groundwater> | the nodeschool event ogd ran was awesome |
17:56:45
| <groundwater> | joyent has events every now and then |
17:57:09
| <groundwater> | just follow @dshaw on twitter, he retweets everything |
17:57:31
| * eugeneware | joined |
17:57:41
| <marcello3d> | haha ok |
17:58:29
| * marcello3d | quit (Read error: Connection reset by peer) |
17:59:23
| * marcello3d | joined |
17:59:25
| * marcello3d | quit (Client Quit) |
17:59:47
| * marcello3d | joined |
18:00:16
| <marcello3d> | man. I need a disconnect resilient irc client |
18:01:42
| <marcello3d> | alright. train here. bbiab |
18:01:45
| * coderzac_ | joined |
18:01:46
| * marcello3d | quit (Read error: Connection reset by peer) |
18:02:38
| * eugeneware | quit (Ping timeout: 264 seconds) |
18:07:36
| * anoemi | joined |
18:07:41
| * kevino80 | quit (Remote host closed the connection) |
18:07:54
| * kevino80 | joined |
18:08:28
| * anoemi | quit (Remote host closed the connection) |
18:09:48
| * anoemi | joined |
18:15:50
| * marcello3d | joined |
18:18:49
| * phated | joined |
18:24:32
| * jxson | joined |
18:25:21
| <mikolalysenko> | eagerly umd-ifying a js package should be considered an antipattern |
18:25:38
| * jxson | quit (Remote host closed the connection) |
18:25:51
| <mikolalysenko> | why on earth would I want to include all that crap in a bundle if I am requiring() their script using browserify? |
18:26:00
| * jxson | joined |
18:28:11
| <marcello3d> | I think it happens because people want plug and play for experimentation |
18:28:19
| <marcello3d> | especially non-engineer web developers/designers |
18:28:35
| <marcello3d> | browserify is definitely not plug-and-play |
18:30:54
| <jesusabdullah> | What if you do it reservedly, mikolalysenko ? |
18:36:18
| * dguttman | joined |
18:37:41
| * chillbot | quit (Remote host closed the connection) |
18:37:43
| * anoemi | quit (Ping timeout: 272 seconds) |
18:38:42
| * ralphtheninja | joined |
18:40:17
| * chillbot | joined |
18:42:08
| * anoemi | joined |
18:44:01
| * anoemi | quit (Remote host closed the connection) |
18:44:36
| * anoemi | joined |
18:44:38
| * AvianFlu | quit (Remote host closed the connection) |
18:45:24
| <mikolalysenko> | jesusabdullah: I don't think there is any good reason to ever do it |
18:45:36
| * anoemi | quit (Remote host closed the connection) |
18:45:39
| <mikolalysenko> | jesusabdullah: unless you are going to distribute a separate preminified/bundle library |
18:45:55
| <mikolalysenko> | jesusabdullah: but if you are gonna publish it to npm, the best practice should be to just use commonjs |
18:46:15
| <jesusabdullah> | yeah prombably |
18:46:15
| <mikolalysenko> | otherwise you waste a couple hundred bytes per js module, and risk messing it up everywhere you copy/paste it |
18:47:24
| * indexzero | joined |
18:49:21
| * phated | quit (Remote host closed the connection) |
18:52:27
| <rowbit> | Hourly usage stats: [developer: 5, free: 48] |
18:53:34
| * anoemi | joined |
18:53:53
| * anoemi | quit (Remote host closed the connection) |
18:54:46
| * anoemi | joined |
18:56:37
| * peutetre | quit (Quit: peutetre) |
18:58:12
| * peutetre | joined |
18:58:53
| * AvianFlu | joined |
18:58:59
| * anoemi | quit (Ping timeout: 240 seconds) |
19:00:13
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.56.27.70(dev-ie6-1) |
19:02:43
| <rowbit> | substack, pkrumins: At least 10 people waiting in the queue for free servers! (Waiting: 71) |
19:04:46
| * phated | joined |
19:10:37
| * indexzero | quit (Quit: indexzero) |
19:14:47
| <mikolalysenko> | so many nested modules in making this: https://npmjs.org/package/bitmap-to-boxes |
19:19:51
| * pfraze_ | joined |
19:20:27
| * AvianFlu | quit (Remote host closed the connection) |
19:21:28
| * pfraze | quit (Ping timeout: 265 seconds) |
19:26:13
| * ins0mnia | quit (Ping timeout: 272 seconds) |
19:38:39
| * coderzac_ | quit (Remote host closed the connection) |
19:41:58
| <spion> | how do you deal with dependencies that are also in development? npm link? |
19:42:39
| * mikolalysenko | quit (Ping timeout: 252 seconds) |
19:44:27
| <grncdr> | spion: that's what I do |
19:44:41
| <grncdr> | I've also been doing git urls more frequently for apps |
19:45:38
| <spion> | git urls in production too? |
19:46:12
| <spion> | oh, npm can do #tag or #commitish right? |
19:46:16
| * spion | checks |
19:46:31
| <spion> | yup |
19:46:35
| <guybrush> | spion: all you lose with gith-urls is semver |
19:47:02
| <guybrush> | but you can emulate it by doing semver-branch-names |
19:47:34
| * mikolalysenko | joined |
19:48:34
| <spion> | interesting |
19:48:50
| <guybrush> | though you may want to check in node_modules in production anyway and do `npm rebuild` |
19:50:49
| * AvianFlu | joined |
19:52:00
| * jxson | quit (Remote host closed the connection) |
19:52:26
| <rowbit> | Daily usage stats: [developer: 22, free: 794] |
19:52:26
| <rowbit> | Hourly usage stats: [developer: 3, free: 33] |
19:55:16
| * defunctzombie_zz | changed nick to defunctzombie |
19:58:59
| * AvianFlu | quit (Ping timeout: 240 seconds) |
20:03:55
| * AvianFlu | joined |
20:06:03
| * coderzac_ | joined |
20:11:55
| * ednapiranha | quit (Remote host closed the connection) |
20:14:11
| <defunctzombie> | marcello3d: want to use my irc bouncer? |
20:14:59
| <defunctzombie> | mikolalysenko: many people don't yet know about the new ways to build JS |
20:15:29
| <defunctzombie> | mikolalysenko: they think they need to include all that boilerplate to make it easy for others to use |
20:15:44
| <defunctzombie> | they don't realize they could just make "dist" files or help educate on how to use modules |
20:15:53
| <defunctzombie> | the thing with modules is that they seem harder at first |
20:15:58
| <defunctzombie> | cause inserting a script tag is so easy |
20:16:07
| <defunctzombie> | but once you understand how to use them you realize they are easier |
20:16:17
| <defunctzombie> | cause you can actually try stuff faster and keep code organized better |
20:17:25
| <marcello3d> | defunctzombie: how's that work? |
20:17:42
| * kenperkins_ | joined |
20:17:53
| <defunctzombie> | marcello3d: you connect to my irc bouncer and not the irc server |
20:17:59
| <defunctzombie> | and it detects when you disconnects |
20:18:03
| <defunctzombie> | and saves messages |
20:18:08
| <defunctzombie> | for replay when you reconnect |
20:18:11
| <marcello3d> | and spools em out...got it |
20:18:21
| <defunctzombie> | it also is the thing that makes my nick change to _zz when I disconnect |
20:18:36
| <marcello3d> | sounds useful, hook me up! |
20:18:44
| <defunctzombie> | I run one of digitalocean and make it available to anyone who wants to use it :) |
20:19:53
| * phated | quit (Remote host closed the connection) |
20:21:25
| * kenperkins | quit (Ping timeout: 248 seconds) |
20:23:33
| * pfraze_ | quit (Ping timeout: 248 seconds) |
20:25:52
| * pfraze | joined |
20:27:54
| * jxson | joined |
20:41:55
| <guybrush> | defunctzombie: is there no problem with amount of users? |
20:42:10
| <guybrush> | i mean i cant connect too much bouncers to freenode |
20:42:17
| <defunctzombie> | guybrush: not that I am aware of.. I mean I only have 3 users currently |
20:42:20
| <guybrush> | quakenet even only alows 3 or something |
20:42:27
| <guybrush> | oh ok |
20:42:28
| <defunctzombie> | oh.. like per IP ? |
20:42:32
| <guybrush> | right |
20:42:39
| <defunctzombie> | yea.. maybe one day |
20:42:41
| <guybrush> | but im not sure about the limit on freenode |
20:42:46
| <defunctzombie> | but for now it hasn't been an issue |
20:43:11
| <defunctzombie> | guybrush: limiting on IP for connections like that seems like it could go wrong tho |
20:43:16
| <defunctzombie> | cause what about office environments? |
20:43:23
| <defunctzombie> | where everyone looks like they come from one ip? |
20:43:28
| <defunctzombie> | maybe that doesn't happen anymore |
20:44:19
| <guybrush> | hm you are right, im not sure haha - only know that on quakenet i cant do more than three connections with my bouncer |
20:45:10
| <guybrush> | but maybe i did something wrong or something, didnt really investigate further since i dont provide bouncers for others anyway :p |
20:52:26
| <rowbit> | Hourly usage stats: [developer: 2, free: 42] |
21:01:13
| <rowbit> | substack, pkrumins: These encoders are STILL down: 50.57.72.69(free7) |
21:04:15
| <mikolalysenko> | question about npm's implementation of semantic versioning: if I publish a module as 1.1.0 and a module uses version "~1.0.9", will it automatically get the latest version? |
21:04:32
| <mikolalysenko> | theoretically, that should be ok right? |
21:05:47
| <guybrush> | mikolalysenko: no |
21:05:59
| <guybrush> | ~1.0.9 will give you 1.0.x |
21:06:05
| <mikolalysenko> | bah |
21:06:06
| <mikolalysenko> | ok |
21:06:06
| <guybrush> | where x is the highest |
21:06:29
| <mikolalysenko> | can you roll back a module once you published it then? |
21:06:47
| <mikolalysenko> | like roll from 1.1.0 back to 1.0.10 to avoid all the pain and agony of upgrading everything |
21:07:09
| <guybrush> | i think you can unpublish versions and stuff but im not sure, never did something like that |
21:07:17
| <mikolalysenko> | and what is the correct way to get npm to match the "highest sematnically consistent version"? |
21:07:47
| * jcrugzz | quit (Ping timeout: 260 seconds) |
21:07:56
| <ogd> | the recommended way to do it is to only automatically install newer patch versions |
21:08:01
| <ogd> | minors and majors are considered manual upgrades |
21:08:29
| * tilgovi | joined |
21:08:31
| <mikolalysenko> | ... |
21:08:38
| <mikolalysenko> | then why have a minor version at all? |
21:09:11
| <guybrush> | thats a philosopical question i guess :p |
21:09:16
| <guybrush> | +h |
21:09:24
| <ogd> | it all varies depending on whether or not the author of the module you are using actually follows semver |
21:09:29
| <ogd> | i thnk most authors dont |
21:10:07
| <mikolalysenko> | ok, but take ndarray for example |
21:10:16
| <mikolalysenko> | I want to add some non-breaking backwards compatible stuff to it |
21:10:22
| <mikolalysenko> | I should increment a minor version |
21:10:34
| <ogd> | yep |
21:10:34
| <mikolalysenko> | but if I do that it is gonna wreak havok on everything |
21:10:41
| <ogd> | why? |
21:10:51
| <mikolalysenko> | because you are gonna have modules spitting out ndarray objects that ought to be compatible |
21:10:57
| <mikolalysenko> | basically module ndfoo produces an ndarray |
21:11:01
| <mikolalysenko> | module ndbar consumes it |
21:11:08
| <mikolalysenko> | but ndfoo is only on "~1.0.9" |
21:11:15
| <guybrush> | ndfoo should than upgrade minor too |
21:11:15
| <mikolalysenko> | and ndbar wants "~1.1.0" |
21:11:28
| <guybrush> | when it consumes newer ndarray |
21:11:30
| <mikolalysenko> | but there are like a million ndfoos, and the minor version doesn't break any of them |
21:11:51
| <mikolalysenko> | and ndfoo doesn't touch any of the stuff that was added (it was non-breaking after all) |
21:11:54
| <ogd> | why would the typed array be incompatible between 1.0.9 and 1.1.0 |
21:11:56
| <guybrush> | hm i see what you mean but i guess thats how it is and it only can get worse :p |
21:12:01
| <mikolalysenko> | it isn't a typed array |
21:12:11
| <mikolalysenko> | basically I want to add a method to get the index of an array element |
21:12:18
| <guybrush> | woah! |
21:12:21
| <guybrush> | that is cool feature |
21:12:26
| <mikolalysenko> | yeah, makes sense |
21:12:42
| <mikolalysenko> | none of the current code uses it, and adding it harms nothing |
21:12:55
| <mikolalysenko> | but if you have a module that uses this new feature it won't be compatible with older code |
21:13:08
| <mikolalysenko> | so semantically I got a minor version increase, right? |
21:13:18
| <mikolalysenko> | but the problem is if I do that it doesn't really do what you want |
21:13:25
| <ogd> | why not pass around the typed array then and let modules wrap it in their own ndarray |
21:13:38
| <mikolalysenko> | sometimes a module creates its own ndarray |
21:13:52
| <mikolalysenko> | like get-pixels for example |
21:14:05
| <mikolalysenko> | because an ndarray has more semantic information than just a typedarray |
21:14:12
| <mikolalysenko> | it is a typedarray + shape + offset + stride |
21:14:22
| <ogd> | if two modules pass each other an ndarray but the module receiving it expects certain methods to exist shouldnt the burden be on it to ensure that? |
21:14:39
| <guybrush> | it slows things down |
21:14:46
| <guybrush> | if you have to check everytime |
21:14:58
| <mikolalysenko> | also why even create a data structure in the first place then? |
21:15:08
| <mikolalysenko> | and the additions are non-breaking, fully backwards compatible |
21:15:23
| <mikolalysenko> | anyway, I have to go soon |
21:15:28
| <mikolalysenko> | but I think I will just increment patch |
21:15:28
| <ogd> | so for this use case, which seems valid, you can always do ~1.x |
21:15:35
| <guybrush> | but i think it ultimately is on the developer to put the right modules together |
21:16:59
| <guybrush> | ~1.x is kind of useless imho :DD |
21:16:59
| * chillbot | quit (Ping timeout: 240 seconds) |
21:17:02
| <guybrush> | it will break for sure |
21:17:38
| * indexzero | joined |
21:17:52
| <ogd> | depends on the author |
21:17:56
| <guybrush> | i think like ogd said, passing typedarrays arround is the best thing |
21:19:10
| * phated | joined |
21:19:23
| <guybrush> | and just make sure in the application-level that everywhere is the same shape+off+stride |
21:25:40
| * defunctzombie | changed nick to defunctzombie_zz |
21:31:23
| * mikolalysenko | quit (Ping timeout: 245 seconds) |
21:33:00
| * ednapiranha | joined |
21:41:29
| * ralphtheninja | quit (Ping timeout: 240 seconds) |
21:50:45
| * phated | quit (Remote host closed the connection) |
21:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 27] |
21:58:27
| * marcello3d | quit (Quit: adios, space cowboy) |
21:59:31
| * Maciek416 | quit (Remote host closed the connection) |
22:00:00
| * Maciek416 | joined |
22:00:26
| * defunctzombie_zz | changed nick to defunctzombie |
22:01:03
| * marcello3d_zzZ | joined |
22:01:04
| * marcello3d_zzZ | changed nick to marcello3d |
22:01:37
| <marcello3d> | hallo |
22:02:42
| <marcello3d> | I guess I should try signing off/on |
22:04:46
| * eugeneware | joined |
22:06:00
| * marcello3d | changed nick to marcello3d_zzZ |
22:06:06
| * coderzac_ | quit (Remote host closed the connection) |
22:06:51
| * marcello3d_zzZ | changed nick to marcello3d |
22:08:04
| <defunctzombie> | marcello3d: \o/ |
22:08:05
| * marcello3d | changed nick to marcello3d_zzZ |
22:08:30
| * marcello3d_zzZ | changed nick to marcello3d |
22:09:07
| <marcello3d> | woot, thanks defunctzombie :D |
22:09:38
| * marcello3d | 's cool points++ |
22:16:22
| * jcrugzz | joined |
22:17:26
| * ralphtheninja | joined |
22:25:29
| * chillbot | joined |
22:28:16
| * mikolalysenko | joined |
22:30:51
| * tilgovi | quit (Remote host closed the connection) |
22:32:59
| * mikolalysenko | quit (Ping timeout: 240 seconds) |
22:37:26
| * eugeneware | quit (Ping timeout: 264 seconds) |
22:38:17
| * maksimlin | joined |
22:44:09
| * ralphtheninja | quit (Ping timeout: 251 seconds) |
22:52:26
| <rowbit> | Hourly usage stats: [developer: 0, free: 21] |
22:52:39
| * mikolalysenko | joined |
22:52:44
| * kevino80 | quit |
22:53:19
| * peutetre | quit (Quit: peutetre) |
22:55:58
| * indexzero | quit (Quit: indexzero) |
22:56:34
| * tilgovi | joined |
22:58:01
| * mikolalysenko | quit (Ping timeout: 272 seconds) |
23:02:23
| <defunctzombie> | npm acting up again? |
23:03:13
| <substack> | seems so |
23:03:21
| <defunctzombie> | sadness |
23:08:55
| <defunctzombie> | npm...y you so ghetto |
23:09:41
| <AvianFlu> | defunctzombie: npmjs.eu is actually quite fast from NY |
23:09:50
| <AvianFlu> | ...and I fixed it this morning so it should be working right now XD |
23:09:54
| <defunctzombie> | haha |
23:16:35
| * funkytek | joined |
23:17:05
| * coderzac_ | joined |
23:17:11
| <guybrush> | is there some option in npm to define a secondary registry? |
23:17:26
| <guybrush> | like put 2 registries in .npmrc |
23:17:40
| <robertkowalski> | guybrush: no, but there is a ticket for it |
23:18:13
| <robertkowalski> | guybrush: do you know https://github.com/deoxxa/npmrc ? |
23:18:32
| * tilgovi | quit (Remote host closed the connection) |
23:18:34
| <AvianFlu> | guybrush: I usually just add --registry when there are troubles, and use one of the others |
23:18:44
| <AvianFlu> | that would be a cool feature though |
23:18:44
| <robertkowalski> | guybrush: https://github.com/npm/npm/issues/1401 |
23:18:48
| <AvianFlu> | give it a priority order |
23:18:50
| <guybrush> | robertkowalski: no i dont but that does not solve my issue |
23:19:05
| <guybrush> | AvianFlu: the thing is i want to have a fallback |
23:19:17
| <AvianFlu> | guybrush: yeah, I understand that |
23:19:21
| <AvianFlu> | that would be really cool |
23:19:38
| <AvianFlu> | registries: [main, mirror1, othermirror] and have it use those in that order |
23:19:42
| <AvianFlu> | that would be really awesome |
23:19:45
| <guybrush> | robertkowalski: thx for pointing at the issue |
23:19:58
| <guybrush> | AvianFlu: yeah that would be very awesome |
23:21:49
| * coderzac_ | quit (Ping timeout: 272 seconds) |
23:23:03
| * jcrugzz | quit (Read error: Connection reset by peer) |
23:26:50
| * defunctzombie | changed nick to defunctzombie_zz |
23:30:48
| * tilgovi | joined |
23:32:17
| * eugeneware | joined |
23:37:31
| * phated | joined |
23:37:47
| * thealphanerd | joined |
23:39:55
| * thlorenz | quit (Remote host closed the connection) |
23:40:23
| * contrahax | quit (Quit: Sleeping) |
23:47:30
| * phated_ | joined |
23:48:46
| * eugeneware | quit (Remote host closed the connection) |
23:49:57
| * phated | quit (Ping timeout: 248 seconds) |
23:50:07
| * phated_ | changed nick to phated |
23:50:17
| * mikolalysenko | joined |
23:51:04
| <mikolalysenko> | ogd, guybrush: sorry couldn't respond earlier, but the problem with passing destructured typedarrays around is that sometimes you need more than just array/shape/stride/offset |
23:51:15
| <mikolalysenko> | for example, suppose the underlying array is not a typed array, but some sparse storage |
23:51:27
| <mikolalysenko> | like a hash table or rle data |
23:52:07
| <mikolalysenko> | another problem is that passing around destructured data can get error prone |
23:52:14
| <guybrush> | i think this is the same problem with connect-middleware stuff |
23:52:19
| <mikolalysenko> | like in C where you sometimes forget to pass the length of an array to a function |
23:52:23
| <guybrush> | which is why they introduced peer-dependencies |
23:52:24
| <mikolalysenko> | it isn't quite the same issue though |
23:52:26
| <rowbit> | Hourly usage stats: [developer: 1, free: 35] |
23:53:05
| <mikolalysenko> | the underlying issue is when are two semantic versions compatible |
23:53:28
| <mikolalysenko> | the question of should you pass around objects is besides the point, though interesting and worth discussing |
23:54:02
| <mikolalysenko> | my current point re semantic versioning is this: if you aren't going to upgrade minor versions automatically, then why bother with major/minor in the first place? |
23:54:07
| <mikolalysenko> | just have a major version and a patch |
23:54:08
| <guybrush> | in my opinion it should be up to the developer who puts those modules together, he should look at what does what and install packages that work together -- semver is only usefull to some point i think |
23:54:48
| <mikolalysenko> | or better yet, kill major version altogether and just force users to create a new module whenever they break something |
23:55:02
| <mikolalysenko> | if you can upgrade it in a backwards compatible way, increment the local version |
23:55:06
| <mikolalysenko> | otherwise fork it and make something else |
23:55:21
| <guybrush> | sounds not so cool :D |
23:55:25
| <mikolalysenko> | why? |
23:55:49
| <guybrush> | it sounds like it makes the discovery-problem even worse |
23:55:54
| * kenperkins_ | quit (Quit: Computer has gone to sleep.) |
23:55:54
| <mikolalysenko> | how is it any different than the current state of affairs (other than the obvious additional strain it would place on namespaces) |
23:56:03
| <guybrush> | like there are now eventemitter{2,3,4,..} |
23:56:06
| <mikolalysenko> | you could also just do something like mymodule-1, mymodule-2, etc. |
23:56:08
| <mikolalysenko> | yeah |
23:56:14
| <mikolalysenko> | it is actually the same problem as events/streams |
23:56:18
| <mikolalysenko> | (anyway have to go again) |
23:56:26
| * hoobdeebla | joined |
23:57:19
| * eugeneware | joined |
23:59:41
| * eugeneware | quit (Remote host closed the connection) |
23:59:53
| <grncdr> | mikolalysenko: sorry I missed it |