jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-preview2: 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!
Dimik has joined #ruby
canton7 has quit [Quit: ZNC - http://znc.in]
eddof13 has quit [Quit: eddof13]
canton7 has joined #ruby
whysthatso has quit [Quit: whysthatso]
eddof13 has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
<havenwood> Inside: What's the difference before and after?
za1b1tsu has joined #ruby
eddof13 has quit [Quit: eddof13]
apeiros has quit []
za1b1tsu has quit [Ping timeout: 240 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 268 seconds]
mroutis has joined #ruby
orbyt_ has joined #ruby
Wojnar has quit [Quit: Leaving]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nexraf1 has joined #ruby
snickers has quit [Ping timeout: 244 seconds]
brkkyk has joined #ruby
nchambers has quit [Quit: WeeChat 2.2]
GodFather has quit [Ping timeout: 252 seconds]
vutral1 has joined #ruby
siaw23 has quit [Quit: siaw23]
dviola has quit [Quit: WeeChat 2.3]
lytol has quit [Remote host closed the connection]
kurko_ has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
agent_white has joined #ruby
impermanence has quit [Remote host closed the connection]
darkhanb has joined #ruby
nexraf1 has quit [Ping timeout: 264 seconds]
dmitch has quit [Quit: Textual IRC Client: www.textualapp.com]
segy has joined #ruby
siaw23 has joined #ruby
gix has joined #ruby
nine_milli__ has joined #ruby
<nine_milli__> HI IS MICHALE MYERS THE REAL SUPERMAN?
nchambers has joined #ruby
gix has quit [Ping timeout: 252 seconds]
djellemah_ has joined #ruby
nine_milli__ has left #ruby ["Leaving"]
djellemah has quit [Ping timeout: 268 seconds]
mroutis has quit [Remote host closed the connection]
troulouliou_div2 has quit [Read error: Connection reset by peer]
<baweaver> !badnick nine_milli__
<baweaver> faster way to permaban trolls
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkhanb has joined #ruby
Hobbyboy has quit [Read error: Connection reset by peer]
Hobbyboy has joined #ruby
darkhanb has quit [Client Quit]
darkhanb has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil____ has joined #ruby
AJA4350 has quit [Quit: AJA4350]
cow[moo] has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
kurko_ has quit [Read error: Connection reset by peer]
siaw23 has quit [Quit: siaw23]
kurko_ has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkhanb has joined #ruby
za1b1tsu has joined #ruby
asphyxia has joined #ruby
agent_white has quit [Quit: brb]
za1b1tsu has quit [Ping timeout: 252 seconds]
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby
siaw23 has joined #ruby
siaw23 has quit [Client Quit]
SolarAquarion has quit [Read error: Connection reset by peer]
brkkyk has quit []
ghormoon has quit [Ping timeout: 245 seconds]
Hobbyboy has quit [Read error: Connection reset by peer]
Hobbyboy has joined #ruby
ghormoon has joined #ruby
mangold has joined #ruby
SolarAquarion has joined #ruby
ghormoon has quit [Excess Flood]
ghormoon has joined #ruby
kurko_ has quit [Read error: Connection timed out]
ghormoon has quit [Excess Flood]
ghormoon has joined #ruby
esrse has joined #ruby
kurko_ has joined #ruby
ghormoon has quit [Excess Flood]
ghormoon has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
ghormoon has quit [Ping timeout: 252 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
ghormoon has joined #ruby
mangold has joined #ruby
cagomez has joined #ruby
regedit has joined #ruby
kurko_ has quit [Ping timeout: 244 seconds]
kurko_ has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
nchambers has quit [Quit: WeeChat 2.2]
zwliew has joined #ruby
discopatrick has quit [Quit: Connection closed for inactivity]
mangold has joined #ruby
za1b1tsu has joined #ruby
johnny56 has quit [Ping timeout: 272 seconds]
za1b1tsu has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
johnny56 has joined #ruby
za1b1tsu has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
braincrash has joined #ruby
kurko_ has quit [Ping timeout: 252 seconds]
Dimik has quit [Ping timeout: 244 seconds]
kurko_ has joined #ruby
Sauvin has joined #ruby
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
roshanavand1 is now known as roshanavand
sanscoeur has joined #ruby
nchambers has joined #ruby
cagomez has quit [Remote host closed the connection]
eckhardt has joined #ruby
kurko_ has quit [Ping timeout: 252 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
kurko_ has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
meinside has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
Puffball has quit [Remote host closed the connection]
mangold has joined #ruby
MoritaShinobu has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mangold has quit [Quit: This computer has gone to sleep]
Puffball has joined #ruby
kurko_ has quit [Ping timeout: 244 seconds]
kurko_ has joined #ruby
nchambers has quit [Ping timeout: 272 seconds]
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #ruby
sanscoeur has quit [Ping timeout: 252 seconds]
mangold has joined #ruby
solocshaw has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
solocshaw has joined #ruby
OrangeManBad has quit [Ping timeout: 264 seconds]
solocshaw has quit [Ping timeout: 250 seconds]
roshanavand has quit [Remote host closed the connection]
zwliew has quit [Quit: Connection closed for inactivity]
OrangeManBad has joined #ruby
aupadhye has joined #ruby
roshanavand has joined #ruby
pragathoys has joined #ruby
pragathoys has quit [Quit: Going offline, see ya! (www.adiirc.com)]
doubledup has joined #ruby
pragathoys has joined #ruby
CrazyEddy has quit [Ping timeout: 245 seconds]
nchambers has joined #ruby
esrse has quit [Ping timeout: 272 seconds]
gix has joined #ruby
despai has joined #ruby
nchambers has quit [Ping timeout: 244 seconds]
pragathoys has quit [Quit: Going offline, see ya! (www.adiirc.com)]
pragathoys has joined #ruby
pragathoys has quit [Client Quit]
RougeR_ has quit [Ping timeout: 252 seconds]
despai has quit [Quit: ...]
dellavg_ has joined #ruby
aufi has joined #ruby
aufi has quit [Quit: Leaving]
aufi has joined #ruby
conta has joined #ruby
kurko_ has quit [Read error: No route to host]
MyMind has joined #ruby
Sembei has quit [Ping timeout: 252 seconds]
clemens3 has joined #ruby
kurko_ has joined #ruby
kurko_ has quit [Ping timeout: 240 seconds]
kurko_ has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
nchambers has joined #ruby
clemens3 has quit [Remote host closed the connection]
clemens3 has joined #ruby
nchambers has quit [Ping timeout: 250 seconds]
lupine has quit [Ping timeout: 276 seconds]
marz_d`ghostman has quit [Quit: Page closed]
lupine has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
nchambers has joined #ruby
doubledup has quit [Ping timeout: 268 seconds]
nchambers has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
reber has joined #ruby
SuperL4g has joined #ruby
SuperLag_ has joined #ruby
hightower3 has joined #ruby
<hightower3> Hey, I am looking at rspec tests where they invoke e.g. "post" to make a HTTP POST request, and then the response object is automatically available in the 'response' variable or method.
<hightower3> How exactly is this 'response' defined and set? I would need to write a helper method which does the same thing essentially
SuperLag has quit [Ping timeout: 252 seconds]
Sup3rLurk has quit [Ping timeout: 268 seconds]
xfbs has joined #ruby
venmx has joined #ruby
alem0lars has quit [Remote host closed the connection]
alem0lars has joined #ruby
alem0lars has quit [Max SendQ exceeded]
alem0lars has joined #ruby
alem0lars has quit [Remote host closed the connection]
kaleido has quit [Remote host closed the connection]
c0san0stra has quit [Ping timeout: 272 seconds]
c0san0stra has joined #ruby
nchambers has joined #ruby
whysthatso has joined #ruby
<TvL2386> hey guys. I know it's possible to use the tiny_tds gem to connect to a MSSQL Database from linux, but is it also possible to connect to a MSSQL database when running ruby on windows?
<TvL2386> and how?
NL3limin4t0r has joined #ruby
CrazyEddy has joined #ruby
<NL3limin4t0r> Is it possible to use *.so libraries in Ruby? I use a proprietary piece of software that has an API. However this API comes only as *.so library file (plus the Windows variant).
whysthatso has quit [Quit: whysthatso]
<hightower3> but you have header files for it, right?
<NL3limin4t0r> Not at the moment. I'll have to check if they are provided.
xfbs has quit [Quit: afk]
<NL3limin4t0r> I currently wrote a small C program that acts like a daemon, opening a UNIX socket to which it listens. Incomming data is passed to the library and the response is passed back to the socket.
dachi has quit [Ping timeout: 252 seconds]
<NL3limin4t0r> It works fine, but I was wondering if it could be done in Ruby itself.
ams__ has joined #ruby
<hightower3> NL3limin4t0r, of course it could
nchambers has quit [Ping timeout: 246 seconds]
<NL3limin4t0r> Let me phrase that differently. I was wondering if Ruby supports the intergration with *.so files without dirty hacks.
nchambers has joined #ruby
kurko_ has quit [Ping timeout: 252 seconds]
jespada has joined #ruby
nchambers has quit [Ping timeout: 252 seconds]
<al2o3-cr> NL3limin4t0r: is the so file a ruby c extension? if so, then it's a simple require 'foo.so'. if not, then you'd have to use ffi or some such.
<NL3limin4t0r> al2o3-cr: the so extension stands for Shared Object and is used in the Linux C and C++ languages. Windows uses dll for this.
kurko_ has joined #ruby
<al2o3-cr> NL3limin4t0r: i'm aware and for mac dylib?
<NL3limin4t0r> I have no clue about macs.
<al2o3-cr> NL3limin4t0r: what i'm saying if it's not a ruby c extension you would have to use ffi to interact with said so file.
conta has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
jespada has quit [Quit: WeeChat 2.2]
mangold has quit [Quit: This computer has gone to sleep]
<NL3limin4t0r> Ah, I can work with that. Didn't know about the ffi gem. ty
jespada has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
jespada has quit [Client Quit]
<al2o3-cr> NL3limin4t0r: btw, there is also fiddle in the stdlib.
<al2o3-cr> which is also libffi wrapper.
phaul has joined #ruby
mangold has joined #ruby
jespada has joined #ruby
justicefries has joined #ruby
gilfoyle has joined #ruby
jespada has quit [Client Quit]
AJA4350 has joined #ruby
jespada has joined #ruby
phaul has quit [Quit: bye]
phaul has joined #ruby
jespada has quit [Quit: WeeChat 2.2]
jespada has joined #ruby
OrangeManBad has quit [Ping timeout: 260 seconds]
Fusselgesicht has joined #ruby
jespada has quit [Quit: WeeChat 2.2]
nchambers has joined #ruby
gilfoyle has quit [Quit: Lost terminal]
OrangeManBad has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justicefries has joined #ruby
apparition has joined #ruby
conta has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
djellemah_ is now known as djellemah
<djellemah> NL3limin4t0r: fiddle is (as usual for ruby's lesser-known std libraries) very competent but somewhat under-documented.
roshanavand has quit [Remote host closed the connection]
nchambers has quit [Ping timeout: 252 seconds]
za1b1tsu has quit [Ping timeout: 240 seconds]
mostlybadfly has joined #ruby
nezt0r has joined #ruby
mniip has quit [Ping timeout: 600 seconds]
ta_ has joined #ruby
za1b1tsu has joined #ruby
nchambers has joined #ruby
<NL3limin4t0r> djellemah: I'll have a look ty for the suggestion.
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
m0nty0ne has joined #ruby
m0nty0ne has quit [Max SendQ exceeded]
m0nty0ne has joined #ruby
nezt0r has quit [Ping timeout: 252 seconds]
GDPR is now known as emerson
kapil____ has joined #ruby
B00gyman is now known as bougyman
GodFather has joined #ruby
bak1an has joined #ruby
voolik has joined #ruby
dachi has joined #ruby
roshanavand has joined #ruby
asphyxia has quit [Ping timeout: 252 seconds]
<dachi> Hello
<dachi> Do you think class variables are (@@) going to get deprecated, or do you think they're going to be used by gems like URI and others? Do you use them?
<dachi> I mean ruby-3xx
Fusselgesicht has quit [Quit: leaving]
aupadhye has quit [Remote host closed the connection]
TheBloke has joined #ruby
jsc has joined #ruby
jsc is now known as status402
roshanavand has quit [Remote host closed the connection]
<dachi> I was just saying that this is a pretty solid establishment and not going to be changed
<dachi> But still I asked for your opinion
yokel has quit [Remote host closed the connection]
dmitch has joined #ruby
brkkyk has joined #ruby
yokel has joined #ruby
aufi has quit [Ping timeout: 264 seconds]
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
apparition has quit [Quit: Bye]
bauruine has quit [Ping timeout: 276 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bauruine has joined #ruby
spiette has joined #ruby
spiette has quit [Client Quit]
justicefries has joined #ruby
spiette has joined #ruby
kaleido has joined #ruby
conta has quit [Ping timeout: 244 seconds]
aufi has joined #ruby
egourlao has joined #ruby
roshanavand has joined #ruby
kirun has joined #ruby
conta has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
rippa has joined #ruby
egourlao has quit []
<llua> moo.
voolik has quit [Ping timeout: 245 seconds]
roshanavand has quit [Remote host closed the connection]
brkkyk has quit []
Deesl has joined #ruby
chouhoulis has joined #ruby
desperek has joined #ruby
ujjain has quit [Remote host closed the connection]
Dimik has joined #ruby
brendan- has joined #ruby
MoritaShinobu has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby
orbyt_ has joined #ruby
ta_ has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 252 seconds]
<Inside> \o
roshanavand has joined #ruby
sanscoeur has joined #ruby
Dimik has quit [Ping timeout: 244 seconds]
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #ruby
ivanskie has joined #ruby
cd has quit [Quit: cd]
mniip has joined #ruby
sanscoeur has quit [Ping timeout: 252 seconds]
eddof13 has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
status402 has quit [Quit: status402]
<havenwood> dachi: It's unlikely they'll have their semantics fixed or that they'll be deprecated in Ruby 3. It would cause too many breaking changes.
<havenwood> dachi: That said, they continue to be an anti-pattern to use. Just like with global variables, it's recommended to not use class variables, but they won't be removed anytime soon.
<havenwood> "the use of class variables is not recommended (like global variables)" ~Matz
kurko_ has quit [Ping timeout: 252 seconds]
<dachi> havenwood thanks, that's what I was thinking too
<Inside> Everything is a singleton!
<havenwood> dachi: This is the best thread to follow for the issue: https://bugs.ruby-lang.org/issues/14541
<Inside> SingletonGenerator::makeSingleton(SingletonStringFactory)
<havenwood> Inside: Singleton is one of the stdlib libs that Matz himself maintains!
justicefries has quit [Quit: Textual IRC Client: www.textualapp.com]
troulouliou_dev has joined #ruby
phaul has joined #ruby
<Inside> huh interesting
<Inside> I like a good singleton here and there, but I thought they were considered a no-no anti-patterns?
<havenwood> Inside: When you actually only have one instance of state, they're great.
<havenwood> Inside: Modules for no state, pure functions. Singletons for a single instance of state. Classes for multiple instances of state.
conta has quit [Quit: conta]
moei has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
hurricanehrndz has joined #ruby
jcarl43 has joined #ruby
apeiros_ has joined #ruby
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
darkhanb has joined #ruby
krawchyk has joined #ruby
krawchyk has quit [Client Quit]
sanscoeur has joined #ruby
aufi has quit [Ping timeout: 246 seconds]
<Inside> Q: Is iterating over a hash guaranteed to have the same order if you iterate over the hash multiple times?
<Inside> (without modifying the hash, obv)
<apeiros_> Inside: as of 1.9, yes
<Inside> ah goodie
<apeiros_> hashes are ordered (insertion order)
apeiros_ is now known as apeiros
<Inside> wait what
AJA4350 has quit [Ping timeout: 245 seconds]
<Inside> I've been using ActiveSupport::OrderedHash over here if I need that
<Inside> >_>
<apeiros> I would be surprised if it wasn't an alias to Hash nowadays.
<dachi> I just love ruby, all these years!
<apeiros> "DEPRECATED: ActiveSupport::OrderedHash implements a hash that preserves insertion order"
<apeiros> says the docs :-D
<apeiros> (also `ActiveSupport::OrderedHash < Hash`)
<dachi> I dream of it being superfast
<Inside> where do you see that, apeiros?
<apeiros> u no docs?
<apeiros> rails 4 docs…
<Inside> well - it is what I am using
<Inside> heh
<Inside> but yup yup looks like it's just Hash these days
<Inside> fun times
akaiiro has quit [Remote host closed the connection]
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #ruby
sanscoeur has quit [Ping timeout: 252 seconds]
<desperek> hiii
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
<Inside> hii
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
<ivanskie> i gave up with my quest of making it work with net::ssh. can't beat it into submission. though it's just not meant for what i want obviously. ended up just doing Kernel.exec launching a cooked up ssh command.
TheBloke has joined #ruby
<desperek> does somebody use cuba.rb?
<desperek> well, cuba
<desperek> how do i make 404/403 and all these
krawchyk has joined #ruby
AJA4350 has joined #ruby
<apeiros> ivanskie: tried sshkit?
vondruch has quit [Ping timeout: 260 seconds]
za1b1tsu has quit [Quit: WeeChat 2.2]
za1b1tsu has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
clemens3 has quit [Ping timeout: 272 seconds]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
kurko_ has joined #ruby
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
TheBloke has joined #ruby
eckhardt has joined #ruby
Sauvin has quit [Read error: Connection reset by peer]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
spiette has joined #ruby
roshanavand has quit [Remote host closed the connection]
za1b1tsu has quit [Quit: WeeChat 2.2]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
postmodern has joined #ruby
cow[moo] has joined #ruby
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
sanscoeur has joined #ruby
roshanavand has joined #ruby
zapata_ is now known as zapata
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fusl has quit [Remote host closed the connection]
tdy has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Fusl has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
Fusselgesicht has joined #ruby
Fusselgesicht has left #ruby [#ruby]
m0nty0ne is now known as nezt0r
bak1an has joined #ruby
MoritaShinobu has joined #ruby
roshanavand has quit [Remote host closed the connection]
akaiiro has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
kurko_ has quit [Read error: Connection reset by peer]
kurko__ has joined #ruby
ivanskie has quit [Read error: Connection reset by peer]
mangold has quit [Quit: This computer has gone to sleep]
troulouliou_dev has quit [Quit: Leaving]
kurko__ has quit [Ping timeout: 252 seconds]
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
bak1an has quit [Ping timeout: 244 seconds]
despai has joined #ruby
ramfjord has joined #ruby
ivanskie has joined #ruby
<ivanskie> apeiros I haven't tried sshkit. but it looks like it could be quite useful in my case. it doesn't help with interactive shell though.
<ivanskie> thanks for the suggestion though!
kurko_ has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmcgnh has quit [Remote host closed the connection]
jmcgnh has joined #ruby
kurko_ has quit [Ping timeout: 260 seconds]
mangold has joined #ruby
spiette has joined #ruby
Deesl has quit [Quit: Textual IRC Client: www.textualapp.com]
eckhardt has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
Nicmavr has joined #ruby
Inv1s1ble has joined #ruby
<eam> ivanskie: I always shell out to ssh, there's unfortunately no other way to do fully featured ssh sessions
aufi has joined #ruby
<Inv1s1ble> I've got a function that takes in two functions and I'm trying to figure out how to determine the correct function is called within rspec: https://bpaste.net/show/dfb33b2131ed
<eam> every ssh library across all languages has some crucial feature they're missing
<Inv1s1ble> What should I be doing to ensure the first lambda is called and the second isn't?
nowhere_man has quit [Ping timeout: 252 seconds]
<ivanskie> yeah i had to find that out the hard way.. rather I assumed i could do it and went on.
<ivanskie> but thats what i just ended up doing. just build the ssh command string then Kernel.exec into it.
<ivanskie> sshkit looks cool for running rake commands on remotes after jumping through jumpbox tho.
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam> I've not yet found an ssh library which can handle kerberos auth
<eam> in any language, not just ruby
<ivanskie> so i could do.. `$ app rake super-awesome-rake-task --app my-cool-app --env staging`. and it'd jump to right box and run the rake command within correct folder and envars, etc etc with pretty output. looks promising haha
im0nde has quit [Quit: im0nde]
dellavg_ has quit [Ping timeout: 264 seconds]
aufi has quit [Ping timeout: 272 seconds]
AJA4350 has quit [Quit: AJA4350]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nexraf1 has joined #ruby
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
nowhere_man has joined #ruby
eddof13 has quit [Quit: eddof13]
nowhere_man has quit [Ping timeout: 252 seconds]
eckhardt has joined #ruby
<zenspider> rawr
venmx has quit [Ping timeout: 268 seconds]
<zenspider> eam: wow. I used kerberos once... in 1997. (really) I assume it hasn't gotten easier.
<ivanskie> there's some hardware that uses kerberous auth to get into xml api
<ivanskie> soap
* ivanskie gets unpleasant shiver from the memories
<zenspider> hah
<ivanskie> though i've never had to ssh with that
nowhere_man has joined #ruby
SeepingN has joined #ruby
eddof13 has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
nowhere_man has quit [Ping timeout: 252 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
eddof13 has quit [Quit: eddof13]
kirun has quit [Quit: Konversation terminated!]
ramfjord has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
jcalla has quit [Quit: Leaving]
venmx has joined #ruby
asphyxia has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
hightower3 has quit [Ping timeout: 260 seconds]
nowhere_man has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
AJA4350 has joined #ruby
SuperLag has joined #ruby
MoritaShinobu has quit [Ping timeout: 252 seconds]
Sup3rLurk has joined #ruby
SuperL4g has quit [Ping timeout: 244 seconds]
SuperLag_ has quit [Ping timeout: 252 seconds]
eckhardt has joined #ruby
dmitch has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
WebDawg is now known as neowebdawg
jp is now known as pineboat
eckhardt has quit [Client Quit]
pineboat is now known as jp
nowhere_man has quit [Ping timeout: 240 seconds]
despai has quit [Quit: ...]
krawchyk has quit [Quit: krawchyk]
venmx has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
eckhardt has joined #ruby
<eam> zenspider: it's uh, eh. There's a reason most ssh libraries lack support :)
<eam> it's really nice from a user perspective at least
<eam> we need more SSO systems
MoritaShinobu has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
dmitch has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
SirFunk has quit [Quit: ZNC - http://znc.in]
jp has joined #ruby
SirFunk has joined #ruby
nexraf1 has quit [Quit: WeeChat 2.2]
nexraf1 has joined #ruby
nexraf1 has quit [Quit: WeeChat 2.2]
nexraf1 has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs has joined #ruby
RougeR has joined #ruby
nexraf1 has quit [Quit: WeeChat 2.2]
nexraf1 has joined #ruby
nexraf1 has quit [Client Quit]
eckhardt has joined #ruby
eckhardt_ has joined #ruby
eckhardt has quit [Ping timeout: 272 seconds]
<sagax> how to see where module placed?
Wojnar has joined #ruby
desperek has quit [Quit: xoxo]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
clemens3 has joined #ruby
AJA4350 has quit [Remote host closed the connection]
tjbp_ has joined #ruby
tjbp has quit [Ping timeout: 276 seconds]
nexraf1 has joined #ruby
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
ellcs has quit [Ping timeout: 260 seconds]
ged has quit [Ping timeout: 245 seconds]
Fusl has quit [Ping timeout: 256 seconds]
k0mpa has quit [Ping timeout: 256 seconds]
ged has joined #ruby
wojnar_ has joined #ruby
<ivanskie> hey uhm how do you do this in ruby? namespace = 'aws:elasticbeanstalk:application:environment'
<ivanskie> vars = {n['OptionName']: n['Value'] for n in settings
<ivanskie> if n["Namespace"] == namespace}
<ivanskie> settings.map {|n| n{'OptionName'] = n['Value'] if n==namespace }. ?
teardown has joined #ruby
clemens3 has quit [Ping timeout: 252 seconds]
Wojnar has quit [Ping timeout: 268 seconds]
wojnar_ has quit [Client Quit]
<ivanskie> nevermind got it
funnel has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
funnel has joined #ruby
Fusl has joined #ruby
teardown has quit [Quit: leaving]
<ivanskie> nope dont got it
teardown has joined #ruby
<phaul> ivanskie: paste the inspect of settings somewhere, it's not clear what the structure is
<phaul> dpaste.de is recommended in the topic..
reber has quit [Remote host closed the connection]
warrshrike has joined #ruby
<warrshrike> hey guys
<warrshrike> are ruby objects 'unique'
<havenwood> hi warrshrike
<havenwood> warrshrike: what do you mean by "unique"?
<warrshrike> i.e. i have a ruby linked list and I want to detect whether it has a circle
<phaul> pff that old chestnut ..:)
<baweaver> Object hash certainly is unique.
<havenwood> SipHash13 ftw.
<warrshrike> if i do keep a pointer to the head and start iterating and checking if if (node == head)
<warrshrike> will this work?
<ivanskie> i got it figured out. in that i didn't have to do the map at all
<baweaver> ivanskie: You want to make a hash out of EBS data?
<ivanskie> yeah i'm trying to get env vars.
<warrshrike> havenwood: does that make sense?
<warrshrike> also does equality work automatically for classes ala === javascript or does it have to be overloaded like c++
<ivanskie> looks like in ruby sdk, it just stuffs them all into single option setting called 'EnvironmentVariables'. a comma separated list of assignments. as one string
<ivanskie> which im now trying to convert to a hash.
<baweaver> settings.select { |s| s['Namespace'] == namespace }.map { |s| [s['OptionName'], s['Value']] }.to_h
<warrshrike> so it seems like the .equal? method ('pointer equality') would work here?
<ivanskie> baweaver you are a genius
<ivanskie> thank you
<havenwood> warrshrike: equal? checks object id, so "" isn't #equal? to another ""
<warrshrike> havenwood: yes but , h = 1, g = h, h.equals? g is true
<baweaver> It's not really intuitive to make hashes from a set of values in Ruby.
<warrshrike> havenwood: this makes it look like ruby is doing pass by ref
<warrshrike> which isnt really true
<warrshrike> g = 7 wont update h
<ivanskie> heh
<havenwood> warrshrike: h.rehash
<warrshrike> im not trying to make hashes lol
<lupine> ruby mostly does pass by roulette
<warrshrike> what is that lupine
<lupine> never know what you're going to get
<warrshrike> lupine: oh
<lupine> come on, it deserves a sensible chuckle at minimum
<havenwood> warrshrike: it's pass by reference to a value, which is an object ¯\_(ツ)_/¯