ikopico

Activity Graph

Page 1 of 1

2018-03-03

[10:36:53] ikopico: Ping timeout: 256 seconds

2018-01-28

[08:54:56] ikopico: Ping timeout: 248 seconds
[08:57:32] ikopico: has joined #ruby

2018-01-25

[19:32:13] ikopico: *.net *.split
[19:32:28] ikopico: has joined #ruby

2018-01-24

[23:12:33] ikopico: Quit: ZNC 1.6.4+deb1 - http://znc.in
[23:26:58] ikopico: has joined #ruby

2018-01-07

[15:25:46] ikopico: has joined #ruby
[15:30:27] ikopico: Quit: ZNC 1.6.4+deb1 - http://znc.in
[15:56:05] ikopico: has joined #ruby
[16:06:35] ikopico: Quit: ZNC 1.6.4+deb1 - http://znc.in
[16:06:49] ikopico: has joined #ruby
[16:08:30] ikopico: Client Quit
[16:08:45] ikopico: has joined #ruby
[16:16:03] ikopico: Quit: ZNC 1.6.4+deb1 - http://znc.in
[16:16:21] ikopico: has joined #ruby
[16:17:01] ikopico: Client Quit
[16:17:41] ikopico: has joined #ruby
[16:20:21] ikopico: Client Quit
[16:24:16] ikopico: has joined #ruby
[16:36:07] ikopico: Quit: ZNC 1.6.4+deb1 - http://znc.in
[16:37:30] ikopico: has joined #ruby

2018-01-06

[20:22:10] ikopico: Read error: Connection reset by peer

2018-01-05

[13:49:52] ikopico: Ping timeout: 248 seconds
[13:54:20] ikopico: has joined #ruby

2017-12-31

[15:36:06] ikopico: yo, in gemspec - adding 'rake' and 'rspec' as 'add_development_dependency' - then running with 'bundle exec' tells me that I don't have 'rake' installed in this bundle, same goes with rspec. I guess this is a common misunderstanding, can anyone please advise?
[15:37:11] ikopico: yup, other than testing with rake everything works as expecetd @havenwood
[15:37:42] ikopico: Actually I'm using most of the templates that you get with 'bundle gem'
[15:39:10] ikopico: havenwood hmm did you run 'bundle' / 'bundle install' to achieve that?
[15:40:09] ikopico: yup that's the exact same setup I have
[15:41:41] ikopico: I hate when it comes to dependency management and rbenv etc
[15:46:58] ikopico: OK I'm feeling dumb now, I've removed the .bundle dir and refetched everything ¯\_(ツ)_/¯
[15:47:04] ikopico: And now it works
[15:47:36] ikopico: Thanks a lot havenwood - in the future when in doubt I'll first turn it off and on again
[16:59:45] ikopico: Ping timeout: 264 seconds
[17:00:08] ikopico: has joined #ruby

2017-12-14

[02:32:41] ikopico: *.net *.split
[02:36:18] ikopico: has joined #ruby

2017-12-13

[22:03:13] ikopico: Ping timeout: 248 seconds
[22:05:39] ikopico: has joined #ruby

2017-12-09

[05:06:27] ikopico: *.net *.split
[05:14:01] ikopico: has joined #ruby

2017-12-07

[14:48:37] ikopico: *.net *.split
[14:55:10] ikopico: has joined #ruby

2017-10-24

[17:03:51] ikopico: Hello, can anyone please share a snippet for running executable scripts on a host over SSH using net/ssh's channels?

2017-10-06

[02:12:38] ikopico: Ping timeout: 255 seconds
[02:14:52] ikopico: has joined #ruby

2017-09-27

[04:32:22] ikopico: Ping timeout: 260 seconds
[04:35:03] ikopico: has joined #ruby

2017-09-25

[21:33:17] ikopico: Ping timeout: 260 seconds
[21:37:03] ikopico: has joined #ruby

2017-09-23

[05:11:27] ikopico: Ping timeout: 248 seconds
[05:15:52] ikopico: has joined #ruby

2017-09-16

[04:21:58] ikopico: Ping timeout: 264 seconds
[04:29:11] ikopico: has joined #ruby

2017-09-06

