baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.4.6: 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!
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
skryking__ has joined #ruby
sameerynho has quit [Ping timeout: 244 seconds]
skryking_ has quit [Ping timeout: 255 seconds]
kyrylo has quit [Ping timeout: 246 seconds]
houhoulis has joined #ruby
agent_white has quit [Remote host closed the connection]
cnsvc has quit [Ping timeout: 256 seconds]
speakingcode has quit [Ping timeout: 250 seconds]
sgen has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 255 seconds]
govg has joined #ruby
fphilipe has joined #ruby
spiette has quit [Quit: ZNC 1.7.3 - https://znc.in]
laaron- has joined #ruby
laaron has quit [Remote host closed the connection]
spiette has joined #ruby
steffes has joined #ruby
cnsvc has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
altigraph has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.4]
jenrzzz has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
jenrzzz has joined #ruby
OneNeptune has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
krawchyk has quit [Quit: krawchyk]
fphilipe has quit [Ping timeout: 258 seconds]
zacts has joined #ruby
manveru has quit [Ping timeout: 250 seconds]
gajus has quit [Ping timeout: 250 seconds]
jhill has quit [Ping timeout: 240 seconds]
kevinsjoberg has quit [Ping timeout: 240 seconds]
ec has quit [Ping timeout: 258 seconds]
Lewix has quit [Ping timeout: 264 seconds]
JJonah has quit [Read error: Connection reset by peer]
laaron- has quit [Remote host closed the connection]
laaron has joined #ruby
fishcooker has joined #ruby
weteamsteve has joined #ruby
orbyt_ has joined #ruby
speakingcode has joined #ruby
raggi has quit [Read error: Connection reset by peer]
englishm has quit [Ping timeout: 258 seconds]
uranoss has joined #ruby
uranoss has quit [Client Quit]
lucasb has quit [Quit: Connection closed for inactivity]
uranoss has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
<fishcooker> it was working the rvm installation finished, thanks phaul + zenspider
fphilipe has joined #ruby
Lewix has joined #ruby
kevinsjoberg has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
ec has joined #ruby
manveru has joined #ruby
gajus has joined #ruby
JJonah has joined #ruby
englishm has joined #ruby
jhill has joined #ruby
raggi has joined #ruby
wallace_mu has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
AJA4351 is now known as AJA4350
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
fphilipe has quit [Ping timeout: 240 seconds]
tdy has joined #ruby
duderonomy has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz_ has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
braincrash has quit [Quit: bye bye]
hightower2 has joined #ruby
weteamsteve has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
Jello_Raptor has quit [Ping timeout: 255 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jello_Raptor has joined #ruby
steffes has quit []
al-damiri has joined #ruby
gix has joined #ruby
AJA4351 has joined #ruby
edual has quit [Read error: Connection reset by peer]
eduardo has joined #ruby
AJA4350 has quit [Ping timeout: 258 seconds]
AJA4351 is now known as AJA4350
gix- has quit [Ping timeout: 258 seconds]
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eduardo has quit [Remote host closed the connection]
orbyt_ has joined #ruby
jhill has quit [Ping timeout: 255 seconds]
gajus has quit [Ping timeout: 244 seconds]
JJonah_ has joined #ruby
gajus has joined #ruby
JJonah has quit [Ping timeout: 255 seconds]
JJonah_ is now known as JJonah
jhill has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Ping timeout: 255 seconds]
altigraph has quit [Remote host closed the connection]
altigraph has joined #ruby
bambanx has joined #ruby
AJA4350 has quit [Quit: AJA4350]
dsmythe has quit [Ping timeout: 246 seconds]
fphilipe has joined #ruby
cthulchu has quit [Ping timeout: 246 seconds]
APK has joined #ruby
AKPWD has quit [Read error: Connection reset by peer]
rhuang has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rhuang has quit [Quit: WeeChat 2.4]
rhuang has joined #ruby
marmotini_ has joined #ruby
grvgr has quit [Quit: Connection closed for inactivity]
spiette has quit [Quit: ZNC 1.7.3 - https://znc.in]
fphilipe has quit [Ping timeout: 276 seconds]
zacts has quit [Quit: WeeChat 2.4]
spiette has joined #ruby
reber has joined #ruby
xco has joined #ruby
rhuang has quit [Ping timeout: 250 seconds]
dsmythe has joined #ruby
bambanxx has joined #ruby
reber has quit [Remote host closed the connection]
reber has joined #ruby
sauvin has joined #ruby
dsmythe has quit [Remote host closed the connection]
jenrzzz has joined #ruby
dsmythe has joined #ruby
bambanx has quit [Ping timeout: 246 seconds]
kapil____ has joined #ruby
fphilipe has joined #ruby
hightower2 has quit [Ping timeout: 244 seconds]
conta has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
cthulchu has joined #ruby
ur5us has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
xco has quit [Quit: xco]
Inline has quit [Quit: Leaving]
gix has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
al-damiri has quit [Quit: Connection closed for inactivity]
crankharder has joined #ruby
clemens3 has quit [Ping timeout: 245 seconds]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
RyanMcCoskrie has joined #ruby
m_antis has quit [Quit: m_antis]
laaron has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
dsmythe has quit [Ping timeout: 244 seconds]
fishcooker has quit [Quit: Leaving.]
ramfjord has joined #ruby
laaron has quit [Remote host closed the connection]
marmotini_ has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
laaron has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
crankharder has joined #ruby
andikr has joined #ruby
clemens3 has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
clemens3 has quit [Remote host closed the connection]
tdy has joined #ruby
jhill has quit []
jhill has joined #ruby
ec has quit []
ec has joined #ruby
englishm has quit []
englishm has joined #ruby
Dbugger has joined #ruby
dsmythe has joined #ruby
spacesuitdiver has joined #ruby
roadt has joined #ruby
Emmanuel_Chanel has joined #ruby
aupadhye has joined #ruby
clemens3 has joined #ruby
dsmythe has quit [Read error: Connection reset by peer]
dsmythe has joined #ruby
lxsameer has joined #ruby
claudiuinberlin has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
tdy has quit [Ping timeout: 255 seconds]
Dbugger has quit [Ping timeout: 250 seconds]
<dionysus69> is anyone interested in a hobby project to create blockchain from scratch? including its decentralized nature of course
ricekrispie has joined #ruby
ricekrispie2 has quit [Ping timeout: 250 seconds]
<ozzloy> i'm going to guess the answer is yes
<dionysus69> one more question, since binance has the payment_id thing I have to also implement it... boss's orders I guess, so when I read the payment id can be a 32 or 64 bit string, what does it mean?
<dionysus69> lol wrong channel, ozzloy pm I guess :P
bambanxx has quit [Quit: Leaving]
fishcooker has joined #ruby
hightower2 has joined #ruby
Tuor has joined #ruby
jefffrails35 has joined #ruby
sphenxes has joined #ruby
_joes_ has joined #ruby
cgfbee has quit [Quit: cgfbee]
tdy has joined #ruby
Tuor has quit [Read error: Connection reset by peer]
Tuor has joined #ruby
Tuor has quit [Changing host]
Tuor has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
fphilipe has quit [Ping timeout: 250 seconds]
claudiuinberlin has joined #ruby
mikecmpbll has joined #ruby
spacesuitdiver has quit [Read error: Connection reset by peer]
spacesuitdiver has joined #ruby
ramfjord has joined #ruby
sphenxes has quit [Ping timeout: 245 seconds]
dsmythe has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
fphilipe has joined #ruby
claudiuinberlin has joined #ruby
jenrzzz has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsmythe has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
stooj has quit [Ping timeout: 268 seconds]
stooj has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
fphilipe has joined #ruby
_joes_ has quit [Quit: _joes_]
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
DTZUZO has quit [Ping timeout: 255 seconds]
tdy has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 258 seconds]
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
kyrylo has joined #ruby
dsmythe has quit [Ping timeout: 255 seconds]
Jonopoly has joined #ruby
m_antis has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
Raven737 has joined #ruby
dsmythe has joined #ruby
conta has quit [Ping timeout: 246 seconds]
dar123 has joined #ruby
RyanMcCoskrie has quit [Remote host closed the connection]
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
sphenxes has joined #ruby
Raven737 has quit [Ping timeout: 256 seconds]
altigraph has quit [Ping timeout: 255 seconds]
marmotini_ has joined #ruby
tj_ has joined #ruby
AJA4350 has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
conta has joined #ruby
lunarkitty7 has joined #ruby
<tj_> hi folks.. I have been using Ruby plugin within Apache Netbeans 10. I had my Ruby env configured to use FastDebugger. Suddenly out of nowhere I am getting this error msg
<ruby[bot]> tj_: as I told you already, please use https://gist.github.com
Junaos_ has joined #ruby
<tj_> any help would be appreciated
fowlduck_ has joined #ruby
lele` has joined #ruby
<tj_> and most important - it says Could not find 'nokogiri' (~> 1.10) - did find: [nokogiri-1.8.0-x64-mingw32]
fowlduck has quit [Ping timeout: 252 seconds]
Junaos has quit [Read error: Connection reset by peer]
nemesit|znc has quit [Ping timeout: 252 seconds]
lele has quit [Ping timeout: 252 seconds]
fowlduck_ is now known as fowlduck
<tj_> kind of joking I guess.. 1.8 is > 1.10
gremax has quit [Ping timeout: 252 seconds]
nemesit|znc has joined #ruby
gremax has joined #ruby
cd has quit [Quit: cd]
nowhere_man has joined #ruby
ramfjord has joined #ruby
alem0lars has joined #ruby
crankharder has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 258 seconds]
dsmythe has quit [Ping timeout: 268 seconds]
alem0lars has quit [Ping timeout: 250 seconds]
madhatter has quit [Remote host closed the connection]
madhatter has joined #ruby
FastJack_ has joined #ruby
Tuor has quit [Ping timeout: 245 seconds]
FastJack has quit [Ping timeout: 264 seconds]
Tuor has joined #ruby
Tuor has quit [Changing host]
Tuor has joined #ruby
crankharder has joined #ruby
Tuor has quit [Ping timeout: 252 seconds]
alem0lars has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jefffrails35 has quit [Ping timeout: 250 seconds]
sphenxes has quit [Quit: Leaving]
Tuor has joined #ruby
Tuor has joined #ruby
Tuor has quit [Changing host]
Tuor has quit [Client Quit]
BH23 has joined #ruby
phaul has quit [Quit: :wq]
AJA4350 has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
jefffrails35 has joined #ruby
GodFather has joined #ruby
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
Cthulu201 has joined #ruby
alem0lars has quit [Ping timeout: 252 seconds]
jud has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
nowhere_man has quit [Ping timeout: 246 seconds]
AJA4350 has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
E3lit3h4XX0r666 has joined #ruby
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
speakingcode has quit [Ping timeout: 246 seconds]
crankharder has joined #ruby
speakingcode has joined #ruby
reber has joined #ruby
reber has quit [Remote host closed the connection]
nowhere_man has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
jacksoow_ has quit [Quit: Saindo...]
jacksoow has joined #ruby
sphenxes has joined #ruby
fishcooker has left #ruby [#ruby]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
DTZUZO has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
Kestrel-029 has joined #ruby
FastJack_ has quit [Quit: leaving]
Nicmavr has quit [Ping timeout: 245 seconds]
FastJack has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
<Jonopoly> Hello i want to stress-test my api
<Jonopoly> with ruby
<Jonopoly> so i was wondering would it just be a case of running multiple-api calls
<Jonopoly> async
tj_ has quit [Remote host closed the connection]
alem0lars has joined #ruby
kyrylo has joined #ruby
<Zarthus> Jonopoly: if you don't know what you're doing, use tools that already do it for you, or your test won't be sufficient
<Zarthus> a single distrubtion stress test is weak anyway
crankharder has quit [Ping timeout: 246 seconds]
tdy1 has joined #ruby
<Jonopoly> wow :(
marmotini has joined #ruby
<Jonopoly> Well i wanted to start small, run an api call 50+ times
<Jonopoly> for 50+ different users
<Jonopoly> then just create an algorithm 1..50 users login, do x then y then logout
marmotini_ has quit [Ping timeout: 246 seconds]
Nicmavr has joined #ruby
E3lit3h4XX0r666 has quit [Ping timeout: 255 seconds]
Kestrel-029 has quit [Ping timeout: 245 seconds]
wallace_mu has joined #ruby
vondruch has quit [Ping timeout: 246 seconds]
vondruch_ has joined #ruby
vondruch_ is now known as vondruch
CBebop has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
wallace_mu has quit [Remote host closed the connection]
chrisco has joined #ruby
chrisco has left #ruby [#ruby]
zacts has joined #ruby
lucasb has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rafadc has quit [Ping timeout: 276 seconds]
pupsikov has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
xfbs has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
rafadc has joined #ruby
xfbs has joined #ruby
AJA4350 has joined #ruby
rafadc has quit [Ping timeout: 245 seconds]
rafadc has joined #ruby
marmotini has quit [Remote host closed the connection]
dante has quit [Quit: bye]
speakingcode has quit [Ping timeout: 258 seconds]
banko has quit [Quit: Connection closed for inactivity]
aupadhye has quit [Ping timeout: 244 seconds]
rafadc has quit [Ping timeout: 246 seconds]
dante has joined #ruby
rafadc has joined #ruby
vondruch has quit [Quit: vondruch]
wallace_mu has joined #ruby
vondruch has joined #ruby
wallace_mu has quit [Client Quit]
Swyper has joined #ruby
nowhere_man has joined #ruby
ellcs has quit [Ping timeout: 246 seconds]
Rapture has joined #ruby
crankharder has joined #ruby
<Jonopoly> is it possible to say
<Jonopoly> Run this function n times at same time
<Jonopoly> or do you need to set a thread foreach function
skryking__ has quit [Quit: Leaving]
zacts has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
speakingcode has joined #ruby
Swyper has quit [Remote host closed the connection]
snk has quit [Quit: WeeChat 1.9.1]
crankharder has quit [Ping timeout: 250 seconds]
gnufied has joined #ruby
spacesuitdiver has joined #ruby
Inline has joined #ruby
UncleCid__ has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 268 seconds]
crankharder has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
conta has quit [Ping timeout: 245 seconds]
Ai9zO5AP has joined #ruby
<ytti> sdfsdf
<ytti> ~-
<ytti> ~-
fphilipe has quit [Ping timeout: 268 seconds]
crankharder has quit [Ping timeout: 252 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
moei has joined #ruby
danguita has joined #ruby
jenrzzz has joined #ruby
spacesuitdiver has joined #ruby
<Jonopoly> hmm so im creating a..d (4) threads and running them
<Jonopoly> joining at the end
<Jonopoly> is there not a flexible way to run n threads and join n
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Ping timeout: 258 seconds]
fphilipe has joined #ruby
kapil____ has joined #ruby
Rakete1121 has joined #ruby
hightower2 has quit [Ping timeout: 246 seconds]
Rakete1111 has quit [Ping timeout: 246 seconds]
dsmythe has joined #ruby
mozzarella has quit [Quit: WeeChat 2.2]
sgen has joined #ruby
Swyper has joined #ruby
jcarl43 has joined #ruby
al-damiri has joined #ruby
BH23 has quit [Ping timeout: 255 seconds]
ricekrispie2 has joined #ruby
claudiuinberlin has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
ricekrispie has quit [Ping timeout: 250 seconds]
Swyper has quit [Remote host closed the connection]
ua_ has joined #ruby
Rakete1121 has quit [Quit: leaving]
ua has quit [Ping timeout: 255 seconds]
sgen has quit [Ping timeout: 276 seconds]
Jonopoly has quit [Quit: WeeChat 2.4]
AJA4350 has quit [Ping timeout: 244 seconds]
mozzarella has joined #ruby
shansen has quit [Quit: ZNC 1.7.2+deb1+bionic0 - https://znc.in]
AJA4350 has joined #ruby
Dbugger has joined #ruby
Dbugger has quit [Remote host closed the connection]
Dbugger has joined #ruby
shansen has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
conta has joined #ruby
lxsameer has quit [Quit: out]
clemens3 has quit [Ping timeout: 276 seconds]
zacts has quit [Quit: WeeChat 2.4]
OneNeptune has joined #ruby
dsmythe_ has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
dsmythe has quit [Ping timeout: 276 seconds]
agent_white has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
zacts has joined #ruby
reber has joined #ruby
duderonomy has joined #ruby
zacts has quit [Client Quit]
Swyper has joined #ruby
laaron has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
laaron has joined #ruby
jcarl43 has quit [Read error: Connection reset by peer]
danguita has quit [Quit: WeeChat 2.4]
jcarl43 has joined #ruby
Ai9zO5AP has quit [Ping timeout: 246 seconds]
gix has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
Dbugger has quit [Quit: Leaving]
zacts has joined #ruby
fdimitri has quit [Ping timeout: 250 seconds]
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
jenrzzz has joined #ruby
Ai9zO5AP has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
rhuang has joined #ruby
Kestrel-029 has joined #ruby
Swyper has quit [Remote host closed the connection]
Nicmavr has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 244 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
alem0lars has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
conta has quit [Quit: conta]
sameerynho has joined #ruby
tdy1 has quit [Ping timeout: 246 seconds]
LtHummus has quit [Quit: ZNC 1.7.3 - https://znc.in]
LtHummus has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
tdy1 has joined #ruby
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
fdimitri has joined #ruby
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fdimitri_ has joined #ruby
clemens3 has joined #ruby
fdimitri has quit [Ping timeout: 246 seconds]
jelera has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
ramfjord_ has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4351 is now known as AJA4350
ramfjord has quit [Ping timeout: 246 seconds]
sauvin has quit [Read error: Connection reset by peer]
reber has quit [Remote host closed the connection]
Swyper has joined #ruby
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
mikecmpbll has joined #ruby
jelera has quit [Client Quit]
jelera has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jelera has quit [Client Quit]
jelera has joined #ruby
jelera has quit [Client Quit]
Kestrel-029 has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
Nicmavr has joined #ruby
pupsikov has joined #ruby
jenrzzz has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
APK has quit [Ping timeout: 246 seconds]
AKPWD has joined #ruby
fphilipe has joined #ruby
i9zO5AP has joined #ruby
tdy1 has quit [Ping timeout: 268 seconds]
Ai9zO5AP has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
eckhardt has joined #ruby
nwradio878887987 has joined #ruby
jenrzzz has joined #ruby
i9zO5AP has quit [Quit: WeeChat 2.4]
postmodern has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
AJA4351 is now known as AJA4350
claudiuinberlin has joined #ruby
Swyper has quit [Remote host closed the connection]
orbyt_ has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy1 has joined #ruby
speakingcode has quit [Ping timeout: 252 seconds]
govg has quit [Ping timeout: 246 seconds]
cd has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
hightower2 has joined #ruby
AlHafoudh has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
dinfuehr_ has quit [Ping timeout: 245 seconds]
AJA4350 has quit [Quit: AJA4350]
dinfuehr has joined #ruby
fphilipe has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
zacts has joined #ruby
GodFather has joined #ruby
dsmythe_ has quit [Remote host closed the connection]
dsmythe has joined #ruby
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
tdy1 has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy1 has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
Swyper has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
weteamsteve has joined #ruby
Swyper has quit [Ping timeout: 245 seconds]
NightMonkey has joined #ruby
Kestrel-029 has joined #ruby
AlHafoudh has quit [Quit: ZNC - http://znc.in]
Nicmavr has quit [Ping timeout: 245 seconds]
<al2o3-cr> i'll see you around like a walnut.
jottr has quit [Ping timeout: 246 seconds]
sphenxes has quit [Remote host closed the connection]
jcalla has quit [Remote host closed the connection]
jottr has joined #ruby
speakingcode has joined #ruby
nowhere_man has joined #ruby
fphilipe has joined #ruby
laaron- has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
jefffrails35 has quit [Remote host closed the connection]
<zacts> just getting started with Ruby. How is the Programming Ruby book by Dave Thomas?
laaron has quit [Ping timeout: 256 seconds]
<phaul> oldie but goddie I guess
<zacts> phaul: what might you recommend for learning?
<phaul> are you a programmer, who tries to lear ruby or are you someone who wants to learn programming using ruby?
<zacts> learn programming using ruby
<zacts> okj
<zacts> ok
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bougyman> zacts: The Pickaxe (the ony by Dave Thomas) is an excellent tome.
<zacts> ok
<bougyman> I just think it's easy and cheap (time-wise) to get through LearnToProgram first.
<zacts> I'll check this out
<zacts> I'll start with LearnToProgram
<bougyman> One caveat, for all the code in the white text boxes, type each line in pry (or irb (no, really use pry)).
<bougyman> Not copy/paste. Type.
<zacts> ok
<zacts> what is pry. I know of irb?
<bougyman> pry is a better repl.
<zacts> I know irb, but haven't heard of pry. Must it be installed as a gem?
<bougyman> Similar in function to irb, but a lot more function.
<bougyman> gem i pry, yes.
<zacts> ok
<bougyman> then you have a binary called `pry`
<bougyman> Google is failing me. Once upon a time, someone did an s-exp variation of Ruby. Anyone remember that?
<bougyman> They lit up the ml with (((()))))
GodFather has joined #ruby
AJA4350 has joined #ruby
sgen has joined #ruby
ur5us has joined #ruby
speakingcode has quit [Quit: Lost terminal]
Nicmavr has quit [Ping timeout: 245 seconds]
pupsikov has joined #ruby
Nicmavr has joined #ruby
laaron- has quit [Remote host closed the connection]
laaron has joined #ruby
thunderbirdtr has quit [Ping timeout: 276 seconds]
thunderbirdtr has joined #ruby
cthulchu has quit [Ping timeout: 250 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
AJA4350 has quit [Ping timeout: 244 seconds]
renlolo has joined #ruby
<renlolo> I have this string, literally, `\"` ... how do I convert this to the literal string `\\"` , this is very frustrating as I keep getting `\\\"` instead, which is not what I want (I do not want " to be escaped)
Swyper has joined #ruby
OneNeptune has joined #ruby
<phaul> remember that what's printed is a representation of "the same thing" via to_s, or inspect. not the string that you have in memory
<phaul> msg rubydoc &>> '\"'
<phaul> ah :)
<renlolo> in memory I should have `\"`, what's getting printed is `\\\"` ... is there any way to convert this to `\\"` in the memory representation (or `\\\\"`)
ramfjord_ has quit [Ping timeout: 246 seconds]
<phaul> &>> '\"'
<rubydoc> # => "\\\"" (https://carc.in/#/r/6tv4)
jenrzzz has quit [Ping timeout: 245 seconds]
<phaul> but that's because in " which it prints \\ is \ and \" is just ". if it was printing ' it would be '\\"' but it choses to print "
jottr has quit [Quit: WeeChat 2.4]
<phaul> but it's the same string, different way of printing the same value
<zacts> bougyman: I think I'm going to just go ahead and dive into Programming Ruby
<zacts> I'm skimming both books, and it looks like I can handle it
<renlolo> let me put it this way, I have two bytes `\"` (forget ruby for a moment). i want three bytes, `\\"`. How do I do this in ruby, regardless of how it's printed
<al2o3-cr> renlolo: '\\\"' is 3 bytes.
<renlolo> &> '\"'.bytesize
<rubydoc> parser error at position 0 around `>'
<renlolo> &>> '\"'.bytesize
<rubydoc> # => 2 (https://carc.in/#/r/6tv5)
<renlolo> &>> '\"'.sub('\"', '\\\\"').bytesize
<rubydoc> # => 2 (https://carc.in/#/r/6tv6)
<al2o3-cr> &> '\\\"'.bytesize
<rubydoc> parser error at position 0 around `>'
<al2o3-cr> &>> '\\\"'.bytesize
<rubydoc> # => 3 (https://carc.in/#/r/6tv7)
<al2o3-cr> &>> '\\\"'.bytes
<rubydoc> # => [92, 92, 34] (https://carc.in/#/r/6tv8)
<renlolo> cool, but sub isnt working for some reason with that
<renlolo> &>> '\"'.sub('\"', '\\\"').bytesize
<rubydoc> # => 2 (https://carc.in/#/r/6tv9)
<al2o3-cr> renlolo: why?
<renlolo> sorry, why what?
<al2o3-cr> why do you want to do this?
<renlolo> I'm not a ruby expert (used to python, heh), but we're using fluentd for log aggregation. My fluentd plugin is receiving strings which are exactly `\"`, but when I try to encode them I get some error saying that it's an invalid escape, which is a valid error, because `\"` is an invalid escape. I'd therefore want to forward `\\"` instead ... which is where I am
u0_a238 has joined #ruby
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul> renlolo: in '' world \\ is just a \. \" is \" . Meaning of \ depends on what follows. It's either 2 or 1 byte
<phaul> same in " world but different rules
ramfjord has joined #ruby
u0_a238 has quit [Client Quit]
<phaul> &>> '\\'.bytesize
<rubydoc> # => 1 (https://carc.in/#/r/6tvd)
<renlolo> hmm, thanks for pointing that out
<al2o3-cr> renlolo: your getting representations wrong.
<al2o3-cr> ^ as phaul pointed out
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<renlolo> so I probably want to replace '\\"' with '\\\\"'
<al2o3-cr> renlolo: that will give you \\"
<al2o3-cr> &>> puts '\\"'
<rubydoc> # => \" (https://carc.in/#/r/6tve)
<al2o3-cr> &>> puts '\\\\"'
<rubydoc> # => \\" (https://carc.in/#/r/6tvf)
<renlolo> so '\"', is [\, "] in memory, and '\\"' is also [\, "] in memory?
<al2o3-cr> in memory?
<phaul> yes
<phaul> as inside the String
tdy1 has quit [Ping timeout: 245 seconds]
<al2o3-cr> renlolo: yes.
<al2o3-cr> renlolo: single quote are literal, double quotes escape backslash
<renlolo> I still cant get it to work for some reason ...
<renlolo> &>> '\"'.sub('\"', '\\\\"').bytesize
<rubydoc> # => 2 (https://carc.in/#/r/6tvg)
<al2o3-cr> honour escapes
<renlolo> '\\\\"' should be [\, \, "] right?
<renlolo> I've tried it with `"` as well, "\\\""
<al2o3-cr> renlolo: correct, yes.
sameerynho has quit [Ping timeout: 255 seconds]
<al2o3-cr> &>> '\\\\"'.bytes.map &:chr
<rubydoc> # => ["\\", "\\", "\""] (https://carc.in/#/r/6tvh)
zacts has quit [Quit: WeeChat 2.4]
<al2o3-cr> which is \, \, "
<al2o3-cr> renlolo: show us what your trying to do.
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<renlolo> &>> a='\"'.gsub('\\', '\\\\\\').bytesize # looks like it works
<rubydoc> # => 3 (https://carc.in/#/r/6tvi)
<renlolo> why there are 6 backslashes in the substitution I dont know but yeah
<renlolo> #trialanderror
<phaul> most of use that thecnique for this. Keep sticking in \ until it works. It's correct but so confusing to undertsand...
marmotini_ has joined #ruby
<phaul> I mean ruby is correct, but noone can work out how many \ they need :)
<al2o3-cr> why not
<al2o3-cr> they're subbing one of these \ with three of these \\\
<al2o3-cr> gsub is a little bit special though.
hightower3 has joined #ruby
<al2o3-cr> &>> puts '\"'.sub '\\', '\\\\\\'
<rubydoc> # => \\" (https://carc.in/#/r/6tvn)
<al2o3-cr> &>> '\"'.sub '\\', '\\\\\\'
<rubydoc> # => "\\\\\"" (https://carc.in/#/r/6tvo)
hightower2 has quit [Ping timeout: 246 seconds]
<al2o3-cr> puts "\"".sub '\\', '\\\\\\'
<al2o3-cr> &>> puts "\"".sub '\\', '\\\\\\'
<rubydoc> # => " (https://carc.in/#/r/6tvp)
<al2o3-cr> '' literal
<al2o3-cr> "" not literal
csr_ has joined #ruby
<al2o3-cr> and the reason for the 6 of \ two for one \ another two for the other \ and one for the "
<al2o3-cr> if that makes sense.
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
jelera has joined #ruby
marmotini_ has quit [Remote host closed the connection]
<al2o3-cr> &>> puts "\\\\\\\\\\\\\\"".dump
<rubydoc> stderr: -e:4: unterminated string meets end of file (https://carc.in/#/r/6tvq)
<al2o3-cr> because i left out one \
<al2o3-cr> &>> puts "\\\\\\\\\\\\\\\"".dump
<rubydoc> # => "\\\\\\\\\\\\\\\"" (https://carc.in/#/r/6tvr)
<al2o3-cr> meh
<al2o3-cr> &>> "\\\\\\\\\\\\\\\"".dump
<rubydoc> # => "\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\"" (https://carc.in/#/r/6tvs)
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jelera has joined #ruby
<al2o3-cr> &>> SystemCallError.new 0
<rubydoc> # => #<Errno::NOERROR: Success> (https://carc.in/#/r/6tvu)
<al2o3-cr> &>> SystemCallError.new -1
<rubydoc> # => #<SystemCallError: Unknown error -1> (https://carc.in/#/r/6tvv)
ramfjord has quit [Ping timeout: 245 seconds]
jelera has quit [Client Quit]
spacesuitdiver has joined #ruby
crankharder has joined #ruby
spacesuitdiver has quit [Client Quit]
dar123 has joined #ruby
csr_ has left #ruby ["Leaving"]
sgen has quit [Read error: Connection reset by peer]
<renlolo> so gsub('\\', '\\\\\\') doesnt work ...
<renlolo> this is honestly pretty frustrating, I think I'll actively push towards us moving away from ruby. Thanks for your help all, have a good one
renlolo has left #ruby ["WeeChat 2.0.1"]
<havenwood> renlolo: just use a block
<havenwood> oops, too late - they quit Ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phaul> not that it's different anywhere else that has similar semantics for ' and "...
<al2o3-cr> ^
fphilipe has joined #ruby
fdimitri_ has quit [Ping timeout: 252 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower3 has quit [Ping timeout: 255 seconds]
dar123 has joined #ruby
kyrylo has joined #ruby
<leftylink> ah. I wanted to see if there was a way to have a clearer correspondence between the number of backslashes in the literal vs in the value. but I see a bit of an unfortunate circumstance
<leftylink> &>> %q(\) # that is a syntax error
<rubydoc> stderr: -e:4: unterminated string meets end of file (https://carc.in/#/r/6tvw)
<leftylink> &>> %q(\ ).strip # but this is fine
<rubydoc> # => "\\" (https://carc.in/#/r/6tvx)
<leftylink> &>> %q(\\) == %q(\ ).strip
<rubydoc> # => true (https://carc.in/#/r/6tvy)
<leftylink> so that is a bit unfortunate if you want the correspondence
<leftylink> maybe if you wanted two, you could do something silly like
<leftylink> &>> %q(\ \ ).delete(' ').bytes
<rubydoc> # => [92, 92] (https://carc.in/#/r/6tvz)
<leftylink> two in the literal and two in the value, that'd be fine
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leftylink> or I guess if you didn't want to faff about with how to represent it in your literal maybe you want something like
<leftylink> &>> single_backslash = ?\\; raise "NOPE" if single_backslash.size != 1; puts single_backslash * 3
<rubydoc> # => \\\ (https://carc.in/#/r/6tw2)
fdimitri has joined #ruby
clemens3 has quit [Ping timeout: 246 seconds]
clemens3_ has joined #ruby
<al2o3-cr> &>> "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes.map &:chr
<rubydoc> # => ["f", "o", "o", "\\", "\\", "\\", "\\", "\\", "\b", "a", "r", "\n", "\t", "\r", "\t", "\\", "\\", "\\", "\\"] (https://carc.in/#/r/6tw4)
<al2o3-cr> &>> puts "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes.map &:chr
<rubydoc> # => f (https://carc.in/#/r/6tw5)
<al2o3-cr> &>> p "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes.map &:chr
<rubydoc> # => ["f", "o", "o", "\\", "\\", "\\", "\\", "\\", "\b", "a", "r", "\n", "\t", "\r", "\t", "\\", "\\", "\\", "\\"] (https://carc.in/#/r/6tw6)
<al2o3-cr> &>> p "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes
<rubydoc> # => [102, 111, 111, 92, 92, 92, 92, 92, 8, 97, 114, 10, 9, 13, 9, 92, 92, 92, 92] (https://carc.in/#/r/6tw7)