monsieurp

Activity Graph

Page 1 of 1

2016-04-08

[07:54:03] monsieurp: has joined #ruby
[07:54:03] monsieurp: Changing host
[07:54:03] monsieurp: has joined #ruby
[07:54:20] monsieurp: has left #ruby: ()

2016-02-22

[13:10:40] monsieurp: has left #ruby: ()

2016-02-21

[23:59:28] monsieurp: has joined #ruby
[23:59:28] monsieurp: Changing host
[23:59:28] monsieurp: has joined #ruby

2015-12-29

[00:05:43] monsieurp: has left #ruby: ()

2015-12-28

[21:16:52] monsieurp: Quit: Lost terminal
[21:17:03] monsieurp: has joined #ruby
[21:17:04] monsieurp: has joined #ruby
[21:17:04] monsieurp: Changing host

2015-12-25

[12:58:44] monsieurp: Ping timeout: 276 seconds
[12:58:54] monsieurp: has joined #ruby
[12:58:54] monsieurp: Changing host
[12:58:54] monsieurp: has joined #ruby

2015-12-02

[15:39:05] monsieurp: *.net *.split
[15:41:23] monsieurp: has joined #ruby
[15:51:48] monsieurp: *.net *.split
[16:47:39] monsieurp: has joined #ruby

2015-11-22

[03:45:54] monsieurp: *.net *.split
[03:56:02] monsieurp: has joined #ruby

2015-11-19

[02:23:47] monsieurp: Ping timeout: 250 seconds
[08:35:33] monsieurp: has joined #ruby
[08:35:33] monsieurp: Changing host

2015-10-31

[05:06:29] monsieurp: Ping timeout: 244 seconds
[05:06:45] monsieurp: has joined #ruby

2015-10-27

[14:38:03] monsieurp: Ping timeout: 255 seconds
[14:49:38] monsieurp: has joined #ruby
[14:49:38] monsieurp: Changing host
[14:49:38] monsieurp: has joined #ruby

2015-10-23

[15:34:12] monsieurp: Quit: Lost terminal
[15:34:23] monsieurp: has joined #ruby

2015-10-16

[00:09:00] monsieurp: has joined #ruby

2015-10-10

[00:05:05] monsieurp: Remote host closed the connection
[00:05:12] monsieurp: has joined #ruby

2015-09-15

2015-09-10

[12:06:52] monsieurp: Quit: Lost terminal
[12:08:33] monsieurp: has joined #ruby
[12:08:50] monsieurp: Client Quit
[12:09:30] monsieurp: has joined #ruby

2015-09-07

[02:57:29] monsieurp: *.net *.split
[03:02:21] monsieurp: has joined #ruby

2015-09-05

[19:55:29] monsieurp: LostandConfused0: give pry a go
[19:55:33] monsieurp: LostandConfused0: gem install pry

2015-09-03

[00:14:58] monsieurp: Ping timeout: 255 seconds
[00:15:08] monsieurp: has joined #ruby

2015-09-01

[19:34:05] monsieurp: *.net *.split
[19:35:05] monsieurp: has joined #ruby
[19:47:57] monsieurp: *.net *.split
[19:52:39] monsieurp: has joined #ruby

2015-08-28

[22:19:38] monsieurp: coming from Perl, I would expect this code to count from 1 to 23: http://ideone.com/afrvxe
[22:19:45] monsieurp: like so: http://ideone.com/pZhIug
[22:19:49] monsieurp: did I miss something?
[22:20:38] monsieurp: I read English.rb and it clearly says: alias $INPUT_LINE_NUMBER $.
[22:21:35] monsieurp: so this variable is complete bollocks then?

2015-08-26

[07:29:28] monsieurp: has joined #ruby

2015-08-25

[22:22:47] monsieurp: Ping timeout: 252 seconds

2015-08-23

[14:40:57] monsieurp: Quit: leaving
[14:45:04] monsieurp: Client Quit
[14:45:04] monsieurp: has joined #ruby
[15:06:41] monsieurp: has joined #ruby

2015-08-14

[11:44:52] monsieurp: Quit: Lost terminal

2015-08-12

[21:50:16] monsieurp: Remote host closed the connection
[21:50:59] monsieurp: has joined #ruby

2015-08-08

[06:26:45] monsieurp: Quit: Lost terminal
[06:33:06] monsieurp: has joined #ruby

2015-08-04

[08:35:10] monsieurp: *.net *.split
[08:37:36] monsieurp: has joined #ruby

2015-08-02

[18:56:24] monsieurp: *.net *.split
[18:56:38] monsieurp: has joined #ruby
[18:56:38] monsieurp: Changing host
[18:56:38] monsieurp: has joined #ruby

2015-08-01

[21:54:47] monsieurp: godofecht: have you tried using pry?

2015-06-19

[05:02:27] monsieurp: Read error: Connection reset by peer
[07:28:50] monsieurp: has joined #ruby
[07:28:50] monsieurp: Changing host

