« Back to channel list

#ruby - 12 July 2018

« Back 1 day Forward 1 day »
[00:08:35] jhack: has joined #ruby
[00:12:47] hays_: has joined #ruby
[00:12:48] hays_: has joined #ruby
[00:30:43] jaequery: has joined #ruby
[00:31:53] hays_: any major differences in MRI implementation for Linux vs. Mac/Windows that might underlie an issue I am having where a script using celluloid would only crash in Linux?
[00:32:54] hays_: kind of a vague question i know, but im a bit at a loss why i only seem to experience problems on linux
[00:33:39] hays_: script running on powerful, underutilized server--crash and burn. Run it on a Windows laptop, no problems
[00:33:43] pabs: has joined #ruby
[00:34:20] bougyman: same ruby version?
[00:34:26] ciscam: has joined #ruby
[00:35:08] g-: you have a stack trace? did you notice the 9 celluloid issues on github that contain 'crash'?
[00:37:23] hays_: bougyman: yeah
[00:39:07] hays_: g-: I do, and I am working that angle also--probably some unhandled exception. but I still find it puzzling that this only happens on linux machine
[00:40:41] alfiemax: has joined #ruby
[00:48:05] g-: maybe try it on a different Linux install?
[00:48:21] hays_: oh i have
[00:48:40] hays_: its now across two distros even
[00:48:54] anjen: has joined #ruby
[00:49:15] hays_: one day i will have the time to actually track down this bug and fix it, but I was just hoping there might be some major differences in platform that could give me a hint
[00:52:12] g-: external dependencies? does it use a db? same db version? just thinking here.
[00:56:54] chouhoulis: has joined #ruby
[00:59:34] pharma_joe: has joined #ruby
[00:59:53] jasmith: has joined #ruby
[01:01:38] giz|lazer: has joined #ruby
[01:03:59] troplex: has joined #ruby
[01:04:30] troplex: Hello everyone, I have a question regarding attributes and instance variables. Anyone can help?
[01:13:10] hays_: g-: nope. no DB. it does some TCP comms
[01:13:20] hays_: writes to disk
[01:13:50] hays_: i have some semaphores to make sure stuff doesn't get stomped on
[01:15:58] kapil___: has joined #ruby
[01:16:13] hays_: oh well. it was a bit of a shot in the dark anyways
[01:17:57] g-: does celluloid require a particular scheduler in the Linux kernel?
[01:19:14] jmcgnh: has joined #ruby
[01:22:48] graphene: has joined #ruby
[01:23:10] subroot: has joined #ruby
[01:33:29] herbmillerjr: has joined #ruby
[01:35:56] zugzug: Hey folks, I'm trying to figure out why Open.capture2e('ruby', <some-file>, stdin_data: ...) behaves differently from Open.capture2e(<some-file>, stdin_data: ...). Would appreciate if someone could look at the gist here: https://gist.github.com/zug-zug/2f2e81f4963333542a90ced87595f5bc
[01:37:07] chouhoulis: has joined #ruby
[01:41:22] kryptoz: has joined #ruby
[01:43:10] hays_: g-: I don't think so.
[01:45:10] hays_: scheduler is just cfs these days right?
[01:45:27] hays_: the IO scheduler is per HDD but id have to check what the default is.. deadline?
[01:45:55] nicht: has joined #ruby
[01:48:06] hays_: cfq looks to be the default at least in ubuntu
[01:48:59] millz: has joined #ruby
[01:49:36] white_lilies: has joined #ruby
[01:53:00] knight33: has joined #ruby
[01:58:55] akkiguru_: has joined #ruby
[01:59:59] pharma_joe: has joined #ruby
[02:00:39] giz|lazer|2: has joined #ruby
[02:01:40] willthechill: has joined #ruby
[02:04:48] g-: zugzug: can you post it somewhere that doesn't require a login?
[02:05:57] g-: hays_: is it open source? i can try it on a local Debian tomorrow if you're still stuck.
[02:09:18] jhack: has joined #ruby
[02:09:18] jhack: has joined #ruby
[02:11:36] Beams: has joined #ruby
[02:17:20] hays_: g- unfortunately not really--plus it would not be fair to ask you to do my work for me, but I appreciate the offer
[02:18:38] MagePsycho: has joined #ruby
[02:20:18] tdy: has joined #ruby
[02:22:10] yosafbridge: has joined #ruby
[02:23:22] Immune: has joined #ruby
[02:23:50] bmurt: has joined #ruby
[02:24:07] Immune: has left #ruby: ()
[02:27:46] cosmopaladin: has joined #ruby
[02:31:48] akkiguru_: has joined #ruby
[02:32:51] cosmopaladin: has joined #ruby
[02:34:28] zugzug: g-: hmm i was under the impression the gists didn't require logins. wtf
[02:35:26] kent\n: has joined #ruby
[02:35:40] zugzug: g-: FYI I confirmed that the gist is accessible *without* logging into github: https://gist.github.com/zug-zug/2f2e81f4963333542a90ced87595f5bc
[02:37:06] evdubs_: has joined #ruby
[02:38:13] alfiemax: has joined #ruby
[02:38:52] evdubs_: hi - is there a common way in ruby to make sure that debug log lines are effectively a no-op when logging is at a more severe level (like error)? i think the java way to do this would be to make the log level a static final variable and the JIT can see that and optimize log level checks out along with the debug log lines themselves
[02:38:55] SeepingN: has joined #ruby
[02:38:57] g-: zugzug: I get the same output for both
[02:42:46] zugzug: g-: interesting ... what output do you get? (and what version of Ruby? I'm on 2.3.6p384)
[02:43:50] elomatreb: evdubs_: You can write a log method that runs a block, and based on the log level decides not to run the block
[02:43:54] g-: evdubs_: https://ruby-doc.org/stdlib-2.4.0/libdoc/logger/rdoc/Logger.html seems to say your logger level controls this, 2nd paragraph
[02:44:33] g-: zugzug: "> foo\n> bar\n> ! foo\n! bar\n", ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
[02:44:45] elomatreb: That just controls printing though, if you do `Log.debug expensive_method_call` it will still run the method even if it won't print the output
[02:45:35] g-: so check the log level of the Logger and don't run expensive_method_call
[02:46:01] evdubs_: g-, that's what i'm trying to see if i can optimize further
[02:46:08] elomatreb: Oh, logger actually supports the technique I mentioned: https://ruby-doc.org/stdlib-2.4.0/libdoc/logger/rdoc/Logger.html#class-Logger-label-How+to+log+a+message
[02:46:32] elomatreb: The block form is what you want
[02:46:43] evdubs_: thanks g- and elomatreb
[02:46:50] elomatreb: It won't do as much optimization as in Java, but it'll still save you the method call
[02:49:35] g-: elomatreb: sweet, learned something :)
[02:49:48] apeiros: has joined #ruby
[02:52:00] zugzug: g-: thanks for the sanity check; I'm on macosx and just checked on Linux - I get the same results you do on Linux
[03:10:55] braincrash: has joined #ruby
[03:11:55] closequarters: has joined #ruby
[03:17:31] cadillac_: has joined #ruby
[03:34:30] kryptoz: has joined #ruby
[03:49:19] darkhanb: has joined #ruby
[03:57:10] _whitelogger: has joined #ruby
[04:00:45] gix-: has joined #ruby
[04:10:08] chkhanch: has joined #ruby
[04:13:12] Beams: has joined #ruby
[04:14:38] memo1: has joined #ruby
[04:15:59] memo1: hi, i have a git repository with a ruby script. I need to replicate this scripts to many machines, but the varibles inside the scripts depends on every machine. How i integrate environments varibles with ruby and git?
[04:20:47] dellavg: has joined #ruby
[04:25:17] raynold: has joined #ruby
[04:29:06] elomatreb: memo1: You can access the environment variables with the ENV global (e.g. `ENV["HOME"]`)
[04:32:15] chouhoulis: has joined #ruby
[04:41:04] tdy: has joined #ruby
[04:44:21] jenrzzz: has joined #ruby
[04:44:29] jenrzzz: has joined #ruby
[04:45:35] akm: has joined #ruby
[04:46:09] havenwood: memo1: Are the environment variables secrets?
[04:47:54] havenwood: memo1: There are gems like dotenv, or you can just create a shim that exports vars before running Ruby, etc.
[04:49:03] memo1: havenwood: yes, are secret.
[04:55:33] chouhoulis: has joined #ruby
[04:59:34] devyn: has joined #ruby
[05:01:23] anisha: has joined #ruby
[05:02:00] sagax: has joined #ruby
[05:03:40] alfiemax: has joined #ruby
[05:05:55] tvw: has joined #ruby
[05:07:46] pharma_j_: has joined #ruby
[05:12:53] mtkd: has joined #ruby
[05:18:11] jenrzzz: has joined #ruby
[05:18:12] jenrzzz: has joined #ruby
[05:20:15] sauvin: has joined #ruby
[05:22:36] howdoi: has joined #ruby
[05:27:01] StarSeed0000: has joined #ruby
[05:37:00] rippa: has joined #ruby
[05:37:37] akkiguru_: has joined #ruby
[05:38:40] alfiemax: has joined #ruby
[05:41:00] LightStalker: has joined #ruby
[05:53:30] graphene: has joined #ruby
[05:53:49] armyriad: has joined #ruby
[05:53:55] aupadhye: has joined #ruby
[05:54:13] salasrod: has joined #ruby
[05:58:07] schleppel: has joined #ruby
[05:59:17] shinnya: has joined #ruby
[06:08:22] akm: has joined #ruby
[06:17:00] havenwood: memo1: Rails has gone to encrypted credentials with a single master key to decrypt them.
[06:17:14] havenwood: memo1: https://medium.com/cedarcode/rails-5-2-credentials-9b3324851336
[06:19:32] akkiguru_: has joined #ruby
[06:25:47] kryptoz: has joined #ruby
[06:26:30] havenwood: memo1: Here's my take on it: https://gist.github.com/havenwood/396aadc6f222f52f2f2c7d8d8cbe82c2
[06:26:47] chkhanch: has joined #ruby
[06:30:13] anisha: has joined #ruby
[06:38:23] dionysus69: has joined #ruby
[06:41:39] konsolebox: has joined #ruby
[06:48:50] kryptoz: has joined #ruby
[06:50:03] eblip: has joined #ruby
[06:56:47] Mike11: has joined #ruby
[06:56:49] andikr: has joined #ruby
[06:57:22] chkhanch: has joined #ruby
[07:00:22] yohji: has joined #ruby
[07:02:51] postmodern: has joined #ruby
[07:04:14] Mrgoose: has joined #ruby
[07:05:54] TvL2386_: has joined #ruby
[07:10:40] jnollette: has joined #ruby
[07:13:29] clemens3: has joined #ruby
[07:13:53] claudiuinberlin: has joined #ruby
[07:21:12] alfiemax: has joined #ruby
[07:22:19] burgestrand: has joined #ruby
[07:24:11] kryptoz: has joined #ruby
[07:30:20] za1b1tsu: has joined #ruby
[07:30:21] Dbugger: has joined #ruby
[07:35:57] pabs: has joined #ruby
[07:38:46] LightStalker: has joined #ruby
[07:38:52] kapil___: has joined #ruby
[07:44:55] akkiguru_: has joined #ruby
[07:52:23] redlegion: has joined #ruby
[07:52:52] ciscam: has joined #ruby
[07:54:47] conta: has joined #ruby
[07:59:51] eb0t: has joined #ruby
[08:00:26] mikecmpbll: has joined #ruby
[08:05:28] alem0lars: has joined #ruby
[08:07:50] kryptoz: has joined #ruby
[08:11:10] guille-moe: has joined #ruby
[08:13:43] Sylario: has joined #ruby
[08:15:22] karapetyan: has joined #ruby
[08:18:30] biberu: has joined #ruby
[08:22:07] amar: has joined #ruby
[08:23:18] lxsameer: has joined #ruby
[08:24:48] mikecmpb_: has joined #ruby
[08:25:35] jraavis: has joined #ruby
[08:26:22] nima_m: has joined #ruby
[08:27:56] jottr: has joined #ruby
[08:31:04] nowhere_man: has joined #ruby
[08:31:43] nima_m: has joined #ruby
[08:35:38] lxsameer: has joined #ruby
[08:40:12] jraavis: has joined #ruby
[08:42:27] ellcs: has joined #ruby
[08:52:52] _lyte_: has joined #ruby
[08:54:30] sticaz: has joined #ruby
[08:54:46] TinkerT: has joined #ruby
[08:56:24] ciscam: has joined #ruby
[09:01:13] Beams: has joined #ruby
[09:04:04] venmx: has joined #ruby
[09:09:02] nowhere_man: has joined #ruby
[09:14:15] LightStalker: has joined #ruby
[09:17:35] Puffball: has joined #ruby
[09:17:47] karapetyan: has joined #ruby
[09:26:04] nowhere_man: has joined #ruby
[09:32:27] nowhere_man: has joined #ruby
[09:36:15] karapetyan: has joined #ruby
[09:36:54] reber: has joined #ruby
[09:36:55] venmx: has joined #ruby
[09:40:11] reber: has joined #ruby
[09:41:22] alem0lars_: has joined #ruby
[09:45:33] duderonomy: has joined #ruby
[09:51:04] venmx: has joined #ruby
[09:51:36] nima_m: has joined #ruby
[09:52:06] mikecmpbll: has joined #ruby
[09:53:28] jraavis: has joined #ruby
[09:55:33] TvL2386: has joined #ruby
[09:56:55] akkiguru_: has joined #ruby
[09:58:05] ur5us: has joined #ruby
[10:02:37] kryptoz: has joined #ruby
[10:07:28] TvL2386: has joined #ruby
[10:10:54] apeiros: has joined #ruby
[10:18:13] cyberg: has joined #ruby
[10:21:24] TvL2386: has joined #ruby
[10:27:50] ellcs: has joined #ruby
[10:28:43] BTRE: has joined #ruby
[10:34:54] GodFather: has joined #ruby
[10:37:42] dionysus69: has joined #ruby
[10:50:23] Asher1: has joined #ruby
[10:52:34] chkhanch: has joined #ruby
[10:54:56] conta: has joined #ruby
[10:55:07] GodFather: has joined #ruby
[11:09:40] ur5us: has joined #ruby
[11:11:46] amar_: has joined #ruby
[11:12:18] SunnyLumens: has joined #ruby
[11:12:21] redlegion: has joined #ruby
[11:12:37] SunnyLumens: noob question
[11:13:07] Dbugger: has joined #ruby
[11:13:08] SunnyLumens: what is name of |this thing| in iterating blocks
[11:13:27] SunnyLumens: its hard to google such symbols you know .. )
[11:13:55] SunnyLumens: <% @article.errors.full_messages.each do |msg| %>
[11:14:04] SunnyLumens: <li><%= msg %></li>
[11:14:04] Megamos: has joined #ruby
[11:14:52] SunnyLumens: looks like it assigns lefthand to msg but im not sure and i want to know how to properly name this feature
[11:20:43] universa1: SunnyLumens: block parameters?
[11:20:50] konsolebox: block argument perhaps
[11:25:17] konsolebox: SunnyLumens: a block is basically treated like a method. the "yielder" internally calls the block. in your example, `each` is the "yielder", and it calls the block method in a loop, with the "msg" passed as an argument to it.
[11:25:38] InfinityFye: has joined #ruby
[11:27:09] burgestrand: has joined #ruby
[11:28:25] SunnyLumens: my example construction confuses me as im new to erb style and dont get where are block boundaries
[11:29:10] konsolebox: the next end maybe
[11:29:34] AJA4350: has joined #ruby
[11:31:01] fluffy: has joined #ruby
[11:31:07] InfinityFye: has left #ruby: ("Leaving")
[11:31:12] fluffy: hello there ! anyone here?
[11:32:37] alfiemax: has joined #ruby
[11:32:50] quobo: has joined #ruby
[11:36:01] alfiemax: has joined #ruby
[11:40:02] snickers: has joined #ruby
[11:42:15] jnollette: has joined #ruby
[11:42:45] nowhere_man: has joined #ruby
[11:43:50] RougeR: has joined #ruby
[11:43:50] RougeR: has joined #ruby
[11:46:24] Bish: is it just me or does kotlin pretty much look like ruby
[11:46:37] Bish: args filter {it.length() > 0} forEach {print("Hello, $it!")}
[11:52:01] ciscam: has joined #ruby
[11:55:39] konsolebox: i don't get to really like languages that are compulsive at using spaces over explicit symbols
[11:56:26] konsolebox: yes, i'm also talking about haskell
[11:58:28] synthroid: has joined #ruby
[11:59:01] BTRE: has joined #ruby
[12:15:37] fmcgeough: has joined #ruby
[12:23:01] claudiuinberlin: has joined #ruby
[12:26:20] Bish: konsolebox: i get it, and suprisingly that is because of ruby
[12:26:26] Bish: when doing something like
[12:26:48] Bish: puts JSON.parse <<EOF
[12:26:56] Bish: puts (JSON.parse <<EOF)
[12:26:58] Bish: more than
[12:27:02] Bish: puts JSON.parse(<<EOF)
[12:27:06] alex```: has joined #ruby
[12:27:07] Bish: i know, those both do nothing
[12:27:30] Bish: it's more readable
[12:31:19] chainz: has joined #ruby
[12:32:15] tvw: has joined #ruby
[12:32:20] chainz: where might be a good place to look for ruby developers looking for employment?
[12:33:56] chainz: figured this was a good place to start :)
[12:34:20] chainz: yah, our recruiters are already checking indeed and the like i'm sure
[12:36:58] Bish: what does a ruby dev earn nowadays
[12:38:31] shinnya: has joined #ruby
[12:38:37] chainz: according to google, Senior Ruby Developer Salary. A Senior Ruby Developer earns an average salary of $101,736 per year.
[12:42:22] apeiros: chainz: such numbers make zero sense without location
[12:43:28] chainz: yah, that's probably an average
[12:43:35] chainz: this is in the boston area
[12:43:50] chainz: suburbs of boston technically
[12:44:09] bak1an: has joined #ruby
[12:44:34] chainz: but either there aren't many ruby devs around here or no one wants to work for this company :)
[12:45:46] beefjoe: has joined #ruby
[12:49:23] psychicist__: has joined #ruby
[12:54:28] k0mpa: has joined #ruby
[12:56:29] za1b1tsu: has joined #ruby
[12:57:15] Ouchy: has joined #ruby
[12:57:16] Ouchy: has joined #ruby
[12:57:36] Ouchy`w: has joined #ruby
[12:58:56] alfiemax: has joined #ruby
[13:00:49] za1b1tsu: anybody using vim with ruby? when using K on a keyword it outputs weird stuff. Anybody messed with K, keywordprg do get some proper documentation?
[13:03:16] NL3limin4t0r: has joined #ruby
[13:06:10] ldnunes: has joined #ruby
[13:07:48] bmurt: has joined #ruby
[13:11:03] alem0lars: has joined #ruby
[13:12:24] fmcgeough: has joined #ruby
[13:12:51] Kreosan: has joined #ruby
[13:18:48] soniya29: has joined #ruby
[13:18:50] konsolebox: vim may not have enough Ruby support
[13:19:39] za1b1tsu: Anyway I can get documentation using pry, but not inside the interactive shell?
[13:20:01] Bish: guess not, since it uses the internal pager
[13:20:18] Bish: but i guess you could invoke that
[13:21:54] za1b1tsu: when using ri inside a rails project, for example ri String, it looks for classes inside the project. Anyway I could force it to show Ruby documentation in general?
[13:26:12] Bish: and you see it's code
[13:26:20] Bish: i gues you could read from there, how it works
[13:26:46] Bish: and do whatever pry can do
[13:27:37] Bish: ri.display_names [spec] # Get the documentation (finally!
[13:29:04] za1b1tsu: I had to do rvm docs generate-ri inside the project
[13:29:35] snickers: has joined #ruby
[13:35:14] Inline: has joined #ruby
[13:41:42] Rapture: has joined #ruby
[13:43:28] alfiemax: has joined #ruby
[13:52:48] snickers: has joined #ruby
[13:52:54] GodFather: has joined #ruby
[13:54:03] gnufied: has joined #ruby
[13:55:32] cyberg: has joined #ruby
[13:59:59] RougeR: dont suppose anyones after a ruby dev in the uk?
[14:01:17] desperek: has joined #ruby
[14:01:27] jcalla: has joined #ruby
[14:04:08] kryptoz: has joined #ruby
[14:07:21] Mike11: has joined #ruby
[14:07:43] suukim: has joined #ruby
[14:10:05] mikecmpbll: has joined #ruby
[14:10:12] bak1an_: has joined #ruby
[14:10:23] bkxd: has joined #ruby
[14:10:52] GodFather: has joined #ruby
[14:13:24] memo1: has joined #ruby
[14:15:42] jrafanie: has joined #ruby
[14:17:45] alfiemax: has joined #ruby
[14:19:27] bkxd: has joined #ruby
[14:24:41] conta1: has joined #ruby
[14:25:56] mynameisdebian: has joined #ruby
[14:33:26] GodFather: has joined #ruby
[14:39:16] tty: has joined #ruby
[14:40:40] psychicist__: has joined #ruby
[14:43:53] soniya29: has joined #ruby
[14:45:42] beefjoe: has joined #ruby
[14:46:16] synthroid: has joined #ruby
[14:48:52] alem0lars: has joined #ruby
[14:59:06] knight33: has joined #ruby
[15:05:04] Asher: has joined #ruby
[15:20:13] alex```: has joined #ruby
[15:20:48] claudiuinberlin: has joined #ruby
[15:22:28] banisterfiend: has joined #ruby
[15:25:08] Megamos: has joined #ruby
[15:27:00] conta1: has joined #ruby
[15:27:09] banisterfiend: has joined #ruby
[15:27:29] noobineer: has joined #ruby
[15:27:52] cadillac_: has joined #ruby
[15:29:21] amar_: has joined #ruby
[15:31:01] c0ncealed2: has joined #ruby
[15:31:07] jcalla: has joined #ruby
[15:31:53] amar_: has joined #ruby
[15:32:00] troys: has joined #ruby
[15:36:46] alfiemax: has joined #ruby
[15:36:56] arekushi: has joined #ruby
[15:38:43] karapetyan: has joined #ruby
[15:47:06] memo1: has joined #ruby
[15:47:39] amar_: has joined #ruby
[15:48:19] yokel: has joined #ruby
[15:48:44] Tempesta: has joined #ruby
[15:48:46] graphene: has joined #ruby
[15:49:44] amarks: has joined #ruby
[15:50:29] amar_: has joined #ruby
[15:52:58] Asher: has joined #ruby
[15:53:15] joast: has joined #ruby
[15:56:20] karapetyan: has joined #ruby
[15:59:45] spiette: has joined #ruby
[16:02:13] karapety_: has joined #ruby
[16:03:58] cadillac_: has joined #ruby
[16:04:16] Zaab1t: has joined #ruby
[16:08:20] ivanskie: has joined #ruby
[16:09:29] alfiemax_: has joined #ruby
[16:09:51] kryptoz: has joined #ruby
[16:10:52] willthechill: has joined #ruby
[16:15:52] cagomez: has joined #ruby
[16:21:01] jcarl43: has joined #ruby
[16:22:43] karapetyan: has joined #ruby
[16:27:14] karapetyan: has joined #ruby
[16:28:42] loincloth: has joined #ruby
[16:29:53] loincloth: graphql-client... graphql-ruby-client... graphlient... or something else idk??? anybody feel passionate about graphql clients :P
[16:30:19] baweaver: chainz: apeiros is right, it'll vary a lot.
[16:30:25] nicesignal: has joined #ruby
[16:30:27] loincloth: looking to try one and curious if anyone has preferences
[16:30:41] baweaver: In the Bay Area a Senior Ruby dev could probably pull 150-180 base plus options.
[16:31:02] baweaver: though that also takes the vague definition of senior at level.
[16:32:45] karapetyan: has joined #ruby
[16:32:56] amar_: has joined #ruby
[16:33:36] baweaver: Also if you're using any JS, this is a nasty issue: https://github.com/eslint/eslint-scope/issues/39
[16:35:59] baweaver: Looks like it got unpublished, but if you have 3.7.2 be careful
[16:36:34] darkhanb: has joined #ruby
[16:37:05] raynold: has joined #ruby
[16:37:25] akm: has joined #ruby
[16:37:34] knight33: has joined #ruby
[16:39:05] AJA4350: has joined #ruby
[16:39:30] soniya29: has joined #ruby
[16:42:25] redlegion: has joined #ruby
[16:44:39] banisterfiend: has joined #ruby
[16:47:34] alfiemax: has joined #ruby
[16:49:08] bmurt: has joined #ruby
[16:51:18] dipnlik: has joined #ruby
[16:51:21] alfiemax_: has joined #ruby
[16:52:08] gizmore: has joined #ruby
[16:54:00] gizmore: << puts "havenwood: you are the best ruby supporter i ever encountered"
[16:54:12] gizmore: >> puts "really"
[16:54:13] ruby[bot]: gizmore: # => really ...check link for more (https://eval.in/1035624)
[16:54:41] rsh: has joined #ruby
[16:55:11] synthroid: has joined #ruby
[16:55:20] npgm: has joined #ruby
[16:56:45] gizmore: havenwood: https://github.com/gizmore/GDO-Register/blob/master/lib/GDO/Register/GDO_SignupIP.rb (comments welcome, also from others)
[16:57:14] Asher: has joined #ruby
[16:58:43] sameerynho: has joined #ruby
[17:02:25] redlegion: has joined #ruby
[17:12:28] redlegion: has joined #ruby
[17:13:12] eckhardt_: has joined #ruby
[17:15:49] graphene: has joined #ruby
[17:16:43] dviola: has joined #ruby
[17:16:57] desperek: has joined #ruby
[17:18:00] mahlon_: has joined #ruby
[17:20:20] willthechill: has joined #ruby
[17:21:39] karapetyan: has joined #ruby
[17:21:48] mikecmpbll: has joined #ruby
[17:22:06] banisterfiend: has joined #ruby
[17:22:39] \void: has joined #ruby
[17:22:51] dellavg: has joined #ruby
[17:26:40] graphene: has joined #ruby
[17:28:41] alfiemax: has joined #ruby
[17:29:43] alex```: has joined #ruby
[17:30:15] alfiemax: has joined #ruby
[17:30:30] akm: has joined #ruby
[17:30:39] salasrod_: has joined #ruby
[17:32:49] karapetyan: has joined #ruby
[17:45:50] snickers: has joined #ruby
[17:48:46] graphene: has joined #ruby
[17:57:16] guille-moe: has joined #ruby
[18:00:14] karapetyan: has joined #ruby
[18:00:51] reber__: has joined #ruby
[18:04:32] ElFerna: has joined #ruby
[18:07:06] r29v: has joined #ruby
[18:09:14] clemens3: has joined #ruby
[18:10:14] mikecmpbll: has joined #ruby
[18:13:01] jenrzzz: has joined #ruby
[18:13:02] jenrzzz: has joined #ruby
[18:13:03] digimer: has left #ruby: ()
[18:17:19] karapetyan: has joined #ruby
[18:18:23] GodFather: has joined #ruby
[18:22:26] redlegion: has joined #ruby
[18:22:53] mikecmpbll: has joined #ruby
[18:27:56] TvL2386: has joined #ruby
[18:28:32] graphene: has joined #ruby
[18:41:36] subroot: has joined #ruby
[18:43:15] alfiemax: has joined #ruby
[18:45:26] jenrzzz: has joined #ruby
[18:45:26] jenrzzz: has joined #ruby
[18:55:29] jrafanie_: has joined #ruby
[19:00:37] mikhael_k33hl: has joined #ruby
[19:02:02] alfiemax_: has joined #ruby
[19:07:54] apeiros__: has joined #ruby
[19:09:14] Sembei: has joined #ruby
[19:09:55] nowhere_man: has joined #ruby
[19:12:53] ElFerna: has joined #ruby
[19:20:27] codymj: has joined #ruby
[19:24:41] anisha: has joined #ruby
[19:27:54] ElFerna: has joined #ruby
[19:30:21] synthroid: has joined #ruby
[19:32:13] rsh: has joined #ruby
[19:34:23] Nicmavr: has joined #ruby
[19:35:03] Hanmac: has joined #ruby
[19:40:22] jamesaxl: has joined #ruby
[19:47:00] reber: has joined #ruby
[19:47:02] reber__: has joined #ruby
[19:50:09] synthroid: has joined #ruby
[19:54:21] amar_: has joined #ruby
[19:58:53] snickers: has joined #ruby
[19:59:09] conta1: has joined #ruby
[20:02:28] graphene: has joined #ruby
[20:08:31] guille-moe: has joined #ruby
[20:09:23] bmurt: has joined #ruby
[20:12:32] duderono_: has joined #ruby
[20:16:28] duderonomy: has joined #ruby
[20:19:41] Megamos: has joined #ruby
[20:20:27] hph^: has joined #ruby
[20:20:51] hph^: has joined #ruby
[20:21:33] fot: has joined #ruby
[20:21:36] hph^: has joined #ruby
[20:21:57] hph^: has joined #ruby
[20:22:30] hph^: has joined #ruby
[20:28:50] bga57: has joined #ruby
[20:29:02] venmx: has joined #ruby
[20:35:03] amarks: has joined #ruby
[20:38:55] AJA4350: has joined #ruby
[20:39:29] nowhere_man: has joined #ruby
[20:40:31] AJA4350: has joined #ruby
[20:41:15] kliq: has joined #ruby
[20:46:29] jrafanie: has joined #ruby
[20:50:10] jamesaxl: has joined #ruby
[20:51:53] salasrod: has joined #ruby
[20:52:35] sticaz: has joined #ruby
[20:55:44] icy`: has joined #ruby
[20:58:14] tvw: has joined #ruby
[20:58:21] jenrzzz: has joined #ruby
[20:58:21] jenrzzz: has joined #ruby
[20:59:52] eckhardt_: has joined #ruby
[21:03:25] shinnya: has joined #ruby
[21:09:31] jenrzzz: has joined #ruby
[21:09:32] jenrzzz: has joined #ruby
[21:14:20] amar_: has joined #ruby
[21:15:53] sticaz: has joined #ruby
[21:18:14] leitz: has joined #ruby
[21:19:24] leitz: Is it good practice to use a glob for your bin files in a Gem?
[21:19:42] leitz: Or is there a better way as the number of files grows.
[21:20:54] gizmore: >> lat, lng = "1,2".split(',').map{|v|v.to_f}
[21:20:55] ruby[bot]: gizmore: # => [1.0, 2.0] (https://eval.in/1035682)
[21:21:21] gizmore: leitz: glob for what exactly?
[21:23:17] leitz: gizmore, all the files in the gem's bin directory.
[21:23:28] gizmore: globbed in gemspec?
[21:24:10] leitz: Trying to find a way to put an ever growing list into "executables" without listing every one.
[21:24:33] gizmore: make one main (gdo) and have module method as param
[21:24:39] darix: leitz: you can use globs
[21:24:46] darix: when constructing the list
[21:24:49] darix: the gemspec is ruby
[21:24:54] gizmore: like gdo Register Form --help
[21:25:08] gizmore: yeah globs should be fine
[21:25:18] gizmore: as long as you dont use it on a firefox sourcecode
[21:25:28] bmurt: has joined #ruby
[21:25:33] leitz: These aren't libraries, but executeables.
[21:25:59] darix: leitz: so?
[21:27:08] r29v: has joined #ruby
[21:27:42] leitz: So there's no module method. So far Dir.glob("*") tries to get everything in the base gem dir, and adding "bin/*" doesn't work either.
[21:28:56] leitz: Using Dir.glob("bin/") gives a double bin, like "bin/bin/build_book"
[21:29:04] ur5us: has joined #ruby
[21:29:45] leitz: Not using "bin/" means it tries to get everything from the gem base directory, like this: "bin/lib"
[21:30:35] leitz: Supper calls, back in a bit. I appreciate the help, my first gem that I'm trying to push up to rubygems.
[21:30:42] darix: leitz: so use it properly
[21:32:58] leitz: Darix, if I knew how, I would.
[21:34:18] leitz: This is what I'm working on: https://github.com/makhidkarun/ftl_tools/blob/master/ftl_tools.gemspec#L8
[21:34:34] karapetyan: has joined #ruby
[21:35:28] blackwind_123: has joined #ruby
[21:35:34] noobineer: has joined #ruby
[21:37:48] jordanm: has joined #ruby
[21:43:31] karapetyan: has joined #ruby
[21:43:38] pharma_joe: has joined #ruby
[21:48:00] havenwood: has joined #ruby
[21:48:01] havenwood: has joined #ruby
[21:53:39] envex: has joined #ruby
[21:53:48] rf`: has joined #ruby
[21:54:55] za1b1tsu: has joined #ruby
[21:55:17] envex: has joined #ruby
[21:56:13] Mikasi: has joined #ruby
[21:59:36] white_lilies: has joined #ruby
[22:02:58] gizmore: can i measure the clock ticks wasted in code?
[22:04:48] knight33: has joined #ruby
[22:04:51] Mike11: has joined #ruby
[22:15:42] mkaito: has joined #ruby
[22:15:42] mkaito: has joined #ruby
[22:21:33] ivanskie: has joined #ruby
[22:23:34] nowhere_man: has joined #ruby
[22:27:12] nowhere_man: has joined #ruby
[22:36:48] zachk: has joined #ruby
[22:37:13] zachk: has joined #ruby
[22:42:08] leitz: Oh, that's funny. Can't push a gem as I'm using a too far ahead version of Rubygems...
[22:42:52] bmurt: has joined #ruby
[22:45:30] fot: has joined #ruby
[22:53:26] fot: has joined #ruby
[22:55:49] mynameisdebian: has joined #ruby
[23:07:45] graphene: has joined #ruby
[23:09:03] karapetyan: has joined #ruby
[23:10:57] jenrzzz: has joined #ruby
[23:10:58] jenrzzz: has joined #ruby
[23:13:23] Asher: has joined #ruby
[23:18:03] salasrod: has joined #ruby
[23:19:28] salasrod: has joined #ruby
[23:21:07] white_lilies: has joined #ruby
[23:22:04] pharma_joe: has joined #ruby
[23:29:03] salasrod_: has joined #ruby
[23:30:04] Alec: has joined #ruby
[23:30:15] Alec: Hi there, do you have a Ruby bot?
[23:30:15] za1b1tsu: has joined #ruby
[23:31:29] bmurt: has joined #ruby
[23:32:39] Alec: (as in you give it small bits to run and it runs them)
[23:34:31] fffco: has joined #ruby
[23:37:56] ruby[bot]: elomatreb: # => "we do" (https://eval.in/1035703)
[23:38:22] elomatreb: But for playing around a local repl is probably more useful
[23:38:28] Alec: That just echos your output and gives you a link
[23:38:30] Alec: Doesn't count
[23:38:37] Alec: I mean that runs it
[23:38:41] ruby[bot]: elomatreb: # => 0.6482103472019425 (https://eval.in/1035704)
[23:38:46] Alec: Oh right duh.
[23:38:53] Alec: Sorry used to seeing puts.
[23:39:06] elomatreb: It wraps your input, click the link to see how
[23:39:27] _aeris_: has joined #ruby
[23:39:54] Alec: elomatreb: I've been talking to (if I may namedrop this, hopefully he wont mind) BanisterFeind, I read the ruby book he recommended - it had almost nothing on blocks and like most programming language books covered like loops, ifs ect, in C++ there's this great site, cppreference.org that gives you *references*
[23:41:06] Alec: Does Ruby have a thing like that? Like I don't want examples (I've fucking love "theory of computation" - which covers grammars and the like, it's borderline a fetish, it's weird and a little bit creepy) - I really want a reference not an example that leads one way later followed by "now check this out"
[23:41:06] Alec: Do you see what I mean by that?
[23:41:43] Alec: Like return and non-local returns, at first I was like "okay cool" and then came non-local returns and the model I'd build up of it was destroyed.
[23:41:55] elomatreb: Not sure, sorry. There are some other books linked in the topic, but I don't know if they check that box
[23:42:31] Alec: How about eBNF (or "RailRoad diagrams" ect) of Ruby's grammar and how it is evaluated? (I'll check the source yeah yeah, but maybe someone already has!)
[23:42:51] elomatreb: I doubt that exists, rubys grammar is notoriously horrifying
[23:43:30] Alec: If this stuff interests you I'd love to talk about it, but as no one has asked me a question and I'm easily on my third paragraph I wont :P
[23:43:59] ruby[bot]: Alec: # => 0.3709349392331921 (https://eval.in/1035705)
[23:44:05] Alec: So the bot doesn't work in PM
[23:44:37] elomatreb: If you want to play around check out https://github.com/pry/pry
[23:44:39] Alec: In C++ we have geordi, you can PM geordi or join #geordi to fuck about and get an example right without cluttering main chat. ...
[23:44:50] Alec: I'd really like to do it without going back into my GUI
[23:45:03] Alec: Is the bot open source?
[23:49:54] mikecmpbll: has joined #ruby
[23:50:11] nowhereman_: has joined #ruby
[23:53:56] jenrzzz: has joined #ruby
[23:53:56] jenrzzz: has joined #ruby
[23:56:14] mkaito: has joined #ruby
[23:56:14] mkaito: has joined #ruby
[23:56:45] mikecmpb_: has joined #ruby
[23:58:38] duderonomy: has joined #ruby
[23:59:16] Alec: mikecmpb_: is it possible to make ruby[bot] accept PMs with >> and run them? Or if not, can I make my own RubyBot for "personal use" - I've been told about the website, but I'm a command line guy with screen...
[23:59:47] mikecmpbll: has joined #ruby