« Back to channel list

#ruby - 15 December 2018

« Back 1 day Forward 1 day »
[00:27:19] serard_: has joined #ruby
[00:36:01] nchambers: has joined #ruby
[01:10:24] arescorpio: has joined #ruby
[01:21:11] _whitelogger: has joined #ruby
[01:31:13] hutch: has joined #ruby
[01:34:37] Freshnuts: has joined #ruby
[01:39:32] graphene: has joined #ruby
[01:48:50] serard_: has joined #ruby
[02:13:38] serard_: has joined #ruby
[02:18:29] bambanx: has joined #ruby
[02:21:17] MyMind: has joined #ruby
[02:26:47] tycoon177: has joined #ruby
[02:50:16] code_zombie: has joined #ruby
[02:54:17] Azure: has joined #ruby
[02:59:56] arescorpio: has joined #ruby
[03:12:05] serard_: has joined #ruby
[04:09:05] braincrash: has joined #ruby
[04:15:53] roshanavand1: has joined #ruby
[04:18:34] kapil____: has joined #ruby
[04:35:03] hutch: has joined #ruby
[04:42:51] nchambers: has joined #ruby
[04:44:21] lose: has joined #ruby
[05:00:58] lose: has joined #ruby
[05:01:23] graphene: has joined #ruby
[05:05:50] Dreamer3: has joined #ruby
[05:09:21] spacesuitdiver: has joined #ruby
[06:03:39] cpruitt: has joined #ruby
[06:12:50] beef_erikson: has joined #ruby
[06:18:40] crankharder: has joined #ruby
[06:18:55] roshanavand: has joined #ruby
[06:21:12] dbz: has joined #ruby
[06:25:32] dbz: has joined #ruby
[06:26:25] DTZUZO: has joined #ruby
[06:41:45] endemic: has joined #ruby
[06:44:38] devpolish: has joined #ruby
[06:45:22] rippa: has joined #ruby
[06:45:58] graphene: has joined #ruby
[06:49:52] themsay: has joined #ruby
[06:58:00] cpruitt: has joined #ruby
[07:00:40] Inside: has joined #ruby
[07:04:15] Inside: I've been playing on a MUD lately and it's quite confusing to get around
[07:04:38] Inside: The MUD uses non directional exits between rooms sometimes and well.. is essentially a non-eucladian space
[07:04:55] Inside: so I want to have something that intercepts the inputs/outputs and then graphs the MUD as I move around it
[07:05:21] Inside: I was thinking I'd hash the room description and exits to get a unique room.
[07:05:33] Inside: then what's a good way to visualize the nodes?
[07:05:47] Inside: I'd hate to do something like ... a run rails server and use a js nodegraph library
[07:13:12] themsay: has joined #ruby
[07:21:10] _whitelogger: has joined #ruby
[07:24:18] eckhardt: has joined #ruby
[07:31:44] Nahra: has joined #ruby
[07:36:49] dellavg_: has joined #ruby
[07:51:00] dbz: has joined #ruby
[07:55:03] themsay: has joined #ruby
[07:56:56] gix: has joined #ruby
[07:59:55] beef_erikson: has joined #ruby
[08:11:32] cd: has joined #ruby
[08:12:20] reber: has joined #ruby
[08:30:43] dbz: has joined #ruby
[08:32:12] englosh: has joined #ruby
[08:33:11] englosh: Will Ruby 2.6.0 with the new JIT compiler make it possible to build a native executable?
[08:40:02] wnd-trans: has joined #ruby
[08:41:36] Zarthus: englosh, that would be the ideal "time" to compile, huh ;P
[08:43:42] phaul: has joined #ruby
[08:44:07] englosh: yes that would be just-in-time!
[08:56:37] neuraload: has joined #ruby
[08:56:52] venmx: has joined #ruby
[08:58:14] roshanavand: has joined #ruby
[09:00:58] Dbugger: has joined #ruby
[09:04:00] RedNifre: has joined #ruby
[09:23:37] roshanavand: has joined #ruby
[09:25:10] za1b1tsu: has joined #ruby
[09:28:46] foxxx0: has joined #ruby
[09:33:40] conta: has joined #ruby
[09:43:32] mikecmpbll: has joined #ruby
[10:21:10] _whitelogger: has joined #ruby
[10:23:46] JoshS: has joined #ruby
[10:30:48] cpruitt: has joined #ruby
[10:48:12] dbz: has joined #ruby
[10:49:22] ur5us: has joined #ruby
[11:08:31] nopolitica: has joined #ruby
[11:08:59] n13z: has joined #ruby
[11:10:54] conta1: has joined #ruby
[11:19:40] roshanavand: has joined #ruby
[11:22:40] lucasb: has joined #ruby
[11:32:08] themsay: has joined #ruby
[11:34:44] reber: has joined #ruby
[11:36:16] aesthe: has joined #ruby
[11:39:24] aesthe: Helloguys, first time on ruby: in the following"match(//proc/(\d\+)/smaps:Swap:\s*(\d\+) kB/)" is the "Swap" a special ruby function?
[11:39:36] aesthe: or command?
[11:40:12] jottr: has joined #ruby
[11:41:30] Zarthus: that sounds unlikely
[11:42:26] Zarthus: actually, i suppose it might be
[11:42:38] Zarthus: I'm used to it looking like [[:cmd:]], but maybe :Swap: is enough in ruby
[11:43:05] aesthe: so Swap is a ruby command?
[11:43:11] Zarthus: I'm not confirming or denying anything.
[11:43:41] Zarthus: It's not a common pattern seen in other regex engines, so in my brain it still translates to matching the text literal ":swap"
[11:43:54] Zarthus: also can't find any documentation regarding it
[11:44:55] themsay: has joined #ruby
[11:46:43] phaul: &>> /:Swap:/.match? ':Swap:'
[11:46:45] rubydoc: # => true (https://carc.in/#/r/5sop)
[11:47:10] Zarthus: phage: You raise a fair point.
[11:47:19] Zarthus: well, technically you didn't raise anything.
[11:48:09] themsay: has joined #ruby
[11:48:21] fredmorcos: has joined #ruby
[11:48:32] RougeR: has joined #ruby
[11:53:07] phaul: shouldn't the / chars be escaped though?
[11:53:31] phaul: &>> //p/.match? '/p'
[11:53:31] rubydoc: # => (https://carc.in/#/r/5soq)
[11:56:22] phaul: or use %r, which would read better
[12:07:40] aesthe: this is the full script: https://carc.in/#/r/5sor
[12:16:50] AJA4350: has joined #ruby
[12:21:35] phaul: aesthe: there are a few improvements there could be made
[12:22:12] aesthe: would you be willing to share?
[12:22:24] phaul: change sort to sort_by
[12:22:28] phaul: &ri sort_by
[12:22:29] rubydoc: https://ruby-doc.org/core-2.5.3/Enumerable.html#method-i-sort_by
[12:22:38] phaul: change slice to take
[12:22:43] rubydoc: I found 5 entries matching method take. Use &list take if you would like to see a list
[12:22:57] phaul: &list take
[12:22:57] rubydoc: Array#take, Enumerable#take, Enumerator::Lazy#take, Rinda::TupleSpace#take, Rinda::TupleSpaceProxy#take
[12:23:06] phaul: &ri Enumerable#take
[12:23:06] rubydoc: https://ruby-doc.org/core-2.5.3/Enumerable.html#method-i-take
[12:34:00] neuraload: has joined #ruby
[12:34:25] Puffball: has joined #ruby
[12:36:28] eb0t: has joined #ruby
[12:48:44] pete1: has joined #ruby
[12:49:46] cajone: has joined #ruby
[13:28:27] MasterAsia: has joined #ruby
[13:30:44] TheBloke: has joined #ruby
[13:31:32] venmx: has joined #ruby
[13:36:34] dinfuehr: has joined #ruby
[13:48:37] beef_erikson: has joined #ruby
[13:50:30] dinfuehr: has joined #ruby
[13:58:31] lose: has joined #ruby
[13:59:06] aesthe_: has joined #ruby
[14:09:13] desperek: has joined #ruby
[14:14:11] cpruitt: has joined #ruby
[14:21:03] dinfuehr: has joined #ruby
[14:24:25] venmx: has joined #ruby
[14:33:14] dinfuehr: has joined #ruby
[14:37:49] Mike11: has joined #ruby
[14:42:05] dinfuehr: has joined #ruby
[14:44:26] lose: has joined #ruby
[14:50:42] reber: has joined #ruby
[14:55:26] davidw: has joined #ruby
[15:07:52] cpruitt: has joined #ruby
[15:28:14] cpruitt: has joined #ruby
[15:30:39] dinfuehr: has joined #ruby
[15:43:37] cpruitt: has joined #ruby
[15:49:17] Dbugger: has joined #ruby
[15:57:41] dinfuehr: has joined #ruby
[16:01:18] hiroaki: has joined #ruby
[16:02:30] AJA4350: has joined #ruby
[16:10:09] dinfuehr: has joined #ruby
[16:14:33] akosednar: has joined #ruby
[16:26:34] reber: has joined #ruby
[16:34:19] venmx: has joined #ruby
[16:38:16] houhoulis: has joined #ruby
[16:41:18] hutch: has joined #ruby
[16:51:21] themsay: has joined #ruby
[17:24:31] dbz: has joined #ruby
[17:52:37] themsay: has joined #ruby
[18:00:48] serard_: has joined #ruby
[18:03:11] lose: has joined #ruby
[18:04:58] chouhoulis: has joined #ruby
[18:15:34] orbyt_: has joined #ruby
[18:17:43] conta: has joined #ruby
[18:21:54] bjpenn: has joined #ruby
[18:22:13] bjpenn: i think xcode might have messed up my ruby environment
[18:22:22] bjpenn: not 100% sure though, but now its messed up
[18:22:37] bjpenn: running knife --version causes this: Ignoring ffi-1.9.15 because its extensions are not built. Try: gem pristine ffi --version 1.9.15
[18:22:53] bjpenn: running that pristine command doesn't make that message go away
[18:23:00] bjpenn: additionally... im getting this error failed to load the ffi-yajl c-extension, falling back to ffi interface
[18:23:27] bjpenn: anyone kind of enough to tackle this on with me :D
[18:23:51] bjpenn: i tried googling, and tried all kinds of stuff, but none seemed to work, and some "workarounds" or "solutions" i don't even quite understand
[18:39:18] hutch: has joined #ruby
[18:41:26] serard_: has joined #ruby
[18:42:41] conta: has joined #ruby
[18:57:28] conta: has joined #ruby
[19:00:52] dbz: has joined #ruby
[19:09:11] zapata: has joined #ruby
[19:13:12] gnufied: has joined #ruby
[19:21:37] hutch: has joined #ruby
[19:25:14] bjpenn: https://pastebin.com/6wAdawD6
[19:25:15] ruby[bot]: bjpenn: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
[19:25:17] bjpenn: heres a paste of my error
[19:27:08] eckhardt: has joined #ruby
[19:27:56] hutch: has joined #ruby
[19:28:01] nfk: has joined #ruby
[19:30:46] bjpenn: whats the best way to share code?
[19:30:59] bjpenn: gist is not 100% anonymous
[19:32:08] phaul: bjpenn: the topic recommends dpaste.de.
[19:32:35] bjpenn: https://dpaste.de/6zjo
[19:32:54] phaul: the bot is a bit outdated now... especially telling ppl off
[19:33:03] bjpenn: heres the error i get when i try to: gem install ffi --version 1.9.25
[19:33:37] bjpenn: https://dpaste.de/6zjo <-- url to the error
[19:33:57] bjpenn: local environment errors are such a pain in the ass
[19:34:36] phaul: hopefully someone with xcode knowledge comes along, I know nothing about xcode, never had a mac..
[19:35:00] graphene: has joined #ruby
[19:35:05] bjpenn: seems like xcode totally messed up my environment :(
[19:35:17] bjpenn: i think the system version of ruby changed as well
[19:48:57] desperek: has joined #ruby
[19:50:22] serard_: has joined #ruby
[19:54:11] _whitelogger: has joined #ruby
[19:58:27] brandonkal: has joined #ruby
[20:03:09] dbz: has joined #ruby
[20:26:55] havenwood: bjpenn: update RVM, Xcode and preferably your version of Ruby
[20:27:04] ChanServ: -o havenwood
[20:28:29] havenwood: bjpenn: Ruby 2.1 is past EoL
[20:28:55] ChanServ: +o havenwood
[20:29:02] ChanServ: -o havenwood
[20:30:29] cpruitt: has joined #ruby
[20:31:46] s3nd1v0g1us: has joined #ruby
[20:47:49] serard_: has joined #ruby
[20:55:43] serard_: has joined #ruby
[21:01:06] smhuber: has joined #ruby
[21:11:28] hutch: has joined #ruby
[21:25:26] clemens3: has joined #ruby
[21:28:33] Renich: has joined #ruby
[21:33:12] conta: has joined #ruby
[21:49:46] ur5us: has joined #ruby
[21:53:36] cpruitt: has joined #ruby
[21:59:31] darkhanb: has joined #ruby
[22:20:06] MasterAsia: has joined #ruby
[22:21:27] cnsvc: has joined #ruby
[22:34:25] cpruitt: has joined #ruby
[22:36:02] graphene: has joined #ruby
[22:51:52] cpruitt: has joined #ruby
[22:53:27] graphene: has joined #ruby
[22:56:13] dviola: has joined #ruby
[22:58:22] Azure: has joined #ruby
[23:01:08] cpruitt: has joined #ruby
[23:10:33] MasterAsia: has joined #ruby
[23:22:51] serard_: has joined #ruby
[23:27:00] Tom-_: has joined #ruby
[23:27:59] themsay: has joined #ruby
[23:30:57] nchambers: has joined #ruby
[23:42:40] hutch: has joined #ruby
[23:44:39] JoshS: has joined #ruby
[23:46:18] MasterAsia: has joined #ruby
[23:49:37] kapil____: has joined #ruby
[23:52:00] dviola: has joined #ruby
[23:52:18] nchambers: is there any good guides for creating a custom enumerator for a class?