« Back to channel list

#ruby - 10 March 2019

« Back 1 day Forward 1 day »
[00:02:27] crankharder: has joined #ruby
[00:16:07] hphhphhphhphhph: has joined #ruby
[00:16:40] vsdfd: has joined #ruby
[00:22:46] crankharder: has joined #ruby
[00:31:58] crankharder: has joined #ruby
[00:34:12] bambanx: has joined #ruby
[00:38:56] Swyper: has joined #ruby
[00:39:57] tiogrand_: has joined #ruby
[00:42:01] crankharder: has joined #ruby
[00:43:16] bjpenn: has joined #ruby
[01:01:20] segy: has joined #ruby
[01:01:23] AJA4350: has joined #ruby
[01:02:19] crankharder: has joined #ruby
[01:03:07] luminousnine: has joined #ruby
[01:03:07] luminousnine: has joined #ruby
[01:12:32] crankharder: has joined #ruby
[01:14:47] Swyper: has joined #ruby
[01:19:17] tiogrand__: has joined #ruby
[01:32:53] crankharder: has joined #ruby
[01:34:19] segy: has joined #ruby
[01:48:41] crankharder: has joined #ruby
[01:51:53] DaRock: has joined #ruby
[02:01:13] crankharder: has joined #ruby
[02:06:38] crankharder: has joined #ruby
[02:11:29] Swyper: has joined #ruby
[02:16:37] eblip: has joined #ruby
[02:17:34] eb0t: has joined #ruby
[02:20:42] Onwarion: has joined #ruby
[02:28:07] crankharder: has joined #ruby
[02:31:06] wald0: has joined #ruby
[02:46:46] crankharder: has joined #ruby
[02:48:19] BTRE: has joined #ruby
[02:49:01] Azure: has joined #ruby
[02:58:01] Ai9zO5AP: has joined #ruby
[03:06:28] crankharder: has joined #ruby
[03:19:28] abaisteabaiste: has joined #ruby
[03:26:25] apparition: has joined #ruby
[03:30:42] tdy: has joined #ruby
[03:40:36] bjpenn: has joined #ruby
[03:46:47] bruce_lee: has joined #ruby
[03:51:34] Renich: has joined #ruby
[03:54:44] matsaman: has joined #ruby
[04:00:57] mangold: has joined #ruby
[04:01:06] matsaman: sup mangold
[04:09:57] marmotini_: has joined #ruby
[04:10:39] braincrash: has joined #ruby
[04:20:31] themsay: has joined #ruby
[04:22:24] bambanxx: has joined #ruby
[04:31:30] gix-: has joined #ruby
[04:39:17] Swyper: has joined #ruby
[04:40:50] marmotini_: has joined #ruby
[04:52:38] sgen: has joined #ruby
[04:57:10] _whitelogger: has joined #ruby
[05:06:12] rippa: has joined #ruby
[05:08:00] bjpenn: has joined #ruby
[05:15:10] _whitelogger: has joined #ruby
[05:24:10] _whitelogger: has joined #ruby
[05:36:20] Swyper: has joined #ruby
[05:38:28] cnsvc: has joined #ruby
[05:41:28] nwradio: has joined #ruby
[05:52:47] t0xik: has joined #ruby
[06:11:31] bjpenn: has joined #ruby
[06:14:43] govg: has joined #ruby
[06:21:10] _whitelogger: has joined #ruby
[06:26:57] Swyper: has joined #ruby
[06:27:27] marz_dgzmn: has joined #ruby
[06:27:44] reber: has joined #ruby
[06:27:57] marz_dgzmn: I'm trying to install gems via bundle install --path .bundle so the gems won't conflict with the system wide gemsets, how do I run my ruby script to use the gemsets installed on .bundle?
[06:30:28] segy: has joined #ruby
[06:38:31] Swyper: has joined #ruby
[06:39:40] marmotini_: has joined #ruby
[06:56:00] lele`: has joined #ruby
[06:58:31] TheMoonMaster_: has joined #ruby
[06:59:19] linuxdaemon_: has joined #ruby
[07:00:19] yokel: has joined #ruby
[07:05:51] themsay: has joined #ruby
[07:06:52] rindolf: has joined #ruby
[07:35:46] dinfuehr: has joined #ruby
[07:39:46] Tau: has joined #ruby
[07:41:31] Devalo: has joined #ruby
[07:45:00] dinfuehr_: has joined #ruby
[07:52:35] Devalo: has joined #ruby
[07:57:54] Devalo: has joined #ruby
[08:02:25] connor_goodwolf: has joined #ruby
[08:03:00] Devalo: has joined #ruby
[08:04:23] sameerynho: has joined #ruby
[08:08:41] Dbugger: has joined #ruby
[08:15:17] bjpenn: has joined #ruby
[08:18:19] Learner5590: has joined #ruby
[08:19:47] themsay: has joined #ruby
[08:22:29] rotcev: has joined #ruby
[08:29:21] Devalo: has joined #ruby
[08:32:03] conta: has joined #ruby
[08:37:23] ua: has joined #ruby
[08:37:40] mrguser: has joined #ruby
[08:40:00] segy: has joined #ruby
[08:48:07] Learner5590: has left #ruby: ("Leaving")
[08:50:38] ellcs1: has joined #ruby
[08:53:11] crankharder: has joined #ruby
[08:54:53] segy: has joined #ruby
[08:58:45] dellavg__: has joined #ruby
[09:13:07] apparition: has joined #ruby
[09:14:35] alem0lars: has joined #ruby
[09:18:38] Devalo: has joined #ruby
[09:22:13] segy: has joined #ruby
[09:31:53] nowhere_man: has joined #ruby
[09:32:39] hsrthsrthsrt: has joined #ruby
[09:33:53] bjpenn: has joined #ruby
[09:34:49] crankharder: has joined #ruby
[09:39:30] hightower2: has joined #ruby
[09:45:01] Nicmavr: has joined #ruby
[09:53:39] GodFather: has joined #ruby
[10:02:56] r3m: has joined #ruby
[10:17:22] schleppel: has joined #ruby
[10:21:33] nowhere_man: has joined #ruby
[10:28:52] rindolf: has joined #ruby
[10:30:58] XXOOXX: has joined #ruby
[10:34:56] marmotini_: has joined #ruby
[10:37:36] Devalo: has joined #ruby
[10:38:46] ravenousmoose: has joined #ruby
[11:07:43] mangold: has joined #ruby
[11:11:38] Fernando-Basso: has joined #ruby
[11:22:30] waheedi: has joined #ruby
[11:22:38] Lyubo1: has joined #ruby
[11:32:10] Iambchop: has joined #ruby
[11:32:32] ua: has joined #ruby
[11:32:39] KevinSjoberg: has joined #ruby
[11:33:54] suukim: has joined #ruby
[11:37:23] za1b1tsu: has joined #ruby
[11:46:46] laaron: has joined #ruby
[11:46:50] bastilian: has joined #ruby
[11:47:30] legion[m]: has joined #ruby
[11:48:26] Diogne[m]: has joined #ruby
[11:49:45] mikecmpbll: has joined #ruby
[11:51:04] conta: has joined #ruby
[11:53:58] crankharder: has joined #ruby
[11:59:10] Furai: has joined #ruby
[12:00:12] mahlon: has joined #ruby
[12:05:07] lucasb: has joined #ruby
[12:06:33] ravenousmoose: has joined #ruby
[12:06:53] AJA4350: has joined #ruby
[12:18:10] _whitelogger: has joined #ruby
[12:24:53] conta: has joined #ruby
[12:32:35] lucasb: has joined #ruby
[12:39:10] _whitelogger: has joined #ruby
[12:47:11] Fernando-Basso: has joined #ruby
[12:53:48] ravenousmoose: has joined #ruby
[13:03:07] FernandoBasso: has joined #ruby
[13:08:54] m27frogy: has joined #ruby
[13:10:17] laaron: has joined #ruby
[13:10:27] reaVer: has joined #ruby
[13:13:15] lukelukeluke: has joined #ruby
[13:19:45] m27frogy: has joined #ruby
[13:23:33] ravenousmoose: has joined #ruby
[13:28:04] m27frogy: has joined #ruby
[13:29:17] connor_goodwolf: has joined #ruby
[13:30:50] waheedi: has joined #ruby
[13:31:01] Devalo: has joined #ruby
[13:31:13] t0xik: has joined #ruby
[13:33:13] waheedi: sup folks,
[13:33:22] waheedi: how to compare two methods
[13:34:11] waheedi: Klass.singleton_method(:method) == AnotherKlass.singleton_method(:method) ?
[13:34:44] waheedi: it will always return false in that case as the first belongs to Klass and the second to AnotherKlass
[13:34:59] waheedi: so how to compare their bodies?
[13:49:03] hphhphhphhph: has joined #ruby
[13:49:51] connor_goodwolf: has joined #ruby
[13:50:41] v01d4lph4: has joined #ruby
[13:55:24] lord4163: has joined #ruby
[13:58:03] conta1: has joined #ruby
[14:01:13] jottr: has joined #ruby
[14:02:57] e2: has joined #ruby
[14:04:27] Fernando-Basso: has joined #ruby
[14:13:59] gigetoo: has joined #ruby
[14:17:38] marmotini_: has joined #ruby
[14:31:07] ravenousmoose: has joined #ruby
[14:35:00] n13z: has joined #ruby
[14:36:27] notZarthus: waheedi: that sounds like a X-Y question .. in what scenario do you need to compare method bodies?
[14:44:28] waheedi: thanks, notZarthus, it is an experimenting scenario, I thought there is away to compare method bodies but it seems not, more precisely it was for implementing a singleton abstract class trying to make sure derivatives methods that are responsible for creating new instances or duplicating ones, are the same as the the parent "singleton" class
[14:45:49] waheedi: notZarthus: https://github.com/waheedi/singleton-ruby-class/blob/2940d1cbd4f46cb15dafeb55ab71be147b6fe564/singleton.rb#L23 this line specifically
[14:54:19] waheedi: has joined #ruby
[15:08:21] waheedi: has joined #ruby
[15:12:16] fredmorcos: has joined #ruby
[15:16:32] hiroaki: has joined #ruby
[15:16:58] cyberarm: has joined #ruby
[15:21:48] Devalo: has joined #ruby
[15:23:51] ruby-lang184: has joined #ruby
[15:25:45] crankharder: has joined #ruby
[15:33:07] sgen: has joined #ruby
[15:37:30] yqt: has joined #ruby
[15:37:56] Swyper: has joined #ruby
[15:41:51] rafadc: has joined #ruby
[15:44:50] hutch: has joined #ruby
[15:46:13] crankharder: has joined #ruby
[15:46:23] conta: has joined #ruby
[15:51:54] millerti: has joined #ruby
[16:04:31] DTZUZO: has joined #ruby
[16:06:29] crankharder: has joined #ruby
[16:08:39] c-c: Ok, nice to clean up the code with vim '='. But struggling with the structure for the data of the opened named pipe IO-object, its r/w flags, and how to represent related nicks and processes. https://gist.github.com/csmr/5c0da68094e8112c4624f457f180be24#file-pipedprocs-rb-L105
[16:09:13] emilford: has joined #ruby
[16:11:05] c-c: ^ thats like 50% way through (and opening pipes and spawning procs works)
[16:14:19] houhoulis: has joined #ruby
[16:15:05] agent_white: has joined #ruby
[16:17:14] Swyper: has joined #ruby
[16:21:52] tdy: has joined #ruby
[16:24:22] reaVer_: has joined #ruby
[16:24:54] crankharder: has joined #ruby
[16:26:36] orbyt_: has joined #ruby
[16:32:16] cagomez: has joined #ruby
[16:41:32] waheedi: has joined #ruby
[16:42:00] phaul: do two methods equal if for the same input they produce the same output or if the source code matches? Moreover do they equal if the source code doesn't match but have onlyy insignificant differences like varibale naming or indentation? Also Is this the same as solving the halting problem
[16:46:37] crankharder: has joined #ruby
[16:49:01] c-c: phaul how would you ever know if they output same? fuzzing?
[16:50:10] phaul: no, Im pondering aloud. waheedi asked about this, and I'm not sure what constrainsts they had for their question
[16:52:00] phaul: I suspect knowing if they output the same would actually be equivalent to solving the halting problem
[16:52:07] phaul: which we know is impossible
[16:55:40] marmotini_: has joined #ruby
[16:56:36] c-c: phaul: how did the channel bot run ruby again?
[16:57:41] phaul: https://github.com/phaul/yarr#usage
[17:01:06] orbyt_: has joined #ruby
[17:01:33] c-c: >> p "From test program."; Process.exit!(true)
[17:01:34] ruby[bot]: c-c: # => "From test program." (https://eval.in/1082127)
[17:01:44] ubuntuisloved: has joined #ruby
[17:02:04] c-c: Thats my proof that there is no halting problem: the program ran and exited.
[17:02:32] phaul: @ruby[bot] also works sometimes ^. if it doesn't rubydoc works with &>>
[17:03:54] phaul: depends on eval.in, which had been flaky in the past
[17:04:12] rindolf: has joined #ruby
[17:09:29] Devalo: has joined #ruby
[17:10:52] hutch: has joined #ruby
[17:11:02] AJA4350: has joined #ruby
[17:11:30] crankharder: has joined #ruby
[17:15:56] Swyper: has joined #ruby
[17:17:10] ravenousmoose: has joined #ruby
[17:18:17] sunsea: has joined #ruby
[17:18:30] sunsea: has left #ruby: ()
[17:20:15] conta: has joined #ruby
[17:21:07] c-c: >> p "From test program."; return Process.exit!(true)
[17:21:08] ruby[bot]: c-c: # => "From test program." (https://eval.in/1082133)
[17:24:16] hutch: has joined #ruby
[17:31:09] jcarl43: has joined #ruby
[17:31:46] crankharder: has joined #ruby
[17:41:23] Devalo: has joined #ruby
[17:44:02] orbyt_: has joined #ruby
[17:51:15] agent_white: has joined #ruby
[17:52:06] crankharder: has joined #ruby
[17:52:51] keden: has joined #ruby
[17:54:00] conta: has joined #ruby
[17:56:09] hutch: has joined #ruby
[18:00:44] xrexeon: has joined #ruby
[18:12:31] crankharder: has joined #ruby
[18:13:55] conta: has joined #ruby
[18:14:00] hightower2: has joined #ruby
[18:16:12] reber: has joined #ruby
[18:19:14] AJA4351: has joined #ruby
[18:21:43] hutch: has joined #ruby
[18:22:18] nowhere_man: has joined #ruby
[18:26:01] jrafanie: has joined #ruby
[18:31:51] TheBrayn: has joined #ruby
[18:32:39] keden: has joined #ruby
[18:32:48] crankharder: has joined #ruby
[18:34:06] akemot: has joined #ruby
[18:39:15] themsay: has joined #ruby
[18:40:47] hiroaki: has joined #ruby
[18:43:51] TheBrayn: has joined #ruby
[18:44:33] Renich: has joined #ruby
[18:46:10] marmotini_: has joined #ruby
[18:52:19] conta: has joined #ruby
[18:52:41] xrexeon: has joined #ruby
[18:53:09] crankharder: has joined #ruby
[18:55:57] xrexeon: has joined #ruby
[18:57:45] laaron: has joined #ruby
[19:07:58] nowhere_man: has joined #ruby
[19:13:27] saysjonathan: has joined #ruby
[19:13:34] crankharder: has joined #ruby
[19:16:12] tiogrand__: has joined #ruby
[19:20:14] Dbugger: has joined #ruby
[19:24:11] Swyper: has joined #ruby
[19:25:03] marmotini_: has joined #ruby
[19:25:19] ubuntuisloved: has joined #ruby
[19:33:51] crankharder: has joined #ruby
[19:40:11] zleap: has joined #ruby
[19:42:51] agent_white: has joined #ruby
[19:43:11] Swyper: has joined #ruby
[19:44:26] Devalo: has joined #ruby
[19:49:16] hightower3: has joined #ruby
[19:54:14] crankharder: has joined #ruby
[20:03:19] cnsvc: has joined #ruby
[20:14:33] crankharder: has joined #ruby
[20:24:41] Nicmavr: has joined #ruby
[20:32:28] ur5us: has joined #ruby
[20:33:09] orbyt_: has joined #ruby
[20:34:58] crankharder: has joined #ruby
[20:37:14] wald0: has joined #ruby
[20:49:51] tdy: has joined #ruby
[20:51:23] ravenousmoose: has joined #ruby
[20:52:41] Swyper: has joined #ruby
[20:52:57] conta: has joined #ruby
[20:53:15] szulak: has joined #ruby
[20:55:19] crankharder: has joined #ruby
[20:57:23] ubuntuisloved: has joined #ruby
[20:59:47] naezy: has joined #ruby
[21:03:14] naezy: I need to use a command line interface to create a new user with some field values. example: new user user3 u3@users.com 500
[21:03:37] naezy: Any help how can i do this with ruby
[21:04:15] naezy: I can write the code with classes but don't know how I can use commands to run a particular piece of code which creates new users
[21:15:37] crankharder: has joined #ruby
[21:16:26] sgen: has joined #ruby
[21:21:50] Swyper: has joined #ruby
[21:26:25] phaul: naezy: I'm assuming you are talking about rails. They have a dedicated channel
[21:26:31] phaul: ?rails naezy
[21:26:32] ruby[bot]: naezy: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[21:30:29] AntoFox: has joined #ruby
[21:35:31] Swyper: has joined #ruby
[21:36:02] crankharder: has joined #ruby
[21:38:10] ubuntuisloved: has joined #ruby
[21:39:38] hightower3: has joined #ruby
[21:42:49] phaul: has joined #ruby
[21:49:41] gray_-_wolf: has joined #ruby
[21:56:21] crankharder: has joined #ruby
[21:59:34] nemesit|znc: has joined #ruby
[22:01:00] dinfuehr: has joined #ruby
[22:12:00] Devalo: has joined #ruby
[22:14:30] clemens3: has joined #ruby
[22:16:41] crankharder: has joined #ruby
[22:25:40] nemesit|znc: has joined #ruby
[22:28:07] ellcs1: has joined #ruby
[22:37:03] crankharder: has joined #ruby
[22:52:58] AJA4350: has joined #ruby
[22:55:18] tdy: has joined #ruby
[22:57:30] crankharder: has joined #ruby
[23:06:51] t0xik: has joined #ruby
[23:15:58] orbyt_: has joined #ruby
[23:16:03] jottr: has joined #ruby
[23:17:45] crankharder: has joined #ruby
[23:25:43] DaRock: has joined #ruby
[23:31:54] jottr: has joined #ruby
[23:38:06] crankharder: has joined #ruby
[23:39:05] bjpenn: has joined #ruby
[23:47:43] jottr: has joined #ruby
[23:53:02] bjpenn: has joined #ruby
[23:57:32] clemens3_: has joined #ruby
[23:58:27] crankharder: has joined #ruby