raja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 250 seconds]
braincrash has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
maximski has joined #ruby
raja has joined #ruby
greenbagels has joined #ruby
kt2 has quit [Quit: ...]
hamakn_ has quit [Read error: Connection reset by peer]
raja has quit [Ping timeout: 245 seconds]
MrSamuel has quit [Ping timeout: 252 seconds]
spicerack2 has joined #ruby
spicerack2 has quit [Client Quit]
himsin has joined #ruby
himsin has quit [Client Quit]
jkline has joined #ruby
kyb3r_ has joined #ruby
hornairs has joined #ruby
raja has joined #ruby
apurcell has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
hornairs has quit [Client Quit]
larsam has quit [Quit: larsam]
kt2 has joined #ruby
athan has quit [Read error: Connection reset by peer]
ismaelga has quit [Remote host closed the connection]
davispuh has quit [Remote host closed the connection]
kt2 has quit [Client Quit]
armyriad has quit [Quit: Leaving]
madzhuga has joined #ruby
banister has quit [Ping timeout: 240 seconds]
apurcell has quit [Ping timeout: 245 seconds]
madzhuga has quit [Client Quit]
dfinninger has quit [Remote host closed the connection]
skj3gg has joined #ruby
vdamewood has quit [Ping timeout: 245 seconds]
<agrinb>
I'm doing some project euler problems and one of my algos is giving me "stack level too deep (SystemStackError)", if I give it a starting point that's very far away for the solution, but when I give it something close to the solution, it handles it. What are the chances that it's just an inefficient algo, vs an infinite loop?
armyriad has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
_gautam_ has quit [Ping timeout: 264 seconds]
posixpascal has joined #ruby
oo_ has quit [Remote host closed the connection]
posixpascal has quit [Client Quit]
vdamewood has joined #ruby
hamakn has joined #ruby
sent1nel has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
hamakn has joined #ruby
agrinb has quit [Read error: Connection reset by peer]
mistermocha has quit [Ping timeout: 252 seconds]
hamakn has quit [Read error: Connection reset by peer]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
<versatiletech>
one thing I can't wrap my head around is that I'm able to run bundle install and some gems install and some don't. The problematic ones install fine using gem and then after running bundle install, the ones that installed with gem will be reused. I'm not sure why bundle install doesn't just work in one go.
nolic has joined #ruby
<mozzarella>
how do they fail? what does it say?
<agrinb>
I'm doing some project euler problems and one of my algos is giving me "stack level too deep (SystemStackError)", if I give it a starting point that's very far away for the solution, but when I give it something close to the solution, it handles it. What are the chances that it's just an inefficient algo vs an infinite loop?
chipotle has joined #ruby
<eam>
agrinb: you're just recursing too many times
<eam>
so yes, inefficient
<eam>
(likely)
<agrinb>
do you know the limit?
<eam>
you can pretty easily figure it out by guess and check, right?
jaequery has joined #ruby
lupine has joined #ruby
<eam>
create a method that decrements its arg by one each time it recurses, end on zero
<eam>
figure out the depth :)
skj3gg has quit [Quit: ZZZzzz…]
<agrinb>
It's not very deep
thatslifeson has quit [Read error: Connection reset by peer]
<versatiletech>
mozzarella: let me get you a pastie
<mozzarella>
which euler problem is it?
jgrevich has joined #ruby
<versatiletech>
the error isn't very explanatory
b1nd has joined #ruby
hmsimha has joined #ruby
ismaelga has joined #ruby
skj3gg has joined #ruby
Deele has joined #ruby
havenwood has joined #ruby
sent1nel has joined #ruby
russt has joined #ruby
sent1nel has quit [Remote host closed the connection]
<versatiletech>
that output is the same for all of the gems that fail
<versatiletech>
I ran bundle install with --no-deployment the first time. It was the only way it would pick up the gems that wouldn't install with bundle install that installed with gem.
DonOtreply has quit [Quit: DonOtreply]
rvchangue has quit [Quit: dead]
juanpablo_ has joined #ruby
fabrice31 has joined #ruby
<mozzarella>
versatiletech: what's your operating system?
<versatiletech>
ubuntu 12.10
<mozzarella>
you could try installing ruby-dev and build-essential
<versatiletech>
ruby-dev is installed let me check build-essential
<versatiletech>
I think it is
<versatiletech>
yes it's installed
kobain has joined #ruby
Megtastique has quit []
jonr22 has joined #ruby
Hijiri has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
tunaCanBruh has joined #ruby
ponga has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 252 seconds]
Lemur has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
zorak8 has quit [Ping timeout: 246 seconds]
oo_ has quit [Remote host closed the connection]
silkfox has joined #ruby
jonr22 has quit [Ping timeout: 246 seconds]
<agrinb>
eam: just learned not to do recursion when a simple while loop will do the trick :)
tunaCanBruh has quit [Ping timeout: 244 seconds]
riotjones has joined #ruby
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
balazs has quit [Ping timeout: 252 seconds]
<Hijiri>
turn all your loops into recursion imo
<Hijiri>
dont do loops when a recursion will do the trick
maximski has quit []
riotjones has quit [Ping timeout: 264 seconds]
JBreit has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
dfinninger has joined #ruby
davejacobs has joined #ruby
dfinninger has quit [Remote host closed the connection]
silkfox has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
davejacobs has quit [Ping timeout: 245 seconds]
livingstn has quit []
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
orlock has joined #ruby
mahmoudmahfouz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zamyatin has joined #ruby
<orlock>
I have a quick non-technical question - how would you define "deploy" if somebody was to ask you to "deploy" an app
Zamyatin has quit [Read error: Connection reset by peer]
<Hijiri>
tie the definition of deployment to its implementation, then it's impossible to be wrong
ponga has joined #ruby
tokik has joined #ruby
ferr has joined #ruby
raja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zyxelthrone has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Darryl___ has quit [Quit: Connection closed for inactivity]
kp666 has joined #ruby
Channel6 has quit [Quit: Leaving]
rvchangue has joined #ruby
<ferr>
I use gmail gem, how it could be that if I check exact code and message through irb and cucumber tests and the output is different
jobewan has joined #ruby
iteratorP has joined #ruby
posixpascal has joined #ruby
karmatr0n has quit [Remote host closed the connection]
lzx has joined #ruby
TristanH has joined #ruby
lumberjack_ has joined #ruby
lumberjack_ has quit [Read error: Connection reset by peer]
<rrtbram>
in a ruby app that will probably be a gem, where should I put a file that contains a module that is used as a mixin?
tokik has quit [Ping timeout: 240 seconds]
<rrtbram>
especially since that mixin will probably be used only by one class
jrK has joined #ruby
<rrtbram>
should I create a specific folder of it
<rrtbram>
or just dump it in the same folder as the class that includes it?
jonr22 has joined #ruby
logmert has joined #ruby
tunaCanBruh has joined #ruby
jrK has quit [Client Quit]
juanpablo_ has quit [Ping timeout: 250 seconds]
<muzik>
might want to google that. Im sure there is a convention for it
olivier_bK has joined #ruby
craigp has joined #ruby
elabs-developer has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
Skelz0r has joined #ruby
tunaCanBruh has quit [Ping timeout: 264 seconds]
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
colli5ion has joined #ruby
<rrtbram>
muzik: yeah
<rrtbram>
i am currently looking trough the rubygem docs
charliesome has joined #ruby
agrinb has joined #ruby
EasyCo has quit [Quit: Connection closed for inactivity]
charliesome has quit [Client Quit]
marr has joined #ruby
<muzik>
Please let us know when you find a nice place for it
jenrzzz has joined #ruby
elabs-developer has quit [Quit: elabs-developer]
<rrtbram>
i will probably dump it either in the same folder
<rrtbram>
or in the folder with the same name as the class
it0a has quit [Quit: WeeChat 1.1.1]
<rrtbram>
that includs it
<muzik>
I would have put it in the same folder without thinking about it
<rrtbram>
since I don't plan on using it elswhere
<muzik>
Check out other people gems maybe?
<rrtbram>
yeah
blackmes1 has joined #ruby
<rrtbram>
the problem is I don't know which gems to check
davejacobs has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 245 seconds]
<rrtbram>
as for the inheriting classes that will inherit the class that includes the mixin :p, i will probably put them in the folder named as the parent class
tesuji has joined #ruby
reinaldob has joined #ruby
m8 has joined #ruby
ghr has joined #ruby
chthon has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
bMalum has quit [Quit: bMalum]
charliesome has joined #ruby
reinaldob has quit [Ping timeout: 245 seconds]
charliesome has quit [Client Quit]
jenrzzz has joined #ruby
aapole has quit [Ping timeout: 252 seconds]
panga is now known as ponga
colli5ion has quit []
rrtbram has left #ruby ["Konversation terminated!"]
MasterPiece has joined #ruby
<lupine>
(fd 3 is part of the API for dovecot's passwordchecker API)
hanmac1 has joined #ruby
wldcordeiro has joined #ruby
msgodf has joined #ruby
<lupine>
christ, it goes all the way up to 6
AlexRussia has quit [Ping timeout: 264 seconds]
MasterPiece has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
Hobogrammer has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
chthon has quit [Quit: Ex-Chat]
prasselpikachu_ is now known as prasselpikachu
joonty has joined #ruby
Takle has joined #ruby
oo_ has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 250 seconds]
phansch has joined #ruby
logmert has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
sent1nel has joined #ruby
jlast has joined #ruby
abuzze has quit [Remote host closed the connection]
banister has joined #ruby
livathinos has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
dumdedum has joined #ruby
mkaesz has quit [Remote host closed the connection]
logmert has joined #ruby
sent1nel has quit [Ping timeout: 240 seconds]
mkaesz has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
abuzze has joined #ruby
paradoja has joined #ruby
zachrab has joined #ruby
larsam has joined #ruby
mkaesz has quit [Ping timeout: 246 seconds]
ptrrr has quit [Quit: ptrrr]
einarj has joined #ruby
The_Phoenix has joined #ruby
siso has joined #ruby
CustosL1men has joined #ruby
abuzze has quit [Ping timeout: 245 seconds]
zachrab has quit [Ping timeout: 245 seconds]
silkfox has joined #ruby
yfeldblum has quit [Remote host closed the connection]
mroach has quit [Quit: mroach]
Zai00 has joined #ruby
reinaldob has joined #ruby
einarj has quit [Ping timeout: 250 seconds]
arup_r has quit [Read error: Connection reset by peer]
<wasamasa>
who the hell introduces themselves with a "ciao"
<avril14th>
mor the ning
<avril14th>
wasamasa: almost every italian
blackmes1 has joined #ruby
<wasamasa>
avril14th: I thought that was for the goodbye
<avril14th>
it's for both
<tacotaco_>
silly Italians
<wasamasa>
._.
arup_r has quit [Remote host closed the connection]
<avril14th>
but the use as an introduction didn't make it when "ciao crossed the frontiers
* wasamasa
removes italian from his list of languages to eventually learn
<avril14th>
you should put it back
<avril14th>
1 word = 2 uses
<avril14th>
less words to learn
<avril14th>
:)
oo_ has quit [Remote host closed the connection]
siso has quit [Quit: siso]
zarubin has quit [Remote host closed the connection]
leafybasil has quit [Remote host closed the connection]
ghostpl has joined #ruby
tkuchiki has joined #ruby
agrinb has joined #ruby
elfuego has joined #ruby
tokik has joined #ruby
CustosL1men has quit [Ping timeout: 252 seconds]
mdw has joined #ruby
agent_white is now known as agent_opaque
logmert has quit [Read error: Connection reset by peer]
agent_opaque is now known as agent_white
agrinb has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
<gregf__>
less words more confusion :/
<gregf__>
i'd rather speak more than be confused
<gregf__>
or create confusion :)
Timgauthier has joined #ruby
davejacobs has joined #ruby
jgt has quit [Ping timeout: 246 seconds]
logmert has joined #ruby
psy_ has joined #ruby
siso has joined #ruby
bMalum has joined #ruby
mikecmpbll has joined #ruby
charliesome has joined #ruby
jimms has joined #ruby
Timba-as has joined #ruby
aswen has joined #ruby
davejacobs has quit [Ping timeout: 264 seconds]
withnale_ has joined #ruby
mkaesz has joined #ruby
decoponio has joined #ruby
zarubin has joined #ruby
CustosL1men has joined #ruby
jottr has joined #ruby
leafybasil has joined #ruby
tokik_ has joined #ruby
mdw has quit [Ping timeout: 244 seconds]
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
tokik_ has quit [Client Quit]
<gregf__>
fortunately, the brazillians use 'ola' and 'tchau'
vtunka has joined #ruby
MasterPiece has joined #ruby
iteratorP has quit [Ping timeout: 244 seconds]
selu has joined #ruby
mist has quit [Quit: leaving]
CpuID2 has joined #ruby
rodfersou has joined #ruby
jlast has joined #ruby
psy_ has quit [Read error: No route to host]
tokik_ has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tokik_ has quit [Client Quit]
lessless has joined #ruby
Takle has quit [Remote host closed the connection]
zzz_Ridley has joined #ruby
zzz_Ridley is now known as Ridley5
Ridley5 has quit [Changing host]
Ridley5 has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
tokik has quit [Ping timeout: 264 seconds]
dimaursu16 has left #ruby ["Leaving"]
jlast has joined #ruby
Spami has quit [Max SendQ exceeded]
<Timgauthier>
aloha!
<Timgauthier>
tschüss
Spami has joined #ruby
astrobunny has quit [Remote host closed the connection]
lynxman has quit [Quit: leaving]
lynxman has joined #ruby
mrmist has joined #ruby
jgt has joined #ruby
Soda has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
Takle has joined #ruby
mroach has joined #ruby
apeiros_ has joined #ruby
bal1 has quit [Ping timeout: 252 seconds]
ponga has quit [Remote host closed the connection]
poushkar has joined #ruby
juanpablo_ has joined #ruby
<poushkar>
Can someone explain it to me, why some people in Ruby like to use xUnit-like syntax with test_implementation_details -like names for tests indstead of going Ruby-way and having a simple DSL like minitest/spec and write understandable names?
arup_r has joined #ruby
<Timgauthier>
maybe they come from a background with overly complex stuff and they miss it
ghostpl has quit [Remote host closed the connection]
<apeiros_>
poushkar: I prefer the unit test asserts for clarity as they're closer to "real" ruby code, compared to rspec semantics which basically adds a new DSL language on top.
<apeiros_>
I do however use a thin dsl layer to have meaningful test method names
jonr22 has joined #ruby
<apeiros_>
i.e. I have `test "descriptive name here" do … ` instead of `def test_short_name`
tunaCanBruh has joined #ruby
<poushkar>
apeiros_: that’s what minitest/spec does as well, I do neither like rspec, it’s gotten overcomplicated IMHO
rodfersou has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
<apeiros_>
poushkar: ok. I haven't been following those trends :)
juanpablo_ has quit [Ping timeout: 246 seconds]
rodfersou has joined #ruby
<apeiros_>
I thought minitest/spec adds the full rspec semantics on top of minitest
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
ghostpl has joined #ruby
Synthbread has quit [Ping timeout: 272 seconds]
jonr22 has quit [Ping timeout: 244 seconds]
tunaCanBruh has quit [Ping timeout: 240 seconds]
chinmay_dd has quit [Quit: Connection closed for inactivity]
<arup_r>
>> "\\ab".count('\')
<eval-in__>
arup_r => /tmp/execpad-18f1b7cc0f6a/source-18f1b7cc0f6a:2: unterminated string meets end of file ... (https://eval.in/284698)
<arup_r>
What is the problem
<arup_r>
?
TheRinger has joined #ruby
psy_ has joined #ruby
<arup_r>
I wanted to count how many `\` is there ?
<arup_r>
I am missing something.. but not able to get where
abuzze_ has joined #ruby
abuzze has quit [Ping timeout: 264 seconds]
oleo has joined #ruby
<certainty>
poushkar: one reason is that those DSLs (naturally) hide the internals and you often don't know the exact flow of control, you don't always know the bindings and inheritance hirarchies. that can be difficult. also commen refactoring strategies may not be applicable to DSLs. See: http://tenderlovemaking.com/2015/01/23/my-experience-with-minitest-and-rspec.html
<apeiros_>
arup_r: \' is escaped '
<apeiros_>
you want '\\'
<certainty>
common, even
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ptrrr has quit [Remote host closed the connection]
<agent_white>
wasamasa: Sorta ;) -- "My nose itches. Is anyone who has had a nose-itch available to respond to questions about it?"
<agent_white>
^^
Spami_ has joined #ruby
<wasamasa>
it's a pretty good writeup /methinks
ptrrr has joined #ruby
<agent_white>
If you are able to KNOW of IRC, and connect to irc, join channels on IRC, register on IRC... then... god help you if you ask questions of that nature.
<agent_white>
TheRinger: NO offense. But good lord.
maximski has joined #ruby
davejacobs has quit [Ping timeout: 252 seconds]
Spami has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
Skelz0r has quit [Ping timeout: 255 seconds]
jimms has quit [Remote host closed the connection]
mskaesz has joined #ruby
elfuego has quit [Quit: elfuego]
mkaesz has quit [Ping timeout: 250 seconds]
dANO has joined #ruby
byaruhaf has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Jetchisel has quit [Ping timeout: 245 seconds]
Skelz0r has joined #ruby
qba73 has joined #ruby
ikeike443 has quit [Quit: Leaving...]
jlast has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
ninjahatodi has joined #ruby
<ninjahatodi>
Ruby sukcs install gentoo
<agent_white>
NODE
<agent_white>
Youmean
<ninjahatodi>
I cucked your mother last nigh
<ninjahatodi>
T
dANO has quit [Read error: Connection reset by peer]
<ninjahatodi>
Danp is motherboard
<agent_white>
ninjahatodi: Yeah she asked if you were over
<agent_white>
BAM... meh... beh...
dANO has joined #ruby
<ninjahatodi>
She tasted like my grand
ninjahatodi has quit [Client Quit]
iwishiwerearobot has quit [Quit: >:(]
jlast has quit [Ping timeout: 245 seconds]
rodferso1 has quit [Quit: leaving]
iwishiwerearobot has joined #ruby
rodfersou has joined #ruby
aapole has joined #ruby
jlast has joined #ruby
<wasamasa>
wat
silkfox has joined #ruby
roshanavand has joined #ruby
<gregf__>
he's the lelele bot i guess :/
abuzze_ has quit [Remote host closed the connection]
<agent_white>
The "theRinger"? ???
larsam has joined #ruby
DaniG2k has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
commmmodo has joined #ruby
silkfox has quit [Ping timeout: 245 seconds]
gogu2 has joined #ruby
zorak8 has joined #ruby
aapole has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
fedalto has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby
jonr22 has quit [Ping timeout: 240 seconds]
Limix has quit [Quit: Limix]
<avril14th>
yeah
<avril14th>
thought there could be something all pre-baked
<avril14th>
:)
antgel has joined #ruby
agrinb has joined #ruby
zenith__ has quit [Ping timeout: 246 seconds]
jespada has quit [Ping timeout: 256 seconds]
sambao21 has joined #ruby
zacstewart has joined #ruby
tunaCanBruh has joined #ruby
Lewix_ has joined #ruby
CustosL1men has quit [Ping timeout: 264 seconds]
aspiers has quit [Ping timeout: 265 seconds]
alex88 has quit []
mijicd has joined #ruby
davedev2_ has joined #ruby
aspiers has joined #ruby
scottstamp is now known as Zolpidem
davedev24_ has quit [Ping timeout: 252 seconds]
Zolpidem is now known as scottstamp
Lewix has quit [Ping timeout: 244 seconds]
blackmes1 has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 245 seconds]
agarie has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
maximski has joined #ruby
spyderma_ has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
abuzze_ has quit [Ping timeout: 240 seconds]
maximski has quit [Max SendQ exceeded]
momomomomo has quit [Ping timeout: 246 seconds]
maximski has joined #ruby
sieve has quit [Quit: Leaving.]
dfinninger has quit [Remote host closed the connection]
amystephen has quit [Quit: amystephen]
beef-wellington has joined #ruby
amystephen has joined #ruby
kobain has joined #ruby
aganov has quit [Quit: Leaving]
dfinninger has joined #ruby
silkfox has quit [Ping timeout: 250 seconds]
kobain has quit [Max SendQ exceeded]
jlast has joined #ruby
spyderman4g63 has quit [Ping timeout: 255 seconds]
spyderman4g63 has joined #ruby
werelivinginthef has joined #ruby
drkush has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
drkush has joined #ruby
fabrice31 has quit [Remote host closed the connection]
jimms has joined #ruby
fabrice31 has joined #ruby
ghostpl has quit [Remote host closed the connection]
kobain has joined #ruby
rkgudboy has joined #ruby
spyderma_ has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
dmolina1 has quit [Quit: Leaving.]
jlast has joined #ruby
blackmes1 has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
__chris has quit [Ping timeout: 256 seconds]
MasterPiece has quit [Quit: Bye!]
agarie has quit [Remote host closed the connection]
agarie has joined #ruby
ponga has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 245 seconds]
Timba-as has quit [Quit: Be back later ...]
Xiti has quit [Quit: Xiti]
Timba-as has joined #ruby
Xiti has joined #ruby
MasterPiece has joined #ruby
davejacobs has joined #ruby
jenrzzz has joined #ruby
Alina-malina has quit [Ping timeout: 250 seconds]
zenith__ has joined #ruby
Alina-malina has joined #ruby
Takle has quit [Remote host closed the connection]
__chris has joined #ruby
momomomomo has joined #ruby
zachrab has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dorei has joined #ruby
selaruvicheck has joined #ruby
hollywood has quit [Ping timeout: 256 seconds]
selaruvich has quit [Ping timeout: 250 seconds]
fantazo has joined #ruby
davejacobs has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
antgel has quit [Ping timeout: 245 seconds]
Takle_ has joined #ruby
JohnBat26 has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
marienz has joined #ruby
kalusn has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
shredding has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
amacou has quit [Remote host closed the connection]
_Mon_Ouie_ is now known as Mon_Ouie
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
sambao21 has joined #ruby
allenn has quit [Remote host closed the connection]
mijicd has quit [Remote host closed the connection]
fedalto has joined #ruby
tmk1108 has joined #ruby
jimms has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
jimms has joined #ruby
havenwood has quit [Remote host closed the connection]
eckod has joined #ruby
__chris has quit [Ping timeout: 252 seconds]
<eckod>
hey guys, we use newrelic apm to monitor our rails app, but the costs can be pretty ridiculous. do you have suggestions on something comporable but for a bit less?
Freetekton was kicked from #ruby by apeiros [nope]
scripore has joined #ruby
sambao21 has joined #ruby
<apeiros>
I suggest not to click that link.
stunder has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Senjai>
apeiros: Thank you
<apeiros>
gladly
jerematic has joined #ruby
x77686d has quit [Ping timeout: 265 seconds]
jerematic has quit [Remote host closed the connection]
jerematic has joined #ruby
bricker has joined #ruby
Lildirt has quit [Read error: Connection reset by peer]
<gregf__>
heh
tmk1108 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kruppe has quit [Ping timeout: 255 seconds]
zachrab has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 240 seconds]
agarie has joined #ruby
__chris has quit [Ping timeout: 256 seconds]
Lildirt has joined #ruby
zachrab has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Spami_ has quit [Quit: Leaving]
Spami has joined #ruby
Jetchisel has joined #ruby
spider-mario has joined #ruby
georgesmith has joined #ruby
jaequery has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
ponga has joined #ruby
Lemur has joined #ruby
__chris has joined #ruby
apurcell has joined #ruby
ismaelga has joined #ruby
bogdanteleaga has joined #ruby
jkline has quit [Quit: jkline]
apurcell has quit [Read error: Connection reset by peer]
zachrab has joined #ruby
aqabiz has joined #ruby
aqabiz has quit [Max SendQ exceeded]
apurcell has joined #ruby
aqabiz has joined #ruby
ghostmoth has joined #ruby
aqabiz has quit [Max SendQ exceeded]
shredding has quit [Quit: shredding]
aqabiz has joined #ruby
aqabiz has quit [Max SendQ exceeded]
Morkel has joined #ruby
aqabiz has joined #ruby
ponga has quit [Ping timeout: 252 seconds]
aqabiz has quit [Remote host closed the connection]
aqabiz has joined #ruby
aqabiz has quit [Max SendQ exceeded]
rbennacer has quit [Remote host closed the connection]
aqabiz has joined #ruby
aqabiz has quit [Max SendQ exceeded]
lolmaus has joined #ruby
aqabiz has joined #ruby
aqabiz has quit [Max SendQ exceeded]
apurcell has quit [Ping timeout: 245 seconds]
Zai00 has quit [Quit: Zai00]
tens0r has joined #ruby
tens0r has quit [Max SendQ exceeded]
byprdct has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
Kruppe- has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Synthead has quit [Quit: Leaving]
ptrrr has quit [Quit: ptrrr]
tens0r has joined #ruby
tens0r has quit [Max SendQ exceeded]
pengin has joined #ruby
b4rbz has joined #ruby
mistermocha has joined #ruby
Lemur has quit [Remote host closed the connection]
Lemur has joined #ruby
werelivinginthef has joined #ruby
devbug has joined #ruby
Kruppe- has quit [Ping timeout: 255 seconds]
ghr has quit [Ping timeout: 250 seconds]
tjohnson has joined #ruby
scripore has joined #ruby
devbug has quit [Client Quit]
devbug has joined #ruby
chthon has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
JDiPierro has quit [Remote host closed the connection]
mmoretti has joined #ruby
Lemur has quit [Ping timeout: 245 seconds]
pandaant has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 250 seconds]
WillAmes has quit [Remote host closed the connection]
blueOxigen has joined #ruby
n008f4g_ has quit [Ping timeout: 245 seconds]
<b4rbz>
i have an internship interview today that requires me to pair program with someone in ruby. thing is, I hardly know any ruby
aclearma_ has quit [Read error: Connection reset by peer]
WillAmes has joined #ruby
<b4rbz>
what should i do
aclearman037 has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
rkgudboy has quit [Ping timeout: 246 seconds]
phutchins has joined #ruby
<dorei>
pretend to know ruby :p
lsmola has quit [Ping timeout: 250 seconds]
<centrx>
b4rbz, Why did you apply/how did you get the interview?
<centrx>
b4rbz, Seems like they should be flexible about the language if it wasn't part of the requirements at the beginning
Fire-Dragon-DoL has joined #ruby
<b4rbz>
centrx: they build websites for startups
<b4rbz>
i am decent at building websites
<b4rbz>
and a couple of people from my school got a job there after they graduated and they put in a good word for me
lolmaus has quit [Quit: Konversation terminated!]
<apeiros>
if you haven't lied to them about your abilities - nothing to fear. focus on your strengths.
<b4rbz>
they use ruby on rails
<centrx>
b4rbz, Yeah just make it clear that you are smart/quick, have skills in other languages, able to get things done, but they shouldn't expect too much out of this pair programming
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
__chris has quit []
<b4rbz>
centrx: thanks for the link, ill read through it
AlexRussia has quit [Ping timeout: 252 seconds]
<b4rbz>
apeiros: I don't think they expect me to know rails by today, but I'm pretty sure they expect me to know ruby. that's the thing im worried about
<centrx>
b4rbz, Are you good at getting coffee for others?
<b4rbz>
are there any interactive ruby tutorials I could do? i've done the codecademy
<b4rbz>
centrx: I'm the best at it.
<centrx>
^ #1 Intern
tunaCanBruh has joined #ruby
<b4rbz>
sometimes I even bring a donut or two along with me
<centrx>
wow I'd like to hire you right now
<b4rbz>
looking forward to it, boss! when do i start
bjarn has joined #ruby
jonr22 has joined #ruby
cpt_yossarian has quit [Ping timeout: 252 seconds]
bjarn has left #ruby [#ruby]
<centrx>
hold on, I have a call with Steve Jobs in 5 minutes
luriv has joined #ruby
rbennacer has joined #ruby
<eam>
we have an oncall rotation for who's turn it is to bring donuts
Lewix_ has quit [Remote host closed the connection]
<b4rbz>
I'll get em next week eam
mary5030 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
spyderman4g63 has joined #ruby
rbennacer has quit [Remote host closed the connection]
apeiros_ has joined #ruby
perrier has quit [Remote host closed the connection]
perrier has joined #ruby
<Fire-Dragon-DoL>
are there any standard gem for filesystem watching in ruby? I found a lot, not sure which should I pick, I was aiming at "listen" but they are looking for maintainers S:
rap has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
selaruvicheck has quit [Read error: Connection reset by peer]
patrick99e99 has joined #ruby
<centrx>
Fire-Dragon-DoL, Guard/Listen are still very commonly used, I don't think they are going anywhere. There's also rb-inotify
zachrab has quit [Remote host closed the connection]
georgesmith has quit [Quit: georgesmith]
<centrx>
Fire-Dragon-DoL, You can try searching on Ruby Toolbox, but apparently there is no category for File Monitoring
<Fire-Dragon-DoL>
centrx: I watched inotify but I need linux (actually ubuntu) and os x support, so I'll stick with listen probably
jobewan has joined #ruby
zachrab has joined #ruby
User458764 has joined #ruby
agrinb has joined #ruby
akc has joined #ruby
rdark_ has quit [Quit: leaving]
akc has left #ruby [#ruby]
MasterPiece has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
bunbury has joined #ruby
towski_ has joined #ruby
tus has joined #ruby
zachrab has quit [Remote host closed the connection]
zachrab has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
hollywood has quit [Quit: Leaving]
jshultz has joined #ruby
toretore has quit [Quit: Leaving]
zachrab has quit [Ping timeout: 245 seconds]
fantazo has quit [Quit: Verlassend]
rkgudboy has joined #ruby
ghr has joined #ruby
rbennacer has joined #ruby
Limix has joined #ruby
<b4rbz>
So does anyone have any interactive ruby tutorials I can use?
<monsieurp>
I'm learning Ruby too and pry turns out to be quite useful
<jefus>
pry is amazing
rbennacer has quit [Remote host closed the connection]
<monsieurp>
someone in this channel recommended it :)
mary5030 has quit [Remote host closed the connection]
deuterium has quit [Quit: zzZZZzzz..]
<b4rbz>
thank you guys!
diegoviola has quit [Remote host closed the connection]
<b4rbz>
i appreciate it. if I get the job, you guys are all getting cookies
<bricker>
Is there a library in Ruby that will generate a UUID from most significant and least significant bits, so I can for example take an integer and convert to a UUID, and then convert back? Like this class in Java: http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html
<bricker>
so far google hasn't turned anything up so I'm not hopefuly
<bricker>
hopeful*
workmad3 has quit [Ping timeout: 252 seconds]
<apeiros>
bricker: a UUID is just a 128bit int. Bignum does that for you already.
<pipework>
Yeah, I don't really know. SecureRandom uses PRNGs. I'm not aware of any libraries that are implemented whale that do what you want.
<Senjai>
Aye
<mitchellhenke>
hashids is similar?
gsd has joined #ruby
rkgudboy has quit [Ping timeout: 265 seconds]
towski_ has quit [Remote host closed the connection]
<pipework>
Consider creating a mapping yourself of the values you have to the UUID you generate?
<pipework>
Not super duper, but might solve your problem.
versatiletech has joined #ruby
<bricker>
pipework: yeah I think that's what I'll end up doing
ghr has joined #ruby
posixpascal has joined #ruby
tubuliferous has joined #ruby
sevvie has quit [Ping timeout: 255 seconds]
russt has quit [Quit: russt]
fabrice31 has joined #ruby
<bricker>
by bit-foo isn't strong enough to implement it myself
<bricker>
my*
<apeiros>
bricker: then start and ask here. we will help.
<apeiros>
you'll probably only need Integer#<<, #>> and #|
<pipework>
I'd be more concerned with coming up with a good UUID implementation that does what you need.
<apeiros>
maybe some pack/unpack as Senjai already said
<pipework>
Less so about the bit parts.
Takle_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
<apeiros>
pipework: for adding entropy, they can always fall back to securerandom
<pipework>
apeiros: I don't think it would work like that.
JDiPierro has quit [Ping timeout: 246 seconds]
<pipework>
He wants bi-directional translation from UUID to the original state.
<apeiros>
pipework: unless I misunderstand what they want, that'll work just fine :)
<apeiros>
yeah, trivial
zorak_ has quit [Ping timeout: 246 seconds]
<apeiros>
just read the relevant bits again
<bricker>
pipework: basically my only requirement is that I need to send a GUID to service, and when the service hits us back, be able to find that record. There are lots of ways of achieving this, I just figured if I could do it without an extra database column it'd be better.
<pipework>
How do you convert the UUID back to the bits?
<pipework>
bricker: What I do is store the guid.
sambao21 has joined #ruby
<apeiros>
pipework: as said, a uuid is just a 128bit int
leafybasil has quit [Remote host closed the connection]
<pipework>
apeiros: So he'd need to store the bits and the uuid anyways?
stunder has quit [Ping timeout: 250 seconds]
<apeiros>
pipework: no, they can treat them as ephemeral data
<apeiros>
but I don't know what they plan to do
<pipework>
I'm not convinced, but I'm also not the person who needs to be convinced.
<apeiros>
bricker: really? just store the damn uuid :-p
athan has quit [Ping timeout: 246 seconds]
<apeiros>
bricker: almost certainly going to be the least headache.
fabrice31 has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 246 seconds]
<pipework>
bricker: I'd just store the uuid. What we do at work is we store the ID for database/application internal referencing, and use the uuid as the external reference for the data.
mary5030_ has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
pandaant has quit [Client Quit]
gfawcettpq1 has quit [Ping timeout: 246 seconds]
pandaant has joined #ruby
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
jenrzzz has quit [Ping timeout: 250 seconds]
MasterPiece has joined #ruby
chrishough has joined #ruby
voodoofish430 has left #ruby [#ruby]
gfawcettpq1 has joined #ruby
lampd1_ has joined #ruby
spyderma_ has quit [Remote host closed the connection]
lolmaus has joined #ruby
devbug has joined #ruby
zachrab has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
lampd1 has quit [Ping timeout: 265 seconds]
dfinninger has joined #ruby
djcp has left #ruby ["WeeChat 1.0.1"]
Darryl___ has quit [Quit: Connection closed for inactivity]
spyderma_ has joined #ruby
reset has joined #ruby
roshanavand has joined #ruby
mfamos has quit [Quit: mfamos]
baweaver has joined #ruby
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deepu has joined #ruby
atomical has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
lampd1_ is now known as lampd1
<deepu>
gem env is pointing :sources => ["http://rubygems.org/"] but when I try to install a gem it is looking at another repository. Any idea where that repository coming from?
blackmes1 has quit [Ping timeout: 255 seconds]
centrx has joined #ruby
enebo has quit [Quit: enebo]
mary5030 has joined #ruby
tunaCanBruh has joined #ruby
DonOtreply has joined #ruby
kurtf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
greenbagels has joined #ruby
<deepu>
anyone?
apurcell has joined #ruby
<shevy>
deepu hmm
<shevy>
deepu you mean you run the command "gem env" ?
Timba-as_ has joined #ruby
Timba-as_ has quit [Client Quit]
<apeiros>
deepu: how do you install the gem and how do you figure it's looking elsewhere?
<shevy>
I am wondering about this because when I do "gem env" I do not get :sources entry
JDiPierro has joined #ruby
munke has joined #ruby
yfeldblum has joined #ruby
Timba-as has quit [Ping timeout: 246 seconds]
fantazo has joined #ruby
ixti has quit [Ping timeout: 255 seconds]
sambao21 has joined #ruby
apurcell has quit [Ping timeout: 244 seconds]
tunaCanBruh has quit [Ping timeout: 264 seconds]
shellfu has quit [Read error: Connection reset by peer]
parduse has joined #ruby
Crisix has joined #ruby
cpruitt has quit [Quit: cpruitt]
blackmes1 has joined #ruby
kirun has joined #ruby
rakm has left #ruby [#ruby]
Morkel has quit [Quit: Morkel]
devbug has quit [Ping timeout: 245 seconds]
mitchellhenke has quit [Read error: Connection reset by peer]
spyderma_ has quit [Remote host closed the connection]
athan has quit [Ping timeout: 264 seconds]
thef0ster has joined #ruby
agarie has quit []
mitchellhenke has joined #ruby
<thef0ster>
I am having some syntax issue with doing an OR inside of an enumerable select, can't quite figure out why it's not working, http://pastebin.com/Sd7n80pD
<apeiros>
thef0ster: use parens
spyderman4g63 has joined #ruby
<thef0ster>
apeiros: also tried that
<apeiros>
gist it please? (and gist, not that dreadful pastebin.com)
kurtf has joined #ruby
spyderman4g63 has quit [Read error: Connection reset by peer]
<thef0ster>
apeiros: sorry got it, i tried (exp || exp1), but doing (exp1) || (exp2) worked
spyderman4g63 has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
phutchins has quit [Ping timeout: 245 seconds]
exadeci has quit [Quit: Connection closed for inactivity]
icebourg has joined #ruby
blizzy has joined #ruby
jonr22 has joined #ruby
baweaver has quit [Remote host closed the connection]
jimms has joined #ruby
maximski has quit []
saltsa has quit [Ping timeout: 264 seconds]
terlar has quit [Ping timeout: 250 seconds]
startupality has joined #ruby
parduse has quit []
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gfawcettpq1 is now known as gfawcettpw
gfawcettpw is now known as gfawcettpq
parduse has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
athan has joined #ruby
lid_ has joined #ruby
zenith__ has joined #ruby
<deepu>
I figured out what I was doing wrong
<deepu>
my .gemrc had wrong info
<deepu>
I'm using hipchat gem. anyone knows how to add userid/password? I'm getting access denied
Channel6 has joined #ruby
Musashi007 has joined #ruby
dkphenom has joined #ruby
saltsa has joined #ruby
allcentury has joined #ruby
thatslifeson has quit [Read error: Connection reset by peer]
davedev2_ has quit [Ping timeout: 264 seconds]
dixie__ has joined #ruby
graft has quit [Ping timeout: 246 seconds]
mferrier has quit []
shellfu has joined #ruby
kirun has joined #ruby
mxrguspxrt has joined #ruby
dfinninger has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
shredding has quit [Quit: shredding]
rodfersou has quit [Quit: leaving]
jenrzzz has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
Jetchisel has quit [Ping timeout: 264 seconds]
niko has quit [Quit: leaving]
niko has joined #ruby
naftilos76 has joined #ruby
zachrab has joined #ruby
sambao21 has joined #ruby
jkline has joined #ruby
diegoviola has joined #ruby
sambao21 has quit [Client Quit]
davejacobs has joined #ruby
ixti has joined #ruby
<arup_r>
One question from S.O.L.I.D --- Can anyone help me to understand "Interface Segregation Principle" in Ruby ? As Ruby don't have anything called Interface, does this principal makes sense in Ruby ?
yokel has quit [Ping timeout: 265 seconds]
bricker has quit [Ping timeout: 246 seconds]
mxrguspxrt has quit [Remote host closed the connection]
cocotton_ has joined #ruby
zachrab has quit [Ping timeout: 252 seconds]
MasterPiece has quit [Remote host closed the connection]
goodenough has quit [Remote host closed the connection]
sambao21 has joined #ruby
<pipework>
arup_r: Of course. Ruby has interfaces, they just aren't explicit concepts usually.
<pipework>
They're the API to your objects.
<pipework>
Public methods.
yokel has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
davejacobs has quit [Ping timeout: 245 seconds]
<arup_r>
pipework: Would you please help me to understand this by giving a example ?
<pipework>
arup_r: Objects have methods, right? Some are public. When an object has public methods, that's equivocal to the object having a public interface.
cocotton has quit [Ping timeout: 240 seconds]
<arup_r>
humm
<centrx>
body <-> face <-> inter <-> face <-> body
gfawcettpq has quit [Ping timeout: 264 seconds]
tunaCanBruh has joined #ruby
<pipework>
Miaow, certain sets of method signatures (names and their arguments) can be grouped into logical units and called an 'interface'. Any object that implements that set of method signatures is said to have that interface.
dixie__ has quit [Remote host closed the connection]
zcreative has quit [Quit: (null)]
centrx has quit [Quit: Shutting down, Please wait...]
Lewix has joined #ruby
<arup_r>
group in modules or class ?
<arup_r>
pipework:
mxrguspxrt has joined #ruby
tylersmith has quit []
<pipework>
arup_r: Doesn't matter.
<pipework>
It's logical grouping.
<pipework>
like, brainthink, not codereal.
pdoherty has quit [Quit: Leaving]
sevvie has quit [Ping timeout: 255 seconds]
baweaver has joined #ruby
scripore has joined #ruby
rbennacer has quit [Remote host closed the connection]
shazaum has quit [Quit: This computer has gone to sleep]
<arup_r>
um
ismaelga has quit [Remote host closed the connection]
Hijiri has joined #ruby
pietr0 has joined #ruby
ldnunes has quit [Quit: Leaving]
ismaelga has joined #ruby
jkline has quit [Quit: jkline]
sevvie has joined #ruby
<atmosx>
arup_r: also, "if something" equals "if something == true". Since you seem to be obsessed with condensed code.
<arup_r>
means?
<atmosx>
forget it
<atmosx>
I'm tired
<atmosx>
had a long day
<atmosx>
know what, I'm gonna watch a movie.
MasterPiece has joined #ruby
<arup_r>
humm good
<apeiros>
have fun atmosx
JDiPierro has quit []
<atmosx>
apeiros: thanks :-) I have an XBMC HTPC (atom based) and a 40" inch tv. hehe
<atmosx>
bbl
<apeiros>
arup_r: Enumerable requires an Interface
dfinninger has joined #ruby
<apeiros>
the interface mandates .each. in newer rubies I think it also can make use of an optional .size
<apeiros>
arup_r: same for Comparable
<apeiros>
in many cases, methods want an interface which mandates .call
<apeiros>
see the whole rack stack
freerobby has quit [Quit: Leaving.]
<apeiros>
as pipework said, there's just nothing syntactical in ruby to codify that interface.
<apeiros>
atmosx: nice
<arup_r>
apeiros: May be I don't understand the principal...
roger_rabbit has quit [Ping timeout: 246 seconds]
<arup_r>
I mentyioned
graft has joined #ruby
graft has joined #ruby
wallerdev has quit [Quit: wallerdev]
blackmes1 has quit [Ping timeout: 255 seconds]
pika_pika has quit [Ping timeout: 245 seconds]
mweshi has joined #ruby
Alina-malina has joined #ruby
Timba-as_ has joined #ruby
rbennacer has joined #ruby
Takle has joined #ruby
dixie__ has joined #ruby
ponga has joined #ruby
dixie__ has quit [Remote host closed the connection]
tvw has quit []
Guest46730 has joined #ruby
mudtose has joined #ruby
mweshi has quit [Client Quit]
Beoran has joined #ruby
maximski has joined #ruby
cpt_yossarian has joined #ruby
codeurge has joined #ruby
goodenough has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
dixie__ has joined #ruby
rsavage has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
danman has joined #ruby
nobitanobi has joined #ruby
zenith__ has quit [Ping timeout: 256 seconds]
fedalto has quit [Ping timeout: 255 seconds]
Guest46730 has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
dixie___ has joined #ruby
nobitanobi has quit [Client Quit]
iwishiwerearobot has joined #ruby
cjim has joined #ruby
timanema has joined #ruby
<djellemah>
arup_r: every object already meets the requirements for "Interface Segregation Principle", because ruby is dynamically typed. The 'interface' that an client depends on is precisely the methods it calls on another object. No need for declarations of interfaces, you just call the methods on the other object.
davejacobs has joined #ruby
swgillespie has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
cocotton_ has quit [Remote host closed the connection]
iwishiwerearobot has quit [Ping timeout: 256 seconds]
<arup_r>
djellemah: thanks... Actually has Java or C# code.. so not able to understand it Ruby way... Didn't get any Ruby equivalent code to understand this problem and solution of it..
Kricir has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
<strsep>
Hmm.
<arup_r>
**wikipedia has
ismaelga has quit [Remote host closed the connection]
<arup_r>
Java and C# code
athan has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
athan has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
davedev24_ has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
roshanavand has quit [Remote host closed the connection]
<djellemah>
arup_r: be careful of applying OO principles from static-typed languages to ruby. More than a few are unnecessary and/or irrelevant.
hostess has quit [Quit: No Ping reply in 180 seconds.]
KramerC has joined #ruby
raphaels1 has joined #ruby
robert__ has joined #ruby
robert__ has quit [Read error: No route to host]
speaking1ode has quit [Ping timeout: 255 seconds]
robert__ has joined #ruby
lampd1 has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
hostess has joined #ruby
<aob_>
well, i have a bunch of api calls which return structs, one key of which I am interested, which contains an array of structs, one key of which I am interested in.
werelivinginthef has quit [Remote host closed the connection]
CpuID2 has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<aob_>
and i want an array of the values those deeply keys
kostitas has joined #ruby
jerius has quit []
cphrmky has quit [Max SendQ exceeded]
timonv has quit [Ping timeout: 264 seconds]
<pipework>
#select is cool
<jhass>
that didn't make it any clearer for me and seems pretty different from your example
raphaelss has quit [Disconnected by services]
raphaels1 is now known as raphaelss
Tuxero has joined #ruby
kostitas has left #ruby [#ruby]
<aob_>
ok... so one api call returns a struct; if I call 'people
ponga has quit [Ping timeout: 246 seconds]
slushie|| has joined #ruby
<aob_>
on that struct, get a array of structs, one per person
baweaver has quit [Remote host closed the connection]
<aob_>
each of those people structs have an age, which is an integer
sent1nel has joined #ruby
zachrab has joined #ruby
<aob_>
i make 59 api calls
kostitas_ has joined #ruby
kostitas_ has quit [Read error: Connection reset by peer]
<jhass>
so it's [<Person age=1>, <Person age=2>] in fact?
TinkerTyper has quit [Ping timeout: 256 seconds]
<aob_>
jhass: yes that's the result of the people call on the struct i get back from one api call
CpuID2 has quit [Quit: This computer has gone to sleep]