« Back to channel list

#ruby - 08 June 2019

« Back 1 day Forward 1 day »
[00:13:04] rsh: has joined #ruby
[00:14:24] DaRock: has joined #ruby
[00:47:44] Swyper: has joined #ruby
[00:55:31] bambanx: has joined #ruby
[01:09:55] dbugger__: has joined #ruby
[01:15:31] octos: has joined #ruby
[01:20:04] cerulean: has joined #ruby
[01:29:10] idiocrash: has joined #ruby
[01:34:45] Tempesta: has joined #ruby
[01:35:52] bradleyprice: has joined #ruby
[01:36:26] cd: has joined #ruby
[01:39:16] CCDelivery: has joined #ruby
[01:40:18] bradleyprice: has joined #ruby
[01:41:15] uranoss: has joined #ruby
[01:43:26] rsh: has joined #ruby
[01:48:12] doodlebug: has joined #ruby
[01:50:28] tdy1: has joined #ruby
[01:51:37] bradleyprice: has joined #ruby
[01:54:05] doodlebug: has joined #ruby
[02:00:05] doodlebug: has joined #ruby
[02:06:00] idiocrash: has joined #ruby
[02:06:06] doodlebug: has joined #ruby
[02:06:29] Swyper: has joined #ruby
[02:08:22] lele: has joined #ruby
[02:12:07] doodlebug: has joined #ruby
[02:14:19] laaron: has left #ruby: ("Leaving")
[02:16:18] bradleyprice: has joined #ruby
[02:17:48] postmodern: has joined #ruby
[02:18:06] doodlebug: has joined #ruby
[02:22:24] rsh: has joined #ruby
[02:24:07] doodlebug: has joined #ruby
[02:30:07] doodlebug: has joined #ruby
[02:33:52] bradleyprice: has joined #ruby
[02:36:07] doodlebug: has joined #ruby
[02:38:16] bradleyprice: has joined #ruby
[02:42:08] doodlebug: has joined #ruby
[02:47:45] bambanx: has joined #ruby
[02:48:10] doodlebug: has joined #ruby
[02:54:09] doodlebug: has joined #ruby
[02:59:59] CableNinja: has joined #ruby
[03:00:09] doodlebug: has joined #ruby
[03:02:19] CableNinja: hey all, does anyone happen to know if theres a 'more complete' set of docs for the qtbindings gem? The docs on rubydoc.info dont seem to provide all of the classes/modules functionality, and the examples in its github dont really provide explanations on functions
[03:10:59] braincrash: has joined #ruby
[03:18:44] gix: has joined #ruby
[03:19:58] doodlebug: has joined #ruby
[03:20:03] CableNinja: ok, well its not as helpful as I'd like, but I discovered both qtruby and qtbindings both have 'rbqtapi' which list all of the inputs... it still doesnt really explain a lot though :|
[03:20:26] doodlebug: has joined #ruby
[03:20:55] doodlebug: has joined #ruby
[03:21:20] doodlebug: has joined #ruby
[03:21:47] doodlebug: has joined #ruby
[03:22:16] doodlebug: has joined #ruby
[03:24:15] bambanx: has joined #ruby
[03:31:30] fphilipe: has joined #ruby
[03:47:27] duderonomy: has joined #ruby
[03:49:30] bambanx: has joined #ruby
[03:51:54] codefriar: has joined #ruby
[04:06:18] bradleyprice: has joined #ruby
[04:08:15] dar123: has joined #ruby
[04:19:59] bradleyprice: has joined #ruby
[04:20:24] bambanxx: has joined #ruby
[04:23:23] StarLord__: has joined #ruby
[04:26:20] bambanx: has joined #ruby
[04:41:03] rsh: has joined #ruby
[04:48:07] tdy: has joined #ruby
[04:56:25] vulpisvulpis: has joined #ruby
[04:57:14] bradleyprice: has joined #ruby
[04:59:40] vulpisvulpis: I have two hashes containing Booleans and nils. I want to merge them into a single hash so I can iterate the hash, comparing key to value,. But, when I concert the two arrays into a single hash, the has is severely truncates. Is there a way too avoid that? I have created the hash like so Hash[array1.zip(array2)]
[05:02:58] havenwood: vulpisvulpis: Show an example of `array1` and `array2`?
[05:03:56] havenwood: vulpisvulpis: Or of the hashes?
[05:05:05] vulpisvulpis: array1 = [true,false,false,true]; array2 = [false,true,false,false]
[05:05:23] havenwood: vulpisvulpis: And what do you want for a result, ideally?
[05:06:09] vulpisvulpis: The resulting hash is just {true=>false,false=>false}
[05:06:48] havenwood: vulpisvulpis: What should it be.
[05:08:22] havenwood: vulpisvulpis: What's the result you're aiming for?
[05:09:13] vulpisvulpis_: has joined #ruby
[05:09:17] havenwood: vulpisvulpis: Are you trying to get?: {true=>[false, false], false=>[true, false]}
[05:10:11] vulpisvulpis_: Sorry my client dropped the connection. Havenwood: no, what i want is a ont to one mapping of each member in each array
[05:11:19] havenwood: vulpisvulpis: If you only have the keys `true` and `false`, there are only two keys for your Hash.
[05:11:56] havenwood: vulpisvulpis_: It's way easier for us to understand what you're shooting for if you show an example of the input and desired output.
[05:12:16] havenwood: The only part I'm unclear on is the desired output.
[05:12:19] vulpisvulpis_: So i want {false=>true,true=>false,false=>false,false=>true}
[05:12:55] vulpisvulpis_: But o see what you mean about only having two keys
[05:14:45] vulpisvulpis_: I just want to create this hash so i can do my_hash.each { |k,v| raise "illegal" unless k == v }
[05:16:11] vulpisvulpis_: I want to compare the two arrays and i thought zipping them together into a hash would be simplest
[05:17:14] Azure|dc: has joined #ruby
[05:17:15] havenwood: vulpisvulpis_: You can just zip then compare as arrays. No need for a hash.
[05:18:12] vulpisvulpis_: Oh so you mean juat zip them into a multidimensional array
[05:18:19] havenwood: vulpisvulpis_: array1.zip(array2).all? { |k, v| k == v }
[05:18:57] havenwood: vulpisvulpis_: Or: array1.zip(array2).find { |k, v| k == v }
[05:20:09] Emmanuel_Chanel: has joined #ruby
[05:21:01] vulpisvulpis_: Thats beautiful. I need to use something besides all? or find though but i
[05:21:26] vulpisvulpis_: Think you have illuminatex the path enough that i can move ahead
[05:22:00] vulpisvulpis_: Thank you havenwood
[05:22:07] havenwood: vulpisvulpis_: No prob, good luck!
[05:22:49] cerulean: has joined #ruby
[05:25:51] brandoncc: has joined #ruby
[05:28:19] sauvin: has joined #ruby
[05:47:20] orbyt_: has joined #ruby
[05:48:11] andmenendez: has joined #ruby
[05:49:49] dellavg_: has joined #ruby
[05:52:16] bambanx: has joined #ruby
[06:02:28] deadprez: has joined #ruby
[06:06:10] kyrylo: has joined #ruby
[06:29:34] reber: has joined #ruby
[06:39:18] bradleyprice: has joined #ruby
[06:40:39] fphilipe: has joined #ruby
[06:48:11] _whitelogger: has joined #ruby
[07:04:55] schne1der: has joined #ruby
[07:14:45] tdy1: has joined #ruby
[07:18:53] bradleyprice: has joined #ruby
[07:22:47] miskatonic: has joined #ruby
[07:37:45] sameerynho: has joined #ruby
[07:39:16] doodlebug: has joined #ruby
[07:40:55] rsh: has joined #ruby
[07:43:36] ravenousmoose: has joined #ruby
[07:55:45] SCHAAP137: has joined #ruby
[08:01:17] FastJack: has joined #ruby
[08:04:25] Nicmavr: has joined #ruby
[08:05:49] Swyper: has joined #ruby
[08:08:23] mniip: has joined #ruby
[08:10:34] fphilipe: has joined #ruby
[08:13:29] cadeskywalker: has joined #ruby
[08:16:06] ur5us: has joined #ruby
[08:31:29] nowhereman: has joined #ruby
[08:51:02] bradleyprice: has joined #ruby
[08:57:20] marz_d`ghostman: In rails model, say I only ask for password when the user is_admin?, where should I declare it? in the migration? and just do a `has_a_secure_password if: :is_admin?`?
[09:03:32] ravenousmoose: has joined #ruby
[09:14:49] ur5us: has joined #ruby
[09:26:58] cerulean: has joined #ruby
[09:40:10] conta: has joined #ruby
[09:40:42] gix: has joined #ruby
[09:41:18] rsh: has joined #ruby
[09:42:54] conta: has joined #ruby
[09:58:33] hiroaki: has joined #ruby
[10:01:05] FastJack: has joined #ruby
[10:01:16] ravenousmoose: has joined #ruby
[10:20:02] mikecmpbll: has joined #ruby
[10:22:55] BrianWGray: has joined #ruby
[10:32:19] fphilipe: has joined #ruby
[10:38:48] rafadc: has joined #ruby
[10:40:39] cerulean: has joined #ruby
[10:43:27] s2013: has joined #ruby
[11:05:31] ellcs: has joined #ruby
[11:07:06] pwnd_nsfw`: has joined #ruby
[11:09:30] bradleyprice: has joined #ruby
[11:10:48] cerulean: has joined #ruby
[11:12:47] doodlebug: has joined #ruby
[11:18:40] doodlebug: has joined #ruby
[11:20:28] schne1der: has joined #ruby
[11:24:40] doodlebug: has joined #ruby
[11:29:50] doodlebug: has joined #ruby
[11:38:15] Swyper: has joined #ruby
[11:41:07] rainer_tm: has joined #ruby
[11:41:29] rsh: has joined #ruby
[11:45:21] ur5us: has joined #ruby
[11:48:09] ur5us_: has joined #ruby
[11:50:56] AJA4350: has joined #ruby
[11:51:42] Swyper: has joined #ruby
[11:54:10] FernandoB: has joined #ruby
[11:58:45] themsay: has joined #ruby
[12:18:56] apparition: has joined #ruby
[12:22:49] Swyper: has joined #ruby
[12:54:17] ravenous_: has joined #ruby
[13:00:45] zacharypi: has joined #ruby
[13:02:14] zacharypi: has joined #ruby
[13:08:22] kyrylo: has joined #ruby
[13:23:08] doodleb59: has joined #ruby
[13:28:46] lucasb: has joined #ruby
[13:30:55] Emmanuel_Chanel: has joined #ruby
[13:51:25] Inline_: has joined #ruby
[13:57:12] rsh: has joined #ruby
[13:57:26] doodlebug: has joined #ruby
[13:57:30] Inline: has joined #ruby
[13:58:15] doodlebug: has joined #ruby
[13:58:57] doodlebug: has joined #ruby
[13:59:21] doodlebug: has joined #ruby
[13:59:47] doodlebug: has joined #ruby
[14:00:56] doodlebug: has joined #ruby
[14:04:35] ravenousmoose: has joined #ruby
[14:15:20] Emmanuel_Chanel: has joined #ruby
[14:32:50] fphilipe: has joined #ruby
[14:41:20] rsh: has joined #ruby
[14:42:00] CCDelivery: has joined #ruby
[14:48:55] rsh: has joined #ruby
[15:11:41] mr_rich101: has joined #ruby
[15:13:04] cerulean: has joined #ruby
[15:15:39] Emmanuel_Chanel: has joined #ruby
[15:20:32] themsay: has joined #ruby
[15:21:54] loses: has joined #ruby
[15:26:34] loses: has joined #ruby
[15:39:10] Emmanuel_Chanel: has joined #ruby
[15:40:08] weteamsteve: has joined #ruby
[15:59:55] themsay: has joined #ruby
[16:00:13] IGnorAND: has joined #ruby
[16:00:49] doodlebug: has joined #ruby
[16:01:59] doodlebug: has joined #ruby
[16:03:03] doodlebug: has joined #ruby
[16:03:31] doodlebug: has joined #ruby
[16:03:59] doodlebug: has joined #ruby
[16:04:19] doodlebug: has joined #ruby
[16:04:39] doodlebug: has joined #ruby
[16:05:08] doodlebug: has joined #ruby
[16:05:37] doodlebug: has joined #ruby
[16:06:56] doodlebug: has joined #ruby
[16:07:16] doodlebug: has joined #ruby
[16:07:37] doodlebug: has joined #ruby
[16:11:18] hutch: has joined #ruby
[16:34:27] stooj: has joined #ruby
[16:36:43] fphilipe: has joined #ruby
[16:40:24] orbyt_: has joined #ruby
[16:40:52] ravenousmoose: has joined #ruby
[16:43:35] hutch: has joined #ruby
[16:45:54] yasumi2136: has joined #ruby
[16:48:12] stooj: has joined #ruby
[16:57:37] Renich: has joined #ruby
[17:00:26] bradleyprice: has joined #ruby
[17:04:09] rsh: has joined #ruby
[17:23:56] Alison`8: has joined #ruby
[17:31:13] ryouba: has left #ruby: ("WeeChat 1.6")
[17:32:29] hutch: has joined #ruby
[17:54:29] larissa: has joined #ruby
[18:04:53] codefriar: has joined #ruby
[18:05:55] ravenousmoose: has joined #ruby
[18:18:15] schne1der: has joined #ruby
[18:23:36] doodlebug: has joined #ruby
[18:26:23] tdy1: has joined #ruby
[18:29:37] doodlebug: has joined #ruby
[18:31:28] Emmanuel_Chanel: has joined #ruby
[18:32:39] lord4163: has joined #ruby
[18:34:33] hutch: has joined #ruby
[18:34:45] doodlebug: has joined #ruby
[18:35:13] doodlebug: has joined #ruby
[18:35:42] doodlebug: has joined #ruby
[18:36:19] doodlebug: has joined #ruby
[18:37:10] fphilipe: has joined #ruby
[18:40:55] themsay: has joined #ruby
[18:44:07] Nicmavr: has joined #ruby
[18:58:56] orbyt_: has joined #ruby
[19:02:13] houhoulis: has joined #ruby
[19:11:37] themsay: has joined #ruby
[19:14:53] cerulean: has joined #ruby
[19:21:08] hutch: has joined #ruby
[19:39:08] fphilipe: has joined #ruby
[19:43:19] jefffrails35: has joined #ruby
[19:48:52] conta: has joined #ruby
[19:51:51] Alison`8: has joined #ruby
[19:55:59] dar123: has joined #ruby
[19:56:27] fphilipe: has joined #ruby
[20:08:30] rsh: has joined #ruby
[20:19:29] Cork: has joined #ruby
[20:39:31] fphilipe: has joined #ruby
[20:44:18] cerulean: has joined #ruby
[21:12:44] code_zombie: has joined #ruby
[21:26:29] claudiuinberlin: has joined #ruby
[21:32:29] Cork: has joined #ruby
[21:34:01] wbnns: has joined #ruby
[21:47:29] nowhereman: has joined #ruby
[21:54:03] jenrzzz: has joined #ruby
[22:01:11] hightower2: has joined #ruby
[22:13:42] ua: has joined #ruby
[22:14:45] Tempesta: has joined #ruby
[22:21:48] MuffinPimp: has joined #ruby
[22:32:34] budonyc: has joined #ruby
[22:36:36] nowhereman: has joined #ruby
[22:41:37] fphilipe: has joined #ruby
[23:00:10] jenrzzz: has joined #ruby
[23:02:45] bradleyprice: has joined #ruby
[23:23:07] a7d7p7: has joined #ruby
[23:28:07] bambanx: has joined #ruby
[23:44:20] DaRock: has joined #ruby
[23:56:03] nowhereman: has joined #ruby