« Back to channel list

#ruby - 25 December 2015

« Back 1 day Forward 1 day »
[00:00:20] ElFerna: has joined #ruby
[00:00:29] h0wl3vvd: has joined #ruby
[00:00:38] h0wl3vvd: anyone was using rubygame
[00:01:12] SamGerber: has joined #ruby
[00:03:04] bkxd: has joined #ruby
[00:03:46] djbkd: has joined #ruby
[00:05:25] jaequery: has joined #ruby
[00:05:30] dlitvak: has joined #ruby
[00:05:41] vikas027: has joined #ruby
[00:06:00] grn: has joined #ruby
[00:06:07] cscheib: h0wl3vvd: if you have a specific question, just ask it
[00:07:04] alindeman: has joined #ruby
[00:07:05] roshanavand: has joined #ruby
[00:07:25] cassioscabral: has joined #ruby
[00:08:09] blackmesa: has joined #ruby
[00:08:35] SamGerber: has joined #ruby
[00:08:36] jgt: has joined #ruby
[00:08:41] Asher: has joined #ruby
[00:08:47] h0wl3vvd: cscheib: yes i have and im already done it
[00:08:59] h0wl3vvd: <h0wl3vvd> anyone was using rubygame
[00:09:20] h0wl3vvd: <h0wl3vvd> ?
[00:09:28] h0wl3vvd: i mean if someone here
[00:11:28] jaequery: has joined #ruby
[00:12:00] nixmaniack: has joined #ruby
[00:12:16] havenwood: h0wl3vvd: Rubyists do tend to use RubyGems. Have a RubyGems question?
[00:12:41] havenwood: RubyGems ships with Ruby after all!
[00:12:59] Ox0dea: havenwood: http://rubygame.org/
[00:13:16] havenwood: Oh, RubyGame is a thing... >.>
[00:13:22] nfk: Ox0dea, you failed to incorporate probabilities and enough attempts to actually matter, anyway, night and happy holidays
[00:13:28] havenwood: Ox0dea: I even read it and assumed it was a typo.
[00:13:29] jaequery: has joined #ruby
[00:13:31] h0wl3vvd: someone is still using it havenwood ?
[00:13:41] h0wl3vvd: i see is no active development there
[00:13:46] havenwood: h0wl3vvd: I didn't know it was a thing.
[00:13:47] Ox0dea: nfk: Wat.
[00:14:05] h0wl3vvd: havenwood: but development of it is halted i thing
[00:14:05] chouhoulis: has joined #ruby
[00:14:07] Papierkorb: Day of weird people in #ruby huh
[00:14:11] h0wl3vvd: current release is from 2010
[00:14:25] nfk: Papierkorb, day of wasted people sounds about right
[00:14:49] nfk: and with that i'm going to bed, Ox0dea, it's not funny when your punchlive is - but i've got 8 more
[00:15:12] havenwood: h0wl3vvd: https://github.com/zenspider/graphics#readme
[00:15:16] nfk: then again, perhaps actually that is kinda funny as it implies you lost one in that versioning
[00:16:21] havenwood: h0wl3vvd: Or you might look at Gosu if you haven't already.
[00:16:28] h0wl3vvd: what is Gosu
[00:16:35] SenpaiSilver: has joined #ruby
[00:16:37] havenwood: h0wl3vvd: https://www.libgosu.org
[00:16:48] nixmaniack: has joined #ruby
[00:16:56] nixmaniack: has joined #ruby
[00:17:15] h0wl3vvd: oh so they are similar projects
[00:17:18] havenwood: h0wl3vvd: Then you can ship it with Releasy: https://github.com/Spooner/releasy#readme
[00:17:23] h0wl3vvd: but under active development
[00:17:37] h0wl3vvd: so rubygame is not for using now
[00:17:45] h0wl3vvd: too bad it was looking good
[00:17:59] havenwood: h0wl3vvd: Or on JRuby the Shoes 4 examples are fun: https://github.com/shoes/shoes4#readme
[00:18:12] havenwood: h0wl3vvd: Or for mobile: http://www.rubymotion.com
[00:18:59] cscheib: my point was that if you wanted to know something specific about the rubygames gem, you should just ask it, rather than asking if anyone used it
[00:19:19] Ox0dea: Don't tell to tell.
[00:20:12] devoldmx: has joined #ruby
[00:20:30] SamGerber: has joined #ruby
[00:21:57] Papierkorb: rubymotion takes ages to even start on my Samssung SII ..
[00:22:59] h0wl3vvd: hmmm how compilation ruby is looks ?
[00:23:09] h0wl3vvd: compilator translate ruby code to assembly and then assembler it
[00:23:34] Papierkorb: h0wl3vvd: ruby is being interpreted. no compilation is done.
[00:23:45] h0wl3vvd: ooohhh i see
[00:23:46] TheBloke-: has joined #ruby
[00:23:57] h0wl3vvd: is one implementation of ruby
[00:24:12] Papierkorb: what? Compiled? No
[00:24:21] Ox0dea: Papierkorb: Please stop.
[00:24:22] Papierkorb: Some use JIT's, but that's more of an implementation detail#
[00:24:34] Ox0dea: MRI compiles to bytecode, which gets interpreted.
[00:24:47] Papierkorb: Wow, huuuge difference for the average user! (not.)
[00:25:09] h0wl3vvd: Papierkorb: im asking how much implementations have ruby
[00:25:14] Ox0dea: I also don't like being wrong, but I like to think I handle it better.
[00:25:34] h0wl3vvd: ruby have some implementations with compilers + interpretator
[00:26:06] h0wl3vvd: hmm or maybe ruby have only one main implementation without any else ?
[00:26:08] Papierkorb: Ox0dea: I wasn't wrong. Nothing is compiled. If you do that under the hood, it's an implementation detail. You can't directly call the compiler for it to produce some kind of executable code.
[00:26:45] Ox0dea: Papierkorb: Compilation does not, in and of itself, have anything to do with native code.
[00:27:07] weemsledeux: has joined #ruby
[00:27:09] Papierkorb: Correct. but it has to do if you have to manually invoke it, or not, for a particular language
[00:27:25] nixmaniack: has joined #ruby
[00:27:26] nixmaniack: has joined #ruby
[00:27:48] havenwood: h0wl3vvd: The reference implementation is CRuby then there's JRuby, Rubinius, Maglev, RubyMotion, mruby, etc. And then another language similar to Ruby that isn't Ruby that is compiled called Crystal.
[00:28:03] Papierkorb: Especially as being "compiled (to native code)" is assumed to result in coe running with 'native performance' by many, which inn itself is a misconceptionn
[00:28:06] jaequery: has joined #ruby
[00:28:12] havenwood: h0wl3vvd: There are many implementations of Ruby.
[00:28:21] Dimik: has joined #ruby
[00:28:21] Ox0dea: Papierkorb: But nobody ever says "compiled (to native code)".
[00:28:29] h0wl3vvd: oh okaay i see thanks
[00:28:42] Papierkorb: Ox0dea: Nah, let's stop it. Neither of us is wrong. Period.
[00:28:54] Ox0dea: All I hear is crying.
[00:28:56] andywojo: has joined #ruby
[00:29:00] Papierkorb: I don't feel like debating on the angle of persception while playing games
[00:29:04] Ox0dea: Why can't we discuss the thing like civilized people?
[00:29:28] Papierkorb: you didn't provide anything to work with.
[00:30:17] Ox0dea: I didn't realize I was responsible for your education.
[00:30:20] Papierkorb: "You're wrong" "No you're wrong" "Muh you're not civilized" Cut the crap.
[00:30:30] peeja: has joined #ruby
[00:30:30] Ox0dea: Papierkorb: That isn't what I did, though.
[00:31:03] Papierkorb: Yeah whatever, don't care. Provide proof or leave it. I won't provide proof so I'll leave it.
[00:31:10] Ox0dea: People become butthurt much more quickly these days. :<
[00:31:29] shevy: or it may be you
[00:31:39] Ox0dea: Do I seem butthurt, shevy?
[00:31:49] shevy: You seem to have many problems
[00:32:00] h0wl3vvd: havenwood that Crystal have all possibilities of Ruby ?
[00:32:03] Ox0dea: shevy: Please go on.
[00:32:10] shevy: Ox0dea what for?
[00:32:26] havenwood: h0wl3vvd: Crystal is different than Ruby. Have a look: http://crystal-lang.org
[00:32:37] havenwood: h0wl3vvd: There's a #crystal-lang channel for Crystal stuff.
[00:33:31] h0wl3vvd: yeah its diffrent
[00:33:33] h0wl3vvd: but looking similar
[00:33:44] h0wl3vvd: hmm it isnt like ruby but just with native compiler
[00:33:58] shevy: h0wl3vvd it's not quite ruby, it has a ruby-similar syntax but some differences
[00:34:16] h0wl3vvd: what main of them
[00:34:18] havenwood: >> Time.now.utc.day
[00:34:19] ruboto: havenwood # => 25 (https://eval.in/491402)
[00:34:21] tectonic: has joined #ruby
[00:35:36] shevy: h0wl3vvd dunno if I could give all differences since I am a crystal-noob; alias and alias_method do not seem to exist for instance
[00:36:19] havenwood: ruby-install ruby 2.3.0 --sha256 ec7579eaba2e4c402a089dbc86c98e5f1f62507880fd800b9b34ca30166bfa5e
[00:36:34] duckpuppy: has joined #ruby
[00:36:48] shevy: damn... 2.3.0 is already out? did I miss it?
[00:36:51] havenwood: ACTION peers into the mysterious future
[00:37:21] shevy: ftp://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.xz
[00:37:28] havenwood: shevy: the command does work
[00:37:30] dlitvak: has joined #ruby
[00:37:31] shevy: now it is official xmas!
[00:37:40] solenoids: has joined #ruby
[00:37:41] shevy: can't talk now... lemme wget...
[00:38:29] shevy: all my .gemspec files must only accept 2.3.0 now!
[00:39:33] shevy: oh I see ... https://www.ruby-lang.org/en/ has no announcement as of yet
[00:40:19] shevy: I assume that https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.3.0 lists most or all of the new stuff
[00:40:30] h0wl3vvd: http://code.google.com/p/rubyrogue/source/browse/
[00:40:32] h0wl3vvd: how to run it ?
[00:42:07] shevy: if it works
[00:42:12] shevy: download the files first... hmm https://code.google.com/p/rubyrogue/source/browse/main.rb
[00:42:23] h0wl3vvd: ok i have it
[00:42:24] shevy: you need to have gosu available too
[00:42:45] shevy: I am not sure that this project has been finished... it looks a bit unfinished to me
[00:42:54] h0wl3vvd: maybe it is just small
[00:43:46] bkxd: has joined #ruby
[00:45:12] h0wl3vvd: how ruby gets files like gosu ?
[00:45:18] h0wl3vvd: in example "gem install gosu"
[00:45:31] h0wl3vvd: where is gosu hosted to gem get it to install
[00:46:10] shevy: you may have to install it first from https://www.libgosu.org/ - see the instructions there
[00:46:36] h0wl3vvd: nah i dont need
[00:46:37] dr3w: has joined #ruby
[00:46:39] Ox0dea: h0wl3vvd: https://rubygems.org/downloads/gosu-0.10.4.gem
[00:46:40] h0wl3vvd: "gem install gosu" works well
[00:46:40] nixmaniack: has joined #ruby
[00:46:46] Ox0dea: That's where it's hosted.
[00:48:37] shevy: huh I totally missed this change https://bugs.ruby-lang.org/issues/11785
[00:51:02] h0wl3vvd: https://github.com/sal1n/sanguine
[00:51:13] h0wl3vvd: im trying to run this by "ruby play.rb"
[00:51:19] h0wl3vvd: but some errrors, how to run it ?
[00:51:55] colegatron: has joined #ruby
[00:52:11] Ox0dea: h0wl3vvd: Which error?
[00:52:38] havenwood: Error: Does not work.
[00:52:57] Ox0dea: Errno::ECANTEVEN
[00:53:54] h0wl3vvd: /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- /home/l1b3r/Pobrane/sanguine/lib./sanguine/handy_methods (LoadError)
[00:53:54] h0wl3vvd: from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
[00:53:54] h0wl3vvd: from /home/l1b3r/Pobrane/sanguine/lib/sanguine.rb:16:in `<top (required)>'
[00:53:58] h0wl3vvd: from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
[00:54:01] h0wl3vvd: from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
[00:54:04] h0wl3vvd: from play.rb:4:in `<main>'
[00:54:56] havenwood: h0wl3vvd: Just for future reference please Gist more than three lines instead of pasting here.
[00:55:55] Ox0dea: h0wl3vvd: I can't imagine what's gone wrong for "lib." to have ended up in the path like that.
[00:56:56] TheBloke: has joined #ruby
[00:57:52] shevy: h0wl3vvd sounds as if he is using something like require './foo'
[00:58:09] Ox0dea: h0wl3vvd: https://github.com/sal1n/sanguine/blob/master/lib/sanguine.rb#L16-L55
[00:58:13] Ox0dea: They did that all wrong. :(
[00:58:28] Ox0dea: But hey, it works on his box!
[00:59:17] TheBloke: has joined #ruby
[00:59:46] shevy: awww https://github.com/sal1n/sanguine Steve [steve[at]salin[dot]org] June 2010
[00:59:57] shevy: h0wl3vvd 5 years to catch up... soon it's 6 years since we have 2016!
[01:00:12] shevy: havenwood ruby 2.3.0p0 (2015-12-25 revision 53290) \o/
[01:00:56] shevy: I had one strangeness though... let me try to find it
[01:00:59] robbyoconnor: has joined #ruby
[01:02:01] shevy: the method that was failing, was that one here http://pastie.org/10651577
[01:02:23] shevy: the error message was something along the lines of ... RubyVm::Inse ... something, does not respond to .join or something like that
[01:04:05] Scripore: has joined #ruby
[01:04:55] h0wl3vvd: so i cannot run it
[01:05:14] shevy: you can if you fix these errors :D
[01:05:27] h0wl3vvd: ok so better not ;p
[01:05:27] robbyoconnor: has joined #ruby
[01:05:32] shevy: but perhaps other errors will show up
[01:05:45] h0wl3vvd: btw anyone here know cool games in ruby ?
[01:05:47] shevy: it often is better to try out projects that are still active
[01:06:22] vikas027: has joined #ruby
[01:06:37] ramfjord: has joined #ruby
[01:09:12] dlitvak: has joined #ruby
[01:09:28] jgt: has joined #ruby
[01:10:06] nocd: has joined #ruby
[01:10:08] h0wl3vvd: what is most pupular ruby implementation with byte-code compiler
[01:10:36] Papierkorb: h0wl3vvd: MRI
[01:10:55] Papierkorb: h0wl3vvd: that's what you usually get when you just start 'ruby' on the shell
[01:11:16] havenwood: h0wl3vvd: CRuby's YARV is a bytecode interpreter (YARV bytecode).
[01:11:19] h0wl3vvd: site of that is ruby-lang.org ?
[01:11:34] ramfjord: has joined #ruby
[01:11:56] CBke: has joined #ruby
[01:12:09] h0wl3vvd: hmm so how to compile ruby source code
[01:12:10] blandflakes: has joined #ruby
[01:12:14] h0wl3vvd: to byte code by that MRI ?
[01:14:32] xcesariox: has joined #ruby
[01:14:45] chouhoulis: has joined #ruby
[01:14:46] jcdesimp: has joined #ruby
[01:14:46] fullofcaffeine: has joined #ruby
[01:15:53] Ox0dea: Interpretive dance couldn't save him. http://i.imgur.com/IWSZug6.gifv
[01:16:29] havenwood: >> RubyVM::InstructionSequence.compile('puts "h0wl3vvd: we usually do not"').to_a
[01:16:31] ruboto: havenwood # => ["YARVInstructionSequence/SimpleDataFormat", 2, 2, 1, {:arg_size=>0, :local_size=>1, :stack_max=>2}, ...check link for more (https://eval.in/491548)
[01:16:44] h0wl3vvd: havenwood: what ?
[01:16:59] havenwood: h0wl3vvd: Why do you want to?
[01:17:08] Ox0dea: h0wl3vvd: I think you should take your confusion as a sign that you shouldn't be worrying about compilation just yet.
[01:17:15] Ox0dea: Learn Ruby first. :)
[01:17:21] h0wl3vvd: im just asking
[01:17:27] h0wl3vvd: how to compile .rb to byte code in MRI
[01:17:50] Ox0dea: h0wl3vvd: Are you sure you know what you're asking?
[01:18:22] Ox0dea: h0wl3vvd: Then look at the eval.in link for havenwood's demonstration.
[01:18:51] h0wl3vvd: just tell me how to compile that to byte code
[01:19:18] havenwood: h0wl3vvd: As knights of the bytecode we're sworn to secrecy.
[01:20:01] fn2187: has joined #ruby
[01:20:01] havenwood: >> RubyVM::InstructionSequence.compile('puts "h0wl3vvd: we usually do not"').to_binary
[01:20:02] ruboto: havenwood # => undefined method `to_binary' for <RubyVM::InstructionSequence:<compiled>@<compiled>>:RubyVM::Instruc ...check link for more (https://eval.in/491557)
[01:20:11] h0wl3vvd: havenwood: WHAT
[01:20:33] h0wl3vvd: oh that eval.in
[01:21:02] h0wl3vvd: so what do you mean haven
[01:22:02] twilizant: has joined #ruby
[01:22:47] dr3w: has joined #ruby
[01:22:56] havenwood: h0wl3vvd: Watch this then report back: http://confreaks.tv/videos/rubyconf2015-inside-ruby-s-vm-the-tmi-edition
[01:23:51] havenwood: (Ruby 2.3 has to_biary to serialize to binary format.) :D
[01:24:05] h0wl3vvd: has left #ruby: ("ERC Version 5.3 (IRC client for Emacs)")
[01:25:34] havenwood: rvm get master && rvm install 2.3
[01:26:02] bkxd: has joined #ruby
[01:26:07] themsay: has joined #ruby
[01:30:31] ibouvousaime: has joined #ruby
[01:33:43] Scripore: has joined #ruby
[01:34:15] ta: has joined #ruby
[01:34:30] lacuna: has joined #ruby
[01:35:41] CBke: has joined #ruby
[01:35:41] CBke: has joined #ruby
[01:36:24] karapetyan: has joined #ruby
[01:37:13] h0wl3vvd: has joined #ruby
[01:37:15] h0wl3vvd: hmm strange
[01:37:18] duckpuppy: has joined #ruby
[01:37:34] h0wl3vvd: i cant just compile ruby code to byte code ? im watch in that film and there was something write to code
[01:37:56] h0wl3vvd: so if i want my code to be compilable to byte code i need to write it in special way
[01:38:07] havenwood: h0wl3vvd: Watch that video!
[01:38:27] h0wl3vvd: and these my confusions
[01:38:34] h0wl3vvd: what im understand from video is:
[01:38:40] h0wl3vvd: i need to write code in special way to do it
[01:39:11] dlitvak: has joined #ruby
[01:42:42] h0wl3vvd: i dont saw any "byte file" there
[01:42:49] baweaver: has joined #ruby
[01:43:50] djbkd: has joined #ruby
[01:44:03] tesuji_: has joined #ruby
[01:45:43] highsen: has joined #ruby
[01:46:21] lemur: has joined #ruby
[01:46:40] h0wl3vvd: kk going , thanks for info cya
[01:46:42] h0wl3vvd: has left #ruby: ("ERC Version 5.3 (IRC client for Emacs)")
[01:48:31] seitensei: has joined #ruby
[01:54:15] pawnbox: has joined #ruby
[01:57:17] fullofcaffeine: has joined #ruby
[01:58:46] highsen: has joined #ruby
[02:02:02] shevy: hmm if we "gem uninstall foobar" and that gem had a bin/foo file, will this bin/foo file also get uninstalled?
[02:04:02] havenwood: shevy: bin/foo is a second gem?
[02:04:15] shevy: havenwood ah no it is part of the gem
[02:04:17] havenwood: shevy: ah, i misread
[02:04:26] shevy: I have some stray files here but I think I did not do gem uninstall
[02:04:51] havenwood: shevy: yeah, it'll ask if you want to uninstall the binary
[02:04:58] havenwood: executable*
[02:05:15] havenwood: Remove executables: ... in addition to the gem? [Yn]
[02:06:38] wsewolod: has joined #ruby
[02:06:46] wolffles: has joined #ruby
[02:08:15] shevy: thanks \?/
[02:09:20] lacuna: has joined #ruby
[02:09:35] dlitvak: has joined #ruby
[02:10:15] jgt: has joined #ruby
[02:11:50] alindeman: has joined #ruby
[02:13:50] qiukun: has joined #ruby
[02:14:27] ur5us: has joined #ruby
[02:15:30] chouhoulis: has joined #ruby
[02:17:47] arescorpio: has joined #ruby
[02:18:45] Ox0dea: has joined #ruby
[02:20:33] Rodya_: has joined #ruby
[02:20:47] devoldmx: has joined #ruby
[02:20:55] andywojo: has joined #ruby
[02:22:35] dfinninger: has joined #ruby
[02:23:43] Emmanuel_Chanel: has joined #ruby
[02:24:51] bradleyprice: has joined #ruby
[02:32:07] bkxd: has joined #ruby
[02:32:55] highsen: has joined #ruby
[02:34:20] ur5us: has joined #ruby
[02:37:19] ponga: has joined #ruby
[02:37:39] ta: has joined #ruby
[02:38:04] duckpuppy: has joined #ruby
[02:40:56] dlitvak: has joined #ruby
[02:52:56] CBke: has joined #ruby
[02:52:57] CBke: has joined #ruby
[02:54:44] peeja: has joined #ruby
[03:03:08] hagabaka: has joined #ruby
[03:03:13] Rodya_: has joined #ruby
[03:03:51] kobain: has joined #ruby
[03:05:15] A124: has joined #ruby
[03:05:45] ryez: has joined #ruby
[03:06:39] dlitvak: has joined #ruby
[03:11:27] solocshaw: has joined #ruby
[03:11:32] KennethSteel: has joined #ruby
[03:16:17] chouhoulis: has joined #ruby
[03:16:18] peeja: has joined #ruby
[03:19:01] dingman: has joined #ruby
[03:20:48] wsewolod: has joined #ruby
[03:22:19] shevy: http://blog.honeybadger.io/when-to-use-freeze-and-frozen-in-ruby/
[03:22:46] shevy: so many changes in ruby are rails inspired
[03:25:54] dingman: Woot! I have an actually working implementation of one of the four cases my padding oracle project needs to support. Thanks for helping me with my ruby learning curve.
[03:25:54] dingman: shevy, Ox0dea ^^
[03:26:29] shevy: padding oracles?
[03:26:55] postmodern: has joined #ruby
[03:27:12] dingman: Sever takes an encrypted text, tells the client if the resulting plaintext is correctly padded or not.
[03:27:33] dingman: From that information and a gazillion queries, client can recover the plaintext without knowing the key.
[03:28:12] dingman: Usually, revealing that information is a bug in the server.
[03:28:39] dingman: In this case, it's a teaching tool, so it's a deliberate feature.
[03:33:21] shevy: hmm weird
[03:33:32] shevy: second time I seem to find a difference between ruby 2.2.3 and 2.3.0
[03:33:46] shevy: but I am not sure if this is because of a bug I added to one of my programs, or because 2.3.0 is a tiny bit different
[03:33:48] shevy: target of repeat operator is not specified: /?C=M;O=D-1.0.48/ (RegexpError)
[03:34:30] shevy: I know why the bug happens... the above should have never made it into the // that I was using... but I can't quite figure out if this was already a bug in 2.2.3 and I may not have noticed it yet... or if it is related to a change in 2.3.0 or being stricter or something
[03:38:31] dlitvak: has joined #ruby
[03:38:41] andywojo: has joined #ruby
[03:38:50] duckpuppy: has joined #ruby
[03:39:27] Ox0dea: dingman: Yay! Mind sharing the CryptoString implementation you ended up using?
[03:40:12] solocshaw: has joined #ruby
[03:44:14] pawnbox: has joined #ruby
[03:46:41] the_nick_me: has joined #ruby
[03:47:27] jaequery: has joined #ruby
[03:48:16] pdoherty: has joined #ruby
[03:48:54] sankaber: has joined #ruby
[03:51:34] jaequery: has joined #ruby
[03:53:11] fullofcaffeine: has joined #ruby
[03:55:58] jgt: has joined #ruby
[03:57:10] fullofcaffeine: has joined #ruby
[03:59:54] weemsledeux: has joined #ruby
[04:01:37] highsen: has joined #ruby
[04:10:17] dlitvak: has joined #ruby
[04:11:14] pawnbox: has joined #ruby
[04:17:01] chouhoulis: has joined #ruby
[04:18:55] jaequery: has joined #ruby
[04:22:56] braincrash: has joined #ruby
[04:25:55] themsay: has joined #ruby
[04:26:10] fullofcaffeine: has joined #ruby
[04:29:57] djbkd: has joined #ruby
[04:30:06] aryaching: has joined #ruby
[04:31:57] jgt: has joined #ruby
[04:31:59] CBke: has joined #ruby
[04:32:28] cassioscabral: has joined #ruby
[04:33:12] TheBloke-: has joined #ruby
[04:33:42] pawnbox: has joined #ruby
[04:35:16] kies^: has joined #ruby
[04:36:17] dlitvak_: has joined #ruby
[04:39:02] B1n4r10: has joined #ruby
[04:39:14] CBke: has joined #ruby
[04:39:35] duckpuppy: has joined #ruby
[04:40:37] ta: has joined #ruby
[04:45:09] dlitvak: has joined #ruby
[04:45:36] TheBloke: has joined #ruby
[04:46:51] devoldmx: has joined #ruby
[04:47:58] smactive: has joined #ruby
[04:48:10] dr3w: has joined #ruby
[04:56:03] TheBloke: has joined #ruby
[04:57:01] h99h9h88: has joined #ruby
[05:01:42] shevy: anyone happens to know when http://ruby-doc.org/stdlib/libdoc/net/ftp/rdoc/Net/FTP.html will be updated to link towards 2.3.0 ?
[05:01:53] shevy: right now it redirects towards http://ruby-doc.org/stdlib-2.2.4/libdoc/net/ftp/rdoc/Net/FTP.html
[05:02:17] havenwood: shevy: *soon*
[05:02:42] pawnbox_: has joined #ruby
[05:05:57] kies^: has joined #ruby
[05:06:31] pawnbox: has joined #ruby
[05:07:53] iateadonut: has joined #ruby
[05:11:37] themsay: has joined #ruby
[05:12:09] yes`r: has joined #ruby
[05:13:10] karapetyan: has joined #ruby
[05:17:47] chouhoulis: has joined #ruby
[05:19:36] mistermocha: has joined #ruby
[05:22:14] solocshaw: has joined #ruby
[05:25:44] CBke: has joined #ruby
[05:25:45] CBke: has joined #ruby
[05:27:07] wolffles: has joined #ruby
[05:28:27] darkf: has joined #ruby
[05:38:16] raeoks: has joined #ruby
[05:40:43] hohenfall: has joined #ruby
[05:42:12] dr3w: has joined #ruby
[05:43:49] ta: has joined #ruby
[05:45:01] qiukun: has joined #ruby
[05:45:48] cassioscabral: has joined #ruby
[05:55:55] SamGerber: has joined #ruby
[05:56:02] ramfjord: has joined #ruby
[05:58:55] devbug_: has joined #ruby
[06:01:06] ramfjord: has joined #ruby
[06:02:35] rippa: has joined #ruby
[06:02:39] qiukun: has joined #ruby
[06:04:12] xcesariox: has joined #ruby
[06:11:03] dfinninger: has joined #ruby
[06:14:32] the_nick_me: has joined #ruby
[06:18:29] chouhoulis: has joined #ruby
[06:25:13] fullofcaffeine: has joined #ruby
[06:30:57] duderonomy: has joined #ruby
[06:32:29] bithon: has joined #ruby
[06:37:39] dr3w: has joined #ruby
[06:39:20] dexter-tzu: has joined #ruby
[06:40:20] duckpuppy: has joined #ruby
[06:40:44] highsen: has joined #ruby
[06:42:41] dlitvak: has joined #ruby
[06:43:10] wolffles: has joined #ruby
[06:45:04] moei: has joined #ruby
[06:45:26] bradleyprice: has joined #ruby
[06:45:43] pawnbox: has joined #ruby
[06:45:52] howdoi: has joined #ruby
[06:53:52] claw: has joined #ruby
[06:56:23] Bloomer: has joined #ruby
[07:03:31] ramfjord: has joined #ruby
[07:04:16] ledestin: has joined #ruby
[07:05:22] seitensei: has joined #ruby
[07:10:33] ramfjord: has joined #ruby
[07:10:34] karapetyan: has joined #ruby
[07:11:33] colegatron: has joined #ruby
[07:14:19] yfeldblum: has joined #ruby
[07:15:00] bithon: has joined #ruby
[07:18:03] SantaClaus1: has joined #ruby
[07:18:16] SantaClaus1: Ho ho ho... Merry Christmas !!! Take a break developers and enjoy a day off
[07:19:16] chouhoulis: has joined #ruby
[07:20:07] shevy: let's tar SantaClaus1
[07:20:20] agent_white: I got the feathers
[07:22:13] andywojo: has joined #ruby
[07:25:13] Scripore: has joined #ruby
[07:29:17] shevy: let's wait... perhaps he brought some gifts
[07:31:10] jaequery: has joined #ruby
[07:36:14] Coldblackice: has joined #ruby
[07:40:44] moei: has joined #ruby
[07:41:20] djbkd: has joined #ruby
[07:43:07] SantaClaus1: has left #ruby: ()
[07:44:01] passerine: has joined #ruby
[07:44:26] agit0: has joined #ruby
[07:47:27] zotherstupidguy: has joined #ruby
[07:47:43] lacuna: has joined #ruby
[07:49:41] jaequery: has joined #ruby
[07:50:38] ta: has joined #ruby
[07:55:13] ruu_: has joined #ruby
[07:55:31] jaequery: has joined #ruby
[07:56:10] krz: has joined #ruby
[07:57:11] solenoids: has joined #ruby
[08:00:22] ChanServ: +o havenwood
[08:00:36] ChanServ: -o havenwood
[08:03:12] azgil: has joined #ruby
[08:07:20] treaki: has joined #ruby
[08:08:41] postmodern: happy Christmas
[08:09:14] steffkes: has joined #ruby
[08:09:15] postmodern: my belated ruby-Christmas gift is update support in ruby-install
[08:09:42] postmodern: you can test this before it's released by checking out the 0.6.0 branch: https://github.com/postmodern/ruby-install/tree/0.6.0
[08:10:55] pawnbox: has joined #ruby
[08:12:20] ipfree: has joined #ruby
[08:13:36] SamGerber: has joined #ruby
[08:19:54] shevy: every day should be xmas day
[08:19:58] chouhoulis: has joined #ruby
[08:19:59] AnoHito: has joined #ruby
[08:23:43] bradleyprice: has joined #ruby
[08:25:06] bkxd: has joined #ruby
[08:25:08] ipfree: Does anyone have knowledge of how to use rubies as parts in a laser
[08:25:36] azgil: whats laser
[08:26:05] ipfree: LASER stands for light amplification by stimulated emission of radiation
[08:26:06] dr3w: has joined #ruby
[08:26:19] agit0: has joined #ruby
[08:26:22] ipfree: also I'm trying to turn a CFL light bulb into a part for a laser beam
[08:26:24] SamGerber: has joined #ruby
[08:26:42] ipfree: can a CFL light bulb be modified to do this and act as a laser part: http://g03.s.alicdn.com/kf/HTB1pOE5FXXXXXaQcXXXq6xXFXXXC/112247161/HTB1pOE5FXXXXXaQcXXXq6xXFXXXC.jpg
[08:27:49] ipfree: ????"y??????S????p#??+??????T??????????????????m??????p????|v,????z??a??4C:?? ????[!??tm????4
[08:27:51] ipfree: ??????J??%??????.??Y&T??5@Uj??(??3??-bF????|/+Nv??g$????
[08:27:53] ipfree: ????????IC$l????Ts??????????????z??????^?? ??ir????E3????u????}H????????????_??'??hW??gNa????-?????o????w????$Y??7e?????? ??5????????,??7??????|??????S????b> ??H??????,??T????????u????????????N??Ex}??g??????x&g??r????A??????'7??G
[08:27:54] ipfree: bxd?????-????RW????C\&??*????????=  ??????????????Xf??u???????fh??F????| ???? ????O??????:D??q
[08:27:56] ipfree: ????????????4J??W!aY??U????????lN+7W??1R????????)i??g??_??????????W??????s??????Lw{????"??=????"B????r??n??Q??????#????a??{~Kq?????????? 8??b??)??f????K??????@????Dv??????0 X????U????"e>H?????? ????????esM??w~U??s??F????o,??Pb?????? ??r*??????#Q??????J??????????vlf??vHH????qR??(???????? ????????R??
[08:27:58] ipfree: ??^ 3EL??Zf????%??????ah????
[08:28:00] ipfree: ??w??????c
[08:28:02] ipfree: ??????u????Z??I????}????77??u
[08:28:04] ipfree: _OC??[U????6????|??E???????_*????????D9??ZV??????4Z?????? {??????wTf!???? ??????*
[08:28:06] ipfree: ????????????????????
[08:28:08] ipfree: ??)??|R??ro??|??zUO*????????????????OT??????O:??w????????
[08:28:12] ipfree: ????????a????b??????????|???????????????/????/??%;(n????@??T,????l????, 8I0;?? =3pES?????#??s????+G??I??K??; ??,????-@??}(??x???^??j??^??o????6H??????PH???? L??+??q,??????]??C;??u?????Q2Y??2????????????????????
[08:28:13] ipfree: ??[????FJ&??a????????+z??????Z/??????\x??
[08:28:15] ipfree: ????#????~??gI4{`z????q??????E#??}????????dnx??VyBL???? ?? y??}????l????`??{????^??????Y.0<F????v>??\??????/CO'2????e??4-[u5(}??????mTUg=??L??*??PE??;??h ??]Ib????[_1????#
[08:28:17] ipfree: vG??H??a????????S??TN??QV???e????Fr??>"A4??B????.??M????[/K??????????]J??4P??~??l??????r??????????z??#T????????r??z 2`??????????%I??1????l??A??q??SZ^U:????????????K, ??Y??l9z??xb??@z; ??(,????????0??????????28????????c;????Z????????$????x????z??.??h1'K7H??w??O??T??$???????:u????2???????? ????????/??'??_????v????
[08:28:19] ipfree: ??\h??,[;????C??????c"????]W8????>AW1s??
[08:28:21] ipfree: uD??}@ao??P6m??AF??1??$0,????>??k????Q??b??h???????????????????????$??????????=????a??????S ??u,??????(2A??KK;??v??????r????@!????????U??\????A???????????3????0??????????&&????V??[??'Qa??-
[08:28:23] ipfree: !=????T??Dg????????R6??M??i5??????????V*Bz??\????????t??: ????P????;??v??Be??????????
[08:28:25] ipfree: ????RD??e????oR??????K+????1"??01??????????????Z-Z??-
[08:28:27] ipfree: Tein????
[08:28:29] ipfree: X????pO??)??av????#f4r????F]W????;@J????
[08:28:33] ipfree: <??w??AOP??9????n??s??g??????????#????j????!
[08:28:35] ipfree: ????I??d??????????lq??,J????$\??????i??A????y????????eq????L??wyk?? hu;?? ??????gS??>&????????L _V???w6???????? ??????WZ??????????~??S??!/??????z]??TV=_Q5s ??~\??????"??_????QdF*
[08:28:36] ipfree: ??F????#!'????W??????????R????v*Tm"+??9??????3???? ??f%H.????
[08:28:38] ipfree: ????)v????V7??.??;????,????????A????H??rWe??.????;3z?? Ygg????mFj??????F????3??????x??????^????z??????????ev??x-??????w????8??????9??????oQ????}??????????????
[08:28:40] ipfree: ??????B??Yb??F|????*??Hq"??b???? ????W"?????? ??????U??????U??]i??????Y??W????l??V????????&At*????7??H????Z????Q??@2????7|O????????u????????B??k`'7????????2w??????Co)??????????)+??J??\??????i??q??~??B????????????????????l
[08:28:42] ipfree: |,??]6??2??I??|mRK????@h????I ??F????????????US????????_??E??????b_????@(??m??????m??b??}????uk ??pt????????????J????????z????????.[??????????=??????x????
[08:28:44] ipfree: 8??????&????Y@"??!????J??sM??R????|F??i??`??????c??????f6??,????4}b?? `L??????=??
[08:28:46] ipfree: ??????=??0s??s??????3@??G??CU%5??????uY ??j^*?????? ??????m??F??ke??????.Z??
[08:28:48] ipfree: k????ta k??d??O????/????/????????G??.????????Di??V;????K H??X)C????d??????????????????????L????x????r ???????????????????p??????????
[08:28:49] ipfree: ]6????Y????:????????dk!??????????6??&!????;??????X??>???? t??v??pM????????x??+5??a????_d??"Iq??????D???? ????F????%??{?K??????/????-??????@%??????b??????KI
[08:28:52] ipfree: Rb\xg????????|??????~????A????}??79??tY8????????b????C????????????v%??jd??I06????Bw8???S??}????????????;???? ??>??U"????Vd??F??N??l??????????iQVM??+/??q=??????vz??
[08:28:53] ipfree: ????@Z??J??#???P??
[08:28:55] ipfree: ??B??&????!y????V????6????3D????} ??F+??<s1??%??A????(??????!z??B??`??????SKdE????????*??YgM????M????Z??I!U{r????????dV??g/Ri??T ?????? j????6????Oi tu??]??h??????????????+ Q??????w94??C??Z??[??o??,;D/??????????' ??????/D????_?????? ??mn??s??;??r????@??&c[????_??z??IBbeo\??????????Vqm;??4W$??@;??Z????y??????????????????`????T??????gT ??|&????? ??_??u??v????N|rS?????? ????
[08:28:57] ipfree: Tell me how to make a laser from a CFL light bulb or ruby or else!!!
[08:28:58] ipfree: ??2`????\????h????+????(???????????????????????^??q??????????
[08:28:59] ipfree: ????????????G????^??~??????!. ??????4????*??
[08:29:00] ipfree: t~??Yi????3?? +??9??G??=????K????NU????!KT??i????;??"????Mb????p[??sp????0??>??O????S??+????f????-??R??????k5<??^????5!??~????7??5????v????????f??F??R7??????^C??"20%??+&??????YL??KV9????????????-o????a_??&_??)????????V??T????8??????!R??k??????????????$n??#n(??9%O~??????jm??????6??B
[08:29:02] ipfree: 4??&a??????{?????? ?{4,b????????ff??H]\??>??rx??\$c;
[08:29:03] ipfree: ??q??i?? ????????/??????[{??,~??????~????%??7??i'#????2?? 5PG??3????6???k????????????p??]????????qN6????V)??;????V??Q??&??|??H4??l??????86??????#??:O5??,"??$????h??????????o=f????????'??????vR?????????? kO?????
[08:29:05] ipfree: &e??X??E??????ks????li??R??OH??
[08:29:05] phatypus: has joined #ruby
[08:29:07] ipfree: \??????\??T????D
[08:29:07] ipfree: Tell me how to make a laser from a CFL light bulb or ruby or else!!!
[08:29:10] ipfree: c\Gi??)??A????? !??????+?? | pl(,??????? Ll????2??3??????J??AW#??".:????????"??$??S????????g??????????"??????R????5??
[08:29:12] ipfree: ??6????ot#??;??}??nC??q<??????J????U????v??c^????????????v????8??????Y??J??j????2|1,S)??lOx;????e??a??????????????;??c'3-??<????????????!o??????l??[
[08:29:16] ipfree: x9??.??S0
[08:29:17] ipfree: Tell me how to make a laser from a CFL light bulb or ruby or else!!!
[08:29:18] ipfree: ??=????,????V$??*??????|????????{h??|8??????*??U[/2n??,}??L??{??%????r??Ux4??"????J??6 ????????{UJ??x????}y??@2??????!??????????????????wtz????,????)M??9B????x??`?????~??+??a??9??,????0_x?????W??????????Re??4??TY??8yK4??????n??k}??
[08:29:20] ipfree: k`????R?? ??g??sYG????N??h
[08:29:22] ipfree: ????V;????????'-??L2b??K??\??z??Ap"5????n????)??????%??#|??X????D??~????????3??+6u$&l??=kK??A??????o????Y???????????????jX1Q????SRT????????lx ??%l????
[08:29:24] ipfree: ????y????c??t3
[08:29:26] ipfree: 9????????L????O????l??T9??C]??1??lFs??7???????????~+J????@/1????????*S??#
[08:29:27] ipfree: Tell me how to make a laser from a CFL light bulb or ruby or else!!!
[08:29:28] ipfree: ????ya??????????????K??4>????????Z!FP???? ??A????>`??c?????????A????S??lw]??4-????????0:??????U????r???? <????U
[08:29:30] ipfree: ????????_??*z??????W1W.?VO8????s??:?????????????"??{??Sz??r????????v??a?? .??????????R>=/.????V??C+??,????`??????j??????Aln????????????A?? ??#??'??AB*L????pQL??k??MB??0X(????6??M??#zN??????~??,5??"??~J??????????~????j??????T????????^jh?? 5??J@+??H????????????/z?????????????{????????:??????v??7????\??????????^????R ??*??w??[????S??$??&Gv??E??????w? %b??Pp?? g????????pRm????
[08:29:31] ipfree:  0??*B??Z'??h????X????qzs??????????????<??10o!d!????KW??%????U|??}??B????q????????H??????????%p??i????????9/U??5????????3????????V~b????/??<??.????????"??*V????:x??????Xtq??????*d;X????X??4????:????-????-??????[????e??q" ??L????y????7:`7s????d??hs????O-ZT5????????????S????<??????%[*????K]??????????
[08:29:32] ruboto: fflush, banisterfiend, seanstickle, apeiros, Mon_Ouie, zzak, Radar, Havenn, miah, Coraline, sevenseacat, jhass, workmad3, Aria, zenspider, slyphon, rubyhacker1, baweaver, ljarvis, drbrain, Adaedra
[08:29:32] ipfree: ??????n????3 ????????????{MkC??????T5????????(?? E????:[??????Jw???????q????????G????C??????`7????!????????\Ay\????B????N-[??y]T????'??7??5{'????+?? Vc??;V??]????TD??????e????0??'+??@??%????M??~ |??X????~R??c??n????C????#G????????^??????u9??D??????????????_ze-??WE
[08:29:33] ipfree: ????~b}??????d??1w?????? ???? ????*f??????v62??
[08:29:37] ipfree: Tell me how to make a laser from a CFL light bulb or ruby or else!!!
[08:29:38] ipfree: K??H????z??
[08:29:39] ipfree: i??)??,??mB????
[08:29:41] ruboto: +q ipfree!*@*
[08:29:41] ruboto: -o ruboto
[08:29:55] azgil: crazy troll
[08:29:59] havenwood: demophoon: thx
[08:31:17] postmodern: dude just needs to read Make magazine http://makezine.com/2006/11/14/how-to-make-a-dvd-burner/
[08:33:53] The_Phoenix: has joined #ruby
[08:34:33] wolffles: has joined #ruby
[08:36:25] Ishido: has joined #ruby
[08:36:57] ipfree: has left #ruby: ()
[08:38:13] azgil: top posters for 24.21
[08:38:21] azgil: http://pastie.org/10651798
[08:38:42] azgil: shevie is leader
[08:39:26] azgil: channel girl award
[08:41:07] duckpuppy: has joined #ruby
[08:41:15] freeze: has joined #ruby
[08:44:14] vikas027: has joined #ruby
[08:45:20] wolffles: has left #ruby: ()
[08:46:24] nixmaniack: has joined #ruby
[08:46:25] nixmaniack: has joined #ruby
[08:47:19] wolffles: has joined #ruby
[08:51:42] fantazo: has joined #ruby
[08:55:14] decoponio: has joined #ruby
[08:57:25] n1x: has joined #ruby
[08:57:26] n1x: has joined #ruby
[08:58:53] agent_white: has joined #ruby
[09:04:57] blandflakes: has joined #ruby
[09:05:01] harai54: has joined #ruby
[09:08:10] julieeharshaw: has joined #ruby
[09:08:36] azgil: what array's class method do you most use ?
[09:08:43] pawnbox: has joined #ruby
[09:10:01] dionysus69: has joined #ruby
[09:16:27] sandstrom: has joined #ruby
[09:16:31] BSaboia: has joined #ruby
[09:17:16] mdw: has joined #ruby
[09:20:21] dr3w: has joined #ruby
[09:20:28] firstdayonthejob: has joined #ruby
[09:20:48] chouhoulis: has joined #ruby
[09:22:41] seitensei: has joined #ruby
[09:22:41] seitensei: has joined #ruby
[09:24:28] andywojo: has joined #ruby
[09:27:27] ruu_: has joined #ruby
[09:27:33] bkxd: has joined #ruby
[09:28:34] nixmaniack: has joined #ruby
[09:28:34] nixmaniack: has joined #ruby
[09:28:50] bradleyprice: has joined #ruby
[09:28:59] jackcom: has joined #ruby
[09:29:05] jackcom: merry crimas
[09:30:40] ibouvousaime: has joined #ruby
[09:32:21] fullofcaffeine: has joined #ruby
[09:33:06] shtirlic: has joined #ruby
[09:38:14] azgil: who is crismas?
[09:38:31] vikas027: has joined #ruby
[09:38:49] azgil: he coded on ruby?
[09:41:06] karapetyan: has joined #ruby
[09:41:31] jackcom: azgil: merry chrismas
[09:42:03] azgil: ok, accepted
[09:42:06] iamnix: has joined #ruby
[09:42:12] jackcom: we wish a merry crismas we wish a merry crismas lalalalala ~~~~~~
[09:43:07] azgil: chrisman didn't pass the tests
[09:44:01] jackcom: what you mean azgil ?
[09:44:28] azgil: try to reread again
[09:44:30] Bloomer: has joined #ruby
[09:45:13] azgil: he could be a good programmer
[09:45:32] azgil: and invent new cool OS but he prosral vse polimeri
[09:45:41] jackcom: https://www.google.com/search?q=chrisman&biw=1398&bih=1062&tbm=isch&imgil=r5NGU4rpQekjwM%253A%253BWyfOAn1y4-8KuM%253Bhttp%25253A%25252F%25252Fforumspain.net%25252Fthread%25252Fchrisman.html&source=iu&pf=m&fir=r5NGU4rpQekjwM%253A%252CWyfOAn1y4-8KuM%252C_&usg=__M5rqwBD2lo2h6_O4DlwTPGTzTsM%3D&ved=0ahUKEwjhubiB3fbJAhUQ9GMKHTalBFoQyjcIYg&ei=LhB9VuHqMJDojwO2ypLQBQ#tbm=isch&tbs=simg%3Am00&tbnid=r5NGU4rpQekjwM%3A&docid=WyfOAn1y4-8KuM
[09:45:42] shtirlic: has joined #ruby
[09:46:12] jackcom: chrisman is dead?
[09:46:13] azgil: so saf oh
[09:46:18] azgil: so sad oh
[09:46:32] azgil: of course
[09:47:09] BaroMeter: has joined #ruby
[09:47:37] nixmaniack: has joined #ruby
[09:48:22] jackcom: how can i learn embed programming?
[09:48:54] azgil: first learn binary logic
[09:49:08] yfeldblum: has joined #ruby
[09:49:22] jackcom: i know it already and then?
[09:49:50] azgil: https://en.wikipedia.org/wiki/Verilog
[09:50:14] jackcom: ruby programming?
[09:51:06] jackcom: it looks like ruby programming.
[09:51:23] ChameleonSix: has joined #ruby
[09:51:44] SnowGlobe: has joined #ruby
[09:53:58] ta: has joined #ruby
[09:54:45] azgil: what do you wnat to say?
[09:58:16] azgil: jackcom you need help?
[09:58:21] jackcom: azgil: how can i upload programming to cmos of mechanic?
[09:58:36] azgil: google it
[09:58:47] jackcom: you don???t know it?
[09:58:53] azgil: what is cmos
[09:59:00] radgeRayden: has joined #ruby
[09:59:36] azgil: what is device
[10:00:02] jackcom: i don???t know exactly. but laptop have cmos
[10:00:06] jackcom: i think so azgil
[10:01:07] ChameleonSix: cmos on mobo?
[10:01:11] azgil: you want upload new bios?
[10:01:27] ChameleonSix: Cmos stores bios settings
[10:01:57] jackcom: ChameleonSix: :)
[10:02:04] jackcom: what is it?
[10:02:28] azgil: cool base os for laptop
[10:02:50] jackcom: i don???t know
[10:03:02] ChameleonSix: Uefi bios boots faster
[10:03:08] ChameleonSix: what mobo do you have?
[10:03:15] ChameleonSix: Some motherboards dont have uefi
[10:03:42] jackcom: i don???t know mobo
[10:04:30] puria: has joined #ruby
[10:05:00] themsay: has joined #ruby
[10:05:31] ChameleonSix: how do you manage to upload a new bios
[10:05:45] themsay: has joined #ruby
[10:05:59] jackcom: i don???t know anything
[10:06:10] jackcom: about bios ChameleonSix
[10:06:29] ChameleonSix: do you even know how to access bios
[10:06:32] jackcom: wait i will be back. mother call me to eat dinner
[10:06:43] ChameleonSix: basic input output system
[10:06:46] jackcom: ChameleonSix: i don???t know how can i access bios
[10:06:55] ChameleonSix: f2 while booting
[10:07:04] ChameleonSix: why are you trolling
[10:07:05] jackcom: i think that you are specialist of embed programming
[10:07:08] spider-mario: has joined #ruby
[10:07:39] jackcom: ChameleonSix: just wait plz for 10 minute
[10:07:44] jackcom: i will be back
[10:08:27] ChameleonSix: I am not leaving soon
[10:09:22] cscheib: CMOS and BIOS are fairly OT for this channel
[10:11:49] azgil: seems he takes the drugs
[10:11:58] pawnbox: has joined #ruby
[10:12:34] ChameleonSix: english isnt your main?
[10:13:10] ChameleonSix: where are you from
[10:13:38] azgil: Lithuanian
[10:14:01] ChameleonSix: I know 5 people from Lithuania
[10:14:07] sole: could one please explain how to compile taglib-ruby on windows?
[10:14:37] lewed: has joined #ruby
[10:15:25] lewed: im search some nice modern, object oriented language for game programming, ruby can done work ? im read about it its looking good
[10:15:32] lewed: but it can be slow for games a bit
[10:15:35] lewed: cuz it is interpreted
[10:16:46] cscheib: sol_: do you just need the taglib-ruby gem? can you just gem install it?
[10:16:50] lewed: im using lua for external scripts for C games
[10:16:58] lewed: lua is interpreted also
[10:17:02] havenwood: lewed: Is Ruby really too slow for what you're doing or you suspect it might be? You might like Crystal: http://crystal-lang.org
[10:17:02] cscheib: sol_: looks like they distribute the DLL in binary form from rubygems
[10:17:17] azgil: lewed, only rust
[10:17:31] ChameleonSix: No one uses ruby for programming games
[10:17:40] havenwood: ChameleonSix: That's not true.
[10:17:42] sole: cscheib: i can install it only on ruby 1.9.3 and only version 0.6 there
[10:17:49] ChameleonSix: ok maybe some games
[10:17:57] mdw: has joined #ruby
[10:18:17] sole: cscheib: the coder seems not to be able to make a gem for 0.7 and new rubies
[10:18:34] cscheib: sol_: looks like there's an open issue: https://github.com/robinst/taglib-ruby/issues/36
[10:18:36] lewed: so ruby is too slow for games
[10:18:49] cscheib: sol_: and it's been open for a considerable amount of time
[10:18:52] havenwood: lewed: Why do you keep saying that?
[10:18:57] lewed: havenwood: cuz it is interpreted
[10:19:04] lewed: it will be slow in big projects
[10:19:14] sole: cscheib: yes an nothing happens for years now
[10:19:37] sole: i try to compile it from time 2 time but i never succeded
[10:19:40] cscheib: sol_: honestly, it may be time to spin up a Linux VM
[10:19:47] ChameleonSix: im working on ruby spambots
[10:20:27] sole: cbetta: i have but i one should be able to make a gem for it also for windows =)
[10:20:28] The_Phoenix: has joined #ruby
[10:20:34] cscheib: lewed: havenwood's point is your statement is far too broad
[10:20:46] sole: i would try if one can give me some hints
[10:20:49] cscheib: lewed: ruby may be slow for certain things
[10:21:04] cscheib: lewed: but it will *work*
[10:21:14] lewed: too shame, ruby looks pretty nice for me
[10:21:23] cscheib: and in many scenarios, it will work well
[10:21:28] FernandoBasso: has joined #ruby
[10:21:29] havenwood: lewed: What do you think will be too slow. You may be wrong.
[10:21:34] chouhoulis: has joined #ruby
[10:21:37] cscheib: but you're probably not going to write a AAA game in it, without a lot of optimization
[10:21:45] lewed: who knows similar syntax to ruby langage, some modern object oriented language ? im like how classes is maked in ruby
[10:21:49] cscheib: but, it's still probably possible
[10:22:08] havenwood: lewed: Also the research on speeding up interpreted language to be as fast as compiled is going well. Some very interesting reading on that front regarding Ruby: http://chrisseaton.com/phd/specialising-ruby.pdf
[10:22:24] Bloomer: has joined #ruby
[10:22:35] arup_r: has joined #ruby
[10:22:40] havenwood: lewed: So you're just here to troll?
[10:22:45] lewed: havenwood: no
[10:23:04] havenwood: lewed: Then what's too slow? Show me the code and benchmarks.
[10:23:13] cscheib: sol_: well, unless you're willing to pull open the code for the gem and fix the compile errors, you're probably SOL
[10:23:16] lewed: interpreting is too slow
[10:23:20] havenwood: lewed: Yeah, no.
[10:23:22] lewed: is better to write in c++
[10:23:23] platzhirsch: has joined #ruby
[10:23:32] lewed: program writeen in c++ will be hell faster
[10:23:34] havenwood: lewed: Trolling isn't allowed here. Stop it.
[10:23:36] cscheib: sol_: SOL meaning s*** outta luck, not your nick
[10:23:43] lewed: havenwood: im not trolling
[10:23:46] cscheib: lewed: that's a fairly ignorant statement
[10:23:54] lewed: cscheib: why
[10:23:56] cscheib: willfully ignorant
[10:24:01] havenwood: lewed: Learn something! Read that paper ^.
[10:24:03] lewed: cscheib: why
[10:24:09] lewed: havenwood: stop trolling me
[10:24:14] cscheib: because havenwood just told you where to look about optimizing interpreted languages
[10:24:16] ChameleonSix: wrong chat sorry
[10:24:21] sole: cscheib: i would try to fix it but im not able without help
[10:24:40] ChameleonSix: does anyone have a simple spambot coded in ruby
[10:25:12] kam270: has joined #ruby
[10:25:18] ChameleonSix: it should attach to sensible-browser
[10:25:22] cscheib: you're probably not gonna get help on spambots...
[10:25:25] cscheib: just sayin
[10:25:43] cscheib: unsolicited email isn't exactly something people want to assist with
[10:25:53] themsay: has joined #ruby
[10:26:05] jackcom: ChameleonSix: :)
[10:26:08] jackcom: i m back now
[10:26:45] FernandoBasso: has joined #ruby
[10:26:48] ChameleonSix: it doesnt have to be a mail spambot
[10:27:10] ChameleonSix: anyway i got one important question
[10:27:20] ChameleonSix: can i make ruby programs with gui?
[10:27:23] ledestin: has joined #ruby
[10:27:37] jackcom: yes i can access bios to press delete key. but i want access bios of refirgerator. ChameleonSix
[10:27:49] cscheib: jackcom: highly off topic for this channel
[10:28:02] jackcom: ok cscheib
[10:28:16] ChameleonSix: bios of refrigerator
[10:28:23] azgil: use pliers
[10:28:32] arup_r: I am trying to write a method by which I should be able to sort a collection by one or more sort keys .. How can I rewrite this https://gist.github.com/aruprakshit/f378ad99d4f1028af105 to handle the same?
[10:29:08] kam270: has joined #ruby
[10:30:00] cscheib: ChameleonSix: regarding guis, pick a framework, google for ruby gems for that framework
[10:30:20] ChameleonSix: ruby on rails?
[10:30:46] cscheib: well, rails is a web framework
[10:30:55] cscheib: so if you consider the browser gui, sure
[10:31:44] ChameleonSix: what other guis are there?
[10:31:56] havenwood: ChameleonSix: What are you making?
[10:31:57] ChameleonSix: give me one you liked?
[10:32:24] cscheib: but, for a traditional gui framework, there's gtk, Qt, ruby/tk
[10:32:24] azgil: terminal gui nice
[10:32:34] cscheib: and plenty of other gui frameworks.
[10:32:43] cscheib: OS specific ones, cross platform ones
[10:32:56] havenwood: ChameleonSix: Mobile or desktop?
[10:33:13] ChameleonSix: i would like to learn both
[10:33:30] cscheib: google is honestly probably your friend in this scenario
[10:33:35] ChameleonSix: you can use swift for mob?
[10:33:36] cscheib: did you try googling at all?
[10:33:38] havenwood: ChameleonSix: http://www.rubymotion.com
[10:33:54] havenwood: ChameleonSix: https://github.com/shoes/shoes4#readme
[10:34:03] ChameleonSix: better than google
[10:34:06] havenwood: ChameleonSix: https://github.com/zenspider/graphics#readme
[10:35:08] ChameleonSix: i need to put user input link on ruby tk
[10:35:23] ChameleonSix: same as terminal
[10:35:29] azgil: why there so many scooloys, where a admins
[10:36:03] azgil: why there so many schoolboys, where a admins
[10:36:25] cscheib: this is a community, not a dictatorship.
[10:36:34] azgil: my keyboard is joking
[10:36:59] ChameleonSix: slipped fingers
[10:37:26] xcesariox: has joined #ruby
[10:37:52] platzhirsch: has left #ruby: ()
[10:38:15] cscheib: havenwood has been giving good advice to everyone, listen to what they are saying
[10:38:32] cscheib: also, take initiative and google a bit :P
[10:40:27] cyfr0n: has joined #ruby
[10:41:03] AlexRussia: has joined #ruby
[10:41:16] havenwood: arup_r: I can't quite follow your example (though I'm falling asleep so maybe it's me). Do you mean for `:sort_keys` to be `sort_keys`?
[10:41:24] azgil: Could not find a valid gem 'graphics' (>= 0) in any repository
[10:41:33] azgil: i tried to run example
[10:41:42] havenwood: arup_r: I'd suggest giving a couple examples of expected input and desired output.
[10:41:49] duckpuppy: has joined #ruby
[10:42:24] arup_r: I made one solution. https://gist.github.com/aruprakshit/f378ad99d4f1028af105 but looking for better ideas ..
[10:43:08] arup_r: havenwood: I mentioned some scenarions.. it is very simple. You have a collection which you want to sort by some time one key or some time multiple keys
[10:43:39] havenwood: arup_r: In general it's nice to give runnable, real inputs rather than describing them.
[10:44:12] azgil: fucked gem
[10:46:11] Random_Bypasser: has joined #ruby
[10:46:12] havenwood: azgil: It's new. If you're perchance on OS X: git clone https://github.com/zenspider/graphics.git && cd graphics && ./graphics_setup.sh
[10:47:23] azgil: i use linux
[10:47:34] havenwood: azgil: Or if you're not on OS X and have installed the deps yourself: git clone https://github.com/zenspider/graphics.git && gem install graphics/pkg/graphics*.gem
[10:47:35] azgil: this lib only for macguys
[10:47:40] lewed: azgil: u dont use only kernel
[10:47:46] lewed: u propably use gnu/linux
[10:48:02] exadeci: has joined #ruby
[10:49:37] pawnbox: has joined #ruby
[10:51:11] azgil: how i can get graphics/pkg/graphics*.gem
[10:52:05] ChameleonSix: how do i check if an array is empty
[10:52:48] havenwood: ChameleonSix: ask it
[10:53:19] havenwood: ChameleonSix: ayup
[10:54:55] sandstrom: has joined #ruby
[10:56:21] ta: has joined #ruby
[10:59:26] puria: has joined #ruby
[11:01:06] treaki_: has joined #ruby
[11:02:04] Jackneill: has joined #ruby
[11:03:03] colegatron: has joined #ruby
[11:05:12] havenwood: azgil: gem install hoe && rake clean package
[11:05:40] blandflakes: has joined #ruby
[11:07:50] dexter-tzu: has joined #ruby
[11:08:30] jbrhbr: has joined #ruby
[11:08:38] naftilos76: has joined #ruby
[11:08:38] lewed: has left #ruby: ("ERC Version 5.3 (IRC client for Emacs)")
[11:10:00] Ishido: has joined #ruby
[11:10:52] pawnbox: has joined #ruby
[11:11:11] azgil: havenwood, `find_font': Can't find font named 'Menlo' (ArgumentError)
[11:11:45] azgil: gem installed ok
[11:12:31] havenwood: azgil: Ah, yeah an OS X font. It's early in dev and there're kinks to work out. I probably shouldn't have mentioned but have been meaning to check it out in some detail so did.
[11:12:58] azgil: i installed arch menlo package
[11:13:06] havenwood: azgil: ah, nice - good font
[11:13:16] azgil: but get errro
[11:13:54] rgtk: has joined #ruby
[11:14:01] azgil: seems not ready gem for linux
[11:14:17] ChameleonSix: how to check something in array
[11:14:39] azgil: not emplty?
[11:15:07] ChameleonSix: check if there is an item with a certain name
[11:15:37] adgtl: has joined #ruby
[11:15:47] azgil: find{|| bla bla}
[11:16:22] adgtl: Guys.. when to use keyword arguments and when not to use them?
[11:16:27] adgtl: Any guide?
[11:17:37] Trynemjoel: has joined #ruby
[11:17:58] platzhirsch: has joined #ruby
[11:21:30] solocshaw1: has joined #ruby
[11:21:56] ChameleonSix: https://gist.github.com/anonymous/500eaa33f8b3162b5e77
[11:22:00] ChameleonSix: tutorial doesnt pass
[11:22:09] ChameleonSix: can someone tell me why its all explained in the gist
[11:22:15] chouhoulis: has joined #ruby
[11:22:28] ChameleonSix: (the problem)
[11:23:27] seitensei: has joined #ruby
[11:23:38] azgil: try think
[11:23:50] ChameleonSix: Hmm contains? should have
[11:23:57] azgil: @todo_items.find{|el| el.name == name}
[11:24:31] azgil: not @todo_items.find{|el| el.name == name}.nil?
[11:24:51] ChameleonSix: it should return a boolean
[11:25:17] blackgoat: has joined #ruby
[11:25:39] ChameleonSix: The `contains?` method did not return a boolean value.
[11:30:02] karapetyan: has joined #ruby
[11:32:04] Jackneill_: has joined #ruby
[11:32:34] ChameleonSix: array with argument?
[11:32:58] lkba: has joined #ruby
[11:33:03] azgil: rewrite "find_index" with @todo_items.each_with_index.find{|el| el[0]=="222"}
[11:33:14] theRealAlexz: has joined #ruby
[11:33:15] theRealAlexz: has joined #ruby
[11:33:16] azgil: rewrite "find_index" with @todo_items.each_with_index.find{|el| el[0]==name}[1]+1
[11:35:19] ibouvousaime: has joined #ruby
[11:35:56] Mon_Ouie: has joined #ruby
[11:36:52] azgil: funny font meslo
[11:37:19] CloCkWeRX: has joined #ruby
[11:37:37] azgil: i like it
[11:37:41] azgil: will use it
[11:38:17] pawnbox: has joined #ruby
[11:38:57] adgtl: has joined #ruby
[11:49:44] thoraxe: has joined #ruby
[11:50:14] pawnbox: has joined #ruby
[11:51:47] RegulationD: has joined #ruby
[11:52:08] Jackneill: has joined #ruby
[11:52:33] SCHAAP137: has joined #ruby
[11:56:21] skade: has joined #ruby
[11:56:40] yxhuvud: has joined #ruby
[11:57:12] rodfersou: has joined #ruby
[11:57:48] unreal: has joined #ruby
[11:57:57] Ishido: has joined #ruby
[11:57:57] lxsameer: has joined #ruby
[11:57:58] lxsameer: has joined #ruby
[11:57:58] ta: has joined #ruby
[12:00:12] themsay: has joined #ruby
[12:02:10] tricktricktrck: has joined #ruby
[12:02:57] dr3w: has joined #ruby
[12:07:10] skcin7: has joined #ruby
[12:07:44] pawnbox: has joined #ruby
[12:10:32] dionysus69: has joined #ruby
[12:11:45] arup_r1: has joined #ruby
[12:14:18] xcesariox: has joined #ruby
[12:16:39] roshanavand: has joined #ruby
[12:17:20] sonOfRa: has joined #ruby
[12:18:01] roshanavand: has joined #ruby
[12:21:57] charliesome: has joined #ruby
[12:22:22] FooMunki: has joined #ruby
[12:22:37] pawnbox: has joined #ruby
[12:23:01] chouhoulis: has joined #ruby
[12:23:54] kirun: has joined #ruby
[12:24:09] jgt: has joined #ruby
[12:25:33] andywojo: has joined #ruby
[12:26:26] SnowGlobe: has joined #ruby
[12:29:18] lapide_viridi: has joined #ruby
[12:31:52] zotherstupidguy: has joined #ruby
[12:31:56] zotherstupidguy: has joined #ruby
[12:32:00] jgt: has joined #ruby
[12:34:21] pawnbox: has joined #ruby
[12:35:42] rehas: has joined #ruby
[12:39:24] cyfr0n: has left #ruby: (".")
[12:42:34] duckpuppy: has joined #ruby
[12:45:16] pawnbox: has joined #ruby
[12:46:38] benhuda: has joined #ruby
[12:46:38] SnowGlobe: has joined #ruby
[12:52:11] shanemcd: has joined #ruby
[12:53:11] arup_r: has joined #ruby
[12:54:42] platzhirsch: has joined #ruby
[12:54:57] BrunoSaboia: has joined #ruby
[12:56:52] pawnbox: has joined #ruby
[12:56:58] iateadonut: has joined #ruby
[12:57:34] deavid: has joined #ruby
[12:58:54] monsieurp: has joined #ruby
[12:58:54] monsieurp: has joined #ruby
[12:59:11] [dmp]: has joined #ruby
[13:01:00] RushPL: has joined #ruby
[13:02:50] rippa: has joined #ruby
[13:03:11] Scripore: has joined #ruby
[13:06:14] bkxd: has joined #ruby
[13:07:46] diegoviola: has joined #ruby
[13:08:18] Jackneill: has joined #ruby
[13:11:21] petuti: has joined #ruby
[13:11:35] kmckelvi1: has joined #ruby
[13:13:10] pawnbox: has joined #ruby
[13:13:23] Trynemjoel: has joined #ruby
[13:14:11] jackcom: has left #ruby: ()
[13:14:43] d0nn1e: has joined #ruby
[13:14:45] diegoviola: cool, 2.3.0 is out
[13:14:56] diegoviola: I want to update, I use ruby-install
[13:15:08] diegoviola: so I have both chruby and ruby-install in ~/.local
[13:15:13] petuti: has left #ruby: ("Leaving")
[13:15:14] diegoviola: ~/.local/bin
[13:15:16] radgeRayden: has joined #ruby
[13:15:36] diegoviola: do I need to remove ~/.local, because I want to update ruby-install first
[13:15:47] diegoviola: or is there another way to update ruby-install?
[13:15:56] sdothum: has joined #ruby
[13:17:12] puria: has joined #ruby
[13:20:35] doug-: has joined #ruby
[13:21:05] diego1: has joined #ruby
[13:22:00] Trynemjoel: has joined #ruby
[13:22:50] diego1: has joined #ruby
[13:23:48] chouhoulis: has joined #ruby
[13:24:18] seitensei: has joined #ruby
[13:24:18] seitensei: has joined #ruby
[13:27:19] diego1: no, I prefer chruby/ruby-install
[13:27:58] ElFerna: has joined #ruby
[13:29:13] diegoviola: I'll just wipe ~/.local and reinstall chruby/ruby-install
[13:30:20] Trynemjoel: has joined #ruby
[13:31:27] SnowGlobe: has joined #ruby
[13:35:00] roshanavand: has joined #ruby
[13:35:48] symm-: has joined #ruby
[13:38:14] azgil: has joined #ruby
[13:39:45] skade: has joined #ruby
[13:40:31] krobzaur: has joined #ruby
[13:42:03] nocd: has joined #ruby
[13:43:00] karapetyan: has joined #ruby
[13:46:36] karapetyan: has joined #ruby
[13:47:13] karapetyan: has joined #ruby
[13:47:28] rgtk: has joined #ruby
[13:49:16] Spami: has joined #ruby
[13:51:27] jgt: has joined #ruby
[13:52:50] BSaboia: has joined #ruby
[13:53:12] Xzanron: has joined #ruby
[13:57:00] jyuan: has joined #ruby
[13:57:45] andywojo: has joined #ruby
[14:00:08] ta: has joined #ruby
[14:00:50] vasilakisFiL: has joined #ruby
[14:00:53] qpls: has joined #ruby
[14:06:00] charliesome: has joined #ruby
[14:07:32] xcesariox: has joined #ruby
[14:09:40] roshanav_: has joined #ruby
[14:09:42] mdw: has joined #ruby
[14:11:15] azgil2: has joined #ruby
[14:11:29] z3uS: has joined #ruby
[14:13:29] pawnbox: has joined #ruby
[14:13:31] shanemcd: has joined #ruby
[14:14:36] nocd: has joined #ruby
[14:16:14] nocd: has joined #ruby
[14:16:30] dlitvak: has joined #ruby
[14:18:48] nocd: has left #ruby: ()
[14:20:59] pawnbox: has joined #ruby
[14:24:15] SnowGlobe: has joined #ruby
[14:24:18] sandstrom: has joined #ruby
[14:24:30] chouhoulis: has joined #ruby
[14:25:13] colegatron: has joined #ruby
[14:25:48] gmind: has joined #ruby
[14:26:01] gmind: anyone use lrb gem ?
[14:28:01] dlitvak: has joined #ruby
[14:29:59] Kn|t3: has joined #ruby
[14:33:44] platzhirsch: has joined #ruby
[14:34:47] platzhirsch: has left #ruby: ()
[14:38:11] kknight: has joined #ruby
[14:38:18] arup_r: has joined #ruby
[14:38:28] kobain: has joined #ruby
[14:39:32] karapetyan: has joined #ruby
[14:40:23] Trynemjoel: has joined #ruby
[14:40:58] dstarh: has joined #ruby
[14:41:02] cassioscabral: has joined #ruby
[14:41:37] krobzaur: has joined #ruby
[14:43:19] duckpuppy: has joined #ruby
[14:48:03] kknight: marry christmas
[14:50:01] shevy: yeah marry it
[14:50:32] gmind: anyone use LRB gem ?
[14:51:24] mary5030: has joined #ruby
[14:52:00] kknight: shevy> try to understand the feeling , not spelling
[14:52:20] blandflakes: has joined #ruby
[14:53:55] drewvanstone: has joined #ruby
[14:54:07] peeja: has joined #ruby
[14:57:53] dlitvak: has joined #ruby
[14:58:40] dlitvak_: has joined #ruby
[15:02:07] Jackneill_: has joined #ruby
[15:03:17] treaki: has joined #ruby
[15:04:02] treaki: has joined #ruby
[15:05:49] treaki: has joined #ruby
[15:06:13] Atomic_Dz4vo: has joined #ruby
[15:10:01] Atomic_Dz4vo: has left #ruby: ()
[15:10:20] dlitvak: has joined #ruby
[15:12:40] weemsledeux: has joined #ruby
[15:13:09] SnowGlobe: has joined #ruby
[15:14:29] yes`r: has joined #ruby
[15:15:03] gigetoo: has joined #ruby
[15:16:35] luxurydab: has joined #ruby
[15:20:24] Rinalds: has joined #ruby
[15:20:36] shinnya: has joined #ruby
[15:21:18] shanemcd: has joined #ruby
[15:21:53] drewvanstone: has joined #ruby
[15:23:47] drewvanstone: has joined #ruby
[15:24:07] ElFerna: has joined #ruby
[15:25:09] seitensei: has joined #ruby
[15:25:14] drewvanstone: has joined #ruby
[15:25:15] chouhoulis: has joined #ruby
[15:26:42] dlitvak: has joined #ruby
[15:30:03] gmind: has left #ruby: ()
[15:30:15] SnowGlobe: has joined #ruby
[15:30:50] tom_lowndes: has joined #ruby
[15:30:51] kairos_: has joined #ruby
[15:31:24] mrtomme: has joined #ruby
[15:34:21] pawnbox: has joined #ruby
[15:35:00] passerine: has left #ruby: ()
[15:36:48] pawnbox: has joined #ruby
[15:38:04] peeja: has joined #ruby
[15:39:59] ibouvousaime: has joined #ruby
[15:40:58] lacuna: has joined #ruby
[15:41:02] smactive: has joined #ruby
[15:41:16] ponzi: has joined #ruby
[15:42:10] ponzi: Is the new Ruby 2.3.0 compatible with Rails 4.2? I just had a problem getting Nokogiri to resolve a libxml hurdle.
[15:43:07] shevy: ponzi I guess the people at #rubyonrails know best; I myself noticed a very finy tiny differences... two small behaviour changes or something that required of me to make two changes in some of my projects, which worked fine in 2.2.3
[15:43:19] shevy: erm remove that *finy ...
[15:43:23] weemsledeux: has joined #ruby
[15:44:03] ponzi: shevy: Would have thought immutable strings was a biggy but maybe not.
[15:44:08] Papierkorb: shevy: care to elaborate?
[15:45:14] shevy: Papierkorb I think I mentioned that yesterday; one problem was a method called translate() which suddenly no longer worked and had a RubyVM::InstructionSequence passed in, I have no idea why; I don't fully remember the other problem right now, I'd have to scroll up and remember where it was
[15:45:23] shevy: ponzi immutable strings are optional as of yet
[15:45:55] Papierkorb: ponzi: Ruby 2.3 does not by default set every String immutable (Ruby 3.0 is said to do that though). You can use the new .. 'pragma' comment thing, but it 'only' makes all strings inside the *file* the comment was found in to be immutable
[15:46:51] shevy: hmm I wanna try out the frozen strings
[15:47:04] shevy: how can you enable a per-file frozen string directive exactly?
[15:47:56] azgil2: has joined #ruby
[15:48:21] monashko2: has joined #ruby
[15:49:04] Papierkorb: https://www.ruby-lang.org/en/news/2015/12/25/ruby-2-3-0-released/ doesn't say what it is, only that it exists >_>
[15:49:08] ponzi: Upgrading to 2.3.0 with rbenv I'm seeing a long list of ".... because its extensions are not built. Try: gem pristine ....". Is there any way of doing these all at once? My gems are in ~/.gem/gems
[15:49:08] skade: has joined #ruby
[15:49:30] Papierkorb: ponzi: um .. .. maybe try gem update? Don't know
[15:49:54] shevy: does the option -debug=frozen-string-literal work? hmm lemme check
[15:50:15] cornerma1: has joined #ruby
[15:50:15] shevy: configure: error: unrecognized option: `--debug=frozen-string-literal'
[15:51:29] Papierkorb: Wow ruby 2.3 is still not in ArchLinux repos. I'm already waiting more than 24 hours! ;)
[15:51:42] shevy: ponzi the few times I had to do this, using gem pristine worked for me; but if all else fails, if you have your gems locally anyway, you can just batch-install them via "gem install ./*.gem"
[15:51:52] ponzi: has left #ruby: ()
[15:52:15] shevy: debian will probably take 8 years before it adopts ruby 2.3.0
[15:52:22] Papierkorb: &. is called the .. lonely operator?
[15:53:17] shevy: matz explained it, let me find his talk
[15:53:56] Jackneill: has joined #ruby
[15:53:57] Papierkorb: I think I know what it does (basically 'foo&.bar' => 'foo && foo.bar'), but the name ..
[15:54:16] shevy: https://www.youtube.com/watch?v=LE0g2TUsJ4U starting at 14:30 soon enough
[15:54:45] shevy: actually, such a video is probably the best intro, let me try to use his code example for frozen strings
[15:55:21] skade: has joined #ruby
[15:55:56] shevy: ok it works
[15:55:57] shevy: foo.rb:3:in `<main>': can't modify frozen String (RuntimeError)
[15:56:01] dlitvak: has joined #ruby
[15:56:10] ponzii: has joined #ruby
[15:56:14] Papierkorb: "frozen".let_it_go!
[15:56:16] shevy: here is the code I used: http://pastie.org/10652277
[15:56:35] shevy: I dread the day when it becomes the default though :(
[15:56:55] shevy: I mean when "# frozen-string-literal: false" would also not work
[15:57:09] shevy: because it requires of me to permanently change all code I have and the way how I write it
[15:57:13] hagabaka: has joined #ruby
[15:57:22] shevy: I can't do: _ = ''; _ << 'hello' without an extra step afterwards
[15:57:22] ponzii: has left #ruby: ()
[15:58:20] weemsledeux: has joined #ruby
[15:59:50] shevy: what happened to jhass?
[15:59:54] andywojo: has joined #ruby
[16:00:34] arup_r: he is benchmarking!
[16:01:27] shevy: perhaps he was kidnapped for xmas
[16:01:31] ta: has joined #ruby
[16:04:34] arup_r: learning JS .. from scratch.. I can't ignore it even if I want.. :/ I HAVE TO LEARN besides Ruby..
[16:05:01] arup_r: I'll add another 20k in SO through JS now.. hehe
[16:05:22] dlitvak: has joined #ruby
[16:05:31] Jackneill_: has joined #ruby
[16:05:39] Didac: has joined #ruby
[16:07:54] feders: has joined #ruby
[16:09:45] The_Phoenix: has joined #ruby
[16:11:38] gregf: has joined #ruby
[16:12:24] Kn|t3: has joined #ruby
[16:14:48] adgtl: has joined #ruby
[16:15:03] feders: has left #ruby: ("NedaMise")
[16:15:31] timonv: has joined #ruby
[16:15:51] mary5030: has joined #ruby
[16:15:55] dingman: has joined #ruby
[16:16:05] CBke: has joined #ruby
[16:16:06] CBke: has joined #ruby
[16:17:11] shevy: we have lost arup_r
[16:17:27] arup_r: :( no shevy
[16:19:03] nateberkopec: has joined #ruby
[16:23:00] Papierkorb: arup_r: Have .. Have you considered using Opal?
[16:23:12] cassioscabral: has joined #ruby
[16:23:19] arup_r: no.. Never heard of it.. let me google..
[16:23:22] Papierkorb: Sure for some things you still need JS, but it really reduces it to a bare minimum
[16:23:53] Papierkorb: For personal projects it's fine IMO. For a multi-million dollar project maybe not yet :)
[16:24:08] Papierkorb: arup_r: TL;DR: Ruby -> JavaScript in the browser
[16:24:19] arup_r: Papierkorb: I am throughly reading this book https://github.com/getify/You-Dont-Know-JS
[16:25:10] arup_r: With Rails, I wrote lot of Jquery.. worked 3+ rails projects, not felt I should learn the language more seriously.. :)
[16:25:30] arup_r: Thanks Ruby to teach me what is closure.. I have np with that in JS.. :D
[16:25:57] chouhoulis: has joined #ruby
[16:26:15] Papierkorb: There's Clearwater for Opal which is essentially the pendant for Ember.JS. Then there's Volt.rb which is our (= rubyians) pendant to Meteor.JS
[16:26:31] adgtl: has joined #ruby
[16:27:46] Papierkorb: Can't tell you about the 'quality' of either of those projects ^, never used them myself
[16:29:10] wildlander: has joined #ruby
[16:29:18] karapetyan: has joined #ruby
[16:30:11] jobewan: has joined #ruby
[16:33:31] hagabaka: if you already know closure, you can learn other things about javascript pretty quick
[16:34:11] Rodya_: has joined #ruby
[16:35:09] baweaver: has joined #ruby
[16:35:26] Papierkorb: The biggest benefit, besides not having to write JS (ES6 looks reasonable actually from what I've seen of it yet), is that you can share code between the server and client. I make use of that a lot
[16:35:32] dlitvak: has joined #ruby
[16:35:38] the_nick_me: has joined #ruby
[16:38:18] gambl0re: has joined #ruby
[16:39:58] arup_r: s/not felt/now felt
[16:40:26] arup_r: Papierkorb: what do you mean by sharing code between client and server..
[16:41:18] Papierkorb: arup_r: Logic which you want to use on the server and client. In the simplest case, small validation methods.
[16:41:28] idefine: has joined #ruby
[16:41:33] lenwood: has joined #ruby
[16:42:23] dlitvak: has joined #ruby
[16:42:58] Papierkorb: arup_r: My stuff is pretty much a SPA, and can be completely rendered on the client and server using the same code. The web browser just consumes the JSON API after the initial page load and can then use all that jazz to e.g. do live updates effortlessly
[16:43:00] lemur: has joined #ruby
[16:43:02] n0xff: has joined #ruby
[16:44:04] duckpuppy: has joined #ruby
[16:44:18] Papierkorb: arup_r: I have controllers and models on the client, where the models on the client (due to API conventions) know how to update their server counterparts and so on. In the end, it's like a Live-version of Rails (sans ActiveSupport) running on the client.
[16:44:40] shevy: Papierkorb have you written a project with opal?
[16:44:50] Papierkorb: shevy: My personal project uses it massively, yes
[16:45:01] shevy: next time I have a question, I will grab you!
[16:45:19] Papierkorb: shevy: That's why I say "Take a look for personal projects, for business critical stuff, maybe wait some time" ;)
[16:46:18] shevy: my projects are always critical!
[16:46:31] Papierkorb: srs bsns all the taim
[16:49:22] karapetyan: has joined #ruby
[16:50:24] hagabaka: what makes it a lesser choice for critical projects? security?
[16:51:57] wolffles: has joined #ruby
[16:52:23] Papierkorb: hagabaka: Its missing some of the ruby standard library (But has most of what's required, so not the biggest reason). Bigger issues are currently bugs in the transpiler itself (generating broken JS code, pretty rare occurence, happened once to me ), or the parser (Happened a handful of times). The parser is right now written by themselves, but they're currently migrating over to the parser gem for that (AFAIK), so that'll fix tons of corner cases
[16:52:53] shevy: Papierkorb, ah I found the exact passage, it is at 16:40 ... matz says: "new operator and-dot &. ... which we called lonely operator... just because... look at this figure ... and you can see that someone, sitting on the floor, looking at a dot on the floor by himself... now you don't forget!"
[16:52:53] Papierkorb: hagabaka: Those bugs are time consuming, and something I wouldn't want to worry about if I'm about to hit a deadline.
[16:53:09] Papierkorb: shevy: oh man
[16:53:17] shevy: so now you know &. is a dude staring at a dot :D
[16:53:28] shevy: or a girl. a person!
[16:53:36] Papierkorb: arup_r, hagabaka: http://opalrb.org/try/# live demo of Opal in your browser
[16:53:42] RegulationD: has joined #ruby
[16:53:51] hagabaka: yeah I found that
[16:54:02] Papierkorb: Not the latest Opal, but enough for tinkering with it
[16:55:22] hagabaka: to be honest I don't mind writing javascript, but the main reason why I prefer ruby for non-web things is the library
[16:56:11] adgtl_: has joined #ruby
[16:56:45] zast: has joined #ruby
[16:57:01] zotherstupidguy: has joined #ruby
[16:57:25] Papierkorb: hagabaka: give it a shot. Though the last issue did break my code in unexpected ways: I used their 'singleton' library, but this one delegates all object methods (including stuff like #class), which broke other things for me. I pretty much dumped MRIs implementation of it into my sources and that fixed it.
[16:57:52] Papierkorb: So, the general ruby support is quite good, but lesser used libraries or corner cases can bite you :)
[16:59:49] Kn|t3: has joined #ruby
[17:00:29] Rodya_: has joined #ruby
[17:03:38] Rodya_: has joined #ruby
[17:03:59] baweaver: has joined #ruby
[17:04:34] fantazo: has joined #ruby
[17:05:35] Rinalds: this ruby process when one part is hard and then you go to next one and it's easy.. / learning /
[17:09:03] krobzaur: has joined #ruby
[17:26:00] seitensei: has joined #ruby
[17:26:15] dfinninger: has joined #ruby
[17:26:46] chouhoulis: has joined #ruby
[17:27:24] banister: has joined #ruby
[17:29:49] robh71: has joined #ruby
[17:30:21] GlueC: has joined #ruby
[17:32:08] shanemcd: has joined #ruby
[17:32:33] davedev24: has joined #ruby
[17:34:44] arup_r: has joined #ruby
[17:37:53] devoldmx: has joined #ruby
[17:38:49] cassioscabral: has joined #ruby
[17:39:20] karapetyan: has joined #ruby
[17:42:32] weemsledeux: has joined #ruby
[17:42:46] blackjid: has joined #ruby
[17:42:48] shevy: havenwood still no 2.3.0 at http://ruby-doc.org/stdlib/ :(
[17:44:30] havenwood: shevy: 2.3.0 is listed but yeah not linked up yet: http://ruby-doc.org
[17:46:24] karapetyan: has joined #ruby
[17:50:12] bubbys: has joined #ruby
[17:52:10] karapetyan: has joined #ruby
[17:52:10] Papierkorb: Are there already some benchmarks out there comparing ruby2.3 to earlier versions?
[17:53:39] Trynemjoel: has joined #ruby
[17:54:16] baweaver: has joined #ruby
[17:55:28] wjimenez5271: has joined #ruby
[17:55:29] krobzaur: has joined #ruby
[17:55:33] colegatron: has joined #ruby
[17:56:19] wolffles: has joined #ruby
[17:58:45] gregf: has joined #ruby
[18:00:34] SamGerber: has joined #ruby
[18:01:22] andywojo: has joined #ruby
[18:01:53] karapetyan: has joined #ruby
[18:03:15] karapetyan: has joined #ruby
[18:03:21] baweaver: has joined #ruby
[18:03:51] shevy: everyone is busy eating chocolate
[18:03:55] shevy: they have no time for benchmarks right now!
[18:04:12] shevy: I also tried to eat some of the chocolate from the xmas tree, but it's awful quality :(
[18:04:27] karapetyan: has joined #ruby
[18:04:46] lemur: has joined #ruby
[18:05:36] karapetyan: has joined #ruby
[18:06:19] jgt: has joined #ruby
[18:06:58] karapetyan: has joined #ruby
[18:08:57] karapetyan: has joined #ruby
[18:09:43] RegulationD: has joined #ruby
[18:10:11] dfinninger: has joined #ruby
[18:11:20] gregf: has joined #ruby
[18:12:12] baweaver: has joined #ruby
[18:12:26] dlitvak: has joined #ruby
[18:13:35] camillo: has joined #ruby
[18:15:57] karapetyan: has joined #ruby
[18:16:27] peeja: has joined #ruby
[18:17:05] karapetyan: has joined #ruby
[18:20:12] karapetyan: has joined #ruby
[18:23:06] s00pcan_: has joined #ruby
[18:26:26] wolffles: im eating cheesecakes :D
[18:26:47] shanemcd: has joined #ruby
[18:27:20] lacuna: has joined #ruby
[18:27:32] chouhoulis: has joined #ruby
[18:29:53] wolffles: how would i tell .map to .sub an odd number && if its first in array then .sub an odd number && if its last in array.
[18:30:45] shevy: wolffles you can usually combine this via a map with index
[18:31:06] shevy: .map.with_index() {}
[18:32:34] wolffles: oh ive never used that before. for the last position should i do #with_index(array.length) {} # ?
[18:33:29] ramfjord: has joined #ruby
[18:33:48] shevy: there is probably a better way
[18:33:56] dstarh: has joined #ruby
[18:35:44] wolffles: also ive been wondering if i can do an ???if else statement??? instead of a ???do??? or ???{ }??? after .map()
[18:36:01] wolffles: cuz ive been trying it and no luck
[18:37:41] Ox0dea: has joined #ruby
[18:37:45] Ox0dea: wolffles: https://eval.in/493089
[18:37:58] Ox0dea: But that's not very good.
[18:39:23] wolffles: yeah it shows that i can do what i need tho. if you do use an ???if else statement??? can that be a single line code or does it have to be multi-line?
[18:39:33] shevy: wolffles the do/end or {} is used for a block, which is similar to an additional argument to a method; if/else does not directly have to do with arguments. You can however had control behaviour inside of your blocks to toggle behaviour of your main method or other parts of your code
[18:39:45] shevy: foo('cat','dog') {{ :disable_colours }}
[18:40:53] Ox0dea: wolffles: You can just use semicolons so that all your programs fit on one line.
[18:41:17] codecop: has joined #ruby
[18:41:55] Ox0dea: I'd rather not entertain your apparent desire to write hard-to-read code, but you should certainly know about the ternary operator.
[18:41:55] wolffles: thats pretty confusing. :D none of my resources teaches me any of that, where can i find info on this stuff shevy ?
[18:42:09] hectortrope: has joined #ruby
[18:42:42] wolffles: lol Ox0dea yeah i usually write multiline code but i thought i should learn how to write on one line if that was ever needed
[18:42:53] Ox0dea: wolffles: It's never needed.
[18:43:10] Ox0dea: >> def foo; block_given?; end; [foo, foo {}] # wolffles
[18:43:11] ruboto: Ox0dea # => [false, true] (https://eval.in/493095)
[18:43:22] Ox0dea: Every method receives an implicit block; it's up to each method to decide to use it or not.
[18:43:33] shevy: wolffles it's just code in a block
[18:44:03] wolffles: so much abstract concepts!
[18:44:13] Ox0dea: Abstraction is the best thing ever.
[18:44:15] shevy: it's just a block!
[18:44:41] wolffles: lol shevy no need to yell :[
[18:44:49] duckpuppy: has joined #ruby
[18:44:51] robh71: has joined #ruby
[18:45:50] wildlander: has joined #ruby
[18:47:07] wolffles: is there a term to the drawing of a codes process, or i guess mapping it? like im learning by just googling everything and i dont know what to search for to find a resource on it.
[18:47:20] diegoviola: has joined #ruby
[18:47:36] tectonic: has joined #ruby
[18:47:43] nchambers: has joined #ruby
[18:47:44] diegoviola: so any ideas how to update ruby-install?
[18:47:54] diegoviola: I've installed it to ~/.local
[18:50:07] last_staff: has joined #ruby
[18:50:28] peeja: has joined #ruby
[18:50:45] shevy: wolffles I meant that in regards to an abstract concept, a block really is very simple, there are harder concepts in ruby... just combine instance_eval class_eval other eval, send, method_missing, define_methods - and always know where self is
[18:51:06] nicoulaj: has joined #ruby
[18:51:19] shevy: wolffles procs and lambdas are also harder to grasp than a block: http://www.reactive.io/tips/2008/12/21/understanding-ruby-blocks-procs-and-lambdas/
[18:51:34] shevy: hmm that is old ... you did not even have the odd -> syntax
[18:51:51] Ox0dea: wolffles: That's a remarkably ineffective way to learn.
[18:52:18] shevy: wolffles I usually store useful information in a local file
[18:52:19] wolffles: i know??? im struggling
[18:52:21] Ox0dea: wolffles: Try this one: https://youtu.be/GlKL_EpnSp8?t=28
[18:53:32] wolffles: my book doesnt show the process of data.
[18:54:07] Ox0dea: Which book?
[18:54:45] wolffles: Beginning Ruby from novice to professional by peter cooper
[18:54:51] nateberkopec: has joined #ruby
[18:55:29] wolffles: its a bit dated tho, im just trying to learn the fundementals to get into this school
[18:55:47] shevy: well there is a lot to learn
[18:55:51] wolffles: but im still getting stuck on some basic concepts
[18:55:54] shevy: the question is whether you need to know 100% or not
[18:56:04] wolffles: i dont need to but i have a drive to
[18:56:17] wolffles: im sure i can get into the school wiht the knowlegde i have now
[18:56:47] wolffles: i just dont feel confident myself, im used to thigns being second nature when i go into school
[18:58:29] platzhirsch1: has joined #ruby
[19:00:01] Ox0dea: Get outta here with that negativity! It's Christmas. :P
[19:00:28] karapetyan: has joined #ruby
[19:01:27] wolffles: haha speaking of christmas what are your plans for celebrating?
[19:02:07] shevy: more code!
[19:03:05] cassioscabral: has joined #ruby
[19:04:33] djbkd: has joined #ruby
[19:04:55] Ox0dea: More alcohol.
[19:05:53] Ox0dea: So many "al-" words derive from Arabic.
[19:06:32] Ox0dea: "Alcohol", "algebra", "algorithm"...
[19:06:53] Ox0dea: Alhamdulillah.
[19:06:55] shevy: "Al Gore"
[19:07:38] shevy: there used to be an oldschool energy drink called "Almdudler"
[19:07:57] shevy: well... "energy drink"... more like sugar put into water...
[19:08:22] blackjid: has joined #ruby
[19:10:10] Ox0dea: Fun fact: They called it Red Bull because taurine.
[19:10:37] wolffles: lol there was a rumor that it was bull piss for the longest time
[19:11:36] Xiti: has joined #ruby
[19:11:44] wolffles: well im off for a bit later yall
[19:12:26] doug-: has joined #ruby
[19:15:14] nertzy: has joined #ruby
[19:15:45] Danishman: has joined #ruby
[19:16:06] nateberkopec: has joined #ruby
[19:17:42] roshanavand: has joined #ruby
[19:18:13] gbmislata: has joined #ruby
[19:19:01] nicoulaj: has joined #ruby
[19:19:38] fullofcaffeine: has joined #ruby
[19:23:51] peeja: has joined #ruby
[19:24:26] kadoppe: has joined #ruby
[19:24:46] BTRE: has joined #ruby
[19:25:04] karapetyan: has joined #ruby
[19:25:29] rgtk: has joined #ruby
[19:26:49] themsay: has joined #ruby
[19:26:55] seitensei: has joined #ruby
[19:26:56] seitensei: has joined #ruby
[19:28:13] chouhoulis: has joined #ruby
[19:28:25] shevy: havenwood finally it works http://ruby-doc.org/stdlib-2.3.0/libdoc/net/ftp/rdoc/Net/FTP.html
[19:28:57] Scripore: has joined #ruby
[19:30:27] shevy: https://github.com/ruby/ruby/blob/trunk/ChangeLog#L10
[19:34:13] s00pcan_: has joined #ruby
[19:34:23] karapetyan: has joined #ruby
[19:34:51] krobzaur: has joined #ruby
[19:37:17] Papierkorb: Oh interesting, I thought the next big release would be ruby 3.0
[19:38:01] weaksauce: has joined #ruby
[19:38:42] devoldmx: has joined #ruby
[19:40:28] RegulationD: has joined #ruby
[19:40:36] symm-: has joined #ruby
[19:41:24] shevy: lots of more changes in the pipeline
[19:41:35] shevy: I think ruby 3.0 won't happen in 2016 anyway ... or earliest... late 2016
[19:41:59] andywojo: has joined #ruby
[19:42:16] havenwood: shevy: 2020
[19:42:54] stamina: has joined #ruby
[19:42:56] havenwood: shevy: A couple Christmases away.
[19:44:18] sorbo_: has joined #ruby
[19:44:29] sorbo_: has left #ruby: ()
[19:45:24] roshanavand: has joined #ruby
[19:48:50] dlitvak: has joined #ruby
[19:51:14] nateberkopec: has joined #ruby
[19:52:09] dr3w: has joined #ruby
[19:53:38] wjimenez5271: has joined #ruby
[19:53:54] baweaver: has joined #ruby
[19:54:14] lapide_viridi: has joined #ruby
[19:58:59] atomical: has joined #ruby
[19:59:31] Rodya_: has joined #ruby
[20:00:34] atomical_: has joined #ruby
[20:02:03] peeja: has joined #ruby
[20:02:20] atomical_: has joined #ruby
[20:05:50] karapetyan: has joined #ruby
[20:06:38] skcin7: has joined #ruby
[20:07:14] blandflakes: has joined #ruby
[20:07:43] cassioscabral: has joined #ruby
[20:08:47] reaVer: has joined #ruby
[20:12:11] dlitvak: has joined #ruby
[20:13:03] s00pcan_: has joined #ruby
[20:13:16] jgt: has joined #ruby
[20:16:08] fantazo: has joined #ruby
[20:16:11] azgil: has joined #ruby
[20:16:49] adgtl: has joined #ruby
[20:16:56] adgtl: has joined #ruby
[20:17:53] vikaton: has joined #ruby
[20:19:58] diegoviola: havenwood: I have chruby/ruby-install in ~/.local, do you know if there's another way to update ruby-install other than me wiping ~/.local and reinstalling both again?
[20:20:11] diegoviola: or should I just PREFIX=~/.local make install (ruby-install)
[20:21:11] havenwood: diegoviola: I usually uninstall the old then install the new.
[20:22:17] havenwood: diegoviola: Typically I `sudo make uninstall` since I use the standard locations.
[20:22:22] diegoviola: ok so removing ~/.local/bin/ruby-install and ~/.local/share/ruby-install should be enough?
[20:23:17] diegoviola: I have other stuff in ~/.local, I don't want to remove all of it
[20:23:32] diegoviola: I'll try PREFIX=~/.local make uninstall
[20:25:28] karapetyan: has joined #ruby
[20:25:35] SamGerber: has joined #ruby
[20:26:27] colegatron: has joined #ruby
[20:27:05] djbkd: has joined #ruby
[20:27:08] diegoviola: havenwood: that worked great, thanks
[20:27:14] havenwood: diegoviola: :)
[20:27:22] havenwood: diegoviola: Best. Release. Ever!
[20:27:39] havenwood: diegoviola: ruby-install --latest ruby
[20:28:59] chouhoulis: has joined #ruby
[20:31:21] C0deMaver1ck: has joined #ruby
[20:31:56] dlitvak: has joined #ruby
[20:35:54] ceej: has joined #ruby
[20:35:58] epochwolf: has joined #ruby
[20:36:00] constantinexvi: has joined #ruby
[20:36:08] rideh: has joined #ruby
[20:36:44] cout: has joined #ruby
[20:37:07] demophoon: has joined #ruby
[20:37:11] cschneid: has joined #ruby
[20:38:44] rodfersou: has joined #ruby
[20:40:12] bradland: has joined #ruby
[20:41:19] RegulationD: has joined #ruby
[20:41:28] lacuna: has joined #ruby
[20:41:28] lacuna: has joined #ruby
[20:43:04] pawnbox: has joined #ruby
[20:43:32] AustinMatherne: has joined #ruby
[20:43:43] VeryBewitching: has joined #ruby
[20:44:07] VeryBewitching: Merry Christmas folks.
[20:44:18] gbmislata: has joined #ruby
[20:44:51] havenwood: VeryBewitching: Merry Christmas!
[20:45:20] s00pcan_: has joined #ruby
[20:45:34] duckpuppy: has joined #ruby
[20:46:01] diegoviola: NameError: undefined local variable or method `fooo' for main:Object
[20:46:03] VeryBewitching: We have a strangely green Christmas this year in Ottawa.
[20:46:03] diegoviola: Did you mean? foo
[20:46:07] atomical: has joined #ruby
[20:46:32] Kamilion: has joined #ruby
[20:46:39] kspencer: SyntaxError - /var/www/scripts/views/motd.erb:12: syntax error, unexpected keyword_ensure, expecting keyword_end
[20:47:00] lipoqil: has joined #ruby
[20:47:45] GGMethos: has joined #ruby
[20:47:49] kspencer: 1. I don't have 12 lines? 2. not quite sure what 'keyword_ensure' is referenceing, 3. My code if put in a regular ruby file should/would be working
[20:48:48] adaedra: kspencer: can you share the offending file?
[20:49:37] ramfjord: has joined #ruby
[20:51:09] adaedra: Still no 2.3 in Arch :(
[20:51:29] kspencer: adaedra: https://gist.github.com/IotaSpencer/8a20daba0b1ff1364225
[20:51:36] dlitvak: has joined #ruby
[20:52:09] adaedra: You lack an end.
[20:52:09] Liothen: has joined #ruby
[20:52:10] Liothen: has joined #ruby
[20:52:25] adaedra: or your second if should be an elsif.
[20:52:48] kspencer: was gonna say, there is an end, but i'll try an elsif
[20:52:59] kspencer: the end didn't come when I copied
[20:53:05] adaedra: you open two ifs, but close only one
[20:54:55] baweaver: has joined #ruby
[20:55:38] kspencer: so, now the only thing is
[20:55:42] kspencer: #<File:0x000000020c1bb8>
[20:55:43] kspencer: #<File:0x000000020c1758>
[20:55:57] kspencer: shows up instead of the content
[20:56:58] blandflakes: has joined #ruby
[20:57:00] adaedra: Normal, you have File objects. You have to read data from the files if you want contents, with ri:File#read or other ways if you want something more precise.
[20:57:00] `derpy: http://ruby-doc.org/core-2.2.4/IO.html#method-i-read
[20:57:40] krobzaur: has joined #ruby
[20:58:07] adaedra: Alternatively, if you want just the file contents, you can use ri:IO.read instead of File.open, which will directly give you the contents.
[20:58:07] `derpy: http://ruby-doc.org/core-2.2.4/IO.html#method-c-read
[20:59:12] robh71: has joined #ruby
[20:59:26] roshanavand: has joined #ruby
[21:03:00] Musashi007: has joined #ruby
[21:04:27] atomical_: has joined #ruby
[21:09:32] Jet4Fire: has joined #ruby
[21:10:57] blandflakes: has joined #ruby
[21:11:17] dlitvak: has joined #ruby
[21:13:37] doug-: has joined #ruby
[21:14:01] DoubleMalt: has joined #ruby
[21:14:20] ntropy: has joined #ruby
[21:15:00] bkxd: has joined #ruby
[21:19:51] shevy: VeryBewitching you mean no snow?
[21:20:00] mistym: has joined #ruby
[21:21:07] SamGerber: has joined #ruby
[21:22:09] floatingpoint: has joined #ruby
[21:22:29] Jardayn: has joined #ruby
[21:22:50] atomical_: has joined #ruby
[21:25:14] atomical: has joined #ruby
[21:26:40] dlitvak: has joined #ruby
[21:27:01] atomical_: has joined #ruby
[21:27:21] devbug: has joined #ruby
[21:27:55] seitensei: has joined #ruby
[21:29:17] cassioscabral: has joined #ruby
[21:29:37] banister: has joined #ruby
[21:29:46] chouhoulis: has joined #ruby
[21:30:21] djbkd: has joined #ruby
[21:31:49] Scripore: has joined #ruby
[21:33:53] atomical: has joined #ruby
[21:35:38] s00pcan_: has joined #ruby
[21:35:51] atomical_: has joined #ruby
[21:36:34] karapetyan: has joined #ruby
[21:38:23] snath: has joined #ruby
[21:38:26] sdothum: has joined #ruby
[21:39:12] VeryBewitching: shevy: No snow at all, it's 7 degrees C atm
[21:39:27] devoldmx: has joined #ruby
[21:39:42] VeryBewitching: Normally this time of year we have a few feet and it's 10 below.
[21:39:44] shanemcd: has joined #ruby
[21:41:13] shevy: it's bikini time in otterwa!
[21:41:46] VeryBewitching: The side-effect is that it doesn't feel like the holiday season without snow in Canada.
[21:41:48] rideh: has joined #ruby
[21:42:34] shevy: 2015 was awful... it was so hot here for about 4 weeks that I could barely sleep... when it is too hot, I can not easily sleep
[21:43:05] VeryBewitching: shevy: Whereabouts do you live?
[21:43:24] shevy: central europe
[21:43:47] solocshaw: has joined #ruby
[21:44:29] VeryBewitching: The summer here is usually between 35 - 45 C with the humidity factored in.
[21:44:39] shevy: ewww that's too hot
[21:44:52] VeryBewitching: And between -25 and -40 C in the winter
[21:46:18] bithon: has joined #ruby
[21:46:41] shevy: that's much better!
[21:46:57] VeryBewitching: That's subjective. ;)
[21:47:08] VeryBewitching: I like the range -10 to 15
[21:47:15] adgtl: has joined #ruby
[21:48:19] Nahra```: has joined #ruby
[21:51:14] cmrussell: has joined #ruby
[21:51:37] snath: has left #ruby: ("Leaving")
[21:54:03] VeryBewitching: OK, time to deal with the turkey.
[21:54:09] VeryBewitching: Happy Holidays again folks.
[21:56:03] baweaver: has joined #ruby
[21:57:37] shevy: all you people are just fattening up during xmas
[21:58:57] B1n4r10: has joined #ruby
[22:02:03] dionysus69: has joined #ruby
[22:02:26] robh71: has joined #ruby
[22:03:40] Ox0dea: shevy: Are you slimming down?
[22:04:01] ElFerna: has joined #ruby
[22:06:00] bkxd: has joined #ruby
[22:07:33] shevy: Ox0dea I am also fattening up
[22:08:16] vasilakisFiL: has joined #ruby
[22:09:16] devoldmx: has joined #ruby
[22:12:40] solars: has joined #ruby
[22:13:30] cmrussell: has joined #ruby
[22:14:55] shevy: hey cmrussell
[22:15:33] cmrussell: shevy, do you live here XD
[22:19:03] shevy: in a virtual world yeah!
[22:19:04] chridal: Say I would like to do something at most 4 times. what should I use in Ruby?
[22:19:15] B1n4r10: has joined #ruby
[22:19:15] chridal: but I want to do it as many as some_array.length
[22:19:25] chridal: but never more than 4 times
[22:19:37] shevy: 0.upto(4)
[22:19:57] zenspider: havenwood: have you used the graphics gem??
[22:20:01] Ox0dea: chridal: [4, foo.size].max.times { ... }
[22:20:04] zenspider: I prefer 4.times
[22:20:04] zenspider: but it sounds like you want [some_array.length, 4].min.times
[22:20:09] shevy: ah deduct one from there
[22:20:24] Ox0dea: Derp. #min, not #max.
[22:24:28] chridal: Also, what's the name of that function that keeps track of the current sum. I want to do something like points = [some_array.length, 4].min.that_function { |a,b| a += 25 } and for it to return something between 0 and 200.
[22:24:38] rgtk: has joined #ruby
[22:25:08] Ox0dea: chridal: You're thinking of #reduce/#inject, but I'm not sure you know quite how it does its thing.
[22:25:12] chridal: That syntax didn't make a lot of sense, but hopefully someone understood
[22:25:19] Ox0dea: chridal: I got you. :)
[22:25:20] chridal: Oh, right. That operates on an array.
[22:25:50] Ox0dea: chridal: Maybe say what problem you're actually trying to solve?
[22:26:03] Ox0dea: I won't drop ?xy on you, since it's worded rather unkindly.
[22:26:47] chridal: I'm just trying to build a sum between 0 and 100 based on the length of some_array.length up to a maximum of 4 times (4x25=100)
[22:29:04] Trynemjoel: has joined #ruby
[22:29:53] zenspider: chridal: you're suffering from being too abstract in your problem description. we want to help, but we're not psychic or dentists.
[22:30:11] chridal: Ox0dea: Oh. Because I'm building a point system where you are awarded points for pictures but only for the first 4. After 4 you get 0 points. You get 25 for each photo.
[22:30:29] chouhoulis: has joined #ruby
[22:30:49] zenspider: is this for some game or something?
[22:31:13] themsay: has joined #ruby
[22:31:20] chridal: zenspider: No, I'm writing an algorithm to compute points for ranking user profiles
[22:31:46] zenspider: one of those "N% complete" things?
[22:31:50] cmrussell: say i want to convert binary to hex. i wrote a script that will convert any four digit binary number to hex. but what if its over 4 digits? how would i make it repeat itself?
[22:31:58] platzhirsch: has joined #ruby
[22:32:16] Ox0dea: >> '101010'.to_i(2).to_s(16) # cmrussell
[22:32:17] ruboto: Ox0dea # => "2a" (https://eval.in/493229)
[22:32:39] chridal: zenspider: Actually it is for ranking profiles based on popularity. This is just a small part of a way to calculate what profiles are the most popular. This is actually mostly to motivate the user to put the content in there in the first place.
[22:32:52] zenspider: I wish you wouldn't just hand them solutions and instead teach them where to find things on their own
[22:33:00] Ox0dea: chridal: I'm pretty sure zenspider knows exactly what you're up to. :P
[22:33:13] chridal: Am I up to something? :-)
[22:33:24] Ox0dea: zenspider: It's not really a "solution", since cmrussell is likely to be doing this conversion as a learning experience. I was going to elaborate.
[22:33:33] zenspider: Ox0dea: I think you give me too much credit. I'm on too many drugs right now to be reading between the lines
[22:33:44] Ox0dea: zenspider: Aye, I reckon there were no lines to be read between.
[22:33:56] stannard: has joined #ruby
[22:34:04] Ox0dea: "motivate the user to put the content in there" = one of those "N% complete" things
[22:34:11] zenspider: ugh. can I just pay a bounty to get someone else to rewrite the string handling in ruby_parser???
[22:34:19] lidza: has joined #ruby
[22:34:34] chridal: Ox0dea: It's not really accurate for the usecase (it's a bit broader than what I am explaining atm), but sure :-)
[22:35:04] zenspider: comment out all of the string handling code:
[22:35:05] zenspider: 3646 runs, 16015 assertions, 79 failures, 308 errors, 16 skips
[22:35:10] Ox0dea: chridal: In any case, I don't see why `[4, foo.size].min * 25` shouldn't suffice.
[22:35:22] zenspider: at least it is: Finished in 1.783155s, 2044.6905 runs/s, 8981.2720 assertions/s.
[22:35:58] DavidDudson: has joined #ruby
[22:36:00] robh71: has joined #ruby
[22:37:08] dionysus69: has joined #ruby
[22:38:53] dionysus69: has joined #ruby
[22:39:35] s00pcan_: has joined #ruby
[22:39:53] chridal: I really should be nowhere near algorithms.
[22:40:20] chridal: Working with any sort of number is the bane of my existence.
[22:40:40] zenspider: maths I can handle... algs is not my forte
[22:40:40] Ox0dea: chridal: But, but, the universe might be quantized...
[22:41:14] chridal: To be honest, I am not comfortable with quantizing the world. It's a lot more beautiful just thinking about the concepts :-)
[22:42:00] pawnbox: has joined #ruby
[22:42:04] RegulationD: has joined #ruby
[22:42:57] chridal: I mean, coming up with a way to do integration for instance is quite simple. To come up with all the math handling the numbers? Not so much.
[22:45:41] postmodern: has joined #ruby
[22:45:56] zenlot: has joined #ruby
[22:46:18] duckpuppy: has joined #ruby
[22:48:01] ElFerna: has joined #ruby
[22:50:39] dlitvak: has joined #ruby
[22:52:07] PaulNz: has joined #ruby
[22:52:16] PaulNz: has left #ruby: ()
[22:52:28] CloCkWeRX: has joined #ruby
[22:52:29] PaulNz: has joined #ruby
[22:52:45] lacuna: has joined #ruby
[22:52:45] lacuna: has joined #ruby
[22:53:27] ss_much: has joined #ruby
[22:55:13] jottr: has joined #ruby
[22:58:06] Trynemjoel: has joined #ruby
[22:58:46] PaulNz: has left #ruby: ()
[23:01:01] ohaibbq: has joined #ruby
[23:01:41] platzhirsch: has left #ruby: ()
[23:01:56] katxic: has joined #ruby
[23:02:02] last_staff: has joined #ruby
[23:02:37] katxic: hi, i'm trying to learn ruby, what was your favourite learning method online?
[23:02:47] mdw: has joined #ruby
[23:03:29] Ox0dea: katxic: https://github.com/neo/ruby_koans
[23:03:48] Ox0dea: It's offline, but that's okay.
[23:07:15] bithon: oh i love that Ox0dea
[23:07:20] lacuna: has joined #ruby
[23:07:29] blandflakes: has joined #ruby
[23:08:20] SamGerber: has joined #ruby
[23:08:50] Ox0dea: bithon: Which Ox0dea?
[23:09:02] bithon: you the Ox0dea
[23:09:13] Ox0dea: Oh, that Ox0dea.
[23:09:27] bithon: yep that Ox0dea, Ox0dea
[23:09:32] Ox0dea: There it is! <3
[23:09:42] yqt: has joined #ruby
[23:10:37] Ox0dea: Relevant: http://i.imgur.com/VQ6zj1t.jpg
[23:11:00] Ox0dea: Now let's eat Susan!
[23:11:38] bithon: what the hell :@
[23:11:43] bithon: That's racist
[23:11:46] jnj: has joined #ruby
[23:11:55] bithon: I have chinese friends and I feel offended by that
[23:12:17] pawnbox: has joined #ruby
[23:12:37] Ox0dea: http://www.letseatgrandma.com/about
[23:12:49] Ox0dea: They're missing the hyphen in "Ivy League-caliber".
[23:12:53] Ox0dea: Fucking plebs.
[23:13:20] dfinninger: has joined #ruby
[23:13:33] Ox0dea: Good writing *is* an artform.
[23:13:37] jnj: I'm trying to create a basic queue by implementing a singly linked list that I've made. Right now I'm currently creating the queue by using require 'singlylinkedlist' and then in initialize I'm creating an instance of the singly linked list. How would I go about accessing the head of the singly linked list in order to implement dequeue? Also, should I just change what I'm doing and instead use inheritance?
[23:13:46] bithon: Engineering is the only worthwhile career
[23:13:49] Musashi007: has joined #ruby
[23:14:05] Ox0dea: A little, yeah.
[23:14:10] yfeldblum: has joined #ruby
[23:14:14] bithon: How so, Ox0dea ?
[23:14:54] Ox0dea: I do appreciate that technology is eating the world, but we're supposed to capitalize on that by *building* better robots, not becoming them.
[23:15:22] Ox0dea: I suppose I should've let you clarify your assertion first.
[23:15:45] colegatron: has joined #ruby
[23:15:53] Ox0dea: jnj: Nothing of much consequence can be said without seeing your implementation.
[23:16:47] jnj: Ox0dea: Ok, I'll post a gist
[23:16:57] bithon: Ox0dea: My assertion is that the only career one should pursue is engineering (of any kind really)
[23:17:13] Ox0dea: bithon: And now defend.
[23:17:39] s00pcan_: has joined #ruby
[23:17:45] bithon: Well for one we owe our thanks to engineers for the Internet, computers and all sorts of cool stuff
[23:18:06] bithon: argument = won ?
[23:18:16] jottr: has joined #ruby
[23:18:20] bithon: (btw I really think we should move this to #ruby-offtopic)
[23:18:52] shanemcd: has joined #ruby
[23:19:40] jnj: Ox0dea: https://gist.github.com/jonathancyr/06d9580804189730a674
[23:20:29] Ox0dea: jnj: You're cheating.
[23:20:49] Ox0dea: Never mind.
[23:23:19] jnj: Ox0dea: Is it because I don't have attr_accessor for head?
[23:23:25] senayar: has joined #ruby
[23:23:26] senayar: has joined #ruby
[23:23:58] dlitvak: has joined #ruby
[23:25:08] Dimik: has joined #ruby
[23:25:08] Ox0dea: jnj: That's certainly the cause of the NoMethodError, but I thought you were asking after a better approach.
[23:25:28] mezcan: has joined #ruby
[23:25:50] roshanavand: has joined #ruby
[23:26:05] jnj: Ox0dea: Thought I was asking after a better approach? What would be a better approach?
[23:27:16] Ox0dea: jnj: Well, you're invoking traversal to remove the head, which should be unnecessary.
[23:28:39] seitensei: has joined #ruby
[23:29:11] dlitvak: has joined #ruby
[23:29:42] jnj: Ox0dea: Ok, would using remove from Enumerable work, instead of traversing through the nodes and adjusting the pointers?
[23:30:09] Ox0dea: jnj: No, that'd be the cheating of which I initially (incorrectly) accused you.
[23:30:42] Ox0dea: jnj: You're maintaining access to the head, so there's no need to chase pointers.
[23:31:16] chouhoulis: has joined #ruby
[23:31:31] ElFerna: has joined #ruby
[23:32:09] jnj: Ox0dea: Are you referring to the queue or the singlylinkedlist? I'm not trying to chase pointers for the queue as it's just removing the head. For the ll, I wanted to be able to remove an element from any point in the ll, so chasing pointers to find the elt
[23:32:27] jnj: Ox0dea: I'm just trying to figure out how to access the head from the ll
[23:32:32] djbkd: has joined #ruby
[23:33:11] Ox0dea: jnj: With @head, no?
[23:34:03] lacuna: has joined #ruby
[23:34:15] dlitvak: has joined #ruby
[23:35:03] jnj: Ox0dea: That's what I think, I'm pretty sure I just gotta put attr_accessor or attr_reader in my ll for head, as its only in the node class but not in the ll
[23:35:27] mozzarella: guys, how do I??print a nokogiri node as text?
[23:35:52] ruurd: node.inspect
[23:36:24] Ox0dea: jnj: Hm? Your Node class doesn't have a `head` attribute (and nor should it).
[23:36:25] mozzarella: as html, not object dump
[23:36:33] s00pcan_: has joined #ruby
[23:36:59] skcin7: has joined #ruby
[23:37:11] ruurd: OK please google 'Separation of Concern' to know why a node does not know how to print itself as HTML
[23:37:46] ruurd: h(node.inspect)
[23:38:27] icbm: has joined #ruby
[23:38:36] doug-: has joined #ruby
[23:43:12] jnj: Ox0dea: Whoops, yeah I didn't mean that. I'll just make head accessible in my ll
[23:43:15] gbmislata: has joined #ruby
[23:43:23] dlitvak: has joined #ruby
[23:44:01] ElFerna: has joined #ruby
[23:44:15] Ox0dea: jnj: Alternatively, define SLL#sleepy_hollowify. ^_^
[23:44:36] mozzarella: ruurd: uh, it does
[23:44:46] Ox0dea: Never mind that Ichabod Crane didn't actually remove his own head.
[23:44:46] jnj: Ox0dea: What is #sleepy_hollowify?
[23:45:04] Ox0dea: jnj: But your SLL class certainly could!
[23:45:38] Ox0dea: You could define a method to adjust `@head` directly without having to expose it.
[23:47:02] duckpuppy: has joined #ruby
[23:48:06] DavidDudson: has joined #ruby
[23:49:16] mark06: has joined #ruby
[23:50:32] adgtl: has joined #ruby
[23:50:48] jnj: Ox0dea: So would doing attr_reader: head, expose head? I'm not trying to adjust or change the head at all, I just want to know what the head is, and then remove the head
[23:51:29] Ox0dea: jnj: Yes, `attr_accessor` "exposes" the attribute(s), making them malleable by outside forces.
[23:52:12] firstdayonthejob: has joined #ruby
[23:52:19] ruurd: mozzarella inner_html
[23:52:39] jnj: Ox0dea: would you suggest then just defining a function that returns head? Also, I thought attr_reader: wouldn't expose head, just tell you what is the head
[23:53:17] poguez_: has joined #ruby
[23:53:18] mdw: has joined #ruby
[23:53:22] weemsledeux: has joined #ruby
[23:53:25] blandflakes: has joined #ruby
[23:53:47] Ox0dea: jnj: That is what #attr_reader will do, but you won't be able to "remove" (read: change) it without having write access.
[23:54:29] jnj: Ox0dea: I know, the idea is that I'm calling the remove method from the ll on the head of the ll
[23:55:21] Bloomer: has joined #ruby
[23:55:58] gbmislata: has left #ruby: ()
[23:56:32] mark06: has left #ruby: ("http://pidgin.renatosilva.me - Pidgin++")
[23:58:38] zast: has joined #ruby
[23:58:44] jgt: has joined #ruby