adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
gggp has joined #ruby
gggp_ has joined #ruby
gggp has quit [Ping timeout: 252 seconds]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 250 seconds]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 250 seconds]
leah2 has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
aeris has quit [Ping timeout: 276 seconds]
_aeris_ is now known as aeris
gr33n7007h has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
ur5us has joined #ruby
leah2 has joined #ruby
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 240 seconds]
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
CumFacial has joined #ruby
CumFacial has left #ruby [#ruby]
techsurvivor has joined #ruby
FuckBLM has joined #ruby
noa has quit [Quit: Konversation terminated!]
gggp_ has joined #ruby
* FuckBLM waves at gggp_
FuckBLM has quit [Quit: Client closed]
gggp__ has quit [Ping timeout: 240 seconds]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 250 seconds]
gggp__ has quit [Ping timeout: 240 seconds]
MalkbabY has joined #ruby
MalkbabY_ has quit [Ping timeout: 250 seconds]
pjlsergeant has quit [Read error: Connection reset by peer]
JayDoubleu has quit [Read error: Connection reset by peer]
JayDoubleu has joined #ruby
pjlsergeant has joined #ruby
gggp__ has joined #ruby
danjo1 has joined #ruby
danjo has quit [Ping timeout: 248 seconds]
danjo1 is now known as danjo
JayDoubleu has quit [Ping timeout: 240 seconds]
pjlsergeant has quit [Ping timeout: 240 seconds]
rubin55___ has quit [Ping timeout: 258 seconds]
rubin55___ has joined #ruby
JayDoubleu has joined #ruby
pjlsergeant has joined #ruby
tleaf has joined #ruby
techsurvivor has quit [Ping timeout: 250 seconds]
mikrosis has quit [Ping timeout: 252 seconds]
aeris has quit [Ping timeout: 276 seconds]
aeris has joined #ruby
Oxfuxxx has quit [Ping timeout: 250 seconds]
neshpion has quit [Quit: neshpion]
ur5us has quit [Ping timeout: 250 seconds]
roadie has quit [Ping timeout: 250 seconds]
Oxfuxxx has joined #ruby
jpw has joined #ruby
_whitelogger has joined #ruby
grawlinson has joined #ruby
weyhmueller has joined #ruby
benjaminwil has joined #ruby
jhass has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
insolentworm has quit [*.net *.split]
Byteflux has quit [*.net *.split]
glider has quit [*.net *.split]
joast has quit [*.net *.split]
mbrndtgn5 has quit [*.net *.split]
nakilon has quit [*.net *.split]
dorian has quit [*.net *.split]
josephl has quit [*.net *.split]
Cork has quit [*.net *.split]
seisatsu has quit [*.net *.split]
lipoqil has quit [*.net *.split]
thiccdaddy has quit [*.net *.split]
ox1eef has quit [*.net *.split]
clemens3 has quit [*.net *.split]
leftylink has quit [*.net *.split]
bougyman has quit [*.net *.split]
tv- has quit [*.net *.split]
rhe has quit [*.net *.split]
gcd has quit [*.net *.split]
josephl has joined #ruby
gcd has joined #ruby
seisatsu has joined #ruby
lipoqil has joined #ruby
mbrndtgn5 has joined #ruby
insolentworm has joined #ruby
Byteflux has joined #ruby
ikonia has joined #ruby
bougyman has joined #ruby
glider has joined #ruby
clemens3 has joined #ruby
ox1eef has joined #ruby
tv- has joined #ruby
joast has joined #ruby
Cork has joined #ruby
leftylink has joined #ruby
dorian has joined #ruby
roadie has joined #ruby
roadie has quit [Ping timeout: 245 seconds]
roadie has joined #ruby
ur5us has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 250 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 252 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
nmollerup has quit [Remote host closed the connection]
nmollerup has joined #ruby
roadie has joined #ruby
tleaf has quit [Quit: nyaa~]
roadie has quit [Ping timeout: 250 seconds]
gggp__ has quit [Remote host closed the connection]
Oxfuxxx has quit [Ping timeout: 252 seconds]
MalkbabY_ has joined #ruby
MalkbabY has quit [Ping timeout: 250 seconds]
Oxfuxxx has joined #ruby
pyrareae has quit [Quit: WeeChat 2.8]
reset has quit [Quit: reset]
lessless has left #ruby [#ruby]
roadie has joined #ruby
Rounin has joined #ruby
Bounga has joined #ruby
ur5us has joined #ruby
nopc0de has joined #ruby
CalimeroTeknik has joined #ruby
CalimeroTeknik has quit [Changing host]
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #ruby
CrazyEddy has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
nopcOde has joined #ruby
roadie has joined #ruby
nopc0de has quit [Ping timeout: 244 seconds]
pwnd_sfw has quit [Quit: Ping timeout (120 seconds)]
pwnd_sfw has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
perrierjouet has quit [Ping timeout: 252 seconds]
thiccdaddy has joined #ruby
perrierjouet has joined #ruby
perrierjouet has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
perrierjouet has joined #ruby
ollysmith_ has joined #ruby
ollysmith has quit [Ping timeout: 240 seconds]
Bounga has quit [Remote host closed the connection]
ollysmith_ has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
ollysmith has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
MalkbabY has joined #ruby
MalkbabY_ has quit [Ping timeout: 240 seconds]
<rapha> hi all
<rapha> isn't a $variable in scope _every_where, like __every__where?
reset has joined #ruby
jpw has quit [Remote host closed the connection]
<wnd> I don't know where it would not be available, expect before declaration
gr33n7007h has quit [Ping timeout: 248 seconds]
gr33n7007h has joined #ruby
Tuor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Tuor has joined #ruby
fdan has joined #ruby
Oxfuxxx has quit [Quit: bbl fuckers.]
<fdan> how can i resolve this
ollysmith_ has joined #ruby
<rapha> wnd: that was exactly it ... i accidentally had it before a require_relativ. thank you!
ollysmith has quit [Ping timeout: 244 seconds]
TomyWork has joined #ruby
goepsilongo has joined #ruby
<fdan> any one?
<fdan> apologies if the questions are silly. im a newbie with ruby
<leftylink> too bad I can't even see the images, otherwise I would try. I just don't know why it needs javascript to view an image
<leftylink> and even the noscript tag doesn't work, the image is access denied
<leftylink> e.g. the noscript tag has img srcc https://s3-eu-west-1.amazonaws.com/cdn.pbrd.co/images/Kih78KG.png and that's denied
<fdan> leftylink is that answer for me?
<fdan> i keep getting this error, what can i do https://dpaste.org/zyBD
goepsilongo_ has joined #ruby
goepsilongo has quit [Ping timeout: 256 seconds]
mikrosis has joined #ruby
<rapha> *sigh*
<rapha> when writing an XML file with 10s of 1000s of <entry>s and 10s of lines per each <entry>, where Nokogiri::XML::Builder gets a little slower with each <entry>, is there a significantly faster way of doing the same thing? perhaps something that only ever processes one <entry> at a time and then appends it at the end of <entries>...</entries> and then closes the File again?
jmcgnh has quit [Ping timeout: 252 seconds]
jmcgnh has joined #ruby
noa has joined #ruby
hololeap_ has quit [Ping timeout: 276 seconds]
noa has quit [Quit: Konversation terminated!]
xuochi has joined #ruby
noa has joined #ruby
Dooky has joined #ruby
bit4bit has joined #ruby
Oxfuxxx has joined #ruby
gggp__ has joined #ruby
jpw has joined #ruby
jpw_ has joined #ruby
jpw has quit [Ping timeout: 244 seconds]
MalkbabY_ has joined #ruby
jpw_ has quit [Ping timeout: 250 seconds]
MalkbabY has quit [Ping timeout: 252 seconds]
bit4bit has quit [Ping timeout: 250 seconds]
jpw has joined #ruby
goepsilongo_ has quit [Ping timeout: 252 seconds]
goepsilongo has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.2]
mikrosis has quit [Ping timeout: 252 seconds]
Dooky has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noa has quit [Quit: Konversation terminated!]
nopc0de_ has joined #ruby
nopcOde has quit [Ping timeout: 244 seconds]
lessless has joined #ruby
Oxfuxxx has quit [Ping timeout: 250 seconds]
Oxfuxxx has joined #ruby
goepsilongo_ has joined #ruby
goepsilongo has quit [Ping timeout: 250 seconds]
cahoots has joined #ruby
<cahoots> hi, i'm trying to parse a optional boolean flag with optparse, but it seems to consume the next argument as well. e.g., "ruby script.rb --deltas path" removes path from ARGV. any ideas? https://bpa.st/RG6Q
_ht has joined #ruby
mbarbar has quit [*.net *.split]
mbarbar has joined #ruby
<adam12> cahoots: What happens when you use `--` to separate everything. `ruby script.rb -- --deltas path`
neshpion has joined #ruby
<adam12> Oooooh. Autocomplete in irb. This is gonna be super neat.
fandre1986 has joined #ruby
gggp__ has quit [Ping timeout: 244 seconds]
fdan has quit [Ping timeout: 256 seconds]
TomyWork has quit [Remote host closed the connection]
lucerne has joined #ruby
<neshpion> does irb use GNU readline?
<adam12> neshpion: No. There's a pure ruby version called reline that it's been switched to.
Dooky has joined #ruby
<cahoots> adam12, i'd like to avoid that
gggp__ has joined #ruby
<adam12> cahoots: Using the pure ruby version or using readline?
<cahoots> adam12, this is regarding my q about optparse
<cahoots> does optparse not support flags without a param following it?
<adam12> cahoots: I'm not paying attention naturally :P
<adam12> cahoots: What happened when you used the -- tho? Your example wasn't runnable and I was feeling a bit lazy. Is `ruby` eating your params?
gggp__ has quit [Ping timeout: 250 seconds]
<cahoots> adam12, i don't want to require --
<cahoots> oh i see your q
<cahoots> adam12, if i use --, then optparse doesn't work at all. it doesn't process any args
<cahoots> even though ARGV looks correct
<adam12> cahoots: Ok interesting.
<adam12> cahoots: I fixed your example to make it runnable and it seems OK here. What version of Ruby are you on?
<cahoots> adam12, ah the missing comma
<cahoots> ffs
<adam12> Yeah, but it was more than that. I suspect it was the copy/paste from the link you provided, and not going to the `raw`. The errors were very strange.
<adam12> (it ended up only being the comma in the end but I gave up because lazy)
<adam12> -:8: syntax error, unexpected '='
<adam12> = true
graywolf has joined #ruby
<cahoots> hm
<adam12> Anyways, it doesn't matter. I see it working; curious what you're seeing?
<cahoots> it works for me now
gggp__ has joined #ruby
Oxfuxxx has quit [Ping timeout: 244 seconds]
Oxfuxxx has joined #ruby
MalkbabY has joined #ruby
MalkbabY_ has quit [Ping timeout: 250 seconds]
gggp__ has quit [Ping timeout: 250 seconds]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
neshpion has quit [Ping timeout: 276 seconds]
neshpion has joined #ruby
fandre1986 has quit [Quit: Connection closed]
Dooky has quit [Quit: Textual IRC Client: www.textualapp.com]
dachi_ has quit [Ping timeout: 240 seconds]
Oxfuxxx has quit [Quit: leaving]
_ht has quit [Remote host closed the connection]
xuochi has quit [Quit: leaving]
graywolf has quit [Quit: WeeChat 3.2]
techsurvivor has joined #ruby
Oxfuxxx has joined #ruby
rodd has left #ruby [WeeChat 2.8]
benjaminoakes has joined #ruby
ur5us has joined #ruby
Oxfuxxx has quit [Ping timeout: 244 seconds]
jpw has quit [Remote host closed the connection]
goepsilongo_ has quit [Quit: Textual IRC Client: www.textualapp.com]
cahoots has quit [Ping timeout: 244 seconds]
techsurvivor has quit [Ping timeout: 252 seconds]
cahoots has joined #ruby
cahoots has quit [Ping timeout: 252 seconds]
lunarkitty has joined #ruby
cahoots has joined #ruby
Oxfuxxx has joined #ruby
cahoots has quit [Ping timeout: 252 seconds]
MalkbabY_ has joined #ruby
MalkbabY has quit [Ping timeout: 244 seconds]
cahoots has joined #ruby
cahoots has quit [Ping timeout: 244 seconds]
benjaminoakes has quit [Quit: Client closed]
hololeap_ has joined #ruby