« Back to channel list

#ruby - 01 August 2017

« Back 1 day Forward 1 day »
[00:00:29] grant: has joined #ruby
[00:02:17] jenrzzz_: has joined #ruby
[00:02:37] millerti: has joined #ruby
[00:07:13] sneakerhax: has joined #ruby
[00:11:19] Immune: has joined #ruby
[00:13:54] grant: has joined #ruby
[00:17:36] ramfjord: has joined #ruby
[00:23:51] ramfjord: has joined #ruby
[00:29:59] bronson: has joined #ruby
[00:32:07] perniciouscaffei: has joined #ruby
[00:35:00] ramfjord: has joined #ruby
[00:35:18] jenrzzz: has joined #ruby
[00:35:18] jenrzzz: has joined #ruby
[00:35:18] oshputin: has joined #ruby
[00:35:30] bronson: has joined #ruby
[00:38:09] cam27: has joined #ruby
[00:40:31] _aeris_: has joined #ruby
[00:41:29] jdawgaz: has joined #ruby
[00:41:46] ecuanaso: has joined #ruby
[00:44:08] HoierM: has joined #ruby
[00:46:30] jdawgaz: has joined #ruby
[00:47:20] jdawgaz: has joined #ruby
[00:47:35] millerti: has joined #ruby
[00:48:56] AxelAlex: has joined #ruby
[00:48:56] oshputin: has joined #ruby
[00:49:40] brent__: has joined #ruby
[00:51:00] jcao219: has joined #ruby
[00:53:30] https_GK1wmSU: has joined #ruby
[00:53:43] https__GK1wmSU: has joined #ruby
[00:54:58] https___GK1wmSU: has joined #ruby
[00:55:49] gusrub: has joined #ruby
[00:58:17] apparition: has joined #ruby
[00:58:59] jdawgaz: has joined #ruby
[00:59:01] https___GK1wmSU: has joined #ruby
[00:59:10] https_GK1wmSU: has joined #ruby
[00:59:35] https__GK1wmSU: has joined #ruby
[01:01:27] ramfjord: has joined #ruby
[01:04:49] bruno-: has joined #ruby
[01:05:55] banisterfiend: has joined #ruby
[01:06:55] carnegie: has joined #ruby
[01:07:25] ramfjord: has joined #ruby
[01:10:51] paradisaeidae: has joined #ruby
[01:10:54] paradisaeidae_: has joined #ruby
[01:12:54] charliesome: has joined #ruby
[01:13:11] ramfjord: has joined #ruby
[01:17:31] banisterfiend: has joined #ruby
[01:18:35] ramfjord: has joined #ruby
[01:22:32] segy: has joined #ruby
[01:25:14] dstrunk: has joined #ruby
[01:27:14] DoubleMalt: has joined #ruby
[01:30:07] ramfjord: has joined #ruby
[01:31:30] jinie_: has joined #ruby
[01:36:06] ramfjord: has joined #ruby
[01:39:32] https_GK1wmSU: has joined #ruby
[01:41:56] https_GK1wmSU: has left #ruby: ()
[01:41:57] ramfjord: has joined #ruby
[01:45:41] mahlon: has joined #ruby
[01:55:07] jrafanie: has joined #ruby
[01:57:19] houhoulis: has joined #ruby
[01:58:08] ramfjord: has joined #ruby
[01:58:21] jdawgaz: has joined #ruby
[02:02:16] charliesome: has joined #ruby
[02:05:55] linoespinoza: has joined #ruby
[02:08:20] linoespinoza: has joined #ruby
[02:10:25] Ryzokuken: has joined #ruby
[02:10:47] ramfjord: has joined #ruby
[02:11:46] ecuanaso: has joined #ruby
[02:12:21] gusrub: has joined #ruby
[02:13:41] herbmillerjr: has joined #ruby
[02:14:57] jenrzzz: has joined #ruby
[02:14:57] jenrzzz: has joined #ruby
[02:18:15] sagax: has joined #ruby
[02:21:46] jenrzzz: has joined #ruby
[02:21:46] jenrzzz: has joined #ruby
[02:29:07] ecuanaso: has joined #ruby
[02:29:09] ar1arelaybot: has joined #ruby
[02:37:41] bronson: has joined #ruby
[02:40:35] grant: has joined #ruby
[02:49:47] MarkBilk_: has joined #ruby
[02:52:59] houhoulis: has joined #ruby
[02:55:20] ecuanaso: has joined #ruby
[02:57:17] govg: has joined #ruby
[02:57:51] duderonomy: has joined #ruby
[02:58:01] Rodya_: has joined #ruby
[03:01:27] choke: has joined #ruby
[03:03:25] enterprisey: has joined #ruby
[03:10:13] Jameser`: has joined #ruby
[03:11:02] domgetter: has joined #ruby
[03:12:10] __Yiota: has joined #ruby
[03:12:56] jdawgaz: has joined #ruby
[03:14:09] banisterfiend: has joined #ruby
[03:14:54] gix: has joined #ruby
[03:26:38] whippythellama: has joined #ruby
[03:27:14] banisterfiend: has joined #ruby
[03:34:10] jdawgaz: has joined #ruby
[03:37:35] bronson: has joined #ruby
[03:41:27] _aeris_: has joined #ruby
[03:42:11] ledestin: has joined #ruby
[03:42:38] kies: has joined #ruby
[03:50:30] Aldo: has joined #ruby
[03:51:37] Aldo: Hey there!
[03:53:36] Aldo: I am having problems. I am learning how to consume Google Drive Api through Ruby, and then I got this problem while I try to run the sample given by google.
[03:54:21] Jameser: has joined #ruby
[03:55:03] Aldo: https://gist.github.com/anonymous/92652326f8a9fe24932d0cb0e80b521c#file-gistfile1-txt
[03:57:42] Aldo: I am using Fedora 26.
[03:57:45] claw: has joined #ruby
[04:00:39] cjohnson: did you run bundle install? just a guess
[04:03:13] segy_: has joined #ruby
[04:06:46] ramfjord: has joined #ruby
[04:08:16] segy: has joined #ruby
[04:11:35] segy_: has joined #ruby
[04:14:39] djbkd: has joined #ruby
[04:16:51] pootiscoder: has joined #ruby
[04:17:17] jcao219: has joined #ruby
[04:22:24] segy: has joined #ruby
[04:22:35] vuoto: has joined #ruby
[04:26:37] segy_: has joined #ruby
[04:29:24] segy: has joined #ruby
[04:29:45] emers2n: has joined #ruby
[04:31:22] segy-: has joined #ruby
[04:31:40] sleepee: has joined #ruby
[04:32:50] bruno-: has joined #ruby
[04:33:03] segy_: has joined #ruby
[04:36:13] b3ck: has joined #ruby
[04:37:38] herbmillerjr: has joined #ruby
[04:37:42] m27frogy: has joined #ruby
[04:38:53] treaki_: has joined #ruby
[04:44:27] mim1k: has joined #ruby
[04:47:15] nacsurte: has joined #ruby
[04:47:33] nickjj: has joined #ruby
[04:50:18] DrCode: has joined #ruby
[04:53:11] kt: has joined #ruby
[04:54:04] jenrzzz: has joined #ruby
[04:56:35] DrCode: has joined #ruby
[04:59:01] brent__: has joined #ruby
[05:00:20] biox: has joined #ruby
[05:01:20] fusta: has joined #ruby
[05:09:22] https_GK1wmSU: has joined #ruby
[05:09:34] https__GK1wmSU: has joined #ruby
[05:13:03] dstrunk: has joined #ruby
[05:14:51] https___GK1wmSU: has joined #ruby
[05:14:56] djbkd: has joined #ruby
[05:14:56] https__GK1wmSU: has joined #ruby
[05:15:09] kt: has joined #ruby
[05:16:20] SeepingN: has joined #ruby
[05:16:52] https___GK1wmSU: has left #ruby: ()
[05:16:53] https__GK1wmSU: has left #ruby: ()
[05:17:26] Bock: has joined #ruby
[05:29:39] johnny56_: has joined #ruby
[05:30:02] banisterfiend: has joined #ruby
[05:38:14] https_GK1wmSU: has joined #ruby
[05:38:44] bronson: has joined #ruby
[05:40:20] https_GK1wmSU: has joined #ruby
[05:41:19] nacsurte: has joined #ruby
[05:42:15] etehtsea: has joined #ruby
[05:42:39] https___GK1wmSU: has joined #ruby
[05:43:19] carnegie: has joined #ruby
[05:44:22] pootiscoder: has joined #ruby
[05:45:09] pootiscoder: has joined #ruby
[05:49:09] rabajaj: has joined #ruby
[05:49:45] choke: has joined #ruby
[05:50:14] ahrs: has joined #ruby
[05:52:17] cadillac_: has joined #ruby
[05:54:34] banisterfiend: has joined #ruby
[05:56:13] nofxxx: has joined #ruby
[06:00:12] TomyLobo3: has joined #ruby
[06:01:57] agent_white: has joined #ruby
[06:05:54] banisterfiend: has joined #ruby
[06:07:36] roshanavand: has joined #ruby
[06:07:43] https__GK1wmSU: has joined #ruby
[06:09:40] anisha: has joined #ruby
[06:09:54] rahul_bajaj: has joined #ruby
[06:15:14] Stickwalker: has joined #ruby
[06:20:10] Bhootrk_: has joined #ruby
[06:21:39] carnegie: has joined #ruby
[06:24:11] Bish: has joined #ruby
[06:26:47] https_GK1wmSU: has joined #ruby
[06:27:30] ltem: has joined #ruby
[06:30:20] banisterfiend: has joined #ruby
[06:30:57] dionysus69: has joined #ruby
[06:32:32] banisterfiend: has joined #ruby
[06:33:42] moeabdol: has joined #ruby
[06:33:45] https_GK1wmSU: has joined #ruby
[06:35:26] nacsurte: has joined #ruby
[06:37:22] conta: has joined #ruby
[06:42:14] Jameser: has joined #ruby
[06:43:55] banisterfiend: has joined #ruby
[06:54:39] banisterfiend: has joined #ruby
[06:56:39] howdoi: has joined #ruby
[06:57:49] djbkd: has joined #ruby
[06:59:31] Awsy: has joined #ruby
[06:59:43] carnegie: has joined #ruby
[07:03:08] kculpis: has joined #ruby
[07:04:01] Bish: has joined #ruby
[07:07:36] banisterfiend: has joined #ruby
[07:12:44] lxsameer: has joined #ruby
[07:17:14] rabajaj: has joined #ruby
[07:19:15] banisterfiend: has joined #ruby
[07:19:19] andikr: has joined #ruby
[07:20:10] mniip_: has joined #ruby
[07:20:32] TomyWork: has joined #ruby
[07:23:03] etehtsea: has joined #ruby
[07:23:34] ShekharReddy: has joined #ruby
[07:27:56] Jameser: has joined #ruby
[07:29:34] nacsurte: has joined #ruby
[07:30:20] rabajaj: has joined #ruby
[07:30:33] banisterfiend: has joined #ruby
[07:33:19] mark_66: has joined #ruby
[07:37:07] Cnapier: has joined #ruby
[07:39:36] jenrzzz: has joined #ruby
[07:39:36] jenrzzz: has joined #ruby
[07:39:47] bronson: has joined #ruby
[07:39:58] rabajaj: has joined #ruby
[07:43:09] tAn: has joined #ruby
[07:43:28] djbkd: has joined #ruby
[07:44:33] djbkd: has joined #ruby
[07:46:39] Mgtuiw211: has joined #ruby
[07:48:44] Silthias: has joined #ruby
[07:49:54] mikecmpbll: has joined #ruby
[07:50:51] alex``: has joined #ruby
[07:53:19] tAn: has joined #ruby
[07:54:03] Silthias1: has joined #ruby
[07:54:31] banisterfiend: has joined #ruby
[07:58:20] algun: has joined #ruby
[08:00:16] algun: Hi. I haven’t done Ruby in a while, can someone remind me what the mechanism for lazy evaluation is? I seem to remember, say, a lazy collection being populated not on consumption (ie reading) but as early as assignment. How’s that possible, or does my memory fail me?
[08:00:55] dminuoso: algun: You just call Enumerator#lazy
[08:02:41] dminuoso: Enabling you to do fancy stuff like this
[08:02:41] algun: dminuoso: so my memory fails me?
[08:02:42] Jameser: has joined #ruby
[08:03:13] dminuoso: algun: "a lazy collection being populated not on consumption (ie reading) but as early as assignment" that sounds like the opposite by the way.
[08:03:39] algun: yeah, maybe
[08:03:44] dminuoso: >> (1..Float::INFINITY).lazy.collect { |x| x*2 }.first(5)
[08:03:45] ruby[bot]: dminuoso: # => [2, 4, 6, 8, 10] (https://eval.in/840056)
[08:03:50] dminuoso: algun: Without lazy this would not be possible.
[08:05:18] renchan: has joined #ruby
[08:05:26] rikai: has joined #ruby
[08:05:37] dminuoso: algun: Another to make a point to what you said:
[08:05:42] algun: here’s where I’m coming from myCollection > map > filter. It would benefit me to be able to apply clever optimisations of my own such as cleverly filtering first, and mapping later. But if I postpone both until consumption (rather than assignment), then I may keep stuff in memory I don’t need (filter says I only need some of the stuff).
[08:05:59] algun: dminuoso: ^
[08:06:58] dminuoso: algun: lazy is your best friend then.
[08:07:54] algun: do you even try to grok what i’m saying?
[08:08:00] algun: or are you just memeing?
[08:08:08] algun: no offense but really
[08:09:37] mim1k: has joined #ruby
[08:10:07] dminuoso: algun: If you do a enumerable.lazy.filter(&filterPredicate).map(&func) there are no intermediate arrays generated in the first place, there are no multiple enumerations. It will not keep "stuff in memory you don't need"
[08:10:28] algun: algun: it will keep the original enumerable in memory
[08:11:02] algun: the original may contain elements whose side is greater than that to which they are mapped, and their count may be larger than the count to which they are mapped
[08:11:45] leandrobighetti: has joined #ruby
[08:11:52] algun: That’s what i’m saying. I’d like to build a collection which does some composition heuristics, but gets forced (ie stops being lazy) on assignment.
[08:12:14] algun: I seem to remember ruby being able to do this, but I may be wrong
[08:12:37] dminuoso: algun: Are you asking whether you can explicitly force a lazy enumerator to apply its chain?
[08:12:59] umaaji: has joined #ruby
[08:13:12] algun: I know I can do that, but I would like forcing to be implicit - on assignment
[08:13:29] dminuoso: algun: Then don't use lazy.
[08:13:35] dminuoso: Or, use lazy + force
[08:13:46] dminuoso: Actually if you want the benefits of combing enumerations
[08:14:12] dminuoso: i.e. stuff = collection.lazy.filter(&predicate).map(&func).force
[08:14:19] algun: yeah, it has occurred to me
[08:14:49] dminuoso: algun: The original array will still be there though, and you can't really work around that.
[08:15:20] dminuoso: apeiros: By the way! It happened.
[08:15:23] algun: well if it’s forced, the original may be garbage collected
[08:15:47] dminuoso: algun: Oh I think I understand what you were getting at.
[08:16:20] dminuoso: algun: You were worried that the lazy enumerator would hold a reference to the original array and keep it in place?
[08:16:23] Rodya_: has joined #ruby
[08:16:31] dminuoso: And thus blow up memory consumption
[08:16:49] algun: until consumed/forced
[08:16:58] algun: *explicitly
[08:17:14] spyder55: has joined #ruby
[08:17:15] bigkevmcd: has joined #ruby
[08:17:23] dminuoso: Actually not until consumed
[08:17:35] dminuoso: But until the lazy enuemrator itself is garbage collected.
[08:18:27] antgel: has joined #ruby
[08:18:55] algun: wow, ruby, wth haha
[08:19:03] dminuoso: Consumption is a bad word in this place, lazy just defers and combines execution.
[08:19:06] banisterfiend: has joined #ruby
[08:23:39] nacsurte: has joined #ruby
[08:25:53] dminuoso: algun: lazy is kind of a high-end `compose`, functionally its similar to ARel (what ActiveRecord uses behind the scenes)
[08:26:57] xall: has joined #ruby
[08:27:23] Mgtuiw211: has joined #ruby
[08:28:08] pwnd_nsfw: has joined #ruby
[08:28:09] algun: maybe it can remove stuff from the method chain like AR can, and that’s why it keeps a reference to the original at all times?
[08:28:25] algun: (eg. you remove filter, suddenly you need the whole original array again)
[08:32:28] Beams: has joined #ruby
[08:34:44] workmad3: has joined #ruby
[08:35:58] banisterfiend: has joined #ruby
[08:37:08] algun: dminuoso: ^ something like unscope?
[08:37:29] charliesome: has joined #ruby
[08:37:52] dminuoso: algun: It keeps a reference to the original at all times, because you can at any time execute (or append and execute later) it. Multiple times.
[08:38:39] dminuoso: algun: If you want it disconnected, actually use an array of procs.
[08:39:46] jaruga: has joined #ruby
[08:40:44] Ropeney: has joined #ruby
[08:40:57] Mgtuiw211: has joined #ruby
[08:41:42] umaaji: has joined #ruby
[08:42:29] mostlybadfly: has joined #ruby
[08:42:40] algun: dminuoso: but if you can only add to the end, then you don’t need the original
[08:42:56] dminuoso: algun: Yes you do, because lazy combines!
[08:43:15] banisterfiend: has joined #ruby
[08:44:37] algun: can you give an example where this would come into play?
[08:44:44] algun: dminuoso: ^
[08:45:21] djbkd: has joined #ruby
[08:46:10] dminuoso: algun: https://gist.github.com/dminuoso/d3fd39ec91405766e0dd980c81fb42b5
[08:46:59] dminuoso: algun: You have to step back and realize that a.b.c actually creates intermediate objects. When you call #lazy you get a lazy enumerator back. When you invoke #select on that, you get another lazy enumerator back.
[08:47:06] dminuoso: And you keep getting lazy enumerator objects back
[08:47:11] algun: dminuoso: I didn’t mean you clean up c. I meant you clean up original collection
[08:47:14] dminuoso: .force is just a "execute what you have right now"
[08:47:48] dminuoso: algun: Yeah, but since any of these enumerators a, b, c and e exist, the original collection can't disappear.
[08:48:30] algun: yeah, but none other than c is used in line 17, so you can garbage collect c, b, a, and colleciton
[08:48:46] dminuoso: algun: No you cant...
[08:48:47] algun: *b a and collection, not c
[08:49:14] algun: remember, c is forced in line 13
[08:49:30] dminuoso: algun: For the sake of sanity, let's rename them okay?
[08:50:01] dminuoso: Yes, because the issue you are experiencing is just bad english by japanese folks.
[08:50:06] dminuoso: "force" does not "consume"
[08:50:09] dminuoso: "force" means "execute"
[08:50:20] dminuoso: it means "execute what you have right now",
[08:50:31] dminuoso: It does not invalidate the lazy enumerator
[08:50:38] dminuoso: in fact you can call .force on the lazy enumerator many times.
[08:52:04] algun: i don’t know what you mean by consume
[08:52:10] algun: but i assume i don’t mean what you think it means
[08:53:21] algun: dminuoso: force executes the enumerator, creating intermediate results from the original collection. with intermediate results, providing you can only append *further* operations, you can forget the original
[08:54:10] dminuoso: algun: Let me rephrase. As long as any lazy enumerator is in scope, the original collection's lifetime is extended.
[08:54:19] dminuoso: Whether or not it's forced is completely irrelevant.
[08:54:32] algun: well that’s wasteful
[08:54:54] algun: you don’t need the original anymore
[08:55:32] dminuoso: algun: Please share some code about what your intention is, so we're on the same page.
[08:59:00] moeabdol1: has joined #ruby
[08:59:27] brent__: has joined #ruby
[09:00:20] jdawgaz: has joined #ruby
[09:00:57] ar1arelaybot1: has joined #ruby
[09:01:12] noe: has joined #ruby
[09:03:36] romankapitonov: has joined #ruby
[09:07:48] banisterfiend: has joined #ruby
[09:08:10] ur5us: has joined #ruby
[09:08:42] xall_: has joined #ruby
[09:10:04] apeiros: dminuoso: it?
[09:10:31] dminuoso: apeiros: Yes, I hopped onto the Elixir train!
[09:10:39] dminuoso: Like, for real this time.
[09:10:49] apeiros: have fun, I guess? :)
[09:11:08] dminuoso: apeiros: My only problem is, it's leaking all over my Ruby code now.
[09:11:17] dminuoso: Creating lambdas left and right. :S
[09:11:31] apeiros: why's that a problem?
[09:12:05] dminuoso: apeiros: I fear getting features on thedailywtf for trying to haskell in Ruby some day.
[09:16:43] apeiros: all PR is good PR? 😂
[09:17:29] kt: has joined #ruby
[09:17:47] nacsurte: has joined #ruby
[09:17:48] Bish: has joined #ruby
[09:17:49] Rodya_: has joined #ruby
[09:27:37] Stickwalker: has joined #ruby
[09:27:53] phinxy: has joined #ruby
[09:32:26] Jameser: has joined #ruby
[09:37:40] GodFather: has joined #ruby
[09:38:10] rahul_bajaj: has joined #ruby
[09:40:34] GodFather_: has joined #ruby
[09:40:43] bronson: has joined #ruby
[09:42:04] Serpent7776: has joined #ruby
[09:59:51] cabotto: has joined #ruby
[10:04:43] pootiscoder: has joined #ruby
[10:06:33] charliesome: has joined #ruby
[10:06:36] Ishido: has joined #ruby
[10:11:47] nacsurte: has joined #ruby
[10:18:41] Rodya_: has joined #ruby
[10:21:15] Jameser: has joined #ruby
[10:22:39] tvw: has joined #ruby
[10:27:14] marr: has joined #ruby
[10:32:25] banisterfiend: has joined #ruby
[10:34:04] tvw: has joined #ruby
[10:42:05] ur5us: has joined #ruby
[10:43:05] domgetter: has joined #ruby
[10:43:49] banisterfiend: has joined #ruby
[10:50:10] someuser: has joined #ruby
[10:51:35] Jameser: has joined #ruby
[10:52:41] scottschecter: has joined #ruby
[10:57:59] dangerousdave: has joined #ruby
[10:58:09] cabotto_: has joined #ruby
[11:05:54] nacsurte: has joined #ruby
[11:07:02] rahul_bajaj: has joined #ruby
[11:08:44] banisterfiend: has joined #ruby
[11:10:06] ghoti_: has joined #ruby
[11:10:56] rgtk: has joined #ruby
[11:17:50] hightower2: has joined #ruby
[11:20:14] nadir: has joined #ruby
[11:20:33] Rodya_: has joined #ruby
[11:22:52] contradictioned: has joined #ruby
[11:26:45] quobo: has joined #ruby
[11:30:46] tacoboy: has joined #ruby
[11:31:26] banisterfiend: has joined #ruby
[11:33:51] HoierM: has joined #ruby
[11:34:16] apparition47: has joined #ruby
[11:41:47] bronson: has joined #ruby
[11:41:52] rikkipitt: has joined #ruby
[11:42:09] conta: has joined #ruby
[11:43:35] banisterfiend: has joined #ruby
[11:46:00] Bhootrk_: has joined #ruby
[11:46:05] jrafanie: has joined #ruby
[11:48:23] gloscombe: has joined #ruby
[11:48:37] xall_: has joined #ruby
[11:56:50] jenrzzz: has joined #ruby
[11:56:50] jenrzzz: has joined #ruby
[11:58:06] ldnunes: has joined #ruby
[11:59:29] brent__: has joined #ruby
[11:59:59] nacsurte: has joined #ruby
[12:00:48] TvL: has joined #ruby
[12:03:21] ocn: has joined #ruby
[12:03:49] ocn: has left #ruby: ()
[12:13:16] synthroid: has joined #ruby
[12:13:49] ecuanaso: has joined #ruby
[12:20:22] olivierjanss: has joined #ruby
[12:21:22] Rodya_: has joined #ruby
[12:24:08] MarkBilk: has joined #ruby
[12:28:33] banisterfiend: has joined #ruby
[12:35:34] jinie_: has joined #ruby
[12:39:15] Emmanuel_Chanel: has joined #ruby
[12:39:21] banisterfiend: has joined #ruby
[12:39:53] anisha: has joined #ruby
[12:40:35] charliesome: has joined #ruby
[12:49:06] anisha: has joined #ruby
[12:49:28] Jameser: has joined #ruby
[12:51:50] banisterfiend: has joined #ruby
[12:52:22] cabotto: has joined #ruby
[12:54:07] nacsurte: has joined #ruby
[12:55:11] bane_: has joined #ruby
[12:57:16] banisterfiend: has joined #ruby
[12:57:54] __Yiota: has joined #ruby
[12:59:24] ecuanaso: has joined #ruby
[13:00:38] tirej: has joined #ruby
[13:02:38] tirej: has joined #ruby
[13:04:25] bmurt: has joined #ruby
[13:11:44] jaruga: has joined #ruby
[13:20:03] banisterfiend: has joined #ruby
[13:21:03] carnegie: has joined #ruby
[13:23:37] arvindsaik: has joined #ruby
[13:24:02] sepp2k: has joined #ruby
[13:28:56] jphase: has joined #ruby
[13:29:29] rgtk: has joined #ruby
[13:36:31] spiette: has joined #ruby
[13:37:39] ltem: has joined #ruby
[13:37:40] DLSteve: has joined #ruby
[13:38:10] code_zombie: has joined #ruby
[13:39:00] konsolebox: can gem be built with different parameters during 'gem install'?
[13:39:10] konsolebox: i mean, can a gem be configured to do so?
[13:39:39] adam12: konsolebox: Sure.
[13:40:12] konsolebox: adam12: how is a parameter passed?
[13:40:23] adam12: konsolebox: Finish the gem install command with --, and anything after is passed along as build flags.
[13:40:38] konsolebox: adam12: and how does the gem query that?
[13:41:27] adam12: konsolebox: It's a getopts thing, IIRC. The -- signifies end of options for current binary, with the remainder being provided to the next (if applicable)
[13:42:39] konsolebox: which part of the gem should i configure to do that? *.gemspec?
[13:42:44] bronson: has joined #ruby
[13:42:49] adam12: konsolebox: Let's step back a bit. What exactly are you trying to do?
[13:43:12] Tagami[m]: has joined #ruby
[13:43:16] konsolebox: creating a gem that can be configured to build differently based on an argument to `gem install`
[13:43:49] adam12: konsolebox: What is `build differently`?
[13:44:00] konsolebox: because one could build from a common static source file, but it can also link to an existing library. the library has the advantage of being optimized depending on the platform.
[13:44:05] Jameser: has joined #ruby
[13:44:07] oleo: has joined #ruby
[13:45:03] adam12: konsolebox: so your using the `extensions` part of the spec?
[13:45:05] konsolebox: i could create two versions of the gem, but i thought it might be better if can have just one
[13:45:15] konsolebox: i'm building the ext
[13:45:15] banisterfiend: has joined #ruby
[13:45:58] Xiti`: has joined #ruby
[13:46:24] adam12: I have no experience in this area, but maybe you can access the extra args through the `@build_args` instance method inside Gem::Ext::Builder
[13:46:30] adam12: do you have an ext file that your building?
[13:47:49] nacsurte: has joined #ruby
[13:48:18] adam12: konsolebox: maybe something through mkmf? This is about the length of my knowledge in this area.
[13:48:32] konsolebox: yes i study the mkmf
[13:48:41] konsolebox: i haven't seen anything helpful
[13:49:08] konsolebox: i have extconf.rb sure
[13:50:26] gizmore: has joined #ruby
[13:51:06] konsolebox: i could try echoing some ARGV later. maybe i'll see something.
[13:52:17] adam12: konsolebox: I'd wonder what context your extconf.rb is running in
[13:52:46] adam12: konsolebox: I'm assuming it's running in context of Gem::Ext::ExtConfBuilder - which makes me think you have access to the build_args instance method. But I'm not 100% sure tbh.
[13:53:43] adam12: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/ext/ext_conf_builder.rb
[13:53:49] adam12: I guess it just shells out and passes argv.
[13:56:34] Jameser`: has joined #ruby
[13:56:51] anas: has joined #ruby
[13:56:51] banisterfiend: has joined #ruby
[13:58:56] banisterfiend: has joined #ruby
[14:00:11] cabotto: has joined #ruby
[14:00:25] aviraldg: has joined #ruby
[14:00:25] aidalgol: has joined #ruby
[14:00:25] M107262[m]: has joined #ruby
[14:00:25] torarne: has joined #ruby
[14:00:26] yana[m]: has joined #ruby
[14:00:26] Giphy[m]: has joined #ruby
[14:00:26] KevinMGranger: has joined #ruby
[14:00:26] turt2live: has joined #ruby
[14:00:26] jonjits[m]: has joined #ruby
[14:00:26] lasenna[m]: has joined #ruby
[14:00:26] heftig: has joined #ruby
[14:00:26] gokul_mr[m]: has joined #ruby
[14:00:26] voltai[m]: has joined #ruby
[14:00:27] dman[m]: has joined #ruby
[14:00:32] aagdbl[m]: has joined #ruby
[14:00:32] testnick[m]: has joined #ruby
[14:00:33] velu_aon[m]: has joined #ruby
[14:00:33] Matt[m]1: has joined #ruby
[14:02:10] govg: has joined #ruby
[14:05:40] rgtk: has joined #ruby
[14:05:59] jdawgaz: has joined #ruby
[14:11:55] __Yiota: has joined #ruby
[14:15:26] theunraveler: has joined #ruby
[14:15:49] runescape07rsps: has joined #ruby
[14:17:11] naprimer: has joined #ruby
[14:20:57] bauruine: has joined #ruby
[14:22:24] jdawgaz: has joined #ruby
[14:22:46] dviola: has joined #ruby
[14:30:54] futilegames: has joined #ruby
[14:32:09] dminuoso: apeiros: File.open("out.csv", "w+", &-> (f) { f.write(b.map(&-> (e) { e.join(";") }).join("\n")) })
[14:32:15] dminuoso: functionalizing all the things!
[14:32:21] dminuoso: Variables are for kids.
[14:32:28] apeiros: you monster!
[14:33:04] dminuoso: One day you will tell stories to your kids about me when they misbehave.
[14:33:18] jrafanie: has joined #ruby
[14:33:40] dminuoso: apeiros: Also note my trend of lambdas everywhere!
[14:33:42] chouhoulis: has joined #ruby
[14:33:59] bane_: has joined #ruby
[14:34:02] dminuoso: Because this `return` behavior in procs is just... whaaat?
[14:34:56] apeiros: think of procs in terms of blocks, and lambdas in terms of functions
[14:35:17] apeiros: in terms of a block, the return behavior makes perfect sense
[14:36:15] apeiros: module Enumerable; def first; each do |value| return value end; end
[14:36:27] apeiros: if it'd behave like in a lambda there, it'd be problematic
[14:37:07] dminuoso: apeiros: That depends on how you view a block really. To me a block is just a thread of execution, very much like a function.
[14:38:06] apeiros: the point is, it's not. or not just. it's also a closure and behaves in the context of definition.
[14:39:18] dminuoso: Incidentally your example sucks, because in there whether you put `return` or `next` in there does not matter :P
[14:39:24] dminuoso: But I understand what you mean
[14:39:35] apeiros: dminuoso: you're mistaken
[14:39:38] dminuoso: Oh wait right
[14:39:52] dminuoso: apeiros: In that case the proper approach would not be using each but find instead.
[14:39:53] apeiros: you'd need some throw construct
[14:40:01] dminuoso: Who uses #each anyway, it's not functional.
[14:40:15] apeiros: also, find builds up on each anyway, so… what?
[14:40:34] ascarter: has joined #ruby
[14:40:57] dminuoso: module Enumerable; def first; return find(&-> (e) { return e; }); end; end
[14:41:31] mikecmpbll: has joined #ruby
[14:41:52] apeiros: [false, nil, nil, false]
[14:41:58] apeiros: your ship just sank
[14:42:22] apeiros: oh, now I have to say: wait :D
[14:43:43] apeiros: nooo, I was right. this is wrong.
[14:43:48] apeiros: >> [nil,1].find(&-> (e) { return e })
[14:43:49] ruby[bot]: apeiros: # => 1 (https://eval.in/840240)
[14:43:49] dminuoso: Yeah it is wrong
[14:44:01] dminuoso: See, in Elixir I would do this with pattern matching :P
[14:44:47] apeiros: I still don't think I like pattern matching. but haven't yet given it a real chance, so…
[14:45:56] dminuoso: apeiros: It's funny because without realizing I've actually been programming in a pure functional language for many years.
[14:46:02] __Yiota: has joined #ruby
[14:46:06] dminuoso: So many patterns in Elixir are very familiar to me from C++.
[14:46:24] dminuoso: Pattern matching being one of them, though the syntax is just different
[14:47:11] apeiros: talking of overloading?
[14:47:41] dminuoso: apeiros: No, template metaprogramming
[14:47:50] dminuoso: templates are a pure functional programming languages themselves
[14:48:13] banisterfiend: has joined #ruby
[14:48:14] dminuoso: And with sfinae you can basically do pattern matching by provoking compilation errors
[14:50:06] dminuoso: apeiros: So the case specifically where you do it, is in variadic templates.
[14:50:59] dminuoso: template<typename T, typename...Ts> is basically the equivalent of [T | Ts]
[14:51:35] veex: has joined #ruby
[14:51:35] apeiros: not familiar with that notation
[14:52:33] milardovich: has joined #ruby
[14:53:23] yabbes: has joined #ruby
[14:53:42] dminuoso: >> def first(firstElement, *rest); return firstelement; end; puts first(*[1,2,3]) # apeiros
[14:53:43] ruby[bot]: dminuoso: # => undefined local variable or method `firstelement' for main:Object ...check link for more (https://eval.in/840248)
[14:53:48] dminuoso: >> def first(firstElement, *rest); return firstElement; end; puts first(*[1,2,3]) # apeiros
[14:53:49] ruby[bot]: dminuoso: # => 1 ...check link for more (https://eval.in/840249)
[14:53:53] dminuoso: This basically
[14:54:17] rippa: has joined #ruby
[14:54:47] dminuoso: apeiros: And I've quite to come to love pattern matching in JavaScript destructuring.
[14:55:26] dminuoso: Ruby can get away with it because of kwargs though.
[14:55:44] dminuoso: for cases like ({ type, payload }) => (...)
[14:56:41] dminuoso: Though in other cases, `const { type, payload } = yield(stuff());` can be a bit nicer than having to shuffle around large objects whose contents largely dont concern you
[14:57:57] banisterfiend: has joined #ruby
[14:58:09] DrCode: has joined #ruby
[15:01:39] milardovich: has joined #ruby
[15:02:10] cam27: has joined #ruby
[15:04:25] DrCode: has joined #ruby
[15:05:21] ResidentBiscuit: has joined #ruby
[15:06:43] jamal7: has joined #ruby
[15:11:01] mikecmpbll: has joined #ruby
[15:12:07] noe: has joined #ruby
[15:14:17] __Yiota: has joined #ruby
[15:15:30] imperator: has joined #ruby
[15:15:42] dionysus69: has joined #ruby
[15:16:46] polishdub: has joined #ruby
[15:21:45] banisterfiend: has joined #ruby
[15:25:19] antgel: has joined #ruby
[15:28:38] synthroid: has joined #ruby
[15:28:45] banisterfiend: has joined #ruby
[15:29:19] DrCode: has joined #ruby
[15:29:23] synthroid: has joined #ruby
[15:30:35] synthroid: has joined #ruby
[15:31:06] [Butch]: has joined #ruby
[15:39:09] zululee: has joined #ruby
[15:39:12] _whitelogger: has joined #ruby
[15:39:50] cabotto: has joined #ruby
[15:39:58] DrCode: has joined #ruby
[15:41:22] t-recx: has joined #ruby
[15:43:17] milardovich: has joined #ruby
[15:43:23] brent__: has joined #ruby
[15:43:42] bronson: has joined #ruby
[15:44:04] cdg: has joined #ruby
[15:44:10] Polysics: has joined #ruby
[15:44:48] brent__: has joined #ruby
[15:46:47] pootiscoder: has joined #ruby
[15:47:07] brent__: has joined #ruby
[15:47:52] DrCode: has joined #ruby
[15:49:15] jackjackdripper: has joined #ruby
[15:50:55] mustaffa: has joined #ruby
[15:52:41] marxarelli: has joined #ruby
[15:54:33] selim: has joined #ruby
[15:55:09] jdawgaz: has joined #ruby
[15:55:39] ar1arelaybot11: has joined #ruby
[15:58:39] dangerousdave: has joined #ruby
[15:58:46] noe: has joined #ruby
[15:59:57] noe: has joined #ruby
[16:01:06] bruno-: has joined #ruby
[16:01:20] ascarter: has joined #ruby
[16:02:22] krichtof: has joined #ruby
[16:03:15] krichtof: has left #ruby: ()
[16:03:48] Rapture: has joined #ruby
[16:04:10] milardovich: has joined #ruby
[16:04:27] rgtk: has joined #ruby
[16:07:50] nacsurte: has joined #ruby
[16:08:12] amclain: has joined #ruby
[16:09:32] cinayakoshka: has left #ruby: ("ERC (IRC client for Emacs 25.1.1)")
[16:10:50] enterprisey: has joined #ruby
[16:11:13] ledestin: has joined #ruby
[16:11:18] npgm: has joined #ruby
[16:15:33] edwardly: has joined #ruby
[16:15:33] edwardly: has joined #ruby
[16:22:48] howdoi: has joined #ruby
[16:26:06] edwardly: has joined #ruby
[16:26:06] edwardly: has joined #ruby
[16:28:52] bmurt: has joined #ruby
[16:32:36] rgtk: has joined #ruby
[16:32:58] jdawgaz: has joined #ruby
[16:33:55] cdg: has joined #ruby
[16:34:45] carnegie: has joined #ruby
[16:36:27] alex``: has joined #ruby
[16:38:46] gusrub: has joined #ruby
[16:39:53] algun: has joined #ruby
[16:41:41] davic: has joined #ruby
[16:43:27] sagax: has joined #ruby
[16:43:40] leandrobighetti: has joined #ruby
[16:50:43] mim1k: has joined #ruby
[16:50:48] ar1arelaybot111: has joined #ruby
[16:52:33] rgtk: has joined #ruby
[16:54:08] TomyLobo3: has joined #ruby
[16:55:20] enterprisey: has joined #ruby
[16:59:40] carnegie: has joined #ruby
[17:02:23] synthroid: has joined #ruby
[17:04:41] ramfjord: has joined #ruby
[17:05:20] mtkd: has joined #ruby
[17:06:45] milardovich: has joined #ruby
[17:06:46] Ryzokuken: has joined #ruby
[17:09:42] wilbert: has joined #ruby
[17:09:53] conta: has joined #ruby
[17:11:27] krichtof: has joined #ruby
[17:11:37] SuperLag: has joined #ruby
[17:12:21] perniciouscaffei: has joined #ruby
[17:14:43] beginnerrubyist: has joined #ruby
[17:16:16] chouhoul_: has joined #ruby
[17:17:55] rickumali: has joined #ruby
[17:20:17] rgtk: has joined #ruby
[17:21:44] hutch34: has joined #ruby
[17:23:54] hahuang65: has joined #ruby
[17:24:58] beginnerrubyist: has joined #ruby
[17:26:14] bronson: has joined #ruby
[17:27:41] milardovich: has joined #ruby
[17:28:56] kies: has joined #ruby
[17:30:22] carnegie: has joined #ruby
[17:31:12] duderonomy: has joined #ruby
[17:35:23] eckhardt: has joined #ruby
[17:35:32] jdawgaz: has joined #ruby
[17:36:25] romankapitonov: has joined #ruby
[17:41:02] hahuang65: has joined #ruby
[17:42:45] jdawgaz: has joined #ruby
[17:44:31] gusrub: has joined #ruby
[17:48:26] milardovich: has joined #ruby
[17:50:11] jackjackdripper: has joined #ruby
[17:54:22] rabajaj: has joined #ruby
[17:55:55] chrisgopher: has joined #ruby
[17:56:58] jackjackdripper: has joined #ruby
[18:02:38] tahr314301: has joined #ruby
[18:03:14] b3ck: has joined #ruby
[18:05:36] postmodern: has joined #ruby
[18:08:37] moeabdol: has joined #ruby
[18:09:19] milardovich: has joined #ruby
[18:10:09] ledestin: has joined #ruby
[18:10:09] __Yiota: has joined #ruby
[18:10:33] dstrunk: has joined #ruby
[18:10:41] rwt: has joined #ruby
[18:10:44] rwt: has joined #ruby
[18:10:45] rwt: has joined #ruby
[18:11:38] minimalism: has joined #ruby
[18:17:40] carnegie: has joined #ruby
[18:19:15] kkiero: has joined #ruby
[18:19:28] leandrobighetti: has joined #ruby
[18:19:39] mikecmpbll: has joined #ruby
[18:19:40] dcluna: has joined #ruby
[18:20:09] carnegie: has joined #ruby
[18:21:17] jrafanie: has joined #ruby
[18:26:44] tvw: has joined #ruby
[18:28:41] Jameser: has joined #ruby
[18:33:24] SeepingN: has joined #ruby
[18:33:39] vuoto: has joined #ruby
[18:36:22] balazs: has joined #ruby
[18:36:27] gusrub: has joined #ruby
[18:37:07] weaksauce: has joined #ruby
[18:38:35] _sfiguser: has joined #ruby
[18:39:00] roshanavand: has joined #ruby
[18:40:59] kobain: has joined #ruby
[18:41:37] jdawgaz: has joined #ruby
[18:42:17] ur5us: has joined #ruby
[18:45:26] millerti: has joined #ruby
[18:45:44] antgel: has joined #ruby
[18:52:18] guacamole: has joined #ruby
[18:54:11] antgel: has joined #ruby
[19:04:30] bruno-: has joined #ruby
[19:04:39] synthroid: has joined #ruby
[19:06:56] Polysics: has joined #ruby
[19:07:23] t-recx: has joined #ruby
[19:09:21] m27frogy: has joined #ruby
[19:11:34] milardovich: has joined #ruby
[19:14:01] Mattx: has joined #ruby
[19:14:21] Mattx: Hey people! I have this string: "\141", and I want to convert it to "a". How is it done?
[19:14:51] Rodya_: has joined #ruby
[19:14:52] Mattx: (actually the string may be in hex, oct or whatever. I don't know beforehand)
[19:14:56] marr: has joined #ruby
[19:15:04] havenwood: Mattx: That String already is "a", do you mean you have?: "\\141"
[19:15:23] Mattx: sorry. yes, I have \\141
[19:15:27] ruby[bot]: havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[19:16:00] Papierkorb: Mattx: You mean, given an input like that (from a file, a user, ...), you want to produce the string that doesn't use this notation, correct?
[19:16:05] Mattx: or "\\x6" in other cases. or things like that
[19:16:27] Mattx: Papierkorb, that's right. I want to get the string in plain ascii
[19:17:04] Papierkorb: Well you'll get a unicode string, not plain ascii. You can check/enforce that later though
[19:17:07] Fin1te: has joined #ruby
[19:17:33] Mattx: no problem about that
[19:17:43] Papierkorb: Mattx: See String#gsub - Use a regex to find the "\..." notation, and then use Integer#chr to turn that integer value you read out into a character, and return it from the #gsub block
[19:18:36] Papierkorb: Mattx: Important bit: `\123` is octal 123 aka, base 8, and not in decimal as you might expect.
[19:19:06] Mattx: that's exactly what I was doing, but isn't there a better way than checking if the match starts with \x, \o, \ or whatever?
[19:19:26] Papierkorb: Can you share your current code?
[19:19:30] Mattx: sure, one sec
[19:20:13] Mattx: it's pretty simple at the moment: content.gsub! /(\\.\d+)/ do ...$1... end
[19:20:51] Mattx: that $1 contains the character, I thought there may be something like .to_s(base) or something, but the other way around
[19:21:08] Papierkorb: I'd have two capture groups: First something like ([xu]?), and second (\d+). Then check the first capture group to get the base, and decode the second accordingly
[19:21:56] dangerousdave: has joined #ruby
[19:21:58] Mattx: alright, I was trying to avoid that but if there's no other way...
[19:22:02] Papierkorb: Minus the `u` in the first one if you want to replicate rubys behaviour.
[19:22:46] Mattx: nothing or \o for base 8, \x for base 16, \b for base 2
[19:22:51] Mattx: is there anything else out there?
[19:23:14] Papierkorb: \b doesn't exist, \o neither (no "o")
[19:23:48] Papierkorb: notations are "\xFF", "\123" and "\u{1234}"
[19:23:49] Mattx: no? I think I used \b in the past, maybe on another language (?)
[19:24:01] Mattx: thanks Papierkorb
[19:24:02] Papierkorb: \b is the BEL character
[19:24:26] rwt: has left #ruby: ()
[19:24:27] Papierkorb: No wait, it's not. It's the backspace character
[19:26:24] hahuang65: has joined #ruby
[19:28:01] Mattx: "foobar".gsub! /\\(x?)([0-9a-f]+)/i do $1 == "x" ? $2.to_i(16).chr : $2.to_i(8).chr end
[19:28:04] Mattx: that would do it
[19:28:50] Papierkorb: It will do, but also accept broken input like `"\9"`
[19:29:02] apeiros: if you use /\\(x)?([0-9a-f]+)/i, you can just do `$1 ? …`
[19:30:18] apeiros: and if you want it valid, you can use /\\x(\h\h)|\\([0-7]{1,3})/ with $1 ? …
[19:30:48] romankapitonov: has joined #ruby
[19:31:41] gusrub: has joined #ruby
[19:32:13] troulouliou_div2: has joined #ruby
[19:33:35] Mattx: didn't know about \h, nice
[19:35:18] GodFather: has joined #ruby
[19:35:19] GodFather_: has joined #ruby
[19:38:39] apeiros: there might even be one for octal, I was too lazy to look it up :)
[19:41:22] kkiero: has left #ruby: ()
[19:42:27] brent__: has joined #ruby
[19:43:11] jenrzzz: has joined #ruby
[19:43:11] jenrzzz: has joined #ruby
[19:44:24] wilbert: has joined #ruby
[19:45:02] boombox_: has joined #ruby
[19:47:36] Fin1te: has joined #ruby
[19:48:13] brent__: has joined #ruby
[19:48:46] dionysus69: has joined #ruby
[19:50:01] romankapitonov: has joined #ruby
[19:50:40] hahuang65: has joined #ruby
[19:51:58] bronson: has joined #ruby
[19:52:47] romankapitonov: has joined #ruby
[19:53:46] milardovich: has joined #ruby
[19:56:41] brendan-: has joined #ruby
[19:56:46] cam27: has joined #ruby
[20:01:16] chouhoulis: has joined #ruby
[20:01:45] synthroid: has joined #ruby
[20:02:55] synthroid: has joined #ruby
[20:03:04] gloscombe: has joined #ruby
[20:05:08] ramfjord: has joined #ruby
[20:05:33] hndk: has joined #ruby
[20:07:28] hutch34: has joined #ruby
[20:08:14] Jakaria: has joined #ruby
[20:09:07] Jakaria: is `self.class.method_name` is same as `class.method_name`?
[20:09:13] vuoto: has joined #ruby
[20:09:29] jenrzzz: has joined #ruby
[20:10:14] gusrub: has joined #ruby
[20:10:21] apeiros: Jakaria: if class wasn't a keyword, yes
[20:10:53] apeiros: but since it's a keyword, no. class.method_name will be a syntax error.
[20:13:33] t-recx: has joined #ruby
[20:14:32] milardovich: has joined #ruby
[20:14:39] machinewar: has joined #ruby
[20:16:20] lxsameer: has joined #ruby
[20:17:01] ur5us: has joined #ruby
[20:19:02] slackR: has joined #ruby
[20:19:59] MarkBilk: has joined #ruby
[20:20:16] leandrobighetti: has joined #ruby
[20:22:33] eckhardt: has joined #ruby
[20:22:54] sgen: has joined #ruby
[20:24:30] rickumali: has left #ruby: ()
[20:28:56] _sfiguser: has joined #ruby
[20:29:07] DrCode: has joined #ruby
[20:29:32] hahuang65: has joined #ruby
[20:30:51] alex``: has joined #ruby
[20:31:04] Murda: has joined #ruby
[20:33:08] _sfiguser: has joined #ruby
[20:33:36] tAn: has joined #ruby
[20:37:25] leandrobighetti: has joined #ruby
[20:37:41] conta3: has joined #ruby
[20:43:08] skinnymg1: has joined #ruby
[20:46:06] dangerousdave: has joined #ruby
[20:46:40] zapata: has joined #ruby
[20:51:58] bronson: has joined #ruby
[20:54:14] milardovich: has joined #ruby
[20:58:36] kkiero: has joined #ruby
[21:01:18] quobo: has joined #ruby
[21:07:54] jenrzzz_: has joined #ruby
[21:08:13] hutch34: has joined #ruby
[21:11:41] _aeris_: has joined #ruby
[21:20:11] brent__: has joined #ruby
[21:27:19] Jakaria: has left #ruby: ("WeeChat 1.4")
[21:28:00] hutch34: has joined #ruby
[21:31:52] milardovich: has joined #ruby
[21:34:46] ascarter: has joined #ruby
[21:34:59] dstrunk: has joined #ruby
[21:37:26] jenrzzz: has joined #ruby
[21:37:26] jenrzzz: has joined #ruby
[21:37:36] spheric: has joined #ruby
[21:37:52] chrisgop_: has joined #ruby
[21:43:52] banisterfiend: has joined #ruby
[21:44:26] millerti: has joined #ruby
[21:45:10] hutch34: has joined #ruby
[21:46:23] jdawgaz: has joined #ruby
[21:53:08] GodFather: has joined #ruby
[21:53:09] GodFather_: has joined #ruby
[21:59:33] mim1k: has joined #ruby
[21:59:50] jdawgaz: has joined #ruby
[22:02:08] hutch34: has joined #ruby
[22:11:08] eckhardt: has joined #ruby
[22:12:26] mim1k: has joined #ruby
[22:23:51] pazzaz: has joined #ruby
[22:24:01] al2o3-cr: >> self.method(:class)
[22:24:03] ruby[bot]: al2o3-cr: # => #<Method: Object(Kernel)#class> (https://eval.in/840332)
[22:27:25] kkiero: has left #ruby: ()
[22:29:26] QualityAddict: has joined #ruby
[22:32:51] hahuang65: has joined #ruby
[22:36:23] poloych: has joined #ruby
[22:43:45] gusrub: has joined #ruby
[22:49:08] goyox86: has joined #ruby
[22:50:28] ramfjord: has joined #ruby
[22:51:36] https_GK1wmSU: has joined #ruby
[22:53:07] bronson: has joined #ruby
[22:53:10] chrisgop_: has left #ruby: ()
[22:53:17] chrisgop_: has joined #ruby
[22:53:45] https_GK1wmSU: has left #ruby: ()
[22:53:47] ecksit: has joined #ruby
[22:56:09] runescape07rsps: has joined #ruby
[22:57:59] oleo: has joined #ruby
[23:00:21] al2o3-cr: i could get you into a whole world of trouble, smiley.
[23:03:41] hutch34: has joined #ruby
[23:04:45] m27frogy: has joined #ruby
[23:05:49] GodFather_: has joined #ruby
[23:18:24] ascarter: has joined #ruby
[23:25:55] grant: has joined #ruby
[23:34:01] nOwz: has joined #ruby
[23:35:26] milardovich: has joined #ruby
[23:37:06] alveric4: has joined #ruby
[23:39:27] jinie_: has joined #ruby
[23:46:18] domgetter: has joined #ruby
[23:49:21] jenrzzz: has joined #ruby
[23:49:37] jenrzzz: has joined #ruby
[23:55:46] gusrub: has joined #ruby