« Back to channel list

#ruby - 13 December 2018

« Back 1 day Forward 1 day »
[00:00:32] ur5us: has joined #ruby
[00:02:25] weaksauce: has joined #ruby
[00:03:36] BTRE: has joined #ruby
[00:04:36] dinfuehr_: has joined #ruby
[00:08:34] awkwords: has joined #ruby
[00:10:43] Radar: Ookma-Kyi: imgur.com too please.
[00:10:50] Radar: tinypic has lots of ads / cruft
[00:11:35] Ookma-Kyi: I'll try when i can. I'm beta testing a cloud platform and their console doesn't allow me to copy/paste :(
[00:13:25] cnsvc_: has joined #ruby
[00:14:58] Radar: Maybe time to not do that
[00:18:47] orbyt_: has joined #ruby
[00:20:41] ElFerna: has joined #ruby
[00:21:00] stooj: has joined #ruby
[00:29:25] stooj_: has joined #ruby
[00:37:30] Xiti: has joined #ruby
[00:42:16] nowhere_man: has joined #ruby
[00:43:18] evdubs: has joined #ruby
[00:55:19] cow[moo]: has joined #ruby
[00:57:36] hutch: has joined #ruby
[01:01:56] dviola: has joined #ruby
[01:18:11] gr33n7007h: has joined #ruby
[01:26:21] Xenosine: has joined #ruby
[01:32:53] DTZUZO: has joined #ruby
[01:48:15] serard_: has joined #ruby
[01:59:34] segy: has joined #ruby
[02:01:30] kapil____: has joined #ruby
[02:18:56] Autolycus: has joined #ruby
[02:21:21] DTZUZO: has joined #ruby
[02:22:12] chouhoulis: has joined #ruby
[02:30:38] cnsvc_: has joined #ruby
[02:31:15] Puffball: has joined #ruby
[02:32:56] cow[moo]: has joined #ruby
[02:43:07] sidepocket: has joined #ruby
[02:49:20] blackswan: has joined #ruby
[02:52:07] nowhere_man: has joined #ruby
[02:54:31] serard_: has joined #ruby
[03:05:17] def_jam: has joined #ruby
[03:08:55] hutch: has joined #ruby
[03:15:50] darix: has joined #ruby
[03:19:06] foxxx0: has joined #ruby
[03:21:59] AlHafoudh: has joined #ruby
[03:22:19] cpruitt: has joined #ruby
[03:25:25] bak1an: has joined #ruby
[03:30:45] crankharder: has joined #ruby
[03:36:18] orbyt_: has joined #ruby
[03:42:10] _whitelogger: has joined #ruby
[03:57:52] cpruitt: has joined #ruby
[03:58:19] segy: has joined #ruby
[03:59:25] cnsvc_: has joined #ruby
[03:59:26] sidepocket_: has joined #ruby
[03:59:41] arescorpio: has joined #ruby
[04:05:19] horst: has joined #ruby
[04:06:27] beef_erikson: has joined #ruby
[04:08:50] arescorpio: has joined #ruby
[04:10:12] braincrash: has joined #ruby
[04:12:51] shadeslayer: has joined #ruby
[04:12:54] ujjain: has joined #ruby
[04:16:04] kloeri: has joined #ruby
[04:17:39] darkhanb: has joined #ruby
[04:18:26] raul782: has joined #ruby
[04:23:01] cpruitt: has joined #ruby
[04:24:28] xall: has joined #ruby
[04:30:00] nchambers: has joined #ruby
[04:30:20] tfitts: has joined #ruby
[04:44:55] arescorpio: has joined #ruby
[04:48:47] heyimwill: has joined #ruby
[04:49:02] sauvin: has joined #ruby
[04:51:04] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[05:02:08] cnsvc_: has joined #ruby
[05:07:35] xall: has joined #ruby
[05:11:18] cnsvc_: has joined #ruby
[05:21:59] cpruitt: has joined #ruby
[05:26:15] sonofentropy: has joined #ruby
[05:36:59] cpruitt: has joined #ruby
[05:38:06] xall: has joined #ruby
[05:46:13] paranoicsan: has joined #ruby
[05:47:04] venmx: has joined #ruby
[05:56:07] reber: has joined #ruby
[06:05:51] graphene: has joined #ruby
[06:11:57] KeyJoo: has joined #ruby
[06:23:32] roshanavand: has joined #ruby
[06:24:57] coderphive: has joined #ruby
[06:34:49] profetes: has joined #ruby
[06:36:48] aupadhye: has joined #ruby
[06:37:14] za1b1tsu: has joined #ruby
[06:38:41] maufart__: has joined #ruby
[06:44:44] sonofentropy: has joined #ruby
[06:49:35] sonofentropy: has joined #ruby
[06:56:20] tbuehlmann: has joined #ruby
[06:58:54] coderphive: has joined #ruby
[07:04:10] maufart__: has joined #ruby
[07:05:14] neuraload: has joined #ruby
[07:14:29] coderphive: has joined #ruby
[07:26:46] horst: has joined #ruby
[07:33:14] conta: has joined #ruby
[07:39:21] clemens3: has joined #ruby
[07:41:00] graphene: has joined #ruby
[07:54:32] ur5us: has joined #ruby
[08:17:47] yasserhussain111: has joined #ruby
[08:21:16] d^sh: has joined #ruby
[08:30:35] nchambers: has joined #ruby
[08:43:01] serard_: has joined #ruby
[08:45:47] sonofentropy: has joined #ruby
[08:47:01] xuyuheng: has joined #ruby
[09:02:26] mikecmpbll: has joined #ruby
[09:07:03] clemens3: has joined #ruby
[09:15:41] vovs03: has joined #ruby
[09:15:47] yasserhussain111: has left #ruby: ()
[09:18:23] kapil____: has joined #ruby
[09:40:51] phaul: has joined #ruby
[09:41:02] LightStalker: has joined #ruby
[09:41:59] graphene: has joined #ruby
[09:45:00] paranoicsan: has joined #ruby
[09:45:55] Guest61854: has joined #ruby
[09:54:48] profetes_: has joined #ruby
[10:00:39] sonofentropy: has joined #ruby
[10:01:41] roshanavand: has joined #ruby
[10:08:49] nicolasb: has joined #ruby
[10:09:13] roshanavand: has joined #ruby
[10:10:31] adlerdias: has joined #ruby
[10:11:55] keden: has joined #ruby
[10:21:02] roshanavand: has joined #ruby
[10:23:44] BH23: has joined #ruby
[10:24:03] _joes_: has joined #ruby
[10:25:27] ua: has joined #ruby
[10:26:55] sonofentropy: has joined #ruby
[10:39:21] ams__: has joined #ruby
[10:47:15] lanky_leguan: has joined #ruby
[10:50:03] burgestrand: has joined #ruby
[10:51:01] Xenosine: has joined #ruby
[10:52:38] blackmesa: has joined #ruby
[11:03:42] lanky_leguan: why do I get "warning: character class has duplicated range: /##[a-zA-z]+##/" for https://dpaste.de/WnCi ?
[11:04:28] lanky_leguan: removing the "duplicate" range changes the results
[11:05:07] lanky_leguan: ruby 2.3.3p222
[11:05:25] phaul: [a-zA-Z] ?
[11:05:49] phaul: A-z includes a-z if it follows ascii
[11:06:44] phaul: &>> /A-z/.match?('q')
[11:06:46] rubydoc: # => false (https://carc.in/#/r/5s33)
[11:06:52] lanky_leguan: they are overlapping, and contrary to gut feeling A < a?
[11:07:15] canton7: A comes before a in ascii
[11:07:30] phaul: hm. maybe not. I don't know
[11:07:45] canton7: &>> /[A-z]/.match?('q')
[11:07:46] rubydoc: # => true (https://carc.in/#/r/5s36)
[11:08:22] phaul: pff canton7 good catch :)
[11:11:00] canton7: &>> /A-z/.match?('[')
[11:11:01] rubydoc: # => false (https://carc.in/#/r/5s37)
[11:11:08] canton7: &>> /[A-z]/.match?('[')
[11:11:09] rubydoc: # => true (https://carc.in/#/r/5s38)
[11:11:16] canton7: ^ note that A-z also catches a bunch of other characters
[11:11:49] lanky_leguan: my original was to check for '_' too, I just noticed it's inbetween
[11:12:06] beef_erikson: has joined #ruby
[11:12:19] beef_erikson: #cplusplus.com
[11:12:29] beef_erikson: forgot /join :P
[11:13:01] beef_erikson: really need to set up autojoin on this sometime :P
[11:14:55] lanky_leguan: omfg, the second z was wrong case, I intended it as uppercase, and *read* it as such too, thus the confusion
[11:22:13] keden: has joined #ruby
[11:22:57] p0s1x: has joined #ruby
[11:23:25] nchambers: has joined #ruby
[11:28:07] conta: has joined #ruby
[11:31:47] aupadhye: has joined #ruby
[11:33:41] beef_erikson: has joined #ruby
[11:36:50] aupadhye_: has joined #ruby
[11:39:50] ua: has joined #ruby
[11:47:11] cpruitt: has joined #ruby
[11:58:41] cpruitt: has joined #ruby
[12:00:08] mikecmpb_: has joined #ruby
[12:03:53] lucasb: has joined #ruby
[12:10:04] fredmorcos: has joined #ruby
[12:23:03] burgestrand: has joined #ruby
[12:31:12] fredmorcos: has joined #ruby
[12:33:02] cow[moo]: has joined #ruby
[12:35:21] AJA4350: has joined #ruby
[12:35:54] bak1an: has joined #ruby
[12:38:55] sonofentropy: has left #ruby: ()
[12:40:32] dellavg_: has joined #ruby
[12:43:45] nickjj: has joined #ruby
[12:52:41] clemens3: has joined #ruby
[12:55:26] cpruitt: has joined #ruby
[12:58:50] roshanavand: has joined #ruby
[12:59:21] HailTheRobots: has joined #ruby
[12:59:45] Some-body_: has joined #ruby
[13:00:26] nchambers: has joined #ruby
[13:09:23] Guest61854: has joined #ruby
[13:13:01] keden: has joined #ruby
[13:16:55] ua: has joined #ruby
[13:18:08] zapata: has joined #ruby
[13:18:57] mostlybadfly: has joined #ruby
[13:20:32] keden: has joined #ruby
[13:23:29] nowhere_man: has joined #ruby
[13:26:12] ElFerna: has joined #ruby
[13:30:13] blackmesa: has joined #ruby
[13:37:29] Guest61854: has joined #ruby
[13:42:19] crankharder: has joined #ruby
[13:52:16] conta: has joined #ruby
[13:54:10] al2o3-cr: has joined #ruby
[13:58:13] cpruitt: has joined #ruby
[14:10:07] cow[moo]: has joined #ruby
[14:12:54] cpruitt: has joined #ruby
[14:13:08] al2o3-cr: has joined #ruby
[14:21:49] marz_d`ghostman: has joined #ruby
[14:26:55] marz_d`ghostman: What's the best practice when defining module variables so that I can refer to it in its methods? Am I doing this right? https://gist.github.com/marzdgzmn/c5f855eeb616c5ffff7801b99d91fdd7
[14:33:45] conta: has joined #ruby
[14:34:53] reber: has joined #ruby
[14:52:02] Iambchop: &>> module Foo; @foo='42'; p [self, @foo]; def bar; p [self, @foo]; end; end; class Baz; include Foo; end; qux=Baz.new; qux.bar; [Foo.instance_variable_get(:@foo), qux.instance_variable_get(:@foo)]
[14:52:04] rubydoc: # => [Foo, "42"] ...check link for more (https://carc.in/#/r/5s4m)
[14:53:49] awkwords: has joined #ruby
[14:56:26] Iambchop: marz_d`ghostman: ^ @db in the module definition is not the same as @db in the method definitions; [Foo.instance_variable_get(:@foo), qux.instance_variable_get(:@foo)] => ["42", nil]; note the different "self" in each location
[14:58:30] venmx: has joined #ruby
[15:04:57] millerti: has joined #ruby
[15:04:58] SeepingN: has joined #ruby
[15:05:13] marz_d`ghostman: Iambchop: Even though @db will only be dealt with by the module methods?
[15:05:42] marz_d`ghostman: Iambchop: If so, can you recommend a good pattern on how to tackle this one.
[15:06:49] marz_d`ghostman: Please disregard my first question, I see that @db will not be reachable from the instance that included the module. :)
[15:08:36] polishdub: has joined #ruby
[15:11:20] agent_white: has joined #ruby
[15:12:43] fredmorcos: has joined #ruby
[15:15:52] krawchyk: has joined #ruby
[15:20:03] Inline: has joined #ruby
[15:27:29] graphene: has joined #ruby
[15:31:53] rippa: has joined #ruby
[15:33:15] keden: has joined #ruby
[15:41:48] ElFerna: has joined #ruby
[15:55:58] hutch: has joined #ruby
[15:56:46] prestorium: has joined #ruby
[16:04:42] krawchyk: has joined #ruby
[16:05:00] conta: has joined #ruby
[16:06:37] dbz: has joined #ruby
[16:30:38] TomyWork: has joined #ruby
[16:34:27] ElFerna: has joined #ruby
[16:34:32] TomyWork: hi, I'm trying to use redis-rb to listen to a pubsub channel. my program crashes with an exception whenever there's a connection loss. I notice there's a with_reconnect method in there, but I can't figure out whether it solves my issue because I don't know if I'm using it correctly
[16:35:16] TomyWork: redis = Redis.new(host: redis_host); redis.with_reconnect do redis.subscribe(channel) do ...
[16:36:21] TomyWork: should I just catch the exception and reconnect or is there a way for the library to do this for me?
[16:36:33] paranoicsan: has joined #ruby
[16:38:26] ElFerna: has joined #ruby
[16:51:02] nchambers: has joined #ruby
[16:56:55] Fr4n: has joined #ruby
[16:58:40] blackswan: has joined #ruby
[16:59:50] krawchyk: has joined #ruby
[17:00:43] clemens3: has joined #ruby
[17:01:00] graphene: has joined #ruby
[17:09:43] maryo: has joined #ruby
[17:13:42] darkhanb: has joined #ruby
[17:16:51] frankz: has joined #ruby
[17:17:07] ged: has joined #ruby
[17:18:42] raulp: has joined #ruby
[17:19:10] cthulchu: has joined #ruby
[17:26:19] syndikate: has joined #ruby
[17:28:54] Guest61854: has joined #ruby
[17:34:16] ur5us: has joined #ruby
[17:38:50] lunarkitty7: has joined #ruby
[17:42:46] cthulchu: hey folks, I have a stupid question
[17:43:28] cthulchu: I want to be able to require a file where I have a method described
[17:43:48] cthulchu: but I want to call this method without a need to reference it's class
[17:44:14] cthulchu: I guess....
[17:44:23] cthulchu: for that I'd have to define it as a global?
[17:44:28] cthulchu: in that file
[17:44:45] cthulchu: I just don't want to use the class...
[17:44:55] cthulchu: it's gonna be awkward and unneded
[17:46:09] ogres: has joined #ruby
[17:47:29] cthulchu: oh! I know!
[17:47:33] cthulchu: Module Methods!
[17:47:36] cthulchu: right folks?
[17:48:40] cthulchu: still have to reference the method name thoufh
[17:48:52] eckhardt: has joined #ruby
[17:49:24] cthulchu: well I think I can do the same
[17:49:42] cthulchu: in classes: create class (static) methods instead of instance ones
[17:54:03] cthulchu: yeah, there are a few awkward methods to make static methods, I find def self.putz the most elegant
[18:06:45] HailTheRobots: has joined #ruby
[18:08:49] Puffball: has joined #ruby
[18:11:54] weaksauce: has joined #ruby
[18:15:36] maryo: has joined #ruby
[18:17:45] blackswan: has joined #ruby
[18:24:42] hutch: has joined #ruby
[18:28:43] code_zombie: has joined #ruby
[18:28:46] dbz: has joined #ruby
[18:34:44] venmx: has joined #ruby
[18:42:49] mikecmpbll: has joined #ruby
[18:52:17] lxsameer: has joined #ruby
[19:04:22] Guest61854: has joined #ruby
[19:11:21] graphene: has joined #ruby
[19:17:34] Aqo: has joined #ruby
[19:22:50] andrewray: has joined #ruby
[19:23:44] andrewray: I'm trying to put a nested gem in my project (subfolder with a gemspec), and i'm trying to run specs from the root of the project
[19:24:50] andrewray: when i run the specs in the gem folder from root, rspec starts, but it complains when I try to provide a config option that comes from another rspec plugin gem
[19:25:25] andrewray: and i'm not sure why it's not loading the rspec plugin when I run rspec from the root
[19:26:53] andrewray: it's loading the .rspec file from the root, and executing the root's gemfile
[19:29:26] hutch: has joined #ruby
[19:33:17] Hobbyboy: has joined #ruby
[19:47:26] carbone5: has joined #ruby
[19:50:22] conta: has joined #ruby
[19:50:46] desperek: has joined #ruby
[19:52:56] Guest61854: has joined #ruby
[19:54:58] dviola: has joined #ruby
[20:00:36] reber: has joined #ruby
[20:22:26] cow[moo]: has joined #ruby
[20:22:43] thither: has joined #ruby
[20:22:48] awkwords: has joined #ruby
[20:25:09] eckhardt: has joined #ruby
[20:29:57] ur5us: has joined #ruby
[20:37:44] andrewray: has joined #ruby
[20:38:48] venmx: has joined #ruby
[20:40:36] SeepingN: has joined #ruby
[20:51:56] Guest61854: has joined #ruby
[21:03:07] havenwood: andrewray: #!> ArgumentError: wrong number of arguments (given 0, expected 2..3)
[21:03:36] cthulchu: I have a weird case. would appreciate help
[21:03:42] havenwood: cthulchu: What is it?
[21:04:00] cthulchu: LParser.log_processor(log: comment, platform: @platofrm) at this point I'm sure the @platform is set and has value. I'm printing it
[21:04:15] cthulchu: but inside log_processor, It becomes ""
[21:04:16] havenwood: cthulchu: @platofrm?
[21:04:43] havenwood: platonic forms, I presume? :P
[21:04:54] cthulchu: LParser.log_processor(log: comment, platform: @platofrm)
[21:04:57] havenwood: cthulchu: It's a typo...
[21:05:18] cthulchu: do you see a typo?
[21:05:27] havenwood: cthulchu: @platofrm
[21:05:55] ryandv: has joined #ruby
[21:06:04] ryandv: hello - does there exist a parsing library for ruby with native extensions?
[21:07:46] havenwood: ryandv: You're looking for a PEG-based parser library that has C-exts?
[21:08:14] havenwood: ryandv: Why C-exts? Speed?
[21:08:48] havenwood: ryandv: Or you want a Ruby parser?
[21:09:10] ryandv: havenwood: I'm looking for a fast Ruby parser that can accept source text and output an AST
[21:09:36] havenwood: ryandv: Ruby ships with RubyVM::InstructionSequence and Ripper.
[21:10:09] ryandv: havenwood: interesting, I'll check those out. thanks!
[21:10:15] havenwood: &>> require 'ripper'; Ripper.sexp 'puts :ryandv'
[21:10:17] rubydoc: # => [:program, [[:command, [:@ident, "puts", [1, 0]], [:args_add_block, [[:symbol_literal, [:symbol, [:@ ...check link for more (https://carc.in/#/r/5s9v)
[21:10:52] havenwood: &>> RubyVM::InstructionSequence.compile('puts :ryadv').to_a.last
[21:10:52] rubydoc: # => [1, :RUBY_EVENT_LINE, [:putself], [:putobject, :ryadv], [:opt_send_without_block, {:mid=>:puts, :fla ...check link for more (https://carc.in/#/r/5s9w)
[21:11:16] havenwood: ryandv: no prob, you're welcome!
[21:12:05] andrewray: I have a root level gems/ folder which contains gem source codes, including gemname.gemspec files
[21:12:34] andrewray: when I try to run specs inside those folders, from the root level of the project (with rspec) - rspec executes, but an rspec dependency defined in the *root* level gemfile does not load
[21:13:00] serard: has joined #ruby
[21:13:23] andrewray: and the rspec config fails to fully execute, blocking the test run. Does executing a spec (with bundle exec rspec gems/project/spec/my_spec.rb) from outside that folder, do something with gem context?
[21:13:46] andrewray: the root level Gemfile is getting executed, including the `gem 'rspec-dependnecy'` line
[21:14:11] andrewray: does having the child folder Gemfile do something different?
[21:14:13] havenwood: andrewray: Typically a Gemfile in a gem will have a `gemspec` line, so a `bundle` will install deps from the gemspec. But the gemspec will not install deps from a Gemfile.
[21:14:40] cthulchu: what's AST?
[21:15:12] havenwood: andrewray: To resolve and install deps from the Gemfile, either `gem install -g /path/to/Gemfile` or use Bundler.
[21:15:13] havenwood: cthulchu: Abstract Syntax Tree
[21:15:29] cthulchu: is it a data structure?
[21:16:25] cthulchu: I know what it is. Just forgot the name
[21:17:13] havenwood: cthulchu: Languages often have an intermediary representation (IR) that can be something like an abstract syntax tree (AST) or a register transfer language (RTL) or a sea of nodes (OMGWTFBBQ).
[21:18:52] havenwood: cthulchu: TruffleRuby uses a sea of nodes. There's actually a fork of Ruby that Makarov is working on that changes the YARV AST to instead be RTL.
[21:19:11] havenwood: cthulchu: https://medium.com/square-corner-blog/rubys-new-jit-91a5c864dd10
[21:20:47] andrewray: havenwood: if my top level project has a Gemfile (but no gemspec) - can I execute code in a subfolder that has subfolder/Gemfile and subfolder/project.gemspec ?
[21:21:54] graphene: has joined #ruby
[21:22:40] havenwood: andrewray: You can have Gemfile deps to local gems if you use the `path:` keyword for the `gem` directive. Like: gem 'rails', path: '/path/to/gemspec/dir'
[21:23:21] havenwood: andrewray: Normally a gem's Gemfile is limited to developer niceties for folk working on the gem.
[21:23:36] havenwood: The gem's actual deps should be in the gemspec.
[21:25:59] andrewray: havenwood: that's what i'm doing in my root Gemfile, i'm calling gem 'myproject', path: './myproject' and that part seems to be working
[21:27:12] havenwood: andrewray: same issue with the full path instead of relative path?
[21:27:13] havenwood: andrewray: https://github.com/bundler/bundler/issues/4966
[21:30:54] andrewray: havenwood: i'm using the full path for the path. my root level Gemfile has 'rspec' and 'rspec-retry', and when it gets into the spec itself in the nested folder, it tries to do Rspec.configure |c| c.retry_key = true
[21:31:16] andrewray: and fails because the retry_key provided by rspec-retry doesn't seem to be getting loaded
[21:31:32] nopolitica: has joined #ruby
[21:35:36] andrewray: hmmm, when it executes the child folder's project.gemspec file, it doesn't have Rspec in there, at least I can't run rspec.configure
[21:37:16] andrewray: I'm trying to follow this pattern https://medium.com/@dan_manges/the-modular-monolith-rails-architecture-fb1023826fc4 but don't understand how they have the tests set up
[21:37:55] bak1an: has joined #ruby
[21:43:51] s3nd1v0g1us: has joined #ruby
[21:44:44] Guest61854: has joined #ruby
[21:56:39] andrewray: ah, my sub gem spec run isn't loading rails's boot.rb
[21:56:43] andrewray: which does some magic garbo
[22:05:14] Ookma-Kyi: has joined #ruby
[22:06:47] SeepingN: has joined #ruby
[22:09:00] graphene: has joined #ruby
[22:17:49] andrewray: oh, maybe it's not boot.rb
[22:26:36] tag: has joined #ruby
[22:29:23] bambanx: has joined #ruby
[22:30:59] graphene: has joined #ruby
[22:31:47] zenspider: what's the cheapest checksum function we have? I'd use #hash but it is seeded on ever run now and blows out caching.
[22:49:08] blackswan: has joined #ruby
[22:52:45] nowhere_man: has joined #ruby
[22:54:45] Aqo: have you tried fnv1a
[22:56:56] SeepingN: a large farva?
[23:01:50] brandonkal: has joined #ruby
[23:04:05] thunderbirdtr: has joined #ruby
[23:05:10] M4xP0w3r: has joined #ruby
[23:09:45] SCHAPiE: has joined #ruby
[23:14:25] Puffball: has joined #ruby
[23:16:52] davidw: has joined #ruby
[23:17:09] davidw: ["a", "b", "c"].map { |x| x == "a" ? ["a", "a'"] : x }.flatten - is there a more elegant (no flatten) way to do that?
[23:18:14] havenwood: davidw: #flat_map
[23:18:59] havenwood: davidw: it's like a `map` followed by `flatten(1)`
[23:19:23] davidw: ah, perfect, thanks havenwood
[23:27:07] havenwood: zenspider: checksumming strings?
[23:27:51] Puffball: has joined #ruby
[23:35:00] havenwood: zenspider: It's kinda a shame that the SipHash implementation used for Hash isn't exposed via Digest.
[23:36:31] havenwood: zenspider: From stdlib I'd say Digest::SHA1.
[23:40:05] GodFather: has joined #ruby
[23:55:45] hutch: has joined #ruby
[23:57:00] graphene: has joined #ruby