havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.1, 3.0.3, 2.7.5: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
dviola has quit [Ping timeout: 256 seconds]
hololeap has quit [Remote host closed the connection]
jpn has joined #ruby
dviola has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
jpn has quit [Ping timeout: 256 seconds]
hololeap has joined #ruby
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
ssh073 has joined #ruby
dviola has quit [Ping timeout: 272 seconds]
dviola has joined #ruby
inspiron has joined #ruby
dviola has quit [Max SendQ exceeded]
inspiron has quit [Remote host closed the connection]
dviola has joined #ruby
dviola has quit [Max SendQ exceeded]
dviola has joined #ruby
FetidToot0 has joined #ruby
FetidToot has quit [Ping timeout: 268 seconds]
FetidToot has joined #ruby
dviola has quit [Remote host closed the connection]
FetidToot0 has quit [Ping timeout: 272 seconds]
dviola has joined #ruby
inspiron has joined #ruby
dviola has quit [Ping timeout: 260 seconds]
inspiron has quit [Remote host closed the connection]
jpn has joined #ruby
dviola has joined #ruby
Rounin has quit [Ping timeout: 246 seconds]
jpn has quit [Ping timeout: 248 seconds]
dviola has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
rawley has joined #ruby
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
akoster2 has joined #ruby
roadie has joined #ruby
dviola has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
swaggboi has quit [Quit: C-x C-c]
yuckey2d has joined #ruby
yuckey2d has quit [Client Quit]
dviola has quit [Ping timeout: 256 seconds]
akoster2 has left #ruby [Good Bye]
dviola has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
nirvdrum has joined #ruby
seydar has joined #ruby
swaggboi has joined #ruby
justOkay has quit [Remote host closed the connection]
justOkay has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpn has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
nirvdrum has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
aeris has quit [Ping timeout: 240 seconds]
aeris has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
donofrio has joined #ruby
favadi has joined #ruby
donofrio has quit [Ping timeout: 248 seconds]
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RedNifre has quit [Ping timeout: 272 seconds]
nirvdrum has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RedNifre has joined #ruby
jpn has joined #ruby
dorian has quit [Remote host closed the connection]
rawley has quit [Remote host closed the connection]
dorian has joined #ruby
jpn has quit [Ping timeout: 248 seconds]
nirvdrum has joined #ruby
RougeR has quit [Ping timeout: 268 seconds]
hanzo has joined #ruby
dviola has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Max SendQ exceeded]
nirvdrum has joined #ruby
eddof13 has joined #ruby
nirvdrum has quit [Client Quit]
dviola has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
dviola has quit [Ping timeout: 268 seconds]
nirvdrum has joined #ruby
eddof13 has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
seydar has joined #ruby
dviola has quit [Max SendQ exceeded]
seydar has quit [Ping timeout: 256 seconds]
dviola has joined #ruby
davidw has quit [Ping timeout: 272 seconds]
seydar has joined #ruby
dviola has quit [Remote host closed the connection]
jpn has joined #ruby
dviola has joined #ruby
seydar has quit [Ping timeout: 268 seconds]
jpn has quit [Ping timeout: 248 seconds]
Pixi has quit [Quit: Leaving]
dviola has quit [Ping timeout: 268 seconds]
dviola has joined #ruby
nirvdrum has quit [Ping timeout: 268 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 256 seconds]
dviola has quit [Ping timeout: 268 seconds]
dviola has joined #ruby
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Ping timeout: 268 seconds]
dviola has joined #ruby
favadi has joined #ruby
fef has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpn has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
hanzo has quit [Quit: Connection closed for inactivity]
Pixi has joined #ruby
seydar has joined #ruby
dviola has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
dviola has quit [Ping timeout: 248 seconds]
seydar has quit [Ping timeout: 246 seconds]
dviola has joined #ruby
seydar has joined #ruby
dviola has quit [Max SendQ exceeded]
dviola has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
jpn has joined #ruby
oxfuxxx has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Ping timeout: 268 seconds]
dviola has quit [Ping timeout: 268 seconds]
dviola has joined #ruby
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
dviola has quit [Ping timeout: 256 seconds]
dviola has joined #ruby
dviola has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
jpn has joined #ruby
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
dviola has quit [Ping timeout: 246 seconds]
dviola has joined #ruby
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
donofrio has joined #ruby
Rounin has joined #ruby
dviola has quit [Ping timeout: 248 seconds]
duds- has joined #ruby
dviola has joined #ruby
_ht has joined #ruby
lunarkitty has joined #ruby
donofrio has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
favadi has joined #ruby
favadi has quit [Client Quit]
dionysus69 has quit [Ping timeout: 256 seconds]
favadi has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
fercell has quit [Ping timeout: 252 seconds]
seydar has joined #ruby
moldorcoder7_ has joined #ruby
moldorcoder7 has quit [Ping timeout: 246 seconds]
seydar has quit [Ping timeout: 268 seconds]
seydar has joined #ruby
dviola has quit [Ping timeout: 272 seconds]
taupiqueur has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
teclator has joined #ruby
dviola has joined #ruby
dviola has quit [Max SendQ exceeded]
seydar has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
dviola has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
dviola has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
dviola has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
<ox1eef> lol
<ox1eef> :: foo = Object.new; ("foo" in foo); foo
<ruby-eval> => "foo"
<ox1eef> what a fucked up API
seydar has joined #ruby
seydar has quit [Ping timeout: 268 seconds]
<ox1eef> its worrisome to be honest, if that is a sign of ruby's future ruby is in deep shit.
<mooff> one putatively bad feature needed doom the whole lot
<mooff> have you seen JavaScript?!
<ox1eef> yeah, JavaScript has its warts from the early days but most new features are actual improvements, not deadweight the language has to carry. it also comes across as so unruby-like, it doesn't work well for anything but primitives, so its not really extensible by your own code. utter disaster.
fef has quit [Remote host closed the connection]
fef has joined #ruby
<ox1eef> oh and when it is extensible, it makes no sense... (obj in "foo"), basically backwards, like the implementation itself.
<ox1eef> ill stop gripping about it.
micro has joined #ruby
ralu has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lunarkitty has quit [Quit: Connection closed for inactivity]
<leah2> is in like => here?
markong has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
favadi has joined #ruby
favadi has quit [Client Quit]
favadi has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 268 seconds]
seydar has joined #ruby
moldorcoder7_ has quit [Quit: %bye mirc%]
seydar has quit [Ping timeout: 256 seconds]
<mooff> i thought pattern matching was extensible via deconstruct_keys
moldorcoder7 has joined #ruby
seydar has joined #ruby
<ox1eef> leah2: yeah, it is, they're equivalant from what i understood.
taupiqueur has quit [Ping timeout: 268 seconds]
<ox1eef> mooff: yes, but for deconstruct / deconstruct_keys to be called, the syntax would have to be: (obj in "foo"), in other words it makes no conceptual sense. ("foo" in obj) calls no callbacks, returns true, and reassigns obj as "foo".
<ox1eef> the only time i've found ("foo" in x) to make sense was for primitives like Array, Hash - nothing else, not even Enumerable.
seydar has quit [Ping timeout: 246 seconds]
<ox1eef> all in all, it seems like a horrible, unruby-like feature. maybe i'm missing something though.
seydar has joined #ruby
<ox1eef> another gripe... even if it works like that, id accept ("foo" in obj.to_h) but that's a freaking SyntaxError
<ox1eef> i know remember as having the most flexible syntax, where it works in what other languages would disallow. not here though. that's why i truly believe whoever is adding these features does not have a good feel for Ruby, and thats my last word on it, God willing
<ox1eef> Ruby as having*
seydar has quit [Ping timeout: 246 seconds]
taupiqueur has joined #ruby
<leah2> i like matching on arrays as tuples now in case..in but i dont see too much use outside of this
<ox1eef> it works well for that, i'll admit, but that's pretty much all it works well for, afaict.
<ox1eef> Enumerable even has a to_a method, why not call that and support Enumerable too? its weird being restricted to Array and Hash.
seydar has joined #ruby
Rounin has quit [Remote host closed the connection]
o|||||o has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
moldorcoder7_ has joined #ruby
moldorcoder7 has quit [Ping timeout: 248 seconds]
<ox1eef> mooff: do you mind if i give you a shoutout in the readme of proto.rb? (now called ryo.rb)
davidw has joined #ruby
<mooff> go ahead ox1eef. cool
TCZ has joined #ruby
o|||||o has quit [Ping timeout: 268 seconds]
seydar has quit [Ping timeout: 272 seconds]
u0_a151 has joined #ruby
u0_a151 has quit [Client Quit]
seydar has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
nirvdrum has joined #ruby
TCZ has quit [Quit: Leaving]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
taupiqueur has quit [Quit: taupiqueur]
Sheilong has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
hololeap_ has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
hololeap has quit [Read error: Connection reset by peer]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
davidw has quit [Ping timeout: 268 seconds]
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o|||||o has joined #ruby
<ox1eef> mooff: i'm curious what you think of this API for binding a lambda to an object's self, the top is how it looks in JS and the bottom is how it looks in Ryo: https://gist.github.com/0x1eef/ea08043fcf80130ebf5960093ab121de
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ox1eef> the thing to notice is, "Eating a ${this.name}" (JS) and "Eating a #{name}" (Ruby)
favadi has joined #ruby
<mooff> ox1eef: i think it's cool, though it makes me think about a modules-based approach again
<ox1eef> what do you have in mind?
<mooff> nice thing with that is you could do e.g.
<mooff> a = Object.create() { def hello() 'Hello ' end; def world() 'World!' end }
<mooff> b = Object.create(a) { def hello_world() hello + world end }; b.hello_world
<mooff> maybe the approaches could be combined?
<ox1eef> it's an interesting approach, and i think it might reflect the prototype chain in the ancestry tree.
<ox1eef> i had to drop allowing methods be defined like you did there, it was too hard to register them as properties and not just methods.
<mooff> yeah, awkward because you can't use variables from your surrounding scope inside def methods
<mooff> did you consider using define_method to install the Ryo.lambda's?
<mooff> so could e.g. apple.eat() :)
<ox1eef> nice suggestion, ill look into that
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
o|||||o has quit [Ping timeout: 246 seconds]
markong has quit [Ping timeout: 248 seconds]
fef has quit [Remote host closed the connection]
seydar has joined #ruby
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nirvdrum has joined #ruby
mandanguita has joined #ruby
<mandanguita> Hello, can you recommend some unit test runner? The application I'm writting right now is not a web app, just a CLI
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nirvdrum has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mandanguita has quit [Quit: leaving]
seydar has quit [Read error: Connection reset by peer]
fef has joined #ruby
fercell has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
fef has quit [Ping timeout: 240 seconds]
seydar has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
<mooff> could you get fish and chips in a fish and chip shop? :)
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
oxfuxxx has joined #ruby
seydar has joined #ruby
_ht has quit [Remote host closed the connection]
seydar has quit [Ping timeout: 246 seconds]
ralu1 has joined #ruby
oxfuxxx has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
oxfuxxx has joined #ruby
smp has quit [Quit: ZNC 1.8.2 - https://znc.in]
smp has joined #ruby
ralu1 has quit [Quit: The Lounge - https://thelounge.chat]
seydar has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
oxfuxxx has quit [Quit: [H]EAT ROX FUCK R0X SHIT BRIX.]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
ralu1 has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
hololeap has joined #ruby
hololeap_ has quit [Read error: Connection reset by peer]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
duds- has quit [Ping timeout: 248 seconds]
some14u has joined #ruby
seydar has joined #ruby
markong has joined #ruby
Sheilong has quit [Quit: Connection closed for inactivity]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
nirvdrum has joined #ruby
hololeap has joined #ruby
hololeap_ has quit [Ping timeout: 240 seconds]
nirvdrum has quit [Ping timeout: 248 seconds]
o|||||o has joined #ruby
<ox1eef> mooff: your suggestion was gold, it works flawlessly afaict. i still need to do some spring cleaning and then ill push it up.
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
nirvdrum has joined #ruby
seydar has joined #ruby
dviola has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
dviola has quit [Ping timeout: 256 seconds]
dviola has joined #ruby
dviola has quit [Max SendQ exceeded]
dionysus69 has quit [Ping timeout: 246 seconds]
dviola has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Ping timeout: 256 seconds]
dviola has joined #ruby
seydar has joined #ruby
dviola has quit [Remote host closed the connection]
dviola has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
dviola has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
<mooff> cool ox1eef
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
hololeap has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
hololeap has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 268 seconds]
seydar has joined #ruby