« Back to channel list

#ruby - 28 February 2018

« Back 1 day Forward 1 day »
[00:07:48] arescorpio: has joined #ruby
[00:09:55] beauby: has joined #ruby
[00:13:05] dmitriy_: has joined #ruby
[00:14:22] havenwood: Sammitch: When something has already been required it returns `false`.
[00:16:03] Sammitch: havenwood: yes that does seem to be the case. =_=;
[00:17:56] dinfuehr: has joined #ruby
[00:18:02] dmitriy_: has joined #ruby
[00:20:58] Sammitch: has left #ruby: ()
[00:21:07] redlegion: has joined #ruby
[00:21:31] naprimer: has joined #ruby
[00:23:04] dmitriy_: has joined #ruby
[00:28:01] dmitriy_: has joined #ruby
[00:29:50] dviola: has joined #ruby
[00:30:51] RougeR: has joined #ruby
[00:30:51] RougeR: has joined #ruby
[00:31:42] Rgs1955: has joined #ruby
[00:32:19] rapha: has joined #ruby
[00:32:41] rapha: is there any way to make something like '"x#{3.times {"a"}}y"' output "xaaay" instead of "x3y"?
[00:33:01] dmitriy_: has joined #ruby
[00:33:35] lupine: 3.times.map { "a" } returns ["a", "a", "a"]
[00:33:35] havenwood: rapha: Consider the following:
[00:33:39] havenwood: >> 3.times { 'a' }
[00:33:40] ruby[bot]: havenwood: # => 3 (https://eval.in/963909)
[00:33:41] lupine: it's abit weird though
[00:33:44] havenwood: >> 3.times.map { 'a' }
[00:33:45] ruby[bot]: havenwood: # => ["a", "a", "a"] (https://eval.in/963910)
[00:34:02] rapha: i had a hunch map() would be involved
[00:34:12] rapha: ACTION hates map(), it's like magic
[00:34:24] havenwood: rapha: There's no magic. It's worth learning.
[00:34:38] havenwood: rapha: There are also many other ways to get three A's.
[00:34:38] rapha: easier said than done
[00:35:13] ruby[bot]: havenwood: # => "aaa" (https://eval.in/963913)
[00:35:33] rapha: is it possible that it's name is misleading? or that my understanding of the english word "map" ("to map" in the sense of "to map something onto something"?) is erroneous?
[00:35:33] havenwood: >> "x#{'a' * 3}rapha"
[00:35:34] ruby[bot]: havenwood: # => "xaaarapha" (https://eval.in/963914)
[00:36:04] rapha: well, the 'a'*3 thing at least is easy to understand and intuitive :)
[00:36:15] jottr: has joined #ruby
[00:36:20] havenwood: rapha: In Ruby we have #map (from Lisp) and the lesser-used #collect alias (from Smalltalk).
[00:36:40] mistym: havenwood: Oh, that's what the etymology is! I'd wondered.
[00:36:41] havenwood: rapha: Most modern language (ahem, Go >.>) have adopted map.
[00:37:07] talntid: has joined #ruby
[00:37:22] havenwood: rapha: The Lispy terms have won. Similarly #inject is from Smalltalk and #reduce is from Lisp.
[00:37:35] rapha: interesting, i didn't realize programming languages were that much like real languages
[00:37:38] havenwood: rapha: We map/reduce instead of collect/inject ;-).
[00:38:00] lupine: if you don't give `times` a block, it returns an Enumerator
[00:38:01] dmitriy_: has joined #ruby
[00:38:03] havenwood: mistym: Most of the Smalltalk terms seem to be disappearing.
[00:38:07] lupine: that's the only magic worth mentioning
[00:38:14] mistym: havenwood: :'(
[00:38:30] talntid: I have an app that was written in ruby.. it's a webapp with Sinatra/Mongo ... it was working perfect until yesterday, where it just stopped working, and started complaining that gems were missing... I reinstalled the gems, and now I get errors that I suspect are from gem versions being off.... anyone want to fix it today? or help me fix it? It mostly works, but there are some small issues right
[00:38:30] talntid: now. I'd be willing to pay for your time.
[00:38:32] havenwood: Ruby is the Smalltalk that won. :-O
[00:38:58] rapha: i wonder what'll happen if i /join #smalltalk and declare "ruby is t he smalltalk that won"
[00:39:11] havenwood: talntid: Prefix your command with `bundle exec`. Donate what you'd have paid me to the EFF. ;-)
[00:39:12] havenwood: rapha: Good luck!!
[00:39:17] redlegion: has joined #ruby
[00:39:17] redlegion: has joined #ruby
[00:39:20] workmad3: has joined #ruby
[00:39:22] havenwood: rapha: And please don't quote me, hahaha.
[00:39:25] lupine: I learned about wolf pack programming from a smalltalk veteran
[00:39:30] rapha: (will they send me to /join #go-lang to learn that "go is the ruby that won"?)
[00:39:42] lupine: worthy of respect innit
[00:39:44] havenwood: rapha: Matz does like Go.
[00:40:38] talntid: havenwood, i had tried that earlier today. threw a bunch of errors about versions, so I manually installed all the gems in the gemfile, and the app works, but basically a few things are wonky...
[00:41:12] havenwood: talntid: Same Ruby version as before?
[00:41:29] rapha: seriously? "[wolf pack programming] depends on a shared (web-based) editor that several developers use at once to develop code for the same tasks"? i'd go crazy!
[00:41:37] talntid: negative. I upgraded ruby version afterwards in an attempt to get it working.
[00:42:37] havenwood: talntid: I'm curious if `bundle exec` would have sufficed and the Ruby upgrade is the cause of the new compatibility issues. I suppose it's nice to fix those issues and get on the shiny new Ruby.
[00:42:44] talntid: it started by saying thin wasn't available, so i did bundler install, and it said that eventmachine wasn't compatible with version of ruby, so i upgraded ruby, and then it said that mongo's "wire line" was version 0, but needed to be version 2, so i upgraded mongo, and now the app works, but.... when it returns ids, it is returning them as objects instead of stringsd
[00:43:01] dmitriy_: has joined #ruby
[00:43:29] havenwood: talntid: Can you just .to_s the objects or something else is awry? I don't follow Mongo close enough to know what might have gone wrong in the version bump.
[00:43:36] talntid: so I did this: https://github.com/nesquena/rabl/issues/337
[00:44:24] talntid: and now the app loads and everything, but... when i click something that used to work:
[00:44:49] talntid: https://puu.sh/zx9Ou/dfcbfd6a7c.png
[00:45:17] cschneid: has joined #ruby
[00:45:50] talntid: so basically, i assume the view is trying to show info on an "appointment" object, that it can't find, because ruby is looking for appointment(id) where id is an object instead of a string
[00:46:31] alfiemax: has joined #ruby
[00:47:43] bkxd: has joined #ruby
[00:48:02] dmitriy_: has joined #ruby
[00:52:02] redlegion: has joined #ruby
[00:52:02] redlegion: has joined #ruby
[00:53:02] dmitriy_: has joined #ruby
[00:53:04] bkxd: has joined #ruby
[00:58:03] dmitriy_: has joined #ruby
[00:58:43] redlegion: has joined #ruby
[00:59:11] talntid: has joined #ruby
[00:59:54] alfiemax: has joined #ruby
[01:03:05] dmitriy_: has joined #ruby
[01:03:50] Arahael: Where is the documentation for writing files?
[01:04:08] Arahael: I'm looking at: https://ruby-doc.org/core-2.1.4/File.html <-- However, it appears that the 'write' method is not documented there.
[01:06:03] havenwood: &ri IO.write
[01:06:03] `derpy: http://ruby-doc.org/core-2.4.1/IO.html#method-c-write
[01:06:21] havenwood: arahael: You can ask Ruby where the method comes from, by the way!
[01:06:36] havenwood: >> File.method(:write).owner
[01:06:37] ruby[bot]: havenwood: # => #<Class:IO> (https://eval.in/963941)
[01:06:39] Arahael: havenwood: Hmm, what I was really after, was how to figure that out for myself. How should I know that it's part of IO.write?
[01:06:45] Arahael: Ah, you read my mind.
[01:06:50] havenwood: >> File.method(:write).source_location
[01:06:51] ruby[bot]: havenwood: # => nil (https://eval.in/963942)
[01:07:06] havenwood: (C methods don't show source location yet, unfortunately.)
[01:07:31] Arahael: It will do - thans.
[01:07:41] havenwood: arahael: you're welcome, happy coding!
[01:08:04] dmitriy_: has joined #ruby
[01:10:32] sanscoeur: has joined #ruby
[01:11:38] mjolnird: has joined #ruby
[01:13:07] dmitriy_: has joined #ruby
[01:17:06] alfiemax: has joined #ruby
[01:18:07] dmitriy_: has joined #ruby
[01:23:01] nofxx: has joined #ruby
[01:23:03] dmitriy_: has joined #ruby
[01:24:26] cdg: has joined #ruby
[01:28:07] dmitriy_: has joined #ruby
[01:29:33] nchambers: has joined #ruby
[01:33:07] dmitriy_: has joined #ruby
[01:34:06] alfiemax: has joined #ruby
[01:35:45] mjolnird: has joined #ruby
[01:36:04] cdg: has joined #ruby
[01:38:06] dmitriy_: has joined #ruby
[01:40:19] orbyt_: has joined #ruby
[01:41:35] mjolnird: has joined #ruby
[01:43:04] dmitriy_: has joined #ruby
[01:43:44] maum: has joined #ruby
[01:46:57] alfiemax: has joined #ruby
[01:48:04] dmitriy_: has joined #ruby
[01:51:37] bkxd: has joined #ruby
[01:51:51] ResidentBiscuit: has joined #ruby
[01:53:07] dmitriy_: has joined #ruby
[01:58:07] dmitriy_: has joined #ruby
[01:59:37] alfiemax: has joined #ruby
[01:59:50] memo1: has joined #ruby
[02:03:07] dmitriy_: has joined #ruby
[02:03:30] gizmore: has joined #ruby
[02:03:53] herbmillerjr: has joined #ruby
[02:04:28] postmodern: has joined #ruby
[02:05:08] jottr_: has joined #ruby
[02:08:07] dmitriy_: has joined #ruby
[02:10:12] beauby: has joined #ruby
[02:13:03] dmitriy_: has joined #ruby
[02:16:31] darkhanb: has joined #ruby
[02:17:39] alfiemax: has joined #ruby
[02:18:05] dmitriy_: has joined #ruby
[02:18:20] memo1: has joined #ruby
[02:19:40] sanscoeur: has joined #ruby
[02:22:36] zenspider_: has joined #ruby
[02:22:59] weaksauce: possible to read binary data from stdin?
[02:23:03] dmitriy_: has joined #ruby
[02:23:15] ski7777: has joined #ruby
[02:24:17] weaksauce: i guess so using unpack if stdin is just an io data
[02:25:12] reaVer: has joined #ruby
[02:25:25] bmurt: has joined #ruby
[02:28:04] sanscoeur: has joined #ruby
[02:32:56] Asher: has joined #ruby
[02:33:23] jottr: has joined #ruby
[02:34:30] Radar: weaksauce: cat binaryfile | ruby program.rb
[02:34:36] Radar: I guess it'd be the same?
[02:35:09] weaksauce: Radar i actually meant from ruby not how to pipe binary
[02:35:42] weaksauce: just use read(somenumberofbytes).unpack(whatever_the_correct_unpack_string_is)
[02:37:19] Radar: Yeah I think so. Been a while since I've done that.
[02:38:39] SynSynack: has joined #ruby
[02:38:45] SynSynack: has left #ruby: ()
[02:39:38] houhoulis: has joined #ruby
[02:40:07] workmad3: has joined #ruby
[02:44:37] dinfuehr: has joined #ruby
[02:46:16] cdg: has joined #ruby
[02:55:08] redlegion: has joined #ruby
[02:57:23] talntid: ruby returning stuff to me like ["value"], i expected a string of "value" instead. ideas?
[02:57:26] kn-928: has joined #ruby
[02:57:48] ruby[bot]: We can't help you without your code, please post it to https://gist.github.com
[02:58:59] talntid: whats the best way to post code from many pages?
[03:00:51] bmurt: has joined #ruby
[03:07:56] zenspider_: has joined #ruby
[03:08:46] c0ncealed: has joined #ruby
[03:09:54] beauby: has joined #ruby
[03:13:16] drewmcmillan: has joined #ruby
[03:18:45] alfiemax: has joined #ruby
[03:36:26] alfiemax: has joined #ruby
[03:39:50] bkxd: has joined #ruby
[03:40:51] wojnar: has joined #ruby
[03:41:32] reaVer: has joined #ruby
[03:42:03] govg: has joined #ruby
[03:46:31] reaVer: has joined #ruby
[03:53:19] alfiemax: has joined #ruby
[03:53:36] karapetyan: has joined #ruby
[03:58:24] karapetyan: has joined #ruby
[04:01:33] MyMind: has joined #ruby
[04:04:17] reaVer: has joined #ruby
[04:05:07] cdg: has joined #ruby
[04:06:07] alfiemax: has joined #ruby
[04:10:01] darkhanb: has joined #ruby
[04:13:47] Pisuke: has joined #ruby
[04:19:46] alfiemax: has joined #ruby
[04:23:35] alfiemax_: has joined #ruby
[04:25:14] trautwein: has joined #ruby
[04:29:08] gix: has joined #ruby
[04:29:48] milardovich: has joined #ruby
[04:31:23] jenrzzz: has joined #ruby
[04:31:23] jenrzzz: has joined #ruby
[04:38:36] jeffreylevesque: has joined #ruby
[04:40:43] bkxd: has joined #ruby
[04:40:56] workmad3: has joined #ruby
[04:43:16] eightlimbed: has joined #ruby
[04:47:05] kapil___: has joined #ruby
[04:52:56] havenwood: ?gist talntid
[04:52:57] ruby[bot]: talntid: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[04:55:06] alfiemax: has joined #ruby
[04:55:47] jnollette: has joined #ruby
[05:04:05] iMadper: has joined #ruby
[05:04:24] Vashy: anyone know how I can check if something is installed from a ruby script? e.g. if I want to write a script that checks to see if postgres is installed
[05:04:58] Vashy: I want to write a script that will help me set up projects easily, so it will do some set up like check if postgres is installed, create a rails app, set the db credentials properly, etc
[05:05:32] AxelAlex: has joined #ruby
[05:05:45] Vashy: my machines are running ubuntu and macos so I'll have terminal commands to work with
[05:07:42] anisha: has joined #ruby
[05:10:05] rippa: has joined #ruby
[05:15:40] anisha: has joined #ruby
[05:21:09] Pisuke: has joined #ruby
[05:24:44] milardovich: has joined #ruby
[05:25:36] alex``: has joined #ruby
[05:26:11] jenrzzz: has joined #ruby
[05:26:30] jamesaxl: has joined #ruby
[05:30:56] howdoi: has joined #ruby
[05:32:03] havenwood: Vashy: Chef or Puppet do those sorts of things.
[05:34:34] ramfjord: has joined #ruby
[05:35:33] Vashy: ok I'll read into those tools
[05:46:30] bkxd: has joined #ruby
[05:46:37] duderonomy: has joined #ruby
[05:47:06] sidx64: has joined #ruby
[05:50:35] sidx64: has joined #ruby
[05:51:51] ramfjord: has joined #ruby
[05:57:18] kies: has joined #ruby
[05:57:37] sidx64: has joined #ruby
[05:58:07] ramfjord: has joined #ruby
[06:01:03] jottr: has joined #ruby
[06:04:21] ramfjord: has joined #ruby
[06:10:31] ramfjord: has joined #ruby
[06:13:42] jottr: has joined #ruby
[06:15:54] sidx64: has joined #ruby
[06:16:39] ramfjord: has joined #ruby
[06:20:10] sidx64: has joined #ruby
[06:22:57] ramfjord: has joined #ruby
[06:23:34] sidx64: has joined #ruby
[06:26:50] jottr: has joined #ruby
[06:28:54] ski7777: has joined #ruby
[06:31:17] mtkd: has joined #ruby
[06:35:47] nielsk: has joined #ruby
[06:37:33] jottr: has joined #ruby
[06:38:52] ramfjord: has joined #ruby
[06:39:28] aufi: has joined #ruby
[06:41:27] pwnd_nsfw`: has joined #ruby
[06:41:48] workmad3: has joined #ruby
[06:42:24] LocaMocha: has joined #ruby
[06:43:48] UncleCid__: has joined #ruby
[06:44:00] strika: has joined #ruby
[06:45:01] ramfjord: has joined #ruby
[06:45:39] CrazyEddy: has joined #ruby
[06:45:42] tAn: has joined #ruby
[06:49:47] minimalism: has joined #ruby
[06:50:55] jottr: has joined #ruby
[06:50:57] strika: has joined #ruby
[06:52:59] ski7777: has joined #ruby
[06:55:55] KeyJoo: has joined #ruby
[06:58:55] strika: has joined #ruby
[06:59:20] jottr: has joined #ruby
[07:04:17] sidx64: has joined #ruby
[07:07:48] sidx64: has joined #ruby
[07:08:49] mtkd: has joined #ruby
[07:09:01] n008f4g_: has joined #ruby
[07:12:17] jottr: has joined #ruby
[07:12:58] milardovich: has joined #ruby
[07:21:46] darkhanb: has joined #ruby
[07:22:33] guardianx: has joined #ruby
[07:25:15] tolland: has joined #ruby
[07:27:05] andikr: has joined #ruby
[07:27:41] jottr: has joined #ruby
[07:29:18] Ryzokuken: has joined #ruby
[07:29:58] kapil___: has joined #ruby
[07:34:21] xt233: has joined #ruby
[07:35:19] xt233: has left #ruby: ()
[07:37:00] conta: has joined #ruby
[07:39:39] dionysus69: has joined #ruby
[07:41:14] jottr: has joined #ruby
[07:49:11] jottr: has joined #ruby
[07:55:12] mtkd: has joined #ruby
[07:55:23] Qchmqs__: has joined #ruby
[07:57:15] zenspider: has joined #ruby
[07:57:23] Gabemo: has joined #ruby
[07:57:28] jottr: has joined #ruby
[07:59:11] Terens: has joined #ruby
[08:02:12] rahul_bajaj: has joined #ruby
[08:02:13] Terens: If you used version.match(/^\d\.\d\.\d/) would you change it with Gem::Version.corrent?(data) ?
[08:06:07] willmichael: has joined #ruby
[08:07:43] tAn: has joined #ruby
[08:08:51] rabajaj: has joined #ruby
[08:09:45] bkxd: has joined #ruby
[08:10:01] sidx64: has joined #ruby
[08:10:39] jottr: has joined #ruby
[08:14:42] hahuang65: has joined #ruby
[08:15:03] cdg: has joined #ruby
[08:15:10] clemens3: has joined #ruby
[08:16:20] funnel: has joined #ruby
[08:16:57] burgestrand: has joined #ruby
[08:17:19] alex``: has joined #ruby
[08:18:08] schneider: has joined #ruby
[08:19:41] willmichael: has joined #ruby
[08:22:41] Qchmqs: has left #ruby: ("Konversation terminated!")
[08:24:12] sidx64: has joined #ruby
[08:25:06] jottr: has joined #ruby
[08:26:13] bkxd: has joined #ruby
[08:26:22] claudiuinberlin: has joined #ruby
[08:27:46] sidx64: has joined #ruby
[08:31:20] alfiemax: has joined #ruby
[08:33:25] beauby: has joined #ruby
[08:39:54] bigblind: has joined #ruby
[08:39:54] jottr: has joined #ruby
[08:41:49] vondruch: has joined #ruby
[08:41:59] jamesaxl: has joined #ruby
[08:42:03] vondruch: has joined #ruby
[08:42:33] workmad3: has joined #ruby
[08:45:21] aupadhye: has joined #ruby
[08:45:52] Fusselgesicht: has joined #ruby
[08:48:49] jottr: has joined #ruby
[08:48:50] TomyWork: has joined #ruby
[08:49:56] t0adst00l: has joined #ruby
[08:49:59] sleetdrop: has joined #ruby
[08:51:19] ramfjord: has joined #ruby
[08:57:17] willmichael: has joined #ruby
[08:57:32] ramfjord: has joined #ruby
[08:57:34] mtkd: has joined #ruby
[08:59:58] jottr: has joined #ruby
[09:00:06] roshanavand: has joined #ruby
[09:00:10] Sembei: has joined #ruby
[09:01:24] drewmcmillan: has joined #ruby
[09:01:49] milardovich: has joined #ruby
[09:03:01] jenrzzz: has joined #ruby
[09:03:01] jenrzzz: has joined #ruby
[09:03:42] ramfjord: has joined #ruby
[09:04:19] guille-moe: has joined #ruby
[09:06:26] yohji: has joined #ruby
[09:08:47] jottr: has joined #ruby
[09:09:48] alfiemax: has joined #ruby
[09:17:07] sameerynho: has joined #ruby
[09:17:21] jottr: has joined #ruby
[09:19:52] dionysus69: has joined #ruby
[09:20:05] amatas: has joined #ruby
[09:20:35] dionysus69: has joined #ruby
[09:23:47] mikecmpbll: has joined #ruby
[09:24:34] riotjones: has joined #ruby
[09:24:34] jottr: has joined #ruby
[09:30:02] beauby: has joined #ruby
[09:30:25] Gabemo: has joined #ruby
[09:31:32] sameerynho: has joined #ruby
[09:33:45] mtkd: has joined #ruby
[09:33:49] rahul_bajaj: has joined #ruby
[09:34:06] aupadhye_: has joined #ruby
[09:34:31] ramfjord: has joined #ruby
[09:34:44] Matt2843: has joined #ruby
[09:34:59] Matt2843: hey =) any good gems for getting my current longitude / latitude location?
[09:35:08] Matt2843: or services in general
[09:36:19] RougeR: has joined #ruby
[09:36:38] rabajaj: has joined #ruby
[09:36:50] eb0t: has joined #ruby
[09:36:51] eb0t-: has joined #ruby
[09:38:44] jottr: has joined #ruby
[09:39:10] riotjoe: has joined #ruby
[09:40:44] ramfjord: has joined #ruby
[09:40:46] sleetdrop: has joined #ruby
[09:45:30] terens2: has joined #ruby
[09:46:27] huyderman: has joined #ruby
[09:47:06] ramfjord: has joined #ruby
[09:50:55] sidx64: has joined #ruby
[09:51:06] sagax: has joined #ruby
[09:51:10] drewmcmillan: has joined #ruby
[09:52:17] aupadhye_: has joined #ruby
[09:54:21] cdg: has joined #ruby
[09:54:28] jottr: has joined #ruby
[09:54:52] Serpent7776: has joined #ruby
[09:59:55] sidx64: has joined #ruby
[10:02:26] jottr: has joined #ruby
[10:03:50] alex``: has joined #ruby
[10:03:55] sidx64: has joined #ruby
[10:03:58] Beams: has joined #ruby
[10:04:37] riotjones: has joined #ruby
[10:05:02] Sylario: has joined #ruby
[10:05:59] bkxd: has joined #ruby
[10:07:41] riotjones: has joined #ruby
[10:09:49] jottr: has joined #ruby
[10:10:55] phaul: has joined #ruby
[10:11:52] ltt: has joined #ruby
[10:12:34] InfinityFye: has joined #ruby
[10:14:07] karapetyan: has joined #ruby
[10:14:33] InfinityFye: has left #ruby: ()
[10:21:18] jottr: has joined #ruby
[10:21:49] uruk1993: has joined #ruby
[10:22:32] uruk1993: has left #ruby: ()
[10:23:08] morfin60: has joined #ruby
[10:24:01] morfin60: any clue why can connection reset by peer happen in Net::HTTP with this message: "Internal Server Error: Connection reset by peer <internal:prelude>:78:in `__read_nonblock'"?
[10:24:33] morfin60: i perform first request using Faraday and then performing second and get this error
[10:25:00] trautwein: Matt2843: http://www.rubygeocoder.com/ might be what you're looking for
[10:25:07] Bish: has joined #ruby
[10:25:21] hahuang65: has joined #ruby
[10:25:30] Bish: if i want to cache a function that does HugeString ⇒ EvenMoreHugeBinaryData
[10:25:42] Bish: would i use a hash function to index HugeString?
[10:26:14] Bish: (both are in kB) region, and i want to cache a function
[10:34:45] jottr: has joined #ruby
[10:36:08] marr: has joined #ruby
[10:39:01] jenrzzz: has joined #ruby
[10:39:01] jenrzzz: has joined #ruby
[10:41:32] jottr: has joined #ruby
[10:41:39] dminuoso: Bish: Hash.new { |h, k| h[k] = expensive_computation[k] }
[10:41:47] dminuoso: Bish: As a poor mans memoization solution.
[10:43:06] dminuoso: Bish: Note that this does not offer cache eviction though.
[10:43:22] workmad3: has joined #ruby
[10:44:56] anisha: has joined #ruby
[10:45:31] alfiemax: has joined #ruby
[10:48:01] dminuoso: >> ex = -> e { e * 1000 }; memoized_ex = Hash.new { |h, k| h[k] = ex[k] }; a = memoized_ex[100]; p memoized_ex
[10:48:02] ruby[bot]: dminuoso: # => {100=>100000} ...check link for more (https://eval.in/964264)
[10:48:16] Papierkorb: has joined #ruby
[10:49:26] bkxd: has joined #ruby
[10:49:58] dminuoso: >> memoize -> f { Hash.new { |h, k| h[k] = f[k] } }; expensive = -> e { e * 2000 }; cheap = memoize[expensive]; cheap[1000]; cheap[1000]; cheap[1000]
[10:49:59] ruby[bot]: dminuoso: # => undefined method `memoize' for main:Object (NoMethodError) ...check link for more (https://eval.in/964269)
[10:50:03] dminuoso: >> memoize = -> f { Hash.new { |h, k| h[k] = f[k] } }; expensive = -> e { e * 2000 }; cheap = memoize[expensive]; cheap[1000]; cheap[1000]; cheap[1000]
[10:50:04] ruby[bot]: dminuoso: # => 2000000 (https://eval.in/964270)
[10:50:29] milardovich: has joined #ruby
[10:50:52] KeyJoo: has joined #ruby
[10:52:29] Bish: dminuoso: yeah but "k" is pretty bug
[10:52:41] jottr: has joined #ruby
[10:52:43] Bish: like a 10k String
[10:52:53] Bish: and i want to cache it, should i make a hash out of it?
[10:52:59] Bish: like.. i dunno md5
[10:53:09] dminuoso: Bish: md5 is fairly expensive to calculate.
[10:53:21] dminuoso: Bish: Also Hash does exactly that.
[10:53:26] dminuoso: Bish: Hash is basically a hash table
[10:54:02] gregf_: has joined #ruby
[10:54:39] Papierkorb: has left #ruby: ("Konversation terminated!")
[10:54:50] dminuoso: Bish: https://github.com/ruby/ruby/blob/trunk/hash.c#L849-L857
[11:00:45] jottr: has joined #ruby
[11:02:32] alfiemax: has joined #ruby
[11:04:29] sidx64: has joined #ruby
[11:06:42] ltt: has joined #ruby
[11:09:50] jottr: has joined #ruby
[11:11:39] workmad3: has joined #ruby
[11:17:53] RougeR: has joined #ruby
[11:17:53] RougeR: has joined #ruby
[11:18:16] hahuang65: has joined #ruby
[11:19:14] hahuang65: has joined #ruby
[11:19:40] apeiros: has joined #ruby
[11:19:43] thedotre: has joined #ruby
[11:21:02] adlerdias: has joined #ruby
[11:22:38] jottr: has joined #ruby
[11:27:18] nowhereman: has joined #ruby
[11:28:58] Cavallari: has joined #ruby
[11:29:43] yohji: has joined #ruby
[11:30:04] Mike11: has joined #ruby
[11:30:08] jottr: has joined #ruby
[11:30:48] zapata: has joined #ruby
[11:32:28] bkxd: has joined #ruby
[11:33:40] ltt: has joined #ruby
[11:33:41] thedotre: would you be interested on the srcy programming language? https://drive.google.com/drive/folders/1ROir4bfmSOdV0vQrSMHKcyjnenYGjfnX
[11:33:45] thedotre: has left #ruby: ()
[11:33:46] ldnunes: has joined #ruby
[11:39:34] jottr: has joined #ruby
[11:41:14] sidx64: has joined #ruby
[11:43:02] alfiemax: has joined #ruby
[11:45:17] ramfjord: has joined #ruby
[11:45:44] jaruga: has joined #ruby
[11:52:26] ramfjord: has joined #ruby
[11:53:26] jottr: has joined #ruby
[11:54:09] bkxd: has joined #ruby
[11:58:04] ramfjord: has joined #ruby
[12:01:58] milardovich: has joined #ruby
[12:04:08] guille-moe: has joined #ruby
[12:05:49] dminuoso: baweaver: https://eval.in/964387
[12:06:07] dminuoso: I actually wrote it because I dont know how else to tell a caller about problems..
[12:07:31] karapetyan: has joined #ruby
[12:07:48] dminuoso: I mean the canonical way would be to throw an exception (which incidentally models the same thing) - but the entire code path in between catching and throwing is unaware of this.
[12:09:21] jottr: has joined #ruby
[12:09:37] bkxd: has joined #ruby
[12:09:57] dminuoso: If I extend this with bind, it allows me to securely transport error conditions while _forcing_ callers to deal with them
[12:10:07] dminuoso: How else does one do this in Ruby?
[12:12:51] mtkd: has joined #ruby
[12:17:53] bkxd: has joined #ruby
[12:19:04] jottr: has joined #ruby
[12:19:06] dcluna: has joined #ruby
[12:24:26] wojnar: has joined #ruby
[12:24:27] Bish: dminuoso: i figured, thanks
[12:24:38] Bish: so ruby does use the .hash method on values
[12:25:04] ltt: has joined #ruby
[12:26:15] alfiemax: has joined #ruby
[12:27:00] meinside: has joined #ruby
[12:27:59] apparition: has joined #ruby
[12:29:49] jottr: has joined #ruby
[12:30:52] goatish: has joined #ruby
[12:31:12] wojnar: has joined #ruby
[12:32:32] bkxd: has joined #ruby
[12:34:39] sidx64: has joined #ruby
[12:34:49] wojnar: has joined #ruby
[12:35:47] darix: Everytime i talk to my perl devs here, I am happy to be a ruby dev.
[12:37:31] zmo: little question : I got a function from an external module (https://github.com/utsavkesharwani/hypertrack-ruby/blob/master/lib/hypertrack/api_operations/common/nearby.rb) which I want to modify (and ultimately offer a PR), but for the sake of experimenting my changes before submitting a PR, I'd like to monkey patch that method with one of my own from my own code
[12:37:39] riotjones: has joined #ruby
[12:38:02] zmo: basically, replacing that method in that module with one I write in the context of where I use it
[12:38:42] apeiros: zmo: all you have to do is load your code after theirs
[12:38:44] zmo: I've seen many methods of monkey patching in ruby which offer a wild variety of monkey patching, but how can I replace a Module's method with another one, binding that method to its context ?
[12:38:46] apeiros: last definition wins
[12:39:09] apeiros: also we barely have any functions in ruby. it's mostly all methods.
[12:39:54] zmo: so I just add on top of my own module a module X / module Y / module Z / module T / def foobar end / end / end / end, and X::Y::Z::T.foobar will be replaced ?
[12:39:55] apeiros: and `result = []; something.each do; result.push(x); end; result` is better done by: `result = something.map { x }`
[12:40:20] apeiros: yes @ replaced. but as said, make sure you load their code first.
[12:40:41] zmo: of course, I'm doing rails, so I feel like the entire world is loaded before my code runs anyway :)
[12:41:14] apeiros: you're wrong then. especially in dev mode in rails. a lot of things are lazy loaded there.
[12:41:41] zmo: I'm struggling with knowing what's in the env at any moment in rails
[12:41:43] apeiros: and you can break lazy loading with the kind of code above.
[12:41:50] zmo: (it's actually killing me)
[12:42:00] apeiros: yeah, the way they implemented lazy loading is IMO terrible.
[12:42:06] zmo: well, it's still only an experiment
[12:42:13] zmo: if I get it right, I'll submit a PR anyway
[12:42:18] zmo: and I'll point the gem to my fork
[12:42:25] houhoulis: has joined #ruby
[12:42:44] burgestrand: has joined #ruby
[12:43:02] apeiros: alternatively, instead of monkey patching: clone the repo. edit the method there. change your gemfile to use your local gem version (see `path` option in Gemfile config spec)
[12:44:37] zmo: yup, but I'm running in docker-compose, and it's more painful to shut it down, rebuild, re-up etc. just for a gem change
[12:45:14] apeiros: well, you choose your pains ;-p
[12:45:24] zmo: (and actually doing it again if my guess is wrong)
[12:45:36] jottr: has joined #ruby
[12:45:41] zmo: with monkey patching, I'd only do it once
[12:45:45] zmo: thanks again :)
[12:47:06] gizmore: has joined #ruby
[12:48:19] SirOliver: has joined #ruby
[12:48:28] roshanavand: has joined #ruby
[12:48:39] k0mpa: has joined #ruby
[12:49:03] SirOliver: has left #ruby: ()
[12:51:45] shinnya: has joined #ruby
[12:57:20] vondruch: has joined #ruby
[12:58:13] mtkd: has joined #ruby
[13:01:35] schneider: has joined #ruby
[13:02:46] milardovich: has joined #ruby
[13:02:59] ltt: has joined #ruby
[13:03:35] drewmcmillan: has joined #ruby
[13:11:11] tvw: has joined #ruby
[13:11:44] synthroid: has joined #ruby
[13:11:48] workmad3: has joined #ruby
[13:14:57] alfiemax_: has joined #ruby
[13:16:02] karapetyan: has joined #ruby
[13:16:05] clemens3: has joined #ruby
[13:16:28] bigblind: has joined #ruby
[13:21:33] yohji: has joined #ruby
[13:24:19] despai: has joined #ruby
[13:24:51] stormpack: has joined #ruby
[13:27:40] bmurt: has joined #ruby
[13:28:30] AJA4350: has joined #ruby
[13:30:34] memo1: has joined #ruby
[13:30:44] Bish: what's a good lib to scale pngs?
[13:32:18] guille-moe: has joined #ruby
[13:32:20] ltt: has joined #ruby
[13:32:31] dminuoso: Bish: magick?
[13:32:38] dminuoso: that is rmagick
[13:32:49] Bish: i don't know, i'd like no C stuff
[13:33:00] dminuoso: Bish: It's a ruby wrapper around limagic
[13:33:06] Psybur: has joined #ruby
[13:33:06] Psybur: has joined #ruby
[13:33:23] dminuoso: Bish: alternatively you can use minimagick.
[13:33:42] apeiros: imagescience, oilypng and chunkypng (not sure which of those are still maintained)
[13:34:05] stormpack: probably ChunkyPNG can deal with that
[13:34:08] apeiros: rmagick is annoying in several regards. often causes trouble. still can't use imagemagick 7 :<
[13:34:15] Bish: chunkypng looks good
[13:34:24] dminuoso: chunkpng is raw access to png itself
[13:35:19] dminuoso: apeiros: Ah yeah. I used minimagick at the end, but that was annoying for other reasons.
[13:35:27] dminuoso: Things that invoke command line tools tend to be brittle.
[13:35:54] Bish: but it doesn't seam to be able
[13:35:56] Bish: to scale
[13:36:54] tbuehlmann: http://www.imagemagick.org/Usage/resize/#scale :D
[13:37:10] dminuoso: tbuehlmann: think he was talking about chunkpng ;)
[13:38:59] apeiros: https://github.com/seattlerb/image_science does not look maintained :<
[13:39:11] ams__: has joined #ruby
[13:39:44] beauby: has joined #ruby
[13:40:12] Bish: i don't want to install so much software, rahhh
[13:40:20] karapetyan: has joined #ruby
[13:40:45] Bish: *codes scaling himself*
[13:41:45] stormpack: Bish, there is a resize method. not sure it does what you want though
[13:41:48] ccooke: Chunkypng isn't bad. Although admittedly I've only used to to write a terminal png viewer
[13:42:04] karapetyan: has joined #ruby
[13:42:18] alfiemax: has joined #ruby
[13:42:59] Bish: stormpack: in chunkypng?
[13:43:04] RougeR: has joined #ruby
[13:43:04] RougeR: has joined #ruby
[13:43:32] dminuoso: Bish: https://gist.github.com/jeffkreeftmeijer/951528
[13:43:43] dminuoso: 7 year old gists, ondocumented API
[13:44:53] Bish: dminuoso: thanks, as usual!
[13:45:03] jottr_: has joined #ruby
[13:50:08] John_Ivan: has joined #ruby
[13:50:08] John_Ivan: has joined #ruby
[13:50:14] nadir: has joined #ruby
[13:50:50] quobo: has joined #ruby
[13:50:58] anjen: has joined #ruby
[13:51:24] ltt: has joined #ruby
[13:51:55] ramfjord: has joined #ruby
[13:52:38] breakfast1: has joined #ruby
[13:52:42] stormpack: Bish, resample_nearest_neighbor resample_bilinear
[13:53:37] tlaxkit: has joined #ruby
[13:53:53] breakfast1: so adding instance methods in a class adds up methods to all instances
[13:54:10] breakfast1: while adding them in a metaclass adds them up to a single instance
[13:54:35] breakfast1: I can't seem to really understand what metaclasses are for
[13:55:18] willmichael: has joined #ruby
[13:55:39] rwb: has joined #ruby
[13:56:20] phaul: ruby uses metaclasses to emulate java / c++ static ie class methods
[13:56:54] vondruch: has joined #ruby
[13:57:26] phaul: breakfast1: ^^
[13:57:37] mtkd: has joined #ruby
[13:57:52] breakfast1: the problem is i never used java nor cpp
[13:58:10] breakfast1: but thanks for replying
[13:58:12] ramfjord: has joined #ruby
[13:58:34] kapil___: has joined #ruby
[13:59:32] cdg: has joined #ruby
[14:00:17] sonOfRa: has joined #ruby
[14:00:41] phaul: breakfast1: ok, sorry. so that example is when the method does not operate / belong to any induvidual object but belongs to the class itself. for instance Array.new . .new is not called on any array object but the class itself.
[14:00:42] apeiros: breakfast1: examples: Date.civil(year, month, day), Date.commercial(year, week, day_of_week), Date.ordinal(year, day_of_year)
[14:00:44] tcopeland: has joined #ruby
[14:01:08] apeiros: those are 3 methods which are in Date's metaclass and provide convenience constructors (wrappers around new)
[14:01:24] Bish: oh there it is
[14:01:26] Bish: didn't see that
[14:01:37] apeiros: phaul: though .new is not in the metaclass. it's the instance method from Class (usually)
[14:01:39] Bish: stormpack:thanks
[14:03:09] jcalla: has joined #ruby
[14:03:50] breakfast1: has left #ruby: ("Au revoir")
[14:03:56] phaul: apeiros: I thought that was the case I wanted to give the method that list all symbols allocated in the Symbol metaclass (if there is one) but could 't remember the name
[14:04:11] apeiros: all_symbols?
[14:04:17] phaul: probably :)
[14:04:21] sleetdrop: has joined #ruby
[14:04:27] ramfjord: has joined #ruby
[14:04:52] karapetyan: has joined #ruby
[14:06:48] Bish: h[k] ||= SomeExpensiveCalculation work?
[14:07:12] Bish: so that this expression yields h[k] if it's set and SomeExpensiveCalculation if it isnt?
[14:08:05] apeiros: `h[k] ||= expr` expands to `h[k] || h[k] = expr`, with || shortcutting as usual
[14:08:25] Bish: makes sense
[14:08:37] Bish: but not really
[14:08:42] apeiros: it's slightly unexpected since other <op>= have a different expansion
[14:08:51] Bish: it doesexpand to x = x + 1
[14:08:53] apeiros: &&= and ||= are the odd-ones
[14:08:59] Bish: okay, thanks
[14:09:17] willmichael: has joined #ruby
[14:09:21] apeiros: everything expands the same as +=, i.e. `a <op>= b` expands to `a = a <op> b`
[14:09:37] apeiros: everything *else* :)
[14:09:50] Bish: it's like irregulars in german language
[14:10:01] Bish: it's pretty simple, except for: <insert 1 million things>
[14:10:46] ramfjord: has joined #ruby
[14:11:10] apeiros: calling irregular things in german language irregular evokes the patently wrong idea that anything in german was regular to begin with…
[14:11:42] cdg: has joined #ruby
[14:12:00] apeiros: use lojban if you want a language which at least tries to have sensible rules :D
[14:12:26] Bish: when i tried to learn japanese, it was really cool to see it's design
[14:12:35] Bish: but then i came to counting thigns, man that shit is funny
[14:13:01] Bish: you have different "numbers" for things that are: flat, books, can jump, are flying
[14:13:04] Bish: and some others
[14:13:19] Bish: and insects that jump.. will get counted like flying things
[14:13:27] Bish: which is very logical, ofcourse
[14:14:00] Bish: and i think bunnies count as flying to, because they jump so efficiently, but don't quote me on that
[14:14:11] burgestrand: Now I'm curious, how would you count a made-up being?
[14:14:26] Bish: Burgestrand: there is some "neutral" counting-strategy, which you use for all otehrs
[14:14:33] burgestrand: Ah, a fallback
[14:14:35] Bish: which is mostly this well known ichi, ni, san, chi
[14:15:27] burgestrand: I recently came back from the land of ninja katana samurai, and was surprised when my friend ordered fudatsu bieru as opposed to ni bieru…
[14:15:43] tomlukeywood: has joined #ruby
[14:16:10] Bish: yeah that country is funny
[14:16:20] burgestrand: Then again, to be fair, danes count kinda weird too…
[14:16:45] Bish: especially funny fact is.. if you skip the "u" at bieru
[14:16:51] Bish: they won't understand at all what you're saying
[14:16:51] ramfjord: has joined #ruby
[14:16:57] Bish: they will just hear "bie"
[14:17:18] Bish: learned that the hard way, when ordering a "big mac"
[14:17:19] burgestrand: The l/r split is indeed hilarious
[14:17:27] Bish: i didn.t even mean the l/r stuff
[14:17:34] Bish: i meant consonants? at the end
[14:17:38] burgestrand: The phonetics
[14:17:48] Bish: i said big mac, and they heard bi ma
[14:18:14] Bish: so you have to say bigu macu(or something oike that?).. and i felt incredibly stupid doing that
[14:18:20] Bish: because.. i really can't speak japanese
[14:20:05] burgestrand: Bish upside of being scandinavian, works rather well with most sounds so it translates quite well as long as you can figure out what it says :)
[14:20:19] burgestrand: Bish (also relevant: https://www.youtube.com/watch?v=K12l63BcMRc)
[14:20:21] apeiros: dudes & dudettes, would you please move that to #ruby-offtopic? :D
[14:20:29] burgestrand: Yes, very true, sorry!
[14:20:40] Mike11: has joined #ruby
[14:30:29] tAn: has joined #ruby
[14:32:01] arup_r: has joined #ruby
[14:32:32] arup_r: I am parsing a csv file with `foreach` method. Is there a neat way to skip say first 4 lines always?
[14:33:21] synthroid: has joined #ruby
[14:33:35] seym0ur: has joined #ruby
[14:33:47] seym0ur: has left #ruby: ("Leaving")
[14:34:36] apeiros: arup_r: if foreach returns an enumerator without a block, use that. else use enum_for
[14:34:45] apeiros: then on the enumerator, call .next four times
[14:35:09] arup_r: apeiros: is this a good approach https://stackoverflow.com/a/29954414/2767755 ?
[14:35:16] arup_r: apeiros: ok I will check what you said
[14:36:21] milardovich: has joined #ruby
[14:39:58] apeiros: arup_r: that's not the same
[14:40:07] apeiros: skipping 3 csv rows != skipping 3 lines
[14:41:13] apeiros: though, you said 4 lines. yeah, if it's indeed 4 lines and not 4 rows, then opening the IO, reading 4 lines, and then passing that to CSV to parse it is a solution.
[14:42:11] arup_r: ok can u tell me the difference between 4 lines and 4 rows in CSV? Just want to teach myself what they mean. :)
[14:43:06] apeiros: a csv row can span multiple lines.
[14:43:47] apeiros: "foo\nbar","baz\nquuz" # <-- 1 csv row (containing 2 cells), spanning 3 lines
[14:44:28] apeiros: >> require 'csv'; CSV.parse(%{"foo\nbar","baz\nquuz"})
[14:44:29] ruby[bot]: apeiros: # => [["foo\nbar", "baz\nquuz"]] (https://eval.in/964496)
[14:44:41] oleo: has joined #ruby
[14:45:51] arup_r: yea got your point
[14:50:15] arup_r: yes foreach returns enumerator
[14:50:24] aScottishBoat: has joined #ruby
[14:50:35] mattt__: has joined #ruby
[14:50:50] mattt__: Hey o/ anyone know a good script / webservice to get my current location in longitude/latitude?
[14:51:57] inerthia: has joined #ruby
[14:52:06] mikkelsen: has joined #ruby
[14:52:22] hfp_work: has joined #ruby
[14:53:58] Eldritch: has joined #ruby
[14:54:06] elliottcable: has joined #ruby
[14:54:20] arup_r: apeiros: ok I fixed it https://gist.github.com/aruprakshit/afdfcdd14257c5b0259ed7bb8f23342b
[14:55:40] pastorinni: has joined #ruby
[14:55:57] za1b1tsu: has joined #ruby
[15:02:35] karapetyan: has joined #ruby
[15:02:46] gnufied: has joined #ruby
[15:11:14] bigblind: has joined #ruby
[15:12:45] netherwolfe: has joined #ruby
[15:13:43] Rapture: has joined #ruby
[15:17:52] cschneid: has joined #ruby
[15:18:55] hfp_work: has joined #ruby
[15:26:21] desperek: has joined #ruby
[15:28:53] logoscoder: has joined #ruby
[15:32:50] cschneid: has joined #ruby
[15:42:37] workmad3: has joined #ruby
[15:49:14] ramfjord: has joined #ruby
[15:49:31] netherwolfe_: has joined #ruby
[15:49:40] cthulchu|: has joined #ruby
[15:51:54] sleetdrop: has joined #ruby
[15:52:55] John_Ivan: has joined #ruby
[15:55:31] ramfjord: has joined #ruby
[16:02:52] mtkd: has joined #ruby
[16:09:25] kliq: has joined #ruby
[16:10:43] bkxd: has joined #ruby
[16:13:27] MyMind: has joined #ruby
[16:14:47] helpa-bot: has joined #ruby
[16:15:03] yonahw_: has joined #ruby
[16:15:35] sunrunner202: has joined #ruby
[16:15:47] PaulCape_: has joined #ruby
[16:16:10] hogetaro_: has joined #ruby
[16:16:48] helpa-bot: has joined #ruby
[16:17:37] hsiktas_: has joined #ruby
[16:18:09] pelegreno_: has joined #ruby
[16:18:13] creeg_: has joined #ruby
[16:18:49] helpa-bot: has joined #ruby
[16:19:05] ltd_: has joined #ruby
[16:19:13] Iszak_: has joined #ruby
[16:19:39] reaVer_: has joined #ruby
[16:19:48] yosafbridge`: has joined #ruby
[16:20:04] VladGh: has joined #ruby
[16:20:30] vondruch_: has joined #ruby
[16:22:57] helpa-bot: has joined #ruby
[16:22:59] cpallares_: has joined #ruby
[16:23:00] veloutin_: has joined #ruby
[16:23:00] agrecascino_: has joined #ruby
[16:23:02] syndikate_: has joined #ruby
[16:23:04] byte512: has joined #ruby
[16:23:08] jp|: has joined #ruby
[16:23:13] akhkharu: has joined #ruby
[16:23:14] stairmast0r_: has joined #ruby
[16:23:34] willmichael: has joined #ruby
[16:23:52] z3uS|: has joined #ruby
[16:24:06] zululee_: has joined #ruby
[16:24:21] edwardly_: has joined #ruby
[16:24:21] edwardly_: has joined #ruby
[16:24:28] ]reed[: has joined #ruby
[16:24:28] ]reed[: has joined #ruby
[16:24:39] Vashy: has joined #ruby
[16:25:00] helpa: has joined #ruby
[16:25:38] Biohazard: has joined #ruby
[16:25:47] mikecmpbll: has joined #ruby
[16:26:30] leonthemisfit: has joined #ruby
[16:26:30] leonthemisfit: has joined #ruby
[16:27:01] _zach: has joined #ruby
[16:28:14] apeiros: has joined #ruby
[16:28:42] linuxdaemon: has joined #ruby
[16:29:05] synthroid: has joined #ruby
[16:29:27] rgr: has joined #ruby
[16:29:46] synthroid: has joined #ruby
[16:29:48] apeiros: has joined #ruby
[16:30:56] Cyrus: has joined #ruby
[16:31:07] jcalla: has joined #ruby
[16:31:22] mikkel-: has joined #ruby
[16:31:24] mluts: has joined #ruby
[16:31:29] yohji: has joined #ruby
[16:31:29] coffeejunk: has joined #ruby
[16:32:12] ndrst: has joined #ruby
[16:32:19] lvmbdv: has joined #ruby
[16:33:38] n0m4d1c: has joined #ruby
[16:33:55] aupadhye: has joined #ruby
[16:35:11] Ryzokuken: has joined #ruby
[16:35:37] hurricanehrndz: has joined #ruby
[16:38:03] nowhere_man: has joined #ruby
[16:39:12] willmichael: has joined #ruby
[16:42:58] [Butch]: has joined #ruby
[16:45:46] willmichael: has joined #ruby
[16:48:14] bkxd: has joined #ruby
[16:50:51] hogetaro: has joined #ruby
[16:52:49] cdg: has joined #ruby
[16:53:47] Vapez: has joined #ruby
[16:53:51] spectra: has joined #ruby
[16:54:11] conta: has joined #ruby
[16:56:45] nowhere_man: has joined #ruby
[16:57:37] mtkd: has joined #ruby
[16:59:57] cliq: has joined #ruby
[17:00:47] goatish: has joined #ruby
[17:03:07] ricer2: has joined #ruby
[17:03:54] banisterfiend: has joined #ruby
[17:06:02] karapetyan: has joined #ruby
[17:08:09] arthurnn: has joined #ruby
[17:10:43] ndrst: has joined #ruby
[17:11:09] clemens3: has joined #ruby
[17:12:51] jcarl43: has joined #ruby
[17:13:18] Cavallari: has joined #ruby
[17:15:09] xfbs: has joined #ruby
[17:18:42] Cavallari: has joined #ruby
[17:21:44] krawchyk: has joined #ruby
[17:23:49] dionysus69: has joined #ruby
[17:25:19] riotjoe: has joined #ruby
[17:26:40] guacamole: has joined #ruby
[17:26:40] guacamole: has joined #ruby
[17:27:52] rrutkowski: has joined #ruby
[17:27:59] lele: has joined #ruby
[17:28:26] TvL2386: has joined #ruby
[17:28:36] mozzarella: has joined #ruby
[17:30:14] dmitriy_: has joined #ruby
[17:30:41] govg: has joined #ruby
[17:33:28] darkhanb: has joined #ruby
[17:37:52] synthroid: has joined #ruby
[17:38:08] tessi_zz: has joined #ruby
[17:39:39] Beams: has joined #ruby
[17:40:44] eckhardt_: has joined #ruby
[17:47:36] mistym: has joined #ruby
[17:47:36] mistym: has joined #ruby
[17:47:46] GotHyper: has joined #ruby
[17:47:50] devyn: has joined #ruby
[17:48:13] orbyt_: has joined #ruby
[17:48:19] gs: has joined #ruby
[17:48:28] miah: has joined #ruby
[17:48:44] Coldblackice: has joined #ruby
[17:48:51] rcs: has joined #ruby
[17:49:12] Coldblackice: has joined #ruby
[17:49:12] ramfjord: has joined #ruby
[17:50:13] guacamole: has joined #ruby
[17:50:13] guacamole: has joined #ruby
[17:50:52] mniip: has joined #ruby
[17:51:24] Liothen: has joined #ruby
[17:51:25] Liothen: has joined #ruby
[17:52:39] Coldblackice: has joined #ruby
[17:53:21] Coldblackice: has joined #ruby
[17:53:41] Coldblackice: has joined #ruby
[17:54:18] Coldblackice: has joined #ruby
[17:55:40] ramfjord: has joined #ruby
[17:57:12] Coldblackice: has joined #ruby
[17:59:14] logoscoder_: has joined #ruby
[18:01:42] Dimik: has joined #ruby
[18:02:02] ramfjord: has joined #ruby
[18:03:49] mniip: has joined #ruby
[18:05:11] cdg: has joined #ruby
[18:06:53] ephemera_: has joined #ruby
[18:08:59] claudiuinberlin: has joined #ruby
[18:09:59] guille-moe: has joined #ruby
[18:11:10] ramfjord: has joined #ruby
[18:13:11] jnollette: has joined #ruby
[18:14:20] karapetyan: has joined #ruby
[18:15:14] troys: has joined #ruby
[18:15:51] StarSeed0000: has joined #ruby
[18:16:31] StarSeed0000: Does devise not sign users automatically when they sign up?
[18:16:37] havenwood: ?rails starseed0000
[18:16:37] ruby[bot]: starseed0000: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[18:17:21] ramfjord: has joined #ruby
[18:17:54] shinnya: has joined #ruby
[18:22:17] kies: has joined #ruby
[18:22:43] n0m4d1c: has joined #ruby
[18:23:21] ramfjord: has joined #ruby
[18:24:13] orbyt_: has joined #ruby
[18:27:28] hahuang65: has joined #ruby
[18:29:25] hahuang65: has joined #ruby
[18:34:30] quobo: has joined #ruby
[18:35:27] Lytol: has joined #ruby
[18:36:00] goatish: has joined #ruby
[18:36:20] campbecf: has joined #ruby
[18:36:24] havenwood: "Today, everyone knows Ruby's Hash is a OrderedHash." ~Matz
[18:36:54] campbecf: https://repl.it/repls/UsableLopsidedFactorial is this working as intended? Why does the method get overridden with nil?
[18:38:47] eam: campbecf: the assignment creates a local variable, which shadows the method
[18:38:50] havenwood: campbecf: The variable's shadow is pounching.
[18:39:18] havenwood: campbecf: puts "some_external_value #=> #{self.some_external_value}"
[18:39:38] eam: related: I wish ruby's conditionals were proper blocks with scope. In perl, the variable would be scoped to the conditional
[18:41:10] eam: or puts "some_external_value #=> #{some_external_value()}" :)
[18:41:55] eam: I like rigid syntax differentiation between values and methods
[18:46:37] dviola: has joined #ruby
[18:51:08] cthulchu_: has joined #ruby
[18:53:48] mozzarella: has joined #ruby
[18:55:10] ramfjord: has joined #ruby
[18:55:17] cthulchu|: has joined #ruby
[18:59:21] kliq: has joined #ruby
[19:00:49] \void: has joined #ruby
[19:01:23] ramfjord: has joined #ruby
[19:02:22] n008f4g_: has joined #ruby
[19:04:51] minimalism: has joined #ruby
[19:05:33] willmichael: has joined #ruby
[19:07:35] ramfjord: has joined #ruby
[19:07:55] rrp: has joined #ruby
[19:08:21] rrp: has left #ruby: ()
[19:09:02] RougeR: has joined #ruby
[19:09:02] RougeR: has joined #ruby
[19:11:25] chmurifree: has joined #ruby
[19:11:47] guille-moe: has joined #ruby
[19:12:08] weaksauce: has joined #ruby
[19:12:38] eam: has joined #ruby
[19:12:56] tomphp: has joined #ruby
[19:13:13] hfp_work: has joined #ruby
[19:13:39] ramfjord: has joined #ruby
[19:19:13] traxnov: has joined #ruby
[19:21:00] ramfjord: has joined #ruby
[19:24:48] sameerynho: has joined #ruby
[19:28:59] mtkd: has joined #ruby
[19:29:14] mattt__: has left #ruby: ()
[19:33:14] nowhereman_: has joined #ruby
[19:34:02] drewmcmillan: has joined #ruby
[19:35:21] cdg_: has joined #ruby
[19:36:15] bkxd: has joined #ruby
[19:36:33] guille-moe: has joined #ruby
[19:39:22] rrutkowski: has joined #ruby
[19:48:07] bkxd: has joined #ruby
[19:49:45] shinnya: has joined #ruby
[19:59:18] fmccann: has joined #ruby
[20:00:42] John_Ivan: has joined #ruby
[20:00:42] John_Ivan: has joined #ruby
[20:01:14] rrutkowski: has joined #ruby
[20:03:33] tlaxkit: has joined #ruby
[20:04:42] bmurt: has joined #ruby
[20:05:11] jenrzzz: has joined #ruby
[20:05:11] jenrzzz: has joined #ruby
[20:06:01] bmurt: has joined #ruby
[20:08:01] xfbs: has joined #ruby
[20:08:49] mtkd: has joined #ruby
[20:11:17] memo1: has joined #ruby
[20:13:43] memo1: how i find the ruby irc log
[20:14:08] dminuoso: memo1: Check the topic.
[20:14:51] workmad3: has joined #ruby
[20:16:29] memo1: dminuoso: :)
[20:18:42] guille-moe: has joined #ruby
[20:26:59] zenspider_: has joined #ruby
[20:29:07] mtkd: has joined #ruby
[20:30:21] guacamole: has joined #ruby
[20:30:21] guacamole: has joined #ruby
[20:32:14] bigblind: has joined #ruby
[20:35:50] eckhardt_: has joined #ruby
[20:39:35] Toggi3: has joined #ruby
[20:42:25] mtkd: has joined #ruby
[20:42:37] bkxd: has joined #ruby
[20:48:55] veloutin: has joined #ruby
[20:55:07] orbyt_: has joined #ruby
[20:57:14] rubycoder38: has joined #ruby
[20:57:17] chouhoul_: has joined #ruby
[21:02:16] netherwolfe: has joined #ruby
[21:03:21] veinofstars: has left #ruby: ()
[21:03:26] kapil___: has joined #ruby
[21:06:46] ledestin: has joined #ruby
[21:09:10] cdg: has joined #ruby
[21:10:36] tomphp: has joined #ruby
[21:10:40] cdg: has joined #ruby
[21:11:28] Mia: has joined #ruby
[21:11:28] Mia: has joined #ruby
[21:13:27] banisterfiend: has joined #ruby
[21:14:45] cliq: has joined #ruby
[21:16:00] orbyt_: has joined #ruby
[21:16:04] jenrzzz: has joined #ruby
[21:19:37] karapetyan: has joined #ruby
[21:21:33] clemens3: has joined #ruby
[21:21:50] cdg_: has joined #ruby
[21:25:23] RougeR: has joined #ruby
[21:32:26] FrostCandy: has joined #ruby
[21:32:36] dviola: has joined #ruby
[21:33:33] FrostCandy: Is this now how you use strip? row["fluffybunny"].strip It gives me a noMethodError but the ruby docs sho " hello ".strip #=> "hello"
[21:33:44] Rapture: has joined #ruby
[21:33:51] dminuoso: FrostCandy: Read the NoMethodError closely
[21:34:35] havenwood: >> row = {}; row["fluffybunny"]&.strip
[21:34:36] ruby[bot]: havenwood: # => nil (https://eval.in/964667)
[21:35:25] dminuoso: > nil.strip
[21:35:27] ruby[bot]: dminuoso: # => undefined method `strip' for 1:Fixnum (NoMethodError) ...check link for more (https://eval.in/964668)
[21:35:29] dminuoso: >> nil.strip
[21:35:29] krawchyk: has joined #ruby
[21:35:30] ruby[bot]: dminuoso: # => undefined method `strip' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/964669)
[21:35:33] dminuoso: >> Class.strip
[21:35:34] ruby[bot]: dminuoso: # => undefined method `strip' for Class:Class (NoMethodError) ...check link for more (https://eval.in/964670)
[21:36:03] dminuoso: FrostCandy: As you can see, NoMethodError generally means "I can not find a matching method in the class/hierarchy of the thing you called it on"
[21:36:14] netherwolfe: has joined #ruby
[21:36:25] dminuoso: FrostCandy: That means either "the method does not exist", or "the thing you call it on, is something else". THe last thing can be checked, as the exception message tells you the exact class.
[21:36:38] dminuoso: undefined method `strip' for **Class:Class**
[21:36:41] d9867eb: has joined #ruby
[21:36:50] dminuoso: undefined method `strip' for **nil:NilClass**
[21:36:59] dminuoso: undefined method `strip' for **1:Fixnum**
[21:37:18] FrostCandy: oh ok dminuoso thanks i'll look
[21:37:22] chouhoulis: has joined #ruby
[21:37:28] FrostCandy: so you are right it was nil :D
[21:37:50] FrostCandy: easy mistake, sorry to bother
[21:38:02] d9867eb: hi, I am using the latest available Ruby on debian stretch. when running bundle install i get: /usr/local/bin/bundle:23:in `load': cannot load such file -- /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle (LoadError)
[21:38:03] d9867eb: from /usr/local/bin/bundle:23:in `<main>'
[21:38:15] tAn: has joined #ruby
[21:38:28] d9867eb: from /usr/local/bin/bundle:23:in `<main>'
[21:39:05] nowhereman_: has joined #ruby
[21:39:23] eckhardt_: has joined #ruby
[21:42:42] rgiscard: has joined #ruby
[21:44:09] bkxd: has joined #ruby
[21:48:47] darix: d9867eb: check if you have a file with a suffix in /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle
[21:48:54] darix: and then rename it back to just /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle
[21:49:17] darix: it seems sometimes rubygems applies the binary suffix also to files in the /exe/ subdirectory.
[21:50:11] pastorinni: has joined #ruby
[21:50:27] nowhere_man: has joined #ruby
[21:50:39] d9867eb: darix: /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle doesnt exist on my machine. should create that?
[21:51:02] darix: d9867eb: just run ls /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/
[21:51:19] drewmcmillan: has joined #ruby
[21:52:08] SeepingN: has joined #ruby
[21:52:41] bkxd: has joined #ruby
[21:53:06] dviola: has joined #ruby
[21:53:11] d9867eb: darix, i ran ls /usr/lib/ruby/gems/2.3.0/gems/ and i got bundler-1.16.0 rdoc-4.2.1
[21:53:31] d9867eb: however i got bundler 1.16.1
[21:54:30] darix: so why does your /usr/local/bin/bundle think you had 1.16.1 ?
[21:54:44] achen: has joined #ruby
[21:56:06] d9867eb: darix, i dont know. anyway i ran sudo mv /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.0 /usr/lib/ruby/gems/2.3.0/gems/bundler-1.16.1 and i t works now
[21:56:35] apeiros: that's not really a good idea
[21:57:20] apeiros: but it might show how you got to the current problem in the first place. randomly moving managed stuff around is a recipe for troubles.
[21:58:11] dminuoso: apeiros: I regularly move things around on my coworkers desk when he's not there.
[21:58:25] dminuoso: So I can confirm: It's a recipe for trouble
[21:58:33] apeiros: dminuoso: got wireless keyboards? swapping those is always good fun.
[21:58:39] d9867eb: apeiros, but really I dont use bundler 1.16.
[21:58:55] dminuoso: apeiros: I did one better: Another coworker dropped in with his macbook. While they were out grabbing coffee, I switched the macbooks.
[21:58:59] apeiros: d9867eb: but it's really still a bad idea to randomly move managed stuff around
[21:59:17] apeiros: dminuoso: hah
[21:59:26] d9867eb: apeiros, then what should i do?
[21:59:41] dminuoso: apeiros: For about 10 minutes he stared in disbelief after the 3rd time it woudnt accept his password. The rest of the time he was totally confused "since when does Apple have air logon to nearby macbooks..."
[21:59:59] apeiros: dminuoso: :D
[22:00:18] d9867eb: a dir for bundle was missing
[22:00:45] apeiros: d9867eb: if moving things around which you shouldn't is a habit - no idea. you might have broken an arbitrary number of things.
[22:01:26] dminuoso: apeiros: And if you have a coworker you _dont_ like, take some transparent adhesive tape, and stick it on the maglock right inside on the 4 pins.
[22:01:32] apeiros: I'd say just reinstalling/updating bundler would be the better approach. but hey, you said it works. so: good luck, I guess?
[22:01:55] dminuoso: Watch him claw his eyes out when his battery runs out of juice, trying to figure out why "yet another power cord is broken"
[22:01:59] apeiros: dminuoso: only tb3 macbooks here anymore :-| (also I like my coworkers)
[22:02:05] eam: if you really, *really* don't like them, use foil tape
[22:02:12] d9867eb: apeiros, i jsut I ran gem update --system and then bundle wouldnt run. I am not sure about how I would have broken something.
[22:02:29] bigblind: has joined #ruby
[22:02:53] eam: I spilled water on a yubikey in my usb port once and it shorted the 5v pins and melted it into my port
[22:03:13] cpruitt: has joined #ruby
[22:03:53] dminuoso: eam: Ever since the width of your notebook increased by 3cm?
[22:04:51] eam: thankfully the battery was fine
[22:05:14] eam: I burnt out the data pins though. The port could charge, but inactive data pins
[22:05:50] shalok: has joined #ruby
[22:06:24] eam: about 6mo later I worked on a project with a usb protocol analyzer and I found a whole bunch of garbage noise on the *other* usb port that still did work, so I swapped out the laptop and all was well
[22:07:16] shalok: What's the right way to return a block from a function? https://ideone.com/7U3FyS
[22:07:36] dminuoso: shalok: a block is just a Proc without the Proc.
[22:07:52] dminuoso: shalok: So just reify it with Proc/proc/lambda
[22:09:10] shalok: got it thanks
[22:09:22] bmurt: has joined #ruby
[22:11:10] d9867eb: darix, is it better to use sass or just plain css?
[22:11:55] hahuang61: has joined #ruby
[22:15:44] FrostCandy: has joined #ruby
[22:17:25] darix: d9867eb: what ever makes you happy.
[22:17:29] darix: there is also less.
[22:17:55] d9867eb: darix, what do you suggest?
[22:18:04] gr33n7007h: has joined #ruby
[22:18:42] d9867eb: darix, what is the best way source sass?
[22:19:02] darix: ACTION is not a web developer
[22:20:31] d9867eb: darix, ok thanks anyway
[22:21:26] rwb: has joined #ruby
[22:22:09] shalok: I was a little surprised that this seems to work: https://ideone.com/7U3FyS
[22:22:25] shalok: Do local variables in ruby have lifetime that exceeds the scope?
[22:23:23] nadir: has joined #ruby
[22:23:34] eam: shalok: this is called a closure, the proc retains access to the scope
[22:23:50] eam: the scope isn't exceeded per se, it persists in the proc
[22:25:09] shalok: Is there any difference between myvar and @myvar when I'm not in a class?
[22:25:26] phaul: has joined #ruby
[22:26:00] eam: when are you not in a class?
[22:26:58] xfbs: has joined #ruby
[22:27:19] eam: (the answer is that yes, local and instance variables are always different, but there's a larger question here)
[22:27:43] StarSeed0000: I feel like sass and less make people lazy and end up with ridiculous style heirarchy
[22:27:57] dminuoso: >> class A; def initialize; @a = 1; end; def f; -> { @a } end; end; puts A.new.f[]
[22:27:58] ruby[bot]: dminuoso: # => 1 ...check link for more (https://eval.in/964683)
[22:28:10] dminuoso: shalok: ^- A closure is a closure.
[22:29:24] RougeR: has joined #ruby
[22:29:24] RougeR: has joined #ruby
[22:30:16] guacamole: has joined #ruby
[22:30:17] guacamole: has joined #ruby
[22:38:20] orbyt_: has joined #ruby
[22:40:09] shalok: eam: Like if not inside 'class' statement. e.g. https://ideone.com/7U3FyS
[22:44:29] roshanavand: has joined #ruby
[22:51:03] krawchyk: has joined #ruby
[22:51:39] TinkerTyper: has joined #ruby
[22:52:56] pastorinni: has joined #ruby
[22:53:27] pastorin_: has joined #ruby
[22:54:55] eam: shalok: you are always inside a class. At the toplevel, self is "main"
[22:56:46] agent_white: has joined #ruby
[22:58:32] mtkd: has joined #ruby
[22:59:17] jenrzzz: has joined #ruby
[22:59:17] jenrzzz: has joined #ruby
[23:03:52] logoscoder: has joined #ruby
[23:03:52] havenwood: >> class << self; remove_method :inspect end; self
[23:03:53] ruby[bot]: havenwood: # => #<Object:0x4143934c> (https://eval.in/964696)
[23:04:40] hndk: has joined #ruby
[23:05:18] logoscoder: has joined #ruby
[23:08:09] darix: We can also reopen havenwood and attach more methods to him
[23:08:12] jenrzzz: has joined #ruby
[23:08:12] jenrzzz: has joined #ruby
[23:09:35] darix: easy way to teach new behavior, or overwrite undesirable behavior!
[23:16:33] cttttt: has joined #ruby
[23:16:56] Travis-42: has joined #ruby
[23:17:10] kspencer: has joined #ruby
[23:17:25] mr-robert: has joined #ruby
[23:18:13] andersh: has joined #ruby
[23:18:20] ReinH: has joined #ruby
[23:18:27] karapetyan: has joined #ruby
[23:18:32] genta: has joined #ruby
[23:18:40] incomprehensibly: has joined #ruby
[23:18:43] kspencer: has joined #ruby
[23:18:50] jetpack_joe: has joined #ruby
[23:19:07] daxroc: has joined #ruby
[23:19:07] hayden___: has joined #ruby
[23:19:16] Meow-J_: has joined #ruby
[23:19:21] kireevco: has joined #ruby
[23:19:33] ckrailo: has joined #ruby
[23:19:39] micalexander: has joined #ruby
[23:19:42] andersh: has joined #ruby
[23:19:48] petems: has joined #ruby
[23:20:08] Diabolik_: has joined #ruby
[23:20:10] machty: has joined #ruby
[23:20:30] mostlybadfly: has joined #ruby
[23:20:32] mrsolo: has joined #ruby
[23:20:41] Yonk: has joined #ruby
[23:20:42] Diabolik_: has joined #ruby
[23:20:44] jnix: has joined #ruby
[23:20:47] cttttt: has joined #ruby
[23:20:48] olivierjanss: has joined #ruby
[23:20:53] Brak____________: has joined #ruby
[23:20:55] rfv: has joined #ruby
[23:21:06] [diecast]: has joined #ruby
[23:21:30] Nuck: has joined #ruby
[23:21:38] bosma: has joined #ruby
[23:21:49] jxf: has joined #ruby
[23:21:58] caw______: has joined #ruby
[23:22:02] Diabolik_: has joined #ruby
[23:22:25] aarongodin: has joined #ruby
[23:22:40] craysiii: has joined #ruby
[23:22:56] SeepingN_: has joined #ruby
[23:23:04] mitsuhiko: has joined #ruby
[23:23:21] cardoni: has joined #ruby
[23:23:23] colstrom: has joined #ruby
[23:23:39] adambeynon: has joined #ruby
[23:23:45] Chew: has joined #ruby
[23:23:49] Fenhl: has joined #ruby
[23:23:50] jxf: has joined #ruby
[23:23:57] pizzaops: has joined #ruby
[23:24:01] kireevco: has joined #ruby
[23:24:02] karapetyan: has joined #ruby
[23:24:03] ggherdov: has joined #ruby
[23:24:05] danzilio: has joined #ruby
[23:24:06] bcavileer: has joined #ruby
[23:24:07] Diabolik_: has joined #ruby
[23:24:08] deimos: has joined #ruby
[23:24:10] mostlybadfly: has joined #ruby
[23:24:10] [diecast]: has joined #ruby
[23:24:11] olivierjanss: has joined #ruby
[23:24:11] podman: has joined #ruby
[23:24:14] mroth: has joined #ruby
[23:24:24] JJonah: has joined #ruby
[23:24:31] avdi: has joined #ruby
[23:24:32] bosma: has joined #ruby
[23:24:35] craysiii: has joined #ruby
[23:24:38] galeido: has joined #ruby
[23:24:48] pizzaops: has joined #ruby
[23:24:54] mostlybadfly: has joined #ruby
[23:24:59] arcturiaen: has joined #ruby
[23:24:59] raggi: has joined #ruby
[23:25:01] Nuck: has joined #ruby
[23:25:01] mroth: has joined #ruby
[23:25:02] avdi: has joined #ruby
[23:25:10] Chew: has joined #ruby
[23:25:10] Fenhl: has joined #ruby
[23:25:12] jxf: has joined #ruby
[23:25:12] JJonah: has joined #ruby
[23:25:13] maciuszek: has joined #ruby
[23:25:14] pwillard: has joined #ruby
[23:25:19] galeido: has joined #ruby
[23:25:19] pizzaops: has joined #ruby
[23:25:20] [diecast]: has joined #ruby
[23:25:20] ReinH: has joined #ruby
[23:25:21] parsnip0: has joined #ruby
[23:25:21] hayden___: has joined #ruby
[23:25:22] Tony-St4rk: has joined #ruby
[23:25:23] olivierjanss: has joined #ruby
[23:25:23] peteretep: has joined #ruby
[23:25:25] deimos: has joined #ruby
[23:25:26] danzilio: has joined #ruby
[23:25:26] caw______: has joined #ruby
[23:25:26] chromis: has joined #ruby
[23:25:30] Iambchop: has joined #ruby
[23:25:30] mitsuhiko: has joined #ruby
[23:25:32] tfitts: has joined #ruby
[23:25:32] mattwc: has joined #ruby
[23:25:34] podman: has joined #ruby
[23:25:38] Brak____________: has joined #ruby
[23:25:39] parsnip0: trying `s3_website push` gives `connect': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (OpenSSL::SSL::SSLError)
[23:25:44] avdi: has joined #ruby
[23:25:44] galeido: has joined #ruby
[23:25:45] mroth: has joined #ruby
[23:25:45] maciuszek: has joined #ruby
[23:25:49] ggherdov: has joined #ruby
[23:25:50] Diabolik_: has joined #ruby
[23:25:51] peteretep: has joined #ruby
[23:25:53] jabreity: has joined #ruby
[23:25:53] jxf: has joined #ruby
[23:25:54] Lloyd: has joined #ruby
[23:25:56] JJonah: has joined #ruby
[23:25:57] pizzaops: has joined #ruby
[23:25:59] justache: has joined #ruby
[23:25:59] arcturiaen: has joined #ruby
[23:26:00] deimos: has joined #ruby
[23:26:01] Nuck: has joined #ruby
[23:26:02] olivierjanss: has joined #ruby
[23:26:07] pwillard: has joined #ruby
[23:26:07] tfitts: has joined #ruby
[23:26:07] danzilio: has joined #ruby
[23:26:09] craysiii: has joined #ruby
[23:26:11] Mutsuhito: has joined #ruby
[23:26:11] KnownSyntax: has joined #ruby
[23:26:12] untitaker: has joined #ruby
[23:26:12] ircmaxell: has joined #ruby
[23:26:13] galeido: has joined #ruby
[23:26:14] maciuszek: has joined #ruby
[23:26:16] mostlybadfly: has joined #ruby
[23:26:18] ckrailo: has joined #ruby
[23:26:20] Tony-St4rk: has joined #ruby
[23:26:20] mattwc: has joined #ruby
[23:26:23] mr-robert: has joined #ruby
[23:26:26] avdi: has joined #ruby
[23:26:26] Nuck: has joined #ruby
[23:26:28] arcturiaen: has joined #ruby
[23:26:28] JJonah: has joined #ruby
[23:26:29] peteretep: has joined #ruby
[23:26:34] jxf: has joined #ruby
[23:26:34] knowtheory: has joined #ruby
[23:26:36] [diecast]: has joined #ruby
[23:26:38] deimos: has joined #ruby
[23:26:40] pwillard: has joined #ruby
[23:26:42] olivierjanss: has joined #ruby
[23:26:43] maciuszek: has joined #ruby
[23:26:45] tfitts: has joined #ruby
[23:26:47] galeido: has joined #ruby
[23:26:51] Mutsuhito: has joined #ruby
[23:26:51] Fenhl: has joined #ruby
[23:26:53] arcturiaen: has joined #ruby
[23:26:56] danzilio: has joined #ruby
[23:26:56] iamdevnul: has joined #ruby
[23:26:59] peteretep: has joined #ruby
[23:26:59] Nuck: has joined #ruby
[23:27:02] avdi: has joined #ruby
[23:27:04] lipoqil: has joined #ruby
[23:27:04] jxf: has joined #ruby
[23:27:05] untitaker: has joined #ruby
[23:27:10] [diecast]: has joined #ruby
[23:27:12] caw______: has joined #ruby
[23:27:12] maciuszek: has joined #ruby
[23:27:12] deimos: has joined #ruby
[23:27:15] seanh: has joined #ruby
[23:27:17] Tony-St4rk: has joined #ruby
[23:27:17] tfitts: has joined #ruby
[23:27:19] colstrom: has joined #ruby
[23:27:22] arcturiaen: has joined #ruby
[23:27:22] galeido: has joined #ruby
[23:27:25] JJonah: has joined #ruby
[23:27:27] olivierjanss: has joined #ruby
[23:27:28] jetpack_joe: has joined #ruby
[23:27:34] peteretep: has joined #ruby
[23:27:37] maciuszek: has joined #ruby
[23:27:39] danzilio: has joined #ruby
[23:27:40] Nuck: has joined #ruby
[23:27:43] pwillard: has joined #ruby
[23:27:44] Mutsuhito: has joined #ruby
[23:27:44] [diecast]: has joined #ruby
[23:27:54] Fenhl: has joined #ruby
[23:27:54] ggherdov: has joined #ruby
[23:27:56] tycoon177: has joined #ruby
[23:27:56] manveru: has joined #ruby
[23:27:59] jxf: has joined #ruby
[23:27:59] arcturiaen: has joined #ruby
[23:28:03] deimos: has joined #ruby
[23:28:06] galeido: has joined #ruby
[23:28:08] jetpack_joe: has joined #ruby
[23:28:10] peteretep: has joined #ruby
[23:28:12] maciuszek: has joined #ruby
[23:28:17] tfitts: has joined #ruby
[23:28:17] untitaker: has joined #ruby
[23:28:22] Nuck: has joined #ruby
[23:28:23] [diecast]: has joined #ruby
[23:28:23] yo61: has joined #ruby
[23:28:31] deimos: has joined #ruby
[23:28:38] pwillard: has joined #ruby
[23:28:38] jxf: has joined #ruby
[23:28:42] manveru: has joined #ruby
[23:28:45] galeido: has joined #ruby
[23:28:55] doesntbyte: has joined #ruby
[23:28:57] jhill_: has joined #ruby
[23:29:00] Nuck: has joined #ruby
[23:29:08] tfitts: has joined #ruby
[23:29:18] justache: has joined #ruby
[23:29:34] orbyt_: has joined #ruby
[23:29:37] kireevco: has joined #ruby
[23:29:41] hsiktas: has joined #ruby
[23:31:29] hahuang65: has joined #ruby
[23:34:13] Barrt: has joined #ruby
[23:38:56] bkxd: has joined #ruby
[23:39:03] Dimik: has joined #ruby
[23:42:43] Puffball: has joined #ruby
[23:50:21] raynold: ahh it's a wonderful day
[23:59:42] n0m4d1c: has joined #ruby