« Back to channel list

#ruby - 29 November 2015

Forward 1 day »
[02:33:39] helpa: has joined #ruby
[02:35:05] maloik: has joined #ruby
[02:38:24] edj: has joined #ruby
[02:38:41] edj: is there somewhere i can take a test to see if i know enough ruby to do rails?
[02:39:04] Scriptonaut: I don't think so
[02:39:16] Scriptonaut: I would just get a decent understanding of ruby then try rails
[02:39:24] tomchapin: has joined #ruby
[02:39:31] Scriptonaut: how well do you know ruby
[02:39:39] gambl0re: has joined #ruby
[02:40:22] slacker: has joined #ruby
[02:41:53] Rodya_: has joined #ruby
[02:44:09] Radar: edj: ?rails
[02:44:11] Radar: ?rails edj
[02:44:11] ruboto: edj, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[02:44:20] dotix: has joined #ruby
[02:44:20] dotix: has joined #ruby
[02:44:49] Radar: hi blubjr
[02:46:02] landry: has joined #ruby
[02:52:32] jpaulo7: has joined #ruby
[02:55:15] NeverDie: has joined #ruby
[02:55:48] peterhil`: has joined #ruby
[02:56:30] Guest52138: has joined #ruby
[02:56:50] PaulCapestany: has joined #ruby
[02:57:42] sinepreggin: has joined #ruby
[02:57:50] ekinmur: has joined #ruby
[03:02:05] blackmesa: has joined #ruby
[03:06:16] akkad: has joined #ruby
[03:07:55] dlitvak: has joined #ruby
[03:08:21] bronson: has joined #ruby
[03:09:51] dlitvak: has joined #ruby
[03:11:16] mary5030: has joined #ruby
[03:12:15] pawnbox: has joined #ruby
[03:15:24] bnizzle: has joined #ruby
[03:16:58] bronson: has joined #ruby
[03:17:22] cyberfawkes: has left #ruby: ()
[03:22:56] snapcase: has joined #ruby
[03:23:16] chouhoulis: has joined #ruby
[03:24:08] PaulCapestany: has joined #ruby
[03:24:55] freerobby: has joined #ruby
[03:25:52] PaulCapestany: has joined #ruby
[03:26:30] griffindy: has joined #ruby
[03:28:51] mary5030: has joined #ruby
[03:31:23] manolo1: has left #ruby: ("WeeChat 1.3")
[03:33:03] pocketprotector: I have been tasked with learning python..
[03:33:11] yoongkang: has joined #ruby
[03:33:15] pocketprotector: I am finding Python to be more difficult than necessary.
[03:34:31] wsewolod: I like both, but then again I am not a Mac user.
[03:35:30] wldcordeiro: has joined #ruby
[03:37:02] maloik: has joined #ruby
[03:37:05] h99h9h88: has joined #ruby
[03:37:06] pocketprotector: I think Lynda's python3 videos are low quality material
[03:37:23] blubjr: lynda....
[03:37:36] pocketprotector: I watched Lynda's Ruby tutorial and I think it did a very good job.
[03:39:30] qiukun: has joined #ruby
[03:42:15] houhoulis: has joined #ruby
[03:43:23] shevy: does it really work to learn from videos
[03:44:46] agent_white: has joined #ruby
[03:45:20] dotix: has joined #ruby
[03:48:23] wsewolod: shevy: I've always preferred books
[03:50:45] pontiki: people have different modes of learning. different media work well for some, not for others
[03:51:17] minimalism: has joined #ruby
[03:51:40] pawnbox: has joined #ruby
[03:54:12] maloik: has joined #ruby
[03:54:51] Trynemjoel: has joined #ruby
[03:54:57] nofxx: has joined #ruby
[03:55:44] bigmac_: has joined #ruby
[03:58:46] bigmac_: im reading a tutorial but i cant find the documentation on class HashTable
[03:59:16] bigmac_: https://blog.engineyard.com/2013/hash-lookup-in-ruby-why-is-it-so-fast
[03:59:21] bigmac_: nice example.
[03:59:55] pontiki: HashTable isn't a ruby core class...
[04:00:23] Fire-Dragon-DoL: bigmac_: Hash is a class, HashTable doesn't exist
[04:01:16] Fire-Dragon-DoL: bigmac_: oh, the tutorial say "we'll need" aka, you have to create it
[04:02:29] bigmac_: i guess this class is his own?
[04:02:29] bigmac_: i hope to find assoc, value, key, fetch methods
[04:03:23] TrustInHim: has joined #ruby
[04:03:40] blubjr: bigmac_: the article looks like its explaining how hashes are implemented rather than how to use them
[04:03:41] TrustInHim: are Jewish people evil because they don't read the bible?
[04:04:01] ruboto: fflush, apeiros, seanstickle, Mon_Ouie, banisterfiend, zzak, Radar, jhass, Havenn, miah, sevenseacat, workmad3, Coraline, drbrain, rubyhacker1, slyphon, zenspider, ljarvis, Aria, Adaedra, baweaver
[04:04:29] jhass: !ban TrustInHim !T 1w racism
[04:04:30] ChanServ: +b TrustInHim!*@*
[04:04:30] ChanServ: ChanServ kicked TrustInHim: racism
[04:05:07] blackmesa: has joined #ruby
[04:05:29] bigmac_: i see, its his own class, its super fast lookups
[04:06:15] bigmac_: when millions of entry's exist, it can take seconds to lookup a key vs this tutorial(ms)
[04:06:30] babblebre: has joined #ruby
[04:09:37] mary5030: has joined #ruby
[04:11:29] solocshaw: has joined #ruby
[04:12:03] bigmac_: maybe there is a gem that already exist for storing has tables in chunks?
[04:16:18] braincrash: has joined #ruby
[04:18:59] douglass1: there's already a class, Hash, that does what that tutorial describes
[04:19:41] douglass1: bigmac_: the author just calls his re-implementation of it HashTable to prevent conflicts
[04:20:33] bigmac_: i believe he calls bin_count or bins...
[04:20:42] bigmac_: hash stuff is new for me...
[04:21:19] bigmac_: instead of storing millions of key/value's into a single has... he used bins
[04:22:07] douglass1: hashes use bins internally
[04:22:22] douglass1: you just don't have to think about them with Hash because ruby handles it all for you
[04:24:02] chouhoulis: has joined #ruby
[04:24:13] bigmac_: ill see if i can compare the same benchmarks, with a simple hash=Hash.new
[04:25:31] bigmac_: i maybe missing something.
[04:25:43] pontiki: bigmac_: that article is not describing a "better" Hash class, it's explaining what a hash table is, how it's implemented
[04:26:13] pontiki: the Hash is called that because it uses the classic hashing table storage and lookup scheme
[04:26:23] bigmac_: so, he just shows how ruby already uses bins?
[04:26:25] pontiki: it's a pretty well known algorithm
[04:30:57] pawnbox: has joined #ruby
[04:31:43] bigmac_: so, ruby already uses bins... when storing hash's
[04:32:23] pontiki: this is in the article:
[04:32:24] pontiki: "HOW MANY BINS DOES RUBY ACTUALLY USE?
[04:32:24] bigmac_: thank you for your help... hours i would have been messing around with this
[04:32:25] pontiki: Ruby manages the size of the bins dynamically. It starts with 11 and as soon as one of the bins has 5 or more elements, the bin size is increased and all hash elements are reallocated to their new corresponding bin."
[04:32:41] pontiki: (i'm not shouting, that's the article text)
[04:33:17] pontiki: from the top of the article: "Let's imagine for a second that we want to emulate the functionality in hashes because, for some strange reason, they have not been implemented yet."
[04:36:11] bigmac_: i guess i r4ead over to quickly.
[04:36:21] bf4: has joined #ruby
[04:36:32] bigmac_: ill watch out for implementation examples
[04:36:44] bigmac_: wondering off into the dark webs of examples
[04:36:46] pontiki: it's not you, especially, it's very common when reading on a screen
[04:36:53] blubjr: its good to know how things work, anyway
[04:37:51] kies: has joined #ruby
[04:38:49] pontiki: reading a screen produces a lot of fatigue, actually, and most strategies people use skips tons of information. i'm sure you've heard the typical strategy is to simply scan over a page, looking for highlights.
[04:39:36] bigmac_: i am glad i found that well written example.
[04:40:02] pontiki: if nothing else, staring into a glaring which screen trying to read a very thing, sans serif font
[04:40:09] pontiki: it's a great example, definitely
[04:40:19] pontiki: glaring white*
[04:42:29] bigmac_: im working with duplicate key/values... But
[04:42:51] bigmac_: key[0]=[value,more]
[04:43:06] bigmac_: all the keys are 0-10_000_000
[04:43:24] bigmac_: there are duplicates besides the key
[04:45:02] sivoais: has joined #ruby
[04:45:13] Axsuul: has joined #ruby
[04:45:32] dotix: has joined #ruby
[04:45:44] bigmac_: i was thinking about turning some machines on my network into Bins
[04:45:53] landry: has joined #ruby
[04:46:00] gix: has joined #ruby
[04:46:19] roshanavand: has joined #ruby
[04:47:19] pontiki: heh, you'll reimplement Cassandra if you don't watch out!
[04:47:30] bigmac_: is that the gem
[04:47:56] pontiki: it's a huge key-value store database, multi-machine, distributed
[04:48:05] bigmac_: oh... im book marking
[04:48:09] bigmac_: thank you lol
[04:48:34] bigmac_: also, i have learned that ruby mri threads are green?
[04:49:30] bigmac_: when searching a hash for a key... its quick... but when searching for a value its slow
[04:49:34] bigmac_: does this make sense?
[04:51:13] sivoais: has joined #ruby
[04:51:46] spt0: has joined #ruby
[04:52:17] pawnbox: has joined #ruby
[04:53:03] dopie: has joined #ruby
[04:53:56] Trynemjoel: has joined #ruby
[04:54:21] pawnbox: has joined #ruby
[04:56:16] shevy: I guess looking for the associated value takes one extra step at least?
[04:56:39] maloik: has joined #ruby
[04:56:43] landry: has joined #ruby
[04:59:37] landry: has joined #ruby
[05:00:32] pawnbox: has joined #ruby
[05:01:39] spt0: has joined #ruby
[05:02:48] bigmac_: invert the hash
[05:03:12] pontiki: the point of the hashing algorithm is the speed up the lookup by finding the head of the bin quickly, but then shooting the list of items in the bin
[05:03:28] pontiki: it's always going to be slower than an array
[05:03:34] pontiki: (just an array)
[05:04:05] pontiki: but, again, this algorithm has been worked to pieces, it's been around well before i attended uni
[05:04:35] pontiki: so unless you're particularly artful about algorithm optimization, you're probably not likely going to come with something better
[05:05:09] pontiki: if you're significantly worried about speed like this, you probably shouldn't be using ruby at all
[05:05:35] pontiki: but premature optimization is also one of the biggest problems coders have
[05:06:16] howdoi: has joined #ruby
[05:07:40] kies: has joined #ruby
[05:08:07] blackmesa: has joined #ruby
[05:11:20] bigmac_: im learning ,-)
[05:11:45] bigmac_: dealing with hash size around 10 million
[05:12:15] bigmac_: i hope to optimize for increasing to 100 million and maybe more
[05:12:52] pontiki: what are you storing?
[05:14:09] arup_r: has joined #ruby
[05:14:20] douglass1: according to wikipedia, hash tables were invented in the early 1950s
[05:14:27] douglass1: so yes, old old old
[05:16:20] shevy: we are digging towards the dinosaurs
[05:16:25] pontiki: older than i am
[05:16:45] bigmac_: i probably should own a computer if i dont understand email and how to use it
[05:17:26] shevy: you can still play games!
[05:17:27] edj: has joined #ruby
[05:17:59] edj: does anyone know why this "Unable to save /c2f.rb Error: Permission denied" would pop up in sublime when i try to save my file?
[05:20:22] douglass1: edj: just checking, are you sure you have write permissions for that file?
[05:20:23] slacker: has joined #ruby
[05:20:50] spt0: has joined #ruby
[05:20:53] edj: douglass1: well I just created it so i would assume so
[05:21:08] edj: it wouldn't even let me officially create it though
[05:21:19] edj: i tried to cmd s it
[05:21:20] douglass1: which os are you using?
[05:21:33] Aww: has left #ruby: ("Leaving")
[05:21:53] shevy: and you can save in other directories just fine?
[05:22:09] edj: normally yea
[05:22:22] edj: i have been coding in browser until now
[05:22:31] douglass1: can you save other files (not from sublime) in that directory?
[05:22:35] edj: i just started the grounded rubyist
[05:22:46] edj: i haven't tried
[05:23:27] edj: i just tried with .txt
[05:23:35] edj: sublime wont save anything at all
[05:24:42] chouhoulis: has joined #ruby
[05:24:48] edj: i just tried it with another folder
[05:24:53] edj: still same
[05:25:18] nirix: has joined #ruby
[05:25:26] bf4: has joined #ruby
[05:25:41] nfsnobody: has joined #ruby
[05:25:41] nfsnobody: has joined #ruby
[05:26:07] timmow: has joined #ruby
[05:27:26] douglass1: http://www.macinstruct.com/node/415 has some info on os x file/directory permissions that may or may not be helpful but since i haven't used a mac in months i should shut up now
[05:27:58] shevy: edj might be a more general problem
[05:28:00] zack6849: has joined #ruby
[05:28:00] zack6849: has joined #ruby
[05:29:26] blubjr: edj: try saving it as ~/c2f.rb
[05:29:37] bigmac_: has joined #ruby
[05:30:23] user1138: has joined #ruby
[05:30:46] edj: blubjr: didnt work
[05:31:08] edj: shevy: i only have one user on my computer so idk
[05:31:29] bkxd: has joined #ruby
[05:33:05] douglass1: can you save other files (not with sublime) in this directory?
[05:34:32] edj: and i was able to make a .rb file in aptana
[05:36:51] shevy: no idea what that is, normally saving files with sublime works fine
[05:37:34] lokulin: has joined #ruby
[05:37:35] user1138: has joined #ruby
[05:37:55] Outlastsheep: has joined #ruby
[05:38:32] h99h9h88: has joined #ruby
[05:38:48] bigmac_: can i search a hash for a key starting with a regex 0-100
[05:39:41] bigmac_: input_hash[/{0-100}/.to_s+" string"]
[05:40:42] h99h9h88_: has joined #ruby
[05:41:20] edj: shevy: could there be some dependency issue?
[05:42:09] slacker: has left #ruby: ("Leaving")
[05:42:36] slacker: has joined #ruby
[05:42:47] ur5us: has joined #ruby
[05:43:30] shevy: dunno. if you changed some python stuff, and that may be called during saving, perhaps that may explain why it would not work and delegate an error message
[05:43:32] douglass1: bigmac_: the keys method on a hash gives you an array of keys, and you can select the keys that match the regex
[05:45:24] bougyman: >> {'98foo' => :foo, '102bar' => :bar}.detect { |k,v| k.match /^1?(?:[0-9]){1,2}/ }
[05:45:26] ruboto: bougyman # => ["98foo", :foo] (https://eval.in/477442)
[05:46:00] bougyman: #select would give you an array of arrays.
[05:46:46] htmldrum: has joined #ruby
[05:46:51] dotix: has joined #ruby
[05:48:45] h99h9h88: has joined #ruby
[05:50:20] douglass1: huh, #select doesn't do that for me (ruby 2.2.1p85)
[05:50:36] douglass1: i get {'98foo' => :foo, '102bar' => :bar}.select { |k,v| k.match /^1?(?:[0-9]){1,2}/ } => {"98foo"=>:foo, "102bar"=>:bar}
[05:50:53] douglass1: so it just gives a hash that's some subset of the original one
[05:52:58] psye: has joined #ruby
[05:53:25] edj: i got it figured out thank you guys
[05:54:22] douglass1: ah, having select on a hash return on a hash was a change in ruby 1.9
[05:55:12] RobertBirnie: has joined #ruby
[05:55:28] douglass1: weird that they didn't change detect/find to match though
[05:57:23] maloik: has joined #ruby
[06:01:23] lxsameer: has joined #ruby
[06:01:24] lxsameer: has joined #ruby
[06:03:56] douglass1: *reads* apparently select and reject are the only enumerable methods that, when called on a hash, return a hash as you'd naively expect
[06:04:10] douglass1: how about that principle of least astonishment again?
[06:05:26] edj: has joined #ruby
[06:05:40] edj: is there a way to get a ruby console in dreamweaver??
[06:07:30] howdoicomputer: has joined #ruby
[06:11:08] blackmesa: has joined #ruby
[06:11:09] bkxd: has joined #ruby
[06:11:52] darkf: has joined #ruby
[06:14:48] Oog: has joined #ruby
[06:14:56] snapcase: has joined #ruby
[06:17:04] h99h9h88: has joined #ruby
[06:19:19] VeryBewitching: edj: I didn't even know Dreamweaver was still being made.
[06:24:03] tmtwd: has joined #ruby
[06:24:08] cpup: has joined #ruby
[06:25:12] durstburger: has joined #ruby
[06:25:27] chouhoulis: has joined #ruby
[06:26:01] edj: verybewitching: is there something better i can use?
[06:26:05] edj: I dont like it
[06:26:32] akosednar: has joined #ruby
[06:26:44] VeryBewitching: Well, I suppose it depends on what you're using Dreamweaver for.
[06:27:23] VeryBewitching: If you're just using it as a text editor you'd probably do better with Sublime Text or a variety of other editors.
[06:28:13] VeryBewitching: I use RubyMine for Ruby, but you'd have to pay for that.
[06:29:31] durstburger: hi there, im having trouble keeping ruby versions and gems aligned...
[06:29:41] durstburger: I had rbenv installed, but recently moved over to RVM
[06:30:07] durstburger: /usr/local/bin/ruby
[06:30:25] durstburger: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
[06:30:42] solocshaw: has joined #ruby
[06:30:43] durstburger: but when i run something like:
[06:31:08] ur5us: has joined #ruby
[06:31:18] durstburger: run a script that requires ex. mechanize, i get the following error
[06:31:21] durstburger: https://gist.github.com/adyrcz/604164513ba0a938821b
[06:32:16] durstburger: if i do a gem install mechanize it installs and works fine
[06:32:34] durstburger: but im concerned about the "2.2.3/lib/ruby/2.2.0" in the path of the error
[06:32:59] durstburger: why if im running ruby 2.2.3 is it holding gem inside a 2.2.0 folder?
[06:38:07] jayne: has joined #ruby
[06:40:29] tmtwd_: has joined #ruby
[06:41:26] bkxd: has joined #ruby
[06:41:54] Glenny: has joined #ruby
[06:42:01] mmitchell: has joined #ruby
[06:42:32] shevy: that is the API version
[06:44:29] shevy: the error means that the gem that was used could not find a mechanize gem
[06:47:20] dotix: has joined #ruby
[06:47:37] Helheim: has joined #ruby
[06:49:10] durstburger: so Shevy, how do I know where a gem is installed because i know i had it installed before switching from rbenv to rvm
[06:49:26] shevy: it depends on the gem that is used
[06:49:32] shevy: look at the output of "gem env"
[06:49:42] durstburger: btw, when i had rbenv installed i was running ruby 2.2.3, but after i deleted it and installed rvm, i still had ruby 2.2.3 installed
[06:50:05] shevy: yeah, it becomes more complex the more ruby versions you have, and the more different ruby version managers you use :)
[06:50:54] yardenbar: has joined #ruby
[06:51:10] DoYouKnow: has joined #ruby
[06:51:29] yoongkang: has joined #ruby
[06:53:56] htmldrum: has joined #ruby
[06:54:43] BSab: has joined #ruby
[06:55:14] stannard: has joined #ruby
[06:55:31] The_Phoenix: has joined #ruby
[06:58:22] maloik: has joined #ruby
[06:59:37] nertzy: has joined #ruby
[07:02:28] nertzy: has joined #ruby
[07:02:58] colegatron: has joined #ruby
[07:05:44] dionysus69: has joined #ruby
[07:06:42] reoring: has joined #ruby
[07:09:09] shevy: I opted for a simpler setup altogether, on linux, I just keep one ruby version these days, residing under /Programs/Ruby/2.2.3
[07:09:56] tuelz1: has joined #ruby
[07:10:45] calderonroberto: has joined #ruby
[07:11:09] ta: has joined #ruby
[07:12:18] REGGIN: has joined #ruby
[07:12:18] ChanServ: +b reggin!*@*
[07:12:18] ChanServ: ChanServ kicked reggiN: Unacceptable nick - http://ruby-community.com/pages/user_rules#rule_2_10
[07:13:00] umbridge: has joined #ruby
[07:14:10] blackmesa: has joined #ruby
[07:19:22] BSaboia: has joined #ruby
[07:19:47] colegatron: has joined #ruby
[07:22:14] h99h9h88: has joined #ruby
[07:22:33] s2013: has joined #ruby
[07:22:59] BrunoSaboia: has joined #ruby
[07:26:15] chouhoulis: has joined #ruby
[07:27:01] djbkd: has joined #ruby
[07:30:49] blt: has joined #ruby
[07:31:34] fantazo: has joined #ruby
[07:39:59] Kartikay: has joined #ruby
[07:41:20] bigmac_: has joined #ruby
[07:43:05] dionysus69: has joined #ruby
[07:43:26] shevy: in a .cgi file `ps aux` has US-ASCII encoding
[07:43:29] shevy: that always trips me up
[07:43:59] boshhead: has joined #ruby
[07:47:51] dotix: has joined #ruby
[07:49:14] shevy: >> p Encoding::ASCII_8BIT
[07:49:15] antgel: has joined #ruby
[07:49:15] ruboto: shevy # => #<Encoding:ASCII-8BIT> ...check link for more (https://eval.in/477454)
[07:52:01] blackmesa: has joined #ruby
[07:52:32] SalviaNobile: has joined #ruby
[07:53:01] yoongkang: has joined #ruby
[07:53:04] maloik: has joined #ruby
[07:54:44] durstburger: has joined #ruby
[07:57:16] allomov: has joined #ruby
[07:57:19] fantazo: has joined #ruby
[07:59:18] shevy: why did matz use this in cgi.rb ?
[07:59:19] shevy: @@max_multipart_length = 128 * 1024 * 1024
[07:59:36] kerunaru: has joined #ruby
[08:05:14] allomov: has joined #ruby
[08:07:35] antgel: has joined #ruby
[08:07:39] qiukun: has joined #ruby
[08:09:10] mozzarella: maybe it can't be bigger than 128 MB
[08:09:20] jgorak_: has joined #ruby
[08:09:46] r0bby_: has joined #ruby
[08:10:09] Pupp3tm4_: has joined #ruby
[08:11:26] boxrick1_: has joined #ruby
[08:12:39] qiukun: has joined #ruby
[08:13:29] mattarse: has joined #ruby
[08:13:33] futilegames: has joined #ruby
[08:13:40] xsdg: has joined #ruby
[08:13:47] railswebdev: has joined #ruby
[08:13:59] pabs: has joined #ruby
[08:15:12] shevy: no I mean why he used @@max_multipart_length ... that seems just a normal constant to me
[08:15:18] shevy: perhaps it is because the code is so old
[08:17:19] shortdudey123: has joined #ruby
[08:18:34] CloCkWeRX: has joined #ruby
[08:21:54] allomov: has joined #ruby
[08:22:29] hohenfall: has joined #ruby
[08:24:39] matp: has joined #ruby
[08:25:17] gilesww: has joined #ruby
[08:25:47] conrfrmn: has joined #ruby
[08:25:47] kies^: has joined #ruby
[08:25:57] Encapsulation: has joined #ruby
[08:26:27] gregf: has joined #ruby
[08:26:34] shevy: I see code constructs that I never before saw anywhere else
[08:26:36] shevy: such as this one:
[08:26:38] shevy: ObjectSpace::define_finalizer
[08:26:43] sarlalian: has joined #ruby
[08:26:59] chouhoulis: has joined #ruby
[08:28:41] Outlastsheep: has joined #ruby
[08:30:56] ghormoon: has joined #ruby
[08:32:53] malconis: has joined #ruby
[08:33:16] ur5us: has joined #ruby
[08:36:32] Gnut: has joined #ruby
[08:36:39] Xeago: has joined #ruby
[08:44:10] jackcom: has joined #ruby
[08:46:56] tildes: has joined #ruby
[08:47:16] roshanavand: has joined #ruby
[08:47:39] napcae_: has joined #ruby
[08:48:17] RegulationD: has joined #ruby
[08:51:57] maloik: has joined #ruby
[08:55:31] howdoicomputer: has joined #ruby
[08:56:49] stannard: has joined #ruby
[08:58:19] yardenbar: has joined #ruby
[09:01:04] arup_r: has joined #ruby
[09:04:12] beast: has joined #ruby
[09:08:56] null__: has joined #ruby
[09:08:56] snapcase: has joined #ruby
[09:09:21] tildes: has joined #ruby
[09:09:33] null__: has joined #ruby
[09:10:40] tuelz1: has joined #ruby
[09:15:02] maloik: has joined #ruby
[09:16:12] roshanavand: has joined #ruby
[09:17:21] exadeci: has joined #ruby
[09:17:33] Kartikay: has joined #ruby
[09:21:46] CloCkWeRX: has joined #ruby
[09:22:51] User458764: has joined #ruby
[09:24:23] stuartb_: has joined #ruby
[09:24:34] h99h9h88: has joined #ruby
[09:24:51] testetest: has joined #ruby
[09:25:21] smokey: has joined #ruby
[09:26:06] karapetyan: has joined #ruby
[09:26:36] antgel: has joined #ruby
[09:26:46] Oog: has joined #ruby
[09:27:46] chouhoulis: has joined #ruby
[09:27:49] ur5us: has joined #ruby
[09:28:52] mmitchell: has joined #ruby
[09:29:37] CloCkWeRX: has left #ruby: ()
[09:29:44] arup_r: has joined #ruby
[09:30:02] ghormoon: has joined #ruby
[09:30:24] [spoiler]: testetest: Hello
[09:31:53] futilegames: has joined #ruby
[09:32:11] cookiez: has joined #ruby
[09:33:19] tobiasgreen: has joined #ruby
[09:35:00] johnny56: has joined #ruby
[09:36:04] fulgore_: has joined #ruby
[09:36:04] cibs: has joined #ruby
[09:36:04] aredridel: has joined #ruby
[09:36:21] pandaant: has joined #ruby
[09:37:14] ta: has joined #ruby
[09:39:23] Voxxit: has joined #ruby
[09:39:46] Macaveli: has joined #ruby
[09:39:46] leat: has joined #ruby
[09:39:59] roshanavand: has joined #ruby
[09:40:18] BaroMeter: has joined #ruby
[09:47:41] TripleK: has joined #ruby
[09:47:44] TripleK: for free speech type /join #IHATENIGGERS
[09:49:07] apeiros: !ban TripleK !P racists not welcome
[09:49:08] ChanServ: +b TripleK!*@*
[09:49:08] ChanServ: ChanServ kicked TripleK: racists not welcome
[09:49:41] SCHAAP137: has joined #ruby
[09:52:56] maloik: has joined #ruby
[09:53:18] CloCkWeRX: has joined #ruby
[09:56:19] howdoicomputer: has joined #ruby
[09:58:05] marr: has joined #ruby
[09:58:33] yardenbar: has joined #ruby
[10:00:31] yfeldblum: has joined #ruby
[10:00:54] ta: has joined #ruby
[10:05:15] sandstrom: has joined #ruby
[10:05:28] roshanavand: has joined #ruby
[10:10:52] gustav: has joined #ruby
[10:11:55] Gustavo: has joined #ruby
[10:12:39] yardenbar: has joined #ruby
[10:13:54] arup_r: has joined #ruby
[10:14:27] Jackneill: has joined #ruby
[10:21:51] CloCkWeRX: has joined #ruby
[10:22:11] ss_much: has joined #ruby
[10:23:36] spider-mario: has joined #ruby
[10:23:53] For: has joined #ruby
[10:24:06] For: has left #ruby: ()
[10:24:08] User458764: has joined #ruby
[10:27:10] ta: has joined #ruby
[10:28:17] kerunaru: has joined #ruby
[10:28:30] chouhoulis: has joined #ruby
[10:31:02] kerunaru: has joined #ruby
[10:33:53] jackcom: has joined #ruby
[10:34:11] codecop: has joined #ruby
[10:34:25] rodfersou: has joined #ruby
[10:34:39] jackcom: ruby can use selenium?
[10:36:39] InvGhost: has joined #ruby
[10:36:49] apeiros: jackcom can use google?
[10:37:13] apeiros: jackcom: you're making it much too easy for yourself, and I won't tolerate that forever.
[10:37:13] jackcom: i m not good at searching google. :(
[10:37:18] apeiros: then get better.
[10:37:33] jackcom: yea apeiros i will :(
[10:37:46] apeiros: what search term did you use then?
[10:37:50] smokey_2303: has joined #ruby
[10:37:59] jackcom: selenium forever?
[10:38:16] jackcom: selenium forever use
[10:38:19] apeiros: and why'd you not search for "ruby selenium", or "use selenium with ruby"?
[10:38:32] jackcom: ruby selenium
[10:38:39] jackcom: ok i will try it :) apeiros
[10:38:41] roshanavand: has joined #ruby
[10:38:55] tobiasgreen: http://seleniumtutorials.com/2013/09/25/selenium/ruby-selenium-webdriver-tutorial-part-1-writing-our-first-test/
[10:39:07] bkxd: has joined #ruby
[10:39:11] jackcom: oh thanks tobiasgreen :)
[10:40:38] yoongkang: has joined #ruby
[10:41:11] SCHAAP137: has joined #ruby
[10:41:19] yardenbar: has joined #ruby
[10:42:11] shevy: apeiros lol best reply ever :D
[10:43:54] ponga: has joined #ruby
[10:47:15] smokey: has joined #ruby
[10:47:55] smokey: has joined #ruby
[10:48:00] agit0: has joined #ruby
[10:48:58] symm-: has joined #ruby
[10:49:37] iateadonut: has joined #ruby
[10:52:45] sepp2k: has joined #ruby
[10:53:39] maloik: has joined #ruby
[10:57:06] smokey: has joined #ruby
[10:58:20] stannard: has joined #ruby
[10:58:55] howdoicomputer: has joined #ruby
[11:01:41] minimalism: has joined #ruby
[11:02:41] Ox0dea: has joined #ruby
[11:06:15] zeroDivisible: has joined #ruby
[11:06:27] Xaitec: has joined #ruby
[11:07:44] Xeago: has joined #ruby
[11:08:02] [spoiler]: shevy: You mean "can use google?" :D
[11:08:06] [spoiler]: Yeah I lolled at that, too
[11:09:01] smokey: has joined #ruby
[11:09:24] [spoiler]: testetest: hi
[11:09:24] blubjr: hi testetest
[11:09:54] [spoiler]: I think that's the end of testetest's vocabulary
[11:10:40] testetest: has left #ruby: ()
[11:10:58] [spoiler]: Lol. This happened earlier, too
[11:11:03] Ox0dea: It's a troll.
[11:11:12] Arnvald: has joined #ruby
[11:11:27] tuelz1: has joined #ruby
[11:11:33] Ox0dea: It wants us to ?guys it, if I'm not much mistaken.
[11:12:05] apeiros: let's find out :D
[11:12:12] Ox0dea: It's gone.
[11:12:12] apeiros: oh, they left
[11:12:35] apeiros: WHO QUERIES MY VERSION?!?
[11:12:42] apeiros: ACTION looks at Ox0dea
[11:12:56] apeiros: I wonder - what does it actually say?
[11:13:09] Ox0dea: I was going to recommend smart filtering if you used a client I recognized.
[11:13:23] apeiros: sadly limechat still doesn't have that :<
[11:13:50] apeiros: so I get either all the join/part noise, or won't notice joins/parts at all.
[11:14:32] Ox0dea: I see when a new speaker joined and when a recent speaker parts.
[11:14:36] Ox0dea: It's purrfect.
[11:14:47] apeiros: yes, that's precisely what I'd want.
[11:15:19] User458764: has joined #ruby
[11:15:32] apeiros: i.e. before first message, show time & other info about join. only show parts of people who recently spoke. also show joins of people I recently interacted with.
[11:17:15] shevy: [spoiler] yeah
[11:17:22] shevy: [spoiler] was so fitting as a reply to jackcom :D
[11:20:10] [spoiler]: apeiros: I think it's hilarious you use a client called LimeChat, and are in a "lemon" situation (as in "when life gives you lemons..."). I think this is a perfect opportunity to make a lemonade and a pull request :P
[11:20:34] apeiros: [spoiler]: I'm actually just too lazy to abandon ship
[11:20:37] Macaveli: has joined #ruby
[11:20:41] apeiros: I want a client again which supports ruby scripting.
[11:20:48] [spoiler]: Weethus: is nice
[11:20:54] [spoiler]: Sorry, I meant WeeChat
[11:20:58] apeiros: problem is - all the interesting irc clients are CLI clients. but I prefer "full blown" UI
[11:22:01] apeiros: I got recommended to use irssi, weechat and textual I think
[11:22:16] [spoiler]: Yeah I actually preferred UIs, but then gave in to some people here being all "Ooh but WeeChat is like God's gift." and "WeeChat is the best thing since the Holy Grail!"
[11:22:29] [spoiler]: and I tried it and... They were right.
[11:22:35] apeiros: ?guis [spoiler]
[11:22:35] ruboto: [spoiler], I don't know anything about guis
[11:25:25] roshanavand: has joined #ruby
[11:25:54] araujo: has joined #ruby
[11:26:22] [spoiler]: I am not even sure why this is so funny, but I'm cracking up: http://img.memecdn.com/no-comment_o_2073517.webp
[11:27:09] [spoiler]: wat http://img.memecdn.com/watch-out-falling-cow_c_5248059.webp
[11:27:12] araujo: has joined #ruby
[11:27:28] shevy: [spoiler] lol what kind of typo was this ... weethus ... weechat
[11:27:31] yfeldblum: has joined #ruby
[11:27:43] Ox0dea: shevy: Are you jackcom?
[11:28:03] shevy: Ox0dea you think I am not too lazy?!?!
[11:28:30] Ox0dea: It was a particularly double-plus-unsmart question is all.
[11:28:34] shevy: jackcom just has way too much time
[11:28:41] [spoiler]: shevy: I hit tab for some reason after typing Wee
[11:28:47] Ox0dea: [spoiler] has been spoiled by tab completion to the point that he tries to use it to complete things other than nicks.
[11:29:37] Ox0dea: blubjr: How do you manage your RSI
[11:31:21] Ox0dea: More pressingly, anybody who proposes Alt-/ over Tab with a smile should probably get checked. :P
[11:31:46] jackcom: i think that osx is best os rathere than linux
[11:32:09] Ox0dea: jackcom: Enlighten us.
[11:32:20] blackmesa: has joined #ruby
[11:32:49] Ox0dea: jackcom: Why do you think that?
[11:33:33] [spoiler]: Ox0dea: marketing
[11:33:49] jackcom: because if install something to linux, there is many thing to do with it. but osx can install program easily
[11:33:55] [spoiler]: What kina bullshit is this. Imagine tilting your wrist too muchhttp://img.memecdn.com/so-much-falling-out_webm_6021557.gif
[11:34:01] [spoiler]: or walking in tight spaces
[11:34:32] jackcom: osx is best
[11:34:58] [spoiler]: s/best/second best/
[11:35:13] jackcom: novel use mac too 8) servant use linux
[11:35:27] Ox0dea: jackcom: "novel"?
[11:35:53] solenoids: has joined #ruby
[11:35:56] FooMunki: has joined #ruby
[11:36:06] jackcom: nobility == aristocrat == lort
[11:36:32] shevy: Ox0dea you provoked him!
[11:36:55] Ox0dea: I'm still interested in them clinically.
[11:37:25] shevy: you are a true troll surgeon, dissecting and inspecting and stuff
[11:38:11] Ox0dea: For instance, they've said before that English is their native tongue, but I don't see how that could be.
[11:38:42] edwinvdgraaf: has joined #ruby
[11:38:50] Ox0dea: I'd like to figure out the whats and wherefores of that pretension.
[11:40:19] napcae: has joined #ruby
[11:42:33] maloik: has joined #ruby
[11:48:20] baweaver: has joined #ruby
[11:49:19] maloik: has joined #ruby
[11:51:00] jackcom: where i can paste my code?
[11:51:23] shevy: jackcom ask Ox0dea if he likes you alot
[11:51:37] CloCkWeRX: has joined #ruby
[11:51:46] shevy: jackcom is it really your code ... :)
[11:51:55] Ox0dea: I sure hope so.
[11:51:58] shevy: http://pastie.org/
[11:53:11] jackcom: http://pastebin.com/q9WdbD8h
[11:53:13] ruboto: jackcom, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/3844245526602050cfa0
[11:53:13] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[11:53:47] jackcom: http://pastie.org/10588669 <?????? help me
[11:53:51] agit0: has joined #ruby
[11:54:53] shevy: jackcom this works
[11:55:00] JStoker: has joined #ruby
[11:55:00] EvilJStoker: has joined #ruby
[11:55:01] jackcom: yeah, i know
[11:55:03] RealMarc: has joined #ruby
[11:55:04] shevy: Bar is different than Foo is though
[11:55:08] Ox0dea: jackcom: It's helpful to consider `increment_counter` to be a singleton method rather than a class method.
[11:55:21] agit0: has joined #ruby
[11:55:24] shevy: your @ is specific to either Foo or Bar
[11:55:25] jackcom: singleton method
[11:55:42] Ox0dea: jackcom: A singleton method is a method that exists on a single, specific object.
[11:55:50] Mekkis: has joined #ruby
[11:56:01] tomphp: has joined #ruby
[11:56:06] Ox0dea: >> s = 'foo'; def s.length; 42; end; [s.length, 'foo'.length] # jackcom
[11:56:07] ruboto: Ox0dea # => [42, 3] (https://eval.in/477483)
[11:56:13] shevy: jackcom http://pastie.org/10588676
[11:56:16] jackcom: Ox0dea: oh i have heard of singleton method thanks
[11:56:53] Ox0dea: jackcom: Well, then it doesn't take much of a leap to realize that a Class is essentially just another object, capable of having its own instance variables and singleton methods.
[11:56:56] yxhuvud: jackcom: seems you are one of the few that actually want to use @@class-variables.
[11:57:44] jackcom: ok thanks shevy Ox0dea yxhuvud
[11:58:33] yoongkang: has joined #ruby
[11:59:12] yxhuvud: or hmm. actually, no. Your code doesn't really show what you want to accomplish.
[11:59:26] [spoiler]: yxhuvud: rarely does
[11:59:38] howdoicomputer: has joined #ruby
[12:00:06] apeiros: yxhuvud: weeeell actually??? we don't have the faintest idea what jackcom wants.
[12:00:26] Ox0dea: How the tables have turned.
[12:00:30] [spoiler]: apeiros: oh your client inserts an ellipsis when you type `...` that is fancy
[12:00:36] apeiros: [spoiler]: it doesn't
[12:00:54] [spoiler]: Did you add a plugin for it?
[12:01:00] apeiros: I think you can teach osx to do that, though. but I type it manually.
[12:01:28] apeiros: opt-. is faster to type than ... :)
[12:02:47] [spoiler]: Once upon a time I created cool mappings, then I never used them, then some bizarre things started happening in my text editor, and it took me 2 days to debug wtf was going on because I forgot about them
[12:03:24] [spoiler]: oh and they started happening because I switched to atom and some atom KBs collided with my mappings
[12:03:24] Ox0dea: Vim's digraph support is pretty good.
[12:03:29] [spoiler]: Ox0dea: Oh I love that
[12:03:38] jackcom: Ox0dea: i think that class method can access to instance variable. because instace variabel can be set when class is designed.
[12:03:40] Ox0dea: I only really use it for Greek and a few box drawing characters.
[12:03:44] apeiros: hm, I wonder whether git can now handle changing case of a filename???
[12:03:47] [spoiler]: this is the best thing ever: ^KOK
[12:03:57] jackcom: @foo_count=0
[12:04:02] jackcom: directly setting
[12:04:05] apeiros: jackcom: ivars can be accessed by classes because classes are objects
[12:04:13] apeiros: objects are instances, instances have instance variables.
[12:04:17] Ox0dea: [spoiler]: Oh, I use the first-backspace-second input method.
[12:04:31] apeiros: Foo.instance_variables will list all ivars the class itself possesses
[12:04:44] [spoiler]: Ox0dea: Didn't even know about that one
[12:04:50] jackcom: yeah thanks apeiros :)
[12:04:56] apeiros: whereas Foo.new.instance_variables will list all ivars an *instance* of Foo has
[12:05:42] htmldrum: has joined #ruby
[12:06:38] peterhil`: has joined #ruby
[12:07:19] Ox0dea: jackcom: What kinds of object are permitted to have instance variables?
[12:07:39] jackcom: i don???t know
[12:07:50] jackcom: Ox0dea: i don???t know
[12:07:58] Ox0dea: Why do you do that shit?
[12:07:59] jackcom: heh my mistake
[12:08:18] minimalism: has joined #ruby
[12:08:26] apeiros: !kick jackcom told you no more nickname only lines
[12:08:27] ruboto: ruboto kicked jackcom: you no more nickname only lines
[12:08:27] ruboto: -o ruboto
[12:08:41] apeiros: ACTION needs a lart-stick for this one.
[12:09:15] [spoiler]: Oh wow. How often does this happen for him to have gotten kicked for this LOL
[12:09:28] apeiros: all. the. f'cking time.
[12:10:01] apeiros: got better when I said I'd kick if it happened again.
[12:10:25] apeiros: and with better I mean it took a full day
[12:11:13] toretore: has joined #ruby
[12:11:15] arup_r: has joined #ruby
[12:11:21] apeiros: I actually pondered whether to let it slip as their S:N ratio has improved significantly.
[12:11:36] Ox0dea: I don't see why you didn't, to be honest.
[12:11:36] [spoiler]: Damn. Maybe he's new to the concept or something.
[12:11:40] lipoqil: has joined #ruby
[12:12:45] jackcom: has joined #ruby
[12:13:01] Ox0dea: jackcom: Can a String have instance variables?
[12:13:43] jackcom: really i m member of IS. :x
[12:14:39] [spoiler]: jackcom: Nobody accused you of that...
[12:15:37] Ox0dea: Regardless, I've phoned the authorities.
[12:15:55] apeiros: jackcom: that kind of deflection won't get you anywhere.
[12:16:14] apeiros: jackcom: you got kicked for a reason, and it wasn't "being a member of IS". own up to your faults and get better.
[12:16:59] [spoiler]: Ox0dea: Wait, did something happen? Why did you have to call the authorities?
[12:17:14] jackcom: ok apeiros :)
[12:17:36] Ox0dea: [spoiler]: There's a terrorist in our midsts!
[12:18:05] bronson: has joined #ruby
[12:18:13] [spoiler]: jackcom: Essentially, you got kicked because your typing is faster than your thinking. :P
[12:18:39] jackcom: my hand is very fast
[12:18:50] Ox0dea: jackcom: Wanna race?
[12:19:10] jackcom: i m eating food now
[12:19:16] jackcom: i can???t type now
[12:19:26] [spoiler]: I could go eat some food, too... BRB
[12:19:58] tknz: has joined #ruby
[12:20:03] Ox0dea: jackcom: Would you say that you're "afraid" to learn Ruby?
[12:20:37] apeiros: *sob* bootstrap repo - gemfiles with x flag set. sure???
[12:23:18] futilegames: has joined #ruby
[12:23:50] [spoiler]: Gave up on my quest. there's only sweets in the house lol
[12:24:18] apeiros: ACTION at work, not even sweets here
[12:24:35] [spoiler]: It's a Sunday!
[12:24:54] [spoiler]: Don't tell me I overslept and that it's Monday again
[12:25:13] apeiros: [spoiler]: you've overslept. it's tuesday.
[12:25:34] [spoiler]: no it's not I checked the calendar now!
[12:25:45] apeiros: dang, foiled. again.
[12:26:11] h99h9h88: has joined #ruby
[12:29:38] symm-: has joined #ruby
[12:29:51] Marsupermammal: has joined #ruby
[12:29:57] chouhoulis: has joined #ruby
[12:31:15] shevy: >> /abc/.encoding.to_s
[12:31:16] ruboto: shevy # => "US-ASCII" (https://eval.in/477493)
[12:31:54] Marsupermammal: Given the following, how do I return the value after repos: for the line where name: == foo :
[12:31:54] Marsupermammal: service = [ { name: 'foo', repos: 'repo1'},{ name: 'bar', repos:'repo2'}]
[12:32:10] [spoiler]: Ever since our designer at work went to maternity leave, they're making me do her shit. I'm the junior sys admin not a "do-it-all" slave
[12:32:40] shevy: [spoiler] haha
[12:32:46] Marsupermammal: @[spoiler] doesn't junior sys admin == do-it-all slave?
[12:33:19] [spoiler]: Marsupermammal: I suppose that explains it
[12:33:53] Ox0dea: Marsupermammal: Are you a platypus, then?
[12:33:54] [spoiler]: Marsupermammal: you could use Enumerable#find
[12:33:55] apeiros: Marsupermammal: [] means you have an array. {} means there's hashes nested in that array. see Array#find
[12:34:12] shevy: so if I understand this correctly, regexes have encodings as well?
[12:34:22] pawnbox: has joined #ruby
[12:34:30] Ox0dea: shevy: Now you're a goldfish too?! :<
[12:34:35] [spoiler]: and/or map if you only want the value behind :repos
[12:34:40] Marsupermammal: Ox0dea Yes, and that's impressive.
[12:34:52] shevy: Ox0dea come on man
[12:35:01] Ox0dea: shevy: We talked about Regexp encodings, like, a month ago?
[12:35:13] shevy: Ox0dea I have no recollection of that whatsoever
[12:35:18] Ox0dea: http://i.imgur.com/Ufbr5ej.gif
[12:36:20] sdothum: has joined #ruby
[12:37:42] cdg: has joined #ruby
[12:38:05] bluOxigen: has joined #ruby
[12:38:08] Ox0dea: shevy: http://logs.ryanbigg.com/ruby?date=2015-09-16#4118819
[12:38:38] Ox0dea: Going from "does the encoding of a regex matter?" to "regexes have encodings as well?" is a little suspect.
[12:38:48] subscope: has joined #ruby
[12:38:52] r34d3x: has joined #ruby
[12:39:39] shevy: ok that is cool
[12:40:17] lkba: has joined #ruby
[12:40:32] Ox0dea: But, like, what happened?
[12:40:36] shevy: no please
[12:40:51] shevy: you are wasting time
[12:41:41] Ox0dea: I realize this is a little embarrassing, but there could be a very serious medical condition at play here.
[12:42:16] shevy: <Ox0dea> shevy: Now you're a goldfish too?! :<
[12:42:19] shevy: You set the tone pal
[12:42:32] Ox0dea: I'm not sure I follow?
[12:42:37] RobertBirnie: has joined #ruby
[12:43:12] pawnbox: has joined #ruby
[12:43:22] [spoiler]: Ox0dea: that's because you're born to be a leader!
[12:43:36] Ox0dea: [spoiler]: It's right there in the name!
[12:46:15] sdothum: has joined #ruby
[12:47:24] ceejey: has joined #ruby
[12:48:51] Bilge: Do you guys think Rubo makes you into a smarter?
[12:49:02] [spoiler]: I was born a smarter
[12:49:23] Ox0dea: Bilge: How do I into smarter?
[12:49:47] RegulationD: has joined #ruby
[12:50:02] apeiros: smells like troll spirit
[12:50:23] Ox0dea: I'll prepare the pyre.
[12:50:30] apeiros: I'll get the pitchforks
[12:50:37] smokey: has joined #ruby
[12:50:42] karapetyan: has joined #ruby
[12:51:09] peterhil`: has joined #ruby
[12:52:25] Xeago: has joined #ruby
[12:52:31] Ox0dea: We'll need a few pitchknives as well; barbecued troll isn't particularly tender.
[12:52:45] [spoiler]: apeiros: Well the question is nice. I think Ruby can help one become smarter. I learned a lot of new concepts by tinkering in Ruby and/or inspecting other people's Ruby code. I think it made am an overall better programmer. I don't think I would've been able to "grow" as efficiently in any other language. Not to mention some of you in the channel also contributed a lot to that, and showed me what a nice
[12:52:47] [spoiler]: community means (I had previous negative experiences). So yes, Ruby did make me smarter and a better person.
[12:52:57] [spoiler]: Didn't think it would end up this long
[12:53:21] apeiros: Bilge: ok, unequivocal answer is "yes".
[12:53:40] [spoiler]: or just "yes"
[12:54:33] apeiros: Ox0dea: the torch guy is sleeping again anyway.
[12:54:43] FooMunki: has joined #ruby
[12:54:46] apeiros: ACTION not sure who's on torch-duty this week
[12:55:42] blackmesa: has joined #ruby
[12:58:03] maloik: has joined #ruby
[12:58:21] Macaveli: has joined #ruby
[12:58:37] tomphp: has joined #ruby
[13:00:23] howdoicomputer: has joined #ruby
[13:01:13] [spoiler]: Next time someone asks me to do infographics, I'll just say "fuck no". Everyone's up in my business with what they don't like, without pointers what they don't like about it or how to make it better, and now I was given a 2KB essay and need to incorporate that into the infographics. What. The. Fuck. Saying yes to this has been such a colossal regret.
[13:01:22] agit0: has joined #ruby
[13:01:46] Ox0dea: [spoiler]: I'll be looking for you in /r/dataisbeautiful.
[13:02:12] [spoiler]: And to make it worse, I was supposed to have a work-free weekend, and I won't even get paid for this.
[13:02:23] [spoiler]: Ox0dea: more like /r/datatotheground
[13:02:41] Ox0dea: > I'm not a part of your system.
[13:03:22] Ox0dea: For the uninitiated: https://www.youtube.com/watch?v=gAYL5H46QnQ
[13:03:35] adaedra: has joined #ruby
[13:04:47] dlitvak: has joined #ruby
[13:05:19] SCHAAP137: has joined #ruby
[13:05:27] pawnbox: has joined #ruby
[13:05:40] [spoiler]: na koju jebenu foru je logo skliznuo u 2013?
[13:05:44] CloCkWeRX: has left #ruby: ()
[13:05:47] [spoiler]: wrong channel
[13:05:56] Ox0dea: Shinzu maki desu ne.
[13:06:12] adaedra: Gesundheit.
[13:06:18] Ox0dea: Baloncesto.
[13:07:00] [spoiler]: translation (HR): "How the fuck did the logo slip into 2013" if you're wondering :D
[13:07:12] [spoiler]: probably sounds bizarre without context
[13:07:37] adaedra: It was better without the translation, tbh.
[13:07:50] adaedra: Yielded a better mystery.
[13:08:45] Ox0dea: http://i.imgur.com/RWcA0ot.png
[13:09:01] Ox0dea: I suppose that doesn't count as a Googlewhack?
[13:10:08] blackmes1: has joined #ruby
[13:13:03] bubbys: has joined #ruby
[13:13:07] tomphp: has joined #ruby
[13:13:30] tuelz1: has joined #ruby
[13:14:07] pawnbox: has joined #ruby
[13:15:46] NeverDie: has joined #ruby
[13:16:30] arup_r: has joined #ruby
[13:17:30] jackcom: i eat snake that is catched a few days ago.
[13:18:26] apeiros: jackcom: enjoy your meal, I guess?
[13:18:48] maloik: has joined #ruby
[13:18:53] tomphp: has joined #ruby
[13:18:57] jackcom: yeah, i like snake food. :) apeiros
[13:19:00] bronson: has joined #ruby
[13:20:50] arup_r: has joined #ruby
[13:21:33] shevy: so now he appends the nick
[13:22:01] colegatron: has joined #ruby
[13:22:50] arup_r: has joined #ruby
[13:24:01] TheHodge: has joined #ruby
[13:24:24] brt: has joined #ruby
[13:25:42] sankaber: has joined #ruby
[13:27:57] blackmes1: has joined #ruby
[13:29:45] allcentury: has joined #ruby
[13:30:05] tomzx_mac: has joined #ruby
[13:30:42] chouhoulis: has joined #ruby
[13:33:22] tvw: has joined #ruby
[13:40:05] maloik: has joined #ruby
[13:40:37] jdawgaz: has joined #ruby
[13:42:12] kfpratt: has joined #ruby
[13:42:35] Ox0dea: jackcom: What other language(s) do you speak?
[13:42:55] jackcom: i use Russian language Ox0dea
[13:43:06] Ox0dea: Thank you, jackcom.
[13:43:12] jackcom: why? Ox0dea
[13:43:21] ghoti: has joined #ruby
[13:43:22] Ox0dea: Because reasons, jackcom.
[13:43:33] marr: has joined #ruby
[13:43:35] apeiros: anthropology, I presume
[13:44:06] agit0: has joined #ruby
[13:44:47] Azure|dc: has joined #ruby
[13:45:52] voodo: has joined #ruby
[13:46:47] pandaant: has joined #ruby
[13:49:45] M-mistake: has joined #ruby
[13:50:35] M-Kodo: has joined #ruby
[13:53:12] maloik: has joined #ruby
[13:53:22] CloCkWeRX: has joined #ruby
[13:55:37] purplexed-: has joined #ruby
[13:55:37] purplexed-: has joined #ruby
[13:57:51] c0ncealed: has joined #ruby
[13:58:38] wsewolod: has joined #ruby
[13:59:37] jdawgaz: has joined #ruby
[13:59:56] freerobby: has joined #ruby
[14:00:23] yoongkang: has joined #ruby
[14:01:21] Macaveli: has joined #ruby
[14:01:23] howdoicomputer: has joined #ruby
[14:03:50] maloik: has joined #ruby
[14:04:12] agit0: has joined #ruby
[14:05:45] nertzy: has joined #ruby
[14:06:13] dlitvak: has joined #ruby
[14:08:24] julieeharshaw: has joined #ruby
[14:08:46] BSaboia: has joined #ruby
[14:08:48] edwardly: has joined #ruby
[14:08:49] edwardly: has joined #ruby
[14:08:49] User458764: has joined #ruby
[14:08:55] diesel: has joined #ruby
[14:08:57] inteq: has joined #ruby
[14:12:42] dorei: has joined #ruby
[14:14:05] baweaver: has joined #ruby
[14:14:15] tuelz1: has joined #ruby
[14:15:26] brunto: has joined #ruby
[14:15:32] apeiros: so for one of my private projects I started with abandoning ruby & rails filenaming conventions, which allows me to automatically autoload all constants. I wrapped it up into a gem: https://github.com/apeiros/zeroload
[14:15:35] apeiros: opinions are welcome.
[14:16:22] inukshuk_: has joined #ruby
[14:16:32] voodo: has joined #ruby
[14:16:48] Emmanuel_Chanel: has joined #ruby
[14:16:54] lurch_: has joined #ruby
[14:17:13] Emmanuel_Chanel: has joined #ruby
[14:18:03] doublemalt_: has joined #ruby
[14:18:10] apeiros: I'll consider making it a 1.0.0 release once I figured out a way to provide it in 3 different ways: patch of Module, refinement of Module, neither (manual call to Zeroload.module). Not sure how to conveniently do that.
[14:18:15] bronson: has joined #ruby
[14:19:32] adaedra: I don't like autoload.
[14:21:01] apeiros: it does have a significant downside: it kills explorability. reminds me that I haven't added "preload!" which would amend that.
[14:22:07] adaedra: Even if, I agree, it's prettier than a bunch of requires.
[14:24:15] apeiros: let me see. Zeroload.preload! shouldn't be hard.
[14:24:27] mmitchell: has joined #ruby
[14:24:47] allomov_: has joined #ruby
[14:25:32] Xeago_: has joined #ruby
[14:25:37] diegoaguilar: has joined #ruby
[14:26:06] maloik: has joined #ruby
[14:26:23] lxsameer: has joined #ruby
[14:26:23] lxsameer: has joined #ruby
[14:28:03] porfa: has joined #ruby
[14:28:15] baweaver: has joined #ruby
[14:30:22] pawnbox: has joined #ruby
[14:31:17] pawnbox: has joined #ruby
[14:31:27] chouhoulis: has joined #ruby
[14:31:35] mickey_mouse: has joined #ruby
[14:33:23] antgel: has joined #ruby
[14:35:09] jackcom: https://rubymonk.com/learning/books/4-ruby-primer-ascent/chapters/45-more-classes/lessons/108-displaying-objects <?????? i m studying here. when i can end the course of monk?
[14:35:12] RobertBirnie: has joined #ruby
[14:35:24] Meow-J: has joined #ruby
[14:35:40] Xeago: has joined #ruby
[14:35:45] aryaching: has joined #ruby
[14:36:02] allomov: has joined #ruby
[14:37:14] jackcom: when i can finish monk course? adaedra
[14:37:29] havenwood: jackcom: When you reach enlightenment. Not before!
[14:37:38] adaedra: When you're at the end?
[14:37:52] jackcom: yes adaedra
[14:37:55] Ox0dea: jackcom: Why are you trying to learn Ruby?
[14:38:11] jackcom: Ox0dea: good point
[14:38:16] apeiros: huh? I thought Module.const_get now was able to load "deep" constants?
[14:38:26] shevy: You can check-out any time you like from monkhood,
[14:38:27] adaedra: We need to load deeper.
[14:38:27] shevy: But you can never leave.
[14:38:32] adaedra: *inception horn*
[14:38:40] adaedra: *hotel california solo*
[14:38:40] jackcom: Ox0dea: because studying is better than nothing or playing.
[14:38:49] Ox0dea: jackcom: No, I don't think that's true.
[14:38:59] Ox0dea: If you're "studying" for the sake of "winning", you stand to gain nothing.
[14:39:30] jackcom: i just study ruby for learning.
[14:39:34] jackcom: there is no reason
[14:39:51] Ox0dea: apeiros: Did you mean `Object.const_get` or `Module#const_get`?
[14:40:02] apeiros: the latter, calling it as the former
[14:40:10] Ox0dea: They're different things.
[14:40:11] jhass: >> Object.const_get("Float::MAX")
[14:40:11] adaedra: what made you choose ruby then jackcom? there has to be a reason, jackcom
[14:40:12] ruboto: jhass # => 1.7976931348623157e+308 (https://eval.in/477509)
[14:40:45] apeiros: Ox0dea: nope.
[14:40:52] adaedra: I may have double highlighted as error.
[14:40:58] apeiros: >> Object.method(:const_get).owner # Ox0dea
[14:40:59] jackcom: https://en.wikipedia.org/wiki/Ruby_(programming_language)#/media/File:Ruby_logo.svg <===== because of it. adaedra
[14:40:59] ruboto: apeiros # => Module (https://eval.in/477510)
[14:41:08] Ox0dea: Fancy that.
[14:41:20] adaedra: jackcom: you're making fun of us right now.
[14:41:29] apeiros: Object.is_a?(Class) && Class < Module
[14:41:39] jackcom: yeah. i realize one thing.
[14:41:46] apeiros: Ox0dea: you made me double-check!
[14:42:00] Ox0dea: apeiros: I should've double-checked before making you double-check. :P
[14:42:01] apeiros: I thought it may be a case similar to how Array#map is its own thing and not Enumerable#map
[14:42:09] Ox0dea: Yeah, that was my intuition.
[14:42:22] Ox0dea: Either way, "deep" #const_get works fine?
[14:42:33] jackcom: i realize one thing.
[14:43:06] malconis: has joined #ruby
[14:43:34] apeiros: jhass: oooooh, const_get does not like *symbols* when the name is nested
[14:43:39] apeiros: what. the. fuck.
[14:43:48] Tempesta: has joined #ruby
[14:43:52] apeiros: >> Object.const_get(:"Float::MAX")
[14:43:53] ruboto: apeiros # => wrong constant name Float::MAX (NameError) ...check link for more (https://eval.in/477511)
[14:44:13] Ox0dea: Yeah, that's a bug.
[14:44:17] fantazo: has joined #ruby
[14:44:20] solocshaw: has joined #ruby
[14:44:33] Ox0dea: I don't know why Sasada-san agreed that `nil::Hash` is a bug, though.
[14:44:49] Ox0dea: I think it's useful for being able to dynamically decide whether or not to start resolving at the top.
[14:46:23] shaibn777: has joined #ruby
[14:46:27] davedev24: has joined #ruby
[14:46:50] shaibn777: Hi :) I started a new Logger and wanted to print the name of the log I'm currently writing to. How do I do that?
[14:46:50] maloik: has joined #ruby
[14:47:00] jackcom: All programming language is same, so it is important to do one language well.
[14:47:22] jackcom: this is one that i realized from ruby.
[14:47:42] pawnbox: has joined #ruby
[14:48:02] allomov_: has joined #ruby
[14:48:51] jhass: shaibn777: doesn't look like Logger exposes logdev again, so you can't in a sane manner
[14:48:59] adaedra: has joined #ruby
[14:49:37] Xeago: has joined #ruby
[14:49:38] jhass: jackcom: kinda, some languages are very different but there are 2 1/2 - 3 types, when you know one of each type well enough, picking up a new one is fairly easy
[14:50:02] Ox0dea: What's the half-paradigm?
[14:50:14] jackcom: very different :(
[14:51:09] NeverDie: has joined #ruby
[14:52:27] InvGhost: has joined #ruby
[14:53:40] shevy: jackcom what is a monad
[14:54:07] jackcom: i don???t know monad?
[14:54:20] jackcom: shevy?????? i don???t know
[14:54:47] Ox0dea: shevy: What is a monad?
[14:55:07] peteyg_: has joined #ruby
[14:55:18] arup_r: Haskel is monad.. .... ...
[14:55:41] jackcom: i know haskell already ???. functional language
[14:55:53] jackcom: :) i m not beginner
[14:55:54] arup_r: then you know monad.
[14:56:11] jackcom: monad == haskell?
[14:56:12] shevy: Ox0dea I don't know. Do you know?
[14:56:16] arup_r: i know ruby only ( OOP + functional)
[14:57:11] jackcom: 2.4 Serializing <?????? i will study it from tomorrow. very hard today
[14:57:43] shevy: jackcom are you a true monk?
[14:57:58] jackcom: shevy: what mean?
[14:58:02] jackcom: what you mean?
[14:59:21] armyriad: has joined #ruby
[14:59:45] jackcom: my dream is doing hacker.
[14:59:57] jackcom: member of annoymous
[15:00:14] Ox0dea: jackcom: Would you take offense at my asking your age?
[15:00:30] agent_white: No need citizen. I already have hacked the gibsons.
[15:00:30] Ox0dea: shevy: I think of Comparable and Enumerable as essentially monadic.
[15:00:51] Ox0dea: They're not, but they demonstrate the utility well enough.
[15:00:59] apeiros: autoload properly works with Module#constants
[15:01:21] maloik: has joined #ruby
[15:01:58] howdoicomputer: has joined #ruby
[15:02:25] jackcom: Ox0dea: first
[15:02:55] Ox0dea: jackcom: You're first <units> old? You're a first-year? What does it even mean?!
[15:03:20] apeiros: adaedra: updated https://github.com/apeiros/zeroload
[15:03:24] jackcom: i will sleep bye Ox0dea
[15:03:32] jackcom: has left #ruby: ()
[15:03:39] Ox0dea: Shine on, you crazy diamond.
[15:04:04] adaedra: apeiros: this didn't fix my dislike for autoload.
[15:04:18] apeiros: which part about it do you dislike?
[15:04:36] Ox0dea: Spooky action at a distance is spooky.
[15:04:48] apeiros: mine have gone. it's thread-safe and .constants reports correctly
[15:04:53] yoongkang: has joined #ruby
[15:05:11] adaedra: The whole thing. I like to see where things are loaded.
[15:05:15] apeiros: those have been my only beefs. and I think rails' autoloading doesn't show nested constants because it does not use autoload, but const_missing.
[15:05:55] Ox0dea: Perhaps adaedra has porks.
[15:08:22] apeiros: we won't know
[15:08:29] apeiros: lambs are tasty, though.
[15:10:22] apeiros: oh, lol. just noticed that zeroload fails to follow its own naming convention :D
[15:10:29] apeiros: how. terrifyingly. bad.
[15:10:47] jdawgaz: has joined #ruby
[15:11:03] apeiros: at least git seems now capable of dealing with case changes in file names.
[15:11:08] shaibn777: jhass: thank you
[15:11:57] freerobby: has joined #ruby
[15:12:34] weemsledeux: has joined #ruby
[15:12:44] agit0: has joined #ruby
[15:13:18] apeiros: ok, too early. still can't handle it in directory names.
[15:15:02] tuelz1: has joined #ruby
[15:17:24] jackcom: has joined #ruby
[15:18:13] jackcom: has left #ruby: ()
[15:18:31] lamamining: has joined #ruby
[15:20:01] railswebdev: has joined #ruby
[15:20:05] bronson: has joined #ruby
[15:20:47] blackmes1: has joined #ruby
[15:21:32] Xeago: has joined #ruby
[15:23:47] chthon: has joined #ruby
[15:24:17] gregf: has joined #ruby
[15:27:02] pawnbox: has joined #ruby
[15:27:56] maloik: has joined #ruby
[15:29:59] jackcom: has joined #ruby
[15:30:20] jackcom: i can???t sleep now
[15:30:48] jackcom: hacker???s way is difficult?
[15:31:18] jhass: ?offtopic
[15:31:18] ruboto: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[15:32:12] chouhoulis: has joined #ruby
[15:33:12] Ox0dea: jackcom: Are you closely associated with the infamous hacker known as "4chan"?
[15:33:29] jackcom: i know only annoymous
[15:33:29] nhhagen: has joined #ruby
[15:33:34] jackcom: Ox0dea: :)
[15:34:28] Moosashi: has joined #ruby
[15:34:43] jackcom: 4chan is an English-language imageboard website. :x Ox0dea
[15:34:55] Ox0dea: Uh, no, 4chan is an elite hacker.
[15:34:57] Moosashi: Has anyone ever seen the error ???SSL not available in this build (StandardError)???
[15:35:16] colegatron: has joined #ruby
[15:35:32] adaedra: Moosashi: context, please.
[15:35:40] agent_white: Ox0dea: I bet 4chan and zero-cool hangout.
[15:35:42] Moosashi: I???m getting it when running heroku local on a freshly installed machine and it appeares to happen when puma starts.
[15:35:54] Ox0dea: agent_white: 4chan is acidburn confirmed.
[15:35:58] SCHAAP137: has joined #ruby
[15:37:30] agent_white: Ox0dea: LEAVE B 4 U R EXPUNGED
[15:39:02] Xeago: has joined #ruby
[15:39:16] Ox0dea: Moosashi: Looks like you're missing OpenSSL's BIO abstraction: https://www.openssl.org/docs/manmaster/crypto/bio.html
[15:39:31] solenoids: has joined #ruby
[15:41:02] Moosashi: how on earth did you determine that
[15:41:38] Ox0dea: Moosashi: http://git.io/vBDgJ
[15:41:40] Moosashi: I mean, thank you. I really appreciate that
[15:41:57] Ox0dea: That `#else` is attached to `#ifdef HAVE_OPENSSL_BIO_H`.
[15:42:14] Moosashi: interesting. i got there but wasn???t able to determine that
[15:42:52] Moosashi: as to how to fix it in the context of rvm, I tried running rvm osx-ssl-certs update all but it didn???t have any effect
[15:43:17] havenwood: Moosashi: OS X on Heroku?
[15:43:49] Ox0dea: `heroku` on OS X, rather.
[15:46:11] Moosashi: osx on heroku indeed
[15:46:23] Moosashi: or rather, yes to Ox
[15:46:29] Moosashi: ran heroku local
[15:46:47] kirun: has joined #ruby
[15:49:07] maloik: has joined #ruby
[15:49:14] Mon_Ouie: has joined #ruby
[15:49:58] Ox0dea: Moosashi: https://github.com/puma/puma/issues/718#issuecomment-122632128
[15:50:35] Ox0dea: @jeremy's recommendation is also worth taking into account.
[15:52:29] Moosashi: that worked. <3
[15:52:39] Ox0dea: Happy to help. <3
[15:53:37] Moosashi: much obliged
[15:54:02] karapetyan: has joined #ruby
[15:56:18] adaedra: has joined #ruby
[15:56:39] kriskropd: has joined #ruby
[15:57:32] karapetyan: has joined #ruby
[15:57:35] baweaver: has joined #ruby
[16:00:28] porfa: has joined #ruby
[16:00:33] gambl0re: has joined #ruby
[16:00:53] jackcom: has left #ruby: ()
[16:01:14] Moosashi: has joined #ruby
[16:01:37] yoongkang: has joined #ruby
[16:01:43] penzur: has joined #ruby
[16:02:27] atzorvas: has joined #ruby
[16:02:43] howdoicomputer: has joined #ruby
[16:03:01] daivyk: has joined #ruby
[16:03:58] zenguy_pc2: has joined #ruby
[16:04:39] maloik: has joined #ruby
[16:06:17] pawnbox: has joined #ruby
[16:06:47] RegulationD: has joined #ruby
[16:08:00] Xeago: has joined #ruby
[16:14:49] Moosashi: has joined #ruby
[16:15:12] blackmes1: has joined #ruby
[16:15:45] arup_r: has joined #ruby
[16:16:19] antgel: has joined #ruby
[16:17:14] User458764: has joined #ruby
[16:17:59] User458764: has joined #ruby
[16:21:16] bronson: has joined #ruby
[16:27:17] futilegames: has joined #ruby
[16:31:03] yoongkang: has joined #ruby
[16:31:41] elsimate: has joined #ruby
[16:33:12] yoongkang: has joined #ruby
[16:34:51] h99h9h88: has joined #ruby
[16:35:57] pawnbox: has joined #ruby
[16:36:00] skakri: has joined #ruby
[16:42:14] BaroMeter: has joined #ruby
[16:42:47] mmitchell: has joined #ruby
[16:45:35] h99h9h88: has joined #ruby
[16:45:42] blackmes1: has joined #ruby
[16:47:36] Ariadeno: has joined #ruby
[16:50:33] mg^: has joined #ruby
[16:51:04] darkf_: has joined #ruby
[16:53:36] Macaveli: has joined #ruby
[16:54:09] diegoviola: has joined #ruby
[16:54:11] mistermocha: has joined #ruby
[16:54:34] Keltia_: has joined #ruby
[16:56:09] csaunders: has joined #ruby
[17:00:24] allcentury: has joined #ruby
[17:01:36] cgfbee: has joined #ruby
[17:02:21] jgorak: has joined #ruby
[17:02:41] edwinvdgraaf: has joined #ruby
[17:04:51] yaewa: has joined #ruby
[17:04:59] RandyT: has joined #ruby
[17:05:05] PaulCape_: has joined #ruby
[17:05:05] plonk: has joined #ruby
[17:05:06] plonk: has joined #ruby
[17:05:19] spleeze: has joined #ruby
[17:05:26] cantaberry: has joined #ruby
[17:05:32] pawnbox: has joined #ruby
[17:06:02] agent_white: has joined #ruby
[17:06:24] bnizzle: has joined #ruby
[17:09:39] cornerma1: has joined #ruby
[17:10:42] redlegion: has joined #ruby
[17:11:48] pdoherty: has joined #ruby
[17:13:07] yqt: has joined #ruby
[17:13:09] tmtwd: has joined #ruby
[17:13:16] tmtwd_: has joined #ruby
[17:14:31] h99h9h88: has joined #ruby
[17:17:12] karapetyan: has joined #ruby
[17:22:14] bronson: has joined #ruby
[17:22:46] asas: has joined #ruby
[17:25:06] SCHAAP137: has joined #ruby
[17:25:16] FooMunki: has joined #ruby
[17:26:05] karapetyan: has joined #ruby
[17:26:57] workmad3: has joined #ruby
[17:27:41] tmtwd: has joined #ruby
[17:27:44] tmtwd_: has joined #ruby
[17:28:33] Xeago: has joined #ruby
[17:29:01] Denys_Lins: has joined #ruby
[17:29:55] Macaveli: has joined #ruby
[17:30:01] DenysLins: has joined #ruby
[17:30:33] d0nn1e: has joined #ruby
[17:31:45] tildes: has joined #ruby
[17:32:19] agit0: has joined #ruby
[17:33:05] karapetyan: has joined #ruby
[17:33:44] chouhoulis: has joined #ruby
[17:33:48] yoongkang: has joined #ruby
[17:33:49] cdg: has joined #ruby
[17:34:01] allcentury: has joined #ruby
[17:35:22] DenysLins: has left #ruby: ("Saindo")
[17:37:23] h99h9h88: has joined #ruby
[17:37:50] Bellthoven: has joined #ruby
[17:38:15] brt: has joined #ruby
[17:38:20] cdg: has joined #ruby
[17:40:04] DenysLins: has joined #ruby
[17:42:55] pawnbox: has joined #ruby
[17:44:58] User458764: has joined #ruby
[17:46:46] allcentury: has joined #ruby
[17:50:41] gaussblurinc1: has joined #ruby
[17:53:08] gaussblurinc1: hello! I have a method in a module, defined without self. prefix. def; method_named_oh; end. How could I add this method to already existing class as instance method? (brr, as a method of an instance of an existing class ) I try to just include module but this seems doesn't help, instance doesn't respond to that method
[17:53:36] dionysus69: has joined #ruby
[17:54:26] jetpackjoe: has joined #ruby
[17:55:37] Ox0dea: gaussblurinc1: https://eval.in/477522
[17:55:46] Ox0dea: You do in fact want #include; you must not be using it correctly?
[17:57:02] lkba_: has joined #ruby
[17:58:22] allcentury: has joined #ruby
[17:58:50] apeiros: ?code gaussblurinc1
[17:58:51] ruboto: gaussblurinc1, We can't help you without your code, please post it to https://gist.github.com
[17:59:24] SalviaNobile: has joined #ruby
[17:59:30] tildes: has joined #ruby
[18:00:11] Ox0dea: (That said, I might've just done.)
[18:00:49] bronson: has joined #ruby
[18:00:55] jhass: ACTION bets on module_function
[18:01:15] jhass: oh, without
[18:01:35] lkba: has joined #ruby
[18:01:39] jhass: still confuses me when asked how to use modules for their primary purpose :P
[18:02:16] Gnut: has joined #ruby
[18:02:17] chouhoulis: has joined #ruby
[18:03:04] freerobby: has joined #ruby
[18:03:50] r0bby_: has joined #ruby
[18:04:11] howdoicomputer: has joined #ruby
[18:04:12] roshanavand: has joined #ruby
[18:05:05] yardenbar: has joined #ruby
[18:06:32] freerobby: has joined #ruby
[18:08:43] jottr: has joined #ruby
[18:08:54] TheHodge: has joined #ruby
[18:09:32] pawnbox: has joined #ruby
[18:10:21] arup_r: has joined #ruby
[18:11:54] Xeago: has joined #ruby
[18:19:39] pawnbox: has joined #ruby
[18:21:02] blackmes1: has joined #ruby
[18:21:07] tomchapin: has joined #ruby
[18:21:41] maloik: has joined #ruby
[18:21:49] ibouvousaime: has joined #ruby
[18:23:18] apeiros: fu* what? we can't refine modules?
[18:23:41] houhoulis: has joined #ruby
[18:25:07] agit0: has joined #ruby
[18:26:52] j4sp10n: has joined #ruby
[18:27:25] ICantCook: has joined #ruby
[18:28:55] SalviaNobile: has joined #ruby
[18:29:08] zacts: has joined #ruby
[18:29:25] shevy: refinements - the ultimate afterthought
[18:29:29] nofxx: some built in way to [struct, struct,...].to_json ?
[18:29:37] rickmasta: has joined #ruby
[18:29:40] nofxx: need to define my to_json in the Struct.new ?
[18:30:19] jpaulo7: has joined #ruby
[18:30:23] nofxx: ah...or #to_s, lemme try...
[18:32:43] apeiros: sad, stdlib json does not consider #as_json
[18:32:55] netuoso: has joined #ruby
[18:32:55] agit0: has joined #ruby
[18:33:06] netuoso: https://github.com/netuoso/tpb_slack_ruby
[18:33:22] netuoso: ^ Ruby based Slack bot for searching ThePirateBay
[18:34:15] griffindy: has joined #ruby
[18:34:27] nofxx: apeiros, yeah... had to def to_json(_arg = nil); values.to_json
[18:34:40] yoongkang: has joined #ruby
[18:34:41] apeiros: nofxx: I usually use * for that
[18:34:48] Didac: has joined #ruby
[18:34:48] apeiros: def to_json(*); ???
[18:35:04] apeiros: nothing says "I ignore all args" nicer than that :D
[18:35:45] tubuliferous: has joined #ruby
[18:36:12] nofxx: apeiros, great tip, ty
[18:36:49] adaedra: def to_json(*_we_dont_need_no_args)
[18:37:17] apeiros: _we_dont_need_no_thought_control
[18:37:36] apeiros: I think providing zeroload as refinement is stupid.
[18:38:15] apeiros: module Foo; using Zeroload; zeroload!; end # <-- worse than
[18:38:15] apeiros: module Foo; Zeroload.module(self); end # IMO
[18:38:52] apeiros: if we had binding_of_caller in ruby proper, I could do Zeroload.me!
[18:39:12] nofxx: to quote Ox0dea while true { wall << brick }
[18:40:33] Mon_Ouie: has joined #ruby
[18:42:19] r34d3x: has joined #ruby
[18:42:56] sandstrom: has joined #ruby
[18:44:50] zast: has joined #ruby
[18:46:22] jetpackjoe: has joined #ruby
[18:46:41] Coldblackice: has joined #ruby
[18:50:22] skade: has joined #ruby
[18:50:52] mattarse: has joined #ruby
[18:52:02] colegatron: has joined #ruby
[18:52:07] tildes: has joined #ruby
[18:53:38] User458764: has joined #ruby
[18:56:55] nofxx: apeiros, this worked too: def to_json(*); to_h.to_json ;
[18:57:32] Klumben: has joined #ruby
[18:59:05] sankaber: has joined #ruby
[18:59:48] netuoso: if you want to run .to_json on a hash you can just require 'json' somewhere above it
[18:59:56] diegoviola: has joined #ruby
[19:00:20] netuoso: i didnt miss the topic so sorry if i am way off base here. but {}.to_json doesnt work unless you require 'json' . then {}.to_json works fine. little monkey patching
[19:01:29] djbkd: has joined #ruby
[19:01:35] diegoviola: has joined #ruby
[19:01:52] maloik: has joined #ruby
[19:02:17] elsimate: has joined #ruby
[19:03:02] bronson: has joined #ruby
[19:03:13] elsimate: has joined #ruby
[19:04:18] elsimate: has joined #ruby
[19:04:47] railswebdev: has joined #ruby
[19:05:01] apeiros: netuoso: nofxx needs Struct#to_json, and they implemented it using Hash#to_json. i.e. they're aware Hash#to_json exists.
[19:05:03] howdoicomputer: has joined #ruby
[19:05:41] netuoso: apeiros: yeah sorry i figured i would be spouting nonsense since i missed the question
[19:05:49] apeiros: no worries
[19:06:04] j4sp10n: has left #ruby: ("zZzZ")
[19:07:46] jessemcgilallen: has joined #ruby
[19:08:32] pawnbox: has joined #ruby
[19:10:14] jottr: has joined #ruby
[19:10:56] jottr: has joined #ruby
[19:13:13] jottr: has joined #ruby
[19:13:21] B1n4r10: has joined #ruby
[19:14:15] colegatron: has joined #ruby
[19:14:37] blackmes1: has joined #ruby
[19:14:43] jottr: has joined #ruby
[19:15:12] gizmore: has joined #ruby
[19:15:47] Luming: has joined #ruby
[19:16:00] Tref: has joined #ruby
[19:16:39] DexterLB: has joined #ruby
[19:16:55] tomchapin: has joined #ruby
[19:18:20] Luming: has joined #ruby
[19:20:04] r34d3x: has joined #ruby
[19:20:07] Luming: has joined #ruby
[19:20:32] Macaveli: has joined #ruby
[19:21:08] r34d3x: has joined #ruby
[19:22:38] apeiros: huh? yard fails to pick up documentation of some methods? wtf?
[19:23:19] apeiros: anybody got an idea why yard would fail to pick up docs here: https://github.com/apeiros/zeroload/blob/master/lib/Zeroload.rb
[19:23:49] apeiros: Patch, Registry, Name, self.patch! and self.module all are undocumented according to yard
[19:23:58] apeiros: but self.preload! works properly
[19:25:05] diegoaguilar: has joined #ruby
[19:25:39] shevy: heisenbugs in your code!
[19:25:43] jds: has joined #ruby
[19:25:46] Ox0dea: nofxx: http://logs.ryanbigg.com/ruby?date=2015-11-12#4547039
[19:25:51] Nilium: shevy is a heisenbug
[19:26:02] adaedra: apeiros: capitalized letter in the file name?
[19:26:12] apeiros: adaedra: requirement for zeroload
[19:26:15] Ox0dea: nofxx: You made me briefly consider that I might've actually used `while true` in Ruby code.
[19:26:24] agit0: has joined #ruby
[19:26:27] apeiros: adaedra: that's what I meant with "I leave ruby & rails convention behind"
[19:26:33] apeiros: it's wroth it.
[19:27:06] apeiros: *worth even
[19:27:14] allcentury: has joined #ruby
[19:27:17] s2013: has joined #ruby
[19:28:13] diegoaguilar: has joined #ruby
[19:29:27] apeiros: I don't get why yard fails here :-S
[19:29:54] dt12: has joined #ruby
[19:30:14] dt12: I have setup an active job with sidekiq
[19:30:34] dt12: is it necessary to always do bundle exec sidekiq to run the job
[19:31:15] dt12: I did TransactionsResetJob.set(wait: 1.minutes).perform_later
[19:31:34] dt12: but it is not getting executed unless i do bundle exec sidekiq
[19:32:22] dt12: i m trying in console
[19:32:42] solars: has joined #ruby
[19:32:50] pawnbox: has joined #ruby
[19:33:06] jhass: dt__: that's kinda the point of a background queue, that it's processed by a background process
[19:33:20] TheBloke: Yes it's necessary - sidekiq is a job processing server. You have to run the server to run the jobs. It's like asking, "do I always need to start MySQL before running queries against it?"
[19:34:16] dt12: so should i need to do it each time....can i make it automatic
[19:34:37] jhass: that's a question for your deployment
[19:34:51] TheBloke: Once you start it, it should stay running until you stop it (or the server/container/VM shuts down)
[19:35:11] TheBloke: so if it keeps stopping, maybe you're not in a permanent environment. is it an app server or something?
[19:35:26] dt12: it is in my local system
[19:35:28] yoongkang: has joined #ruby
[19:35:44] jhass: why do you want to use ActiveJob?
[19:35:44] TheBloke: Check the Sidekiq logs
[19:36:06] dt12: i need to execute an action after 20 mins of form submit....how can i achieve this
[19:37:16] dt12: @theBloke- which server should i start....redis or sidekiq
[19:37:22] jhass: sidekiq is not a good backend for that, it doesn't come with a scheduler by itself
[19:37:57] dt12: which backend adapter should i use?
[19:38:35] TheBloke: dt__: I think you need to start from basics and the read the docs for the tools you're using and understand them. Sidekiq stores its data in Redis so you need to start both.
[19:38:56] jhass: given your confusion, probably delayed job still
[19:39:07] durstburger: has joined #ruby
[19:39:29] dt12: Thanks buddies..i ll try that..
[19:39:53] dt12: but in active job basics ....they sadi we can use sidekiq for scheduling
[19:40:16] TheBloke: https://github.com/mperham/sidekiq/wiki/Scheduled-Jobs
[19:40:31] calderonroberto: has joined #ruby
[19:40:42] jhass: dt__: where exactly? got a quote?
[19:41:09] jhass: I confused it with recurring jobs for some reason
[19:42:10] dt12: np...thanks..
[19:43:21] jhass: dt__: you probably want to use the inline backend in development
[19:43:53] jhass: mh, though it probably doesn't allow delayed jobs
[19:44:04] devbug: has joined #ruby
[19:46:47] dt12: When i first tries to execute this without sidekiq, it said ou require a queue adapter for this
[19:46:57] dt12: that's y i went for sidekiq
[19:47:19] TheBloke: Sidekiq will do the job fine, you just need to make sure you have Redis and Sidekiq server running.
[19:47:20] InvGhost: has joined #ruby
[19:47:49] dt12: bundle exec sidekiq -d.....will it run the sidekiq server in background
[19:48:18] dt12: i m new to this scheduling job section....earlier was using cron to execute these things
[19:48:26] dt12: with rake task
[19:48:43] TheBloke: Yes -d, and there are some other options to write log files and so on. http://stackoverflow.com/questions/22958188/how-to-run-sidekiq-in-production-server
[19:50:11] TheBloke: Redis should probably supply a standard OS start/stop script, or if you installed it from an OS package that may already be in place. Make sure Redis is started before Sidekiq starts
[19:51:05] dt12: redis is started ..i guess, when i did redis-cli ping...it gave me PONG.
[19:51:09] atmosx: dt__: it's really easy
[19:51:13] Nilium: Redis does provide a regular init script on the Debians
[19:51:14] Gypsyfinger: has joined #ruby
[19:51:27] Nilium: Or did. Might be upstart now. Or systemd depending on the debian.
[19:52:16] Nilium: Centos should also come with one, but installing Redis from yum on Centos is kind of hit-or-miss.
[19:52:24] pawnbox: has joined #ruby
[19:55:48] tubuliferous: has joined #ruby
[19:57:12] alem0lars: has joined #ruby
[19:57:38] howdoicomputer: has joined #ruby
[19:59:18] null__-: has joined #ruby
[20:01:35] karapetyan: has joined #ruby
[20:02:29] ta: has joined #ruby
[20:04:09] bronson: has joined #ruby
[20:04:27] futilegames: has joined #ruby
[20:05:32] skweek: has joined #ruby
[20:06:54] gizmore: has joined #ruby
[20:07:11] alindeman: has joined #ruby
[20:07:14] user1138: has joined #ruby
[20:09:42] myztic: has joined #ruby
[20:10:14] atmosx: Nilium: what do you mean hit-or-miss?
[20:10:18] darix: TheBloke: https://build.opensuse.org/package/view_file/home:darix:apps/discourse/discourse-sidekiq.service?expand=1
[20:10:59] ur5us: has joined #ruby
[20:11:54] TheBloke: darix: cool.
[20:12:09] Nilium: atmosx: You're liable to end up with a very old version of Redis.
[20:12:32] tuelz1: has joined #ruby
[20:12:39] kerunaru: has joined #ruby
[20:12:41] ur5us: has joined #ruby
[20:12:54] Nilium: Either that or you add a third-party source for Redis. Could also build from source if you've got a particular version/tag/commit hash you've standardized around, which is usually what I end up doing.
[20:14:12] atmosx: Nilium: hm, I've used redis + sidekiq for a sinatra app some time ago. I just installed the default freebsd redis on the server and worked fine. I mean if you're not using latest features, you should be fine with the OS's version. The package manager usually will handle security updates, etc.
[20:14:43] Nilium: Unfortunately, we use redis cluster at work, so we have a minimum version requirement
[20:14:59] diegoviola: has joined #ruby
[20:15:13] Nilium: Which means what ships is with an OS (or distro) is almost never what we want. That said, we don't use FreeBSD at work, so I don't know what ports/pkg install will get you.
[20:15:41] Nilium: We did almost end up using FreeBSD for our switches but found some sort of oddity in the process and had to use linux :(
[20:17:15] atmosx: Nilium: precompiled version redis-3.0.4 on FreeBSD
[20:17:20] atmosx: what's the current version?
[20:18:06] atmosx: Nilium: Are you using docker to manage the cluster?
[20:18:10] Nilium: I think it's around there.
[20:18:16] Nilium: No, not using Docker for that.
[20:18:17] BTRE: has joined #ruby
[20:18:27] darix: Nilium: you will probably have a common OS under all cluster nodes
[20:18:35] darix: and then you should have the same redis version for all of them too
[20:18:52] Nilium: We do, but the one available via the package manager is too old.
[20:18:59] Nilium: i.e., doesn't include Redis cluster, since that's fairly recent.
[20:19:01] atmosx: Nilium: what kind of linux distribution to do you use? debian?
[20:19:02] Nilium: Redis cluster is a little finnicky with configurations, so we haven't found a good way to make that run out of Docker.
[20:19:16] ereslibre: has joined #ruby
[20:19:20] Nilium: Ubuntu 14.04 LTS, unfortunately.
[20:19:51] yqt: has joined #ruby
[20:19:55] atmosx: Nilium: you should check out this one https://nixos.org/ - although if you had probelms with creating docker images with redis
[20:20:13] atmosx: I don't know if it's a good idea to automate the redis installation/configuration process.
[20:20:29] Nilium: There's no problem creating images, it's just a problem of there being no reason to use Docker.
[20:21:23] eaxxae: has joined #ruby
[20:22:59] Nilium: Which isn't to say we don't use Docker elsewhere, it's just that the redis cluster isn't a thing you can really grow easily.
[20:24:39] levifig: has joined #ruby
[20:24:49] jcp: has joined #ruby
[20:25:06] j416: has joined #ruby
[20:25:47] arup_r: atmosx: 0/
[20:25:54] Ilyes512: has joined #ruby
[20:25:59] atmosx: hello arup_r !
[20:26:17] arup_r: life is smooth now lol
[20:26:20] colegatron: has joined #ruby
[20:26:34] Affix: has joined #ruby
[20:26:44] CodingWolf: has joined #ruby
[20:26:57] p0m3r4n0: has joined #ruby
[20:27:35] atmosx: Nilium: I like your blog btw. Really nice design.
[20:28:10] Nilium: I should probably update it, but I first need to rewrite my tool to generate the site HTML.
[20:28:14] grotewold: has joined #ruby
[20:28:16] Nilium: It's kind of a disaster.
[20:29:06] Nilium: My university is now sending me emails about how I should try to become a student... I already graduated.
[20:29:08] DLSteve: has joined #ruby
[20:29:12] Nilium: Also, their email template didn't work.
[20:29:22] Guest44450: has joined #ruby
[20:29:25] Evans: has joined #ruby
[20:29:27] VeryBewitching: has joined #ruby
[20:29:40] rickmasta: has joined #ruby
[20:29:44] ghr: has joined #ruby
[20:30:05] atmosx: the NYTimes keep sending me email notifications asking me to subscribe to their awesome offer. I feel bad becuase I've subscribed to their previous offer already, from another email, which was more expensive :-P
[20:30:13] atmosx: hi VeryBewitching
[20:30:25] FifthWall: has joined #ruby
[20:30:30] levifig: has joined #ruby
[20:30:44] VeryBewitching: Sounds like the NYTimes really wants your money.
[20:30:45] Nilium: I should probably renew my subscription to The Sun.
[20:31:06] Nilium: The literary magazine, not the daily garbage liner.
[20:31:41] VeryBewitching: I read Reuters and AP online
[20:31:43] lguardiola: has joined #ruby
[20:32:00] TheBloke-: has joined #ruby
[20:32:47] ejnahc: has joined #ruby
[20:34:43] lkba: has joined #ruby
[20:34:49] ghr: has joined #ruby
[20:34:51] VeryBewitching: Well, /. and Ars Technica too
[20:35:32] aep: has joined #ruby
[20:35:37] SalviaNobile: has joined #ruby
[20:36:01] yoongkang: has joined #ruby
[20:36:03] Nilium: As online things go, I mostly just read Ars now and everything else I hear about by word of mouth.
[20:36:17] Nilium: Kind of wrote /. off a while back.
[20:36:42] Gypsyfinger: has left #ruby: ()
[20:36:51] unsymbol: has joined #ruby
[20:36:54] hollywood: has joined #ruby
[20:39:00] adaedra: has joined #ruby
[20:40:17] blackmesa: has joined #ruby
[20:40:37] PaulCapestany: has joined #ruby
[20:41:20] chouhoul_: has joined #ruby
[20:41:54] plonk_: has joined #ruby
[20:41:56] sandstrom: has joined #ruby
[20:42:04] plonk_: has joined #ruby
[20:42:44] ereslibre_laptop: has joined #ruby
[20:42:44] ereslibre_laptop: has joined #ruby
[20:43:53] VeryBewitching: has joined #ruby
[20:44:14] jottr: has joined #ruby
[20:44:19] plonk: has joined #ruby
[20:44:19] plonk: has joined #ruby
[20:44:26] ruboto: has joined #ruby
[20:44:27] johnhamelink: has joined #ruby
[20:44:41] myztic: has joined #ruby
[20:45:17] Glenny: has joined #ruby
[20:46:52] jcp: has joined #ruby
[20:47:21] shevy: the good things die
[20:51:23] Xeago: has joined #ruby
[20:51:43] Ox0dea: > [The world] kills the very good and the very gentle and the very brave impartially.
[20:51:46] plonk: has joined #ruby
[20:51:46] plonk: has joined #ruby
[20:53:01] pawnbox: has joined #ruby
[20:53:34] shanemcd: has joined #ruby
[20:53:44] aep: has joined #ruby
[20:55:34] aep: has joined #ruby
[20:56:10] unsymbol: has joined #ruby
[20:56:36] mattarse: has joined #ruby
[20:58:12] skweek: has joined #ruby
[20:58:28] durstburger: has joined #ruby
[20:59:06] aep: has joined #ruby
[21:00:10] duncannz: has joined #ruby
[21:00:48] VeryBewitching: Slashdot has a variety that Ars doesn't, that's why I still read it.
[21:01:02] naftilos76: has joined #ruby
[21:01:10] VeryBewitching: Ars is almost exlusively technology-related material.
[21:01:36] yfeldblum: has joined #ruby
[21:01:37] calderonroberto: has joined #ruby
[21:02:21] ur5us: has joined #ruby
[21:02:59] Uranio: has joined #ruby
[21:03:09] pdoherty: has joined #ruby
[21:03:29] calderonroberto: has joined #ruby
[21:04:17] `derpy: has joined #ruby
[21:04:26] SalviaNobile: has joined #ruby
[21:06:03] kerunaru: has joined #ruby
[21:06:04] calderonroberto: has joined #ruby
[21:10:49] an0ma1y: has joined #ruby
[21:11:47] DarthGandalf: has joined #ruby
[21:11:47] guardian: has joined #ruby
[21:11:48] tekacs: has joined #ruby
[21:11:53] EvilJStoker: has joined #ruby
[21:13:34] Radar: totes weird given that they're called ars TECHnica
[21:13:39] tekk: has joined #ruby
[21:14:06] hollywood: has joined #ruby
[21:14:06] Xeago: has joined #ruby
[21:14:07] zly: has joined #ruby
[21:14:08] Ikri: has joined #ruby
[21:14:09] houhoulis: has joined #ruby
[21:14:09] dlitvak: has joined #ruby
[21:14:14] wedgwood: has joined #ruby
[21:14:15] canton7: has joined #ruby
[21:14:20] tuelz1: has joined #ruby
[21:14:29] FifthWall: has joined #ruby
[21:14:33] Uptime: has joined #ruby
[21:14:52] renderful: has joined #ruby
[21:14:53] EvilJStoker: has joined #ruby
[21:14:56] AnoHito: has joined #ruby
[21:14:56] MasterNayru: has joined #ruby
[21:15:03] JoL1hAHN: has joined #ruby
[21:15:25] chouhoulis: has joined #ruby
[21:15:26] dt12: has left #ruby: ()
[21:15:29] frog0909: has joined #ruby
[21:15:37] yfeldblum: has joined #ruby
[21:15:41] greenbigfrog: has joined #ruby
[21:15:43] ur5us: has joined #ruby
[21:16:08] karapetyan: has joined #ruby
[21:16:11] TheBloke: has joined #ruby
[21:16:30] cmoneylulz: has joined #ruby
[21:16:38] jottr: has joined #ruby
[21:16:45] shanemcd: has joined #ruby
[21:16:59] Cork: has joined #ruby
[21:17:21] pawnbox: has joined #ruby
[21:17:40] diegoaguilar: has joined #ruby
[21:17:54] roger_rabbit: has joined #ruby
[21:18:04] hostess: has joined #ruby
[21:18:26] mbeasley: has joined #ruby
[21:18:44] alindeman: has joined #ruby
[21:18:45] yonatankoren: has joined #ruby
[21:18:45] C0deMaver1ck: has joined #ruby
[21:18:46] zast: has joined #ruby
[21:19:24] yokel: has joined #ruby
[21:19:33] Y_Ichiro: has joined #ruby
[21:19:34] Y_Ichiro: has joined #ruby
[21:19:36] colstrom: has joined #ruby
[21:19:44] Seich: has joined #ruby
[21:19:47] diegoviola: has joined #ruby
[21:19:52] nordskald: has joined #ruby
[21:20:07] NeverDie: has joined #ruby
[21:20:22] iooner: has joined #ruby
[21:20:32] Gnut: has joined #ruby
[21:20:35] sankaber: has joined #ruby
[21:20:39] segmond: has joined #ruby
[21:20:42] oz: has joined #ruby
[21:20:54] levifig: has joined #ruby
[21:20:56] err_ok: has joined #ruby
[21:21:07] jabreity: has joined #ruby
[21:21:07] mrsolo: has joined #ruby
[21:21:08] kalzz: has joined #ruby
[21:21:14] jord: has joined #ruby
[21:21:18] AnoHito: has joined #ruby
[21:21:33] gambl0re: has joined #ruby
[21:21:37] jsrn: has joined #ruby
[21:21:40] rickmasta: has joined #ruby
[21:21:53] Miron: has joined #ruby
[21:21:59] benlakey: has joined #ruby
[21:22:04] maloik: has joined #ruby
[21:22:17] nchambers: has joined #ruby
[21:22:22] iooner: has joined #ruby
[21:22:33] workmad3: has joined #ruby
[21:22:35] ibouvousaime: has joined #ruby
[21:22:37] freerobby: has joined #ruby
[21:22:55] unsymbol: has joined #ruby
[21:23:01] Scriptonaut: has joined #ruby
[21:23:02] infernix: has joined #ruby
[21:23:17] TDJACR: has joined #ruby
[21:23:32] Mr_Pancake: has joined #ruby
[21:23:42] sugardrunk: has joined #ruby
[21:23:47] joevandyk: has joined #ruby
[21:24:16] icedragon: has joined #ruby
[21:24:20] djbkd: has joined #ruby
[21:24:25] Kuukunen: has joined #ruby
[21:24:26] flori: has joined #ruby
[21:24:27] DarkBushido: has joined #ruby
[21:24:28] pizzaops: has joined #ruby
[21:24:32] cdg: has joined #ruby
[21:24:57] calderonroberto: has joined #ruby
[21:24:59] redlegion: has joined #ruby
[21:25:01] edwinvdgraaf: has joined #ruby
[21:25:21] bougyman: has joined #ruby
[21:25:25] LBRapid: has joined #ruby
[21:25:47] bascht: has joined #ruby
[21:25:48] rethi: has joined #ruby
[21:25:50] ejnahc: has joined #ruby
[21:25:52] freedrull: has joined #ruby
[21:26:02] Luming: has joined #ruby
[21:26:08] genpaku: has joined #ruby
[21:26:08] p0m3r4n0: has joined #ruby
[21:26:15] uber: has joined #ruby
[21:26:27] absolutejam: has joined #ruby
[21:26:44] musicmatze: has joined #ruby
[21:26:45] BLuEGoD: has joined #ruby
[21:26:47] tobiasvl: has joined #ruby
[21:26:57] blackmesa: has joined #ruby
[21:27:00] asas: has joined #ruby
[21:27:10] Ilyes512: has joined #ruby
[21:27:16] Nilium: I think the only site I've made a personal policy of avoiding is hacker news
[21:27:16] constantinexvi: has joined #ruby
[21:27:21] coffeejunk: has joined #ruby
[21:27:35] Nilium: Just because there's something wrong with that community, and I can't put my finger on it
[21:27:43] h99h9h88: has joined #ruby
[21:27:54] Janno: has joined #ruby
[21:28:02] aep: has joined #ruby
[21:28:07] apeiros: Nilium: what about reddit?
[21:28:17] digneety: has joined #ruby
[21:28:20] Veejay: has joined #ruby
[21:28:24] Nilium: I try to limit what I check on reddit
[21:28:26] tonini: has joined #ruby
[21:28:28] User458764: has joined #ruby
[21:28:45] blackjid: has joined #ruby
[21:28:54] Nilium: It's hard to pin it down because it depends on the group on there, but a lot of it is more or less awful.
[21:29:11] prosody: has joined #ruby
[21:29:11] nullwarp: has joined #ruby
[21:29:25] freeze: has joined #ruby
[21:29:29] Affix: has joined #ruby
[21:29:43] skweek: has joined #ruby
[21:29:44] moss: has joined #ruby
[21:29:49] Radar: Nilium: The "Well Actually" crowd is the name I've given it.
[21:30:01] InvGhost: has joined #ruby
[21:30:03] nertzy: has joined #ruby
[21:30:04] Radar: They will debate you on any point, no matter how trivial
[21:30:04] cmoneylulz: has joined #ruby
[21:30:09] Radar: Just to prove themselves right
[21:30:12] groundnuty: has joined #ruby
[21:30:15] Nilium: Pretty much.
[21:30:44] Ariadeno: has joined #ruby
[21:30:46] suffice: has joined #ruby
[21:30:49] Nilium: It's worse when I look back and go "oh, I've done that"
[21:30:54] Radar: And also: "I did this thing in Ruby which I think is pretty great" and the reply is "That sucks. I did the same thing in Assembly in < 1hr when I was in high school."
[21:30:57] Nilium: It's kind of hard to train yourself not to be a crappy person.
[21:31:26] [spoiler]: has joined #ruby
[21:31:27] kellabyte: has joined #ruby
[21:31:49] ltd: has joined #ruby
[21:32:05] allcentury: has joined #ruby
[21:32:15] TheMoonMaster: has joined #ruby
[21:32:29] apeiros: Radar: just reply "boo, I did it with punchcards in <1min when I wasn't yet born!"
[21:32:42] apeiros: don't forget to link topper from dilbert :D
[21:32:44] Xeago: has joined #ruby
[21:32:55] ja: has joined #ruby
[21:33:11] futilegames: has joined #ruby
[21:33:13] roshanavand: has joined #ruby
[21:33:14] skmp: has joined #ruby
[21:33:29] tobiasgreen: has joined #ruby
[21:33:30] Nightmare: has joined #ruby
[21:33:32] nullset68: has joined #ruby
[21:33:35] Nightmare: has joined #ruby
[21:33:44] AdamMeghji: has joined #ruby
[21:34:21] ruisantos: has joined #ruby
[21:34:33] colstrom: has joined #ruby
[21:34:53] yardenbar: has joined #ruby
[21:34:57] Lloyd: has joined #ruby
[21:35:01] douglass1: has joined #ruby
[21:35:04] acadavid: has joined #ruby
[21:35:08] Fire-Dragon-DoL: has joined #ruby
[21:35:25] Uptime: has joined #ruby
[21:35:30] daxroc: has joined #ruby
[21:35:34] jaxxstorm: has joined #ruby
[21:35:55] Hanmac: has joined #ruby
[21:36:00] solocshaw: has joined #ruby
[21:36:02] Nilium: I just try, not always successfully, to not put down someone's work because they tried to do something I think isn't useful/good/right.
[21:36:25] twe4ked: has joined #ruby
[21:36:36] greenbigfrog: has joined #ruby
[21:36:38] Radar: "Your code is shit and you should feel shit" is not helpful to anyone but yourself.
[21:36:47] Radar: Yay feeling of moral superiority
[21:36:50] heftig: has joined #ruby
[21:36:53] Nilium: And even then you'll probably just feel bad about it later.
[21:37:06] Radar: Big deal, hotshot. The better person is the one who helps rather than wounds.
[21:37:12] chinmay_dd: has joined #ruby
[21:37:15] Nilium: Assuming you dwell on it the way I do, but I don't know how other people think.
[21:37:22] stannard: has joined #ruby
[21:37:25] Radar: Psycopaths don't dwell on their actions :P
[21:37:43] Radar: And that kinda comment is _really harmful_. It can lead to such a large confidence hit and take months to recover from.
[21:37:54] lnx: has joined #ruby
[21:38:04] Radar: apeiros: which is the "for real" directed at?
[21:38:15] Radar: brb walking home
[21:38:44] hollywood: has joined #ruby
[21:39:05] platzhirsch: has joined #ruby
[21:39:10] apeiros: Radar: psychos dwelling
[21:39:13] nullwarp: has joined #ruby
[21:39:13] Shidash: has joined #ruby
[21:39:21] universa1: has joined #ruby
[21:39:25] jimeh: has joined #ruby
[21:39:47] kaspergrubbe: has joined #ruby
[21:40:14] Fluent: has joined #ruby
[21:40:38] Nilium: That's more or less what psychopathy is, if I remember right.
[21:41:04] skade: has joined #ruby
[21:41:46] Nilium: Aside from the other stuff that makes it up.
[21:41:47] DanKnox[away]: has joined #ruby
[21:41:48] cjk101010: has joined #ruby
[21:42:13] VladGh: has joined #ruby
[21:42:28] Nilium: So, not empathizing and whatnot doesn't mean someone's a psychopath, it's just a facet.
[21:42:51] apeiros: time to restudy ICD I guess :D
[21:43:07] apeiros: (actually not really having time for such fun stuff :-S)
[21:43:14] Nilium: Bear in mind I could be (and probably am) way off.
[21:43:21] zzak: has joined #ruby
[21:43:32] frode15243: has joined #ruby
[21:43:52] justinweiss__: has joined #ruby
[21:43:53] alindeman: has joined #ruby
[21:43:54] alxndr_: has joined #ruby
[21:43:59] apeiros: colloquial and medical definition might differ wildly anyway
[21:44:02] sepp2k: has joined #ruby
[21:44:04] nemesit|znc: has joined #ruby
[21:44:15] karapetyan: has joined #ruby
[21:44:20] funnel: has joined #ruby
[21:44:51] voker57: has joined #ruby
[21:44:52] voker57: has joined #ruby
[21:45:08] Guest1660: has joined #ruby
[21:46:20] apipkin: has joined #ruby
[21:46:23] apipkin: has joined #ruby
[21:47:15] slash_nick: Radar: previous actions, you mean? i'd imagine they dwell on future actions from time to time or in some cases
[21:48:14] slash_nick: /join #psychology
[21:48:53] jhass: has joined #ruby
[21:49:12] karapetyan: has joined #ruby
[21:49:27] jabreity: has joined #ruby
[21:49:36] jabreity: has joined #ruby
[21:50:20] atmosx: I don't know what are you guys talking about
[21:50:52] nullset68: has joined #ruby
[21:52:02] BLuEGoD: has joined #ruby
[21:52:23] BLuEGoD: has joined #ruby
[21:52:49] atmosx: I am probably the only one here that can draw the structure of diltiazem, olanzapine and morphine/heroin/thebaine by heart! \o/
[21:52:50] noodle: has joined #ruby
[21:53:18] atmosx: that said, I'm going to bed.
[21:53:18] ElderFain: has joined #ruby
[21:54:39] nyandoge: has joined #ruby
[21:54:40] nyandoge: has joined #ruby
[21:55:07] G: has joined #ruby
[21:55:15] bjmllr: has joined #ruby
[21:55:16] bjmllr: has joined #ruby
[21:55:19] Radar: slash_nick: yes, that's it
[21:55:20] apeiros: night adaedra
[21:55:27] johnny56: has joined #ruby
[21:55:27] cookiez: has joined #ruby
[21:55:32] adaedra: That was for atmosx, apeiros
[21:55:52] PhilK: has joined #ruby
[21:55:57] Radar: I meant that psychos wouldn't dwell on their actions negatively.
[21:56:05] slash_nick: my only reliable source source is Dexter
[21:56:10] slash_nick: source source source
[21:56:19] epochwolf: has joined #ruby
[21:56:30] Affix-Phobos: has joined #ruby
[21:57:15] null__: has joined #ruby
[21:57:15] null__: has joined #ruby
[21:57:41] Radar: I think that maybe the word I was looking for is sociopath
[21:57:57] twe4ked: has joined #ruby
[21:59:04] karapetyan: has joined #ruby
[21:59:05] nullset68: has joined #ruby
[21:59:57] soahccc: has joined #ruby
[22:00:14] colstrom: has joined #ruby
[22:00:15] colstrom: has joined #ruby
[22:00:15] cornerman: has joined #ruby
[22:00:45] Ox0dea: https://www.youtube.com/watch?v=S_x4_QrMcm8&t=211
[22:00:58] machty: has joined #ruby
[22:00:58] htmldrum: has joined #ruby
[22:01:18] Steve_Jobs: has joined #ruby
[22:01:30] adaedra: This is getting weird.
[22:02:37] greenbigfrog: has joined #ruby
[22:02:37] shevy: night adaedra
[22:02:41] duoi: has joined #ruby
[22:02:43] Ox0dea: Night, shevy.
[22:02:50] adaedra: Night, shevy.
[22:02:53] patronus: has joined #ruby
[22:03:05] shevy: I am staying
[22:03:05] yoongkang: has joined #ruby
[22:03:05] Moosashi: has joined #ruby
[22:03:20] yo61: has joined #ruby
[22:03:41] ur5us: has joined #ruby
[22:04:24] bronson: has joined #ruby
[22:04:24] tris: has joined #ruby
[22:04:25] krobzaur: has joined #ruby
[22:04:25] juddey: has joined #ruby
[22:04:45] jord: has joined #ruby
[22:04:54] jord: has joined #ruby
[22:04:55] Affix-Phobos: has joined #ruby
[22:04:55] shanemcd: has joined #ruby
[22:05:06] jud: has joined #ruby
[22:05:06] TheHodge: has joined #ruby
[22:05:23] shanemcd_: has joined #ruby
[22:05:46] TheHodge: has joined #ruby
[22:05:48] Mr_Pancake: has joined #ruby
[22:06:27] justinweiss__: has joined #ruby
[22:06:27] benlakey_: has joined #ruby
[22:06:34] HashNuke: has joined #ruby
[22:06:50] justinweiss__: has joined #ruby
[22:06:50] HashNuke: has joined #ruby
[22:06:50] benlakey_: has joined #ruby
[22:07:20] roshanavand: has joined #ruby
[22:07:22] tonini: has joined #ruby
[22:07:44] [spoiler]: has joined #ruby
[22:08:05] lacrosse: has joined #ruby
[22:08:06] edwinvdgraaf: has joined #ruby
[22:08:06] bjmllr_: has joined #ruby
[22:08:24] nullwarp: has joined #ruby
[22:08:24] workmad3_: has joined #ruby
[22:08:24] elektronaut: has joined #ruby
[22:08:25] maloik_: has joined #ruby
[22:08:37] Diabolik: has joined #ruby
[22:08:37] InvGhostt: has joined #ruby
[22:08:37] skmp: has joined #ruby
[22:08:48] futilegames: has joined #ruby
[22:08:48] cdg_: has joined #ruby
[22:08:48] cstrahan: has joined #ruby
[22:09:00] nertzy2: has joined #ruby
[22:09:01] Guest85414______: has joined #ruby
[22:09:01] n1ftyn8_: has joined #ruby
[22:09:40] SilentEcho: has joined #ruby
[22:09:41] mrsolo: has joined #ruby
[22:09:41] Diabolik: has joined #ruby
[22:09:57] djbkd_: has joined #ruby
[22:09:57] freerobby1: has joined #ruby
[22:09:57] Nahra``: has joined #ruby
[22:09:57] Shidash: has joined #ruby
[22:10:44] solocshaw1: has joined #ruby
[22:10:45] err_ok_: has joined #ruby
[22:10:45] AccordLTN: has joined #ruby
[22:10:45] frode15243_: has joined #ruby
[22:11:03] RazorX: has joined #ruby
[22:11:22] eregon_: has joined #ruby
[22:11:23] vcoinminer_: has joined #ruby
[22:11:44] Killerkeksdose: has joined #ruby
[22:11:45] justinmcp: has joined #ruby
[22:11:46] CloCkWeRX: has joined #ruby
[22:11:46] diego_k: has joined #ruby
[22:11:46] nemesit|znc: has joined #ruby
[22:12:03] perrier__: has joined #ruby
[22:12:10] daxroc1: has joined #ruby
[22:12:11] tw1sted: has joined #ruby
[22:12:20] knight_: has joined #ruby
[22:12:21] RTG`: has joined #ruby
[22:12:32] devyn: has joined #ruby
[22:12:33] ltd_: has joined #ruby
[22:12:45] nkts_: has joined #ruby
[22:12:45] acadavid__: has joined #ruby
[22:12:46] rikai_: has joined #ruby
[22:12:47] eboaz_: has joined #ruby
[22:12:47] adamholt: has joined #ruby
[22:12:48] kaspergr1bbe: has joined #ruby
[22:12:48] sumark_: has joined #ruby
[22:12:48] Qantourisc: has joined #ruby
[22:12:49] wnd_: has joined #ruby
[22:12:59] freedrul1: has joined #ruby
[22:13:00] tethra_: has joined #ruby
[22:13:00] TheSpect1e: has joined #ruby
[22:13:00] Kero_: has joined #ruby
[22:13:07] Ox0dea: https://repl.it/B41z
[22:13:31] cwong_on_irc1: has joined #ruby
[22:13:44] ja: wat is dis
[22:13:45] pontiki_: has joined #ruby
[22:14:00] sysanthrope_: has joined #ruby
[22:14:05] Ox0dea: A demonstration of the fact that Bignum uses essentially the same optimization strategy as used for String.
[22:14:26] Ox0dea: http://patshaughnessy.net/2012/1/4/never-create-ruby-strings-longer-than-23-characters
[22:14:50] ja: has joined #ruby
[22:15:05] jbrhbr: has joined #ruby
[22:15:13] Ox0dea: "Never create Ruby Bignums longer than 23 bytes" is an equally "valid" "warning".
[22:15:43] Ox0dea: KRI uses a static array for Strings shorter than 24 characters and Bignums shorter than 192 bits.
[22:16:11] Ox0dea: On 64-bit systems, at any rate.
[22:16:15] elaptic``: has joined #ruby
[22:16:29] spacemud_: has joined #ruby
[22:16:34] tabakhase__: has joined #ruby
[22:16:35] Armand: has joined #ruby
[22:16:36] beast_: has joined #ruby
[22:16:45] ja: uhh, that sounds bad, Ox0dea
[22:16:51] ja: and people are joining so fast I can't hit your link, lol
[22:16:58] ja: oh, there! got it!
[22:16:59] duckson-: has joined #ruby
[22:17:02] C0deMaver1ck: has joined #ruby
[22:17:07] thomasfedb_: has joined #ruby
[22:17:08] hyperdri-: has joined #ruby
[22:17:25] Ox0dea: ja: irssi can hide joins and parts. :P
[22:17:31] Fire-Dragon-DoL-: has joined #ruby
[22:19:26] sphex: has joined #ruby
[22:19:28] unsymbol: has joined #ruby
[22:19:29] Ox0dea: Well, there goes the neighborhood.
[22:19:29] unsymbol: has joined #ruby
[22:19:29] leslie: has joined #ruby
[22:19:29] leslie: has joined #ruby
[22:19:30] bf4: has joined #ruby
[22:19:30] mburns: has joined #ruby
[22:19:31] Tristan-Speccy: has joined #ruby
[22:19:32] gambl0re: has joined #ruby
[22:19:32] headius: has joined #ruby
[22:19:32] phreakocious: has joined #ruby
[22:19:32] funnel: has joined #ruby
[22:19:37] ja: oh yeah, I should get some of that
[22:19:37] ja: though I have trouble enough making it hide joins and parts in the activity bar thing :E
[22:21:05] demophoon: has joined #ruby
[22:21:49] Klumben: has joined #ruby
[22:21:57] duper: has joined #ruby
[22:22:03] Nightmare: has joined #ruby
[22:22:38] constantinexvi: has joined #ruby
[22:23:09] timmow: has joined #ruby
[22:23:18] mist: has joined #ruby
[22:23:21] _5moufl: has joined #ruby
[22:23:25] musicmatze: has joined #ruby
[22:24:15] bougyman: has joined #ruby
[22:24:29] DarkBushido: has joined #ruby
[22:24:40] papercode: has joined #ruby
[22:24:50] vondruch: has joined #ruby
[22:25:22] Sou|cuttr: has joined #ruby
[22:27:14] pocketprotector: has joined #ruby
[22:27:15] anekos: has joined #ruby
[22:27:40] rtl: has joined #ruby
[22:28:10] kenichi: has joined #ruby
[22:28:40] waka: has joined #ruby
[22:28:55] digneety: has joined #ruby
[22:29:33] tomaw: has joined #ruby
[22:30:03] sparr: has joined #ruby
[22:30:26] AustinMatherne: has joined #ruby
[22:30:26] tommylommykins: has joined #ruby
[22:30:30] joevandyk: has joined #ruby
[22:30:33] chihhsin: has joined #ruby
[22:30:47] spider-mario: has joined #ruby
[22:31:25] jlyndon: has joined #ruby
[22:31:32] alindeman: has joined #ruby
[22:32:01] TvL: has joined #ruby
[22:33:05] calderonroberto: has joined #ruby
[22:33:29] hellschreiber_: has joined #ruby
[22:33:35] chinmay_dd: has joined #ruby
[22:33:39] sparr: has joined #ruby
[22:33:53] blubjr: im padding strings, so ending up with [0, expr].max in a million places, is there a better way to handle that
[22:34:31] adaedra: To pad strings?
[22:34:41] adaedra: &ri String#ljust String#rjust
[22:35:07] adaedra: http://www.rubydoc.info/stdlib/core/String#ljust-instance_method
[22:35:45] blubjr: that isnt flexible enough
[22:36:00] twe4ked: has joined #ruby
[22:36:00] blubjr: i just meant for 'guarding' the expression from going under zero
[22:36:07] blubjr: or do i have to be explicit
[22:36:15] adaedra: Two bots down
[22:36:18] Radar: ruboto, why have you forsaken us?
[22:36:22] Radar: Hey, at least helpa stays up.
[22:36:24] Radar: :trollface:
[22:36:36] adaedra: blubjr: what are you trying to do in the first place?
[22:36:45] spastorino: has joined #ruby
[22:36:50] Radar: blubjr: Sounds like you've come up with a solution and now you're asking us how to apply that solution to your rpoblem.
[22:38:14] vikas027: has joined #ruby
[22:39:03] golgaroth: has joined #ruby
[22:39:06] johnhamelink: has joined #ruby
[22:39:13] techietrash: has joined #ruby
[22:39:13] techietrash: has joined #ruby
[22:40:24] zapata: has joined #ruby
[22:40:32] icedragon: has joined #ruby
[22:40:33] Luming: has joined #ruby
[22:40:44] Paradox: has joined #ruby
[22:40:44] havenwood: has joined #ruby
[22:40:45] havenwood: has joined #ruby
[22:40:45] Scriptonaut: has joined #ruby
[22:41:03] Uptime: has joined #ruby
[22:41:03] epochwolf: has joined #ruby
[22:41:15] fluchtreflex: has joined #ruby
[22:41:15] fluchtreflex: has joined #ruby
[22:41:33] claw: has joined #ruby
[22:41:49] apeiros: Radar: ye, f??cking problems with freenodes perma-netsplit
[22:41:53] Puffball: has joined #ruby
[22:42:03] apeiros: second time I have to manually get ruboto up :-(
[22:42:04] Koshian: has joined #ruby
[22:42:05] shadeslayer: has joined #ruby
[22:42:06] kallisti5: has joined #ruby
[22:42:12] Radar: apeiros: I have two bots now. helpa + helpa-ping. If one can't reach the other then they disconnect and reconnect.
[22:42:14] [ace]: has joined #ruby
[22:42:15] vbatts|work: has joined #ruby
[22:42:15] jzigmund: has joined #ruby
[22:42:15] Skelz0r: has joined #ruby
[22:42:17] aibot___: has joined #ruby
[22:42:18] absolutejam: has joined #ruby
[22:42:19] ciege: has joined #ruby
[22:42:20] okdas: has joined #ruby
[22:42:20] okdas: has joined #ruby
[22:42:27] Papierkorb: has joined #ruby
[22:42:29] Lildirt: has joined #ruby
[22:42:30] hightower4: has joined #ruby
[22:42:31] apeiros: Radar: sounds like a good idea
[22:42:31] z3uS: has joined #ruby
[22:42:36] kies: has joined #ruby
[22:42:36] ryotarai: has joined #ruby
[22:42:36] jinie: has joined #ruby
[22:42:36] adeponte: has joined #ruby
[22:42:37] ebertx: has joined #ruby
[22:42:37] lorn: has joined #ruby
[22:42:37] YaknotiS: has joined #ruby
[22:42:37] boshhead: has joined #ruby
[22:42:37] dannluciano: has joined #ruby
[22:42:38] russt: has joined #ruby
[22:42:41] joneshf-laptop: has joined #ruby
[22:42:44] joeyjones: has joined #ruby
[22:42:44] Couch: has joined #ruby
[22:42:46] shtirlic: has joined #ruby
[22:42:46] blackmesa: has joined #ruby
[22:42:47] gusrub: has joined #ruby
[22:42:48] nertzy: has joined #ruby
[22:42:48] df: has joined #ruby
[22:42:50] rickmasta: has joined #ruby
[22:42:50] marahin: has joined #ruby
[22:42:51] scottymeuk: has joined #ruby
[22:42:51] zenspider: has joined #ruby
[22:42:55] Diabolik: has joined #ruby
[22:42:58] cfloare: has joined #ruby
[22:42:59] varesa: has joined #ruby
[22:43:00] iko1: has joined #ruby
[22:43:04] euoia: has joined #ruby
[22:43:10] ozzloy: has joined #ruby
[22:43:11] ozzloy: has joined #ruby
[22:43:15] kitallis: has joined #ruby
[22:43:24] gsingh93: has joined #ruby
[22:43:27] DrShoggoth: has joined #ruby
[22:43:32] lianj: has joined #ruby
[22:43:32] lianj: has joined #ruby
[22:43:33] pjaspers: has joined #ruby
[22:43:35] blubjr: im porting a program, and i would prefer to get it working period in ruby before i think about restructuring the whole thing. writing [0, expr].max over and over is cumbersome, thats all, its easy enough to write something to cover that but bounding the ends of an expression is general enough that i thought ruby might have something predefined, thats all i was asking
[22:43:36] apeiros: something about these netsplits kills cinch
[22:43:41] j0bk: has joined #ruby
[22:43:42] marr: has joined #ruby
[22:43:47] Drakevr: has joined #ruby
[22:43:48] rvchangue: has joined #ruby
[22:43:48] hplar: has joined #ruby
[22:43:55] ruboto: has joined #ruby
[22:43:57] nlsun: has joined #ruby
[22:44:04] adaedra: apeiros: maybe it's just at the other side of the netsplit, it happens.
[22:44:06] Ray`: has joined #ruby
[22:44:09] sivoais: has joined #ruby
[22:44:09] Esya: has joined #ruby
[22:44:09] apeiros: adaedra: nope
[22:44:12] yxhuvud: has joined #ruby
[22:44:14] bf4: has joined #ruby
[22:44:17] mmasaki: has joined #ruby
[22:44:21] konopka: has joined #ruby
[22:44:23] apeiros: second time this happened
[22:44:24] gnarf: has joined #ruby
[22:44:26] derailed: has joined #ruby
[22:44:27] jackcom: has joined #ruby
[22:44:30] bradland: has joined #ruby
[22:44:31] apeiros: lol @ ", jim"
[22:44:32] VladGh: has joined #ruby
[22:44:35] Bish: has joined #ruby
[22:44:36] Drakevr: has joined #ruby
[22:44:36] kadoppe: has joined #ruby
[22:44:47] ujjain: has joined #ruby
[22:44:47] ujjain: has joined #ruby
[22:44:50] flori: has joined #ruby
[22:44:54] apeiros: too sad I don't have the new ruboto up yet. would have been nice to see how it holds up.
[22:45:00] spleeze: has joined #ruby
[22:45:01] crowell: has joined #ruby
[22:45:06] Kuukunen: has joined #ruby
[22:45:08] M-prosodyContext: has joined #ruby
[22:45:13] shanemcd_: has joined #ruby
[22:45:16] freeze: has joined #ruby
[22:45:16] maloik: has joined #ruby
[22:45:18] DEac-: has joined #ruby
[22:45:19] woodruffw: has joined #ruby
[22:45:23] Radar: ACTION enjoys that people explain code with text
[22:45:30] Radar: ACTION is not being sarcastic at all
[22:45:31] Radar: ACTION no really
[22:45:38] Radar: blubjr: ^
[22:45:47] sindork: has joined #ruby
[22:46:10] Vile`: has joined #ruby
[22:46:11] apeiros: Radar: is that double plusnogood sarcasm
[22:46:20] alexblom: has joined #ruby
[22:46:21] roshanavand: has joined #ruby
[22:46:21] rethi: has joined #ruby
[22:46:25] platzhirsch: has left #ruby: ()
[22:46:26] Lloyd: has joined #ruby
[22:46:35] kloeri: has joined #ruby
[22:46:36] Radar: apeiros: I.... don't know.
[22:46:49] ironcamel: has joined #ruby
[22:47:02] p0m3r4n0: has joined #ruby
[22:47:02] levifig: has joined #ruby
[22:47:13] andersh: has joined #ruby
[22:47:21] awk: has joined #ruby
[22:47:30] SirCmpwn: has joined #ruby
[22:47:32] stephenh: has joined #ruby
[22:47:35] g3funk: has joined #ruby
[22:47:41] michael_mbp: has joined #ruby
[22:48:11] KervyN: has joined #ruby
[22:48:16] ZYPP: has joined #ruby
[22:48:20] pleiosaur: has joined #ruby
[22:48:41] Ariadeno: has joined #ruby
[22:48:50] TTilus: has joined #ruby
[22:48:52] arthurnn: has joined #ruby
[22:49:12] async_prince: has joined #ruby
[22:49:14] coffeejunk: has joined #ruby
[22:49:19] jabreity: has joined #ruby
[22:49:26] xxneolithicxx: has joined #ruby
[22:49:30] blubjr: radar: does ruby have an equivalent shorthand to def bound(x, l, h); x < l ? l : x > h ? h : x; end
[22:49:34] golgaroth: has joined #ruby
[22:49:41] [dmp]: has joined #ruby
[22:49:44] Silex: has joined #ruby
[22:49:44] alindeman: has joined #ruby
[22:49:46] Radar: blubjr: Show me what the method does.
[22:49:59] Radar: I already had breakfast this morning so I don't want to have some alphabet soup]\
[22:50:00] Ox0dea: blubjr: Not yet: https://bugs.ruby-lang.org/issues/10594
[22:50:08] blubjr: i thought you wanted code
[22:50:11] Didac: has joined #ruby
[22:50:14] sugardrunk: has joined #ruby
[22:50:18] Radar: blubjr: Yes. And now I'm asking for an example.
[22:50:35] Ox0dea: blubjr wants #clamp. Ruby doesn't have it yet.
[22:50:41] blubjr: ox0dea thank you
[22:50:41] skade: has joined #ruby
[22:50:44] TheMoonMaster: has joined #ruby
[22:50:45] slash_nick: yeah we want #clamp!, we want #clamp!
[22:50:46] rmrrn: has joined #ruby
[22:50:46] rmrrn: has joined #ruby
[22:50:52] Parko: has joined #ruby
[22:51:01] james1: has joined #ruby
[22:51:03] Kabaka_: has joined #ruby
[22:51:03] tobiasgreen: now that sounds like an awesome function
[22:51:06] suffice: has joined #ruby
[22:51:13] DoYouKnow: has joined #ruby
[22:51:18] conrfrmn: has joined #ruby
[22:51:18] mclee: has joined #ruby
[22:51:20] certainty: has joined #ruby
[22:51:21] tobiasgreen: who else has it
[22:51:25] programmerq: has joined #ruby
[22:51:30] dwithers2: has joined #ruby
[22:51:45] slash_nick: crystal does
[22:51:50] Ox0dea: Crystal just got it.
[22:51:59] bnagy: has joined #ruby
[22:52:08] sarlalian: has joined #ruby
[22:52:31] Diabolik: has joined #ruby
[22:52:32] ELCALOR: has joined #ruby
[22:52:52] jericon: has joined #ruby
[22:53:21] amitchellbullard: has joined #ruby
[22:53:34] zacts: has joined #ruby
[22:53:43] ljarvis: has joined #ruby
[22:53:58] axisys: has joined #ruby
[22:53:59] Sirecote: has joined #ruby
[22:53:59] redlegion: has joined #ruby
[22:54:04] kellabyte: has joined #ruby
[22:54:07] edwinvdg_: has joined #ruby
[22:54:25] prosody: has joined #ruby
[22:54:56] thang_: has joined #ruby
[22:54:58] rflot: has joined #ruby
[22:54:59] Some-body_: has joined #ruby
[22:55:20] roshanavand: has joined #ruby
[22:55:37] gamache: has joined #ruby
[22:55:39] mosez: has joined #ruby
[22:55:50] uber: has joined #ruby
[22:56:24] jlyndon: has joined #ruby
[22:57:26] sepp2k: has joined #ruby
[22:57:32] apeiros: blubjr: I actually have that in my snippets (both ruby & js) as Numeric#cap(min, max)
[22:57:41] infernix: has joined #ruby
[22:57:47] sonOfRa: has joined #ruby
[22:57:59] apeiros: (and that means: no, vanilla ruby doesn't have it)
[22:58:25] jdawgaz: has joined #ruby
[22:58:37] bewie: has joined #ruby
[22:58:39] sysanthrope: has joined #ruby
[22:58:50] badeball: has joined #ruby
[22:59:12] timmow_: has joined #ruby
[22:59:18] xsdg: has joined #ruby
[22:59:28] Ox0dea: has joined #ruby
[22:59:37] jabreity: has joined #ruby
[22:59:42] sparr: has joined #ruby
[23:00:07] Ox0dea: apeiros: "Cap" doesn't really fit for minima, though?
[23:00:09] yeltzooo: has joined #ruby
[23:00:19] sysanthrope: has joined #ruby
[23:00:23] Ox0dea: "Clamp" really is the best "technical" term available for this operation.
[23:01:04] Marc-: has joined #ruby
[23:01:05] apeiros: not a native speaker, so may well be that clamp describes better what this does.
[23:01:13] passcod: has joined #ruby
[23:01:22] slash_nick: http://www.researchgate.net/figure/7994223_fig1_FIG.-1.-An-end-capped-rod-a-cylinder-capped-on-both-ends-by-a-semisphere-with-a-diameter
[23:01:28] skarn: has joined #ruby
[23:01:30] linduxed: has joined #ruby
[23:01:45] slash_nick: but yeah i like clamp better
[23:02:07] Ox0dea: https://en.wikipedia.org/wiki/Clamping_(graphics)
[23:02:20] blubjr: the syntax this program uses is {l,h,x} where h is optional, which is really ugly
[23:02:28] kobain: has joined #ruby
[23:02:40] ajaiswal: has joined #ruby
[23:02:44] adaedra: I didn't know the word "clamp" ??? but for me, "capped" coveys the idea of one (upper) limit. But I'm no native either.
[23:03:19] Outlastsheep: has joined #ruby
[23:03:24] Ox0dea: Yes, "cap" virtually always connotes a "ceiling", never a "floor".
[23:04:26] cgfbee: has joined #ruby
[23:04:44] alindeman: has joined #ruby
[23:04:57] Ropeney: has joined #ruby
[23:05:51] alol: has joined #ruby
[23:06:39] musicmatze: has joined #ruby
[23:06:41] bronson: has joined #ruby
[23:08:30] spectra: has joined #ruby
[23:08:44] tuor: has joined #ruby
[23:08:46] kent\n: has joined #ruby
[23:09:13] kellabyte: has joined #ruby
[23:10:01] bascht: has joined #ruby
[23:10:11] ElderFain: has joined #ruby
[23:11:09] Schmidt: has joined #ruby
[23:11:10] jbrhbr: eam: you there?
[23:11:16] ELCALOR: has joined #ruby
[23:11:32] jokke: has joined #ruby
[23:11:55] kalleth: has joined #ruby
[23:12:02] bytecrawler: has joined #ruby
[23:12:11] zeroDivisible: has joined #ruby
[23:12:12] gilesww: has joined #ruby
[23:12:49] shevy: has joined #ruby
[23:13:23] jlyndon: has joined #ruby
[23:13:36] yorickpeterse: has joined #ruby
[23:13:53] C0deMaver1ck_: has joined #ruby
[23:14:36] LBRapid: has joined #ruby
[23:14:53] nisstyre: has joined #ruby
[23:15:27] jabreity: has joined #ruby
[23:15:29] alxndr: has joined #ruby
[23:16:59] aredridel: has joined #ruby
[23:17:08] pfg: has joined #ruby
[23:17:24] fulgore_: has joined #ruby
[23:17:31] Muz: has joined #ruby
[23:17:34] PaulePanter: has joined #ruby
[23:17:46] zast: has joined #ruby
[23:18:22] thomasfedb: has joined #ruby
[23:18:35] thomasfedb: has joined #ruby
[23:19:26] amitchellbullard: has joined #ruby
[23:20:14] avdi: has joined #ruby
[23:20:16] xnr: has joined #ruby
[23:20:21] Fluent: has joined #ruby
[23:21:30] Uptime: has joined #ruby
[23:21:35] jimeh: has joined #ruby
[23:21:54] mic_e: has joined #ruby
[23:22:21] kramsee: has joined #ruby
[23:22:32] jabreity: has joined #ruby
[23:22:41] Lilian: has joined #ruby
[23:22:44] hellschreiber_: has joined #ruby
[23:24:11] Steve_Jobs: has joined #ruby
[23:25:45] tomchapin: has joined #ruby
[23:26:21] skade: has joined #ruby
[23:26:34] Xeago: has joined #ruby
[23:28:38] Uptime: has joined #ruby
[23:29:09] Ox0dea: Today on Things You('ll) Wish You Could Un-know: If you can smell something, it's because particles thereof are *in* your nostrils.
[23:29:57] phrozen77: has joined #ruby
[23:31:05] douglass1: that's kind of true but kind of not
[23:31:26] Freeaqingme: has joined #ruby
[23:31:40] twe4ked: has joined #ruby
[23:31:44] cmoneylulz: has joined #ruby
[23:32:07] majjoha_: has joined #ruby
[23:33:07] Ox0dea: douglass_: Enlighten me, Ol' Factoryman.
[23:33:20] Ox0dea: VeryBewitching: Any qualms with parenthetical apostrophization?
[23:33:48] douglass1: distinction between the odor-bearing compound actually reaching your nose and the thing it comes from
[23:33:53] danoo_: has joined #ruby
[23:33:58] VeryBewitching: Example please.
[23:34:03] davedev24: has joined #ruby
[23:34:04] douglass1: if i smell indole, well, it's because there are indole molecules getting to my nose. simple.
[23:34:10] Ox0dea: VeryBewitching: I just did it with "You('ll)".
[23:34:27] moei: has joined #ruby
[23:34:39] douglass1: but if i smell shit, what that actually means is *also* likely that there are indole molecules getting to my nose, since these are one of the main odor-bearing components of shit
[23:34:52] VeryBewitching: Oh, when it comes to a style of writing, I take cues from CS Lewis and Jabberwocky :D
[23:34:53] douglass1: doesn't necessarily mean other components are also in my nose
[23:35:00] gusrub: has joined #ruby
[23:35:16] Ox0dea: VeryBewitching: Isn't that "anything goes"? :P
[23:36:30] douglass1: (aside: indole is a weird compound. in high concentrations humans perceive it as smelling like shit. but in much lower ones, it's often said to smell like flowers; it's a significant component of jasmine oil for instance.)
[23:36:36] VeryBewitching: Ox0dea: The rules of English, in my opinion, can be set aside if the implied misusage promotes better emphasis or communication to with the reader.
[23:36:51] unreal: has joined #ruby
[23:36:54] Xeago: has joined #ruby
[23:37:15] amitchellbullard: has joined #ruby
[23:38:02] VeryBewitching: Ox0dea: Mostly because English is a one to many compiler relationship; plain English can mean different things to different people.
[23:38:49] bf4: has joined #ruby
[23:40:41] NeverDie_: has joined #ruby
[23:40:44] null__: has joined #ruby
[23:40:44] null__: has joined #ruby
[23:40:49] ghormoon: has joined #ruby
[23:40:55] Ox0dea: VeryBewitching: Aye, I suppose I was only look for whether or not you consider the construction to be an "improper" one.
[23:41:25] Ox0dea: What say the prescriptivists of parenthetical apostrophization?
[23:41:49] VeryBewitching: Ox0dea: I like what it expressed, the parenthetical in that statement caused the content to have two meanings.
[23:42:03] Ox0dea: As would it have done if I'd instead parenthesized "Will", of course.
[23:42:04] borkdude: has joined #ruby
[23:42:16] Azure: has joined #ruby
[23:42:36] vbatts|work: has joined #ruby
[23:42:44] Dfoolz: has joined #ruby
[23:44:05] oddalot: has joined #ruby
[23:44:16] moss: has joined #ruby
[23:44:38] ElderFain: has joined #ruby
[23:44:51] Ox0dea: VeryBewitching: http://i.imgur.com/AncNp0S.jpg
[23:45:00] htmldrum: has joined #ruby
[23:45:05] shaman42: has joined #ruby
[23:45:26] Ox0dea: I'm only bothering you because my go-to resource has failed me on the matter in spectacular fashion.
[23:45:57] jabreity_: has joined #ruby
[23:46:06] existensil: has joined #ruby
[23:47:03] SegFaultAX: has joined #ruby
[23:48:19] cookiez: has joined #ruby
[23:48:38] jimeh: has joined #ruby
[23:49:06] soahccc: has joined #ruby
[23:49:21] krobzaur: has joined #ruby
[23:49:37] ciege: has joined #ruby
[23:49:53] leslie: has joined #ruby
[23:49:53] leslie: has joined #ruby
[23:49:53] spastorino: has joined #ruby
[23:50:16] jaxxstorm: has joined #ruby
[23:50:29] cmoneylulz: has joined #ruby
[23:50:40] VeryBewitching: Make your grammer gooder.
[23:51:09] Ox0dea: I are want to make me grammars many much good as possibiliyu.
[23:51:12] Ox0dea: *possibility
[23:51:31] JoL1hAHN: has joined #ruby
[23:51:48] johnny56: has joined #ruby
[23:52:08] Ox0dea: Is ##English a graveyard?
[23:52:14] BraddPitt: has joined #ruby
[23:52:21] davedev24: has joined #ruby
[23:52:41] ytti: has joined #ruby
[23:52:41] Coraline: has joined #ruby
[23:52:41] abbe: has joined #ruby
[23:52:52] krobzaur: I think I justy discovered that the array.each{} block has its own scope. How do I get variables assigned within an array.each{} block to be accessible in the surrounding scope?
[23:53:02] Ox0dea: krobzaur: No.
[23:53:19] krobzaur: Ox0dea: no as in I am wrong?
[23:53:40] VeryBewitching: English was the natural result of mashing as many contrary languages together as possible into a homogeneous mess.
[23:53:46] theRoUS: has joined #ruby
[23:53:55] Ox0dea: krobzaur: I suspect you don't have a sufficiently good reason for wanting that.
[23:54:14] krobzaur: Ox0dea: lol ok probably true
[23:54:22] Ox0dea: Sanity prevails! <3
[23:54:35] krobzaur: Ox0dea: I supposed I could put the rest of my program within that block
[23:54:36] greenbigfrog: has joined #ruby
[23:55:08] Ox0dea: 360 no-scope is not programming advice.
[23:55:21] cbednarski: has joined #ruby
[23:56:01] krobzaur: Ox0dea: lol ok well I think I have a legitimate reason to want variables assigned in this .each block to persist after the program exits from the loop
[23:56:10] Ox0dea: krobzaur: Go on.
[23:56:12] lacrosse: has joined #ruby
[23:56:58] Brando753: has joined #ruby
[23:57:00] amitchellbullard: has joined #ruby
[23:57:06] krobzaur: Ox0dea: So how do I do that? It works if I just declare the variables I want before the loop but that seems like kind of a janky way to achieve the result I want
[23:57:24] Ox0dea: krobzaur: That's the way to do it, and its jankiness is a feature.
[23:57:32] krobzaur: Ox0dea: lol fair enough
[23:57:49] krobzaur: Ox0dea: It certaintly requires you to be attentive
[23:58:00] krobzaur: Ox0dea: and understand exactly what you want from the loop
[23:58:03] Ox0dea: krobzaur: It's really not the done thing in idiomatic Ruby.
[23:58:36] blubjr: you probably want a fold
[23:58:37] tsunamie: has joined #ruby
[23:58:37] vifino: has joined #ruby
[23:58:39] andersh: has joined #ruby
[23:58:47] Ox0dea: *reduction
[23:58:52] krobzaur: Ox0dea: mmm I just picked up Ruby yesterday so i'm not really privy to any best practices or whatnot
[23:59:09] Ox0dea: krobzaur: Whence do you come, if you don't mind my asking?
[23:59:26] Ox0dea: C, perhaps?
[23:59:36] ajafo: has joined #ruby
[23:59:37] krobzaur: Ox0dea: This window management program I found has a Ruby API so I'm using it to script my window setups
[23:59:58] Ox0dea: That's about as imperative as it gets. :P