00:00
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:04
kyrylo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:06
kyrylo has joined #ruby
00:06
skryking__ has joined #ruby
00:08
sameerynho has quit [Ping timeout: 244 seconds]
00:09
skryking_ has quit [Ping timeout: 255 seconds]
00:11
kyrylo has quit [Ping timeout: 246 seconds]
00:16
houhoulis has joined #ruby
00:21
agent_white has quit [Remote host closed the connection]
00:25
cnsvc has quit [Ping timeout: 256 seconds]
00:29
speakingcode has quit [Ping timeout: 250 seconds]
00:31
sgen has quit [Ping timeout: 276 seconds]
00:31
ramfjord has quit [Ping timeout: 245 seconds]
00:34
ramfjord has joined #ruby
00:35
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:38
govg has quit [Ping timeout: 255 seconds]
00:39
govg has joined #ruby
00:40
fphilipe has joined #ruby
00:45
laaron- has joined #ruby
00:46
laaron has quit [Remote host closed the connection]
00:46
spiette has joined #ruby
00:48
steffes has joined #ruby
00:50
cnsvc has joined #ruby
00:54
AJA4350 has quit [Ping timeout: 255 seconds]
00:55
altigraph has joined #ruby
00:55
jcarl43 has quit [Quit: WeeChat 2.4]
00:58
jenrzzz has quit [Ping timeout: 268 seconds]
01:00
AJA4350 has joined #ruby
01:01
jenrzzz has joined #ruby
01:02
OneNeptune has joined #ruby
01:06
cnsvc has quit [Ping timeout: 256 seconds]
01:08
krawchyk has quit [Quit: krawchyk]
01:14
fphilipe has quit [Ping timeout: 258 seconds]
01:17
zacts has joined #ruby
01:19
manveru has quit [Ping timeout: 250 seconds]
01:19
gajus has quit [Ping timeout: 250 seconds]
01:19
jhill has quit [Ping timeout: 240 seconds]
01:19
kevinsjoberg has quit [Ping timeout: 240 seconds]
01:19
ec has quit [Ping timeout: 258 seconds]
01:20
Lewix has quit [Ping timeout: 264 seconds]
01:20
JJonah has quit [Read error: Connection reset by peer]
01:21
laaron- has quit [Remote host closed the connection]
01:22
laaron has joined #ruby
01:22
fishcooker has joined #ruby
01:23
weteamsteve has joined #ruby
01:23
orbyt_ has joined #ruby
01:26
speakingcode has joined #ruby
01:26
raggi has quit [Read error: Connection reset by peer]
01:27
englishm has quit [Ping timeout: 258 seconds]
01:35
uranoss has joined #ruby
01:36
uranoss has quit [Client Quit]
01:38
lucasb has quit [Quit: Connection closed for inactivity]
01:39
uranoss has joined #ruby
01:41
dsmythe has quit [Remote host closed the connection]
01:41
dsmythe has joined #ruby
01:42
<
fishcooker >
it was working the rvm installation finished, thanks phaul + zenspider
01:44
fphilipe has joined #ruby
01:47
Lewix has joined #ruby
01:48
kevinsjoberg has joined #ruby
01:48
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
01:48
ec has joined #ruby
01:49
manveru has joined #ruby
01:50
gajus has joined #ruby
01:50
JJonah has joined #ruby
01:51
englishm has joined #ruby
01:52
jhill has joined #ruby
01:52
raggi has joined #ruby
01:52
wallace_mu has joined #ruby
02:03
ramfjord has quit [Ping timeout: 246 seconds]
02:07
AJA4351 has joined #ruby
02:10
AJA4350 has quit [Ping timeout: 255 seconds]
02:10
AJA4351 is now known as AJA4350
02:14
laaron has quit [Remote host closed the connection]
02:14
laaron has joined #ruby
02:18
fphilipe has quit [Ping timeout: 240 seconds]
02:20
tdy has joined #ruby
02:27
duderonomy has joined #ruby
02:28
jenrzzz_ has joined #ruby
02:31
jenrzzz has quit [Ping timeout: 250 seconds]
02:34
jenrzzz_ has quit [Ping timeout: 250 seconds]
02:40
jenrzzz has joined #ruby
02:57
jenrzzz has quit [Ping timeout: 250 seconds]
03:05
braincrash has quit [Quit: bye bye]
03:09
hightower2 has joined #ruby
03:10
weteamsteve has quit [Read error: Connection reset by peer]
03:12
braincrash has joined #ruby
03:13
Jello_Raptor has quit [Ping timeout: 255 seconds]
03:14
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:14
Jello_Raptor has joined #ruby
03:14
steffes has quit []
03:15
al-damiri has joined #ruby
03:16
gix has joined #ruby
03:16
AJA4351 has joined #ruby
03:16
edual has quit [Read error: Connection reset by peer]
03:16
eduardo has joined #ruby
03:16
AJA4350 has quit [Ping timeout: 258 seconds]
03:16
AJA4351 is now known as AJA4350
03:17
gix- has quit [Ping timeout: 258 seconds]
03:17
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:20
eduardo has quit [Remote host closed the connection]
03:24
orbyt_ has joined #ruby
03:24
jhill has quit [Ping timeout: 255 seconds]
03:24
gajus has quit [Ping timeout: 244 seconds]
03:24
JJonah_ has joined #ruby
03:25
gajus has joined #ruby
03:25
JJonah has quit [Ping timeout: 255 seconds]
03:25
JJonah_ is now known as JJonah
03:25
jhill has joined #ruby
03:27
wallace_mu has quit [Remote host closed the connection]
03:27
wallace_mu has joined #ruby
03:31
wallace_mu has quit [Ping timeout: 255 seconds]
03:34
altigraph has quit [Remote host closed the connection]
03:34
altigraph has joined #ruby
03:39
bambanx has joined #ruby
03:46
AJA4350 has quit [Quit: AJA4350]
04:09
dsmythe has quit [Ping timeout: 246 seconds]
04:15
fphilipe has joined #ruby
04:19
cthulchu has quit [Ping timeout: 246 seconds]
04:21
APK has joined #ruby
04:21
AKPWD has quit [Read error: Connection reset by peer]
04:25
rhuang has joined #ruby
04:30
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:31
rhuang has quit [Quit: WeeChat 2.4]
04:41
rhuang has joined #ruby
04:45
marmotini_ has joined #ruby
04:46
grvgr has quit [Quit: Connection closed for inactivity]
04:48
fphilipe has quit [Ping timeout: 276 seconds]
04:50
zacts has quit [Quit: WeeChat 2.4]
04:52
spiette has joined #ruby
04:57
reber has joined #ruby
05:02
xco has joined #ruby
05:03
rhuang has quit [Ping timeout: 250 seconds]
05:15
dsmythe has joined #ruby
05:16
bambanxx has joined #ruby
05:16
reber has quit [Remote host closed the connection]
05:17
reber has joined #ruby
05:17
sauvin has joined #ruby
05:18
dsmythe has quit [Remote host closed the connection]
05:19
jenrzzz has joined #ruby
05:19
dsmythe has joined #ruby
05:20
bambanx has quit [Ping timeout: 246 seconds]
05:21
kapil____ has joined #ruby
05:22
fphilipe has joined #ruby
05:23
hightower2 has quit [Ping timeout: 244 seconds]
05:23
conta has joined #ruby
05:23
jenrzzz has quit [Ping timeout: 255 seconds]
05:28
cthulchu has joined #ruby
05:28
ur5us has quit [Remote host closed the connection]
05:31
reber has quit [Remote host closed the connection]
05:32
xco has quit [Quit: xco]
05:40
Inline has quit [Quit: Leaving]
05:55
gix has quit [Ping timeout: 250 seconds]
05:59
jenrzzz has joined #ruby
06:04
al-damiri has quit [Quit: Connection closed for inactivity]
06:06
crankharder has joined #ruby
06:06
clemens3 has quit [Ping timeout: 245 seconds]
06:08
RyanMcCoskrie has joined #ruby
06:10
m_antis has quit [Quit: m_antis]
06:10
laaron has joined #ruby
06:16
tdy has quit [Ping timeout: 268 seconds]
06:19
dsmythe has quit [Ping timeout: 244 seconds]
06:22
fishcooker has quit [Quit: Leaving.]
06:25
ramfjord has joined #ruby
06:27
laaron has quit [Remote host closed the connection]
06:28
marmotini_ has quit [Ping timeout: 258 seconds]
06:29
ramfjord has quit [Ping timeout: 245 seconds]
06:30
laaron has joined #ruby
06:38
crankharder has quit [Ping timeout: 245 seconds]
06:40
crankharder has joined #ruby
06:41
andikr has joined #ruby
06:42
clemens3 has joined #ruby
06:42
jenrzzz has quit [Ping timeout: 250 seconds]
06:44
clemens3 has quit [Remote host closed the connection]
06:45
tdy has joined #ruby
07:00
jhill has joined #ruby
07:01
ec has joined #ruby
07:02
englishm has quit []
07:02
englishm has joined #ruby
07:03
Dbugger has joined #ruby
07:06
dsmythe has joined #ruby
07:08
spacesuitdiver has joined #ruby
07:08
roadt has joined #ruby
07:10
Emmanuel_Chanel has joined #ruby
07:15
aupadhye has joined #ruby
07:16
clemens3 has joined #ruby
07:17
dsmythe has quit [Read error: Connection reset by peer]
07:17
dsmythe has joined #ruby
07:18
lxsameer has joined #ruby
07:21
claudiuinberlin has joined #ruby
07:22
jenrzzz has joined #ruby
07:27
jenrzzz has quit [Ping timeout: 276 seconds]
07:29
tdy has quit [Ping timeout: 255 seconds]
07:29
Dbugger has quit [Ping timeout: 250 seconds]
07:29
<
dionysus69 >
is anyone interested in a hobby project to create blockchain from scratch? including its decentralized nature of course
07:29
ricekrispie has joined #ruby
07:31
ricekrispie2 has quit [Ping timeout: 250 seconds]
07:32
<
ozzloy >
i'm going to guess the answer is yes
07:34
<
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?
07:35
<
dionysus69 >
lol wrong channel, ozzloy pm I guess :P
07:37
bambanxx has quit [Quit: Leaving]
07:37
fishcooker has joined #ruby
07:38
hightower2 has joined #ruby
07:46
Tuor has joined #ruby
07:53
jefffrails35 has joined #ruby
07:55
sphenxes has joined #ruby
07:59
_joes_ has joined #ruby
08:01
cgfbee has quit [Quit: cgfbee]
08:03
tdy has joined #ruby
08:08
Tuor has quit [Read error: Connection reset by peer]
08:10
Tuor has joined #ruby
08:10
Tuor has quit [Changing host]
08:10
Tuor has joined #ruby
08:14
fphilipe has quit [Ping timeout: 250 seconds]
08:14
claudiuinberlin has joined #ruby
08:15
mikecmpbll has joined #ruby
08:21
spacesuitdiver has quit [Read error: Connection reset by peer]
08:21
spacesuitdiver has joined #ruby
08:25
ramfjord has joined #ruby
08:26
sphenxes has quit [Ping timeout: 245 seconds]
08:27
dsmythe has quit [Ping timeout: 276 seconds]
08:29
ramfjord has quit [Ping timeout: 245 seconds]
08:35
fphilipe has joined #ruby
08:36
claudiuinberlin has joined #ruby
08:37
jenrzzz has joined #ruby
08:40
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:43
dsmythe has joined #ruby
08:43
jenrzzz has quit [Ping timeout: 250 seconds]
08:44
stooj has quit [Ping timeout: 268 seconds]
08:45
stooj has joined #ruby
08:47
fphilipe has quit [Read error: Connection reset by peer]
08:51
fphilipe has joined #ruby
09:01
_joes_ has quit [Quit: _joes_]
09:04
laaron has quit [Remote host closed the connection]
09:06
laaron has joined #ruby
09:07
DTZUZO has quit [Ping timeout: 255 seconds]
09:13
tdy has quit [Ping timeout: 258 seconds]
09:15
jenrzzz has joined #ruby
09:16
pwnd_nsfw` has joined #ruby
09:17
pwnd_nsfw has quit [Ping timeout: 258 seconds]
09:21
Kestrel-029 has joined #ruby
09:21
Nicmavr has quit [Ping timeout: 245 seconds]
09:22
kyrylo has joined #ruby
09:28
dsmythe has quit [Ping timeout: 255 seconds]
09:29
Jonopoly has joined #ruby
09:30
m_antis has joined #ruby
09:31
conta has quit [Quit: conta]
09:40
conta has joined #ruby
09:50
Raven737 has joined #ruby
09:57
dsmythe has joined #ruby
09:57
conta has quit [Ping timeout: 246 seconds]
09:57
dar123 has joined #ruby
10:00
RyanMcCoskrie has quit [Remote host closed the connection]
10:00
dsmythe has quit [Remote host closed the connection]
10:01
dsmythe has joined #ruby
10:01
sphenxes has joined #ruby
10:04
Raven737 has quit [Ping timeout: 256 seconds]
10:04
altigraph has quit [Ping timeout: 255 seconds]
10:05
marmotini_ has joined #ruby
10:05
tj_ has joined #ruby
10:06
AJA4350 has joined #ruby
10:07
jenrzzz has quit [Ping timeout: 268 seconds]
10:09
conta has joined #ruby
10:13
lunarkitty7 has joined #ruby
10:15
<
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
10:17
Junaos_ has joined #ruby
10:18
<
tj_ >
any help would be appreciated
10:19
fowlduck_ has joined #ruby
10:19
lele` has joined #ruby
10:19
<
tj_ >
and most important - it says Could not find 'nokogiri' (~> 1.10) - did find: [nokogiri-1.8.0-x64-mingw32]
10:19
fowlduck has quit [Ping timeout: 252 seconds]
10:19
Junaos has quit [Read error: Connection reset by peer]
10:19
nemesit|znc has quit [Ping timeout: 252 seconds]
10:19
lele has quit [Ping timeout: 252 seconds]
10:19
fowlduck_ is now known as fowlduck
10:19
<
tj_ >
kind of joking I guess.. 1.8 is > 1.10
10:20
gremax has quit [Ping timeout: 252 seconds]
10:20
nemesit|znc has joined #ruby
10:21
gremax has joined #ruby
10:21
cd has quit [Quit: cd]
10:24
nowhere_man has joined #ruby
10:25
ramfjord has joined #ruby
10:27
alem0lars has joined #ruby
10:29
crankharder has quit [Ping timeout: 255 seconds]
10:30
ramfjord has quit [Ping timeout: 258 seconds]
10:34
dsmythe has quit [Ping timeout: 268 seconds]
10:37
alem0lars has quit [Ping timeout: 250 seconds]
10:39
madhatter has quit [Remote host closed the connection]
10:40
madhatter has joined #ruby
10:43
FastJack_ has joined #ruby
10:43
Tuor has quit [Ping timeout: 245 seconds]
10:44
FastJack has quit [Ping timeout: 264 seconds]
10:44
Tuor has joined #ruby
10:44
Tuor has quit [Changing host]
10:44
Tuor has joined #ruby
10:46
crankharder has joined #ruby
10:50
Tuor has quit [Ping timeout: 252 seconds]
10:51
alem0lars has joined #ruby
10:52
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:53
jefffrails35 has quit [Ping timeout: 250 seconds]
10:57
sphenxes has quit [Quit: Leaving]
11:10
Tuor has joined #ruby
11:10
Tuor has joined #ruby
11:10
Tuor has quit [Changing host]
11:12
Tuor has quit [Client Quit]
11:13
BH23 has joined #ruby
11:14
phaul has quit [Quit: :wq]
11:17
AJA4350 has quit [Ping timeout: 268 seconds]
11:17
phaul has joined #ruby
11:19
jefffrails35 has joined #ruby
11:21
GodFather has joined #ruby
11:22
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
11:22
Cthulu201 has joined #ruby
11:24
alem0lars has quit [Ping timeout: 252 seconds]
11:26
jud has joined #ruby
11:27
GodFather has quit [Ping timeout: 276 seconds]
11:30
nowhere_man has quit [Ping timeout: 246 seconds]
11:31
AJA4350 has joined #ruby
11:42
crankharder has quit [Ping timeout: 246 seconds]
11:42
E3lit3h4XX0r666 has joined #ruby
11:44
tdy has joined #ruby
11:46
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
11:47
speakingcode has quit [Ping timeout: 246 seconds]
11:48
crankharder has joined #ruby
11:49
speakingcode has joined #ruby
11:49
reber has joined #ruby
11:50
reber has quit [Remote host closed the connection]
11:55
nowhere_man has joined #ruby
12:00
nowhere_man has quit [Ping timeout: 252 seconds]
12:03
jenrzzz has joined #ruby
12:06
Nicmavr has joined #ruby
12:06
Kestrel-029 has quit [Ping timeout: 245 seconds]
12:11
jacksoow_ has quit [Quit: Saindo...]
12:11
jacksoow has joined #ruby
12:16
sphenxes has joined #ruby
12:23
fishcooker has left #ruby [#ruby]
12:25
ramfjord has joined #ruby
12:30
ramfjord has quit [Ping timeout: 244 seconds]
12:32
DTZUZO has joined #ruby
12:32
Nicmavr has quit [Ping timeout: 245 seconds]
12:32
Nicmavr has joined #ruby
12:36
Kestrel-029 has joined #ruby
12:36
FastJack_ has quit [Quit: leaving]
12:37
Nicmavr has quit [Ping timeout: 245 seconds]
12:37
FastJack has joined #ruby
12:38
AJA4350 has quit [Ping timeout: 246 seconds]
12:38
kapil____ has quit [Quit: Connection closed for inactivity]
12:39
<
Jonopoly >
Hello i want to stress-test my api
12:39
<
Jonopoly >
with ruby
12:39
<
Jonopoly >
so i was wondering would it just be a case of running multiple-api calls
12:40
tj_ has quit [Remote host closed the connection]
12:42
alem0lars has joined #ruby
12:43
kyrylo has joined #ruby
12:44
<
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
12:44
<
Zarthus >
a single distrubtion stress test is weak anyway
12:45
crankharder has quit [Ping timeout: 246 seconds]
12:45
tdy1 has joined #ruby
12:47
marmotini has joined #ruby
12:48
<
Jonopoly >
Well i wanted to start small, run an api call 50+ times
12:48
<
Jonopoly >
for 50+ different users
12:48
<
Jonopoly >
then just create an algorithm 1..50 users login, do x then y then logout
12:49
marmotini_ has quit [Ping timeout: 246 seconds]
12:51
Nicmavr has joined #ruby
12:51
E3lit3h4XX0r666 has quit [Ping timeout: 255 seconds]
12:51
Kestrel-029 has quit [Ping timeout: 245 seconds]
13:02
wallace_mu has joined #ruby
13:03
vondruch has quit [Ping timeout: 246 seconds]
13:03
vondruch_ has joined #ruby
13:03
vondruch_ is now known as vondruch
13:04
CBebop has joined #ruby
13:09
jenrzzz has quit [Ping timeout: 252 seconds]
13:15
wallace_mu has quit [Remote host closed the connection]
13:19
chrisco has joined #ruby
13:21
chrisco has left #ruby [#ruby]
13:22
zacts has joined #ruby
13:23
lucasb has joined #ruby
13:30
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:34
rafadc has quit [Ping timeout: 276 seconds]
13:34
pupsikov has joined #ruby
13:34
zacts has quit [Quit: WeeChat 2.4]
13:36
rafadc has joined #ruby
13:36
xfbs has joined #ruby
13:41
AJA4350 has joined #ruby
13:44
rafadc has quit [Ping timeout: 245 seconds]
13:47
rafadc has joined #ruby
13:48
marmotini has quit [Remote host closed the connection]
13:49
dante has quit [Quit: bye]
13:49
speakingcode has quit [Ping timeout: 258 seconds]
13:51
banko has quit [Quit: Connection closed for inactivity]
13:53
aupadhye has quit [Ping timeout: 244 seconds]
13:55
rafadc has quit [Ping timeout: 246 seconds]
13:56
dante has joined #ruby
13:56
rafadc has joined #ruby
14:00
vondruch has quit [Quit: vondruch]
14:00
wallace_mu has joined #ruby
14:00
vondruch has joined #ruby
14:01
wallace_mu has quit [Client Quit]
14:03
Swyper has joined #ruby
14:04
nowhere_man has joined #ruby
14:06
ellcs has quit [Ping timeout: 246 seconds]
14:08
Rapture has joined #ruby
14:14
crankharder has joined #ruby
14:14
<
Jonopoly >
is it possible to say
14:14
<
Jonopoly >
Run this function n times at same time
14:14
<
Jonopoly >
or do you need to set a thread foreach function
14:15
skryking__ has quit [Quit: Leaving]
14:15
zacts has joined #ruby
14:21
Kestrel-029 has joined #ruby
14:21
Nicmavr has quit [Ping timeout: 245 seconds]
14:21
speakingcode has joined #ruby
14:22
Swyper has quit [Remote host closed the connection]
14:23
snk has quit [Quit: WeeChat 1.9.1]
14:24
crankharder has quit [Ping timeout: 250 seconds]
14:25
gnufied has joined #ruby
14:26
spacesuitdiver has joined #ruby
14:26
Inline has joined #ruby
14:28
UncleCid__ has joined #ruby
14:31
pwnd_nsfw` has quit [Ping timeout: 268 seconds]
14:33
crankharder has joined #ruby
14:35
laaron has quit [Remote host closed the connection]
14:36
laaron has joined #ruby
14:37
conta has quit [Ping timeout: 245 seconds]
14:37
Ai9zO5AP has joined #ruby
14:40
fphilipe has quit [Ping timeout: 268 seconds]
14:41
crankharder has quit [Ping timeout: 252 seconds]
14:41
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:43
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:51
AJA4351 has joined #ruby
14:53
AJA4350 has quit [Ping timeout: 250 seconds]
14:53
AJA4351 is now known as AJA4350
14:58
moei has joined #ruby
15:04
danguita has joined #ruby
15:05
jenrzzz has joined #ruby
15:09
spacesuitdiver has joined #ruby
15:13
<
Jonopoly >
hmm so im creating a..d (4) threads and running them
15:13
<
Jonopoly >
joining at the end
15:13
<
Jonopoly >
is there not a flexible way to run n threads and join n
15:13
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:14
vondruch has quit [Ping timeout: 258 seconds]
15:16
fphilipe has joined #ruby
15:16
kapil____ has joined #ruby
15:16
Rakete1121 has joined #ruby
15:17
hightower2 has quit [Ping timeout: 246 seconds]
15:19
Rakete1111 has quit [Ping timeout: 246 seconds]
15:21
dsmythe has joined #ruby
15:26
mozzarella has quit [Quit: WeeChat 2.2]
15:28
sgen has joined #ruby
15:35
Swyper has joined #ruby
15:36
jcarl43 has joined #ruby
15:37
al-damiri has joined #ruby
15:39
BH23 has quit [Ping timeout: 255 seconds]
15:44
ricekrispie2 has joined #ruby
15:44
claudiuinberlin has joined #ruby
15:44
nowhere_man has quit [Ping timeout: 246 seconds]
15:47
ricekrispie has quit [Ping timeout: 250 seconds]
15:48
Swyper has quit [Remote host closed the connection]
15:49
ua_ has joined #ruby
15:49
Rakete1121 has quit [Quit: leaving]
15:53
ua has quit [Ping timeout: 255 seconds]
15:54
sgen has quit [Ping timeout: 276 seconds]
15:56
Jonopoly has quit [Quit: WeeChat 2.4]
16:00
AJA4350 has quit [Ping timeout: 244 seconds]
16:01
mozzarella has joined #ruby
16:05
AJA4350 has joined #ruby
16:05
Dbugger has joined #ruby
16:05
Dbugger has quit [Remote host closed the connection]
16:05
Dbugger has joined #ruby
16:09
shansen has joined #ruby
16:10
jenrzzz has quit [Ping timeout: 246 seconds]
16:11
Swyper has joined #ruby
16:13
Swyper has quit [Remote host closed the connection]
16:16
conta has joined #ruby
16:16
lxsameer has quit [Quit: out]
16:18
clemens3 has quit [Ping timeout: 276 seconds]
16:21
zacts has quit [Quit: WeeChat 2.4]
16:27
OneNeptune has joined #ruby
16:29
dsmythe_ has joined #ruby
16:33
fphilipe has quit [Read error: Connection reset by peer]
16:33
dsmythe has quit [Ping timeout: 276 seconds]
16:34
agent_white has joined #ruby
16:36
mikecmpbll has quit [Quit: inabit. zz.]
16:37
zacts has joined #ruby
16:37
reber has joined #ruby
16:37
duderonomy has joined #ruby
16:39
zacts has quit [Client Quit]
16:49
Swyper has joined #ruby
16:51
laaron has quit [Remote host closed the connection]
16:51
Swyper has quit [Remote host closed the connection]
16:54
andikr has quit [Remote host closed the connection]
16:54
laaron has joined #ruby
17:01
jcarl43 has quit [Read error: Connection reset by peer]
17:02
danguita has quit [Quit: WeeChat 2.4]
17:02
jcarl43 has joined #ruby
17:05
Ai9zO5AP has quit [Ping timeout: 246 seconds]
17:07
gix has joined #ruby
17:12
AJA4351 has joined #ruby
17:13
AJA4350 has quit [Ping timeout: 246 seconds]
17:13
AJA4351 is now known as AJA4350
17:15
Dbugger has quit [Quit: Leaving]
17:18
zacts has joined #ruby
17:20
fdimitri has quit [Ping timeout: 250 seconds]
17:21
Nicmavr has joined #ruby
17:21
Kestrel-029 has quit [Ping timeout: 245 seconds]
17:22
Swyper has joined #ruby
17:25
kapil____ has quit [Quit: Connection closed for inactivity]
17:25
ramfjord has joined #ruby
17:30
jenrzzz has joined #ruby
17:32
Ai9zO5AP has joined #ruby
17:32
Swyper has quit [Remote host closed the connection]
17:34
Swyper has joined #ruby
17:35
rhuang has joined #ruby
17:36
Kestrel-029 has joined #ruby
17:36
Swyper has quit [Remote host closed the connection]
17:36
Nicmavr has quit [Ping timeout: 245 seconds]
17:39
Swyper has joined #ruby
17:43
Swyper has quit [Ping timeout: 244 seconds]
17:45
Swyper has joined #ruby
17:47
Swyper has quit [Remote host closed the connection]
17:47
alem0lars has quit [Ping timeout: 250 seconds]
17:48
Swyper has joined #ruby
17:48
conta has quit [Quit: conta]
17:50
sameerynho has joined #ruby
17:53
tdy1 has quit [Ping timeout: 246 seconds]
17:54
LtHummus has joined #ruby
17:55
Swyper has quit [Remote host closed the connection]
18:01
Swyper has joined #ruby
18:04
tdy1 has joined #ruby
18:05
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:05
Swyper has quit [Remote host closed the connection]
18:06
fdimitri has joined #ruby
18:07
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:07
fdimitri_ has joined #ruby
18:11
clemens3 has joined #ruby
18:11
fdimitri has quit [Ping timeout: 246 seconds]
18:15
jelera has joined #ruby
18:17
zacts has quit [Quit: WeeChat 2.4]
18:19
ramfjord_ has joined #ruby
18:19
AJA4351 has joined #ruby
18:20
AJA4350 has quit [Ping timeout: 252 seconds]
18:20
AJA4351 is now known as AJA4350
18:22
ramfjord has quit [Ping timeout: 246 seconds]
18:23
sauvin has quit [Read error: Connection reset by peer]
18:24
reber has quit [Remote host closed the connection]
18:26
Swyper has joined #ruby
18:30
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:31
jelera has joined #ruby
18:31
jelera has quit [Client Quit]
18:31
jelera has joined #ruby
18:32
jelera has quit [Client Quit]
18:32
jelera has joined #ruby
18:32
mikecmpbll has joined #ruby
18:33
jelera has quit [Client Quit]
18:33
jelera has joined #ruby
18:33
jenrzzz has quit [Ping timeout: 246 seconds]
18:33
jelera has quit [Client Quit]
18:34
jelera has joined #ruby
18:34
jelera has quit [Client Quit]
18:35
Kestrel-029 has quit [Ping timeout: 245 seconds]
18:36
jottr has joined #ruby
18:36
Nicmavr has joined #ruby
18:37
pupsikov has joined #ruby
18:38
jenrzzz has joined #ruby
18:39
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:42
Swyper has quit [Remote host closed the connection]
18:43
jenrzzz has quit [Ping timeout: 250 seconds]
18:44
laaron has joined #ruby
18:49
APK has quit [Ping timeout: 246 seconds]
18:49
AKPWD has joined #ruby
19:07
fphilipe has joined #ruby
19:08
i9zO5AP has joined #ruby
19:09
tdy1 has quit [Ping timeout: 268 seconds]
19:09
Ai9zO5AP has quit [Ping timeout: 245 seconds]
19:11
Swyper has joined #ruby
19:12
fphilipe has quit [Ping timeout: 245 seconds]
19:14
eckhardt has joined #ruby
19:14
nwradio878887987 has joined #ruby
19:15
jenrzzz has joined #ruby
19:17
i9zO5AP has quit [Quit: WeeChat 2.4]
19:17
postmodern has joined #ruby
19:20
Nicmavr has quit [Ping timeout: 245 seconds]
19:21
Nicmavr has joined #ruby
19:25
AJA4351 has joined #ruby
19:28
AJA4350 has quit [Ping timeout: 255 seconds]
19:28
AJA4351 is now known as AJA4350
19:29
claudiuinberlin has joined #ruby
19:31
Swyper has quit [Remote host closed the connection]
19:32
orbyt_ has joined #ruby
19:37
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:44
claudiuinberlin has joined #ruby
19:45
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:46
tdy1 has joined #ruby
19:46
speakingcode has quit [Ping timeout: 252 seconds]
19:48
govg has quit [Ping timeout: 246 seconds]
19:50
cd has joined #ruby
19:51
Kestrel-029 has joined #ruby
19:51
Nicmavr has quit [Ping timeout: 245 seconds]
19:53
hightower2 has joined #ruby
19:57
AlHafoudh has joined #ruby
20:01
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:06
Nicmavr has joined #ruby
20:06
Kestrel-029 has quit [Ping timeout: 245 seconds]
20:09
dinfuehr_ has quit [Ping timeout: 245 seconds]
20:12
AJA4350 has quit [Quit: AJA4350]
20:14
dinfuehr has joined #ruby
20:15
fphilipe has joined #ruby
20:19
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:21
Kestrel-029 has joined #ruby
20:21
Nicmavr has quit [Ping timeout: 245 seconds]
20:28
zacts has joined #ruby
20:29
GodFather has joined #ruby
20:32
dsmythe_ has quit [Remote host closed the connection]
20:32
dsmythe has joined #ruby
20:36
Nicmavr has joined #ruby
20:36
Kestrel-029 has quit [Ping timeout: 245 seconds]
20:37
tdy1 has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
20:39
tdy1 has joined #ruby
20:40
fphilipe has quit [Ping timeout: 252 seconds]
20:44
Swyper has joined #ruby
20:46
GodFather has quit [Ping timeout: 276 seconds]
20:46
weteamsteve has joined #ruby
20:48
Swyper has quit [Ping timeout: 245 seconds]
20:48
NightMonkey has joined #ruby
20:51
Kestrel-029 has joined #ruby
20:51
Nicmavr has quit [Ping timeout: 245 seconds]
20:53
<
al2o3-cr >
i'll see you around like a walnut.
20:54
jottr has quit [Ping timeout: 246 seconds]
20:56
sphenxes has quit [Remote host closed the connection]
20:59
jcalla has quit [Remote host closed the connection]
21:00
jottr has joined #ruby
21:01
speakingcode has joined #ruby
21:02
nowhere_man has joined #ruby
21:05
fphilipe has joined #ruby
21:05
laaron- has joined #ruby
21:05
Swyper has joined #ruby
21:06
Swyper has quit [Remote host closed the connection]
21:06
Nicmavr has joined #ruby
21:06
Kestrel-029 has quit [Ping timeout: 245 seconds]
21:08
jefffrails35 has quit [Remote host closed the connection]
21:08
<
zacts >
just getting started with Ruby. How is the Programming Ruby book by Dave Thomas?
21:09
laaron has quit [Ping timeout: 256 seconds]
21:09
<
phaul >
oldie but goddie I guess
21:10
<
zacts >
phaul: what might you recommend for learning?
21:11
<
phaul >
are you a programmer, who tries to lear ruby or are you someone who wants to learn programming using ruby?
21:12
<
zacts >
learn programming using ruby
21:14
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:14
<
bougyman >
zacts: The Pickaxe (the ony by Dave Thomas) is an excellent tome.
21:14
<
bougyman >
I just think it's easy and cheap (time-wise) to get through LearnToProgram first.
21:14
<
zacts >
I'll check this out
21:14
<
zacts >
I'll start with LearnToProgram
21:16
<
bougyman >
One caveat, for all the code in the white text boxes, type each line in pry (or irb (no, really use pry)).
21:16
<
bougyman >
Not copy/paste. Type.
21:17
<
zacts >
what is pry. I know of irb?
21:17
<
bougyman >
pry is a better repl.
21:17
<
zacts >
I know irb, but haven't heard of pry. Must it be installed as a gem?
21:17
<
bougyman >
Similar in function to irb, but a lot more function.
21:17
<
bougyman >
gem i pry, yes.
21:17
<
bougyman >
then you have a binary called `pry`
21:19
<
bougyman >
Google is failing me. Once upon a time, someone did an s-exp variation of Ruby. Anyone remember that?
21:20
<
bougyman >
They lit up the ml with (((()))))
21:25
GodFather has joined #ruby
21:27
AJA4350 has joined #ruby
21:29
sgen has joined #ruby
21:30
ur5us has joined #ruby
21:31
speakingcode has quit [Quit: Lost terminal]
21:32
Nicmavr has quit [Ping timeout: 245 seconds]
21:32
pupsikov has joined #ruby
21:32
Nicmavr has joined #ruby
21:32
laaron- has quit [Remote host closed the connection]
21:34
laaron has joined #ruby
21:35
thunderbirdtr has quit [Ping timeout: 276 seconds]
21:36
thunderbirdtr has joined #ruby
21:38
cthulchu has quit [Ping timeout: 250 seconds]
21:40
fphilipe has quit [Ping timeout: 276 seconds]
21:40
AJA4350 has quit [Ping timeout: 244 seconds]
21:43
renlolo has joined #ruby
21:43
<
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)
21:45
Swyper has joined #ruby
21:45
OneNeptune has joined #ruby
21:47
<
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
21:48
<
phaul >
msg rubydoc &>> '\"'
21:48
<
renlolo >
in memory I should have `\"`, what's getting printed is `\\\"` ... is there any way to convert this to `\\"` in the memory representation (or `\\\\"`)
21:49
ramfjord_ has quit [Ping timeout: 246 seconds]
21:51
jenrzzz has quit [Ping timeout: 245 seconds]
21:51
<
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 "
21:52
jottr has quit [Quit: WeeChat 2.4]
21:53
<
phaul >
but it's the same string, different way of printing the same value
21:53
<
zacts >
bougyman: I think I'm going to just go ahead and dive into Programming Ruby
21:53
<
zacts >
I'm skimming both books, and it looks like I can handle it
21:54
<
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
21:55
<
al2o3-cr >
renlolo: '\\\"' is 3 bytes.
21:56
<
renlolo >
&> '\"'.bytesize
21:56
<
rubydoc >
parser error at position 0 around `>'
21:56
<
renlolo >
&>> '\"'.bytesize
21:56
<
renlolo >
&>> '\"'.sub('\"', '\\\\"').bytesize
21:56
<
al2o3-cr >
&> '\\\"'.bytesize
21:56
<
rubydoc >
parser error at position 0 around `>'
21:57
<
al2o3-cr >
&>> '\\\"'.bytesize
21:57
<
al2o3-cr >
&>> '\\\"'.bytes
21:57
<
renlolo >
cool, but sub isnt working for some reason with that
21:57
<
renlolo >
&>> '\"'.sub('\"', '\\\"').bytesize
21:59
<
al2o3-cr >
renlolo: why?
21:59
<
renlolo >
sorry, why what?
22:00
<
al2o3-cr >
why do you want to do this?
22:01
<
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
22:02
u0_a238 has joined #ruby
22:03
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:03
<
phaul >
renlolo: in '' world \\ is just a \. \" is \" . Meaning of \ depends on what follows. It's either 2 or 1 byte
22:04
<
phaul >
same in " world but different rules
22:04
ramfjord has joined #ruby
22:04
u0_a238 has quit [Client Quit]
22:05
<
phaul >
&>> '\\'.bytesize
22:05
<
renlolo >
hmm, thanks for pointing that out
22:06
<
al2o3-cr >
renlolo: your getting representations wrong.
22:07
<
al2o3-cr >
^ as phaul pointed out
22:07
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:08
<
renlolo >
so I probably want to replace '\\"' with '\\\\"'
22:09
<
al2o3-cr >
renlolo: that will give you \\"
22:10
<
al2o3-cr >
&>> puts '\\"'
22:10
<
al2o3-cr >
&>> puts '\\\\"'
22:10
<
renlolo >
so '\"', is [\, "] in memory, and '\\"' is also [\, "] in memory?
22:10
<
al2o3-cr >
in memory?
22:11
<
phaul >
as inside the String
22:11
tdy1 has quit [Ping timeout: 245 seconds]
22:11
<
al2o3-cr >
renlolo: yes.
22:12
<
al2o3-cr >
renlolo: single quote are literal, double quotes escape backslash
22:13
<
renlolo >
I still cant get it to work for some reason ...
22:13
<
renlolo >
&>> '\"'.sub('\"', '\\\\"').bytesize
22:13
<
al2o3-cr >
honour escapes
22:13
<
renlolo >
'\\\\"' should be [\, \, "] right?
22:14
<
renlolo >
I've tried it with `"` as well, "\\\""
22:14
<
al2o3-cr >
renlolo: correct, yes.
22:15
sameerynho has quit [Ping timeout: 255 seconds]
22:15
<
al2o3-cr >
&>> '\\\\"'.bytes.map &:chr
22:16
zacts has quit [Quit: WeeChat 2.4]
22:16
<
al2o3-cr >
which is \, \, "
22:17
<
al2o3-cr >
renlolo: show us what your trying to do.
22:18
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:18
<
renlolo >
&>> a='\"'.gsub('\\', '\\\\\\').bytesize # looks like it works
22:19
<
renlolo >
why there are 6 backslashes in the substitution I dont know but yeah
22:19
<
renlolo >
#trialanderror
22:20
<
phaul >
most of use that thecnique for this. Keep sticking in \ until it works. It's correct but so confusing to undertsand...
22:21
marmotini_ has joined #ruby
22:21
<
phaul >
I mean ruby is correct, but noone can work out how many \ they need :)
22:22
<
al2o3-cr >
they're subbing one of these \ with three of these \\\
22:23
<
al2o3-cr >
gsub is a little bit special though.
22:25
hightower3 has joined #ruby
22:26
<
al2o3-cr >
&>> puts '\"'.sub '\\', '\\\\\\'
22:26
<
al2o3-cr >
&>> '\"'.sub '\\', '\\\\\\'
22:28
hightower2 has quit [Ping timeout: 246 seconds]
22:31
<
al2o3-cr >
puts "\"".sub '\\', '\\\\\\'
22:31
<
al2o3-cr >
&>> puts "\"".sub '\\', '\\\\\\'
22:31
<
al2o3-cr >
'' literal
22:32
<
al2o3-cr >
"" not literal
22:33
csr_ has joined #ruby
22:34
<
al2o3-cr >
and the reason for the 6 of \ two for one \ another two for the other \ and one for the "
22:35
<
al2o3-cr >
if that makes sense.
22:35
Nicmavr has quit [Ping timeout: 245 seconds]
22:36
Nicmavr has joined #ruby
22:37
jelera has joined #ruby
22:38
marmotini_ has quit [Remote host closed the connection]
22:43
<
al2o3-cr >
&>> puts "\\\\\\\\\\\\\\"".dump
22:43
<
al2o3-cr >
because i left out one \
22:43
<
al2o3-cr >
&>> puts "\\\\\\\\\\\\\\\"".dump
22:45
<
al2o3-cr >
&>> "\\\\\\\\\\\\\\\"".dump
22:49
jelera has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:57
jelera has joined #ruby
22:59
<
al2o3-cr >
&>> SystemCallError.new 0
22:59
<
al2o3-cr >
&>> SystemCallError.new -1
23:00
ramfjord has quit [Ping timeout: 245 seconds]
23:00
jelera has quit [Client Quit]
23:01
spacesuitdiver has joined #ruby
23:03
crankharder has joined #ruby
23:04
spacesuitdiver has quit [Client Quit]
23:04
dar123 has joined #ruby
23:05
csr_ has left #ruby ["Leaving"]
23:10
sgen has quit [Read error: Connection reset by peer]
23:15
<
renlolo >
so gsub('\\', '\\\\\\') doesnt work ...
23:16
<
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
23:16
renlolo has left #ruby ["WeeChat 2.0.1"]
23:16
<
havenwood >
renlolo: just use a block
23:16
<
havenwood >
oops, too late - they quit Ruby
23:17
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:22
<
phaul >
not that it's different anywhere else that has similar semantics for ' and "...
23:35
fphilipe has joined #ruby
23:38
fdimitri_ has quit [Ping timeout: 252 seconds]
23:42
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:42
hightower3 has quit [Ping timeout: 255 seconds]
23:44
dar123 has joined #ruby
23:44
kyrylo has joined #ruby
23:44
<
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
23:45
<
leftylink >
&>> %q(\) # that is a syntax error
23:45
<
leftylink >
&>> %q(\ ).strip # but this is fine
23:45
<
leftylink >
&>> %q(\\) == %q(\ ).strip
23:46
<
leftylink >
so that is a bit unfortunate if you want the correspondence
23:47
<
leftylink >
maybe if you wanted two, you could do something silly like
23:47
<
leftylink >
&>> %q(\ \ ).delete(' ').bytes
23:48
<
leftylink >
two in the literal and two in the value, that'd be fine
23:51
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:51
<
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
23:51
<
leftylink >
&>> single_backslash = ?\\; raise "NOPE" if single_backslash.size != 1; puts single_backslash * 3
23:53
fdimitri has joined #ruby
23:53
clemens3 has quit [Ping timeout: 246 seconds]
23:54
clemens3_ has joined #ruby
23:57
<
al2o3-cr >
&>> "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes.map &:chr
23:57
<
rubydoc >
# => ["f", "o", "o", "\\", "\\", "\\", "\\", "\\", "\b", "a", "r", "\n", "\t", "\r", "\t", "\\", "\\", "\\", "\\"] (
https://carc.in/#/r/6tw4 )
23:58
<
al2o3-cr >
&>> puts "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes.map &:chr
23:58
<
al2o3-cr >
&>> p "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes.map &:chr
23:58
<
rubydoc >
# => ["f", "o", "o", "\\", "\\", "\\", "\\", "\\", "\b", "a", "r", "\n", "\t", "\r", "\t", "\\", "\\", "\\", "\\"] (
https://carc.in/#/r/6tw6 )
23:58
<
al2o3-cr >
&>> p "foo\\\\\\\\\\\bar\n\t\r\t\\\\\\\\".bytes
23:58
<
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 )