mozzarella

Activity Graph

Page 1 of 18 | Next »

2019-01-15

[01:50:59] mozzarella: Quit: WeeChat 2.2
[05:51:55] mozzarella: has joined #ruby
[09:37:22] mozzarella: Remote host closed the connection
[09:38:53] mozzarella: has joined #ruby

2019-01-11

[04:29:45] mozzarella: adgtl: what does @window contain?
[04:42:02] mozzarella: adgtl: why not just use a regex instead?
[04:47:12] mozzarella: adgtl: something like that: @window.split(/[#{NORMAL_DASH}#{SPECIAL_DASH}]/)
[04:51:37] mozzarella: actually I think | would work in here
[04:51:44] mozzarella: @window.split(/#{NORMAL_DASH}|#{SPECIAL_DASH}/)
[18:17:36] mozzarella: You know, I wish 3 / 2 returned a float, just like it does in python. Rounding division is almost never what I want, and I end up with .to_f all over my code.
[18:19:07] mozzarella: I shouldn't have to
[18:23:35] mozzarella: al2o3-cr: // or .div (though rdiv would be a better name)
[18:25:39] mozzarella: such as what?

2019-01-10

[06:37:04] mozzarella: Remote host closed the connection
[06:39:18] mozzarella: has joined #ruby
[18:59:26] mozzarella: Remote host closed the connection
[19:03:13] mozzarella: has joined #ruby

2019-01-09

[17:58:24] mozzarella: do you guys use/like crystal?
[18:39:38] mozzarella: mspo: you mean syntactically?
[18:39:44] mozzarella: { comma: CommaPerson.new, dollar: DollarPerson.new }[key]
[18:40:43] mozzarella: I haven't been following the conversation so I'm not sure what you're doing
[18:57:25] mozzarella: Quit: WeeChat 2.2
[23:31:46] mozzarella: has joined #ruby

2019-01-07

[02:19:09] mozzarella: why do you w ant that?
[03:45:28] mozzarella: cthulchu: string interpolation?

2019-01-05

[16:54:23] mozzarella: Quit: WeeChat 2.2
[21:14:27] mozzarella: has joined #ruby

2019-01-04

[04:19:04] mozzarella: has joined #ruby
[04:19:13] mozzarella: how do you make a deep copy of an array?
[15:15:33] mozzarella: > (1..5).to_a
[15:15:46] mozzarella: >> (1..5).to_a
[15:16:08] mozzarella: comet23: is that what you want?

2018-08-19

[02:03:43] mozzarella: clorisu: they do different things…

2018-08-16

[16:10:05] mozzarella: Remote host closed the connection
[16:11:25] mozzarella: has joined #ruby

2018-08-14

[06:08:14] mozzarella: Ping timeout: 272 seconds

2018-08-13

[04:47:13] mozzarella: Remote host closed the connection
[04:48:38] mozzarella: has joined #ruby
[17:39:36] mozzarella: Read error: Connection reset by peer

2018-08-09

[06:17:05] mozzarella: Ping timeout: 248 seconds
[09:26:04] mozzarella: Remote host closed the connection
[09:27:24] mozzarella: has joined #ruby

2018-08-08

[23:02:48] mozzarella: *.net *.split

2018-08-03

[19:39:54] mozzarella: maryo: nuke the gem folder, probably?

2018-07-30

[06:02:24] mozzarella: Quit: WeeChat 2.0.1
[06:47:06] mozzarella: has joined #ruby
[15:53:39] mozzarella: where are you getting that string from

2018-07-23

[00:29:31] mozzarella: Quit: WeeChat 2.0.1
[00:30:54] mozzarella: has joined #ruby

2018-07-21

[04:29:39] mozzarella: you have access to a locked pdf?
[12:13:08] mozzarella: Remote host closed the connection
[12:26:47] mozzarella: has joined #ruby
[15:45:39] mozzarella: Ping timeout: 260 seconds
[17:01:49] mozzarella: has joined #ruby
[17:09:16] mozzarella: Remote host closed the connection
[18:13:29] mozzarella: has joined #ruby

2018-07-20

[00:07:04] mozzarella: *.net *.split
[00:15:35] mozzarella: has joined #ruby
[18:30:03] mozzarella: Remote host closed the connection
[18:31:23] mozzarella: has joined #ruby

2018-07-19

[00:23:12] mozzarella: Quit: WeeChat 2.0.1
[00:32:41] mozzarella: has joined #ruby
[02:19:38] mozzarella: Quit: WeeChat 2.0.1
[02:21:34] mozzarella: has joined #ruby

2018-07-18

[00:46:54] mozzarella: Quit: WeeChat 2.0.1
[00:49:35] mozzarella: has joined #ruby

2018-07-17

[22:37:15] mozzarella: Quit: WeeChat 2.0.1
[23:08:53] mozzarella: has joined #ruby

2018-07-13

[07:01:27] mozzarella: Ping timeout: 244 seconds
[07:20:48] mozzarella: has joined #ruby
[22:54:41] mozzarella: Remote host closed the connection
[23:32:11] mozzarella: has joined #ruby

2018-07-09

[23:24:40] mozzarella: Ping timeout: 260 seconds

2018-07-07

[01:44:56] mozzarella: Quit: WeeChat 2.0.1
[02:21:02] mozzarella: has joined #ruby

2018-07-06

[07:41:26] mozzarella: Quit: WeeChat 2.0.1
[08:12:24] mozzarella: has joined #ruby

2018-07-05

[05:43:47] mozzarella: Quit: WeeChat 2.0.1
[06:10:29] mozzarella: has joined #ruby
[06:49:03] mozzarella: Quit: WeeChat 2.0.1
[06:58:02] mozzarella: has joined #ruby

2018-07-02

[23:38:27] mozzarella: Ping timeout: 240 seconds
[23:56:37] mozzarella: has joined #ruby

2018-07-01

[02:51:45] mozzarella: Ping timeout: 248 seconds
[05:37:12] mozzarella: has joined #ruby

2018-06-27

[03:54:29] mozzarella: Quit: WeeChat 2.0.1
[03:57:09] mozzarella: has joined #ruby

2018-06-26

[23:50:42] mozzarella: Quit: WeeChat 2.0.1
[23:53:27] mozzarella: has joined #ruby

2018-06-21

[04:04:18] mozzarella: haxx0r: it's not
[04:04:38] mozzarella: e2 means * 10^2
[16:00:45] mozzarella: Quit: WeeChat 2.0.1
[16:04:30] mozzarella: has joined #ruby

2018-06-18

[14:31:11] mozzarella: Remote host closed the connection
[14:53:47] mozzarella: has joined #ruby

2018-06-17

[03:15:08] mozzarella: probably a json/yaml/toml file

2018-06-14

[19:42:13] mozzarella: wtf am I reading
[19:47:29] mozzarella: what message?

2018-06-11

[20:37:43] mozzarella: la baguette le fromage
[20:43:06] mozzarella: I don't think it's a good idea to rely on the output of git status like that…

2018-06-06

[03:58:02] mozzarella: Quit: WeeChat 2.0.1
[04:08:19] mozzarella: has joined #ruby

2018-06-05

[16:16:30] mozzarella: has joined #ruby
[17:51:00] mozzarella: Quit: WeeChat 2.0.1
[21:25:39] mozzarella: has joined #ruby
[22:20:58] mozzarella: Quit: WeeChat 2.0.1
[22:23:05] mozzarella: has joined #ruby

2018-06-03

[13:45:37] mozzarella: I don't understand the issue
[13:45:40] mozzarella: what is this about?
[17:58:17] mozzarella: Quit: WeeChat 2.1
[18:01:08] mozzarella: has joined #ruby

2018-06-01

[14:14:49] mozzarella: has joined #ruby

2018-05-30

[15:57:02] mozzarella: Quit: WeeChat 2.0.1

2018-05-29

[02:47:19] mozzarella: *.net *.split
[02:48:03] mozzarella: has joined #ruby

2018-05-28

[21:39:11] mozzarella: it's also $0

2018-05-25

[15:48:16] mozzarella: focus brother

2018-05-19

[01:23:34] mozzarella: has joined #ruby

2018-05-18

[20:13:43] mozzarella: Quit: WeeChat 2.0.1

2018-05-16

[02:34:35] mozzarella: I've used it in the past, but I'm in no way a guru
[04:50:33] mozzarella: that's not a proper code example
[04:50:36] mozzarella: don't be lazy
[05:17:52] mozzarella: why not just put them on the same line?
[05:20:27] mozzarella: drakan: https://gist.github.com/sam113101/67fa92405f5117343541419902df5ac0
[07:01:13] mozzarella: dminuoso: misread how?

2018-05-15

[02:30:12] mozzarella: not sure I understand

2018-05-12

[02:06:19] mozzarella: garyserj: it means the branch evaluates to "gg"
[02:07:13] mozzarella: >> puts (if true then 1 else 2 end)
[02:14:39] mozzarella: constructs that would be statements in other languages are expressions in ruby
[02:15:48] mozzarella: def returns a symbol AFAIK
[02:15:55] mozzarella: the name of the function
[02:16:18] mozzarella: >> def abc1; end
[02:22:06] mozzarella: thought the behavior had changed… glad to know I'm not crazy

2018-05-09

[17:19:33] mozzarella: the kind of Easter I'm thinking of?
[17:26:05] mozzarella: what is truffleruby?
[17:29:31] mozzarella: I've got some reading to do it seems
[17:29:48] mozzarella: how old is this graal thing, have I been living under a rock?
[17:35:20] mozzarella: 185.61x slower

2018-05-07

[08:55:43] mozzarella: Ping timeout: 268 seconds
[14:11:28] mozzarella: has joined #ruby

2018-05-06

[14:37:42] mozzarella: still talking about goto?

2018-05-02

[11:27:57] mozzarella: Ping timeout: 264 seconds
[15:07:11] mozzarella: has joined #ruby

2018-04-27

[12:48:34] mozzarella: optional parentheses?

2018-04-26

[11:13:07] mozzarella: Quit: WeeChat 2.0.1
[11:17:41] mozzarella: has joined #ruby

2018-04-25

[12:25:47] mozzarella: *.net *.split
[12:27:17] mozzarella: has joined #ruby
[15:01:18] mozzarella: *.net *.split
[15:03:20] mozzarella: has joined #ruby

2018-04-20

[02:43:40] mozzarella: do you guys ever use "for … in …"?
[02:47:36] mozzarella: it's not… ?
[02:48:15] mozzarella: you don't need "do", btw
[02:48:19] mozzarella: it's optional
[02:50:45] mozzarella: elomatreb: what do you mean? got an example?
[02:51:27] mozzarella: variables defined in the for loop are available outside of it
[02:55:29] mozzarella: I didn't even know that
[02:55:42] mozzarella: (mostly because I never really use for loops in ruby)
[02:56:08] mozzarella: I think they look better, though

2018-04-19

[03:08:12] mozzarella: what's the problem?
[03:11:04] mozzarella: yeah, it doesn't do what you think it does
[03:13:00] mozzarella: while fifty50 != 'y' && fifty50 != 'n'
[03:17:15] mozzarella: just remember that && and || are boolean operators, and that they expect a true/false value on each side
[03:18:03] mozzarella: though you can pass anything you want
[03:21:18] mozzarella: strings will always be "true", so that's your problem right here
[03:29:28] mozzarella: only false and nil are "falsey", everything else is "truthy", IIRC

2018-04-17

[04:19:19] mozzarella: Quit: WeeChat 2.0.1
[04:22:31] mozzarella: has joined #ruby

2018-04-15

[06:57:47] mozzarella: you're doing complex calculation in your template files?
[06:58:53] mozzarella: is there any reason why it's not done elsewhere, such as in your controller or in a helper?
[07:02:19] mozzarella: show us the file
[07:43:46] mozzarella: kapil___: why can't you just move the code higher up?
[11:36:38] mozzarella: kapil___: use a temporary variable then?
[11:44:29] mozzarella: kapil___: https://gist.github.com/sam113101/fffbb9671da64d549204bd9627bf32dd

2018-04-13

[04:57:32] mozzarella: Ping timeout: 276 seconds
[04:58:37] mozzarella: has joined #ruby

2018-03-26

[00:23:17] mozzarella: crankharder: https://ruby-doc.org/stdlib-2.5.0/libdoc/profiler/rdoc/Profiler__.html

2018-03-15

[11:28:53] mozzarella: Ping timeout: 260 seconds

2018-03-13

[18:21:58] mozzarella: Ping timeout: 256 seconds
[18:51:37] mozzarella: has joined #ruby

2018-03-11

[02:50:20] mozzarella: wassup bruhhhh
[02:51:33] mozzarella: what does it do

2018-03-07

[23:56:43] mozzarella: they're everywhere, not just in #ruby

2018-03-06

[00:09:05] mozzarella: do you want me to grep my log files?

2018-03-05

[14:57:36] mozzarella: Ping timeout: 276 seconds

2018-03-01

[09:49:53] mozzarella: Ping timeout: 256 seconds
[09:53:55] mozzarella: has joined #ruby

2018-02-28

[17:22:29] mozzarella: Ping timeout: 276 seconds
[17:28:36] mozzarella: has joined #ruby
[18:49:05] mozzarella: Ping timeout: 240 seconds
[18:53:48] mozzarella: has joined #ruby

2018-02-24

[20:02:42] mozzarella: Mike11: I would use Array.bsearch
[20:02:57] mozzarella: (  ;____;)
[20:05:38] mozzarella: there's bsearch_index

2018-02-23

[07:53:26] mozzarella: has joined #ruby
[08:11:50] mozzarella: *.net *.split
[08:23:39] mozzarella: has joined #ruby
[22:10:23] mozzarella: why do you need noop?
[22:13:07] mozzarella: gizmore: just do nothing instead
[22:15:05] mozzarella: give us an example

2018-02-21

[10:49:10] mozzarella: Ping timeout: 240 seconds
[14:35:35] mozzarella: has joined #ruby

2018-02-08

[23:42:06] mozzarella: that's what this channel is for I think

2018-02-06

[12:22:00] mozzarella: Quit: WeeChat 1.9.1
[12:23:23] mozzarella: has joined #ruby

2018-02-05

[06:24:06] mozzarella: Quit: WeeChat 1.9.1
[06:29:01] mozzarella: has joined #ruby

2018-02-04

[18:24:24] mozzarella: Remote host closed the connection
[21:48:26] mozzarella: has joined #ruby

2018-02-01

[23:39:45] mozzarella: Ping timeout: 248 seconds
[23:43:13] mozzarella: has joined #ruby

2018-01-28

[21:32:46] mozzarella: leitz: it returns a hash
[21:39:15] mozzarella: leitz: it's a special syntax for symbols as keys of hashes
[21:39:44] mozzarella: {a: :b} == {:a => :b}

2018-01-25

[18:07:21] mozzarella: Remote host closed the connection
[18:08:40] mozzarella: has joined #ruby

2018-01-21

[06:12:17] mozzarella: what is it doing?
[06:13:28] mozzarella: what kind of files, what kind of code?
[06:13:42] mozzarella: maybe you should properly parse them
[06:33:30] mozzarella: it would help if you didn't have a few regexes that are somewhat different than the other ones

2018-01-18

[04:19:17] mozzarella: andydna_ruby: I'm pretty sure it's just a normal function

2018-01-16

[17:47:32] mozzarella: apeiros: did you solve all of the problems?

2018-01-10

[23:56:48] mozzarella: >> 'aaaaaabbbcccccddd'.gsub(/(.)\1*/) {|s| s[0] + s.size.to_s }

2018-01-08

[10:58:28] mozzarella: mitch000001: https://ruby-doc.org/core-2.5.0/doc/syntax/literals_rdoc.html#label-Strings