shwouchk

Activity Graph

Page 1 of 1

2018-06-23

[19:08:35] shwouchk: Quit: Connection closed for inactivity

2018-06-21

[04:11:17] shwouchk: has joined #ruby

2018-06-06

[03:54:29] shwouchk: Quit: Connection closed for inactivity

2018-05-21

[19:39:32] shwouchk: Quit: Connection closed for inactivity

2018-05-19

[15:33:50] shwouchk: Remote host closed the connection
[15:39:56] shwouchk: has joined #ruby

2018-05-06

[11:44:44] shwouchk: has joined #ruby

2018-04-25

[12:25:43] shwouchk: *.net *.split
[12:27:19] shwouchk: has joined #ruby
[15:01:14] shwouchk: *.net *.split
[15:03:18] shwouchk: has joined #ruby

2018-04-12

[18:03:22] shwouchk: has joined #ruby

2017-10-24

[19:57:06] shwouchk: Quit: Connection closed for inactivity

2017-10-20

[20:49:51] shwouchk: has joined #ruby

2017-10-12

[14:24:57] shwouchk: Quit: Connection closed for inactivity

2017-10-11

[18:25:34] shwouchk: has joined #ruby

2017-09-20

[11:18:31] shwouchk: Quit: Connection closed for inactivity

2017-09-14

[18:48:54] shwouchk: has joined #ruby

2017-08-16

[07:08:20] shwouchk: has joined #ruby
[10:08:03] shwouchk: Quit: Connection closed for inactivity

2017-08-14

[02:06:14] shwouchk: Quit: Connection closed for inactivity

2017-08-13

[18:26:39] shwouchk: has joined #ruby

2017-08-12

[08:00:19] shwouchk: has joined #ruby
[21:59:05] shwouchk: Quit: Connection closed for inactivity

2017-04-16

[09:32:08] shwouchk: has joined #ruby
[14:01:35] shwouchk: Quit: Connection closed for inactivity

2017-04-15

[01:21:34] shwouchk: Quit: Connection closed for inactivity
[10:52:11] shwouchk: has joined #ruby
[13:51:35] shwouchk: Quit: Connection closed for inactivity

2017-04-14

[14:27:26] shwouchk: has joined #ruby
[16:41:34] shwouchk: Quit: Connection closed for inactivity
[16:51:51] shwouchk: has joined #ruby
[19:01:35] shwouchk: Quit: Connection closed for inactivity
[23:13:58] shwouchk: has joined #ruby

2017-04-05

[14:24:45] shwouchk: has joined #ruby
[19:41:32] shwouchk: Quit: Connection closed for inactivity

2014-06-02

