havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
thebetra1 has quit [Ping timeout: 258 seconds]
xco has joined #ruby
Swyper has joined #ruby
gix has quit [Ping timeout: 248 seconds]
bambanx has joined #ruby
<wilywizard> zenspider: octokit is declared in the Gemfile but faraday is a subdependancy of octokit and not declared. For some reason Sawyer which is between the two in the depchain is pulled in under ocotokit and faraday is not pulled in so when attempting to require sawyer gets triggered by octokit the entire thing dies w/ a LoadError saying it can't find the file for faraday
<wilywizard> sawyer is also not declared in the Gemfile
jenrzzz has quit [Ping timeout: 244 seconds]
ellcs has quit [Ping timeout: 248 seconds]
crankharder has joined #ruby
arahael has quit [Ping timeout: 244 seconds]
tdy has quit [Ping timeout: 245 seconds]
doodleb59 has quit [Read error: Connection reset by peer]
arahael has joined #ruby
Swyper has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Swyper has joined #ruby
xco has quit [Quit: xco]
arahael has quit [Ping timeout: 245 seconds]
arahael1 has joined #ruby
comet23 has quit [Quit: Connection closed for inactivity]
Swyper has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
lucasb has quit [Quit: Connection closed for inactivity]
zenspider has quit [Ping timeout: 257 seconds]
circ-user-2ogig has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
hutch has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
teclator_ has joined #ruby
Swyper has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
fphilipe_ has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
fphilipe_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
teclator_ has quit [Ping timeout: 245 seconds]
evdubs_ has quit [Remote host closed the connection]
evdubs_ has joined #ruby
dviola has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
greypack has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
greypack has quit [Ping timeout: 248 seconds]
seb_ has joined #ruby
<Iambchop> wilywizard: what versions of ruby/bundler/octokit are you using? here simply "octokit" in gemfile produced "octokit -> sawyer; sawyer -> faraday" in gemfile.lock. paste a gemfile/gemfile.lock showing the problem?
sarink has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
[rg] has joined #ruby
cd has quit [Quit: cd]
bambanxx has joined #ruby
tdy has joined #ruby
bambanx has quit [Ping timeout: 244 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
relyks has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
jenrzzz has quit [Ping timeout: 245 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
al2o3-cr has quit [Ping timeout: 246 seconds]
braincrash has quit [Quit: bye bye]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
jenrzzz has joined #ruby
braincrash has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
jenrzzz has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
Swyper has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sarink_ has joined #ruby
sarink has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has joined #ruby
tdy has joined #ruby
jenrzzz has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
asat has quit [Remote host closed the connection]
[rg] has quit [Ping timeout: 248 seconds]
sarink_ has quit [Remote host closed the connection]
[rg] has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
DTZUZO has quit [Ping timeout: 272 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
gregf_ has quit [Ping timeout: 256 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
jenrzzz has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sarink has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
jenrzzz has joined #ruby
sarink has quit [Ping timeout: 245 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bambanxx has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 272 seconds]
snosk8r has quit [Ping timeout: 245 seconds]
DTZUZO has joined #ruby
exmortus has joined #ruby
staticx has joined #ruby
jenrzzz has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
exmortus has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
al2o3-cr has joined #ruby
bradleyprice has quit [Remote host closed the connection]
Rudd0 has quit [Ping timeout: 248 seconds]
greypack has joined #ruby
juliusdeane has joined #ruby
bradleyprice has joined #ruby
sarink has joined #ruby
<juliusdeane> How does one pronounce/spell out "::"?
hutch has joined #ruby
sarink has quit [Ping timeout: 248 seconds]
Rudd0 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
AJA4350 has quit [Quit: AJA4350]
dviola has joined #ruby
fphilipe_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
fphilipe_ has quit [Ping timeout: 248 seconds]
hutch has quit [Ping timeout: 248 seconds]
hutch has joined #ruby
jenrzzz has joined #ruby
juliusdeane has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Rudd0^ has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
hutch has quit [Quit: WeeChat 2.5]
doodlebug has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
bradleyprice has quit [Remote host closed the connection]
headius has quit [Ping timeout: 244 seconds]
kyrylo has joined #ruby
sarink has joined #ruby
sarink has quit [Ping timeout: 248 seconds]
arahael1 is now known as Arahael
jenrzzz has joined #ruby
sameerynho has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 268 seconds]
nnddcc has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
dviola has quit [Quit: WeeChat 2.5]
Freshnuts has joined #ruby
[rg] has quit [Read error: Connection reset by peer]
tdy has quit [Ping timeout: 258 seconds]
schne1der has joined #ruby
Joufflu has quit [Quit: Leaving]
queip has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
bradleyprice has joined #ruby
queip has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
fphilipe_ has joined #ruby
dellavg_ has joined #ruby
uplime is now known as Rudolph
Freshnuts has quit [Ping timeout: 248 seconds]
Freshnuts has joined #ruby
Rudolph has quit [Killed (dax (dont steal stuff from people u nerd))]
uplime has joined #ruby
fphilipe_ has quit [Ping timeout: 248 seconds]
dellavg_ has quit [Ping timeout: 268 seconds]
gix has joined #ruby
sarink has joined #ruby
fphilipe_ has joined #ruby
TheSpectre has quit [Ping timeout: 252 seconds]
Ai9zO5AP has joined #ruby
reber has joined #ruby
manakanapa has joined #ruby
nnddcc has quit [Remote host closed the connection]
Swyper has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
sarink has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
dar123 has joined #ruby
DTZUZO has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
ellcs has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
Swyper has quit [Ping timeout: 246 seconds]
queip has quit [Ping timeout: 258 seconds]
DTZUZO has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
queip has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has joined #ruby
TheSpectre has joined #ruby
dar123 has quit [Ping timeout: 248 seconds]
dar123 has joined #ruby
fphilipe_ has joined #ruby
queip has quit [Ping timeout: 248 seconds]
tdy has quit [Ping timeout: 245 seconds]
queip has joined #ruby
go|dfish has quit [Ping timeout: 248 seconds]
conta has joined #ruby
gb_away has quit [Ping timeout: 245 seconds]
go|dfish has joined #ruby
fphilipe_ has quit [Ping timeout: 248 seconds]
queip has quit [Ping timeout: 244 seconds]
queip has joined #ruby
queip has quit [Ping timeout: 248 seconds]
queip has joined #ruby
jenrzzz has joined #ruby
leitz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
Fernando-Basso has joined #ruby
cd has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
sarink has joined #ruby
nowhereman has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
Sneaker has joined #ruby
Sneaker is now known as Guest7151
leitz has quit [Quit: Leaving]
sarink_ has joined #ruby
sarink has quit [Ping timeout: 248 seconds]
Guest7151 is now known as foo_____
foo_____ is now known as notype
Swyper has joined #ruby
fphilipe_ has joined #ruby
<notype> someone is using rubyonjets fw?
tdy has joined #ruby
sarink_ has quit [Ping timeout: 246 seconds]
fphilipe_ has quit [Ping timeout: 258 seconds]
tdy has quit [Ping timeout: 245 seconds]
bonhoeffer has joined #ruby
<bonhoeffer> my gist binary is trying to call 1.9.1 -bash: /usr/local/bin/gist: /usr/bin/ruby1.9.1: bad interpreter: No such file or directory
<bonhoeffer> any ideas for a fix?
Freshnuts has quit [Quit: Leaving]
queip has quit [Ping timeout: 245 seconds]
sarink has joined #ruby
queip has joined #ruby
fphilipe_ has joined #ruby
<Calinou> bonhoeffer: how did you install gist (and when)?
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
doodleb0 has joined #ruby
doodlebug has quit [Ping timeout: 268 seconds]
sarink has quit [Remote host closed the connection]
<sagax> hi all!
<sagax> how to get new hash with several keys->values from original hash? what best way to do it?
<sagax> example foo = {:one => 1, :two => 2, :three => 3} i must got new hash with :one and :two keys->values, how to do it better?
<al2o3-cr> sagax: Hash#slice
<sagax> wow
<sagax> great, thanks!
<sagax> it's what i want
<al2o3-cr> np sagax
thebetra1 has joined #ruby
<bonhoeffer> Calinou: I did sudo apt-get install gist
<bonhoeffer> this morning
<Calinou> ah, so you're using the distro-provided version
<Calinou> in case of Ruby trouble on a distribution, I usually just install https://github.com/rbenv/rbenv so I don't depend on the distribution's Ruby interpreter
<Calinou> but that's just me :)
<Calinou> it also makes it possible to use "gem install" without sudo
<Calinou> (which is how you should do it, because using `sudo` is very insecure for this purpose)
<bonhoeffer> Calinou: thanks
<havenwood> bonhoeffer: What OS? Ubuntu? Debian?
<bonhoeffer> ubuntu
<havenwood> bonhoeffer: Brightbox also maintains Ruby packages for Ubuntu: https://www.brightbox.com/docs/ruby/ubuntu/
fphilipe_ has quit [Ping timeout: 245 seconds]
<bonhoeffer> i uninstalled gist -- then did gem install gist -- but now the binary is not linked
<bonhoeffer> which gist is empty
<havenwood> bonhoeffer: Or here's instructions for ruby-install/chruby: https://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you
sarink has joined #ruby
sarink has quit [Read error: Connection reset by peer]
FastJack has quit [Ping timeout: 264 seconds]
hiroaki has joined #ruby
FastJack has joined #ruby
sarink has joined #ruby
queip has quit [Ping timeout: 248 seconds]
doodleb0 has quit [Read error: Connection reset by peer]
sarink has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
nima_m has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
queip has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sarink has joined #ruby
fphilipe_ has joined #ruby
sarink has quit [Read error: Connection reset by peer]
sarink has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
iNs has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
iNs has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
thebetrayer has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
thebetra1 has quit [Ping timeout: 250 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
reber_ has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
jenrzzz has joined #ruby
reber has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Inline_ has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Inline has quit [Ping timeout: 252 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
clemens3 has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
dante has joined #ruby
dellavg_ has joined #ruby
Inline_ has quit [Quit: Leaving]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
bonhoeffer has quit [Ping timeout: 256 seconds]
AJA4350 has joined #ruby
sarink has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 248 seconds]
xco has joined #ruby
notype has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sneaker has joined #ruby
Sneaker is now known as Guest53144
thebetra1 has joined #ruby
thebetrayer has quit [Ping timeout: 248 seconds]
<IGnorAND> is there a way to get all set variables?
<IGnorAND> I'm trying to figure out the params I can set in capistrano without going through the whole library
<IGnorAND> something like .methods
<havenwood> IGnorAND: All the instance variables from the instance of a class? Or all the local variables inside a method?
<havenwood> IGnorAND: Say more about the methods you're trying to list?
<havenwood> IGnorAND: I mean variables you're trying to list *
<IGnorAND> @havenwood I figured out I could do a #{fetch(:stage)} to figure out if its production or acceptance or testing
<IGnorAND> I now want the release_name
<havenwood> IGnorAND: So you're trying to get at local variables?
<IGnorAND> havenwood: yeah
<havenwood> &>> local_variables
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/72y7)
<havenwood> #=> [:_]
<IGnorAND> local_variables seems to give me the vars of my capistrano task
<havenwood> IGnorAND: It'll give you the local variables.
<havenwood> IGnorAND: Check?: defined? release_name
<havenwood> IGnorAND: What is it?
<havenwood> local_variables.to_h { |variable| [variable, binding.local_variable_get(variable)] }
<havenwood> &>> meaning = 42; local_variables.to_h { |variable| [variable, binding.local_variable_get(variable)] }
<rubydoc> # => {:meaning=>42} (https://carc.in/#/r/72y8)
deepredsky has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
<IGnorAND> havenwood: like I said, it seems to give me the values of my lib/capistrano/tasks/custom_tasks.rb and not of the parent object
<havenwood> IGnorAND: It's going to give you the local variables from the current binding.
<havenwood> IGnorAND: If you call it on the thing you want the local variables from, it'll give you them.
<havenwood> IGnorAND: First, check that you're actually trying to get at a local variable?
<havenwood> IGnorAND: defined? release_name
<havenwood> IGnorAND: Is that?: #=> "local-variable"
<havenwood> IGnorAND: (Check by putting a binding.irb there in the code or add a `p release_name` and rerun.
<havenwood> )
<IGnorAND> havenwood: lemme check with a variable I know
<IGnorAND> It seems to return expression
<IGnorAND> puts defined? :stage
<havenwood> IGnorAND: We know `:stage` is a Symbol.
<havenwood> IGnorAND: What's `release_name`?
<IGnorAND> havenwood: release_name doesnt exist. I am looking for the variable
<havenwood> IGnorAND: defined? release_name
<havenwood> IGnorAND: What's the variable called?
<IGnorAND> fetch(:stage) returns production/testing/acceptance, fetch(:release_name) returns nil
<IGnorAND> havenwood: that's the problem. I dont know. I am trying to look for the variables :)
<havenwood> IGnorAND: #fetch is defined on many classes. Is this a Hash? There are no local variables in your example.
<havenwood> IGnorAND: You're asking about getting at a local variable, but there appear to be no local variables involved.
<havenwood> IGnorAND: Maybe show what you have and what you want, with the code values for both.
<havenwood> IGnorAND: Like, I have `{meaning: 42}` and I want `{42 => :meaning`.
<havenwood> IGnorAND: I don't have any context here. You've mentioned something about a `release_stage` local variable, and you're showing a rake task. Maybe I just need coffee?
<havenwood> What's the problem you're running into?
<IGnorAND> havenwood: I am trying to make a custom capistrano task.
<havenwood> IGnorAND: Show your code? Where are you stuck?
<IGnorAND> Capistrano does some magic, and I can make a task by adding a file to lib/capistrano/tasks/task_name.rb
thebetra1 has quit [Ping timeout: 248 seconds]
<IGnorAND> I want the value of the release_name: https://capistranorb.com/documentation/getting-started/structure/
zenspider has joined #ruby
reber_ has quit [Remote host closed the connection]
<havenwood> IGnorAND: There's no mention of release name in what you linked? Do you mean the unix timestamp?
<havenwood> IGnorAND: It seems like maybe you're trying to get at a key, not a local variable? I don't use cap, so someone else might be better able to help.
<IGnorAND> havenwood: there is no mention of :stage either. But yes, it is formed by a unix timestamp. https://www.freelancingdigest.com/articles/capistrano-variables/ here you see examples of supposed variables that should exist
Guest53144 is now known as notype
queip has quit [Ping timeout: 272 seconds]
<xco> hi i’m reading the ruby style guide. aren’t these two (leading and trailing .) contradicting themselves? https://rubystyle.guide/#leading-dot-in-multi-line-chains
<IGnorAND> xco: they are. you need to chose one
<IGnorAND> xco: A discussion on the merits of both alternative styles can be found here.
<IGnorAND> xco: Adopt a consistent multi-line method chaining style. There are two popular styles in the Ruby community, both of which are considered good - leading . and trailing
<havenwood> xco: On Ruby trunk there's a new option: |>
<xco> havenwood: got a link to that please?
doodlebug has joined #ruby
<xco> IGnorAND: it’s confusing they included it at all then. the guide should have one style, if it’s giving different styles then it makes no sense in my opinion because every style they posted has ANOTHER style yet they chose the style they chose
doodlebug has quit [Excess Flood]
<xco> havenwood: thanks
<xco> havenwood: oh that’s in the new upcoming ruby version! nice
queip has joined #ruby
<IGnorAND> xco: they state "adopt one, and stick with it" and then continue to explain both.
<havenwood> xco: Just run `rubocop` for one opinion.
<IGnorAND> xco: and make a .rubocop.yml to change the opinion :P
<havenwood> I mean clearly RuboCop is nuts with the spaces inside Hashes, but it's consistently that variant of nuts. :P
<xco> havenwood: right. i’ve used Rubocop so much so that naturally i write Ruby code that’s consistent with Rubocop itself :D
<xco> IGnorAND: i agree
<IGnorAND> xco: with what do you agree?
<xco> IGnorAND: to this “and make a .rubocop.yml to change the opinion :P”
<xco> like picking one style and enforcing it with Rubcop for consistency across board
<IGnorAND> xco: everyone makes their own style guide. This guide is to help you create one
<xco> havenwood: i kind of like the |> what do you make of it?
<havenwood> xco: If I wasn't a huge fan of the F#/Elixir pipe operation meaning, I'd not have any reservations.
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
<havenwood> xco: I like the syntax addition, but I'd really like to have the functional meaning of |> rather than the syntactic sugar for straightforward method chaining
<havenwood> Matz suggested possibly changing it from |> to >>>, so there's not confusion with the functional |>.
<havenwood> I kinda consider it a <|, personally.
<havenwood> I was thinking of proposing that.
<xco> “I kinda consider it a <|, personally.” it looks like that to me because i think in Elixir it’s the opposite of what it is in Ruby 2.7
<havenwood> (1..).each == 1.. <| each
<havenwood> IMHO: Integer(42, exception: false) == 42 |> Integer(exception: false)
<havenwood> There are reasons that's hard to implement in Ruby.
Fernando-Basso has quit [Remote host closed the connection]
<xco> “42 |> Integer(exception: false)” this looks weird though, to me. looks like you’d be doing 42.Integer(exception: false) right?
<xco> havenwood: ^
<xco> and not Integer(42, exception: false)
<havenwood> xco: In Elxiir/F#/OCaml style that'd mean: Integer(42, exception: false)
<xco> ah ok i was thinking about Ruby 2.7
<havenwood> 42 |> Integer(exception: false) |> Math.sqrt
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
<xco> i hated OCaml in school for it’s syntax and now there’s a reference to it again :P
<xco> Elixir is the only functional lang that made me kinda of like functional reasoning
conta has quit [Quit: conta]
nima_m has quit [Quit: Connection closed for inactivity]
thebetra1 has joined #ruby
Exuma has joined #ruby
<havenwood> I proposed <| on the bugtracker.
<havenwood> It lets us hold out hope for a functional |> in Ruby.
<xco> yeah i was about to ask if you alread made a proposal :D
<havenwood> I just did
<xco> :D
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
noobineer has quit [Ping timeout: 248 seconds]
<xco> that’s a strong and fair argument
<xco> also i think ruby has started to get a few ideas from the functional style; one recent one is this pattern matching which i understand is experimental…so going for |> shouldn’t come as a surprise i guess
<havenwood> xco: Matz has been enjoying Elixir.
<xco> it’s clearly evident, but that’s fine because Elixir itself has been heavily influenced by Ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
<havenwood> no doubt
<havenwood> xco: to be fair, Ruby has long had functional influence. like we have been able to curry forever, etc, etc.
<havenwood> lacking immutable datastructures
jenrzzz has joined #ruby
<havenwood> outside of gems, at least
tranch has joined #ruby
<havenwood> etc
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
jenrzzz has quit [Ping timeout: 244 seconds]
tranch has quit [Remote host closed the connection]
tranch has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
tranch has quit [Remote host closed the connection]
notype has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tranch has joined #ruby
tranch has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
tranch has joined #ruby
dante has quit [Quit: bye]
wald0 has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has joined #ruby
tranch has quit [Remote host closed the connection]
tranch has joined #ruby
gb_away has joined #ruby
bradleyprice has quit [Ping timeout: 252 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
gix- has joined #ruby
gix has quit [Disconnected by services]
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
GodFather has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
rippa has joined #ruby
thebetra1 has quit [Ping timeout: 258 seconds]
lupine has quit [Remote host closed the connection]
wald0 has quit [Quit: Lost terminal]
lupine has joined #ruby
tranch has quit [Quit: tranch]
thebetra1 has joined #ruby
thebetrayer has joined #ruby
tdy has joined #ruby
lucasb has joined #ruby
thebetra1 has quit [Ping timeout: 248 seconds]
gix- has quit [Read error: Connection reset by peer]
gix has joined #ruby
hiroaki has quit [Ping timeout: 246 seconds]
queip has quit [Ping timeout: 258 seconds]
BTRE has quit [Remote host closed the connection]
queip has joined #ruby
thebetrayer has quit [Ping timeout: 248 seconds]
thebetrayer has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
kyrylo has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
BTRE has joined #ruby
agent_white has joined #ruby
sarink has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sarink has quit [Ping timeout: 245 seconds]
thebetra1 has joined #ruby
thebetrayer has quit [Ping timeout: 250 seconds]
donst is now known as danst
jenrzzz has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
matchaw has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sarink has joined #ruby
crankharder has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
danst is now known as donst
themsay has quit [Read error: Connection reset by peer]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
themsay has joined #ruby
bradleyprice has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
queip has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
queip has joined #ruby
themsay has quit [Ping timeout: 248 seconds]
sarink has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
thebetra1 has quit [Ping timeout: 248 seconds]
sarink has joined #ruby
houhoulis has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
queip has quit [Ping timeout: 244 seconds]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
queip has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
thebetra1 has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndBobsYourUncle has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
thebetra1 has quit [Ping timeout: 248 seconds]
themsay has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sarink has quit [Remote host closed the connection]
lucasb has quit [Quit: Connection closed for inactivity]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Exuma has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sarink has joined #ruby
sarink has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Sneaker has joined #ruby
Sneaker is now known as Guest44693
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Guest44693 is now known as notype
nowhere_man has joined #ruby
nowhereman has quit [Ping timeout: 258 seconds]
thebetra1 has joined #ruby
doodlebug has joined #ruby
jenrzzz has joined #ruby
doodlebug has quit [Excess Flood]
reber has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
bluetown has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
unixcat has quit [Quit: ZNC 1.7.2+deb2 - https://znc.in]
unixcat has joined #ruby
thebetrayer has joined #ruby
thebetra1 has quit [Ping timeout: 252 seconds]
circ-user-2ogig has joined #ruby
orbyt_ has joined #ruby
bluetown has joined #ruby
circ-user-2ogig_ has joined #ruby
jenrzzz has joined #ruby
doodlebug has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
doodlebug has quit [Excess Flood]
circ-user-2ogig has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
vjacob has quit [Remote host closed the connection]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
reber has quit [Remote host closed the connection]
thebetrayer has quit [Ping timeout: 250 seconds]
thebetrayer has joined #ruby
nowhere_man has quit [Ping timeout: 272 seconds]
DTZUZO has quit [Ping timeout: 248 seconds]
DTZUZO has joined #ruby
circ-user-2ogig_ has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 248 seconds]
nyana has joined #ruby
iffraff has quit [Ping timeout: 258 seconds]
gheegh has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 248 seconds]
Exuma has joined #ruby
sarink has joined #ruby
jefffrails35 has quit [Quit: Leaving]
sarink has quit [Ping timeout: 245 seconds]
zapata has quit [Ping timeout: 258 seconds]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
zapata has joined #ruby
r3m has quit [Quit: WeeChat 2.6-dev]
bradleyprice has joined #ruby
dellavg_ has quit [Ping timeout: 244 seconds]
Freshnuts has joined #ruby
notype has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3m has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
n13z has joined #ruby
n13z has quit [Quit: leaving]
AJA4350 has joined #ruby
vondruch has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
tdy has joined #ruby
Swyper has joined #ruby
ur5us has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
queip has quit [Ping timeout: 272 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
houhoulis has quit [Remote host closed the connection]
queip has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
ellcs has quit [Ping timeout: 250 seconds]
ellcs has joined #ruby
nolanv has joined #ruby
nowhere_man has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
matchaw has quit [Ping timeout: 245 seconds]
clemens3 has quit [Ping timeout: 258 seconds]
Sina has quit [Quit: Connection closed for inactivity]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
agent_white has quit [Quit: later]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
fphilipe_ has joined #ruby
thebetrayer has quit [Ping timeout: 248 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n13z has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
fphilipe_ has quit [Ping timeout: 245 seconds]
cthulchu has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
tdy has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
dbugger has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbugger has quit [Client Quit]
doodleb0 has joined #ruby
skyikot has joined #ruby
RedSnarf has joined #ruby
thebetrayer has joined #ruby
sameerynho has quit [Ping timeout: 245 seconds]
thebetrayer has quit [Ping timeout: 258 seconds]
sameerynho has joined #ruby
tdy has joined #ruby
bradleyprice has joined #ruby
RedSnarf has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
doodleb0 has quit [Read error: Connection reset by peer]
schne1der has joined #ruby
queip has quit [Ping timeout: 244 seconds]
thebetrayer has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
sameerynho has quit [Ping timeout: 268 seconds]
schne1der has quit [Ping timeout: 248 seconds]
queip has joined #ruby
thebetrayer has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
joshuacronemeyer has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Blue^NeXuS has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]