mozzarella

Activity Graph

Page 1 of 18 | Next »

2019-03-12

[21:43:23] mozzarella: Ping timeout: 245 seconds
[23:55:34] mozzarella: has joined #ruby
[23:55:34] mozzarella: has joined #elixir-lang

2019-03-08

[00:02:31] mozzarella: are you going to create a regex object with said string? is it a valid ruby regex?
[00:06:36] mozzarella: bjpenn: you could do something like this: https://www.honeybadger.io/blog/data-and-end-in-ruby/
[00:07:13] mozzarella: erb template at the end of the file
[00:09:20] mozzarella: I think I prefer this way, actually
[00:17:32] mozzarella: bjpenn: can't it be its own template, then, and then embedded in the parent template?
[00:17:38] mozzarella: shouldn't be too hard

2019-03-07

[23:51:52] mozzarella: bjpenn: you do it exactly like that
[23:54:44] mozzarella: bjpenn: I think he was trying to use the bot
[23:54:54] mozzarella: heredocs in ruby use <<
[23:56:44] mozzarella: I don't think so
[23:57:48] mozzarella: it actually is legitime syntax
[23:59:39] mozzarella: yeah but that won't do what you want

2019-03-06

[05:50:00] mozzarella: mjacob: Regexp.union
[05:50:52] mozzarella: so you want a literal concatenation?
[05:59:51] mozzarella: what's your use case mjacob? just curious
[19:59:47] mozzarella: Remote host closed the connection
[20:00:17] mozzarella: has joined #elixir-lang
[20:01:19] mozzarella: has joined #ruby

2019-03-04

[06:06:56] mozzarella: Ping timeout: 272 seconds
[06:07:17] mozzarella: has joined #ruby
[20:00:47] mozzarella: define "doesn't work"

2019-02-28

[15:44:14] mozzarella: it's certainly the most readable
[15:44:50] mozzarella: I'm not sure

2019-02-26

[06:16:39] mozzarella: Ping timeout: 246 seconds
[06:19:15] mozzarella: has joined #ruby
[12:30:24] mozzarella: Ping timeout: 246 seconds
[15:53:52] mozzarella: my text editor
[19:41:19] mozzarella: describe "weird result"
[19:42:31] mozzarella: >> str = "foo'bar'baz"; str.gsub("'", "\\'")
[19:49:42] mozzarella: you need 4 slashes
[19:49:58] mozzarella: "foo'bar'baz".gsub("'", "\\\\'")
[19:52:26] mozzarella: when in doubt, always add more slashes

2019-02-25

[20:57:53] mozzarella: what do you mean outside ruby?
[23:03:42] mozzarella: Read error: Connection reset by peer
[23:04:00] mozzarella: has joined #ruby

2019-02-22

[00:46:31] mozzarella: has joined #ruby
[09:30:39] mozzarella: Remote host closed the connection

2019-02-21

[21:00:05] mozzarella: Quit: WeeChat 2.2

2019-02-19

[04:00:13] mozzarella: marz_d`ghostman: not sure I understand the question
[04:12:23] mozzarella: marz_d`ghostman: you could probably do it using xpath, or just navigating the tree using ruby and a couple of css selectors
[04:32:21] mozzarella: that's assuming the input will always be the same
[04:32:26] mozzarella: doc.css('rra').select { |x| x.css('cf')[0].inner_text == 'AVERAGE' && x.css('pdp_per_row')[0].inner_text == '6' }
[04:34:32] mozzarella: I thought he meant the content?

2019-02-18

[01:19:13] mozzarella: Read error: Connection reset by peer
[01:19:41] mozzarella: has joined #ruby
[18:46:26] mozzarella: AndroidKitKat: yes

2019-02-15

[19:56:57] mozzarella: familiar vocabulary

2019-02-14

[15:29:06] mozzarella: catdude: it's not doing anything
[15:32:42] mozzarella: what is it part of? looks like some kind of templating language
[15:33:16] mozzarella: ruby interpolation is #{}, not ${}

2019-02-12

[01:10:33] mozzarella: Quit: WeeChat 2.2
[01:11:54] mozzarella: has joined #ruby

2019-02-01

[18:37:11] mozzarella: how do I unfreeze a frozen array?

2019-01-30

[18:43:49] mozzarella: josh_newbie: yes
[18:57:33] mozzarella: josh_newbie: what do you mean by "good way"?
[18:58:25] mozzarella: you can put your closing paren on the same line as the opnening one, but I'm not sure that's considered better

2019-01-27

2019-01-26

[00:25:04] mozzarella: has joined #ruby

2019-01-25

[20:32:16] mozzarella: Quit: WeeChat 2.2

2019-01-22

[19:46:07] mozzarella: Quit: WeeChat 2.2
[21:54:38] mozzarella: has joined #ruby

2019-01-20

[19:53:43] mozzarella: Quit: WeeChat 2.2
[20:17:15] mozzarella: has joined #ruby

2019-01-17

[02:46:15] mozzarella: *.net *.split

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: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