#ruby - 16 June 2018
« Back 1 day Forward 1 day »
[00:09:49] cthulchu: after executing something like bundle exec ruby tests_web/crypto/web_crypto_watch_test.rb
[00:13:54] cthulchu: generally, yes. I don't use the terminal, I use iterm2, but the terminal closes too
[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
[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.
[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?
[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
[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: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:59:11] apeiros: so you call escape here `CGI.encode(cgi.params)` - how exactly did you determine that cgi.params is a string?
[15:00:58] aruns: Although that can falsely identify variables that are pointing to a datatype, it seems like a string to me.
[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.
[18:10:08] stalactit: this was a nice guide for getting started https://silverhammermba.github.io/emberb/embed/
[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:25:01] stalactit: and with-static-linked-ext will link all exts statically which seems promising
[23:34:26] thadtheman: Eeew. I have a full filename and I want to modify the name before the extension. yuch.