<CuriousMind>
I didn't understand what XHR was so I researched that. After doing all this, I think `local: true` means that when the form is submitted it won't execute a XmlHttpRequest. Am I correct?
shinnya has joined #ruby
emilford has quit [Ping timeout: 256 seconds]
emilford has joined #ruby
jyaworski has joined #ruby
karapetyan has joined #ruby
bayprogrammer has quit [Quit: WeeChat 2.0.1]
karapetyan has quit [Ping timeout: 260 seconds]
emilford has quit [Ping timeout: 245 seconds]
emilford has joined #ruby
caoraivoso has joined #ruby
<caoraivoso>
hi
<havenwood>
caoraivoso: hi
emilford has quit [Ping timeout: 260 seconds]
houhoulis has joined #ruby
<caoraivoso>
I'm curious if there is a better way to do this? n.to_s.chars.to_a.reverse.each_slice(3).map(&:join).join(",").reverse I'm trying to format numbers like 1234 to 1,234, 987654321 to 987,654,321 and so on
\void has quit [Quit: So long, and thanks for all the fish.]
emilford has joined #ruby
sanscoeur has joined #ruby
physicist__ has joined #ruby
jyaworski has joined #ruby
emilford has quit [Ping timeout: 268 seconds]
banisterfiend has joined #ruby
emilford has joined #ruby
reber has joined #ruby
sanscoeur has quit [Ping timeout: 252 seconds]
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
p0p0pr37_ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
emilford has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
_antares_ has quit [Remote host closed the connection]
p0p0pr37 has quit [Ping timeout: 248 seconds]
p0p0pr37_ is now known as p0p0pr37
Guest49912 is now known as ged
ged is now known as Guest38959
shinnya has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has quit []
mlkkk has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
jyaworski has quit [Ping timeout: 248 seconds]
conta has quit [Ping timeout: 256 seconds]
mlkkk has joined #ruby
_antares_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
mlkkk has quit [Ping timeout: 260 seconds]
schleppel has joined #ruby
kapil___ has joined #ruby
xuyuheng has joined #ruby
arashb has quit [Ping timeout: 256 seconds]
jyaworski has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
emilford has joined #ruby
banisterfiend has joined #ruby
sytherax has quit [Ping timeout: 252 seconds]
emilford has quit [Ping timeout: 256 seconds]
biberu has joined #ruby
emilford has joined #ruby
tvw has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
phaul has quit [Ping timeout: 245 seconds]
jyaworski has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
jyaworski has quit [Ping timeout: 240 seconds]
mlh has joined #ruby
<mlh>
hi people
<mlh>
is slosh a line continuation char?
<mlh>
e.g.
<mlh>
g = 1 + 2 \
<mlh>
+ 3 + 4
<mlh>
g should equal 10 I think but I get 7 as if the second line is a separate expression
ta_ has joined #ruby
sanscoeur has joined #ruby
conta has joined #ruby
<mlh>
I know could end the first line with a + to indicate continuation. Just curious.
jrm has quit [Quit: ciao]
jrm has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mtkd has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
reber has left #ruby ["Leaving"]
sanscoeur has quit [Ping timeout: 264 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
reber has joined #ruby
jinie has joined #ruby
jrabe has left #ruby ["Leaving all channels"]
amar has joined #ruby
jrabe has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
lightstalker has quit [Ping timeout: 252 seconds]
amar has quit [Ping timeout: 252 seconds]
mtkd has quit []
mtkd has joined #ruby
lightstalker has joined #ruby
emilford has joined #ruby
mlh has quit [Quit: leaving]
Guest38959 is now known as ged
nicesignal has quit [Remote host closed the connection]
ged is now known as Guest10188
nicesignal has joined #ruby
mlh has joined #ruby
<mlh>
anyone?
karapetyan has joined #ruby
emilford has quit [Ping timeout: 252 seconds]
karapetyan has quit [Ping timeout: 245 seconds]
Dimik has quit [Ping timeout: 240 seconds]
<apeiros>
mlh: yes, \ "escapes" the newline
mtkd has quit []
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
emilford has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
jyaworski has joined #ruby
ldepandis has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
clemens3 has joined #ruby
mtkd has joined #ruby
sysfault has quit [Ping timeout: 260 seconds]
clemens3_ has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
_antares_ has quit [Remote host closed the connection]
marr has joined #ruby
emilford has quit [Ping timeout: 240 seconds]
emilford has joined #ruby
white_lilies has quit [Ping timeout: 240 seconds]
sanscoeur has joined #ruby
sanscoeur has quit [Ping timeout: 256 seconds]
p0p0pr37_ has joined #ruby
emilford has quit [Ping timeout: 268 seconds]
sytherax has joined #ruby
p0p0pr37 has quit [Ping timeout: 245 seconds]
p0p0pr37_ is now known as p0p0pr37
ta_ has joined #ruby
emilford has joined #ruby
jenrzzz has joined #ruby
mtkd has quit []
jenrzzz has quit [Ping timeout: 256 seconds]
apparition has joined #ruby
_antares_ has joined #ruby
emilford has quit [Ping timeout: 256 seconds]
xuyuheng has quit [Ping timeout: 260 seconds]
emilford has joined #ruby
Guest10188 is now known as ged
ged is now known as Guest30985
TomyLobo has joined #ruby
DarthGandalf has quit [Quit: Bye]
DarthGandalf has joined #ruby
emilford has quit [Ping timeout: 245 seconds]
mtkd has joined #ruby
JWOUNLsIRwa2 has joined #ruby
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
<JWOUNLsIRwa2>
THIS IS AN EMERGENCY NOTICE THIS IS NOT SPAM: THIS NOTICE IS CURRENTLY GOING OUT TO ALL CHANNELS THROUGH THE FREENODE EMERGENCY NOTIFICATION SYSTEM: GRUMBLE HAS INADVERTENTLY NOT RESET THE FREENODE SECURITY PASSWORD CAUSING A BREAK IN FREENODE SECURITY WHERE ALL PASSWORDS HAVE BEEN RELEASED. PLEASE SEE GRUMLE IN #FREENODE FOR INFORMATION ON HOW TO SECURE YOUR ACCOUNT!!
Puffball has quit [Remote host closed the connection]
InfinityFye has left #ruby [#ruby]
xuyuheng has quit [Ping timeout: 252 seconds]
Puffball has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
duderono_ has quit [Read error: Connection reset by peer]
houhoulis has joined #ruby
<apeiros>
uh, require_relative's entire point is that it is location dependent.
<apeiros>
use require if you don't want that (and make sure your $LOAD_PATH is set up properly by the executable)
duderonomy has joined #ruby
* apeiros
also still thinks using require_relative is doing it wrong (puts knowledge where it does not belong)
mtkd has joined #ruby
<leitz>
Just getting back to the code, forgot a lot.
Guest27541 is now known as ged
ged is now known as Guest72776
<leitz>
Okay, that makes sense. Adding "test" to the LOAD_PATH and then removing the "_relative" works.
ta_ has quit [Remote host closed the connection]
sanscoeur has joined #ruby
<leitz>
Well, not really. If I cd into test, it fails.
<leitz>
Dang.
<leitz>
Wait, I think I see it.
<leitz>
Hmm...nope. Still letting the coffee kick in.
<leitz>
Will just let lt run from the project directory.
p0p0pr37_ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
xuyuheng has joined #ruby
sanscoeur has quit [Ping timeout: 245 seconds]
<apeiros>
rereading what you wrote though I have to add this:
<apeiros>
require_relative does NOT depend on where you run the script from
<apeiros>
it solely depends on where the file is located from which you call it
p0p0pr37 has quit [Ping timeout: 265 seconds]
<leitz>
Ah, gotcha. I'm working on my tests. First comes coverage.
p0p0pr37_ is now known as p0p0pr37
jarnalyrkar has joined #ruby
xuyuheng has quit [Ping timeout: 240 seconds]
ellcs has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
xuyuheng has joined #ruby
jarnalyrkar has quit [Read error: Connection reset by peer]
jarnalyrkar has joined #ruby
roshanavand has joined #ruby
conta has joined #ruby
xuyuheng has quit [Ping timeout: 248 seconds]
roshanavand has quit [Ping timeout: 265 seconds]
xuyuheng has joined #ruby
beefjoe has quit [Ping timeout: 245 seconds]
mtkd has quit []
mroutis has quit [Read error: Connection reset by peer]
mroutis has joined #ruby
xuyuheng has quit [Ping timeout: 260 seconds]
xuyuheng has joined #ruby
Puffball has quit [Remote host closed the connection]
BH23 has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
xuyuheng has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
jyaworski has joined #ruby
_antares_ has joined #ruby
xuyuheng has joined #ruby
_antares_ has quit [Ping timeout: 276 seconds]
xuyuheng has quit [Ping timeout: 260 seconds]
samwheel has joined #ruby
lupine has quit [Read error: Connection reset by peer]
xuyuheng has joined #ruby
jyaworski has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
sanscoeur has joined #ruby
beefjoe has joined #ruby
ellcs has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
amelliaa has joined #ruby
sanscoeur has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
lupine has joined #ruby
Guest72776 is now known as ged
shinnya has quit [Ping timeout: 240 seconds]
ged is now known as Guest24007
samwheel has quit [Quit: Leaving]
xuyuheng has quit [Quit: Quit: My MacBook Pro has gone to sleep. ZZZzzz?]
shinnya has joined #ruby
beefjoe has quit [Remote host closed the connection]
jyaworski has joined #ruby
ciscam has quit [Ping timeout: 260 seconds]
ciscam has joined #ruby
DLSteve has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
beefjoe has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
mroutis has quit [Ping timeout: 260 seconds]
thapakazi has quit [Ping timeout: 260 seconds]
MzrE has joined #ruby
MzrE2 has joined #ruby
MzrE2 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jyaworski has quit [Ping timeout: 252 seconds]
suukim has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
tvw has quit []
kapil___ has joined #ruby
tvN has joined #ruby
tvN has left #ruby [#ruby]
jyaworski has joined #ruby
venmx has joined #ruby
<leitz>
Sorry for being confused. If I declare a Hash outside of a method, can't the method see the Hash?
<leitz>
Not in a class, just a new hash at the beginning of the file and then a method that uses it. Or does the hash need to be passed to the file?
<apeiros>
what the object is is unrelated. what you assign it to is relevant.
<apeiros>
if you assign it to a local variable, then no, it can't see it. because locale variables are just that: local. methods create their own lvar scope.
jarnalyrkar has quit [Read error: Connection reset by peer]
banisterfiend has quit [Client Quit]
Guest10935 has quit [Quit: Hey, what's that button do?]
cats has joined #ruby
desperek has joined #ruby
Guest73321 is now known as ged
ged is now known as Guest52703
jyaworski has joined #ruby
banisterfiend has joined #ruby
ta_ has joined #ruby
banisterfiend has quit [Client Quit]
Mia has quit [Read error: Connection reset by peer]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jyaworski has quit [Ping timeout: 245 seconds]
mroutis has joined #ruby
banisterfiend has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
emilford has joined #ruby
<zenspider>
arne: don't bother with private... then you don't have that problem.
banisterfiend has quit [Client Quit]
<zenspider>
but you can jump through all sorts of nasty hoops with an inherited hook method or somesuch
p0p0pr37 has quit [Ping timeout: 240 seconds]
<zenspider>
not worth it in my book
p0p0pr37_ is now known as p0p0pr37
banisterfiend has joined #ruby
tvw has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
emilford has quit [Ping timeout: 256 seconds]
armyriad has quit [Ping timeout: 260 seconds]
roshanavand has quit [Ping timeout: 245 seconds]
emilford has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
duderonomy has quit [Ping timeout: 252 seconds]
jyaworski has joined #ruby
venmx has quit [Ping timeout: 248 seconds]
roshanavand has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
codymj has quit [Quit: Leaving]
roshanavand has quit [Ping timeout: 245 seconds]
dbugger_ has quit [Ping timeout: 245 seconds]
emilford has joined #ruby
venmx has quit [Remote host closed the connection]
emilford has quit [Ping timeout: 248 seconds]
prutheus has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
<prutheus>
Hello. I am using selenium-webdriver with the chrome driver on my ruby project. I want to use http proxies to make my browsing anonymous. I use that setting for it: https://bpaste.net/show/acc224f63f2d but for some reason, the driver does not have the ip of the proxy, instead it has the server ip ... why?
<prutheus>
Why is my proxy not working via that method?
jyaworski has quit [Ping timeout: 245 seconds]
reber has quit [Read error: Connection reset by peer]
jyaworski has joined #ruby
Guest44951 has quit []
postmodern has joined #ruby
ELLIOTTCABLE has joined #ruby
emilford has joined #ruby
mroutis has quit [Read error: Connection reset by peer]
mroutis_ has joined #ruby
armyriad has joined #ruby
sanscoeur has joined #ruby
physicist__ has quit [Quit: Lost terminal]
emilford has quit [Ping timeout: 268 seconds]
emilford has joined #ruby
_antares_ has joined #ruby
sanscoeur has quit [Ping timeout: 268 seconds]
prutheus has quit [Quit: Page closed]
plexigras has quit [Ping timeout: 268 seconds]
Guest17221 is now known as larissa
emilford has quit [Ping timeout: 240 seconds]
_antares_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
emilford has joined #ruby
armyriad has quit [Quit: Leaving]
emilford has quit [Ping timeout: 256 seconds]
lytol has quit [Remote host closed the connection]
emilford has joined #ruby
jenrzzz has joined #ruby
larissa has quit [Quit: bye]
Guest52703 is now known as ged
ged is now known as Guest99338
jyaworski has quit [Ping timeout: 264 seconds]
karapetyan has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
sauvin has quit [Remote host closed the connection]
emilford has quit [Ping timeout: 245 seconds]
larissa has joined #ruby
banisterfiend has joined #ruby
shaman42 has quit [Ping timeout: 276 seconds]
shaman42 has joined #ruby
karapety_ has joined #ruby
docyam2 has joined #ruby
docyam2 has quit [Client Quit]
karapetyan has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]