havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.2, 2.5.5, 2.4.6: 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!
dviola has joined #ruby
orbyt_ has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fernando-Basso has quit [Remote host closed the connection]
<leftylink> I see *a* bug, but it doesn't explain the fact that the stderr is not present
<phaul> leftylink: shoot
<phaul> I mean what is the bug?
<leftylink> ... upon review in irb, the bug I found is not a bug. that is too bad (I had thought that prepend doesn't mutate, but I was thinking of the newly-added delete_suffix and delete_prefix)
<leftylink> this is going to cause me all sorts of confusion in the future, I am sure of it
<leftylink> having to remember what I need to add ! to and what I don't
<phaul> it's quite a bit ad hoc.
dar123 has quit [Ping timeout: 246 seconds]
<phaul> ! means surprising to Matz. not a very useful definition
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
txdv has joined #ruby
gb_away has quit [Quit: One disk to rule them all, One disk to bind them, One disk to hold the files And in the darkness grind 'em.]
gb_away has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
gb_away has quit [Quit: One disk to rule them all, One disk to bind them, One disk to hold the files And in the darkness grind 'em.]
gb_away has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
DTZUZO has quit [Ping timeout: 250 seconds]
UnknownSoldier has joined #ruby
UnknownSoldier is now known as \tau
jcarl43 has quit [Quit: WeeChat 2.4]
gb_away has quit [Quit: One disk to rule them all, One disk to bind them, One disk to hold the files And in the darkness grind 'em.]
gb_away has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has quit [Ping timeout: 250 seconds]
gb_away has quit [Client Quit]
gb_away has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
lunarkitty7 has quit [Ping timeout: 252 seconds]
gb_away has quit [Quit: One disk to rule them all, One disk to bind them, One disk to hold the files And in the darkness grind 'em.]
gb_away has joined #ruby
agent_white has quit [Quit: brb]
agent_white has joined #ruby
gb_away has quit [Client Quit]
h3ll0w0rld has joined #ruby
ogres has joined #ruby
ascarter has joined #ruby
lunarkitty7 has joined #ruby
mangold has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
code_zombie has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fluxAeon> ugh, any reason why running the exact same repo on a newly built server that literally matches production would cause rails->webpack to not compile properly? same node, same npm, same rbenv, same nvm, same ruby, same rails, same package.json, same Gemfile... it's driving me NUTS!
<fluxAeon> i posted up on upwork.com to find some contracting help and no one is up to the task and i want to drink whiskey
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
dsmythe_ has joined #ruby
dsmythe has quit [Ping timeout: 250 seconds]
tdy has joined #ruby
gell5 has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 245 seconds]
burak_ has joined #ruby
dsmythe has joined #ruby
AndreYuhai has quit [Ping timeout: 245 seconds]
dsmythe_ has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
maryo_ has joined #ruby
Azure has joined #ruby
maryo has quit [Ping timeout: 244 seconds]
tdy has quit [Ping timeout: 268 seconds]
gell5 has joined #ruby
gell5 has quit [Remote host closed the connection]
ramfjord has joined #ruby
jelera has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
jmcgnh_ has joined #ruby
jmcgnh has quit [Ping timeout: 250 seconds]
jmcgnh_ is now known as jmcgnh
liuyiwen has joined #ruby
duderonomy has joined #ruby
DmitryBochkarev has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
pupsikov has joined #ruby
gell5 has joined #ruby
jenrzzz has joined #ruby
gell5 has quit [Ping timeout: 246 seconds]
DmitryBochkarev has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 255 seconds]
braincrash has quit [Quit: bye bye]
jenrzzz has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
braincrash has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has joined #ruby
gb_away has joined #ruby
dviola has quit [Quit: WeeChat 2.4]
liuyiwen has quit [Quit: liuyiwen]
houhoulis has joined #ruby
<masquino> w/exit
<masquino> oops
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masquino has quit [Quit: WeeChat 2.4]
liuyiwen has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
mangold has quit [Ping timeout: 240 seconds]
uplime has joined #ruby
gell5 has joined #ruby
gell5 has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
mangold has joined #ruby
cthulchu_ has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
uplime has quit [Remote host closed the connection]
gix- has joined #ruby
gix has quit [Disconnected by services]
Swyper has quit [Remote host closed the connection]
mondz has quit [Ping timeout: 255 seconds]
doodlebug has quit [Remote host closed the connection]
abaiste has joined #ruby
gell5 has joined #ruby
maryo_ has quit [Quit: Leaving]
mangold has quit [Quit: This computer has gone to sleep]
gell5 has quit [Ping timeout: 244 seconds]
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
imadper has joined #ruby
millerti has quit [Ping timeout: 255 seconds]
liuyiwen has left #ruby [#ruby]
liuyiwen has joined #ruby
liuyiwen has quit [Quit: liuyiwen]
cedum has joined #ruby
Swyper has joined #ruby
segy has quit [Ping timeout: 268 seconds]
cedum has quit [Ping timeout: 250 seconds]
Swyper has quit [Ping timeout: 250 seconds]
dsmythe has quit [Ping timeout: 255 seconds]
segy has joined #ruby
esrse has joined #ruby
gell5 has joined #ruby
dsmythe has joined #ruby
gell5 has quit [Ping timeout: 244 seconds]
segy has quit [Ping timeout: 250 seconds]
\tau has quit [Remote host closed the connection]
segy has joined #ruby
gix- has quit [Ping timeout: 255 seconds]
DmitryBochkarev has joined #ruby
Inline has quit [Quit: Leaving]
ferr has joined #ruby
liuyiwen has joined #ruby
gell5 has joined #ruby
_whitelogger has joined #ruby
segy has quit [Ping timeout: 246 seconds]
gell5 has quit [Ping timeout: 250 seconds]
segy has joined #ruby
<garyserj> this is a ruby question rather than a rails question, but i see this syntax in rails form.text_field :email, id: :email, class: :email and it puzzles me 'cos id: :email looks to me like a key value pair (is it?), but if I try in irb aaa={:a=>:4} that doesn't work. It looks like the value(of the key value pair) can't be a symbol, only the key is. You can say aaa={a:"abc"} but not
<garyserj> aaa={a::abc} so i'm a but confused over what that syntax id: :email means in terms of ruby?
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
AntoFox has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
hightower2 has joined #ruby
kapil____ has joined #ruby
gell5 has joined #ruby
hightower2 has quit [Ping timeout: 246 seconds]
imadper has quit [Remote host closed the connection]
ascarter has joined #ruby
hightower2 has joined #ruby
gell5 has quit [Ping timeout: 246 seconds]
sauvin has joined #ruby
schleppel has joined #ruby
h3ll0w0rld has quit [Quit: Konversation terminated!]
h3ll0w0rld has joined #ruby
hightower2 has quit [Ping timeout: 255 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waronline has joined #ruby
DTZUZO has joined #ruby
Swyper has joined #ruby
gell5 has joined #ruby
Swyper has quit [Ping timeout: 246 seconds]
gell5 has quit [Ping timeout: 245 seconds]
cedum has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has joined #ruby
houhoulis has quit [Remote host closed the connection]
<havenwood> garyserj: You just need a space: {a: :abc}
<havenwood> garyserj: You can do `class: :email` but not `class::email`
<havenwood> garyserj: Two colons is a different thing to the parser.
mangold has joined #ruby
<ytti> garyserj, {:a => :4} is non-sensical, as 4 cannot be cast into a symbol
<ytti> garyserj, {a: 4} is syntactic sugar for {:a => 4}
<havenwood> garyserj: fwiw, you could do: {a: :"4"}
<havenwood> &>> 4.to_s.to_sym
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/6qjr)
<havenwood> #=> :"4"
uplime has joined #ruby
clemens3_ has quit [Ping timeout: 245 seconds]
gell5 has joined #ruby
gell5 has quit [Ping timeout: 245 seconds]
marz has joined #ruby
<marz> I can run my app via bundle exec rail s, but I'm getting an error when running bundle exec rails console due to environment variables . . . I've tried specifying -e development to make sure both are running in the same environment though.
<marz> It's possible to run the console in development environment right?
cedum has quit [Ping timeout: 258 seconds]
liuyiwen has left #ruby [#ruby]
<havenwood> marz: yup, most folk run it in dev
<havenwood> marz: what's the error you
<havenwood> you're running into*
<marz> I'm requiring a third party library, Podio, and I'm trying to authenticate to it, it appears that it can't see my environment variables though
<marz> I have this under project_root/config/environments/development.rb https://gist.github.com/marzdgzmn/675386b6953c94052ec4209eb61cd5a1
<marz> I tried setting the values directly instead of having them look into environment variables, and it worked
<havenwood> marz: Have you tried exporting those environment variables in your shell?
<havenwood> marz: export PODIO_CLIENT_ID="value here"
<havenwood> marz: Alternatively, you can add them to the command.
<havenwood> marz: PODIO_CLIENT_ID="value here" rails console
clemens3_ has joined #ruby
<havenwood> marz: For a subshell to see a variable, it just has to be exported.
aupadhye|afk has joined #ruby
<marz> havenwood: Yeah, I did, I did a printenv to see what environment variables I have, but let me double check I may have mistyped something
<marz> havenwood: thanks
Dbugger has joined #ruby
<havenwood> typos are always fun!
prestorium has joined #ruby
<havenwood> often hard to see them
<garyserj> havenwood: thanks
talon has joined #ruby
aupadhye|afk is now known as aupadhye
gell5 has joined #ruby
talon has quit [Read error: Connection reset by peer]
<havenwood> &>> 894.chr 'UTF-8'
<rubydoc> # => "\u037E" (https://carc.in/#/r/6qjx)
<havenwood> &>> puts 894.chr 'UTF-8'
<rubydoc> # => ; (https://carc.in/#/r/6qjy)
<havenwood> uplime: 👍🏽
<uplime> evil
<havenwood> luckily, in Ruby we omit semicolons ;)
<uplime> i used to dislike how ruby was written
<uplime> now im in sort of a stockholm scenario where it looks really nice
gell5 has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
dsmythe has quit [Read error: Connection reset by peer]
dsmythe has joined #ruby
alem0lars has joined #ruby
lxsameer has joined #ruby
_joes_ has joined #ruby
BH23 has joined #ruby
sesame has joined #ruby
<garyserj> I have a method ddd that takes two parameters. And I try to call it ddd {:g=>"aaa"},{:r=>"www"} but why does that give a syntax error regarding => and }?
szu has joined #ruby
szu has left #ruby [#ruby]
<havenwood> garyserj: you just need to use parens around the argument, to signal it's not a block
ellcs1 has joined #ruby
<havenwood> garyserj: ddd({:g=>"aaa"},{:r=>"www"})
genpaku has quit [Ping timeout: 250 seconds]
<havenwood> hello pattern matching! (experimental) https://github.com/ruby/ruby/commit/9738f96fcfe50b2a605e350bdd40bd7a85665f54
laaron has quit [Remote host closed the connection]
genpaku has joined #ruby
laaron has joined #ruby
code_zombie has quit [Quit: Leaving]
ellcs1 has quit [Ping timeout: 240 seconds]
burak_ has quit [Remote host closed the connection]
gell5 has joined #ruby
imadper has joined #ruby
<garyserj> havenwood: ok, thanks
dionysus69 has joined #ruby
gell5 has quit [Ping timeout: 246 seconds]
FastJack has quit [Ping timeout: 264 seconds]
catbusters has joined #ruby
m4rCsi has quit [Ping timeout: 250 seconds]
<garyserj> ddd {:g=>"aaa"},({:r=>"www"}) <-- that also gives an error
sesame has quit [Quit: sesame]
FastJack has joined #ruby
Swyper has joined #ruby
<havenwood> garyserj: ddd({:g=>"aaa"},{:r=>"www"})
<havenwood> garyserj: This would be interpreted as a block: ddd {
<havenwood> garyserj: This would be interpreted as an argument: ddd({
Swyper has quit [Ping timeout: 255 seconds]
wald0 has joined #ruby
<linuus> If you're updating an error message for an exception, would you consider that a breaking change or just a patch/minor?
<linuus> Theoretically someone _could_ rely on the message, right?
ur5us has joined #ruby
def_jam has joined #ruby
eb0t has quit [Ping timeout: 250 seconds]
eb0t_ has joined #ruby
eblip has quit [Ping timeout: 250 seconds]
gell5 has joined #ruby
Swyper has joined #ruby
def_jam is now known as eblip
eb0t_ is now known as eb0t
hightower2 has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
kyrylo has joined #ruby
gell5 has quit [Ping timeout: 250 seconds]
szu has joined #ruby
abaiste has quit []
Swyper has quit [Ping timeout: 246 seconds]
szu has left #ruby [#ruby]
Swyper has joined #ruby
hph^ has joined #ruby
<garyserj> thanks. I can see now how if the last argument contains {..} then you need parens around the arguments list, but why does this give a syntax error ddd {:g=>"aaa"},r:"www" My last argument has no {...} so why is there an issue?
dar123 has joined #ruby
<ryouba> good mornign!
<ryouba> morning*
<ryouba> phaul, i have one of my wierd questions again that might be related to the nature of things in ruby
<ryouba> why does `x=Time.now;case x.class;when Time then p "it's time";else p "didn't work";end` not work as (I) expect(ed)?
reber has joined #ruby
Swyper has quit [Ping timeout: 246 seconds]
dionysus69_ has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
prestori_ has joined #ruby
dionysus69 has joined #ruby
dionysus69_ has quit [Ping timeout: 246 seconds]
prestorium has quit [Ping timeout: 255 seconds]
prestori_ has quit [Read error: Connection reset by peer]
prestorium has joined #ruby
zeroquake has joined #ruby
zeroquake has quit [Client Quit]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_joes_ has quit [Remote host closed the connection]
_joes_ has joined #ruby
laaron has quit [Remote host closed the connection]
gell5 has joined #ruby
waronline has quit [Remote host closed the connection]
<garyserj> ryouba: i don't know, but any idea with my question, it looks easier?
<phaul> ryouba: that's because case on a class cases on the class. Classes are values.
gell5 has quit [Ping timeout: 244 seconds]
<phaul> case uses "triqual" operator. case x ; when a happens if a === x. whatch this:
<phaul> &>> Integer === 1
<rubydoc> # => true (https://carc.in/#/r/6qk8)
<phaul> &>> Integer === Integer
<rubydoc> # => false (https://carc.in/#/r/6qk9)
<ytti> it should be noted that === does not test for exact class
<ytti> for exact test, #instance_of?
<ytti> Number === 1 is true, but 1.instance_of? Numeric is false
<ytti> s/Number/Numberic/
<ytti> jesus christ, without typos
DTZUZO has quit [Ping timeout: 244 seconds]
blackbaba has joined #ruby
<phaul> garyserj: a { blah }, r is probably parsed as method_name block comma unexpected. Ruby is only 1 token lookahead
ojbfe7 has joined #ruby
ojbfe7 has quit [Quit: Bye]
laaron has joined #ruby
DTZUZO has joined #ruby
def_jam has joined #ruby
eb0t_ has joined #ruby
eblip has quit [Ping timeout: 245 seconds]
eb0t has quit [Ping timeout: 255 seconds]
<garyserj> ah ok, thanks.. so any { } for a hash, in any of a method's arguments, requires parens around the list of arguments?
<phaul> I think so
<garyserj> thanks
jenrzzz has joined #ruby
blackbaba_ has joined #ruby
blackbaba has quit [Ping timeout: 246 seconds]
lunarkitty7 has quit [Ping timeout: 258 seconds]
blackbaba_ is now known as blackbaba
<garyserj> phaul: suppose i do want to pass a block then, followed by a value. ddd {a=1},2 gives an error
<phaul> you cant. Blocks are special. Only last position and they are not counted in arity
jenrzzz has quit [Ping timeout: 255 seconds]
<phaul> soo calling method without block won't cause arity errors even if the method expects blocks
<phaul> I mean 1 block
<garyserj> so since a block can only be in the last position, why should a {} for a hash in an argument prior to the last position, cause a need for parens around all arguments?
dviola has joined #ruby
<garyserj> similarly, if {block},r makes no sense, then why isn't it seen as {hash},r Why should it attempt to view an argument prior to the last argument, as a block. There is no ambiguity with an argument prior to the last argument
<phaul> because it's ambiguous. To see the ambiguity resolved you would need to read past the {} argument. but ruby can't/doesn't
mangold_ has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
<garyserj> sounds primitive to state there's a syntax error without reading as far as the end of the line
<phaul> I think every programming language does this
<phaul> depending on the syntax, it might not be as obvious. But almost everything uses LARL parsers
<phaul> LARL(1) that is
mangold has quit [Ping timeout: 258 seconds]
<phaul> bison / yacc are LARL(1) generators
<phaul> used by gcc, ruby etc
<ryouba> phaul: feeling rly stupid, but ... `Time == Time` -> true
blackbaba has left #ruby ["Closing Window"]
<garyserj> well, if other languages do that, it doesn't seem so absurd 'cos they don't try to be clever like ruby does with skipping parens (skipping parens on a basis of ambiguity, when the interpreter isn't really spotting ambiguity properly 'cos it doesn't read to the end of a line)
gell5 has joined #ruby
<phaul> ryouba: yes, but case doesn't care about ==. It only cares about ===
<phaul> &>> Time === Time
<rubydoc> # => false (https://carc.in/#/r/6qkb)
<phaul> &>> Time === Class
<rubydoc> # => false (https://carc.in/#/r/6qkc)
<ryouba> skipping parentheses is probably something you should only be doing once you feel really comfortable with what you're doing
<ryouba> ooooooooooh
<phaul> &>> Class === Time
<ryouba> wow
<rubydoc> # => true (https://carc.in/#/r/6qkd)
<ryouba> mind blown
<ryouba> ===
* ryouba googles ===
<garyserj> ryouba: yeah well sometimes I have to read other code, like the scaffolding rails generates.
ur5us has quit [Ping timeout: 244 seconds]
<ytti> like everything in ruby === is in no way magic, it's just def ===(other)
<ryouba> garyserj: in that case blame rails, not ruby. they have their own culture and it's not one always enjoyed by the ruby community at large.
<ytti> so class is free to do what ever it wants
<ytti> i.e. Class === Time is syntactic sugar for Class.===(Time)
<ytti> well, slightly magic, magic is that some methods can be called without .
lunarkitty7 has joined #ruby
gell5 has quit [Ping timeout: 245 seconds]
<ryouba> ytti: it's just that it's a new thing to me
esrse has quit [Ping timeout: 250 seconds]
eb0t_ is now known as eblip
def_jam is now known as eb0t
Jonopoly has joined #ruby
Swyper has joined #ruby
<phaul> ryouba: as ytti says it's somewhat ad-hoc, my model that works most of the time is a === b if assuming a is something that b can belong to then b.belongs_to a otherwise if a == b (belongs to not like rails belongs to)
Swyper has quit [Ping timeout: 268 seconds]
<phaul> &>> [Class === Integer, (1..10) === 5, /[a-z]/ === 'c', 1 === 1, 'a' === 'a']
<rubydoc> # => [true, true, true, true, true] (https://carc.in/#/r/6qkh)
<phaul> although it fails here:
<phaul> &>> [1,2,3] === 2
<rubydoc> # => false (https://carc.in/#/r/6qki)
<phaul> the funkiest is Proc#===
<phaul> &>> (-> x { x.odd? }) === 5
<rubydoc> # => true (https://carc.in/#/r/6qkj)
gell5 has joined #ruby
AJA4350 has joined #ruby
mangold_ has quit [Quit: This computer has gone to sleep]
gell5 has quit [Ping timeout: 245 seconds]
lele has quit [Ping timeout: 252 seconds]
<al2o3-cr> phaul: the e.g you showed above respectively use : `rb_mod_eqq, range_eqq, rb_reg_eqq, rb_int_equal, rb_str_equal` while array uses plain old `rb_equal`
lele has joined #ruby
szulak_ has joined #ruby
<al2o3-cr> Array needs rb_arr_eqq so we can do [1,2,3] === 2 for inclusion
<phaul> &>> require 'set'; Set.new([1,2,3]) === 2
<rubydoc> # => true (https://carc.in/#/r/6qkk)
<al2o3-cr> phaul: that's not written in C though.
<al2o3-cr> that's just returning a hash key.
<al2o3-cr> a value should i say.
<al2o3-cr> and testing inclusion.
<phaul> true.
<al2o3-cr> I wounder how that would work for Hash?
<al2o3-cr> because Hash used rb_equal too.
<al2o3-cr> *uses
<phaul> &>> {a: 1, b: 2} == { b: 2, a: 1}
<rubydoc> # => true (https://carc.in/#/r/6qkm)
<phaul> &>> h = {a: 1, b: 2}; h.default = 13; h == {a: 1, b: 2}
<rubydoc> # => true (https://carc.in/#/r/6qkn)
<al2o3-cr> i mean === so {a: 1, b: 2, c: 3} === {b: 2} would work.
<al2o3-cr> just to be consistent, but idk tbh.
<al2o3-cr> i meant {a: 1, b: 2, c: 3} === :b there.
gell5 has joined #ruby
DmitryBochkarev_ has joined #ruby
DmitryBochkarev_ has quit [Max SendQ exceeded]
DmitryBochkarev has quit [Read error: Connection reset by peer]
gell5 has quit [Ping timeout: 255 seconds]
ljarvis_ has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ljarvis has quit [Ping timeout: 255 seconds]
mangold has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
AJA4350 has quit [Ping timeout: 246 seconds]
gell5 has joined #ruby
ldnunes has joined #ruby
AJA4350 has joined #ruby
jenrzzz has joined #ruby
gell5 has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
Swyper has joined #ruby
schne1der has joined #ruby
GodFather has joined #ruby
Swyper has quit [Ping timeout: 255 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
Nicmavr has joined #ruby
szulak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
szulak_ has joined #ruby
szulak_ has quit [Client Quit]
gell5 has joined #ruby
gell5 has quit [Ping timeout: 255 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
lord4163 has quit [Quit: Gotta go cya!]
Ai9zO5AP has joined #ruby
AJA4351 has joined #ruby
kyrylo has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 244 seconds]
AJA4351 is now known as AJA4350
kyrylo has joined #ruby
cd has quit [Quit: cd]
nowhere_man has joined #ruby
postmodern has quit [Quit: Leaving]
thi has left #ruby [#ruby]
imadper has quit [Remote host closed the connection]
imadper` has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
gigetoo has quit [Ping timeout: 252 seconds]
gigetoo has joined #ruby
schne1der has quit [Ping timeout: 257 seconds]
UnknownSoldier has joined #ruby
nowhere_man has quit [Ping timeout: 268 seconds]
nowhere_man has joined #ruby
jelera has joined #ruby
SeepingN has joined #ruby
Swyper has joined #ruby
eblip has quit [Quit: WeeChat 2.3]
jefffrails35 has joined #ruby
Azure has joined #ruby
Inline has joined #ruby
zapata has quit [Quit: WeeChat 2.4]
Jonopoly is now known as Fancy
Fancy is now known as Jonopoly
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
agent_white has quit [Quit: brb]
jenrzzz has joined #ruby
elated has joined #ruby
<elated> how can I convert a method that belongs to an object to a symbol? e.g. Hash.new
pupsikov has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 245 seconds]
<adam12> elated: To a proc you mean? like Hash.method(:new) ?
<elated> yes
AJA4350 has quit [Ping timeout: 246 seconds]
<adam12> elated: Actually that returns a method which can be coerced into a proc. My mistake.
aupadhye has quit [Ping timeout: 268 seconds]
agent_white has joined #ruby
jefffrails35 has quit [Remote host closed the connection]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rapture has joined #ruby
vondruch_ has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
waronline has joined #ruby
zapata has joined #ruby
nowhere_man has quit [Ping timeout: 244 seconds]
vondruch has quit [Ping timeout: 250 seconds]
vondruch_ is now known as vondruch
jelera has joined #ruby
laaron has joined #ruby
jefffrails35 has joined #ruby
waronline has quit [Quit: Leaving]
eblip has joined #ruby
kapil____ has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3m has quit [Quit: WeeChat 2.5-dev]
jelera has joined #ruby
r3m has joined #ruby
tdy has joined #ruby
gregf_ has joined #ruby
spacesuitdiver has joined #ruby
zeroquake has joined #ruby
<marz> Any news with ruby 3?
schne1der has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
dar123 has joined #ruby
ferr has quit [Quit: WeeChat 2.4]
schne1der has quit [Quit: WeeChat 1.9.1]
rippa has joined #ruby
dar123 has quit [Quit: Textual IRC Client: www.textualapp.com]
tlarevo has joined #ruby
jenrzzz has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuperLag has joined #ruby
SuperL4g has joined #ruby
<depesz> hi. is there any currently supported formatter for ruby code? i found https://rubygems.org/gems/tidy but it looks to be abandoned
regedit has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
andikr has quit [Remote host closed the connection]
fanta1 has joined #ruby
prestorium has quit [Remote host closed the connection]
AJA4350 has joined #ruby
prestorium has joined #ruby
<adam12> depesz: There's a few. Standard can do some minimal formatting (since it's built on Rubocop which can format). There's also Rufo. I imagine there are more.
<depesz> any that is recommended?
<adam12> depesz: Not that I know of. At least, none the community seem to be rallying behind.
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<depesz> ok. thanks. will check, compare, and see :)
<adam12> :)
jelera has joined #ruby
ascarter has joined #ruby
rprimus has quit [Ping timeout: 252 seconds]
rprimus has joined #ruby
tlarevo has quit [Remote host closed the connection]
alem0lars has quit [Remote host closed the connection]
_joes_ has quit [Ping timeout: 244 seconds]
BH23 has quit [Ping timeout: 245 seconds]
zeroquake has joined #ruby
polishdub has joined #ruby
alem0lars has joined #ruby
Dbugger has quit [Quit: Leaving]
UnknownSoldier has quit [Remote host closed the connection]
fanta1 has quit [Quit: fanta1]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fluxAeon_ has joined #ruby
jefffrails35 has quit [Remote host closed the connection]
<baweaver> havenwood: It brings me great joy to do this
baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.4.6: 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!
<baweaver> Beat you to a Ruby update XD
conta1 has joined #ruby
nadir has joined #ruby
prestorium has quit [Quit: prestorium]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millerti has joined #ruby
Jonopoly has quit [Ping timeout: 268 seconds]
zautomata has joined #ruby
zautomata has left #ruby ["WeeChat 1.9.1"]
houhoulis has joined #ruby
ascarter has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
_whitelogger_ has joined #ruby
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
<darix> ohnoes
zeroquake has joined #ruby
zeroquake has quit [Client Quit]
_whitelogger has quit [Ping timeout: 240 seconds]
creat has joined #ruby
AJA4350 has joined #ruby
spacesuitdiver has joined #ruby
gregf_ has quit [Ping timeout: 256 seconds]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
RedNifre has joined #ruby
jelera has joined #ruby
zeroquake has joined #ruby
h3ll0w0rld has quit [Quit: Konversation terminated!]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ai9zO5AP has quit [Ping timeout: 246 seconds]
jelera has joined #ruby
planigan has quit [Ping timeout: 264 seconds]
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
ramfjord_ has joined #ruby
orbyt_ has joined #ruby
zeroquake has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 246 seconds]
planigan has joined #ruby
clemens3_ has quit [Ping timeout: 246 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
jelera has joined #ruby
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
zachk has joined #ruby
<marz> exit
marz has quit [Quit: leaving]
zachk has quit [Changing host]
zachk has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jelera has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us is now known as patr0clus
Azure has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
AJA4351 is now known as AJA4350
Ai9zO5AP has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
patr0clus has quit [Quit: WeeChat 2.2]
RedNifre has quit [Ping timeout: 250 seconds]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeroquake has joined #ruby
houhoulis has quit [Remote host closed the connection]
daniel____ has quit [Disconnected by services]
daniel__ has joined #ruby
jelera has joined #ruby
jelera has quit [Client Quit]
conta1 has quit [Quit: conta1]
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
zeroquake has joined #ruby
zeroquake has quit [Client Quit]
zeroquake has joined #ruby
ascarter_ has joined #ruby
lucasb has joined #ruby
silviu10 has joined #ruby
cozachk has joined #ruby
flak has joined #ruby
silviu has quit [Read error: Connection reset by peer]
daniel__ has quit [Remote host closed the connection]
ascarter has quit [Ping timeout: 250 seconds]
daniel__ has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
tdy1 has joined #ruby
jelera has joined #ruby
zachk has quit [Disconnected by services]
rippa has quit [Ping timeout: 250 seconds]
tdy has quit [Ping timeout: 250 seconds]
cozachk has quit [Client Quit]
ascarter_ has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 255 seconds]
pupsikov has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
cliluw has quit [Ping timeout: 250 seconds]
hiroaki has joined #ruby
zachk has joined #ruby
moei has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
maryo has joined #ruby
maryo has quit [Max SendQ exceeded]
hightower2 has quit [Ping timeout: 245 seconds]
nowhereman has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord_ has quit [Ping timeout: 244 seconds]
zachk has quit [Changing host]
zachk has joined #ruby
jcarl43 has joined #ruby
hiroaki has quit [Ping timeout: 252 seconds]
hiroaki has joined #ruby
jelera has joined #ruby
AntoFox has left #ruby ["Good Bye"]
maryo has joined #ruby
tdy1 has quit [Ping timeout: 250 seconds]
orbyt_ has joined #ruby
LtHummus has quit [Quit: ZNC 1.7.3 - https://znc.in]
LtHummus has joined #ruby
maryo has quit [Quit: Leaving]
clemens3_ has joined #ruby
hiroaki has quit [Ping timeout: 240 seconds]
Dbugger has joined #ruby
alem0lars has quit [Remote host closed the connection]
hiroaki has joined #ruby
orbyt_ has quit [Ping timeout: 255 seconds]
yokel has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
Dbugger has left #ruby ["Leaving"]
nowhereman has quit [Ping timeout: 258 seconds]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has joined #ruby
SirFunk has quit [Quit: ZNC - http://znc.in]
tdy1 has joined #ruby
pilcrow has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hiroaki has quit [Ping timeout: 268 seconds]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
UnknownSoldier has joined #ruby
SirFunk has joined #ruby
jelera has joined #ruby
hiroaki has joined #ruby
yokel has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
<havenwood> baweaver: hahaha
hiroaki has quit [Ping timeout: 250 seconds]
hiroaki has joined #ruby
SeepingN has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
tdy1 has quit [Ping timeout: 255 seconds]
cliluw has joined #ruby
hiroaki has quit [Ping timeout: 240 seconds]
hiroaki has joined #ruby
ramfjord has joined #ruby
<adam12> :O
<zenspider> adam12: sam phippen is working on rubyfmt.
<adam12> zenspider: Right! That's the other one I saw recently.
Iarfen has joined #ruby
<zenspider> baweaver: "Scala’s pattern matching wildcards" ... what pattern matching does NOT have _ wildcards? racket, haskell, ... I can't think of one that I've used that doesn't... and I'd be willing to guess, predate
* baweaver shrugs
<baweaver> That's the one that came to mind immediately
<baweaver> Also a note not to write articles at 2am
<zenspider> I don't think I understand the deconstruct_keys example at all.
hiroaki has quit [Ping timeout: 240 seconds]
hiroaki has joined #ruby
<zenspider> I would assume it'd be to avoid adding to_ary to everything you want to deconstruct on, but the example given doesn't really suggest that?
<baweaver> Honestly me either
UnknownSoldier has quit [Remote host closed the connection]
<baweaver> The keys bit confuses me, and it seems really prone to race conditions
<baweaver> I'll need to poke Nightly for a while to see what in the world it's even doing.
hightower2 has joined #ruby
Swyper has quit [Remote host closed the connection]
hiroaki has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
hiroaki has joined #ruby
jenrzzz has joined #ruby
AJA4351 has joined #ruby
zeroquake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
tdy1 has joined #ruby
Swyper has joined #ruby
<zenspider> the whole thing feels kinda clunky and experimental still
dsmythe has quit [Ping timeout: 258 seconds]
<baweaver> zenspider: Fair.
<baweaver> It feels like we all gave a ton of input and they went their own way
<baweaver> Some of it got in but they've really taken it in another direction for other parts.
fluxAeon_ has quit [Quit: Textual IRC Client: www.textualapp.com]
fluxAeon_ has joined #ruby
ldnunes has quit [Quit: Leaving]
hiroaki has quit [Ping timeout: 240 seconds]
hiroaki has joined #ruby
RiPuk has quit [Quit: ZNC 1.7.3 - https://znc.in]
dsmythe has joined #ruby
tdy1 has quit [Ping timeout: 245 seconds]
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsmythe has quit [Ping timeout: 246 seconds]
jelera has joined #ruby
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us is now known as patr0clus
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
hightower2 has quit [Ping timeout: 268 seconds]
patr0clus is now known as s3nd1v0g1us
moei has quit [Quit: Leaving...]
tdy1 has joined #ruby
RiPuk has joined #ruby
Fernando-Basso has joined #ruby
Swyper has quit [Remote host closed the connection]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsmythe has joined #ruby
Iarfen has quit [Remote host closed the connection]
Swyper has joined #ruby
s3nd1v0g1us has quit [Quit: WeeChat 2.2]
jelera has joined #ruby
truenito has joined #ruby
truenito has quit [Remote host closed the connection]
govg has quit [Ping timeout: 246 seconds]
govg has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
reber has quit [Remote host closed the connection]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
crankharder has joined #ruby
tdy1 has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy1 has joined #ruby
Swyper has quit [Remote host closed the connection]
AJA4350 has joined #ruby
nnielsen has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
tdy1 has quit [Ping timeout: 255 seconds]
nnielsen has quit [Quit: Lost terminal]
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 255 seconds]
jelera has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
jelera has quit [Client Quit]
hiroaki has quit [Ping timeout: 268 seconds]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
Nicmavr has joined #ruby
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
Synthead has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.4]
polishdub has quit [Quit: leaving]
hiroaki has joined #ruby
UnknownSoldier has joined #ruby
hiroaki has quit [Max SendQ exceeded]
fmcgeough_ has quit [Quit: fmcgeough_]
hiroaki has joined #ruby
hiroaki has quit [Max SendQ exceeded]
AJA4350 has quit [Quit: AJA4350]
Synthead has quit [Ping timeout: 246 seconds]
regedit has quit [Quit: Connection closed for inactivity]
lucasb has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 245 seconds]
cd has joined #ruby
jtdowney has quit [Quit: jtdowney]
jtdowney has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
truenito has joined #ruby
truenito has quit [Remote host closed the connection]