« Back to channel list

#ruby - 01 October 2017

« Back 1 day Forward 1 day »
[00:02:40] imode: has joined #ruby
[00:08:37] Stan: has joined #ruby
[00:13:07] enterprisey: has joined #ruby
[00:14:32] stanc: has joined #ruby
[00:18:35] stanc: has joined #ruby
[00:20:01] cagmz_: has joined #ruby
[00:21:09] stanc: has joined #ruby
[00:21:40] stanc: has joined #ruby
[00:27:43] csk: has joined #ruby
[00:27:49] milardovich: has joined #ruby
[00:28:11] stanc: has joined #ruby
[00:29:09] milardovich: has joined #ruby
[00:37:32] cdg: has joined #ruby
[00:37:52] naprimer: has joined #ruby
[01:00:10] postmodern: has joined #ruby
[01:02:54] gizmore|2: has joined #ruby
[01:03:44] gr33n7007h: has joined #ruby
[01:03:57] stanc: has joined #ruby
[01:05:34] kculpis: has joined #ruby
[01:07:39] nankyoku_: has joined #ruby
[01:07:58] skweek: has joined #ruby
[01:09:15] rgr: has joined #ruby
[01:13:54] Dimik: has joined #ruby
[01:14:53] Stan: has joined #ruby
[01:18:07] orbyt_: has joined #ruby
[01:24:49] d^sh: has joined #ruby
[01:25:03] Stan: has joined #ruby
[01:25:47] bronson: has joined #ruby
[01:32:54] stanc: has joined #ruby
[01:33:08] stanc: has joined #ruby
[01:34:15] bmurt: has joined #ruby
[01:38:18] cdg: has joined #ruby
[01:39:21] eightlimbed: has joined #ruby
[01:39:41] fmcgeough: has joined #ruby
[01:43:11] hahuang65: has joined #ruby
[01:47:56] stanc: has joined #ruby
[01:48:47] Mjauepusen: has joined #ruby
[01:49:25] stanc: has joined #ruby
[01:55:33] dviola: has joined #ruby
[01:57:33] stan__: has joined #ruby
[01:57:40] nofxxx: has joined #ruby
[02:09:12] _whitelogger: has joined #ruby
[02:14:08] zautomata: has joined #ruby
[02:15:33] zautomata: has joined #ruby
[02:16:09] tamouse__: has joined #ruby
[02:31:03] xco: has joined #ruby
[02:32:24] xco: i’m perplexed, can i ever get “TypeError: nil can't be coerced into Float” on (score.to_f - mean_scores_for_token) ** 2.0 when mean_scores_for_token is 0.0?
[02:33:04] cdg: has joined #ruby
[02:35:11] havenwood: xco: nope, looks like `mean_scores_for_token` is `nil`.
[02:35:58] xco: in that case doing mean_scores_for_token.to_f should fix it if it’s nil
[02:36:00] xco: i guess
[02:46:26] erlend: has joined #ruby
[02:50:49] Stan: has joined #ruby
[03:00:05] kies: has joined #ruby
[03:00:08] cadillac_: has joined #ruby
[03:02:57] zautomata: has joined #ruby
[03:05:38] Stan: has joined #ruby
[03:07:28] FahmeF: has joined #ruby
[03:11:31] bronson: has joined #ruby
[03:17:16] Cameron__: has joined #ruby
[03:20:40] xuanrui: has joined #ruby
[03:22:00] alfiemax: has joined #ruby
[03:28:03] apparition: has joined #ruby
[03:28:15] postmodern: has joined #ruby
[03:30:09] gix: has joined #ruby
[03:30:59] ledestin: has joined #ruby
[03:35:22] ledestin: has joined #ruby
[03:41:20] Cameron__: has joined #ruby
[03:42:39] Stan: has joined #ruby
[03:44:00] hahuang65: has joined #ruby
[03:45:13] Stan: has joined #ruby
[03:45:19] smelnicki: has joined #ruby
[03:51:31] stanc: has joined #ruby
[03:53:41] cadillac_: has joined #ruby
[03:54:47] stan_br: has joined #ruby
[04:02:49] stanc: has joined #ruby
[04:06:10] _whitelogger: has joined #ruby
[04:15:22] jphase_: has joined #ruby
[04:22:24] MrBismuth: has joined #ruby
[04:22:59] nofxxx: has joined #ruby
[04:29:28] milardovich: has joined #ruby
[04:36:54] nofxxx: has joined #ruby
[04:42:56] webguynow: has joined #ruby
[04:49:33] alfiemax: has joined #ruby
[05:00:18] biox: has joined #ruby
[05:05:38] Stan: has joined #ruby
[05:12:38] bronson: has joined #ruby
[05:25:40] kapil___: has joined #ruby
[05:26:19] alfiemax: has joined #ruby
[05:31:20] gr33n7007h: has joined #ruby
[05:40:13] Stan: has joined #ruby
[05:44:23] govg: has joined #ruby
[05:45:08] hahuang65: has joined #ruby
[05:45:24] cdg: has joined #ruby
[05:48:11] claudiuinberlin: has joined #ruby
[05:51:44] stanc: has joined #ruby
[05:59:42] stan__: has joined #ruby
[06:02:01] stan__: has joined #ruby
[06:03:52] harai: has joined #ruby
[06:07:24] stan__: has joined #ruby
[06:18:49] stan__: has joined #ruby
[06:28:37] pppktz: has joined #ruby
[06:32:54] uZiel: has joined #ruby
[06:38:39] jinie: has joined #ruby
[06:49:01] Asher: has joined #ruby
[06:54:10] _whitelogger: has joined #ruby
[07:00:17] selim: has joined #ruby
[07:09:10] _whitelogger: has joined #ruby
[07:10:41] DoubleMalt: has joined #ruby
[07:10:59] SuperTaz: has joined #ruby
[07:12:01] Pisuke: has joined #ruby
[07:13:41] bronson: has joined #ruby
[07:14:02] phaul: has joined #ruby
[07:18:33] al2o3-cr: has joined #ruby
[07:18:39] Stan: has joined #ruby
[07:19:30] cdg: has joined #ruby
[07:20:01] dinfuehr: has joined #ruby
[07:22:14] conta: has joined #ruby
[07:22:42] Mjauepusen: has joined #ruby
[07:23:39] nofxxx: has joined #ruby
[07:29:13] alfiemax: has joined #ruby
[07:30:43] oetjenj: has joined #ruby
[07:32:21] Stan: has joined #ruby
[07:32:28] jphase: has joined #ruby
[07:39:54] dionysus69: has joined #ruby
[07:41:37] TomyLobo: has joined #ruby
[07:45:57] hahuang65: has joined #ruby
[07:50:28] ^mtkd: has joined #ruby
[07:51:48] Ishido: has joined #ruby
[07:52:40] al2o3-cr: has joined #ruby
[07:52:56] MarkBilk: has joined #ruby
[07:53:33] _aeris_: has joined #ruby
[07:54:11] MrSparkle: has joined #ruby
[08:01:14] Junaos: has joined #ruby
[08:02:31] strayArch: has joined #ruby
[08:02:39] bmn: has joined #ruby
[08:03:11] rippa: has joined #ruby
[08:03:17] marr: has joined #ruby
[08:04:48] dinfuehr: has joined #ruby
[08:09:16] Mon_Ouie: I would rather fix the code of mean_scores_for_token (or the code that computes it if it's a variable) to make sure it isn't nil in the first place
[08:09:43] Mon_Ouie: (forgot to check the time of the previous messages though…)
[08:14:59] harai: has joined #ruby
[08:15:32] alfiemax: has joined #ruby
[08:20:38] cdg: has joined #ruby
[08:21:46] alfiemax_: has joined #ruby
[08:36:09] xco: Mon_Ouie: seen. good point :)
[08:37:25] Klumben: has joined #ruby
[08:49:46] shime: has joined #ruby
[08:51:24] dionysus69: has joined #ruby
[08:51:55] xco: has joined #ruby
[08:55:00] blackmesa1: has joined #ruby
[08:57:46] oetjenj: has joined #ruby
[08:58:00] apparition: has joined #ruby
[08:58:23] oetjenj: has joined #ruby
[08:59:09] oetjenj: has joined #ruby
[08:59:24] kapil___: has joined #ruby
[08:59:55] oetjenj: has joined #ruby
[09:00:41] oetjenj: has joined #ruby
[09:04:28] lxsameer: has joined #ruby
[09:04:46] conta: has joined #ruby
[09:07:17] _joes_: has joined #ruby
[09:09:42] _joes_: has left #ruby: ()
[09:14:29] bronson: has joined #ruby
[09:21:18] cdg: has joined #ruby
[09:24:32] graft_: has joined #ruby
[09:24:32] graft_: has joined #ruby
[09:24:57] nofxxx: has joined #ruby
[09:25:58] thinkpad: has joined #ruby
[09:26:09] VladGh: has joined #ruby
[09:29:40] Emmanuel_Chanel: has joined #ruby
[09:40:15] dinfuehr: has joined #ruby
[09:46:46] hahuang65: has joined #ruby
[09:57:17] cdg: has joined #ruby
[09:57:21] Silthias: has joined #ruby
[10:04:01] pppktz: has joined #ruby
[10:09:10] rgr: has joined #ruby
[10:14:46] mkali: has joined #ruby
[10:15:42] jamesaxl: has joined #ruby
[10:18:08] nicesignal: has joined #ruby
[10:18:41] Emmanuel_Chanel: has joined #ruby
[10:24:00] blackmesa1: has joined #ruby
[10:26:59] jphase: has joined #ruby
[10:27:30] ur5us: has joined #ruby
[10:30:10] jenrzzz: has joined #ruby
[10:30:11] jenrzzz: has joined #ruby
[10:31:15] biberu: has joined #ruby
[10:38:02] rob_: has joined #ruby
[10:38:45] rob_: hi, im trying to insert large values into a sqlite database using sequel but i get a FloatDomainError for Infinity with the following code, can anyone help? https://gist.github.com/roobert/9e47ba78fdc48b44e845c18553718477
[10:38:51] Cyrus: has joined #ruby
[10:40:47] alfiemax: has joined #ruby
[10:45:31] jphase: has joined #ruby
[10:51:22] Cyrus: has joined #ruby
[10:53:58] Stan: has joined #ruby
[10:55:18] chmurifree: has joined #ruby
[10:56:59] ur5us: has joined #ruby
[10:58:02] cdg: has joined #ruby
[11:00:58] ldepandis: has joined #ruby
[11:02:53] phaul: has joined #ruby
[11:03:07] Stan: has joined #ruby
[11:03:34] stanc: has joined #ruby
[11:09:06] pppktz: has joined #ruby
[11:09:26] stanc: has joined #ruby
[11:14:19] al2o3-cr: has joined #ruby
[11:16:17] bronson: has joined #ruby
[11:20:19] MarkBilk_: has joined #ruby
[11:30:11] Mjauepusen: has joined #ruby
[11:32:21] shime: has joined #ruby
[11:35:09] Cyrus1: has joined #ruby
[11:36:16] Cyrus1: has joined #ruby
[11:41:48] sepp2k: has joined #ruby
[11:43:54] Cyrus: has joined #ruby
[11:46:07] ldepandis: has joined #ruby
[11:48:21] hahuang65: has joined #ruby
[11:51:23] mniip: has joined #ruby
[11:53:37] oetjenj: has joined #ruby
[11:58:05] Asher: has joined #ruby
[11:59:07] cdg: has joined #ruby
[12:02:23] Asher: has joined #ruby
[12:09:40] Stan: has joined #ruby
[12:14:12] sepp2k1: has joined #ruby
[12:18:23] Stan: has joined #ruby
[12:18:54] stanc: has joined #ruby
[12:21:13] Asher1: has joined #ruby
[12:21:33] hays: has joined #ruby
[12:26:17] Asher: has joined #ruby
[12:38:22] ldepandis: has joined #ruby
[12:38:32] schlauberg: has joined #ruby
[12:39:13] Hanmac: has joined #ruby
[12:44:09] ShalokShalom_: has joined #ruby
[12:46:42] ldepandis: has joined #ruby
[12:49:23] schlauberg: has left #ruby: ()
[12:52:26] ldepandis: has joined #ruby
[12:59:49] cdg: has joined #ruby
[13:01:23] oetjenj: has joined #ruby
[13:12:21] gnufied: has joined #ruby
[13:16:18] Stan: has joined #ruby
[13:17:13] bronson: has joined #ruby
[13:19:47] dionysus69: has joined #ruby
[13:23:52] skweek: has joined #ruby
[13:26:19] Emmanuel_Chanel: has joined #ruby
[13:26:38] sepp2k: has joined #ruby
[13:26:53] scatterp: has joined #ruby
[13:27:34] G: has joined #ruby
[13:28:14] phaul: has joined #ruby
[13:32:32] Asher: has joined #ruby
[13:34:28] Stan: has joined #ruby
[13:37:06] DoubleMalt: has joined #ruby
[13:39:54] Stan: has joined #ruby
[13:41:42] mtkd: has joined #ruby
[13:42:21] john__: has joined #ruby
[13:43:11] Stan: has joined #ruby
[13:43:45] stanc: has joined #ruby
[13:48:06] jphase: has joined #ruby
[13:49:08] hahuang65: has joined #ruby
[13:51:28] alfiemax: has joined #ruby
[13:55:33] jphase: has joined #ruby
[13:57:34] jphase_: has joined #ruby
[13:57:51] stanc: has joined #ruby
[13:59:01] sepp2k1: has joined #ruby
[14:00:31] sepp2k2: has joined #ruby
[14:00:37] cdg: has joined #ruby
[14:02:44] sepp2k: has joined #ruby
[14:05:08] sepp2k1: has joined #ruby
[14:06:39] DLSteve: has joined #ruby
[14:24:52] kapil___: has joined #ruby
[14:25:48] zautomata: has joined #ruby
[14:26:54] tamouse__: has joined #ruby
[14:34:46] stanc: has joined #ruby
[14:34:57] haxx0r1: has joined #ruby
[14:35:22] haxx0r1: can anybody help me with forming a curl request with any ruby lib? net/http propably preferred
[14:36:57] haxx0r1: https://github.com/krtschmr/monero/blob/master/lib/monero/client.rb
[14:37:05] haxx0r1: the CURL request is working fine, but it's ugly.
[14:37:19] haxx0r1: somehow with net/http i can't make the --digest authentication working
[14:38:00] teatime: haxx0r1: you realize that's super insecure right?
[14:38:11] teatime: that may even be the reason it doesn't let you do it
[14:38:12] haxx0r1: any more secure solution? :-)
[14:38:35] haxx0r1: the RPC client does https?
[14:38:56] haxx0r1: https://getmonero.org/resources/developer-guides/wallet-rpc.html
[14:38:58] haxx0r1: they also say http
[14:39:20] teatime: fiik, but it's pretty rare for things to accept authentication over http even when they're intended to run more or less locally
[14:39:54] teatime: are you running the rpc server listening on 127.0.0.1?
[14:40:06] haxx0r1: most likely, yes.
[14:40:19] haxx0r1: but could run externally. but for security reasons *we* won't do that.
[14:41:17] teatime: welp fair enough
[14:42:45] haxx0r1: so how to do now.
[14:42:47] haxx0r1: use mechanize?
[14:42:50] haxx0r1: curb? net/http?
[14:42:53] haxx0r1: HTTParty also failed.
[14:43:58] teatime: haxx0r1: maybe this will work better for you?
[14:44:01] teatime: http://docs.seattlerb.org/net-http-digest_auth/Net/HTTP/DigestAuth.html
[14:44:05] teatime: https://rubygems.org/gems/net-http-digest_auth/versions/1.4
[14:45:08] Stan: has joined #ruby
[14:45:47] haxx0r1: lets try :)
[14:45:49] ged_: has joined #ruby
[14:47:10] mahlon: has joined #ruby
[14:47:33] zautomata: has joined #ruby
[14:47:46] teatime: haxx0r1: if it works, you may repay me with one (1) link to an interesting article to read, for I am so bored.
[14:48:09] haxx0r1: roughly topic? also video possible?
[14:48:25] teatime: I'll take whatever I can get :)
[14:48:36] haxx0r1: i live in thailand and people always trash me for living in the country of ladyboys. here some NSFW entertainment of a real lad. https://www.ladsholidayguide.com/features/filth/lad-shares-his-lady-boy-experience-in-thailand-on-snapchat/
[14:48:46] haxx0r1: snapchat ftw
[14:49:31] gizmore: has joined #ruby
[14:51:01] oblak: has joined #ruby
[14:51:43] alfiemax_: has joined #ruby
[14:51:59] haxx0r1: ot working
[14:52:07] haxx0r1: https://thepasteb.in/p/wjh03KAzzxmsv
[14:52:09] haxx0r1: also a 401
[14:54:44] haxx0r1: 2] pry(Monero::Client)> auth
[14:54:44] haxx0r1: => "Digest username=\"username\", realm=\"monero-rpc\", algorithm=MD5, qop=auth, uri=\"/\", nonce=\"UHbNwgHUxvI2MF49f7BpCQ==\", nc=00000000, cnonce=\"fec01b5cd98c5668ff3b9b2f5c5c0d06\", response=\"3f196c6ab0d11cecb2caed26b169abed\""
[14:54:47] haxx0r1: it looks correct tho
[14:54:53] haxx0r1: same as the CURL request
[14:55:00] haxx0r1: but somehow the curl request goes through :D
[14:55:46] jenrzzz: has joined #ruby
[14:56:15] teatime: API docs seem like perhaps it only accepts POST requests?
[14:57:11] dr_oto: has joined #ruby
[14:57:28] nadir: has joined #ruby
[14:57:33] dr_oto: has left #ruby: ()
[14:58:10] haxx0r1: still fail
[14:58:52] GodFather: has joined #ruby
[15:00:10] orbyt_: has joined #ruby
[15:00:22] xco: has joined #ruby
[15:00:35] xco: can someone help me dry this up in the best possible way?
[15:00:38] xco: https://gist.github.com/xcobar/53834c1a2ce1f531382c10541f67677c
[15:01:16] cdg: has joined #ruby
[15:02:19] fmcgeough: has joined #ruby
[15:02:34] john__: has joined #ruby
[15:02:45] haxx0r1: you tried with scopes?
[15:03:03] haxx0r1: your where() is horrible tho
[15:03:38] haxx0r1: scope :at, ->(at) {
[15:03:38] haxx0r1: where('api_client_request_stats.created_at >= ?', at).by_day.select(columns_to_sum)
[15:05:51] haxx0r1: https://thepasteb.in/p/2RhKz1RRL09s4
[15:06:01] haxx0r1: https://thepasteb.in/p/qjhLjZzR3JQtB
[15:06:05] haxx0r1: maybe syntax error
[15:10:47] xco: why’s my where horrible?
[15:15:57] haxx0r1: you repeat 3x your where
[15:17:00] elomatreb: You could simplify at least by just having the where line once, and having your case switch just return the date (1.day/week/mongth.ago)
[15:17:12] coderphive: has joined #ruby
[15:18:04] elomatreb: Minor thing, but I'd probably move the sum string to a constant outside of the method and freeze it, and add some appropriate comments
[15:18:17] bronson: has joined #ruby
[15:18:40] xco: at that, yeah that’s why i asked for help actually. too much of the same thing
[15:18:42] xco: thank you :)
[15:19:11] mahlon_: has joined #ruby
[15:24:32] csk: has joined #ruby
[15:25:31] zacts: I'm attempting to build ruby-2.4.2 from source, but I'm trying to do it from the git repo
[15:25:42] tlaxkit: has joined #ruby
[15:25:48] stanc: has joined #ruby
[15:25:58] havenwood: zacts: What trouble are you running into?
[15:26:07] zacts: is ruby_2_4 the latest stable ruby-2.4.2?
[15:26:15] zacts: for git tag
[15:26:29] zacts: I don't know which tag to switch to to build the latest 2.4.* ruby
[15:27:44] havenwood: zacts: the ruby_2_4 branch already has its teeny version bumped to 2.4.3, so it's beyond the released 2.4.2
[15:27:45] teatime: zacts: that's a branch; my guess would be the tag v2_4_2
[15:28:17] havenwood: +1 v2_4_2 tag: https://github.com/ruby/ruby/releases/tag/v2_4_2
[15:28:19] zacts: oh, I guess I want 2.4.3
[15:28:35] zacts: I just want whatever is the latest stable 2.4.* branch
[15:28:41] havenwood: zacts: It's pre-release.
[15:28:49] havenwood: zacts: Stable is the tagged releases.
[15:28:58] zacts: so if I want ruby-2.4.2 then just do v2_4_2
[15:29:04] havenwood: zacts: yup!
[15:29:08] zacts: cool! thanks :-)
[15:40:06] alfiemax: has joined #ruby
[15:44:58] alfiemax: has joined #ruby
[15:47:21] paranoicsan: has joined #ruby
[15:49:12] PaulCapestany: has joined #ruby
[15:50:00] hahuang65: has joined #ruby
[15:53:11] phaul: has joined #ruby
[15:54:43] houhoulis: has joined #ruby
[15:55:57] Stan: has joined #ruby
[15:56:23] cadillac_: has joined #ruby
[15:57:27] ldepandis: has joined #ruby
[15:57:53] Stan: has joined #ruby
[15:59:21] jphase: has joined #ruby
[16:02:00] cdg: has joined #ruby
[16:02:50] hahuang65: has joined #ruby
[16:06:32] kobain: has joined #ruby
[16:06:57] DTZUZO: has joined #ruby
[16:09:26] blackmesa1: has joined #ruby
[16:11:00] orbyt_: has joined #ruby
[16:20:04] blackmesa: has joined #ruby
[16:22:54] cdg: has joined #ruby
[16:23:34] mtkd: has joined #ruby
[16:23:55] Mon_Ouie: has joined #ruby
[16:27:34] kaboutur: has joined #ruby
[16:29:55] moei: has joined #ruby
[16:50:31] ledestin: has joined #ruby
[16:58:47] jenrzzz: has joined #ruby
[16:58:47] jenrzzz: has joined #ruby
[17:00:52] mim1k: has joined #ruby
[17:02:44] stanc: has joined #ruby
[17:03:14] alfiemax_: has joined #ruby
[17:06:58] Cohedrin_: has joined #ruby
[17:19:23] bronson: has joined #ruby
[17:23:04] houhoulis: has joined #ruby
[17:27:04] houhoulis: has joined #ruby
[17:30:29] eroux: has joined #ruby
[17:30:49] stanc: has joined #ruby
[17:34:00] rrichardsr3: has joined #ruby
[17:43:33] milardovich: has joined #ruby
[17:44:56] dinfuehr: has joined #ruby
[17:46:34] dviola: has joined #ruby
[17:46:58] jinie: has joined #ruby
[17:47:10] postmodern: has joined #ruby
[17:48:58] cdg: has joined #ruby
[17:52:18] cdg_: has joined #ruby
[17:54:12] blackmesa: has joined #ruby
[17:54:49] ohcibi: has joined #ruby
[17:55:30] xenops: has joined #ruby
[17:58:58] enterprisey: has joined #ruby
[18:03:32] jphase: has joined #ruby
[18:03:40] hahuang65: has joined #ruby
[18:04:16] dionysus69: has joined #ruby
[18:08:12] ldepandis: has joined #ruby
[18:08:59] Xiti: has joined #ruby
[18:10:39] smelnicki: has joined #ruby
[18:19:18] charliesome: has joined #ruby
[18:26:30] dinfuehr: has joined #ruby
[18:27:32] soahccc: has joined #ruby
[18:29:48] john__: has joined #ruby
[18:35:28] milardovich: has joined #ruby
[18:36:26] Mon_Ouie: has joined #ruby
[18:36:37] auxbuss: has joined #ruby
[18:38:41] stanc: has joined #ruby
[18:38:47] bmurt: has joined #ruby
[18:39:03] alfiemax: has joined #ruby
[18:43:56] DaniG2k: has joined #ruby
[18:44:14] DaniG2k: does anyone know how I can send Dropzone images along with other form data using Vue.js and Rails?
[18:44:30] DaniG2k: I've explained my question in more detail here: https://stackoverflow.com/questions/46514319/send-dropzone-images-along-with-other-form-data-using-vue-js-and-rails
[18:51:23] alfiemax_: has joined #ruby
[18:53:05] amirite: has joined #ruby
[18:55:16] jphase: has joined #ruby
[18:56:58] ammar: has joined #ruby
[18:57:17] ur5us: has joined #ruby
[18:58:59] imode: has joined #ruby
[18:59:24] milardovich: has joined #ruby
[18:59:25] leah2: has joined #ruby
[19:08:23] auxbuss: has joined #ruby
[19:08:43] faces: has joined #ruby
[19:20:23] bronson: has joined #ruby
[19:22:08] blackmesa: has joined #ruby
[19:27:58] enterprisey: has joined #ruby
[19:31:23] Stan: has joined #ruby
[19:32:20] _aeris_: has joined #ruby
[19:34:20] Dimik: has joined #ruby
[19:35:01] Dimik: has joined #ruby
[19:35:04] skweek: has joined #ruby
[19:44:58] milardovich: has joined #ruby
[19:52:11] imode: has joined #ruby
[19:54:29] mahlon_: has joined #ruby
[19:56:53] jenrzzz: has joined #ruby
[19:56:53] jenrzzz: has joined #ruby
[19:57:16] alfiemax: has joined #ruby
[19:58:24] Sembei: has joined #ruby
[20:00:32] orbyt_: has joined #ruby
[20:04:29] hahuang65: has joined #ruby
[20:08:43] Emmanuel_Chanel_: has joined #ruby
[20:09:53] mahlon_: has joined #ruby
[20:10:09] cadillac_: has joined #ruby
[20:11:19] ur5us: has joined #ruby
[20:14:22] dtzuzu: has joined #ruby
[20:18:38] alfiemax: has joined #ruby
[20:23:48] serhart: has joined #ruby
[20:26:25] milardovich: has joined #ruby
[20:28:58] alfiemax: has joined #ruby
[20:34:18] ^mtkd: has joined #ruby
[20:35:05] tamouse__: has joined #ruby
[20:39:21] claudiuinberlin: has joined #ruby
[20:40:10] VLetrmx: has joined #ruby
[20:44:32] tvw: has joined #ruby
[20:45:50] VLetrmx: has left #ruby: ()
[20:56:41] cdg: has joined #ruby
[20:57:10] houhoulis: has joined #ruby
[21:11:17] Azure: has joined #ruby
[21:20:15] tamouse__: has joined #ruby
[21:21:22] bronson: has joined #ruby
[21:23:35] ahrs: has joined #ruby
[21:24:30] orbyt_: has joined #ruby
[21:25:44] LastWhisper____: has joined #ruby
[21:25:50] Silthias1: has joined #ruby
[21:26:58] alfiemax: has joined #ruby
[21:30:19] nofxxx: has joined #ruby
[21:36:40] eventpuddle: has joined #ruby
[21:42:37] agent_white: has joined #ruby
[21:44:51] dachi: has joined #ruby
[21:45:55] dachi: hi. do you know how to change Rails Devise module orders? I need one gem to execute a hook before another. I have tried changing order in Gemfile and in User model's devise :ext1, :ext2 list. I'm looking at User.devise_modules and order does not change..
[21:52:00] imode: has joined #ruby
[21:58:28] tfitts: has joined #ruby
[22:05:23] hahuang65: has joined #ruby
[22:08:26] houhoulis: has joined #ruby
[22:14:37] enterprisey: has joined #ruby
[22:17:55] nadir: has joined #ruby
[22:22:41] Stan: has joined #ruby
[22:22:44] cdg: has joined #ruby
[22:26:49] kobain: has joined #ruby
[22:27:18] Stan: has joined #ruby
[22:33:16] jinie_: has joined #ruby
[22:37:53] LastWhisper____: has joined #ruby
[22:38:46] shinnya: has joined #ruby
[22:41:07] csk: has joined #ruby
[22:42:17] nankyokusei: has joined #ruby
[22:44:54] tamouse__: has joined #ruby
[22:45:35] charliesome: has joined #ruby
[22:48:07] jinie_: has joined #ruby
[22:48:17] Phage: has joined #ruby
[22:48:17] Phage: has joined #ruby
[22:53:45] charliesome: has joined #ruby
[22:58:00] Cohedrin_: has joined #ruby
[23:01:58] Stan: has joined #ruby
[23:06:06] blackmesa: has joined #ruby
[23:08:34] harai: has joined #ruby
[23:10:15] meadmoon: has joined #ruby
[23:12:16] Joufflu: has joined #ruby
[23:14:18] milardovich: has joined #ruby
[23:14:44] Radar: Generating this Hash: { 1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0 }, can it be done in shorter code than: (1..5).zip([0]*5)
[23:14:55] Radar: cc baweaver
[23:15:34] baweaver: don't think so
[23:16:18] baweaver: unless there were a zero block or itself was shorter or some other hackery
[23:16:50] baweaver: >>(1..5).zip[0]*5
[23:16:51] ruby[bot]: baweaver: # => [1, 1, 1, 1, 1] (https://eval.in/871812)
[23:17:33] Radar: Not the right output I thought?
[23:17:39] Radar: Oh, and I left off to_h on the end of the golf.
[23:17:47] Radar: (1..5).zip([0]*5).to_h
[23:17:50] Radar: >> (1..5).zip([0]*5).to_h
[23:17:51] ruby[bot]: Radar: # => {1=>0, 2=>0, 3=>0, 4=>0, 5=>0} (https://eval.in/871813)
[23:18:02] milardovich: has joined #ruby
[23:18:14] Emmanuel_Chanel: has joined #ruby
[23:18:17] baweaver: Not thinking of any regex or other hackery
[23:18:19] Radar: 0x would probably come up with some crazy. RIP.
[23:19:32] raynold: has joined #ruby
[23:22:41] bronson: has joined #ruby
[23:23:24] orbyt_: has joined #ruby
[23:24:34] vivekananda: has joined #ruby
[23:25:26] imode: has joined #ruby
[23:26:03] cdg: has joined #ruby
[23:37:30] matthewd: Assuming Hash.new(0) isn't sufficient, yeah, feels tough to shrink. Despite only being a couple of characters short of the straight literal. :/
[23:39:35] serhart: has joined #ruby
[23:41:06] charliesome: has joined #ruby
[23:42:38] serhart: has joined #ruby
[23:44:41] orbyt_: has joined #ruby
[23:46:24] serhart: has joined #ruby
[23:47:22] orbyt_: has joined #ruby
[23:47:40] serhart: has joined #ruby
[23:54:47] bruno-_: has joined #ruby