havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.1, 2.5.3, 2.4.5: 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!
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
AJA4350 has quit [Ping timeout: 258 seconds]
elcontrastador has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
spacesuitdiver has joined #ruby
Inline has quit [Remote host closed the connection]
Inline has joined #ruby
stooj has quit [Quit: ZNC 1.7.0 - https://znc.in]
stooj has joined #ruby
hahuang6- has quit [Quit: ZNC 1.8.x-nightly-20190111-e415d9f5 - https://znc.in]
ansraliant has joined #ruby
cthulchu has joined #ruby
hahuang6- has joined #ruby
r29v has joined #ruby
Swyper has quit [Remote host closed the connection]
cthu| has quit [Ping timeout: 258 seconds]
wilbert has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
gix has quit [Ping timeout: 258 seconds]
txdv has quit [Ping timeout: 246 seconds]
skyikot has joined #ruby
valadares has quit [Read error: Connection reset by peer]
\void has quit [Quit: So long, and thanks for all the fish.]
valadares has joined #ruby
x0f has quit [Quit: quit]
x0f has joined #ruby
Cthulu201 has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
ashirase_ has joined #ruby
mn3m has quit [Quit: mn3m]
txdv has joined #ruby
<phaul> &fake FamilyGuy.quote
<rubydoc> I am so not competitive. In fact, I am the least non-competitive. So I win.
planigan has quit [Ping timeout: 240 seconds]
sgen_ has joined #ruby
cthulchu has quit [Ping timeout: 246 seconds]
markoong has quit [Remote host closed the connection]
markoong has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markoong has quit [Ping timeout: 240 seconds]
v01d4lph4 has joined #ruby
code_zombie has quit [Quit: Leaving]
sylario has quit [Quit: Connection closed for inactivity]
spacesuitdiver has joined #ruby
Swyper has joined #ruby
v01d4lph4 has quit [Ping timeout: 250 seconds]
spacesuitdiver has quit [Client Quit]
planigan has joined #ruby
Swyper has quit [Ping timeout: 244 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maryo has quit [Ping timeout: 250 seconds]
skryking has joined #ruby
planigan has quit [Quit: leaving]
planigan has joined #ruby
sgen_ has quit [Ping timeout: 250 seconds]
bmurt has joined #ruby
bmurt has quit [Client Quit]
noark9 has joined #ruby
blackswan has quit [Quit: Leaving.]
r29v has quit [Quit: r29v]
skyikot has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby
AJA4350 has joined #ruby
valadares has quit [Read error: Connection reset by peer]
valadares has joined #ruby
conta has joined #ruby
conta has quit [Ping timeout: 268 seconds]
AJA4350 has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 258 seconds]
conta has joined #ruby
noark9 has quit [Ping timeout: 250 seconds]
bga57 has quit [Remote host closed the connection]
conta has quit [Ping timeout: 246 seconds]
awkwords has quit [Quit: sleepy time]
v01d4lph4 has joined #ruby
v01d4lph4 has quit [Ping timeout: 250 seconds]
r29v has joined #ruby
mitescugd has quit [Ping timeout: 250 seconds]
mitescugd has joined #ruby
maryo has joined #ruby
maryo has quit [Client Quit]
v01d4lph4 has joined #ruby
tdy1 has quit [Ping timeout: 245 seconds]
maryo has joined #ruby
elphe has joined #ruby
houhoulis has joined #ruby
renich has joined #ruby
v01d4lph4 has quit [Ping timeout: 250 seconds]
s2013 has joined #ruby
renich has quit [Ping timeout: 258 seconds]
code_zombie has joined #ruby
maryo has quit [Quit: Leaving]
tdy1 has joined #ruby
r29v has quit [Quit: r29v]
ByronJohnson has quit [Ping timeout: 245 seconds]
blackswan has joined #ruby
ByronJohnson has joined #ruby
houhoulis has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
renich has joined #ruby
braincrash has joined #ruby
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
arescorpio has joined #ruby
tdy1 is now known as tdy
elphe has quit [Quit: leaving]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fusl has quit [Ping timeout: 256 seconds]
sleetdrop has joined #ruby
Fusl has joined #ruby
arescorpio has quit [Quit: Leaving.]
v01d4lph4 has joined #ruby
v01d4lph4 has quit [Read error: Connection reset by peer]
skyikot has joined #ruby
lytol_ has quit [Remote host closed the connection]
thoraxe has quit [Ping timeout: 245 seconds]
paranoicsan has joined #ruby
agent_white has quit [Quit: leaving]
code_zombie has quit [Quit: Leaving]
blackmesa1 has quit [Ping timeout: 250 seconds]
renich_ has joined #ruby
renich has quit [Ping timeout: 250 seconds]
conta has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
sauvin has joined #ruby
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
KeyJoo has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
reber has joined #ruby
reber has quit [Remote host closed the connection]
clemens3_ has quit [Ping timeout: 258 seconds]
aupadhye has joined #ruby
dionysus69 has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
cnsvc has quit [Remote host closed the connection]
cnsvc has joined #ruby
Inline has quit [Quit: Leaving]
Spaceman77 has joined #ruby
bga57 has joined #ruby
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
clemens3_ has joined #ruby
clemens3_ has quit [Ping timeout: 268 seconds]
skyikot has quit [Ping timeout: 256 seconds]
aufi has joined #ruby
amerlin has joined #ruby
Puppet_ has quit [Quit: Leaving]
KeyJoo has quit [Quit: KeyJoo]
KeyJoo has joined #ruby
clemens3_ has joined #ruby
status402 has joined #ruby
prestorium has joined #ruby
lxsameer has joined #ruby
ansraliant has quit [Quit: My planet needs me]
mikecmpbll has joined #ruby
status402 has quit [Quit: status402]
wildermind has joined #ruby
clemens3_ has quit [Remote host closed the connection]
clemens3 has joined #ruby
nowhere_man has joined #ruby
apparition has joined #ruby
ellcs has joined #ruby
paranoicsan has joined #ruby
ashirase_ has quit [Ping timeout: 250 seconds]
Spaceman77 has quit [Ping timeout: 245 seconds]
ashirase has joined #ruby
blackmesa1 has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.3]
tdy has quit [Ping timeout: 246 seconds]
clemens3 has quit [Ping timeout: 246 seconds]
kapil____ has joined #ruby
conta has quit [Ping timeout: 268 seconds]
tdy has joined #ruby
conta has joined #ruby
aupadhye is now known as aupadhye|brb
hightower2 has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
al2o3-cr has joined #ruby
v01d4lph4 has joined #ruby
sezuan has quit [Ping timeout: 252 seconds]
reber has joined #ruby
tdy has quit [Remote host closed the connection]
AJA4350 has joined #ruby
sezuan has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
vondruch has quit [Client Quit]
aupadhye|brb is now known as aupadhye
sezuan has quit [Ping timeout: 268 seconds]
KeyJoo has joined #ruby
sezuan has joined #ruby
cd has quit [Quit: cd]
andywww has joined #ruby
<andywww> cross posting from rails channel, i wondered if someone could help me out with virtus:
<andywww> i can’t seem to access the attributes that i passed in with DocumentSelectForm
clemens3 has joined #ruby
KeyJoo has quit [Remote host closed the connection]
mitescugd has quit [Ping timeout: 244 seconds]
mitescugd has joined #ruby
KeyJoo has joined #ruby
<kevinsjoberg> andywww: Don't you need to pass the opts to super? I.e., super(opts).
AJA4351 has joined #ruby
<kevinsjoberg> Oh, sorry. Looking at the wrong class.
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
<andywww> its like the proc seems to be able to access the attributes of the class but calling them directly can’t
FastJack has quit [Ping timeout: 264 seconds]
FastJack has joined #ruby
johnny56_ has quit [Ping timeout: 272 seconds]
markoong has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
ashirase has quit [Remote host closed the connection]
stretchlimo has quit [Quit: This computer has gone to sleep]
johnny56_ has joined #ruby
aupadhye has quit [Quit: Leaving]
Snowy has joined #ruby
AJA4350 has quit [Ping timeout: 244 seconds]
bmurt has joined #ruby
indistylo has joined #ruby
AJA4350 has joined #ruby
duckpuppy has quit [Remote host closed the connection]
duckpuppy has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
lucasb has joined #ruby
cow[moo] has quit [Client Quit]
Snowy has quit [Quit: ragequit]
jcalla has joined #ruby
cow[moo] has joined #ruby
duckpuppy has quit [Remote host closed the connection]
snk has left #ruby ["WeeChat 2.2"]
v01d4lph4 has quit [Remote host closed the connection]
duckpuppy has joined #ruby
GinoMan has joined #ruby
apparition has quit [Quit: Bye]
paranoicsan has joined #ruby
paranoicsan has quit [Client Quit]
bmurt has joined #ruby
fluxAeon has joined #ruby
GinoMan2440 has joined #ruby
GinoMan has quit [Ping timeout: 250 seconds]
noark9 has joined #ruby
conta has quit [Ping timeout: 245 seconds]
andywww has quit [Quit: andywww]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
conta has joined #ruby
prestori_ has joined #ruby
prestorium has quit [Ping timeout: 268 seconds]
conta has quit [Ping timeout: 246 seconds]
dviola has joined #ruby
prestori_ has quit [Quit: prestori_]
kapil____ has quit [Quit: Connection closed for inactivity]
prestorium has joined #ruby
polishdub has joined #ruby
prestorium has quit [Remote host closed the connection]
prestorium has joined #ruby
Rapture has joined #ruby
catdude has joined #ruby
rippa has joined #ruby
<catdude> Question: In the line test "${fqdn#*domain1.net}" != "$fqdn" && federal_build="TRUE" what is the "#*" doing? I'm an absolute beginner at Ruby but fairly skilled at Python.
amerlin has quit [Quit: leaving]
<mozzarella> catdude: it's not doing anything
<catdude> Hmmm. It's not obvious to me what that whole line is doing then.
<mozzarella> what is it part of? looks like some kind of templating language
indistylo has quit [Read error: Connection reset by peer]
<mozzarella> ruby interpolation is #{}, not ${}
<phaul> also "TRUE" is not how we represent true
<phaul> makes you wonder if this is ruby at all
awkwords has joined #ruby
<catdude> Ah crap - my bad. It's in shell script. Sorry about that. I've been looking at Ruby scripts all morning and didn't check the file name.
<jane_booty_doe> looks like bash
maryo has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Puppet_ has joined #ruby
catdude has quit [Quit: Page closed]
skryking has quit [Quit: Leaving]
skryking has joined #ruby
aufi has quit [Ping timeout: 259 seconds]
AJA4350 has quit [Ping timeout: 250 seconds]
conta has joined #ruby
maryo has quit [Read error: Connection reset by peer]
maryo has joined #ruby
conta has quit [Ping timeout: 250 seconds]
xrexeon has joined #ruby
blackmesa1 has quit [Ping timeout: 258 seconds]
Emmanuel_Chanel has joined #ruby
conta has joined #ruby
cthulchu_ has quit [Ping timeout: 246 seconds]
tdy has joined #ruby
noark9 has quit [Quit: noark9]
conta has quit [Remote host closed the connection]
conta has joined #ruby
agent_white has joined #ruby
nowhere_man has quit [Ping timeout: 244 seconds]
rikkipitt has joined #ruby
renich_ has quit [Remote host closed the connection]
renich_ has joined #ruby
blackmesa1 has joined #ruby
maryo has quit [Quit: Leaving]
\void has joined #ruby
clemens3 has quit [Ping timeout: 268 seconds]
valadares has quit [Remote host closed the connection]
valadares has joined #ruby
hiroaki has joined #ruby
cthulchu has joined #ruby
valadares has quit [Remote host closed the connection]
valadares has joined #ruby
jcalla has quit [Remote host closed the connection]
nowhere_man has joined #ruby
noark9 has joined #ruby
conta2 has joined #ruby
Dbugger has joined #ruby
conta2 has quit [Ping timeout: 240 seconds]
mensvaga has quit [Quit: Leaving.]
donofrio has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
noark9 has quit [Ping timeout: 246 seconds]
blackmesa1 has quit [Ping timeout: 268 seconds]
mikecmpb_ has quit [Quit: inabit. zz.]
ngw has joined #ruby
<ngw> I wanted to see an example of a library that wraps some kind of client to see how the client is actually used
<ngw> for example: client to elasticsearch, with a set of specific objects "under" it that know a lot about the structure of the indexes and such, so basically I have an object Index that needs a client to be executed, but whose logic is all inside the Index object
<ngw> basically when I call Index.create or something like that it turns into a call to a client that parforms a parametrized call somewhere
<ngw> I don't know if I've been clear, I don't think so :)
maryo has joined #ruby
<havenwood> ngw: Index.create reminds me of Rails. Is this in Rails and you're talking a pseudo model or that just happened to be your example?
krawchyk has joined #ruby
deathwishdave has joined #ruby
<havenwood> ngw: There are a ton of examples, but it's often very domain specific.
<havenwood> ngw: Do you have a specific thing you're wrapping, or just generally exploring patterns?
<ngw> only example, it's something that is gonna run on AWS lambda
<ngw> I'm wrapping Elasticsearch
rikkipitt has quit [Quit: Leaving...]
<ngw> the client will basically be the elasticsearch client
<ngw> from gem elasticsearch-api
<havenwood> ngw: Here's a little example of wrapping vie inheritance: https://github.com/nahi/httpclient/blob/master/lib/jsonclient.rb
<ngw> yes that is something I was thinking a lot about, inheritance vs composition
<ngw> IMVHO inheritance is perfectly viable here
<ngw> second example makes perfect sense too, considering everything is on lambda I couldn't care less of initializing a client every time I call an object
<ngw> thanks
<havenwood> ngw: I'm sure the channel would be happy to help hone it once you have some code.
<ngw> bookmarked
<havenwood> There should be lots of good examples of various JSONClients.
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
<havenwood> It'll really probably be very domain specific.
prestorium has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
ngw has quit [Ping timeout: 244 seconds]
v01d4lph4 has joined #ruby
cagomez has joined #ruby
r3m is now known as r3m{
r3m{ is now known as r3m
krawchyk has quit [Quit: krawchyk]
jcalla has joined #ruby
blackmesa1 has joined #ruby
wilbert has joined #ruby
deathwishdave has quit [Remote host closed the connection]
AJA4350 has joined #ruby
deathwishdave has joined #ruby
fredolinhares has joined #ruby
cagomez has quit [Remote host closed the connection]
maryo has quit [Ping timeout: 245 seconds]
valadares has quit [Remote host closed the connection]
krawchyk has joined #ruby
valadares has joined #ruby
valadares has quit [Remote host closed the connection]
valadares has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
blackmesa1 has quit [Ping timeout: 258 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 250 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
valadares has quit [Read error: Connection reset by peer]
valadares has joined #ruby
xrexeon has quit [Remote host closed the connection]
Inline has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
duckpuppy has quit [Read error: Connection reset by peer]
duckpuppy has joined #ruby
duckpuppy has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
sauvin has quit [Remote host closed the connection]
ravenousmoose has joined #ruby
duckpuppy has joined #ruby
blackswan has left #ruby [#ruby]
ngw has joined #ruby
ngw has quit [Ping timeout: 246 seconds]
keanny has joined #ruby
<keanny> hi
conta has joined #ruby
<keanny> what is the best way to run unix and embedded OS command line ?
<keanny> what do you use ?
<keanny> any interesting gems ?
<keanny> or even for scripting in ruby ...?
KeyJoo has quit [Quit: KeyJoo]
dviola has quit [Quit: WeeChat 2.3]
conta has quit [Ping timeout: 246 seconds]
v01d4lph4 has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
keanny has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
<miah> i use mixlib-cli
mikecmpbll has joined #ruby
<miah> and uh. there is mixlib-command or something let me see. (we have a bunch of these)
<miah> mixlib-shellout thats it =) https://github.com/chef/mixlib-shellout
<miah> lots of useful helpers around command execution
cagomez has quit [Remote host closed the connection]
al2o3-cr has quit [Quit: WeeChat 2.3]
lxsameer has quit [Ping timeout: 258 seconds]
duckpuppy has quit [Read error: Connection reset by peer]
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
duckpuppy has joined #ruby
ngw has joined #ruby
al2o3-cr has joined #ruby
sgen has joined #ruby
ngw has quit [Ping timeout: 268 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
fredolinhares has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
deathwishdave has joined #ruby
sgen has quit [Ping timeout: 250 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
hiroaki has quit [Ping timeout: 245 seconds]
spiette has joined #ruby
spiette has quit [Client Quit]
postmodern has joined #ruby
ngw has joined #ruby
blackmesa1 has joined #ruby
ngw has quit [Ping timeout: 258 seconds]
fredolinhares has joined #ruby
hiroaki has joined #ruby
AJA4350 has quit [Ping timeout: 258 seconds]
blackmesa1 has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
conta has joined #ruby
Dbugger has quit [Ping timeout: 268 seconds]
ngw has joined #ruby
conta has quit [Ping timeout: 250 seconds]
dionysus69 has quit [Ping timeout: 250 seconds]
ngw has quit [Ping timeout: 240 seconds]
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
ngw has joined #ruby
ngw has quit [Ping timeout: 258 seconds]
orbyt_ has joined #ruby
blackmesa1 has joined #ruby
awkwords has quit [Quit: sleepy time]
shenghi has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Ping timeout: 246 seconds]
shenghi has joined #ruby
orbyt_ has joined #ruby
ngw has joined #ruby
cranq has quit [Remote host closed the connection]
cranq has joined #ruby
ngw has quit [Ping timeout: 250 seconds]
ngw has joined #ruby
SeepingN has joined #ruby
ngw has quit [Ping timeout: 268 seconds]
valadares has quit [Ping timeout: 258 seconds]
Xiti has quit [Read error: Connection reset by peer]
renich has joined #ruby
Xiti has joined #ruby
gravitation has joined #ruby
octos has joined #ruby
renich_ has quit [Ping timeout: 244 seconds]
liya has quit [Ping timeout: 272 seconds]
cnsvc has quit [Quit: WeeChat 2.3]
sgen has joined #ruby
conta has joined #ruby
conta has quit [Ping timeout: 246 seconds]
ngw has joined #ruby
polishdub has quit [Quit: leaving]
<Puppet_> Why do I over think everything when it comes to what i'm trying to do. It drives me insane.
brianj has joined #ruby
ngw has quit [Ping timeout: 245 seconds]
<brianj> Um JSON.parse doesnt supported nested objects?
cd has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
johnny56_ has quit [Ping timeout: 272 seconds]
ngw has joined #ruby
xrexeon has joined #ruby
xrexeon has quit [Max SendQ exceeded]
xrexeon has joined #ruby
krawchyk has quit [Remote host closed the connection]
ngw has quit [Ping timeout: 250 seconds]
<phaul> &>> JSON.parse('{"a":{"b":1}}')
<rubydoc> # => (https://carc.in/#/r/690z)
reber has quit [Read error: Connection reset by peer]
<phaul> hm.
<al2o3-cr> &>> JSON["{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":42}}}}}"]
<rubydoc> # => uninitialized constant JSON (NameError) (https://carc.in/#/r/6911)
<al2o3-cr> &>> require 'json'; JSON["{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":42}}}}}"]
<rubydoc> # => {"a"=>{"b"=>{"c"=>{"d"=>{"e"=>42}}}}} (https://carc.in/#/r/6912)
pedahzur has joined #ruby
<phaul> hi al2o3-cr
<al2o3-cr> o/ phaul ;)
fredolinhares has quit [Ping timeout: 268 seconds]
conta has joined #ruby
<pedahzur> I'm using the answer here: https://stackoverflow.com/questions/39109656/get-ip-address-for-a-specific-network-interface-on-ruby to get the IP address of my eth0 interface. However, there are two objects with 'name' of eth0, and they have different IP addresses. The `ifconfig` command shows only one IP address. Any idea where Socket could be getting the second IP address for eth0?
wilbert has quit [Ping timeout: 268 seconds]
<phaul> ?code pedahzur
<phaul> pedahzur: please share your code with us, so we can take a look
* phaul also pokes ruby[bot]
Junaos has quit [Quit: ZNC - http://znc.in]
conta has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
<pedahzur> Seems `ip addr` reports two IP addresses. This should not be happening. Very strange.
<al2o3-cr> pedahzur: is one your vagrant ip address and the other local ip address?
ngw has joined #ruby
<al2o3-cr> are you logged into some virtual vm?
Junaos has joined #ruby
fredolinhares has joined #ruby
<pedahzur> al2o3-cr: Not sure what you mean by "vagrant IP address vs. local IP address." When the box comes up, it gets an address from the DHCP server. And the two addresses it gets vary every time, so it's not something left over from making the box.
ngw has quit [Ping timeout: 246 seconds]
<al2o3-cr> so it's dynamically assigning two ip addresses for on NIC?
<al2o3-cr> *one
<al2o3-cr> hmm, not sure what's going on there then.
brianj has quit [Remote host closed the connection]
<pedahzur> Yeah, I really don't know what's going on either. When I restart networking, it clears out the "extra" address.
<pedahzur> And only reports the one given by "ifconfig."
johnny56_ has joined #ruby
<phaul> what causes the extra address to appear?
<pedahzur> phaul: That's what I'm trying to figure out. :)
<phaul> :)
<phaul> I assumed you could reproduce this. So now that you cleared it it's all good and the 2nd address is not coming back
<phaul> or it comes back after a while?
<al2o3-cr> well, `ip addr` will report what `Socket.getifaddrs` reports, as they both use rtnetlink. ifconfig uses ioctl.
<pedahzur> I don't know if comes back after a while. But it seems something odd in the network stack, so not a Ruby Socket problem after all. I guess I'll just restart networking before I pull the information if I have to. That is rather odd.
<al2o3-cr> which is ancient now in our day and age.
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
ngw has joined #ruby
ngw has quit [Ping timeout: 250 seconds]
cthulchu has quit [Ping timeout: 245 seconds]
johnny56_ has quit [Ping timeout: 272 seconds]
ramfjord has quit [Ping timeout: 250 seconds]
r29v has joined #ruby
ngw has joined #ruby
sgen has quit [Ping timeout: 250 seconds]
ngw has quit [Ping timeout: 268 seconds]
ramfjord has joined #ruby
renich_ has joined #ruby
renich has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Ping timeout: 268 seconds]