« Back to channel list

#ruby - 08 February 2018

« Back 1 day Forward 1 day »
[00:02:03] mtkd: has joined #ruby
[00:09:03] zapata: has joined #ruby
[00:14:30] elphe: has joined #ruby
[00:14:56] chet: has left #ruby: ()
[00:15:10] havenwood: ?rubyonrails chet
[00:15:10] ruby[bot]: havenwood: I don't see no chet, whom should I tell about rubyonrails?
[00:15:16] white_lilies: has joined #ruby
[00:15:20] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[00:18:19] banisterfiend: has joined #ruby
[00:19:45] x77686d: has joined #ruby
[00:24:02] TinkerTyper: has joined #ruby
[00:29:02] quobo: has joined #ruby
[00:32:17] arescorpio: has joined #ruby
[00:35:59] shinnya: has joined #ruby
[00:40:42] garyserj: has joined #ruby
[00:42:01] garyserj: what is the advantage or reason for doing %w[a b c d] instead of ["a","b","c","d"] ? Is it purely and simply that it is a shorthand? and what type are the things within the square brackets here [a b c d] since presumably they are not strings before %w is applied
[00:43:23] havenwood: garyserj: easier to type, but more importantly easier to read
[00:43:35] eam: garyserj: %w and its components are not objects, they are syntax
[00:43:39] havenwood: garyserj: the reader knows up front the array is simple strings
[00:44:42] eam: it's taken directly from perl's qw[] construct
[00:45:10] eam: ruby replaces the "q" with "%"
[00:45:34] garyserj: ah ok, thanks
[00:45:42] eam: the same is true of qx => %x, q => %, qr => %r and so on
[00:46:27] eam: the delimiters can be almost any character, paired or otherwise
[00:48:37] eam: >> %/ a string enclosed by slashes /
[00:48:38] ruby[bot]: eam: # => " a string enclosed by slashes " (https://eval.in/951954)
[00:49:12] eam: another nice feature of these alternate quoting methods is that by changing the string delimiter you can avoid having to quote strings with lots of " or ' in them
[00:49:39] eam: which in perl land used to be quite common in scripts, though ruby has uh, matured past this somewhat
[00:53:21] cagomez: has joined #ruby
[00:54:50] justinfaler: has joined #ruby
[00:55:14] jottr: has joined #ruby
[00:57:07] kapil___: has joined #ruby
[01:04:30] jottr: has joined #ruby
[01:11:25] cagomez: has joined #ruby
[01:14:19] cagomez: has joined #ruby
[01:14:23] jottr: has joined #ruby
[01:34:25] milardovich: has joined #ruby
[01:35:28] Guest2: has joined #ruby
[01:37:59] daemonwrangler: has joined #ruby
[01:39:55] knight33: has joined #ruby
[01:40:42] riskish: has joined #ruby
[01:43:17] dinfuehr: has joined #ruby
[01:44:23] nowhere_man: has joined #ruby
[01:48:03] segy: has joined #ruby
[01:51:11] jottr: has joined #ruby
[01:51:11] LastWhisper____: has joined #ruby
[01:53:53] cdg: has joined #ruby
[01:57:18] cagomez: has joined #ruby
[01:57:32] Jameser: has joined #ruby
[01:57:59] flashbang: has joined #ruby
[02:03:21] nchambers: how can I exclude files from rubocop checking? I've tried having an "Exclude" block like the default configs, but rubocop complains
[02:03:25] xcesariox: has joined #ruby
[02:03:51] haylon: has joined #ruby
[02:06:42] mtkd: has joined #ruby
[02:14:15] justinfaler: has joined #ruby
[02:15:59] kobain: has joined #ruby
[02:21:02] d10n-work: has joined #ruby
[02:27:53] cdg: has joined #ruby
[02:29:47] haylon: has joined #ruby
[02:30:09] cagomez: has joined #ruby
[02:31:55] ramfjord: has joined #ruby
[02:34:50] livcd: has joined #ruby
[02:41:54] ramfjord: has joined #ruby
[02:42:37] jnyw: has joined #ruby
[02:45:16] hahuang61: has joined #ruby
[02:45:23] jottr: has joined #ruby
[02:49:44] ramfjord: has joined #ruby
[02:52:14] dhollinger: has joined #ruby
[02:55:44] ramfjord: has joined #ruby
[02:56:12] swgillespie: has left #ruby: ()
[02:58:04] cagomez: has joined #ruby
[02:58:15] hfp_work: has joined #ruby
[03:00:12] bigblind: has joined #ruby
[03:00:14] cadillac_: has joined #ruby
[03:02:13] bmurt: has joined #ruby
[03:03:52] cagomez: has joined #ruby
[03:04:56] Jameser: has joined #ruby
[03:13:55] cdg: has joined #ruby
[03:14:11] jottr: has joined #ruby
[03:14:50] marmorkreb: has joined #ruby
[03:17:32] zautomata1: has joined #ruby
[03:18:06] amirite: has joined #ruby
[03:22:37] noobineer: has joined #ruby
[03:22:56] bigblind: has joined #ruby
[03:26:17] milardovich: has joined #ruby
[03:27:15] dogweather: has joined #ruby
[03:30:33] justinfaler: has joined #ruby
[03:31:45] govg: has joined #ruby
[03:34:01] jottr: has joined #ruby
[03:35:18] kies: has joined #ruby
[03:40:55] hahuang65: has joined #ruby
[03:41:06] darkhanb: has joined #ruby
[03:45:38] gnufied: has joined #ruby
[03:45:57] bigblind: has joined #ruby
[03:46:50] hfp_work: has joined #ruby
[03:55:41] bigblind: has joined #ruby
[03:59:38] marmorkreb: has joined #ruby
[03:59:44] elphe: has joined #ruby
[04:00:36] KeyJoo: has joined #ruby
[04:04:14] amirite: has joined #ruby
[04:07:19] alfiemax: has joined #ruby
[04:10:29] milardovich: has joined #ruby
[04:15:33] gix-: has joined #ruby
[04:19:02] cagomez: has joined #ruby
[04:19:50] cagomez: has joined #ruby
[04:21:04] ahrs: has joined #ruby
[04:25:14] trautwein: has joined #ruby
[04:25:22] white_lilies: has joined #ruby
[04:26:20] cagomez: has joined #ruby
[04:28:02] jottr: has joined #ruby
[04:32:39] bigblind: has joined #ruby
[04:34:30] white_lilies: has joined #ruby
[04:39:57] cdg: has joined #ruby
[04:41:00] guacamole: has joined #ruby
[04:41:00] guacamole: has joined #ruby
[04:44:35] jamiejackson: has joined #ruby
[04:51:21] jottr: has joined #ruby
[04:52:17] ramfjord: has joined #ruby
[04:52:37] cdg: has joined #ruby
[04:57:11] phate408: has joined #ruby
[04:57:29] bigblind: has joined #ruby
[04:59:35] nekomune: has joined #ruby
[05:06:26] bigblind: has joined #ruby
[05:06:27] jamesaxl: has joined #ruby
[05:10:12] white_lilies: has joined #ruby
[05:10:24] ecuanaso: has joined #ruby
[05:17:33] hahuang65: has joined #ruby
[05:24:26] jottr: has joined #ruby
[05:25:23] maum: has joined #ruby
[05:26:18] marmorkreb: has joined #ruby
[05:26:50] amirite: has joined #ruby
[05:33:05] kapil___: has joined #ruby
[05:34:49] bigblind: has joined #ruby
[05:38:10] milardovich: has joined #ruby
[05:42:45] white_lilies: has joined #ruby
[05:47:56] marmorkreb: has joined #ruby
[05:50:51] meadmoon: has joined #ruby
[05:53:23] cdg: has joined #ruby
[05:54:03] milardovich: has joined #ruby
[05:55:44] x77686d: has joined #ruby
[05:59:27] bigblind: has joined #ruby
[06:00:44] Jameser: has joined #ruby
[06:09:06] jottr: has joined #ruby
[06:11:03] LocaMocha: has joined #ruby
[06:12:13] x77686d: has joined #ruby
[06:13:07] NightMonkey: has joined #ruby
[06:18:20] white_lilies: has joined #ruby
[06:20:18] x77686d: has joined #ruby
[06:20:36] marmorkreb: has joined #ruby
[06:23:07] bigblind: has joined #ruby
[06:23:49] marmorkreb: has joined #ruby
[06:24:45] marmorkreb: has joined #ruby
[06:27:09] milardovich: has joined #ruby
[06:27:38] Ishido: has joined #ruby
[06:34:44] cschneid: has joined #ruby
[06:37:46] bigblind: has joined #ruby
[06:40:10] cadillac_: has joined #ruby
[06:48:43] dionysus69: has joined #ruby
[06:51:29] orbyt_: has joined #ruby
[06:54:53] cdg: has joined #ruby
[06:56:29] white_lilies: has joined #ruby
[07:02:21] bigblind: has joined #ruby
[07:03:12] jottr: has joined #ruby
[07:03:54] elphe: has joined #ruby
[07:06:44] anisha: has joined #ruby
[07:16:39] darkhanb: has joined #ruby
[07:16:54] amatas: has joined #ruby
[07:17:42] x77686d: has joined #ruby
[07:18:54] bigblind: has joined #ruby
[07:20:04] nickjj_: has joined #ruby
[07:20:39] darkhanb: has joined #ruby
[07:28:16] conta: has joined #ruby
[07:29:53] amirite: has joined #ruby
[07:32:11] jottr: has joined #ruby
[07:36:44] white_lilies: has joined #ruby
[07:41:42] bigblind: has joined #ruby
[07:46:01] traxnov: has joined #ruby
[07:46:31] andikr: has joined #ruby
[07:47:53] guardianx: has joined #ruby
[07:55:01] tvw: has joined #ruby
[07:55:31] cdg: has joined #ruby
[07:56:26] burgestrand: has joined #ruby
[08:00:09] jottr: has joined #ruby
[08:02:30] LastWhisper____: has joined #ruby
[08:02:53] arkinor: has joined #ruby
[08:04:48] ur5us: has joined #ruby
[08:09:29] bigblind: has joined #ruby
[08:15:20] yohji: has joined #ruby
[08:15:21] oetjenj: has joined #ruby
[08:15:23] white_lilies: has joined #ruby
[08:15:47] claudiuinberlin: has joined #ruby
[08:16:13] TomyWork: has joined #ruby
[08:17:01] lipoqil: has joined #ruby
[08:17:48] scrptktty: has joined #ruby
[08:17:52] pfg: has joined #ruby
[08:18:03] rann: has joined #ruby
[08:18:07] craysiii: has joined #ruby
[08:24:27] marmorkreb: has joined #ruby
[08:24:46] schneide_: has joined #ruby
[08:25:10] amirite: has joined #ruby
[08:26:30] marmorkr_: has joined #ruby
[08:26:52] schneide_: has joined #ruby
[08:29:57] ramfjord: has joined #ruby
[08:30:57] alex``: has joined #ruby
[08:32:37] aufi: has joined #ruby
[08:34:03] DrCode: has joined #ruby
[08:34:20] aufi_: has joined #ruby
[08:35:26] Dimik: has joined #ruby
[08:36:58] danielpclark: has joined #ruby
[08:38:26] oetjenj: has joined #ruby
[08:46:55] white_lilies: has joined #ruby
[08:50:58] vutral|kali: has joined #ruby
[08:50:58] vutral|kali: has joined #ruby
[08:52:01] deathwishdave: has joined #ruby
[08:54:09] jottr: has joined #ruby
[08:55:36] Ishido: has joined #ruby
[08:56:18] cdg: has joined #ruby
[08:56:18] marr: has joined #ruby
[08:57:15] marmorkr_: has joined #ruby
[09:02:47] arkinor: has joined #ruby
[09:03:50] mikecmpbll: has joined #ruby
[09:04:34] clemens3: has joined #ruby
[09:05:42] deathwishdave: has joined #ruby
[09:07:03] bigblind: has joined #ruby
[09:08:48] maufart__: has joined #ruby
[09:12:32] vutral|kali: has joined #ruby
[09:12:33] vutral|kali: has joined #ruby
[09:12:33] LastWhisper____: has joined #ruby
[09:17:13] aupadhye: has joined #ruby
[09:17:15] white_lilies: has joined #ruby
[09:18:09] goatish: has joined #ruby
[09:19:53] mtkd: has joined #ruby
[09:20:22] bigblind: has joined #ruby
[09:23:14] guille-moe: has joined #ruby
[09:23:25] RougeR: has joined #ruby
[09:23:25] RougeR: has joined #ruby
[09:24:11] elphe: has joined #ruby
[09:27:30] haylon: has joined #ruby
[09:27:49] arkinor: has joined #ruby
[09:27:52] apeiros: has joined #ruby
[09:29:14] amirite: has joined #ruby
[09:29:57] correct-docker: has joined #ruby
[09:31:58] iron_houzi: has joined #ruby
[09:32:46] iron_houzi: Hi. Can anybody please help me with understanding the actual config of a Puma server I'm trying to deploy? I just want to verify that the config matches my expectations..
[09:33:07] iron_houzi: ..sorry if OT, #puma wasn't really a thing..
[09:35:16] tbuehlmann: what's the problem?
[09:35:40] Ishido: has joined #ruby
[09:35:45] traxnov: has joined #ruby
[09:38:54] deathwishdave: has joined #ruby
[09:39:13] iron_houzi: tbuehlmann: I'm trying to execute an app running with Puma, and it's not connecting to the DB, even though the DB config checks out.
[09:41:34] elphe: has joined #ruby
[09:42:22] clemens3_: has joined #ruby
[09:42:28] tomphp_: has joined #ruby
[09:42:48] deathwishdave: has joined #ruby
[09:44:40] bigblind: has joined #ruby
[09:45:03] xcesariox: has joined #ruby
[09:45:05] Kilo`byte: has joined #ruby
[09:45:22] quobo: has joined #ruby
[09:48:11] jottr: has joined #ruby
[09:50:12] damonf: has joined #ruby
[09:53:16] white_lilies: has joined #ruby
[09:53:39] Kilo`byte: has joined #ruby
[09:56:47] tbuehlmann: what kind of app is it?
[09:57:14] Beams: has joined #ruby
[09:57:19] cdg: has joined #ruby
[09:58:09] iron_houzi: http://port.us.org/docs/database.html
[09:58:16] Serpent7776: has joined #ruby
[09:58:49] Kilo`byte: has joined #ruby
[09:59:25] Ishido: has joined #ruby
[10:02:04] deathwishdave: has joined #ruby
[10:03:49] bigblind: has joined #ruby
[10:04:40] deathwishdave: has joined #ruby
[10:05:41] deathwishdave: has joined #ruby
[10:11:44] jottr: has joined #ruby
[10:13:18] tvw: has joined #ruby
[10:14:50] cschneid: has joined #ruby
[10:14:53] meinside: has joined #ruby
[10:14:55] darthThorik: has joined #ruby
[10:18:26] drewmcmillan: has joined #ruby
[10:21:18] bigblind: has joined #ruby
[10:22:56] workmad3: has joined #ruby
[10:23:23] amirite: has joined #ruby
[10:23:37] vutral|kali: has joined #ruby
[10:23:37] vutral|kali: has joined #ruby
[10:25:57] modin: has joined #ruby
[10:32:39] white_lilies: has joined #ruby
[10:33:56] tAn: has joined #ruby
[10:37:42] lxsameer: has joined #ruby
[10:44:06] bigblind: has joined #ruby
[10:45:47] aufi_: has joined #ruby
[10:47:29] dni: has joined #ruby
[10:47:38] dni: hi guyd i have a quite simepl problem
[10:47:53] dni: im trying to pass a return auf a function to me chef template like this
[10:48:20] arkinor: has joined #ruby
[10:48:48] dni: enablessl = File.exist?(ssl_conf)
[10:49:13] dni: template "/etc/apache2/sites-enabled/#{name}.conf" do
[10:49:36] dni: variables ( :ssl => enablessl )
[10:49:55] dni: and its always false... what am i missing? isnt the var not evaluated?
[10:50:01] ldnunes: has joined #ruby
[10:51:41] ruby[bot]: dni: Please join #chef for help with your cookbooks.
[10:52:28] Ishido: has joined #ruby
[10:52:48] dni: im thinking im lacking some ruby knowhow
[10:52:57] dni: and how to pash hashes
[10:54:50] apparition: has joined #ruby
[10:55:40] bigblind: has joined #ruby
[10:55:47] apeiros: the syntax is correct. variables(:ssl => enablessl) will invoke a method variable() with a hash as argument, having :ssl as key and the value of enablessl as value.
[10:58:15] cdg: has joined #ruby
[10:58:27] dni: apeiros: so why it isnt working?
[10:58:36] apeiros: as said, ask in chef
[10:58:40] dni: i got this in my template, <% if @ssl then %>
[10:59:28] dni: i dont even get what is my problem here
[10:59:55] dni: because passing other arguments works fine, only the File.exists i want to pass is always false
[11:00:01] dni: although the file is existsing
[11:00:11] apeiros: maybe the file doesn't exist
[11:00:32] apeiros: is ssl_conf a relative or an absolute path?
[11:00:36] dni: its existsing for sure
[11:00:42] white_lilies: has joined #ruby
[11:00:42] dni: absolute
[11:00:56] dni: i have this check aboive in a not_if { } there its working fine
[11:01:10] apeiros: well, add a binding.pry or a debug-printout statement. if it says false, the file at that path doesn't exist. despite what you think.
[11:01:39] dni: maybe the variables get evaluated first, before the files even exists...
[11:02:01] apeiros: variables don't get evaluated. they just reference a value.
[11:02:18] apeiros: the file must exist when `File.exist?` is called.
[11:02:28] dminuoso: Unless it's a $ variable. Those get evaluated.
[11:02:49] apeiros: dminuoso: you mean when they aren't really variables. but you're not helping with the pedantry here :-p
[11:03:23] dni: if have code above where fileexists works
[11:03:32] apeiros: (and you could even say all variables are evaluated, considering the lookup to be evaluation)
[11:03:34] dni: there has to be some async magik goiing on there then
[11:03:39] oetjenj: has joined #ruby
[11:03:59] dminuoso: apeiros: You know what I want - I want foo.map(&:bar).map(&:quux) to be the same as foo.map { |o| o.bar.quux } :(
[11:04:08] dminuoso: I want ruby functors to be lawful. :(
[11:05:00] dni: damn that sucks, im trying to figure at how the pass a variable to my template for ever 3 hours now :)
[11:05:05] dni: i googled everything :D
[11:05:11] apeiros: dminuoso: o0 not quite sure when that's not the case.
[11:05:16] dni: and im not new at all to programming just ruby
[11:05:18] apeiros: anyway, off for jogging & lunch
[11:05:43] dni: frustrating
[11:05:59] dminuoso: apeiros: You can observe the difference when working with rails relations.
[11:06:39] dni: can i somehow pass a function through the hash to then call it in the template or something
[11:06:51] vutral|kali: has joined #ruby
[11:06:52] vutral|kali: has joined #ruby
[11:07:25] dminuoso: apeiros: Maybe I did some gross mistake, but I dont think you can do this in a pointfree manner: connections.flat_map { |e| e.active_customers.distinct }
[11:08:01] arkinor: has joined #ruby
[11:08:07] dni: du i have some kind auf ruby_block? to evaluate the file.exists call?
[11:08:41] dminuoso: dni: Implicitly. Throw an exception if it doesn't. It's semantically equivalent.
[11:08:53] dminuoso: or use `if` =)
[11:08:54] white_lilies: has joined #ruby
[11:10:38] dni: so i tried to do a ruby block before :D
[11:10:45] dni: maybe the variable then has a value
[11:10:55] dni: :D just guessing and blindly testing out stuff :)
[11:11:55] gnufied: has joined #ruby
[11:12:30] dminuoso: dni: a "block" is just an anonymous function. a lambda function.
[11:12:48] dminuoso: blocks/procs/lambdas are basically the same thing with just very subtle differences
[11:13:02] dni: maybe my value is ther then ;)
[11:13:22] dni: i cant explain it why its not set, because in code above its set correctly
[11:13:30] drewmcmillan: has joined #ruby
[11:14:11] dni: maybe i have somehow have todo the ruby_block beacuse in chef the somehow sequentionally run those block? :D
[11:14:28] dni: and variables outside done get set at the time im thinking?
[11:14:46] dni: i really, dont know just wanna find a explanation, documenation doesnt help at all
[11:14:59] dminuoso: Gist the code you have.
[11:16:36] guille-moe: has joined #ruby
[11:17:21] dni: https://gist.github.com/dni/fdadabe288b7c98567e1ad31edde7de5
[11:17:58] dminuoso: dni: please name your file with a .rb extension to enable syntax hilighting =)
[11:19:09] AJA4350: has joined #ruby
[11:24:33] mtkd: has joined #ruby
[11:25:01] dni: no i dont get it i think im missing some fundamentals here
[11:25:23] alfiemax: has joined #ruby
[11:30:15] ramfjord: has joined #ruby
[11:31:05] amirite: has joined #ruby
[11:33:34] dni: how i passing a variable to a template soooo hard
[11:33:43] dni: tell me what am i missing?
[11:34:27] dni: daily coding since 15 years, still cant assign a variable... time to quit
[11:35:54] tomphp: has joined #ruby
[11:37:04] milardovich: has joined #ruby
[11:37:41] traxnov: has joined #ruby
[11:40:08] plexigras: has joined #ruby
[11:41:12] John_Ivan: has joined #ruby
[11:43:47] shinnya: has joined #ruby
[11:44:00] schneide_: has joined #ruby
[11:46:16] meadmoon: has joined #ruby
[11:48:59] white_lilies: has joined #ruby
[11:49:21] RougeR: has joined #ruby
[11:50:07] john__: has joined #ruby
[11:50:17] vutral|kali_: has joined #ruby
[11:51:21] cschneid: has joined #ruby
[11:51:29] dni: ... really starting to hate ruby and chef at this point :P
[11:53:25] schneide_: has joined #ruby
[11:54:18] gnufied: has joined #ruby
[11:59:01] cdg: has joined #ruby
[11:59:07] bigblind: has joined #ruby
[11:59:51] vutral|kali: has joined #ruby
[12:00:03] vutral|kali: has joined #ruby
[12:01:07] burgestrand: has joined #ruby
[12:01:52] nadir: has joined #ruby
[12:02:27] jeffreylevesque: has joined #ruby
[12:05:31] tomphp: has joined #ruby
[12:05:35] dni: fuck me it works :) ive updated my gist, lazy evaluation helps, if you
[12:05:35] dni: use it correctly
[12:06:58] John_Ivan: has joined #ruby
[12:06:58] John_Ivan: has joined #ruby
[12:09:30] volix: has joined #ruby
[12:10:54] john__: has joined #ruby
[12:13:00] Jameser: has joined #ruby
[12:13:59] gauravgoyal: has joined #ruby
[12:14:02] tAn: has joined #ruby
[12:14:45] andikr: has joined #ruby
[12:14:59] Jameser: has joined #ruby
[12:15:09] bigblind: has joined #ruby
[12:16:31] alex``: How to access attribute within the class?
[12:17:15] alex``: I have Node class with (identifier, value, parent, children) attributes
[12:17:30] John_Ivan: has joined #ruby
[12:17:31] alex``: parent and children are read-only
[12:18:21] alex``: but while manipulating the nodes, I need to `child.parent = self`
[12:19:04] alex``: I don’t want make `parent` manipulable by the user, but I need to set it from my class for a child node
[12:19:48] alex``: I can’t do `child.@parent = node` or something
[12:20:33] alex``: I have to turn `attr_reader :parent` to `attr_accessor :parent`?
[12:21:47] burgestrand: alex`` https://eval.in/952197
[12:23:22] paleorange: has joined #ruby
[12:23:38] white_lilies: has joined #ruby
[12:24:11] alex``: Burgestrand: Awesome
[12:24:17] paleorange: is it possible to write a <web-language> interpreter in ruby from scratch?
[12:24:44] paleorange: <web language> means php,perl or similar
[12:25:23] paleorange: alright, now comes the most interesting followup - __how?__
[12:26:58] noobineer: has joined #ruby
[12:28:21] paleorange: well, apparently noone knows how 🤔
[12:29:09] amirite: has joined #ruby
[12:29:54] burgestrand: paleorange The same way you write any other interpreter
[12:30:38] paleorange: well, not entirely true, there are lots of tutorials for lisp-like interpreters but not for php one
[12:30:40] burgestrand: paleorange There are a bunch of interpreter-bridges available for some languages, but I would probably more so call them runtimes
[12:31:04] paleorange: thing is, i'm not using __any__ php binaries
[12:31:14] paleorange: that's why i stated __from scratch__
[12:32:49] burgestrand: paleorange search keywords for you would be "how to make your own programming language"
[12:33:14] plexigras: has joined #ruby
[12:33:33] paleorange: afaik i saw nothing for ruby, only for python
[12:33:42] burgestrand: You're lucky in that you just want an interpreter, if you wanted to export them to binaries then you've got even more work ahead of you
[12:33:43] paleorange: and yes i did a research beforehand
[12:33:54] burgestrand: paleorange What makes you think the guide for python doesn't apply to ruby?
[12:34:21] burgestrand: paleorange Do you know how to make a calculator interpreter?
[12:34:27] paleorange: there's no arpeggio for ruby
[12:35:42] paleorange: yes i found some repositories, but not tutorials
[12:35:44] burgestrand: I feel like making a basic calculator would be a good start
[12:36:20] paleorange: calculator interpreter is fine, but too broad, pardon but my task is kinda specific
[12:36:40] paleorange: and it would be great to keep it "close to the body"
[12:36:53] burgestrand: I'm very confused
[12:37:55] paleorange: i.e. it would be great to further address solutions more fitting to this specific task, not broad ones
[12:39:33] rasternode: has joined #ruby
[12:41:19] burgestrand: I can't point you to a ruby-specific guide; however the approach to building an interpreter or a compiler is not significantly different depending on what language you choose to implement it in (an exception is possibly lisp due to the nature of the code pretty much being the AST)
[12:42:33] bigblind: has joined #ruby
[12:43:05] paleorange: so i think i'd need some kind of simple parser generator (preferably peg) first
[12:43:38] burgestrand: That's why building a simple calculator interpreter is a good start, it involves all steps necessary that are required for a larger project: parsing an arbitrary text into a meaningful representation [in ruby], and then executing those instructions; variables and memory is mainly expanding the instruction set
[12:44:16] burgestrand: paleorange so what's your purpose with this exercise?
[12:44:57] paleorange: i want to saw off the parts of existing language don't fit
[12:45:05] paleorange: that don't fit*
[12:45:59] paleorange: but modifying existing interpreter would require to get into c which i don't know
[12:46:35] burgestrand: paleorange so you want to make your own programming language? for a specific purpose or just because it's fun?
[12:46:40] paleorange: so why not try to build an interpreter in an easier (overall) language instead of c
[12:47:09] chrisseaton: has left #ruby: ()
[12:47:18] paleorange: i want to remake the language without the parts i don't need to use it in production straight away
[12:47:41] paleorange: in this case it's php
[12:48:55] burgestrand: I'm sorry, but this sounds so trolly
[12:49:47] paleorange: i'm rolling my eyes so hard now
[12:50:10] burgestrand: Well, if production use straight away is your use-case I'm not the person to help you, even if full-time I had the time I couldn't with clear conscience help you build something that you intended for production use anywhere the coming three months
[12:50:36] bigblind: has joined #ruby
[12:50:59] DaniG2k: has joined #ruby
[12:50:59] John_Ivan: has joined #ruby
[12:50:59] paleorange: i know where this is going, don't leave me hanging thankyouverymuch
[12:51:22] gnufied: has joined #ruby
[12:51:43] DaniG2k: hello all. I am posting a form with images with Dropzone. I've almost gotten everything to work, the controller is receiving the images and input fields. Only one last thing isn't working. I've posted my question in full on SO
[12:51:47] DaniG2k: https://stackoverflow.com/questions/48684017/rails-5-allow-javascript-posted-image-from-controller
[12:51:58] DaniG2k: if anyone could help it would be wicked
[12:52:08] paleorange: please read the topic
[12:52:33] claudiuinberlin: has joined #ruby
[12:53:10] white_lilies: has joined #ruby
[12:53:31] dminuoso: !rails DaniG2k
[12:53:34] dminuoso: ?rails DaniG2k
[12:53:34] ruby[bot]: DaniG2k: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[12:53:42] DaniG2k: oops sorry
[12:53:45] DaniG2k: thought I was in that channel
[12:54:36] infernix: has joined #ruby
[12:55:13] zapata: has joined #ruby
[12:55:21] paleorange: Burgestrand what i meant is producing usable version asap
[12:55:37] paleorange: and then iterating on it on-the-fly
[12:57:11] burgestrand: paleorange while PHP was built fairly quickly originally, getting to the current version has taken 24 years, what time frame are you aiming for?
[12:57:38] swills: has joined #ruby
[12:57:38] swills: has joined #ruby
[12:57:45] paleorange: i.e. w/o oop as i said originally
[12:58:15] swills_: has joined #ruby
[12:58:17] paleorange: and apache/nginx compatability has to be solved as well
[12:58:31] paleorange: because it's a subset it should be compatible
[13:00:39] bigblind: has joined #ruby
[13:00:47] Sylario: has joined #ruby
[13:02:40] cschneid: has joined #ruby
[13:03:00] john__: has joined #ruby
[13:05:29] synthroid: has joined #ruby
[13:06:45] John_Ivan: has joined #ruby
[13:07:46] InfinityFye: has joined #ruby
[13:08:51] john__: has joined #ruby
[13:10:28] clemens3: has joined #ruby
[13:11:51] konsolebox: has joined #ruby
[13:13:17] SuperLag: has joined #ruby
[13:13:35] cschneid: has joined #ruby
[13:15:04] John_Ivan: has joined #ruby
[13:15:04] John_Ivan: has joined #ruby
[13:18:27] john__: has joined #ruby
[13:23:55] paleorange_h: has joined #ruby
[13:24:17] amirite: has joined #ruby
[13:25:20] milardovich: has joined #ruby
[13:27:15] marmorkreb: has joined #ruby
[13:28:07] John_Ivan: has joined #ruby
[13:29:21] white_lilies: has joined #ruby
[13:29:47] mtkd: has joined #ruby
[13:30:51] john__: has joined #ruby
[13:34:53] John_Ivan: has joined #ruby
[13:37:49] arkinor: has joined #ruby
[13:43:42] govg: has joined #ruby
[13:44:19] nowhereman_: has joined #ruby
[13:46:07] pombreda: has joined #ruby
[13:46:40] pombreda: Hiya :) what's the most common, not too advanced version of ruby to install as a default with rbenv?
[13:46:51] RougeR: heya guys, trying to understand this:
[13:46:52] RougeR: http://www.mikeperham.com/2014/11/26/building-a-binary-tree-with-enumerable/
[13:47:00] RougeR: i dont quite understand how the .each method is working
[13:47:13] RougeR: would anyone be able to offer me some insight?
[13:48:08] haylon: has joined #ruby
[13:49:02] pombreda: would this be 2.3.1 ? or 2.3.0?
[13:51:06] pombreda: RougeR, each is a way to make something iterable (aka in Ruby speak enumerable) so in this case list nodes in the tree
[13:51:29] pombreda: since it is being called also inside the tree walking each for each of the nodes, this ends up walking the tree
[13:53:01] pombreda: well anyway, for me, I will go to 2.3.1 :P
[13:54:03] cdg: has joined #ruby
[13:54:45] pombreda: RougeR, if you are not familiar with recursion, that may look surprising :P
[13:59:59] cdg: has joined #ruby
[14:02:36] white_lilies: has joined #ruby
[14:04:38] jcalla: has joined #ruby
[14:10:35] clemens3: has joined #ruby
[14:13:12] vondruch: has joined #ruby
[14:14:53] Psybur: has joined #ruby
[14:15:39] jaruga: has joined #ruby
[14:20:38] gnufied: has joined #ruby
[14:22:57] rwb: has joined #ruby
[14:24:32] AJA4350: has joined #ruby
[14:25:29] amirite: has joined #ruby
[14:26:41] cschneid: has joined #ruby
[14:28:12] tAn: has joined #ruby
[14:29:10] synthroid: has joined #ruby
[14:31:13] _haylon: has joined #ruby
[14:31:20] schneide_: has joined #ruby
[14:31:49] DLSteve: has joined #ruby
[14:32:15] schneide_: has joined #ruby
[14:34:59] rikkipitt: has joined #ruby
[14:35:54] hph^: has joined #ruby
[14:39:19] pastorinni: has joined #ruby
[14:41:24] white_lilies: has joined #ruby
[14:41:32] cschneid: has joined #ruby
[14:47:10] amirite: has joined #ruby
[14:47:14] John_Ivan: has joined #ruby
[14:48:12] apparition: has joined #ruby
[14:48:19] RougeR: pombreda: heya sorry got stuck down the rabbit hole
[14:48:30] RougeR: im on 2.5.0
[14:49:02] RougeR: and yeah i think ive grasped its using recursion now. ive reverse engineered it using a couple of if statements
[14:49:22] RougeR: i understood the each statement, it was the how that was confusing me. im on the right track now
[14:49:59] RougeR: and yeah ive never really used recursion much before
[14:50:17] RougeR: thanks for your help
[14:51:40] apeiros: RougeR: you could add code to emit .dot data to graph your tree :)
[14:51:53] apeiros: might help with understanding what's going on
[14:53:36] RougeR: im alright with the understanding of whats going on now. recursion/tree wise
[14:53:49] RougeR: im ending up with too many items in my returned array though
[14:54:04] RougeR: just trying to get a look at the array now
[14:55:10] ecuanaso: has joined #ruby
[14:56:40] danielpclark: has joined #ruby
[15:01:01] jottr_: has joined #ruby
[15:02:20] white_lilies: has joined #ruby
[15:02:54] TinkerTyper: has joined #ruby
[15:08:05] WA9ACE: has joined #ruby
[15:09:24] jottr: has joined #ruby
[15:10:48] ecuanaso: has joined #ruby
[15:11:00] gregf_: has joined #ruby
[15:12:00] white_lilies: has joined #ruby
[15:12:35] Mrgoose2: In ruby is it possible to determine what type an exception is? I would like to catch it in a rescue but im not sure what type of exception it is
[15:15:45] jeffreylevesque: has joined #ruby
[15:15:47] apeiros: Mrgoose2: exceptions are ordinary objects. you can ask them all the things you can ask every object too.
[15:15:51] apeiros: f.ex. Object#class
[15:16:00] Mrgoose2: ah, easy enough
[15:16:39] apeiros: the only specialty is that they are instance of Exception or a subclass (note: *never* raise exceptions which are instances of Exception, *never* subclass Exception directly. StandardError is the "lowest" thing to take)
[15:16:50] oleo: has joined #ruby
[15:19:08] schneide_: has joined #ruby
[15:19:37] Rapture: has joined #ruby
[15:19:49] jrafanie: has joined #ruby
[15:20:26] alfiemax: has joined #ruby
[15:21:31] arkinor: has joined #ruby
[15:21:47] cschneid: has joined #ruby
[15:24:49] LastWhisper____: has joined #ruby
[15:27:39] stormpack: has joined #ruby
[15:28:49] desperek: has joined #ruby
[15:32:14] DrCode: has joined #ruby
[15:33:42] tlaxkit: has joined #ruby
[15:33:56] d10n-work: has joined #ruby
[15:34:32] x77686d: has joined #ruby
[15:37:00] npgm: has joined #ruby
[15:37:57] drewmcmillan: has joined #ruby
[15:48:25] white_lilies: has joined #ruby
[15:48:25] rippa: has joined #ruby
[15:53:44] milardovich: has joined #ruby
[15:55:07] qba73: has joined #ruby
[15:57:10] rikkipitt: has joined #ruby
[15:57:22] RougeR: still a bit stuck here
[15:57:24] RougeR: https://gist.github.com/CodePint/60cdde80430b4415834fa14217ac54e7
[15:57:47] RougeR: im trying to get an ordered array back from my .nodes method
[15:58:18] RougeR: I think im close, but not quite there
[15:58:35] apeiros: your nodes method should not take an argument
[15:58:43] RougeR: its recursive
[15:59:15] apeiros: and it still should not take an argument.
[15:59:16] RougeR: so line 46 and 50 feed back in the current node
[15:59:32] dminuoso: RougeR: You already have the current node.
[15:59:35] dminuoso: You are writing instance methods.
[15:59:37] dminuoso: You have an instance.
[15:59:40] apeiros: yes. and you should absolutely call it on the left & right node instead of passing them as an argument
[15:59:56] RougeR: right i think i see
[16:00:05] apeiros: all_nodes = left.nodes + [self] + right.nodes
[16:00:13] apeiros: + checking whether you actually have left & right
[16:00:17] RougeR: let me try refactor that
[16:00:37] apeiros: iow, it should be 5 lines of code at max
[16:01:01] RougeR: yeah i know it could be more efficient. but with the changes suggested
[16:01:05] RougeR: will the result still be the same
[16:02:34] apeiros: the BinaryTree class makes little sense
[16:02:39] apeiros: every node forms a tree
[16:02:53] RougeR: yeah tbh this is mostly not my code
[16:03:01] RougeR: its been code ive been given by a teacher
[16:03:29] apeiros: holy shit batman, the editor won't let me type @
[16:03:30] cschneid: has joined #ruby
[16:04:26] apeiros: the teacher provided you with code which has Node and BinaryTree separate?
[16:04:51] RougeR: as in class node?
[16:05:17] RougeR: or method node
[16:05:38] RougeR: the only bit ive written is the nodes method
[16:06:07] apeiros: I wrote the capital letter intentionally
[16:06:22] RougeR: yeah, i realised that i read it back
[16:06:46] RougeR: and yeah they did. there is also a testing document seperate to this
[16:06:51] apeiros: https://gist.github.com/apeiros/f37bffe200ff63420f1794e0f5d25974
[16:10:44] apeiros: and with insert_node where it IMO belongs: https://gist.github.com/apeiros/f37bffe200ff63420f1794e0f5d25974
[16:11:09] RougeR: thanks for the refactor, having a look
[16:11:19] apeiros: and since obviously @root can be nil, BinaryTree#nodes would need checking.
[16:11:33] apeiros: gtg. dminuoso can surely help with the rest :D
[16:11:48] RougeR: thanks for your time, catchya later
[16:12:32] Psybur: has joined #ruby
[16:17:50] zaibitsu: has joined #ruby
[16:19:12] zaibitsu: has left #ruby: ()
[16:20:34] x77686d: has joined #ruby
[16:22:55] troys: has joined #ruby
[16:23:58] za1b1tsu_: has joined #ruby
[16:24:29] za1b1tsu: has joined #ruby
[16:24:50] hph^: has joined #ruby
[16:25:12] plexigras: has joined #ruby
[16:26:27] rrutkowski: has joined #ruby
[16:26:47] white_lilies: has joined #ruby
[16:29:59] sergio_101: has joined #ruby
[16:30:01] rrutkowski: has joined #ruby
[16:32:05] infernix: has joined #ruby
[16:34:21] schneide_: has joined #ruby
[16:35:12] rrutkowski: has joined #ruby
[16:37:22] oetjenj: has joined #ruby
[16:38:53] Meowcenary: has joined #ruby
[16:39:22] cagomez: has joined #ruby
[16:39:59] rrutkowski: has joined #ruby
[16:42:30] drewmcmillan: has joined #ruby
[16:45:14] Xentil: has joined #ruby
[16:45:38] Xentil: How can i end execution of block? When i use "return" i get "client.rb:50:in `block (2 levels) in <main>': unexpected return (LocalJumpError)" error. When i use "break" i get "client.rb:50:in `block (2 levels) in <main>': break from proc-closure (LocalJumpError)" error.
[16:50:00] jottr: has joined #ruby
[16:50:20] marmorkreb: has joined #ruby
[16:53:36] Ishido: has joined #ruby
[16:53:45] x77686d: has joined #ruby
[16:57:20] canton7: Xentil, 'next'
[16:58:10] canton7: think about a block passed to #each -- 'next' exits the block early, 'return' exits the scope around the #each itself
[17:01:15] Xentil: canton7: Ok, thanks
[17:05:20] n0m4d1c: has joined #ruby
[17:05:53] noobineer: has joined #ruby
[17:05:58] white_lilies: has joined #ruby
[17:06:24] schneide_: has joined #ruby
[17:07:08] dminuoso: Xentil: https://gist.github.com/dminuoso/fba06a2323bbedf946ef144eb4f500f2
[17:07:19] dminuoso: Oh boy! I forgot blocks..
[17:08:10] dminuoso: canton7: and no, `return` does not exit the scope around each, but it returns control to the topmost method or lambda on the current callstack.
[17:08:26] dminuoso: Which can be surprisingly frustratring depending on your level of nesting inside blocks and procs.
[17:09:01] canton7: true, I meant 'break' not 'return'
[17:09:43] dminuoso: canton7: You cant use `break` like that.
[17:10:04] dminuoso: Or at least I dont think you should be able to d
[17:10:12] dminuoso: > p { break }
[17:10:14] dminuoso: >> p { break }
[17:10:15] ruby[bot]: dminuoso: # => nil (https://eval.in/952333)
[17:10:28] dminuoso: >> def m; yield; end; m() { break }
[17:10:29] ruby[bot]: dminuoso: # => nil (https://eval.in/952334)
[17:10:35] dminuoso: ACTION sighs
[17:10:44] dminuoso: asm>> m() { break }
[17:10:45] ruby[bot]: dminuoso: I have disassembled your code, the result is at https://eval.in/952335
[17:10:51] canton7: oh, no, I'm confusing myself and it's late. I did mean 'return' -- it exits the scope of the #each, returning control to the caller
[17:11:07] dminuoso: canton7: not to the caller. the topmost lambda or method on the callstack.
[17:11:45] canton7: hmm? If a() calls b() calls c(), and c has a 'return', control is returned to b, not a
[17:12:08] dminuoso: canton7: The problem is that the "caller" mental model stops working when you consider procs and blocks.
[17:12:19] dminuoso: and "only methods" breaks if you consider lambdas.
[17:13:27] dminuoso: >> f = proc{ return; }; proc{ f.() }.()
[17:13:28] ruby[bot]: dminuoso: # => unexpected return (LocalJumpError) ...check link for more (https://eval.in/952336)
[17:13:31] dminuoso: canton7: ^- see?
[17:13:47] dminuoso: >> f = lambda{ return; }; proc{ f.() }.()
[17:13:48] ruby[bot]: dminuoso: # => nil (https://eval.in/952337)
[17:13:57] canton7: and your gist says "return control to the caller of the topmost method or lambda" -- to the *caller* of the topmost method of lambda. Not to the topmost method or lambda itself, which is what you said just above
[17:14:03] raynold: has joined #ruby
[17:14:08] dminuoso: okay let me modify because I realized its still a bit off.
[17:14:29] dminuoso: canton7: it returns control past the end of the topmost method lambda or method.
[17:14:49] dminuoso: (that includes the current active stack frame)
[17:15:08] canton7: why not just "returns from the topmost method lambda or method"?
[17:15:18] dminuoso: >> f = proc{ return }; lambda{ f.(); puts "bla"}.()
[17:15:20] ruby[bot]: dminuoso: # => unexpected return (LocalJumpError) ...check link for more (https://eval.in/952338)
[17:15:26] dminuoso: Uh wait. Ouchg.
[17:15:32] dminuoso: unexpected.
[17:16:08] dminuoso: but I think I know why
[17:17:25] dminuoso: Or no. Im completely lost.
[17:17:27] dminuoso: This should have worked.
[17:17:48] dminuoso: asm>> f = proc{ return }
[17:17:48] canton7: >> f = proc{ return }; g = lambda{ f.(); puts "bla"}; def h; f.(); puts "woo"; end; h
[17:17:49] ruby[bot]: dminuoso: I have disassembled your code, the result is at https://eval.in/952339
[17:17:52] oetjenj: has joined #ruby
[17:18:04] ruby[bot]: canton7: # => undefined local variable or method `f' for main:Object (NameError) ...check link for more (https://eval.in/952340)
[17:18:40] dminuoso: >> f = proc{ return }; G = lambda{ f.(); puts "bla"}; def h; G.(); puts "woo"; end; h # canton7
[17:18:42] ruby[bot]: dminuoso: # => unexpected return (LocalJumpError) ...check link for more (https://eval.in/952346)
[17:18:45] dminuoso: canton7: same thing.
[17:18:56] dminuoso: Im not exactly sure whats going on. This kind of feels like a design bug.
[17:19:37] canton7: yeah, I don't get that.
[17:19:49] justinfaler: has joined #ruby
[17:20:02] dminuoso: let me try something similar
[17:20:23] dminuoso: >> f = proc{ throw(:foo) }; -> { catch(:foo { f.() } }.()
[17:20:24] ruby[bot]: dminuoso: # => /tmp/execpad-45164807ed77/source-45164807ed77:2: syntax error, unexpected '{', expecting ')' ...check link for more (https://eval.in/952350)
[17:20:30] dminuoso: ruby[bot]: make fix.
[17:20:36] dminuoso: >> f = proc{ throw(:foo) }; -> { catch(:foo) { f.() } }.()
[17:20:37] ruby[bot]: dminuoso: # => nil (https://eval.in/952351)
[17:21:09] dminuoso: To concluse: procs and blocks are weird and disgusting.
[17:21:20] canton7: "try stuff until it works"
[17:21:56] dminuoso: canton7: No seriously, lets figure this out.
[17:22:01] amirite: has joined #ruby
[17:22:12] canton7: 'fraid I can't devote too much time - still at work
[17:22:31] dminuoso: It cant be that I have to dig into the ruby source code to understand the semantics of `return`
[17:22:35] dminuoso: This is frustrating.
[17:23:09] dminuoso: canton7: https://eval.in/952352
[17:23:20] angrywombat: has joined #ruby
[17:23:21] dminuoso: https://eval.in/952353
[17:23:52] dminuoso: >> ->() { proc{ return}.() }.()
[17:23:53] ruby[bot]: dminuoso: # => nil (https://eval.in/952354)
[17:23:53] guacamole: has joined #ruby
[17:23:54] guacamole: has joined #ruby
[17:23:58] dminuoso: This is so broken.
[17:24:22] dminuoso: It seems as if the catch table is set up in the current stack frame when the proc is created.
[17:24:31] angrywombat: has left #ruby: ()
[17:24:41] dminuoso: But.. that doesn't. Stupid. Ill file a bug report.
[17:28:45] darkhanb: has joined #ruby
[17:29:12] jamesaxl: has joined #ruby
[17:31:09] Megamos: has joined #ruby
[17:32:53] schneide_: has joined #ruby
[17:33:45] Kilo`byte: has joined #ruby
[17:34:24] osvico: has joined #ruby
[17:34:52] mtkd: has joined #ruby
[17:36:40] drewmcmillan: has joined #ruby
[17:37:39] milardovich: has joined #ruby
[17:37:53] Dimik: has joined #ruby
[17:42:04] LastWhisper____: has joined #ruby
[17:42:57] AxelAlex: has joined #ruby
[17:43:16] marmorkreb: has joined #ruby
[17:44:39] white_lilies: has joined #ruby
[17:49:30] Bob8989|2: has joined #ruby
[17:51:43] dviola: has joined #ruby
[17:53:13] alfiemax: has joined #ruby
[17:54:14] Terens: has joined #ruby
[17:54:23] Terens: I am stuck with naming classes
[17:54:56] havenwood: terens: say more?
[17:56:04] Terens: I want lets a say a class named Wire . however wire would use lots of other classes / layers. So if I make a directory wire then Wire would normally be a module.
[17:57:37] havenwood: terens: You can use either a module or a class as a namespace. Does Wire have no state, only one instance of state, or multiple instances of state?
[17:59:15] Terens: It would be initialized with constructor. I know that I can but I haven't seen it in any gem
[17:59:53] x77686d: has joined #ruby
[17:59:56] havenwood: terens: Look at Pry for example.
[18:00:11] spiette_: has joined #ruby
[18:00:55] arkinor: has joined #ruby
[18:01:09] marr: has joined #ruby
[18:06:41] orbyt_: has joined #ruby
[18:08:33] shinnya: has joined #ruby
[18:11:47] chouhoulis: has joined #ruby
[18:12:05] spiette_: has joined #ruby
[18:15:40] sanscoeur: has joined #ruby
[18:17:59] white_lilies: has joined #ruby
[18:18:40] SynSynack: has joined #ruby
[18:19:28] hinbody: has joined #ruby
[18:20:31] infernix: has joined #ruby
[18:20:37] schneide_: has joined #ruby
[18:21:21] veduardo_: has joined #ruby
[18:27:15] schneide_: has joined #ruby
[18:29:07] eroux: has joined #ruby
[18:31:00] ramfjord: has joined #ruby
[18:33:32] rrutkowski: has joined #ruby
[18:34:14] elphe: has joined #ruby
[18:37:40] RougeR: has joined #ruby
[18:38:36] n0m4d1c: has joined #ruby
[18:39:50] reber: has joined #ruby
[18:40:21] cadillac_: has joined #ruby
[18:45:36] dionysus69: has joined #ruby
[18:45:52] alfiemax_: has joined #ruby
[18:48:12] white_lilies: has joined #ruby
[18:48:28] conta: has joined #ruby
[18:49:46] cadillac_: has joined #ruby
[18:49:50] alfiemax: has joined #ruby
[18:59:50] white_lilies: has joined #ruby
[19:01:55] cadillac_: has joined #ruby
[19:03:59] Papierkorb: has joined #ruby
[19:04:20] Kilo`byte: has joined #ruby
[19:04:48] alfiemax: has joined #ruby
[19:09:00] eckhardt: has joined #ruby
[19:09:05] schneide_: has joined #ruby
[19:12:46] alfiemax: has joined #ruby
[19:15:38] TinkerTyper: has joined #ruby
[19:15:56] graft: has joined #ruby
[19:15:57] graft: has joined #ruby
[19:17:19] mikecmpbll: has joined #ruby
[19:17:54] white_lilies: has joined #ruby
[19:18:37] x77686d: has joined #ruby
[19:18:54] TinkerTyper: has joined #ruby
[19:19:02] ramfjord: has joined #ruby
[19:23:47] Jameser: has joined #ruby
[19:24:16] Kilo`byte: has joined #ruby
[19:26:34] sameerynho: has joined #ruby
[19:26:54] ldepandis: has joined #ruby
[19:27:02] craysiii: has joined #ruby
[19:27:24] peteretep: has joined #ruby
[19:27:40] KnownSyntax: has joined #ruby
[19:29:02] apeiros_: has joined #ruby
[19:29:36] Tony-St4rk: has joined #ruby
[19:30:33] andersh: has joined #ruby
[19:30:41] Mendel: has joined #ruby
[19:30:52] cttttt: has joined #ruby
[19:30:58] cardoni: has joined #ruby
[19:31:06] sina: has joined #ruby
[19:31:17] kireevco: has joined #ruby
[19:33:14] jnollette: has joined #ruby
[19:33:15] zigzig: has joined #ruby
[19:33:52] marr: has joined #ruby
[19:34:42] safetypin: has joined #ruby
[19:35:37] kies: has joined #ruby
[19:40:35] Puffball: has joined #ruby
[19:41:04] tuxaanand: has joined #ruby
[19:41:32] claudiuinberlin: has joined #ruby
[19:42:25] envex: has joined #ruby
[19:42:48] banisterfiend: has joined #ruby
[19:43:38] ledestin: has joined #ruby
[19:45:01] alfiemax: has joined #ruby
[19:45:06] suhdood: has joined #ruby
[19:45:26] rrutkowski: has joined #ruby
[19:47:18] Papierkorb: has left #ruby: ("Konversation terminated!")
[19:47:26] envex: has joined #ruby
[19:47:36] faelkle: has joined #ruby
[19:49:10] n0m4d1c_: has joined #ruby
[19:57:28] alfiemax: has joined #ruby
[20:01:03] alfiemax: has joined #ruby
[20:06:30] alfiemax: has joined #ruby
[20:08:33] x77686d: has joined #ruby
[20:16:13] psychicist__: has joined #ruby
[20:17:25] traxnov: has joined #ruby
[20:18:17] cagomez: has joined #ruby
[20:20:22] bruce_lee: has joined #ruby
[20:20:22] bruce_lee: has joined #ruby
[20:22:24] elphe: has joined #ruby
[20:23:36] alfiemax: has joined #ruby
[20:29:59] InfinityFye: has joined #ruby
[20:31:58] white_lilies: has joined #ruby
[20:34:45] TomyLobo: has joined #ruby
[20:36:41] alfiemax: has joined #ruby
[20:37:56] rrutkowski: has left #ruby: ()
[20:38:16] n0m4d1c: has joined #ruby
[20:38:48] white_lilies: has joined #ruby
[20:38:54] rrutkowski: has joined #ruby
[20:41:01] nicesignal: has joined #ruby
[20:45:39] shinnya: has joined #ruby
[20:50:20] kelp: has joined #ruby
[20:53:44] cschneid_: has joined #ruby
[20:57:36] x77686d: has joined #ruby
[21:06:20] alfiemax: has joined #ruby
[21:06:21] cdg: has joined #ruby
[21:08:59] pastorinni: has joined #ruby
[21:11:55] cdg_: has joined #ruby
[21:12:10] hahuang65: has joined #ruby
[21:13:33] hahuang65: has joined #ruby
[21:17:14] white_lilies: has joined #ruby
[21:19:22] zapata: has joined #ruby
[21:22:29] ecuanaso: has joined #ruby
[21:23:31] alfiemax: has joined #ruby
[21:23:59] psychicist__: has joined #ruby
[21:25:40] atchoum: has joined #ruby
[21:27:40] jottr: has joined #ruby
[21:32:53] schneide_: has joined #ruby
[21:32:53] cagomez: has joined #ruby
[21:32:54] DoubleMalt: has joined #ruby
[21:33:04] CPngN_: has joined #ruby
[21:33:10] orbyt_: has joined #ruby
[21:33:29] jnollette: has joined #ruby
[21:34:30] guacamole: has joined #ruby
[21:34:30] guacamole: has joined #ruby
[21:34:31] banisterfiend: has joined #ruby
[21:35:52] minimalism: has joined #ruby
[21:36:26] Papierkorb: has joined #ruby
[21:36:57] elphe: has joined #ruby
[21:43:26] suhdood: has joined #ruby
[21:43:27] eckhardt: has joined #ruby
[21:44:05] banisterfiend: has joined #ruby
[21:47:09] marmorkreb: has joined #ruby
[21:50:44] psychicist__: has joined #ruby
[21:52:12] white_lilies: has joined #ruby
[21:53:15] nowhereman_: has joined #ruby
[21:56:06] schneide_: has joined #ruby
[21:56:20] kelp: has joined #ruby
[21:56:44] milardovich: has joined #ruby
[22:01:21] schneide_: has joined #ruby
[22:01:42] Azure: has joined #ruby
[22:02:00] faelkle: has joined #ruby
[22:02:31] faelkle: has joined #ruby
[22:02:50] ziadoz: has joined #ruby
[22:05:48] alfiemax: has joined #ruby
[22:13:52] arkinor: has joined #ruby
[22:15:15] eckhardt: has joined #ruby
[22:18:03] schneide_: has joined #ruby
[22:19:04] faelkle: has joined #ruby
[22:20:02] rwb: has joined #ruby
[22:24:44] nowhereman_: has joined #ruby
[22:24:58] quobo: has joined #ruby
[22:26:22] nowhere_man: has joined #ruby
[22:27:13] faelkle: has joined #ruby
[22:28:01] tAn: has joined #ruby
[22:28:26] schneide_: has joined #ruby
[22:31:27] white_lilies: has joined #ruby
[22:32:26] amirite: has joined #ruby
[22:36:47] schneide_: has joined #ruby
[22:38:16] jeffreylevesque: has joined #ruby
[22:39:51] alfiemax: has joined #ruby
[22:40:25] mtkd: has joined #ruby
[22:41:52] apeiros_: has joined #ruby
[22:43:54] zigzig: has joined #ruby
[22:44:05] nicesignal: has joined #ruby
[22:44:19] aguestuser: has joined #ruby
[22:48:56] kelp: has joined #ruby
[22:52:52] alfiemax: has joined #ruby
[22:56:31] n0m4d1c: has joined #ruby
[22:58:23] nadir: has joined #ruby
[22:58:33] aguestuser: has joined #ruby
[23:00:37] white_lilies: has joined #ruby
[23:01:21] alfiemax: has joined #ruby
[23:02:59] ur5us: has joined #ruby
[23:05:46] envex: has joined #ruby
[23:07:43] cschneid: has joined #ruby
[23:11:12] white_lilies: has joined #ruby
[23:11:44] leah2: has joined #ruby
[23:12:31] jottr: has joined #ruby
[23:12:36] lucas: has joined #ruby
[23:14:00] RougeR: has joined #ruby
[23:14:00] RougeR: has joined #ruby
[23:14:03] alfiemax: has joined #ruby
[23:16:32] Biohazard: has joined #ruby
[23:22:33] alfiemax: has joined #ruby
[23:23:43] jnollette: has joined #ruby
[23:25:29] aguestuser: has joined #ruby
[23:27:12] jottr: has joined #ruby
[23:27:49] x77686d: has joined #ruby
[23:28:09] jnollette: has joined #ruby
[23:28:09] zigzig: has joined #ruby
[23:28:46] guacamole: has joined #ruby
[23:28:47] guacamole: has joined #ruby
[23:29:29] _aeris_: has joined #ruby
[23:30:20] apeiros_: has joined #ruby
[23:30:53] joast: has joined #ruby
[23:35:59] alfiemax: has joined #ruby
[23:40:32] rasterick: has joined #ruby
[23:41:00] Asher: has joined #ruby
[23:41:34] rasterick: i am a newbie to Ruby ... may i ask for help here
[23:42:06] mozzarella: that's what this channel is for I think
[23:42:10] vutral|kali: has joined #ruby
[23:42:10] vutral|kali: has joined #ruby
[23:42:35] rasterick: i configured a prog which resulted in a Rakefile .. i am used to getting a Makefile ...
[23:42:43] rasterick: thank you sir
[23:43:01] joast: has joined #ruby
[23:43:13] rasterick: i installed the latest Ruby with rake.cmd but it gives me errors instead of compiling
[23:43:26] rasterick: what am i doing wrong ?
[23:44:59] rasterick: thank you for your help mazarella
[23:45:34] milardovich: has joined #ruby
[23:45:45] rasterick: should i install the v2.4 Ruby instead maybe ?
[23:47:21] rasterick: oops, thank you mozzarella
[23:49:28] white_lilies: has joined #ruby
[23:50:31] rasterick: here are the errors
[23:50:34] rasterick: rakefile: line 3: syntax error near unexpected token `'ALRM''
[23:50:48] rasterick: rakefile: line 3: ` if Signal.list.key?('ALRM')'
[23:51:29] rasterick: any ideas ?
[23:56:08] rasterick_: has joined #ruby
[23:56:21] rasterick_: drat, closed the wrong window
[23:56:48] zapata: has joined #ruby
[23:58:14] apeiros_: has joined #ruby
[23:58:55] n0m4d1c: has joined #ruby
[23:59:53] rasterick_: but i am still here