[12:05:08] ikopico: Quit: Imma make like traffic and jam
[12:05:51] ikopico: has joined #ruby
[12:08:29] ikopico: Client Quit
[12:08:59] ikopico: has joined #ruby
[12:15:12] ikopico: Quit: Imma make like traffic and jam
[12:18:17] ikopico: has joined #ruby

2017-09-04

[18:38:24] ikopico: *.net *.split

2017-09-02

[15:13:05] ikopico: ShalokShalom exercism.io is fun, learning a new language
[15:13:23] ikopico: (if that's what you meant)
[15:19:09] ikopico: ShalokShalom https://rubymonk.com/ is also pretty nice

2017-08-15

[00:04:23] ikopico: has joined #ruby

2017-08-14

[23:51:30] ikopico: *.net *.split

2017-08-11

[02:21:04] ikopico: Ping timeout: 240 seconds
[02:24:10] ikopico: has joined #ruby
[02:31:32] ikopico: Ping timeout: 260 seconds
[02:33:41] ikopico: has joined #ruby
[11:24:56] ikopico: *.net *.split
[11:30:54] ikopico: has joined #ruby

2017-08-09

[08:47:18] ikopico: *.net *.split
[09:31:56] ikopico: has joined #ruby

2017-07-06

[05:22:25] ikopico: Ping timeout: 240 seconds

2017-06-23

[14:11:48] ikopico: Ping timeout: 240 seconds
[14:15:55] ikopico: has joined #ruby

2017-06-20

[00:17:39] ikopico: *.net *.split
[00:23:13] ikopico: has joined #ruby

2017-06-01

[13:58:23] ikopico: manveru: it's only implemented in 2.4 (Array#sum)
[14:03:07] ikopico: >> RUBY_VERSION

2017-05-30

[09:31:20] ikopico: has joined #ruby

2017-05-27

[22:57:57] ikopico: Ping timeout: 260 seconds
[23:00:41] ikopico: has joined #ruby

2017-05-26

[10:20:57] ikopico: Quit: Imma make like traffic and jam
[10:21:31] ikopico: has joined #ruby
[10:44:21] ikopico: Quit: Imma make like traffic and jam
[10:44:59] ikopico: has joined #ruby
[11:03:38] ikopico: Quit: Imma make like traffic and jam
[11:06:27] ikopico: has joined #ruby

2017-05-23

[15:51:34] ikopico: some commands for nick

2017-05-15

[10:47:13] ikopico: dyjakan: nice! My two cents: I would've extract some of the _Rails_ questions for a general webapp question, such as "What is REST?", "What is an ORM?"
[10:53:45] ikopico: dyjakan: Sure.

2017-05-13

[21:14:34] ikopico: theajnin: just post the question and if anyone's available and know how to answer they will
[21:29:48] ikopico: theajnin: https://gist.github.com/anonymous/1d1091a44c4811ecf8065403a8e24afc
[21:29:51] ikopico: Something like this?

2017-05-10

[12:26:10] ikopico: Hiya, question regarding `bundler` and `gem build`, using the `bundle gem` templates I've built a gem, now when I'm running `bundle install && bundle exec rake build` I do get an error where my gem includes itself. When I'm running `bundle install` (and it's doing so according to the gemspec) I can see that it's using the local gem (i.e. source at '.'). This blocks me from generating a `.gem` file. Did anyeone
[12:26:12] ikopico: encouter such an issue in the past?
[12:30:50] ikopico: Should I use `gem build` instead?
[12:44:32] ikopico: I guess it's done on purpose, http://bundler.io/v1.12/guides/creating_gem.html#testing-our-gem, I just don't know how to fix this problem
[13:04:11] ikopico: OK I managed to solve the problem, I was packing the gemspec, it might have been the cause?
[13:04:16] ikopico: (the .gemspec file)

2017-04-28

