« Back to channel list

#ruby - 21 October 2017

« Back 1 day Forward 1 day »
[00:00:12] duderonomy: has joined #ruby
[00:01:54] minimalism: has joined #ruby
[00:03:13] pilne: has joined #ruby
[00:05:40] RickHull: cahoots: here's what you're up against; no metaprogramming needed https://gist.github.com/rickhull/f5938a6996ef39ddfcef0267896e8ded
[00:05:43] ramfjord: has joined #ruby
[00:06:19] cahoots: yeah, makes sense
[00:06:24] cahoots: intellij idea handles this for java
[00:06:39] RickHull: java is much more static, less flexible, less dynamic
[00:06:44] RickHull: it's part of the language feature tradeoff
[00:07:21] cahoots: again, you would have false positives for metaprogramming. but metaprogramming is very rare for many projects, or in limited scopes within projects
[00:07:40] cagomez: has joined #ruby
[00:07:44] RickHull: you would have false positives for my gist with zero metaprogramming
[00:08:02] RickHull: forget metaprogramming -- it's too hard without even going there
[00:08:44] workmad3: has joined #ruby
[00:08:55] cahoots: you're saying that because it's a monkeypatch, it wouldn't work? that's incorrect. objc, e.g. handles monkeypatching, i.e. categories
[00:09:15] RickHull: look at the definition of Foo.foo -- it consists of a single expression `bar`
[00:09:30] RickHull: ruby decided that you can only know at runtime what that `bar` is
[00:09:42] orbyt_: has joined #ruby
[00:09:44] RickHull: you can't know if it's valid or invalid code without running it
[00:10:02] cahoots: i see. sure, that's a pretty rare case, and probably a bug
[00:10:09] cahoots: even if it works at runtime
[00:10:15] RickHull: it's part of how a lot of ruby code is written
[00:10:19] RickHull: it's just a barebones example
[00:10:31] RickHull: ruby's swiss cheese is mostly holes ;)
[00:11:53] cahoots: hehe yeah i haven't worked on too large a variety of projects
[00:12:30] zenspider: jesus people... way to shit all over a perfectly reasonable question for bullshit reasons.
[00:12:31] ramfjord: has joined #ruby
[00:13:03] RickHull: which question? and what's the simple answer? also, no shitting here
[00:13:11] zenspider: cahoots: I don't know of a static analyzer for uninitialized vars... but `ruby -w` handles that already, so that might be why
[00:14:02] elomatreb: Uninitialized class/global(?) vars, yes. We just assumed local vars
[00:14:09] RickHull: ruby without -w errors on unitialized locals
[00:14:19] elomatreb: *instance/class/global
[00:14:19] RickHull: typically ruby -w adds warnings about unused locals
[00:14:24] cahoots: zenspider, that's a different case, but yeah that's a nice static check to have
[00:15:11] RickHull: the short answer is probably Rubocop, as mentioned
[00:15:18] zenspider: cahoots: different from what?
[00:15:35] zenspider: RickHull: not necessarily ... locals can look like methods
[00:15:45] cahoots: different from trying to call a method on a variable that doesn't exist. perhaps i mistyped earlier
[00:15:53] RickHull: zenspider: see my gist?
[00:16:45] RickHull: cahoots: ah, this is the first time you've mentioned calling a method on an undefined variable. you would get the NameError first, likely
[00:16:53] RickHull: or undefined method on nil in some cases
[00:17:05] zenspider: I agree with the above comment that refactoring without tests is a bad idea... I'd start there
[00:18:25] ozcanesen: has joined #ruby
[00:18:31] ramfjord: has joined #ruby
[00:19:17] elomatreb: RickHull: If the variable in question is a local variable-like, you will get a name error. However, e.g. undefined instance variables are nil and do not error, so you'd get undefined method on nil
[00:19:21] cdg: has joined #ruby
[00:19:26] elomatreb: >> @asdf.hello
[00:19:30] ruby[bot]: elomatreb: # => undefined method `hello' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/883790)
[00:19:43] RickHull: yep -- this seems more like a quirk than a feature ;)
[00:19:55] nofxx: has joined #ruby
[00:19:56] elomatreb: And this is one of the things ruby -w warns about
[00:19:58] raynold: has joined #ruby
[00:20:05] RickHull: ah, good point
[00:21:25] RickHull: these days, I lean more towards Elixir and Crystal in terms of language feature tradeoffs :)
[00:23:04] hexchat: has joined #ruby
[00:24:29] ramfjord: has joined #ruby
[00:29:06] alnewkirk: has joined #ruby
[00:33:37] matcouto: has joined #ruby
[00:43:01] alnewkirk: has joined #ruby
[00:54:03] cahoots_: has joined #ruby
[00:54:52] zanoni: has joined #ruby
[00:56:44] alnewkirk: has joined #ruby
[00:57:38] bkxd: has joined #ruby
[00:58:16] CrazyEddy: has joined #ruby
[01:00:40] Technodrome: has joined #ruby
[01:05:08] nicesignal: has joined #ruby
[01:07:00] alnewkirk: has joined #ruby
[01:07:18] charliesome: has joined #ruby
[01:12:19] cahoots: has joined #ruby
[01:17:30] alnewkirk: has joined #ruby
[01:22:30] rajnoT: has joined #ruby
[01:23:00] gix: has joined #ruby
[01:26:13] cdg: has joined #ruby
[01:29:02] Technodrome: has joined #ruby
[01:32:54] d^sh: has joined #ruby
[01:33:01] gix: has joined #ruby
[01:37:11] mim1k: has joined #ruby
[01:37:34] orbyt_: has joined #ruby
[01:43:17] nadir: has joined #ruby
[01:47:53] cgfbee: has joined #ruby
[01:51:11] _whitelogger: has joined #ruby
[01:54:30] gizmore|2: has joined #ruby
[01:57:33] dc4: has joined #ruby
[02:01:33] bruno-: has joined #ruby
[02:09:26] workmad3: has joined #ruby
[02:22:36] cschneid_: has joined #ruby
[02:24:49] cschneid_: has joined #ruby
[02:25:50] kapil___: has joined #ruby
[02:28:59] imode: has joined #ruby
[02:33:53] cdg: has joined #ruby
[02:34:47] rideh: has joined #ruby
[02:38:25] bkxd: has joined #ruby
[02:41:09] guardianx: has joined #ruby
[02:46:53] uZiel: has joined #ruby
[02:55:01] dc4: has joined #ruby
[03:00:49] alnewkirk: has joined #ruby
[03:04:08] SeepingN: has joined #ruby
[03:05:16] bruno-: has joined #ruby
[03:14:37] alnewkirk: has joined #ruby
[03:16:17] alfiemax: has joined #ruby
[03:23:51] alnewkirk: has joined #ruby
[03:29:04] gix: has joined #ruby
[03:33:59] bkxd: has joined #ruby
[03:36:02] cschneid: has joined #ruby
[03:37:39] mim1k: has joined #ruby
[03:38:19] DarkBushido: has joined #ruby
[03:38:20] DarkBushido: has joined #ruby
[03:38:33] rideh: has joined #ruby
[03:38:59] jeffreylevesque: has joined #ruby
[03:54:11] _whitelogger: has joined #ruby
[04:03:12] BTRE: has joined #ruby
[04:08:30] ramfjord: has joined #ruby
[04:09:26] uZiel: has joined #ruby
[04:10:02] workmad3: has joined #ruby
[04:10:54] bkxd: has joined #ruby
[04:17:29] DarkBushido: has joined #ruby
[04:17:29] DarkBushido: has joined #ruby
[04:18:10] ramfjord: has joined #ruby
[04:21:36] cschneid: has joined #ruby
[04:25:01] SeepingN: has joined #ruby
[04:31:19] alnewkirk: has joined #ruby
[04:33:48] spectrum: has joined #ruby
[04:36:09] mim1k: has joined #ruby
[04:37:41] enterprisey: has joined #ruby
[04:46:15] fizzycola: given the trade offs crystal makes (features it loses) i'm not so sure
[04:49:14] Hanmac: has joined #ruby
[04:51:11] fizzycola: not so sure about Crystal* sorry. there was 'duby' before that. for native-JVM speed ruby (or close?). Crystal is built on some unproven tech for high perf languages.
[04:51:54] fizzycola: namely the GC
[04:59:18] apparition: has joined #ruby
[05:05:07] tastytf: has joined #ruby
[05:06:56] RickHull: i am a fan of type checks, particularly in terms of correctness and readability
[05:07:20] RickHull: type inference can do a lot of work to mitigate the downsides of type checking
[05:08:25] RickHull: ruby's duck typing has gotten less valuable to me, as well as the choice in most code to be less explicit
[05:09:17] RickHull: e.g. not being able to distinguish between a local var and a method call
[05:09:53] RickHull: i'd rather the code be more explicit about whether `bar` is a local var or a method call, and not have to have loaded ruby's name resolution scheme in my head in order to determine by reading code
[05:12:42] LocaMocha: has joined #ruby
[05:14:42] ramfjord: has joined #ruby
[05:14:43] RickHull: with more static and strong typing, more static checks are available and automated refactoring is more reliable (or even possible)
[05:18:19] latemus: is it possible to have a ruby script read and evaluate key combinations?
[05:18:38] latemus: can i gets.chomp alt+h
[05:19:20] latemus: (for example)
[05:21:27] dc4: has joined #ruby
[05:21:31] latemus: i want this repl to handle keybindings
[05:21:55] zenspider: depends if your OS swallows them first or not
[05:22:05] zenspider: getch is pretty raw. play with that
[05:22:58] zenspider: nope. getch exists in io/console
[05:23:33] zenspider: >> $stdin.getch
[05:23:34] zenspider: => "\u0001"
[05:23:34] zenspider: >> $stdin.getch
[05:23:34] ruby[bot]: zenspider: # => undefined method `getch' for #<IO:<STDIN>> ...check link for more (https://eval.in/883813)
[05:23:35] zenspider: => "\u0002"
[05:23:35] ruby[bot]: zenspider: # => undefined method `getch' for #<IO:<STDIN>> ...check link for more (https://eval.in/883814)
[05:23:45] zenspider: oh shut up bot... you're lucky you ran at all
[05:23:47] zenspider: it's up to you to interpret
[05:23:57] zenspider: that was C-a and C-b respectively
[05:24:08] mjolnird: has joined #ruby
[05:24:15] latemus: okay, thanks i'll start there
[05:24:45] zenspider: probably a bad idea tho... you probably want to start coding a proper gui... either tk or gtk or something
[05:25:45] latemus: tk with ruby?
[05:29:08] zenspider: yup, not to be confused with tcl
[05:42:16] ozcanesen: has joined #ruby
[05:42:25] MyMind: has joined #ruby
[06:10:26] alfiemax: has joined #ruby
[06:10:33] workmad3: has joined #ruby
[06:11:51] alnewkir1: has joined #ruby
[06:25:30] ramfjord: has joined #ruby
[06:29:20] QualityAddict: has joined #ruby
[06:43:05] n13z: has joined #ruby
[06:46:13] ramfjord: has joined #ruby
[06:47:14] bkxd: has joined #ruby
[06:48:43] Caius: has joined #ruby
[06:48:43] Caius: has joined #ruby
[06:55:30] moei: has joined #ruby
[07:01:42] zautomata: has joined #ruby
[07:06:46] ramfjord: has joined #ruby
[07:15:11] _whitelogger: has joined #ruby
[07:16:38] cdg: has joined #ruby
[07:16:38] alex``: has joined #ruby
[07:27:30] dionysus69: has joined #ruby
[07:30:17] n13z: has joined #ruby
[07:30:31] charliesome: has joined #ruby
[07:32:40] conta: has joined #ruby
[07:33:30] tastytf: has joined #ruby
[07:35:30] tastytf: has joined #ruby
[07:36:40] tastytf: has joined #ruby
[07:37:27] conta: has joined #ruby
[07:41:36] rtd2: has joined #ruby
[07:42:04] rtd2: somebody stop that man!
[07:52:03] rippa: has joined #ruby
[07:53:38] govg: has joined #ruby
[08:05:33] ramfjord: has joined #ruby
[08:09:55] AnoHito_: has joined #ruby
[08:11:14] workmad3: has joined #ruby
[08:13:43] ldepandis: has joined #ruby
[08:18:10] tastytf: has joined #ruby
[08:23:51] sagax: has joined #ruby
[08:25:12] claudiuinberlin: has joined #ruby
[08:26:02] ramfjord: has joined #ruby
[08:27:50] def_jam: has joined #ruby
[08:28:08] eb0t_: has joined #ruby
[08:28:38] biberu: has joined #ruby
[08:28:55] Pisuke: has joined #ruby
[08:31:11] ams__: has joined #ruby
[08:33:09] marr: has joined #ruby
[08:35:23] selim: has joined #ruby
[08:49:47] apparition: has joined #ruby
[08:52:50] conta: has joined #ruby
[08:54:57] InfinityFye: has joined #ruby
[08:55:14] kies: has joined #ruby
[09:00:40] charliesome: has joined #ruby
[09:02:12] Technodrome: has joined #ruby
[09:04:50] lxsameer: has joined #ruby
[09:18:11] mikecmpbll: has joined #ruby
[09:18:46] _sfiguser: has joined #ruby
[09:20:06] ^mtkd: has joined #ruby
[09:21:52] charliesome: has joined #ruby
[09:23:48] nikivi: has joined #ruby
[09:24:32] charliesome_: has joined #ruby
[09:24:34] alfiemax: has joined #ruby
[09:25:41] mtkd: has joined #ruby
[09:26:38] ramfjord: has joined #ruby
[09:27:29] nikivi: has joined #ruby
[09:31:02] wolfshappen: has joined #ruby
[09:31:59] cdg: has joined #ruby
[09:38:56] conta: has joined #ruby
[09:42:14] ramfjord: has joined #ruby
[09:45:35] blackmesa: has joined #ruby
[09:55:01] ldepandis: has joined #ruby
[09:56:21] bkxd: has joined #ruby
[10:02:46] ramfjord: has joined #ruby
[10:06:10] _whitelogger: has joined #ruby
[10:09:40] Neptu: has joined #ruby
[10:10:57] Devalo: has joined #ruby
[10:13:09] tastytinyf: has joined #ruby
[10:24:45] GodFather: has joined #ruby
[10:32:07] sepp2k: has joined #ruby
[10:42:44] Ryzokuken: has joined #ruby
[10:48:17] oleo: has joined #ruby
[10:51:30] nofxx: has joined #ruby
[10:58:12] bbear: has joined #ruby
[11:00:57] Devalo: has joined #ruby
[11:06:02] ddffg: has joined #ruby
[11:12:01] zautomata: has joined #ruby
[11:12:40] ishahnaz: has joined #ruby
[11:14:08] ldepandis: has joined #ruby
[11:14:22] Puffball: has joined #ruby
[11:14:48] wald0: has joined #ruby
[11:20:32] zanoni: has joined #ruby
[11:20:47] daemonwrangler: has joined #ruby
[11:23:47] erts: has joined #ruby
[11:24:12] fullstack: has joined #ruby
[11:28:38] eightlimbed__: has joined #ruby
[11:37:40] gizmore: has joined #ruby
[11:41:26] charliesome: has joined #ruby
[11:43:04] nofxx: has joined #ruby
[11:44:30] bkxd: has joined #ruby
[11:48:41] charliesome: has joined #ruby
[11:58:53] enterprisey: has joined #ruby
[12:02:44] __Yiota: has joined #ruby
[12:03:18] ramfjord: has joined #ruby
[12:03:24] charliesome: has joined #ruby
[12:12:27] workmad3: has joined #ruby
[12:12:47] nowhere_man: has joined #ruby
[12:15:18] erts: has joined #ruby
[12:22:13] Silthias1: has joined #ruby
[12:30:15] alnewkirk: has joined #ruby
[12:43:42] ramfjord: has joined #ruby
[12:48:44] Megamos: has joined #ruby
[12:52:43] ferr: has joined #ruby
[12:53:48] anisha: has joined #ruby
[12:57:19] __Yiota: has joined #ruby
[13:04:19] eightlimbed__: has joined #ruby
[13:05:01] john__: has joined #ruby
[13:05:17] fullstack: has joined #ruby
[13:13:00] fmcgeough: has joined #ruby
[13:13:52] alfiemax: has joined #ruby
[13:14:25] charliesome: has joined #ruby
[13:18:47] Azure: has joined #ruby
[13:19:17] ertse: has joined #ruby
[13:19:54] ramfjord: has joined #ruby
[13:21:01] _sfiguser: has joined #ruby
[13:21:27] mikecmpbll: has joined #ruby
[13:24:23] sepp2k: has joined #ruby
[13:28:15] ioggstream: has joined #ruby
[13:31:58] goyox86: has joined #ruby
[13:32:54] bkxd: has joined #ruby
[13:34:53] john__: has joined #ruby
[13:35:26] unreal: has joined #ruby
[13:40:32] FahmeF: has joined #ruby
[13:46:32] charliesome: has joined #ruby
[13:47:38] cdg: has joined #ruby
[13:50:04] bkxd: has joined #ruby
[13:53:23] alfiemax: has joined #ruby
[13:53:55] fullstack: has joined #ruby
[13:54:34] cschneid_: has joined #ruby
[13:54:57] nowhereman: has joined #ruby
[13:57:01] dionysus69: has joined #ruby
[13:57:43] mtkd: has joined #ruby
[13:58:19] charliesome: has joined #ruby
[14:09:42] zanoni: has joined #ruby
[14:10:24] pilne: has joined #ruby
[14:15:37] charliesome: has joined #ruby
[14:18:32] nickwarner1: has joined #ruby
[14:19:27] nickwarner1: has joined #ruby
[14:20:17] nickwarner: has joined #ruby
[14:21:36] nickwarner: has left #ruby: ()
[14:23:52] jphase: has joined #ruby
[14:25:23] nowhereman: has joined #ruby
[14:26:17] conta2: has joined #ruby
[14:27:31] bkxd: has joined #ruby
[14:34:17] erts: has joined #ruby
[14:34:19] erts: has joined #ruby
[14:37:01] minimalism: has joined #ruby
[14:40:00] evie_hammond: has joined #ruby
[14:44:07] _aeris_: has joined #ruby
[14:46:29] alnewkirk: has joined #ruby
[14:53:55] zautomata: has joined #ruby
[14:55:02] tvw: has joined #ruby
[14:58:32] __Yiota: has joined #ruby
[15:00:40] crst: has joined #ruby
[15:02:13] bbear: has joined #ruby
[15:03:13] crst: Hey guys! chrisfix here. :) Why is /usr/local/var/rbenv/shims always on top of my paths? It messes around with normal binaries which I can't use properly then.
[15:03:49] alfiemax_: has joined #ruby
[15:04:51] Hanmac: has left #ruby: ()
[15:06:01] charliesome: has joined #ruby
[15:11:18] ^mtkd: has joined #ruby
[15:15:28] alnewkirk: has joined #ruby
[15:19:26] bambanx: has joined #ruby
[15:20:10] nowhereman: has joined #ruby
[15:20:28] ramfjord: has joined #ruby
[15:24:55] Megamos: has joined #ruby
[15:25:10] swirlsMD: has joined #ruby
[15:25:35] uZiel: has joined #ruby
[15:28:54] tmm88: has joined #ruby
[15:28:55] tmm88: has joined #ruby
[15:30:43] Technodrome: has joined #ruby
[15:34:49] __Yiota: has joined #ruby
[15:36:21] uZiel: has joined #ruby
[15:41:04] ramfjord: has joined #ruby
[15:42:04] havenwood: crst: It looks like you're using the rbenv tool, which works by putting a directory of shims in front of your PATH.
[15:42:53] havenwood: crst: Alternatively you could put the Ruby bin/ dir in your PATH and set GEM_HOME, GEM_ROOT, etc. That's what chruby does.
[15:43:11] havenwood: crst: In any case, it'll involve something in front of your PATH, but it doesn't have to be shims. Your choice!
[15:44:23] havenwood: crst: What problem are you running into with the shims?
[15:46:39] crst: havenwood: that's right. I'm using rbenv to manage my ruby versions and like to keep using it. But when I want to use rg -irl 'active' . for instance it interferes with redgreen-1.2.2/bin/rg That's just one example of a handful
[15:47:39] alfiemax: has joined #ruby
[15:47:48] havenwood: crst: Ah, so just multiple commands with the same name? Yeah, that's a general problem.
[15:48:13] crst: havenwood: exactly
[15:48:22] havenwood: crst: `which -a command_name_here` shows it's pretty common (rbenv aside) to have multiple commands in your PATH with the same name
[15:48:29] havenwood: sometimes different commands, same name - annoyingly so
[15:48:41] havenwood: but that's not an rbenv-specific thing
[15:49:13] havenwood: crst: you can alias the names of programs lower in your path, call them directly with their full path, or munge path to change the order
[15:51:23] crst: havenwood: yeah, for this reason I keep my main installation path /usr/local/bin on top of all other paths, but then rbenv forces it's shims on top of that. I manage my paths pretty well but once in a while rbenv interferes and I'd like to use paste commands or use history and avoid aliasing the command.
[15:51:36] havenwood: crst: alternatively you could point rbenv temporarily at a ruby that doesn't have those gems installed, like system Ruby
[15:52:21] crst: havenwood: I know, but then I'd have to do that each time :)
[15:52:53] havenwood: crst: i'd recommend just aliasing one of the command names when one stomps on another
[15:52:57] matthewd: Is the gem a necessary dependency of something? Can you just remove it?
[15:53:18] matthewd: "It will install a 'rg' file in your bin directory" is apparently its stated purpose
[15:53:34] mathys: has joined #ruby
[15:53:36] havenwood: crst: another option is to have rubygems prefix something onto all your gem binary names
[15:53:40] bkxd: has joined #ruby
[15:54:13] alfiemax_: has joined #ruby
[15:55:10] matthewd: The shims directory should be added to your path when rbenv gets initialized, I think?
[15:55:19] crst: havenwood: ok, thanks a lot! matthewd: I'm fairly certain it is required by at least one rails project I'm working on. havenwood: There are some gems I use often in the cli and like to avoid renaming them, too.
[15:55:53] matthewd: .. so maybe it's as simple as manipulating the path after that, in your .bashrc ?
[15:56:13] havenwood: crst: If conflicting command names must be installed, it's really a matter of choosing how you want to alias.
[15:56:41] ramfjord: has joined #ruby
[15:56:45] havenwood: crst: RubyGems supports a --format-executable flag, which will prefix the Ruby version to your gem binary names. You could then alias back the commonly used gem names.
[15:56:49] matthewd: Given its last release was 10 years ago, in this particular case, you might be able to just rm its binfile, if you don't use it, and forget it was ever there (while keeping the gem installed)
[15:57:10] havenwood: crst: Or leave the gem names as are and alias the ones you care about.
[15:57:22] matthewd: NB the real binfile, not the shim -- the latter will be recreated based on the former
[15:57:26] edward__: has joined #ruby
[15:57:46] imode: has joined #ruby
[15:57:52] havenwood: Yeah, a combo of removing any conflicting commands and aliasing those you really want multiple of should do the trick.
[15:59:34] crst: havenwood, matthewd: I see, thanks for suggesting me these possibilities! I keep these in mind while trying to create a workaround.
[16:01:45] bruno-: has joined #ruby
[16:04:07] matthewd: The friendliest workaround for colleagues might be to try to remove the dep, tbh
[16:05:11] kahra: has joined #ruby
[16:07:58] fullstack: has joined #ruby
[16:08:06] zautomata: has joined #ruby
[16:08:35] crst: that's certainly a nice thing to do for your colleagues
[16:11:23] crst: has joined #ruby
[16:12:49] kahra: has joined #ruby
[16:13:32] kahra: has joined #ruby
[16:13:43] workmad3: has joined #ruby
[16:13:56] Apocalypse: has joined #ruby
[16:17:15] ramfjord: has joined #ruby
[16:17:22] john__: has joined #ruby
[16:23:25] cdg: has joined #ruby
[16:24:02] p0p0pr37: has joined #ruby
[16:24:24] selim_: has joined #ruby
[16:26:37] Sembei: has joined #ruby
[16:28:22] Ryzokuken: has joined #ruby
[16:29:58] alfiemax: has joined #ruby
[16:33:08] milardovich: has joined #ruby
[16:36:06] dinfuehr: has joined #ruby
[16:41:10] enterprisey: has joined #ruby
[16:41:37] ldepandis: has joined #ruby
[16:43:51] p0p0pr37_: has joined #ruby
[16:43:52] p0p0pr37_: has joined #ruby
[16:44:45] eightlimbed__: has joined #ruby
[16:46:25] Vile`: has joined #ruby
[16:49:56] conta1: has joined #ruby
[16:50:29] dviola: has joined #ruby
[16:56:00] p0p0pr37_: has joined #ruby
[16:56:01] p0p0pr37_: has joined #ruby
[17:02:37] apeiros_: has joined #ruby
[17:15:34] fullstack: has joined #ruby
[17:21:42] fullstack: has joined #ruby
[17:21:48] bruno-: has joined #ruby
[17:38:43] uZiel: has joined #ruby
[17:39:09] alfiemax: has joined #ruby
[17:49:52] raynold: has joined #ruby
[17:50:11] goyox86: has joined #ruby
[17:51:05] RickHull: has joined #ruby
[17:51:09] goyox86: has left #ruby: ()
[17:52:41] goyox86_: has joined #ruby
[17:53:48] fullstack: has joined #ruby
[17:56:32] Technodrome: has joined #ruby
[18:01:39] fullstack: has joined #ruby
[18:14:13] workmad3: has joined #ruby
[18:26:39] erts: has joined #ruby
[18:31:04] dc4: has joined #ruby
[18:32:20] ShekharReddy: has joined #ruby
[18:34:28] apeiros_: has joined #ruby
[18:44:56] ozcanesen: has joined #ruby
[18:52:43] orbyt_: has joined #ruby
[18:55:11] alnewkirk: has joined #ruby
[19:01:02] Immune: has joined #ruby
[19:01:28] goyox86: has joined #ruby
[19:07:38] andersamer: has joined #ruby
[19:08:03] andersamer: has left #ruby: ()
[19:09:33] goyox86: has joined #ruby
[19:14:34] alex``: has joined #ruby
[19:15:11] zack6849: has joined #ruby
[19:15:12] zack6849: has joined #ruby
[19:17:46] milardovich: has joined #ruby
[19:19:04] goyox86_: has joined #ruby
[19:20:46] conta: has joined #ruby
[19:21:31] Dimik: has joined #ruby
[19:25:37] Devalo: has joined #ruby
[19:32:59] Devalo: has joined #ruby
[19:35:06] milardov_: has joined #ruby
[19:35:29] zapata: has joined #ruby
[19:35:56] tmm88_: has joined #ruby
[19:36:46] john__: has joined #ruby
[19:39:14] alnewkirk: has joined #ruby
[19:39:39] Devalo: has joined #ruby
[19:42:21] Yzguy: has joined #ruby
[19:42:46] Devalo: has joined #ruby
[19:44:56] milardovich: has joined #ruby
[19:45:41] eightlimbed_: has joined #ruby
[19:49:25] fullstack: has joined #ruby
[19:53:26] Immune: has joined #ruby
[19:55:14] tekk: has joined #ruby
[20:00:19] tmm88: has joined #ruby
[20:03:50] al2o3-cr: i see a red door and want to paint it black.
[20:07:52] blackmesa: has joined #ruby
[20:11:06] RickHull: there is a house in Baton Rouge they call the rising sun
[20:14:56] workmad3: has joined #ruby
[20:15:18] al2o3-cr: house of the rising sun.
[20:17:33] al2o3-cr: it's prolly older than both of us (original)
[20:21:26] eightlimbed__: has joined #ruby
[20:35:13] goyox86_: has joined #ruby
[20:38:47] goyox86_: has joined #ruby
[20:41:38] mtkd: has joined #ruby
[20:41:52] veeti: has joined #ruby
[20:46:28] goyox86: has joined #ruby
[20:48:46] goyox86: has joined #ruby
[20:49:47] AlexRussia: has joined #ruby
[20:51:33] govg: has joined #ruby
[20:59:53] bkxd: has joined #ruby
[21:03:33] SuperLag: has joined #ruby
[21:07:41] DTZUZO: has joined #ruby
[21:12:43] ian_0xF: has joined #ruby
[21:20:59] havenwood: ian_0xF: hi
[21:22:40] ian_0xF: Guys, could you say which apps' sources are good to see how to create ruby apps? I can't figure out how to design not-a-command-line-tool-like app
[21:24:33] n13z: Shoes! :D
[21:25:04] havenwood: ian_0xF: Rails is of course the most popular Rack adapter. I really like Roda for simple projects.
[21:25:15] Psybur: has joined #ruby
[21:25:52] charliesome: has joined #ruby
[21:27:00] ian_0xF: Have you used them in production?
[21:28:35] ian_0xF: I mean Roda
[21:29:01] havenwood: ian_0xF: Yup, I do use Roda and Rails in prod.
[21:29:14] al2o3-cr: havenwood: link them to all alternatives :)
[21:30:07] ian_0xF: Ok, thank you
[21:30:44] havenwood: ian_0xF: Here are some Hello Worlds in various Rack adapters: https://github.com/luislavena/bench-micro/tree/master/apps
[21:31:21] al2o3-cr: that's the one :)
[21:31:54] goyox86: has joined #ruby
[21:32:26] al2o3-cr: havenwood: that should be a ?rack
[21:34:23] goyox86: has joined #ruby
[21:34:43] Mia: has joined #ruby
[21:40:23] ian_0xF: has joined #ruby
[21:41:50] al2o3-cr: >> RUBY_VERSION
[21:41:51] ruby[bot]: al2o3-cr: # => "2.3.0" (https://eval.in/884420)
[21:43:23] biox: has joined #ruby
[22:04:07] goyox86: has joined #ruby
[22:08:51] goyox86: has joined #ruby
[22:11:44] swirlsMD: has joined #ruby
[22:15:50] al2o3-cr: >> Regexp.module_eval { define_method(:to_proc) { proc { |s| s[self, 1] } } }; %w|£10.00 $20.00 €30.00|.map &/(\p{Sc})/
[22:15:51] ruby[bot]: al2o3-cr: # => ["£", "$", "€"] (https://eval.in/884421)
[22:18:22] ramfjord: has joined #ruby
[22:19:17] al2o3-cr: let's do all the classes
[22:23:22] justthisguy: has joined #ruby
[22:25:25] marr: has joined #ruby
[22:28:14] xekt0r: has joined #ruby
[22:28:31] GodFather: has joined #ruby
[22:31:23] iszak: has joined #ruby
[22:31:23] iszak: has joined #ruby
[22:39:11] _whitelogger: has joined #ruby
[22:39:16] zanoni: using Sinatra, if I set an instance variable in a helper method , confirmed it's set to the params, shouldn't it be available in another route?
[22:45:38] bmurt: has joined #ruby
[22:49:31] iszak: has joined #ruby
[22:49:41] iszak: has joined #ruby
[22:58:06] houhoulis: has joined #ruby
[22:58:43] Mia: has joined #ruby
[22:58:43] Mia: has joined #ruby
[23:00:01] houhoulis: has joined #ruby
[23:05:22] oetjenj: has joined #ruby
[23:07:30] thinkpad: has joined #ruby
[23:07:37] zanoni: that was a bad question ;), not even sure what i was thinking
[23:09:07] ramfjord: has joined #ruby
[23:14:29] Mia: has joined #ruby
[23:14:30] Mia: has joined #ruby
[23:19:20] kies: has joined #ruby
[23:19:30] Intaler: has joined #ruby
[23:20:07] Intaler: is this for the ruby language?
[23:31:56] Hexafox[I]: has joined #ruby
[23:33:20] Mia: has joined #ruby
[23:33:20] Mia: has joined #ruby
[23:37:59] alveric4: has joined #ruby
[23:40:39] ozcanesen: has joined #ruby
[23:42:38] miah: has joined #ruby
[23:49:58] cschneid: has joined #ruby
[23:50:05] bkxd: has joined #ruby
[23:51:04] Puffball_: has joined #ruby
[23:52:17] cADO: has joined #ruby
[23:52:36] cADO: has left #ruby: ()
[23:53:14] cADO: has joined #ruby
[23:56:59] DarkBushido: has joined #ruby
[23:57:00] DarkBushido: has joined #ruby
[23:57:22] banisterfiend: has joined #ruby
[23:57:36] banisterfiend: wtf does bundler sometimes say "Your Ruby version is 1.9.3, but your Gemfile specified 2.3.1" when i did no such thing! (i didn't specify the ruby version)
[23:58:48] elomatreb: The Gemfile.lock specifies that