« Back to channel list

#ruby - 30 January 2016

« Back 1 day Forward 1 day »
[00:00:34] mary5030: has joined #ruby
[00:00:43] namxam: has joined #ruby
[00:00:46] lianj: has joined #ruby
[00:00:46] lianj: has joined #ruby
[00:01:08] LoneHermit: has joined #ruby
[00:01:13] v0n: has joined #ruby
[00:01:22] El3ktra: has joined #ruby
[00:01:28] AckZ: has joined #ruby
[00:01:50] Insti: has joined #ruby
[00:01:57] Insti: has joined #ruby
[00:02:35] c355E3B: has joined #ruby
[00:03:25] blandflakes: has joined #ruby
[00:03:33] lost: has joined #ruby
[00:03:39] william3: has joined #ruby
[00:03:54] weemsledeux: has joined #ruby
[00:04:17] lost: Wondering if anyone is able to help understand this, also be a rails mentor in the future please message will pay as per hourly basis :)
[00:08:18] asccigcc: has joined #ruby
[00:10:56] musicnode: has joined #ruby
[00:11:22] kies^: has joined #ruby
[00:12:16] blackmesa: has joined #ruby
[00:17:04] namxam: has joined #ruby
[00:17:05] tuelz: has joined #ruby
[00:17:12] sandstrom: has joined #ruby
[00:17:29] unreal_: has joined #ruby
[00:19:02] BlkDynmt: has joined #ruby
[00:22:27] baweaver: has joined #ruby
[00:23:35] freerobby: has joined #ruby
[00:27:00] machinewar: has joined #ruby
[00:27:26] machinewar: when is attr_accessor actually called? when you instantiate an object?
[00:27:54] TomPeed: has joined #ruby
[00:27:57] akkmaxon: has joined #ruby
[00:28:07] volty: everything gets called as soon as it's read
[00:28:11] karapetyan: has joined #ruby
[00:28:17] robbyoconnor: has joined #ruby
[00:28:29] akkmaxon: has left #ruby: ()
[00:28:56] volty: class defines a class, def defines a method, attr_accessor is a method call
[00:29:17] machinewar: when does it get read?
[00:29:24] machinewar: when I load the file?
[00:29:39] machinewar: volty: thanks
[00:30:04] LoneHerm_: has joined #ruby
[00:30:29] goodroot: has joined #ruby
[00:30:39] akkmaxon: has joined #ruby
[00:31:37] griffindy: has joined #ruby
[00:32:17] codezomb: has joined #ruby
[00:33:15] codezomb: trying to use Resolv::DNS and getresources in my system. However, it doesn't seem to resolve anything. Would there be any system level dependency that I could possibly be missing?
[00:33:47] codezomb: nslookup exists, and can resolve the addresses
[00:33:54] codezomb: ruby 2.2.4p230
[00:34:31] ur5us: has joined #ruby
[00:34:32] sandstrom: has joined #ruby
[00:35:39] drbrain: codezomb: example code?
[00:35:54] codezomb: @drbrain: Resolv::DNS.open { |dns| dns.getresources('google.com', Resolv::DNS::Resource::IN::MX) }
[00:36:06] codezomb: returns an empty array
[00:36:38] visudo: has joined #ruby
[00:37:05] drbrain: codezomb: https://gist.github.com/drbrain/5b861ccc08b058e8fdde
[00:37:37] drbrain: so your code is right
[00:38:09] codezomb: drbrain right, I know it should resolve. It resolves in my plain vm. However, trying it within a docker container (alpine linux) I get an empty result set. I assumed I could be missing some system dependency.
[00:38:25] namxam: has joined #ruby
[00:38:27] drbrain: what's in your /etc/resolv.conf?
[00:38:36] codezomb: if nslookup works, I would assume this should work :/
[00:39:05] codezomb: drbrain `nameserver 10.0.2.3`, which is my docker host. This host can also resolve.
[00:39:12] codezomb: from a system level it all resolves
[00:40:01] joonty: has joined #ruby
[00:40:33] drbrain: what about: Resolv::DNS.open(nameserver: %w[8.8.8.8]) { |dns| dns.getresources('google.com', Resolv::DNS::Resource::IN::MX) }
[00:41:06] codezomb: yeah, I just changed my resolv.conf to 8.8.8.8, and it seems to work...
[00:41:20] drbrain: I've heard of mysterious DNS issues with VMs in general
[00:41:25] codezomb: back to flipping tables I suppose (??????????????????? ?????????
[00:41:31] drbrain: yeah, computers ????
[00:41:42] codezomb: thanks for the sanity check :)
[00:42:59] tomchapin: has joined #ruby
[00:44:41] RickHull: has joined #ruby
[00:45:12] lemur: has joined #ruby
[00:45:59] ellisTAA: has joined #ruby
[00:46:38] stannard: has joined #ruby
[00:46:47] ellisTAA: i???m trying to write a delete method for my binary search tree. using this as an example: http://1.bp.blogspot.com/-Y8DihvLIiLM/UJak6Io1flI/AAAAAAAAAsI/88SbtX_EW6Q/s1600/binarySearchTree.png if i want to delete 12. i???m guessing id move 15 up ??? but how do i deal with 9 8 and 10? do i add them to 13 or do i move 17 up to be siblings with 9?
[00:51:35] A124: has joined #ruby
[00:52:00] sandstrom: has joined #ruby
[00:52:24] kaleido: has joined #ruby
[00:55:02] ESpiney_: has joined #ruby
[00:55:05] cryptocoder: has joined #ruby
[00:55:24] MyMind: has joined #ruby
[00:55:53] Keltia_: has joined #ruby
[00:57:00] arian0n-: has joined #ruby
[00:57:01] Zarthus_: has joined #ruby
[00:57:17] mwlang_: has joined #ruby
[00:57:39] bove_: has joined #ruby
[00:57:40] benoror_: has joined #ruby
[00:57:41] braderhart_: has joined #ruby
[00:57:45] SilentEcho: has joined #ruby
[00:57:46] akitada_: has joined #ruby
[00:57:49] Liam-: has joined #ruby
[00:57:50] Guest4184_____: has joined #ruby
[00:57:52] yaewa: has joined #ruby
[00:58:06] vcoinminer__: has joined #ruby
[00:58:09] nwhirschfeld: has joined #ruby
[00:58:19] ohcibi_: has joined #ruby
[00:58:36] borkdude_: has joined #ruby
[00:58:59] Sebastia1Thorn: has joined #ruby
[00:58:59] zipkid_: has joined #ruby
[00:59:01] jmcc_______: has joined #ruby
[00:59:05] speaking1ode: has joined #ruby
[00:59:13] kiki_lam1: has joined #ruby
[00:59:14] goezz: has joined #ruby
[00:59:15] thesheff17_: has joined #ruby
[00:59:16] kaleido_: has joined #ruby
[00:59:18] Petazz_: has joined #ruby
[00:59:18] yosafbridge`: has joined #ruby
[00:59:21] cbetta_: has joined #ruby
[00:59:21] jxf_: has joined #ruby
[00:59:22] sts23: has joined #ruby
[00:59:33] stryek_: has joined #ruby
[00:59:33] plsk: has joined #ruby
[00:59:33] funnel_: has joined #ruby
[00:59:34] tommylom1ykins: has joined #ruby
[00:59:35] droptone_: has joined #ruby
[00:59:35] shadeslayer_: has joined #ruby
[00:59:47] Ariadeno: has joined #ruby
[01:00:12] sucks: has joined #ruby
[01:00:20] zenspider: has joined #ruby
[01:00:24] govg_: has joined #ruby
[01:00:27] gf3_: has joined #ruby
[01:00:30] rfv_: has joined #ruby
[01:00:43] bestie_: has joined #ruby
[01:00:44] frode15243_: has joined #ruby
[01:00:48] ckrailo_: has joined #ruby
[01:00:49] cstrahan_: has joined #ruby
[01:00:52] ekaleido: has joined #ruby
[01:00:56] zambini: has joined #ruby
[01:01:06] jimeh_: has joined #ruby
[01:01:06] frankS2_: has joined #ruby
[01:01:09] pizzaops_: has joined #ruby
[01:01:26] ramblinpeck_: has joined #ruby
[01:01:41] benlakey_: has joined #ruby
[01:01:43] spastorino_: has joined #ruby
[01:02:03] im0b_: has joined #ruby
[01:02:06] iamdevnul_: has joined #ruby
[01:02:06] howdoi_: has joined #ruby
[01:02:13] S01780__: has joined #ruby
[01:02:28] glowcoil_: has joined #ruby
[01:02:39] vbatts|w`: has joined #ruby
[01:02:46] Nightmare: has joined #ruby
[01:02:49] idefine: has joined #ruby
[01:02:53] elaptics`: has joined #ruby
[01:02:54] Fridtjof: has joined #ruby
[01:02:56] perryh: has joined #ruby
[01:02:57] perryh: has joined #ruby
[01:02:58] svkurowski_: has joined #ruby
[01:02:59] nchambers^: has joined #ruby
[01:03:00] ceej_: has joined #ruby
[01:03:01] akkad_: has joined #ruby
[01:03:07] ghormoon_: has joined #ruby
[01:03:10] samuelkadolph1: has joined #ruby
[01:03:12] heftig_: has joined #ruby
[01:03:18] Jello_Raptor_: has joined #ruby
[01:03:18] mighty_gorilla: has joined #ruby
[01:03:23] hfp__work: has joined #ruby
[01:03:25] slackR-: has joined #ruby
[01:03:27] giraffe_: has joined #ruby
[01:03:32] joneshf-laptop: has joined #ruby
[01:03:41] netwoodle: has joined #ruby
[01:03:49] ramfjord: has joined #ruby
[01:03:54] JoshL_: has joined #ruby
[01:03:58] phantummm: has joined #ruby
[01:04:06] El3ktra_: has joined #ruby
[01:04:20] troter_______: has joined #ruby
[01:04:21] treaki__: has joined #ruby
[01:04:25] skullcrasher: has joined #ruby
[01:04:37] treaki: has joined #ruby
[01:04:50] Couch: has joined #ruby
[01:04:51] Silex: has joined #ruby
[01:04:53] BTRE: has joined #ruby
[01:04:56] kalz: has joined #ruby
[01:04:56] anekos: has joined #ruby
[01:05:25] flughafen_: has joined #ruby
[01:05:50] djellemah: has joined #ruby
[01:05:53] pmarreck: has joined #ruby
[01:05:53] programmerq: has joined #ruby
[01:06:30] gagrio: has joined #ruby
[01:06:31] chris2: has joined #ruby
[01:06:31] william3: has joined #ruby
[01:06:35] nibbo: has joined #ruby
[01:07:45] Guest85414______: has joined #ruby
[01:08:10] boxrick1: has joined #ruby
[01:09:04] mikolalysenko: has joined #ruby
[01:09:13] bttf: has joined #ruby
[01:09:45] jabreity: has joined #ruby
[01:10:02] babblebre: has joined #ruby
[01:10:02] bcavileer_: has joined #ruby
[01:10:02] cookiez: has joined #ruby
[01:10:02] yxhuvud: has joined #ruby
[01:10:02] modin: has joined #ruby
[01:10:02] Nanuq: has joined #ruby
[01:10:02] Liothen: has joined #ruby
[01:10:02] st1gma: has joined #ruby
[01:10:03] bcavileer_: has joined #ruby
[01:10:03] babblebre: has joined #ruby
[01:10:07] duckpuppy: has joined #ruby
[01:10:21] gbgdev: has joined #ruby
[01:10:28] musicnode: has joined #ruby
[01:10:48] Trieste: has joined #ruby
[01:11:05] zacstewart: has joined #ruby
[01:12:28] musicnode: has joined #ruby
[01:12:35] johnny56: has joined #ruby
[01:12:38] sandstrom: has joined #ruby
[01:12:56] paradisaeidae: has joined #ruby
[01:13:18] fostertheweb: has joined #ruby
[01:13:43] ellisTAA: has joined #ruby
[01:14:48] troulouliou_div2: has joined #ruby
[01:16:45] blandflakes: has joined #ruby
[01:18:14] yoongkang: has joined #ruby
[01:19:24] kaleido: has joined #ruby
[01:20:46] pawnbox: has joined #ruby
[01:21:02] mjuszczak: has joined #ruby
[01:21:56] robbyoconnor: has joined #ruby
[01:24:44] duckpuppy: has joined #ruby
[01:25:19] fostertheweb: has joined #ruby
[01:26:10] ruby[bot]: -b *!*@gateway/web/freenode/ip.73.208.106.255$#ruby-banned
[01:26:30] sandstrom: has joined #ruby
[01:26:39] ellisTAA: has joined #ruby
[01:29:17] dlitvak: has joined #ruby
[01:34:18] robbyoconnor: has joined #ruby
[01:35:11] wheresmyjetpack: has joined #ruby
[01:36:02] william3: has joined #ruby
[01:36:29] jhack: has joined #ruby
[01:36:33] jimmtt: why does ruby have exception but not throw an exception on out of bounds array access
[01:36:39] jimmtt: exceptions
[01:37:05] jimmtt: seems like poor design
[01:37:49] freerobby: has joined #ruby
[01:38:49] crdpink: has joined #ruby
[01:40:08] paradisaeidae: has joined #ruby
[01:41:36] barhum2013: has joined #ruby
[01:41:43] rkazak: has joined #ruby
[01:43:35] IrishGringo: has joined #ruby
[01:43:40] sandstrom: has joined #ruby
[01:49:04] zacstewart: has joined #ruby
[01:50:46] pawnbox: has joined #ruby
[01:51:28] ur5us: has joined #ruby
[01:53:01] ur5us: has joined #ruby
[01:53:41] kent\n: jimmtt: what is "Out of bounds" in your mind in a dynamic language where arrays have non-fixed length that are self extending?
[01:53:56] kent\n: and what are you doing that you'd expect such an error?
[01:54:06] Ox0dea: Ruby Arrays do have a fixed length, mind.
[01:54:31] kent\n: By that I mean, you can assign to a random offset and ruby by design makes that happen
[01:54:37] kent\n: ruby -e 'x = []; x[5] = 1; p x[6] ' # eg
[01:54:49] jimmtt: a=[1,2] followed by a[2] returns nil
[01:55:08] kent\n: right, but the question for me is, "why are you doing a[2]"
[01:55:12] kaleido: because a[2] doesnt exist
[01:55:13] jimmtt: even if you can assign to wherever you want, accessing something that hasn't been defined yet seems like it should be some kind of error
[01:55:41] jimmtt: there are lots of ways for bad array indexing to happen by accident
[01:55:55] kent\n: I agree mostly, I'm not arguing that, I'm just trying to work out what you're doing that leads you to this.
[01:56:14] kent\n: Like a common reason you'd be doing it is you're doing C-Style iteration instead of using .each
[01:56:19] jimmtt: I was just doing things in a ruby interpreter to get a feel for it
[01:56:33] kaleido: mmm, .each
[01:56:59] Ox0dea: jimmtt: Here's the great thing about Ruby: https://eval.in/510065
[01:57:49] jimmtt: there are times where, even if a language has these kinds of convenient iterators, you want to loop with an index because the position is significant to the operations you're doing on the elements
[01:58:13] Ox0dea: jimmtt: And in that case we have #each_with_index. :)
[01:58:21] ruk`: has joined #ruby
[01:58:35] Ox0dea: And, well, #with_index for the general case.
[01:58:51] Ox0dea: >> [1,2,3].map.with_index { |element, i| element * i }
[01:58:53] jimmtt: I guess that would cover that
[01:59:02] Ox0dea: Eventually...
[01:59:03] ruby[bot]: Ox0dea: # => [0, 2, 6] (https://eval.in/510066)
[01:59:22] yoongkang: has joined #ruby
[01:59:33] symm-_: has joined #ruby
[02:00:04] kent\n: yeah. I'm not say so much that you shouldn't be accessing array indexes, just usually if you're doing things and getting the wrong results, there's a /chance/ there's already a better way to do what you're doing.
[02:00:26] jimmtt: but I think the likelihood of encountering bad array indexing is orthogonal to whether or not it should throw an exception
[02:00:43] jimmtt: unless it's a performance concern
[02:00:57] jimmtt: well I don't think it would be a performance concern
[02:00:58] sandstrom: has joined #ruby
[02:01:11] skcin7: has joined #ruby
[02:01:13] kent\n: I would still agree that does-not-exist-but-fetched-anyway would probably be useful if it did throw an exception, but there's a lot of things in Ruby that "could" be useful and "could" give more strict behaviour with exceptions that some people would very much dislike and would break existing (valid) code
[02:02:48] tuelz: has joined #ruby
[02:04:14] Ox0dea: >> [42].fetch 1 rescue $! # jimmtt
[02:04:16] ruby[bot]: Ox0dea: # => #<IndexError: index 1 outside of array bounds: -1...1> (https://eval.in/510067)
[02:04:23] kent\n: for instance, given that: x = []; x[5] = 1; p x[1] # returns nil, and does not throw an exception despite the fact you never set x[1], then maybe it doesn't matter that x[6] returns nil
[02:04:26] Ox0dea: Just use #fetch everywhere instead of #[].
[02:04:54] Ox0dea: kent\n: That's something different, though.
[02:04:54] Nuck: has joined #ruby
[02:05:17] Ox0dea: Arrays *have* to be contiguous, but that doesn't mean they have to appear to be infinitely long.
[02:06:13] kent\n: Its different, sure, but depending on how you use the array, it might not matter. If your interface treats "nil" and "no such index" the same way, then having the latter react the same as the former is fine.
[02:06:38] kent\n: Would it be /good/ design? Can't say for sure.
[02:07:05] Ox0dea: It's just the tradeoff Ruby makes.
[02:07:44] Ox0dea: Easy > simple is the game.
[02:07:59] jimmtt: cool, Ox0dea
[02:08:06] william3: has joined #ruby
[02:09:02] Ox0dea: jimmtt: Same interface for Hash, for reference.
[02:09:08] kent\n: anyway, simple only exists as a concept if you want to achieve very little ;). Most the time "simple" is "A lot of complexity hiding behind an easy interface", so its simple as long as you don't look too hard :)
[02:09:20] Ox0dea: Bollocks.
[02:09:37] Ox0dea: Lisp is simple, and they used to write entire operating systems therein.
[02:09:42] kalopsian: has joined #ruby
[02:10:05] jimmtt: well C is also relatively simple
[02:10:52] kent\n: But its not exactly "simple" to achieve anything you desire in lisp. But I will agree that this is probably me seeing different interpretations of the words than you :)
[02:11:08] Ox0dea: kent\n: No, it *is* simple; it's just *hard*.
[02:11:50] kent\n: Yeah. I do understand what you mean. I just don't see "lisp code" and think "this is simple".
[02:12:30] jimmtt: there are different domains to be simple or not in
[02:12:42] Ox0dea: We're obviously talking about programming languages?
[02:12:53] jimmtt: yes, in the context of programming languages
[02:13:02] ruby[bot]: It's popcorn time! ????????????
[02:13:26] joast: has joined #ruby
[02:13:44] jimmtt: it seems like ruby's main website says to just install it with the package manager but I get an old version that way and don't see any explicit newer versions in apt-cache search
[02:13:52] jimmtt: guess I'm going to have to either find a deb of it or compile it
[02:14:00] Radar: jimmtt: Ubuntu?
[02:14:08] jimmtt: debian amd64
[02:14:12] Radar: Close enough.
[02:14:15] Radar: ?ubuntu jimmtt
[02:14:16] ruby[bot]: jimmtt: Ubuntu installation guide for Ruby + Rails: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/
[02:14:25] Radar: That'll net you the latest Ruby.
[02:14:27] kent\n: Its too easy to conflate simple/easy for me. Like if somebody says "it has a simple interface", that also tends to imply "its easy to use", but I see that as "simplicity is hiding the complexity" quite frequently.
[02:14:46] jimmtt: apt-get is outdated now?
[02:15:58] kent\n: Ox0dea: but anyway, ILY dude(ette)? , don't hate me :p
[02:16:01] RobertBirnie: has joined #ruby
[02:16:18] Ox0dea: kent\n: Nah, we're cool. You just need some learnin's. :)
[02:16:22] Ox0dea: http://www.infoq.com/presentations/Simple-Made-Easy
[02:16:28] Ox0dea: I do hope you find the time to watch that someday.
[02:17:24] Ox0dea: tl;dr: complexity == entanglement of pieces, simplicity == harmony of ideas.
[02:17:59] Ox0dea: Entangling pieces makes things look easy at the surface; harmonizing disparate ideas is hard.
[02:18:13] sandstrom: has joined #ruby
[02:18:27] skcin7: has joined #ruby
[02:18:43] slawrence00: has joined #ruby
[02:19:32] tomchapin: has joined #ruby
[02:20:28] kent\n: great. I see more reasons to goad people into calling me a nazi in my future :D
[02:20:53] Ox0dea: I'm afraid I don't follow.
[02:21:15] kent\n: I'm going to nit pick about this one day and tempt somebody calling me a grammar nazi :(
[02:21:33] Ox0dea: It's not even a grammatical distinction; they're completely distinct notions.
[02:22:23] kent\n: I know. Sadly, "Grammar Nazi" is itself an overloaded term that includes spelling, punctuation, and use of the wrong word for a concept :D
[02:22:24] skcin7: has joined #ruby
[02:22:49] baweaver: has joined #ruby
[02:23:02] kent\n: the irony^WJuxtaposition of that last one is a beautiful thing.
[02:24:40] mfb2: has joined #ruby
[02:25:09] Ox0dea: Related: "nazi" is a common noun in that phrase. You should only capitalize the word in reference to the political party. ^_^
[02:26:37] Ox0dea: Consider Ruby's switch statement semantics: case equality lets you write complex branching logic with embarrassing ease, but if you unrolled one of any moderate size to its essential components, it would look spaghetti as fuck.
[02:26:40] zacstewart: has joined #ruby
[02:27:14] tlaxkit: has joined #ruby
[02:28:07] kent\n: can confirm. I recently attempted to do similarly without perl5.10+'s switch structure. Realised it was a dumb mess and I rewrote it using a dispatch table :P
[02:29:41] kent\n: sometimes when you think you want conditions, you really want polymorphism of some description.
[02:29:59] Ox0dea: It's all goto at the bottom. :)
[02:30:28] kent\n: Yeah. Just making the code "nice" is the hard part :D
[02:30:51] Ox0dea: In Ruby? Surely you jest.
[02:30:59] blandflakes: has joined #ruby
[02:31:03] houhoulis: has joined #ruby
[02:31:07] kent\n: Nah. You can write a mess easily in any language without thinking.
[02:31:18] bithon: has joined #ruby
[02:31:20] kent\n: I can write a mess in ruby easily too
[02:31:26] Ox0dea: I've got you beat there.
[02:31:28] Ox0dea: http://i.imgur.com/94jou4v.png
[02:31:29] aaronr: has joined #ruby
[02:32:00] llua: is that a helicopter?
[02:32:12] llua: near the top
[02:32:13] Ox0dea: It is many things, to include a todo app written in Sinatra.
[02:32:18] Antiarc: has joined #ruby
[02:32:25] Ox0dea: But yes, that's the roflcopter floating over all.
[02:32:29] kent\n: If I had some time to spare I'm sure I could work out what that says. But ETOOMUCHEFFORT
[02:32:43] kies^: has joined #ruby
[02:33:28] kent\n: Usually the first pass I make at every solution is garbage, and I have to sit down and refactor it till I'm happy with it.
[02:33:44] Ox0dea: Someone really needs more Rich Hickey in his life. :)
[02:33:55] Ox0dea: His philosophy is "needs more hammock time".
[02:34:31] kent\n: I do appreciate the amount of time spent sleeping improving problem solving, but that doesn't actually help me not write bad code.
[02:34:52] Ox0dea: Er, I didn't mean to imply that you should use sleep as a thinking tool.
[02:35:20] Ox0dea: Genuinely thinking about the problem you want to solve before touching a keyboard *will* help you not write bad code.
[02:35:31] sandstrom: has joined #ruby
[02:36:25] kent\n: Oh I do, for weeks, easily. But that's usually about the higher level concepts and interface, not implementation details. Problems in implementation I don't seem to be able to work out "which is the best way to do this" until I try a few things.
[02:36:46] Ox0dea: Sounds contradictory, but okay.
[02:36:58] kent\n: Because I have to see how it looks in order to know if its any good.
[02:37:53] kent\n: Its cool to flesh out an idea in your head first, but it doesn't always work when you put it in to practice, because the brain is a spongy piece of meatware with bugs.
[02:38:22] Ox0dea: Neurophagy is frowned upon, mind.
[02:39:38] aaronr: hey guys :) I'm just curious how I could get started learning ruby. I've had some programming experience in the past, but nowadays I'm just a front-end web guy.
[02:39:48] kalopsian: has joined #ruby
[02:39:55] Ox0dea: aaron_: What does that mean?
[02:39:55] idefine: has joined #ruby
[02:40:04] jimmtt: I've always found the best way to learn languages is to just start using htem
[02:40:07] zzz_: has joined #ruby
[02:40:13] jimmtt: maybe use ruby to solve some projecteuler problems
[02:40:15] Radar: aaron_: Do you have Ruby installed on your machine?
[02:40:54] aaronr: Yeah I managed to install Ruby and Rails on my machine, easier with linux than windows :P
[02:41:04] Radar: aaron_: I have a blog post with some resources in it: http://ryanbigg.com/2015/04/getting-started-with-ruby-and-rails/
[02:41:15] aaronr: That's awesome! thank you so much :-)
[02:41:29] joonty: has joined #ruby
[02:42:24] Radar: no worries :)
[02:42:40] oetjenj: has joined #ruby
[02:43:37] stannard: has joined #ruby
[02:43:41] arescorpio: has joined #ruby
[02:43:45] Ox0dea: Radar: Is https://pine.fm/LearnToProgram/ too watered-down to make the list?
[02:44:06] Radar: Ox0dea: It hasn't been updated in yonks
[02:44:20] duckpuppy: has joined #ruby
[02:44:21] Ox0dea: Fair dos.
[02:44:37] Coldblackice: has joined #ruby
[02:44:41] aaronr: Just looked at a chapter of "Well Grounded Rubyist", looks awesome :) Would you recommend starting with that book?
[02:44:44] kspencer: I also got this https://electrocode.net/how-to-ruby-passenger-sinatra/
[02:45:05] Radar: Also: check out these Linux install instructions: https://pine.fm/LearnToProgram/chap_00.html
[02:45:09] Radar: aaron_: Absolutely
[02:45:15] Ox0dea: Koans first. :P
[02:45:16] Radar: Ox0dea: I think those install instructions are a blight :P
[02:45:27] Radar: Well-Grounded and Koans are on par with each other imo
[02:45:29] jimmtt: Radar, trying to build ruby like this keeps failing on the rdoc step. I tried prefacing the installation command with RUBY_CONFIGURE_OPTS=--disable-install-doc as a post I found suggested but that didn't help
[02:45:34] Radar: Well-Grounded will explain it better.
[02:45:42] Radar: ?gist jimmtt
[02:45:42] ruby[bot]: jimmtt: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[02:45:48] Radar: jimmtt: The complete output please
[02:45:51] Ox0dea: Radar: Those are really bad. I didn't know those were there. :<
[02:45:53] baweaver: has joined #ruby
[02:46:23] Ox0dea: jimmtt: make install-nodoc
[02:46:29] Radar: Ox0dea: I'm of a mind to "fork" the book, replace the install instructions with mine, bump the Ruby versions and leave the rest untouched.
[02:47:01] jimmtt: make install -nodoc?
[02:47:46] jimmtt: it said there was no rule for install-nodoc
[02:47:53] Ox0dea: That's not good.
[02:48:00] Ox0dea: I definitely have that rule here.
[02:48:12] hnagamin: has joined #ruby
[02:48:57] Ox0dea: https://github.com/ruby/ruby/blob/trunk/common.mk#L265
[02:49:29] arooni-mobile: has joined #ruby
[02:51:06] goodroot: has joined #ruby
[02:52:58] sandstrom: has joined #ruby
[02:54:23] ICantCook: has joined #ruby
[02:55:36] Radar: Alright, going back to reading Sanderson's new book. Probably will not be online much for the next week or so. Toodles :)
[02:56:25] Ox0dea: Au revoir.
[02:56:33] wolffles: has joined #ruby
[03:02:20] nisstyre: has joined #ruby
[03:06:57] Anderson69s: has joined #ruby
[03:07:21] The_Phoenix: has joined #ruby
[03:09:37] goodroot: has joined #ruby
[03:09:42] PlasmaStar: has joined #ruby
[03:09:49] nisstyre: has joined #ruby
[03:10:12] sandstrom: has joined #ruby
[03:13:32] baweaver: has joined #ruby
[03:13:57] cdg: has joined #ruby
[03:14:30] jimmtt: Ox0dea, can I just get this precompiled somewhere
[03:15:09] Ox0dea: jimmtt: Er, there's this thing for Ubuntu users: https://www.brightbox.com/docs/ruby/ubuntu/
[03:15:30] Ox0dea: The PPA system is the same, so it should work just fine for Debian.
[03:16:05] Ox0dea: I won't claim to know what all they've done to tailor the install to Ubuntu users, so caveat emptor.
[03:16:43] symm-: has joined #ruby
[03:19:36] rkazak: has joined #ruby
[03:20:19] PlasmaStar: has joined #ruby
[03:21:43] jimmtt: that's resulting in "Failed to fetch http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu/dists/jessie/main/binary-amd64/Packages", which I only find one reference to on google with no resolution
[03:21:55] jimmtt: after the apt-get update
[03:23:15] hahuang65: has joined #ruby
[03:23:30] jimmtt: seems like I can probalby just replace jessie with something else
[03:23:58] chouhoulis: has joined #ruby
[03:24:27] jimmtt: I can probably just use wheezy instead of jessie
[03:25:02] jimmtt: actually none of these are here
[03:26:50] jimmtt: replacing with trusty seems to have worked
[03:27:22] s00pcan: has joined #ruby
[03:27:31] sandstrom: has joined #ruby
[03:28:13] Ox0dea: Here's hoping this fella's as trusty as he looks: http://www.altinawildlife.com/portals/0/tahr-home-page.jpg
[03:28:40] BlkDynmt: has joined #ruby
[03:30:58] jimmtt: I always end up having to take the sudo's out of these guides because I just do them as root
[03:33:46] mjuszczak: has joined #ruby
[03:35:04] jimmtt: guide said to install libmysqlclient-dev before installing the mysql12 gem so that the native extensions won't fail to compile but they still fail to compile lol
[03:35:28] Ox0dea: ??\_(???)_/??
[03:37:21] PlasmaStar: has joined #ruby
[03:37:55] nodejunkie: has joined #ruby
[03:37:59] arooni-mobile: has left #ruby: ("Leaving")
[03:38:53] _seanc_: has joined #ruby
[03:39:35] ebit: has joined #ruby
[03:40:05] ebit: would it be possible to create a local users using ruby
[03:40:31] aarontak: has joined #ruby
[03:41:11] mfb2: has joined #ruby
[03:42:16] joonty: has joined #ruby
[03:44:41] sandstrom: has joined #ruby
[03:46:17] speakingcode: has joined #ruby
[03:46:35] baweaver: has joined #ruby
[03:47:41] blackgoat_: has joined #ruby
[03:47:55] kent\n: Like, Kernel.system('sudo', 'useradd', ... ) ? # NB: Be really careful, system + sudo is a really nice exploit target.
[03:48:31] jimmtt: seems like I also needed the -dev ruby version
[03:50:19] darkxploit: has joined #ruby
[03:50:34] mjuszczak: has joined #ruby
[03:58:20] hnagamin: has joined #ruby
[03:58:31] piotrj_: has joined #ruby
[03:59:36] devbug: has joined #ruby
[04:01:04] _djbkd: has joined #ruby
[04:01:09] lyoshajapan: has joined #ruby
[04:06:16] htmldrum: has joined #ruby
[04:06:55] mjuszczak: has joined #ruby
[04:08:53] idefine: has joined #ruby
[04:10:25] goodroot: has joined #ruby
[04:11:55] yoongkang: has joined #ruby
[04:12:53] Tempesta: has joined #ruby
[04:13:10] zast: has joined #ruby
[04:15:26] average: has joined #ruby
[04:15:33] average: has left #ruby: ()
[04:18:00] jbrhbr: has joined #ruby
[04:19:21] htmldrum: has joined #ruby
[04:19:51] braincrash: has joined #ruby
[04:21:08] pawnbox: has joined #ruby
[04:21:22] treaki_: has joined #ruby
[04:21:56] iateadonut: has joined #ruby
[04:25:01] chouhoulis: has joined #ruby
[04:26:23] treaki: has joined #ruby
[04:28:33] jbrhbr: has joined #ruby
[04:30:13] goodroot: has joined #ruby
[04:32:24] sandstrom: has joined #ruby
[04:32:52] n00bDev: has joined #ruby
[04:34:06] htmldrum: has joined #ruby
[04:34:15] william3: has joined #ruby
[04:36:37] devbug: has joined #ruby
[04:36:42] TomPeed: has joined #ruby
[04:37:34] govg: has joined #ruby
[04:41:11] enitiz: has joined #ruby
[04:42:49] zacstewart: has joined #ruby
[04:43:00] joonty: has joined #ruby
[04:44:40] jottr: has joined #ruby
[04:44:44] dain: has joined #ruby
[04:48:59] lyoshajapan: has joined #ruby
[04:49:30] juddey: has joined #ruby
[04:49:38] baweaver: has joined #ruby
[04:50:03] sandstrom: has joined #ruby
[04:50:24] gix: has joined #ruby
[04:50:24] mjuszczak: has joined #ruby
[04:50:54] Ebok: has joined #ruby
[04:52:09] dlitvak: has joined #ruby
[04:52:23] dextertzu: has joined #ruby
[04:53:37] symm-: has joined #ruby
[04:53:37] andrew: has joined #ruby
[04:53:53] The_Phoenix: has joined #ruby
[04:54:51] arup_r: has joined #ruby
[04:55:14] william3: has joined #ruby
[04:56:02] fedexo: has joined #ruby
[04:58:16] CloCkWeRX: has joined #ruby
[04:58:20] CloCkWeRX: has left #ruby: ()
[04:59:13] ledestin: has joined #ruby
[05:00:33] dexter_: has joined #ruby
[05:03:51] blackgoat_: has joined #ruby
[05:03:52] The_Phoenix: has joined #ruby
[05:05:56] astrobun_: has joined #ruby
[05:06:02] jbrhbr: has joined #ruby
[05:07:13] sandstrom: has joined #ruby
[05:08:18] The_Phoenix: has joined #ruby
[05:11:15] astrobun_: has joined #ruby
[05:12:47] duckpuppy: has joined #ruby
[05:13:01] triangles: has joined #ruby
[05:17:11] goodroot: has joined #ruby
[05:17:15] nullFxn: has joined #ruby
[05:17:28] wolffles: has joined #ruby
[05:17:50] CloCkWeRX: has joined #ruby
[05:18:15] kalopsian: has joined #ruby
[05:21:18] zacstewart: has joined #ruby
[05:21:43] djbkd: has joined #ruby
[05:24:27] hahuang65: has joined #ruby
[05:24:27] sandstrom: has joined #ruby
[05:25:48] chouhoulis: has joined #ruby
[05:26:09] tomchapin: has joined #ruby
[05:28:26] dlitvak: has joined #ruby
[05:30:27] william3: has joined #ruby
[05:32:17] dextertzu: has joined #ruby
[05:34:12] RobertBirnie: has joined #ruby
[05:35:24] lost: has joined #ruby
[05:40:58] kellenevan: has joined #ruby
[05:41:15] FelixFire619: has joined #ruby
[05:41:41] sandstrom: has joined #ruby
[05:42:36] FelixFire619: following this guide https://www.digitalocean.com/community/tutorials/how-to-get-started-with-jekyll-on-an-ubuntu-vps "gem install jekyll capistrano" gives me
[05:42:36] FelixFire619: The program 'gem' can be found in the following packages:
[05:42:37] FelixFire619: Try: apt-get install <selected package>
[05:42:38] FelixFire619: Any idea's folks?
[05:42:53] LoneHerm_: has joined #ruby
[05:43:09] kellenevan1: has joined #ruby
[05:43:45] joonty: has joined #ruby
[05:45:00] CloCkWeRX: has left #ruby: ()
[05:45:03] arup_r: has joined #ruby
[05:45:18] kellenevan2: has joined #ruby
[05:45:25] jottr: has joined #ruby
[05:47:11] adam12: FelixFire619: You installed `rvm` using method above?
[05:47:52] FelixFire619: i did the on your vps #1
[05:47:54] adam12: the command that starts with `curl`
[05:48:05] FelixFire619: skipped nginx
[05:48:15] FelixFire619: ran curl -L https://get.rvm.io | bash -s stable --ruby=2.0.0
[05:48:30] adam12: No errors from running that command?
[05:48:32] FelixFire619: does it need to be a non-root user
[05:48:42] havenwood: FelixFire619: What do you get for?: rvm current
[05:48:44] adam12: Most of the time you run it as your own user.
[05:48:49] FelixFire619: lemme dbl check
[05:48:57] adam12: But I don't run rvm so can't validate that, tbh.
[05:49:15] FelixFire619: yes gem install jekyll capistrano first line /w error
[05:49:24] FelixFire619: The program 'gem' can be found in the following packages:
[05:49:30] havenwood: FelixFire619: RVM doesn't like being run as root. What do you get for?: rvm current
[05:50:09] FelixFire619: lemme try something brb
[05:51:14] pawnbox: has joined #ruby
[05:52:21] RobertBirnie: has joined #ruby
[05:54:59] havenwood: FelixFire619: Here's a guide to setting up latest stable Ruby with a simple, modern set of tools that are an alternative to RVM: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/
[05:58:18] gambl0re: has joined #ruby
[05:58:58] sandstrom: has joined #ruby
[06:02:37] yoongkang: has joined #ruby
[06:03:26] william3: has joined #ruby
[06:03:29] barhum2013: has joined #ruby
[06:04:20] zacstewart: has joined #ruby
[06:08:33] Channel6: has joined #ruby
[06:15:21] lemur: has joined #ruby
[06:15:36] futilegames: has joined #ruby
[06:16:12] sandstrom: has joined #ruby
[06:16:58] sgambino: has joined #ruby
[06:17:56] ProofTechnique: has joined #ruby
[06:18:40] Outlastsheep: has joined #ruby
[06:19:45] yonatankoren: has joined #ruby
[06:19:48] Bloomer: has joined #ruby
[06:22:16] mfb2: has joined #ruby
[06:22:29] william3: has joined #ruby
[06:25:16] UtkarshRay: has joined #ruby
[06:25:41] zacstewart: has joined #ruby
[06:26:20] LoneHerm_: has joined #ruby
[06:26:52] chouhoulis: has joined #ruby
[06:31:06] darkf: has joined #ruby
[06:31:24] pawnbox: has joined #ruby
[06:33:08] hahuang65: has joined #ruby
[06:33:27] sandstrom: has joined #ruby
[06:34:05] lxsameer: has joined #ruby
[06:36:32] dlitvak: has joined #ruby
[06:37:06] wolffles: hey Ox0dea you there?
[06:37:44] rmrrn: has joined #ruby
[06:37:45] rmrrn: has joined #ruby
[06:38:11] yoongkang: has joined #ruby
[06:40:03] at46: has joined #ruby
[06:40:28] astrobun_: has joined #ruby
[06:41:13] astrobun_: has joined #ruby
[06:44:34] joonty: has joined #ruby
[06:45:33] stannard: has joined #ruby
[06:46:10] jottr: has joined #ruby
[06:46:23] arup_r: has joined #ruby
[06:50:58] sandstrom: has joined #ruby
[06:51:08] weemsledeux: has joined #ruby
[06:57:12] aspire: has joined #ruby
[06:59:21] PedramT: has joined #ruby
[06:59:59] astrobun_: has joined #ruby
[07:00:30] yfeldblum: has joined #ruby
[07:01:24] pawnbox: has joined #ruby
[07:02:58] juddey: has joined #ruby
[07:07:46] mrsolow: has joined #ruby
[07:08:12] sandstrom: has joined #ruby
[07:09:41] pawnbox: has joined #ruby
[07:11:12] pawnbox: has joined #ruby
[07:13:49] skcin7: has joined #ruby
[07:16:00] lyoshajapan: has joined #ruby
[07:21:57] giftmusic: has joined #ruby
[07:22:00] Coldblackice: has joined #ruby
[07:22:25] futilegames: has joined #ruby
[07:23:08] zapata: has joined #ruby
[07:23:19] x77686d: has joined #ruby
[07:23:20] zambini: has joined #ruby
[07:23:29] moei: has joined #ruby
[07:24:38] tomchapin: has joined #ruby
[07:25:29] sandstrom: has joined #ruby
[07:27:43] chouhoulis: has joined #ruby
[07:33:13] karapetyan: has joined #ruby
[07:35:27] aryaching: has joined #ruby
[07:36:01] william3: has joined #ruby
[07:40:53] at46: has joined #ruby
[07:42:07] speakingcode: has joined #ruby
[07:42:45] sandstrom: has joined #ruby
[07:44:07] Ebok: If I have an array of Integers, and I need to join every pair of them into an array... ex: [0,0,1,0,1,1] => [[0,0],[0,1],[1,1]] Does anyone have any suggestions?
[07:44:08] nchambers^: Ebok: https://www.wolframalpha.com/input/?i=eigenvectors+%7B%7B1%2C0%2C0%7D%2C%7B0%2C0%2C1%7D%2C%7B0%2C1%2C0%7D%7D
[07:44:29] Ebok: Hrm. I didnt expect that to respond to me.
[07:44:37] astrobun_: has joined #ruby
[07:46:14] astrobun_: has joined #ruby
[07:47:20] Xeago: has joined #ruby
[07:47:26] dextertzu: has joined #ruby
[07:47:37] rkazak: has joined #ruby
[07:48:14] jottr: has joined #ruby
[07:51:59] aryaching: has joined #ruby
[07:53:08] havenwood: Ebok: >> [0,0,1,0,1,1].each_slice(2).to_a
[07:53:18] Ebok: Oh sweet.
[07:53:38] Ebok: I forgot each_slice even existed
[07:54:20] hahuang65: has joined #ruby
[07:59:16] troulouliou_dev: has joined #ruby
[07:59:58] sandstrom: has joined #ruby
[08:00:23] djbkd: has joined #ruby
[08:00:38] arlek_: has joined #ruby
[08:01:38] Abrin: has joined #ruby
[08:03:32] blur3d: has joined #ruby
[08:05:05] zacstewart: has joined #ruby
[08:07:33] visudo: has joined #ruby
[08:10:55] mdw: has joined #ruby
[08:15:52] Spami: has joined #ruby
[08:17:12] sandstrom: has joined #ruby
[08:19:51] rht: has joined #ruby
[08:23:25] Dimik: has joined #ruby
[08:25:05] mikolalysenko: has joined #ruby
[08:27:24] alnewkirk: has joined #ruby
[08:28:25] chouhoulis: has joined #ruby
[08:29:02] wolffles: has joined #ruby
[08:29:11] idefine: has joined #ruby
[08:31:06] duckpuppy: has joined #ruby
[08:33:05] jud: has joined #ruby
[08:34:31] sandstrom: has joined #ruby
[08:34:39] tomchapin: has joined #ruby
[08:36:48] zacts: hello rubyists
[08:36:51] ledestin: has joined #ruby
[08:37:47] zacstewart: has joined #ruby
[08:38:34] william3: has joined #ruby
[08:39:36] pawnbox: has joined #ruby
[08:42:35] pawnbox: has joined #ruby
[08:42:54] at46: has joined #ruby
[08:42:57] tomchapin: has joined #ruby
[08:47:30] triangles: how you doin
[08:48:55] jottr: has joined #ruby
[08:50:11] chussenot: has joined #ruby
[08:50:47] zacts: I'm doin' alright
[08:51:02] zacts: I'm just reading this pragmatic book on Ruby2 cli apps
[08:51:23] mdw: has joined #ruby
[08:52:33] skade: has joined #ruby
[08:53:20] shevy: Ebok I forget .each_slice too, all the time
[08:53:24] shevy: the name is so hard to remember
[08:53:31] sandstrom: has joined #ruby
[08:53:37] wolffles: has joined #ruby
[08:54:03] akkmaxon: has joined #ruby
[08:54:09] Ebok: I'll have to stop forgetting that one though. Its the answer to almost every single simple boardgame question I run into.
[08:54:30] jgt1: has joined #ruby
[08:54:53] Ebok: At least the last three, discounting my test-driven Ruby Tree learning.
[08:55:09] Ebok: experiment-driven* is probably more accurate
[08:55:13] william3: has joined #ruby
[08:56:56] idefine: has joined #ruby
[09:00:52] zacstewart: has joined #ruby
[09:02:37] robbyoconnor: has joined #ruby
[09:07:28] firstdayonthejob: has joined #ruby
[09:07:54] shevy: I am trying to trick my brain into thinking that it is called .chunk
[09:08:19] shevy: then I can use this as "how to make an array split into separate chunks of equal size
[09:09:58] Nawn: has joined #ruby
[09:10:21] william3: has joined #ruby
[09:10:26] sandstrom: has joined #ruby
[09:11:07] apeiros: better learn the word slice ;-)
[09:11:18] apeiros: how can I slice an array into equal sized slices
[09:11:41] Trynemjoel: has joined #ruby
[09:15:11] lxsameer: has joined #ruby
[09:15:40] oetjenj: has joined #ruby
[09:17:04] Macaveli: has joined #ruby
[09:17:09] webus: has joined #ruby
[09:17:31] Nawn: has joined #ruby
[09:18:38] codecop: has joined #ruby
[09:19:28] lyoshajapan: has joined #ruby
[09:19:44] Nawn: has left #ruby: ()
[09:20:39] Nawn: has joined #ruby
[09:20:45] Nawn: has left #ruby: ()
[09:21:06] drptbl: has joined #ruby
[09:21:43] PedramT: has joined #ruby
[09:23:42] lyoshajapan: has joined #ruby
[09:24:25] zacstewart: has joined #ruby
[09:26:58] futilegames: has joined #ruby
[09:27:27] yoongkang: has joined #ruby
[09:28:25] barhum2013: has joined #ruby
[09:28:27] BaroMeter: has joined #ruby
[09:29:12] chouhoulis: has joined #ruby
[09:30:29] chussenot: has joined #ruby
[09:30:50] juddey: has joined #ruby
[09:32:15] marr: has joined #ruby
[09:32:33] aryaching: has joined #ruby
[09:33:20] The_Phoenix: has joined #ruby
[09:33:36] LoneHerm_: has joined #ruby
[09:34:42] Trynemjoel: has joined #ruby
[09:36:24] mauricio: has joined #ruby
[09:37:17] drptbl: has joined #ruby
[09:37:27] zacts: apparently the etymology of the word 'splice' means to bring things together, I think historically
[09:38:06] zacts: ACTION is sleepy just a bit
[09:38:06] skade_: has joined #ruby
[09:38:27] zacts: ACTION is a sleepy word nerd
[09:39:25] Ishido: has joined #ruby
[09:43:44] at46: has joined #ruby
[09:44:11] piotrj: has joined #ruby
[09:45:05] aryaching: has joined #ruby
[09:45:42] robbyoconnor: has joined #ruby
[09:48:37] Macaveli: has joined #ruby
[09:48:56] al2o3-cr: has joined #ruby
[09:49:41] jottr: has joined #ruby
[09:49:50] gbgdev_: has joined #ruby
[09:51:58] ramfjord: has joined #ruby
[09:52:18] robbyoconnor: has joined #ruby
[09:52:26] shevy: in genetics, splicing is used to put exons (transcribed from a gene) together, which was a term borrowed from earlier movie-makers splicing their movies/film on those big weird circular things together... like you know, old cinemas
[09:53:11] william3: has joined #ruby
[09:56:58] rdark: has joined #ruby
[09:57:46] lyoshajapan: has joined #ruby
[09:58:56] drptbl: has joined #ruby
[09:58:59] FernandoBasso: has joined #ruby
[09:59:44] DoubleMalt: has joined #ruby
[09:59:49] jbrhbr: has joined #ruby
[09:59:57] william3: has joined #ruby
[10:00:42] arup_r: has joined #ruby
[10:01:52] PedramT: has joined #ruby
[10:01:53] Cohedrin: has joined #ruby
[10:02:34] baweaver: has joined #ruby
[10:03:56] skade: has joined #ruby
[10:04:12] zeroDivisible: has joined #ruby
[10:06:05] domgetter: has joined #ruby
[10:08:19] sftrabbit: has joined #ruby
[10:10:17] snowy: has joined #ruby
[10:11:23] karapetyan: has joined #ruby
[10:12:14] Ishido: has joined #ruby
[10:16:27] karapetyan: has joined #ruby
[10:16:32] Support_: has joined #ruby
[10:17:56] CloCkWeRX: has joined #ruby
[10:19:11] Support_: has joined #ruby
[10:19:59] Mon_Ouie: has joined #ruby
[10:21:30] sandstrom: has joined #ruby
[10:24:01] codecop: has joined #ruby
[10:24:11] mfb2: has joined #ruby
[10:24:13] Druid: has joined #ruby
[10:24:37] Druid: has left #ruby: ("Quit message")
[10:24:47] PedramT: has joined #ruby
[10:25:28] PedramT: has joined #ruby
[10:25:41] shevy: anyone happens to know how perl or python call a similar operation on an Array? e. g. .each_slice()
[10:29:58] chouhoulis: has joined #ruby
[10:30:51] tenderlove: has joined #ruby
[10:31:52] duckpuppy: has joined #ruby
[10:32:32] zacstewart: has joined #ruby
[10:35:34] sepp2k: has joined #ruby
[10:37:32] dextertzu: has joined #ruby
[10:38:22] shevy: ok a ruby question now
[10:38:36] shevy: this url provides a text file attachment - in the browser, I can click on save and it will be saved:
[10:38:37] shevy: http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=189458859&rettype=fasta&retmode=text
[10:38:50] shevy: how can I grab this via open-uri or somehow else? e. g. to obtain this programmatically
[10:39:33] shevy: pp yields this when I use open() with that URL:
[10:39:34] shevy: https://gist.githubusercontent.com/shevegen/ff8f1848a97297d3bb2d/raw/b619438b16d1e0fd35dd2ffb7dfaa9955da5a825/gistfile1.txt
[10:39:47] shevy: I suppose it is stored in: "content-disposition"=>["attachment; filename=sequence.fasta"]
[10:40:24] tomphp: has joined #ruby
[10:40:41] sandstrom: has joined #ruby
[10:41:57] krz: has joined #ruby
[10:42:11] blackmesa: has joined #ruby
[10:42:31] chussenot: has joined #ruby
[10:44:40] at46: has joined #ruby
[10:45:31] al2o3-cr: shevy: File.write('foo.txt', open("http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=189458859&rettype=fasta&retmode=text").read)
[10:45:43] shevy: oha... let me try
[10:46:41] shevy: that works
[10:46:45] shevy: thanks al2o3-cr
[10:47:11] stannard: has joined #ruby
[10:50:25] jottr: has joined #ruby
[10:51:24] arup_r: any trick you people know to hide public IP in IRC, mine is visible :( I am using LimeChat client
[10:52:06] enkristoffer: has joined #ruby
[10:52:07] Xeago: has joined #ruby
[10:53:08] apeiros: arup_r: get a cloak
[10:53:38] arup_r: is it a plugin ?
[10:53:39] william3: has joined #ruby
[10:53:55] zacstewart: has joined #ruby
[10:54:23] jhass: apeiros: arup_r note that a cloak is not bullet proof
[10:54:32] jhass: arup_r: you ask for it in #freenode
[10:55:01] jhass: make sure to use SASL authentication, it's useless for hiding the IP otherwise
[10:55:07] jhass: and even then a bit questionable still
[10:55:27] arup_r: jhass: I enables SASL .. last time you helped me to do it.. :)
[10:55:35] jhass: I don't memorize such stuff
[10:55:49] Support_: has left #ruby: ()
[10:56:02] DoubleMalt: has joined #ruby
[10:57:22] moei: has joined #ruby
[10:58:01] sandstrom: has joined #ruby
[10:59:11] namxam: has joined #ruby
[10:59:14] treaki: has joined #ruby
[11:02:12] puria: has joined #ruby
[11:03:18] TomyLobo: has joined #ruby
[11:06:12] felixal: has joined #ruby
[11:06:41] neanderslob: has joined #ruby
[11:08:54] william3: has joined #ruby
[11:13:03] mdw: has joined #ruby
[11:13:47] mauricio: has joined #ruby
[11:15:10] sandstrom: has joined #ruby
[11:17:05] skade: has joined #ruby
[11:18:51] chussenot: has joined #ruby
[11:23:11] syk: has joined #ruby
[11:23:55] symm-: has joined #ruby
[11:25:33] mdw: has joined #ruby
[11:28:53] PedramT: has joined #ruby
[11:30:44] chouhoulis: has joined #ruby
[11:30:58] PedramT: has joined #ruby
[11:33:03] tomphp: has joined #ruby
[11:34:37] crazydiamond: has joined #ruby
[11:35:30] SCHAAP137: has joined #ruby
[11:35:49] shevy: jhass are you still writing crystal code?
[11:36:15] jhass: I have a bunch of Crystal projects that I need to keep up to date, so yeah
[11:36:36] Brklyn: has joined #ruby
[11:40:04] tAn: has joined #ruby
[11:45:10] at46: has joined #ruby
[11:47:07] spider-mario: has joined #ruby
[11:48:06] krz: has joined #ruby
[11:48:29] PedramT: has joined #ruby
[11:48:50] FooMunki: has joined #ruby
[11:49:36] PedramT: has joined #ruby
[11:50:09] Pupeno: has joined #ruby
[11:50:09] Pupeno: has joined #ruby
[11:51:10] jottr: has joined #ruby
[12:01:41] lyoshajapan: has joined #ruby
[12:03:44] baweaver: has joined #ruby
[12:04:14] mauricio: has joined #ruby
[12:05:47] ht__: has joined #ruby
[12:09:07] k13nox: has joined #ruby
[12:09:13] zarubin: has joined #ruby
[12:11:38] sdothum: has joined #ruby
[12:14:33] rippa: has joined #ruby
[12:15:14] lyoshajapan: has joined #ruby
[12:15:20] piotrj: has joined #ruby
[12:16:42] blackgoat_: has joined #ruby
[12:17:01] pawnbox: has joined #ruby
[12:17:17] Arnvald: has joined #ruby
[12:21:48] karapetyan: has joined #ruby
[12:22:17] htmldrum: has joined #ruby
[12:23:27] LoneHerm_: has joined #ruby
[12:23:54] Pupeno: has joined #ruby
[12:24:30] firstdayonthejob: has joined #ruby
[12:29:37] tomphp: has joined #ruby
[12:30:58] gruz0: has joined #ruby
[12:31:29] chouhoulis: has joined #ruby
[12:32:05] ferr: has joined #ruby
[12:32:37] duckpuppy: has joined #ruby
[12:32:45] drptbl: has joined #ruby
[12:33:45] idefine: has joined #ruby
[12:33:46] william3: has joined #ruby
[12:35:57] ht__: has joined #ruby
[12:36:02] PedramT: has joined #ruby
[12:36:32] pdoherty: has joined #ruby
[12:37:53] jottr: has joined #ruby
[12:39:31] Tempesta: has joined #ruby
[12:40:41] PedramT_: has joined #ruby
[12:41:55] zacstewart: has joined #ruby
[12:42:05] The_Phoenix: has joined #ruby
[12:42:15] ccaffeini: has joined #ruby
[12:46:06] at46: has joined #ruby
[12:47:42] stannard: has joined #ruby
[12:50:31] darkxploit: has joined #ruby
[12:51:11] Ebok: has joined #ruby
[12:54:45] bkxd: has joined #ruby
[12:54:48] sftrabbit: has joined #ruby
[12:57:23] yoongkang: has joined #ruby
[12:57:31] namxam: has joined #ruby
[12:57:38] mjuszczak: has joined #ruby
[12:59:19] dextertzu: has joined #ruby
[12:59:57] ht__: has joined #ruby
[13:02:06] Pupeno: has joined #ruby
[13:02:25] lipoqil: has joined #ruby
[13:05:41] william3: has joined #ruby
[13:06:26] ccaffeini: has joined #ruby
[13:06:48] CloCkWeRX1: has joined #ruby
[13:07:00] CloCkWeRX2: has joined #ruby
[13:08:09] sftrabbit: has joined #ruby
[13:09:46] krz: has joined #ruby
[13:09:49] syk: has joined #ruby
[13:11:58] ht__: has joined #ruby
[13:12:19] yoongkang: has joined #ruby
[13:14:05] chris2: has joined #ruby
[13:14:34] tomphp: has joined #ruby
[13:15:31] bkxd: has joined #ruby
[13:17:53] fumk: has joined #ruby
[13:21:10] kalopsian: has joined #ruby
[13:22:21] aryaching: has joined #ruby
[13:22:51] karapetyan: has joined #ruby
[13:24:29] LoneHermit: has joined #ruby
[13:24:33] newbie22: has joined #ruby
[13:25:45] zapata: has joined #ruby
[13:28:08] fumk: has joined #ruby
[13:30:14] despai: has joined #ruby
[13:32:11] chouhoulis: has joined #ruby
[13:36:21] william3: has joined #ruby
[13:38:40] namxam: has joined #ruby
[13:39:17] tomphp: has joined #ruby
[13:39:26] drptbl: has joined #ruby
[13:40:30] futilegames: has joined #ruby
[13:43:32] jottr: has joined #ruby
[13:43:59] ht__: has joined #ruby
[13:44:08] Sirithcam: has joined #ruby
[13:46:29] piotrj: has joined #ruby
[13:46:43] at46: has joined #ruby
[13:48:02] shredding: has joined #ruby
[13:50:17] harushimo: has joined #ruby
[13:52:14] harushimo: i'm doing an gem install of jekyll from the gem repo. I get an error saying I need to have developments tools installed. Does ruby 2.3 have a seperate development tool package?
[13:56:12] cjbischof_: has joined #ruby
[13:56:46] lucasb: has joined #ruby
[13:57:22] DoubleMalt: has joined #ruby
[14:02:03] chussenot: has joined #ruby
[14:04:17] sdothum: has joined #ruby
[14:05:45] baweaver: has joined #ruby
[14:07:51] jhass: no but debian/ubuntu usually does
[14:08:09] jhass: however I don't think 2.3 is packaged up there?
[14:08:52] decoponio: has joined #ruby
[14:09:55] jhass: harushimo: got some more context?
[14:10:21] harushimo: i'm sending a gist right now
[14:11:03] i: has joined #ruby
[14:11:55] nickjj: does anyone know if the redirect addon for jekyll supports subdomains? the jekyll channel is pretty dead and it's not something i can personally test atm
[14:12:27] harushimo: https://gist.github.com/harushimo/69b2391c639455a77291
[14:12:45] harushimo: I posted the question there too
[14:13:19] harushimo: this seems its an ruby problem
[14:13:21] karapetyan: has joined #ruby
[14:13:22] fumk: has joined #ruby
[14:13:26] harushimo: its checking for development tools
[14:13:35] harushimo: does 2.3 come with some development tools
[14:13:47] jhass: harushimo: given it fails during installing the ffi gem I'd bet on libffi-dev, libffi-devel or whatever the package is called on your distribution
[14:13:47] harushimo: or is that package specific?
[14:14:29] jhass: if that doesn't help we gotta see the log files mentioned
[14:14:54] harushimo: did you want me open that mkmf.log?
[14:15:55] ht__: has joined #ruby
[14:19:15] harushimo: https://gist.github.com/harushimo/7cc0a76145e926fdbd46
[14:19:27] harushimo: here is the rvm requirements installation screen
[14:19:34] SMarcus: has joined #ruby
[14:19:36] SMarcus: has left #ruby: ()
[14:19:39] harushimo: libffi-dev was installed
[14:19:44] dseitz: has joined #ruby
[14:19:46] futilegames: has joined #ruby
[14:19:53] nodejunkie: has joined #ruby
[14:20:16] SCHAAP137: has joined #ruby
[14:20:41] jhass: if you confirmed it's indeed installed, then it's time for a look at mkmf.log
[14:21:46] harushimo: i checked again by doing an apt-get installed. The message I got: libffi-dev is already at the newest version
[14:21:52] harushimo: let me open that file
[14:24:26] harushimo: https://gist.github.com/harushimo/7cc0a76145e926fdbd46
[14:24:29] harushimo: here is the log file
[14:25:10] arup_r: has joined #ruby
[14:26:37] harushimo: can you tell me what this log file saying? It seems that it can't find it
[14:27:30] harushimo: I can't anyone on the jekyll team yet.
[14:28:51] jhass: harushimo: install libgmp-dev or gmp-dev or whatever the package is
[14:29:17] k13nox: has joined #ruby
[14:30:08] harushimo: how did you find that
[14:30:18] jhass: /usr/bin/ld: cannot find -lgmp
[14:30:48] jhass: you're welcome
[14:31:25] harushimo: yep thats it
[14:31:49] arthropododo: has joined #ruby
[14:32:50] cdg: has joined #ruby
[14:32:57] chouhoulis: has joined #ruby
[14:34:39] duckpuppy: has joined #ruby
[14:37:19] vikas027: has joined #ruby
[14:39:54] namxam: has joined #ruby
[14:42:07] summonagus: has joined #ruby
[14:44:58] chussenot: has joined #ruby
[14:47:29] at46: has joined #ruby
[14:47:31] futilegames: has joined #ruby
[14:48:34] whiteline: has joined #ruby
[14:51:09] cschneid_: has joined #ruby
[14:51:26] k13nox: has joined #ruby
[14:51:45] solars: has joined #ruby
[14:53:58] ht__: has joined #ruby
[14:57:01] Jardayn: has joined #ruby
[14:58:35] lyoshajapan: has joined #ruby
[15:01:38] PedramT: has joined #ruby
[15:02:09] PedramT_: has joined #ruby
[15:03:17] tuelz: has joined #ruby
[15:03:39] ebit: has joined #ruby
[15:04:36] al2o3-cr: has joined #ruby
[15:06:22] PedramT: has joined #ruby
[15:07:57] PedramT: has joined #ruby
[15:08:32] FAMAS: has joined #ruby
[15:08:32] zacstewart: has joined #ruby
[15:08:37] FAMAS: greetings to all
[15:09:35] FAMAS: ruby social channel link needed
[15:11:44] dudedudeman: has joined #ruby
[15:12:33] PedramT_: has joined #ruby
[15:12:41] LoneHerm_: has joined #ruby
[15:13:08] IrishGringo: has joined #ruby
[15:13:58] FAMAS: has left #ruby: ()
[15:14:34] The_Phoenix: has joined #ruby
[15:14:57] kentnl: has joined #ruby
[15:15:37] kentnl: has joined #ruby
[15:18:34] PedramT: has joined #ruby
[15:18:51] iateadonut: has joined #ruby
[15:21:27] FernandoBasso: has joined #ruby
[15:25:37] _seanc_: has joined #ruby
[15:25:54] PedramT: has joined #ruby
[15:28:25] PedramT: has joined #ruby
[15:28:37] krobzaur: has joined #ruby
[15:29:45] The_Phoenix: has joined #ruby
[15:30:52] symm-: has joined #ruby
[15:31:30] praveen: has joined #ruby
[15:33:41] chouhoulis: has joined #ruby
[15:35:04] PedramT: has joined #ruby
[15:35:23] duckpuppy: has joined #ruby
[15:36:53] dexter-tzu: has joined #ruby
[15:36:58] william3: has joined #ruby
[15:38:09] pawnbox: has joined #ruby
[15:40:33] lyoshajapan: has joined #ruby
[15:40:48] griffindy: has joined #ruby
[15:40:57] sankaber: has joined #ruby
[15:41:55] ht__: has joined #ruby
[15:42:37] namxam: has joined #ruby
[15:44:15] pawnbox: has joined #ruby
[15:44:58] mdw: has joined #ruby
[15:48:09] at46: has joined #ruby
[15:48:38] futilegames: has joined #ruby
[15:50:19] dtordable: has joined #ruby
[15:54:01] despai: has joined #ruby
[15:54:16] weemsledeux: has joined #ruby
[15:54:46] UtkarshRay: has joined #ruby
[15:54:58] k13nox: has joined #ruby
[15:55:38] SenpaiSilver: has joined #ruby
[15:56:49] tvw: has joined #ruby
[15:57:46] symm-: has joined #ruby
[15:58:03] karapetyan: has joined #ruby
[15:59:50] atmosx: has joined #ruby
[16:00:57] IrishGringo: has joined #ruby
[16:02:04] sandstrom: has joined #ruby
[16:04:25] bensarz: has joined #ruby
[16:05:36] bkxd: has joined #ruby
[16:06:32] baweaver: has joined #ruby
[16:07:31] klaas_: has joined #ruby
[16:07:55] waheedi: has joined #ruby
[16:09:49] lyoshajapan: has joined #ruby
[16:10:14] idefine: has joined #ruby
[16:10:27] darkf_: has joined #ruby
[16:11:08] summonagus: has joined #ruby
[16:11:29] zacstewart: has joined #ruby
[16:12:23] bensarz: has joined #ruby
[16:13:32] zzz: has joined #ruby
[16:16:02] treaki: has joined #ruby
[16:16:35] uris: has joined #ruby
[16:16:45] x77686d: has joined #ruby
[16:16:50] tomphp: has joined #ruby
[16:18:38] jimmtt: has joined #ruby
[16:19:28] yoongkang: has joined #ruby
[16:20:31] Voyage: has joined #ruby
[16:20:32] Voyage: where is database.yml
[16:20:48] kaleido: wherever you put it?
[16:21:13] Voyage: I am just installing redmine and getting the following error
[16:21:37] Voyage: Determining debian-sys-maint password from /etc/mysql/debian.cnf: succeeded.
[16:21:37] Voyage: Please configure your config/database.yml first
[16:21:38] Voyage: Could not find gem 'rails (~> 4.1.4) ruby' in any of the gem sources listed in
[16:21:38] Voyage: your Gemfile or available on this machine.
[16:21:55] jhass: ask #debian since they packaged it up
[16:22:45] htmldrum: has joined #ruby
[16:23:29] davedev24: has joined #ruby
[16:23:50] Xeago: has joined #ruby
[16:24:31] atmosx: Voyage: config/database.yml
[16:24:44] Voyage: atmosx, where is config?
[16:25:07] atmosx: Voyage: in the redmine directory which has a regular rails project structure
[16:25:13] waheedi: has joined #ruby
[16:25:25] Voyage: atmosx, where is redmine?
[16:25:33] Voyage: atmosx, its not even installed yet. I gues
[16:25:34] duckpuppy: has joined #ruby
[16:25:54] atmosx: Well probably
[16:26:15] rkazak: has joined #ruby
[16:26:23] arup_r: has joined #ruby
[16:27:43] atmosx: Try this: mkdir -p $HOME/code/ && cd $HOME/code; wget http://www.redmine.org/releases/redmine-3.2.0.tar.gz && tar zxvf redmine-3.2.0.tar.gz && cd redmine* && ls config/database.yml
[16:28:16] atmosx: I wouldn't use ubuntu's/debian's ruby for anything though. Better some pkg manager or vanilla installation
[16:28:21] Voyage: so its in redmine home?
[16:28:51] atmosx: Voyage: that code will download the file and uncompress it, are you familiar with linux or ruby at all?
[16:29:04] atmosx: Voyage: If not, it's going to be tricky.
[16:30:22] sandstrom: has joined #ruby
[16:30:42] praveen: has joined #ruby
[16:31:45] summonagus: has joined #ruby
[16:32:23] phantummm: has joined #ruby
[16:33:15] uris: has joined #ruby
[16:33:15] wheresmyjetpack: has joined #ruby
[16:34:24] tomphp: has joined #ruby
[16:34:30] chouhoulis: has joined #ruby
[16:34:32] zacstewart: has joined #ruby
[16:38:24] devgiant: has joined #ruby
[16:38:33] sandstrom: has joined #ruby
[16:38:35] william3: has joined #ruby
[16:38:41] Voyage: atmosx, http://pastie.org/10701958
[16:39:25] kalopsian: has joined #ruby
[16:39:38] mikeiniowa: has joined #ruby
[16:40:04] atmosx: Voyage: I see what you're doing, try: apt-get install ruby-rails-4.0
[16:40:12] atmosx: before giving those commands
[16:40:19] atmosx: although apt-get should handle this
[16:40:25] atmosx: as a dependency, can't for sure
[16:41:04] Azure|dc: has joined #ruby
[16:41:11] Voyage: same message again
[16:42:06] blackmesa: has joined #ruby
[16:42:24] pdoherty: has joined #ruby
[16:42:24] visudo: has joined #ruby
[16:43:25] namxam: has joined #ruby
[16:44:19] dlitvak: has joined #ruby
[16:44:56] Biopandemic: has joined #ruby
[16:45:17] piotrj: has joined #ruby
[16:45:44] futilegames: has joined #ruby
[16:46:11] dlitvak_: has joined #ruby
[16:46:24] Voyage: atmosx, any clues?
[16:46:25] mdw: has joined #ruby
[16:47:28] Voyage: atmosx, $ bundle update rails
[16:47:29] Voyage: Could not locate Gemfile
[16:48:57] at46: has joined #ruby
[16:49:21] stannard: has joined #ruby
[16:49:35] atmosx: Voyage: this must be done in the redmine directory
[16:49:48] atmosx: find / -name 'redmine'
[16:49:49] Voyage: where is the redmine directory?
[16:50:19] lyoshajapan: has joined #ruby
[16:50:28] dlitvak: has joined #ruby
[16:50:44] Voyage: atmosx, I have /etc/redmine empty dir
[16:51:02] atmosx: Voyage: no, that's not it.
[16:51:36] pawnbox_: has joined #ruby
[16:51:50] summonagus: has joined #ruby
[16:51:53] praveen__: has joined #ruby
[16:52:53] Voyage: atmosx, then?
[16:52:56] sonOfRa: has joined #ruby
[16:53:05] Voyage: /usr/share/redmine
[16:54:18] Voyage: atmosx, :/usr/share/redmine/config$ ls
[16:54:18] Voyage: additional_environment.rb.example boot.rb environment.rb initializers routes.rb
[16:54:19] Voyage: application.rb configuration.yml.example environments locales settings.yml
[16:54:45] newbie22: has joined #ruby
[16:54:46] william3: has joined #ruby
[16:55:27] atmosx: yes /usr/share/redmine
[16:55:36] mrsolow: has joined #ruby
[16:56:03] IrishGringo: has joined #ruby
[16:56:40] Voyage: it has no database.yml
[16:56:46] Voyage: I am going to create one
[16:56:57] nofxx: has joined #ruby
[16:59:26] Voyage: atmosx, do I need to restart anything because its giving same error again
[16:59:59] FelixFire619: has left #ruby: ("Leaving")
[17:00:18] ebit: what does chomp do in ruby
[17:00:38] eam: ebit: it removes a trailing newline
[17:00:48] despai: has joined #ruby
[17:00:50] LoneHermit: has joined #ruby
[17:01:01] User458764: has joined #ruby
[17:01:11] atmosx: Voyage: can't tell for sure, what's happening.
[17:01:38] User458764: has joined #ruby
[17:01:42] Voyage: same error again. looks like datagase.yml has no effect. I am rebooting
[17:02:19] User458764: Hello is there another way to do this https://github.com/jarmo/require_all?
[17:02:19] govg: has joined #ruby
[17:02:33] ebit: I made this script to add users in ruby but when ever I compile it it gives me a error http://chopapp.com/#nwf00ddf
[17:02:33] lucasb: what did you write in database.yml?
[17:02:34] User458764: I want to load an entire lib/ directory
[17:03:46] zacstewa_: has joined #ruby
[17:04:19] tuelz: has joined #ruby
[17:05:06] shevy: User458764 usual way is to have the .rb require the other .rb files
[17:05:17] shevy: you can also use e. g. Dir['*.rb']
[17:05:47] User458764: shevy I use 'require' inside Dir['*.rb']?
[17:06:05] shevy: no, the Dir[] example will give you the files that you can then batch-require
[17:06:13] shevy: I mean yeah
[17:06:26] shevy: Dir[proper_path_here'*.rb'].each {|file| require file }
[17:06:32] shevy: eww forgot a +
[17:06:41] ljames: has joined #ruby
[17:06:50] shevy: the example given for require_all is not necessary by the way
[17:06:52] shevy: require File.dirname(__FILE__)
[17:06:55] shevy: if you have it as a gem
[17:07:17] shevy: require 'name_of_gem_here/foo.rb' # would then work if foo.rb exists there
[17:07:19] codecop: has joined #ruby
[17:07:42] mjuszczak: has joined #ruby
[17:08:04] shevy: seems to be a popular gem: https://rubygems.org/gems/require_all
[17:09:04] shevy: their one example uses a very similar example to Dir[] -> Dir.glob("blah/**/*.rb")
[17:09:29] dlitvak_: has joined #ruby
[17:09:40] freerobby: has joined #ruby
[17:09:52] william3: has joined #ruby
[17:10:38] Voyage: can anyone help? http://pastie.org/10701958#12-13
[17:11:09] summonagus: has joined #ruby
[17:11:15] jbrhbr: has joined #ruby
[17:11:46] Azure: has joined #ruby
[17:14:04] kellenevan2: has joined #ruby
[17:14:05] moeabdol: has joined #ruby
[17:14:23] gbgdev: has joined #ruby
[17:14:26] Jackneill: has joined #ruby
[17:14:45] arquebus: has joined #ruby
[17:14:50] newbie22: yeah, can someone help me, I am curious, how you guys help ..
[17:14:57] newbie22: someone help him
[17:15:04] newbie22: help Voyage
[17:15:29] uris: has joined #ruby
[17:16:28] pwnd_nsfw: Voyage, it does mention you don't have the correct version of rails amirite
[17:16:53] jbrhbr1: has joined #ruby
[17:17:23] Voyage: pwnd_nsfw, it didnt said anyting about version but maybe. So how can i resolve?
[17:17:37] pwnd_nsfw: Could not find gem 'rails (~> 4.1.4)' in any of the gem sources listed in your
[17:17:37] pwnd_nsfw: Gemfile or available on this machine.
[17:17:54] darkf_: has joined #ruby
[17:17:58] Voyage: hm. how can I know which version of rails I have?
[17:18:49] pwnd_nsfw: in terminal/console
[17:19:33] Voyage: $ rails -v
[17:19:33] Voyage: Please configure your config/database.yml first
[17:19:33] Voyage: Rails 4.1.14.1
[17:20:45] mrsolow: has joined #ruby
[17:21:29] rodfersou: has joined #ruby
[17:21:34] Guest8935: has joined #ruby
[17:21:39] Voyage: pwnd_nsfw, how to install mysql2?
[17:21:40] Voyage: Could not find gem 'mysql2 (~> 0.3.11)' in any of the gem sources listed in your Gemfile or available on this machine.
[17:21:42] kellenevan3: has joined #ruby
[17:22:42] Voyage: command not found
[17:22:58] Voyage: iam new at ruby :)
[17:23:00] gruz0: has joined #ruby
[17:23:12] Voyage: I know nothing. Just installing redmine
[17:23:14] paolog: has joined #ruby
[17:23:17] Voyage: so how to instal lmysql2?
[17:23:36] tomchapin: has joined #ruby
[17:23:38] zacstewart: has joined #ruby
[17:23:56] pwnd_nsfw: learn how to use the gemfile
[17:24:32] pwnd_nsfw: bundle install
[17:24:40] Voyage: did that already
[17:25:39] pwnd_nsfw: ok, well, mysql2 isn't in the gemfile then
[17:26:05] kbni: when I use a super's method in a subclass, what is that called?
[17:26:12] Voyage: pwnd_nsfw, http://pastie.org/10702004#3,39,42
[17:26:29] jbrhbr: has joined #ruby
[17:26:37] kbni: for example: class Baby < People; some_method_from_people; end
[17:26:51] pwnd_nsfw: ok and Voyage ?
[17:27:05] Voyage: pwnd_nsfw, well, whats wrong
[17:27:16] pwnd_nsfw: I just told you.................
[17:27:34] Voyage: pwnd_nsfw, i did bundle install and its still saying about mysql2
[17:27:49] pwnd_nsfw: ok, well, mysql2 isn't in the gemfile then
[17:27:50] pwnd_nsfw: ok, well, mysql2 isn't in the gemfile then
[17:27:56] praveen: has joined #ruby
[17:28:21] pwnd_nsfw: you're then... going to have to configure database.yml
[17:28:28] Voyage: should I put it there?
[17:28:35] fl0b: has joined #ruby
[17:28:39] Voyage: do I need mysql2 or any other version?
[17:28:52] Voyage: if mysql2 needs to be in gemfile, how to put it there?
[17:31:40] Voyage: pwnd_nsfw, gem install mysql2?
[17:32:04] arup_r: has joined #ruby
[17:32:05] tape88: has joined #ruby
[17:32:21] pwnd_nsfw: open up gemfile
[17:32:22] blackmesa: has joined #ruby
[17:32:41] pwnd_nsfw: bundle install
[17:34:10] arup_r: has joined #ruby
[17:34:33] Voyage: pwnd_nsfw, http://pastebin.com/nuGnrwnd
[17:34:34] ruby[bot]: Voyage: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/05ad744c2cf3f690f4a2
[17:34:34] ruby[bot]: Voyage: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[17:34:38] ramfjord: has joined #ruby
[17:34:39] Voyage: pwnd_nsfw, ok, where is gemfile?
[17:35:12] chouhoulis: has joined #ruby
[17:35:26] elifoster: has joined #ruby
[17:35:55] newbie22: has joined #ruby
[17:36:17] pwnd_nsfw: in the root directory of the app....
[17:37:06] pwnd_nsfw: you'll have to install mysql first
[17:37:11] pwnd_nsfw: and I will not be holding hands anymore
[17:37:14] pwnd_nsfw: there's documentation for all of this
[17:37:33] FernandoBasso: has joined #ruby
[17:38:16] william3: has joined #ruby
[17:38:38] kbni: hey pwnd_nsfw - I don't suppose you could hold my hand just a little? I'm just trying to figure out what the correct term for a method used within a class definition is
[17:38:51] Voyage: pwnd_nsfw, I am going to type this one the first line of Gemfile gem "mysql2", " ~> 0.3.11"
[17:39:10] newbie22: *: does anyone know how to zip files from you PC directly to a thumb drive ?? in windows ??
[17:39:25] shevy: newbie22 this is #ruby
[17:39:44] pwnd_nsfw: kbni, the super's method in a subclass?
[17:39:48] newbie22: shevy: I know that,,
[17:39:52] kbni: pwnd_nsfw, yes
[17:40:00] pwnd_nsfw: and overloaded method, iirc
[17:40:15] kbni: It's only referenced during the creation of the class though
[17:40:17] pwnd_nsfw: or well, are you just using the method
[17:40:25] pwnd_nsfw: Do you have an example?
[17:41:10] kbni: Sure. https://github.com/scoop/autotask_api/blob/master/lib/autotask_api/service_call.rb
[17:41:27] kbni: the 'has_one :service_call_ticket' bit, that's a function defined in Entity
[17:41:56] pwnd_nsfw: oh, it's just an inherited method
[17:42:14] summonagus: has joined #ruby
[17:42:38] kbni: and I am assuming it's called every time ServiceCall is created?
[17:42:43] pwnd_nsfw: http://rubylearning.com/satishtalim/ruby_inheritance.html
[17:42:51] griffindy: has joined #ruby
[17:43:29] pwnd_nsfw: I don't really know what has_one is in this context. I'm not a ruby "pro" by any means
[17:43:41] pwnd_nsfw: I'm not sure if it's lazily called
[17:43:46] pwnd_nsfw: but I'm going to make the assumption that yes
[17:43:57] kbni: has_one is a method defined in Entity, it seems to pop when a new ServiceCall is created
[17:44:44] pwnd_nsfw: So, yeah, I'm going to further assume that my assumption of assuming is assumedly assumed correctly
[17:45:23] pwnd_nsfw: Voyage, you're going to have to install mysql .. like, the actual mysql first
[17:45:29] pwnd_nsfw: before you can install the gem for it
[17:45:34] pwnd_nsfw: because the gem relies on packages from mysql
[17:45:50] arlek_: has joined #ruby
[17:45:56] al2o3-cr: has joined #ruby
[17:48:44] zacstewart: has joined #ruby
[17:49:42] at46: has joined #ruby
[17:49:45] IrishGringo: has joined #ruby
[17:50:48] Mon_Ouie: kbni: No, the body of the class is only executed once, when you load your code
[17:50:56] mjuszczak: has joined #ruby
[17:51:09] Mon_Ouie: Usually these types of methods are used to generate other methods automatically
[17:51:55] s00pcan: has joined #ruby
[17:52:05] Mon_Ouie: A simple example is `attr_reader :foo' which effectively generates a method `def foo; @foo; end'
[17:52:22] nofxx: has joined #ruby
[17:52:26] kbni: Mon_Ouie, that seems to be what it's being used for
[17:57:18] krobzaur: has joined #ruby
[17:57:32] uris: has joined #ruby
[17:58:07] paolog: has joined #ruby
[17:58:27] lyoshajapan: has joined #ruby
[17:58:32] dmr8: has joined #ruby
[18:03:43] paolog: has joined #ruby
[18:04:17] idefine: has joined #ruby
[18:04:20] piotrj: has joined #ruby
[18:04:33] william3: has joined #ruby
[18:04:52] treaki: has joined #ruby
[18:05:16] Voyage: pwnd_nsfw, seems working. thanks
[18:05:46] jery: has joined #ruby
[18:05:59] pilne: has joined #ruby
[18:06:29] Biopandemic: has joined #ruby
[18:06:40] bkxd: has joined #ruby
[18:09:28] chussenot: has joined #ruby
[18:10:36] AustinMatherne: has joined #ruby
[18:10:38] Xeago: has joined #ruby
[18:10:40] lele: has joined #ruby
[18:12:19] PedramT: has joined #ruby
[18:16:19] camillo: has joined #ruby
[18:16:27] diegoviola: has joined #ruby
[18:17:23] swein: has joined #ruby
[18:17:29] swein: howdy everyone
[18:18:25] uris: has joined #ruby
[18:18:39] zacstewart: has joined #ruby
[18:20:55] aclearman037: has joined #ruby
[18:21:04] Spami: has joined #ruby
[18:22:35] i: has joined #ruby
[18:22:36] Coldblackice: has joined #ruby
[18:22:45] last_staff: has joined #ruby
[18:22:55] namxam: has joined #ruby
[18:23:13] william3: has joined #ruby
[18:24:40] futilegames: has joined #ruby
[18:25:03] houhoulis: has joined #ruby
[18:25:12] last_staff1: has joined #ruby
[18:25:39] dtordable: has joined #ruby
[18:26:20] idefine: has joined #ruby
[18:26:22] visudo: has joined #ruby
[18:27:21] lucasb: ruby doesn't know how to read named pipes given on the command line with the bash <(...) syntax
[18:27:38] lucasb: both perl and python can handle those
[18:28:09] lucasb: ruby <(echo 'p 42') # error
[18:28:29] lucasb: ruby -e 'eval File.read(ARGV.shift)' <(echo 'p 42') # but this works
[18:28:41] havenwood: lucasb: ruby <(echo 'p 42') #>> 42
[18:29:09] lucasb: havenwood: strange... O.o
[18:29:33] lucasb: maybe something on my environment? my ruby here is 2.3
[18:29:42] blackmesa: has joined #ruby
[18:29:49] havenwood: Tried 2.3 on bash and zsh.
[18:30:30] shevy: your system is screwed up lucasb!!!
[18:30:33] lucasb: full error for me:
[18:30:35] lucasb: /dev/fd/63: No such file or directory @ realpath_rec - /proc/5379/fd/pipe:[140678] (Errno::ENOENT)
[18:30:48] lucasb: yeah, maybe I have some outdated library or something :(
[18:30:53] shevy: I have the same error
[18:31:05] havenwood: Works on my machine... suckers!
[18:31:05] lucasb: shevy: your system is screwed! :D
[18:31:11] shevy: lucasb hahaha yeah
[18:31:44] shevy: I have an old kernel though
[18:32:06] chris2: %??readlink <(echo 'p 42')
[18:32:09] chris2: pipe:[4099023]
[18:32:17] chris2: then it tries to open that magic file name
[18:32:48] swein: after I finish codeacademy and the hard way, any other good advice for practicing and learning?
[18:33:15] Ox0dea: havenwood: Do you get something different from `readlink`, then?
[18:33:18] mdw: has joined #ruby
[18:33:43] havenwood: Ox0dea: no return
[18:34:05] chris2: you have different OS i guess...
[18:34:58] havenwood: Just tried it on FreeBSD and OS X. What heathen OSes are you all running?!
[18:35:28] Ox0dea: Hazard a guess. :P
[18:35:44] symm-_: has joined #ruby
[18:35:50] lucasb: Linux kernel 3.18 here. I should update my distro :)
[18:35:54] chouhoulis: has joined #ruby
[18:36:27] Ox0dea: Some code that I assume fixes readlink on Windows has just gone in.
[18:36:33] shevy: lucasb yeah I got an old one too 3.2.29
[18:37:01] Ox0dea: I'm on 4.4...
[18:37:08] Ox0dea: You people frighten me.
[18:37:08] shevy: you are a true geek
[18:37:28] yxhuvud: what distro have 4.4?
[18:38:11] yxhuvud: arch or some other hipster distro. definitely not ubuntu
[18:38:19] chris2: even debian has 4.4 packages
[18:38:22] idefine: has joined #ruby
[18:38:44] Ox0dea: Oh, a troll. I thought we were going to have an interesting discussion.
[18:38:52] yxhuvud: chris2: ah, right. but it is certainly not the default
[18:39:02] LoneHermit: has joined #ruby
[18:39:15] chris2: if you run experimental, perhaps it is :P
[18:39:31] swein: weird, rvm works normally but when I sudo rvm it doens't even recognize it as a bin
[18:39:34] chris2: ACTION prefers to wait for the first -stable release
[18:40:27] kirun: has joined #ruby
[18:40:56] Voyage: Am I missing something? http://pastie.org/10702090#1,4,19
[18:42:18] amclain: has joined #ruby
[18:42:27] last_staff1: has joined #ruby
[18:42:50] lxsameer: has joined #ruby
[18:43:28] zacstewart: has joined #ruby
[18:43:29] tomchapin: has joined #ruby
[18:44:12] apeiros: Voyage: that's not a ruby issue?
[18:44:30] apeiros: ah, RailsBaseURI - missed it before
[18:45:31] apeiros: but in that case:
[18:45:34] apeiros: ?rails Voyage ;-)
[18:45:34] ruby[bot]: Voyage: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[18:46:30] barhum2013: has joined #ruby
[18:47:26] zeroDivisible: has joined #ruby
[18:49:13] Ox0dea: https://glot.io/snippets/ebgoyb49kx
[18:49:17] Ox0dea: Thoughts on what's going on here?
[18:49:30] Ox0dea: Why's it able to grab the first value but not the second?
[18:49:30] grill: has joined #ruby
[18:49:31] tomchapin: has joined #ruby
[18:50:20] Pumukel: has joined #ruby
[18:50:29] apeiros: Ox0dea: Thread.abort_on_exception = true
[18:50:33] at46: has joined #ruby
[18:50:49] Ox0dea: apeiros: Same result?
[18:50:56] apeiros: not for me
[18:51:00] apeiros: FiberError: fiber called across threads
[18:51:15] Ox0dea: Er, yeah... that's what's happening in the snippet I posted as well.
[18:51:25] tomchapin: has joined #ruby
[18:51:38] lyoshajapan: has joined #ruby
[18:51:40] jery: has left #ruby: ()
[18:52:28] idefine: has joined #ruby
[18:52:50] Senecea: has joined #ruby
[18:53:14] idefine_: has joined #ruby
[18:53:43] Senecea: has joined #ruby
[18:54:47] IrishGringo: has joined #ruby
[18:55:44] loechel: has joined #ruby
[18:55:47] tomchapin: has joined #ruby
[18:56:10] piotrj: has joined #ruby
[18:58:06] blackmesa: has joined #ruby
[18:58:18] tomchapin: has joined #ruby
[18:58:46] Ox0dea: I feel like, given `Enumerator.new { |y| y << 1 << 2 << fail << 3 }`, there must be some way to get `[1, 2, <something, ideally nothing>, 3]` out of it, but I just can't get there. :<
[18:58:58] wheresmyjetpack: has joined #ruby
[19:00:09] Ox0dea: I thought doing the enumeration in a "sandbox" Thread and sending it back as appropriate might do, but that's plainly not gonna fly.
[19:00:16] Ox0dea: Still weird that the enumeration works the first time, though.
[19:00:24] atmosx: has joined #ruby
[19:00:28] karapetyan: has joined #ruby
[19:03:51] lucasb: if you just yield once, and call #next once, it doesn't even raise that 'fiber called across threads'; so I guess the Enumerator maybe caches the first value somehow.
[19:04:47] moss: has joined #ruby
[19:05:02] tuelz1: has joined #ruby
[19:06:55] uris: has joined #ruby
[19:08:23] Ox0dea: >> fc = -> { ObjectSpace.each_object(Fiber).count }; e = Enumerator.new { |y| y << 42 }; [fc[], e.next, fc[]]
[19:08:25] ruby[bot]: Ox0dea: # => [0, 42, 2] (https://eval.in/510280)
[19:08:34] Ox0dea: Enumerators don't have an underlying Fiber until you begin the enumeration.
[19:08:37] codecop: has joined #ruby
[19:08:51] Ox0dea: That's got something to do with it, to be sure, but it still feels like something's wrong here.
[19:09:11] Rodya_: has joined #ruby
[19:09:55] tuelz1: has joined #ruby
[19:11:08] ConsciousGamer: has joined #ruby
[19:11:23] solars: has joined #ruby
[19:11:30] m1dnight_: has joined #ruby
[19:12:05] IrishGringo: has joined #ruby
[19:14:18] mfb2: has joined #ruby
[19:14:35] symm-: has joined #ruby
[19:16:00] shevy: something is wrong here!
[19:17:04] sandstrom: has joined #ruby
[19:18:13] dlitvak: has joined #ruby
[19:18:56] Puffball: has joined #ruby
[19:20:13] govg: has joined #ruby
[19:22:29] User458764: Hello, I want to store configuration values how do I do? Do I create a class with Singleton module?
[19:22:53] mdw: has joined #ruby
[19:22:54] yoongkang: has joined #ruby
[19:23:11] earfin: has joined #ruby
[19:24:45] william3: has joined #ruby
[19:24:53] stannard: has joined #ruby
[19:25:19] Puffball: has joined #ruby
[19:26:17] Ox0dea: User458764: What's being configured?
[19:26:27] youch: has joined #ruby
[19:27:13] tdsmith: has joined #ruby
[19:27:29] barhum2013: has joined #ruby
[19:27:35] User458764: Ox0dea It's only keys and values like PWD=/home
[19:27:49] Ox0dea: User458764: So it's a one-time thing?
[19:28:13] User458764: Ox0dea it is not store in a database if it is what you mean
[19:28:38] Ox0dea: User458764: No, I mean, are there multiple instances of YourThing that might need to be configured?
[19:29:04] User458764: Ox0dea no multiple instances that I why I speak about Singleton
[19:29:10] at46_: has joined #ruby
[19:29:36] Ox0dea: > multiple
[19:29:37] Ox0dea: > Singleton
[19:30:17] dlitvak: has joined #ruby
[19:30:38] tdsmith: I'm running into a problem using bundler; I have gem 'docile' in my Gemfile, bundle check says it's installed, but require 'docile' is failing in my script when I run it with `bundle exec ruby sketch.rb` -- https://gist.github.com/tdsmith/1e359036944c2546e9e9
[19:30:42] tdsmith: What should I check next/
[19:31:10] Ox0dea: User458764: Is this kinda what you're going for? https://eval.in/510301
[19:32:03] User458764: Ox0dea is it a Singleton?
[19:32:48] Ox0dea: It's a Tripleton.
[19:33:42] Ox0dea: tdsmith: Looks like it could be a version mismatch.
[19:33:59] sandstrom: has joined #ruby
[19:34:04] User458764: Ox0dea ok :) thanks for the snippet it seems to be what I am looking for
[19:34:14] yqt: has joined #ruby
[19:36:00] juddey: has joined #ruby
[19:36:18] tdsmith: Ox0dea: I think it shouldn't be; Gemfile.lock mentions docile 1.1.5 and bundle list shows 1.1.5; docile doesn't show up in `gem list` since I passed `--path .bundle` to bundle install
[19:36:35] tdsmith: heh; `bundle exec gem list` fails the same way ("could not find docile-1.1.5")
[19:36:44] chouhoulis: has joined #ruby
[19:36:55] Ox0dea: ??\_(???)_/??
[19:37:21] tdsmith: yeah, same
[19:37:25] tdsmith: thanks for looking
[19:38:47] DoubleMalt: has joined #ruby
[19:39:56] pawnbox: has joined #ruby
[19:40:11] mrsolow: has joined #ruby
[19:42:19] dain: has joined #ruby
[19:43:00] newbie22: has joined #ruby
[19:43:32] burgestrand: has joined #ruby
[19:44:13] Biopandemic: has joined #ruby
[19:45:05] tdsmith: oh, got it, my bundle was from the wrong ruby
[19:46:15] djbkd: has joined #ruby
[19:46:26] dlitvak: has joined #ruby
[19:46:30] karapetyan: has joined #ruby
[19:47:00] Ox0dea: A version mismatch of the highest order. :P
[19:49:56] Biopandemic: has joined #ruby
[19:51:00] sandstrom: has joined #ruby
[19:51:12] visudo: has joined #ruby
[19:52:55] ramfjord: has joined #ruby
[19:53:24] noodle: has joined #ruby
[19:53:45] symm-: has joined #ruby
[19:54:36] barhum2013: has joined #ruby
[19:55:30] fedexo: has joined #ruby
[19:57:03] ddv: has joined #ruby
[19:58:43] bluOxigen: has joined #ruby
[19:59:52] idefine: has joined #ruby
[20:00:38] centrx: has joined #ruby
[20:01:13] sivam: has joined #ruby
[20:01:15] mrsolow: has joined #ruby
[20:01:54] zast: has joined #ruby
[20:02:39] tomphp: has joined #ruby
[20:03:15] barhum2013: has joined #ruby
[20:07:23] bkxd: has joined #ruby
[20:08:13] sandstrom: has joined #ruby
[20:10:06] doublemalt_: has joined #ruby
[20:10:33] idefine: has joined #ruby
[20:11:32] cats: has joined #ruby
[20:12:09] radgeRayden: has joined #ruby
[20:13:24] tuelz1: has joined #ruby
[20:14:14] at46_: has joined #ruby
[20:15:55] suckdick: has joined #ruby
[20:15:57] IrishGringo: has joined #ruby
[20:16:16] domgetter: has joined #ruby
[20:16:37] cats: has joined #ruby
[20:19:41] pawnbox: has joined #ruby
[20:20:43] Ebok: has joined #ruby
[20:21:23] Senecea: has joined #ruby
[20:21:25] Rodya_: has joined #ruby
[20:21:47] weemsledeux: has joined #ruby
[20:24:01] yoongkang: has joined #ruby
[20:24:28] kirun_: has joined #ruby
[20:25:26] sandstrom: has joined #ruby
[20:26:15] tape88: has joined #ruby
[20:26:37] william3: has joined #ruby
[20:32:56] Guest70518: has left #ruby: ("Leaving")
[20:33:08] despai: has joined #ruby
[20:35:52] Xiti: has joined #ruby
[20:37:28] chouhoulis: has joined #ruby
[20:39:43] rickmasta: has joined #ruby
[20:40:51] Darmani: has joined #ruby
[20:40:54] baweaver: has joined #ruby
[20:40:58] cats: has joined #ruby
[20:40:59] Darmani: Hey kids<3
[20:42:39] sandstrom: has joined #ruby
[20:42:55] symm-: has joined #ruby
[20:43:00] Guest35: has joined #ruby
[20:43:16] karapetyan: has joined #ruby
[20:44:15] phantummm: has joined #ruby
[20:46:19] IrishGringo_: has joined #ruby
[20:47:06] dlitvak: has joined #ruby
[20:47:22] despai: has joined #ruby
[20:47:48] moeabdol: has joined #ruby
[20:49:10] syk: has joined #ruby
[20:50:05] pawnbox: has joined #ruby
[20:51:25] shevy: Darmani have you written more ruby code
[20:51:50] karapetyan: has joined #ruby
[20:52:45] Darmani: I've been busy these last two days. Running around and such.
[20:52:55] Darmani: I do need to write more code though Q.Q
[20:54:10] ta: has joined #ruby
[20:55:15] moeabdol: has joined #ruby
[20:55:22] dcunit3d: has joined #ruby
[20:56:22] Cohedrin: has joined #ruby
[20:56:34] Darmani: shevy - That's nice of you to check on me though ^.^
[20:57:33] shevy: else you get complacent and lazy
[20:57:38] shevy: and end up like everyone else here
[20:57:41] shevy: idling to no good
[20:58:07] aclearman037: has joined #ruby
[20:58:26] ddv: getting drunk af
[20:58:32] ohaibbq: has joined #ruby
[20:58:48] ddv: how fun is this channel on a saturday night?
[21:00:00] sandstrom: has joined #ruby
[21:00:35] phantummm: has joined #ruby
[21:01:37] LoneHerm_: has joined #ruby
[21:02:12] dlitvak: has joined #ruby
[21:02:25] LoneHerm_: has joined #ruby
[21:03:39] baweaver: ACTION stirs from idle
[21:04:49] piotrj: has joined #ruby
[21:06:04] Darmani: shevy - idling to no good lol
[21:07:18] s00pcan: has joined #ruby
[21:07:41] orca_: has joined #ruby
[21:08:13] bkxd: has joined #ruby
[21:09:06] glcx: has joined #ruby
[21:09:42] pdoherty: has joined #ruby
[21:11:01] ferr: has joined #ruby
[21:12:35] Xeago: has joined #ruby
[21:13:01] despai: has joined #ruby
[21:13:36] s00pcan: has joined #ruby
[21:15:30] s00pcan: has joined #ruby
[21:17:11] sandstrom: has joined #ruby
[21:17:18] sivam: has joined #ruby
[21:18:04] paolog: has joined #ruby
[21:18:18] mjuszczak: has joined #ruby
[21:18:24] s00pcan: has joined #ruby
[21:19:09] mjuszczak: has joined #ruby
[21:21:39] s00pcan: has joined #ruby
[21:22:03] arooni-mobile: has joined #ruby
[21:22:51] dlitvak: has joined #ruby
[21:22:53] arooni-mobile: has left #ruby: ()
[21:23:52] s00pcan: has joined #ruby
[21:24:45] yoongkang: has joined #ruby
[21:25:51] ledestin: has joined #ruby
[21:27:12] william3: has joined #ruby
[21:27:25] pilne: has joined #ruby
[21:27:41] sgambino: has joined #ruby
[21:32:41] orca_: has left #ruby: ("Leaving")
[21:34:26] sandstrom: has joined #ruby
[21:35:07] ebbflowgo: has joined #ruby
[21:35:36] _Aviio: has joined #ruby
[21:38:12] chouhoulis: has joined #ruby
[21:38:47] mdw: has joined #ruby
[21:38:57] llua: has left #ruby: ()
[21:39:48] shevy: yo Aviio with an underscore
[21:39:57] _Aviio: Im edgy you see
[21:40:24] shevy: not if Darmani appends a _ to his nick!
[21:40:27] shevy: then you two could join nicks
[21:40:47] Darmani: shevy - war
[21:40:57] _Aviio: im... lost
[21:41:09] despai: has joined #ruby
[21:41:13] shevy: Darmani yeah you always wanna go to war
[21:41:19] shevy: you did the same some time ago
[21:41:21] shevy: war war warrrr
[21:41:32] Darmani: shevy - lmao it's the fucking keyboard xD
[21:41:39] shevy: _Aviio well! Darmani_ + _Aviio is Darmani__Aviio
[21:41:40] Canar: war. war never changes
[21:41:48] shevy: sounds italian
[21:41:52] Darmani: Canar - You play fallout
[21:41:54] _Aviio: Quick question - I just learned about hashes in ruby, is it acceptable to pass a hash into a function?
[21:41:58] djbkd: has joined #ruby
[21:42:01] shevy: <ddv> how fun is this channel on a saturday night?
[21:42:07] shevy: see ddv - the channel is a lot of fun on caturday
[21:42:11] dlitvak_: has joined #ruby
[21:42:12] _Aviio: Darmani: Who DOESNT play fallout?
[21:42:21] shevy: _Aviio yeah, it is used a lot
[21:42:23] shevy: typically like:
[21:42:29] shevy: def method(options)
[21:42:31] shevy: where options is a hash
[21:42:32] ledestin: has joined #ruby
[21:42:40] Canar: i play fallout, i don't play skyrim 2112
[21:42:42] shevy: and then inside the method, people can check for what instructions were give
[21:42:48] william3: has joined #ruby
[21:42:51] shevy: method(use_colours: true)
[21:43:29] _Aviio: shevy: cool, ive done it a little bit differently though, ive basically done XML > hash and im passing that hash into a method so I dont have to keep using xpath
[21:43:48] shevy: as long as you have a hash it'll be fine
[21:43:49] kaleido: xml is the devil :(
[21:43:53] shevy: XML scares me
[21:44:14] _Aviio: kaleido: you want to see the devil? look up JXML
[21:45:15] Darmani: the devil lmao
[21:46:11] _Aviio: coming from a .net background, everyone loves themselves a bit of XML
[21:46:55] Senecea: has joined #ruby
[21:47:04] Rodya_: has joined #ruby
[21:49:35] pawnbox: has joined #ruby
[21:49:50] william3: What's .net like to use?
[21:50:11] duncannz: has joined #ruby
[21:50:16] william3: I've heard stories of 'avoid it like the plague' but I try to keep objective
[21:51:14] j4cknewt: has joined #ruby
[21:51:57] _Aviio: It was the first language I developed in professionally, so im quite biased, but I do quite enjoy it
[21:52:03] sandstrom: has joined #ruby
[21:52:47] Ox0dea: What's great about it?
[21:53:16] Ox0dea: Darumaka-san!
[21:53:35] Darmani: not kun? T_T
[21:54:37] _Aviio: Ox0dea: I ask myself this on a daily basis, theres probably not one reason that I think its good, its just the ecosystem that I have the most experience in
[21:55:08] j4cknewt: has joined #ruby
[21:55:38] despai: has joined #ruby
[21:56:05] djbkd: has joined #ruby
[21:56:35] newbie22: has joined #ruby
[21:56:42] at46_: has joined #ruby
[21:58:02] nfk: has joined #ruby
[21:58:19] framling: has joined #ruby
[21:58:37] baweaver: .NET isn't bad
[21:58:43] baweaver: C# is a well designed language
[21:59:04] baweaver: Java is the horrid one.
[22:00:00] Ox0dea: baweaver: Explain: http://i.imgur.com/44XFQds.png
[22:00:14] The_Phoenix: has joined #ruby
[22:00:45] baweaver: C# evolved, Java trailed
[22:00:46] wilbert: has joined #ruby
[22:01:12] baweaver: LINQ, functional aspects, inference, polyglot support with F#, library documentation standards, etc.
[22:01:17] dcunit3d: has joined #ruby
[22:01:44] _Aviio: EF is pretty nice too
[22:01:55] _Aviio: Will be interesting to see where .net core ends up
[22:02:03] segy: has joined #ruby
[22:02:25] baweaver: short version: AbstractSingletonProxyFactoryBean
[22:02:41] baweaver: http://docs.spring.io/spring-framework/docs/2.5.x/api/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.html
[22:02:54] Ox0dea: baweaver: Color me convinced. I'll have to get some WINE.
[22:03:06] baweaver: careful not to get MONO
[22:03:22] Ox0dea: Dammit! Stealin' the puns right outta my stream of consciousness.
[22:03:41] Ox0dea: I was gonna use "contract", for the record.
[22:03:43] _Aviio: https://code.visualstudio.com/
[22:04:09] baweaver: note: I only know a handful of C# from College
[22:04:14] sp4rrow: has joined #ruby
[22:04:32] baweaver: and had to work in Java professionally for about half a year before I quit and ran
[22:04:49] Ox0dea: Good news, everyone: a monadic transformer is the same everywhere.
[22:04:49] baweaver: C# never inspired that level of pure disgust in me
[22:04:53] Edulix: has joined #ruby
[22:05:08] _Aviio: C# will never hurt you like java does <3
[22:05:26] baweaver: Scala, on the other hand, is everything Java should have been.
[22:05:36] baweaver: a tinge overkill in places though.
[22:06:42] uris: has joined #ruby
[22:07:33] _Aviio: Hmm.. time to research testing in Ruby
[22:08:05] _Aviio: Really wish i had started this application with TDD in mind
[22:08:43] _Aviio: Test::Unit still the preferred unit testing framework?
[22:08:47] at46_: has joined #ruby
[22:08:50] _Aviio: or are there others I should look into?
[22:09:13] sandstrom: has joined #ruby
[22:09:13] shevy: baweaver mono is bad? I have no idea, never really used it or C# but I was wondering if one could write things on linux, to also work on windows... and not have to use java haha
[22:09:24] baweaver: It was a pun
[22:09:27] shevy: (I did C# hello world example though if that counts)
[22:09:55] baweaver: _Aviio: Minitest and RSpec are fairly popular on the DSL type side
[22:10:35] _Aviio: baweaver: Thanks, ive heard those ones being thrown around on the ruby rogues podcast I think
[22:10:37] tuelz1: has joined #ruby
[22:10:46] baweaver: just remember that pure TDD isn't used exclusively
[22:10:53] baweaver: what I tend to do myself:
[22:11:04] baweaver: If I know what I'm writing and how it should work, I TDD
[22:11:09] n_blownapart: has joined #ruby
[22:11:31] baweaver: If I have no clue how it would work, I tend to develop in the REPL first and write tests after I get a good idea of the interface
[22:11:32] solars: has joined #ruby
[22:11:48] baweaver: A few of the RRs are on here from time to time.
[22:12:27] _Aviio: baweaver: kind of the same thought process here, although im learning ruby as I develop and trying to apply C# principles to my development.. its working so far
[22:12:46] baweaver: Eloquent Ruby will help to get an idea of how Ruby people write Ruby
[22:13:01] Darmani: Can someone please explain to me the difference between a web server & a web client?
[22:13:20] baweaver: what is a Server
[22:13:25] baweaver: at a restaraunt?
[22:13:38] baweaver: restaurant*
[22:13:56] Darmani: At a restaurant?
[22:13:56] baweaver: Someone who serves you food after you, the Client, requests it
[22:14:14] baweaver: replace food with data / images / etc and there you go
[22:14:20] marr: has joined #ruby
[22:14:26] Darmani: I have to think about that.
[22:14:42] william3: https://en.wikipedia.org/wiki/Client%E2%80%93server_model
[22:14:47] _Aviio: baweaver: thanks for that, ill have a look at it, have you read Practical Object-Oriented Design In Ruby by Sandi Metz? been looking at getting that out
[22:14:49] shadowfirebird: has joined #ruby
[22:15:00] baweaver: I have it sitting on my shelf
[22:15:02] william3: That's a wicked book _Aviio
[22:15:19] baweaver: https://twitter.com/keystonelemur/status/693313135168520193
[22:15:33] baweaver: Most of my Ruby / Scala / JS books are at $WORK though
[22:15:43] baweaver: second row starts Ruby
[22:16:11] Darmani: Is that you???
[22:16:16] dlitvak: has joined #ruby
[22:16:22] baweaver: The pic? Yeah
[22:16:22] william3: Am reading Design Patterns In Ruby atm
[22:16:26] baweaver: I shave on occasion
[22:16:29] Darmani: You are a handsome motherfucker dude.
[22:16:41] baweaver: just remember not to treat design patterns as religious law, bad things happen
[22:16:47] _Aviio: Sick library!
[22:16:52] baweaver: like AbstractSingletonProxyFactoryMapperBeans
[22:16:53] william3: Look like doctor who
[22:16:58] baweaver: Darmani: danke
[22:17:05] Darmani: william3 lmaooo that's exactly what I was thinking
[22:17:07] baweaver: Indeed, I cosplay the 10th doctor a lot
[22:17:08] _Aviio: baweaver: well thats the point, they're patterns!
[22:17:20] _Aviio: baweaver: not religious law
[22:17:26] baweaver: _Aviio: some people sure think so
[22:17:29] Papierkorb: That avatar really looks like a dr who cosplay
[22:17:36] baweaver: I've seen them, and subsequently run
[22:18:13] Darmani: baweaver - send me your books breh. I need them more than you xP
[22:19:06] aclearman037: has joined #ruby
[22:19:19] baweaver: of course now I have an official trenchcoat so it looks better.
[22:19:34] _Aviio: baweaver: what defines an 'official' trenchcoat?
[22:19:35] baweaver: If anyone's in LA, I'll be at Wondercon dressed the same.
[22:19:48] baweaver: Darker color, more like the official one.
[22:20:01] william3: Trench coats are awesome
[22:20:29] Darmani: I live like right outside LA. Although I've never heard of Wondercon o.o
[22:20:39] _Aviio: Ahh LA, that's the dream!
[22:20:52] william3: London for me.
[22:20:53] baweaver: I'm in SF myself.
[22:20:53] Darmani: _Aviio - It's not.
[22:21:05] _Aviio: SF > LA hah
[22:21:10] Darmani: baweaver - The bayyy<33
[22:21:13] _Aviio: To be fair, Anywhere is better than the UK
[22:21:16] Darmani: I wanna move up there so bad.
[22:21:33] Darmani: _Aviio - Really?
[22:21:36] Darmani: Why do you say that
[22:21:54] baweaver: Wondercon was normally in Anaheim
[22:22:08] Papierkorb: London is pretty hot job-wise isn't it?
[22:22:21] _Aviio: Weather is awful 24/7, More tech jobs in US
[22:22:35] _Aviio: Eeh - its pretty good, but im a northerner, I don't function in London
[22:23:14] Darmani: baweaver - Ah Anaheim. Also known as Anacrime. Lol
[22:23:25] Xeago: has joined #ruby
[22:24:21] Darmani: Brethren, let me ask you all a question.
[22:24:35] Darmani: If I was to create a web server what kind of functionality should it have?
[22:24:38] Darmani: ON A BASIC LEVEL
[22:24:41] Darmani: Nothing complicated.
[22:24:59] william3: How comes you want to create one?
[22:25:04] william3: For funsies?
[22:25:04] tomphp: has joined #ruby
[22:25:10] Voyage: Am I missing something? http://pastie.org/10702090#1,4,19
[22:25:12] _Aviio: What type of web server?
[22:25:15] Darmani: william3 - kinda yeah.
[22:25:19] Darmani: Just a basic one.
[22:25:23] _Aviio: So, HTML/CSS?
[22:25:26] yoongkang: has joined #ruby
[22:25:39] Papierkorb: Darmani: HTTP/1.0 GET requests
[22:25:44] _Aviio: What platform? Linux?
[22:25:57] Darmani: _Aviio - The great and powerful WINDOWS lol
[22:26:08] Darmani: Papierkorb - Get requests... o.o
[22:26:19] Papierkorb: Darmani: That almost implements itself, the most complex part is having a nice API/Architecture and security like directory traversal detection etc.
[22:26:22] sandstrom: has joined #ruby
[22:26:44] william3: http://ruby-doc.org/stdlib-2.0.0/libdoc/webrick/rdoc/WEBrick.html
[22:26:46] dlitvak: has joined #ruby
[22:27:10] Darmani: Papierkorb - I want to work my way up to that. But I need to start with the basic's.
[22:27:24] radgeRayden_: has joined #ruby
[22:27:31] _Aviio: Darmani: Ok, so start with security
[22:27:48] passcod: start with GET requests
[22:27:57] Papierkorb: Darmani: HTTP/1.0 GET *is* basic. Sure, HTTP in its entirety *is* complex, but you barely need to support anything to get a meaningful output in your webbrowser
[22:28:16] _Aviio: Darmani: Only requests on port 80 and 443 should be allowed
[22:28:25] Voyage: nevermind
[22:28:30] baweaver: Voyage: I'm crap for Apache help, but you'll probably have better luck on an apache channel
[22:28:30] phantummm: has joined #ruby
[22:28:31] Papierkorb: Darmani: HTTP/1.1 is already much more complex (MUSTs, SHOULDs, quirks and more quirks)
[22:29:01] Voyage: baweaver, working. just need the default password of redmine
[22:29:03] Darmani: Papierkorb - You've written many of these haven't you?
[22:29:31] Papierkorb: Darmani: Yeah, wrote a HTTP/1.1 server in C++/Qt, with WebSockets support and stuff.
[22:29:40] Papierkorb: I never ever want to write that again
[22:29:44] baweaver: I don't envy you
[22:30:03] pawnbox: has joined #ruby
[22:30:21] baweaver: anyways, need to get some other stuff done this weekend, I'll be back about later today.
[22:30:22] Voyage: baweaver, well, nevermind that either
[22:30:44] Darmani: ACTION waves to baweaver
[22:31:09] Papierkorb: baweaver: I think of it as a valuable lesson in writing and especially architecturing server software.
[22:31:31] baweaver: valuable things have great cost I find
[22:32:30] Darmani: baweaver - Isn't that the truth.
[22:33:59] nettoweb: has joined #ruby
[22:35:12] dlitvak: has joined #ruby
[22:36:29] nettoweb: has joined #ruby
[22:38:51] sakix: has joined #ruby
[22:39:00] chouhoulis: has joined #ruby
[22:39:31] dlitvak: has joined #ruby
[22:40:45] gnudon: has joined #ruby
[22:42:14] sgambino: has joined #ruby
[22:43:37] sandstrom: has joined #ruby
[22:44:11] atomical: has joined #ruby
[22:45:37] devbug: has joined #ruby
[22:45:39] jottr: has joined #ruby
[22:45:43] mondok: has joined #ruby
[22:46:52] Spami: has joined #ruby
[22:46:57] Spami: has joined #ruby
[22:48:13] dlitvak: has joined #ruby
[22:48:47] zenlot1: has joined #ruby
[22:50:16] ur5us: has joined #ruby
[22:51:04] despai: has joined #ruby
[22:52:08] rkazak: has joined #ruby
[22:52:28] shadowfirebird: has joined #ruby
[22:52:47] Xeago: has joined #ruby
[22:53:04] Abrin: has joined #ruby
[22:53:07] lyoshajapan: has joined #ruby
[22:55:07] zzz: has joined #ruby
[22:57:28] nettoweb: has joined #ruby
[22:58:02] symm-: has joined #ruby
[23:00:32] paolog: has joined #ruby
[23:00:47] pawnbox: has joined #ruby
[23:01:01] sandstrom: has joined #ruby
[23:01:45] weemsledeux: has joined #ruby
[23:02:40] k13nox: has joined #ruby
[23:02:51] elifoster: has joined #ruby
[23:03:57] Abrin2: has joined #ruby
[23:04:33] k13nox_: has joined #ruby
[23:05:13] ohaibbq_: has joined #ruby
[23:05:20] jabreity_: has joined #ruby
[23:05:39] tAn: has joined #ruby
[23:06:16] fexilal: has joined #ruby
[23:06:17] benoror_: has joined #ruby
[23:07:53] neanderslob_: has joined #ruby
[23:07:58] Antiarc1: has joined #ruby
[23:08:12] juddey_: has joined #ruby
[23:08:14] mikolalysenko_: has joined #ruby
[23:08:29] ramblinpeck_: has joined #ruby
[23:08:38] juddey_: has joined #ruby
[23:08:59] bkxd: has joined #ruby
[23:09:04] lipoqil_: has joined #ruby
[23:09:11] arooni-mobile: has joined #ruby
[23:09:11] frode15243_: has joined #ruby
[23:09:47] derailed_: has joined #ruby
[23:10:04] int: has joined #ruby
[23:10:11] _djbkd: has joined #ruby
[23:10:17] rfv_: has joined #ruby
[23:10:22] dexter_e: has joined #ruby
[23:10:24] ekaleido: has joined #ruby
[23:10:38] ekaleido: has joined #ruby
[23:10:46] droptone: has joined #ruby
[23:10:53] wilbert: has joined #ruby
[23:11:51] gambl0re: has joined #ruby
[23:11:52] gambl0re: has joined #ruby
[23:12:03] Dimik: has joined #ruby
[23:12:06] enkristoffer: has joined #ruby
[23:12:22] headius: has joined #ruby
[23:12:40] ramfjord_: has joined #ruby
[23:12:43] zeroDivisible: has joined #ruby
[23:12:56] despai: has joined #ruby
[23:14:10] oetjenj: has joined #ruby
[23:14:24] freerobby: has joined #ruby
[23:14:47] yoongkang: has joined #ruby
[23:15:48] droptone: has joined #ruby
[23:16:09] zast: has joined #ruby
[23:17:46] spastorino: has joined #ruby
[23:18:10] sandstrom: has joined #ruby
[23:18:45] S01780__: has joined #ruby
[23:19:12] sgambino: has joined #ruby
[23:19:21] arthropododo: has joined #ruby
[23:19:28] sdothum: has joined #ruby
[23:20:29] dlitvak: has joined #ruby
[23:20:51] IrishGringo: has joined #ruby
[23:22:27] Xeago: has joined #ruby
[23:23:50] _seanc_: has joined #ruby
[23:25:41] arooni-mobile: has joined #ruby
[23:26:39] mary5030: has joined #ruby
[23:27:01] s00pcan: has joined #ruby
[23:28:30] volty: has joined #ruby
[23:28:39] zodoz: has joined #ruby
[23:32:00] blackmesa: has joined #ruby
[23:32:36] Senecea: has joined #ruby
[23:32:37] Rodya_: has joined #ruby
[23:35:22] sandstrom: has joined #ruby
[23:36:26] al2o3-cr: has joined #ruby
[23:36:31] toretore: has joined #ruby
[23:39:41] chouhoulis: has joined #ruby
[23:40:35] pawnbox: has joined #ruby
[23:41:22] dcunit3d: has joined #ruby
[23:43:26] al2o3-cr: has joined #ruby
[23:43:36] TomPeed: has joined #ruby
[23:44:02] stannard: has joined #ruby
[23:46:13] despai: has joined #ruby
[23:46:48] dlitvak: has joined #ruby
[23:48:37] Senecea: has joined #ruby
[23:48:37] Rodya_: has joined #ruby
[23:50:22] ledestin: has joined #ruby
[23:50:37] devbug_: has joined #ruby
[23:53:04] sandstrom: has joined #ruby
[23:53:04] blackgoat: has joined #ruby
[23:53:53] yokel: has joined #ruby
[23:54:44] Trynemjoel: has joined #ruby
[23:55:10] dlitvak: has joined #ruby
[23:55:50] nanoz: has joined #ruby
[23:56:34] at46_: has joined #ruby
[23:57:54] shevy: hmm anyone remembers the ruby equivalent to linux "uname -m" ? this would yield "i686"
[23:58:29] lyoshajapan: has joined #ruby
[23:58:49] phantummm: has joined #ruby
[23:59:12] TomPeed: has joined #ruby