[10:08:05] ikopico: Hey, does anyone have a preference for storing static files while writing a gem? something similar to `priv` dir in Erlang
[10:08:42] ikopico: For example; an unsecured key or default configuration
[10:09:35] ikopico: elomatreb: I've looked it up and couldn't find it :/ also tried to take a look at other gems but didn't really see anything like that.
[10:09:51] ikopico: (In a non-RoR manner)
[10:13:01] ikopico: Ooh, `contrib`?
[10:14:10] ikopico: Doesn't look right
[10:22:07] ikopico: Thanks ineb, the default config can also be a key, like in Vagrant's case, in which you cannot have it hard coded.
[10:22:29] ikopico: Generally I agree with you. I mean comething like `contrib` but not for helper scripts.
[10:36:18] ikopico: Thanks ineb

2017-04-27

[13:30:10] ikopico: arne_ ljarvis I agree with ljarvis in this case it's better to avoid the "one liner" IMO as well
[13:34:30] ikopico: arne_: if you insist on one liner, you might be able to do something like
[13:34:33] ikopico: >> [[1,2], [2,2], [3,2]].inject([]) {|tmp, arr| tmp << [arr.first, (tmp.empty? ? arr.last : tmp.last.last)]}
[13:34:49] ikopico: Well, with a few modifications it'll work
[13:37:46] ikopico: >> [[1,2], [2,2], [3,2]].inject([]) {|tmp, arr| tmp << [arr.first, (tmp.empty? ? arr.last : arr.last + tmp.last.last)]}
[13:43:15] ikopico: Good point, nice ljarvis. Still better in this case probably to do a not-one-line solution (like you mentioned)
[14:17:30] ikopico: Doow: https://docs.ruby-lang.org/en/2.0.0/Open3.html
[14:22:25] ikopico: Doow: something like this https://pastebin.com/pSCBJMZP
[14:28:20] ikopico: Doow: NP. Probably better in some cases to use Open3#popen3, which separate between stdout and stderr.
[14:59:45] ikopico: Doow: wait_thr.value.exitstatus
[16:19:09] ikopico: blaisebool: https://jsonplaceholder.typicode.com/
[16:19:24] ikopico: i.e. curl https://jsonplaceholder.typicode.com/posts
[16:22:42] ikopico: np blaisebool

2017-04-26

[01:48:19] ikopico: Ping timeout: 260 seconds
[01:49:21] ikopico: has joined #ruby

2017-04-21

[15:27:43] ikopico: harfangk: this might work: [2,3].product([2,3], [3,5]).select {|a| Set.new(a).size == a.size} (hack-y and might have edge cases)
[15:27:59] ikopico: >> [2,3].product([2,3], [3,5]).select {|a| Set.new(a).size == a.size}
[15:28:21] ikopico: >> require 'set'; [2,3].product([2,3], [3,5]).select {|a| Set.new(a).size == a.size}
[15:29:15] ikopico: True herwin
[15:29:19] ikopico: Good point
[15:29:42] ikopico: Oh. I filter all leave/join msgs. Sorry.
[15:30:34] ikopico: apeiros: maybe it's possible to do so with weechat, somehow
[15:32:28] ikopico: Oh http://dev.weechat.org/post/2008/10/25/Smart-IRC-join-part-quit-message-filter
[15:32:41] ikopico: It's been there for 9 years

2017-04-03

[10:04:47] ikopico: Hi, can anyone refer me to a good modern Ruby VM (GC, memory model) articles/videos please?
[14:40:37] ikopico: Ping timeout: 258 seconds
[14:45:12] ikopico: has joined #ruby

2017-03-31

[12:41:41] ikopico: Hey peep-chaps, can someone suggest which is preffered, $stderr/STDERR ($stdout/STDOUT)?
[12:44:02] ikopico: Thanks kke, can you please explain why?
[12:45:58] ikopico: Awesome kke, thanks a lot.
[12:47:09] ikopico: ytti: yes, but you can say also that having STDERR as const it's unnatural
[12:47:43] ikopico: matthewd: thanks
[12:49:39] ikopico: ytti: I think that it's more of changable for testing, not for usage
[13:01:58] ikopico: Can we settle on IO.new(1)/IO.new(2)? :)

2017-03-30

[21:08:57] ikopico: Ping timeout: 240 seconds
[21:16:02] ikopico: has joined #ruby

2016-06-23

[22:35:24] ikopico: has joined #ruby
[22:40:51] ikopico: Quit: WeeChat 1.5