« Back to channel list

#ruby - 03 June 2018

« Back 1 day Forward 1 day »
[00:01:04] jrafanie: has joined #ruby
[00:03:32] emilford: has joined #ruby
[00:11:07] sanscoeur: has joined #ruby
[00:12:09] peterR``: has joined #ruby
[00:12:30] jready: has joined #ruby
[00:21:44] tAn: has joined #ruby
[00:22:17] emilford: has joined #ruby
[00:22:25] kmurphy4: has joined #ruby
[00:22:56] alfiemax: has joined #ruby
[00:27:36] emilford: has joined #ruby
[00:35:37] emilford: has joined #ruby
[00:35:52] alfiemax: has joined #ruby
[00:38:06] ciscam: has joined #ruby
[00:41:56] wget: has joined #ruby
[00:42:00] mzo: has joined #ruby
[00:45:15] dendazen: has joined #ruby
[00:46:53] t0xik: has joined #ruby
[00:48:04] Vingador: has joined #ruby
[00:52:03] p0p0pr37_: has joined #ruby
[00:52:04] p0p0pr37_: has joined #ruby
[00:52:36] Vingador: has joined #ruby
[00:58:50] emilford: has joined #ruby
[01:10:00] gizmore: has joined #ruby
[01:14:11] alfiemax: has joined #ruby
[01:15:13] za1b1tsu: has joined #ruby
[01:16:27] jready: has joined #ruby
[01:16:57] wget: has joined #ruby
[01:16:57] wget: has joined #ruby
[01:23:45] emilford: has joined #ruby
[01:24:44] Asher: has joined #ruby
[01:30:21] emilford: has joined #ruby
[01:31:07] alfiemax: has joined #ruby
[01:39:03] ur5us: has joined #ruby
[01:39:48] emilford: has joined #ruby
[01:44:07] alfiemax: has joined #ruby
[01:47:54] emilford: has joined #ruby
[01:48:29] wget: has joined #ruby
[01:48:29] wget: has joined #ruby
[01:55:09] emilford: has joined #ruby
[02:02:09] darkhanb: has joined #ruby
[02:04:10] emilford: has joined #ruby
[02:08:22] rkazak: has joined #ruby
[02:11:55] emilford: has joined #ruby
[02:16:54] wget: has joined #ruby
[02:16:54] wget: has joined #ruby
[02:17:48] alfiemax: has joined #ruby
[02:20:16] emilford: has joined #ruby
[02:21:10] emerson: has joined #ruby
[02:25:56] OMGBloopMonster: has left #ruby: ("WeeChat 2.1")
[02:26:59] BloopMonsterOMG: has joined #ruby
[02:32:23] carbivore: has joined #ruby
[02:34:59] wget: has joined #ruby
[02:35:52] emilford: has joined #ruby
[02:36:32] cadillac__: has joined #ruby
[02:39:10] Vingador_: has joined #ruby
[02:41:15] alfiemax: has joined #ruby
[02:41:23] Vingador__: has joined #ruby
[02:44:02] emilford: has joined #ruby
[02:49:13] wget: has joined #ruby
[02:50:28] karapetyan: has joined #ruby
[02:51:41] andrevan: has joined #ruby
[02:51:47] tAn: has joined #ruby
[02:59:59] emilford: has joined #ruby
[03:00:08] cadillac_: has joined #ruby
[03:05:31] alfiemax: has joined #ruby
[03:08:06] emilford: has joined #ruby
[03:11:07] braincrash: has joined #ruby
[03:16:07] emilford: has joined #ruby
[03:22:11] ciscam: has joined #ruby
[03:22:51] eelster: has joined #ruby
[03:25:52] houhoulis: has joined #ruby
[03:27:52] wget: has joined #ruby
[03:28:23] edwardly: has joined #ruby
[03:29:58] edwardly: has joined #ruby
[03:36:49] emilford: has joined #ruby
[03:36:49] alfiemax: has joined #ruby
[03:37:36] derp10327: Tried my hand at writing my own Domain Specific Language today
[03:37:45] derp10327: did not go well, nearly a complete waste of time
[03:38:06] G: has joined #ruby
[03:39:10] derp10327: On another note, I am pretty irritated with people saying that Node is the top language to learn simply because "there are so many modules added per day" if you take a look at NPM in descending alphabetical order, most of the modules do nothing
[03:39:25] ur5us: has joined #ruby
[03:41:18] Liothen: has joined #ruby
[03:42:25] SegFaultAX: has joined #ruby
[03:43:01] gix: has joined #ruby
[03:44:03] Guest9089: Wait, you mean I don't need a third party module and all of its dependencies just to leftpad a number?
[03:47:57] tdy: has joined #ruby
[03:48:12] emilford: has joined #ruby
[03:49:19] Yzguy: has joined #ruby
[03:49:52] face: has joined #ruby
[03:56:12] emilford: has joined #ruby
[04:00:25] zautomata1: has joined #ruby
[04:01:30] wget: has joined #ruby
[04:02:50] emilford: has joined #ruby
[04:08:39] emilford: has joined #ruby
[04:09:21] alfiemax: has joined #ruby
[04:09:26] dinfuehr: has joined #ruby
[04:19:36] edwardly: has joined #ruby
[04:19:37] TinkerT: has joined #ruby
[04:19:43] edwardly: has joined #ruby
[04:28:25] baweaver: derp10327: then don't listen to them
[04:28:44] baweaver: People pick a language, and then go to great lengths to justify it
[04:29:11] baweaver: Some are even foolish enough to assume that means all other languages are bad, or "not as good"
[04:38:16] Vingador: has joined #ruby
[04:39:49] alfiemax: has joined #ruby
[04:41:39] jready: has joined #ruby
[04:48:26] orbyt_: has joined #ruby
[04:57:16] wget: has joined #ruby
[05:05:26] alfiemax: has joined #ruby
[05:15:44] wget: has joined #ruby
[05:22:41] tAn: has joined #ruby
[05:32:51] ciscam: has joined #ruby
[05:43:51] shinnya: has joined #ruby
[05:51:06] alfiemax_: has joined #ruby
[05:56:27] Vingador_: has joined #ruby
[06:03:02] wget: has joined #ruby
[06:10:55] dar123: has joined #ruby
[06:29:22] podlech: has joined #ruby
[06:39:16] thinkpad: has joined #ruby
[06:57:36] howdoi: has joined #ruby
[06:57:55] wget: has joined #ruby
[07:05:46] suukim: has joined #ruby
[07:06:31] Vingador: has joined #ruby
[07:09:27] Vingador__: has joined #ruby
[07:12:04] reber: has joined #ruby
[07:18:14] _whitelogger: has joined #ruby
[07:36:49] drumitar: has joined #ruby
[07:39:10] ellcs: has joined #ruby
[07:41:59] wget: has joined #ruby
[07:44:40] dar123: has joined #ruby
[07:50:39] apeiros: lol for calling *node* a language
[07:53:43] tAn: has joined #ruby
[08:01:47] VladGh_: has joined #ruby
[08:03:19] biberu: has joined #ruby
[08:06:29] ldepandis: has joined #ruby
[08:06:47] sameerynho: has joined #ruby
[08:13:43] amar: has joined #ruby
[08:16:02] agent_white: Languages are different, not bad... though there's Java... ;P
[08:19:42] schleppel: has joined #ruby
[08:25:38] alfiemax: has joined #ruby
[08:40:06] wget: has joined #ruby
[08:58:00] Vingador: has joined #ruby
[09:01:10] dhollin3: has joined #ruby
[09:01:38] wget: has joined #ruby
[09:21:00] AJA4350: has joined #ruby
[09:32:38] venmx: has joined #ruby
[09:35:34] apparition: has joined #ruby
[09:40:57] alfiemax: has joined #ruby
[09:42:01] ciscam: has joined #ruby
[09:44:09] desperek: has joined #ruby
[09:45:20] kapil___: has joined #ruby
[09:55:42] wget: has joined #ruby
[09:55:42] wget: has joined #ruby
[10:03:46] mtkd: has joined #ruby
[10:05:02] plexigras: has joined #ruby
[10:08:55] zenspider: has joined #ruby
[10:12:03] wget: has joined #ruby
[10:12:03] wget: has joined #ruby
[10:18:13] _whitelogger: has joined #ruby
[10:20:28] halt: has joined #ruby
[10:24:56] tAn: has joined #ruby
[10:27:46] pabs: has joined #ruby
[10:32:04] amar_: has joined #ruby
[10:55:01] ellcs: has joined #ruby
[11:02:33] ciscam: has joined #ruby
[11:05:48] TinkerT: has joined #ruby
[11:11:26] Mia: has joined #ruby
[11:11:26] Mia: has joined #ruby
[11:13:10] ldepandis: has joined #ruby
[11:17:54] thinkpad: has joined #ruby
[11:27:11] thinkpad: has joined #ruby
[11:30:29] alex``: has joined #ruby
[11:31:44] Tempesta_: has joined #ruby
[11:32:21] thinkpad: has joined #ruby
[11:33:14] stansmith: has joined #ruby
[11:34:30] chmurifree: has joined #ruby
[11:35:09] pabs: has joined #ruby
[11:37:41] amelliaa: has joined #ruby
[11:48:45] fgimian: has joined #ruby
[11:49:44] fgimian: Hey guys, I'm attempting to replace some code that uses URI.encode (which I know is now deprecated). The problem is that I am trying to encode a file:// path based on a directory name. e.g. "/Users/fots/Downloads/Audio Software/myapp v1.0.0.zip"
[11:49:52] fgimian: So far, I've come up with this -> path.split('/').map { |i| ERB::Util.url_encode(i) }.join('/')
[11:50:13] fgimian: is there any other better way to do this that I'm missing?
[11:51:17] fgimian: in Python I can simply use urllib.parse.quote(path) and that works more similarly to URI.encode in Ruby, but I couldn't see any other way to do this in Ruby land
[12:11:15] parzydeuko: has joined #ruby
[12:17:28] wget: has joined #ruby
[12:19:00] jamesaxl: has joined #ruby
[12:25:33] TheBetrayer: has joined #ruby
[12:30:29] jrafanie: has joined #ruby
[12:35:47] derp10327: meh I lie java agent_white, granted it was my first language I really learned
[12:36:09] jrafanie: has joined #ruby
[12:37:22] derp10327: fgimian, define "better" and I'm sure someone on here (who surely knows ruby more than I do lol) will be able to help you more directly
[12:38:35] fgimian: @derp10327 well, perhaps a more elegant approach that doesn't involve splitting on '/'. I did in fact just discover that the addressable gem provides a safe Addressable::URI.encode function which I've decided to go with.
[12:39:18] derp10327: Ahh, see I was assuming you meant performance-wise
[12:39:50] fgimian: nah, but good thinking; fortunately in this scenario, I'm just focused silencing rubycop
[12:40:48] derp10327: I'm sure there are more eloquent ways, I've seen some crazy Ruby solutions since I started the other day :P
[12:44:59] emilford: has joined #ruby
[12:45:40] tomphp: has joined #ruby
[12:47:10] fgimian: hehehe @derp10327, yeah, Ruby has heaps of tricks up its sleeve
[12:47:33] fgimian: I'm a Python guy, but I'm using Ruby in certain places, and also learning a new language called Crystal which is very similar to Ruby
[12:47:41] fgimian: all beautiful languages :)
[12:50:16] derp10327: I always figured Ruby couldn't be "powerful" simply because of the fact it lacks so many things I'm used to seeing as core features in programming languages I enjoy (basic example: requiring the type of object used to be declared for each variable)
[12:51:41] fgimian: ah, if you like static typing then you *should* check out Crystal hehe
[12:52:06] fgimian: but interpreted languages can do just fine without static typing, moving back to a statically typed language is actually pretty tough
[12:52:18] derp10327: I've been wanting to! I just can't bear to use any IDE that isn't JetBrains so I need to figure out the right plugins and filewatchers lol
[12:53:05] fgimian: oh haha, well there is indeed an IDE for Ruby BY JetBrains
[12:53:09] fgimian: you're aware of this right? :o
[12:53:23] fgimian: https://www.jetbrains.com/ruby/ have fun
[12:53:24] beefjoe: has joined #ruby
[12:53:28] fgimian: there's also one for Python called PyCharm
[12:53:39] agent_white: Could also use a text-editor so you're not reliant on IDE clicky-buttons
[12:54:07] fgimian: I do tend to agree, I'm more than happy with Sublime Text personally. But VS Code is also wonderful and free.
[12:54:50] fgimian: but it's the end result that matters the most, if you like using an IDE and it makes your code better, then why not! :)
[12:55:23] agent_white: Yep exactly. I just never could get into IDE's personally.
[12:55:33] fgimian: I'm with ya, I've tried but no go for me either.
[12:55:51] tAn: has joined #ruby
[12:56:05] fgimian: I think the JetBrains ones could be ones that I can adapt to, I spent ages customising PyCharm and got pretty close to an ideal environment.
[12:56:22] fgimian: But at the end of the day, Sublime Text = <3
[12:57:09] fgimian: biggest gripe with the JetBrains IDEs is that they barely respect OS conventions in the way they work; keyboard shortcuts and even editing behaviour
[12:57:34] fgimian: with several plugins and lots of key mapping, you can improve this a lot, but still ... I think it's silly
[12:58:56] emilford: has joined #ruby
[12:59:13] heftig: has joined #ruby
[13:01:43] dendazen: has joined #ruby
[13:06:44] biberu: has joined #ruby
[13:13:12] emilford: has joined #ruby
[13:14:38] Puffball: has joined #ruby
[13:20:02] cyberg: has joined #ruby
[13:24:34] tomphp: has joined #ruby
[13:25:36] tomphp: has left #ruby: ()
[13:26:15] foxxx0: has joined #ruby
[13:26:50] nixpulvis: has joined #ruby
[13:28:13] nixpulvis: FactoryBot... really -.-
[13:28:21] ruby[bot]: -b *!*@gateway/web/freenode/ip.118.71.90.100$#ruby-banned
[13:28:38] nixpulvis: 2016 really messed with people's heads.
[13:30:18] apeiros: nixpulvis: seriously? if you just came in here to whine about people trying to make things more welcoming to women, you can leave again right away
[13:30:29] nixpulvis: pretty much
[13:30:59] apeiros: do I have to show you the door then or do can you manage to leave on your own?
[13:32:11] nixpulvis: I mean, I'm rehashing some old shit, but I'd hardly call it a strick against "welcoming(ness) for women".
[13:33:28] nixpulvis: but, go ahead... prove my point. Ban me.
[13:34:08] apeiros: !ban ok, good bye. your misogynistic bullshittery is not needed here
[13:34:08] ruby[bot]: apeiros: Could not process command, usage: !ban nick [channel] [duration] [reason][ "|" secret_reason]
[13:34:14] apeiros: !ban nixpulvis ok, good bye. your misogynistic bullshittery is not needed here
[13:34:14] ruby[bot]: +bbb $a:nixpulvis$#ruby-banned nixpulvis!*@*$#ruby-banned *!*@c-71-232-61-105.hsd1.ma.comcast.net$#ruby-banned
[13:34:15] ruby[bot]: ruby[bot] kicked nixpulvis: good bye. your misogynistic bullshittery is not needed here
[13:35:18] apeiros: I have zero patience with such nonsense.
[13:36:16] reaVer: making things more welcome to women?
[13:36:28] reaVer: your head is definitely screwed on the wrong end of your body
[13:36:45] apeiros: !ban reaVer good bye to you too then
[13:36:45] ruby[bot]: +bb reaVer!*@*$#ruby-banned *!*@a83-162-252-233.adsl.xs4all.nl$#ruby-banned
[13:36:45] ruby[bot]: ruby[bot] kicked reaVer: bye to you too then
[13:37:00] apeiros: was to be expected that they came in a pack.
[13:40:00] tAn: has joined #ruby
[13:42:27] CcjDoK: has joined #ruby
[13:44:44] PhiSyX: has joined #ruby
[13:45:37] mozzarella: I don't understand the issue
[13:45:40] mozzarella: what is this about?
[13:46:06] apeiros: if you really care, I'll explain over in #ruby-offtopic.
[13:46:29] alfiemax: has joined #ruby
[13:59:44] DLSteve: has joined #ruby
[14:00:35] dinfuehr: has joined #ruby
[14:03:16] Zarthus: I'm so disappointed "GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS" in the readme of ractory_bot didn't do whatever my expectations were.
[14:08:32] jrafanie: has joined #ruby
[14:08:35] kapil___: has joined #ruby
[14:13:08] BloopMonsterOMG: has joined #ruby
[14:13:28] drale2k: has joined #ruby
[14:17:14] agent_white: Did you make sure to create the giant robots first?
[14:21:52] agent_white: If you don't give them color coded vests, gleaming pendants (ones that don't pinch when you put them on of course) and comfy boxing gloves how do you expect them to battle?
[14:26:32] carbivore: has joined #ruby
[14:28:13] ciscam: has joined #ruby
[14:38:20] cadillac_: has joined #ruby
[14:38:29] jrafanie: has joined #ruby
[14:42:55] quobo: has joined #ruby
[14:44:50] foobarbaz: has joined #ruby
[14:50:16] foobarbaz: I once fell in love with a language called Ruby. It was for a couple of foxes, and the unlimited power of the `class`. Nobody else can do what Ruby can do, I'd proclaim. The best gift of all, confidence to persue a deeper understanding. Why then after all this time must I still feel like a n00b.
[14:50:38] clemens3: has joined #ruby
[14:52:35] foobarbaz: ACTION wonders _why he leaves the room.
[14:55:33] pabs: has joined #ruby
[14:57:50] emilford: has joined #ruby
[15:13:45] BloopMonsterOMG: has joined #ruby
[15:17:05] cagomez: has joined #ruby
[15:26:21] ruby[bot]: -b *!*@unaffiliated/hojuruku$#ruby-banned
[15:27:24] ResidentBiscuit: has joined #ruby
[15:30:00] bbobb: has joined #ruby
[15:32:50] Tempesta: has joined #ruby
[15:34:36] ellcs: has joined #ruby
[15:42:47] bauruine: has joined #ruby
[15:43:56] wget: has joined #ruby
[15:44:07] wget: has joined #ruby
[15:44:41] tAn: has joined #ruby
[16:00:28] jaequery: has joined #ruby
[16:03:44] gigetoo: has joined #ruby
[16:11:20] dar123: has joined #ruby
[16:14:10] TheBetrayer: has joined #ruby
[16:16:35] Immune: has joined #ruby
[16:16:44] mtkd: has joined #ruby
[16:28:27] jaequery: has joined #ruby
[16:31:20] massamba: has joined #ruby
[16:46:45] amar: has joined #ruby
[16:50:47] VladGh: has joined #ruby
[16:54:34] mtkd: has joined #ruby
[16:57:45] stairmast0r: has joined #ruby
[17:05:23] yxhuvud: has joined #ruby
[17:08:14] Mike11: has joined #ruby
[17:13:28] dinfuehr: has joined #ruby
[17:15:02] Puffball: has joined #ruby
[17:17:54] mtkd: has joined #ruby
[17:21:10] sooli: has joined #ruby
[17:21:19] amar_: has joined #ruby
[17:22:30] drale2k_: has joined #ruby
[17:28:54] r3my: has left #ruby: ()
[17:29:33] amar: has joined #ruby
[17:31:28] rippa: has joined #ruby
[17:37:51] alex``: has joined #ruby
[17:40:24] BloopMonsterOMG: has joined #ruby
[17:40:59] guille-moe: has joined #ruby
[17:42:52] schneider: has joined #ruby
[17:44:28] orbyt_: has joined #ruby
[17:53:31] nowhereman_: has joined #ruby
[18:00:46] houhoulis: has joined #ruby
[18:01:08] mozzarella: has joined #ruby
[18:06:02] plexigras: has joined #ruby
[18:07:06] mjolnird: has joined #ruby
[18:08:55] dar123: has joined #ruby
[18:10:32] guille-moe: has joined #ruby
[18:10:47] CrazyEddy: has joined #ruby
[18:10:56] Yzguy: has joined #ruby
[18:13:33] tAn: has joined #ruby
[18:14:01] tAn: has joined #ruby
[18:14:41] test007: has joined #ruby
[18:19:11] dreamthese: has joined #ruby
[18:19:48] emilford: has joined #ruby
[18:19:48] Immune: has left #ruby: ("WeeChat 2.1")
[18:21:43] griffindy: has joined #ruby
[18:23:09] biberu: has joined #ruby
[18:25:04] drale2k: has joined #ruby
[18:26:23] KeyJoo: has joined #ruby
[18:27:28] KeyJoo: has joined #ruby
[18:30:13] amar_: has joined #ruby
[18:36:25] sooli1: has joined #ruby
[18:38:33] alfiemax: has joined #ruby
[18:43:29] omth: has joined #ruby
[18:44:13] bipul: has joined #ruby
[18:47:20] emilford: has joined #ruby
[18:49:05] guille-moe: has joined #ruby
[18:49:47] elomatreb: has joined #ruby
[18:53:48] emilford: has joined #ruby
[18:54:31] parzydeu1: has joined #ruby
[18:55:20] Yzguy: has joined #ruby
[18:57:27] Inoperable: has joined #ruby
[18:57:50] kliq: has joined #ruby
[18:59:06] nowhereman_: has joined #ruby
[19:01:06] guille-moe: has joined #ruby
[19:07:15] andrewray: has joined #ruby
[19:07:45] andrewray: I don't understand how this works: [1,2,3].select().next.next since [1,2,3].select().next.class.name is Fixnum
[19:08:02] dminuoso: > [1.2.3].select.class
[19:08:19] dminuoso: >> [1.2.3].select.class
[19:08:19] andrewray: I understand it's an enumerator, but .next is a fixnum
[19:08:20] ruby[bot]: dminuoso: # => /tmp/execpad-bbf5315cd72b/source-bbf5315cd72b:2: unexpected fraction part after numeric literal ...check link for more (https://eval.in/1014435)
[19:08:29] dminuoso: andrewray: no its not
[19:08:34] dminuoso: >> [1,2,3].select.class
[19:08:35] ruby[bot]: dminuoso: # => Enumerator (https://eval.in/1014436)
[19:08:39] dminuoso: >> [1,2,3].select.next.class
[19:08:40] ruby[bot]: dminuoso: # => Fixnum (https://eval.in/1014437)
[19:08:41] dminuoso: Or I guess it is
[19:08:50] dminuoso: >> [1,2,3].select.method(:next).owner
[19:08:56] alfiemax: has joined #ruby
[19:09:00] dminuoso: >> [1,2,3].select.method(:next).owner
[19:09:08] dminuoso: apeiros: can you please lift this stupid restriction
[19:09:21] dminuoso: I wanna be able to drown people with information
[19:09:25] andrewray: [1,2,3].select().next.method(:next).owner => Integer
[19:09:33] dminuoso: There you go.
[19:09:43] biberu: has joined #ruby
[19:09:44] dminuoso: andrewray: It's ducktyperitis for you
[19:09:56] dminuoso: .next just means "send a symbol :next to that thing"
[19:10:00] dminuoso: whatever that may do.
[19:10:01] apeiros: dminuoso: and I don't want the bot to get auto-kicked for threshold crossing ;-)
[19:10:05] andrewray: oh wait, it's not getting the next value in the list lol, it's coincidence that it goes up in my testing example
[19:10:06] emilford: has joined #ruby
[19:10:24] dminuoso: apeiros: been doing much worse to other bots
[19:10:25] ellcs: has joined #ruby
[19:10:26] apeiros: or automuted or whatever it was that happens if you go over freenode's thresholds
[19:10:28] dminuoso: they all survive :P
[19:10:37] dminuoso: andrewray: Indeed
[19:10:40] ruby[bot]: dminuoso: # => 6 (https://eval.in/1014438)
[19:10:48] andrewray: i'm learning all about the horrible ins and outs of ruby's core today, it's frustrating
[19:11:07] dminuoso: andrewray: Some hugs parts of it disgusted me.
[19:12:02] andrewray: is there an equivalent "good parts of javascript" book for ruby? i'm reading "eloquent ruby" but it seems to tell you to use the bad parts as first class
[19:13:00] apeiros: dminuoso: I guess we need to build a bot fleet then which takes turn in responding to requests ;-)
[19:13:33] dminuoso: andrewray: haha. "good parts of javascript"
[19:13:34] roshanavand: has joined #ruby
[19:13:35] dminuoso: it was a very thin book indeed
[19:14:45] dminuoso: andrewray: There's very little literature relating Ruby to its strengths in comparison to other languages.
[19:14:54] apeiros: the foreword was about "with" 😂
[19:15:06] emilford: has joined #ruby
[19:15:44] andrewray: dminuoso: i don't mean in comparison to other languages, i mean that acknowledges the bad parts of ruby and helps point out what to avoid and what to embrace
[19:16:24] BloopMonsterOMG: has joined #ruby
[19:16:26] dminuoso: andrewray: Just as a challenge: Try to define what `next` does in Ruby. =P
[19:16:48] dminuoso: It's something you see popping up in Ruby 101 books in the first 20-100 pages usually. But it turns out it's really hard to actually explain what it does.
[19:16:54] dminuoso: What it means
[19:17:52] andrewray: to clarify my search for a book separating the good and bad parts of ruby isn't related to my question about next
[19:18:05] guille-moe: has joined #ruby
[19:18:33] dminuoso: andrewray: Very well. I know of no such book.
[19:19:20] karapetyan: has joined #ruby
[19:21:35] emilford: has joined #ruby
[19:22:08] alfiemax: has joined #ruby
[19:24:05] karapetyan: has joined #ruby
[19:27:13] karapety_: has joined #ruby
[19:31:58] Dimik: has joined #ruby
[19:33:31] emilford: has joined #ruby
[19:40:15] emilford: has joined #ruby
[19:45:13] eblip: has joined #ruby
[19:48:20] nowhereman_: has joined #ruby
[19:56:39] alfiemax: has joined #ruby
[20:00:31] emilford: has joined #ruby
[20:01:36] nowhereman_: has joined #ruby
[20:05:38] DoubleMalt: has joined #ruby
[20:06:58] none123456: has joined #ruby
[20:13:18] TheBetrayer: has joined #ruby
[20:16:42] test7772: has joined #ruby
[20:17:01] emilford: has joined #ruby
[20:17:23] weaksauce: has joined #ruby
[20:18:08] Nicmavr: has joined #ruby
[20:26:08] rikai: has joined #ruby
[20:26:18] DoubleMalt: has joined #ruby
[20:27:49] cliq: has joined #ruby
[20:32:18] drale2k_: has joined #ruby
[20:32:50] emilford: has joined #ruby
[20:34:49] nowhereman_: has joined #ruby
[20:38:11] emilford: has joined #ruby
[20:39:14] duderonomy: has joined #ruby
[20:41:54] tdy: has joined #ruby
[20:42:20] sameerynho: has joined #ruby
[20:46:44] ramfjord: has joined #ruby
[20:48:09] gnufied: has joined #ruby
[20:49:19] gigetoo: has joined #ruby
[20:51:07] mjolnird: has joined #ruby
[20:52:12] emilford: has joined #ruby
[20:55:24] BloopMonsterOMG: has joined #ruby
[20:56:47] alex``: has joined #ruby
[21:03:43] alfiemax: has joined #ruby
[21:04:17] emilford: has joined #ruby
[21:04:20] dviola: has joined #ruby
[21:08:24] nicht: has joined #ruby
[21:11:47] tAn: has joined #ruby
[21:16:23] nicht: has joined #ruby
[21:21:09] nowhereman_: has joined #ruby
[21:21:21] karapetyan: has joined #ruby
[21:25:12] ramfjord: has joined #ruby
[21:29:57] shinnya: has joined #ruby
[21:32:09] emilford: has joined #ruby
[21:41:34] dminuoso: https://twitter.com/darkdimius/status/1002049138366730240?lang=de
[21:41:46] fmcgeough: has joined #ruby
[21:43:03] emilford: has joined #ruby
[21:45:22] BloopMonsterOMG: has joined #ruby
[21:46:13] blackmesa: has joined #ruby
[21:48:05] apeiros: dminuoso: yeah, thought of you when I saw that tweet
[21:53:43] emilford: has joined #ruby
[21:56:45] auxyria: has joined #ruby
[21:59:08] karapetyan: has joined #ruby
[22:03:44] nadir: has joined #ruby
[22:04:28] alfiemax: has joined #ruby
[22:11:49] amar: has joined #ruby
[22:12:07] erlend: has joined #ruby
[22:17:38] hightower3: has joined #ruby
[22:17:54] hightower3: Hey, I have code with used SAFE=3. What do I replace it with now? Or just remove that line?
[22:23:28] amar: has joined #ruby
[22:24:34] emilford: has joined #ruby
[22:25:22] BloopMonsterOMG: has joined #ruby
[22:29:56] ramfjord: has joined #ruby
[22:32:05] RougeR: has joined #ruby
[22:32:06] RougeR: has joined #ruby
[22:33:03] emilford: has joined #ruby
[22:35:22] DoubleMalt: has joined #ruby
[22:35:46] jamiejackson: has joined #ruby
[22:38:07] dar123: has joined #ruby
[22:41:25] Commodore94: has joined #ruby
[22:41:33] venmx: has joined #ruby
[22:41:41] Commodore94: has left #ruby: ()
[22:41:52] Commodore94: has joined #ruby
[22:42:03] Commodore94: has left #ruby: ()
[22:44:42] emilford: has joined #ruby
[22:47:04] darkhanb: has joined #ruby
[22:50:42] emilford: has joined #ruby
[22:52:33] mlkkk: has joined #ruby
[22:57:39] emilford: has joined #ruby
[23:00:59] spencer: has joined #ruby
[23:01:36] millz: has joined #ruby
[23:01:39] spencer: has joined #ruby
[23:01:51] spencer: Hey everyone, I've got a pretty basic question about gems
[23:02:14] spencer: so I've made a command line utility and packaged it up as a gem, but can't seem to actually run it after installing it
[23:02:28] spencer: I feel super silly
[23:02:42] apeiros: you put the executable into YOURGEM/bin/yourexe?
[23:03:02] spencer: oh wait, so instead of lib I should use bin?
[23:03:07] spencer: that makes sense
[23:03:21] apeiros: yes. and you have to add the relevant info to your gemspec.
[23:03:29] emilford: has joined #ruby
[23:03:29] apeiros: .files= and .executables= iirc
[23:03:39] apeiros: gemspec guides will surely help
[23:04:11] \void: has joined #ruby
[23:04:29] spencer: has joined #ruby
[23:04:32] spencer: thanks I'll try to figure it out, the rubygems guide was geared towards libraries which threw me off
[23:04:44] ramfjord: has joined #ruby
[23:05:33] orbyt_: has joined #ruby
[23:06:20] spencer: so my tool is really simple, only like 20 lines in one file, do I still need a lib directory or can I just throw it all in bin?
[23:06:35] apeiros: that's up to you
[23:06:37] Yzguy: has joined #ruby
[23:06:46] apeiros: I prefer to have my bin's be basically wrappers around a lib, though
[23:07:38] Yzguy: has joined #ruby
[23:07:39] spencer: I see the appeal of that, but my tool is so simple there isn't really anything to separate out
[23:07:42] spencer: at least not yet
[23:07:57] apeiros: as said, up to you :)
[23:07:57] Yzguy: has joined #ruby
[23:08:13] apeiros: neither ruby nor rubygems care
[23:09:09] emilford: has joined #ruby
[23:10:50] spencer: awesome it works now!
[23:10:55] spencer: thanks a bunch apeiros
[23:12:53] Yzguy: has joined #ruby
[23:23:11] hightower3: has left #ruby: ("Leaving")
[23:25:22] emilford: has joined #ruby
[23:31:54] blackmesa: has joined #ruby
[23:36:15] alfiemax: has joined #ruby
[23:41:01] emilford: has joined #ruby
[23:48:22] gnufied: has joined #ruby
[23:58:30] emilford: has joined #ruby