00:06
Swyper has quit [Remote host closed the connection]
00:10
fphilipe_ has quit [Ping timeout: 246 seconds]
00:10
smurfendrek123_ has quit [Ping timeout: 258 seconds]
00:13
Fernando-Basso has quit [Remote host closed the connection]
00:13
smurfendrek123_ has joined #ruby
00:13
sylario has quit [Quit: Connection closed for inactivity]
00:15
poontangmessiah has joined #ruby
00:19
crankharder has quit [Ping timeout: 245 seconds]
00:20
r29v has quit [Quit: r29v]
00:29
DaRock has joined #ruby
00:30
lucasb has quit [Quit: Connection closed for inactivity]
00:33
^amra has quit [Quit: Leaving]
00:38
bambanx has quit [Ping timeout: 246 seconds]
00:41
wildtrees has quit [Quit: Leaving]
00:42
poontangmessiah has quit [Remote host closed the connection]
00:46
fphilipe_ has joined #ruby
00:49
psilly0 has quit [Quit: psilly0]
00:52
Exuma has joined #ruby
00:57
Faris has joined #ruby
00:57
Faris has left #ruby [#ruby]
01:02
cthulchu has quit [Ping timeout: 245 seconds]
01:07
tsujp has joined #ruby
01:10
gix has quit [Ping timeout: 272 seconds]
01:11
pep7 has joined #ruby
01:11
pep7 has quit [Changing host]
01:11
pep7 has joined #ruby
01:11
AJA4350 has quit [Quit: AJA4350]
01:15
crankharder has joined #ruby
01:17
pwnd_nsfw has joined #ruby
01:17
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:19
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
01:20
crankharder has quit [Ping timeout: 272 seconds]
01:21
fphilipe_ has quit [Ping timeout: 245 seconds]
01:25
ElFerna_ has joined #ruby
01:28
bambanx has joined #ruby
01:29
agent_white has quit [Quit: bbl]
01:32
bambanx_ has joined #ruby
01:32
smurfendrek123_ has quit [Ping timeout: 245 seconds]
01:35
wrkrcoop has joined #ruby
01:38
frich has quit [Ping timeout: 245 seconds]
01:49
fphilipe_ has joined #ruby
01:51
bambanx_ has quit [Quit: Leaving]
01:52
tpanarch1st_ has quit [Quit: Thanks for your help, nice to see you, take care.]
01:53
x86sk has joined #ruby
01:58
shwouchk has quit [Quit: Connection closed for inactivity]
01:59
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:01
Technodrome has joined #ruby
02:03
tdy has joined #ruby
02:06
duckpuppy has joined #ruby
02:07
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:09
bambanx has joined #ruby
02:17
ramfjord has quit [Ping timeout: 248 seconds]
02:18
ElFerna_ has quit [Quit: Leaving]
02:20
wrkrcoop has quit [Quit: wrkrcoop]
02:25
fphilipe_ has quit [Ping timeout: 252 seconds]
02:32
brool has quit [Ping timeout: 252 seconds]
02:44
<
leftylink >
well, supposedly the 2018 TRICK was the final iteration
02:44
queip has quit [Ping timeout: 258 seconds]
02:44
<
leftylink >
perhaps I should review some entries
02:45
<
leftylink >
looking for more examples of "WTF, that works????"
02:45
<
leftylink >
like the braces thing
02:45
<
leftylink >
&>> "#{%}#{%}#{%}#{%}#{%}#}}}}}}}}}}"
02:46
<
leftylink >
don't give me that
02:46
<
leftylink >
&>> "#{%}#{%}#{%}#{%}#{%}#}}}}}}}}}}"
02:46
<
leftylink >
thank you
02:52
henninb has quit [Quit: Lost terminal]
02:53
bambanx has quit [Quit: Leaving]
02:55
queip has joined #ruby
03:01
fphilipe_ has joined #ruby
03:01
Exuma has joined #ruby
03:02
Exuma has quit [Client Quit]
03:19
tdy has quit [Ping timeout: 245 seconds]
03:36
fphilipe_ has quit [Ping timeout: 252 seconds]
03:46
RiPuk has quit [Ping timeout: 258 seconds]
03:47
RiPuk has joined #ruby
04:03
RiPuk has quit [Ping timeout: 268 seconds]
04:09
fphilipe_ has joined #ruby
04:12
RiPuk has joined #ruby
04:17
RiPuk has quit [Ping timeout: 245 seconds]
04:21
<
leftylink >
or I guess there's weird shit like
04:21
<
leftylink >
&>> %% % % %% %
04:21
<
leftylink >
can extend that with as many as needed
04:22
<
leftylink >
&>> %% % % %% % % %% % % %% %
04:23
cow[moo] has joined #ruby
04:25
<
leftylink >
or the reverse shit like
04:25
<
leftylink >
&>> % %%%%%%%%%%%%%%%% % % % % % % % % % % % %
04:25
<
leftylink >
don't strip out my whitespace jeez
04:25
<
leftylink >
&>> % %%%%%%%%%%%%%%%% % % % % % % % % % % % % #
04:26
<
leftylink >
thank you
04:27
cow[moo] has quit [Client Quit]
04:28
rainmanjam has joined #ruby
04:28
cow[moo] has joined #ruby
04:28
tdy has joined #ruby
04:30
cow[moo] has quit [Read error: Connection reset by peer]
04:35
lose has quit [Ping timeout: 258 seconds]
04:46
fphilipe_ has quit [Ping timeout: 250 seconds]
04:53
Nicmavr has quit [Read error: Connection reset by peer]
04:54
rafadc has quit [Ping timeout: 244 seconds]
04:55
Nicmavr has joined #ruby
05:06
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:08
dionysus69 has joined #ruby
05:15
fphilipe_ has joined #ruby
05:23
ur5us has quit [Remote host closed the connection]
05:24
ur5us has joined #ruby
05:26
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
05:28
rainmanjam has quit [Read error: Connection reset by peer]
05:28
ur5us has quit [Ping timeout: 245 seconds]
05:31
Milos_ is now known as Milos
05:32
rafadc has joined #ruby
05:37
rafadc has quit [Ping timeout: 272 seconds]
05:37
absolutejam1 has joined #ruby
05:39
pabs has quit [Ping timeout: 244 seconds]
05:41
lalitmee has joined #ruby
05:48
rafadc has joined #ruby
05:50
lalitmee has quit [Quit: Leaving]
05:51
lalitmee has joined #ruby
05:52
rafadc has quit [Ping timeout: 245 seconds]
05:54
Exuma has joined #ruby
05:55
Exuma has quit [Client Quit]
06:03
Technodrome has joined #ruby
06:03
lalitmee has quit [Quit: Leaving]
06:04
lalitmee has joined #ruby
06:05
lalitmee has quit [Remote host closed the connection]
06:05
lalitmee has joined #ruby
06:08
sagax has joined #ruby
06:11
schaerli has joined #ruby
06:12
pabs has joined #ruby
06:14
dionysus69 has quit [Read error: Connection reset by peer]
06:15
absolutejam1 has quit [Ping timeout: 272 seconds]
06:16
dionysus69 has joined #ruby
06:18
galaxie has quit [Ping timeout: 260 seconds]
06:25
emptyflask has quit [Ping timeout: 245 seconds]
06:35
queip has quit [Ping timeout: 258 seconds]
06:35
iNs has quit [Remote host closed the connection]
06:35
iNs has joined #ruby
06:39
jacksop has joined #ruby
06:39
rafadc has joined #ruby
06:43
nerdius has joined #ruby
06:44
lxsameer has joined #ruby
06:45
drnerdius has quit [Ping timeout: 258 seconds]
06:45
lalitmee has quit [Ping timeout: 246 seconds]
06:47
ravenous_ has joined #ruby
06:48
jacksop has quit [Remote host closed the connection]
06:48
silviu14 has joined #ruby
06:53
nerdius has quit [Read error: Connection reset by peer]
06:53
drnerdius has joined #ruby
06:55
silviu13 has quit [Ping timeout: 252 seconds]
06:55
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:56
schneider has joined #ruby
06:59
drnerdius has quit [Ping timeout: 248 seconds]
07:01
queip has joined #ruby
07:07
drnerdius has joined #ruby
07:09
jacksop has joined #ruby
07:10
suukim has joined #ruby
07:10
jacksop has quit [Client Quit]
07:10
ua has quit [Ping timeout: 272 seconds]
07:17
DTZUZO has quit [Ping timeout: 245 seconds]
07:18
<
leftylink >
I'm losing track
07:18
<
leftylink >
but if I wanted to make it longer I probably would lose track of how many % I'm supposed to put
07:19
andikr has joined #ruby
07:19
<
leftylink >
&>> % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % % % % % % % % % % % #
07:19
<
leftylink >
don't give me that
07:19
meinside has joined #ruby
07:19
<
leftylink >
&>> % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % % % % % % % % % % % #
07:19
<
leftylink >
thank you
07:22
jinie has quit [Ping timeout: 244 seconds]
07:22
<
leftylink >
so, three percents each time
07:22
jinie has joined #ruby
07:23
ua has joined #ruby
07:23
<
leftylink >
I don't need a number without a number, but I would like a number without a number. you could use ?c in 1.8 but need to do something different now
07:25
absolutejam1 has joined #ruby
07:25
fphilipe has joined #ruby
07:28
fphilipe_ has quit [Ping timeout: 264 seconds]
07:29
drnerdius has quit [Read error: Connection reset by peer]
07:30
drnerdius has joined #ruby
07:34
<
leftylink >
well okay...
07:35
<
leftylink >
&>> ?%*((_=(_=(_=?@=~/$/)<<_)<<_)<<_) % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % #
07:36
TomyWork has joined #ruby
07:36
shortCircuit__ has joined #ruby
07:36
<
shortCircuit__ >
hi
07:36
<
shortCircuit__ >
I had a question. Given an utc offset how to get the timezone
07:37
<
shortCircuit__ >
like +07:00 == Jakarta
07:40
<
shortCircuit__ >
ow, I see that there can be multiple zones with same offset
07:40
<
shortCircuit__ >
dangs
07:42
lalitmee has joined #ruby
07:49
fphilipe has quit [Ping timeout: 252 seconds]
07:50
lalitmee has quit [Ping timeout: 258 seconds]
07:54
lalitmee has joined #ruby
07:55
cd has joined #ruby
07:56
dbugger has joined #ruby
07:56
cd has quit [Client Quit]
08:00
fphilipe has joined #ruby
08:03
sagax has quit [Read error: Connection reset by peer]
08:05
lalitmee has quit [Remote host closed the connection]
08:05
lalitmee has joined #ruby
08:05
<
phaul >
this is weird. I don't know what's going on. Why is "%" valid ruby?
08:06
<
phaul >
(not talking about % followed by character literal, just a %)
08:10
DaRock has quit [Ping timeout: 246 seconds]
08:10
DTZUZO has joined #ruby
08:12
<
leftylink >
didn't expect that. did something change... kind of wish I had more ruby versions to test against
08:13
<
leftylink >
since my `ruby -e '%'` is "unterminated string meets end of file"
08:13
<
leftylink >
and now want to know if it's different in other version
08:13
marahin has quit [Ping timeout: 264 seconds]
08:13
<
rubydoc >
parser error at position 0 around `2'
08:14
lalitmee has quit [Ping timeout: 245 seconds]
08:15
<
phaul >
my ruby -e is unterminated string as well, so Im not sure I trust the bots results. But I don't know what's going on
08:16
lalitmee has joined #ruby
08:17
DTZUZO has quit [Ping timeout: 244 seconds]
08:18
marahin has joined #ruby
08:18
marahin has joined #ruby
08:18
marahin has quit [Changing host]
08:19
tdy has quit [Ping timeout: 272 seconds]
08:20
DTZUZO has joined #ruby
08:30
sagax has joined #ruby
08:31
cd has joined #ruby
08:38
yasumi2136 has joined #ruby
08:47
smurfendrek123_ has joined #ruby
08:51
MrCrackPot has quit [Remote host closed the connection]
09:00
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:02
Technodrome has joined #ruby
09:07
ZAJDAN has quit [Quit: Konversation terminated!]
09:11
RiPuk has joined #ruby
09:12
involans has joined #ruby
09:31
yasumi2136 has quit [Remote host closed the connection]
09:34
NL3limin4t0r has joined #ruby
09:36
howdoi has joined #ruby
09:36
yasumi2136 has joined #ruby
09:38
DTZUZO has quit [Read error: Connection reset by peer]
09:38
kazooie___ has joined #ruby
09:49
RiPuk has quit [Ping timeout: 245 seconds]
09:57
RiPuk has joined #ruby
10:00
yann-kaelig has joined #ruby
10:01
DTZUZO has joined #ruby
10:01
RiPuk has quit [Client Quit]
10:01
RiPuk has joined #ruby
10:03
banisterfiend has joined #ruby
10:07
shortCircuit__ has quit [Ping timeout: 244 seconds]
10:10
lxsameer has quit [Quit: out]
10:13
absolutejam1 has quit [Ping timeout: 244 seconds]
10:14
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:14
ramfjord has joined #ruby
10:19
ramfjord has quit [Ping timeout: 244 seconds]
10:22
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:23
smurfendrek123_ has quit [*.net *.split]
10:23
lalitmee has quit [*.net *.split]
10:23
marahin has quit [*.net *.split]
10:23
schneider has quit [*.net *.split]
10:23
Fischmiep has quit [*.net *.split]
10:23
Milos has quit [*.net *.split]
10:23
teardown has quit [*.net *.split]
10:23
unreal has quit [*.net *.split]
10:23
SCHAPiE has quit [*.net *.split]
10:23
donofrio has quit [*.net *.split]
10:23
mcspud has quit [*.net *.split]
10:23
d^sh has quit [*.net *.split]
10:23
Rudd0 has quit [*.net *.split]
10:23
txdv has quit [*.net *.split]
10:23
jefft has quit [*.net *.split]
10:23
Koshian has quit [*.net *.split]
10:23
stan_ has quit [*.net *.split]
10:23
TvL2386 has quit [*.net *.split]
10:23
levifig has quit [*.net *.split]
10:23
`Alison has quit [*.net *.split]
10:23
shenghi has quit [*.net *.split]
10:23
mr_rich101 has quit [*.net *.split]
10:23
stooj has quit [*.net *.split]
10:23
madhatter has quit [*.net *.split]
10:23
p3ps1 has quit [*.net *.split]
10:23
ltd has quit [*.net *.split]
10:23
Nilium has quit [*.net *.split]
10:23
nirix has quit [*.net *.split]
10:23
Keltia has quit [*.net *.split]
10:23
Raboo has quit [*.net *.split]
10:23
NightMonkey has quit [*.net *.split]
10:23
SirFunk has quit [*.net *.split]
10:23
wmoxam has quit [*.net *.split]
10:23
camilasan has quit [*.net *.split]
10:23
Meanirelli has quit [*.net *.split]
10:23
justinmcp_ has quit [*.net *.split]
10:23
volix has quit [*.net *.split]
10:23
RiPuk has quit [*.net *.split]
10:23
fphilipe has quit [*.net *.split]
10:23
duckpuppy has quit [*.net *.split]
10:23
pwnd_nsfw has quit [*.net *.split]
10:23
Azure has quit [*.net *.split]
10:23
johnny56 has quit [*.net *.split]
10:23
BrianWGray has quit [*.net *.split]
10:23
dinfuehr has quit [*.net *.split]
10:23
spiette has quit [*.net *.split]
10:23
r3m_ has quit [*.net *.split]
10:23
envex has quit [*.net *.split]
10:23
funnel has quit [*.net *.split]
10:23
marens has quit [*.net *.split]
10:23
lord4163 has quit [*.net *.split]
10:23
kaleido has quit [*.net *.split]
10:23
Ekho has quit [*.net *.split]
10:23
chihhsin has quit [*.net *.split]
10:23
cats has quit [*.net *.split]
10:23
matled has quit [*.net *.split]
10:23
shtirlic has quit [*.net *.split]
10:23
rubydoc has quit [*.net *.split]
10:23
PaulePanter has quit [*.net *.split]
10:23
towo has quit [*.net *.split]
10:23
Fraeon has quit [*.net *.split]
10:23
shaman42 has quit [*.net *.split]
10:23
mkaito_ has quit [*.net *.split]
10:23
alnk has quit [*.net *.split]
10:23
jidar has quit [*.net *.split]
10:23
mkroman has quit [*.net *.split]
10:23
justinweiss has quit [*.net *.split]
10:23
CalimeroTeknik has quit [*.net *.split]
10:23
pilcrow has quit [*.net *.split]
10:23
madhatter has joined #ruby
10:23
wmoxam has joined #ruby
10:23
marahin has joined #ruby
10:24
towo has joined #ruby
10:24
jefft has joined #ruby
10:24
stan has joined #ruby
10:24
Raboo_ has joined #ruby
10:24
TvL2386 has joined #ruby
10:24
shenghi has joined #ruby
10:24
marahin has quit [Changing host]
10:24
stooj has joined #ruby
10:24
marahin has joined #ruby
10:24
`Alison has joined #ruby
10:24
Raboo_ is now known as Raboo
10:24
txdv has joined #ruby
10:24
Keltia has joined #ruby
10:24
Fischmiep has joined #ruby
10:24
volix has joined #ruby
10:24
Rudd0^ has joined #ruby
10:24
SirFunk has joined #ruby
10:24
funnel_ has joined #ruby
10:24
funnel_ has quit [Changing host]
10:24
funnel_ has joined #ruby
10:24
Nilium has joined #ruby
10:24
schneider has joined #ruby
10:24
funnel_ is now known as funnel
10:24
levifig has joined #ruby
10:24
mr_rich101 has joined #ruby
10:24
camilasan has joined #ruby
10:25
Koshian has joined #ruby
10:25
volix has quit [Changing host]
10:25
volix has joined #ruby
10:25
mcspud has joined #ruby
10:25
matled has joined #ruby
10:25
camilasan has quit [Changing host]
10:25
camilasan has joined #ruby
10:25
fphilipe has joined #ruby
10:25
d^sh has joined #ruby
10:25
nirix has joined #ruby
10:26
pwnd_nsfw has joined #ruby
10:26
p3ps1 has joined #ruby
10:26
fphilipe is now known as Guest15733
10:26
chunkypuffs has joined #ruby
10:26
envex has joined #ruby
10:27
RiPuk has joined #ruby
10:27
pilcrow has joined #ruby
10:27
NightMonkey has joined #ruby
10:27
smurfendrek123 has joined #ruby
10:27
Milos has joined #ruby
10:27
shtirlic has joined #ruby
10:27
duckpuppy has joined #ruby
10:27
donofrio has joined #ruby
10:27
justinmcp has joined #ruby
10:27
chihhsin has joined #ruby
10:27
cats has joined #ruby
10:27
rubydoc has joined #ruby
10:27
absolutejam1 has joined #ruby
10:28
spiette has joined #ruby
10:28
donofrio has quit [Remote host closed the connection]
10:28
BrianWGray has joined #ruby
10:28
donofrio has joined #ruby
10:29
teardown has joined #ruby
10:29
shaman42 has joined #ruby
10:29
PaulePanter has joined #ruby
10:29
marens has joined #ruby
10:29
marens has joined #ruby
10:29
marens has quit [Changing host]
10:29
alnk has joined #ruby
10:29
mkroman has joined #ruby
10:29
Fraeon has joined #ruby
10:29
r3m_ has joined #ruby
10:30
yasumi2136 has quit [Quit: Leaving]
10:30
CalimeroTeknik has joined #ruby
10:31
unreal has joined #ruby
10:32
Azure has joined #ruby
10:32
dinfuehr has joined #ruby
10:33
mkaito_ has joined #ruby
10:33
absolutejam1 has quit [Quit: WeeChat 2.5]
10:34
kaleido has joined #ruby
10:34
SCHAPiE has joined #ruby
10:34
lord4163 has joined #ruby
10:40
Ekho has joined #ruby
10:41
jidar has joined #ruby
10:41
justinweiss has joined #ruby
10:43
x86sk has quit [Quit: Connection closed for inactivity]
10:43
banisterfiend has joined #ruby
10:49
haengma has joined #ruby
10:50
throstur has joined #ruby
10:54
haengma has quit [Ping timeout: 268 seconds]
10:58
phaul has quit [Quit: :wq]
10:59
AJA4350 has joined #ruby
11:00
phaul has joined #ruby
11:08
<
throstur >
I tried to ask #Jruby but it seems the channel is somewhat dead (or still sleeping)... I can't seem to File.open('aoeu.log', 'a') in jruby, it tells me unexpected ',', anyone got a clue what I'm doing wrong? (noob here)
11:11
lalitmee has joined #ruby
11:12
<
go|dfish >
&>> File.open ('aoeu.log', 'a')
11:13
<
go|dfish >
throstur: what's the full error? what's your full code look like?
11:14
<
go|dfish >
unexpected ',' can happen if there is a space before the (
11:14
<
throstur >
full code, full output
11:15
<
throstur >
oh, there was a space earlier, let me re-run now
11:15
<
throstur >
thanks, that was the issue
11:16
<
throstur >
could you explain why the space matters, how it changes the semantics?
11:18
<
phaul >
It's parsed as the expression that follows parenthesized, rather than an argument list
11:19
<
throstur >
fair enough, thanks
11:19
<
throstur >
My actual problem was invoking a supposedly bound logger from jruby but I guess I'll wait for #jruby to wake up
11:19
<
throstur >
this'll do for debugging at least
11:20
absolutejam has joined #ruby
11:20
leitz has joined #ruby
11:26
<
throstur >
nice, that was enough, you guys are wonderful, as always when ruby calls to me
11:26
<
throstur >
now... to evangelize!
11:26
jottr_ has joined #ruby
11:36
lalitmee has quit [Ping timeout: 245 seconds]
11:37
tens0r has joined #ruby
11:45
crankharder has joined #ruby
11:45
lalitmee has joined #ruby
11:46
tens0r has left #ruby [#ruby]
11:57
tens0r has joined #ruby
11:57
tens0r has quit [Client Quit]
12:02
tens0r has joined #ruby
12:07
tens0r is now known as ts0r
12:09
ts0r is now known as tens0r_
12:10
tens0r_ is now known as tens0r
12:10
tens0r has quit [Quit: tens0r]
12:11
tens0r has joined #ruby
12:12
foxxx0 has quit [Quit: foxxx0]
12:15
ramfjord has joined #ruby
12:15
foxxx0 has joined #ruby
12:16
lalitmee has quit [Quit: Leaving]
12:16
lalitmee has joined #ruby
12:18
lalitmee has quit [Remote host closed the connection]
12:18
lalitmee has joined #ruby
12:18
<
al2o3-cr >
hmm... pry: % [Enter] foo => "foo" | irb: % [Enter] foo [Enter] % [Enter] 42 => "foo" wat?
12:19
ramfjord has quit [Ping timeout: 246 seconds]
12:22
tens0r is now known as tx0r
12:25
BTRE has quit [Remote host closed the connection]
12:25
<
al2o3-cr >
what's going on here then?
12:27
sameerynho has joined #ruby
12:28
<
al2o3-cr >
i don't get it
12:29
mtuckerbradford has joined #ruby
12:29
BTRE has joined #ruby
12:32
<
al2o3-cr >
yeah, it's rather strange that
12:34
lose has joined #ruby
12:41
tx0r has quit [Ping timeout: 258 seconds]
12:45
tens0r has joined #ruby
12:46
tens0r has quit [Client Quit]
12:52
tsrt^ has joined #ruby
12:54
galaxie has joined #ruby
12:55
englishm has quit [Excess Flood]
12:55
englishm has joined #ruby
12:56
jottr_ has quit [Ping timeout: 244 seconds]
13:03
lalitmee has quit [Remote host closed the connection]
13:12
conta2 has joined #ruby
13:12
kazooie___ has quit [Ping timeout: 268 seconds]
13:13
ElFerna has joined #ruby
13:13
dan64- has joined #ruby
13:13
dan64 has quit [Ping timeout: 258 seconds]
13:16
bmurt has joined #ruby
13:18
lose has quit [Remote host closed the connection]
13:20
poontangmessiah has joined #ruby
13:22
Inline has joined #ruby
13:30
jottr_ has joined #ruby
13:43
schaerli has quit [Ping timeout: 245 seconds]
13:46
ElFerna_ has joined #ruby
13:47
ElFerna has quit [Ping timeout: 258 seconds]
13:51
iffraff has joined #ruby
13:52
john2496 has joined #ruby
13:56
lucasb has joined #ruby
14:00
rafadc has quit [Ping timeout: 245 seconds]
14:01
rafadc has joined #ruby
14:08
<
NL3limin4t0r >
al2o3-cr: In the case of irb it uses String#% `"foo" % 42 #=> "foo"`, but I don't know about the first percent sign.
14:08
crankharder has quit [Ping timeout: 245 seconds]
14:10
dionysus69 has quit [Ping timeout: 245 seconds]
14:11
<
al2o3-cr >
NL3limin4t0r: oh, of course, yeah.
14:11
<
NL3limin4t0r >
And it uses the percent sign litteral I guess for the first part. %(foo) #=> "foo"
14:11
<
NL3limin4t0r >
but with an [Enter] seperator instead of ()
14:14
<
al2o3-cr >
now i see it yes, it's using \n for delimiter. i couldn't not see that before. it all makes sense now. thanks NL3limin4t0r
14:14
<
al2o3-cr >
s/couldn't not/couldn't/
14:15
psprint has joined #ruby
14:16
<
psprint >
Hello. How to distribute and use the following package as a git submodule in a project? I.e. how to do (if it's necessary) a local install of a gem?
https://github.com/hpricot/hpricot
14:16
<
NL3limin4t0r >
al2o3-cr: If the plan is to use multiline strings your better of using HEREDOC instead. But I guess that wan't the intention.
14:18
<
al2o3-cr >
NL3limin4t0r: no, it was just something that was posted a bit earlier. but still doesn't explain why single % is still valid.
14:22
<
NL3limin4t0r >
psprint: If you want to do a local install from source you first have to build the gem, then install it.
14:23
<
NL3limin4t0r >
psprint: `gem build path/to/file.gemspec` then `gem install path/to/file.gem`
14:23
queip has quit [Ping timeout: 268 seconds]
14:23
conta2 has quit [Quit: conta2]
14:23
<
al2o3-cr >
i still can't believe what you explained didn't come to me before. i must read code with my eyes close ;)
14:26
zodd_ has joined #ruby
14:26
<
NL3limin4t0r >
al2o3-cr: Nah, sometime you just need an extra pair.
14:26
<
zodd_ >
does a documentation/wiki/something page exist describing methods to access databases from Ruby?
14:27
<
al2o3-cr >
NL3limin4t0r: very true.
14:27
<
zodd_ >
nm. got it I think
14:27
<
NL3limin4t0r >
zodd_: Ruby doesn't come with a database connection. Are you using Rails?
14:28
frich has joined #ruby
14:28
banisterfiend has joined #ruby
14:30
Esa_ has joined #ruby
14:30
mtuckerbradford has left #ruby [#ruby]
14:31
jottr_ has quit [Ping timeout: 244 seconds]
14:32
queip has joined #ruby
14:32
jottr_ has joined #ruby
14:32
banisterfiend has quit [Client Quit]
14:33
ElFerna_ has quit [Ping timeout: 245 seconds]
14:33
<
NL3limin4t0r >
Depending on the type of database the "pg", "mysql2" and "sqlite3" are the most populair (due to the fact that they are used by Rails).
14:35
Rapture has joined #ruby
14:38
queip has quit [Ping timeout: 245 seconds]
14:42
ElFerna_ has joined #ruby
14:46
queip has joined #ruby
14:47
absolutejam has quit [Ping timeout: 245 seconds]
14:49
<
al2o3-cr >
so, Random.urandom is cryptographically secure up to 32 bytes 256 bits?
14:50
ElFerna_ has quit [Ping timeout: 268 seconds]
14:52
<
zodd_ >
NL3limin4t0r, tyt
14:56
nerdius has joined #ruby
14:56
<
psprint >
How to specify the --prefix or in general installation path for gem install --user-install?
14:57
absolutejam has joined #ruby
14:59
drnerdius has quit [Ping timeout: 244 seconds]
15:00
ElFerna has joined #ruby
15:00
ElFerna has quit [Max SendQ exceeded]
15:00
jottr_ has quit [Ping timeout: 246 seconds]
15:01
ElFerna has joined #ruby
15:02
<
havenwood >
psprint: --install-dir
15:03
<
havenwood >
psprint: If the default is to a system directory, you can change the install directory with --user-install. If you want another directory, you can use --install-dir.
15:03
<
havenwood >
psprint: Or you can set $GEM_HOME.
15:04
nerdius has quit [Read error: Connection reset by peer]
15:07
emptyflask has joined #ruby
15:09
poontangmessiah has quit [Remote host closed the connection]
15:11
absolutejam has quit [Ping timeout: 245 seconds]
15:12
dinfuehr has quit [Ping timeout: 245 seconds]
15:13
dinfuehr has joined #ruby
15:15
ElFerna has quit [Quit: Leaving]
15:18
Yxhuvud has joined #ruby
15:26
bmurt has joined #ruby
15:27
DTZUZU has joined #ruby
15:27
MrCrackPot has joined #ruby
15:29
involans has quit [Quit: involans]
15:30
haengma has joined #ruby
15:31
involans has joined #ruby
15:32
queip has quit [Ping timeout: 245 seconds]
15:33
banisterfiend has joined #ruby
15:33
Nicmavr has quit [Read error: Connection reset by peer]
15:34
emptyflask has quit [Ping timeout: 246 seconds]
15:35
Exuma has joined #ruby
15:35
Nicmavr has joined #ruby
15:36
<
havenwood >
al2o3-cr: Funny thing is, it's non-cryptographic usage that that would matter for.
15:38
<
al2o3-cr >
havenwood: asking because i'm writing a little wrapper module around monocypher
15:38
<
havenwood >
al2o3-cr: Neat!
15:39
<
al2o3-cr >
i kept saying it ages ago, but finally getting around to doing it. will be my first gem ;)
15:39
involans has quit [Quit: involans]
15:40
involans has joined #ruby
15:40
<
al2o3-cr >
just writing all the ffi binding for it now
15:40
john2496 has quit [Remote host closed the connection]
15:40
<
al2o3-cr >
*bindings
15:40
smurfendrek123 has quit [Ping timeout: 245 seconds]
15:40
involans has quit [Client Quit]
15:41
queip has joined #ruby
15:43
Omnilord has joined #ruby
15:45
wrkrcoop has joined #ruby
15:49
smurfendrek123 has joined #ruby
15:56
rafadc_ has joined #ruby
15:56
rafadc has quit [Ping timeout: 244 seconds]
15:56
vondruch has quit [Quit: vondruch]
15:57
vondruch has joined #ruby
15:57
psilly0 has joined #ruby
15:59
ramfjord has joined #ruby
16:00
andikr has quit [Remote host closed the connection]
16:02
impermanence has joined #ruby
16:02
r29v has joined #ruby
16:04
ellcs has quit [Ping timeout: 268 seconds]
16:04
involans has joined #ruby
16:04
ramfjord has quit [Ping timeout: 246 seconds]
16:05
crankharder has joined #ruby
16:06
john2496 has joined #ruby
16:08
SeepingN has joined #ruby
16:08
wrkrcoop has quit [Quit: wrkrcoop]
16:12
Doow has quit [Read error: Connection reset by peer]
16:13
GodFather has quit [Ping timeout: 258 seconds]
16:13
involans has quit [Quit: involans]
16:16
blizzow has joined #ruby
16:17
TomyWork has quit [Ping timeout: 246 seconds]
16:22
involans has joined #ruby
16:28
throstur has quit [Remote host closed the connection]
16:30
spiette has quit [Ping timeout: 245 seconds]
16:33
cthulchu has joined #ruby
16:35
greengriminal has joined #ruby
16:35
crankharder has quit [Read error: Connection reset by peer]
16:35
crankharder has joined #ruby
16:38
paraxial has joined #ruby
16:38
dionysus69 has joined #ruby
16:41
Guest15733 has quit [Ping timeout: 244 seconds]
16:43
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:43
paraxial has quit [Ping timeout: 268 seconds]
16:43
<
bougyman >
Google is no help here. Why do my #inspect strings not get pretty printed by pry like ones from other classes I use?
16:44
<
bougyman >
tried googling 'ruby #inspect formatting', 'pry #inpsect colorized', and a few others.
16:46
paraxial has joined #ruby
16:49
ramfjord has joined #ruby
16:50
gell5 has joined #ruby
16:50
gell5 has quit [Remote host closed the connection]
16:50
<
phaul >
do you mean the syntax highlighting in pry?
16:50
Technodrome has joined #ruby
16:50
gell5 has joined #ruby
16:50
zodd_ has quit [Ping timeout: 268 seconds]
16:51
gell5 has quit [Remote host closed the connection]
16:51
gell5 has joined #ruby
16:51
<
phaul >
there is a color config setting for pry that can disable colours if you don't like them
16:52
gell5 has quit [Remote host closed the connection]
16:52
drnerdius has joined #ruby
16:53
<
phaul >
in your ~/.pryrc ...
16:53
ramfjord has quit [Ping timeout: 245 seconds]
16:54
gix has joined #ruby
16:54
<
bougyman >
phaul: I mean that other class instances' inspect output is colorized
16:55
<
bougyman >
but my own classes' inspect output is not.
16:55
<
bougyman >
in the same pry session.
16:55
<
bougyman >
I'm wondering what the magic is.
16:55
greengriminal has quit [Quit: This computer has gone to sleep]
16:57
<
phaul >
I don't think it's the inspect methods of classes that colourize, but pry postprocesses the output
16:58
<
bougyman >
Yes, I know that.
16:58
<
bougyman >
here, let me show you.
16:58
<
bougyman >
oh, I can't pass on the colorization...
16:58
<
bougyman >
it
_is_ colorizing the string returned by, say: HighLine.new
16:59
<
bougyman >
but for say, MyObj.new, nor for Aws::Credentials.new('one', 'two')
16:59
<
bougyman >
*but not for
16:59
<
bougyman >
and I don't understand the difference. #inspect always just returns a string.
17:00
<
bougyman >
oh now this is weird. if I do HighLine.new.inspect, it's just a string (and in red).
17:00
<
bougyman >
crazysauce
17:01
<
bougyman >
It looks like only if an object does not have a customized #inspect does pry do the colorized output in the => line
17:02
<
bougyman >
I have no idea why it would tread custom inspect strings different from the 'native' Object#inspect output.
17:02
<
phaul >
Pry::Helpers::BaseHelpers.colorize_code('1') is what's called in the background
17:07
greengriminal has joined #ruby
17:10
galaxie has quit [Remote host closed the connection]
17:10
galaxie has joined #ruby
17:14
dinfuehr has quit [Ping timeout: 245 seconds]
17:15
dinfuehr has joined #ruby
17:20
queip has quit [Ping timeout: 258 seconds]
17:23
gell5 has joined #ruby
17:25
ramfjord has joined #ruby
17:26
poontangmessiah has joined #ruby
17:27
howdoi has quit [Quit: Connection closed for inactivity]
17:28
gell5 has quit [Ping timeout: 268 seconds]
17:29
queip has joined #ruby
17:31
orbyt_ has joined #ruby
17:34
NL3limin4t0r is now known as NL3limin4t0r_afk
17:43
greengriminal has quit [Quit: Leaving]
17:48
suukim has quit [Quit: Konversation terminated!]
17:53
absolutejam has joined #ruby
17:55
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:55
gell5 has joined #ruby
17:59
ravenous_ has joined #ruby
17:59
zodd_ has joined #ruby
18:00
zodd_ is now known as Guest38664
18:00
gell5 has quit [Ping timeout: 268 seconds]
18:02
absolutejam has quit [Ping timeout: 258 seconds]
18:05
dionysus70 has joined #ruby
18:07
dionysus69 has quit [Ping timeout: 244 seconds]
18:07
dionysus70 is now known as dionysus69
18:08
Guest38664 has quit [Ping timeout: 244 seconds]
18:12
banisterfiend has joined #ruby
18:13
Ven`` has joined #ruby
18:14
Ven`` has quit [Client Quit]
18:16
cyclonis has joined #ruby
18:16
cyclonis has quit [Excess Flood]
18:16
cyclonis has joined #ruby
18:20
wildtrees has joined #ruby
18:21
wildtrees has quit [Remote host closed the connection]
18:22
wildtrees has joined #ruby
18:23
wildtrees has quit [Max SendQ exceeded]
18:23
sauvin has quit [Read error: Connection reset by peer]
18:24
wildtrees has joined #ruby
18:26
ua has quit [Ping timeout: 245 seconds]
18:33
kazooie___ has joined #ruby
18:34
gell5 has joined #ruby
18:36
poontangmessiah has quit [Remote host closed the connection]
18:38
ellcs has joined #ruby
18:38
gell5 has quit [Ping timeout: 258 seconds]
18:38
queip has quit [Ping timeout: 245 seconds]
18:39
hsiktas has quit [Read error: Connection reset by peer]
18:39
justache has quit [Read error: Connection reset by peer]
18:40
hsiktas has joined #ruby
18:42
justache has joined #ruby
18:45
haengma has quit [Remote host closed the connection]
18:48
spiette has joined #ruby
18:48
queip has joined #ruby
18:48
drnerdius has quit [Read error: Connection reset by peer]
18:49
drnerdius has joined #ruby
18:54
ua has joined #ruby
18:57
nerdius has joined #ruby
18:59
drnerdius has quit [Ping timeout: 245 seconds]
19:00
smurfendrek123_ has joined #ruby
19:02
vjacob has joined #ruby
19:02
ellcs has quit [Ping timeout: 264 seconds]
19:03
smurfendrek123 has quit [Ping timeout: 268 seconds]
19:07
kazooie___ has quit [Ping timeout: 246 seconds]
19:08
wildtrees has quit [Ping timeout: 245 seconds]
19:12
ellcs has joined #ruby
19:12
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:21
jottr_ has joined #ruby
19:23
john2496 has quit [Remote host closed the connection]
19:25
cagomez has joined #ruby
19:25
gell5 has joined #ruby
19:26
tdy has joined #ruby
19:29
r29v has quit [Quit: r29v]
19:29
gell5 has quit [Ping timeout: 246 seconds]
19:30
queip has quit [Ping timeout: 245 seconds]
19:37
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:37
Ven`` has joined #ruby
19:38
GodFather has joined #ruby
19:39
queip has joined #ruby
19:43
Milos has joined #ruby
19:43
dbugger has quit [Quit: Leaving]
19:47
queip has quit [Ping timeout: 244 seconds]
19:50
Tobbi_ has joined #ruby
19:51
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:53
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:55
fig has joined #ruby
19:55
ellcs has quit [Ping timeout: 264 seconds]
19:57
queip has joined #ruby
19:59
ellcs has joined #ruby
20:03
fig-le-deunch[m] has joined #ruby
20:03
al2o3-cr has quit [Ping timeout: 246 seconds]
20:03
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:03
orbyt_ has joined #ruby
20:04
al2o3-cr has joined #ruby
20:04
dionysus69 has quit [Read error: Connection reset by peer]
20:05
gell5 has joined #ruby
20:06
fig has quit [Remote host closed the connection]
20:10
gell5 has quit [Ping timeout: 245 seconds]
20:10
haengma has joined #ruby
20:14
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:18
ramfjord_ has joined #ruby
20:20
ramfjord has quit [Ping timeout: 246 seconds]
20:27
wildtrees has joined #ruby
20:28
smurfendrek123_ has quit [Ping timeout: 245 seconds]
20:29
Exuma has joined #ruby
20:30
Exuma has quit [Client Quit]
20:32
psilly0 has quit [Quit: psilly0]
20:32
jottr_ has quit [Quit: WeeChat 2.5]
20:33
r29v has joined #ruby
20:34
Criten is now known as spacelax
20:35
spacelax is now known as Criten
20:37
haengma has quit []
20:38
Exuma has joined #ruby
20:38
emptyflask has joined #ruby
20:39
tdy has quit [Ping timeout: 246 seconds]
20:39
hiroaki has joined #ruby
20:41
tpanarch1st has joined #ruby
20:41
r29v has quit [Ping timeout: 244 seconds]
20:42
gell5 has joined #ruby
20:47
gell5 has quit [Ping timeout: 245 seconds]
21:01
knueppelspass has joined #ruby
21:03
ellcs has quit [Remote host closed the connection]
21:04
Ven`` has joined #ruby
21:06
ellcs has joined #ruby
21:06
Intelo has joined #ruby
21:07
involans has quit [Quit: involans]
21:10
leitz has quit [Quit: Leaving]
21:10
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:11
Ven`` has joined #ruby
21:11
Ven`` has quit [Client Quit]
21:15
absolutejam has joined #ruby
21:17
schneider has quit [Ping timeout: 246 seconds]
21:18
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:26
gell5 has joined #ruby
21:28
orbyt_ has joined #ruby
21:28
Guest15733 has joined #ruby
21:29
rafadc_ has quit [Ping timeout: 268 seconds]
21:30
r29v has joined #ruby
21:31
vjacob has quit [Read error: Connection reset by peer]
21:31
gell5 has quit [Ping timeout: 268 seconds]
21:37
rafadc has joined #ruby
21:41
yann-kaelig has quit [Quit: yann-kaelig]
21:44
tdy has joined #ruby
21:45
impermanence has quit [Remote host closed the connection]
21:59
psilly0 has joined #ruby
22:00
cagomez has quit [Remote host closed the connection]
22:01
smurfendrek123_ has joined #ruby
22:02
cagomez has joined #ruby
22:03
cyclonis_ has joined #ruby
22:03
ramfjord_ has quit [Read error: Connection reset by peer]
22:05
knueppelspass has quit [Ping timeout: 250 seconds]
22:05
cyclonis has quit [Read error: Connection reset by peer]
22:05
cyclonis_ has quit [Read error: Connection reset by peer]
22:07
ramfjord has joined #ruby
22:09
cyclonis_ has joined #ruby
22:09
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:11
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:15
emptyflask has quit [Ping timeout: 245 seconds]
22:16
cyclonis_ has quit [Read error: Connection reset by peer]
22:21
cyclonis_ has joined #ruby
22:22
gell5 has joined #ruby
22:24
cyclonis_ has quit [Read error: Connection reset by peer]
22:27
cyclonis_ has joined #ruby
22:27
frich has quit [Quit: Leaving]
22:28
gell5 has quit [Ping timeout: 258 seconds]
22:34
al2o3-cr has quit [Quit: WeeChat 2.5]
22:37
al2o3-cr has joined #ruby
22:38
ramfjord has quit [Ping timeout: 268 seconds]
22:38
ellcs has quit [Ping timeout: 264 seconds]
22:39
cagomez has quit [Read error: Connection reset by peer]
22:46
lucasb has quit [Quit: Connection closed for inactivity]
22:51
ellcs has joined #ruby
22:53
ramfjord has joined #ruby
22:54
orbyt_ has joined #ruby
22:54
blizzow has quit [Ping timeout: 246 seconds]
22:54
crankharder has quit [Ping timeout: 245 seconds]
22:55
gell5 has joined #ruby
23:00
gell5 has quit [Ping timeout: 245 seconds]
23:02
sameerynho has quit [Ping timeout: 245 seconds]
23:04
absolutejam has quit [Ping timeout: 258 seconds]
23:17
cagomez has joined #ruby
23:18
r29v has quit [Quit: r29v]
23:20
queip has quit [Ping timeout: 246 seconds]
23:20
poontangmessiah has joined #ruby
23:31
queip has joined #ruby
23:37
Guest15733 has quit [Ping timeout: 245 seconds]
23:42
wildtrees has quit [Quit: Leaving]
23:44
bga57 has joined #ruby
23:46
crankharder has joined #ruby
23:50
tdy has quit [Ping timeout: 246 seconds]
23:50
brool has joined #ruby
23:51
x86sk has joined #ruby
23:52
psilly0 has quit [Quit: psilly0]
23:53
crankharder has quit [Quit: leaving]
23:53
banisterfiend has joined #ruby