2015-06-10

[02:22:39] monsieurp: Ping timeout: 258 seconds
[07:43:40] monsieurp: has joined #ruby
[07:43:40] monsieurp: Changing host
[23:00:43] monsieurp: Ping timeout: 255 seconds
[23:17:33] monsieurp: has joined #ruby
[23:17:33] monsieurp: Changing host

2015-06-04

[03:54:15] monsieurp: Read error: Connection reset by peer
[03:54:31] monsieurp: has joined #ruby

2015-04-13

[12:42:01] monsieurp: end of life

2015-04-10

[14:08:40] monsieurp: r3dk1ng: I second that
[14:09:13] monsieurp: never quite understood this fuss, almost religion, around Apple products
[14:10:17] monsieurp: The only Apple product I've held dear to me heart was the iPod (1st gen all the way to the 5th)
[14:10:37] monsieurp: Apple decided to stop making them in favour of the iPod touch
[14:10:45] monsieurp: which, of course, sucks
[14:11:15] monsieurp: Pharaoh2: no shit sherlock
[14:11:37] monsieurp: Pharaoh2: for the price, the opposite would be quite.. surprising
[14:12:17] monsieurp: I mean 1k in a god damn laptop, I expect it to crush the concurrence when it comes to specs
[14:12:33] monsieurp: not sure about the latter but hey
[14:12:42] monsieurp: to each his own (POV)
[14:13:34] monsieurp: Pharaoh2: let me guess, you're wearing an iWatch too right?
[14:14:00] monsieurp: stupid reasoning
[14:14:19] monsieurp: "if someone else is paying, then I'll have him pay as much as possible"
[14:16:15] monsieurp: Lenovo W510

2015-03-18

[21:57:40] monsieurp: jhass: there, a question for you: is there something like cpantesters for ruby that is NOT travis-ci?
[21:58:00] monsieurp: (let's see what you come up with this time round)

2015-03-04

[19:29:33] monsieurp: is there something like cpantesters for Ruby that isn't Travis CI? (I'm aware of it, I simply wanna know if another similar platform exists)
[19:31:33] monsieurp: jhass: another company behind it
[19:31:38] monsieurp: like Travis
[19:32:26] monsieurp: how do the chaps at cpantesters manage to pay the bills then?
[19:33:03] monsieurp: of course not
[19:33:21] monsieurp: but your point is not valid
[19:33:28] monsieurp: you pay if you wanna pay
[19:33:49] monsieurp: ..backed by a company
[19:34:10] monsieurp: ok thank you :)
[19:34:42] monsieurp: wasn't my question clear?
[19:35:25] monsieurp: [20:29:33] [ monsieurp ] is there something like cpantesters for Ruby that isn't Travis CI?
[19:35:28] monsieurp: [20:34:33] [ jhass ] monsieurp: https://github.com/travis-ci/
[19:35:33] monsieurp: not clear enough apparently
[19:36:24] monsieurp: jhass: is it relevant in this context?
[19:37:08] monsieurp: I'm sorry for making the question confusing then
[19:38:15] monsieurp: jhass: sure

2015-02-13

[18:04:05] monsieurp: [18:44:30] [ centrx ] b4rbz, Here's a quick start though for Ruby: https://www.ruby-lang.org/en/documentation/quickstart/ <- no
[18:04:22] monsieurp: irb sucks and isn't a good REPL
[18:04:31] monsieurp: b4rbz: install pry
[18:04:39] monsieurp: b4rbz: gem install pry and off you go
[18:05:32] monsieurp: I'm learning Ruby too and pry turns out to be quite useful
[18:05:55] monsieurp: someone in this channel recommended it :)
[18:07:36] monsieurp: b4rbz: you'll have to send your cookies overseas :P I live in Europe
[21:22:15] monsieurp: how the heck can I look up a module documentation from the CLI? via ri?

2015-02-11

[09:51:17] monsieurp: guys, I'm trying to figure out a way to get a list of all available modules, is there a way to accomplish such thing whilst in irb? or via a script?
[09:52:59] monsieurp: apeiros_: which is my intention ;)
[09:57:26] monsieurp: apeiros_: care to elaborate on ObjectSpace.each_object use? if I do this: ObjectSpace.each_object{|v| puts v}, it outputs the entire Universe to my terminal
[09:58:15] monsieurp: apeiros_: ah ok, yes indeed
[09:58:33] monsieurp: whilst in irb: help
[09:58:43] monsieurp: and then: ObjectSpace.each_object
[10:01:11] monsieurp: apeiros_: it's not as trivial as: import math; dir(math)
[10:03:02] monsieurp: I had to stick a couple of lines in my .irbrc to get completion and colours and all those fancy stuff
[10:03:19] monsieurp: what is pry?
[10:03:26] monsieurp: a ruby REPL?
[10:04:59] monsieurp: ah yes indeed :)
[10:16:09] monsieurp: ddv: been picking up Ruby lately and I've been looking for such document for a while
[10:16:15] monsieurp: ddv: thanks a million
[10:19:12] monsieurp: ddv: will definitely have a look :)
[14:00:52] monsieurp: apeiros_: pry = woah

