baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: 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!
tristanp has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LiftLeft3 is now known as LiftLeft
Cork has quit [Ping timeout: 240 seconds]
Nicmavr has joined #ruby
Cork has joined #ruby
howlcode has joined #ruby
Cork has quit [Ping timeout: 240 seconds]
iamdevnul has joined #ruby
Cork has joined #ruby
arahael has left #ruby ["WeeChat 2.0.1"]
danguita has quit [Ping timeout: 272 seconds]
orbyt_ has joined #ruby
dviola has quit [Quit: WeeChat 2.2]
dviola has joined #ruby
danguita has joined #ruby
Cork has quit [Ping timeout: 256 seconds]
baweaver is now known as baweaver_away
mniip has quit [Ping timeout: 610 seconds]
howlcode has quit [Quit: Leaving]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
unCork has joined #ruby
mniip has joined #ruby
Guest58115 has joined #ruby
Guest58115 has quit [Ping timeout: 252 seconds]
esrse has joined #ruby
saltsa has quit [Quit: leaving]
x0f has quit [Ping timeout: 250 seconds]
unCork is now known as Cork
wildermind has quit [Quit: Connection closed for inactivity]
x0f has joined #ruby
dbz has quit [Remote host closed the connection]
eckhardt has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
orpl has joined #ruby
AJA4350 has quit [Remote host closed the connection]
d^sh has quit [Ping timeout: 246 seconds]
d^sh has joined #ruby
BTRE has joined #ruby
braincrash has quit [Quit: bye bye]
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
m4rCsi has joined #ruby
braincrash has joined #ruby
arescorpio has joined #ruby
mroutis has quit [Read error: Connection reset by peer]
mroutis has joined #ruby
Guest58115 has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest58115 has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil___ has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
mroutis has quit [Ping timeout: 240 seconds]
Nicmavr has joined #ruby
pyrmont has joined #ruby
bomb has quit [Quit: ruby]
duderonomy has joined #ruby
samort7 has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
Johano has joined #ruby
mr_rich101 has quit [Quit: ZNC - http://znc.in]
mr_rich101 has joined #ruby
arescorpio has quit [Quit: Leaving.]
Guest58115 has joined #ruby
Guest58115 has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
_whitelogger has joined #ruby
Johano has left #ruby ["Leaving"]
dionysus69 has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ruby
hahuang65_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
hahuang65 has joined #ruby
d^sh has quit [Ping timeout: 252 seconds]
cschneid_ has joined #ruby
d^sh has joined #ruby
c0ncealed2 has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
danguita has quit [Quit: WeeChat 2.2]
cschneid_ has quit [Ping timeout: 240 seconds]
danguita has joined #ruby
cschneid_ has joined #ruby
dellavg_ has joined #ruby
MoritaShinobu has joined #ruby
Inline has quit [Quit: Leaving]
dbz has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
dbz has quit [Ping timeout: 240 seconds]
teej has quit []
dionysus69 has joined #ruby
Apocalypse has quit [Ping timeout: 260 seconds]
iamdevnul has quit [Ping timeout: 260 seconds]
Mutsuhito has quit [Ping timeout: 260 seconds]
iamdevnul has joined #ruby
Apocalypse has joined #ruby
Guest47999 has quit [Ping timeout: 260 seconds]
tycoon177 has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Ping timeout: 272 seconds]
sriehl_ has joined #ruby
lupine has quit [Remote host closed the connection]
Sina has quit [Ping timeout: 260 seconds]
scott4000 has quit [Ping timeout: 260 seconds]
Mutsuhito has joined #ruby
sriehl has quit [Quit: ZNC 1.7.1 - https://znc.in]
justache_ has joined #ruby
justache_ has quit [Remote host closed the connection]
bathtub_shark has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
justache has quit [Ping timeout: 260 seconds]
bastilian has quit [Ping timeout: 260 seconds]
bathtub_shark has joined #ruby
lupine has joined #ruby
bastilian has joined #ruby
oz has joined #ruby
justache has joined #ruby
Fire-Dragon-DoL has joined #ruby
kapil___ has joined #ruby
aupadhye has joined #ruby
cschneid_ has joined #ruby
Hans-Peter-Ingo has joined #ruby
Hans-Peter-Ingo has quit [Client Quit]
HansPeterIngo has joined #ruby
cschneid_ has quit [Ping timeout: 245 seconds]
KrzaQ has joined #ruby
<KrzaQ> it's a bit disappointing that array returned by Time.to_a cannot be used to initialize a new time object
<KrzaQ> I just want to set the hour to something I want, is it not possible in plain Ruby?
zenspider has quit [Read error: Connection reset by peer]
dbz has joined #ruby
alex``` has quit [Ping timeout: 240 seconds]
dbz has quit [Remote host closed the connection]
alex``` has joined #ruby
roshanavand has joined #ruby
lomex has joined #ruby
reber has joined #ruby
cschneid_ has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
<Radar> Anything is possible.
<Radar> KrzaQ: Time.new(2018, 9, 4, 18, 0, 0)
mike11 has joined #ruby
<KrzaQ> yes, my point is I want to change one of those values
<baweaver_away> Time.new(2018, 10, 4, 18, 0, 0)
<KrzaQ> I went with arr = my_time.to_a; arr[2] = the_hour_i_want; Time.new *arr[0...6].reverse
baweaver_away is now known as baweaver
dbz has joined #ruby
dviola has quit [Quit: WeeChat 2.2]
<Radar> KrzaQ: is the hour you want a relative value to the current hour?
<KrzaQ> no
<KrzaQ> nor my time is relative to Time.now
<Radar> fun
<KrzaQ> I just wanted t.hour = x
doubledup has joined #ruby
<KrzaQ> double fun is that t.to_a can't be used to initialize new Time object :(
doubledup has quit [Client Quit]
<Radar> I would do: Time.new(my_time.year, my_time.month, my_time.day, my_special_hour, my_time.minute, my_time.second)... but yeah, you're right that it'd be nice to change it
<Radar> ActiveSupport provides .change iirc
<KrzaQ> hm, I'll always bundle activesupport in the future
<KrzaQ> my software is deployed on a corporate server behind a gazillion firewalls
<Radar> Seems like changing the hour with AS changes the minutes + seconds too
<Radar> irb(main):002:0> t = Time.now
<Radar> => 2018-09-04 16:56:52 +1000
<Radar> => 2018-09-04 06:00:00 +1000
<Radar> irb(main):003:0> t.change(hour: 6)
cschneid_ has quit [Ping timeout: 252 seconds]
<KrzaQ> ugh
<KrzaQ> well, my solution works, even if it's ugly and doesn't account for timezones
<KrzaQ> I just wanted to rant a bit ;)
<KrzaQ> I mean, this is something that could perhaps use improvement
<KrzaQ> Speaking of, I'm not certain this FAQ makes sense: https://ruby-doc.org/core-2.4.1/Time.html Time.at(1234).strftime "%M:%S" will break for any number over 3600
cschneid_ has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
nowhere_man has joined #ruby
sysvalve has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
HansPeterIngo has quit [Read error: Connection reset by peer]
sameerynho has joined #ruby
cschneid_ has quit [Ping timeout: 252 seconds]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
cschneid_ has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
dbz has quit [Ping timeout: 252 seconds]
sameerynho has quit [Ping timeout: 260 seconds]
code_zombie has quit [Quit: Leaving]
tristanp has joined #ruby
snickers has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
yohji has joined #ruby
mikecmpbll has joined #ruby
drale2k_ has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 252 seconds]
cschneid_ has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
xt233 has joined #ruby
xt233 has quit [Remote host closed the connection]
cschneid_ has quit [Ping timeout: 252 seconds]
Guest58115 has joined #ruby
lomex has joined #ruby
cschneid_ has joined #ruby
lomex has quit [Client Quit]
cschneid_ has quit [Ping timeout: 240 seconds]
Freshnuts has quit [Quit: Leaving]
cschneid_ has joined #ruby
clorisu has joined #ruby
Beams has joined #ruby
clorisu has quit [Read error: Connection reset by peer]
prestorium has joined #ruby
nikivi has quit [Quit: ZNC is awesome]
aufi has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
nikivi has joined #ruby
cschneid_ has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
anikras has joined #ruby
drale2k_ has joined #ruby
roshanavand has joined #ruby
xt233 has joined #ruby
xt233 has quit [Client Quit]
aufi has quit [Remote host closed the connection]
aufi has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has quit [Read error: Connection timed out]
prestorium has quit [Quit: prestorium]
bomb has joined #ruby
Blaguvest has joined #ruby
drale2k_ has joined #ruby
esrse has quit [Ping timeout: 246 seconds]
dbz has joined #ruby
dbz has quit [Ping timeout: 260 seconds]
clorisu has joined #ruby
cschneid_ has joined #ruby
GodFather has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
psmolen has quit [Ping timeout: 246 seconds]
psmolen has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
thinkpad has quit [Quit: lawl]
cschneid_ has quit [Ping timeout: 246 seconds]
nikivi has quit [Quit: ZNC is awesome]
roshanavand has quit [Ping timeout: 272 seconds]
cschneid_ has joined #ruby
thinkpad has joined #ruby
ams__ has joined #ruby
ams__ has quit [Client Quit]
ams__ has joined #ruby
nikivi has joined #ruby
mostlybadfly has joined #ruby
cschneid_ has quit [Ping timeout: 244 seconds]
jinie has joined #ruby
ArahaelPi has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
AJA4350 has joined #ruby
cschneid_ has quit [Ping timeout: 252 seconds]
ArahaelPi has joined #ruby
psmolen has quit [Ping timeout: 260 seconds]
psmolen has joined #ruby
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
roshanavand has joined #ruby
Blaguvest has quit [Ping timeout: 252 seconds]
bomb has quit [Ping timeout: 260 seconds]
roshanavand has quit [Ping timeout: 260 seconds]
bomb has joined #ruby
cschneid_ has joined #ruby
roshanavand has joined #ruby
cschneid_ has quit [Ping timeout: 252 seconds]
cschneid_ has joined #ruby
ArahaelPi has quit [Ping timeout: 260 seconds]
dbz has joined #ruby
hfp has joined #ruby
hfp_work has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
roshanavand has quit [Read error: Connection reset by peer]
dbz has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
hfp has quit [Ping timeout: 250 seconds]
hfp_work has quit [Ping timeout: 250 seconds]
hfp has joined #ruby
hfp_work has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 272 seconds]
sticaz has joined #ruby
Lloyd has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
donofrio has joined #ruby
sticaz has quit [Quit: sticaz]
bmurt has joined #ruby
jcalla has joined #ruby
sticaz has joined #ruby
snickers has quit [Ping timeout: 260 seconds]
mike11 has quit [Read error: Connection reset by peer]
cschneid_ has quit [Ping timeout: 260 seconds]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
jane_booty_doe has joined #ruby
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 272 seconds]
Lyfe has joined #ruby
Rapture has joined #ruby
tristanp has joined #ruby
sylario has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
dbz has joined #ruby
dbz has quit [Ping timeout: 252 seconds]
gnufied has joined #ruby
dbz has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
dbz has quit [Ping timeout: 245 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Inline has joined #ruby
mrush has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has joined #ruby
anikras has quit [Quit: Ex-Chat]
armyriad has quit [Ping timeout: 240 seconds]
armyriad has joined #ruby
dbz has quit [Ping timeout: 252 seconds]
akem__ has quit [Ping timeout: 244 seconds]
^Fish has joined #ruby
mroutis has joined #ruby
thejs has joined #ruby
akem has joined #ruby
rippa has joined #ruby
drale2k_ has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
<headius> bomb: enebo and others have been maintaining JRubyFX on and off
dviola has joined #ruby
lytol_ has joined #ruby
duderonomy has joined #ruby
<^Fish> if ruby_executable_hooks is in path, what can cause it to not be found when starting something like gitaly?
GodFather has quit [Ping timeout: 245 seconds]
<bomb> headius: cool!
j0bk has joined #ruby
<headius> you can use it as a DSL or with FXML
bomb has quit [Quit: ruby]
kapil___ has quit [Quit: Connection closed for inactivity]
aupadhye has quit [Remote host closed the connection]
sysvalve has quit [Quit: Leaving]
Azure has quit [Ping timeout: 246 seconds]
Azure has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
tty has quit [Quit: tty]
DTZUZO has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
[Butch] has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Dbugger has joined #ruby
DTZUZO has joined #ruby
mrush has joined #ruby
conta2 has joined #ruby
yohji has quit [Remote host closed the connection]
Rootsudo has joined #ruby
Beams has quit [Quit: .]
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
SeepingN has joined #ruby
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
DTZUZO has quit [Ping timeout: 260 seconds]
DTZUZO has joined #ruby
duderonomy has quit [Ping timeout: 272 seconds]
lalitmee has joined #ruby
sticaz has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has quit [Ping timeout: 252 seconds]
Kilo`byte has joined #ruby
Guest58115 has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
GodFather has joined #ruby
Guest58115 has joined #ruby
duderonomy has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
Guest58115 has quit [Ping timeout: 252 seconds]
duderonomy has quit [Client Quit]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
<^Fish> is ruby_executable_hooks part of rvm or is it something different?
duderonomy has joined #ruby
duderonomy has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
DTZUZO has quit [Ping timeout: 244 seconds]
Guest58115 has joined #ruby
duderonomy has quit [Ping timeout: 246 seconds]
doubledup has joined #ruby
Guest58115 has quit [Ping timeout: 260 seconds]
doubledup has quit [Client Quit]
samort7 has joined #ruby
alex``` is now known as alex``
Guest58115 has joined #ruby
Guest58115 has quit [Ping timeout: 244 seconds]
conta2 has quit [Quit: conta2]
Guest58115 has joined #ruby
dbz_ has joined #ruby
dbz has quit [Ping timeout: 260 seconds]
samort7 has quit [Quit: Leaving]
Guest58115 has quit [Ping timeout: 246 seconds]
mistergibson has joined #ruby
dbz_ has quit [Remote host closed the connection]
^Fish has quit [Quit: leaving]
lalitmee has quit [Quit: Leaving]
cliluw has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
duderonomy has joined #ruby
cliluw has joined #ruby
Xiti has quit [Quit: Xiti]
<havenwood> ^Fi, yes, it's part of RVM.
Xiti has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
mroutis has quit [Ping timeout: 240 seconds]
MuffinPimp has quit [Quit: Goodbye.]
ShekharReddy has joined #ruby
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
thejs has quit [Ping timeout: 246 seconds]
Alina-malina has quit [Ping timeout: 272 seconds]
spiette has joined #ruby
cschneid_ has joined #ruby
Guest58115 has joined #ruby
MuffinPimp has joined #ruby
mikecmpbll has joined #ruby
Guest58115 has quit [Ping timeout: 246 seconds]
lenqbit has joined #ruby
Guest58115 has joined #ruby
johnny56 has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
Guest58115 has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
Guest58115 has joined #ruby
johnny56 has joined #ruby
Guest58115 has quit [Ping timeout: 244 seconds]
typeVoid has joined #ruby
lenqbit has quit [Ping timeout: 245 seconds]
<typeVoid> I have a User class that inherits from Application record, is the initialize method called when I run User.new? ( https://git.io/fABMC )
Guest58115 has joined #ruby
weaksauce has joined #ruby
<cjohnson> typeVoid: Seems like that should be def initialize not self.?
Guest58115 has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
Guest58115 has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
lomex has joined #ruby
<jenrzzz> does anyone know how to make #collect_concat/#flat_map work on a custom Enumerable class? i'm getting an array of my array-like objects instead of the elements inside them
<typeVoid> I've changed user.rb so that the file looks like ( https://git.io/fABDa ), I know initialize is being run now but when calling user.save! from another file, an error is thrown ( https://git.io/fABDQ )
<typeVoid> *Line 26
<jenrzzz> i see here in flat_map_i it checks the array type and then if the type check fails it pushes the yielded value, otherwise it concatenates it. in my case i think it's taking the first branch: https://github.com/ruby/ruby/blob/trunk/enum.c#L551
Guest58115 has quit [Ping timeout: 260 seconds]
thejs has joined #ruby
sticaz has joined #ruby
<cjohnson> typeVoid: You forgot to include the error in your gist
<typeVoid> oops `undefined method `fetch_value' for nil:NilClass`
cschneid_ has joined #ruby
<typeVoid> full trace ( https://git.io/fAByB )
<cjohnson> Well I don't see fetch_value in your code so not sure how we can help with that
<typeVoid> It's with rails, I don't call the method from my code
Guest58115 has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jenrzzz> typeVoid: don't override #initialize on ActiveRecord models
Guest58115 has quit [Ping timeout: 245 seconds]
<jenrzzz> typeVoid: use before_create or similar callbacks if you need to do stuff before saving
<cjohnson> Oh and that :)
<typeVoid> Everything's working fine now! Thank you
<jenrzzz> i'm just gonna override #collect_concat in my class #yolo
<cjohnson> When are we gonna see refinements get more love
Guest58115 has joined #ruby
<jenrzzz> cjohnson: if/when activesupport is rewritten to use them
<cjohnson> I mean at the language level
<cjohnson> They're still fairly limited aren't they
<cjohnson> Like for indirect method calls they don't apply
zenspider has joined #ruby
Guest58115 has quit [Ping timeout: 252 seconds]
<jenrzzz> cjohnson: yeah... I haven't been following that closely but I think there's a chicken/egg issue of limited adoption discouraging future development on it. need something big like rails going all-in on them. honestly these guys are usually thinking 5-10 years ahead when they add these language features so they might not take off until paradigms shift a bit more
<jenrzzz> the majority of ruby people probably just don't feel like the current system of monkey-patching is all that bad. sure you can code yourself into some really unpleasant situations but there are ways of doing things that avoid that
Rootsudo has quit [Ping timeout: 260 seconds]
<WA9ACE> lots of stuff will need to get rewritten with Ruby 3 anyway right? Since autoloading will be gone
redlegion has quit [Ping timeout: 256 seconds]
<zenspider> meh. that won't affect that much tbh
<apeiros> WA9ACE: hm? where did you read that autoloading will be gone? you are referring to Kernel#autoload, right?
<zenspider> that ball's been rollin' for a while now
postmodern has joined #ruby
<apeiros> I've heard (even from matz himself f2f) that he doesn't like autoload, but I've never heard a definitive date of removal
Guest58115 has joined #ruby
<apeiros> and that bug ticket is 7y old too…
Emmanuel_Chanel has joined #ruby
<apeiros> and afaik they even resolved the thread safety issues
<WA9ACE> I could've swore I read something about autoload needing to be removed or reworked to allow for the concurrency changes wanting to be made to MRI
<WA9ACE> oh well I must've missed that
<zenspider> Target version changed from 2.2.0 to Next Major
<zenspider> that was 1 year ago
redlegion has joined #ruby
redlegion has quit [Excess Flood]
redlegion has joined #ruby
lenqbit has joined #ruby
Guest58115 has quit [Ping timeout: 260 seconds]
<WA9ACE> on an unrelated note, I'm on ruby.social and in here, but are there any other public ruby related hangouts?
lomex has joined #ruby
<WA9ACE> for chatting that is, not necessarily places like /r/ruby
Guest58115 has joined #ruby
lomex has quit [Client Quit]
<jenrzzz> WA9ACE: there are some slack channels... rubydevelopers.slack.com among others
<jenrzzz> alrighty, I made a gist to show what I'm trying to do: https://gist.github.com/jenrzzz/9e0269d2a8c4e6a564ecc67629cd4fe4
sameerynho has joined #ruby
<jenrzzz> basically, call #collect_concat on a regular Array but have the block yield RecordRelation classes and still get them catenated into a regular Array (or RecordRelation for bonus points)
<jenrzzz> i can't tell if the flat_map implementation is checking if the yielded value is a plain Array or just array-like, but it seems to be related to this call to rb_check_array_type: https://github.com/ruby/ruby/blob/trunk/enum.c#L548
alex`` has quit [Ping timeout: 272 seconds]
Guest58115 has quit [Ping timeout: 240 seconds]
Dbugger has quit [Ping timeout: 240 seconds]
desperek has joined #ruby
Guest58115 has joined #ruby
MuffinPimp has quit [Quit: Goodbye.]
MuffinPimp has joined #ruby
Guest58115 has quit [Ping timeout: 245 seconds]
lomex has joined #ruby
jane_booty_doe has quit [Quit: Leaving]
eddof13 has quit [Ping timeout: 246 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has joined #ruby
reber has quit [Remote host closed the connection]
z3uS has joined #ruby
jp has quit [Ping timeout: 240 seconds]
zenspider has quit [Quit: bye]
zenspider has joined #ruby
Azure has quit [Read error: Connection reset by peer]
dellavg_ has quit [Ping timeout: 272 seconds]
samort7 has joined #ruby
beefjoe has joined #ruby
ellcs has joined #ruby
alex`` has joined #ruby
Azure has joined #ruby
beefjoe has quit [Read error: Connection reset by peer]
mroutis has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShekharReddy has quit [Quit: Connection closed for inactivity]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mike11 has joined #ruby
clorisu has quit [Remote host closed the connection]
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
beeman has quit []
jp has joined #ruby
jane_booty_doe has joined #ruby
akem has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
beeman has joined #ruby
jane_booty_doe has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sticaz has quit [Ping timeout: 260 seconds]
beowuff has joined #ruby
lenqbit has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 245 seconds]
mroutis_ has joined #ruby
akem has joined #ruby
mroutis has quit [Read error: Connection reset by peer]
<baweaver> GOOD AFTERNOON!~
<baweaver> Got permission to translate this into Ruby: https://medium.com/@roman01la/understanding-transducers-in-javascript-3500d3bd9624
alicef has quit [Ping timeout: 256 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mike11 has quit [Quit: Leaving.]
Ron9 has joined #ruby
alicef has joined #ruby
alicef has quit [Excess Flood]
sticaz has joined #ruby
MoritaShinobu has quit [Remote host closed the connection]
MyMind has quit [Quit: WeeChat 2.3-dev]
thejs has quit [Ping timeout: 260 seconds]
leitz has joined #ruby
Sembei has joined #ruby
<leitz> How do you make irb use vim style up-arrows? I had it working great and then upgraded the machine.
<bougyman> leitz: make a ~/.inputrc and set the vi editing mode in that.
<bougyman> which will work for any readline based applications
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
samort7 has quit [Quit: Leaving]
alicef has joined #ruby
clorisu has joined #ruby
lomex has joined #ruby
MuffinPimp has quit [Quit: Goodbye.]
lomex has quit [Client Quit]
<leitz> So far "set editing-mode vi" in both .editrc and .inputrc fails.
<bougyman> works here.
<bougyman> is your ruby built without readline?
blackjid has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
desperek has quit [Quit: xoxo]
yokel has quit [Remote host closed the connection]
cthulchu has quit [Read error: Connection reset by peer]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has joined #ruby
eckhardt has joined #ruby
thejs has joined #ruby
cthulchu has joined #ruby
ellcs has joined #ruby
<SeepingN> bingo
sticaz has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby
Guest58115 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bomb has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MzrE has joined #ruby
MzrE has quit [Client Quit]
Guest58115 has quit [Ping timeout: 245 seconds]
nertzy has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
sameerynho has quit [Ping timeout: 260 seconds]
MuffinPimp has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
ChrisBr has joined #ruby
<al2o3-cr> sup!
orbyt_ has joined #ruby
dionysus69 has joined #ruby
<al2o3-cr> leitz: just use hjkl and be done ;)
eckhardt has joined #ruby
moei has quit [Quit: Leaving...]
eckhardt has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> Or use with-readline or that other readline command line app I can never remember the name of: with-readline irb
DTZUZO has joined #ruby
bomb has quit [Disconnected by services]
lytol_ has quit [Remote host closed the connection]
ArahaelPi has joined #ruby
beowuff has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ArahaelPi has quit [Client Quit]
<al2o3-cr> >> [[40,120],[65,145],[20,160],[40,140],[30,101]].each_with_object('') { |(x, y), s| s << (x&y) + ((x^y) >> 1) }
bomb_ has joined #ruby
lomex has joined #ruby
clorisu has quit [Ping timeout: 245 seconds]
eckhardt has joined #ruby
duderonomy has joined #ruby
zenspider has quit [Quit: bye]
zenspider has joined #ruby
zenspider has quit [Client Quit]
zenspider has joined #ruby
ivanskie has joined #ruby
mistergibson has quit [Quit: Leaving]
stabe has joined #ruby
<al2o3-cr> >> [[28,128],[63,71],[-33,180],[35,131]].each_with_object('') { |(x, y), s| s << (x&y) + ((x^y) >> 1) }
<al2o3-cr> !foo
<al2o3-cr> ?foo
ivanskie has quit [Read error: Connection reset by peer]
clorisu has joined #ruby
<al2o3-cr> bot broken like me?
stabe has quit [Quit: Mutter: www.mutterirc.com]
<zenspider> the repl has been off and on for a while
<zenspider> might be down for now
Alina-malina has quit [Ping timeout: 260 seconds]
<al2o3-cr> zenspider: good to know. thank you.
<al2o3-cr> thought i was unidentified for some reason then.
bomb_ has quit []
SeepingN has quit [Quit: The system is going down for reboot NOW!]
daemonwrangler has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
savolla has joined #ruby
<al2o3-cr> can anyone test this on bsd/macOS; https://gist.github.com/gr33n7007h/00e79169d888e8ae893fb1ab06fa3158
thejs has quit [Remote host closed the connection]
Alina-malina has joined #ruby
<jjman> compiled ruby with readline support but its no keeping history, is this the default?
<jjman> nm, need to create a .irbc
tty has joined #ruby
<leitz> Taking a break from study. Readline wasn't found "/usr/local/src/ruby/ext/readline/extconf.rb:62: Neither readline nor libedit was found". readline-devel was not installed. Time to rebuild... is ins
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]