« Back to channel list

#ruby - 16 June 2018

« Back 1 day Forward 1 day »
[00:07:03] chartractegg: has joined #ruby
[00:08:54] cagomez: has joined #ruby
[00:09:18] cthulchu: there has to be a simple reason to why ruby closes the console
[00:09:49] cthulchu: after executing something like bundle exec ruby tests_web/crypto/web_crypto_watch_test.rb
[00:12:37] apeiros: since ruby is a child process, it itself shouldn't even be able to close it
[00:12:58] apeiros: you aren't on windows, are you?
[00:13:07] cthulchu: no, it's on Mac
[00:13:26] apeiros: so you're in terminal.app and your window closes?
[00:13:40] t0d0r: has joined #ruby
[00:13:54] cthulchu: generally, yes. I don't use the terminal, I use iterm2, but the terminal closes too
[00:14:01] cthulchu: even if I just ctrl+c the test
[00:14:44] cthulchu: it is about iterm2
[00:14:50] cthulchu: terminal actually works
[00:15:02] cthulchu: but it's weird since it was working in iterm2 quite well
[00:15:08] cthulchu: I'm gonna go ask the mac folks
[00:17:49] dogweather: has joined #ruby
[00:19:46] orbyt_: has joined #ruby
[00:38:27] dogweather: has joined #ruby
[00:40:38] nicht: has joined #ruby
[00:41:38] Barrt: has joined #ruby
[00:51:25] dogweather: has joined #ruby
[00:55:09] yokel: has joined #ruby
[00:57:48] white_lilies: has joined #ruby
[01:03:57] bmurt: has joined #ruby
[01:12:12] cagomez: has joined #ruby
[01:16:46] SeepingN: has joined #ruby
[01:18:20] workmad3: has joined #ruby
[01:24:26] nythalcrow: has joined #ruby
[01:24:34] Megamos: has joined #ruby
[01:36:39] jready: has joined #ruby
[01:45:34] beilabs: has joined #ruby
[01:48:47] orbyt_: has joined #ruby
[01:54:04] gizmore|2: has joined #ruby
[01:58:23] osp2: /whois CBebop
[01:58:37] osp2: Spike Spiegel, I like it lol
[02:03:19] nowhereman_: has joined #ruby
[02:06:52] akaiiro: has joined #ruby
[02:10:11] konsolebox: has joined #ruby
[02:13:33] akaiiro: has joined #ruby
[02:16:25] beilabs: has joined #ruby
[02:42:22] nowhereman_: has joined #ruby
[02:42:40] dogweather: has joined #ruby
[02:44:33] kapil___: has joined #ruby
[02:46:35] akaiiro: has joined #ruby
[02:47:09] houhoulis: has joined #ruby
[02:59:42] dogweather: has joined #ruby
[03:00:21] cadillac_: has joined #ruby
[03:04:44] chamar: has joined #ruby
[03:07:33] gix: has joined #ruby
[03:07:45] dogweather: has joined #ruby
[03:10:52] braincrash: has joined #ruby
[03:18:57] workmad3: has joined #ruby
[03:20:06] lupine: has joined #ruby
[03:20:36] r29v: has joined #ruby
[03:29:17] tdy: has joined #ruby
[03:29:19] SeepingN: has joined #ruby
[03:32:01] dogweather: has joined #ruby
[03:36:45] akaiiro: has joined #ruby
[03:40:33] Nicmavr: has joined #ruby
[03:48:01] Dimik: has joined #ruby
[03:49:44] dogweather: has joined #ruby
[03:59:10] shinnya: has joined #ruby
[03:59:37] icarus: has joined #ruby
[04:07:16] SeepingN: has joined #ruby
[04:09:03] dogweather: has joined #ruby
[04:13:01] t0xik: has joined #ruby
[04:15:47] jamesaxl: has joined #ruby
[04:19:55] dogweather: has joined #ruby
[04:21:52] chat: has joined #ruby
[04:28:50] beilabs: has joined #ruby
[04:31:37] BloopMonster: has joined #ruby
[04:33:35] nicht: has joined #ruby
[04:36:28] dogweather: has joined #ruby
[04:45:59] ciscam: has joined #ruby
[04:53:11] mtkd: has joined #ruby
[05:06:51] moei: has joined #ruby
[05:11:51] sauvin: has joined #ruby
[05:19:31] workmad3: has joined #ruby
[05:21:57] johnp: has joined #ruby
[05:22:24] Guest86765: In pry how do I do "next" like in a debugger
[05:32:20] osp2: Guest86765, I think you can type "next" but I've had trouble with that in the past so my (crappy) workaround is to just put a bunch of binding.pry statements in
[05:32:29] osp2: and type "exit" when I want to go to the next binding.pry
[05:33:40] apeiros: has joined #ruby
[05:38:11] Guest86765: seems that pry doesn't include 'next' and that you need pry-byebug gem
[05:41:30] osp2: ah ok my bad then
[05:48:05] suukim: has joined #ruby
[06:08:27] SuperL4g: has joined #ruby
[06:12:18] DTZUZO: has joined #ruby
[06:21:05] Sembei: has joined #ruby
[06:25:46] rippa: has joined #ruby
[06:38:29] mtkd: has joined #ruby
[06:42:51] dionysus69: has joined #ruby
[06:44:18] dionysus69: has joined #ruby
[06:45:22] reber: has joined #ruby
[06:55:49] dionysus69: has joined #ruby
[07:09:29] thadtheman: Ons oem linuxes you will have to do something to get pry-bye bug to work. Versioning problem,. I had to download the source for byebug and pry-byebug and modify them. Doesn't seem to affect function though.
[07:10:50] guacamole: has joined #ruby
[07:10:51] guacamole: has joined #ruby
[07:17:49] dionysus69: has joined #ruby
[07:20:10] workmad3: has joined #ruby
[07:23:29] jready: has joined #ruby
[07:24:15] jready: has joined #ruby
[07:29:48] amar_: has joined #ruby
[07:31:41] desperek: has joined #ruby
[07:43:49] mtkd: has joined #ruby
[07:58:40] ciscam: has joined #ruby
[08:04:48] alex``: has joined #ruby
[08:22:52] biberu: has joined #ruby
[08:23:18] mtkd: has joined #ruby
[08:24:11] schleppel: has joined #ruby
[08:27:47] blackmesa: has joined #ruby
[08:34:28] blackmesa1: has joined #ruby
[08:34:55] nowhereman_: has joined #ruby
[08:37:06] BaroMeter: has joined #ruby
[08:43:15] dionysus69: has joined #ruby
[09:05:31] cadillac_: has joined #ruby
[09:06:38] Genya: has joined #ruby
[09:06:58] Genya: im new with ruby
[09:07:40] DTZUZO: has joined #ruby
[09:07:51] Megamos: has joined #ruby
[09:09:19] apeiros: good start :)
[09:09:19] sameerynho: has joined #ruby
[09:09:30] Genya: learning it for work
[09:09:44] Genya: we moving our shit backend from nodejs to ruby
[09:10:05] Genya: trying to hack on hanami
[09:10:36] Axy: has joined #ruby
[09:10:37] Axy: has joined #ruby
[09:20:16] amar_: has joined #ruby
[09:35:56] lypsis: has joined #ruby
[09:36:18] sonOfRa: has joined #ruby
[09:39:09] cb`: has joined #ruby
[09:47:35] mtkd: has joined #ruby
[09:47:52] Dbugger: has joined #ruby
[09:54:13] ciscam: has joined #ruby
[10:02:58] nowhereman_: has joined #ruby
[10:10:45] psychicist__: has joined #ruby
[10:25:28] Puffball: has joined #ruby
[10:32:35] schleppel: has joined #ruby
[10:33:25] conta: has joined #ruby
[10:35:52] mtkd: has joined #ruby
[10:39:47] bijan_: has joined #ruby
[10:43:36] Megamos: has joined #ruby
[10:46:58] kapil___: has joined #ruby
[10:54:55] Zaab1t: has joined #ruby
[10:57:31] FernandoBasso: has joined #ruby
[11:06:43] ciscam: has joined #ruby
[11:15:13] bijan_: has joined #ruby
[11:21:17] workmad3: has joined #ruby
[11:37:12] conta: has joined #ruby
[11:39:06] apparition: has joined #ruby
[11:39:08] mtkd: has joined #ruby
[11:44:46] alex``: has joined #ruby
[11:48:38] welch: has joined #ruby
[12:01:26] welch: Hey. I have a friend who's learning and we're looking for a nice beginner friendly open source issue for him. We're going through the obvious labels on Github, but just thought it was worth asking here in case anyone has a nice issue he could work on?
[12:02:26] alex``: has joined #ruby
[12:10:10] cagomez: has joined #ruby
[12:12:43] AJA4350: has joined #ruby
[12:19:07] sphenxes: has joined #ruby
[12:20:16] mtkd: has joined #ruby
[12:30:32] apparition: has joined #ruby
[12:37:40] Megamos: has joined #ruby
[12:45:03] Xeago: has joined #ruby
[12:45:05] nickjj: welch, when in doubt point him to contribute documentation enhancements
[12:45:25] chamar: has joined #ruby
[12:51:15] donofrio: has joined #ruby
[12:56:10] lunarkitty7: has joined #ruby
[13:00:24] Asher: has joined #ruby
[13:00:31] RougeR: has joined #ruby
[13:08:19] Zarthus: github has a label "good first issue"
[13:09:12] Zarthus: Try something like https://github.com/search?utf8=%E2%9C%93&q=stars%3A%3E50+label%3A%22good+first+issue%22+state%3Aopen+language%3ARuby&type=Issues&ref=advsearch&l=&l=Ruby
[13:09:27] madgen: has joined #ruby
[13:12:11] fmcgeough: has joined #ruby
[13:19:37] blackmesa1: has joined #ruby
[13:21:54] workmad3: has joined #ruby
[13:24:09] bmurt: has joined #ruby
[13:25:24] Megamos: has joined #ruby
[13:32:10] tvw: has joined #ruby
[13:32:11] blackmesa: has joined #ruby
[13:45:37] karapetyan: has joined #ruby
[13:46:53] Esa_: has joined #ruby
[13:48:16] ciscam: has joined #ruby
[13:58:40] Mike11: has joined #ruby
[14:00:20] Asher: has joined #ruby
[14:13:24] nowhere_man: has joined #ruby
[14:15:43] Nicmavr: has joined #ruby
[14:16:42] canton7: has joined #ruby
[14:21:24] LightStalker: has joined #ruby
[14:22:08] canton7: has joined #ruby
[14:27:27] orbyt_: has joined #ruby
[14:36:11] shinnya: has joined #ruby
[14:37:57] aruns: has joined #ruby
[14:38:23] aruns: Hi, quick question, playing around with Ruby's CGI module, what is the recommended way for encoding my query params? As I want to encode the # symbol
[14:39:12] RougeR: has joined #ruby
[14:39:41] havenwood: >> require 'uri'; URI.escape '#'
[14:39:42] ruby[bot]: havenwood: # => "%23" (https://eval.in/1022230)
[14:40:11] havenwood: >> require 'uri'; URI.encode '#'
[14:40:12] ruby[bot]: havenwood: # => "%23" (https://eval.in/1022231)
[14:48:08] apeiros: warn "URI.escape is obsolete"
[14:48:32] apeiros: (and encode is an alias as it seems)
[14:48:39] apeiros: no mention of what one should use instead, though :(
[14:49:23] aruns: Thanks, but I'm trying to encode the # for query strings that I dynamically pass to the CGI script - this is my script: https://bpaste.net/show/8b8ee5531019
[14:50:07] aruns: Maybe they're hash objects and that's why it's not working
[14:51:34] apeiros: aruns: you can quickly turn that "maybe" into a "they are" or "they aren't"
[14:52:21] havenwood: CGI.escape maybe?
[14:52:25] orbyt_: has joined #ruby
[14:52:42] havenwood: oh, CGI::Escape
[14:52:59] aruns: I tried both of them, and it throws a 500.
[14:53:06] aruns: I was able to determine that it's a string though.
[14:53:33] bijan_: has joined #ruby
[14:58:07] rwb: has joined #ruby
[14:59:11] apeiros: so you call escape here `CGI.encode(cgi.params)` - how exactly did you determine that cgi.params is a string?
[14:59:51] aruns: Oh I removed that.
[15:00:07] aruns: I called .class on cgi['bgcolor'] on line 32
[15:00:21] aruns: https://bpaste.net/show/222f239bbab0
[15:00:54] Asher: has joined #ruby
[15:00:58] aruns: Although that can falsely identify variables that are pointing to a datatype, it seems like a string to me.
[15:03:49] gizmore: has joined #ruby
[15:09:40] MyMind: has joined #ruby
[15:09:47] akaiiro: has joined #ruby
[15:15:52] white_lilies: has joined #ruby
[15:18:12] workmad3: has joined #ruby
[15:21:35] alex``: has joined #ruby
[15:23:18] alex``: has joined #ruby
[15:25:49] codymj: has joined #ruby
[15:36:02] howdoi: has joined #ruby
[15:44:42] Megamos: has joined #ruby
[15:50:35] mtkd: has joined #ruby
[15:50:58] akaiiro: has joined #ruby
[15:52:55] dionysus69: has joined #ruby
[15:59:14] mtkd: has joined #ruby
[16:00:20] Asher: has joined #ruby
[16:08:00] ^mtkd: has joined #ruby
[16:08:29] Fr4n: has joined #ruby
[16:15:02] drale2k_: has joined #ruby
[16:23:47] amar: has joined #ruby
[16:23:52] blackmesa1: has joined #ruby
[16:47:43] OneNeptune: has joined #ruby
[16:52:59] OneNeptune: has joined #ruby
[16:53:57] samosaphile: has joined #ruby
[16:59:58] amar: has joined #ruby
[17:05:55] orbyt_: has joined #ruby
[17:09:52] beilabs: has joined #ruby
[17:21:48] mtkd: has joined #ruby
[17:37:57] akaiiro: has joined #ruby
[17:48:12] Hobbes: has joined #ruby
[17:49:51] mtkd: has joined #ruby
[17:52:39] blackmesa1: has joined #ruby
[17:56:04] nowhere_man: has joined #ruby
[17:56:18] aruns: Hi, using Ruby's CGI module, how do you add styles to the body element?
[17:56:47] aruns: I tried the example in https://www.tutorialspoint.com/ruby/ruby_cgi_sessions.htm for bgcolor and this, and a few variations, are not working.
[17:56:59] dionysus70: has joined #ruby
[17:58:38] dionysus70: has joined #ruby
[18:01:20] aruns: Is there a way I can pass attributes to the body element?
[18:05:34] fmcgeough: has joined #ruby
[18:05:51] stalactit: anyone have experience creating a static binary with libruby?
[18:06:13] nowhere_man: has joined #ruby
[18:06:14] stalactit: has it gotten easier with 2.4/2.5 releases?
[18:06:27] lystra_: has joined #ruby
[18:08:10] stalactit: i've tried google but it only returns hits related to ruby extensions
[18:08:25] icarus: has joined #ruby
[18:08:42] stalactit: i really do need mri so mruby is not an option unfortunately
[18:09:25] houhoulis: has joined #ruby
[18:10:08] stalactit: this was a nice guide for getting started https://silverhammermba.github.io/emberb/embed/
[18:13:08] stalactit: the only other hit i got was https://www.ruby-forum.com/topic/1485501#992678
[18:13:16] stalactit: which didn't have any resolution
[18:16:10] stalactit: oh and also traveling-ruby, but it just lits some hurdles without specific solutions in "Why not just statically link the Ruby binary?"
[18:17:01] stalactit: so I guess my real question is whether "You have to hand-edit lots of Makefiles to make everything properly link statically. You can't just add -static as compiler flag and expect everything to work." is still accurate?
[18:17:02] roamingdog: has joined #ruby
[18:25:01] stalactit: and with-static-linked-ext will link all exts statically which seems promising
[18:34:41] Dimik: has joined #ruby
[18:35:02] wontruefree: has joined #ruby
[18:40:03] Zaab1t1: has joined #ruby
[18:44:43] User458764: has joined #ruby
[18:45:48] guacamole: has joined #ruby
[18:45:48] guacamole: has joined #ruby
[19:05:48] dviola: has joined #ruby
[19:06:20] SuperLag: has joined #ruby
[19:07:25] beilabs: has joined #ruby
[19:13:40] madgen: has joined #ruby
[19:16:37] konsolebox: has joined #ruby
[19:18:28] nicht: has joined #ruby
[19:18:31] nicht_: has joined #ruby
[19:24:10] aruns: Figured it out a couple of hours ago.
[19:24:35] postmodern: has joined #ruby
[19:31:13] GodFather: has joined #ruby
[19:35:39] Megamos: has joined #ruby
[19:49:33] FernandoBasso: has joined #ruby
[19:53:33] \void: has joined #ruby
[20:01:10] GodFather: has joined #ruby
[20:02:29] jrafanie: has joined #ruby
[20:05:10] User458764: has joined #ruby
[20:06:17] akaiiro: has joined #ruby
[20:18:28] white_lilies: has joined #ruby
[20:19:12] p0p0pr37: has joined #ruby
[20:24:49] venmx: has joined #ruby
[20:27:02] gizmore: https://www.youtube.com/watch?v=Zw_tiJlCo3E
[20:27:17] gizmore: oops wrong window
[20:38:16] blackmesa1: has joined #ruby
[20:38:34] jrafanie: has joined #ruby
[20:42:38] t0xik: has joined #ruby
[20:55:26] jrafanie: has joined #ruby
[20:56:19] dmgk: has left #ruby: ()
[21:00:27] Asher: has joined #ruby
[21:05:36] cadillac_: has joined #ruby
[21:08:43] ogres: has joined #ruby
[21:11:33] j0bk: has joined #ruby
[21:11:33] j0bk: has joined #ruby
[21:18:28] j0bk: has joined #ruby
[21:18:29] j0bk: has joined #ruby
[21:18:31] RougeR: has joined #ruby
[21:18:53] yokel: has joined #ruby
[21:24:33] karapetyan: has joined #ruby
[21:30:13] amar: has joined #ruby
[21:32:40] orbyt_: has joined #ruby
[21:34:25] r29v: has joined #ruby
[21:45:02] hph^: has joined #ruby
[21:58:36] codymj: has joined #ruby
[22:05:32] jrafanie: has joined #ruby
[22:08:57] segy: has joined #ruby
[22:12:06] sagax: has joined #ruby
[22:13:58] TinkerT: has joined #ruby
[22:15:21] amar: has joined #ruby
[22:19:58] r29v: has joined #ruby
[22:20:52] Azure: has joined #ruby
[22:24:59] gizmore: has joined #ruby
[22:25:52] gizmore: https://www.youtube.com/watch?v=Zw_tiJlCo3E
[22:26:01] gizmore: right window :p sorry
[22:27:01] gizmore: bundler and gems are not as good as they could be?
[22:30:24] Asher: has joined #ruby
[22:31:00] herbmillerjr: has joined #ruby
[22:37:17] tabakhase: has joined #ruby
[22:57:11] nowhere_man: has joined #ruby
[23:00:35] Inline: has joined #ruby
[23:00:49] nadir: has joined #ruby
[23:03:11] mtkd: has joined #ruby
[23:06:32] nowhere_man: has joined #ruby
[23:06:51] zachk: has joined #ruby
[23:06:51] zachk: has joined #ruby
[23:13:21] jamesaxl: has joined #ruby
[23:14:40] lele: has joined #ruby
[23:17:12] blackmesa1: has joined #ruby
[23:34:26] thadtheman: Eeew. I have a full filename and I want to modify the name before the extension. yuch.
[23:40:52] arkane: has joined #ruby
[23:44:16] sauvin_: has joined #ruby
[23:45:56] tdy: has joined #ruby
[23:51:14] _whitelogger: has joined #ruby