« Back to channel list

#ruby - 07 April 2019

« Back 1 day Forward 1 day »
[00:04:43] crankharder: has joined #ruby
[00:11:24] rafadc: has joined #ruby
[00:12:27] fyber7: has left #ruby: ("The Lounge - https://thelounge.chat")
[00:27:22] eckhardt: has joined #ruby
[00:45:59] ae84: has joined #ruby
[00:52:15] dar123: has joined #ruby
[00:55:32] nathaniel: has joined #ruby
[01:01:26] crankharder: has joined #ruby
[01:05:12] buckworst: has joined #ruby
[01:05:36] dar123: has joined #ruby
[01:06:42] neovalis0: has joined #ruby
[01:13:03] shtirlic: has joined #ruby
[01:19:24] GodFather: has joined #ruby
[01:31:25] d^sh: has joined #ruby
[01:36:12] _whitelogger: has joined #ruby
[01:59:41] soloxdead: has left #ruby: ()
[02:01:29] riceandbeans: has joined #ruby
[02:29:44] mangold: has joined #ruby
[02:38:29] jordanm: has joined #ruby
[02:38:40] dar123: has joined #ruby
[02:39:09] barg: has joined #ruby
[02:45:00] buckworst_: has joined #ruby
[02:54:10] _whitelogger: has joined #ruby
[02:59:51] mangold: has joined #ruby
[03:04:30] grilix: has joined #ruby
[03:11:06] braincrash: has joined #ruby
[03:18:11] _whitelogger: has joined #ruby
[03:21:29] segy: has joined #ruby
[03:26:35] Tempesta: has joined #ruby
[03:42:11] _whitelogger: has joined #ruby
[03:44:23] segy: has joined #ruby
[03:55:54] Krebsgewehr: has joined #ruby
[04:24:11] _whitelogger: has joined #ruby
[04:30:11] _whitelogger: has joined #ruby
[04:34:31] Swyper: has joined #ruby
[04:46:25] KeyJoo: has joined #ruby
[04:48:24] Swyper: has joined #ruby
[04:50:09] root: has joined #ruby
[04:50:46] Guest29314: Hi,everybody.
[04:59:36] Qnurye: has joined #ruby
[05:00:38] Qnurye: Anybody here?
[05:05:33] qnurye1: has joined #ruby
[05:07:00] NickZA: has joined #ruby
[05:07:50] banko: has joined #ruby
[05:14:34] za1b1tsu_: has joined #ruby
[05:15:07] rippa: has joined #ruby
[05:25:45] segy: has joined #ruby
[05:40:47] Qnurye: has joined #ruby
[05:45:32] t0x: has joined #ruby
[05:50:02] mangold: has joined #ruby
[05:56:47] cloaked1: has joined #ruby
[06:26:10] kapil____: has joined #ruby
[06:41:43] nwradio8: has joined #ruby
[06:46:44] jkugs1: has joined #ruby
[06:58:01] suukim: has joined #ruby
[06:58:57] conta: has joined #ruby
[07:00:33] reber: has joined #ruby
[07:10:05] orbyt_: has joined #ruby
[07:13:43] mangold: has joined #ruby
[07:13:53] rafadc: has joined #ruby
[07:16:24] apparition: has joined #ruby
[07:22:58] jenrzzz: has joined #ruby
[07:27:52] InfinityFye: has joined #ruby
[07:28:20] jenrzzz: has joined #ruby
[07:28:56] TomyLobo: has joined #ruby
[07:32:01] hightower2: has joined #ruby
[07:37:29] ricekrispie: has joined #ruby
[07:49:02] lxsameer: has joined #ruby
[07:54:11] _whitelogger: has joined #ruby
[08:09:20] schleppel: has joined #ruby
[08:12:11] jenrzzz: has joined #ruby
[08:22:00] segy: has joined #ruby
[08:28:06] Ai9zO5AP: has joined #ruby
[08:29:29] conta1: has joined #ruby
[08:40:05] silviu: has joined #ruby
[08:43:30] cloaked2: has joined #ruby
[08:43:50] soniya29: has joined #ruby
[08:57:31] jenrzzz: has joined #ruby
[08:58:47] DmitryBochkarev: has joined #ruby
[09:04:20] kyrylo: has joined #ruby
[09:13:52] jottr: has joined #ruby
[09:15:11] hiroaki: has joined #ruby
[09:30:16] clemens3: has joined #ruby
[10:02:59] cd: has joined #ruby
[10:03:02] segy: has joined #ruby
[10:32:49] Ai9zO5AP: has joined #ruby
[10:49:13] InfinityFye: has left #ruby: ("Leaving")
[10:57:35] sidx64: has joined #ruby
[10:57:55] jenrzzz: has joined #ruby
[10:58:20] Swyper: has joined #ruby
[11:12:11] _whitelogger: has joined #ruby
[11:15:45] sidx64_: has joined #ruby
[11:33:07] mikecmpbll: has joined #ruby
[11:43:00] hightower3: has joined #ruby
[11:46:56] mangold: has joined #ruby
[11:59:01] AJA4350: has joined #ruby
[12:12:48] Fernando-Basso: has joined #ruby
[12:23:53] Swyper_: has joined #ruby
[12:33:05] waheedi: has joined #ruby
[12:33:12] segy: has joined #ruby
[12:44:24] jxweng: has joined #ruby
[12:49:12] conta: has joined #ruby
[12:51:23] ae84: has joined #ruby
[12:54:51] kyrylo_: has joined #ruby
[12:58:17] jenrzzz: has joined #ruby
[13:22:24] DmitryBochkarev: has joined #ruby
[13:44:02] Xiti: has joined #ruby
[13:48:30] Swyper: has joined #ruby
[13:57:11] _whitelogger: has joined #ruby
[13:58:58] waheedi: has joined #ruby
[14:03:12] mangold: has joined #ruby
[14:10:23] mangold: has joined #ruby
[14:12:31] za1b1tsu: has joined #ruby
[14:20:29] dellavg_: has joined #ruby
[14:23:18] also_uplime: has joined #ruby
[14:42:44] uranoss: has joined #ruby
[14:43:24] Tau: has joined #ruby
[14:43:31] pppktz: has joined #ruby
[14:44:51] segy: has joined #ruby
[14:45:15] pppktz: hey guys,
[14:45:15] pppktz: I am trying to create a simple bot which only sends a specific message to a specific user at a certain time, and I would like to use this method inside the script without cron tabs or using whenever, do you have any idea how to tell the srcipt when that time is passed for example 15:03?
[14:46:12] DmitryBochkarev: has joined #ruby
[14:48:01] waheedi: you can sleep until that time and then recall
[14:48:13] waheedi: pppktz: /|\
[14:48:22] waheedi: not you the bot i mean :P
[14:48:51] pppktz: yea, but how my bot knows what the time is? or when to check it?
[14:49:28] tdy: has joined #ruby
[14:49:59] grilix: has joined #ruby
[14:57:46] DmitryBochkarev: has joined #ruby
[14:59:05] DmitryBochkarev: has joined #ruby
[15:00:56] jenrzzz: has joined #ruby
[15:04:36] segy: has joined #ruby
[15:13:54] fanta7531: has joined #ruby
[15:16:59] wildermind: has joined #ruby
[15:17:16] RiPuk: has joined #ruby
[15:20:24] benbot: has joined #ruby
[15:20:44] benbot: has left #ruby: ()
[15:31:53] salasrod: has joined #ruby
[15:32:27] Swyper: has joined #ruby
[15:35:27] Tau: has joined #ruby
[15:37:38] xco: has joined #ruby
[15:39:18] xco: can i do this in Ruby if i want both methods to be peformed? https://gist.github.com/xcobar/7d8f2772d806fe8dc166301a33bc411d
[15:39:51] xco: this is one usage of “and” that i think i get right. someone please give thoughts
[15:41:25] waheedi: xco: and will mean && logical and
[15:41:52] waheedi: and it will return true or false, in this case it will return false
[15:42:03] waheedi: as the returns are both nil in two and three
[15:42:26] waheedi: so what do you want?
[15:42:36] xco: so in this case if i want to peform both methods i can do just this instead https://gist.github.com/xcobar/7d8f2772d806fe8dc166301a33bc411d
[15:42:49] xco: i wanted a one-liner to perform two methods
[15:43:10] waheedi: yes, one liner no need you can still do it two; three
[15:43:20] waheedi: but why :)
[15:43:27] waheedi: two lines is fine
[15:46:06] xco: it’s not a big deal i just want to keep my programs short :D
[15:46:36] waheedi: lol, less is more ;) not any more :P
[15:51:47] salasrod: has joined #ruby
[15:57:19] Swyper: has joined #ruby
[15:58:00] DmitryBochkarev: has joined #ruby
[16:03:07] leah2: has joined #ruby
[16:03:36] RiPuk: has joined #ruby
[16:08:16] RiPuk: has joined #ruby
[16:16:33] agent_white: has joined #ruby
[16:20:48] kapil____: has joined #ruby
[16:28:00] yield: has joined #ruby
[16:29:52] RiPuk: has joined #ruby
[16:32:15] DmitryBochkarev: has joined #ruby
[16:36:28] yield_: has joined #ruby
[16:38:54] yield_: has joined #ruby
[16:42:13] yield_: has joined #ruby
[16:51:05] jkugs: has joined #ruby
[17:01:19] jenrzzz: has joined #ruby
[17:01:59] grilix: has joined #ruby
[17:10:28] i1nfusion: has joined #ruby
[17:10:46] i1nfusion1: has joined #ruby
[17:10:59] Swyper: has joined #ruby
[17:12:19] orbyt_: has joined #ruby
[17:23:27] reber: has joined #ruby
[17:27:26] Nicmavr: has joined #ruby
[17:34:28] Swyper: has joined #ruby
[17:49:54] Swyper: has joined #ruby
[18:00:56] kyrylo: has joined #ruby
[18:16:47] Swyper: has joined #ruby
[18:25:46] hiroaki: has joined #ruby
[18:27:28] jkugs1: has joined #ruby
[18:42:13] _joes_: has joined #ruby
[18:46:54] BH23: has joined #ruby
[18:57:00] duderonomy: has joined #ruby
[19:07:10] Lyubo1: has joined #ruby
[19:24:43] sagax: has joined #ruby
[19:24:57] ricekrispie2: has joined #ruby
[19:25:31] i1nfusion: has joined #ruby
[19:25:35] i1nfusion1: has joined #ruby
[19:33:41] Swyper: has joined #ruby
[19:36:13] c0dec: has joined #ruby
[19:39:19] Dbugger: has joined #ruby
[19:49:05] klaas: has joined #ruby
[19:54:11] c0dec: has joined #ruby
[19:57:24] Swyper: has joined #ruby
[20:02:23] _joes_: has joined #ruby
[20:02:32] BH23: has joined #ruby
[20:06:42] Swyper: has joined #ruby
[20:06:45] themsay: has joined #ruby
[20:12:53] dviola: has joined #ruby
[20:15:30] havenwood: xco: module Kernel; def alias_chain new_method, *alias_methods; define_method(new_method) { *head, tail = alias_methods; head.each { |meth| public_send meth }; public_send tail } end end
[20:16:26] i1nfusion: has joined #ruby
[20:16:32] i1nfusion1: has joined #ruby
[20:18:09] Swyper: has joined #ruby
[20:21:20] someuser: has joined #ruby
[20:23:46] jottr: has joined #ruby
[20:41:20] dar123: has joined #ruby
[21:03:27] Swyper: has joined #ruby
[21:05:32] Swyper: has joined #ruby
[21:09:01] Swyper: has joined #ruby
[21:13:30] Tau: has joined #ruby
[21:13:46] jottr: has joined #ruby
[21:15:36] ur5us: has joined #ruby
[21:18:14] Swyper: has joined #ruby
[21:22:23] RiPuk: has joined #ruby
[21:29:18] Swyper: has joined #ruby
[21:31:42] orbyt_: has joined #ruby
[21:32:18] hightower3: has joined #ruby
[21:41:11] ricekrispie: has joined #ruby
[21:45:00] jottr: has joined #ruby
[22:02:33] thejamespinto: has joined #ruby
[22:07:37] facest: has joined #ruby
[22:08:16] moei: has joined #ruby
[22:12:43] nowhereman: has joined #ruby
[22:15:16] clemens3: has joined #ruby
[22:15:50] RiPuk: has joined #ruby
[22:16:58] jottr: has joined #ruby
[22:18:18] m27frogy: has joined #ruby
[22:19:39] hightower2: has joined #ruby
[22:20:44] RiPuk: has joined #ruby
[22:27:04] houhoulis: has joined #ruby
[22:33:17] hightower3: has joined #ruby
[22:42:05] hightower2: has joined #ruby
[22:43:23] i1nfusion1: has joined #ruby
[22:50:34] hightower3: has joined #ruby
[22:54:47] orbyt_: has joined #ruby
[22:59:06] rindolf: has joined #ruby
[23:00:47] nwradio87: has joined #ruby
[23:14:41] jkugs1: has joined #ruby
[23:19:06] brool: has joined #ruby
[23:21:07] t0x: has joined #ruby
[23:29:29] segy: has joined #ruby
[23:33:01] Leopere: has joined #ruby
[23:43:59] howlcode: has joined #ruby
[23:48:25] segy: has joined #ruby