2014-11-28

[15:03:32] monsieurp: I've got it on the tip of my fingers but I can't remember the correct syntax: perl -F':' -lane 'print $F[0];' /etc/passwd
[15:03:56] monsieurp: what is the equivalent in Ruby? ruby -F':' -lane 'puts .. ??' how do I access the F array?
[15:06:48] monsieurp: well it's actually the same syntax :/
[15:07:28] monsieurp: ruby -F':' -lane 'print $F[0]' /etc/passwd

2014-10-13

[19:37:49] monsieurp: epitron: (?:,|$) <- just as a reminder: (?:) is a non-capturing group right?
[19:38:03] monsieurp: I'm double checking in perldoc perlre
[19:38:25] monsieurp: perlre is even better ;)
[19:39:28] monsieurp: eam: I'm sure it does but I'm not discussing the differences :) just what (?:) is about
[19:41:09] monsieurp: epitron: well.. perl regex engine has been copied over to other languages :) so I prefer looking at perl doc first when it comes to regexes
[19:42:01] monsieurp: and THEN look for the language's spec for subtleties re eam :)
[19:53:37] monsieurp: eam: for ruby's regex engine?
[19:54:14] monsieurp: I'm not familiar enough with ruby's tools but is there something such as "rubydoc rubyre"
[19:54:19] monsieurp: there's rdoc right? that I know
[19:54:39] monsieurp: epitron: we like you too
[19:56:07] monsieurp: http://en.wikipedia.org/wiki/Oniguruma
[19:58:03] monsieurp: http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt ! :)
[19:58:20] monsieurp: epitron: I've read the wikipedia article too

2014-05-13

[21:11:35] monsieurp: upsell5: use something like ideone

2014-04-17

[00:01:44] monsieurp: DreamingRainne: do you recommend a particular toolkit for GUI programming?
[00:03:08] monsieurp: I've used pyGTK for a small project in Python and I liked it very much. I was wondering if Ruby also a GTK library.
[00:03:11] monsieurp: DreamingRainne: ok cool then ;)
[00:03:21] monsieurp: *also has a

2014-03-31

[00:25:59] monsieurp: perl is the only language i know you can write an if condition on a regexp
[00:26:08] monsieurp: like it's built in the language
[00:27:00] monsieurp: if (/my_pattern) { etc
[00:27:13] monsieurp: */my_pattern/
[00:29:46] monsieurp: which is why I believe Perl beats the shit out of any other programming for processing text since it does it so well :p but that's it. No math. No OO with Perl. No web apps. No.
[00:29:56] monsieurp: http://media.tumblr.com/tumblr_lnn48cVAjO1qdlkgg.gif
[00:30:11] monsieurp: *programming language
[00:33:05] monsieurp: shevy: there isn't, basically :)
[00:36:55] monsieurp: although I'd argue PCRE is a bit more advanced than the Ruby regex engine
[00:37:05] monsieurp: which regex engine does ruby use?
[00:37:55] monsieurp: not as advanced as PCRE I'm sure
[00:38:40] monsieurp: it's a built-in feature
[00:39:38] monsieurp: ere is also a forked Oniguruma version called "Onigmo" (Oniguruma-mod) which includes some features introduced in Perl 5.10+.
[00:39:53] monsieurp: Ruby since version 2.0 has also switched to it[4] and features have been backported from ruby to Onigmo.
[00:54:41] monsieurp: flip flop operator?
[00:57:19] monsieurp: ACTION is scratching his head over the flip-flop example
[00:57:26] monsieurp: mate u have a better example?
[00:57:37] monsieurp: cause I can't really work out what it is
[01:00:37] monsieurp: ahhhhhhhhhhhhh
[01:00:52] monsieurp: it prints out the range between two values right?

2014-02-25

[13:35:36] monsieurp: a regex can only work lol
[13:37:22] monsieurp: tobago: do you have a sample of what you're trying to filter?
[13:39:52] monsieurp: tobago: and btw, this is not a ruby question.. you should read a good book on regexes

2014-02-14

[18:36:32] monsieurp: maroloccio: hi
[18:36:38] monsieurp: maroloccio: are you a perl programmer?

2014-02-11

[10:43:36] monsieurp: maroloccio: u there?

2014-02-08

[15:02:51] monsieurp: maroloccio: are you there?
[15:03:19] monsieurp: can you help me with Ruby? I am trying to code a week-end project using the GTK library
[15:03:51] monsieurp: why is it ...?
[15:04:26] monsieurp: maroloccio: but why is it ..?
[15:10:02] monsieurp: shevy: yes, thanks for the links
[15:10:19] monsieurp: shevy: maroloccio is the right person to talk to when it comes to weekend projects
[15:10:21] monsieurp: shevy: he's my friend