havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.1, 2.5.3, 2.4.5: 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!
renich_ has quit [Ping timeout: 272 seconds]
ngw has joined #ruby
orbyt_ has joined #ruby
ngw has quit [Ping timeout: 258 seconds]
mitescugd has quit [Ping timeout: 245 seconds]
conta has joined #ruby
mitescugd has joined #ruby
johnny56_ has joined #ruby
conta has quit [Ping timeout: 250 seconds]
ansraliant has joined #ruby
renich_ has joined #ruby
gravitation has quit [Ping timeout: 257 seconds]
ngw has joined #ruby
gravitation has joined #ruby
gravitation has quit [Client Quit]
ngw has quit [Ping timeout: 258 seconds]
Tempesta has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
xrexeon has quit [Remote host closed the connection]
ngw has joined #ruby
cthulchu has joined #ruby
octos has quit [Read error: Connection reset by peer]
octos has joined #ruby
Puffball has joined #ruby
ngw has quit [Ping timeout: 258 seconds]
cthulchu has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ngw has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
r29v has quit [Quit: r29v]
ngw has quit [Ping timeout: 245 seconds]
AJA4350 has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
orbyt_ has joined #ruby
ngw has joined #ruby
ngw has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r29v has joined #ruby
blackmesa1 has quit [Ping timeout: 252 seconds]
blackmesa1 has joined #ruby
r29v has quit [Quit: r29v]
ngw has joined #ruby
blackmesa1 has quit [Ping timeout: 258 seconds]
blackmesa1 has joined #ruby
ngw has quit [Ping timeout: 245 seconds]
conta has joined #ruby
t0xik has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
conta has quit [Ping timeout: 258 seconds]
markoong has quit [Quit: Konversation terminated!]
agent_white has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 244 seconds]
dinfuehr has joined #ruby
blackmesa1 has quit [Ping timeout: 259 seconds]
ngw has joined #ruby
blackmesa1 has joined #ruby
ngw has quit [Ping timeout: 250 seconds]
blackmesa1 has quit [Ping timeout: 264 seconds]
valadares has joined #ruby
octos has quit [Remote host closed the connection]
conta has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
conta has quit [Ping timeout: 240 seconds]
ngw has joined #ruby
ngw has quit [Ping timeout: 258 seconds]
orbyt_ has joined #ruby
pedahzur has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ngw has joined #ruby
GodFather_ has quit [Remote host closed the connection]
GodFather has joined #ruby
ngw has quit [Ping timeout: 268 seconds]
skyikot has joined #ruby
\void has joined #ruby
orbyt_ has joined #ruby
ngw has joined #ruby
ngw has quit [Ping timeout: 244 seconds]
ngw has joined #ruby
ngw has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
sgen has joined #ruby
ogres has joined #ruby
evdubs has quit [Quit: Leaving]
<ramfjord> You guys know the only thing that sucks about ruby?
maryo has joined #ruby
maryo has quit [Remote host closed the connection]
evdubs has joined #ruby
ngw has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
<leftylink> NOW WE'LL NEVER KNOW
sgen has quit [Ping timeout: 250 seconds]
ramfjord_ has joined #ruby
<ramfjord_> It
ngw has quit [Ping timeout: 268 seconds]
<ramfjord_> is when your coworkers create a nice ruby project, and over the years other coworkers unfamiliar with ruby modify that project, trying to use for loops, creating spaghetti code, and convincing everyone else at your company that ruby is an unreadable language
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Puppet_> doesnt sound like a ruby problem
ramfjord_ has quit [Ping timeout: 250 seconds]
oosehedaiphequag has joined #ruby
orbyt_ has joined #ruby
oosehedaiphequag has left #ruby [#ruby]
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
ngw has joined #ruby
braincrash has quit [Quit: bye bye]
ngw has quit [Ping timeout: 258 seconds]
braincrash has joined #ruby
fredolinhares has quit [Quit: WeeChat 1.9.1]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 244 seconds]
AJA4351 is now known as AJA4350
ngw has joined #ruby
pedahzur has joined #ruby
ngw has quit [Ping timeout: 250 seconds]
conta has joined #ruby
pedahzur has quit []
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
ngw has joined #ruby
ngw has quit [Ping timeout: 246 seconds]
skyikot has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ngw has joined #ruby
ngw has quit [Ping timeout: 268 seconds]
govg has quit [Ping timeout: 246 seconds]
ngw has joined #ruby
ngw has quit [Ping timeout: 268 seconds]
AJA4350 has quit [Ping timeout: 258 seconds]
conta has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
ngw has joined #ruby
ngw has quit [Ping timeout: 258 seconds]
cthulchu has joined #ruby
Tempesta has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
Forager has joined #ruby
cthulchu_ has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
conta has quit [Quit: conta]
hiroaki has quit [Ping timeout: 268 seconds]
sleetdrop has quit [Quit: Computer has gone to sleep.]
sleetdrop has joined #ruby
mike_ has joined #ruby
mike_ is now known as Guest83485
Guest83485 has left #ruby [#ruby]
sauvin has joined #ruby
conta has joined #ruby
ramfjord has joined #ruby
tdy1 has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
tdy has quit [Ping timeout: 268 seconds]
Forager has quit [Quit: leaving]
Mike479 has joined #ruby
<Mike479> hello
<Mike479> pty doesn't work on BSD
<Mike479> any other choice ?
DTZUZO has joined #ruby
Inline has quit [Quit: Leaving]
aufi has joined #ruby
uplime has quit [Ping timeout: 258 seconds]
tdy2 has joined #ruby
Mike479 has quit [Quit: Page closed]
tdy1 has quit [Ping timeout: 244 seconds]
renich has joined #ruby
renich_ has quit [Ping timeout: 257 seconds]
uplime has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
esrse has joined #ruby
dionysus69 has joined #ruby
CrazyEddy has joined #ruby
GinoMan2440 has quit [Read error: Connection reset by peer]
GinoMan has joined #ruby
skryking has quit [Remote host closed the connection]
skryking has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
ByronJohnson has quit [Ping timeout: 257 seconds]
VladGh has quit [Ping timeout: 258 seconds]
ByronJohnson has joined #ruby
clemens3 has joined #ruby
tdy3 has joined #ruby
prestorium has joined #ruby
tdy2 has quit [Ping timeout: 258 seconds]
jinie_ has joined #ruby
thunderbirdtr has quit [Quit: ZNC 1.7.2 - https://znc.in]
mikecmpbll has joined #ruby
blackmesa1 has joined #ruby
kapil____ has joined #ruby
lxsameer has joined #ruby
clemens3 has quit [Remote host closed the connection]
cthulchu has quit []
deathwishdave has joined #ruby
clemens3 has joined #ruby
ngw has joined #ruby
jinie_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
<ngw> quit
ngw has quit [Quit: WeeChat 2.3]
postmodern has quit [Quit: Leaving]
RougeR has joined #ruby
<RougeR> anyone able to help with this
<RougeR> i want to mock this JobRequest using mocha/minitest
<RougeR> settings is a sinatra feature that i cant figure out how to stub
<RougeR> or i need a way to do this
<RougeR> or this maybe
mostlybadfly has joined #ruby
<RougeR> got it!
<RougeR> that took all last afternoon
<RougeR> i ended up creating a mock class and including the modules i needed. then stubbing settings to return Sinatra.settings which expects logger
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
<sagax> hi all!
<sagax> how to dump only schema from sqlite3 ?
<sagax> schema without any data
d^sh has quit [Ping timeout: 268 seconds]
d^sh has joined #ruby
conta has quit [Ping timeout: 250 seconds]
<tbuehlmann> sagax: in rails?
<sagax> just in sqlite3 tool
nowhere_man has joined #ruby
<tbuehlmann> try this: sqlite3 database.sqlite3 .schema > schema.sql
<tbuehlmann> what does this have to do with ruby in the first place?
<sagax> i use sqlite with ruby
<dostoyevsky> > Exception `SyntaxError' at /home/sck/.gem/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/code_helpers.rb:71 - (eval):26: syntax error, unexpected end-of-input, expecting keyword_end
<dostoyevsky> pry tells me there is a syntax error in my code?
conta has joined #ruby
<dostoyevsky> how did it execute pry in the first place?
wesley479 has joined #ruby
<wesley479> hi
<wesley479> is there a way to store stderr from system(command) ?
<darix> wesley479: popen3/4 maybe
<wesley479> already tried, with open3, i can store stderr, but stdout is empty (the command is interactive)
<darix> well
<wesley479> using system i can get stdout
<darix> popen should also give you stdout
<wesley479> but no way to store stderr
<wesley479> yes but the command write to tty
<wesley479> so no stdout
deathwishdave has quit [Remote host closed the connection]
<darix> but for driving some interactive program
<darix> why not use something like expect
<wesley479> i already try expect with pty, i use OpenBSD as system, pty package doesn't work
<darix> and rexpect gem as mentioned at the end?
<wesley479> i'm going to try thks!
<wesley479> darix: :)
<wesley479> darix: rexpect doesn't appear in rubgems.org
<wesley479> and the link doesn't work
<darix> and parley?
<darix> the comment below that
<wesley479> already tried; use pty
<darix> ah
<darix> and i guess the expect module in the stdlib does too
<darix> so maybe you should fix PTY :P
<darix> or use a proper OS :P *scnr*
DTZUZO has quit [Ping timeout: 268 seconds]
deathwishdave has joined #ruby
t0xik has quit [Quit: Connection closed for inactivity]
markoong has joined #ruby
<wesley479> darix: how can i fix pty ?
v01d4lph4 has joined #ruby
v01d4lph4 has quit [Ping timeout: 245 seconds]
nowhere_man has quit [Ping timeout: 245 seconds]
wesley479 has quit [Quit: Page closed]
<TheBrayn> Where can I find the documentation for the options here: https://ruby-doc.org/stdlib-2.5.3/libdoc/psych/rdoc/Psych.html#method-c-dump
ellcs has joined #ruby
donofrio_ has joined #ruby
donofrio has quit [Ping timeout: 250 seconds]
bender_unit has joined #ruby
bender_unit has quit [Quit: Textual IRC Client: www.textualapp.com]
<TheBrayn> thanks
<TheBrayn> canonical: true is quite the thing
lucasb has joined #ruby
akem has joined #ruby
akem__ has quit [Remote host closed the connection]
akem has quit [Remote host closed the connection]
akem has joined #ruby
RougeR has quit [Ping timeout: 244 seconds]
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ngw has joined #ruby
AJA4350 has joined #ruby
xrexeon has joined #ruby
xrexeon has quit [Max SendQ exceeded]
<ngw> I hate having to find configurations and other assets using __FILE__ and by dealing with a million of ../../.., do you set a project root inside .env of what other improvements you do?
<Cork> is there a way to get DS record data (doesn't have to be parsed) with Resolv::DNS ?
xrexeon has joined #ruby
xrexeon has quit [Max SendQ exceeded]
xrexeon has joined #ruby
houhoulis has joined #ruby
tdy4 has joined #ruby
tdy3 has quit [Ping timeout: 240 seconds]
Mike11 has joined #ruby
tdy has joined #ruby
tdy4 has quit [Ping timeout: 245 seconds]
sleetdrop has quit [Quit: Computer has gone to sleep.]
al2o3-cr has quit [Quit: WeeChat 2.3]
al2o3-cr has joined #ruby
<darix> Cork: getresource(name, typeclass)
<darix> typeclass can be a string too
rippa has joined #ruby
<darix> so I guess the answer is "yes"
bmurt has joined #ruby
<Cork> darix: TypeError: "DS" is not a class/module
<Cork> also https://ruby-doc.org/stdlib-2.0.0/libdoc/resolv/rdoc/Resolv/DNS.html#method-i-getresource list a limited list of what you can enter there
GinoMan2440 has joined #ruby
<IGnorAND> morning
<Cork> only way to do it that i've found currently is to use the gem dnsruby, but it feels kinda weird that the built in one can't do it
GinoMan has quit [Ping timeout: 250 seconds]
ngw has quit [Ping timeout: 250 seconds]
spiette has joined #ruby
houhoulis has quit [Remote host closed the connection]
<darix> Cork: well you can send a patch to ruby-core to add more classes to Resolv::DNS::Resource:: :)
catbusters has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
Mike11 has quit [Quit: Leaving.]
ngw has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
orbyt_ has joined #ruby
orbyt_ has quit [Ping timeout: 246 seconds]
esrse has quit [Ping timeout: 246 seconds]
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
cd has quit [Quit: cd]
valadares has quit [Ping timeout: 250 seconds]
c-c has left #ruby ["ta!"]
conta has quit [Ping timeout: 245 seconds]
<KindOna> >> x = "aa"; x.next
<KindOna> what's the inverse of that
<KindOna> (it outputs "ab"
<KindOna> )
<al2o3-cr> KindOna: there isn't one, #pred is for integers.
awkwords has joined #ruby
krawchyk has joined #ruby
<KindOna> that's very mildly interesting i suppose
DTZUZO has joined #ruby
fluxAeon has quit [Ping timeout: 268 seconds]
<al2o3-cr> &>> "zz".succ
<rubydoc> # => "aaa" (https://carc.in/#/r/697q)
<al2o3-cr> the C function str_succ is quite complex for what it does.
<phaul> &>> 'aag!!'.succ
<rubydoc> # => "aah!!" (https://carc.in/#/r/697t)
<al2o3-cr> &>> "\x7f".succ
<rubydoc> # => "\x01\x00" (https://carc.in/#/r/697v)
<KindOna> Yeah, I just want to do the inverse, count down from BCJN and get the number of iterations required
<KindOna> (to reach A)
<KindOna> but I didn't care enough to spend more than a minute on it, just was surprised there is no #back or #previous
megamos has joined #ruby
<al2o3-cr> KindOna: yeah, you're kinda of stuck on this one :(
<KindOna> I guess I could start from A until I reach BCJN :)
fluxAeon has joined #ruby
<KindOna> (the answer is 37453)
<phaul> &>> x = Enumerator.new { |y| a = 'a'; loop { y << a; a.succ! } }; x.find_index('zzz')
<rubydoc> # => 18277 (https://carc.in/#/r/6980)
AJA4350 has quit [Ping timeout: 268 seconds]
<KindOna> fair :)
AJA4350 has joined #ruby
maryo has joined #ruby
Rapture has joined #ruby
Mike11 has joined #ruby
valadares has joined #ruby
skryking has quit [Remote host closed the connection]
skryking has joined #ruby
ngw has quit [Quit: WeeChat 2.3]
krawchyk has quit [Quit: krawchyk]
szulak_ has joined #ruby
gregf_ has quit [Ping timeout: 256 seconds]
n13z has quit [Remote host closed the connection]
conta has joined #ruby
vdl has quit [Quit: WeeChat 2.3]
vdl has joined #ruby
cthulchu has joined #ruby
fredolinhares has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
maryo has quit [Read error: Connection reset by peer]
maryo has joined #ruby
Solifugus has joined #ruby
<Solifugus> Can anyone tell me how to start a Ruby on Rails program? It seems to have "gem" and "yarn" in it..
<Solifugus> I don't know Ruby at all...
<Solifugus> yarn doesn't work because there is no start script in the package.json file.... I tried things like: gem start .... google keeps giving me articles on getting started with ruby on rails..
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
maryo has quit [Ping timeout: 250 seconds]
AJA4350 has quit [Ping timeout: 258 seconds]
szulak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<KindOna> ?raisl
<KindOna> ?rails
<KindOna> try #rubyonrails
maryo has joined #ruby
Inline has joined #ruby
Dbugger has joined #ruby
conta2 has joined #ruby
<mozzarella> !rails
conta2 has quit [Ping timeout: 244 seconds]
eldritch has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
aufi has quit [Remote host closed the connection]
AJA4350 has joined #ruby
<al2o3-cr> KindOna: you've got more nicks than freddie laker had flights :p
<KindOna> al2o3-cr: This is weak compared to what I do on other networks.
<al2o3-cr> blimey!
<KindOna> i've been trying to crash people's clones.pl scripts by nicking daily
megamos has quit [Ping timeout: 244 seconds]
agent_white has joined #ruby
tdy has joined #ruby
\void has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
maryo has quit [Quit: Leaving]
nowhere_man has joined #ruby
mikecmpbll has quit [Ping timeout: 258 seconds]
krawchyk has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
Mike11 has quit [Quit: Leaving.]
cybergeeek has quit [Ping timeout: 252 seconds]
tdy has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
eldritch has joined #ruby
catbusters has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
cthulchu_ has joined #ruby
jcarl43 has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
r29v has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
millerti has joined #ruby
yokel has quit [Remote host closed the connection]
orbyt_ has joined #ruby
yokel has joined #ruby
cthulchu_ has quit [Quit: Leaving]
cthulchu_ has joined #ruby
tdy has joined #ruby
awkwords has quit [Quit: sleepy time]
tdy has quit [Ping timeout: 245 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
gix has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xrexeon has quit [Remote host closed the connection]
awkwords has joined #ruby
sgen has joined #ruby
DTZUZO has quit [Quit: WeeChat 2.0]
clemens3 has quit [Ping timeout: 250 seconds]
fanta7531 has joined #ruby
ramfjord has joined #ruby
postmodern has joined #ruby
valadares has quit [Read error: Connection reset by peer]
valadares has joined #ruby
Rapture has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inline has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
jaequery has joined #ruby
<havenwood> 'helloooooo'.squeeze 'o'
<txdv> Hello
<txdv> helloooooo'.squeeze 'lo'
ravenousmoose has joined #ruby
Inline has joined #ruby
orbyt_ has quit [Ping timeout: 250 seconds]
Inline has quit [Read error: Connection reset by peer]
Solifugus has quit [Ping timeout: 252 seconds]
Inline has joined #ruby
sauvin has quit [Remote host closed the connection]
conta has quit [Quit: conta]
orbyt_ has joined #ruby
v01d4lph4 has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
mitescugd has quit [Ping timeout: 250 seconds]
mitescugd has joined #ruby
<fanta7531> does crystal have anything in common with ruby except "familiar syntax" ?
prestorium has quit [Ping timeout: 240 seconds]
Rapture has joined #ruby
comstar has joined #ruby
<mozzarella> familiar vocabulary
v01d4lph4 has quit [Remote host closed the connection]
<Eiam_> creators like gemstones
DTZUZO has joined #ruby
perique has joined #ruby
cubillosxy_py has joined #ruby
sgen has quit [Ping timeout: 268 seconds]
<cubillosxy_py> hi there, i want to send my logs to sentry, someone knows the config?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<cubillosxy_py> hello?
<comstar> yes hello
lytol_ has joined #ruby
<fanta7531> good evening, sir
<cubillosxy_py> good afternoon ,
<cubillosxy_py> i want to ask somenone
<cubillosxy_py> some
<cubillosxy_py> i want to send my logs to sentry, someone knows the config?
<cubillosxy_py> :(
superscott has joined #ruby
cubillosxy_py has quit [Quit: leaving]
cubillosxy_py has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
perique has quit [Quit: Textual IRC Client: www.textualapp.com]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
Mike11 has joined #ruby
Rapture has joined #ruby
priodev has quit [Quit: out.]
fluxAeon has quit [Ping timeout: 244 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r29v has quit [Quit: r29v]
orbyt_ has joined #ruby
<havenwood> cubillosxy_py: What about the config? What're you having trouble with? Getting an error?
<havenwood> &>> Math::E ** (Math::PI * 1i) + 1
<rubydoc> # => (0.0+0.0i) (https://carc.in/#/r/69cf)
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
fluxAeon has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
tdy has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
cthulchu_ has joined #ruby
eblip has quit [Read error: Connection reset by peer]
<cubillosxy_py> havenwood, i did find info about config logs with sentry,
cubillosxy_py has quit [Quit: leaving]
eblip has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 258 seconds]
priodev has joined #ruby
conta has joined #ruby
conta has quit [Ping timeout: 240 seconds]
skryking has quit [Quit: Leaving]
Puffball has quit [Read error: Connection reset by peer]
markong has joined #ruby
markoong has quit [Ping timeout: 245 seconds]
SeepingN has joined #ruby
Mike11 has quit [Quit: Leaving.]
mikecmpbll has joined #ruby
istrasci has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
<istrasci> When calling #any? or #all? on an Array, is there a guarantee of consistent evaluation order?
orbyt_ has joined #ruby
<phaul> on mri at least
<phaul> I don't know if the order is actually specced. as blocks there are supposed to be without side effects
<phaul> but MRI goes left to right
<istrasci> phaul: OK, thank you.
<phaul> hint: pry. pry-doc. > $ Array#all?
<phaul> shows the C source, and you can see the iteration from 0 to arr_length - 1
orbyt_ has quit [Ping timeout: 245 seconds]
<istrasci> What is that pry command?
superscott has quit []
<phaul> gem install pry
<phaul> it's a gem a better irb
<istrasci> I have it installed. Is that an executable, or a command to run inside pry?
<phaul> you need to install pry-doc as well
<phaul> then at pry prompt just do $ Array#all?
<istrasci> Ah, thanks. Didn't know about pry-doc gem.
kapil____ has joined #ruby
tdy has joined #ruby
awkwords has quit [Quit: sleepy time]
awkwords has joined #ruby
awkwords has quit [Client Quit]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
lytol_ has quit [Remote host closed the connection]
Inline has quit [Read error: Connection reset by peer]
fluxAeon has quit [Ping timeout: 259 seconds]
orbyt_ has joined #ruby
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sgen has joined #ruby
SeepingN has joined #ruby
SeepingN has quit [Remote host closed the connection]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
<havenwood> istrasci: It's confirmed by specs in ruby/spec, so there'll be common behavior between MRI, JRuby, TruffleRuby and Opal: https://github.com/ruby/spec/blob/master/core/enumerable/all_spec.rb#L93-L98
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
SeepingN has joined #ruby
fluxAeon has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
fredolinhares has quit [Quit: WeeChat 1.9.1]
t0xik has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
tdy1 has joined #ruby
Inline has quit [Read error: Connection reset by peer]
<baweaver> !connection Inline
Inline has joined #ruby
<baweaver> !connection Inline
* baweaver stares at bot
tdy has quit [Ping timeout: 250 seconds]
Inline has quit [Read error: Connection reset by peer]
<phaul> yeah. it's been like that for some time now
<phaul> ?rails
Inline has joined #ruby
ramfjord has joined #ruby
<phaul> we need apeiros to restart it
<baweaver> He's on vacation / break last I knew
<al2o3-cr> phaul: operators can do it manually
<al2o3-cr> oh, restarting, i see.
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
krawchyk has quit [Quit: krawchyk]
lxsameer has quit [Ping timeout: 258 seconds]
fluxAeon has quit [Ping timeout: 245 seconds]
fluxAeon has joined #ruby
fluxAeon has quit [Ping timeout: 246 seconds]
fluxAeon has joined #ruby
sgen has quit [Ping timeout: 250 seconds]
druonysus has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
conta has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
SeepingN has quit [Remote host closed the connection]
conta has quit [Ping timeout: 244 seconds]