skweek has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
theRealGent has joined #ruby
knight33 has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
haylon has quit [Quit: Leaving]
cdg has quit [Ping timeout: 248 seconds]
joelroa has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nobitanobi has quit [Remote host closed the connection]
tomphp has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
sniffer has quit [Quit: No Ping reply in 180 seconds.]
naprimer2 has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 248 seconds]
rubylegend2092 has joined #ruby
sniffer has joined #ruby
naprimer2 has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
CrazyEddy has quit [Remote host closed the connection]
guardianx has joined #ruby
CrazyEddy has joined #ruby
enterprisey has quit [Quit: Leaving]
enterprisey has joined #ruby
phinxy has joined #ruby
phinxy has left #ruby [#ruby]
jameser has joined #ruby
t-recx has joined #ruby
bruno-_ has joined #ruby
cschneid_ has joined #ruby
marr has quit [Ping timeout: 252 seconds]
theRealGent has quit [Ping timeout: 276 seconds]
Ropeney has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
joelroa has joined #ruby
houhoulis has joined #ruby
Neo95 has joined #ruby
Neo95 has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 276 seconds]
jaequery has joined #ruby
jaequery has quit [Client Quit]
goyox86 has joined #ruby
gizmore has joined #ruby
houhoulis has quit [Remote host closed the connection]
gizmore|2 has quit [Ping timeout: 240 seconds]
d^sh has quit [Ping timeout: 248 seconds]
d^sh has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
KeyJoo has quit [Remote host closed the connection]
cschneid_ has quit [Ping timeout: 240 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
cschneid_ has joined #ruby
carnegie has joined #ruby
carnegie has quit [Ping timeout: 276 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 252 seconds]
Al3xG0 has quit [Ping timeout: 240 seconds]
minimalism has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
cdg has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
jwr has left #ruby ["Ex-Chat"]
d^sh has quit [Ping timeout: 252 seconds]
jackjackdripper has joined #ruby
d^sh has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
cschneid_ has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
joelroa has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<imode>
is there any way to test a gem without really installing it?
jackjackdripper has quit [Ping timeout: 260 seconds]
pugcs has joined #ruby
<ledestin>
what's the problem with installing?
<imode>
just wondering to be honest. I was interested if I could just do some kind of requirement and have it automatically fetch the gem and throw it into a temporary directory for the duration of the script.
<ledestin>
I'm sure you can arrange that, but that counts as installing
<imode>
is there anything similar to what I'm talking about?
<imode>
it would be pretty useful for automated deployment.
nopolitica has quit [Ping timeout: 252 seconds]
<ledestin>
I dunno, but you can roll your own
<matthewd>
I think you'd need to be more specific about the problem you want to solve to get a more specific answer
<imode>
I want to be able to require a gem, have it fetched and installed in a temporary directory for the duration of the script, and then removed when the script terminates.
<matthewd>
Rubygems and Bundler are both able to install to an arbitrary directory
<imode>
I suspect I could roll my own using rubygems.
<imode>
yeah.
Alina-malina has quit [Ping timeout: 255 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
__Yiota has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
perniciouscaffei has joined #ruby
ovaltine has quit [Ping timeout: 240 seconds]
<nofxx>
imode, storage is cheap, time lagging waiting download isn't
ovaltine has joined #ruby
<imode>
nofxx: not interested in that because automated deployment for long-running scripts outweighs that initial download. :P
frozengeek has quit [Quit: frozengeek]
cschneid_ has quit [Remote host closed the connection]
ovaltine has quit [Remote host closed the connection]
cschneid_ has joined #ruby
ovaltine has joined #ruby
go|dfish has quit [Ping timeout: 246 seconds]
t-recx has quit [Quit: t-recx]
uZiel has joined #ruby
<nofxx>
imode, makes sense, but anyways, in that case, just bundle install && bundle exec
cschneid_ has quit [Ping timeout: 252 seconds]
newcoder has joined #ruby
<newcoder>
Ruby is not scalable, how true is it?
<runescape07rsps>
pretty vague statement
<runescape07rsps>
everything is scalable
<runescape07rsps>
your only limits are your IQ and creativity
<wmoxam>
newcoder: ur right, it's not
Jayson_Virissimo has joined #ruby
ovaltine has quit [Ping timeout: 276 seconds]
<matthewd>
newcoder: Seven.
ncthom91 has joined #ruby
ncthom91 has quit [Client Quit]
<nofxx>
agree with runescape07rsps , wmoxam because of thread locks?
<nofxx>
imho true scalability involves more than 1 physical CPU, load balancing and independent and resumable processes
newcoder has left #ruby [#ruby]
<nofxx>
as a free prize you get HA too
<wmoxam>
nofxx: there was no expectation of a real answer ;)
ovaltine has joined #ruby
go|dfish has joined #ruby
<wmoxam>
but for reals, Ruby doesn't scale down well
<wmoxam>
not important to most ppl
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
<wmoxam>
but for example back in the day if you wanted to host a webapp on dirt cheap shared hosting, Ruby wasn't a great choice
ovaltine has quit [Ping timeout: 246 seconds]
sspreitz has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
<fredflinstone>
i think people who ask those type of Qs are searching for a perfect language that doesn't exist
umaaji has joined #ruby
<imode>
how is ruby not scalable?
shiranuidong has quit [Ping timeout: 260 seconds]
shiranuidong has joined #ruby
<fredflinstone>
the classic example used is probably twitter, from many years ago, and the 'fail whale'. the rails architecture tends to be monolithic. implementation can be a bottleneck for intense cases. generally if you're not facebook or google, it's fine
<imode>
...right but that's rails. rails is not ruby.
<imode>
that tends to be the classic response, though. :P
<fredflinstone>
twitter didn't have a problem with rails alone
<fredflinstone>
the implementation of ruby was a problem too
<fredflinstone>
in 1.8 era
<imode>
yeesh.
FastJack_ has joined #ruby
<imode>
yeah I remember hearing not good things.
ovaltine has joined #ruby
FastJack has quit [Read error: Connection reset by peer]
<fredflinstone>
yeah. ruby isn't C++, and C++ isn't ruby. both are sad, for different reasons. ppl asking this Q tho, usually use it as evidence to not learn ruby which is kinda unfortunate since i doubt you'll have twitter-like scabability issues.
goyox86 has quit [Quit: goyox86]
goyox86 has joined #ruby
sleetdrop has joined #ruby
cschneid_ has joined #ruby
ovaltine has quit [Ping timeout: 252 seconds]
ovaltine has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
<imode>
fredflinstone: have there been any instances where folks have used Ruby for high-performance computing stuff?
<fredflinstone>
yeah, probably. i don't know of any myself. it can talk to C though, and there's also mruby for micro devices.
enterprisey has quit [Remote host closed the connection]
guille-moe has joined #ruby
paranoicsan[Away is now known as paranoicsan
joelroa has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has joined #ruby
milardovich has joined #ruby
sepp2k has joined #ruby
Burgestrand has quit [Quit: Closing time!]
tomphp has joined #ruby
<dminuoso>
matthewd for ISO language lawyer.
<dminuoso>
You have my vote.
alex`` has joined #ruby
alex`` is now known as alexherbo2
frozengeek has joined #ruby
Burgestrand has joined #ruby
alexherbo2 is now known as alex``
milardovich has quit [Ping timeout: 276 seconds]
frozengeek has quit [Remote host closed the connection]
frozengeek has joined #ruby
jordanm has joined #ruby
futilegames has joined #ruby
marr has joined #ruby
vondruch has joined #ruby
chmurifree is now known as chmuri
futilegames has quit [Client Quit]
mim1k has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
mim1k has quit [Ping timeout: 240 seconds]
Phanes has quit [Quit: ...shout as you did in rome...]
mim1k has joined #ruby
bronson has joined #ruby
cdg has joined #ruby
ur5us has joined #ruby
bronson has quit [Read error: Connection reset by peer]
agent_white has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
jinie has quit [Ping timeout: 252 seconds]
uZiel has quit [Remote host closed the connection]
InfinityFye has quit [Ping timeout: 248 seconds]
jinie has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
jordanm has quit [Remote host closed the connection]
uZiel has joined #ruby
jordanm has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
frozengeek_ has joined #ruby
kreantos has joined #ruby
kreantos has quit [Remote host closed the connection]
kreantos has joined #ruby
frozengeek has quit [Ping timeout: 248 seconds]
jordanm has quit [Ping timeout: 248 seconds]
sarbs has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
jordanm has joined #ruby
sarbs has joined #ruby
lxsameer has joined #ruby
mikecmpbll has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
sleetdrop has joined #ruby
jaruga has joined #ruby
sysvalve has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
simmaniac has joined #ruby
sleetdrop has quit [Remote host closed the connection]
jespada has joined #ruby
jespada has quit [Client Quit]
cschneid_ has quit [Ping timeout: 240 seconds]
simmaniac is now known as sysvalve
_whitelogger has joined #ruby
sleetdrop has joined #ruby
sleetdrop has quit [Client Quit]
sleetdrop has joined #ruby
sleetdro_ has joined #ruby
sleetdrop has quit [Client Quit]
sleetdro_ has quit [Client Quit]
sleetdrop has joined #ruby
roshanavand has joined #ruby
cdg has joined #ruby
cdg_ has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
cdg_ has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
phaul has joined #ruby
pandaant has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
Psy-Q has quit [Ping timeout: 264 seconds]
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away is now known as paranoicsan
cdg has joined #ruby
cdg_ has joined #ruby
frozengeek_ has quit [Quit: frozengeek_]
frozengeek_ has joined #ruby
umaaji has quit [Ping timeout: 240 seconds]
frozengeek_ has quit [Client Quit]
cdg has quit [Ping timeout: 246 seconds]
frozengeek_ has joined #ruby
cdg_ has quit [Ping timeout: 246 seconds]
umaaji has joined #ruby
samlisl_ has joined #ruby
nopolitica has joined #ruby
samlisl_ has quit [Max SendQ exceeded]
samlisl_ has joined #ruby
kculpis has quit [Ping timeout: 240 seconds]
frozengeek_ has quit [Remote host closed the connection]
samlisl_ has quit [Max SendQ exceeded]
KeyJoo has joined #ruby
samlisl_ has joined #ruby
milardovich has joined #ruby
pugcs has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
ams__ has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
raynold has quit [Quit: Connection closed for inactivity]
nopolitica has quit [Ping timeout: 264 seconds]
<dminuoso>
What do you folks like to use for gathering various application metrics under some unified umbrella across apps? StatsD?
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarbs has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
inoperable has quit [Ping timeout: 248 seconds]
inoperable has joined #ruby
pedro88 has joined #ruby
sarbs has joined #ruby
pedro88 has quit [Client Quit]
selim has quit [Ping timeout: 255 seconds]
selim has joined #ruby
pugcs has quit [Remote host closed the connection]
bronson has joined #ruby
pugcs has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
sneakerhax has quit [Ping timeout: 240 seconds]
pagios has joined #ruby
<pagios>
hello community, i am trying to install sinatra on yocto getting this error: gem install sinatra /usr/bin/ruby: symbol lookup error: /usr/lib/ruby/2.2.0/arm-linux-gnueabi/socket.so: undefined symbol: getipnodebyname
Rapture has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
eelster has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
TomyLobo has joined #ruby
selim has quit [Ping timeout: 248 seconds]
selim has joined #ruby
Neo95 has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
apparition47 has quit [Quit: Bye]
uZiel has joined #ruby
jaruga__________ is now known as jaruga
orbyt_ has joined #ruby
gusrub has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
foxxx0 has quit [Quit: WeeChat 1.8]
aufi has joined #ruby
foxxx0 has joined #ruby
carnegie has quit [Remote host closed the connection]
simmaniac has quit [Quit: Leaving]
canteen4 has joined #ruby
emilford has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
aduabu has joined #ruby
orbyt_ has quit [Read error: Connection reset by peer]
eelster has joined #ruby
orbyt_ has joined #ruby
Rapture has joined #ruby
conta has joined #ruby
emilford has quit [Ping timeout: 246 seconds]
canteen4 has quit [Ping timeout: 246 seconds]
lxsameer has quit [Ping timeout: 248 seconds]
mim1k has quit [Ping timeout: 248 seconds]
Neo95 has quit [Ping timeout: 255 seconds]
paranoicsan has quit [Quit: paranoicsan]
bronson has joined #ruby
wnd has quit [Excess Flood]
wnd has joined #ruby
conta has quit [Quit: conta]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canteen4 has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
aduabu has quit [Ping timeout: 260 seconds]
aduabu has joined #ruby
sleetdro_ has quit [Quit: Computer has gone to sleep.]
bruno-_ has joined #ruby
canteen4 has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
canteen4 has joined #ruby
aufi has quit [Quit: Leaving]
BTRE has quit [Read error: Connection reset by peer]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
aduabu has quit [Ping timeout: 248 seconds]
BTRE has joined #ruby
chouhoul_ has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
frozengeek has joined #ruby
aduabu has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
Rutix has quit []
cagomez has quit [Remote host closed the connection]
canteen4 has quit [Ping timeout: 264 seconds]
<rapha>
Does ruby care if i have SomeClass and AnotherClass::SomeClass alongside it? Or will they not get in each other's way because of the subclassing?
high_fiver has quit [Ping timeout: 252 seconds]
kies has quit [Ping timeout: 276 seconds]
cagomez has joined #ruby
canteen4 has joined #ruby
laphoraig92 has quit [Remote host closed the connection]
aduabu has quit [Ping timeout: 248 seconds]
rgr has joined #ruby
cagomez has quit [Remote host closed the connection]
<dminuoso>
rapha, that depends on your binding.
cagomez has joined #ruby
certhird has joined #ruby
<dminuoso>
Argh. Nesting.
<dminuoso>
Not binding.
<dminuoso>
rapha, if AnotherClass is part of your nesting, then SomeClass will refer to the inner class. Otherwise it will refer to the outer calss.
carnegie has joined #ruby
<rapha>
dminuoso: you mean if I write "class Someclass < AnotherClass; ..." then it's not nested?
<dminuoso>
rapha, when I say "nesting" I mean Module.nesting
<dminuoso>
rapha, it's the information Ruby uses to determine constant lookup
<dminuoso>
rapha, should you be developing in Rails that article might even be more useful because it's also the foundation for their autoloading algorithm.
kreantos has quit [Remote host closed the connection]
kreantos has joined #ruby
AgentVenom has joined #ruby
govg has joined #ruby
tomphp has joined #ruby
kreantos has quit [Ping timeout: 240 seconds]
AgentVenom has quit [Client Quit]
AgentVenom has joined #ruby
perniciouscaffei has joined #ruby
username1 has joined #ruby
<rapha>
dminuoso: nope, no more Rails for me, I jumped ship and feel free as a bird again :)
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rapha>
The article is still good!
Guest40 has joined #ruby
ramfjord has joined #ruby
postmodern has joined #ruby
Dimik has joined #ruby
<rapha>
dminuoso: I didn't want to have prefixes or suffixes to the subclass names, so now they're all in their own submodule, which seems to work nicely.
guille-moe has quit [Ping timeout: 276 seconds]
certhird has quit [Ping timeout: 260 seconds]
oaao has joined #ruby
kapil___ has joined #ruby
claudiuinberlin has joined #ruby
aduabu has joined #ruby
kreantos has joined #ruby
carnegie has quit [Remote host closed the connection]
istrasci has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
<istrasci>
Is there a nice Hash method to do `hash.has_key?(:key) && hash[:key] == value` all at once?
canteen4 has joined #ruby
kreantos has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
<tobiasvl>
istrasci: hash[:key] &&= value
<tobiasvl>
as long as the value is always truthy
<tobiasvl>
so not exactly what you want, but might work in some scenarios
eckhardt has joined #ruby
<tobiasvl>
oh wait, I thought your last == there was =
<istrasci>
Yeah, that wasn't working.
<imode>
hash.&key == value?
<imode>
or is it &.
<istrasci>
So the most important part is the comparison, but if the key doesn't exist in the first place, it barfs on you.
<imode>
hash&.key == value
<apeiros>
tobiasvl: if the value is non-nil you can also just do == value
<apeiros>
+ istrasci
<apeiros>
depending on what you do, also take a look at Hash#fetch
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
<istrasci>
apeiros: Yeah, I tried hash.fetch(:key, false) == value. This will work unless the value you're comparing against is actually false.
<dminuoso>
Also possibly Hash#dig
SeepingN has joined #ruby
<apeiros>
istrasci: you're aware that Hash#[] will return nil if the key does not exist?
<apeiros>
so as said, just == will work, if nil isn't a viable value in your hash.
<dminuoso>
That is unless nil is an admissable value
<apeiros>
and if it is, then I think no, there's no nicer way for exactly the case of comparing with a value
deepthought42 has joined #ruby
<apeiros>
dminuoso: I think that's what I said :-p
<dminuoso>
Im eating what can I say
<apeiros>
not much
<apeiros>
since your mouth is full :D
<dminuoso>
I cant eat, type and stare at the screen at the same time. One task has to suffer.
<dminuoso>
Haha
<konsolebox>
too bad Qundef is only an internal value.
<apeiros>
hash = Hash.new(Object.new)
<dminuoso>
konsolebox, honestly Im glad. Its bad enough we have nil in the first place
<apeiros>
unless you fuck up mightily, you can now just [] ==
<apeiros>
even with nils in your hash
<konsolebox>
nah, nil is good.
<dminuoso>
konsolebox, Tony Hoare called it his billion dollar mistake for a reason :P
<dminuoso>
I wonder if I can sue him for damages.
Emmanuel_Chanel has joined #ruby
<istrasci>
Hmm, I think I knew Hash#[] returned nil for a non-existent key, but I was temporarily thinking it would raise an exception.
carnegie has joined #ruby
<imode>
istrasci: I know what you mean. I'm still thinking in python. :P
<istrasci>
Must be a Monday morning.
<apeiros>
fetch does that
<apeiros>
unless you provide it with a second arg or a block
claudiuinberlin has quit [Read error: Connection reset by peer]
ivanskie has joined #ruby
<ivanskie>
hello all
<istrasci>
OK, thanks everyone!
<ivanskie>
i need an adult
<ivanskie>
halp
<imode>
imode = Adult.new;
<imode>
hi.
<adaedra>
bad luck, we're in shortage of adults, but we have rubyists.
<ivanskie>
working with WSDL. using Savon for the comms. and figured that part out.
<ivanskie>
but im hitting a brick wall with working with nokogiri
<ivanskie>
to parse the xml response.
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShekharReddy has quit [Quit: Connection closed for inactivity]
<apeiros>
dom = Nokogiri.XML(xml_string)
<apeiros>
that'll parse XML to a DOM
kies has joined #ruby
<apeiros>
SAX is a bit more effort. but the docs have good examples.
<ivanskie>
so i have this soap api that i can request info about a single item. and that i figured out how to work with. and then i can request a list of all items.
mtkd has quit [Ping timeout: 248 seconds]
<dminuoso>
ivanskie, is that XML wrapped in SOAP? Because SAVON should be able to give you raw ruby objects.
<ivanskie>
and i can't figure out how to separate the single out of the list of these.
<ivanskie>
oh right. i was going to try to figure out how to do that
aduabu has joined #ruby
<ivanskie>
dminuoso i'll give that a try.
mtkd has joined #ruby
istrasci has left #ruby [#ruby]
carnegie has quit [Remote host closed the connection]
<ivanskie>
oh on the topic of savon.. i can't figure out why i can't build an xml request with nokogiri and pass that to savon. i have to like pass it a string of xml or a file with that xml request. so weird. but thats for another time.
<dminuoso>
apeiros, by the way - weirdly Im completely trailing off Ruby. Managed to convince my boss to consider switching out some of our backends for Elixir backends. :-)
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
<dminuoso>
ivanskie, because XML is only an encoding for SOAP. Savon hides that because it's not necessary for you to know about XML.
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
aduabu has joined #ruby
gothicsouth has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
canteen4 has quit [Ping timeout: 252 seconds]
canteen4 has joined #ruby
certhird has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
aduabu has joined #ruby
gusrub_ has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
canteen4 has joined #ruby
Ltem has joined #ruby
laphoraig92 has joined #ruby
enterprisey has joined #ruby
gusrub has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 255 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
high_fiver has joined #ruby
raynold has joined #ruby
frozengeek has quit [Quit: frozengeek]
graft has quit [Ping timeout: 248 seconds]
davidmichaelkarr has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
conta has joined #ruby
aduabu has joined #ruby
conta has quit [Client Quit]
canteen4 has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
futilegames has joined #ruby
Rapture has quit [Read error: Connection reset by peer]
runescape07rsps has joined #ruby
ResidentBiscuit has quit [Quit: killing self]
ShekharReddy has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has quit [Ping timeout: 240 seconds]
conta has joined #ruby
futilegames_ has joined #ruby
deepthought42 has quit [Remote host closed the connection]
futilegames has quit [Ping timeout: 240 seconds]
futilegames_ is now known as futilegames
deepthought42 has joined #ruby
<ivanskie>
dminuoso yep working with savon's response was the way to go. thanks
__Yiota has joined #ruby
enterprisey has quit [Remote host closed the connection]
mjolnird has joined #ruby
conta has quit [Ping timeout: 240 seconds]
leah2 has joined #ruby
deepthought42 has quit [Ping timeout: 248 seconds]
aduabu has joined #ruby
Guest40 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canteen4 has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
canteen4 has joined #ruby
Bock has quit [Ping timeout: 248 seconds]
aduabu has quit [Ping timeout: 248 seconds]
carnegie has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
cdg_ has joined #ruby
cdg_ has quit [Remote host closed the connection]
jamesaxl has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
futilegames has quit [Quit: futilegames]
Guest40 has joined #ruby
bronson has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
aduabu has joined #ruby
chouhoulis has joined #ruby
vondruch has quit [Client Quit]
leah2 has quit [Ping timeout: 252 seconds]
vondruch has joined #ruby
canteen4 has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 240 seconds]
canteen4 has joined #ruby
tvw has quit []
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
aduabu has joined #ruby
tvw has quit [Read error: Connection reset by peer]
marr has joined #ruby
tomphp has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
statelesscode has quit [Ping timeout: 255 seconds]
conta2 has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zachk has joined #ruby
runescape07rsps has quit [Ping timeout: 276 seconds]
canteen4 has joined #ruby
baweaver is now known as baweaver_away
baweaver_away is now known as baweaver
baweaver is now known as baweaver_away
Guest40 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baweaver_away is now known as baweaver
baweaver is now known as baweaver_away
Guest40 has joined #ruby
aduabu has quit [Ping timeout: 260 seconds]
jashmatthews has joined #ruby
tomphp has quit [Ping timeout: 248 seconds]
tomphp_ has joined #ruby
imperator has joined #ruby
aduabu has joined #ruby
conta2 has quit [Quit: conta2]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
canteen4 has quit [Ping timeout: 260 seconds]
tenderlove has joined #ruby
tenderlove has quit [Remote host closed the connection]
tenderlo_ has joined #ruby
cagomez has quit [Remote host closed the connection]
tenderlo_ is now known as tenderlove
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
ta_ has joined #ruby
statelesscode has joined #ruby
ziprar has quit [Read error: Connection reset by peer]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
canteen4 has joined #ruby
m4rCsi has quit [Read error: Connection reset by peer]
eelster has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
aduabu has quit [Ping timeout: 255 seconds]
aduabu has joined #ruby
evie_hammond has joined #ruby
certhird has quit [Ping timeout: 260 seconds]
cagomez has quit [Ping timeout: 240 seconds]
canteen4 has quit [Ping timeout: 248 seconds]
leah2 has joined #ruby
<kspencer>
anyone here used sequel?
<dminuoso>
Yes.
<dminuoso>
?next
<ruby[bot]>
dminuoso: I don't know anything about next
* dminuoso
kicks ruby[bot] with apeiros
WeiJunLi has joined #ruby
<kspencer>
dminuoso: did you have problems with loads of sleeping db connections?
lacuna has joined #ruby
lacuna has quit [Client Quit]
lacuna has joined #ruby
gothicsouth has joined #ruby
canteen4 has joined #ruby
* apeiros
is not a BART
<apeiros>
(bot attitude readjustment tool)
aduabu has quit [Ping timeout: 246 seconds]
yeticry_ has joined #ruby
<dminuoso>
apeiros, we can change that. Let me just send you a free Apple device with a mysterious message that is almost, but not quite, entirely unlike a regular EULA. But it has an accept button.
yeticry has quit [Read error: Connection reset by peer]
<apeiros>
you're an EU citizen, you should know those have no legal binding power.
<dminuoso>
You are not!
<apeiros>
yeah, the no legal binding power applies to me doubly so
<dminuoso>
We'll just have to let our lawyers fight this in court. Until then you are the BART.
<dminuoso>
By the way, might be heading over into the alps this winter. :)
conta2 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
aduabu has joined #ruby
conta2 has quit [Client Quit]
knight33 has joined #ruby
username1 has quit [Ping timeout: 248 seconds]
frozengeek has joined #ruby
canteen4 has quit [Ping timeout: 252 seconds]
guille-moe has joined #ruby
jaruga has quit [Quit: jaruga]
canteen4 has joined #ruby
cdg has joined #ruby
aduabu has quit [Ping timeout: 240 seconds]
imperator has quit [Quit: This computer has gone to sleep]
<baweaver_away>
Notice that apeiros did not deny being a tool in general :P
<apeiros>
dminuoso: tell me more re alps when you know more :)
baweaver_away is now known as baweaver
<adaedra>
You forgot the second =, so that condition is moot
* baweaver
ducks
<apeiros>
baweaver: you're away. hence shhht.
<apeiros>
adaedra: it's a draft.
<adaedra>
we're all away from each other
<apeiros>
that's relative
<adaedra>
aren't a lot of things?
<dminuoso>
o.o
Alina-malina has quit [Ping timeout: 246 seconds]
<apeiros>
I'm about 150 million km closer to you than to the sun
<adaedra>
Well, the heat wave indicates we got closer to the sun tho
gusrub has joined #ruby
cagomez has joined #ruby
<apeiros>
while earth spirals slowly towards the sun, that effect is insignificant compared to others.
<dminuoso>
adaedra, you too measure blueshift from the sun?
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
Finally I found someone just like me.
<apeiros>
and iirc it'll remain so, since suns expansion will be a problem earlier
<adaedra>
I thought it was the sun spiraling around the earth
<baweaver>
Lordy, #ruby became #nihilism darn quick
hahuang65 has joined #ruby
<dminuoso>
baweaver, shush you non believer.
<apeiros>
adaedra: matter of perspective. but that makes the maths re astronomy rather difficult :D
Alina-malina has joined #ruby
<apeiros>
baweaver: nietzsche knew god was dead. now we know millenials killed it.
<adaedra>
killed what, nietzsche?
<apeiros>
god
<adaedra>
yeah, it's me
<apeiros>
them?
<baweaver>
both really
<baweaver>
we kill all things
<elomatreb>
No, it = The Nietzsche-bot
<adaedra>
with avocado, right
<baweaver>
Fear me, for I am a millenial
yaewa has quit [Quit: Leaving...]
<apeiros>
btw., anybody got a good tip for a USB 3 hub with 5+ ports, connectable to USB C with a cable > 30cm?
<apeiros>
powered ports
<apeiros>
ooooh, wait, we're in #ruby? drats, I thought we were in #ruby-offtopic. sorry :D
<dminuoso>
apeiros, haha!
<dminuoso>
We MBP users should unite.
<apeiros>
dminuoso: the problem is that most hubs have a short cable, and I want to connect it to the monitor. would mean it's dangling from it -> stupid, ugly, inconvenient
<dminuoso>
I just cascade USB hubs because cascading cascaded hubs is great.
canteen4 has joined #ruby
CrazyEddy has quit [Ping timeout: 240 seconds]
aduabu has quit [Ping timeout: 240 seconds]
WeiJunLi has quit [Remote host closed the connection]
aduabu has joined #ruby
jashmatthews has quit [Remote host closed the connection]
Neo95 has joined #ruby
certhird has joined #ruby
eckhardt has joined #ruby
canteen4 has quit [Ping timeout: 255 seconds]
<ivanskie>
anyone here ever dealt with Schneider Data Center Expert?
<apeiros>
chances are pretty low I'd say
<ivanskie>
i'm considering writing a ruby library to interface DCE's SOAP API.
<ivanskie>
yeah thought so.
<dminuoso>
Ill give you the same advice I give everyone who endeavours to do something SOAP:
<dminuoso>
Good luck!
<adaedra>
Stay clean
<ivanskie>
Doesn't sound like Schneider is going to replace it with REST api anytime soon. I've spoken with their engineers and i've been told by a couple that don't hold yer breath.
username1 has joined #ruby
* dminuoso
is cautious of solutions that have the word "expert" in them
<SeepingN>
but it's enterprise class!
<dminuoso>
Bringing us to the next word that makes me cautious.
<ivanskie>
dminuoso the question i asked you earlier was for this. so now i've figured out how to interface it. already have code to populate a rails model with "devices" pulled from this API. its ugly.
<dminuoso>
ivanskie, put a layer in between.
<ivanskie>
between what
sepp2k has quit [Quit: Leaving.]
<ivanskie>
i don't have a rails app to speak of. so for now just working with ruby alone to pull the data. thinking about pulling sensor data from some PDUs to populate an excel file with power metering data.
<ivanskie>
i have a requirement to update an excel file once a week with used/unused cabinet count in our data center, and power usage / efficiency measurements. for a couple of data centers actually.
<ivanskie>
so for one, i've already wrote ruby code to just pull the data directly from devices with SNMP, and spit out csv line to paste into my excel file (long story, have to do it this way).
enterprisey has joined #ruby
<ivanskie>
but since im lazy. i'd rather access our DCIM tool, and pull the data from it. then i can write data directly into excel file. lol
<ivanskie>
it takes 5 minutes to do it manually. so i want to spend 2-3 days to write some code so that i can just get this done in one click. makes sense right? :D
jamesaxl has quit [Quit: WeeChat 1.8]
roland_ has joined #ruby
mikeric has quit [Ping timeout: 240 seconds]
elcontrastador has joined #ruby
bronson has joined #ruby
<roland_>
hello everyone! I'm about to install Ruby but I can't decide if I should check "use UTF-8 as default external encoding".
<dminuoso>
roland_, yes.
<apeiros>
yes.
<roland_>
Thank you!
<Papierkorb>
Yep
Guest40 has joined #ruby
<apeiros>
also hit anybody with a club who provides data in non-unicode encoding.
<apeiros>
twice if they don't state the encoding upfront
<dminuoso>
Or at the very least hit them if they do without specifying the encoding explicitly.
<dminuoso>
Hah.
<apeiros>
thrice if they don't even know the encoding themselves
<elomatreb>
UTF-32 with BOM, here you go
<apeiros>
that's fine
<apeiros>
even reasonably detectable
<dminuoso>
and 4 times if they use some exotic and outdated encoding that you cant identify like macintosh.
<dminuoso>
That one really cost me some hours.
<apeiros>
(in this unreasonable world without proper metadata container formats)
<apeiros>
dminuoso: "macintosh" isn't an encoding :-p
<dminuoso>
apeiros, it is.
<apeiros>
maybe you mean macroman?
<apeiros>
lünk or it isn't!
<dminuoso>
apeiros, no, I do mean macintosh.
<dminuoso>
That is an actual thing.
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 248 seconds]
<dminuoso>
Perhaps its the same idk, but macOS stored it under that name in the extended attributes, and iconv accepted that as an encoding name