« Back to channel list

#ruby - 18 July 2015

« Back 1 day Forward 1 day »
[00:01:43] duncannz: has joined #ruby
[00:02:51] htmldrum: has joined #ruby
[00:03:18] arescorpio: has joined #ruby
[00:03:39] shevy: a race car!
[00:05:36] shoutsid06: has joined #ruby
[00:07:16] quimrstorres: has joined #ruby
[00:07:59] Asher: has joined #ruby
[00:11:40] drbrain: race fast, safe car!
[00:12:45] zacts: (cdr (cons (car list1) list2))
[00:15:09] hazelux: has joined #ruby
[00:16:17] jenrzzz: has joined #ruby
[00:17:23] mkosaki: has joined #ruby
[00:19:24] zacstewart: has joined #ruby
[00:19:58] [k-: has joined #ruby
[00:20:42] theery: has joined #ruby
[00:20:58] segfalt: has joined #ruby
[00:24:19] charliesome: has joined #ruby
[00:25:49] chrisarcand: has joined #ruby
[00:29:03] pengin: has joined #ruby
[00:29:46] plashchynski: has joined #ruby
[00:29:52] Pupeno: has joined #ruby
[00:30:25] Igorshp: has joined #ruby
[00:30:59] edwinvdgraaf: has joined #ruby
[00:31:04] quimrstorres: has joined #ruby
[00:31:08] hfp_work: has joined #ruby
[00:31:30] Igorshp: has joined #ruby
[00:31:38] hfp: has joined #ruby
[00:34:20] dubkoidragon: has joined #ruby
[00:35:29] volsus: has joined #ruby
[00:36:04] desigx: has joined #ruby
[00:38:11] duggiefresh: has joined #ruby
[00:38:11] havenwood: has joined #ruby
[00:38:23] j4cknewt: has joined #ruby
[00:41:10] quazimodo: hoelzro: it's more like your friend who's really awesome but you can never sleep with
[00:45:18] gisli: has left #ruby: ("WeeChat 1.0.1")
[00:47:03] casadei_: has joined #ruby
[00:49:02] ammbot: has joined #ruby
[00:50:37] ndrei: has joined #ruby
[00:50:45] ndrei_: has joined #ruby
[00:51:03] eggoez: has joined #ruby
[00:51:46] baweaver: has joined #ruby
[00:52:37] allcentury: has joined #ruby
[00:56:03] Ox0dea: has joined #ruby
[00:56:32] plashchynski: has joined #ruby
[00:56:53] wallerdev: has joined #ruby
[00:57:03] Ox0dea: zacts: Fun fact: SBCL defines all 30 /c[ad]{1,4}r/ combinations.
[00:59:50] ccooke: has joined #ruby
[01:01:30] sharpmachine: has joined #ruby
[01:03:01] Pupeno_: has joined #ruby
[01:04:20] linuxboytoo: has joined #ruby
[01:08:56] serivich: has joined #ruby
[01:10:42] hololeap: has joined #ruby
[01:14:03] davejlong: has joined #ruby
[01:18:46] dgutierrez1287: has joined #ruby
[01:21:09] quimrstorres: has joined #ruby
[01:21:21] htmldrum: has joined #ruby
[01:22:21] davedev24: has joined #ruby
[01:22:53] quimrstorres: has joined #ruby
[01:24:12] benlovell: has joined #ruby
[01:27:21] jonee: has joined #ruby
[01:32:03] Igorshp: has joined #ruby
[01:34:04] mikecmpbll: has joined #ruby
[01:34:12] benlovell: has joined #ruby
[01:35:11] linuxboytoo: has joined #ruby
[01:36:46] athos_diddy: has joined #ruby
[01:37:04] davejlong: has joined #ruby
[01:38:57] avahey: has joined #ruby
[01:39:20] duggiefresh: has joined #ruby
[01:39:21] ndrei: has joined #ruby
[01:42:02] blaines: has joined #ruby
[01:42:19] lokulin: has joined #ruby
[01:43:53] blaines: has joined #ruby
[01:43:59] benlovell: has joined #ruby
[01:44:10] davejlong: has joined #ruby
[01:44:55] Maletor: has joined #ruby
[01:45:44] blaines_: has joined #ruby
[01:46:27] lele: has joined #ruby
[01:47:18] davejlong: has joined #ruby
[01:48:07] lele|w: has joined #ruby
[01:50:22] quimrstorres: has joined #ruby
[01:50:33] jonee: has joined #ruby
[01:51:26] Encapsulation: has joined #ruby
[01:53:49] benlovell: has joined #ruby
[01:54:36] s00pcan: has joined #ruby
[01:58:33] davejlong: has joined #ruby
[01:59:19] allomov: has joined #ruby
[02:01:40] dopie: has joined #ruby
[02:02:59] casadei_: has joined #ruby
[02:03:39] benlovell: has joined #ruby
[02:04:14] phutchins: has joined #ruby
[02:06:27] duncannz: has joined #ruby
[02:07:06] Stratege: has joined #ruby
[02:07:32] duderonomy: has joined #ruby
[02:10:26] jonee: has joined #ruby
[02:17:41] bruno-: has joined #ruby
[02:18:29] ammbot: has joined #ruby
[02:18:53] benlovell: has joined #ruby
[02:23:33] quimrstorres: has joined #ruby
[02:24:31] howdoi: has joined #ruby
[02:27:33] jcdesimp: has joined #ruby
[02:28:40] benlovell: has joined #ruby
[02:28:43] robbyoconnor: has joined #ruby
[02:28:44] tkuchiki: has joined #ruby
[02:29:49] charliesome: has joined #ruby
[02:29:57] willywos: has joined #ruby
[02:30:57] RobertBirnie: has joined #ruby
[02:31:35] idiocrash: has joined #ruby
[02:32:16] sarkyniin: has joined #ruby
[02:34:09] jonee: has joined #ruby
[02:34:37] sankaber: has joined #ruby
[02:34:48] hololeap: has joined #ruby
[02:34:53] bonhoeffer: has joined #ruby
[02:35:12] Igorshp: has joined #ruby
[02:36:49] swgillespie: has joined #ruby
[02:39:08] kurosawa: has joined #ruby
[02:40:00] kurosawa: has left #ruby: ()
[02:40:09] tkuchiki: has joined #ruby
[02:42:26] havenwood: has joined #ruby
[02:45:08] brianpWins: has joined #ruby
[02:45:23] charliesome: has joined #ruby
[02:50:10] kurosawa: has joined #ruby
[02:50:14] hololeap: so what is "self"? is it just a pointer?
[02:50:28] hololeap: in the c sense
[02:50:36] Channel6: has joined #ruby
[02:50:42] cytoskeletor: has joined #ruby
[02:53:54] kurosawa: has left #ruby: ()
[02:55:01] Pupeno: has joined #ruby
[02:55:39] TinkerTyper: has joined #ruby
[02:56:02] RobertBirnie: has joined #ruby
[02:56:55] gamename: has joined #ruby
[02:58:15] stbenjam: hololeap: in ruby, it refers to the current object. i.e. in an instance of a class, it refers to the instance itself
[02:58:37] stbenjam: hololeap: outside of ruby that's a bit of an existential question. some doubt the self even exists.
[02:59:15] delsol: I have a couple stupid questions about active record if anyone has a minute or two.
[03:02:38] hololeap: stbenjam: lol. i actually just had a "whoa" moment earlier today where i saw the philosophical connection between existentialism and ruby :p
[03:03:21] crowell: has joined #ruby
[03:03:38] brianpWins_: has joined #ruby
[03:03:44] crowell: has joined #ruby
[03:04:09] hololeap: delsol: fire away
[03:04:13] fabrice31: has joined #ruby
[03:04:59] delsol: hololeap: OK, so if you have active record loading a bunch of things???.. say, animals.
[03:05:32] delsol: and we are loading them by groups??? so we have a heading of "FISH" then different types of fish, and we might have different info about each type of fish stored in the database
[03:05:52] delsol: then we load "REPTILES", have the heading, then have info about the different types of reptiles...
[03:06:19] delsol: and if instead of just having the options of fish, reptiles, birds etc??? we can load an additional layer....
[03:06:35] delsol: so fish: salt water/freshwater, then the different types, etc....
[03:07:02] delsol: looking at the mysql query log, it looks like active record is doing stupid crap.
[03:07:29] delsol: like re-loading all the info about "FISH" every time it loads a fish???. (to determine if its salt or freshwater?)
[03:07:54] delsol: rather than go??? OH, I need to load all the info about all the different categories???. and loading them all once...
[03:08:10] delsol: it does the query every time it loads a sub-record???. again and again and again....
[03:08:34] delsol: and instead of doing a select * from table where id in (4,5,6,7,8,9,10)
[03:08:56] delsol: it does a select * from table where id = 4; (followed by another query for 5, another for 6, another for 7???. and so on.
[03:09:08] jack_rabbit: has joined #ruby
[03:09:11] delsol: is this active record being stupid, or programmer being stupid?
[03:09:52] delsol: it appears that if you have category.name, it reloads all the info about that category again???..
[03:10:03] tkuchiki: has joined #ruby
[03:10:58] braincrash: has joined #ruby
[03:10:59] hololeap: delsol: i'm pretty sure that's how it has to work. rails doesn't know if the record has changed so it has to query it every time. it's up to the db to do caching and respond quickly
[03:11:31] delsol: My other question??? if I hand write a couple SQL queries to get all the fields I possibly might need to fill in all of the information in the entire form???.. and when you edit info in one of the boxes, active record needs the row object to autosave it, or can I build the row object without having active record go grab each individual record???. every single time?
[03:11:35] hololeap: delsol: activerecord is just an interface between rails and the database
[03:12:29] hololeap: you can override the method for a field
[03:13:20] hololeap: then use an instance variable to cache it. something like: def fish_type; @fish_type ||= read_attribute :fish_type; end
[03:13:24] delsol: I mean, I can write a query that will give me all of the info I need on a given screen about everything I need there??? in one or two queries???.. (rather than load everything in one giant screen??? I can say, have category in a list box, and when I select "FISH" I'll have another query go get me ALL of the info I need about every fish I might possibily need in that instance???. all at once)
[03:14:01] hololeap: as long as you keep that object alive it will keep the original query
[03:14:19] delsol: But it needs to re-query for each object?
[03:14:44] hololeap: delsol: i'm not 100% sure. you should ask in #RubyOnRails
[03:14:57] t0rrieri: has joined #ruby
[03:14:59] delsol: Because when you have a screen with a few hundred rows, and 6-8 pieces of info in each row??????. it takes 15-30 seconds to populate the screen.
[03:15:01] hololeap: delsol: somebody else might know a little bit more about the caching behavior of RoR
[03:15:05] delsol: Not using rails.
[03:15:14] delsol: just ruby, activerecord and rubyGTK
[03:15:15] hololeap: still activerecord is a part of rails
[03:16:43] tmtwd: has joined #ruby
[03:16:50] delsol: I'm just sitting staring at the query log??? saying "Only an idiot would load data this way"
[03:17:08] delsol: and trying to determine if I and other programmers are the idiots??? or if rails is the idiot....
[03:17:14] delsol: er, activerecord is the idiot.
[03:17:44] hololeap: delsol: it's all convention over configuration, so its doubtful you're doing anything wrong. you probably just need to configure it... ask in the other channel and hopefully you'll get an answer :D
[03:17:45] kodiak_texan: has joined #ruby
[03:17:50] delsol: Even with the database on the same machine??? its slow. Like, overclock machine to 4.4ghz to get some of the snappy back slow.
[03:17:57] edwinvdgraaf: has joined #ruby
[03:18:17] delsol: I can't imagine how horribly slow it'd be with network latency between DB server and ruby app...
[03:18:42] jenrzzz: has joined #ruby
[03:19:08] prestorium: has joined #ruby
[03:19:23] jonee: has joined #ruby
[03:22:14] Yzguy: has joined #ruby
[03:24:13] quimrstorres: has joined #ruby
[03:24:38] delsol: Thanks for your time hololeap. :)
[03:24:52] icebourg: has joined #ruby
[03:24:54] sarkyniin: has joined #ruby
[03:25:30] benlovell: has joined #ruby
[03:26:52] Maletor: has joined #ruby
[03:28:31] djbkd: has joined #ruby
[03:31:07] matcouto: has joined #ruby
[03:35:24] benlovell: has joined #ruby
[03:36:06] bungoman: has joined #ruby
[03:37:58] s00pcan: has joined #ruby
[03:38:29] bronson: has joined #ruby
[03:38:48] AviShastry: has joined #ruby
[03:40:19] jonee: has joined #ruby
[03:41:00] drewvanstone: has joined #ruby
[03:43:25] framling: has joined #ruby
[03:44:47] KnownSyntax: has joined #ruby
[03:44:53] Polysics: has joined #ruby
[03:45:12] eggoez: has joined #ruby
[03:45:44] dgutierrez1287: has joined #ruby
[03:47:39] hazelux: has joined #ruby
[03:48:52] zacstewart: has joined #ruby
[03:49:57] flaf: has left #ruby: ("WeeChat 1.0.1")
[03:52:01] casadei_: has joined #ruby
[03:52:02] Obfuscate: has joined #ruby
[03:52:07] xkickflip: has joined #ruby
[03:52:30] Kalov: has joined #ruby
[03:54:50] darkf: has joined #ruby
[03:56:28] gix: has joined #ruby
[03:57:20] weemsledeux: has joined #ruby
[03:58:48] eggoez: has joined #ruby
[03:58:49] baweaver: has joined #ruby
[04:01:05] benlovell: has joined #ruby
[04:04:58] kfpratt: has joined #ruby
[04:06:15] jaredrhine: has joined #ruby
[04:06:28] sevenseacat: has joined #ruby
[04:08:22] djbkd: has joined #ruby
[04:08:35] djbkd: has joined #ruby
[04:08:51] djbkd: has joined #ruby
[04:09:42] kodiak_texan: So say for a problem I need to write a method to return a random element in an array. I obviously am not allowed to use array#sample. I am having a lot of trouble. My return element is always the same. I have tried many variation of using #shuffle and rand but alas I have hit a wall. Any guidance is appreciated.
[04:10:20] havenwood: kodiak_texan: What do you have so far? Gist it?
[04:11:01] volsus: has joined #ruby
[04:12:26] kodiak_texan: Okay, any certain rules on code pasting?
[04:12:29] djbkd: has joined #ruby
[04:12:43] dseitz: has joined #ruby
[04:13:42] jenrzzz: has joined #ruby
[04:13:44] kodiak_texan: def random_select(array,n)
[04:15:14] existensil: no multi-line pasting
[04:16:00] existensil: https://gist.github.com/
[04:16:26] kkeuning: has joined #ruby
[04:16:28] Thomas-0725: kodiak_texan, read up on Rand: http://ruby-doc.org/core-2.2.0/Random.html#method-i-rand
[04:17:47] existensil: also Array#sample: http://ruby-doc.org/core-2.2.2/Array.html#method-i-sample
[04:18:01] Thomas-0725: kodiak_texan, is your method supposed to return 1 element, or n elements? If it is supposed to return n elements, do the elements have to be unique, or can they be duplicated?
[04:19:30] kodiak_texan: The method is supposed to return n elements, unique but duplication occuring is fine.
[04:19:48] jonee: has joined #ruby
[04:20:20] j4cknewt: has joined #ruby
[04:20:33] Thomas-0725: kodiak_texan, the obvious issue is that you are just calling rand without a parameter. This will return a float, which when used as an index to an array will always truncate down to 0. You need to call rand with a parameter. The parameter is Rand(UPPER_BOUND) It will always return a number n such that 0 <= n < UPPER_BOUND.
[04:21:19] Thomas-0725: Your upper bound here would be the size of your array, array.size
[04:23:22] Fezzler: has joined #ruby
[04:23:51] crdpink2: has joined #ruby
[04:24:16] Thomas-0725: To clarify, rand without a parameter returns a float that equals zero or is between zero and one. (0 <= rand < 1)
[04:24:23] kodiak_texan: Oh that makes sense I had bad information about rand then.So I have <script src="https://gist.github.com/texancowboy/ba2811687fe50b28bf9c.js"></script>
[04:25:02] quimrstorres: has joined #ruby
[04:26:41] darkf: has joined #ruby
[04:27:12] bungoman: has joined #ruby
[04:27:48] hololeap: kodiak_texan: you need to make sure the gist is public before you paste it or else we won't be able to see it :D
[04:28:17] crdpink: has joined #ruby
[04:28:32] toretore: and copy the url from the browser's address bar
[04:29:16] Thomas-0725: Close, but you need to push your selected elements onto a new array to return, otherwise you will only return one thing, and it will not be an element of the array. Instead, it will be the result of n.times, which is just n.
[04:30:43] Thomas-0725: kodiak_texan, https://gist.github.com/thomasbcolley/7f4b57aba53682cbe9d7
[04:30:44] kurosawa: has joined #ruby
[04:31:42] hololeap: kodiak_texan: are you going to allow for duplicates in your result?
[04:33:05] kodiak_texan: So if I follow your putting the result into the selection array, n times. Then the selection array is whats returned.hololeap: yes
[04:33:53] ecksit: has joined #ruby
[04:36:36] hololeap: kodiak_texan: https://gist.github.com/hololeap/94a6ef9daaf946d74d6b
[04:37:19] hololeap: kodiak_texan: there's more consise ways to write that, btw
[04:37:25] ValicekB: has joined #ruby
[04:39:43] arooni-mobile: has joined #ruby
[04:43:42] kodiak_texan: hololeap: Interesting, what would be able to shorten it?
[04:44:19] bronson: has joined #ruby
[04:45:02] bronson: has joined #ruby
[04:46:02] Polysics: has joined #ruby
[04:46:31] zacstewart: has joined #ruby
[04:46:32] arup_r: has joined #ruby
[04:47:22] Thomas-0725: https://gist.github.com/thomasbcolley/7f4b57aba53682cbe9d7
[04:47:28] Thomas-0725: An alternative approach
[04:49:53] kodiak_texan: Wow definitely going to take a while to disect all of that, and lots to google as well.
[04:50:21] Thomas-0725: I could have done a better job of commenting it. One moment
[04:50:37] arup_: has joined #ruby
[04:50:50] ayonkhan: has joined #ruby
[04:51:32] kodiak_texan: Well that does take some of the aha! moments away. I won't stop you if you do though.
[04:51:48] baweaver_: has joined #ruby
[04:52:19] jonee: has joined #ruby
[04:52:36] Musashi007: has joined #ruby
[04:54:32] tjbiddle: has joined #ruby
[04:55:43] Thomas-0725: kodiak_texan, here is a more thoroughly commented version with clearer variable names: https://gist.github.com/thomasbcolley/7f4b57aba53682cbe9d7
[04:57:30] kodiak_texan: Thank you very much that should give me something to do before bed. Thank you everyone for yalls help.
[04:57:59] Thomas-0725: Absolutely! Enjoy your studies
[04:58:10] christiandsg: has joined #ruby
[05:00:35] casadei_: has joined #ruby
[05:03:19] jenrzzz: has joined #ruby
[05:04:20] tercenya: has joined #ruby
[05:04:43] desigx: has joined #ruby
[05:04:52] lavros: has joined #ruby
[05:04:55] fabrice31: has joined #ruby
[05:05:21] hololeap: oops, mine should have used delete_at() instead of delete()
[05:05:40] slash_nick: hololeap: too late now
[05:06:00] ayonkhan: has joined #ruby
[05:08:31] dfockler: has joined #ruby
[05:08:52] ryba: has joined #ruby
[05:10:04] Thomas-0725: Is this an OK way to do this? any improvements? https://gist.github.com/thomasbcolley/a886dbd496f7954005ed
[05:12:43] Thomas-0725: Can anyone provide an example of a recursive method that is best solved by recursion and not by some non recursive variant? Simpler example are better, but any example works
[05:13:55] Thomas-0725: nevermind. There's basically a book written about that very topic on stack exchange
[05:14:05] mleung: has joined #ruby
[05:14:28] bougyman: a lot depends on whether tail-call recursion is optimized in the implementation.
[05:15:07] wn33dk: has joined #ruby
[05:15:13] mleung: has joined #ruby
[05:21:39] arup_r: has joined #ruby
[05:25:19] totimkopf: has joined #ruby
[05:26:23] idiocrash: has joined #ruby
[05:26:53] tjbiddle: has joined #ruby
[05:27:34] quimrstorres: has joined #ruby
[05:28:06] arup_r: has joined #ruby
[05:29:43] idiocrash: has joined #ruby
[05:30:47] idiocrash: has joined #ruby
[05:34:52] qiukun: has joined #ruby
[05:37:04] Jackneill: has joined #ruby
[05:37:36] MrJiks_: has joined #ruby
[05:37:47] zacstewart: has joined #ruby
[05:37:49] lkba_: has joined #ruby
[05:38:20] rickmasta: has joined #ruby
[05:38:27] rbowlby: has joined #ruby
[05:38:40] benlieb: has joined #ruby
[05:39:22] arup_r: I expected to get Net::HTTP::Response object.. but getting something else. `https://gist.github.com/aruprakshit/6fc7b89e18adaba1e7bd#file-error-rb-L3
[05:39:40] arup_r: with this object how would I read the status code and response body ?
[05:40:16] riotjones: has joined #ruby
[05:44:46] charliesome: has joined #ruby
[05:46:46] bronson: has joined #ruby
[05:46:50] Polysics: has joined #ruby
[05:47:25] Rubie: has joined #ruby
[05:47:53] _djbkd: has joined #ruby
[05:48:39] nofxx: has joined #ruby
[05:48:44] nofxx: has joined #ruby
[05:55:13] jenrzzz: has joined #ruby
[05:56:38] culturelabs: has joined #ruby
[05:57:35] alphaatom: has joined #ruby
[05:58:19] zipkid: has joined #ruby
[05:58:30] HashNuke: has joined #ruby
[05:58:43] mjc_: has joined #ruby
[06:00:31] codeitagile: has joined #ruby
[06:01:31] han-: has joined #ruby
[06:02:15] DoubleMalt: has joined #ruby
[06:02:37] han-: i am using emacs to write ruby, but i cant get to understand the program
[06:02:47] han-: is there another one simplier?
[06:02:59] sevenseacat: any text editor will do
[06:02:59] han-: i have a very small monitor
[06:03:16] mozzarella: use vim, then
[06:03:52] duncannz: has joined #ruby
[06:05:50] saadq: has joined #ruby
[06:06:39] edwinvdgraaf: has joined #ruby
[06:07:44] prosodyContext: has joined #ruby
[06:08:04] dh64: has joined #ruby
[06:09:11] bertro: has joined #ruby
[06:09:13] abuzze: has joined #ruby
[06:09:13] arup_r: has joined #ruby
[06:09:49] arup_r: any help guys
[06:11:09] arup_r: I expected to get Net::HTTP::Response object.. but getting something else. `https://gist.github.com/aruprakshit/6fc7b89e18adaba1e7bd#file-error-rb-L3 with this object how would I read the status code and response body ?
[06:11:33] ZYPP: has joined #ruby
[06:12:47] dgutierrez1287: has joined #ruby
[06:15:43] tjbiddle: has joined #ruby
[06:17:12] JohnBat26: has joined #ruby
[06:17:16] lorikeet: has joined #ruby
[06:17:21] eam: has joined #ruby
[06:19:03] theery: has joined #ruby
[06:19:15] bruno-: has joined #ruby
[06:20:24] last_staff: has joined #ruby
[06:20:47] rushed: has joined #ruby
[06:21:22] zacstewart: has joined #ruby
[06:21:41] dellavg: has joined #ruby
[06:24:37] El3ktra: has joined #ruby
[06:25:39] symm-: has joined #ruby
[06:26:31] Muhannad: has joined #ruby
[06:28:08] baweaver: has joined #ruby
[06:28:20] quimrstorres: has joined #ruby
[06:31:14] hazelux: has joined #ruby
[06:32:12] tkuchiki: has joined #ruby
[06:34:05] dseitz: has joined #ruby
[06:36:40] tkuchiki: has joined #ruby
[06:37:55] Maletor: has joined #ruby
[06:40:11] Asher: has joined #ruby
[06:41:02] riotjones: has joined #ruby
[06:41:23] joeyjones: has joined #ruby
[06:43:03] Asher: has joined #ruby
[06:43:56] arturmartins: has joined #ruby
[06:45:47] twintail: has joined #ruby
[06:47:33] Polysics: has joined #ruby
[06:47:57] CalvinnHobbes: has joined #ruby
[06:48:06] twintail: has left #ruby: ()
[06:50:06] krz: has joined #ruby
[06:50:21] swgillespie: has joined #ruby
[06:58:23] Polysics: has joined #ruby
[06:58:28] j4cknewt: has joined #ruby
[06:59:10] plashchynski: has joined #ruby
[07:00:39] ElSif: has joined #ruby
[07:04:58] zacstewart: has joined #ruby
[07:07:23] Mia: has joined #ruby
[07:07:23] Mia: has joined #ruby
[07:08:15] dubkoidragon: has joined #ruby
[07:12:08] lessless: has joined #ruby
[07:16:14] krz: has joined #ruby
[07:16:19] roolo: has joined #ruby
[07:19:28] twintail: has joined #ruby
[07:20:15] yeticry: has joined #ruby
[07:20:53] trampi: has joined #ruby
[07:21:13] sofija: has joined #ruby
[07:24:33] arup_r: has joined #ruby
[07:25:32] yeticry: has joined #ruby
[07:27:22] Ilyas: has joined #ruby
[07:29:04] quimrstorres: has joined #ruby
[07:31:44] keen__________24: has joined #ruby
[07:31:46] hazelux: has joined #ruby
[07:34:08] yeticry: has joined #ruby
[07:34:08] markholmes: has joined #ruby
[07:36:09] revath: has joined #ruby
[07:36:53] alphaatom: has joined #ruby
[07:41:14] CloCkWeRX: has joined #ruby
[07:44:05] DrCode: has joined #ruby
[07:44:17] shinnya: has joined #ruby
[07:44:59] mike___1234: has joined #ruby
[07:50:40] Igorshp: has joined #ruby
[07:52:27] peter_paule: has joined #ruby
[07:52:29] iooner: has joined #ruby
[07:53:00] RatelDev: has joined #ruby
[08:01:31] tkuchiki: has joined #ruby
[08:01:45] quazimodo: has joined #ruby
[08:02:15] swgillespie: has joined #ruby
[08:02:31] zacstewart: has joined #ruby
[08:02:58] revath: has joined #ruby
[08:03:05] peter_paule: has joined #ruby
[08:04:07] GeissT_: has joined #ruby
[08:04:14] rht: has joined #ruby
[08:05:15] domgetter: has joined #ruby
[08:05:35] willywos: has joined #ruby
[08:06:44] _blizzy_: has joined #ruby
[08:07:14] krz: has joined #ruby
[08:07:47] dubkoidragon: hey so Ruby seems to preffer hashes or dictionaries instead of arrays or lists when compared to python. Would this be an appropriate assumtion? I mean I know they do the same things but just from the two languages tutorials I've noticed the amount of time spent on each, relatively..
[08:07:54] domgetter: How do I add a token to a Net::HTTP::Get object?
[08:08:11] [k-: they are not the same thing
[08:08:21] dubkoidragon: very well lol
[08:08:29] dubkoidragon: and it doesntm atter im just wondering
[08:08:39] [k-: they do not do the same thing
[08:09:06] dubkoidragon: like you mean a python dict doenst do the same things as a ruby hash??
[08:09:25] djbkd_: has joined #ruby
[08:09:42] lxsameer: has joined #ruby
[08:09:48] domgetter: dubkoidragon: The way you phrased your question makes it look like you claim that arrays and hashes do the same thing.
[08:09:57] dubkoidragon: not whati meant
[08:10:18] domgetter: did you mean that dicts:hashes::lists:arrays ?
[08:10:27] sevenseacat: key-value pairs are totally different than a list of things
[08:10:31] dubkoidragon: i meant like in the ruby tutorial a lot more time is spent on hashes than arrays, and back when i did puthon tutorial more time was spent on lists pver dictionaries
[08:10:46] sevenseacat: 'in the ruby tutorial' which one?
[08:11:06] dubkoidragon: I've done many for both languages, thats my general view
[08:11:16] [k-: python lists have list comprehension
[08:11:25] sevenseacat: ah, vague assumptions, my favorite.
[08:11:32] [k-: Ruby arrays do not
[08:11:55] [k-: so the end
[08:12:03] dubkoidragon: Thanks k, That makes sense
[08:12:06] domgetter: [k-: of course, lists aren't the only thing that have comprehensions in python
[08:12:26] dubkoidragon: sevencat, i see how you think that but i document my time spent learning and its a factual trend ive noticed
[08:13:06] sevenseacat: okay. they're two different data structures that do two different things. use the one thats appropriate for your task. end of story :)
[08:13:09] domgetter: dubkoidragon: is your methodology reproducable? :P
[08:13:19] dubkoidragon: what you mean dom
[08:14:04] [k-: he wants to know how you learn so he can verify it himself
[08:14:07] domgetter: I was joking about the implied rigor of your documentation regarding your learning process.
[08:14:26] relix: has joined #ruby
[08:14:37] peter_paule: has joined #ruby
[08:14:39] dubkoidragon: my bad. like I just kinda write down all the different lessons and examples I do, and that has been the trend
[08:14:43] [k-: he still wants to verify it too
[08:14:47] dubkoidragon: was just curious if i was missing somerhing
[08:14:53] domgetter: nah, Im too lazy
[08:15:07] GeissT: has joined #ruby
[08:15:15] dubkoidragon: i can send all my study doc. but its not well organized at least not if you arent in my breain lol
[08:15:31] znz_jp: has joined #ruby
[08:15:47] closer: has joined #ruby
[08:15:50] domgetter: Is there a recommended gem I should be using to make http requests? Is HTTParty the go-to?
[08:17:43] [k-: I'm feeling upset that I can't write one line Haskell :c
[08:20:27] dubkoidragon: movies = Hash.new
[08:20:27] dubkoidragon: movies [:pulp fiction] = 10
[08:20:39] sevenseacat: thats not valid.
[08:20:43] dubkoidragon: what is the proper way in that notation to add a sybol key
[08:20:52] [k-: because you have a space
[08:20:56] dubkoidragon: itll work fora string key
[08:20:57] sevenseacat: you probably want movies[:pulp_fiction]
[08:21:16] tkuchiki: has joined #ruby
[08:21:25] dubkoidragon: perfectly worked now. Thank you
[08:22:23] [k-: also, we do not leave spaces between the hash and the []
[08:22:26] apeiros: dubkoidragon: you can have spaces in symbols, but then you have to quote them
[08:22:32] apeiros: >> :"pulp_fiction"
[08:22:33] ruboto: apeiros # => :pulp_fiction (https://eval.in/400862)
[08:22:41] apeiros: errr, d'uh
[08:22:49] apeiros: >> :"pulp fiction" # now with real spaces???
[08:22:50] ruboto: apeiros # => :"pulp fiction" (https://eval.in/400863)
[08:22:59] [k-: so ugleh
[08:23:13] [k-: also, hi
[08:23:36] dubkoidragon: aperios: oh thanks I didnt know
[08:23:42] apeiros: also `movies = {}` or if you can, even `movies = {pulp_fiction: 10}`
[08:24:10] apeiros: use Hash.new/Array.new when you actually make use of the constructor (i.e. pass an arg or block to the constructor)
[08:24:11] tercenya_: has joined #ruby
[08:24:31] dubkoidragon: yah I know about the diff notations, but for some reaosn I like the hash.new one. Ok I see, its better when Im passing an agument
[08:24:39] [k-: such optimisation much wow
[08:25:19] [k-: I would guess that {} is better than Hash.new in terms of speed
[08:25:31] dubkoidragon: ok, good to know
[08:26:02] ace_me: has joined #ruby
[08:26:02] ace_me: has joined #ruby
[08:26:51] schaerli: has joined #ruby
[08:27:06] ace_me: hi ! I am trying to install and use capifony with "gem install capifony"
[08:27:24] ace_me: all installing but when I do issue a capifony in the command prompt I get unknown command
[08:27:36] ace_me: 11 gems installed
[08:27:45] ace_me: 'capifony' is not recognized as an internal or external command,
[08:27:58] ace_me: operable program or batch file.
[08:29:49] quimrstorres: has joined #ruby
[08:32:32] hazelux: has joined #ruby
[08:34:27] michael_mbp: has joined #ruby
[08:35:05] max_: has joined #ruby
[08:36:10] Guest63816: has joined #ruby
[08:36:22] Rubie: has joined #ruby
[08:38:32] marr: has joined #ruby
[08:38:35] Nathan_DeHiggers: has joined #ruby
[08:39:03] sevenseacat: ACTION watches
[08:39:31] Nathan_DeHiggers: what is a fun way to learn ruby for complete beginners?
[08:39:45] sevenseacat: https://pragprog.com/book/ltp2/learn-to-program
[08:39:51] [k-: tryruby.com
[08:39:59] Nathan_DeHiggers: also, after the tutorials, how does one get to a level of proficiency that they can think of something and be able to do it?
[08:40:09] marr: has joined #ruby
[08:40:13] [k-: ace_me restart your shell/terminal
[08:40:19] Nathan_DeHiggers: thanks sevenseacat
[08:40:29] ace_me: I did that [k-
[08:40:41] ace_me: and also tried to install with administrator command
[08:40:47] ace_me: but no luck
[08:40:53] Nathan_DeHiggers: what's wrong ace_me
[08:40:56] [k-: if you are on Mac OS x you have to forcefully close it
[08:41:10] ace_me: I am on a windows 2012 server
[08:41:10] sinkensabe: has joined #ruby
[08:41:15] Nathan_DeHiggers: command option esc (force quit shortcut)
[08:41:33] Nathan_DeHiggers: control alt delete... or right click the task bar and click task manager
[08:41:44] Nathan_DeHiggers: close the cmd.exe process
[08:41:49] Nathan_DeHiggers: end the process tree
[08:42:11] Nathan_DeHiggers: unless you're using powershell... or whatever other terminal software you're using (usually it's cmd)
[08:42:21] revath: has joined #ruby
[08:42:38] ace_me: capifony' is not recognized as an internal or external command
[08:42:49] ace_me: it is cmd
[08:42:53] ace_me: and it was restarted
[08:42:59] alphaatom: has joined #ruby
[08:43:02] ace_me: and I did it again as you said now
[08:43:04] Nathan_DeHiggers: you have to add the alias
[08:43:09] ace_me: looked in task manager
[08:43:12] Nathan_DeHiggers: i think that's what they're called in windows
[08:43:20] ace_me: ok... what alias
[08:43:36] ace_me: anyhow gem command works in cmd prompt
[08:43:37] acke: has joined #ruby
[08:43:47] armyriad: has joined #ruby
[08:44:33] last_staff: has joined #ruby
[08:44:49] ace_me: anyhow I will install it on my vagrant machine which is ubuntu as the dev it happens there with a windows mapped folder inside machine
[08:45:22] Nathan_DeHiggers: ace_me: they're environment variables under system properties
[08:45:37] Nathan_DeHiggers: i haven't used windows in a long time and i forgot what they were called
[08:46:18] livathinos: has joined #ruby
[08:47:21] Nathan_DeHiggers: ace_me: you have to set the path in advanced settings
[08:47:30] Nathan_DeHiggers: and then the command will work once you restart your pc
[08:47:44] Nathan_DeHiggers: Start -> All Apps -> Control panel -> System -> Advanced System Settings -> Advanced -> Environment variables.
[08:47:56] bronson: has joined #ruby
[08:48:23] Nathan_DeHiggers: alternatively you can right click this pc or computer and click properties
[08:48:36] Guest63816: has joined #ruby
[08:48:37] Guest90559: has joined #ruby
[08:49:01] ace_me: I know to set Environment variables... and paths but no ideea what to set for the last installed capifony with gem install capifony
[08:50:08] peter_paule: has joined #ruby
[08:50:22] rushed: has left #ruby: ()
[08:50:40] Nathan_DeHiggers: ace_me: which version of capifony are you running?
[08:50:44] ace_me: yes.. it works in the vagrant box
[08:50:49] Nathan_DeHiggers: where did you download it from?
[08:51:10] ace_me: it was installed with gem install capifony
[08:51:27] Nathan_DeHiggers: let's try going to the ruby-gems site
[08:51:36] ace_me: Fetching: capifony-2.8.6.gem (100%)
[08:51:52] Nathan_DeHiggers: https://rubygems.org/
[08:52:06] ace_me: you are complicating things... I already installed that gem above
[08:52:09] Nathan_DeHiggers: they have docs on the ruby gems site
[08:52:11] ace_me: and it is not working on windows
[08:52:23] ace_me: I did installed in the mean time on a ubuntu virtual box
[08:52:28] ace_me: and it is working\
[08:52:44] ace_me: so I was looking only for a solution to add maybe some path for the newly installed gem
[08:53:38] Nathan_DeHiggers: so the only problem you're getting is that it's saying command not found under windows server?
[08:55:02] Nathan_DeHiggers: sorry i hope someone else helps you... i have to run to work :(
[08:55:10] Nathan_DeHiggers: i wish you the best of luck :)
[08:57:30] max_v: has joined #ruby
[09:00:52] spider-mario: has joined #ruby
[09:01:02] chinmay_dd: has joined #ruby
[09:02:32] allomov: has joined #ruby
[09:03:52] bertro: has joined #ruby
[09:03:56] chinmay_dd: has joined #ruby
[09:05:24] znz_jp: has joined #ruby
[09:05:42] bruno-: has joined #ruby
[09:06:32] Igorshp: has joined #ruby
[09:06:33] fabrice31: has joined #ruby
[09:08:46] howdoi: has joined #ruby
[09:12:40] yardenbar: has joined #ruby
[09:13:23] mosez: has joined #ruby
[09:13:24] peter_paule: has joined #ruby
[09:15:05] lkba: has joined #ruby
[09:15:11] Musashi007: has joined #ruby
[09:22:11] eGGsha: has joined #ruby
[09:24:00] MagePsycho: has joined #ruby
[09:30:30] quimrstorres: has joined #ruby
[09:30:46] alphaatom: has joined #ruby
[09:33:03] max_v: has joined #ruby
[09:37:30] revath: has joined #ruby
[09:37:51] alphaatom: has joined #ruby
[09:38:52] znz_jp: has joined #ruby
[09:41:02] pjsim: has joined #ruby
[09:41:28] ndrei: has joined #ruby
[09:41:53] kfpratt: has joined #ruby
[09:42:16] arup_r: has joined #ruby
[09:44:03] jhass: +b-o *DeHiggers!*@*$#ruby-banned jhass
[09:44:09] max: has joined #ruby
[09:44:38] DEA7TH_: has joined #ruby
[09:46:59] desigx: has joined #ruby
[09:49:07] [k-: why did you ban him :o
[09:49:12] [k-: ljarvis: hi
[09:49:25] galeido: has joined #ruby
[09:49:42] shevy: >> Date::MONTHNAMES.first
[09:49:43] ruboto: shevy # => uninitialized constant Date (NameError) ...check link for more (https://eval.in/400871)
[09:50:09] shevy: hmm ... why do I have a nil as the first month ...
[09:50:37] shevy: I am totally confused
[09:50:41] ljarvis: shevy: for convenience
[09:51:54] benlovell: has joined #ruby
[09:52:17] ljarvis: shevy: basically because in English, months actually count from 1 to 12 (unlike day names) so the true numerical representation of January is 1
[09:52:40] symm-: has joined #ruby
[09:52:59] tkuchiki: has joined #ruby
[09:55:09] jhass: so you can do Date::MONTHNAMES[some_date.month]
[09:55:55] unzan: has joined #ruby
[09:59:23] lkba_: has joined #ruby
[10:00:29] duncannz: has joined #ruby
[10:02:40] phutchins: has joined #ruby
[10:03:17] m8: has joined #ruby
[10:05:07] DLSteve: has joined #ruby
[10:05:23] DLSteve: has joined #ruby
[10:05:43] mikecmpbll: has joined #ruby
[10:08:27] Pupeno: has joined #ruby
[10:08:27] Pupeno: has joined #ruby
[10:09:42] benlovell: has joined #ruby
[10:09:46] Soda: has joined #ruby
[10:09:49] druznek: has joined #ruby
[10:10:17] plashchynski: has joined #ruby
[10:11:02] dubkoidragon: good night boys and girls, thanks for all the help today
[10:11:33] [k-: offensive!
[10:12:21] dubkoidragon: actually? or joke?
[10:12:41] [k-: not joke
[10:12:48] dubkoidragon: why was that offensive
[10:13:06] shevy: you forgot to include cats and robots
[10:13:29] dubkoidragon: shoot I knew I forgot something
[10:13:41] dubkoidragon: Im always messin up
[10:14:19] [k-: still offensive!
[10:14:53] ccooke: has joined #ruby
[10:15:11] shevy: look [k- https://github.com/ruby/ruby/blob/trunk/ChangeLog
[10:15:18] shevy: they never sleep! even not on caturday
[10:16:53] [k-: I don't write Ruby code anymore
[10:17:38] AnoHito_: has joined #ruby
[10:19:01] isale-eko: has joined #ruby
[10:21:02] Hounddog: has joined #ruby
[10:21:16] hazelux: has joined #ruby
[10:22:36] ljarvis: then why are you in here?
[10:23:08] [k-: to learn from Ox0dea!
[10:25:20] ljarvis: to learn Ruby, which you're not writing anymore?
[10:26:21] [k-: I learnt that if num&1 == 0 num is even
[10:26:28] [k-: I can apply it somewhere else!
[10:26:33] [k-: do not doubt my logic!
[10:26:39] mike___1234: has joined #ruby
[10:26:51] jhass: ACTION doubts [k- logic
[10:27:23] ccooke: has joined #ruby
[10:28:42] [k-: I named an example!
[10:32:08] krz: has joined #ruby
[10:32:23] plashchynski: has joined #ruby
[10:33:31] Feyn: has joined #ruby
[10:33:57] GeissT: has joined #ruby
[10:34:35] dfockler: has joined #ruby
[10:38:15] Spami: has joined #ruby
[10:40:13] sevenseacat: I don't think thats ever something you should use in real code.
[10:40:34] Sembei: has joined #ruby
[10:40:36] troulouliou_div2: has joined #ruby
[10:43:36] peter_paule: has joined #ruby
[10:46:24] nfk: has joined #ruby
[10:48:37] tkuchiki: has joined #ruby
[10:49:43] Spami_: has joined #ruby
[10:49:58] ljarvis: [k- doesn't write real code
[10:51:04] [k-: I write snippets at most
[10:52:22] [k-: if you look on my github there is 0% real code :(
[10:53:07] Papierkorb: has joined #ruby
[10:53:08] FernandoBasso: has joined #ruby
[10:55:57] jhass: [k-: why? why don't you solve some problem you have or write a nice game or something?
[10:56:09] jhass: or contribute to some OSS project?
[10:57:29] [k-: I don't do much :s or use much :s
[11:03:05] bruno-: has joined #ruby
[11:08:27] tobacco_joe: has joined #ruby
[11:09:48] ht__: has joined #ruby
[11:13:01] codecop: has joined #ruby
[11:18:51] DEA7TH_: has joined #ruby
[11:18:56] xkickflip_: has joined #ruby
[11:19:17] malcolmva: has joined #ruby
[11:19:40] djbkd_: has joined #ruby
[11:20:10] adaedra: ACTION doubts [k- 
[11:20:58] Violentr: has joined #ruby
[11:23:34] adaedra: Also [k-, find yourself a project and write real code
[11:23:42] adaedra: It's the first step to world domination
[11:27:05] desigx: has joined #ruby
[11:27:12] [k-: butil I have school!
[11:27:27] jhass: lame excuse
[11:28:21] [k-: but I has skool?
[11:29:10] nfk: has joined #ruby
[11:32:01] jhass: [k-: http://www.codetriage.com/
[11:32:52] lessless: has joined #ruby
[11:33:17] jhass: [k-: http://refactorcop.com/
[11:33:46] peter_paule: has joined #ruby
[11:33:50] [k-: I contributed a little to forgecrafted/finishing_moves
[11:33:58] [k-: is this good enough :c
[11:35:57] jhass: https://github.com/forgecrafted/finishing_moves/pulse/monthly no
[11:36:25] [k-: that was a long time ago :c
[11:37:20] adaedra: ew, ruby sources have mixed indents
[11:37:32] [k-: I'm totally in the contributor list
[11:37:37] sdothum: has joined #ruby
[11:39:16] Pupeno: has joined #ruby
[11:39:16] Pupeno: has joined #ruby
[11:39:41] [k-: I don't really give a damn about rubocop
[11:40:02] [k-: it's not really nice to me :c
[11:40:07] ace_me_: has joined #ruby
[11:40:09] SCHAAP137: has joined #ruby
[11:40:20] _ixti_: has joined #ruby
[11:40:52] adaedra: with some tuning it becomes a really good thing
[11:41:00] [k-: http://refactorcop.com/nomad/cupertino
[11:43:57] [k-: this is ridiculous
[11:43:59] [k-: the method arguments if it's surely a block operator, or add a whitespace to the right of the `&` if it should be a binary AND.
[11:44:29] [k-: Ambiguous block operator. Parenthesize the
[11:44:42] [k-: missed out the first part accidentally
[11:45:01] schaerli: has joined #ruby
[11:45:21] [k-: https://github.com/streamio/streamio-ffmpeg/blob/master/lib/ffmpeg/movie.rb#L103
[11:45:28] ndrei: has joined #ruby
[11:45:30] [k-: it doesn't seem ambiguous at all!
[11:45:37] apeiros: what? class Agent < ::Mechanize is too long? tf?
[11:45:51] [k-: see my point
[11:46:40] isale-eko: has joined #ruby
[11:47:16] Spami_: has joined #ruby
[11:47:27] nfk: has joined #ruby
[11:49:28] last_staff: has joined #ruby
[11:49:34] n3vtelen_: has joined #ruby
[11:50:45] shevy: is that your ruby code [k-
[11:52:47] n3vtelen_: what is the best way to check a variable is empty or nill?
[11:52:59] shevy: well, nil goes via .nil? call
[11:53:36] shevy: .empty? for strings, arrays... not sure which other classes respond to it
[11:54:03] n3vtelen_: shevy: take a look: http://dpaste.com/2FNZ1BX
[11:54:08] [k-: what are you referring to shevy
[11:54:55] shevy: [k- oh for a moment I thought you were writing real code :)
[11:55:36] shevy: n3vtelen_ yeah that may be one way, although you could also change if not youtube_video_url.to_s == '' into unless youtube_video_url.to_s.empty?
[11:56:12] shevy: >> x = ''; puts 'it is nil or empty' if x.nil? || x.empty?
[11:56:13] ruboto: shevy # => it is nil or empty ...check link for more (https://eval.in/400879)
[11:56:17] lordkryss: has joined #ruby
[11:56:27] shevy: but he was already using "if not" [k-
[11:56:37] [k-: not has more noise
[11:57:00] shevy: mot has more mouse
[11:57:02] [k-: I did write real code afterall!
[11:57:16] shevy: nah... you are just doing things for the giggles
[11:57:31] shevy: don't tell me that Ox0dea really uses those one liners
[11:57:57] adaedra: apeiros: the class code, not the line itself
[11:58:01] [k-: it is downloaded 8k times
[11:58:17] [k-: so I have written code that people use!
[11:58:20] shevy: from bots
[11:58:34] shevy: there are real people out there though
[11:58:46] [k-: you are the devil ;-;
[11:58:48] [k-: https://rubygems.org/gems/finishing_moves
[11:58:52] apeiros: adaedra: ah
[11:59:00] shevy: I remember I recieved two complaints about my gems once per email - the first one complained that I have no documentation (he is right!), the other one actually found a real bug so he got a cookie
[11:59:08] apeiros: makes more sense
[11:59:22] adaedra: [k-: checks from rubocop all have configuration, you can enable, disable, or change them through a file, if defaults is not to your liking.
[11:59:48] [k-: https://github.com/forgecrafted/finishing_moves/commits?author=SkyBirdSoar
[12:00:25] shevy: defined?(SuperSaiyan) [k- is that you?
[12:00:40] Igorshp: has joined #ruby
[12:01:00] fantazo: has joined #ruby
[12:01:04] McSoFake: has joined #ruby
[12:01:13] adaedra: 75.64% documented
[12:01:13] lkba: has joined #ruby
[12:01:17] adaedra: tssk tssk tssk
[12:01:24] adaedra: ruby stdlib
[12:01:43] [k-: not you, to shevy :p
[12:02:05] shevy: [k- somewhere as part of the finishing_moves examples
[12:02:18] adaedra: shevy: on github you have a blame button to show who wrote what in a file
[12:02:20] [k-: I don't use such names
[12:02:29] shevy: I don't blame everyone! only [k- :>
[12:03:37] phutchins: has joined #ruby
[12:03:51] plashchynski: has joined #ruby
[12:04:31] adaedra: ???String#nl2br???
[12:04:34] adaedra: I smell PHP
[12:04:47] centrx: has joined #ruby
[12:05:15] shevy: newline to ... <br> ?
[12:05:17] quimrstorres: has joined #ruby
[12:06:07] ndrei: has joined #ruby
[12:07:19] iateadonut: has joined #ruby
[12:09:10] centrx: shevy, You've cracked the code
[12:09:47] Violentr: has joined #ruby
[12:10:00] hazelux: has joined #ruby
[12:10:12] [k-: I only recall contributing to finishing_moves
[12:10:16] [k-: nothing else
[12:11:37] quimrstorres: has joined #ruby
[12:12:28] Rubie: has joined #ruby
[12:12:29] shevy: readable code?
[12:13:10] tmtwd: has joined #ruby
[12:15:11] quimrstorres: has joined #ruby
[12:15:13] [k-: skybirdsoar.github.IO/birthday/?name=shevy (this will crash your computer)
[12:15:32] lxsameer: has joined #ruby
[12:16:15] [k-: it works on my phone tho
[12:16:46] [k-: it uses a O(n^99999) algorithm to generate!
[12:17:02] arup_r: has joined #ruby
[12:18:51] peter_paule: has joined #ruby
[12:18:53] arup_r: how can I use duck typing here https://gist.github.com/aruprakshit/9ed4dd13e2b7fc8ffc27#file-payments_controller-rb-L6 so that I can get the correct class ?
[12:19:06] quimrstorres: has joined #ruby
[12:19:07] arup_r: instead of using case when logic
[12:20:30] [k-: is this a duck typing question....
[12:22:35] centrx: Knet::Transaction.new(payment_request_params)
[12:22:37] arup_r: yes.. I am trying to figure out what is the I can call update method by instantiating the right class as per the response code
[12:22:42] centrx: put the logic in the class
[12:23:11] arup_r: you mean case/when logic inside the parent class
[12:24:13] iateadonut: has joined #ruby
[12:24:18] centrx: arup_r, yes, ultimately you need that because you're basing the decision off of a string param
[12:24:23] arup_r: I am bit lost to arrange it so asked to find out the tricks
[12:24:32] [k-: if I knew vim I would look like a cool elite hacker
[12:25:49] jhass: you could build a hash, RESPONSE_CODE_HANDLERS = {"FOO" => Foo, "BAR" => Bar} and then RESPONSE_CODE_HANDLERS[response_code.upcase].new params
[12:26:05] centrx: yeah hash is good
[12:26:17] [k-: less painful actually
[12:26:45] centrx: yes but you still need string somewhere, not a duck
[12:27:14] [k-: I was totally thrown off
[12:27:58] arup_r: centrx, well can't use in my usecase the duck typing it seems.. I thought I could
[12:28:55] Spami_: has joined #ruby
[12:30:18] ndrei: has joined #ruby
[12:31:05] arup_r: ok.. just one question Inheritance and Duck typing are 2 diff techniques.. as I am getting the update method via inheritance so duck typing here not a topic.. mm that's what I feels.
[12:31:49] exadeci: has joined #ruby
[12:31:52] arup_r: jhass, I like the hash technique so should I add the hash logic as you said inside the Response class in a factory method?
[12:31:57] arup_r: Is it good idea ?
[12:32:41] arup_r: Response.creat_response response_code like that?
[12:34:28] allomov: has joined #ruby
[12:35:25] Pupeno: has joined #ruby
[12:36:30] jhass: doesn't look too bad
[12:37:57] arup_r: jhass, thanks.. I also got a answer which says same like "go ahead!" :) http://stackoverflow.com/a/746274/2767755
[12:38:15] arup_r: thanks guys!
[12:38:30] iateadonut: has joined #ruby
[12:38:55] ndrei: has joined #ruby
[12:38:57] arup_r: I will be in this channel till my last breath! awesome people! :)
[12:39:15] arup_r: same like you** I meant
[12:39:32] endash: has joined #ruby
[12:40:31] [k-: I like how they used register_reader
[12:40:40] arup_r: But I will use Hash not a case/when
[12:40:42] [k-: I learnt something new!
[12:42:02] kfpratt: has joined #ruby
[12:43:07] [k-: see, that's why I am here, ljarvis
[12:44:09] adaedra: <ljarvis> to learn Ruby, which you're not writing anymore?
[12:45:22] iateadonut: has joined #ruby
[12:45:37] [k-: I concede >.>
[12:45:55] [k-: design patterns are always useful of course
[12:46:07] arup_r: i agree ^^
[12:48:15] bubbys: has joined #ruby
[12:50:20] PlasmaStar: has joined #ruby
[12:50:57] victortyau: has joined #ruby
[12:50:57] Violentr: has joined #ruby
[12:51:26] freerobby: has joined #ruby
[12:51:55] MatrixBridge: has joined #ruby
[12:52:38] peter_paule: has joined #ruby
[12:53:38] htmldrum: has joined #ruby
[12:55:36] hazelux: has joined #ruby
[13:00:11] lolmaus: has joined #ruby
[13:01:32] bertro: has joined #ruby
[13:05:39] djbkd_: has joined #ruby
[13:08:05] fabrice31: has joined #ruby
[13:08:10] radialneon: has joined #ruby
[13:08:27] radialneon_: has joined #ruby
[13:10:08] whiteline: has joined #ruby
[13:11:50] benlovell: has joined #ruby
[13:17:23] kfpratt: has joined #ruby
[13:24:11] eggoez: has joined #ruby
[13:24:31] sepp2k: has joined #ruby
[13:24:53] t0rn: has joined #ruby
[13:25:10] t0rn: hi! looking for an entry-level RoR job in the New York area
[13:25:25] quimrstorres: has joined #ruby
[13:26:17] Rubie: has joined #ruby
[13:27:52] havenwood: t0rn: You might give #RubyOnRails a try if you're looking for Rails.
[13:27:54] shoutsid06: has joined #ruby
[13:29:04] phutchins: has joined #ruby
[13:30:34] psye: has joined #ruby
[13:30:41] t0rn: will do, thanks
[13:31:09] shoutsid06: has joined #ruby
[13:31:40] psye: has joined #ruby
[13:31:46] t0rn: has left #ruby: ()
[13:32:32] lxsameer: has joined #ruby
[13:33:57] quimrstorres: has joined #ruby
[13:34:23] prestorium: has joined #ruby
[13:39:30] ni291187: has joined #ruby
[13:39:39] tmtwd: has joined #ruby
[13:40:27] yilmazalican: has joined #ruby
[13:40:46] yilmazalican: whats up guys
[13:40:58] havenwood: yilmazalican: hi
[13:41:12] yilmazalican: havenwood how u doing man
[13:41:16] sankaber: has joined #ruby
[13:42:13] sinkensabe: has joined #ruby
[13:44:31] havenwood: Coffeetime!
[13:45:48] DEA7TH_: has joined #ruby
[13:47:26] ndrei: has joined #ruby
[13:48:54] symm-: has joined #ruby
[13:49:22] quimrstorres: has joined #ruby
[13:53:26] quimrstorres: has joined #ruby
[13:53:46] jpfuentes2: has joined #ruby
[13:56:07] [k-: ghc errors need much more work :/
[13:56:22] hazelux: has joined #ruby
[13:56:27] dubkoidragon: has joined #ruby
[13:59:23] DoubleMalt: has joined #ruby
[13:59:29] quimrstorres: has joined #ruby
[14:00:02] geefolk: has joined #ruby
[14:00:49] geefolk: has joined #ruby
[14:01:58] endash: has joined #ruby
[14:02:06] gamename: has joined #ruby
[14:02:44] geefolk: has joined #ruby
[14:02:57] araujo: has joined #ruby
[14:06:10] tchebb: has joined #ruby
[14:06:38] yqt: has joined #ruby
[14:06:52] whiteline: has joined #ruby
[14:08:55] newbie: has joined #ruby
[14:10:10] paulcsmith: has joined #ruby
[14:10:49] araujo: has joined #ruby
[14:12:10] desigx: has joined #ruby
[14:12:37] geefolk: has joined #ruby
[14:12:56] yqt: has joined #ruby
[14:14:37] stantonnet: has joined #ruby
[14:16:15] timonv: has joined #ruby
[14:18:44] dimasg: has joined #ruby
[14:22:14] Casty: has joined #ruby
[14:24:19] jbw: has joined #ruby
[14:25:10] j4cknewt: has joined #ruby
[14:26:41] weemsledeux: has joined #ruby
[14:28:26] tkuchiki: has joined #ruby
[14:29:00] shevy: [k- are you getting unhappy with haskell and will you return to ruby?
[14:29:01] lorikeet: has joined #ruby
[14:29:30] jimmythehat: is there a way to dump all information a ruby object to a file? All information, all of its methods, its object ID, its value just everything. Basically | a === b #=> true | but if I use b over a the method fails, even though === returns true xD. I know some of you will kindly look at my code but I'd rather if someone would tell me how to debug this instead. I mean if === #=> true there must be some other difference, right?
[14:29:40] shevy: JimmytheHat Marshall should work
[14:29:58] shevy: Marshal.dump(object)
[14:30:20] jimmythehat: shevy thanks!
[14:30:31] [k-: object.inspect?
[14:30:40] shevy: there may be a few things it can not store, I think singletons or something like that. I forgot what it was
[14:31:10] shevy: http://ruby-doc.org/core-2.2.0/Marshal.html
[14:32:40] krz: has joined #ruby
[14:32:44] FernandoBasso: has joined #ruby
[14:34:14] bruno-: has joined #ruby
[14:34:25] jimmythehat: shevy is the dump human readable? I guess not?
[14:35:04] jimmythehat: [k this bug goes beyond mere values..so weird. thanks though
[14:35:29] Mon_Ouie: has joined #ruby
[14:36:08] [k-: === is not strict equals in ruby
[14:36:14] [k-: in case you are confused
[14:36:56] shevy: JimmytheHat I think it is not human readable
[14:37:01] [k-: being able to === doesn't mean you can use a value over the other
[14:37:08] [k-: for example
[14:37:20] shevy: I am not sure if yaml could be used for dumping objects, yaml would probably be more human readable
[14:37:24] [k-: >> "hello" === String
[14:37:26] ruboto: [k- # => false (https://eval.in/400922)
[14:38:38] jimmythehat: [k- I am indeed confused :P what does === mean? and how do I do a strict equals AND find the difference? Because if the difference is object_id I don't care about that because they definitely will have differening object ids. I want all differences apart from object id.
[14:38:48] jimmythehat: shevy I'll try YAML, you can dump with it ;)
[14:39:24] [k-: JimmytheHat this is not JavaScript!
[14:39:37] [k-: >> String === "hello"
[14:39:38] shevy: but ruby also has json!!!
[14:39:38] ruboto: [k- # => true (https://eval.in/400923)
[14:39:38] Mon_Ouie: #== is how you compare two objects
[14:39:58] [k-: I had to look up the docs for === :(
[14:40:06] Mon_Ouie: #=== is used by the case x; when pattern then ??? end; end
[14:40:39] [k-: it is called case equality
[14:41:12] [k-: you should be using == or eql? to check if two things are equal
[14:41:18] Mon_Ouie: Right, but as shown with String === "hello", it really doesn't mean 'equality'
[14:41:23] KrzaQ: http://melpon.org/wandbox/permlink/OEWjLJthGCFr6fwP what am I doing wrong?
[14:41:30] Mon_Ouie: >> String === String
[14:41:31] ruboto: Mon_Ouie # => false (https://eval.in/400925)
[14:41:41] devdazed: has joined #ruby
[14:41:51] KrzaQ: I want to replace
[14:41:59] [k-: you can't replace "hello" with String or vice versa
[14:42:13] KrzaQ: \n[any of something] or [any of smething]\n with that something
[14:42:25] KrzaQ: sorry about the spelling, I'm on a new tiny keyboard
[14:42:35] dubkoidragon: has joined #ruby
[14:42:44] Mon_Ouie: KrzaQ: Rx is not a Regexp, it's a String
[14:43:04] lorikeet: hi everyone
[14:43:23] KrzaQ: Mon_Ouie that solved my problem. I feel so stupid now. Thanks!
[14:44:55] [k-: >> require "set"; Set === SortedSet
[14:44:56] ruboto: [k- # => false (https://eval.in/400926)
[14:45:12] [k-: would the other way round work?
[14:45:19] [k-: I'm confused :s
[14:45:28] yqt: has joined #ruby
[14:45:39] jhass: >> require "set"; SortedSet.ancestors
[14:45:40] ruboto: jhass # => [SortedSet, Set, Enumerable, Object, Kernel, BasicObject] (https://eval.in/400927)
[14:45:43] Mon_Ouie: SomeModule === object is true if object.is_a? SomeModule
[14:45:49] [k-: Case Equality???Returnstrue??if??obj??is an instance ofmod??or one of??mod???s descendants
[14:46:01] [k-: that's what the docs say
[14:46:06] whiteline: has joined #ruby
[14:46:07] jhass: yeah, poorly worded
[14:46:11] [k-: so I thought it must be true
[14:46:21] Aswebb_: has joined #ruby
[14:46:26] jhass: an instance of mod, or an instance of one of mod's descendants
[14:46:48] [k-: we should change it!
[14:46:52] [k-: and add examples
[14:47:38] [k-: you will see it happen in *calculates time*
[14:48:00] jhass: [k-: http://documenting-ruby.org/
[14:48:53] [k-: don't expect me to git on my phone's
[14:53:10] yardenbar: has joined #ruby
[14:53:11] [k-: maybe if I do this shevy would shut up :3
[14:53:18] [k-: where do I start
[14:53:54] cmouse: has joined #ruby
[14:54:04] cmouse: Exception `TypeError' at /var/lib/gems/2.0.0/gems/bundler-1.10.5/lib/bundler/vendor/thor/lib/thor/base.rb:614 - can't dup FalseClass
[14:54:09] cmouse: any ideas what this could be?
[14:54:49] [k-: you cannot dup false
[14:54:56] [k-: false is a Singleton
[14:55:18] cmouse: so, never seen this before?
[14:55:41] jhass: cmouse: gist with full error output and way to reproduce
[14:55:49] cmouse: jhass: that is the full error output
[14:55:52] Mon_Ouie: >> false.dup
[14:55:54] ruboto: Mon_Ouie # => can't dup FalseClass (TypeError) ...check link for more (https://eval.in/400928)
[14:55:55] krzkrz: has joined #ruby
[14:56:00] [k-: you probably passed something wrong to Thor
[14:56:07] cmouse: [k-: i'm not passing anything to thor :(
[14:56:10] cmouse: [k-: that's the problem
[14:56:12] jhass: cmouse: way to reproduce
[14:56:18] [k-: see Mon_Ouie!
[14:56:22] cmouse: jhass: install ruby2.0 and um, er, use bundler?
[14:56:46] jhass: k, done. Can't reproduce
[14:56:51] cmouse: jhass: =)
[14:57:01] cmouse: jhass: this is a tricky problem
[14:57:51] cmouse: wonder if it's something about the gemspec file
[14:58:28] jhass: variables like that would be included in "a way to reproduce"
[14:58:41] cmouse: https://gist.github.com/cmouse/0d3bfa245f37c7cd20ea
[14:58:51] cmouse: jhass: i just realized
[14:59:17] cmouse: Gemfile and gemspec are prolly the only stuff interacting with thor, i guess.
[14:59:27] quimrstorres: has joined #ruby
[14:59:52] cmouse: it took me half an hour to tease that error out, 'cos it only shows up if you run ruby in debug mode
[14:59:53] jhass: bundler doesn't read a gemspec without a Gemfile instructing it to do so
[15:00:01] cmouse: jhass: my gemfile instructs it to read it
[15:00:05] hj2007: has joined #ruby
[15:00:06] jhass: so the Gemfile is another necessary variable
[15:00:19] cmouse: it has two lines, source "https://rubygems.org" and gemspec.
[15:01:19] OrbitalKitten: has joined #ruby
[15:01:50] jhass: I run into the missing require with just the two lines
[15:02:06] DoubleMalt: has joined #ruby
[15:02:36] cmouse: jhass: you did?
[15:02:51] [k-: wouldn't there be a stack trace
[15:02:57] cmouse: cmouse@dev02:~/src/gw-autorepo (master)$ bundle exec autorepod
[15:02:57] cmouse: cmouse@dev02:~/src/gw-autorepo (master)$
[15:03:02] cmouse: this is what it says without debug.
[15:03:11] davedev24: has joined #ruby
[15:03:16] jhass: yes, if I create the version.rb i run into missing gw-mq (not on rubygems.org?)
[15:03:26] cmouse: jhass: yes, a private gem
[15:03:29] cmouse: sorry about that
[15:03:36] jhass: so maybe your command simply has no output?
[15:04:07] benlovell: has joined #ruby
[15:04:13] cmouse: jhass: could be
[15:04:20] sinkensabe: has joined #ruby
[15:04:58] [k-: Mon_Ouie I think Ox0dea investigated this
[15:05:09] Mon_Ouie: Investigated what?
[15:05:12] cmouse: jhass: ohwell, thanks
[15:05:19] cmouse: i go bang by head further
[15:05:46] [k-: duping of NilClass I think
[15:06:04] Mon_Ouie: You can't do it because 1) it's hardcoded to not let
[15:06:10] Mon_Ouie: to net let you do that*
[15:06:23] Mon_Ouie: And also partly because nil, false and true have fixed object ids
[15:06:56] Mon_Ouie: And if you removed the code that stops you from creating other instances of FalseClass, if FalseClass.new then ??? end would still run
[15:08:03] dimasg: has joined #ruby
[15:08:06] cmouse: sorry for the noise, it was my fault completely.
[15:08:35] [k-: 100% what I said
[15:08:53] fabrice31: has joined #ruby
[15:08:54] t0rrieri: has joined #ruby
[15:09:33] therealfibonacci: has joined #ruby
[15:09:43] [k-: I always feel that somehow people don't really listen to my suggestions
[15:09:51] [k-: is it because my nick is stupid?
[15:10:38] casadei_: has joined #ruby
[15:11:32] gheegh: has joined #ruby
[15:11:44] jud^: has joined #ruby
[15:12:08] cmouse: why are you guys so aggressive btw?
[15:12:11] hazelux: has joined #ruby
[15:12:45] [k-: I think it is my nature :o
[15:12:58] cmouse: well, thank you for your help anyways
[15:13:02] [k-: jhass is probably worn out :s
[15:13:21] cmouse: has left #ruby: ()
[15:13:33] veduardo: has joined #ruby
[15:14:11] shevy: he is getting older and older
[15:14:12] jhass: I simply have no reason to be easy if the other party doesn't make it easy to help them
[15:14:40] shevy: ohhh cmouse is from finland
[15:15:17] [k-: not everyone comes equipped with a know-how, ya'know
[15:16:55] miwood: has joined #ruby
[15:17:34] lokulin: has joined #ruby
[15:17:40] DLSteve: has joined #ruby
[15:18:08] jhass: everyone can make an effort to share as much as possible about their problem. They only shared as little as possible
[15:19:45] [k-: that's human nature :s
[15:20:20] statu: has joined #ruby
[15:20:22] veduardo: has joined #ruby
[15:21:27] djbkd_: has joined #ruby
[15:21:57] jamesaxl: has joined #ruby
[15:22:01] [k-: an investment from jhass, how rare :3
[15:22:20] havenwood: statu: g'mornin
[15:22:37] [k-: ask jhass :3
[15:22:40] revath: has joined #ruby
[15:23:00] statu: I am developing my first Ruby library. I want to validate an email and I thought that it should exist a gem that already does that. The problem is that the gem that I have found (https://rubygems.org/gems/email_validation) is related with ActiveModel::EachValidator, and I don't know if that class belongs to the Ruby library or to the Ruby On Rails one.
[15:23:46] jhass: that's intended for rails, yes
[15:24:09] statu: jhass: ok, thanks!
[15:24:12] jhass: you probably should search further or just give up on proper email validation and take everything that contains an @ :P
[15:24:39] statu: jhass: jaja I will search further :)
[15:24:50] iooner: has joined #ruby
[15:25:00] jhass: I'm actually fairly serious about it
[15:25:02] statu: I am searching in https://rubygems.org/, is that the correct place, isn't it?
[15:25:38] thiagovsk: has joined #ruby
[15:25:51] [k-: awesomeruby.com
[15:26:08] jhass: I doubt that lists gemified email regexps
[15:26:13] havenwood: statu: https://github.com/larb/email_address_validator
[15:26:40] Maletor: has joined #ruby
[15:27:24] jhass: oh, not regex based. Interesting
[15:27:25] cajone: has joined #ruby
[15:28:19] mary5030: has joined #ruby
[15:28:21] statu: thanks havenwood!!
[15:29:01] havenwood: statu: you're welcome! let us know about your gem when you ship it. :)
[15:29:05] miwood: has joined #ruby
[15:30:36] cajone: has left #ruby: ()
[15:30:44] havenwood: statu: ah, I guess you said library and I assumed gem. either way, happy coding!
[15:31:11] statu: havenwood: thanks!
[15:31:15] mary5030: has joined #ruby
[15:31:21] atomical: has joined #ruby
[15:32:07] chinmay_dd: has joined #ruby
[15:34:10] suffice: has joined #ruby
[15:34:34] brixen: has joined #ruby
[15:36:06] jimmythehat: in Ruby can I do |attr_accessor :array, []| ? I want to initialize an attribute with a value. Is there a gem that will allow me to do this?
[15:36:26] jhass: JimmytheHat: def initialize; @array = []; end;
[15:36:29] jaygen: has joined #ruby
[15:36:30] gix: has joined #ruby
[15:36:58] ivanf: has joined #ruby
[15:37:10] jimmythehat: jhass I can then call aninstance.array ?
[15:37:30] jhass: with an attr_reader :array or attr_accessor :array, sure
[15:37:55] Rubie: has joined #ruby
[15:38:16] jimmythehat: jhass ah I see.. thought it would be cool to set attr_accessor with an initial variable in one. thanks, i'll stick with initialize then :)
[15:38:59] AviShastry: has joined #ruby
[15:39:23] t0rrieri: has joined #ruby
[15:39:36] AviShastry: has left #ruby: ()
[15:41:12] OrbitalK_: has joined #ruby
[15:41:23] bnizzle: has joined #ruby
[15:41:25] dopie: has joined #ruby
[15:45:15] whiteline: has joined #ruby
[15:47:34] bnizzle: has joined #ruby
[15:48:07] whiteline: has joined #ruby
[15:48:51] joneshf-laptop: has joined #ruby
[15:49:04] lorikeet: anyone have any starting points for ruby? i'm sort of completely knew to code, with the exception of tutoring logic and taking one C class
[15:49:49] tobacco_joe: lorikeet: http://learnrubythehardway.org/
[15:49:51] jhass: Chris Pine's Learn to program is generally recommended
[15:50:08] lorikeet: i couldn't find any decent podcasts which would help my immersion
[15:50:08] jhass: I don't like LRTHW's code style
[15:50:12] lorikeet: thanks for the link!
[15:54:38] flori: has joined #ruby
[15:55:59] Averna: has joined #ruby
[15:56:10] whiteline: has joined #ruby
[15:58:58] krz: has joined #ruby
[16:00:20] htmldrum: has joined #ruby
[16:00:49] dfockler: has joined #ruby
[16:01:11] ndrei: has joined #ruby
[16:01:54] jhack32: has joined #ruby
[16:02:38] desigx: has joined #ruby
[16:04:05] dimasg: has joined #ruby
[16:06:42] charliesome: has joined #ruby
[16:07:31] htmldrum: has joined #ruby
[16:07:44] unicorn0: has joined #ruby
[16:10:05] Unicorn|: Can I ask for help with ruby>
[16:10:27] Channel6: has joined #ruby
[16:10:32] jhass: ?ask Unicorn|
[16:10:32] ruboto: Unicorn|, Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
[16:11:04] Unicorn|: I'm a total beginner, but, How can I store the number generated by rand(50) to a variable?
[16:11:14] jhass: foo = rand(50)
[16:11:15] shevy: var = rand(50)
[16:11:19] jhass: called assignment
[16:11:22] Unicorn|: ah, thanks.
[16:11:35] al2o3-cr: has joined #ruby
[16:11:58] shevy: Chris Pine's tutorial is nice, I'd wish we could extend and update it but it's quite a lot of work
[16:14:10] benlovell: has joined #ruby
[16:14:28] Agoldfish: has joined #ruby
[16:14:59] woodruffw: has joined #ruby
[16:15:27] blue_deref: has joined #ruby
[16:15:44] krz: foo_bar = 'a'; whats another way of doing eval('foo_bar')
[16:16:22] jhass: krz: you most likely want a hash
[16:16:38] Averna: has left #ruby: ()
[16:16:43] Averna: has joined #ruby
[16:16:59] JeramyRR: has joined #ruby
[16:17:17] krz: jhass: im trying to excute the 'foo_bar' string
[16:17:25] krz: so it returns 'a'
[16:17:42] shevy: krz I think there is no easy way to generate local variables. if it would be an @instance_variable then it would be simple, you have object.instance_variable_set(:@a, 'dog') # => 'dog'
[16:17:44] jhass: and I'm saying that's a really bad idea and a sign that you use the wrong datastructure
[16:21:16] yeticry: has joined #ruby
[16:23:15] acke: has joined #ruby
[16:24:14] _kfpratt: has joined #ruby
[16:26:58] noethics: has joined #ruby
[16:27:05] mary5030: has joined #ruby
[16:27:09] htmldrum: has joined #ruby
[16:27:14] nfk: has joined #ruby
[16:27:30] penzur: has joined #ruby
[16:28:16] mary5030: has joined #ruby
[16:30:34] lkba: has joined #ruby
[16:31:00] davedev24: has joined #ruby
[16:32:26] dopie: has joined #ruby
[16:34:16] htmldrum: has joined #ruby
[16:34:22] chinmay_dd: has joined #ruby
[16:34:26] krz: shevy jhass this is what im trying to do https://gist.github.com/e25ac7a8f1cc7fbf7cd8
[16:35:07] krz: depending on the value of the argument action_name. execute the right method
[16:35:23] krz: in this case index_filters
[16:35:34] relix: has joined #ruby
[16:37:28] bronson: has joined #ruby
[16:38:44] krz: jhass: any alternative approach to executing that logic?
[16:39:16] jhass: public_send
[16:39:30] jhass: but doing that from user input is still dangerous
[16:41:18] jhass: I'd at least also do some sanity check prior, like filter_method = "#{action_name}_filters"; raise ... unless methods(false).grep(/_filters$/).include? filter_method; public_send(filter_method)
[16:41:22] jhass: something in that way
[16:41:45] workmad3: has joined #ruby
[16:42:16] hj2007: has joined #ruby
[16:42:18] tno: has joined #ruby
[16:44:50] dagda1: has joined #ruby
[16:45:13] krz: jhass: you mean something like public_send("#{action_name}_filters")
[16:45:31] jhass: I just wrote what I mean exactly?!
[16:45:37] krz: oh whops
[16:45:40] krz: sorry misread
[16:47:14] jhack32: has joined #ruby
[16:51:15] Maletor: has joined #ruby
[16:51:23] vdamewood: has joined #ruby
[16:51:51] krz: thanks jhass
[16:52:49] hfp: has joined #ruby
[16:53:06] ndrei: has joined #ruby
[16:53:19] hfp_work: has joined #ruby
[16:53:53] peter_paule: has joined #ruby
[16:54:23] workmad3: has joined #ruby
[16:54:37] sphex: has joined #ruby
[16:54:44] nfk: has joined #ruby
[16:56:02] hj2007: has joined #ruby
[16:58:20] OrbitalKitten: has joined #ruby
[16:58:39] sinkensabe: has joined #ruby
[16:58:54] Averna: has joined #ruby
[16:59:00] drewvanstone: has joined #ruby
[16:59:09] casadei_: has joined #ruby
[16:59:53] OrbitalKitten: has joined #ruby
[17:02:05] hj2007: has joined #ruby
[17:07:18] devdazed: has joined #ruby
[17:08:26] Channel6: has joined #ruby
[17:09:39] fabrice31: has joined #ruby
[17:10:28] eggoez: has joined #ruby
[17:14:08] zr2d2: has joined #ruby
[17:14:24] dimasg: has joined #ruby
[17:14:29] weemsledeux: has joined #ruby
[17:18:40] hashrocket: has joined #ruby
[17:20:02] tkuchiki: has joined #ruby
[17:20:51] hj2007: has joined #ruby
[17:23:42] yqt: has joined #ruby
[17:26:08] pyon: has joined #ruby
[17:26:27] toretore: has joined #ruby
[17:29:51] mleung: has joined #ruby
[17:30:36] Averna: has left #ruby: ()
[17:30:48] mikeric: has joined #ruby
[17:32:37] benlovell: has joined #ruby
[17:34:14] TheHodge: has joined #ruby
[17:37:44] FenrirReturns: has joined #ruby
[17:38:08] ndrei: has joined #ruby
[17:38:41] konsolebox: has joined #ruby
[17:39:57] Arpho: has joined #ruby
[17:42:41] crdpink2: has joined #ruby
[17:46:00] shevy: it's so hot
[17:46:44] chamila: has joined #ruby
[17:48:27] chamila: Hi all, what happens in this line in a ruby C extension? "VALUE cls = rb_cObject"?
[17:48:51] spider-mario: has joined #ruby
[17:48:53] workmad3: has joined #ruby
[17:49:45] shevy: I assume this creates a new object instance?
[17:50:34] shevy: my examples have foo = rb_define_class("NameOfClassHere", rb_cObject);
[17:51:22] chamila: so equals to "cls = new Object()" in java?
[17:52:50] Ox0dea: chamila: `cls = rb_cObject` does not create a new object.
[17:52:54] jhass: chamila: Object is an object too in Ruby, an instance of class. My guess is that it assigns that object as the value for cls
[17:53:04] jhass: >> Object.class
[17:53:06] ruboto: jhass # => Class (https://eval.in/400977)
[17:53:36] jhass: so cls = Object in ruby code
[17:54:55] chamila: jhass: I'm working on implementing a ruby extension to jruby, Icame up with this few occasions, how shouldI map this in java?
[17:55:26] jhass: I don't know, it's specific to JRuby though, maybe ask #jruby?
[17:56:22] arooni-mobile: has joined #ruby
[17:56:55] chamila: so what this exactly does in C?
[17:57:45] Ox0dea: chamila: It assigns the internal value referring to Ruby's Object class to the variable `cls`, an arguably pointless operation.
[17:57:55] allomov: has joined #ruby
[17:59:01] chamila: https://github.com/ohler55/oj/blob/master/ext/oj/resolve.c#L59 It has been used in this function in Oj
[17:59:21] Ox0dea: Well, no, I suppose you'd want a second reference if you were doing traversal or something.
[18:00:01] chamila: 0x0dea: sorry I don't get you
[18:01:14] chamila: can u explain little bit more
[18:01:56] hfp: has joined #ruby
[18:02:10] weemsledeux: has joined #ruby
[18:02:26] hfp_work: has joined #ruby
[18:03:44] zacstewart: has joined #ruby
[18:03:52] yuuvee: has joined #ruby
[18:03:52] allcentury: has joined #ruby
[18:03:52] Ox0dea: Oj needs to determine if some string ("Foo::Bar::Baz", for instance) represents an actual class. It does that by starting at Object and using #const_get on the '::'-delimited pieces of the string until it fails or reaches the end.
[18:03:58] Igorshp: has joined #ruby
[18:04:25] Ox0dea: chamila: `clas = rb_cObject` is the "starting point", the top of the tree from which to being searching.
[18:05:07] relix: has joined #ruby
[18:05:09] neoseeker191: has joined #ruby
[18:06:05] chamila: 0x0dea : Ah okay, got it, thanks
[18:08:58] al2o3-cr: has joined #ruby
[18:11:27] saadq: has joined #ruby
[18:12:04] _ixti_: has joined #ruby
[18:12:23] mike___1234: has joined #ruby
[18:14:38] GeissT_: has joined #ruby
[18:15:55] tlarevo: has joined #ruby
[18:16:04] mxrguspxrt: has joined #ruby
[18:16:48] yqt: has joined #ruby
[18:18:48] idiocrash: has joined #ruby
[18:21:25] swgillespie: has joined #ruby
[18:21:47] aryaching: has joined #ruby
[18:23:09] crdpink: has joined #ruby
[18:24:02] Ox0dea: chamila: It'd be easier to wrap Gson than port Oj, no?
[18:24:38] chamila: 0x0dea: sorry I don't get you again
[18:25:25] Ox0dea: chamila: You're trying to port Oj to JRuby, right?
[18:25:37] lolmaus: has joined #ruby
[18:25:42] Ox0dea: How come?
[18:26:40] gkra: has joined #ruby
[18:26:57] chamila: I'm doing it as a GSOC project under ruby, headius is my mentor
[18:27:17] Ox0dea: Oh, fair enough, then.
[18:27:36] gambl0re: has joined #ruby
[18:27:49] gkra: has left #ruby: ()
[18:28:11] chamila: https://github.com/jruby/jruby/wiki/Google-Summer-of-Code-2015#ports-of-popular-c-extensions
[18:29:13] chamila: Current work on this - https://github.com/cdwijayarathna/oj4j
[18:29:40] RatelDev: has joined #ruby
[18:32:43] troulouliou_div2: has joined #ruby
[18:33:16] s00pcan: has joined #ruby
[18:33:29] hfp: has joined #ruby
[18:33:59] hfp_work: has joined #ruby
[18:34:23] desigx: has joined #ruby
[18:34:33] veduardo: has joined #ruby
[18:35:42] zacstewart: has joined #ruby
[18:39:54] codenihal: has joined #ruby
[18:40:28] jenrzzz: has joined #ruby
[18:41:39] leat4: has joined #ruby
[18:44:23] RobertBirnie: has joined #ruby
[18:46:04] kadoppe: has joined #ruby
[18:46:32] arooni-mobile: has joined #ruby
[18:48:03] casadei_: has joined #ruby
[18:48:10] PhantomSpank: has joined #ruby
[18:49:24] symm-: has joined #ruby
[18:50:07] OrbitalKitten: has joined #ruby
[18:51:33] leat4: has joined #ruby
[18:51:37] Kalov: has joined #ruby
[18:51:41] desigx: has joined #ruby
[18:53:04] Aswebb_: has joined #ruby
[18:53:48] workmad3: has joined #ruby
[18:53:59] havenwood: has joined #ruby
[18:54:32] miwood: has joined #ruby
[18:56:25] OrbitalKitten: has joined #ruby
[18:56:38] heftig: has joined #ruby
[18:56:50] aphprentice: has joined #ruby
[19:00:10] nofxx: has joined #ruby
[19:01:48] leat4: has joined #ruby
[19:04:49] codecop: has joined #ruby
[19:10:36] fabrice31: has joined #ruby
[19:11:19] whiteline: has joined #ruby
[19:11:47] chouhoulis: has joined #ruby
[19:13:00] Stratege: has joined #ruby
[19:17:14] Rubie: has joined #ruby
[19:18:16] ndrei: has joined #ruby
[19:22:42] miwood: has joined #ruby
[19:23:20] lkba: has joined #ruby
[19:23:44] bronson: has joined #ruby
[19:24:27] whiteline_: has joined #ruby
[19:24:51] Pupeno: has joined #ruby
[19:24:51] Pupeno: has joined #ruby
[19:25:03] devdazed: has joined #ruby
[19:25:28] postmodern: has joined #ruby
[19:28:26] towski_: has joined #ruby
[19:29:30] OrbitalKitten: has joined #ruby
[19:30:13] Casty: has joined #ruby
[19:30:21] modern: has joined #ruby
[19:31:11] techietrash: has joined #ruby
[19:32:24] jpfuentes2: has joined #ruby
[19:33:23] zacstewart: has joined #ruby
[19:33:34] desigx: has joined #ruby
[19:36:04] shevy: so eager hackers \o/
[19:37:57] veduardo: has joined #ruby
[19:38:19] OrbitalKitten: has joined #ruby
[19:44:05] char76: has joined #ruby
[19:47:29] thiagovsk: has joined #ruby
[19:50:02] neoseeker191: has joined #ruby
[19:51:07] dotix: has joined #ruby
[19:51:08] dotix: has joined #ruby
[19:51:40] martinbjeldbak: has joined #ruby
[19:53:20] Pupeno: has joined #ruby
[19:55:17] Vile`: has joined #ruby
[19:55:52] platosha: has joined #ruby
[19:57:35] FernandoBasso: has joined #ruby
[19:58:40] ellisTAA: has joined #ruby
[20:02:13] bruno-: has joined #ruby
[20:04:51] eggoez: has joined #ruby
[20:05:04] penzurx: has joined #ruby
[20:05:20] bricker: has joined #ruby
[20:06:17] orbitalo: has joined #ruby
[20:07:12] endash: has joined #ruby
[20:07:43] ellisTAA: has joined #ruby
[20:09:55] workmad3: has joined #ruby
[20:10:13] zacts: ruby red rock
[20:10:41] zacts: I miss runescape
[20:10:53] prestorium: has joined #ruby
[20:11:13] Ox0dea: zacts: Isn't it still a thing?
[20:11:42] zacts: Ox0dea: is it? iirc when I last checked it was a dead project
[20:11:47] zacts: now they have minecraft
[20:12:16] zacts: it is still around
[20:12:20] Ox0dea: zacts: http://oldschool.runescape.com/
[20:12:31] Ox0dea: But yes, "new-school" RS is also still reasonably active.
[20:12:56] zacts: did they opensource the old runescape engine?
[20:13:00] wookiehangover: has joined #ruby
[20:13:29] Ox0dea: shevy: Why do you add non-existent homepages to all of your gems? :/
[20:14:37] zacts: anyway, /me tries to mine rubies on runescape
[20:14:44] zacts: but yeah... /me idles now
[20:18:28] benlovell: has joined #ruby
[20:19:54] martinbjeldbak: has joined #ruby
[20:20:03] Leef_: has joined #ruby
[20:21:37] malconis: has joined #ruby
[20:21:42] davedev24: has joined #ruby
[20:27:06] orbitalo: has joined #ruby
[20:28:10] OrbitalKitten: has joined #ruby
[20:29:46] user1138: has joined #ruby
[20:30:58] yfeldblum: has joined #ruby
[20:32:25] veduardo: has joined #ruby
[20:32:54] peter_paule: has joined #ruby
[20:34:44] user1138: What is the best resource to begin learning RoR with no prior programming knowledge?
[20:34:49] MagePsycho: has joined #ruby
[20:34:58] GnuYawk: has joined #ruby
[20:35:04] Ox0dea: user1138: That's probably not a good idea.
[20:35:26] user1138: RoR was suppose to be the easiest programming language to learn back in 2011
[20:36:09] Ox0dea: user1138: RoR is not a programming language.
[20:37:03] casadei_: has joined #ruby
[20:37:05] user1138: an application frame work?
[20:37:13] Ox0dea: A Web application framework, yes.
[20:37:38] shevy: Ox0dea ah no, these are skeletons, they'll be re-added the moment I will finish on my script to automatically create them if they are not yet existing
[20:37:58] OrbitalKitten: has joined #ruby
[20:41:58] Aswebb_: has joined #ruby
[20:42:01] Ox0dea: user1138: You'll want to at least vaguely familiarize yourself with programming before jumping into creating a Web app, lest you find yourself copy-pasting like a zombie and not really learning anything.
[20:42:16] Ox0dea: shevy: You're creating a repository generator?
[20:43:54] shevy: Ox0dea well, mostly they can happen in a git repo, and then remain on github. but somehow it was of very low priority to me so far... I don't even write a lot of documentation at all. :\ :/ sooner or later things will become better, step by step
[20:44:02] Zinja: user1138: RoR in amazing but it have an incredibly steep learning curve in the beginning since most people are not used to the MVC system. I would not recommend it for someone who doesn't already have a firm understanding of Ruby.
[20:44:39] user1138: So RoR is a web application framework and Ruby is the programming language?
[20:45:08] jhack32: user1138: check out theodinproject
[20:45:30] gizmore: has joined #ruby
[20:46:46] SparkySparkyBoom: has joined #ruby
[20:47:18] SparkySparkyBoom: has left #ruby: ("WeeChat 1.2-dev")
[20:47:33] jenrzzz: has joined #ruby
[20:48:18] Zinja: user1138: Yes. Learn Ruby first, it's very difficult to learn Ruby and Rails at the same time.
[20:49:04] swgillespie: has joined #ruby
[20:49:05] Hanmac: has joined #ruby
[20:50:12] dseitz: has joined #ruby
[20:53:04] gizmore: has joined #ruby
[20:53:50] sarkyniin: has joined #ruby
[20:54:35] _solomon: has joined #ruby
[20:55:17] NeverDie: has joined #ruby
[20:56:04] yfeldblum: has joined #ruby
[20:56:20] psye: has joined #ruby
[20:56:22] havenwood: has joined #ruby
[20:56:51] swgillespie: has joined #ruby
[20:56:55] Pupeno: has joined #ruby
[20:57:10] psye: has joined #ruby
[20:58:46] veduardo: has joined #ruby
[21:00:47] drewvanstone: has joined #ruby
[21:01:12] Agoldfish: has joined #ruby
[21:01:18] framling: has joined #ruby
[21:04:26] ruurd: has joined #ruby
[21:05:24] htmldrum: has joined #ruby
[21:08:05] sinkensabe: has joined #ruby
[21:10:26] htmldrum: has joined #ruby
[21:11:21] fabrice31: has joined #ruby
[21:13:24] OrbitalKitten: has joined #ruby
[21:14:42] desigx: has joined #ruby
[21:14:45] xkickflip_: has joined #ruby
[21:16:36] El3ktra: has joined #ruby
[21:16:36] El3ktra: has joined #ruby
[21:18:56] Rubie: has joined #ruby
[21:19:22] j4cknewt: has joined #ruby
[21:20:34] s00pcan: has joined #ruby
[21:21:37] njection: has joined #ruby
[21:22:27] veduardo: has joined #ruby
[21:26:27] radialneon: has joined #ruby
[21:27:44] dfockler: has joined #ruby
[21:28:10] miwood: has joined #ruby
[21:30:08] MrBeardy: has joined #ruby
[21:30:52] max: has joined #ruby
[21:32:12] vickleton: has joined #ruby
[21:39:43] myam: has joined #ruby
[21:42:32] jackjackdripper: has joined #ruby
[21:43:42] tekk: has joined #ruby
[21:45:20] zacstewart: has joined #ruby
[21:47:51] shevy: it's a pontiki on a caturday! \o/
[21:48:06] jamesaxl|2: has joined #ruby
[21:48:09] galeido: has joined #ruby
[21:49:49] s00pcan: has joined #ruby
[21:51:21] myam: has joined #ruby
[21:53:07] centrx: has joined #ruby
[21:54:05] pengin: has joined #ruby
[21:55:23] shevy: ready to code a new ruby project
[21:55:28] Maletor: has joined #ruby
[21:55:55] OrbitalKitten: has joined #ruby
[21:56:45] LiquidInsect: has joined #ruby
[21:59:14] ellisTAA: has joined #ruby
[21:59:35] nofxx: has joined #ruby
[22:00:38] ruurd: has joined #ruby
[22:01:28] decoponio: has joined #ruby
[22:01:49] pontiki: i'm trying to get docker working with a project
[22:03:14] stantonnet: has joined #ruby
[22:04:26] user1138: has joined #ruby
[22:07:44] JoshL: has joined #ruby
[22:09:17] noethics: has joined #ruby
[22:10:15] user1138: has joined #ruby
[22:10:34] ryba: has joined #ruby
[22:11:09] Ox0dea: shevy: GIMP with a TUI.
[22:11:14] Muhannad: has joined #ruby
[22:12:14] Ox0dea: Terminal user interface.
[22:12:31] user1138: has joined #ruby
[22:12:49] Ox0dea: Modern terminal emulators let you specify 24-bit colors, but most are still limited to 256-color palettes.
[22:13:00] Ox0dea: Still, that seems like plenty of breathing room.
[22:13:18] Ox0dea: No, terminal.
[22:13:29] Ox0dea: You can do much more with a terminal than just display text.
[22:14:07] ruurd: with them newfangled graphical terminals?
[22:14:09] sharpmachine: has joined #ruby
[22:14:12] ellisTAA: has joined #ruby
[22:14:19] Ox0dea: Well, sure, but that's not what I had in mind.
[22:14:29] Ox0dea: Modern terminals can respond to mouse movement, clicks, drags.
[22:15:25] Ox0dea: "Modern" here refers to the likes of xterm and rxvt, for what that's worth.
[22:15:32] ElSif: i am embrace heresy, middle clicking a path in iterm2 and having it open directly in sublime text is cool
[22:15:42] CloCkWeRX: has joined #ruby
[22:16:15] ElSif: well, if you use the 'mighty mouse' thing i thin its command click...
[22:16:36] thang: has joined #ruby
[22:20:45] miwood: has joined #ruby
[22:20:57] pdxvegan: has joined #ruby
[22:21:39] Pupeno: has joined #ruby
[22:23:12] tubuliferous_: has joined #ruby
[22:24:06] miwood_: has joined #ruby
[22:24:59] bronson: has joined #ruby
[22:25:33] duncannz: has joined #ruby
[22:27:03] Kalov: has joined #ruby
[22:28:15] shevy: I want to do that too on linux!
[22:29:28] sivoais: has joined #ruby
[22:30:36] stantonnet: has joined #ruby
[22:30:50] Aswebb_: has joined #ruby
[22:31:26] endash: has joined #ruby
[22:31:51] torpig: has joined #ruby
[22:32:16] ruurd: Or use popclip to do all manner of funky stuff...
[22:33:33] Pupeno: has joined #ruby
[22:33:45] Pupeno: has joined #ruby
[22:34:31] sharpmachine: has joined #ruby
[22:37:07] sarkyniin: has joined #ruby
[22:39:09] kjones_: has joined #ruby
[22:42:29] Pupeno: has joined #ruby
[22:42:49] joneshf-laptop: has joined #ruby
[22:46:54] Rubie: has joined #ruby
[22:49:21] _ixti_: has joined #ruby
[22:51:28] sinkensabe: has joined #ruby
[22:52:15] sharpmachine: has joined #ruby
[22:53:33] ellisTAA: has joined #ruby
[22:53:40] Schalla: has joined #ruby
[22:53:44] Unicorn|: has joined #ruby
[22:54:36] Schalla: Good evening. I got a question which came up while working with rails and some other libs, but I was uncertain what its called. I often see that Ruby methods are suffixed by "?" or "!", why so? Does it have a special meaning and naming that I can read up on it?
[22:55:16] dagda1: has joined #ruby
[22:55:37] Ox0dea: Schalla: ? methods are called "query methods" and should, by widespread convention, always explicitly return either true or false.
[22:55:58] Ox0dea: ! methods simply mean "be careful with this", but that often translates to "this method mutates the receiver".
[22:56:33] Schalla: Ox0dea, Ah, thanks for the explanation! Makes sense. :)
[22:56:35] Unicorn|: Hi everyone! How can I let the use input a number in to a variable? It seems like gets.chomp lets the user input a string, but for a variable, how would I do that?
[22:56:49] Ox0dea: >> '123'.to_i # Unicorn|
[22:56:50] ruboto: Ox0dea # => 123 (https://eval.in/401031)
[22:56:56] dopie: has joined #ruby
[22:56:58] plashchynski: has joined #ruby
[22:57:34] dubkoidragon: has joined #ruby
[22:57:46] Ox0dea: Unicorn|: `gets` does indeed return a string, on which you can use the #to_i method to convert it to an integer.
[22:57:47] yqt: has joined #ruby
[22:58:17] Unicorn|: ACTION oh, so
[22:58:40] Unicorn|: num = gets.chomp
[22:58:50] Ox0dea: Still a string.
[22:59:26] Ox0dea: That'd give you a number, yes, but then you're throwing away the result.
[22:59:30] Ox0dea: Gotta put it somewhere.
[22:59:47] Unicorn|: value = num.to_i
[22:59:57] Ox0dea: That'd do it, but probably better to do it all in one go.
[23:00:03] void: has joined #ruby
[23:00:33] Unicorn|: num = gets.to_i.chomp?
[23:00:44] Ox0dea: There is no #chomp method on integers.
[23:00:54] void: gets.chomp
[23:01:10] Unicorn|: num = gets.chomp.to_i?
[23:01:23] Ox0dea: Unicorn|: Yes, but the #chomp is superfluous.
[23:01:36] Ox0dea: String#to_i stops converting at the first non-digit character.
[23:01:38] Unicorn|: Ok, thanks! :D
[23:01:49] Ox0dea: >> '123abc'.to_i
[23:01:50] void: you can find nice documentation on omniref.com
[23:01:50] ruboto: Ox0dea # => 123 (https://eval.in/401032)
[23:01:51] Pupeno: has joined #ruby
[23:03:52] ellisTAA: has joined #ruby
[23:04:37] csavola: has joined #ruby
[23:05:13] Igorshp: has joined #ruby
[23:05:50] Exuma: has joined #ruby
[23:08:22] sharpmachine: has joined #ruby
[23:12:03] fabrice31: has joined #ruby
[23:12:46] wookiehangover: has joined #ruby
[23:14:07] zacstewart: has joined #ruby
[23:14:15] mxrguspx_: has joined #ruby
[23:15:08] htmldrum: has joined #ruby
[23:15:34] Ilyas: has joined #ruby
[23:17:15] Yzguy: has joined #ruby
[23:17:54] momomomomo: has joined #ruby
[23:21:23] relix: has joined #ruby
[23:22:01] mike___1234: has joined #ruby
[23:23:29] charliesome: has joined #ruby
[23:24:46] sharpmachine: has joined #ruby
[23:25:31] pen: has joined #ruby
[23:25:53] ss_much: has joined #ruby
[23:33:00] jpfuentes2: has joined #ruby
[23:35:17] haneen: has joined #ruby
[23:36:32] totimkopf: has joined #ruby
[23:37:30] arooni-mobile: has joined #ruby
[23:39:00] GeissT: has joined #ruby
[23:40:01] al2o3-cr: has joined #ruby
[23:40:19] dagda1: has joined #ruby
[23:40:48] ohaibbq: has joined #ruby
[23:41:05] sharpmachine: has joined #ruby
[23:41:47] kies^: has joined #ruby
[23:42:00] jpfuentes2: has joined #ruby
[23:42:42] desigx: has joined #ruby
[23:43:01] lolmaus: has joined #ruby
[23:43:36] dimasg: has joined #ruby
[23:48:23] ericsup: has joined #ruby
[23:49:25] _blizzy_: has joined #ruby
[23:49:32] freerobby: has joined #ruby
[23:52:31] sinkensabe: has joined #ruby
[23:55:07] mattp_: has joined #ruby
[23:57:56] mxrguspxrt: has joined #ruby
[23:59:38] desigx: has joined #ruby