thejamespinto has quit [Remote host closed the connection]
thejamespinto has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
goatish has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
pwnd_nsfw` has joined #ruby
bkxd has joined #ruby
Dark_Arc has quit [Ping timeout: 256 seconds]
Dark_Arc has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
elphe_ has joined #ruby
ltp has quit [Ping timeout: 256 seconds]
ltp has joined #ruby
paradisaeidae has quit [Client Quit]
paradisaeidae_ has quit [Client Quit]
elphe has quit [Ping timeout: 256 seconds]
yokel has quit [Ping timeout: 256 seconds]
Kero has quit [Ping timeout: 256 seconds]
pwnd_nsfw has quit [Ping timeout: 256 seconds]
Kero has joined #ruby
Toggi3 has quit [Ping timeout: 240 seconds]
ta__ has joined #ruby
ta__ has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
Toggi3 has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
amatas has quit [Quit: amatas]
Toggi3 has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
crankharder has joined #ruby
milardovich has joined #ruby
arthurnn has quit [Ping timeout: 260 seconds]
arthurnn has joined #ruby
elphe_ has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 248 seconds]
yaiyaichu has joined #ruby
elphe_ has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
chocoelho has quit [Ping timeout: 256 seconds]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
imode has joined #ruby
desperek has quit [Quit: xoxo]
bkxd has quit [Ping timeout: 246 seconds]
bkxd has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
ResidentBiscuit has joined #ruby
apeiros has joined #ruby
ur5us has joined #ruby
troulouliou_div2 has joined #ruby
proteanthread has joined #ruby
ResidentBiscuit has quit []
thejamespinto has quit [Remote host closed the connection]
thejamespinto has joined #ruby
cdg has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 248 seconds]
thejamespinto has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil___ has quit [Quit: Connection closed for inactivity]
thejamespinto has joined #ruby
railshelpneeded has joined #ruby
despai has quit [Quit: ...]
<railshelpneeded>
Hi. I have a question about ruby on rails. The question is, does ruby on rails handle every http request in a separate thread? thank you :)
<railshelpneeded>
btw I tried joining #rubyonrails but they require me to make an account. And I'm not sure I want to make one for such a simple question. Any ideas?
alfiemax has quit [Remote host closed the connection]
<havenwood>
Guest47: You can explore Ruby stdlib from Pry as well. Or just use ri.
<havenwood>
?pry
<ruby[bot]>
Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<Guest47>
thanks man, looking forward to working more with ruby
alex`` has joined #ruby
konsolebox has quit [Ping timeout: 264 seconds]
Phage has quit [Ping timeout: 276 seconds]
konsolebox has joined #ruby
alfiemax has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
bkxd has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
TinkerTyper has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 260 seconds]
alfiemax_ has joined #ruby
TinkerTyper has joined #ruby
crankharder has joined #ruby
Dreamer3 has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
<baweaver>
kapil___: do you know about algorithmic complexity?
<baweaver>
essentially you're looping over the entire file multiple times
konsolebox has quit [Ping timeout: 248 seconds]
<baweaver>
you want to do it exactly once.
ur5us has joined #ruby
<baweaver>
does the real file look very different? There have been cases in the past where you leaving out information caused some confusion and prevented people from giving you a decent answer.
konsolebox has joined #ruby
<baweaver>
Here are your hints though for as I see it currently: you need a flag and probably a hash
<baweaver>
I'll leave you to guess a bit on what those are and why they might be relevant here
DoubleMalt has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 246 seconds]
sanscoeur has joined #ruby
bkxd_ has joined #ruby
bronson has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 248 seconds]
ldv has joined #ruby
mtkd has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 248 seconds]
sanscoeur has quit [Ping timeout: 246 seconds]
<kapil___>
baweaver: thanks. i am doing wrong but its working. i want to refactor it. I dont get how to use a flag?
al2o3-cr has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
mlehrer has quit [Ping timeout: 260 seconds]
oleo has joined #ruby
ledestin has joined #ruby
bkxd_ has quit [Read error: Connection reset by peer]
ta_ has quit [Remote host closed the connection]
n13z has joined #ruby
n13z has quit [Client Quit]
n13z has joined #ruby
yaiyaichu has quit [Quit: leaving]
crankharder has quit [Ping timeout: 248 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
ldv has quit [Ping timeout: 260 seconds]
Toggi3 has quit [Ping timeout: 248 seconds]
elphe has quit [Quit: Lost terminal]
bkxd has joined #ruby
bkxd_ has joined #ruby
x0f has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
ldv has joined #ruby
ta__ has joined #ruby
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 264 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
Ltem has joined #ruby
crankharder has joined #ruby
x0f has joined #ruby
InfinityFye has joined #ruby
plexigras has joined #ruby
amatas has joined #ruby
alfiemax has joined #ruby
mlehrer has joined #ruby
alex`` has quit [Quit: WeeChat 1.9]
mostlybadfly has quit [Quit: Connection closed for inactivity]
DTZUZU has quit [Ping timeout: 248 seconds]
anisha has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
ta__ has quit [Ping timeout: 248 seconds]
infernix has quit [Ping timeout: 276 seconds]
jnyw has quit [Quit: WeeChat 2.0.1]
vichib has joined #ruby
ta_ has joined #ruby
reber has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
conta has joined #ruby
ianb-coder has joined #ruby
bkxd has joined #ruby
tvw has quit []
ianb-coder has quit [Quit: Leaving]
cochi has quit [Ping timeout: 265 seconds]
infernix has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
plexigras has quit [Ping timeout: 268 seconds]
plexigras has joined #ruby
cochi has joined #ruby
cochi has joined #ruby
cochi has quit [Changing host]
al2o3-cr has joined #ruby
alfiemax has quit [Remote host closed the connection]
al2o3-cr has quit [Client Quit]
reber has quit [Remote host closed the connection]
bkxd has joined #ruby
xuyuheng has quit [Ping timeout: 264 seconds]
reber has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
al2o3-cr has joined #ruby
Puffball has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 246 seconds]
konsolebox has joined #ruby
xuyuheng has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has joined #ruby
bkxd has quit []
ldv has quit [Quit: WeeChat 2.0.1]
ta_ has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
xuyuheng has quit [Ping timeout: 248 seconds]
sanscoeur has joined #ruby
reber has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 268 seconds]
mtkd has quit [Ping timeout: 268 seconds]
ta_ has joined #ruby
vichib has quit [Remote host closed the connection]
sanscoeur has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
justinfaler has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
elcontrastador has quit [Ping timeout: 268 seconds]
linuxdaemon has joined #ruby
xuyuheng has joined #ruby
amatas has quit [Quit: amatas]
tomphp has joined #ruby
xuyuheng has quit [Ping timeout: 268 seconds]
arquebus|2 has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
crankharder has quit [Ping timeout: 240 seconds]
ta__ has joined #ruby
arquebus|2 has quit [Client Quit]
arquebus|2 has joined #ruby
arquebus|2 has quit [Client Quit]
ta__ has quit [Ping timeout: 246 seconds]
ta_ has quit [Ping timeout: 248 seconds]
justinfaler has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
szulak has quit [Ping timeout: 240 seconds]
szulak has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xuyuheng has joined #ruby
al2o3-cr has joined #ruby
ta_ has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
tomphp has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
crankharder has joined #ruby
xuyuheng has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 248 seconds]
xuyuheng has joined #ruby
plexigras has quit [Ping timeout: 248 seconds]
rrutkowski has joined #ruby
plexigras has joined #ruby
rrutkowski has quit [Remote host closed the connection]
cdg has joined #ruby
conta has quit [Ping timeout: 268 seconds]
rrutkowski has joined #ruby
seraphim5B has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
alfiemax has joined #ruby
justinfaler has quit [Ping timeout: 248 seconds]
conta has joined #ruby
alfiemax_ has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby
konsolebox has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
sameerynho has joined #ruby
justinfaler has joined #ruby
konsolebox has quit [Ping timeout: 246 seconds]
xuyuheng has quit [Ping timeout: 248 seconds]
crankharder has quit [Ping timeout: 248 seconds]
goatish has joined #ruby
konsolebox has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Remote host closed the connection]
tlaxkit has joined #ruby
cdg has joined #ruby
GremL1N2 has joined #ruby
GremL1N has quit [Ping timeout: 264 seconds]
za1b1tsu has joined #ruby
<za1b1tsu>
Hi
<za1b1tsu>
From what I see when using % for string, it does not matter if we (), [], {}. It makes absolutely no dif. Is this correct?
imode has quit [Ping timeout: 246 seconds]
banko has quit [Quit: Connection closed for inactivity]
cdg has quit [Ping timeout: 276 seconds]
n13z has quit [Quit: leaving]
desperek has joined #ruby
vichib has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
justinfaler has quit [Ping timeout: 248 seconds]
xuyuheng has joined #ruby
claudiuinberlin has joined #ruby
crankharder has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
seraphim5B has quit [Quit: Leaving]
justinfaler has joined #ruby
bronson has joined #ruby
minimalism has quit [Quit: minimalism]
marr has quit [Ping timeout: 246 seconds]
sanscoeur has joined #ruby
jottr has quit [Quit: WeeChat 2.0.1]
deadnull has joined #ruby
xuyuheng has quit [Ping timeout: 268 seconds]
bronson has quit [Ping timeout: 248 seconds]
sanscoeur has quit [Ping timeout: 268 seconds]
conta has joined #ruby
alfiemax has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
xuyuheng has joined #ruby
mtkd has joined #ruby
apparition has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
conta has quit [Ping timeout: 268 seconds]
xuyuheng has quit [Ping timeout: 248 seconds]
xuyuheng has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
tomphp has joined #ruby
xuyuheng has quit [Ping timeout: 248 seconds]
ta__ has joined #ruby
xuyuheng has joined #ruby
jottr has joined #ruby
John_Ivan has joined #ruby
shinnya has quit [Ping timeout: 246 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta__ has quit [Ping timeout: 248 seconds]
ta_ has quit [Ping timeout: 240 seconds]
xuyuheng has quit [Quit: Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xuyuheng has joined #ruby
xuyuheng has quit [Client Quit]
xuyuheng has joined #ruby
crankharder has quit [Ping timeout: 248 seconds]
xuyuheng has quit [Client Quit]
xuyuheng has joined #ruby
ta_ has joined #ruby
AJA4350 has joined #ruby
roshanavand has joined #ruby
knight33 has joined #ruby
<Bilge>
jej
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<al2o3-cr>
does Process.argv0 give anyone else random output in pry (with ruby 2.5.0)?
<al2o3-cr>
it works in irb.
_aeris_ has joined #ruby
<al2o3-cr>
it even segfaults sometimes.
konsolebox has quit [Ping timeout: 240 seconds]
Kugz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
justinfaler has quit [Ping timeout: 268 seconds]
chussenot has joined #ruby
ta_ has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood>
al2o3-cr: Yes, same here.
justinfaler has joined #ruby
<al2o3-cr>
hmm, weird. i would why this is happening.
konsolebox has quit [Ping timeout: 246 seconds]
<al2o3-cr>
*wonder
<al2o3-cr>
must be a bug in pry itself.
konsolebox has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Quit: 你变得越安静,你就越能听到]
tomphp has joined #ruby
tomphp has quit [Client Quit]
alfiemax has joined #ruby
al2o3-cr has joined #ruby
_aeris_ has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 248 seconds]
_aeris_ has joined #ruby
apeiros has joined #ruby
apparition has quit [Quit: Bye]
Mia has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 248 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
justinfaler has quit [Ping timeout: 246 seconds]
thejamespinto has quit [Remote host closed the connection]
thejamespinto has joined #ruby
ta_ has joined #ruby
jtdoncas_ has joined #ruby
justinfaler has joined #ruby
crankharder has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
wolfshappen has quit [Ping timeout: 268 seconds]
jinie has quit [Ping timeout: 265 seconds]
jinie has joined #ruby
mostlybadfly has joined #ruby
DTZUZU has joined #ruby
roger_rabbit has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
sanscoeur has joined #ruby
roger_rabbit has joined #ruby
wolfshappen has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
sanscoeur has quit [Ping timeout: 248 seconds]
ta__ has joined #ruby
tomphp has joined #ruby
ta__ has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
chussenot has quit [Quit: chussenot]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zipace has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
k0mpa has joined #ruby
justinfaler has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
justinfaler has joined #ruby
DLSteve has joined #ruby
tomphp has joined #ruby
xuyuheng has quit [Quit: Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nadir has joined #ruby
<za1b1tsu>
regarding enumerators specifically Enumerator.new |yielder| yielder.yield. I really dont understand the yielder.yield part. Why cant we have just yield?
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
k0mpa has quit [Ping timeout: 255 seconds]
crankharder has joined #ruby
Azure has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
za1b1tsu has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
lupine has quit [Remote host closed the connection]
lupine has joined #ruby
vichib has joined #ruby
ta_ has joined #ruby
nwm has joined #ruby
roshanavand has left #ruby [#ruby]
alfiemax has quit [Read error: Connection reset by peer]
<jhass>
craysiii: now the challenge is finding an HTTP client which lets you construct the socket yourself I guess
Kugz has quit [Ping timeout: 268 seconds]
<craysiii>
yeah, im using Faraday, so i have a range of choices, seems Net::HTTP has local_host local_port option but I wanted to avoid Net::HTTP so my search continues
Toggi3 has quit [Ping timeout: 240 seconds]
<jhass>
wouldn't be surprised if it'll be your best bet at the end tbh
Yzguy has joined #ruby
<craysiii>
yeah, trying to balance API calls over multiple interfaces to avoid getting banned
<craysiii>
instead of spinning up new vps
mtkd has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
<jhass>
looks like httpclient has the option too, but it's all ruby so no idea what would be the point of using it over net/http
mtkd has joined #ruby
gothicsouth has quit [Ping timeout: 260 seconds]
claudiuinberlin has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 256 seconds]
amatas has quit [Quit: amatas]
Ltem has quit [Quit: good night]
<jhass>
okay, I see localport and localportrange and actually an interface option in typheous (well, ethon)
Toggi3 has joined #ruby
alfiemax_ has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
Toggi3 has quit [Ping timeout: 260 seconds]
<craysiii>
yeah i wanted to move towards typheous anyway, ill check that out
Toggi3 has joined #ruby
darkhanb has joined #ruby
marr has joined #ruby
Yzguy has quit [Read error: Connection reset by peer]
alfiemax_ has quit [Remote host closed the connection]