havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: 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!
Swyper has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 246 seconds]
smurfendrek123_ has quit [Ping timeout: 258 seconds]
Fernando-Basso has quit [Remote host closed the connection]
smurfendrek123_ has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
poontangmessiah has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
r29v has quit [Quit: r29v]
DaRock has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
^amra has quit [Quit: Leaving]
bambanx has quit [Ping timeout: 246 seconds]
wildtrees has quit [Quit: Leaving]
poontangmessiah has quit [Remote host closed the connection]
fphilipe_ has joined #ruby
psilly0 has quit [Quit: psilly0]
Exuma has joined #ruby
Faris has joined #ruby
Faris has left #ruby [#ruby]
cthulchu has quit [Ping timeout: 245 seconds]
tsujp has joined #ruby
gix has quit [Ping timeout: 272 seconds]
pep7 has joined #ruby
pep7 has quit [Changing host]
pep7 has joined #ruby
AJA4350 has quit [Quit: AJA4350]
crankharder has joined #ruby
pwnd_nsfw has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
crankharder has quit [Ping timeout: 272 seconds]
fphilipe_ has quit [Ping timeout: 245 seconds]
ElFerna_ has joined #ruby
bambanx has joined #ruby
agent_white has quit [Quit: bbl]
bambanx_ has joined #ruby
smurfendrek123_ has quit [Ping timeout: 245 seconds]
wrkrcoop has joined #ruby
frich has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
bambanx_ has quit [Quit: Leaving]
tpanarch1st_ has quit [Quit: Thanks for your help, nice to see you, take care.]
x86sk has joined #ruby
shwouchk has quit [Quit: Connection closed for inactivity]
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
tdy has joined #ruby
duckpuppy has joined #ruby
bambanx has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bambanx has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
ElFerna_ has quit [Quit: Leaving]
wrkrcoop has quit [Quit: wrkrcoop]
fphilipe_ has quit [Ping timeout: 252 seconds]
brool has quit [Ping timeout: 252 seconds]
<leftylink> so
<leftylink> well, supposedly the 2018 TRICK was the final iteration
queip has quit [Ping timeout: 258 seconds]
<leftylink> perhaps I should review some entries
<leftylink> looking for more examples of "WTF, that works????"
<leftylink> like the braces thing
<leftylink> &>> "#{%}#{%}#{%}#{%}#{%}#}}}}}}}}}}"
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/7gww)
<leftylink> don't give me that
<leftylink> &>> "#{%}#{%}#{%}#{%}#{%}#}}}}}}}}}}"
<rubydoc> # => "#" (https://carc.in/#/r/7gwx)
<leftylink> thank you
henninb has quit [Quit: Lost terminal]
bambanx has quit [Quit: Leaving]
queip has joined #ruby
fphilipe_ has joined #ruby
Exuma has joined #ruby
Exuma has quit [Client Quit]
tdy has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
RiPuk has quit [Ping timeout: 258 seconds]
RiPuk has joined #ruby
RiPuk has quit [Ping timeout: 268 seconds]
fphilipe_ has joined #ruby
RiPuk has joined #ruby
RiPuk has quit [Ping timeout: 245 seconds]
<leftylink> or I guess there's weird shit like
<leftylink> &>> %% % % %% %
<rubydoc> # => " " (https://carc.in/#/r/7gx7)
<leftylink> can extend that with as many as needed
<leftylink> &>> %% % % %% % % %% % % %% %
<rubydoc> # => " " (https://carc.in/#/r/7gx8)
cow[moo] has joined #ruby
<leftylink> or the reverse shit like
<leftylink> &>> % %%%%%%%%%%%%%%%% % % % % % % % % % % % %
<rubydoc> stderr: -e:4: unterminated string meets end of file (https://carc.in/#/r/7gx9)
<leftylink> don't strip out my whitespace jeez
<leftylink> &>> % %%%%%%%%%%%%%%%% % % % % % % % % % % % % #
<rubydoc> # => "%" (https://carc.in/#/r/7gxa)
<leftylink> thank you
cow[moo] has quit [Client Quit]
rainmanjam has joined #ruby
cow[moo] has joined #ruby
tdy has joined #ruby
cow[moo] has quit [Read error: Connection reset by peer]
lose has quit [Ping timeout: 258 seconds]
fphilipe_ has quit [Ping timeout: 250 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
rafadc has quit [Ping timeout: 244 seconds]
Nicmavr has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
fphilipe_ has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rainmanjam has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 245 seconds]
Milos_ is now known as Milos
rafadc has joined #ruby
rafadc has quit [Ping timeout: 272 seconds]
absolutejam1 has joined #ruby
pabs has quit [Ping timeout: 244 seconds]
lalitmee has joined #ruby
rafadc has joined #ruby
lalitmee has quit [Quit: Leaving]
lalitmee has joined #ruby
rafadc has quit [Ping timeout: 245 seconds]
Exuma has joined #ruby
Exuma has quit [Client Quit]
Technodrome has joined #ruby
lalitmee has quit [Quit: Leaving]
lalitmee has joined #ruby
lalitmee has quit [Remote host closed the connection]
lalitmee has joined #ruby
sagax has joined #ruby
schaerli has joined #ruby
pabs has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
absolutejam1 has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
galaxie has quit [Ping timeout: 260 seconds]
emptyflask has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 258 seconds]
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
jacksop has joined #ruby
rafadc has joined #ruby
nerdius has joined #ruby
lxsameer has joined #ruby
drnerdius has quit [Ping timeout: 258 seconds]
lalitmee has quit [Ping timeout: 246 seconds]
ravenous_ has joined #ruby
jacksop has quit [Remote host closed the connection]
silviu14 has joined #ruby
nerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
silviu13 has quit [Ping timeout: 252 seconds]
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
drnerdius has quit [Ping timeout: 248 seconds]
queip has joined #ruby
drnerdius has joined #ruby
jacksop has joined #ruby
suukim has joined #ruby
jacksop has quit [Client Quit]
ua has quit [Ping timeout: 272 seconds]
DTZUZO has quit [Ping timeout: 245 seconds]
<leftylink> I'm losing track
<leftylink> but if I wanted to make it longer I probably would lose track of how many % I'm supposed to put
andikr has joined #ruby
<leftylink> &>> % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % % % % % % % % % % % #
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/7gxl)
<leftylink> don't give me that
meinside has joined #ruby
<leftylink> &>> % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % % % % % % % % % % % #
<rubydoc> # => "%" (https://carc.in/#/r/7gxm)
<leftylink> thank you
jinie has quit [Ping timeout: 244 seconds]
<leftylink> so, three percents each time
jinie has joined #ruby
ua has joined #ruby
<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
absolutejam1 has joined #ruby
fphilipe has joined #ruby
fphilipe_ has quit [Ping timeout: 264 seconds]
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
<leftylink> https://www.youtube.com/watch?v=6K7EmeptEHo will tell me how to do it
<leftylink> well okay...
<leftylink> &>> ?%*((_=(_=(_=?@=~/$/)<<_)<<_)<<_) % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % #
<rubydoc> # => "%" (https://carc.in/#/r/7gxn)
TomyWork has joined #ruby
shortCircuit__ has joined #ruby
<shortCircuit__> hi
<shortCircuit__> I had a question. Given an utc offset how to get the timezone
<shortCircuit__> like +07:00 == Jakarta
<shortCircuit__> ow, I see that there can be multiple zones with same offset
<shortCircuit__> dangs
lalitmee has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
lalitmee has quit [Ping timeout: 258 seconds]
lalitmee has joined #ruby
cd has joined #ruby
dbugger has joined #ruby
cd has quit [Client Quit]
fphilipe has joined #ruby
sagax has quit [Read error: Connection reset by peer]
<phaul> &bare>> %
lalitmee has quit [Remote host closed the connection]
lalitmee has joined #ruby
<phaul> this is weird. I don't know what's going on. Why is "%" valid ruby?
<phaul> (not talking about % followed by character literal, just a %)
<phaul> &tok>> %
<rubydoc> I have tokenized your code, the result is at https://carc.in/#/r/7gxx
DaRock has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
<leftylink> didn't expect that. did something change... kind of wish I had more ruby versions to test against
<leftylink> since my `ruby -e '%'` is "unterminated string meets end of file"
<leftylink> and now want to know if it's different in other version
marahin has quit [Ping timeout: 264 seconds]
<phaul> &24tok>> %
<rubydoc> parser error at position 0 around `2'
<phaul> &tok24>> %
<rubydoc> I have tokenized your code, the result is at https://carc.in/#/r/7gxy
lalitmee has quit [Ping timeout: 245 seconds]
<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
lalitmee has joined #ruby
DTZUZO has quit [Ping timeout: 244 seconds]
marahin has joined #ruby
marahin has joined #ruby
marahin has quit [Changing host]
tdy has quit [Ping timeout: 272 seconds]
DTZUZO has joined #ruby
sagax has joined #ruby
cd has joined #ruby
yasumi2136 has joined #ruby
smurfendrek123_ has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
ZAJDAN has quit [Quit: Konversation terminated!]
RiPuk has joined #ruby
involans has joined #ruby
yasumi2136 has quit [Remote host closed the connection]
NL3limin4t0r has joined #ruby
howdoi has joined #ruby
yasumi2136 has joined #ruby
DTZUZO has quit [Read error: Connection reset by peer]
kazooie___ has joined #ruby
RiPuk has quit [Ping timeout: 245 seconds]
RiPuk has joined #ruby
yann-kaelig has joined #ruby
DTZUZO has joined #ruby
RiPuk has quit [Client Quit]
RiPuk has joined #ruby
banisterfiend has joined #ruby
shortCircuit__ has quit [Ping timeout: 244 seconds]
lxsameer has quit [Quit: out]
absolutejam1 has quit [Ping timeout: 244 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smurfendrek123_ has quit [*.net *.split]
lalitmee has quit [*.net *.split]
marahin has quit [*.net *.split]
schneider has quit [*.net *.split]
Fischmiep has quit [*.net *.split]
Milos has quit [*.net *.split]
teardown has quit [*.net *.split]
unreal has quit [*.net *.split]
SCHAPiE has quit [*.net *.split]
donofrio has quit [*.net *.split]
mcspud has quit [*.net *.split]
d^sh has quit [*.net *.split]
Rudd0 has quit [*.net *.split]
txdv has quit [*.net *.split]
jefft has quit [*.net *.split]
Koshian has quit [*.net *.split]
stan_ has quit [*.net *.split]
TvL2386 has quit [*.net *.split]
levifig has quit [*.net *.split]
`Alison has quit [*.net *.split]
shenghi has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
stooj has quit [*.net *.split]
madhatter has quit [*.net *.split]
p3ps1 has quit [*.net *.split]
ltd has quit [*.net *.split]
Nilium has quit [*.net *.split]
nirix has quit [*.net *.split]
Keltia has quit [*.net *.split]
Raboo has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
SirFunk has quit [*.net *.split]
wmoxam has quit [*.net *.split]
camilasan has quit [*.net *.split]
Meanirelli has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
volix has quit [*.net *.split]
RiPuk has quit [*.net *.split]
fphilipe has quit [*.net *.split]
duckpuppy has quit [*.net *.split]
pwnd_nsfw has quit [*.net *.split]
Azure has quit [*.net *.split]
johnny56 has quit [*.net *.split]
BrianWGray has quit [*.net *.split]
dinfuehr has quit [*.net *.split]
spiette has quit [*.net *.split]
r3m_ has quit [*.net *.split]
envex has quit [*.net *.split]
funnel has quit [*.net *.split]
marens has quit [*.net *.split]
lord4163 has quit [*.net *.split]
kaleido has quit [*.net *.split]
Ekho has quit [*.net *.split]
chihhsin has quit [*.net *.split]
cats has quit [*.net *.split]
matled has quit [*.net *.split]
shtirlic has quit [*.net *.split]
rubydoc has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
towo has quit [*.net *.split]
Fraeon has quit [*.net *.split]
shaman42 has quit [*.net *.split]
mkaito_ has quit [*.net *.split]
alnk has quit [*.net *.split]
jidar has quit [*.net *.split]
mkroman has quit [*.net *.split]
justinweiss has quit [*.net *.split]
CalimeroTeknik has quit [*.net *.split]
pilcrow has quit [*.net *.split]
madhatter has joined #ruby
wmoxam has joined #ruby
marahin has joined #ruby
towo has joined #ruby
jefft has joined #ruby
stan has joined #ruby
Raboo_ has joined #ruby
TvL2386 has joined #ruby
shenghi has joined #ruby
marahin has quit [Changing host]
stooj has joined #ruby
marahin has joined #ruby
`Alison has joined #ruby
Raboo_ is now known as Raboo
txdv has joined #ruby
Keltia has joined #ruby
Fischmiep has joined #ruby
volix has joined #ruby
Rudd0^ has joined #ruby
SirFunk has joined #ruby
funnel_ has joined #ruby
funnel_ has quit [Changing host]
funnel_ has joined #ruby
Nilium has joined #ruby
schneider has joined #ruby
funnel_ is now known as funnel
levifig has joined #ruby
mr_rich101 has joined #ruby
camilasan has joined #ruby
Koshian has joined #ruby
volix has quit [Changing host]
volix has joined #ruby
mcspud has joined #ruby
matled has joined #ruby
camilasan has quit [Changing host]
camilasan has joined #ruby
fphilipe has joined #ruby
chunkypuffs has quit [Quit: ZNC 1.7.1 - https://znc.in]
d^sh has joined #ruby
nirix has joined #ruby
pwnd_nsfw has joined #ruby
p3ps1 has joined #ruby
fphilipe is now known as Guest15733
chunkypuffs has joined #ruby
envex has joined #ruby
RiPuk has joined #ruby
pilcrow has joined #ruby
NightMonkey has joined #ruby
smurfendrek123 has joined #ruby
Milos has joined #ruby
shtirlic has joined #ruby
duckpuppy has joined #ruby
donofrio has joined #ruby
justinmcp has joined #ruby
chihhsin has joined #ruby
cats has joined #ruby
rubydoc has joined #ruby
absolutejam1 has joined #ruby
spiette has joined #ruby
donofrio has quit [Remote host closed the connection]
BrianWGray has joined #ruby
donofrio has joined #ruby
teardown has joined #ruby
shaman42 has joined #ruby
PaulePanter has joined #ruby
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
alnk has joined #ruby
mkroman has joined #ruby
Fraeon has joined #ruby
r3m_ has joined #ruby
yasumi2136 has quit [Quit: Leaving]
CalimeroTeknik has joined #ruby
unreal has joined #ruby
Azure has joined #ruby
dinfuehr has joined #ruby
mkaito_ has joined #ruby
absolutejam1 has quit [Quit: WeeChat 2.5]
kaleido has joined #ruby
SCHAPiE has joined #ruby
lord4163 has joined #ruby
Ekho has joined #ruby
jidar has joined #ruby
justinweiss has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
banisterfiend has joined #ruby
haengma has joined #ruby
throstur has joined #ruby
haengma has quit [Ping timeout: 268 seconds]
phaul has quit [Quit: :wq]
AJA4350 has joined #ruby
phaul has joined #ruby
<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)
lalitmee has joined #ruby
<go|dfish> &>> File.open ('aoeu.log', 'a')
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/7gy5)
<go|dfish> throstur: what's the full error? what's your full code look like?
<go|dfish> unexpected ',' can happen if there is a space before the (
<throstur> full code, full output
<throstur> oh, there was a space earlier, let me re-run now
<throstur> thanks, that was the issue
<throstur> could you explain why the space matters, how it changes the semantics?
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
<phaul> It's parsed as the expression that follows parenthesized, rather than an argument list
<throstur> fair enough, thanks
<throstur> My actual problem was invoking a supposedly bound logger from jruby but I guess I'll wait for #jruby to wake up
<throstur> this'll do for debugging at least
absolutejam has joined #ruby
leitz has joined #ruby
<throstur> nice, that was enough, you guys are wonderful, as always when ruby calls to me
<throstur> now... to evangelize!
jottr_ has joined #ruby
lalitmee has quit [Ping timeout: 245 seconds]
tens0r has joined #ruby
crankharder has joined #ruby
lalitmee has joined #ruby
tens0r has left #ruby [#ruby]
tens0r has joined #ruby
tens0r has quit [Client Quit]
tens0r has joined #ruby
tens0r is now known as ts0r
ts0r is now known as tens0r_
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
tens0r_ is now known as tens0r
tens0r has quit [Quit: tens0r]
tens0r has joined #ruby
foxxx0 has quit [Quit: foxxx0]
ramfjord has joined #ruby
foxxx0 has joined #ruby
lalitmee has quit [Quit: Leaving]
lalitmee has joined #ruby
lalitmee has quit [Remote host closed the connection]
lalitmee has joined #ruby
<al2o3-cr> hmm... pry: % [Enter] foo => "foo" | irb: % [Enter] foo [Enter] % [Enter] 42 => "foo" wat?
ramfjord has quit [Ping timeout: 246 seconds]
tens0r is now known as tx0r
BTRE has quit [Remote host closed the connection]
<al2o3-cr> what's going on here then?
sameerynho has joined #ruby
<al2o3-cr> just to show https://carc.in/#/r/7gyf
<al2o3-cr> i don't get it
mtuckerbradford has joined #ruby
BTRE has joined #ruby
<phaul> me neither
<al2o3-cr> yeah, it's rather strange that
lose has joined #ruby
tx0r has quit [Ping timeout: 258 seconds]
tens0r has joined #ruby
tens0r has quit [Client Quit]
tsrt^ has joined #ruby
galaxie has joined #ruby
englishm has quit [Excess Flood]
englishm has joined #ruby
jottr_ has quit [Ping timeout: 244 seconds]
lalitmee has quit [Remote host closed the connection]
conta2 has joined #ruby
kazooie___ has quit [Ping timeout: 268 seconds]
ElFerna has joined #ruby
dan64- has joined #ruby
dan64 has quit [Ping timeout: 258 seconds]
bmurt has joined #ruby
lose has quit [Remote host closed the connection]
poontangmessiah has joined #ruby
Inline has joined #ruby
jottr_ has joined #ruby
schaerli has quit [Ping timeout: 245 seconds]
ElFerna_ has joined #ruby
ElFerna has quit [Ping timeout: 258 seconds]
iffraff has joined #ruby
john2496 has joined #ruby
lucasb has joined #ruby
rafadc has quit [Ping timeout: 245 seconds]
rafadc has joined #ruby
<NL3limin4t0r> al2o3-cr: In the case of irb it uses String#% `"foo" % 42 #=> "foo"`, but I don't know about the first percent sign.
crankharder has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Ping timeout: 245 seconds]
<al2o3-cr> NL3limin4t0r: oh, of course, yeah.
<NL3limin4t0r> And it uses the percent sign litteral I guess for the first part. %(foo) #=> "foo"
<NL3limin4t0r> but with an [Enter] seperator instead of ()
<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
<al2o3-cr> s/couldn't not/couldn't/
psprint has joined #ruby
<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
<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.
<al2o3-cr> NL3limin4t0r: no, it was just something that was posted a bit earlier. but still doesn't explain why single % is still valid.
<NL3limin4t0r> psprint: If you want to do a local install from source you first have to build the gem, then install it.
<NL3limin4t0r> psprint: `gem build path/to/file.gemspec` then `gem install path/to/file.gem`
queip has quit [Ping timeout: 268 seconds]
conta2 has quit [Quit: conta2]
<al2o3-cr> i still can't believe what you explained didn't come to me before. i must read code with my eyes close ;)
<NL3limin4t0r> psprint: The submodule part might be better asked in the #git irc. But here is a helpfull link: https://git-scm.com/book/en/v2/Git-Tools-Submodules
zodd_ has joined #ruby
<NL3limin4t0r> al2o3-cr: Nah, sometime you just need an extra pair.
<zodd_> does a documentation/wiki/something page exist describing methods to access databases from Ruby?
<al2o3-cr> NL3limin4t0r: very true.
<zodd_> nm. got it I think
<NL3limin4t0r> zodd_: Ruby doesn't come with a database connection. Are you using Rails?
<zodd_> nope
frich has joined #ruby
banisterfiend has joined #ruby
Esa_ has joined #ruby
mtuckerbradford has left #ruby [#ruby]
<NL3limin4t0r> The https://www.ruby-toolbox.com/categories Data Persistence section might have some usefull gems that you can use.
jottr_ has quit [Ping timeout: 244 seconds]
queip has joined #ruby
jottr_ has joined #ruby
banisterfiend has quit [Client Quit]
ElFerna_ has quit [Ping timeout: 245 seconds]
<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).
Rapture has joined #ruby
queip has quit [Ping timeout: 245 seconds]
ElFerna_ has joined #ruby
iffraff has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
queip has joined #ruby
absolutejam has quit [Ping timeout: 245 seconds]
<al2o3-cr> so, Random.urandom is cryptographically secure up to 32 bytes 256 bits?
ElFerna_ has quit [Ping timeout: 268 seconds]
<zodd_> NL3limin4t0r, tyt
<zodd_> *ty
nerdius has joined #ruby
<psprint> How to specify the --prefix or in general installation path for gem install --user-install?
absolutejam has joined #ruby
drnerdius has quit [Ping timeout: 244 seconds]
ElFerna has joined #ruby
ElFerna has quit [Max SendQ exceeded]
jottr_ has quit [Ping timeout: 246 seconds]
ElFerna has joined #ruby
<havenwood> psprint: --install-dir
<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.
<havenwood> psprint: Or you can set $GEM_HOME.
nerdius has quit [Read error: Connection reset by peer]
emptyflask has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
absolutejam has quit [Ping timeout: 245 seconds]
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
ElFerna has quit [Quit: Leaving]
Yxhuvud has joined #ruby
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
bmurt has joined #ruby
DTZUZU has joined #ruby
MrCrackPot has joined #ruby
involans has quit [Quit: involans]
haengma has joined #ruby
involans has joined #ruby
queip has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
emptyflask has quit [Ping timeout: 246 seconds]
Exuma has joined #ruby
Nicmavr has joined #ruby
<havenwood> al2o3-cr: Funny thing is, it's non-cryptographic usage that that would matter for.
<al2o3-cr> havenwood: asking because i'm writing a little wrapper module around monocypher
<havenwood> al2o3-cr: Neat!
<al2o3-cr> i kept saying it ages ago, but finally getting around to doing it. will be my first gem ;)
involans has quit [Quit: involans]
involans has joined #ruby
<al2o3-cr> just writing all the ffi binding for it now
john2496 has quit [Remote host closed the connection]
<al2o3-cr> *bindings
smurfendrek123 has quit [Ping timeout: 245 seconds]
involans has quit [Client Quit]
queip has joined #ruby
Omnilord has joined #ruby
wrkrcoop has joined #ruby
smurfendrek123 has joined #ruby
rafadc_ has joined #ruby
rafadc has quit [Ping timeout: 244 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
psilly0 has joined #ruby
ramfjord has joined #ruby
andikr has quit [Remote host closed the connection]
impermanence has joined #ruby
r29v has joined #ruby
ellcs has quit [Ping timeout: 268 seconds]
involans has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
crankharder has joined #ruby
john2496 has joined #ruby
SeepingN has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
Doow has quit [Read error: Connection reset by peer]
GodFather has quit [Ping timeout: 258 seconds]
involans has quit [Quit: involans]
blizzow has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
involans has joined #ruby
throstur has quit [Remote host closed the connection]
spiette has quit [Ping timeout: 245 seconds]
cthulchu has joined #ruby
greengriminal has joined #ruby
crankharder has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
paraxial has quit [Quit: The Lounge - https://thelounge.chat]
paraxial has joined #ruby
dionysus69 has joined #ruby
Guest15733 has quit [Ping timeout: 244 seconds]
<bougyman> hrm.
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paraxial has quit [Ping timeout: 268 seconds]
<bougyman> Google is no help here. Why do my #inspect strings not get pretty printed by pry like ones from other classes I use?
<bougyman> tried googling 'ruby #inspect formatting', 'pry #inpsect colorized', and a few others.
paraxial has joined #ruby
ramfjord has joined #ruby
gell5 has joined #ruby
gell5 has quit [Remote host closed the connection]
<phaul> do you mean the syntax highlighting in pry?
Technodrome has joined #ruby
gell5 has joined #ruby
zodd_ has quit [Ping timeout: 268 seconds]
gell5 has quit [Remote host closed the connection]
gell5 has joined #ruby
<phaul> there is a color config setting for pry that can disable colours if you don't like them
gell5 has quit [Remote host closed the connection]
drnerdius has joined #ruby
<phaul> in your ~/.pryrc ...
ramfjord has quit [Ping timeout: 245 seconds]
gix has joined #ruby
<bougyman> phaul: I mean that other class instances' inspect output is colorized
<bougyman> but my own classes' inspect output is not.
<bougyman> in the same pry session.
<bougyman> I'm wondering what the magic is.
greengriminal has quit [Quit: This computer has gone to sleep]
<phaul> I don't think it's the inspect methods of classes that colourize, but pry postprocesses the output
<bougyman> Yes, I know that.
<bougyman> here, let me show you.
<bougyman> oh, I can't pass on the colorization...
<bougyman> hrm
<bougyman> it _is_ colorizing the string returned by, say: HighLine.new
<bougyman> but for say, MyObj.new, nor for Aws::Credentials.new('one', 'two')
<bougyman> *but not for
<bougyman> and I don't understand the difference. #inspect always just returns a string.
<bougyman> oh now this is weird. if I do HighLine.new.inspect, it's just a string (and in red).
<bougyman> crazysauce
<bougyman> It looks like only if an object does not have a customized #inspect does pry do the colorized output in the => line
<bougyman> I have no idea why it would tread custom inspect strings different from the 'native' Object#inspect output.
<bougyman> *treat
<phaul> Pry::Helpers::BaseHelpers.colorize_code('1') is what's called in the background
greengriminal has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
queip has quit [Ping timeout: 258 seconds]
gell5 has joined #ruby
ramfjord has joined #ruby
poontangmessiah has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
gell5 has quit [Ping timeout: 268 seconds]
queip has joined #ruby
orbyt_ has joined #ruby
NL3limin4t0r is now known as NL3limin4t0r_afk
greengriminal has quit [Quit: Leaving]
suukim has quit [Quit: Konversation terminated!]
absolutejam has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gell5 has joined #ruby
ravenous_ has joined #ruby
zodd_ has joined #ruby
zodd_ is now known as Guest38664
gell5 has quit [Ping timeout: 268 seconds]
absolutejam has quit [Ping timeout: 258 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
dionysus70 is now known as dionysus69
Guest38664 has quit [Ping timeout: 244 seconds]
banisterfiend has joined #ruby
Ven`` has joined #ruby
Ven`` has quit [Client Quit]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
wildtrees has joined #ruby
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #ruby
wildtrees has quit [Max SendQ exceeded]
sauvin has quit [Read error: Connection reset by peer]
wildtrees has joined #ruby
ua has quit [Ping timeout: 245 seconds]
kazooie___ has joined #ruby
gell5 has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
ellcs has joined #ruby
gell5 has quit [Ping timeout: 258 seconds]
queip has quit [Ping timeout: 245 seconds]
hsiktas has quit [Read error: Connection reset by peer]
justache has quit [Read error: Connection reset by peer]
hsiktas has joined #ruby
justache has joined #ruby
haengma has quit [Remote host closed the connection]
spiette has joined #ruby
queip has joined #ruby
drnerdius has quit [Read error: Connection reset by peer]
drnerdius has joined #ruby
ua has joined #ruby
nerdius has joined #ruby
drnerdius has quit [Ping timeout: 245 seconds]
smurfendrek123_ has joined #ruby
vjacob has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
smurfendrek123 has quit [Ping timeout: 268 seconds]
kazooie___ has quit [Ping timeout: 246 seconds]
wildtrees has quit [Ping timeout: 245 seconds]
ellcs has joined #ruby
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr_ has joined #ruby
john2496 has quit [Remote host closed the connection]
cagomez has joined #ruby
gell5 has joined #ruby
tdy has joined #ruby
r29v has quit [Quit: r29v]
gell5 has quit [Ping timeout: 246 seconds]
queip has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven`` has joined #ruby
GodFather has joined #ruby
queip has joined #ruby
Milos has quit [Quit: ZNC 1.7.4 - https://znc.in]
Milos has joined #ruby
dbugger has quit [Quit: Leaving]
queip has quit [Ping timeout: 244 seconds]
Tobbi_ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fig has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
queip has joined #ruby
ellcs has joined #ruby
fig-le-deunch[m] has joined #ruby
al2o3-cr has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
al2o3-cr has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
gell5 has joined #ruby
fig has quit [Remote host closed the connection]
gell5 has quit [Ping timeout: 245 seconds]
haengma has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord_ has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
wildtrees has joined #ruby
smurfendrek123_ has quit [Ping timeout: 245 seconds]
Exuma has joined #ruby
Exuma has quit [Client Quit]
psilly0 has quit [Quit: psilly0]
jottr_ has quit [Quit: WeeChat 2.5]
r29v has joined #ruby
Criten is now known as spacelax
spacelax is now known as Criten
haengma has quit []
Exuma has joined #ruby
emptyflask has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
hiroaki has joined #ruby
tpanarch1st has joined #ruby
r29v has quit [Ping timeout: 244 seconds]
gell5 has joined #ruby
gell5 has quit [Ping timeout: 245 seconds]
knueppelspass has joined #ruby
ellcs has quit [Remote host closed the connection]
Ven`` has joined #ruby
ellcs has joined #ruby
Intelo has joined #ruby
involans has quit [Quit: involans]
leitz has quit [Quit: Leaving]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven`` has joined #ruby
Ven`` has quit [Client Quit]
absolutejam has joined #ruby
schneider has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gell5 has joined #ruby
orbyt_ has joined #ruby
Guest15733 has joined #ruby
rafadc_ has quit [Ping timeout: 268 seconds]
r29v has joined #ruby
vjacob has quit [Read error: Connection reset by peer]
gell5 has quit [Ping timeout: 268 seconds]
rafadc has joined #ruby
yann-kaelig has quit [Quit: yann-kaelig]
tdy has joined #ruby
impermanence has quit [Remote host closed the connection]
psilly0 has joined #ruby
cagomez has quit [Remote host closed the connection]
smurfendrek123_ has joined #ruby
cagomez has joined #ruby
cyclonis_ has joined #ruby
ramfjord_ has quit [Read error: Connection reset by peer]
knueppelspass has quit [Ping timeout: 250 seconds]
cyclonis has quit [Read error: Connection reset by peer]
cyclonis_ has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
cyclonis_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emptyflask has quit [Ping timeout: 245 seconds]
cyclonis_ has quit [Read error: Connection reset by peer]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
cyclonis_ has joined #ruby
gell5 has joined #ruby
cyclonis_ has quit [Read error: Connection reset by peer]
cyclonis_ has joined #ruby
frich has quit [Quit: Leaving]
gell5 has quit [Ping timeout: 258 seconds]
al2o3-cr has quit [Quit: WeeChat 2.5]
al2o3-cr has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
ellcs has quit [Ping timeout: 264 seconds]
cagomez has quit [Read error: Connection reset by peer]
lucasb has quit [Quit: Connection closed for inactivity]
ellcs has joined #ruby
ramfjord has joined #ruby
orbyt_ has joined #ruby
blizzow has quit [Ping timeout: 246 seconds]
crankharder has quit [Ping timeout: 245 seconds]
gell5 has joined #ruby
gell5 has quit [Ping timeout: 245 seconds]
sameerynho has quit [Ping timeout: 245 seconds]
absolutejam has quit [Ping timeout: 258 seconds]
cagomez has joined #ruby
r29v has quit [Quit: r29v]
queip has quit [Ping timeout: 246 seconds]
poontangmessiah has joined #ruby
queip has joined #ruby
Guest15733 has quit [Ping timeout: 245 seconds]
wildtrees has quit [Quit: Leaving]
bga57 has joined #ruby
crankharder has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
brool has joined #ruby
x86sk has joined #ruby
psilly0 has quit [Quit: psilly0]
crankharder has quit [Quit: leaving]
banisterfiend has joined #ruby