baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
VladGh has quit [Remote host closed the connection]
joekarma has quit [Quit: joekarma]
VladGh has joined #ruby
jbomo has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
SteenJobs has quit [Quit: SteenJobs]
chrisja has quit [Quit: leaving]
roamingdog has joined #ruby
marr has quit [Ping timeout: 240 seconds]
BlkDynmt has quit [Quit: BlkDynmt]
<zotherstupidguy> how to make Rack::Auth::Basic return json response along with its auth headers?
roamingdog has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
rails924 has joined #ruby
bkxd has joined #ruby
N1njturt1e has quit [Ping timeout: 250 seconds]
N1njturt1e has joined #ruby
pragmaticus has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
N1njturt1e has quit [Read error: Connection reset by peer]
N1njturt1e has joined #ruby
pochoa has joined #ruby
jazzonmym1nd has joined #ruby
singalaut has joined #ruby
RedNifre_ has quit [Read error: Connection reset by peer]
N1njturt1e has quit [Ping timeout: 250 seconds]
RedNifre_ has joined #ruby
jazzonmym1nd has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 252 seconds]
ekinmur has joined #ruby
mikeiniowa has quit [Read error: Connection reset by peer]
N1njturt1e has joined #ruby
ekinmur has quit [Client Quit]
rubie has joined #ruby
spudowiar has quit [Quit: Leaving.]
alaibe has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
jazzonmym1nd has joined #ruby
Wixy has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
ta_ has joined #ruby
pochoa has quit [Ping timeout: 250 seconds]
pragmaticus has quit [Ping timeout: 240 seconds]
alaibe has quit [Ping timeout: 265 seconds]
gheegh has quit [Ping timeout: 252 seconds]
ta__ has quit [Ping timeout: 244 seconds]
olistik has joined #ruby
plasticxme has quit [Read error: Connection reset by peer]
plasticxme has joined #ruby
banisterfiend has joined #ruby
joekarma has joined #ruby
olistik has quit [Ping timeout: 244 seconds]
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vikaton has quit [Quit: Connection closed for inactivity]
ta__ has joined #ruby
joekarma has quit [Quit: joekarma]
joekarma has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
joekarma has quit [Client Quit]
Technodrome has joined #ruby
joekarma has joined #ruby
RMOR has quit [Quit: Leaving...]
BlkDynmt has joined #ruby
ekinmur has joined #ruby
raeoks has joined #ruby
joekarma has quit [Client Quit]
joekarma has joined #ruby
joekarma has quit [Client Quit]
gnufied has quit [Ping timeout: 250 seconds]
joekarma has joined #ruby
saneax is now known as saneax-_-|AFK
joekarma has quit [Client Quit]
roamingdog has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
Robtop__ has joined #ruby
hahuang61 has joined #ruby
roflmyeggo has joined #ruby
JeanCarloMachado has joined #ruby
DanKnox has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
bmurt has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
N1njturt1e has quit [Remote host closed the connection]
griffindy has quit [Read error: Connection reset by peer]
bmurt has quit [Client Quit]
bmurt has joined #ruby
charliesome_ has quit [Read error: Connection reset by peer]
ziprar has quit [Ping timeout: 255 seconds]
plasticxme has quit [Read error: Connection reset by peer]
plasticxme has joined #ruby
N1njturt1e has joined #ruby
charliesome has joined #ruby
hutch34_ has joined #ruby
Azure has quit [Ping timeout: 255 seconds]
bmurt has quit [Client Quit]
bmurt has joined #ruby
NetSage has quit [Remote host closed the connection]
shakes has quit [Quit: Leaving]
howdoi has joined #ruby
nankyokusei has joined #ruby
nertzy has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
nankyokusei has quit [Ping timeout: 244 seconds]
ebbflowgo has joined #ruby
ropeney has joined #ruby
tmtwd has joined #ruby
pawnbox has joined #ruby
mikeiniowa has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
assem has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
arescorpio has joined #ruby
<assem> hi everyone
kingpinlz_ has joined #ruby
fenjamin has joined #ruby
hutch34_ has quit [Ping timeout: 240 seconds]
guilherme has joined #ruby
Azure has joined #ruby
agent_white has joined #ruby
tdy has quit [Quit: tdy]
pawnbox has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 240 seconds]
tdy has joined #ruby
gvt has quit [Ping timeout: 265 seconds]
eizua has joined #ruby
lele has quit [Ping timeout: 265 seconds]
vdamewood has quit [Quit: Life beckons.]
imightbestupid12 has joined #ruby
imightbestupid12 has left #ruby [#ruby]
gccostabr has joined #ruby
lele has joined #ruby
gccostabr has quit [Client Quit]
bkxd has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
statelesscode_ has joined #ruby
statelesscode has quit [Ping timeout: 265 seconds]
statelesscode_ is now known as statelesscode
bkxd has quit [Ping timeout: 244 seconds]
harfangk has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
astrobun_ has joined #ruby
rubie has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
N1njturt1e has quit [Read error: Connection reset by peer]
N1njturt1e has joined #ruby
alaibe has joined #ruby
rubie has joined #ruby
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alaibe has quit [Ping timeout: 265 seconds]
assem has quit [Quit: Leaving]
ngscheurich has quit [Ping timeout: 250 seconds]
arashb has joined #ruby
charliesome has joined #ruby
vikaton has joined #ruby
arashb has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
littlemyu has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
joekarma has joined #ruby
braincrash has quit [Quit: bye bye]
hahuang61 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guilherme has quit [Ping timeout: 276 seconds]
braincras has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
gnufied has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
k3rn31 has joined #ruby
capitainIsh has joined #ruby
gnufied has quit [Ping timeout: 250 seconds]
okdas has quit [Ping timeout: 255 seconds]
okdas has joined #ruby
okdas has joined #ruby
okdas has quit [Changing host]
bmurt has joined #ruby
Immune has joined #ruby
jobewan has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
kingpinlz_ has quit [Quit: Leaving...]
nankyokusei has joined #ruby
elifoster has joined #ruby
binaryplease has quit [Ping timeout: 276 seconds]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
N1njturt1e has quit [Ping timeout: 255 seconds]
tvon has joined #ruby
jazzonmym1nd has quit [Ping timeout: 244 seconds]
joekarma has quit [Quit: joekarma]
saneax-_-|AFK is now known as saneax
N1njturt1e has joined #ruby
joekarma has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
rsampaio_ has joined #ruby
naviaa has joined #ruby
charliesome has quit [Ping timeout: 265 seconds]
r4z has quit [Remote host closed the connection]
gix has quit [Ping timeout: 244 seconds]
N1njturt1e has quit [Remote host closed the connection]
ReK2 has quit [Remote host closed the connection]
saneax is now known as saneax-_-|AFK
brent__ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
bkxd has joined #ruby
alfiemax has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
roflmyeggo has quit [Quit: Lost terminal]
LoneHerm_ has quit [Remote host closed the connection]
tvon has quit [Ping timeout: 250 seconds]
exadeci has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 244 seconds]
edwardly has quit [Ping timeout: 265 seconds]
fenjamin has quit [Ping timeout: 264 seconds]
ag4ve_ has quit [Ping timeout: 265 seconds]
A_Drone has joined #ruby
<A_Drone> I just saw this for the first time foo.try(:[], 'countries')
<A_Drone> What is the :[] syntax for? I know that :this_is_a_symbol
<A_Drone> and that [] is an empty array
<A_Drone> but :[] stumps me
roamingdog has quit [Remote host closed the connection]
enterprisey has joined #ruby
arescorpio has quit [Quit: Leaving.]
A_Drone_ has joined #ruby
roamingdog has joined #ruby
pochoa has joined #ruby
<al2o3-cr> A_Drone: :[] is a method
duderonomy has joined #ruby
tvon has joined #ruby
<A_Drone_> Where can I read more about that al2o3-cr
jazzonmym1nd has joined #ruby
SteenJobs has joined #ruby
<al2o3-cr> similar to send
dhollinger has quit [Ping timeout: 265 seconds]
<A_Drone_> Google for it is hard
<al2o3-cr> >> {a: 1}.send(:[], :a)
<ruby[bot]> al2o3-cr: # => 1 (https://eval.in/640066)
<al2o3-cr> try is a rails thing
N1njturt1e has joined #ruby
<A_Drone> Ah that explains it - thanks a bunch al2o3-cr!
<al2o3-cr> ok, np
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
jonyijoe has joined #ruby
alaibe has joined #ruby
A_Drone_ has quit [Ping timeout: 244 seconds]
A_Drone has quit [Ping timeout: 240 seconds]
SteenJobs has quit [Quit: SteenJobs]
jonyijoe has quit [Ping timeout: 250 seconds]
<[k-> :[] is just the symbol for this string: "[]"
pochoa has quit [Ping timeout: 250 seconds]
alaibe has quit [Ping timeout: 250 seconds]
olistik has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
kp666 has joined #ruby
nando293921 has joined #ruby
enterprisey has quit [Remote host closed the connection]
jazzonmym1nd has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
olistik has quit [Ping timeout: 276 seconds]
nando293921 has quit [Ping timeout: 265 seconds]
nando293921 has joined #ruby
joekarma has quit [Quit: joekarma]
jazzonmym1nd has joined #ruby
chwbacca has joined #ruby
ARCADIVS has joined #ruby
dhollinger has joined #ruby
djbkd has quit [Remote host closed the connection]
agent_white has quit [Ping timeout: 255 seconds]
hahuang61 has joined #ruby
raeoks has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has quit [Ping timeout: 276 seconds]
Ove__ has left #ruby [#ruby]
Pupeno has joined #ruby
ponga has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
ta__ has quit [Ping timeout: 276 seconds]
arashb has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
ta_ has joined #ruby
AnarchyAo has quit [Read error: Connection reset by peer]
LoneHerm_ has joined #ruby
jphase has quit [Ping timeout: 250 seconds]
arashb has quit [Ping timeout: 250 seconds]
wugy has joined #ruby
conta has joined #ruby
LoneHerm_ has quit [Ping timeout: 250 seconds]
swemoney has joined #ruby
N1njturt1e has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
LoneHermit has joined #ruby
Pupeno has joined #ruby
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has joined #ruby
k3rn31 has joined #ruby
rubie has quit [Remote host closed the connection]
littlemyu has quit [Ping timeout: 240 seconds]
spyder55 has joined #ruby
spyder55 has quit [Client Quit]
djbkd has joined #ruby
saneax-_-|AFK is now known as saneax
conta has quit [Ping timeout: 264 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
nankyokusei has joined #ruby
bkxd has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
zotherstupidguy has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
roamingdog has quit [Remote host closed the connection]
A_Drone has quit [Ping timeout: 276 seconds]
Dimik has joined #ruby
djbkd has quit [Quit: Leaving...]
last_staff has joined #ruby
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
futilegames has joined #ruby
Guest43 has joined #ruby
dminuoso has joined #ruby
jobewan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joekarma has joined #ruby
bkxd has joined #ruby
Guest43 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mdgmt has quit [Ping timeout: 244 seconds]
pochoa has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
Guest43 has joined #ruby
bkxd has joined #ruby
djbkd has joined #ruby
anisha has joined #ruby
agent_white has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
dreamyspell has joined #ruby
olistik has joined #ruby
Macaveli has joined #ruby
Admin__ has quit [Ping timeout: 244 seconds]
alaibe has joined #ruby
futilegames has quit [Quit: futilegames]
yardenbar has joined #ruby
bigkevmcd has joined #ruby
yeticry has quit [Ping timeout: 276 seconds]
gingray has joined #ruby
yeticry has joined #ruby
devbug has joined #ruby
craigp has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
devbug has quit [Read error: Connection reset by peer]
dminuoso has joined #ruby
saneax is now known as saneax-_-|AFK
firstdayonthejob has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
jonyijoe has joined #ruby
swemoney has quit [Read error: Connection reset by peer]
Weavel has joined #ruby
jbomo has quit []
N1njturt1e has joined #ruby
w09x has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
devbug has joined #ruby
Guest43 has quit [Ping timeout: 240 seconds]
saneax-_-|AFK is now known as saneax
firstdayonthejob has quit [Ping timeout: 244 seconds]
pochoa has quit [Ping timeout: 240 seconds]
conta has joined #ruby
A_Drone has joined #ruby
vondruch has quit [Quit: Ex-Chat]
dminuoso has quit [Remote host closed the connection]
A_Drone has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Remote host closed the connection]
loveablelobster has joined #ruby
dminuoso has joined #ruby
N1njturt1e has quit [Remote host closed the connection]
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
vuoto has joined #ruby
devbug has quit [Read error: Connection reset by peer]
ta_ has quit [Remote host closed the connection]
rsampaio_ has quit [Ping timeout: 255 seconds]
submitnine has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
bkxd has joined #ruby
d0nn1e has joined #ruby
arashb has joined #ruby
pwnd_nsfw` has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
edwinvdgraaf has joined #ruby
rails924 has quit [Ping timeout: 264 seconds]
agent_white has quit [Quit: goodnightmoon]
workerbeetwo has joined #ruby
Robtop__ has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 244 seconds]
<workerbeetwo> Hi. How to select values in an array of the sort ar = { key => value , ...} ? for printing e.g.
Xeago has joined #ruby
N1njturt1e has joined #ruby
arashb has quit [Ping timeout: 276 seconds]
N1njturt1e has quit [Remote host closed the connection]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
<dminuoso> workerbeetwo: What you wrote looks more like a Hash, not an Array.
N1njturt1e has joined #ruby
<dminuoso> workerbeetwo: Can you rephrase your question?
<workerbeetwo> yes. ok. not yet green with the terminology.
hahuang61 has joined #ruby
jgt has joined #ruby
<manveru> >> h = { 'my key' => 'value' }; h['my key']
<ruby[bot]> manveru: # => "value" (https://eval.in/640124)
<dminuoso> Or if you want all values:
bsrd has joined #ruby
<dminuoso> >> h = { a: 1, b: 2 }; puts h.values
<ruby[bot]> dminuoso: # => 1 ...check link for more (https://eval.in/640125)
<dminuoso> Mmm
<dminuoso> >> h = { a: 1, b: 2 }; puts h.values.inspect
<ruby[bot]> dminuoso: # => [1, 2] ...check link for more (https://eval.in/640126)
N1njturt_ has joined #ruby
<manveru> just say h.values :)
<workerbeetwo> dminuoso: I got this: ar = {"first" => 'good', "second" => 'way', "third" => 2, "fourth" => 'go'}
N1njturt1e has quit [Read error: Connection reset by peer]
<workerbeetwo> dminuoso: how loop extract all values.?
<manveru> workerbeetwo: and you want?
<dminuoso> workerbeetwo: hash.values.each do |value|
<manveru> >> ar = {"first" => 'good', "second" => 'way', "third" => 2, "fourth" => 'go'}; ar.values
<ruby[bot]> manveru: # => ["good", "way", 2, "go"] (https://eval.in/640127)
<dminuoso> workerbeetwo: And please name it "ha" rather than "ar" :-)
<dminuoso> workerbeetwo: An Array is just an "list of things", whereas a Hash (what you have) is more like a dictionary.
<manveru> >> ar = {"first" => 'good', "second" => 'way', "third" => 2, "fourth" => 'go'}; ar.values.join(' ')
<ruby[bot]> manveru: # => "good way 2 go" (https://eval.in/640128)
<workerbeetwo> hmm somehow the hash map is empty in irb, right after I defined it.
hahuang61 has quit [Ping timeout: 255 seconds]
<baweaver> or maybe a more descriptive name than ha or ar because those are pretty pointless.
teclator has joined #ruby
<manveru> workerbeetwo: maybe you could elaborate a bit on what you want to do :)
* dminuoso looks at his last written line of code that starts with: ary = [obj, pair] and then looks at baweaver
<workerbeetwo> manveru: I did : maybe you could elaborate a bit on what you want to do :)
<baweaver> unless you have some twisted Hungarian notation that includes truncation in a dynamically typed language.
<workerbeetwo> manveru: I did: ha = {"first" => 'good', "second" => 'way', "third" => 2, "fourth" => 'go'} and then .. puts ha.values
<manveru> good, so that's all you wanted? :)
<baweaver> anyways, name variables clearly, it helps later.
Weavel has quit [Quit: First shalt thou take out the Holy Pin. Then, shalt thou count to three. No more. No less.]
antgel has joined #ruby
<manveru> for someone coming from PHP, there's no difference between ar and ha
<workerbeetwo> manveru: it did not display anything. not even => nil
<dminuoso> baweaver: Naming variables is overrated. I have plenty of obj, ary, thing, thingie, foo, piyo, hoge...
<dminuoso> Code runs just as fast as if they were named properly.
<dminuoso> (:
<baweaver> remind me I never want to work with you later.
Pumukel has joined #ruby
<dminuoso> On a more serious note, this is a big issue with Ruby internals.
<manveru> workerbeetwo: i don't think i understand how that's possible, you wanna take a screenshot? :)
<dminuoso> Without any documentation, the lack of descriptive variable and function names makes debugging really hard.
[k- has quit [Ping timeout: 260 seconds]
<dminuoso> (You commonly end up with these weird functions like something() something_1() something_2() something_o())
devbug has joined #ruby
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<workerbeetwo> manveru: ah. the console got stuck somehow. had trouble to get out and after quitting succeeded, my new attempts worked as expected. ha.values ! thank you very much
<manveru> you're on windows? :)
<workerbeetwo> ubuntu
<manveru> strange
<manveru> oh well, mystery solved, kinda
* manveru heads back to work
<workerbeetwo> in deed. thanks all.
[k- has joined #ruby
bsrd has quit [Ping timeout: 244 seconds]
jtzero has quit [Ping timeout: 264 seconds]
marr has joined #ruby
alaibe has quit [Ping timeout: 244 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
vondruch has joined #ruby
claudiuinberlin has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
ferr has joined #ruby
raeoks has joined #ruby
nankyokusei has joined #ruby
andikr has joined #ruby
ICantCook has quit [Quit: bye]
capitainIsh has joined #ruby
|ifei5g00d has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
devbug has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
olistik has quit [Remote host closed the connection]
ta_ has joined #ruby
Silthias has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
LoneHerm_ has joined #ruby
aidalgol has joined #ruby
vuoto has quit [Remote host closed the connection]
miro-haku has joined #ruby
[k- has quit [Read error: Connection reset by peer]
[k- has joined #ruby
A_Drone has joined #ruby
alaibe has joined #ruby
joekarma has quit [Quit: joekarma]
miro-haku has left #ruby [#ruby]
Ebok has quit [Quit: This computer has gone to sleep]
vondruch has quit [Remote host closed the connection]
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
devbug has joined #ruby
pandaant has joined #ruby
pawnbox has joined #ruby
workerbeetwo has quit [Ping timeout: 244 seconds]
camilasan has quit [Read error: Connection reset by peer]
vuoto has joined #ruby
haxrbyte has joined #ruby
Pupeno_ has joined #ruby
araujo__ has quit [Quit: Leaving]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
aufi has joined #ruby
pwnd_nsfw` has quit [Read error: Connection reset by peer]
haxrbyte has quit [Client Quit]
araujo has joined #ruby
camilasan has joined #ruby
pwnd_nsfw has joined #ruby
aries_liuxueyang has joined #ruby
Pupeno has quit [Ping timeout: 240 seconds]
aspiers_ is now known as aspiers
AnFin has joined #ruby
pawnbox has quit [Remote host closed the connection]
araujo_ has joined #ruby
<A_Drone> Oh wow, so it came down me not knowing this was possible http://stackoverflow.com/a/10018947/6516509
mark_66 has joined #ruby
<A_Drone> Hence foo.try(:[], bar) was not making sense
capitainIsh has joined #ruby
araujo has quit [Ping timeout: 276 seconds]
Technodrome has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
devbug has quit [Read error: Connection reset by peer]
elifoster has quit [Ping timeout: 255 seconds]
workerbeetwo has joined #ruby
Lyubo1 has joined #ruby
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Ping timeout: 255 seconds]
Dimik has quit [Ping timeout: 264 seconds]
shmuli has joined #ruby
Lyubo1 has quit [Quit: ZNC 1.6.3+deb2+b1 - http://znc.in]
futilegames has joined #ruby
olistik has joined #ruby
bsrd has joined #ruby
chichou has joined #ruby
chichou has quit [Client Quit]
Parko has quit [Quit: In a while, crocodile]
mrgrieves has joined #ruby
einarj has joined #ruby
devbug has joined #ruby
workerbeetwo has quit [Ping timeout: 244 seconds]
shmuli has quit [Remote host closed the connection]
shmuli has joined #ruby
<[k-> ah, I'm sorry for not explaining that part well
workerbeetwo has joined #ruby
A_Drone has quit [Remote host closed the connection]
shmuli has quit [Remote host closed the connection]
pawnbox has joined #ruby
A_Drone has joined #ruby
<[k-> fun fact: you can define ! too (it is like so: !false) also <, >, ==, <=>, []=, *, +, -, /, -@, +@, [i think there are a few more]
shmuli has joined #ruby
<[k-> A_Drone: ^
<A_Drone> x_x
djbkd has quit [Remote host closed the connection]
<A_Drone> thanks for telling me about it now [k-, I see that that ability has infected your username choices as well :P
<hanmac> because of that "if !obj" is not the same as "unless obj"
<A_Drone> I would have hurt my head unnecessarily looking for the syntax on google otherwise
vondruch has joined #ruby
charliesome has joined #ruby
devbug has quit [Read error: Connection reset by peer]
<dminuoso> hanmac: By official Ruby convention you can expect it to be the same though.
<hanmac> dminuoso: surprise but it isnt, unless does not call the "!" method
<dminuoso> hanmac: My point is just that if Ruby states that ! is supposed to be boolean negate, then any class not following that convention is probably not well designed.
<hanmac> thats why i said they are not the SAME
<dminuoso> Fair enough. "To have the same effect"
<dminuoso> If you look close enough even things like "for i in ary" is not the same as "ary.each { |i| }"
<hanmac> in 99.99% of the cases they do (except when someone does define its own ! method)
<dminuoso> hanmac: It's important to follow these conventions. Just think about ==, ===, eql?, and equal?
pawnbox has quit [Remote host closed the connection]
araujo_ has quit [Quit: Leaving]
postmodern has quit [Quit: Leaving]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phrozen77 has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
shmuli has quit [Remote host closed the connection]
sevenfourk has quit [Quit: Connection closed for inactivity]
shmuli has joined #ruby
ctp has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flying has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
gilfoyle has quit [Ping timeout: 276 seconds]
N1njturt_ has quit [Remote host closed the connection]
devbug has joined #ruby
N1njturt1e has joined #ruby
Snowy has joined #ruby
blaxter has joined #ruby
devbug has quit [Client Quit]
workerbeetwo has quit [Ping timeout: 244 seconds]
vondruch has quit [Quit: Ex-Chat]
workerbeetwo has joined #ruby
N1njturt1e has quit [Ping timeout: 250 seconds]
jonyijoe has quit [Remote host closed the connection]
jonyijoe has joined #ruby
vondruch has joined #ruby
vuoto_ has joined #ruby
N1njturt1e has joined #ruby
jonyijoe has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
Bounga has joined #ruby
N1njturt1e has quit [Remote host closed the connection]
N1njturt1e has joined #ruby
alaibe has quit [Ping timeout: 264 seconds]
vuoto has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
hahuang61 has joined #ruby
N1njturt1e has quit [Ping timeout: 250 seconds]
vuoto__ has joined #ruby
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Client Quit]
vuoto__ has quit [Remote host closed the connection]
<claw> hey guys. stupid beginner question on mkmf and nativ extensions
pawnbox has quit [Remote host closed the connection]
<claw> can i return reusable objects from c ? e.g. speaking of libssh using sftp_new() returning a session and later pass that to sftp_init(session) ?
hahuang61 has quit [Ping timeout: 250 seconds]
<claw> or can i only use my c-'objects' inside the c-'method' ?
LoneHermit has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
<claw> thx dminuoso it did not came to mind to search for "extension" when speaking of the mkmf gem
<dminuoso> claw: In particular TypedData_Wrap_Struct is the trick.
chwbacca has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<dminuoso> claw: But give this document a read, it's pretty extensive.
Pupeno_ has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 252 seconds]
workerbeetwo has quit [Ping timeout: 244 seconds]
shmuli has quit [Remote host closed the connection]
pragmaticus has joined #ruby
w09x_ has joined #ruby
workerbeetwo has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shmuli has joined #ruby
w09x has quit [Ping timeout: 240 seconds]
chichou has joined #ruby
Macaveli has joined #ruby
chichou has quit [Client Quit]
Guest6349 is now known as etehtsea
Pupeno has joined #ruby
Pupeno has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 260 seconds]
[k- has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
blaxter has quit [Quit: foo]
stamina has joined #ruby
BlkDynmt has joined #ruby
A_Drone has quit [Remote host closed the connection]
beatdown has quit [Quit: ZNC 1.6.1 - http://znc.in]
kaczsynski has quit [Ping timeout: 244 seconds]
Coldblackice has quit [Ping timeout: 240 seconds]
capitainIsh has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
shmuli has quit [Remote host closed the connection]
payload has joined #ruby
capitainIsh has quit [Client Quit]
bsrd has quit [Read error: Connection reset by peer]
[k- has joined #ruby
arashb has joined #ruby
futilegames has quit [Quit: futilegames]
tvon[laptop] has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
kedare has joined #ruby
craigp has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
N1njturt1e has joined #ruby
dminuoso has joined #ruby
tvon has quit [Ping timeout: 250 seconds]
arashb has quit [Ping timeout: 265 seconds]
littlemyu has joined #ruby
workmad3 has joined #ruby
alaibe has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
pragmaticus has quit [Changing host]
pragmaticus has joined #ruby
olistik has quit [Remote host closed the connection]
<Mon_Ouie> mkmf is not a gem (and all it does is generate the Makefile, it's not responsible for the C API)
nadir has quit [Quit: Connection closed for inactivity]
N1njturt1e has quit [Remote host closed the connection]
<yorickpeterse> mkmf is an amazing piece of Ruby engineering
minimalism has quit [Quit: minimalism]
raeoks has joined #ruby
pragmaticus has quit [Quit: Leaving]
pragmaticus has joined #ruby
craigp has joined #ruby
minimalism has joined #ruby
olistik has joined #ruby
ebbflowgo has joined #ruby
gvt has joined #ruby
LoneHermit has joined #ruby
olistik has quit [Ping timeout: 244 seconds]
ebbflowgo has quit [Ping timeout: 265 seconds]
payload has quit [Quit: leaving]
LoneHermit has quit [Ping timeout: 250 seconds]
rodfersou has joined #ruby
AnFin has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
olistik has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
kies has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
olistik has quit [Remote host closed the connection]
workerbeetwo has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
workerbeetwo has joined #ruby
synruby has joined #ruby
nikivi has joined #ruby
Pupeno has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
synruby has left #ruby ["Leaving"]
Blaguvest has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
aidalgol has quit [Quit: zZzZzZzzzzz]
workerbeetwo has quit [Ping timeout: 244 seconds]
Bounga has quit [Ping timeout: 240 seconds]
workerbeetwo has joined #ruby
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alaibe has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
rodfersou has quit [Ping timeout: 260 seconds]
workerbeetwo has quit [Ping timeout: 244 seconds]
workerbeetwo has joined #ruby
gizless has joined #ruby
gizmore has quit [Ping timeout: 255 seconds]
alaibe has joined #ruby
Agent001 has joined #ruby
bkxd has joined #ruby
jazzonmym11nd has joined #ruby
shmuli has joined #ruby
shmuli has quit [Remote host closed the connection]
bsrd has joined #ruby
jazzonmym1nd has quit [Ping timeout: 250 seconds]
k3rn31 has joined #ruby
rodfersou has joined #ruby
shmuli has joined #ruby
aganov has quit [Quit: Leaving]
aganov has joined #ruby
andikr has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
kevinfagan has joined #ruby
JeanCarloMachado has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
JeanCarloMachado has quit [Ping timeout: 244 seconds]
pokalyis has joined #ruby
JeanCarloMachado has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
hanmac has joined #ruby
JeanCarloMachado has quit [Ping timeout: 250 seconds]
govg has joined #ruby
ebbflowgo has joined #ruby
JeanCarloMachado has joined #ruby
Agent001 has quit [Ping timeout: 240 seconds]
kevinfagan has quit [Quit: Textual IRC Client: www.textualapp.com]
einarj has left #ruby [#ruby]
marr has quit [Ping timeout: 240 seconds]
olistik has joined #ruby
ldnunes has joined #ruby
pwnd_nsfw has joined #ruby
Jardayn has joined #ruby
nankyokusei has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
olistik has quit [Ping timeout: 276 seconds]
Bounga has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 250 seconds]
gingray has quit [Ping timeout: 260 seconds]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
crst has joined #ruby
dinoangelov has joined #ruby
Hyuk has joined #ruby
Hyuk has quit [Client Quit]
k3rn31 has quit [Quit: Computer has gone to sleep.]
Hyuk has joined #ruby
raeoks has joined #ruby
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
bweston92 has joined #ruby
sdothum has joined #ruby
aries_liuxueyang has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
tectonic has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
zipace has joined #ruby
stamina has quit [Ping timeout: 240 seconds]
<IsoLinCHiP> hi, can anyone recommend some documentation for activerecord other than the railsguides? Im am really struggling with n-m relations and querying with joins in AR.
toretore has joined #ruby
kevinfagan has joined #ruby
dminuoso has joined #ruby
Vile` has quit [Ping timeout: 255 seconds]
BackEndCoder has quit [Quit: https://github.com/BackEndCoder]
gnufied has joined #ruby
hutch34_ has joined #ruby
bruce_lee has quit [Ping timeout: 255 seconds]
workmad3 has quit [Quit: Lost terminal]
bruce_lee has joined #ruby
govg has quit [Ping timeout: 250 seconds]
Immune has quit [Ping timeout: 252 seconds]
Vile` has joined #ruby
Ebok has joined #ruby
nadir has joined #ruby
senayar has quit [Ping timeout: 244 seconds]
shmuli has quit [Remote host closed the connection]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
senayar has joined #ruby
tectonic has quit []
alfiemax has quit [Ping timeout: 265 seconds]
senayar_ has joined #ruby
sepp2k has joined #ruby
dviola has joined #ruby
synthroid has joined #ruby
banisterfiend has joined #ruby
senayar has quit [Ping timeout: 260 seconds]
senayar has joined #ruby
arashb has joined #ruby
tlaxkit has joined #ruby
Vingador has joined #ruby
senayar_ has quit [Ping timeout: 250 seconds]
Hyuk has quit [Ping timeout: 264 seconds]
dminuoso has quit [Remote host closed the connection]
arashb has quit [Ping timeout: 276 seconds]
Bounga has quit [Remote host closed the connection]
Bounga has joined #ruby
plasticxu has joined #ruby
tyang has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
gingray has joined #ruby
singalaut has left #ruby ["WeeChat 1.6-dev"]
plasticxme has quit [Ping timeout: 244 seconds]
shmuli has joined #ruby
olistik has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
tommylommykins has quit [Quit: Lost terminal]
sreenivas1591 has joined #ruby
ta_ has joined #ruby
<sreenivas1591> aws
sreenivas1591 has left #ruby [#ruby]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hk238 has joined #ruby
ekinmur has joined #ruby
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
guilherme has joined #ruby
Agent001 has joined #ruby
griffindy has joined #ruby
govg has joined #ruby
k3rn31 has joined #ruby
last_staff has quit [Quit: bbl]
Vile` has quit [Ping timeout: 252 seconds]
jgnagy has quit [Remote host closed the connection]
nikivi has quit [Quit: zzz]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
GodFather has joined #ruby
dinoangelov has quit [Quit: (null)]
claudiuinberlin has joined #ruby
guilherme has quit [Ping timeout: 276 seconds]
cdg has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
BlkDynmt has joined #ruby
claudiuinberlin has quit [Ping timeout: 265 seconds]
tlaxkit has quit [Quit: tlaxkit]
shmuli has quit [Remote host closed the connection]
nikivi has joined #ruby
workmad3 has joined #ruby
Vile` has joined #ruby
c0mrad3 has joined #ruby
hahuang61 has joined #ruby
nikivi has quit [Client Quit]
ramortegui has joined #ruby
nettoweb has joined #ruby
k3rn31 has joined #ruby
saneax is now known as saneax-_-|AFK
nettoweb has quit [Max SendQ exceeded]
koooge has quit [Quit: Leaving...]
bkulbida has joined #ruby
nettoweb has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
nettoweb has quit [Max SendQ exceeded]
lightheaded has quit [Remote host closed the connection]
nettoweb has joined #ruby
Bounga has quit [Ping timeout: 264 seconds]
LoneHerm_ has joined #ruby
aegis3121 has joined #ruby
blackwind_123 has quit [Ping timeout: 252 seconds]
Bounga has joined #ruby
karmatr0n has joined #ruby
spider-mario has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
ChiefAlexander has joined #ruby
claudiuinberlin has joined #ruby
blackwind_123 has joined #ruby
aryaching has joined #ruby
LoneHerm_ has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Ping timeout: 265 seconds]
<pragmaticus> hallo
<pragmaticus> i need to find a specific string in a multiline string
<pragmaticus> i want to retrive the linenumber of the match
nclbr has joined #ruby
Agent001 has quit [Ping timeout: 240 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby
claudiuinberlin has quit [Ping timeout: 265 seconds]
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
<elomatreb> pragmaticus: Split the string on the newlines ("\n") and search the resulting array, with the index being your line number?
aegis3121 has joined #ruby
nclbr has quit [Quit: Leaving...]
workerbeetwo has quit [Quit: Lost terminal]
<pragmaticus> elomatreb: thx, worked
malconis has joined #ruby
frozengeek has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyang has quit [Ping timeout: 250 seconds]
malconis has quit [Remote host closed the connection]
Agent001 has joined #ruby
nankyokusei has joined #ruby
thejamespinto has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
malconis has joined #ruby
ta_ has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 244 seconds]
tyang has joined #ruby
tvon[laptop] has quit [Quit: System is sleeping...]
Jardayn has quit [Read error: Connection reset by peer]
irisseries has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karmatr0n has quit [Ping timeout: 240 seconds]
andikr has joined #ruby
tommylommykins has joined #ruby
karmatr0n has joined #ruby
Agent001 has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
<irisseries> Good Morning/Evening , Could someone point me in the right direction. I would to use a linux that teaches all the basics while introducing harder things. Please tell me why that distro too.
irisseries has left #ruby ["Leaving"]
shmuli has joined #ruby
<pragmaticus> how to remove all whitespaces of every element in an array?
<havenwood> pragmaticus: map { |element| element.gsub /\s/, '' }
<Fetch> pragmaticus: do you mean all whitespace, or so you mean leading/trailing whitespace?
<pragmaticus> fetch: leading and trailing
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lizard2010> array.collect{|x| x.strip || x }
<Fetch> lizard2010: why the || ?
<havenwood> pragmaticus: map &:strip
govg has quit [Ping timeout: 264 seconds]
kp666 has quit [Ping timeout: 276 seconds]
loveablelobster has quit [Quit: Textual IRC Client: www.textualapp.com]
<pragmaticus> lizard2010, workd like a charm
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pragmaticus> bonus question, how to delete all whitesapces?
<havenwood> pragmaticus: What I first showed you deletes all whitespace like you first asked. If you want to just remove leading and trailing just: array.map(&:strip)
coolboy has joined #ruby
Bounga` has joined #ruby
<pragmaticus> havenwood: i cant figure out the map function
<pragmaticus> havenwood, where is the array?
<lizard2010> to remove all whitespace, you can use .gsub(/\s+/, "")
<havenwood> pragmaticus: `collect` is an alias for `map`
<lizard2010> Fetch, mybe typo
<havenwood> pragmaticus: I omitted the `array.`, sorry for the confusion.
<pragmaticus> havenwood, got it array.map ....
<pragmaticus> thx
Bounga`` has joined #ruby
bmurt has joined #ruby
<pragmaticus> love all solutions :D
<lizard2010> .strip! reuturn nil if no change
b3atr has joined #ruby
<b3atr> as a ruby programmer what language would you recommend to learn along?
<lizard2010> without bang - never nil
Bounga has quit [Ping timeout: 260 seconds]
<lizard2010> b3atr, prolog for mind hurt (=
tvon has joined #ruby
<havenwood> b3atr: There are so many. Maybe Elixir, Crystal or Rust.
aryaching has quit [Ping timeout: 260 seconds]
jphase has joined #ruby
johnmilton has quit [Remote host closed the connection]
Bounga``` has joined #ruby
kevinfagan has quit [Quit: Textual IRC Client: www.textualapp.com]
Bounga` has quit [Ping timeout: 265 seconds]
tristanp has quit []
<b3atr> what about statically typed langauge?
Bounga`` has quit [Ping timeout: 240 seconds]
<b3atr> havenwood: i didn't have a good taste of rust.
claudiuinberlin has joined #ruby
<havenwood> b3atr: Crystal is statically type checked.
<lizard2010> с?
<Mon_Ouie> Haskell?
kp666 has joined #ruby
<b3atr> lizard2010: already know it.
<lizard2010> and even java?
<havenwood> b3atr: Elxiir has Dialyzer (or Dialyxir) for static type analysis.
<lizard2010> *** i don;t like it personally, but it very useful today (=
jphase has quit [Ping timeout: 250 seconds]
craigp has quit [Ping timeout: 265 seconds]
<b3atr> lizard2010: IDE-dependent language, puff.
<lizard2010> and this also :)
Vile` has quit [Ping timeout: 250 seconds]
Bounga``` has quit [Ping timeout: 240 seconds]
<havenwood> b3atr: How about Elm for a Haskell-light?
fantazo has joined #ruby
<b3atr> havenwood: i'm not ui developer.
SteenJobs has joined #ruby
<[k-> :> Haskell
<havenwood> b3atr: I think Elm plans to go server-side, but good point.
[k-_ has joined #ruby
<b3atr> crystal, clojure and elixir are pretty good.
[k- has quit [Read error: Connection reset by peer]
<b3atr> how about golang?
<[k-_> OCaml, ML, Purescript
<havenwood> b3atr: Quick to learn. Not as fun as Crystal, Clojure or Elixir.
<[k-_> F#,
GodFather has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
<b3atr> i really liked the syntax, it feels like C but not so memory-senstive.
<[k-_> How about Scala? Scala is fast and quite expressive
<havenwood> b3atr: I guess I just prefer Crystal for Go-like concurrency langs. ;)
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
<b3atr> [k-_: i really like almost-pure functional languages, but not for now. maybe next year :)
johnmilton has joined #ruby
<[k-_> almost pure? F#!
<b3atr> [k-_: there's no pure-functional language on earth.
<[k-_> mathematics
<b3atr> that's a different and it's abstract.
CloCkWeRX has quit [Ping timeout: 265 seconds]
M-manveru1 has quit [Read error: Connection reset by peer]
M-mistake has quit [Read error: Connection reset by peer]
M-shine has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
LoneHermit has joined #ruby
<Mon_Ouie> Doesn't F# have reference types like OCaml?
aufi has quit [Ping timeout: 244 seconds]
biberu has joined #ruby
roamingdog has joined #ruby
pwnd_nsfw` has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
zekriad has joined #ruby
pawnbox has joined #ruby
rubie has joined #ruby
crst has quit [Quit: Leaving...]
bkxd has quit [Ping timeout: 244 seconds]
<[k-_> I don't know, I have no idea what's the difference between F#, Ocaml and Haskell. I just chose haskell because I felt thar it was mathematical and it appealed to me. I'm still a beginner at haskell.
<[k-_> I was just broadening the search for new languages
pwnd_nsfw has quit [Ping timeout: 250 seconds]
minimalism has quit [Quit: minimalism]
jazzonmym11nd has quit [Read error: Connection reset by peer]
jazzonmym11nd has joined #ruby
max_v has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
govg has joined #ruby
phrozen77 has joined #ruby
chouhoulis has joined #ruby
kies has joined #ruby
stamina has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
shinnya has joined #ruby
naftilos76 has joined #ruby
akp has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Bounga``` has joined #ruby
chouhoulis has joined #ruby
minimalism has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
jhass has quit [Ping timeout: 255 seconds]
<darix> [k-_: rust
jonyijoe has joined #ruby
<[k-_> that was already mentioned
jgt has quit [Ping timeout: 244 seconds]
tvon has quit [Quit: System is sleeping...]
jhass has joined #ruby
max_v has quit [Quit: Saliendo]
Bounga``` has quit [Ping timeout: 276 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tyang has quit [Ping timeout: 250 seconds]
GodFather has quit [Quit: Ex-Chat]
ebbflowgo has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
shmuli has quit [Remote host closed the connection]
pawnbox has joined #ruby
ebbflowgo has joined #ruby
aryaching has joined #ruby
tvon has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
tyang has joined #ruby
araujo has joined #ruby
Agent001 has joined #ruby
M-shine has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
gopz has joined #ruby
bkxd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fmcgeough has joined #ruby
pawnbox has quit [Remote host closed the connection]
danostrowski has joined #ruby
submitnine has quit []
bkxd has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
tyang has quit [Ping timeout: 250 seconds]
astrobunny has quit [Quit: Leaving...]
aganov has quit [Remote host closed the connection]
deadprez has joined #ruby
pawnbox has joined #ruby
govg has quit [Ping timeout: 250 seconds]
jazzonmym11nd has quit [Read error: Connection reset by peer]
aegis3121 has quit [Ping timeout: 264 seconds]
jazzonmym11nd has joined #ruby
fmcgeough has quit [Read error: Connection reset by peer]
cdg has quit [Remote host closed the connection]
danostrowski has quit [Ping timeout: 252 seconds]
jtzero has joined #ruby
zacts has quit [Ping timeout: 264 seconds]
jphase has joined #ruby
olistik has quit [Remote host closed the connection]
Ipe_ has joined #ruby
olistik has joined #ruby
dminuoso has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
roamingdog has quit [Read error: Connection reset by peer]
shmuli has joined #ruby
shmuli_ has joined #ruby
aegis3121 has joined #ruby
hopsoft has joined #ruby
hahuang61 has joined #ruby
arashb has joined #ruby
rodfersou is now known as rodfersou|lunch
shmuli has quit [Ping timeout: 276 seconds]
deadprez has quit [Remote host closed the connection]
banisterfiend has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
shmuli_ has quit [Ping timeout: 240 seconds]
deadprez has joined #ruby
conta has quit [Ping timeout: 240 seconds]
arashb has quit [Ping timeout: 244 seconds]
jgnagy has joined #ruby
Pumukel has joined #ruby
rsampaio_ has joined #ruby
agent_white has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
flying has quit []
synthroid has quit [Remote host closed the connection]
mark_66 has quit [Quit: Leaving.]
ebbflowgo has quit [Read error: Connection reset by peer]
naftilos76 has quit [Quit: Αποχώρησε]
yardenbar has quit [Ping timeout: 276 seconds]
ebbflowgo has joined #ruby
Sp4rKy has quit [Ping timeout: 240 seconds]
rsampaio_ has quit [Ping timeout: 255 seconds]
Macaveli has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
thegoddew has joined #ruby
jgt has joined #ruby
charliesome has joined #ruby
wugy has quit []
nettoweb has joined #ruby
Snowy has quit [Quit: ragequit]
Guest3871 has joined #ruby
pawnbox has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
olistik has quit [Remote host closed the connection]
dionysus69 has joined #ruby
nankyokusei has joined #ruby
Guest3871 has quit [Remote host closed the connection]
devbug has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
jgt has quit [Read error: Connection reset by peer]
nickelcitymario has joined #ruby
nikivi has joined #ruby
vdamewood has joined #ruby
Axl_ has joined #ruby
devbug has quit [Read error: Connection reset by peer]
devbug_ has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
ferr has quit [Quit: WeeChat 1.5]
Vile` has joined #ruby
duderonomy has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
aufi has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SteenJobs has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
SteenJobs has quit [Client Quit]
amclain has joined #ruby
<ule> how can I include byebug on "bundle exec rails console" ?
pawnbox has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
banisterfiend has quit [Ping timeout: 250 seconds]
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
mrgrieves has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
devbug has joined #ruby
devbug_ has quit [Read error: Connection reset by peer]
cdg has joined #ruby
DanKnox has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> add it to your gemfile
<adaedra> if the problem persists, see with #RubyOnRails
senayar has quit []
olistik has joined #ruby
Agent001 has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
wizzi has joined #ruby
<ule> adaedra: yeah.. that's right.. I forgot to uncomment it on my Gemfile. Thanks!
AndrewIsHere has joined #ruby
aegis3121 has quit [Ping timeout: 244 seconds]
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
pochoa has joined #ruby
deadprez has quit [Remote host closed the connection]
tyang has joined #ruby
ITT_Graduate has quit [Ping timeout: 276 seconds]
ITT_Graduate has joined #ruby
wizzi has left #ruby [#ruby]
deadprez has joined #ruby
gnufied has quit [Quit: Leaving]
tyang has quit [Ping timeout: 250 seconds]
thegoddew has quit [Ping timeout: 250 seconds]
claudiuinberlin has quit []
frozengeek has quit [Quit: frozengeek]
tyang has joined #ruby
pawnbox has quit [Remote host closed the connection]
rubie has quit [Remote host closed the connection]
pawnbox has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gnufied has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
Immune has joined #ruby
deadprez has quit [Remote host closed the connection]
Xeago has joined #ruby
zack1 has joined #ruby
pokalyis has quit [Quit: Textual IRC Client: www.textualapp.com]
myndzi` has joined #ruby
devbug has quit [Read error: Connection reset by peer]
nitric has joined #ruby
hopsoft has joined #ruby
pokalyis has joined #ruby
pokalyis has quit [Client Quit]
deadprez has joined #ruby
pokalyis has joined #ruby
arashb has joined #ruby
guilherme has joined #ruby
flying has joined #ruby
kedare has quit [Quit: Leaving]
pandaant has quit [Remote host closed the connection]
anisha has joined #ruby
Guest3871 has joined #ruby
pokalyis has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest3871 has quit [Remote host closed the connection]
kanobt61 has quit [Ping timeout: 244 seconds]
antgel has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
devbug has joined #ruby
qguv has quit [Ping timeout: 250 seconds]
kanobt61 has joined #ruby
flying has quit []
kies has quit [Ping timeout: 240 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
SteenJobs has joined #ruby
pwnd_nsfw has joined #ruby
[Butch] has joined #ruby
kanobt61 has quit [Read error: Connection reset by peer]
creat has quit [Ping timeout: 264 seconds]
qguv has joined #ruby
charliesome has joined #ruby
zack1 has quit [Quit: WeeChat 1.3]
kanobt61 has joined #ruby
jonyijoe has quit [Remote host closed the connection]
pokalyis has joined #ruby
creat has joined #ruby
jonyijoe has joined #ruby
tyang has quit [Ping timeout: 250 seconds]
jobewan has joined #ruby
kanobt61 has quit [Read error: Connection reset by peer]
kanobt61 has joined #ruby
olistik has quit [Remote host closed the connection]
littlemyu has quit [Ping timeout: 240 seconds]
aufi has quit [Ping timeout: 260 seconds]
jonyijoe has quit [Ping timeout: 244 seconds]
kies has joined #ruby
stamina has quit [Ping timeout: 265 seconds]
marxarelli has joined #ruby
JeanCarloMachado has joined #ruby
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
nickelcitymario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BlkDynmt has joined #ruby
pawnbox has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 260 seconds]
aufi has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
SteenJobs has joined #ruby
polyidus has joined #ruby
bkxd has joined #ruby
chihhsin_ has quit [Ping timeout: 252 seconds]
aegis3121 has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
aufi has quit [Ping timeout: 264 seconds]
bsrd has quit [Read error: Connection reset by peer]
skweek has joined #ruby
Alina-malina is now known as General-Alina
General-Alina is now known as Alina-malina
pawnbox has joined #ruby
ixti has joined #ruby
alaibe has quit [Ping timeout: 244 seconds]
aegis3121 has quit [Ping timeout: 255 seconds]
chihhsin has joined #ruby
olistik has joined #ruby
eizua has quit [Quit: Leaving]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has joined #ruby
jose_leeto has joined #ruby
duderono_ has joined #ruby
Guest3871 has joined #ruby
Guest3871 has quit [Remote host closed the connection]
polyidus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
craigp has joined #ruby
polyidus has joined #ruby
pochoa has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
duderonomy has quit [Ping timeout: 250 seconds]
hopsoft has joined #ruby
hopsoft has quit [Client Quit]
nickelcitymario has joined #ruby
andikr has quit [Remote host closed the connection]
_djbkd has joined #ruby
aegis3121 has joined #ruby
rwobben has joined #ruby
pawnbox has quit [Remote host closed the connection]
<rwobben> Is ruby monk offline yet or does the site be offline for a few days. I cannot see the site anymore when I tried today ?
Immune has joined #ruby
last_staff has joined #ruby
pawnbox has joined #ruby
ctp has joined #ruby
pawnbox has quit [Remote host closed the connection]
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nickelcitymario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> rwobben ^
rodfersou|lunch is now known as rodfersou
charliesome has joined #ruby
<rwobben> baweaver: thanks, I was one of the best places to learn more about ruby
<rwobben> the only thing I can do is wait
<baweaver> or find a cached copy somewhere in the wild
symm- has joined #ruby
<baweaver> internet wayback machine
JeanCarloMachado has quit [Ping timeout: 240 seconds]
nickelcitymario has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
craigp has quit [Ping timeout: 265 seconds]
Axl_ has quit [Quit: axl_]
whathappens has quit [Read error: Connection reset by peer]
deadprez has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 265 seconds]
whathappens has joined #ruby
myndzi` has quit [Ping timeout: 264 seconds]
deadprez has joined #ruby
pochoa has joined #ruby
guilherme has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
polyidus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devbug has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
Cohedrin has joined #ruby
<rwobben> baweaver: thanks
devbug has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
charliesome_ has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
charliesome has quit [Ping timeout: 255 seconds]
pochoa has quit [Ping timeout: 264 seconds]
kp__ has joined #ruby
firstdayonthejob has joined #ruby
pochoa has joined #ruby
fantazo has quit [Quit: Verlassend]
capitainIsh has joined #ruby
rcvalle has joined #ruby
nikivi has quit [Quit: irc]
Pumukel has quit [Ping timeout: 250 seconds]
griffindy has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
kp666 has quit [Ping timeout: 276 seconds]
kp666 has joined #ruby
burhan has quit [Quit: Connection closed for inactivity]
kp__ has quit [Ping timeout: 250 seconds]
yardenbar has joined #ruby
SteenJobs has quit [Quit: peaceee]
nickelcitymario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsrd has joined #ruby
chouhoulis has joined #ruby
devbug has quit [Read error: Connection reset by peer]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
devbug has joined #ruby
N1njturt1e has joined #ruby
ramfjord has joined #ruby
troulouliou_div2 has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
rwobben has quit [Quit: Page closed]
malconis_ has joined #ruby
Guest3871 has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
Guest3871 has quit [Remote host closed the connection]
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alaibe has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
malconis has quit [Ping timeout: 240 seconds]
ramfjord_ has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.5]
nickelcitymario has joined #ruby
programmerq has joined #ruby
elastix has joined #ruby
firstdayonthejob has joined #ruby
tyang has joined #ruby
lightheaded has joined #ruby
charliesome has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
M-manveru has joined #ruby
replay has joined #ruby
M-mistake has joined #ruby
whathappens has quit [Remote host closed the connection]
karmatr0n has joined #ruby
craigp has joined #ruby
whathappens has joined #ruby
devbug has quit [Read error: Connection reset by peer]
lightheaded has quit [Remote host closed the connection]
malconis_ has quit [Remote host closed the connection]
lightheaded has joined #ruby
claudiuinberlin has joined #ruby
whathappens has quit [Remote host closed the connection]
dionysus69 has joined #ruby
bkulbida has quit [Ping timeout: 264 seconds]
nikivi has joined #ruby
ngscheurich has joined #ruby
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
malconis has joined #ruby
lightheaded has quit [Ping timeout: 255 seconds]
b3atr has quit [Quit: WeeChat 1.5]
whathappens has joined #ruby
Guest3871 has joined #ruby
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
Guest3871 has quit [Remote host closed the connection]
elifoster has joined #ruby
_djbkd has quit [Remote host closed the connection]
Guest3871 has joined #ruby
yardenbar has quit [Ping timeout: 260 seconds]
_djbkd has joined #ruby
akp has quit [Read error: Connection reset by peer]
Guest3871 has quit [Remote host closed the connection]
Guest3871 has joined #ruby
zeroDi has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
rubie has joined #ruby
bkulbida has joined #ruby
Guest3871 has quit [Remote host closed the connection]
Guest3871 has joined #ruby
duderonomy has joined #ruby
nikivi has quit [Quit: irc]
bocaneri has quit [Remote host closed the connection]
synthroi_ has joined #ruby
Guest3871 has quit [Remote host closed the connection]
whathapp_ has joined #ruby
devbug has joined #ruby
Guest3871 has joined #ruby
rubie has quit [Ping timeout: 252 seconds]
bjh13 has joined #ruby
synthroid has quit [Ping timeout: 240 seconds]
pochoa has quit [Ping timeout: 240 seconds]
whathappens has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
thejamespinto has joined #ruby
polyidus has joined #ruby
chimkan has joined #ruby
theery has joined #ruby
aegis3121 has quit [Ping timeout: 244 seconds]
bkulbida has quit [Quit: leaving]
aegis3121 has joined #ruby
LoneHerm_ has quit [Ping timeout: 240 seconds]
jonyijoe has joined #ruby
jgt has joined #ruby
jazzonmym11nd has quit [Read error: Connection reset by peer]
jazzonmym11nd has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Remote host closed the connection]
jonyijoe has quit [Remote host closed the connection]
pawnbox has joined #ruby
workmad3 has joined #ruby
pochoa has joined #ruby
nettoweb has joined #ruby
lxsameer has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 252 seconds]
gizmore has joined #ruby
ruby3581 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizless has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
<ruby3581> Hi, I've noticed that some classes like Integer allow you to use Integer('5') or similar. Is it possible to add such a method to my own class? I know self.[] works for square brackets, so I tried self.() with no success.
Bellthoven has joined #ruby
<aegis3121> I believe it's that there's a method of Integer on Kernel.
<elomatreb> ruby3581: Methods like Integer() are defined in the "Kernel" module, which is mixed into Object.
<ruby3581> Ah, that makes sense. Thank you both7!
<elomatreb> You can reopen the Kernel module and define your own methods like that, but it is generally frowned upon to pollute the namespace like that
<ruby3581> Yeah, I'll go with a regular constructor I think. Thanks! :)
tvon has quit [Quit: System is sleeping...]
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 252 seconds]
yardenbar has joined #ruby
symm- has quit [Quit: Leaving...]
tvon has joined #ruby
karmatr0n has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
marxarelli has joined #ruby
Lucky_ABA has joined #ruby
pawnbox has quit [Remote host closed the connection]
lxsameer has quit [Quit: WeeChat 1.5]
deadprez has quit [Remote host closed the connection]
claudiuinberlin has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
kanobt61 has quit [Read error: Connection reset by peer]
aegis3121 has quit [Ping timeout: 265 seconds]
AlexRussia has quit [Quit: WeeChat 1.5]
pawnbox has joined #ruby
AlexRussia has joined #ruby
Guest3871 has quit [Remote host closed the connection]
AzureStigma has joined #ruby
nettoweb has joined #ruby
postmodern has joined #ruby
aegis3121 has joined #ruby
deadprez has joined #ruby
Guest3871 has joined #ruby
ruby3581 has quit [Quit: Page closed]
Guest3871 has quit [Remote host closed the connection]
craigp has quit [Ping timeout: 250 seconds]
Guest3871 has joined #ruby
pawnbox has quit [Remote host closed the connection]
kanobt61 has joined #ruby
hahuang61 has joined #ruby
Guest3871 has quit [Remote host closed the connection]
tvon has quit [Quit: System is sleeping...]
jud^ has joined #ruby
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
skweek has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
jud has quit [Ping timeout: 276 seconds]
augcesar has joined #ruby
pawnbox has joined #ruby
stamina has joined #ruby
deadprez has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
deadprez has joined #ruby
AlexRussia_ has joined #ruby
devbug has quit [Read error: Connection reset by peer]
tvon has joined #ruby
coolboy has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
AlexRussia has quit [Ping timeout: 260 seconds]
bjh13 has quit [Remote host closed the connection]
tvon has quit [Client Quit]
<ivanskie> hi
craigp has joined #ruby
<ivanskie> question
<ivanskie> is there a way to write both to the screen and to the file at same time without repeatition?
<ivanskie> cause right now i'm doing puts "blah" and then f.puts "blah"
jenrzzz has joined #ruby
<ivanskie> ?
<Mon_Ouie> You can create a class that implements puts and just forwards the call to a set of IO objects
<ivanskie> set of IO objects?
anisha has quit [Quit: This computer has gone to sleep]
<Mon_Ouie> Also, if you don't need a solution that modifies your code, you can use tee(1)
chwbacca has joined #ruby
<ivanskie> hm
<Mon_Ouie> Yes, multiple objects which are instances of IO (or a similar class)
<ivanskie> i have File.open ... do |f|
<ivanskie> and then several loops inside.
tvon has joined #ruby
<ivanskie> and i want to both output stuff to console and write to the file..
<ivanskie> i need to write to file and not just append to it. so i guess i'd have to clear the file first. then append to it within that class eh
<ivanskie> hm
<ivanskie> thanks
jud^ is now known as jud
jud has quit [Changing host]
jud has joined #ruby
LoneHermit has joined #ruby
gopz has quit [Quit: Leaving]
devbug has joined #ruby
whathapp_ has quit [Remote host closed the connection]
tyang has quit [Ping timeout: 250 seconds]
<ivanskie> I'd use terminal-table.. for what im doing. but looks like everyone's switched to UTF table instead.
whathappens has joined #ruby
skweek has quit [Ping timeout: 255 seconds]
whathappens has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 240 seconds]
brendan- has joined #ruby
chadhs has joined #ruby
whathappens has joined #ruby
chadhs has quit [Client Quit]
mostlybadfly has quit [Quit: Connection closed for inactivity]
nanoz has joined #ruby
elastix has quit [Quit: elastix]
kies has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
flying has joined #ruby
whathappens has quit [Client Quit]
lel has joined #ruby
vuoto has joined #ruby
pawnbox has joined #ruby
moneylotion has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 250 seconds]
jhass has quit [Ping timeout: 252 seconds]
agit0 has joined #ruby
moneylotion has joined #ruby
jose_leeto has quit [Quit: Leaving.]
sepp2k has quit [Quit: Leaving.]
capitainIsh has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jhass has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
claudiuinberlin has quit []
tvon has quit [Quit: System is sleeping...]
Vingador has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
marxarelli has joined #ruby
gnufied has quit [Quit: Leaving]
codezomb has joined #ruby
tvon has joined #ruby
_djbkd has quit [Remote host closed the connection]
tvon has quit [Client Quit]
_djbkd has joined #ruby
yardenbar has quit [Ping timeout: 255 seconds]
Madplatypus has joined #ruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
cdg has joined #ruby
pochoa has quit [Ping timeout: 240 seconds]
polyidus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polyidus has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnmilton has quit [Remote host closed the connection]
jose_leeto has joined #ruby
pochoa has joined #ruby
marxarelli has joined #ruby
flying has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
nanoz has left #ruby ["Leaving"]
blackgoat has joined #ruby
tdy has joined #ruby
pochoa has quit [Ping timeout: 276 seconds]
DanKnox has joined #ruby
Coldblackice has joined #ruby
pochoa has joined #ruby
spudowiar has joined #ruby
replay has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 265 seconds]
flying has joined #ruby
ur5us has joined #ruby
roychri has joined #ruby
dminuoso has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
nickelcitymario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
sepp2k has joined #ruby
pochoa has quit [Ping timeout: 276 seconds]
gnufied has joined #ruby
tvon has joined #ruby
alfiemax has joined #ruby
AnoHito_ has joined #ruby
last_staff has quit [Client Quit]
AnoHito has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
kanobt61_ has joined #ruby
kanobt61 has quit [Ping timeout: 250 seconds]
pochoa has joined #ruby
Coldblackice has quit []
flying has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
DEac-_ has quit [Quit: leaving]
DEac- has joined #ruby
hotpancakes has joined #ruby
Coldblackice has joined #ruby
Coldblackice has quit [Max SendQ exceeded]
Technodrome has joined #ruby
kies has joined #ruby
marr has joined #ruby
tripleplus has joined #ruby
bkxd has joined #ruby
ITT_Graduate is now known as wintax1
ctp has joined #ruby
replay has joined #ruby
wintax1 is now known as hammond
Ipe_ has quit [Quit: Konversation terminated!]
hammond has quit [Changing host]
hammond has joined #ruby
hammond has joined #ruby
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 264 seconds]
ctp has quit [Ping timeout: 260 seconds]
<tripleplus> i'd like to pass a long string (an rsa private key) into an ERB template without the newlines (i.e. literal, 2-character '\n' sequences) being parsed. I'm having a difficult time finding documentation that addresses my use case, probably because i'm using the wrong search terms. any thoughts?
deadprez has quit [Remote host closed the connection]
guilherme has joined #ruby
synthroi_ has quit []
creat has quit [Ping timeout: 255 seconds]
deadprez has joined #ruby
<jazzonmym11nd> tripleplus: are you using ERB.new().result?
flying has joined #ruby
symm- has joined #ruby
<toretore> ?code tripleplus
<ruby[bot]> tripleplus: We can't help you without your code, please post it to https://gist.github.com
lightheaded has joined #ruby
creat has joined #ruby
<tripleplus> jazzonmym11nd: i'm using chef, and am not a "ruby guy" in other contexts, so i don't know the answer to your question, although *i'm* not using that explicitly.
Jayson_Virissimo has joined #ruby
<tripleplus> i was hoping/assuming that there's an erb directive that i could use in my template, rather than some modification to the calling code.
<jazzonmym11nd> then i'm not sure. how do you use erb with chef? you could try <%= .. -%>.
<jazzonmym11nd> well, you can configure ERB to omit newlines but that happens when you call ERB.new
fly5566 has quit [Ping timeout: 250 seconds]
r4z has joined #ruby
rodfersou has quit [Quit: leaving]
<jazzonmym11nd> it's not hard to use ERB directly. ERB.new(template, nil, ">").result(binding).
<jazzonmym11nd> that would do what you want.
lightheaded has quit [Ping timeout: 250 seconds]
moei has quit [Quit: Leaving...]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
Synthead has quit [Quit: Synthead]
GinoManWorks has quit [Quit: Leaving]
elifoster has quit [Ping timeout: 244 seconds]
<tripleplus> '<%= ... -%>' did not work. here's a little context:
hotpancakes has quit [Ping timeout: 250 seconds]
l3ck has joined #ruby
l3ck has quit [Client Quit]
whathappens has joined #ruby
<toretore> tripleplus: where does `privatekey` come from?
<toretore> + _
kitikonti has joined #ruby
m4rCsi has quit [Read error: Connection reset by peer]
kx has joined #ruby
m4rCsi has joined #ruby
hahuang61 has joined #ruby
<kitikonti> <%= p.options %> returns in my case {:locale=>:de}
<kitikonti> how can i get the locale value? i want 'de' or 'en'
ldnunes has quit [Quit: Leaving]
<kitikonti> i tried <%= p.options.locale %> and <%= p.options['locale'] %>
jobewan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kitikonti> but this dont work
[Butch] has quit [Quit: I'm out . . .]
<xpitr> [:locale]
<jazzonmym11nd> p.options[:locale]
<kitikonti> thx
<kitikonti> this works
<tripleplus> toretore: privatekey is a local variable for the calling chef code. it's getting to the template, as my string is ending up in the rendered document.
polyidus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jazzonmym11nd> you're sure the string doesn't have newlines embedded?
<optiz0r> Banging my head against "bundle install" in Jenkins. I get "cannot load such file -- bundler" when run as a job, but if I su to the jenkins user, cd to the workspace and run "/usr/bin/ruby21 /usr/bin/bundle install" it works fine, repeatably: https://gist.github.com/optiz0r/a8b31b2bc34d62cada4c83341ea0bc83. I'm guessing it's environmental, but RUBY_HOME is not set in either case, I'm being explicit about which interpreter to use. What have I missed?
<toretore> they're probably reading in a key file, putting it in a variable and then the newlines go in the final result. then what they want is to replace "\n" with "\\n"
<toretore> private_key.gsub(/\n/, "\\n")
<jazzonmym11nd> optiz0r: try ruby21 -S bundle install.
hahuang61 has quit [Ping timeout: 250 seconds]
jobewan has joined #ruby
guilherme has quit [Ping timeout: 260 seconds]
<tripleplus> jazzonmym11nd: the string has literal, 2-character '\n' sequences embedded throughout the string. i want them preserved in the rendered document.
ramortegui has quit [Quit: Ex-Chat]
<tripleplus> toretore: ha, seriously?
<tripleplus> toretore: okay.
<toretore> if you actually have \ and n then you shouldn't have to do anything at all
N1njturt1e has quit [Ping timeout: 250 seconds]
polyidus has joined #ruby
<toretore> something is not what it seems
vuoto has quit [Remote host closed the connection]
<jazzonmym11nd> oh ok, i thought you didn't want the newlines in your output.
<kitikonti> ok p.options[:locale] now returns 'de' or 'en' but why if p.options[:locale] == 'de' dont't work
Silthias1 has joined #ruby
<jazzonmym11nd> because it is :de
<jazzonmym11nd> you're making the same mistake again
<jazzonmym11nd> are you using puts to print its value?
Silthias has quit [Ping timeout: 260 seconds]
<optiz0r> jazzonmym11nd: same output
karmatr0n has quit [Ping timeout: 244 seconds]
<kitikonti> ahhh i have triedif p.options[:locale] == ':de' not just :de
<jazzonmym11nd> read about symbols in ruby
stamina has quit [Ping timeout: 276 seconds]
<jazzonmym11nd> optiz0r: try ruby21 -S gem install bundler first.
<jazzonmym11nd> optiz0r: i guess /usr/bin/bundle isn't for ruby21.
Ebok has joined #ruby
<optiz0r> jazzonmym11nd: the shebang line confirms it is for ruby21, I was just being explicit about path. it's installed systemwide with native package manager, and as I say command runs fine when I run it in an interactive shell under the same user account
evanleck has joined #ruby
SeepingN has quit [Read error: Connection reset by peer]
<optiz0r> just calling "bundle install" instead of "/usr/bin/ruby21 /usr/bin/bundle install" also gives same result, fwiw
SeepingN has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
<jazzonmym11nd> hrm
<tripleplus> toretore: escaping backslashes worked. thank you.
<tripleplus> jazzonmym11nd: thank you.
<optiz0r> so "gem install bundler" as the user (non-root), and now "bundle install" in jenkins is doing the right thing, but I don't understand why it's not using the system copy
<jazzonmym11nd> tripleplus: yw
deadprez has quit [Remote host closed the connection]
<jazzonmym11nd> optiz0r: could GEM_HOME be set when you log in and not when running the jenkins build?
<optiz0r> not set interactively, will check jenkins environment when this build completes
dreamyspell has quit [Quit: Leaving]
<jazzonmym11nd> your gem setup seems somehow borked.
karmatr0n has joined #ruby
lel has quit [Quit: lel]
biberu has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 250 seconds]
baweaver has quit [Max SendQ exceeded]
jose_leeto has quit [Quit: Leaving.]
baweaver has joined #ruby
JoshS has joined #ruby
hammond has quit [Ping timeout: 250 seconds]
<optiz0r> GEM_HOME not set in jenkins env either =/
hammond has joined #ruby
hammond has quit [Changing host]
hammond has joined #ruby
deadprez has joined #ruby
<optiz0r> having blown away ~/.gem again, there's only one copy installed, which is systemwide native package, only one ruby interpreter installed, which is systemwide native package, and the bundle script being called is the one provided by the systemwide package
N1njturt1e has joined #ruby
spudowiar has quit [Quit: zzZzzZzzZzz]
Silthias has joined #ruby
augcesar has quit [Quit: Connection closed for inactivity]
pochoa has quit [Ping timeout: 276 seconds]
rubie has joined #ruby
hotpancakes has joined #ruby
Silthias1 has quit [Ping timeout: 276 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
Silthias has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
AnarchyAo has joined #ruby
hutch34_ has quit [Quit: WeeChat 1.5]
rubie has quit [Ping timeout: 252 seconds]
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has quit [Ping timeout: 250 seconds]
evanleck has quit [Remote host closed the connection]
evanleck has joined #ruby
tripleplus has left #ruby ["WeeChat 1.5"]
machinewar has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
<machinewar> what is a use case for strucs?
<Jayson_Virissimo> Data clumps, like ordered pairs: (x, y)?
<optiz0r> jazzonmym11nd: hmm ok, so strace shows it's looking in the system paths but not in the versioned path where the file actually lives: http://pastebin.com/Evx1j6i7
<ruby[bot]> optiz0r: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/2c5448c422fcb634e479de0ac701c287
<ruby[bot]> optiz0r: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
AzureStigma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 264 seconds]
capitainIsh has joined #ruby
Silthias has joined #ruby
alaibe has quit [Ping timeout: 264 seconds]
gizmore has quit [Remote host closed the connection]
Dimik has joined #ruby
<optiz0r> jazzonmym11nd: aaah got it, jenkins is setting GEM_PATH, but not in a way i found by just doing "echo $GEM_PATH", a manual "unset GEM_PATH" in my script just before I call bundle has resolved it
<optiz0r> thanks for your help
<jazzonmym11nd> yw glad you solved it
kies has quit [Ping timeout: 250 seconds]
machinewar has quit []
<optiz0r> And now I know what it is, I find the Jenkins bug for it too! https://issues.jenkins-ci.org/browse/JENKINS-17241
alfiemax has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
JoshS has quit [Read error: Connection reset by peer]
JoshS has joined #ruby
lightheaded has joined #ruby
pochoa has joined #ruby
bsrd has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
jenrzzz_ has joined #ruby
elastix has joined #ruby
blackwind_123 has joined #ruby
lightheaded has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
AnFin has joined #ruby
m4rCsi has quit [Read error: Connection reset by peer]
m4rCsi has joined #ruby
kx has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
kies has joined #ruby
theery has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
tlaxkit has joined #ruby
guilherme has joined #ruby
ziprar has joined #ruby
zipace has quit [Disconnected by services]
polyidus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spider-mario has quit [Remote host closed the connection]
bsrd has quit [Read error: Connection reset by peer]
polyidus has joined #ruby
pawnbox has joined #ruby
flying has quit [Remote host closed the connection]
gingray has quit [Ping timeout: 244 seconds]
Silthias1 has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ekain has joined #ruby
Silthias has quit [Ping timeout: 250 seconds]
N1njturt1e has quit [Ping timeout: 255 seconds]
ekain has quit [Client Quit]
Pupeno has joined #ruby
crdpink2 has joined #ruby
AzureStigma has joined #ruby
crdpink has quit [Ping timeout: 250 seconds]
deadprez has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
aries_liuxueyang has quit [Ping timeout: 264 seconds]
snguyen has joined #ruby
N1njturt1e has joined #ruby
AzureStigma has quit [Client Quit]
Pupeno has quit [Client Quit]
aegis3121 has quit [Ping timeout: 252 seconds]
elastix has quit [Quit: elastix]
gvt has quit [Ping timeout: 240 seconds]
Jayson_Virissimo has quit []
aries_liuxueyang has joined #ruby
Ishido has quit [Remote host closed the connection]
zacts has joined #ruby
taste has joined #ruby
flying has joined #ruby
flying has quit [Remote host closed the connection]
flying has joined #ruby
neanderslob has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has quit [Remote host closed the connection]
hotpancakes has joined #ruby
taste has quit [Quit: leaving]
chouhoulis has quit [Ping timeout: 265 seconds]
[k-_ has quit [Ping timeout: 244 seconds]
AnFin has quit [Remote host closed the connection]
nettoweb has joined #ruby
skweek has joined #ruby
AndrewIsHere has quit []
AnFin has joined #ruby
flying has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 252 seconds]
pwnd_nsfw has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
capitainIsh has joined #ruby
replay has quit [Ping timeout: 265 seconds]
replay_ has joined #ruby
JoshS has quit [Ping timeout: 244 seconds]
ItSANg___ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
ItSANgo has quit [Ping timeout: 260 seconds]
prawnzy has joined #ruby
taste has joined #ruby
jobewan has quit [Ping timeout: 265 seconds]
taste has quit [Client Quit]
flying has joined #ruby
rcvalle has quit [Quit: rcvalle]
polyidus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Madplatypus has quit [Quit: Connection closed for inactivity]
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
polyidus has joined #ruby
solocshaw has joined #ruby
hotpancakes has quit [Ping timeout: 250 seconds]
w09x_ has quit [Ping timeout: 264 seconds]
JoshS has joined #ruby
polyidus has quit [Client Quit]
olistik has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
taste has joined #ruby
olistik has joined #ruby
capitainIsh has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
replay_ has quit [Ping timeout: 244 seconds]
MyMind has joined #ruby
chwbacca has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
flying has quit []
arashb has quit [Ping timeout: 265 seconds]
olistik has quit [Ping timeout: 260 seconds]
harfangk has joined #ruby
<al2o3-cr> good night my flying owls
Sembei has quit [Ping timeout: 276 seconds]
saneax-_-|AFK is now known as saneax
doug_ has joined #ruby
hahuang61 has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RedNifre_ has quit [Ping timeout: 244 seconds]
ICantCook has joined #ruby
Cohedrin has joined #ruby
pragmaticus has quit [Ping timeout: 260 seconds]
RedNifre_ has joined #ruby
doug_ has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 255 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
doug_ has joined #ruby
prawnzy has quit [Remote host closed the connection]
ahuman has quit [Ping timeout: 250 seconds]
devbug has quit [Read error: Connection reset by peer]
devbug has joined #ruby
JoshS has quit [Quit: Leaving]
ahuman has joined #ruby
devbug has quit [Read error: Connection reset by peer]
doug_ has quit [Ping timeout: 244 seconds]
NetSage has joined #ruby
guilherme has quit [Ping timeout: 244 seconds]
devbug has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
hammond is now known as cheesestick
capitainIsh has joined #ruby
devbug has quit [Read error: Connection reset by peer]
N1njturt1e has quit [Remote host closed the connection]
jazzonmym11nd has quit [Ping timeout: 276 seconds]
devbug has joined #ruby
Sp4rKy has joined #ruby
N1njturt1e has joined #ruby
N1njturt1e has quit [Remote host closed the connection]
mim1k_ has joined #ruby
N1njturt1e has joined #ruby
replay has joined #ruby
mim1k has quit [Ping timeout: 244 seconds]
devbug has quit [Read error: Connection reset by peer]
devbug_ has joined #ruby
cdg has quit [Remote host closed the connection]
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
pwnd_nsfw has joined #ruby
nankyokusei has joined #ruby
wldcordeiro has quit [Ping timeout: 252 seconds]
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
nettoweb has joined #ruby
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
aries_liuxueyang has quit [Ping timeout: 240 seconds]
doug_ has joined #ruby
deadprez has joined #ruby
chouhoulis has joined #ruby
zeroDi has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
deadprez_ has joined #ruby
deadprez has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
doug_ has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
whathappens has quit [Quit: Leaving...]
shinnya has joined #ruby
gnufied has quit [Ping timeout: 250 seconds]
koooge has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
aries_liuxueyang has joined #ruby
prawnzy has joined #ruby
tdy has joined #ruby
N1njturt1e has quit [Remote host closed the connection]