[11:52:29] shwouchk: in ports nor in brew. what gives?
[11:52:29] shwouchk: Suddenly, I get errors trying to run rake. one of the lines is: dlopen(/Users/kosta/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib - does the ruby-2.1.1/lib/ruby/2.1.0 make sense? if not, what could cause it? mixup in PATH? upgrading something I shouldn't have? something else? Also, I see now that I don't even have libyaml-0.2 available on my system, neither
[17:37:38] shwouchk: In a certain project directory (octopress) , runnint 'rake' gives an error about libyaml and missing psych. part of the error message is as follows: dlopen(/Users/kosta/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib -- now, it seems weird that ruby-2.1.1 would have ruby-2.1.0 subdirs - is this normal or did something bad happen with my installation? in
[17:37:39] shwouchk: addition, why is it looking for libyaml-0.2? I don't have that version (only 0.16) in either of macports or homebrew?
[17:40:00] shwouchk: jhass: ABI?
[17:41:13] shwouchk: jhass: ah, ruby changes the C core only in major-minor versions?
[17:45:22] shwouchk: Hanmac1: well, I'm using the OS I'm using, no point in calling it crap (perhaps it is, but so is windows, together taking >90% of the desktop OS marketshare), since it doesn't get us anywhere
[17:45:35] shwouchk: jhass: I see
[17:47:23] shwouchk: eam: how to check the soname, other than finding the .so files?
[17:48:04] shwouchk: eam: regardless, I have libyaml installed by ports, although I can't find it where rake claims it should be..
[17:56:15] shwouchk: ok, thanks everyone
[17:57:06] shwouchk: turns out I accidentally uninstalled a brew installed libyaml when I thought that nothing depended on it. Then when the error came, I installed the ports version which put it in another place
[17:58:05] shwouchk: I don't know why ruby didn't just recognize the other version (since the package version and soname are the same), but reinstalling the brew version instead of the ports one fixed the problem
[18:06:35] shwouchk: eam: oh, I see...
[18:07:57] shwouchk: eam: so probably if I installed ruby from homebrew, it has to work with whatever libs from homebrew, and if I built it by hand, it has to work with the same paths forever... Thats why the rake message told me to rebuild it! thanks!

2014-05-02

[13:22:19] shwouchk: There is a syntax in ruby for 'do x if y'
[13:22:41] shwouchk: is there a syntax for an else at the end?
[13:26:29] shwouchk: Burgestrand: I'm no language designer. I guess I would design it from familiarity with python.
[13:30:50] shwouchk: Burgestrand: yeah, I knew about the other synaces
[13:36:28] shwouchk: I thought it was another form of the adjective
[13:36:45] shwouchk: Burgestrand: thanks
[13:39:05] shwouchk: I ended up with ternary
[13:51:45] shwouchk: Burgestrand: :)
[13:52:26] shwouchk: Burgestrand: is there a convenient way to look up docs for methods? I see that they are embedded in the code (for a certain gem I'm looking at)
[13:52:40] shwouchk: but it seems I can't get to them from irb
[13:56:40] shwouchk: Burgestrand: I see
[13:56:54] shwouchk: Burgestrand: very unfortunate :(
[13:57:02] shwouchk: since the docs are in the code anyhow
[13:57:48] shwouchk: Burgestrand: well, sometimes people don't write any docs at all! I wouldn't expect to see the docs in that case :)
[13:58:06] shwouchk: Burgestrand: as it stands I can't even see the method signature
[13:59:10] shwouchk: Burgestrand: alright, I'm not against pry
[13:59:21] shwouchk: how do I look up the doc/signature there?
[14:00:38] shwouchk: looks well enough
[14:00:55] shwouchk: now I need to find a way to alias show-doc to '?'
[14:02:09] shwouchk: ah, you are right!
[14:02:22] shwouchk: I guess I remembered it didn't work in irb
[14:03:27] shwouchk: Burgestrand: thanks! you made my life much easier
[14:13:05] shwouchk: shaileshg: system('wget file-address') perhaps?
[14:13:51] shwouchk: shaileshg: and?
[14:22:55] shwouchk: If i have a method that accepts x,y,&block, how would call it, supplying all three?
[14:27:03] shwouchk: instantaphex: this doesn't work. Perhaps I do not understand the docs
[14:27:39] shwouchk: instantaphex: (in pry): Signature: discover!(?, ?, &block)
[14:28:08] shwouchk: does that not mean the method takes two optional parameters and a block?
[14:30:06] shwouchk: instantaphex: perhaps my block syntax is not correct then :)
[14:32:33] shwouchk: instantaphex: your call didn't work either
[14:32:52] shwouchk: instantaphex: It complains that I'm using 2 parameters instead of 0
[14:33:47] shwouchk: shaileshg: wget is a utility program on *nix systems that downloads the file at the address given to the current directory
[14:35:24] shwouchk: instantaphex: btw, is {|x| ... } equivalent to do |x| ... end
[14:49:55] shwouchk: instantaphex: in that case, your suggestion didn't work
[14:53:12] shwouchk: I figured it out
[14:53:33] shwouchk: it appears the problem was that it was expecting keyword parameters
[14:53:43] shwouchk: not positional

2014-04-18

[21:35:11] shwouchk: I'm trying to modify a piece of code without actually learning ruby rigorously... Do case statements evaluate only the first clause that matches, or all matching clauses (I'm guessing the former, but better be sure)?
[21:35:39] shwouchk: Mon_Ouie: thanks