apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
seppuku has joined #ruby
njs126 has joined #ruby
axsuul has joined #ruby
jdj_dk has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 240 seconds]
seppuku has quit [Ping timeout: 240 seconds]
testcore has quit [Quit: [BX] Captain Kangaroo uses BitchX. Shouldn't you?]
charliesome has joined #ruby
j_mcnally has quit [Ping timeout: 260 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seppuku has joined #ruby
maletor_ has joined #ruby
dwayhs has joined #ruby
Zesty has joined #ruby
dwayhs has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: i've nodded off.]
maletor has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
tacos1de has quit [Ping timeout: 264 seconds]
ddv has quit [Ping timeout: 245 seconds]
seppuku has quit [Ping timeout: 260 seconds]
seppuku has joined #ruby
johnrover has quit [Quit: johnrover]
terrellt has quit [Quit: Leaving...]
<lagweezle> How does one specify to Kernel#open that you want to open a file read-only in text mode? The docs say something about specifying them seperately, but I can't make sense of that or find an example of specifying more than one value for the mode.
phutchins has quit [Ping timeout: 240 seconds]
britneywright has joined #ruby
ddv has joined #ruby
djbkd has quit [Remote host closed the connection]
<zenspider> text-mode?
babykosh has joined #ruby
tacos1de has joined #ruby
seppuku has quit [Ping timeout: 240 seconds]
dopie has quit [Remote host closed the connection]
rn__ has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
seppuku has joined #ruby
djbkd has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
whowantstolivefo has quit [Remote host closed the connection]
jmbrown412 has quit [Remote host closed the connection]
jmbrown412 has joined #ruby
fabrice31 has joined #ruby
Aryasam has quit [Ping timeout: 245 seconds]
babykosh has quit [Quit: babykosh]
jdj_dk has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
tyfighter has joined #ruby
maletor_ has quit [Quit: Computer has gone to sleep.]
<lagweezle> vs binary
AntelopeSalad_ has joined #ruby
Aryasam has joined #ruby
<zenspider> isn't read only + text-mode the default for open?
jmbrown412 has quit [Ping timeout: 260 seconds]
babykosh has joined #ruby
tvw has quit []
fabrice31 has quit [Ping timeout: 264 seconds]
Deele has quit [Ping timeout: 255 seconds]
<zenspider> otherwise `ri IO.new`
Dude007 has quit [Remote host closed the connection]
<lagweezle> I think so.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lagweezle> Flipping that about, how would I specify read-only + binary or such?
zz_karupa is now known as karupa
Dude007 has joined #ruby
AntelopeSalad_ has quit [Client Quit]
<lagweezle> I wish the docs for IO.new for modes made sense to me. :/
<zenspider> `ri IO.new` says it very clearly
oo_ has joined #ruby
jdj_dk has quit [Ping timeout: 272 seconds]
phoo1234567 has quit [Quit: Leaving]
baroquebobcat has joined #ruby
oo_ has quit [Client Quit]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nanoyak has quit [Quit: Computer has gone to sleep.]
oo_ has joined #ruby
bruno- has joined #ruby
<lagweezle> That may be, but I'm still failing to understand.
lewix has joined #ruby
jack_rabbit has joined #ruby
djbkd has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 240 seconds]
<zenspider> what have you tried?
deepy has quit [Excess Flood]
enebo has joined #ruby
ejnahc_ has quit [Remote host closed the connection]
deepy has joined #ruby
oo_ has quit [Remote host closed the connection]
deepy is now known as Guest55756
ejnahc has joined #ruby
Takle has joined #ruby
<lagweezle> This is a good question. I was last able to work with this about 8 hours ago and can't find my notes.
<lagweezle> I remember something about wondering how I'd specify mode: twice...
Hobogrammer has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 272 seconds]
ferr has quit [Ping timeout: 240 seconds]
Kricir has joined #ruby
jprovazn has quit [Ping timeout: 260 seconds]
<zenspider> not sure why you'd do that.
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
learner has joined #ruby
learner is now known as moore
Takle has quit [Ping timeout: 240 seconds]
<moore> hi, I am following through a tutorial using rspec and am struggling with syntax
marr has quit []
<moore> when I use @driver.find_element(css: '.flash.success').displayed?.should be_true
<moore> It tells me that I should use expect
<moore> how do I use expect in this casE?
<zenspider> expect(thingy).to be_true or somesuch
<zenspider> the tutorial is using an older style
<zenspider> you might want to uninstall rspec (and family) and install an older version
NinoScript has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<zenspider> or there might be a plugin gem to make the old style still work
<zenspider> I dunno... I use a different test framework :)
<moore> ok, i tried that expect(thingy), sec, let me paste
mgberlin has joined #ruby
<zenspider> < 4 lines
larsam has joined #ruby
Kricir has quit [Ping timeout: 256 seconds]
<zenspider> otherwise use a gist
<zenspider> (or other paste service)
<moore> ok
advorak has joined #ruby
phutchins has joined #ruby
tyfighter has quit [Quit: <3]
<moore> it is a single line, so hope this is ok
nanoyak has joined #ruby
<moore> expect(@driver.find_element(css: '.flash.success').displayed?) be_true
<moore> that does not work
rn__ has quit [Ping timeout: 240 seconds]
andrewjanssen has joined #ruby
<moore> full code - http://pastebin.com/XE7QwW08
oo_ has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cache_Money has joined #ruby
Ankhers has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
<moore> figured it out, needed .to
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Channel6 has joined #ruby
<daniellutz> and the .to ?
halogenandtoast has joined #ruby
enebo has quit [Quit: enebo]
Hanmac has joined #ruby
ghr has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<daniellutz> :)
vyorkin2 has quit [Ping timeout: 240 seconds]
<moore> :-)
mikepack has joined #ruby
<moore> daniellutz - actually, what do you mean .to ?
<jxport> Is there a standard or otherwise "good" library for stuff relating to shapes/geometry?
DivineEntity has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
sevenseacat has joined #ruby
<jxport> I'm looking for functionality such as "Rectangle of width and height" and "Are the co-ordinates of this line on this rectangle"
baroquebobcat has quit [Quit: baroquebobcat]
CodeBunny has quit [Ping timeout: 240 seconds]
<wasamasa> describe "stuff" in greater detail
baroquebobcat has joined #ruby
<wasamasa> just geometry (aka figuring out where stuff is)
<jxport> wasamasa: the use case above
<wasamasa> or drawing on planes?
Vivekananda_y510 has quit [Ping timeout: 264 seconds]
<wasamasa> or symbolic computation?
<jxport> wasamasa: geometry, essentially
pietr0 has quit [Quit: pietr0]
<wasamasa> then the first example doesn't make much sense
chrishough has quit [Quit: chrishough]
ghr has quit [Ping timeout: 256 seconds]
<wasamasa> second one a lot more
ndrei has joined #ruby
pietr0 has joined #ruby
<jxport> wasamasa: okay - anything you might know of, then?
pietr0 has quit [Client Quit]
moore has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
stytown has quit [Quit: stytown]
<wasamasa> well, other than brain.so and data types holding your coordinates
Aryasam has quit [Ping timeout: 240 seconds]
<jxport> brain.so ?
andrewjanssen has quit [Quit: Leaving...]
Noob101 has joined #ruby
edgarjs is now known as edgarjs_afk
<wasamasa> that squishy thing in your skull
<jxport> Oh
baroquebobcat has quit [Client Quit]
<jxport> Mine isn't a shared object
<Noob101> How can I personal message someone if they're not in the same room as me?
<wasamasa> I bet your limbs think otherwise
<Noob101> Irrelevant question, I apologize!.
<wasamasa> Noob101: just use /query
<wasamasa> Noob101: it works if they're on the same network
<wasamasa> Noob101: otherwise, switch to the network they're on and try again
SilkFox has quit [Ping timeout: 256 seconds]
<Noob101> thanks wasamasa
<jxport> wasamasa: but, yeah, I guess I could implement it from scratch - it just seems senseless to re-wheel fundamental stuff like "does rectangle X cover rectangle Y"
<Noob101> you're smart :D
<wasamasa> Noob101: try /query greybot for example
<wasamasa> Noob101: and all of a sudden you talk to #bash's bot
<Noob101> Hi
<Noob101> I did it
<Noob101> but nothing happened
Prandium has joined #ruby
<Noob101> it works
<Noob101> forget it
<Noob101> wasamasa: thanks!!!
ndrei has quit [Ping timeout: 245 seconds]
Noob101 has quit [Client Quit]
<wasamasa> jxport: I just used my infinitely powerful STFW skills and found this: https://github.com/DanielVartanov/ruby-geometry
<wasamasa> jxport: looks like an aid to take some load away from brain.so :P
<wasamasa> jxport: the only missing thing I've spotted is support for circles which is pretty weird, but whatever
DivineEntity has quit [Quit: Lost terminal]
charliesome has joined #ruby
* wasamasa is off
dwayhs has joined #ruby
jonathanwallace has joined #ruby
alem0lars has joined #ruby
JJMalina has quit [Quit: Leaving...]
alem0lars has quit [Client Quit]
tomaw has joined #ruby
dwayhs has quit [Ping timeout: 240 seconds]
francisfish has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
jshultz has quit [Quit: Connection closed for inactivity]
s0n1c- has left #ruby [#ruby]
babykosh has quit [Quit: babykosh]
ner0x has joined #ruby
Vivekananda_y510 has joined #ruby
francisfish has quit [Ping timeout: 240 seconds]
endash has quit [Quit: endash]
nateberkopec has joined #ruby
rokob has quit [Remote host closed the connection]
babykosh has joined #ruby
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
zkay11 has quit [Quit: Leaving.]
vt102 has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
Sirupsen has joined #ruby
jkline has quit [Quit: jkline]
io_syl has quit [Ping timeout: 240 seconds]
tmtwd has joined #ruby
<agent_white> Hello errbady.
tomaw has quit [*.net *.split]
ddv has quit [*.net *.split]
pasties has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
j416 has quit [*.net *.split]
snapcase has quit [*.net *.split]
majoh has quit [*.net *.split]
Mattias has quit [*.net *.split]
hinderaker has quit [*.net *.split]
matson has quit [*.net *.split]
[42] has quit [*.net *.split]
niharvey has quit [*.net *.split]
parus has quit [*.net *.split]
Sthebig has quit [*.net *.split]
cherry_lin has quit [*.net *.split]
Meeh has quit [*.net *.split]
ndrst has quit [*.net *.split]
rtl has quit [*.net *.split]
vali has quit [*.net *.split]
ozzloy has quit [*.net *.split]
verto has quit [*.net *.split]
nw has quit [*.net *.split]
ehlovader has quit [*.net *.split]
chridal has quit [*.net *.split]
Scient has quit [*.net *.split]
danshultz has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
mosez has quit [*.net *.split]
ponyfleisch has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
blackjid has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
ViperChief has quit [*.net *.split]
callumacrae has quit [*.net *.split]
Derander_ has quit [*.net *.split]
gilesw has quit [*.net *.split]
nisstyre has quit [*.net *.split]
gimpygoo has quit [*.net *.split]
sputnik13 has quit [*.net *.split]
Liothen has quit [*.net *.split]
epochwolf has quit [*.net *.split]
jumblemuddle has quit [*.net *.split]
shevy has quit [*.net *.split]
troter has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
mroth has quit [*.net *.split]
nighter has quit [*.net *.split]
Nightmare has quit [*.net *.split]
gyre007 has quit [*.net *.split]
zenojis has quit [*.net *.split]
PhilK has quit [*.net *.split]
LACP has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
intnsity has quit [*.net *.split]
mjmac has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
sfr^ has quit [*.net *.split]
cschneid has quit [*.net *.split]
ikanobori has quit [*.net *.split]
pusewicz has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
msch has quit [*.net *.split]
Kamilion has quit [*.net *.split]
bjeanes has quit [*.net *.split]
dukedave has quit [*.net *.split]
zartoosh has quit [*.net *.split]
initself_ has quit [*.net *.split]
Anarch has quit [*.net *.split]
acalewin has quit [*.net *.split]
ryotarai has quit [*.net *.split]
FL1SK has quit [*.net *.split]
george2 has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
ELLIOTTCABLE has quit [*.net *.split]
jamo_ has quit [*.net *.split]
Radar has quit [*.net *.split]
gremax has quit [*.net *.split]
bcavileer___ has quit [*.net *.split]
DefV has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
jeregrine has quit [*.net *.split]
hostess has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
rfv has quit [*.net *.split]
paulog has quit [*.net *.split]
vcoinminer____ has quit [*.net *.split]
genta has quit [*.net *.split]
charles81____ has quit [*.net *.split]
rickruby__ has quit [*.net *.split]
lectrick has quit [*.net *.split]
dandrade has quit [*.net *.split]
glowcoil has quit [*.net *.split]
dmoe______ has quit [*.net *.split]
Karunamon has quit [*.net *.split]
jpinnix has quit [*.net *.split]
Wayneoween has quit [*.net *.split]
m_3 has quit [*.net *.split]
CJD14___ has quit [*.net *.split]
frode15243 has quit [*.net *.split]
schaary|afk has quit [*.net *.split]
callenb has quit [*.net *.split]
ceej has quit [*.net *.split]
dioms_ has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
Macacity has quit [*.net *.split]
guilleiguaran__ has quit [*.net *.split]
manacit has quit [*.net *.split]
kenichi has quit [*.net *.split]
Paradox has quit [*.net *.split]
csq has quit [*.net *.split]
aetaric has quit [*.net *.split]
dyreshark has quit [*.net *.split]
lfox has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
dmarr has quit [*.net *.split]
cek has quit [*.net *.split]
lazyguru has quit [*.net *.split]
xsdg has quit [*.net *.split]
juni0r has quit [*.net *.split]
Cache_Money has quit [*.net *.split]
gregf has quit [*.net *.split]
apeiros has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
dRbiG has quit [*.net *.split]
zalmoxes has quit [*.net *.split]
tonini has quit [*.net *.split]
csfrancis has quit [*.net *.split]
lkba has quit [*.net *.split]
bubbajones has quit [*.net *.split]
CodeLicker has quit [*.net *.split]
awkwords has quit [*.net *.split]
yacks has quit [*.net *.split]
casheew_ has quit [*.net *.split]
casheew has quit [*.net *.split]
drawingthesun has quit [*.net *.split]
kith has quit [*.net *.split]
frankS2 has quit [*.net *.split]
fluve has quit [*.net *.split]
felipe has quit [*.net *.split]
lolmaus has quit [*.net *.split]
Guest9909 has quit [*.net *.split]
ylluminarious|aw has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
helpa has quit [*.net *.split]
GGMethos has quit [*.net *.split]
wallerdev has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
ra4king has quit [*.net *.split]
starkhalo has quit [*.net *.split]
toretore has quit [*.net *.split]
mr-foobar has quit [*.net *.split]
monsieurp has quit [*.net *.split]
towbes has quit [*.net *.split]
m3_del has quit [*.net *.split]
Soliah has quit [*.net *.split]
Olipro has quit [*.net *.split]
Sirupsen has quit [*.net *.split]
agent_white has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
mgberlin has quit [*.net *.split]
Guest55756 has quit [*.net *.split]
moted has quit [*.net *.split]
seppuku has quit [*.net *.split]
camt has quit [*.net *.split]
shanlar has quit [*.net *.split]
Photism has quit [*.net *.split]
zaargy has quit [*.net *.split]
ruisantos has quit [*.net *.split]
Xuerian has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
reset has quit [*.net *.split]
mehlah has quit [*.net *.split]
crus has quit [*.net *.split]
jfran__ has quit [*.net *.split]
ixti has quit [*.net *.split]
donnoc_ has quit [*.net *.split]
iceyec has quit [*.net *.split]
hakunin has quit [*.net *.split]
wlanboy has quit [*.net *.split]
radic has quit [*.net *.split]
machete has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
nomadic has quit [*.net *.split]
b1nd has quit [*.net *.split]
fwaokda has quit [*.net *.split]
AlyssaDaemon has quit [*.net *.split]
terlar has quit [*.net *.split]
moshee has quit [*.net *.split]
aep_ has quit [*.net *.split]
Elfix_113 has quit [*.net *.split]
FLeiXiuS`` has quit [*.net *.split]
zarul has quit [*.net *.split]
redlegion has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
Xiti has quit [*.net *.split]
sarlalian has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
zonetti has quit [*.net *.split]
thoolihan has quit [*.net *.split]
Akuma has quit [*.net *.split]
jwang has quit [*.net *.split]
Nilium has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
mjulian has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
Vivekananda_y510 has quit [*.net *.split]
phutchins has quit [*.net *.split]
larsam has quit [*.net *.split]
Soda has quit [*.net *.split]
DanKnox has quit [*.net *.split]
rblackwe has quit [*.net *.split]
seanmarcia has quit [*.net *.split]
IceDragon has quit [*.net *.split]
_JokerDoom has quit [*.net *.split]
matrixise has quit [*.net *.split]
fold has quit [*.net *.split]
bier has quit [*.net *.split]
Guest83975 has quit [*.net *.split]
daed has quit [*.net *.split]
kaihara has quit [*.net *.split]
vpretzel has quit [*.net *.split]
Hamled has quit [*.net *.split]
ReBoRN- has quit [*.net *.split]
MindfulMonk has quit [*.net *.split]
Drakevr has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
davidcelis has quit [*.net *.split]
Mongey has quit [*.net *.split]
quantsini_ has quit [*.net *.split]
micah` has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
kloeri has quit [*.net *.split]
saltsa has quit [*.net *.split]
n88 has quit [*.net *.split]
eval-in__ has quit [*.net *.split]
gil has quit [*.net *.split]
ValicekB has quit [*.net *.split]
bluntman has quit [*.net *.split]
shtirlic has quit [*.net *.split]
Port3M5[Work] has quit [*.net *.split]
pontiki has quit [*.net *.split]
willgorman_ has quit [*.net *.split]
Kruppe has quit [*.net *.split]
sfiggins has quit [*.net *.split]
jayne has quit [*.net *.split]
ccooke has quit [*.net *.split]
paul_k has quit [*.net *.split]
Jamo has quit [*.net *.split]
FifthWall has quit [*.net *.split]
SecretAgent has quit [*.net *.split]
grug has quit [*.net *.split]
hfp has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
_izz has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
sindork has quit [*.net *.split]
TTilus has quit [*.net *.split]
philtr_ has quit [*.net *.split]
Roa_ has quit [*.net *.split]
csmrfx has quit [*.net *.split]
nug has quit [*.net *.split]
JarJarBinks has quit [*.net *.split]
GeekOnCoffee has quit [*.net *.split]
fumduq has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
cid404 has quit [*.net *.split]
skinny_much has quit [*.net *.split]
freannrak has quit [*.net *.split]
justinmcp has quit [*.net *.split]
Tarential has quit [*.net *.split]
bstrie has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
rs0 has quit [*.net *.split]
Authenticator has quit [*.net *.split]
rcs has quit [*.net *.split]
mahlon has quit [*.net *.split]
bmn has quit [*.net *.split]
chihhsin_wego has quit [*.net *.split]
shaquile has quit [*.net *.split]
cwc has quit [*.net *.split]
xiphias has quit [*.net *.split]
axsuul has quit [*.net *.split]
oo_ has quit [*.net *.split]
lbwski_ has quit [*.net *.split]
cashnguns has quit [*.net *.split]
bahar has quit [*.net *.split]
Koshian has quit [*.net *.split]
JoshGlzBrk has quit [*.net *.split]
qsun has quit [*.net *.split]
Symbiosisz has quit [*.net *.split]
Spami has quit [*.net *.split]
snkcld has quit [*.net *.split]
lagweezle has quit [*.net *.split]
AndyWojo has quit [*.net *.split]
klaas has quit [*.net *.split]
jhass has quit [*.net *.split]
rebelshrug has quit [*.net *.split]
spyderman4g63 has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
tommylommykins has quit [*.net *.split]
deavid has quit [*.net *.split]
emdub has quit [*.net *.split]
brasten has quit [*.net *.split]
eregon has quit [*.net *.split]
joonty has quit [*.net *.split]
binaryhat has quit [*.net *.split]
graft has quit [*.net *.split]
crazymykl has quit [*.net *.split]
three18ti has quit [*.net *.split]
papercode has quit [*.net *.split]
catepillar has quit [*.net *.split]
redondos has quit [*.net *.split]
gkra has quit [*.net *.split]
iamayam has quit [*.net *.split]
jamespw has quit [*.net *.split]
everett has quit [*.net *.split]
Rickmast- has quit [*.net *.split]
Kabaka has quit [*.net *.split]
jpic has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
musl_ has quit [*.net *.split]
Gooder has quit [*.net *.split]
voodoofish4301 has quit [*.net *.split]
codabrink has quit [*.net *.split]
bbloom has quit [*.net *.split]
erichmenge has quit [*.net *.split]
Affix has quit [*.net *.split]
hamakn has quit [*.net *.split]
mjc_ has quit [*.net *.split]
Guest91891 has quit [*.net *.split]
Norrin has quit [*.net *.split]
jxport has quit [*.net *.split]
bpgoldsb has quit [*.net *.split]
thalweg has quit [*.net *.split]
cobakobodob has quit [*.net *.split]
dayepa has quit [*.net *.split]
akosednar has quit [*.net *.split]
RandyT has quit [*.net *.split]
Eyes has quit [*.net *.split]
zastern has quit [*.net *.split]
theRoUS has quit [*.net *.split]
crazysim has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
aboudreault has quit [*.net *.split]
cescalante has quit [*.net *.split]
Muz has quit [*.net *.split]
sweeper has quit [*.net *.split]
sawtooth has quit [*.net *.split]
spacebug has quit [*.net *.split]
FDj has quit [*.net *.split]
haroldwu_ has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
mgorbach has quit [*.net *.split]
mocchi_ has quit [*.net *.split]
Kovensky has quit [*.net *.split]
hanikazmi has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
brandon has quit [*.net *.split]
Azure has quit [*.net *.split]
Sammael has quit [*.net *.split]
mumblerit has quit [*.net *.split]
canton7 has quit [*.net *.split]
Pro|_ has quit [*.net *.split]
jeffreybaird_ has quit [*.net *.split]
zzak__ has quit [*.net *.split]
leslie has quit [*.net *.split]
alol__ has quit [*.net *.split]
bauruine has quit [*.net *.split]
isomorph1smes has quit [*.net *.split]
ohcibi has quit [*.net *.split]
mordof has quit [*.net *.split]
noocode has quit [*.net *.split]
BeanDip has quit [*.net *.split]
Morrolan has quit [*.net *.split]
jtz has quit [*.net *.split]
segv has quit [*.net *.split]
caveat- has quit [*.net *.split]
tekacs has quit [*.net *.split]
jeekl has quit [*.net *.split]
philevans_ has quit [*.net *.split]
gwb3 has quit [*.net *.split]
stormy3 has quit [*.net *.split]
zz_LoRdToLsToI has quit [*.net *.split]
Platini has quit [*.net *.split]
Lulzon has quit [*.net *.split]
icedp has quit [*.net *.split]
elektronaut has quit [*.net *.split]
charliesome has quit [*.net *.split]
Prandium has quit [*.net *.split]
mikepack has quit [*.net *.split]
Channel6 has quit [*.net *.split]
Dude007 has quit [*.net *.split]
njs126 has quit [*.net *.split]
destructure has quit [*.net *.split]
sheepman has quit [*.net *.split]
JStoker has quit [*.net *.split]
Rix has quit [*.net *.split]
renier has quit [*.net *.split]
error404 has quit [*.net *.split]
gtc has quit [*.net *.split]
eythorium has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
DanielRb has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
tus has quit [*.net *.split]
bradleyp_ has quit [*.net *.split]
Fraeon has quit [*.net *.split]
voodoofish has quit [*.net *.split]
cnj has quit [*.net *.split]
kies has quit [*.net *.split]
droptone has quit [*.net *.split]
LiohAu has quit [*.net *.split]
febuiles has quit [*.net *.split]
miah has quit [*.net *.split]
oz has quit [*.net *.split]
shaman42 has quit [*.net *.split]
braincrash has quit [*.net *.split]
e4xit has quit [*.net *.split]
brunops has quit [*.net *.split]
fumk has quit [*.net *.split]
davzie has quit [*.net *.split]
Jelco has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
s_e has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
ltd has quit [*.net *.split]
toordog has quit [*.net *.split]
malcolmva has quit [*.net *.split]
wiscas has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
soulcake has quit [*.net *.split]
ptierno has quit [*.net *.split]
SJr has quit [*.net *.split]
gizmore has quit [*.net *.split]
netf has quit [*.net *.split]
Nowaker has quit [*.net *.split]
Caius has quit [*.net *.split]
xargoon has quit [*.net *.split]
AntelopeSalad has quit [*.net *.split]
matled has quit [*.net *.split]
Spleeze has quit [*.net *.split]
jameyd has quit [*.net *.split]
tiguser_ has quit [*.net *.split]
yokel has quit [*.net *.split]
katlogic has quit [*.net *.split]
yxhuvvd has quit [*.net *.split]
harryk_ has quit [*.net *.split]
naterubin has quit [*.net *.split]
Slavox|AFK has quit [*.net *.split]
hl has quit [*.net *.split]
tsunamie has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
mgomezch has quit [*.net *.split]
udoprog has quit [*.net *.split]
__main__ has quit [*.net *.split]
gomikemike has quit [*.net *.split]
magicien has quit [*.net *.split]
anekos has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
closer has quit [*.net *.split]
Zespre has quit [*.net *.split]
lyuzashi has quit [*.net *.split]
Cork has quit [*.net *.split]
Adran has quit [*.net *.split]
webguynow has quit [*.net *.split]
oso96_2000 has quit [*.net *.split]
karupa has quit [*.net *.split]
Eiam has quit [*.net *.split]
gattuso has quit [*.net *.split]
eshy has quit [*.net *.split]
cibs has quit [*.net *.split]
minecoins has quit [*.net *.split]
lewix has quit [*.net *.split]
hackeron has quit [*.net *.split]
descala has quit [*.net *.split]
clocKwize has quit [*.net *.split]
alexju has quit [*.net *.split]
alexherb1 has quit [*.net *.split]
devdazed has quit [*.net *.split]
iaj_ has quit [*.net *.split]
blackgoat has quit [*.net *.split]
crodas has quit [*.net *.split]
xm has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
koyd has quit [*.net *.split]
nickenchuggets has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
yetanotherdave has quit [*.net *.split]
ta_ has quit [*.net *.split]
dc_ has quit [*.net *.split]
Doppp has quit [*.net *.split]
nfk has quit [*.net *.split]
eka has quit [*.net *.split]
oddalot has quit [*.net *.split]
yeticry has quit [*.net *.split]
darkxploit has quit [*.net *.split]
Seich has quit [*.net *.split]
machty has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
patronus has quit [*.net *.split]
matti has quit [*.net *.split]
GriffinHeart has quit [*.net *.split]
tenseiten has quit [*.net *.split]
ylluminate has quit [*.net *.split]
agjacome has quit [*.net *.split]
joelroa has quit [*.net *.split]
metadave has quit [*.net *.split]
bricker`LA has quit [*.net *.split]
Beoran_ has quit [*.net *.split]
nevans has quit [*.net *.split]
supermat has quit [*.net *.split]
ahuman has quit [*.net *.split]
davedev24_ has quit [*.net *.split]
mbwe has quit [*.net *.split]
Robbo` has quit [*.net *.split]
Fusl has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
axisys has quit [*.net *.split]
claw has quit [*.net *.split]
LBRapid has quit [*.net *.split]
spacemud has quit [*.net *.split]
pdtpatr11k has quit [*.net *.split]
sumark has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
skmp has quit [*.net *.split]
gregf__ has quit [*.net *.split]
linduxed has quit [*.net *.split]
cyphactor has quit [*.net *.split]
froy has quit [*.net *.split]
bayed has quit [*.net *.split]
devyn has quit [*.net *.split]
gzl has quit [*.net *.split]
Guest22956 has quit [*.net *.split]
arcsky has quit [*.net *.split]
akitada has quit [*.net *.split]
lupine has quit [*.net *.split]
peterhu has quit [*.net *.split]
poguez_ has quit [*.net *.split]
zenspider has quit [*.net *.split]
clamstar has quit [*.net *.split]
cgj has quit [*.net *.split]
psmolen has quit [*.net *.split]
tris has quit [*.net *.split]
rrva has quit [*.net *.split]
raddazong has quit [*.net *.split]
fella5s has quit [*.net *.split]
tiagonobre has quit [*.net *.split]
Takumo has quit [*.net *.split]
adamholt has quit [*.net *.split]
franka_ has quit [*.net *.split]
todor_ has quit [*.net *.split]
kevinfagan_ has quit [*.net *.split]
ryanneufeld has quit [*.net *.split]
benzrf has quit [*.net *.split]
Rylee has quit [*.net *.split]
tchebb has quit [*.net *.split]
rmill has quit [*.net *.split]
natewalck has quit [*.net *.split]
octarine has quit [*.net *.split]
antonishen has quit [*.net *.split]
culturelabs__ has quit [*.net *.split]
hoelzro has quit [*.net *.split]
tziOm has quit [*.net *.split]
goshdarnyou has quit [*.net *.split]
peeja has quit [*.net *.split]
Riking has quit [*.net *.split]
jericon has quit [*.net *.split]
G has quit [*.net *.split]
gf3 has quit [*.net *.split]
maZtah has quit [*.net *.split]
drPoggs has quit [*.net *.split]
mheld has quit [*.net *.split]
jrunning has quit [*.net *.split]
mattyohe has quit [*.net *.split]
orionstein has quit [*.net *.split]
tadejm has quit [*.net *.split]
mozzarella has quit [*.net *.split]
rapha has quit [*.net *.split]
mist has quit [*.net *.split]
dfedde has quit [*.net *.split]
eam has quit [*.net *.split]
blenny has quit [*.net *.split]
mateu has quit [*.net *.split]
kke has quit [*.net *.split]
bijumon has quit [*.net *.split]
olleromo__ has quit [*.net *.split]
halogenandtoast has quit [*.net *.split]
ejnahc has quit [*.net *.split]
aspires has quit [*.net *.split]
daniellutz has quit [*.net *.split]
phreax has quit [*.net *.split]
riotjones has quit [*.net *.split]
RealMarc has quit [*.net *.split]
Schmidt has quit [*.net *.split]
go|dfish has quit [*.net *.split]
mburns has quit [*.net *.split]
peck_ has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
dazeddev has quit [*.net *.split]
Atttwww has quit [*.net *.split]
alvaro_o has quit [*.net *.split]
bMalum has quit [*.net *.split]
CaptainJet has quit [*.net *.split]
Audace has quit [*.net *.split]
iceden has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
patteh has quit [*.net *.split]
diegok has quit [*.net *.split]
icebourg has quit [*.net *.split]
WillAmes has quit [*.net *.split]
jle` has quit [*.net *.split]
mg^ has quit [*.net *.split]
SirFunk has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
ji0n has quit [*.net *.split]
cout has quit [*.net *.split]
cephalostrum has quit [*.net *.split]
preller has quit [*.net *.split]
qpok has quit [*.net *.split]
billy_ran_away has quit [*.net *.split]
zaiste_ has quit [*.net *.split]
headius has quit [*.net *.split]
nopc0de has quit [*.net *.split]
WormDrink has quit [*.net *.split]
ged has quit [*.net *.split]
Prawnzy_ has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
jamooo_ has quit [*.net *.split]
mattp_ has quit [*.net *.split]
suffice has quit [*.net *.split]
uxp_ has quit [*.net *.split]
BombStrike has quit [*.net *.split]
Davey has quit [*.net *.split]
Ankhers has quit [*.net *.split]
tacos1de has quit [*.net *.split]
camilasan has quit [*.net *.split]
jsaak has quit [*.net *.split]
havenwood has quit [*.net *.split]
end_guy has quit [*.net *.split]
atmosx has quit [*.net *.split]
DrCode has quit [*.net *.split]
cerberblue has quit [*.net *.split]
St_Marx has quit [*.net *.split]
_Blizzy has quit [*.net *.split]
ner0x has quit [*.net *.split]
advorak has quit [*.net *.split]
ultimoo has quit [*.net *.split]
kireevco has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
washtubs has quit [*.net *.split]
timmow has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
dylannorthrup has quit [*.net *.split]
yasu has quit [*.net *.split]
finges has quit [*.net *.split]
Gate has quit [*.net *.split]
Rennex has quit [*.net *.split]
Bish has quit [*.net *.split]
Cope has quit [*.net *.split]
comma8 has quit [*.net *.split]
pygospa has quit [*.net *.split]
absolutezeroff has quit [*.net *.split]
mattmcclure has quit [*.net *.split]
theharshest has quit [*.net *.split]
banjara has quit [*.net *.split]
jaimef has quit [*.net *.split]
Guest87756 has quit [*.net *.split]
proxie has quit [*.net *.split]
TDJACR has quit [*.net *.split]
PixelCrumbs has quit [*.net *.split]
crudson has quit [*.net *.split]
germanstudent has quit [*.net *.split]
Davedo has quit [*.net *.split]
Hien has quit [*.net *.split]
certainty has quit [*.net *.split]
jimbauds has quit [*.net *.split]
elico has quit [*.net *.split]
jokke has quit [*.net *.split]
ericwood has quit [*.net *.split]
stopbit has quit [*.net *.split]
jso has quit [*.net *.split]
synfin has quit [*.net *.split]
daxroc_ has quit [*.net *.split]
dacamp has quit [*.net *.split]
vlad_sta- has quit [*.net *.split]
yo61 has quit [*.net *.split]
chihhsin has quit [*.net *.split]
jaredrhine_ has quit [*.net *.split]
qpls has quit [*.net *.split]
utkarsh__ has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
jpierre03 has quit [*.net *.split]
bw_ has quit [*.net *.split]
rtlong has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
chaos___________ has quit [*.net *.split]
ClarusCogitatio has quit [*.net *.split]
Rubeh has quit [*.net *.split]
fearoffish has quit [*.net *.split]
slash_nick has quit [*.net *.split]
halfdan has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
ssut has quit [*.net *.split]
cmaxw_____ has quit [*.net *.split]
neersighted has quit [*.net *.split]
wchun has quit [*.net *.split]
kapowaz_ has quit [*.net *.split]
pr00t_ has quit [*.net *.split]
QKO_ has quit [*.net *.split]
mnemon has quit [*.net *.split]
Rydekull has quit [*.net *.split]
Havoc][ has quit [*.net *.split]
jimeh has quit [*.net *.split]
Brando753 has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
edwardly has quit [*.net *.split]
Raboo has quit [*.net *.split]
tskogberg has quit [*.net *.split]
idoru has quit [*.net *.split]
rotor has quit [*.net *.split]
ziyadb has quit [*.net *.split]
drizz has quit [*.net *.split]
postmodern has quit [*.net *.split]
spastorino has quit [*.net *.split]
strelok has quit [*.net *.split]
Klumben has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
l3kn has quit [*.net *.split]
wasamasa has quit [*.net *.split]
kalz has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
Zackio has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
Dwarf has quit [*.net *.split]
dwts has quit [*.net *.split]
im0b has quit [*.net *.split]
ggherdov has quit [*.net *.split]
Mars` has quit [*.net *.split]
grn has quit [*.net *.split]
ereslibre has quit [*.net *.split]
adambeynon has quit [*.net *.split]
dinoex has quit [*.net *.split]
andrewcarter has quit [*.net *.split]
cbetta has quit [*.net *.split]
aalmenar has quit [*.net *.split]
kalleth has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
artmann has quit [*.net *.split]
weeb1e_ has quit [*.net *.split]
Striki has quit [*.net *.split]
mclee has quit [*.net *.split]
stian__ has quit [*.net *.split]
Su7 has quit [*.net *.split]
inukshuk has quit [*.net *.split]
Tranquility has quit [*.net *.split]
xybre has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
contradictioned has quit [*.net *.split]
jorendorff has quit [*.net *.split]
cuqa has quit [*.net *.split]
ninegrid has quit [*.net *.split]
sirecote has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
delyan has quit [*.net *.split]
arrubin has joined #ruby
JStoker has joined #ruby
babykosh has quit [Quit: babykosh]
arrubin has quit [Client Quit]
tmtwd has quit [Ping timeout: 256 seconds]
casheew has joined #ruby
bricker`work has quit [Ping timeout: 256 seconds]
jshultz has joined #ruby
marienzombie has joined #ruby
ejnahc has joined #ruby
arrubin has joined #ruby
im0b has joined #ruby
Striki has joined #ruby
ultimoo has joined #ruby
felipe has joined #ruby
ra4king has joined #ruby
olleromo__ has joined #ruby
Rylee has joined #ruby
blenny has joined #ruby
samuelkadolph has joined #ruby
mist has joined #ruby
m3_del has joined #ruby
lolmaus has joined #ruby
helpa has joined #ruby
kiki_lamb has joined #ruby
mateu has joined #ruby
mr-foobar has joined #ruby
kke has joined #ruby
dfedde has joined #ruby
GGMethos has joined #ruby
monsieurp has joined #ruby
towbes has joined #ruby
seppuku has joined #ruby
Dreamer3 has joined #ruby
fold has joined #ruby
ylluminarious|aw has joined #ruby
eam has joined #ruby
starkhalo has joined #ruby
octarine has joined #ruby
jericon has joined #ruby
tris has joined #ruby
rmill has joined #ruby
culturelabs__ has joined #ruby
adamholt has joined #ruby
Takumo has joined #ruby
benzrf has joined #ruby
kevinfagan_ has joined #ruby
G has joined #ruby
zenspider has joined #ruby
Guest22956 has joined #ruby
gf3 has joined #ruby
jrunning has joined #ruby
peterhu has joined #ruby
bayed has joined #ruby
raddazong has joined #ruby
tziOm has joined #ruby
antonishen has joined #ruby
natewalck has joined #ruby
cgj has joined #ruby
ryanneufeld has joined #ruby
LBRapid has joined #ruby
skmp has joined #ruby
goshdarnyou has joined #ruby
ramblinpeck has joined #ruby
psmolen has joined #ruby
poguez_ has joined #ruby
akitada has joined #ruby
rrva has joined #ruby
peeja has joined #ruby
mheld has joined #ruby
gregf__ has joined #ruby
tadejm has joined #ruby
drPoggs has joined #ruby
pdtpatr11k has joined #ruby
sumark has joined #ruby
arcsky has joined #ruby
tiagonobre has joined #ruby
hoelzro has joined #ruby
axisys has joined #ruby
linduxed has joined #ruby
Riking has joined #ruby
maZtah has joined #ruby
Killerkeksdose has joined #ruby
orionstein has joined #ruby
mattyohe has joined #ruby
fella5s has joined #ruby
devyn has joined #ruby
todor_ has joined #ruby
clamstar has joined #ruby
tchebb has joined #ruby
franka_ has joined #ruby
spacemud has joined #ruby
mbwe has joined #ruby
mozzarella has joined #ruby
cyphactor has joined #ruby
froy has joined #ruby
gzl has joined #ruby
Fusl has joined #ruby
joelroa has joined #ruby
GriffinHeart has joined #ruby
matti has joined #ruby
davedev24_ has joined #ruby
FaresKAlaboud has joined #ruby
Doppp has joined #ruby
koyd has joined #ruby
nevans has joined #ruby
claw has joined #ruby
deric_skibotn has joined #ruby
Seich has joined #ruby
gregf has joined #ruby
bradleyprice has joined #ruby
rapha has joined #ruby
Dwarf has joined #ruby
xm has joined #ruby
csfrancis has joined #ruby
Elfix has joined #ruby
7F1AAQAAE has joined #ruby
yeticry has joined #ruby
drawingthesun has joined #ruby
bricker`LA has joined #ruby
blackgoat has joined #ruby
closer has joined #ruby
dRbiG has joined #ruby
cherry_lin has joined #ruby
alexherb1 has joined #ruby
Sthebig has joined #ruby
s_e has joined #ruby
nickenchuggets has joined #ruby
matson has joined #ruby
agjacome has joined #ruby
minecoins has joined #ruby
ta_ has joined #ruby
parus has joined #ruby
frankS2 has joined #ruby
cibs has joined #ruby
Rix has joined #ruby
niharvey has joined #ruby
zalmoxes has joined #ruby
dideler has joined #ruby
clocKwize has joined #ruby
oso96_2000 has joined #ruby
[42] has joined #ruby
nateberkopec has joined #ruby
hackeron has joined #ruby
gil has joined #ruby
yacks has joined #ruby
descala has joined #ruby
patronus has joined #ruby
Meeh has joined #ruby
hakunin has joined #ruby
tonini has joined #ruby
machty has joined #ruby
supermat has joined #ruby
apeiros has joined #ruby
metadave has joined #ruby
ndrst has joined #ruby
oddalot has joined #ruby
jle` has joined #ruby
elaptics`away has joined #ruby
iaj_ has joined #ruby
tenseiten has joined #ruby
dc_ has joined #ruby
karupa has joined #ruby
ylluminate has joined #ruby
alexju has joined #ruby
crodas has joined #ruby
lyuzashi has joined #ruby
lkba has joined #ruby
Sp4rKy has joined #ruby
Beoran_ has joined #ruby
rtl has joined #ruby
CodeLicker has joined #ruby
RoryHughes has joined #ruby
eshy has joined #ruby
eka has joined #ruby
pasties has joined #ruby
hinderaker has joined #ruby
Kruppe has joined #ruby
Trynemjoel has joined #ruby
hfp has joined #ruby
Jamo has joined #ruby
kalz has joined #ruby
VooDooNOFX has joined #ruby
FifthWall has joined #ruby
ddv has joined #ruby
Gnubie_ has joined #ruby
dhruvasagar has joined #ruby
paul_k has joined #ruby
SecretAgent has joined #ruby
rs0 has joined #ruby
sindork has joined #ruby
majoh has joined #ruby
rcs has joined #ruby
csmrfx has joined #ruby
Robbo` has joined #ruby
jayne has joined #ruby
freannrak has joined #ruby
mjulian has joined #ruby
ccooke has joined #ruby
Sou|cutter has joined #ruby
willgorman_ has joined #ruby
jwang has joined #ruby
thoolihan has joined #ruby
xiphias has joined #ruby
_izz has joined #ruby
nug has joined #ruby
cid404 has joined #ruby
Akuma has joined #ruby
mahlon has joined #ruby
sfiggins has joined #ruby
Tarential has joined #ruby
JarJarBinks has joined #ruby
_KaszpiR_ has joined #ruby
j416 has joined #ruby
justinmcp has joined #ruby
bstrie has joined #ruby
bluntman has joined #ruby
bmn has joined #ruby
skinny_much has joined #ruby
grug has joined #ruby
n88 has joined #ruby
eval-in__ has joined #ruby
moshee has joined #ruby
sn0wb1rd has joined #ruby
aep_ has joined #ruby
Roa_ has joined #ruby
micah` has joined #ruby
Dr3amc0d3r|away has joined #ruby
pontiki has joined #ruby
quantsini_ has joined #ruby
FLeiXiuS`` has joined #ruby
Port3M5[Work] has joined #ruby
kloeri has joined #ruby
philtr_ has joined #ruby
shaquile has joined #ruby
TTilus has joined #ruby
Nilium has joined #ruby
snapcase has joined #ruby
fumduq has joined #ruby
cwc has joined #ruby
Authenticator has joined #ruby
Xiti has joined #ruby
nemesit|znc has joined #ruby
zarul has joined #ruby
saltsa has joined #ruby
Olipro has joined #ruby
shtirlic has joined #ruby
GeekOnCoffee has joined #ruby
okinomo_ has joined #ruby
redlegion has joined #ruby
chihhsin_wego has joined #ruby
nomadic has joined #ruby
vpretzel has joined #ruby
wlanboy has joined #ruby
daed has joined #ruby
Mongey has joined #ruby
bier has joined #ruby
machete has joined #ruby
reset has joined #ruby
blackjid has joined #ruby
crus has joined #ruby
gremax has joined #ruby
gimpygoo has joined #ruby
Cork has joined #ruby
ehlovader has joined #ruby
cek has joined #ruby
glowcoil has joined #ruby
C0deMaver1ck has joined #ruby
mosez has joined #ruby
mjuszczak has joined #ruby
jeregrine has joined #ruby
hostess has joined #ruby
IceDragon has joined #ruby
Liothen has joined #ruby
mhenrixon has joined #ruby
larsam has joined #ruby
cschneid has joined #ruby
lectrick has joined #ruby
davidcelis has joined #ruby
radic has joined #ruby
DanKnox has joined #ruby
nw has joined #ruby
sputnik13 has joined #ruby
DivineEntity has joined #ruby
zartoosh has joined #ruby
bcavileer___ has joined #ruby
Wayneoween has joined #ruby
Nightmare has joined #ruby
jonathanwallace has joined #ruby
matrixise has joined #ruby
Y_Ichiro has joined #ruby
ponyfleisch has joined #ruby
parduse has joined #ruby
terlar has joined #ruby
shevy has joined #ruby
LACP has joined #ruby
mroth has joined #ruby
Derander_ has joined #ruby
ReBoRN- has joined #ruby
CJD14___ has joined #ruby
Drakevr has joined #ruby
lazyguru has joined #ruby
pgmcgee has joined #ruby
Scient has joined #ruby
aetaric has joined #ruby
kaihara has joined #ruby
phutchins has joined #ruby
callumacrae has joined #ruby
kenichi has joined #ruby
juni0r has joined #ruby
dandrade has joined #ruby
dioms_ has joined #ruby
verto has joined #ruby
schaary|afk has joined #ruby
ceej has joined #ruby
ViperChief has joined #ruby
troter has joined #ruby
gilesw has joined #ruby
dyreshark has joined #ruby
camilasan has joined #ruby
Kamilion has joined #ruby
jamo_ has joined #ruby
yosafbridge has joined #ruby
rickruby__ has joined #ruby
ozzloy has joined #ruby
jenrzzz has joined #ruby
artgoeshere has joined #ruby
Soda has joined #ruby
msch has joined #ruby
amitchellbullard has joined #ruby
guilleiguaran__ has joined #ruby
pusewicz has joined #ruby
nisstyre has joined #ruby
Photism has joined #ruby
Sirupsen has joined #ruby
ikanobori has joined #ruby
intnsity has joined #ruby
chridal has joined #ruby
zz_jrhorn424 has joined #ruby
Paradox has joined #ruby
vcoinminer____ has joined #ruby
Vivekananda_y510 has joined #ruby
jumblemuddle has joined #ruby
Prandium has joined #ruby
sfr^ has joined #ruby
Soliah has joined #ruby
danshultz has joined #ruby
donnoc_ has joined #ruby
zenojis has joined #ruby
dukedave has joined #ruby
DefV has joined #ruby
JaTochNietDan has joined #ruby
PhilK has joined #ruby
dmoe______ has joined #ruby
paulog has joined #ruby
ixti has joined #ruby
bjeanes has joined #ruby
jsaak has joined #ruby
andrewstewart has joined #ruby
xsdg has joined #ruby
acalewin has joined #ruby
mjmac has joined #ruby
charles81____ has joined #ruby
initself_ has joined #ruby
jpinnix has joined #ruby
Macacity has joined #ruby
seanmarcia has joined #ruby
SegFaultAX has joined #ruby
camth has joined #ruby
AlyssaDa1mon has joined #ruby
spastorino has joined #ruby
nighter has joined #ruby
Karunamon has joined #ruby
manacit has joined #ruby
jamooo_ has joined #ruby
BombStrike has joined #ruby
Davey has joined #ruby
mattp_ has joined #ruby
headius has joined #ruby
cout has joined #ruby
ged has joined #ruby
uxp_ has joined #ruby
suffice has joined #ruby
qpok has joined #ruby
Prawnzy_ has joined #ruby
billy_ran_away has joined #ruby
pr00t_ has joined #ruby
go|dfish has joined #ruby
St_Marx has joined #ruby
zaiste_ has joined #ruby
dazeddev has joined #ruby
preller has joined #ruby
ji0n has joined #ruby
daniellutz has joined #ruby
tskogberg has joined #ruby
cobakobodob has joined #ruby
SirFunk has joined #ruby
DrCode has joined #ruby
kapowaz_ has joined #ruby
phrozen77 has joined #ruby
thejoecarroll has joined #ruby
jimeh has joined #ruby
Raboo has joined #ruby
halfdan has joined #ruby
diegok has joined #ruby
peck_ has joined #ruby
edwardly has joined #ruby
20WAAQK00 has joined #ruby
atmosx has joined #ruby
cerberblue has joined #ruby
CaptainJet has joined #ruby
baroquebobcat has joined #ruby
icebourg has joined #ruby
neersighted has joined #ruby
nopc0de has joined #ruby
mnemon has joined #ruby
ssut has joined #ruby
mg^ has joined #ruby
thesheff17 has joined #ruby
WillAmes has joined #ruby
idoru has joined #ruby
end_guy has joined #ruby
TheMoonMaster has joined #ruby
drizz has joined #ruby
patteh has joined #ruby
riotjones has joined #ruby
QKO_ has joined #ruby
Atttwww has joined #ruby
zaargy has joined #ruby
phreax has joined #ruby
mburns has joined #ruby
Schmidt has joined #ruby
iceden has joined #ruby
tacos1de has joined #ruby
rotor has joined #ruby
cmaxw_____ has joined #ruby
wchun has joined #ruby
alvaro_o has joined #ruby
dacamp has joined #ruby
Davedo has joined #ruby
jokke has joined #ruby
crudson has joined #ruby
yo61 has joined #ruby
stopbit has joined #ruby
proxie has joined #ruby
chaos___________ has joined #ruby
vlad_sta- has joined #ruby
Rubeh has joined #ruby
utkarsh__ has joined #ruby
cjk101010 has joined #ruby
qpls has joined #ruby
jso has joined #ruby
jimbauds has joined #ruby
chihhsin has joined #ruby
elico has joined #ruby
slash_nick has joined #ruby
bw_ has joined #ruby
Hien has joined #ruby
fearoffish has joined #ruby
jpierre03 has joined #ruby
jaredrhine_ has joined #ruby
daxroc_ has joined #ruby
Emmanuel_Chanel has joined #ruby
synfin has joined #ruby
certainty has joined #ruby
germanstudent has joined #ruby
flagg0204 has joined #ruby
absolutezeroff has joined #ruby
pygospa has joined #ruby
Cope has joined #ruby
BackEndCoder has joined #ruby
weeb1e_ has joined #ruby
kireevco has joined #ruby
yfeldblum has joined #ruby
jorendorff has joined #ruby
comma8 has joined #ruby
Aryasam has joined #ruby
contradictioned has joined #ruby
banjara has joined #ruby
mordof has joined #ruby
ninegrid has joined #ruby
jtz has joined #ruby
ggherdov has joined #ruby
segv has joined #ruby
Bish has joined #ruby
kith has joined #ruby
advorak has joined #ruby
elektronaut has joined #ruby
PixelCrumbs has joined #ruby
wasamasa has joined #ruby
cuqa has joined #ruby
BeanDip has joined #ruby
zz_LoRdToLsToI has joined #ruby
mumblerit has joined #ruby
l3kn has joined #ruby
TDJACR has joined #ruby
aalmenar has joined #ruby
Pro|_ has joined #ruby
ereslibre has joined #ruby
Rennex has joined #ruby
adambeynon has joined #ruby
kalleth has joined #ruby
philevans_ has joined #ruby
washtubs has joined #ruby
grn has joined #ruby
Jello_Raptor has joined #ruby
zzak__ has joined #ruby
timmow has joined #ruby
brandon has joined #ruby
cHarNe2 has joined #ruby
caveat- has joined #ruby
Gate has joined #ruby
Mars` has joined #ruby
icedp has joined #ruby
dwts has joined #ruby
dinoex has joined #ruby
DarthGandalf has joined #ruby
stormy3 has joined #ruby
stian__ has joined #ruby
Platini has joined #ruby
strelok has joined #ruby
Lulzon has joined #ruby
Sammael has joined #ruby
sirecote has joined #ruby
isomorph1smes has joined #ruby
Morrolan has joined #ruby
tekacs has joined #ruby
ruisantos has joined #ruby
ziyadb has joined #ruby
delyan has joined #ruby
alol__ has joined #ruby
leslie has joined #ruby
Zackio has joined #ruby
jeekl has joined #ruby
johnhamelink has joined #ruby
PaulePanter has joined #ruby
fuzzyhorns has joined #ruby
mattmcclure has joined #ruby
dylannorthrup has joined #ruby
jaimef has joined #ruby
bauruine has joined #ruby
gwb3 has joined #ruby
noocode has joined #ruby
xybre has joined #ruby
andrewcarter has joined #ruby
finges has joined #ruby
artmann has joined #ruby
theharshest has joined #ruby
canton7 has joined #ruby
Su7 has joined #ruby
inukshuk has joined #ruby
postmodern has joined #ruby
mclee has joined #ruby
jeffreybaird_ has joined #ruby
Klumben has joined #ruby
tessi_zz has joined #ruby
Tranquility has joined #ruby
tobiasvl has joined #ruby
Azure has joined #ruby
Guest85414______ has joined #ruby
haroldwu_ has joined #ruby
LiquidInsect has joined #ruby
aboudreault has joined #ruby
Kovensky has joined #ruby
crazysim has joined #ruby
magicien has joined #ruby
ltd has joined #ruby
cescalante has joined #ruby
mgorbach has joined #ruby
dayepa has joined #ruby
Sigma00 has joined #ruby
udoprog has joined #ruby
oz has joined #ruby
Guest91891 has joined #ruby
Fraeon has joined #ruby
yokel has joined #ruby
mgomezch has joined #ruby
shaman42 has joined #ruby
sawtooth has joined #ruby
mocchi_ has joined #ruby
netf has joined #ruby
miah has joined #ruby
brunops has joined #ruby
bahar has joined #ruby
oo_ has joined #ruby
theRoUS has joined #ruby
jameyd has joined #ruby
hanikazmi has joined #ruby
matled has joined #ruby
sweeper has joined #ruby
hamakn has joined #ruby
renier has joined #ruby
yxhuvvd has joined #ruby
Jelco has joined #ruby
Channel6 has joined #ruby
soulcake has joined #ruby
lbwski_ has joined #ruby
kies has joined #ruby
njs126 has joined #ruby
Kabaka has joined #ruby
gizmore has joined #ruby
Muz has joined #ruby
mjc_ has joined #ruby
JoshGlzBrk has joined #ruby
ptierno has joined #ruby
hl has joined #ruby
rblackwe has joined #ruby
destructure has joined #ruby
e4xit has joined #ruby
LiohAu has joined #ruby
tsunamie has joined #ruby
error404 has joined #ruby
kaspergrubbe has joined #ruby
RandyT has joined #ruby
Dude007 has joined #ruby
naterubin has joined #ruby
deepy has joined #ruby
katlogic has joined #ruby
tiguser_ has joined #ruby
peckermanzzz has joined #ruby
davzie has joined #ruby
bpgoldsb has joined #ruby
ARCADIVS has joined #ruby
fumk has joined #ruby
akosednar has joined #ruby
jxport has joined #ruby
xargoon has joined #ruby
Spleeze has joined #ruby
SJr has joined #ruby
febuiles has joined #ruby
thalweg has joined #ruby
harryk_ has joined #ruby
braincrash has joined #ruby
klaas has joined #ruby
spacebug has joined #ruby
thomasfedb has joined #ruby
anekos has joined #ruby
DanielRb has joined #ruby
yeltzooo has joined #ruby
gtc has joined #ruby
AntelopeSalad has joined #ruby
mr_rich101 has joined #ruby
iceyec has joined #ruby
FDj has joined #ruby
charliesome has joined #ruby
sheepman has joined #ruby
Koshian has joined #ruby
droptone has joined #ruby
Nowaker has joined #ruby
Eyes has joined #ruby
malcolmva has joined #ruby
Norrin has joined #ruby
xMopxShell has joined #ruby
axsuul has joined #ruby
Gadgetoid has joined #ruby
zastern has joined #ruby
voodoofish has joined #ruby
yasu has joined #ruby
MissionCritical has joined #ruby
Caius has joined #ruby
eythorium has joined #ruby
Slavox|AFK has joined #ruby
Symbiosisz has joined #ruby
nanashiRei has joined #ruby
joonty has joined #ruby
three18ti has joined #ruby
gkra has joined #ruby
Alina-malina has joined #ruby
voodoofish4301 has joined #ruby
graft has joined #ruby
spyderman4g63 has joined #ruby
connor_goodwolf has joined #ruby
binaryhat has joined #ruby
bbloom has joined #ruby
qsun has joined #ruby
everett has joined #ruby
jhass has joined #ruby
Rickmast- has joined #ruby
emdub has joined #ruby
eregon has joined #ruby
catepillar has joined #ruby
lagweezle has joined #ruby
crazymykl has joined #ruby
Affix has joined #ruby
deavid has joined #ruby
erichmenge has joined #ruby
brasten has joined #ruby
redondos has joined #ruby
jamespw has joined #ruby
snkcld has joined #ruby
AndyWojo has joined #ruby
codabrink has joined #ruby
Gooder has joined #ruby
tommylommykins has joined #ruby
iamayam has joined #ruby
jpic has joined #ruby
musl_ has joined #ruby
rebelshrug has joined #ruby
papercode has joined #ruby
<zenspider> what's that yield doing?
<fuzzyhorns> zenspider: can you elaborate for me?
<sevenseacat> that hurts my brain
<fuzzyhorns> it's yielding the block to inject
ejnahc has joined #ruby
Striki has joined #ruby
<zenspider> fuzzyhorns: I just did
katlogic has quit [Ping timeout: 256 seconds]
ejnahc has quit [Max SendQ exceeded]
jshultz has joined #ruby
SirCmpwn has quit [Max SendQ exceeded]
im0b has quit [Max SendQ exceeded]
gigetoo has quit [Max SendQ exceeded]
jshultz has quit [Changing host]
Striki has quit [Changing host]
SirCmpwn has joined #ruby
gigetoo has joined #ruby
<zenspider> fuzzyhorns: no it isn't
im0b has joined #ruby
<sevenseacat> i think he wants (1..5).inject { |sum, n| etc.
<zenspider> it's yielding the block and returning the result as an arg to inject
wallerdev has joined #ruby
_Blizzy has joined #ruby
Norrin has quit [Ping timeout: 240 seconds]
<fuzzyhorns> ok perhaps I misunderstand what happens in a yield then
ged has quit [Ping timeout: 245 seconds]
mr_snowf1ake has joined #ruby
bradleyprice has quit [Remote host closed the connection]
<fuzzyhorns> I will take the question elsewhere if I am too much a newb
grubernaut has joined #ruby
<zenspider> yield is the same thing as block.call
dwayhs has joined #ruby
peret has joined #ruby
<zenspider> (since you declare block as a variable)
<zenspider> so you call the block passed
<zenspider> just like any other function
<zenspider> and the result goes to inject
<zenspider> just like any other function
phutchins has quit [Ping timeout: 240 seconds]
<zenspider> ruby doesn't magically know that you want to use that as a block to a call
arya_ has joined #ruby
<eam> what you can do is make it explicit
<zenspider> you're calling wrapper with &proc
<zenspider> what's that do?
7F1AAQAAE has quit [Quit: leaving]
<fuzzyhorns> zenspider: tbh, i am unsure if you are intentionally trying to make me feel stupid, if so, please let me know how I could've asked differently for a better reaction
<fuzzyhorns> &proc translates it to a block?
tokik_ has joined #ruby
<zenspider> I'm explaining the situation. if you want to let your ego get in the way, that's your call
<zenspider> yes, &proc passes the proc object as a block to the call
<fuzzyhorns> zenspider: I am saying you are explaining it with a very clear tone, one I find unnecessary, which imo speaks to your ego, not to mine. but I will take your feedback on board.
iamjarvo_ has joined #ruby
<zenspider> how is inject different from wrapper in this scenario?
katlogic has joined #ruby
<zenspider> clear? I don't think that's the word you want given the context
ValicekB has joined #ruby
<zenspider> (unless that's an idiom I don't know)... but you're on boston comcast, so I doubt it.
Norrin has joined #ruby
tokik_ has quit [Client Quit]
lewix has joined #ruby
<zenspider> going back...
<zenspider> how is inject different from wrapper in this scenario?
dwayhs has quit [Ping timeout: 240 seconds]
overmacht has joined #ruby
overmacht has quit [Max SendQ exceeded]
tokik has joined #ruby
wallerdev has quit [Quit: wallerdev]
ndrei has joined #ruby
wallerdev has joined #ruby
<zenspider> ok then...
Rix has quit [Changing host]
Rix has joined #ruby
Rylee has quit [Changing host]
Rylee has joined #ruby
Aryasam has quit [Quit: Bye]
<eam> fuzzyhorns: do you want something like this?
<fuzzyhorns> zenspider: i am answering my question on so, you can follow on there if curious :) the reason i am curious is because im curious in general about being able to curry the wrapper
Cork has quit [Changing host]
Cork has joined #ruby
cnj has joined #ruby
grubernaut has quit [Changing host]
grubernaut has joined #ruby
ged has joined #ruby
TDJACR has quit [Changing host]
TDJACR has joined #ruby
Norrin has quit [Changing host]
Norrin has joined #ruby
<eam> >> def wrapper(block); (1..5).inject(&block); end; proc = Proc.new {|sum, n| sum + n }; wrapper proc
<fuzzyhorns> eam: def wrapper proc
<fuzzyhorns> (1..5).inject 0, proc
<fuzzyhorns> end
Wolland has joined #ruby
jack_rabbit has joined #ruby
MindfulMonk has joined #ruby
deepy is now known as Guest39101
JStoker is now known as Guest81453
parduse is now known as Guest64392
Olipro is now known as Guest44610
Soliah is now known as Guest94926
dideler has quit [Ping timeout: 240 seconds]
Mattias has joined #ruby
ClarusCogitatio has joined #ruby
bmurt has joined #ruby
<eam> >> "is this thing on?"
havenwood has joined #ruby
<eval-in__> eam => "is this thing on?" (https://eval.in/171689)
<fuzzyhorns> eam: oh neat thanks
<fuzzyhorns> never seen this one heh
<eam> fuzzyhorns: is that what you're asking?
Brando753 has joined #ruby
devdazed has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
marienzombie has quit [Quit: leaving]
Adran has joined #ruby
lewix has quit [Remote host closed the connection]
axsuul has quit [Read error: Connection reset by peer]
nickenchuggets has quit [Ping timeout: 272 seconds]
axsuul has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
awkwords has joined #ruby
_reset has joined #ruby
peret has quit [Remote host closed the connection]
manacit is now known as yung_snuggie
yung_snuggie is now known as manacit
britneywright has joined #ruby
banjara has quit [Quit: Leaving.]
bruno- has joined #ruby
babykosh has joined #ruby
babykosh has quit [Client Quit]
tus has joined #ruby
sdouglas has joined #ruby
jdj_dk has joined #ruby
lewix has joined #ruby
reset has quit [Ping timeout: 264 seconds]
yokel has quit [Changing host]
yokel has joined #ruby
<grubernaut> Anybody available to help me out with a quick Hash skeleton question?
tus has quit [Client Quit]
_reset has quit [Ping timeout: 264 seconds]
<eam> grubernaut: don't ask to ask, just ask
bruno- has quit [Ping timeout: 245 seconds]
<grubernaut> I need to create a hash of X depth where x >= 1; such that if x=2; hash[x][y] exists. and if x=3 hash[x][y][z] exists
jdj_dk has quit [Ping timeout: 240 seconds]
NinoScript has joined #ruby
rokob has joined #ruby
<eam> what are the possible values for x, y and z?
yano has joined #ruby
<eam> the integers 1..X ?
<grubernaut> x can be anything >=1; y and z are going to be string values. should have written 'y' and 'z' sorry.
<grubernaut> eam: correct
rkazak has joined #ruby
<eam> y and z are going to be strings? or integers?
axsuul has joined #ruby
<fuzzyhorns> grubernaut: do you mean a hash of arbitrary depth basically?
<grubernaut> I can create a hash if x=2 by `hash = Hash.new { |h, k| h[k] = Hash.new { |h,k| h[k] = {} } }
<grubernaut> fuzzyhorns: correct
<grubernaut> eam: strings
<fuzzyhorns> like how perl can do autovivification?
Hanmac has joined #ruby
<grubernaut> fuzzyhorns: exactly
<fuzzyhorns> grubernaut: ive seen a solution done with a y combinator
<eam> grubernaut: ah, is this perhaps a homework assignment?
<grubernaut> eam: worse….. smh interview assignment
<eam> haha
<grubernaut> * language of choice…. * ofc I choose ruby
<eam> grubernaut: well, for arbitrary depth, can I recommend a recursive approach?
<fuzzyhorns> grubernaut: ive seen this too http://t-a-w.blogspot.com/2006/07/autovivification-in-ruby.html
<drizz> what's the go-to tutorial/introduction to ruby these days?
frellnet has joined #ruby
<fuzzyhorns> drizz: for a newbie programmer or just new to ruby person?
Hanmac1 has quit [Ping timeout: 256 seconds]
<grubernaut> eam: sure. the problem is much more complex than this, this is just the thing that's hanging me up. (Not asking for whole solution basically)
<drizz> fuzzyhorns: a newbie programmer
io_syl has joined #ruby
<fuzzyhorns> drizz: i think chris pine's book is pretty good, https://pine.fm/LearnToProgram/
io_syl has quit [Client Quit]
britneywright has quit [Remote host closed the connection]
<drizz> fuzzyhorns: alright, thanks, I'll pass it along :>
Wolland has quit [Remote host closed the connection]
<grubernaut> fuzzyhorns: holy shit, that's perfect, TY
<grubernaut> eam: I can use what fuzzyhorns posted to vivify the array. Thanks
Vivekananda has joined #ruby
Wolland has joined #ruby
<fuzzyhorns> grubernaut: np, good luck!
Kricir has joined #ruby
<grubernaut> fuzzyhorns: haha thanks
oo_ has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
<eam> grubernaut: rad. May want to attempt implementing it without the magic as well, probably worth more interview points
<grubernaut> eam: eh, if i even get it to solve I'll be happy. Never chased down the recursive hash/array rabbit hole this deep before. still a _very_ green junior
<eam> grubernaut: have you ever done any recursion?
<grubernaut> eam: only with java back in HS
radic has quit [Ping timeout: 264 seconds]
<eam> if you remember, for example, how to calculate fibonacci, this is more or less the same thing
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
radic has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<eam> except instead of n + 1 you return a structure of 1..n times keys being set
<eam> where the values are yourfunc(n - 1)
absolutezeroff has quit [Ping timeout: 260 seconds]
bigkevmcd has joined #ruby
hypnosb has joined #ruby
danijoo has joined #ruby
TheNumb has joined #ruby
robustus has joined #ruby
<eam> just a thought, may be worth studying the hard way incase they ask in a followup (I would :)
Wolland has quit [Ping timeout: 240 seconds]
<grubernaut> But I start with an array of hashes, and then have to turn that into a hash of hashes of hashes of array of hashes
KillerFox has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
<grubernaut> depending on how many keys are supplied in an a separate array
farn has joined #ruby
ajf- has joined #ruby
<eam> yup so, if I'm understanding you correctly you're building a tree structure
<eam> the leafs are just {}
<eam> right?
<grubernaut> eam: yeah, more or less. just sorting through the initial array of hashes, and producing a tree structure of sorted arrays at the leaves
mame1 has joined #ruby
jaequery has joined #ruby
ddfreyne has joined #ruby
oo_ has joined #ruby
<eam> def recursive_thing(n); if n = 1; {}; else (1..n).inject({}) { |h,i| h[i] = recursive_thing(n - 1); h} end; end;
<eam> something like that ^
krz has joined #ruby
Audace has joined #ruby
Eiam has joined #ruby
gattuso has joined #ruby
<eam> if I'm following you correctly
gattuso has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: rkazak]
gattuso has joined #ruby
<eam> dunno if that code works, I just typed it into irc
tomaw_ has joined #ruby
<eam> but your process, same as fibonacci, would be to either return the next step (which is a hash of n keys with values f(n - 1)), or return the leaf case
<eam> right?
mrmargolis has joined #ruby
mrmargolis has quit [Remote host closed the connection]
<grubernaut> right. and my leaf case would be the array of hashes that are sorted according to the previous branch in the tree
<eam> that's the root case
<eam> the leaf is on the other end, eg if x=3, what's the value of h[1][2][3] ?
<grubernaut> so I would have a => b => ['array of elements with 'a' and 'b']
<grubernaut> eam: the array of hashes that have 1 2 and 3 as values
<eam> ooh, ok, so instead of if n = 1; {}; you'd want to return an array of 1..x ?
absolutezeroff has joined #ruby
<grubernaut> yeah I think so
<eam> welp, that's an easy enough modificatoin
FLeiXiuS`` has quit [Ping timeout: 264 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
theharshest has quit [Quit: This computer has gone to sleep]
<grubernaut> if there was only one key in my array -> ['x']; I would have -> 'x' => [ 'hash containing x', 'hash containing x']
snath has joined #ruby
<fuzzyhorns> eam: https://eval.in/171694 this is what i was trying to get to :)
Karpuragauram has joined #ruby
<fuzzyhorns> eam: it doesnt have an actual return value as i have it set up, but it does evaluate properly to stdout to 15 :)
Gooder` has joined #ruby
kaspergr_ has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
Vivekananda_y510 has quit [Ping timeout: 240 seconds]
Vivekananda has quit [Ping timeout: 240 seconds]
Gooder has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Ping timeout: 255 seconds]
overmacht has joined #ruby
overmacht has quit [Max SendQ exceeded]
sailias has joined #ruby
mgberlin_ has joined #ruby
chipotle has joined #ruby
<grubernaut> eam: this is what the output is supposed to be. With only knowing an array of 2 elements, and an array of hashes: https://eval.in/171695
halogenandtoast has joined #ruby
kaspergr_ has quit [Ping timeout: 272 seconds]
kaspergrubbe has joined #ruby
braincrash has quit [Quit: bye bye]
bMalum has joined #ruby
FLeiXiuS`` has joined #ruby
bmurt has quit []
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has quit [Quit: Leaving...]
nazdaq has joined #ruby
nazdaq has quit [Client Quit]
braincrash has joined #ruby
<eam> fuzzyhorns: why the call to curry?
nazdaq has joined #ruby
<eam> rap only takes one argument
<fuzzyhorns> eam: yeah for now
<eam> ah ok
<fuzzyhorns> eam: i was figuring i could hand in a collection and a proc yknow?
Spami has joined #ruby
<eam> I didn't pick up on you asking for currying
nazdaq has quit [Client Quit]
<fuzzyhorns> eam: yeah i mean that is what i was htinking on, i just got thinking on it because each_with_object and inject have different orders for how they do arguments
dwayhs has joined #ruby
<fuzzyhorns> eam: which means one is more convenient to curry (inject) than the other
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam> grubernaut: I don't entirely understand the inputs you're working with, but you can probably adapt the above to work with that
<fuzzyhorns> so i wanted to see if i was right on that :x
bMalum has quit [Ping timeout: 255 seconds]
nazdaq has joined #ruby
<eam> ah
<fuzzyhorns> i'll put up some more code later with the full sketch of what i mean by that
<fuzzyhorns> but i kept f'n up the subtleties of going from blocks to procs etc
<fuzzyhorns> :P so i appreciate the help
nazdaq has quit [Client Quit]
Vivekananda has joined #ruby
nazdaq has joined #ruby
<eam> great!
mgberlin_ has quit [Remote host closed the connection]
nazdaq has quit [Client Quit]
rokob has quit [Remote host closed the connection]
nazdaq has joined #ruby
francisfish has joined #ruby
dwayhs has quit [Ping timeout: 256 seconds]
<grubernaut> lost connection for a second, miss anything
ixti has quit [Ping timeout: 264 seconds]
frellnet has quit [Remote host closed the connection]
arup_r has joined #ruby
frellnet has joined #ruby
timonv has joined #ruby
francisfish has quit [Ping timeout: 240 seconds]
j_mcnally has joined #ruby
tectonic has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
arup_r has joined #ruby
frellnet has quit [Ping timeout: 264 seconds]
timonv has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 255 seconds]
sdouglas has quit [Remote host closed the connection]
stytown has joined #ruby
Mekkis has joined #ruby
sdouglas has joined #ruby
grubernaut has left #ruby [#ruby]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snath has quit [Ping timeout: 240 seconds]
jdj_dk has joined #ruby
axsuul has quit [Read error: No route to host]
m3_del has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
m3_del has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
axsuul has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
jdj_dk has quit [Ping timeout: 255 seconds]
jaequery has quit [Client Quit]
danielpclark has joined #ruby
kireevco has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
kaspergrubbe has quit [Remote host closed the connection]
_Blizzy is now known as VBlizzard
VBlizzard is now known as _VBlizzard
kireevco has joined #ruby
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
foo-bar- has joined #ruby
_BlizzyBot has joined #ruby
_VBlizzard is now known as _Blizzy
_Blizzy is now known as _VBlizzard
_BlizzyBot has quit [Remote host closed the connection]
_VBlizzard is now known as _BlizzyBot
maletor has joined #ruby
_BlizzyBot is now known as _Blizzy
foo-bar- has quit [Ping timeout: 260 seconds]
axsuul_ has joined #ruby
baroquebobcat has joined #ruby
baroquebobcat has quit [Remote host closed the connection]
quiliro has joined #ruby
paradisaeidae has joined #ruby
<quiliro> hi
<quiliro> i am trying to use rubygems 1.9.3
advorak has quit [Quit: Ex-Chat]
<quiliro> but i get only 1.8.11
axsuul__ has joined #ruby
<havenwood> quiliro: RubyGems 1.8.11 ships with Ruby 1.9.3
<quiliro> i am using trisquel 6 which is ubuntu 12.04 with nonfree software removed
<quiliro> havenwood: oh!
<quiliro> ok
<havenwood> quiliro: You can update RubyGems independently of Ruby with: gem update --system
<quiliro> oh
<quiliro> cool
<havenwood> quiliro: Though if you're using debian shipped version, maybe don't.
<quiliro> i knew i had done it before
<eam> I'm realizing how much I'm not a fan of [] being used instead of .call()
axsuul has quit [Ping timeout: 240 seconds]
<eam> fuzzyhorns: neat
nateberkopec has joined #ruby
JoshGlzBrk has joined #ruby
<quiliro> havenwood: why not if it is debian based?
owen1 has joined #ruby
<owen1> anyone looking for a cool ruby gig in LA?
<fuzzyhorns> eam: me either i find it very weird
<fuzzyhorns> anyway night all
axsuul_ has quit [Ping timeout: 272 seconds]
<havenwood> quiliro: they package things in a particular way, and backport security fixes - it may be fine to do now but it used to at least be ill advised (i think maybe even printed an error refusing, i don't recall).
bluOxigen has joined #ruby
<quiliro> I get this error on installing a rails framework (Hobo):
<quiliro> /home/quiliro/.gem/gems/hobo_support-2.1.0/lib/hobo_support/fixes/module.rb:14:in `alias_method': undefined method `create_record' for class `ActiveRecord::Associations::HasManyThroughAssociation' (NameError)
<quiliro> what do you think it is related to?
fuzzyhorns has quit [Quit: Leaving.]
<quiliro> how should I investigate what is happening?
theharshest has joined #ruby
fabrice31 has joined #ruby
<sevenseacat> google?
musl_ has quit [Ping timeout: 240 seconds]
banister is now known as banisterfiend
snath has joined #ruby
m3_del has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
quazimodo has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 263 seconds]
<quiliro> sevenseacat: haha...good idea...found one response...it is a problem with Hobo
<sevenseacat> well we knew that much already from the error message
<quiliro> thank you people....your help gave me a lot of pointers
<quiliro> i didn't know it was a Hobo problem
bMalum has joined #ruby
<quiliro> i though hobo had a problem because i did not install the correct version of ruby
theharshest has quit [Quit: This computer has gone to sleep]
stytown has quit [Quit: stytown]
Ulrike_Rayne has joined #ruby
Audace has joined #ruby
Audace has quit [Max SendQ exceeded]
northfurr has joined #ruby
oo_ has quit [Remote host closed the connection]
halogenandtoast has quit [Quit: halogenandtoast]
spastorino has quit [Quit: Connection closed for inactivity]
bMalum has quit [Ping timeout: 264 seconds]
m3_del has joined #ruby
<arup_r> (1..6).map { |i| (1..i).map { rand(100) } } --- this is working.. What else way we can do that ?
theharshest has joined #ruby
dwayhs has joined #ruby
theharshest has quit [Client Quit]
paradisaeidae has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
<havenwood> arup_r: (1..6).map { |i| Array.new(i) { rand 100 } }
bruno- has joined #ruby
arya_ has quit [Ping timeout: 256 seconds]
maletor has quit [Client Quit]
<arup_r> havenwood: Yoo.............. You got my pain... :-)
paradisaeidae has joined #ruby
dwayhs has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 240 seconds]
<arup_r> havenwood: Inspired by you Array(6) { |i| Array(i+1) { rand(100) } }
sfiggins has quit [Quit: ZNC - http://znc.sourceforge.net]
nazdaq has quit [Read error: Connection reset by peer]
nazdaq_ has joined #ruby
jmbrown412 has joined #ruby
quazimod1 has joined #ruby
nazdaq_ has quit [Remote host closed the connection]
nazdaq has joined #ruby
JBreit has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
quazimodo has quit [Ping timeout: 255 seconds]
mikepack has joined #ruby
CaptainJet has quit []
aces1up9939 has joined #ruby
<aces1up9939> if i have absolute url that has domain and a relative url with no domain, what would the best way to combine the relative url to use the absolute domain of the comparing url?
musl_ has joined #ruby
<aces1up9939> http://mydomain.com/some_page.htm ---> Relative url /img/dude.jpg ---> I want http://mydomain.com/img/dude.jpg
<aces1up9939> but have it fairly smart about things.
<aces1up9939> nevermind found the adressable gem does it.
<nazdaq> Yes it does.... Also if you want to make you urls more readable.... Look into friendly gem
JBreit has left #ruby ["Leaving"]
theharshest has joined #ruby
paradisaeidae has quit [Ping timeout: 240 seconds]
robertodecurnex has joined #ruby
tobago has joined #ruby
christopherjbolt has joined #ruby
jdj_dk_ has joined #ruby
paradisaeidae has joined #ruby
christopherjbolt has quit [Client Quit]
sailias has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
nazdaq has quit [Quit: Bye]
nazdaq has joined #ruby
arya_ has joined #ruby
m3_del has quit [Remote host closed the connection]
mark06 has joined #ruby
<mark06> what's the best/msot complete way to convert windows paths to unix path?
<mark06> for example one that can handle unc
christopherjbolt has joined #ruby
oo_ has joined #ruby
benzrf is now known as benzrf|offline
Hobogrammer has joined #ruby
agent_white has joined #ruby
EasyCo has quit [Quit: Connection closed for inactivity]
nazdaq has quit [Quit: Bye]
Eyes is now known as Eyess
dopie has joined #ruby
Channel6 has quit [Quit: Leaving]
agent_white has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
arup_r has left #ruby [#ruby]
havenwood has joined #ruby
dopie has quit [Remote host closed the connection]
moted has joined #ruby
quazimod1 has quit [Ping timeout: 240 seconds]
_Blizzy has quit [Ping timeout: 246 seconds]
havenn has joined #ruby
fmendez has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
akemrir has joined #ruby
fmendez has quit []
mikepack has quit [Remote host closed the connection]
bradleyprice has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
mrmargolis has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
jkline has joined #ruby
zkay11 has joined #ruby
oo_ has joined #ruby
havenn has quit [Ping timeout: 264 seconds]
mrmargolis has quit [Ping timeout: 245 seconds]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
awkwords has quit [Ping timeout: 260 seconds]
oo_ has quit [Ping timeout: 264 seconds]
christopherjbolt has quit [Quit: christopherjbolt]
bradleyprice has quit [Ping timeout: 240 seconds]
awkwords has joined #ruby
brandonthornton has joined #ruby
Spami has joined #ruby
larsam has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
timonv has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
moted has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
arup_r has joined #ruby
dn0v has joined #ruby
brandonthornton has quit [Remote host closed the connection]
whyy has joined #ruby
moted has joined #ruby
JoshGlzBrk has joined #ruby
arup_r has quit [Remote host closed the connection]
awkwords has quit [Ping timeout: 240 seconds]
bMalum has quit [Ping timeout: 256 seconds]
timonv has quit [Ping timeout: 245 seconds]
bradleyprice has joined #ruby
dwayhs has joined #ruby
aganov has joined #ruby
Guest81453 has quit [Changing host]
JStoker has joined #ruby
Guest81453 is now known as JStoker
kith has joined #ruby
kith has quit [Changing host]
timonv has joined #ruby
francisfish has joined #ruby
timgauthier has joined #ruby
dc_ has quit []
dwayhs has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
havenn has joined #ruby
francisfish has quit [Ping timeout: 240 seconds]
rahult has joined #ruby
havenn has quit [Read error: Connection reset by peer]
jmbrown412 has quit [Remote host closed the connection]
havenn has joined #ruby
blueOxigen has joined #ruby
jmbrown412 has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
northfurr has quit [Quit: northfurr]
northfurr has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenn has quit [Ping timeout: 240 seconds]
dn0v has quit [Quit: WeeChat 0.4.3]
sdouglas has joined #ruby
devyn has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
earthquake has joined #ruby
jmbrown412 has quit [Ping timeout: 272 seconds]
tagrudev has joined #ruby
jkline has quit [Quit: jkline]
jkline has joined #ruby
jkline has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
mesamoo has joined #ruby
devyn has joined #ruby
northfurr has quit [Client Quit]
tvw has joined #ruby
jdj_dk_ has quit [Remote host closed the connection]
__JokerDoom has joined #ruby
relix has joined #ruby
<aces1up9939> if i have a closed file handle, how can i just cp / mv that file handle to another file ?
JasmeetQA has joined #ruby
sigurding has joined #ruby
Morkel has joined #ruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
arup_r has joined #ruby
JohnBat26 has joined #ruby
starkhalo has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
razum2um has joined #ruby
foo-bar- has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
foo-bar- has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
charliesome has joined #ruby
fabrice31 has joined #ruby
b00stfr3ak has joined #ruby
gavit has joined #ruby
Guest94926 is now known as Soliah
nateberkopec has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
theharshest has quit [Quit: This computer has gone to sleep]
__JokerDoom has quit [Ping timeout: 255 seconds]
Audace has joined #ruby
Audace has quit [Max SendQ exceeded]
Audace has joined #ruby
Macaveli has joined #ruby
timonv has quit [Remote host closed the connection]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Macaveli has quit [Remote host closed the connection]
krz has quit [Ping timeout: 264 seconds]
Royalb15 has joined #ruby
JasmeetQA1 has joined #ruby
Royalb15 has quit [Read error: Connection reset by peer]
apeiros has quit [Remote host closed the connection]
JasmeetQA has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
zkay11 has quit [Remote host closed the connection]
SouL has joined #ruby
washtubs has quit [Ping timeout: 260 seconds]
JokerDoom has joined #ruby
postmodern has quit [Remote host closed the connection]
postmodern has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
bal has joined #ruby
jprovazn has joined #ruby
penzur has joined #ruby
bMalum has joined #ruby
bhaak has joined #ruby
agent_white has quit [Ping timeout: 264 seconds]
bMalum has quit [Client Quit]
bMalum has joined #ruby
bradleyprice has quit [Remote host closed the connection]
dwayhs has joined #ruby
alexju has quit [Remote host closed the connection]
bradleyprice has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
kyb3r_ has joined #ruby
timgauthier has joined #ruby
yfeldblum has quit [Remote host closed the connection]
carraroj has joined #ruby
bMalum has quit [Ping timeout: 264 seconds]
paradisaeidae has quit [Ping timeout: 240 seconds]
dwayhs has quit [Ping timeout: 272 seconds]
sigurding has quit [Quit: sigurding]
bradleyprice has quit [Ping timeout: 260 seconds]
yacks has quit [Ping timeout: 240 seconds]
tectonic has quit []
vyorkin2 has joined #ruby
tungd has joined #ruby
dayepa has quit [Read error: Connection reset by peer]
vyorkin2 has quit [Ping timeout: 272 seconds]
jshultz has quit [Quit: Connection closed for inactivity]
krz has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tectonic has joined #ruby
agent_white has joined #ruby
earthquake has quit [Quit: earthquake]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
ddv has joined #ruby
ddv has quit [Changing host]
quiliro has quit [Quit: Leaving.]
timgauthier has joined #ruby
mark06 has left #ruby [#ruby]
dumdedum has joined #ruby
<renier> hi. anyone cares to upvote this issue in rubygems? https://github.com/rubygems/rubygems/issues/956
agent_wh1te has joined #ruby
carraroj has quit [Ping timeout: 256 seconds]
<sevenseacat> mmmm i agree with drbrain
roolo has joined #ruby
p0sixpscl has joined #ruby
agent_white has quit [Ping timeout: 264 seconds]
sigurding has joined #ruby
tectonic has quit []
JasmeetQA has joined #ruby
paradisaeidae has joined #ruby
JasmeetQA1 has quit [Read error: Connection reset by peer]
kalusn has joined #ruby
agent_wh1te has quit [Read error: Connection reset by peer]
tectonic has joined #ruby
IceDragon has quit [Quit: Space~~~]
djbkd has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
tectonic has quit [Client Quit]
p0sixpscl has quit [Ping timeout: 240 seconds]
vpretzel has quit [Ping timeout: 240 seconds]
JasmeetQA1 has joined #ruby
agent_white has joined #ruby
vpretzel has joined #ruby
moted has quit [Quit: moted]
JasmeetQA has quit [Ping timeout: 272 seconds]
kwd has joined #ruby
nateberkopec has joined #ruby
chipotle has quit [Quit: cya]
havenwood has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
whyy has quit [Remote host closed the connection]
alem0lars has joined #ruby
Poky has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 260 seconds]
<gavit> moin
mrmargolis has joined #ruby
apeiros has joined #ruby
anarang has joined #ruby
ghr has joined #ruby
axsuul__ has quit [Read error: Connection reset by peer]
claymore has joined #ruby
claymore has quit [Changing host]
claymore has joined #ruby
mrmargolis has quit [Ping timeout: 240 seconds]
yacks has joined #ruby
lewix has joined #ruby
kiri has joined #ruby
lewix has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 272 seconds]
sdouglas has joined #ruby
lewix has joined #ruby
bw_ has left #ruby [#ruby]
lewix has quit [Remote host closed the connection]
whyy has joined #ruby
lewix has joined #ruby
kireevco has quit [Quit: Leaving.]
ziyadb has quit [Quit: Connection closed for inactivity]
lewix has quit [Remote host closed the connection]
carraroj has joined #ruby
bMalum has joined #ruby
lewix has joined #ruby
claymore has quit [Ping timeout: 260 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
kalusn has quit [Remote host closed the connection]
claymore has joined #ruby
datafirm has joined #ruby
claymore has quit [Changing host]
claymore has joined #ruby
rdark has joined #ruby
lewix has quit [Remote host closed the connection]
bruno- has joined #ruby
lewix has joined #ruby
bMalum has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
lewix has quit [Remote host closed the connection]
everettForth has joined #ruby
fabrice31 has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
agent_wh1te has joined #ruby
lewix has joined #ruby
<everettForth> Would anyone be able to explain the scoping of Capybara to me?
Photism has quit [Read error: Connection reset by peer]
Sp4rKy has quit [Changing host]
Sp4rKy has joined #ruby
obs has joined #ruby
obs has quit [Client Quit]
<everettForth> It seems to put a constant "Capybara" in the global scope, which grows in memory as my web session does more
<everettForth> i don't understand the right way to free the memory
datafirm has quit [Quit: Computer has gone to sleep.]
lewix has quit [Remote host closed the connection]
dwayhs has joined #ruby
datafirm has joined #ruby
agent_white has quit [Ping timeout: 256 seconds]
LiohAu has quit [Quit: LiohAu]
bruno- has quit [Ping timeout: 255 seconds]
Macaveli has joined #ruby
kireevco has quit [Quit: Leaving.]
ephemerian has joined #ruby
dwayhs has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
kireevco has joined #ruby
ahshsa has joined #ruby
datafirm has quit [Ping timeout: 245 seconds]
zigomir has joined #ruby
yfeldblum has joined #ruby
blackmesa has joined #ruby
Doppp has quit [Ping timeout: 272 seconds]
b00stfr3ak has quit [Ping timeout: 272 seconds]
yfeldblu_ has joined #ruby
dc_ has joined #ruby
francisfish has quit [Ping timeout: 256 seconds]
sk87 has joined #ruby
ylluminarious|aw has quit [Quit: Leaving...]
yfeldblu_ has quit [Remote host closed the connection]
robertodecurnex has quit [Read error: Connection reset by peer]
jmbrown412 has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #ruby
orionstein is now known as orionstein_away
jacobat has joined #ruby
kireevco has quit [Quit: Leaving.]
wildroman2 has joined #ruby
roolo has quit [Quit: Leaving...]
<jacobat> Is there some way to optimize file lookups with rubygems? It seems that the way it works is that every require naively tries to find the file in every directory in the load path
fabrice31 has quit [Remote host closed the connection]
jmbrown412 has quit [Ping timeout: 245 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140707160635]]
Photism has joined #ruby
tvw has quit []
fabrice31 has joined #ruby
qba73 has joined #ruby
larsam has joined #ruby
jackneill has joined #ruby
cerberblue has quit [Remote host closed the connection]
cerberblue has joined #ruby
Wolland has joined #ruby
bruno- has joined #ruby
bruno- is now known as Guest9442
Wolland_ has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
mbwe has quit [Quit: WeeChat 0.4.2]
Morkel has quit [Ping timeout: 240 seconds]
tomaw_ is now known as tomaw
wildroman2 has quit [Remote host closed the connection]
Guest9442 has quit [Ping timeout: 240 seconds]
foo-bar- has joined #ruby
dotz has joined #ruby
Wolland_ has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
chipotle has quit [Client Quit]
foo-bar- has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
Doppp has joined #ruby
LiohAu has joined #ruby
wildroman2 has joined #ruby
nateberkopec has joined #ruby
Joulse has joined #ruby
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 255 seconds]
bMalum has joined #ruby
Doppp has quit [Ping timeout: 256 seconds]
xIzIv has joined #ruby
tesuji has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
alem0lars has quit [Quit: Going AFK...]
arup_r has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
csmrfx has quit [Quit: leaving]
lng_ has joined #ruby
mikecmpbll has joined #ruby
blackmesa has joined #ruby
jack_rabbit has quit [Quit: Leaving]
jack_rabbit has joined #ruby
alem0lars has joined #ruby
arya_ has joined #ruby
Wolland has joined #ruby
dayepa has joined #ruby
whyy has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
olivier_bK has joined #ruby
<olivier_bK> how can i get with one function two different argument of two different function ?
<olivier_bK> i explain
Prandium has quit [Read error: Connection reset by peer]
rahult has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
<shevy> olivier_bK man your english is deadly
<shevy> and why do you write function and not method
Wolland has quit [Ping timeout: 260 seconds]
<shevy> you can handle all variable arguments into something like: def foo(*i)
jaequery has joined #ruby
andrewlio has joined #ruby
yokel has quit [Ping timeout: 255 seconds]
<olivier_bK> shevy, sorry for my english
<shevy> you can save as .rb on gisthub btw
<shevy> you saved as .txt
arya_ has quit [Ping timeout: 256 seconds]
<shevy> I don't really know what is going on there on your code
Striki has quit []
dwayhs has joined #ruby
Striki has joined #ruby
arya_ has joined #ruby
<olivier_bK> ok sorry
lyuzashi has quit [Ping timeout: 252 seconds]
<shevy> what is the method that you want to call with different arguments?
<shevy> and what will these arguments be
dwayhs has quit [Read error: Connection reset by peer]
<shevy> if you use * you can use as many arguments as you want to
Aryasam has joined #ruby
<olivier_bK> i m really sorry shevy
<olivier_bK> i know my english is not perfect :(
<shevy> it does not have to be perfect, just keep it simple to express yourself clearly
<olivier_bK> in the function href_link i get an array and in get_price i get another one
<shevy> in the method
elaptics`away is now known as elaptics
<shevy> stop writing function
<olivier_bK> it's what i try
Takle has joined #ruby
<shevy> a method is attached to an object
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has joined #ruby
<shevy> I can not even reproduce your code
<lng_> what does it do? Array(ssh_info[:private_key_path]).first
<shevy> foo.rb:17:in `get_price': undefined local variable or method `page' for main:Object (NameError)
<shevy> can't you provide full code so that it runs for others olivier_bK?
shvelo has joined #ruby
<shevy> lng_ the first part puts it into an array
<shevy> >> Array(5)
<shevy> # => [5]
<eval-in__> shevy => [5] (https://eval.in/171759)
<shevy> oops
<shevy> you get the idea
<shevy> and .first is a method on an array
<shevy> >> Array(5,6)
<eval-in__> shevy => wrong number of arguments (2 for 1) (ArgumentError) ... (https://eval.in/171760)
<shevy> >> Array(5).first
<eval-in__> shevy => 5 (https://eval.in/171761)
mrnugget has joined #ruby
<shevy> lng_ I may be wrong but I think whoever wrote that code you pasted was an idiot
<sevenseacat> lol
<shevy> ohhh
<sevenseacat> telling it like it is, eh
Takle has quit [Remote host closed the connection]
<shevy> perhaps it returned a hash
<shevy> >> Array( :foo => 'bar' )
<eval-in__> shevy => [[:foo, "bar"]] (https://eval.in/171762)
<shevy> >> Array( :foo => 'bar' ).first
<eval-in__> shevy => [:foo, "bar"] (https://eval.in/171763)
<shevy> >> Array( :foo => 'bar' ).flatten
<eval-in__> shevy => [:foo, "bar"] (https://eval.in/171764)
Takle has joined #ruby
<shevy> ah well, I still find that Array() thing ugly
arup_r has joined #ruby
sputnik1_ has joined #ruby
roolo has joined #ruby
whyy has joined #ruby
<olivier_bK> shevy, wait i going to read the documentation about array flatten
<Hanmac> Array() is for fool-prof if you have a function that can return a array ... or maybe not (like nil or something else)
einarj has joined #ruby
<Hanmac> for sample you have a function that might return a string or a array of strings
shvelo has quit [Ping timeout: 245 seconds]
kalusn has joined #ruby
shvelo has joined #ruby
farn has quit [Quit: farn]
spider-mario has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
gigetoo has quit [Remote host closed the connection]
gigetoo has joined #ruby
bruno- has joined #ruby
alem0lars has quit [Ping timeout: 264 seconds]
cerberblue has quit []
wallerdev has quit [Quit: wallerdev]
francisfish has joined #ruby
timonv has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kwd has quit [Quit: kwd]
jheg has joined #ruby
larsam has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
rahult has joined #ruby
<olivier_bK> shevy, thanks to you i think i found a solution with flatten
oo_ has quit [Remote host closed the connection]
<olivier_bK> thanks men
nemesit|znc has quit [Ping timeout: 264 seconds]
xIzIv has quit [Remote host closed the connection]
oo_ has joined #ruby
dotz has quit [Read error: Connection reset by peer]
blackmesa has quit [Read error: Connection reset by peer]
rahult has quit [Ping timeout: 240 seconds]
nemesit|znc has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
dotz has joined #ruby
blackmesa has joined #ruby
Dude007 has quit [Remote host closed the connection]
agjacome has quit [Ping timeout: 272 seconds]
Dude007 has joined #ruby
wallerdev has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
agent_wh1te has quit [Quit: gnight]
dANOKELOFF has joined #ruby
akemrir has quit [Ping timeout: 240 seconds]
joonty has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
Takle has quit [Remote host closed the connection]
cocotton has joined #ruby
nateberkopec has joined #ruby
<shevy> \o/
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
oo__ has quit [Remote host closed the connection]
arquebus has joined #ruby
workmad3 has joined #ruby
oo__ has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
oo__ has quit [Remote host closed the connection]
wildroman2 has quit [Client Quit]
JasmeetQA has joined #ruby
moritzs has joined #ruby
tvw has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 240 seconds]
JasmeetQA1 has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
arya_ has quit [Ping timeout: 264 seconds]
klaut has joined #ruby
arya_ has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
KWALL has joined #ruby
Deejay_ has joined #ruby
Alina-malina has joined #ruby
dANOKELO_ has joined #ruby
aces1up9939 has quit []
dANOKELOFF has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
<shevy> anyone of you wrote a script that generates tab-completion in bash?
Poky has quit [Remote host closed the connection]
Wolland has joined #ruby
wallerdev has quit [Quit: wallerdev]
zaargy has quit [Remote host closed the connection]
ndrei has joined #ruby
timonv has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 272 seconds]
<mozzarella> tab completion for what?
maximski has joined #ruby
dwayhs has joined #ruby
Zebroid has quit [Remote host closed the connection]
shvelo has quit [Ping timeout: 240 seconds]
akemrir has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
vyorkin2 has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nfk has joined #ruby
dwayhs has quit [Ping timeout: 272 seconds]
<shevy> mozzarella when you do certain commands
<shevy> like: foo bl<TAB_PRESS_HERE>
<shevy> for instance, commands to gem subcommands
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<shevy> or like if you wish to compile via homebrew and want to get a list of all programs starting with 'r'
<workmad3> shevy: no... but a quick google gave this for completion of thor commands: https://gist.github.com/lukasz-kaniowski/1348078
<workmad3> shevy: I'd suspect modification is pretty easy as long as your script has a way of listing usage that you can then cut up :)
dangerousdave has joined #ruby
<shevy> that's quite a clever way actually
<shevy> I hardcoded all entries in there
<shevy> but using something like a command, thor list in this case, seems nicer
dopie has joined #ruby
<dopie> hey all
<dopie> can someone help me with this expression
<dopie> false != !true .... if false but can someone explain me why?
<workmad3> shevy: as long as the command is quick to run anyway
sigurding has quit [Quit: sigurding]
jottr has joined #ruby
<shevy> dopie why do you hate your brain so much
sputnik1_ has joined #ruby
<dopie> shevy, its a question that came up
<dopie> and i got it wrong
<dopie> :)
<shevy> btw how can that expression be run if you chain if false to it?
<dopie> oh wait
<dopie> sorry
<dopie> false != !true .... the answer is false but can someone explain me why?
<shevy> >> !true
<eval-in__> shevy => false (https://eval.in/171782)
<shevy> >> false != false
<eval-in__> shevy => false (https://eval.in/171783)
<shevy> >> false == true
<eval-in__> shevy => false (https://eval.in/171784)
<shevy> see it now dopie?
<ruisantos> >> false == false
<eval-in__> ruisantos => true (https://eval.in/171785)
<shevy> false == false is nowhere in the code though
blackmesa has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
<dopie> !true flips to false
<dopie> != is not_equal
<dopie> correct?
<ruisantos> shevy I just thought that would add something to the discussion
<ruisantos> dopie correct
<shevy> ruisantos sure, could be, dopie hopefully understands it now
<dopie> yeah i do
<ruisantos> sure hope so
<dopie> duh
<shevy> now he is a master of the flip flop operator
noop has joined #ruby
jle` has quit [Quit: WeeChat 0.4.2]
<dopie> shevy, slowly getting there
<shevy> >> x = false; x = !x; x
<eval-in__> shevy => true (https://eval.in/171786)
<shevy> yay! we flopped it to true
jle` has joined #ruby
jle` has quit [Changing host]
jle` has joined #ruby
<shevy> I have philosophical questions
<shevy> is flip false and flop true, or is flop false and flip true?
karupa is now known as zz_karupa
<jxport> shevy: "flip it on"
<ruisantos> shevy could it be both? that's like quantum superposition
<shevy> hmm
<shevy> like the schroedinger cat
<shevy> we'd never know if it is alive or dead
<shevy> OR IF IT IS EVEN IN THAT BOX AT ALL!!!
puppeh has joined #ruby
timonv has joined #ruby
<shevy> dopie, what will this be: !!!!!!!!!!false
<puppeh> is it semantically correct that if you want to check the bytes of a string you simply check of it's length? (ie str.size instead of str.bytesize)
<jxport> puppeh: multi-byte characters? (No)
<puppeh> even though the result is the same because 1 char is 1 byte, is this a guarantee? ie. the implementation may change in the future, right?
kaspergrubbe has quit [Remote host closed the connection]
<jxport> puppeh: depends on the encoding
<puppeh> that's what I thought
<dopie> (!true || (!(100 / 5) == 20) || ((328 / 4) == 82)) || false
<Cork> is there a cleaner way then Net::ssh.start(..) {|ssh| ssh.exec!("echo #{ log_data.shellescape } >> /var/log/log_file.log"); }
<puppeh> but even if the encoding is controlled by you and it is US-ASCII
Karpuragauram has quit [Quit: Leaving]
<puppeh> what then?
<Cork> to write text to a file on a ssh remote system?
<jxport> puppeh: then you're unnecessarily coupling your code to a particular text encoding, when there are better ways to check string lengths that don't require you to constrain your design
<puppeh> jxport: wouldn't calling str.bytesize be the correct way?
<workmad3> puppeh: at that point, size and bytesize would be the same, but it's still semantically incorrect to use size as the number of bytes for storage
arquebus has quit [Quit: Konversation terminated!]
marr has joined #ruby
kaspergrubbe has joined #ruby
sigurding has joined #ruby
<workmad3> puppeh: after all, you could store US-ASCII in a packed form rather than a byte-aligned form as in US-ASCII, each character is 7 bits
Atttwww has quit [Ping timeout: 245 seconds]
foo-bar-_ has joined #ruby
<workmad3> (I don't think anyone bothers with that nowadays... but it still shows that coupling bytes to string length can be incorrect even in single-byte characters ;) )
<jxport> I'm writing a game that has 3 kinds of 'cells' - one can be Live, another Dead, another Hidden. I could namespace them to be Cell::Live, Cell::Dead and Cell::Hidden
<jxport> Not sure if doing that is right
alem0lars has quit [Quit: Going AFK...]
<puppeh> I see
<workmad3> jxport: are the cells going to be read-only value objects?
<jxport> workmad3: their states could change. (Why?)
<workmad3> jxport: well, if they were read-only value objects and a 'state-change' was implemented as assigning a new cell of the new type to that position, I'd go with Cell::Live, Cell::Dead and Cell::Hidden
<workmad3> jxport: but if you were going to keep the state internal and a state-change happened without changing the object, I'd just have a Cell object
<jxport> workmad3: thanks - you're basically echoing my own thoughts which is exactly what I was hoping for. :)
<workmad3> s/changing the object/creating a new object instance/
nfk has quit [Quit: yawn]
pygospa has quit [Quit: leaving]
foo-bar-_ has quit [Ping timeout: 256 seconds]
pygospa has joined #ruby
obs has joined #ruby
Deejay_ has quit [Quit: Computer has gone to sleep.]
mr-foobar has quit [Read error: Connection reset by peer]
mr-foobar has joined #ruby
nfk has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
Dude007_ has joined #ruby
<shevy> whee
<shevy> workmad3 echos thoughts of other people
yfeldblum has joined #ruby
<shevy> these are some serious zombie powers you got there man
sk87 has joined #ruby
<workmad3> shevy: I'm not really a person... I'm actually a shared hallucination that simply repeats unconscious thoughts
<shevy> hehe
whyy has quit [Remote host closed the connection]
nateberkopec has joined #ruby
Dude007 has quit [Ping timeout: 240 seconds]
Deele has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<olivier_bK> workmad3, lol...
<workmad3> olivier_bK: that's disgusting... stop thinking that!
puppeh has quit [Remote host closed the connection]
pygospa has quit [Quit: "Restart, sorry..."]
nateberkopec has quit [Ping timeout: 240 seconds]
<shevy> lol
pygospa has joined #ruby
<olivier_bK> workmad3, Yes chief !!
<shevy> that could be a nightmare
<shevy> if I think about pink unicorns all day long
<olivier_bK> i love pink unicorns
<olivier_bK> :)
<olivier_bK> lol
<workmad3> shevy: pfft, everyone knows unicorns are gray
<shevy> oh man
<shevy> poor rhinozerus
mijicd has joined #ruby
<olivier_bK> workmad3, no it's pink
vifino has joined #ruby
bMalum_ has joined #ruby
Dude007_ has quit [Ping timeout: 256 seconds]
whyy has joined #ruby
puppeh has joined #ruby
<olivier_bK> how to get the string return if match in array ?
bMalum has quit [Ping timeout: 240 seconds]
moritzs has quit [Ping timeout: 272 seconds]
SouL has quit [Ping timeout: 245 seconds]
<puppeh> workmad3 jxport: what if I know that the code always encodes the strings to Base64 (therefore ASCII, therefore 1 byte each char)? Would it still make sense to use #bytesize instead of #size on the strings?
Biohazard has joined #ruby
<workmad3> puppeh: yes
<workmad3> puppeh: because bytesize is always semantically what you're after... the size in bytes
<puppeh> true..
<puppeh> ok thanks :)
fabrice31 has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Wolland has joined #ruby
Oxelist has joined #ruby
gypsydave5 has joined #ruby
Dude007 has joined #ruby
<gypsydave5> Hi - quick question if anyone has time
_KaszpiR_ has quit [Ping timeout: 264 seconds]
<gypsydave5> Looking at Enumerable#map on a hash
<gypsydave5> wondering why hash.map {|pair| pair.first} returns the same as hash.map {|key,value| key}
<gypsydave5> Is it the way the block is treating the argument from the map method?
<gypsydave5> (I guess I'm asking why the second one has any right to work at all...)
Wolland has quit [Ping timeout: 256 seconds]
Primordus has joined #ruby
<banisterfiend> gypsydave5 destructuring
moritzs has joined #ruby
<banisterfiend> gypsydave5 pair = [1, 2]
<banisterfiend> gypsydave5: k, v = [1, 2]
jacobat has quit [Ping timeout: 240 seconds]
shvelo has joined #ruby
<gypsydave5> So the by having two variables(?) in the pipes the block destructures the array into two variables (rather than one array)?
<banisterfiend> gypsydave5 yes
<gypsydave5> Cool - thanks!
dwayhs has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
tungd has quit [Read error: No route to host]
Dude007_ has joined #ruby
iamjarvo_ has joined #ruby
jack_rabbit has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
fabrice31 has joined #ruby
Dude007 has quit [Ping timeout: 240 seconds]
dwayhs has quit [Ping timeout: 256 seconds]
Primordus has left #ruby ["Leaving"]
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #ruby
chipotle has quit [Client Quit]
Oxelist has quit [Ping timeout: 240 seconds]
vyorkin2 has quit [Read error: Connection reset by peer]
mrnugget has quit [Quit: mrnugget]
vyorkin2 has joined #ruby
jespada has joined #ruby
jacobat has joined #ruby
shredding has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
eka has joined #ruby
cek has left #ruby [#ruby]
bMalum_ has quit [Quit: Computer has gone to sleep.]
lkba has joined #ruby
gavit has quit [Ping timeout: 256 seconds]
mooview has joined #ruby
Joulse has quit [Quit: Joulse]
jgt has joined #ruby
AlSquire has joined #ruby
zaargy has joined #ruby
mooview has quit [Remote host closed the connection]
puppeh has quit [Ping timeout: 240 seconds]
Dude007_ has quit [Ping timeout: 255 seconds]
pygospa has quit [Quit: leaving]
postmodern has quit [Quit: Leaving]
pygospa has joined #ruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
atmosx has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
sigurding has joined #ruby
phoo1234567 has joined #ruby
blackmesa has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
<clocKwize> hey
phoo1234567 has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
dANOKELO_ has quit [Remote host closed the connection]
iamjarvo_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
alexherb1 has quit [Quit: WeeChat 0.4.3]
Takle has joined #ruby
alexherbo2 has joined #ruby
spastorino has joined #ruby
mrnugget has joined #ruby
roolo has quit [Quit: Leaving...]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Darryl has joined #ruby
penzur has quit [Ping timeout: 240 seconds]
atmosx has joined #ruby
oo_ has quit [Remote host closed the connection]
mr-foobar has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
mr-foobar has joined #ruby
kaspergrubbe has joined #ruby
oo_ has joined #ruby
agjacome has joined #ruby
vyorkin2 has quit [Ping timeout: 240 seconds]
Alina-malina has quit [Quit: Leaving]
blackmesa has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
mrmargolis has joined #ruby
jdj_dk_ has joined #ruby
Dude007 has joined #ruby
skaflem has joined #ruby
kalusn has quit [Read error: No route to host]
everettForth has quit [Ping timeout: 240 seconds]
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrmargolis has quit [Ping timeout: 240 seconds]
kalusn has joined #ruby
jprovazn has quit [Quit: Odcházím]
maximski has quit []
johnrover has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
johnrover has quit [Client Quit]
mehlah has joined #ruby
tesaf has joined #ruby
roolo has joined #ruby
jdj_dk_ has quit [Remote host closed the connection]
Wolland has joined #ruby
toretore has joined #ruby
Alina-malina has joined #ruby
moritzs has quit [Ping timeout: 264 seconds]
vyorkin2 has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
Wolland has quit [Ping timeout: 240 seconds]
vyorkin2 has quit [Client Quit]
obs has quit [Quit: Konversation terminated!]
Biohazard has quit [Read error: Connection reset by peer]
Biohazard has joined #ruby
yfeldblum has joined #ruby
dwayhs has joined #ruby
<jxport> Should exception classes be in their own files?
johnrover has joined #ruby
razum2um has quit [Quit: Leaving.]
chipotle has joined #ruby
jdj_dk_ has joined #ruby
jdj_dk_ has quit [Remote host closed the connection]
<shevy> depends on your layout
yfeldblum has quit [Ping timeout: 240 seconds]
<shevy> if you follow a scheme - one class per file, then sure
chipotle has quit [Client Quit]
dwayhs has quit [Ping timeout: 240 seconds]
mark06 has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
gattuso has quit [Ping timeout: 260 seconds]
p0sixpscl has joined #ruby
<wasamasa> mark06: are you the author?
jheg has quit [Quit: jheg]
<mark06> yes
gattuso has joined #ruby
decoponio has joined #ruby
<wasamasa> well, there's already docopt: http://docopt.org/
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wasamasa> just saying
Shidash has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jgt has quit [Read error: Connection reset by peer]
dANOKELOFF has joined #ruby
johnrover has quit [Quit: johnrover]
<mark06> yeah, a sibling project, I had seen that before and just starred on github
<mark06> we had a very similar idea without meeting each other :)
<wasamasa> so no need for a python port I'd say
ldnunes has joined #ruby
alem0lars has joined #ruby
shredding has joined #ruby
mrmargolis has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
RichiH has joined #ruby
yalue has joined #ruby
<RichiH> on both debian stable and ubuntu 14.04 LTS, i installed ruby 1.9.3, but the syslog package (module? gem?) does not seem to be available even though it's a default library according to http://ruby-doc.org/stdlib-1.9.3/libdoc/syslog/rdoc/Syslog.html
gattuso has quit [Ping timeout: 260 seconds]
mrmargolis has quit [Client Quit]
<mark06> it is certainly an option but they aren't quite the same, I would like a python port to behave the same way as in ruby
gattuso has joined #ruby
shredding has quit [Ping timeout: 240 seconds]
sk87 has joined #ruby
kaspergrubbe has joined #ruby
banister has joined #ruby
banister has quit [Client Quit]
mconnolly has quit [Ping timeout: 256 seconds]
maoko has joined #ruby
alem0lars has quit [Quit: Going AFK...]
<Hanmac> RichiH: ttry to install "ruby-full" maybe something is still missing
gattuso has quit [Ping timeout: 260 seconds]
gattuso has joined #ruby
<RichiH> Hanmac: didn't help
<Hanmac> RichiH: what does "ruby -v" shows you?
jheg has joined #ruby
jprovazn has joined #ruby
Takle has quit [Remote host closed the connection]
nateberkopec has joined #ruby
mr-foobar has quit [Quit: Leaving...]
<RichiH> Hanmac: ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
Ayey_ has joined #ruby
<Hanmac> RichiH: how do you try to use it? it seems to work for me
freerobby has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
mr-foobar has joined #ruby
ajvillalobos has joined #ruby
Dude007 has quit [Remote host closed the connection]
moritzs has joined #ruby
Takle has joined #ruby
<ajvillalobos> hey guys
<ajvillalobos> i need some help parsing a csv here, i just can’t quite get my method
<ajvillalobos> i got this sample csv : http://pastebin.com/ZcJJekqG
jacobat_ has joined #ruby
<ajvillalobos> i want it to be able to like summarize all the revenue by month.
<ajvillalobos> current code is : http://pastebin.com/VzLTHZ6Q
Takle has quit [Remote host closed the connection]
<ajvillalobos> i dont know how to proceed, my idea is to store the previous month when it loops but I can’t get my idea to work
blackmesa has joined #ruby
whyy has quit [Read error: Connection reset by peer]
jacobat has quit [Ping timeout: 245 seconds]
moritzs has quit [Ping timeout: 256 seconds]
rahult has joined #ruby
gattuso has quit [Ping timeout: 260 seconds]
gattuso has joined #ruby
Wolland has joined #ruby
ajvillalobos has left #ruby [#ruby]
iamjarvo_ has joined #ruby
ahshsa has quit [Remote host closed the connection]
johnrover has joined #ruby
shredding has joined #ruby
gattuso has quit [Ping timeout: 260 seconds]
Neomex has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
gattuso has joined #ruby
phil has joined #ruby
mconnolly has joined #ruby
mijicd has quit [Remote host closed the connection]
dwayhs has joined #ruby
johnrover has quit [Ping timeout: 240 seconds]
dwayhs has quit [Read error: Connection reset by peer]
shredding has quit [Ping timeout: 240 seconds]
sigurding has quit [Quit: sigurding]
dwayhs has joined #ruby
Dude007 has joined #ruby
freerobby has quit [Quit: Leaving.]
halogenandtoast has joined #ruby
johnrover has joined #ruby
foo-bar- has joined #ruby
phutchins has joined #ruby
<frankS2> http://rubymonk.com/learning/books/1-ruby-primer/chapters/42-introduction-to-i-o/lessons/89-streams it looks like there is something wrong with this first example, anyonehere affiliated with rubymonk?
paulfm has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
whyy has joined #ruby
exgf has joined #ruby
nateberkopec has joined #ruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jheg has quit [Quit: jheg]
yfeldblum has joined #ruby
jprovazn has quit [Quit: Leaving]
fuzzyhorns has joined #ruby
fuzzyhorns has left #ruby [#ruby]
yfeldblum has quit [Ping timeout: 240 seconds]
<olivier_bK> how i can search a word in array and print the line if matching
jheg has joined #ruby
Joulse has joined #ruby
washtubs has joined #ruby
<apeiros> olivier_bK: an array doesn't have "lines"
Takle has joined #ruby
<apeiros> do you mean "print the index"?
jprovazn has joined #ruby
<apeiros> >> ["hello", "world", "this", "is", "fun"].index("this")
<eval-in__> apeiros => 2 (https://eval.in/171826)
gattuso has quit [Ping timeout: 260 seconds]
mconnolly has quit [Quit: mconnolly]
Dude007 has quit [Remote host closed the connection]
mconnolly has joined #ruby
gattuso has joined #ruby
fmendez has joined #ruby
halogenandtoast has quit [Quit: halogenandtoast]
bmurt has joined #ruby
johnrover has quit [Quit: johnrover]
penzur has joined #ruby
johnrover has joined #ruby
fmendez has left #ruby [#ruby]
fmendez has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 240 seconds]
tus has joined #ruby
gavit has joined #ruby
mijicd has joined #ruby
<olivier_bK> yes sorry
haasn has joined #ruby
johnrover has quit [Ping timeout: 240 seconds]
<haasn> I'm trying to install a program written in ruby; the install instructions tell me to run ““gem install bundler” followed by “bundle” - I've completed the first command, but I have no idea where “bundler” ended up
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
jprovazn has quit [Ping timeout: 260 seconds]
mconnolly has quit [Quit: mconnolly]
pontiki has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
<haasn> Oh, my package manager has a package for bundler - I'll use that instead of messing with “gem install”
<fmendez> haasn: at that point bundler should be available "system" wide
<fmendez> haasn: you should be able to do "bundle some_command" from within any folder
shredding has joined #ruby
tacos1de has quit [Remote host closed the connection]
St_Marx has quit [Remote host closed the connection]
tacos1de has joined #ruby
<haasn> It certainly did not get installed system-wide; “bundle” was not found as a command - I installed it through my package manager, it's available now
mijicd has quit [Remote host closed the connection]
St_Marx has joined #ruby
SilkFox has joined #ruby
mark06 has left #ruby [#ruby]
<haasn> Hmm, when running bundle I get “LoadError: cannot load such file -- bundler/source/path/installer”
<haasn> (Trying to install xiki from git)
tjr9898 has joined #ruby
iceyec has quit [Quit: leaving]
mijicd has joined #ruby
iceyec has joined #ruby
jaequery has joined #ruby
Takle has joined #ruby
mconnolly has joined #ruby
<haasn> Oh, I figured out the answer to my earlier question, too
<haasn> They end up in ~/.gem/ruby/1.9.1/bin
angusiguess has joined #ruby
<haasn> Weird, running “bundle” a second time (with no difference in invocation) has it succeed
<haasn> I wonder why it failed the first time
Deejay_ has joined #ruby
SilkFox has quit [Ping timeout: 240 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dblessing has joined #ruby
Deejay_ has quit [Client Quit]
sdouglas has joined #ruby
banister has joined #ruby
Sirupsen has joined #ruby
shredding has quit [Ping timeout: 256 seconds]
<haasn> Alright, I managed to install the program. I've decided not to use it, now I need to figure out how to delete everything I just installed. Is it safe to just rm -rf ~/.gem ?
Dude007 has joined #ruby
banister has quit [Client Quit]
blackmesa has quit [Ping timeout: 240 seconds]
Guest44610 has quit [Quit: Don't flap your BGP at me sonny]
blackmesa has joined #ruby
jerius has joined #ruby
banister has joined #ruby
Olipro has joined #ruby
britneywright has joined #ruby
Wolland has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
<fmendez> haasn: you could also do gem uninstall name_of_gem
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
kalusn has quit [Remote host closed the connection]
shredding has joined #ruby
Ankhers has joined #ruby
Zenigor has joined #ruby
akemrir has quit [Ping timeout: 264 seconds]
Wolland has quit [Ping timeout: 240 seconds]
qwyeth has joined #ruby
<haasn> I just deleted ~/.gem, which doesn't seem to have broken anything; I hope I'm in the clean now
jacobat_ has quit [Ping timeout: 240 seconds]
mbwe has joined #ruby
Vivekananda has quit [Ping timeout: 240 seconds]
jprovazn has joined #ruby
cuqa has quit [Ping timeout: 252 seconds]
cuqa has joined #ruby
lewix has joined #ruby
mrnugget has quit [Quit: mrnugget]
jgt has joined #ruby
whyy has quit [Remote host closed the connection]
dorei has joined #ruby
lewix has quit [Remote host closed the connection]
Teduardo has joined #ruby
rkazak_ has joined #ruby
aep_ is now known as aep
whyy has joined #ruby
akemrir has joined #ruby
<Teduardo> Does anyone know of a ruby library or function that can pick out IP addresses and hostnames from text blobs?
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
eka has joined #ruby
eka has quit [Client Quit]
anaeem1_ has quit [Remote host closed the connection]
moritzs has joined #ruby
endash has joined #ruby
devdazed has quit [Quit: Bye]
lewix has joined #ruby
kalusn has joined #ruby
farn has joined #ruby
mikesplain has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> aaahaha, whoopsie daisy… adding street data to my postal master data gem changed ram usage from ~25MB to ~1.1GB :D
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
kaspergr_ has joined #ruby
Ankhers has quit [Remote host closed the connection]
jacobat has joined #ruby
yeticry has quit [Remote host closed the connection]
akemrir has quit [Ping timeout: 240 seconds]
kalusn has quit [Remote host closed the connection]
krz has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Vivekananda has joined #ruby
yeticry has joined #ruby
krz has quit [Client Quit]
Ankhers has joined #ruby
kaspergrubbe has quit [Ping timeout: 255 seconds]
rkazak_ has quit [Quit: rkazak_]
krz has joined #ruby
ndrei has joined #ruby
dwayhs_ has joined #ruby
dwayhs_ has quit [Read error: Connection reset by peer]
dwayhs has quit [Read error: Connection reset by peer]
anarang has quit [Quit: Leaving]
dwayhs_ has joined #ruby
sigurding has joined #ruby
johnrover has joined #ruby
halogenandtoast has joined #ruby
Channel6 has joined #ruby
sk87 has joined #ruby
halogenandtoast has quit [Client Quit]
mgberlin has joined #ruby
kaspergr_ has quit [Remote host closed the connection]
devdazed has joined #ruby
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaspergrubbe has joined #ruby
lewix has quit [Remote host closed the connection]
pasties has quit [Ping timeout: 245 seconds]
Sirupsen has joined #ruby
Sirupsen has quit [Client Quit]
banister has joined #ruby
jheg has quit [Quit: jheg]
alem0lars has joined #ruby
kalusn has joined #ruby
kalusn has quit [Remote host closed the connection]
frellnet has joined #ruby
dideler has joined #ruby
_maes_ has joined #ruby
noop has quit [Ping timeout: 256 seconds]
xerxas has joined #ruby
sigurding has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 264 seconds]
<nopc0de> #alchemy_cms
gavit has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
ndrei has joined #ruby
holmser has joined #ruby
<holmser> I'm new to ruby and seem to be having issues with gems and all the different package management tools in general
failshell has joined #ruby
<holmser> I'm currently trying to accomplish OAuth, but there is clearly something I'm missing here
dwayhs_ has quit [Read error: Connection reset by peer]
dwayhs_ has joined #ruby
hl has quit [Ping timeout: 255 seconds]
<holmser> after installing both these gems I'm trying to run this: CLIENT_ID="your client id" CLIENT_SECRET="your secret" AUTHORIZATION_URL="https://runkeeper.com/apps/authorize" ACCESS_TOKEN_URL="https://runkeeper.com/apps/token" token_generator
Biohazard has quit [Read error: Connection reset by peer]
<holmser> token generator is not found. am I missing a step installing these gems?
Biohazard has joined #ruby
Takle has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
phinfonet has joined #ruby
mconnolly has quit [Ping timeout: 240 seconds]
gavit has joined #ruby
akemrir has joined #ruby
ffranz has joined #ruby
Sirupsen has joined #ruby
thomasxie has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 240 seconds]
Channel6 has quit [Quit: Leaving]
cocotton has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
kalusn has joined #ruby
Takle has joined #ruby
yeticry has joined #ruby
workmad3 has joined #ruby
Sirupsen has quit [Client Quit]
alexju has joined #ruby
Macaveli has quit [Ping timeout: 240 seconds]
jheg has joined #ruby
sdouglas has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
arup_r has quit []
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ItSANgo has quit [Quit: Leaving...]
northfurr has joined #ruby
Ankhers has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sirupsen has joined #ruby
Wolland has joined #ruby
jobewan has joined #ruby
sk87 has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
whyy has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
shvelo has quit [Ping timeout: 272 seconds]
Ankhers has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
Sirupsen has quit [Client Quit]
dumdedum has quit [Quit: foo]
baweaver has joined #ruby
ferr has joined #ruby
tjr9898 has quit [Remote host closed the connection]
enebo has joined #ruby
duggiefresh has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
maximski has joined #ruby
Sirupsen has joined #ruby
treehug88 has joined #ruby
centrx has joined #ruby
adantj has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
cocotton has joined #ruby
eka has joined #ruby
awkwords has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
seanosaur has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
eka has quit [Client Quit]
razum2um has joined #ruby
jshultz has joined #ruby
pu22l3r has joined #ruby
mikecmpbll has joined #ruby
fmendez has quit [Remote host closed the connection]
snath has quit [Ping timeout: 272 seconds]
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
tagrudev has quit [Remote host closed the connection]
aganov has quit [Quit: Leaving]
apeiros_ has joined #ruby
tjr9898 has joined #ruby
jacobat has quit [Ping timeout: 240 seconds]
gavit has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
moritzs has quit [Ping timeout: 272 seconds]
apeiros has quit [Ping timeout: 260 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
alem0lars has quit [Quit: Going AFK...]
halogenandtoast has joined #ruby
chipotle has quit [Client Quit]
sk87 has joined #ruby
Spami has joined #ruby
freerobby has joined #ruby
eka has joined #ruby
oo_ has quit [Remote host closed the connection]
quiliro has joined #ruby
alem0lars has joined #ruby
tesuji has quit [Ping timeout: 272 seconds]
rayners has joined #ruby
Zenigor has quit [Remote host closed the connection]
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
northfurr has quit [Quit: northfurr]
Zenigor has joined #ruby
Takle has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Dude007 has quit [Remote host closed the connection]
rippa has joined #ruby
amargherio has joined #ruby
lw has joined #ruby
NinoScript has quit [Ping timeout: 240 seconds]
thomasxie has quit [Quit: Leaving.]
obscured has joined #ruby
mijicd has quit [Remote host closed the connection]
divout has joined #ruby
jheg has quit [Quit: jheg]
ItSANgo has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaspergrubbe has joined #ruby
mijicd has joined #ruby
iamjarvo has joined #ruby
TripTastic has joined #ruby
kaspergrubbe has quit [Client Quit]
arup_r has joined #ruby
ixti has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
jfran__ has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
banister is now known as banisterfiend
kaspergrubbe has joined #ruby
Dude007 has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
lbwski_ has quit [Quit: leaving]
LadyRainicorn has joined #ruby
lbwski has joined #ruby
lbwski has quit [Client Quit]
orionstein_away is now known as orionstein
<krz> is there a way to do something similar to Plan::Monthly.extend(CurrentPlan::Autoload)
<krz> but with include?
<krz> i.e. Plan::Monthly.include(CurrentPlan::Autoload)
bal has quit [Quit: bal]
Shidash has quit [Quit: Leaving.]
apeiros_ is now known as apeiros
mijicd has quit [Remote host closed the connection]
jmbrown412 has joined #ruby
lbwski has joined #ruby
Takle has quit [Remote host closed the connection]
zkay11 has joined #ruby
<apeiros> krz: should work just like that. but I have the feeling you left of important information from that question.
eka has joined #ruby
kalusn has quit [Read error: No route to host]
ferr has quit [Quit: Konversation terminated!]
kalusn has joined #ruby
<krz> apeiros: yea, Plan::Monthly is an instance of ActiveRecord::Base
<krz> hence why i get the error NoMethodError: private method `include' called for #<Class:0x000000067b1c30>
MusachiMiyamotoF has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
shvelo has joined #ruby
jmbrown412 has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby
<krz> or am i still missing something?
banister has joined #ruby
<krz> wonder wy it just works with extend and not include apeiros
<apeiros> krz: that's not because it's AR::Base
<apeiros> that's because Module#include is private in <2.1
<krz> ows?
<apeiros> .send(:include, module)
<apeiros> ows?
<krz> oh
ziyadb has joined #ruby
joaoh82 has joined #ruby
moted has joined #ruby
gypsydave5 is now known as gypsydave
timgauthier has joined #ruby
<krz> apeiros: with Plan::Monthly.send(:include, CurrentPlan::Autoload) i now get NoMethodError: undefined method `include' for #<Plan::Monthly:0x00000007606150>
timgauthier has quit [Client Quit]
arya_ has joined #ruby
acrussell has joined #ruby
Primordus has joined #ruby
Wolland has joined #ruby
gaussblurinc1 has joined #ruby
darkxploit has joined #ruby
<gaussblurinc1> hi
<gaussblurinc1> do I need a ruby-on-rails server or something different if I want to write only backend server which only must do a backend (build components) work?
Takle has joined #ruby
<centrx> krz, You are trying to dynamically load this autoload module?
yfeldblum has joined #ruby
Beoran_ has quit [Ping timeout: 272 seconds]
<centrx> gaussblurinc1, What do you mean by backend server which only must do a backend (build components)?
<krz> centrx: yea
<apeiros> krz: that means Plan::Monthly is not a class
<krz> yeap it is
<apeiros> no it's not
<apeiros> the inspect says that quite clearly.
<krz> 2.0.0-p353 :094 > Plan::Monthly.class
<krz> => Class
<apeiros> then you're messing up where the error occurs
<gaussblurinc1> centrx: no frontend or display part on this server. no controllers and other stuff. maybe logs plus other notifications like emails and building-building-building
<apeiros> because NoMethodError: undefined method `include' for #<Plan::Monthly:0x00000007606150> tells you that you're not calling it on Plan::Monthly but an instance of Plan::Monthly.
<krz> wait let me try again
davispuh has joined #ruby
<apeiros> put differently: you don't seem to do `Plan::Monthly.send(:include, CurrentPlan::Autoload)` as you claim.
<centrx> gaussblurinc1, Yes, Rails works fine without a web interface.
<krz> ah shiiii*!
<krz> thanks apeiros
Wolland has quit [Ping timeout: 240 seconds]
<centrx> gaussblurinc1, You may still want Rails for ActiveRecord, an ORM for accessing the database, or ActiveSupport, which enhanced Ruby core
kalusn has quit [Remote host closed the connection]
<centrx> gaussblurinc1, Or as you say other things like e-mail notifications for which you might use ActionMailer
<olivier_bK> i grep on http for separate http and price but i dont understand why the price go on http array
yfeldblum has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
terrellt has joined #ruby
Joulse has quit [Quit: Joulse]
jaequery has joined #ruby
Takle has quit [Remote host closed the connection]
<centrx> olivier_bK, Is this supposed to be in a loop?
Doppp has joined #ruby
<olivier_bK> no why
<olivier_bK> it's good question
<olivier_bK> why not
<centrx> arr.grep(/^http/) always returns true if any element in the array starts with "http"
<krz> how can i get access to current_session inside the autoload module?
Zesty has joined #ruby
jaequery has quit [Ping timeout: 260 seconds]
lmickh has joined #ruby
<centrx> krz, Why have you designed it this way? What are you trying to do?
Hobogrammer has joined #ruby
BadQuanta has joined #ruby
shredding has quit [Quit: shredding]
duggiefresh has quit []
Deejay_ has joined #ruby
jdj_dk has joined #ruby
Beoran_ has joined #ruby
<krz> centrx: updated gist
havenwood has joined #ruby
mrnugget has joined #ruby
<olivier_bK> centrx, ah sh..
fabrice31 has quit [Remote host closed the connection]
<gaussblurinc1> centrx: so, ruby on rails pretty good for my purposes?
<centrx> krz, Look at what include returns: http://www.ruby-doc.org/core-2.1.2/Module.html#method-i-include
shredding has joined #ruby
sdouglas has quit [Remote host closed the connection]
<shevy> gaussblurinc1 the real experts are on #rubyonrails
<shevy> we here are like this: go use ruby and write what you need
<centrx> gaussblurinc1, Ruby is a great language with many good libraries on tools for various purposes
gregf has joined #ruby
<centrx> gaussblurinc1, Rails makes it easy because it is a big collection of standard, quality libraries for many uses, even if you do not use them all
fabrice31 has joined #ruby
mikesplain has joined #ruby
jerius has quit []
<gaussblurinc1> ok, I will try it, thanks
Primordus has quit [Quit: WeeChat 0.4.3]
ndrei has joined #ruby
Primordus has joined #ruby
sunya7a has joined #ruby
kiri has quit [Quit: Leaving]
iceden has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
yacks has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
<olivier_bK> centrx, do you have an idea how i can do
qba73 has quit []
Primordus has quit [Client Quit]
drockna has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
shredding has quit [Quit: shredding]
kevind has joined #ruby
apeiros has quit [Remote host closed the connection]
drockna has left #ruby [#ruby]
Deejay_ has quit [Quit: Computer has gone to sleep.]
arya_ has quit [Ping timeout: 240 seconds]
<centrx> olivier_bK, The Ruby way would be:
<centrx> olivier_bK, links, prices = things.partition { |e| e.start_with?('http') }
<centrx> and clear up the naming for "arr"/"things"
Takle has quit [Remote host closed the connection]
BadQuanta has quit [Ping timeout: 272 seconds]
lbwski has quit [Remote host closed the connection]
mikesplain has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikesplain has joined #ruby
b00stfr3ak has joined #ruby
Takle has joined #ruby
starkhalo has joined #ruby
<krz> centrx: what bout it
DrShoggoth has joined #ruby
<krz> however id like to know how to access the current_session instance variable in the autoload module
joaoh82 has quit [Remote host closed the connection]
cntrx has joined #ruby
<cntrx> olivier_bK, Does that make senes?
workmad3 has quit [Ping timeout: 240 seconds]
centrx is now known as Guest96405
cntrx is now known as centrx
Zesty has quit [Quit: Linkinus - http://linkinus.com]
britneywright has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
joonty has quit [Quit: WeeChat 0.4.2]
mijicd has joined #ruby
Guest96405 has quit [Ping timeout: 240 seconds]
johnrover has quit [Ping timeout: 240 seconds]
cocotton has quit [Remote host closed the connection]
dda has joined #ruby
aspires has joined #ruby
<olivier_bK> centrx, yes
<olivier_bK> now i try to get what i want
mrnugget has quit [Ping timeout: 240 seconds]
obscured has quit [Quit: leaving]
jprovazn has quit [Quit: Leaving]
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<olivier_bK> undefined method `start_with?' for ["EUR", "149.27"]:Array (NoMethodError) gr...
cocotton has joined #ruby
<shevy> olivier_bK does class Array have this method?
mikesplain has joined #ruby
<mikecmpbll> no.
chrishough has joined #ruby
frellnet has quit [Remote host closed the connection]
snath has joined #ruby
jdj_dk has quit [Remote host closed the connection]
frellnet has joined #ruby
Guest39101 has quit [Changing host]
Guest39101 has joined #ruby
Guest39101 is now known as deepy
jaequery has joined #ruby
havenwood has joined #ruby
jdj_dk has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
jdj_dk has quit [Remote host closed the connection]
jaequery has quit [Client Quit]
alem0lars has quit [Quit: alem0lars]
Soda has joined #ruby
jgt has quit [Remote host closed the connection]
<krz> if a class has an instance variable. and the same class includes a module. does the module have access to that instance var?
<krz> it shoudl right?
jdj_dk has joined #ruby
iamjarvo has joined #ruby
kaspergrubbe has quit [Read error: No route to host]
yacks has joined #ruby
CaptainJet has joined #ruby
bruno- has joined #ruby
kaspergrubbe has joined #ruby
obscured has joined #ruby
<krz> consider https://gist.github.com/afd4104cf8b1148140ec you can run it via ruby adfdsf.rb
jdj_dk has quit [Remote host closed the connection]
halogenandtoast has quit [Quit: halogenandtoast]
larsam has joined #ruby
maximski has quit []
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Shidash has joined #ruby
Takle has quit [Remote host closed the connection]
obscured has quit [Client Quit]
mijicd has quit [Remote host closed the connection]
<centrx> krz, #send returns the return value of #include
<centrx> krz, The return value of #include is self
kalusn has joined #ruby
<centrx> krz, self in a method is the caller, which is Plan::Monthly
<centrx> krz, Plan::Monthly does not have a #foobar method
troyready has joined #ruby
blackmesa has joined #ruby
bricker`LA has quit [Ping timeout: 272 seconds]
<krz> centrx: huh?
jheg has joined #ruby
<krz> the gist executes the method foobar
<krz> that for sure
<centrx> undefined method `foobar'
kalusn has quit [Remote host closed the connection]
Takle has joined #ruby
<krz> run that
<krz> it does execute def foobar in the module
Takle has quit [Remote host closed the connection]
<centrx> Okay
<krz> so the question is, why doesnt it have access to the instance vars
<krz> is it because i am using send to include the module?
<krz> is this a ruby < 2.1 issue?
drawingthesun has quit [Quit: Leaving]
Takle has joined #ruby
drawingthesun has joined #ruby
<shevy> the code you linked works fine on ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
<krz> yea thats what im thinking
<krz> im on 2.0
kalusn has joined #ruby
cocotton has quit [Read error: Connection reset by peer]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
cocotton has joined #ruby
kireevco has joined #ruby
LadyRainicorn has quit [Ping timeout: 240 seconds]
cocotton has quit [Remote host closed the connection]
spyderma_ has joined #ruby
toordog has joined #ruby
iceden has joined #ruby
johnrover has joined #ruby
paulfm has quit []
strelok has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
gypsydave has quit [Quit: Leaving]
spyderman4g63 has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
heftig has joined #ruby
Soda has quit [Remote host closed the connection]
pietr0 has joined #ruby
slash_nick has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 272 seconds]
paulfm has joined #ruby
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
theharshest has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
maestrojed has joined #ruby
einarj has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 245 seconds]
krz has quit [Quit: WeeChat 0.4.3]
theharshest has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
theharshest has joined #ruby
mehlah has quit [Quit: Leaving...]
theharshest has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has joined #ruby
joaoh82 has joined #ruby
LadyRainicorn has joined #ruby
<olivier_bK> grr.. i cant find how to do i can get one value but i cant find how to get two value
theharshest has joined #ruby
JBreit has joined #ruby
bricker`work has joined #ruby
rdark has quit [Quit: leaving]
yacks has quit [Ping timeout: 240 seconds]
rdark has joined #ruby
Doppp has quit [Ping timeout: 272 seconds]
theharshest has quit [Read error: Connection reset by peer]
theharshest has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
Sirupsen has quit [Ping timeout: 245 seconds]
arya_ has joined #ruby
TripTastic has quit [Ping timeout: 272 seconds]
theharshest has quit [Read error: Connection reset by peer]
tobago has quit [Remote host closed the connection]
theharshest has joined #ruby
naterubin has left #ruby ["Leaving"]
tjr9898 has quit [Remote host closed the connection]
gruz0[russia] has joined #ruby
sunya7a has joined #ruby
echevemaster has joined #ruby
alem0lars has joined #ruby
theharshest has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 256 seconds]
theharshest has joined #ruby
klaut has quit [Remote host closed the connection]
centrx has quit [Ping timeout: 255 seconds]
theharshest has quit [Read error: Connection reset by peer]
roolo has quit [Quit: Linkinus - http://linkinus.com]
theharshest has joined #ruby
LadyRainicorn has quit [Ping timeout: 240 seconds]
krz has joined #ruby
relix has joined #ruby
timonv has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
<krz> who said the gist works in 2.1.1??
<krz> it doesnt actually
LadyRainicorn has joined #ruby
lkba has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
johnrover has quit [Quit: johnrover]
havenwood has quit [Remote host closed the connection]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
Zenigor has joined #ruby
havenwood has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
rdark has quit [Quit: leaving]
Spami has quit [Quit: This computer has gone to sleep]
jgt has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<krz> doesnt work with 2.1.2 either!
_maes_ has joined #ruby
_KaszpiR_ has joined #ruby
tjr9898 has joined #ruby
towbes has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
bradleyprice has joined #ruby
stytown has joined #ruby
tjr9898 has quit [Remote host closed the connection]
Takle has joined #ruby
johnrover has joined #ruby
dda has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
maximski has joined #ruby
kireevco has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<krz> doesnt work with 2.0, 2.1.1, and 2.1.2
tungd has joined #ruby
centrx has joined #ruby
Takle has quit [Remote host closed the connection]
axsuul has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
kalusn has quit [Remote host closed the connection]
tjr9898 has joined #ruby
charliesome has joined #ruby
tjr9898 has quit [Remote host closed the connection]
dANOKELOFF has quit [Remote host closed the connection]
jgt has quit []
_maes_ has joined #ruby
seanosaur has quit [Remote host closed the connection]
LadyRainicorn has quit [Ping timeout: 245 seconds]
LadyRainicorn has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
tjr9898 has joined #ruby
shevy has joined #ruby
Jam has joined #ruby
stytown has quit [Quit: stytown]
Jam is now known as Guest48202
krz has quit [Quit: WeeChat 0.4.3]
io_syl has joined #ruby
krz has joined #ruby
wallerdev has quit [Quit: wallerdev]
Shidash has quit [Ping timeout: 260 seconds]
<centrx> arup_r, It looks like you either need to define < and >, or you need to add a "coerce" method, not sure yet
<centrx> arup_r, It looks like #min may not use <=>
krz has quit [Client Quit]
<olivier_bK> centrx, i cant find how to do i can get one value but i cant find how to get two value
rokob has joined #ruby
<olivier_bK> sorry for disturbing you
hobodave has joined #ruby
<centrx> olivier_bK, The gist you posted looks identical to how it was before?
jaimef has quit [Excess Flood]
cnj has quit [Quit: Quit]
LiohAu has quit [Quit: LiohAu]
mikecmpbll has joined #ruby
Zebroid has joined #ruby
djbkd has joined #ruby
acrussell has left #ruby [#ruby]
towbes has joined #ruby
towbes has quit [Changing host]
towbes has joined #ruby
mrsolo has joined #ruby
<olivier_bK> sorry
jaimef has joined #ruby
<arup_r> centrx: I also confused
cnj has joined #ruby
LiohAu has joined #ruby
alexa_ has quit [Ping timeout: 256 seconds]
LiohAu has quit [Client Quit]
<centrx> olivier_bK, #partition looks only at the true/false value returned in each iteration of the block
yacks has joined #ruby
gigetoo has joined #ruby
<centrx> olivier_bK, What it looks like you are doing is truly as concise as links, prices = things.partition { |e| e.start_with?('http') }
cnj has quit [Read error: Connection reset by peer]
maletor has joined #ruby
<centrx> arup_r, If #min uses < and > instead of that <=> method you defined, you would need to define those instead.
towbes has quit [Client Quit]
Atttwww has joined #ruby
<centrx> >> 5 > []
<eval-in__> centrx => comparison of Fixnum with Array failed (ArgumentError) ... (https://eval.in/171904)
<centrx> ^ Reproduction of the same error message
jheg has quit [Quit: jheg]
cerberblue has joined #ruby
icarus has joined #ruby
cnj has joined #ruby
zigomir has quit [Remote host closed the connection]
icarus has quit [Changing host]
icarus has joined #ruby
<arup_r> centrx: Can you update my Gist.. so that, it can give same result always.. I am but out of track :(
Dude007 has quit [Remote host closed the connection]
zigomir has joined #ruby
Zenigor has quit [Remote host closed the connection]
<olivier_bK> ok
<olivier_bK> i tink i m lost
ARCADIVS has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
Elfix has quit [Changing host]
Elfix has joined #ruby
DrShoggoth has quit [Quit: Leaving]
cntrx has joined #ruby
ndrei has joined #ruby
Audace has joined #ruby
centrx is now known as Guest37535
yfeldblum has joined #ruby
cntrx is now known as centrx
Guest37535 has quit [Ping timeout: 256 seconds]
holmser has quit [Quit: This computer has gone to sleep]
<centrx> arup_r, You need to use #coerce to tell Fixnum or any other object how to compare itself to Min
<centrx> olivier_bK, What is wrong with: links, prices = things.partition { |e| e.start_with?('http') }
arya_ has quit [Ping timeout: 255 seconds]
maximski has quit []
tjr9898 has quit [Remote host closed the connection]
cnj has quit [Quit: Quit]
dideler has quit [Ping timeout: 240 seconds]
cnj has joined #ruby
apeiros has joined #ruby
wallerdev has joined #ruby
j_mcnally has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
moritzs has joined #ruby
mrnugget has joined #ruby
terrell_t has joined #ruby
nobitanobi has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
alexa_ has joined #ruby
weems|work has joined #ruby
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
<nobitanobi> Hi guys, I am trying to generate an array with SecureRandoms with a string prefixed on them. I have done it this way: https://gist.github.com/anonymous/52e8c2ba1f4a3ec70a9c -- Any Rubiest, cleanest way of doing this?
<olivier_bK> arr is what you say links and prices together
Zenigor has joined #ruby
holmser has joined #ruby
awkwords has quit [Ping timeout: 240 seconds]
mconnolly has joined #ruby
saarinen has joined #ruby
terrellt has quit [Ping timeout: 240 seconds]
ultimoo has quit [Ping timeout: 256 seconds]
apeiros has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
<centrx> nobitanobi, Try not passing n around, make a method that just does this part: prefix_str + SecureRandom.urlsafe_base64(8)
<centrx> nobitanobi, You could also replace this entire present method identically with: n.times.map { prefix_str + SecureRandom.urlsafe_base64(8) }
divout has quit [Read error: Connection reset by peer]
awkwords has joined #ruby
zigomir has quit [Remote host closed the connection]
LadyRainicorn has quit [Read error: Connection reset by peer]
divout has joined #ruby
LadyRainicorn has joined #ruby
moritzs has quit [Ping timeout: 245 seconds]
datafirm has joined #ruby
Spami has joined #ruby
<centrx> olivier_bK, I am not sure what you are looking for. This block in #partition will always return true, so there is no real partitioning being done, the other half must return false
zigomir has joined #ruby
<olivier_bK> centrx, do you know how
djbkd has quit [Remote host closed the connection]
timonv has joined #ruby
<olivier_bK> i can get my 2 value in two different method in another one
sunya7a has quit [Ping timeout: 240 seconds]
pu22l3r has quit []
pu22l3r has joined #ruby
apeiros has joined #ruby
divout has quit [Remote host closed the connection]
moritzs has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
p0sixpscl has quit [Quit: p0sixpscl]
spyderma_ has quit [Remote host closed the connection]
kalusn has joined #ruby
<arup_r> centrx: In which class ?
blackmesa has joined #ruby
spyderman4g63 has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
<olivier_bK> centrx, thanks for your help
fabrice31 has joined #ruby
sunya7a has joined #ruby
Takle has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
<centrx> arup_r, Min needs the #coerce method to tell other classes how to interact with it
LadyRainicorn has joined #ruby
cocotton has joined #ruby
SouL has joined #ruby
cocotton has quit [Remote host closed the connection]
shvelo has quit [Ping timeout: 264 seconds]
zigomir has quit [Remote host closed the connection]
cocotton has joined #ruby
j_mcnally has joined #ruby
<arup_r> Inside the method I should do <=> right ?
djbkd has joined #ruby
holmser has quit [Quit: This computer has gone to sleep]
dideler has joined #ruby
olivier_bK has quit [Ping timeout: 256 seconds]
andrewjanssen has joined #ruby
<arup_r> def coerce(other) ;other <=> 1 ;end
<arup_r> I put not working'
fabrice31 has quit [Ping timeout: 240 seconds]
kalusn has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 245 seconds]
<arup_r> inside class Min
LadyRainicorn has quit [Client Quit]
tvw has quit []
<centrx> arup_r, Did you look at the link I sent you or the Ruby docs for the #coerce method?
<arup_r> 'what link ?
mrsolo has quit [Quit: Leaving]
<centrx> arup_r, oh sorry I may not have sent it
<centrx> arup_r, You just want to return the two objects in the opposite order
Hobogrammer has quit [Ping timeout: 245 seconds]
senayar has joined #ruby
francisfish has quit [Remote host closed the connection]
x1337807x has joined #ruby
<arup_r> centrx: I was reading same wiki If I do [other,1] one works other breaks..
<wallerdev> morngi
<centrx> arup_r, coerce is merely asking for which objects in what order to run the original method that was called
razum2um has quit [Ping timeout: 260 seconds]
<centrx> arup_r, The <=> is still going to be called and return the 1 it has, so you don't need to specify it in the coerce method
<centrx> arup_r, In the coerce method, simply return the two objects in the order necessary to call that method properly
JBreit has left #ruby ["Leaving"]
<shevy> if I have a big fat case menu
<shevy> is there a way to easily grab all when entries?
<shevy> into an array
<centrx> I was just thinking of something similar, but I don't think there is
<centrx> It would be cool to be able to grab information out of syntactic elements
Wolland has joined #ruby
<centrx> shevy, Use a hash, then you can access the values when you need to, and use it to replace the case statement too
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
heftig has quit [Quit: Quitting]
rokob has quit [Remote host closed the connection]
dopie has quit [Remote host closed the connection]
edgarjs_afk is now known as edgarjs
iamjarvo has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
datafirm has quit [Read error: Connection reset by peer]
Zebroid has quit [Ping timeout: 240 seconds]
<shevy> centrx well replacing case when with hash seems to require more typing
<shevy> when you have:
Lingo_ has joined #ruby
<shevy> when 'a','b','c','d','f','g'
dangerousdave has joined #ruby
<shevy> invoke_some_method_here
moritzs has quit [Ping timeout: 240 seconds]
<shevy> that's surely longer in a hash or?
datafirm has joined #ruby
renier_ has joined #ruby
febuiles_ has joined #ruby
error404_ has joined #ruby
halogenandtoast has joined #ruby
razum2um has joined #ruby
matled- has joined #ruby
jameyd_ has joined #ruby
DanielRb_ has joined #ruby
joaoh82_ has joined #ruby
ltd_ has joined #ruby
destruct1re has joined #ruby
punal has joined #ruby
mgomezch_ has joined #ruby
brunops_ has joined #ruby
akemrir has quit [Remote host closed the connection]
eythoriu1 has joined #ruby
tiguser has joined #ruby
<nobitanobi> centrx: why is not good to pass the 'n' around?
<nobitanobi> or, in other words, pass the 'n' as an argument to a method?
kies^ has joined #ruby
owen1_ has joined #ruby
<wallerdev> what are you talking about
<wallerdev> sounds like an angular question llol
thomasfedb_ has joined #ruby
apeiros_ has joined #ruby
<wallerdev> since 'n' is false in angular :(
voodoofish1 has joined #ruby
brasten has quit [Quit: brasten]
Sigma00_ has joined #ruby
xMopxShe- has joined #ruby
gil has quit [Remote host closed the connection]
deepa has joined #ruby
<nobitanobi> wallerdev: is from a question I made before you entered the channel :)
apeiros_ has quit [Remote host closed the connection]
udoprog1 has joined #ruby
FLeiXiuS``` has joined #ruby
heftig has joined #ruby
anekos_ has joined #ruby
<arup_r> centrx: Thank you very much
<wallerdev> why are you using send lol
Hobogrammer has joined #ruby
oz` has joined #ruby
<nobitanobi> wallerdev: because the number of times is dynamic?
nwkr has joined #ruby
droptone_ has joined #ruby
Rylee_ has joined #ruby
gtc|ghost has joined #ruby
cntrx has joined #ruby
_fumk has joined #ruby
_fumk has quit [Max SendQ exceeded]
Dude007 has joined #ruby
<wallerdev> >> n = 1; n.times { puts 'hi' }
<eval-in__> wallerdev => hi ... (https://eval.in/171928)
Freijo has joined #ruby
bhaak_ has joined #ruby
centrx has quit [Disconnected by services]
<nobitanobi> -_-
<nobitanobi> great :D
ptierno_ has joined #ruby
gomikemi1e has joined #ruby
Sigma00 has quit [Disconnected by services]
Sigma00_ is now known as Sigma00
Jeticus has joined #ruby
cntrx is now known as centrx
mikepack has quit [Remote host closed the connection]
<nobitanobi> thanks wallerdev
<wallerdev> np
moted_ has joined #ruby
oo_ has joined #ruby
_main_ has joined #ruby
shaman42_ has joined #ruby
SJrX has joined #ruby
harryk has joined #ruby
apeiros has quit [*.net *.split]
maletor has quit [*.net *.split]
CaptainJet has quit [*.net *.split]
joaoh82 has quit [*.net *.split]
jmbrown412 has quit [*.net *.split]
moted has quit [*.net *.split]
phinfonet has quit [*.net *.split]
Deele has quit [*.net *.split]
devyn has quit [*.net *.split]
bhaak has quit [*.net *.split]
FLeiXiuS`` has quit [*.net *.split]
Rylee has quit [*.net *.split]
deepy has quit [*.net *.split]
yasu has quit [*.net *.split]
njs126 has quit [*.net *.split]
destructure has quit [*.net *.split]
sheepman has quit [*.net *.split]
renier has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
DanielRb has quit [*.net *.split]
error404 has quit [*.net *.split]
eythorium has quit [*.net *.split]
gtc has quit [*.net *.split]
Fraeon has quit [*.net *.split]
voodoofish has quit [*.net *.split]
kies has quit [*.net *.split]
oz has quit [*.net *.split]
droptone has quit [*.net *.split]
febuiles has quit [*.net *.split]
miah has quit [*.net *.split]
shaman42 has quit [*.net *.split]
fumk has quit [*.net *.split]
e4xit has quit [*.net *.split]
brunops has quit [*.net *.split]
davzie has quit [*.net *.split]
Jelco has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
ltd has quit [*.net *.split]
malcolmva has quit [*.net *.split]
Nowaker has quit [*.net *.split]
SJr has quit [*.net *.split]
netf has quit [*.net *.split]
ptierno has quit [*.net *.split]
gizmore has quit [*.net *.split]
soulcake has quit [*.net *.split]
Caius has quit [*.net *.split]
matled has quit [*.net *.split]
Spleeze has quit [*.net *.split]
xargoon has quit [*.net *.split]
AntelopeSalad has quit [*.net *.split]
jameyd has quit [*.net *.split]
owen1 has quit [*.net *.split]
tiguser_ has quit [*.net *.split]
harryk_ has quit [*.net *.split]
yxhuvvd has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
tsunamie has quit [*.net *.split]
mgomezch has quit [*.net *.split]
Slavox|AFK has quit [*.net *.split]
udoprog has quit [*.net *.split]
anekos has quit [*.net *.split]
magicien has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
matled- is now known as matled
DanielRb_ is now known as DanielRb
moted_ is now known as moted
Slavox has joined #ruby
<wallerdev> tbh you could probably just do that method in one line nobitanobi
<centrx> arup_r, That makes more sense. Before the "Min" was always greater than everything
oz` is now known as oz
Jelco_ has joined #ruby
SJrX is now known as SJr
tjr9898 has joined #ruby
fumk has joined #ruby
_main_ has quit [Excess Flood]
DanielRb has quit [Changing host]
DanielRb has joined #ruby
<nobitanobi> wallerdev: yep. centrx suggested that. Thanks :)
miah has joined #ruby
Gadgetoid has joined #ruby
gizmore has joined #ruby
<wallerdev> ah cool
<wallerdev> idk what he suggested but look at Array.new
phinfonet has joined #ruby
<wallerdev> he preobably suggested that but theres other ways too so who knows
<wallerdev> lol
SpleezeDos has joined #ruby
__main__ has joined #ruby
<centrx> n.times.map
xargoon has joined #ruby
<centrx> We are rubyficating it up today
maletor has joined #ruby
sheepman has joined #ruby
Audace has joined #ruby
devyn has joined #ruby
AntelopeSalad has joined #ruby
njs126 has joined #ruby
linguini has joined #ruby
nateberkopec has quit [Quit: Leaving...]
wiscas has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
<wallerdev> ruby is amazing
punal has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Organize your IRC]
yeltzooo has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
jmbrown412 has joined #ruby
chrishough has quit [Quit: chrishough]
<linguini> it = (1..100).each # is there a way to change "100" to "infinity"?
oo_ has joined #ruby
heftig has quit [Quit: Quitting]
<Hanmac> >> Float::INFINITY
<eval-in__> Hanmac => Infinity (https://eval.in/171930)
<Hanmac> linguini: use that
yasu has joined #ruby
yfeldblum has joined #ruby
djbkd has quit [Quit: My people need me...]
<ruisantos> can you iterate with floats?
yxhuvvd has joined #ruby
brunops_ is now known as brunops
brunops has quit [Changing host]
brunops has joined #ruby
yxhuvvd is now known as yxhuvud
<wallerdev> >> (1..Float::INFINITY).each { |n| puts n }
malcolmva has joined #ruby
<wallerdev> lol
djbkd has joined #ruby
<centrx> It is Infinity, not really a float
heftig has joined #ruby
<ruisantos> cool
<baweaver> >> 1/0
<eval-in__> baweaver => divided by 0 (ZeroDivisionError) ... (https://eval.in/171933)
<yxhuvud> What do you mean by 'not really a float'?
<baweaver> >> -1/0
<eval-in__> baweaver => divided by 0 (ZeroDivisionError) ... (https://eval.in/171934)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Olipro has quit [*.net *.split]
<centrx> >> Float::INFINITY.class
<baweaver> Hm, thought one of those was infinity.
<eval-in__> centrx => Float (https://eval.in/171935)
timonv has quit [Remote host closed the connection]
<wallerdev> you can have ranges with floats
<wallerdev> not an issue anyway
<yxhuvud> >> 1.0 / 0
<eval-in__> yxhuvud => Infinity (https://eval.in/171936)
<baweaver> That's what it was
<ruisantos> but you can't iterate
<ruisantos> I think
<wallerdev> you can if it doesnt start with one
<wallerdev> (1..5.23).to_a
<wallerdev> >> (1..5.23).to_a
<eval-in__> wallerdev => [1, 2, 3, 4, 5] (https://eval.in/171937)
<centrx> >> (-Float::INFINITY..Float::INFINITY).median
<eval-in__> centrx => undefined method `median' for -Infinity..Infinity:Range (NoMethodError) ... (https://eval.in/171938)
Oxelist has joined #ruby
seanosaur has joined #ruby
xMopxShe- is now known as xMopxShell
SpleezeDos is now known as Spleeze
towbes has joined #ruby
towbes has quit [Changing host]
towbes has joined #ruby
<ruisantos> wallerdev: nice
<ruisantos> had no idea
oo_ has quit [Ping timeout: 272 seconds]
<linguini> Hanmac: Cool; thanks.
banjara has joined #ruby
jdj_dk has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
apeiros has joined #ruby
Shidash has joined #ruby
tjr9898 has quit [Remote host closed the connection]
avelldiroll has joined #ruby
joaoh82_ has quit [Remote host closed the connection]
seanosaur has quit [Remote host closed the connection]
seanosaur has joined #ruby
Biohazard has quit [Read error: Connection reset by peer]
Biohazard has joined #ruby
senayar has quit [Ping timeout: 240 seconds]
<linguini> it.peek - 1 # is there a better way to find the "return value of the previous next"?
tungd has quit [Ping timeout: 256 seconds]
Olipro has joined #ruby
<linguini> (other than saved = it.next)?
<centrx> linguini, There is probably a better way to do whatever you are doing
baweaver has quit [Remote host closed the connection]
Olipro has quit [Max SendQ exceeded]
bwilson has joined #ruby
seanosaur has quit [Remote host closed the connection]
<linguini> centrx: Hmm. Thanks. I may just more of it.peek and only use it.next when I know I no longer need the "current integer".
Oxelist has quit [Ping timeout: 240 seconds]
kalusn has joined #ruby
jprovazn has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
baweaver has joined #ruby
p0sixpscl has joined #ruby
St_Marx has joined #ruby
Lingo_ has quit [Quit: Lingo - http://www.lingoirc.com]
yetanotherdave has joined #ruby
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
Prandium has joined #ruby
rokob has joined #ruby
<bahar> i am trying to write a RSpec spec that creates an "app" as a certain user, let's call the user "admin". From what I understand the correct syntax to use is FactoryGirl.create(:app, user: admin) side note: I have a factory with 'user' and trait 'admin'. The app does indeed get created fine but it seems to be a zombie app visible to everyone. So just wanted to check and see if the syntax I am using is correct.
razum2um1 has joined #ruby
oo_ has joined #ruby
joaoh82 has joined #ruby
razum2um has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
seanosaur has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore has quit [Ping timeout: 264 seconds]
Takle has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 264 seconds]
peckermanzzz has joined #ruby
tsunamie has joined #ruby
netf has joined #ruby
Zenigor has quit [Remote host closed the connection]
netf has quit [*.net *.split]
tsunamie has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
nmokru has joined #ruby
tjr9898 has quit [Remote host closed the connection]
claymore has joined #ruby
claymore has quit [Changing host]
claymore has joined #ruby
tjr9898 has joined #ruby
echevemaster has quit [Remote host closed the connection]
timonv has joined #ruby
Takle has joined #ruby
chrishough has joined #ruby
centrx has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
stytown has joined #ruby
dangerousdave has joined #ruby
Takle has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
tjr9898 has quit [Read error: Connection reset by peer]
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
kaspergrubbe has joined #ruby
heftig has quit [Quit: Quitting]
Olipro has joined #ruby
Olipro has quit [Max SendQ exceeded]
heftig has joined #ruby
jdj_dk has quit [Remote host closed the connection]
smathieu has joined #ruby
oo_ has joined #ruby
Takle has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
p0sixpscl has quit [Quit: p0sixpscl]
towbes has quit [Ping timeout: 240 seconds]
<aboudreault> hey ruby, can I create an array or arguments, and pass it to a function?
<aboudreault> the array would contain some: {:group_id => params[:group_id].to_i}
fella5s has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
bruno- has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
thesheff17 has quit [Quit: Leaving]
chipotle has joined #ruby
<FLeiXiuS```> aboudreault, You just did... :-P
<FLeiXiuS```> def method(opts={})
<FLeiXiuS```> Then reference them with opts[:group_id[
<aboudreault> FLeiXiuS```, no, that was only 1 argument
testcore has joined #ruby
netf has joined #ruby
soulcake has joined #ruby
tsunamie has joined #ruby
<aboudreault> So I would just add an extra {} ?
<apeiros> aboudreault: {} is not an array, it's a hash
<apeiros> [] are arrays
<apeiros> >> {}.class
benzrf|offline is now known as benzrf
<eval-in__> apeiros => Hash (https://eval.in/171940)
<apeiros> >> [].class
<eval-in__> apeiros => Array (https://eval.in/171941)
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<aboudreault> my parameters are hashes. So I would just pass a hash of hashes to my function?
djbkd has quit [Remote host closed the connection]
<aboudreault> no, it will be read as only 1 hash.
<apeiros> show the method definition, the hash you want to pass and what should end up where
Urocyon has joined #ruby
<apeiros> and correct, a hash is a single argument
timonv has quit [Remote host closed the connection]
Urocyon is now known as sfiggins
Hanmac1 has joined #ruby
Soda has joined #ruby
<apeiros> :( why do people still use pastebin?
<aboudreault> :)
gruz0[russia] has joined #ruby
maletor has joined #ruby
<apeiros> IMO your question is unrelated to your problem
phinfonet has quit []
<shevy> it is probably recommended to them somewhere
<dideler> i'm trying to install this ruby gem but i don't think it's being installed: https://github.com/veracross/easy_image
Hanmac has quit [Ping timeout: 272 seconds]
<dideler> in my Gemfile i have: gem 'easy_image', github: 'veracross/easy_image'
centrx has joined #ruby
daniellutz_ has joined #ruby
<shevy> dideler, "gem install easy_image" does not work
<apeiros> group_ids = []; group_ids << params["group_id"] if params["group_id"]; group_ids.concat(params["group_ids"].split(",").map(&:to_i)) if params["group_ids"]; …work with group_ids now…
<apeiros> aboudreault: ^
cocotton has quit [Remote host closed the connection]
<daniellutz_> Hey people, can someone give me a hand?
<apeiros> 2 hands not enough to write your code?
<dideler> when i try to require it i get: LoadError: cannot load such file -- easy_image
<daniellutz_> I need to install 'json' gem on a machine without GCC
<shevy> so the guilty party must be bundler
<daniellutz_> is this possible?
<shevy> dideler of course, makes sense, as you did not install it
<shevy> daniellutz_ you need to get the binaries from somewhere
<dideler> shevy: i've never had trouble before installing gems using the 'github' syntax in a gemfile, not sure what i'm doing wrong this time
<daniellutz_> I've got the binaries from another machine with GCC
<aboudreault> apeiros, yeah, look nicer that way. thanks
<daniellutz_> but they aren't shown in gem list
<daniellutz_> =/
<shevy> daniellutz_ did you try to repackage the gem with the binaries?
<shevy> what do you mean, shown in gem list
<daniellutz_> not yet
<shevy> gem list should only show you the name of the gem, in this case json
<daniellutz_> let me try this
<shevy> it won't list you the binaries
JJMalina has joined #ruby
reset has joined #ruby
<shevy> a .gem is just an archive, you can extract it, and put the binaries there, and then repackage the .gem; or you could just copy the binaries, into the same target location where your json-* gem would reside
JJMalina has quit [Client Quit]
ramfjord has joined #ruby
<shevy> the two .so files will be: (1) json/ext/parser.so and (2) json/ext/generator.so
towbes has joined #ruby
towbes has quit [Changing host]
towbes has joined #ruby
kalusn has quit [Remote host closed the connection]
jespada has quit [Remote host closed the connection]
<aboudreault> apeiros, ah, can't do that. I need to respect the AND rule for group_id and group_ids.
<aboudreault> that's why I was trying to generated a hash or my arguments, then pass them to any_of
jespada has joined #ruby
<apeiros> aboudreault: your code doesn't really "and", though
stytown has quit [Quit: stytown]
<apeiros> it's either/or. if you set group_ids, group_id param is ignored
nateberkopec has joined #ruby
<aboudreault> not yet, right. and it appears that I will get the same result with what I have in mind.
mijicd has joined #ruby
koyd has quit [Quit: leaving]
<daniellutz_> even packing the gem again it is requiring gcc
<daniellutz_> =/
kirun has joined #ruby
<aboudreault> I think, if I provide group_id, I should simply ignore the group_ids.
<aboudreault> so will simply reverse the ifs and should work..
<apeiros> aboudreault: silently ignoring is IMO stupid
TDJACR has quit [Ping timeout: 252 seconds]
<apeiros> if you can't provide both at the same time, raise an exception if it is done
bluOxigen has joined #ruby
netf has quit [*.net *.split]
soulcake has quit [*.net *.split]
tsunamie has quit [*.net *.split]
iceyec has quit [Quit: leaving]
<shevy> exceptions are for wimps
Zenigor has joined #ruby
blueOxigen has quit [Ping timeout: 272 seconds]
iceyec has joined #ruby
iceyec has quit [Client Quit]
<benzrf> exceptions are for losers
<benzrf> use the either monad!
Olipro has joined #ruby
<aboudreault> not really. In my case, it's not ignoring, it's more prioritizing.
<aboudreault> but thanks
<benzrf> u get the best of both worlds :3
Olipro has quit [Max SendQ exceeded]
cocotton has joined #ruby
tyfighter has joined #ruby
stytown has joined #ruby
TDJACR has joined #ruby
m3_del has joined #ruby
koyd has joined #ruby
Olipro has joined #ruby
Hanmac has joined #ruby
<apeiros> aboudreault: prioritizing would indeed not be ignoring. but that's not what you do. priority is about order.
<apeiros> I stick to what I say. bad API if you don't raise.
<aboudreault> ok
iceyec has joined #ruby
TazDev has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
SBoolean has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
sepp2k has joined #ruby
bhaak_ is now known as bhaak
iceyec has quit [Client Quit]
codabrink has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
<shevy> what do you guys think of this image ... http://oi62.tinypic.com/nd5ro1.jpg it was not created by me but it was black-white only... are my gimp skills awful?
iceyec has joined #ruby
iceyec has quit [Client Quit]
IceDragon has joined #ruby
<centrx> I think this may be the one thing that scares me off using Ruby
gruz0[russia] has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
<shevy> :(
Zenigor has quit [Remote host closed the connection]
<eam> someone get a firebrand
iceyec has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
Zenigor has joined #ruby
stytown has quit [Quit: stytown]
iceyec has quit [Client Quit]
earthquake has joined #ruby
<centrx> shevy, the artwork is actually really good, but you chose the wrong mythical creature
stytown has joined #ruby
tesaf has quit [Quit: Lost terminal]
mattstratton has joined #ruby
Ankhers has joined #ruby
Olipro has quit [*.net *.split]
centrx has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
iceyec has joined #ruby
smathieu has quit [Remote host closed the connection]
centrx has joined #ruby
smathieu has joined #ruby
iceyec has quit [Remote host closed the connection]
awkwords has quit [Ping timeout: 240 seconds]
iceyec has joined #ruby
iceyec has quit [Remote host closed the connection]
oo_ has joined #ruby
mr_foobar_baz has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
pasties has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
<nobitanobi> hey guys, I found myself usually doing this: if @order && @order.order_status && @order.order_status.name == 'pending' -- to avoid getting undefined method for NIL. Is there any better way to handle this kind of stuff?
iceyec has joined #ruby
datafirm has joined #ruby
<nobitanobi> I basically need to access @order.order_status.name
iceyec has quit [Client Quit]
heftig has quit [Quit: Quitting]
pu22l3r_ has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 264 seconds]
Lingo has joined #ruby
<centrx> nobitanobi, Why is @order nil? Why is @order.order_status nil?
ghr has joined #ruby
<nobitanobi> centrx: I try to find @order in the database, given an ID. So it can return either nil, or I can make it throw an exception.
<centrx> nobitanobi, Can you show the rest of the code?
<nobitanobi> yep of course
<nobitanobi> hold on
heftig has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
chrishough has quit [Read error: Connection reset by peer]
spyderman4g63 has quit []
<centrx> nobitanobi, I would do it like this: https://gist.github.com/anonymous/9f7d6c4b76c6ff872407
<centrx> nobitanobi, Using return for control flow is very common in Ruby
<centrx> It cleans things up nicely
ehlovader has quit [Ping timeout: 240 seconds]
<shevy> I just see it as it is
<nobitanobi> perfect
<shevy> you guys just don't want to honour my gimp skills :(
<nobitanobi> centrx: thanks :)
ghr has quit [Ping timeout: 264 seconds]
<nobitanobi> centrx: any OS project you would recommend so I can pair up with another Ruby developer who I can learn from?
<shevy> I liked the mascot for the Go language
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nobitanobi> I have been a solo developer for a long time, and I have a feeling I am sticking with ways of doing things I should not :)
<shevy> pr0n?
<centrx> nobitanobi, You may want to do some reading of other people's code
<nobitanobi> yep...
<centrx> nobitanobi, One way to get involved with projects is to look at its bug repository and make some patches
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mijicd has quit [Remote host closed the connection]
<nobitanobi> I will try that centrx
icarus has quit [Ping timeout: 272 seconds]
iceyec has joined #ruby
chrishough has joined #ruby
banister has joined #ruby
zacts has joined #ruby
britneywright has joined #ruby
oo_ has joined #ruby
alem0lars has quit [Quit: alem0lars]
icarus has joined #ruby
icarus has quit [Changing host]
icarus has joined #ruby
chrishough has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
SouL has quit [Ping timeout: 240 seconds]
oo_ has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
kireevco has quit [Quit: Leaving.]
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weems|work has quit [Quit: WeeChat 0.4.3]
alexherbo2 has quit [Quit: WeeChat 0.4.3]
nateberkopec has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
francisfish has quit [Ping timeout: 240 seconds]
timgauthier has joined #ruby
treehug88 has quit [Ping timeout: 240 seconds]
fschuindt has joined #ruby
fschuindt has quit [Max SendQ exceeded]
fschuindt has joined #ruby
rkazak has joined #ruby
rokob has quit [Remote host closed the connection]
rkazak has quit [Client Quit]
blackmesa has joined #ruby
terrell_t has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 240 seconds]
mordocai has joined #ruby
kyle__ has joined #ruby
<kyle__> I asked in #watir, but I figure I'll repeat it here: is there a way to print or print-to-pdf from within watir?
terrellt has joined #ruby
<mordocai> Alright, so there is Socket.ip_address_list. Awesome, I don't have to system call or do anything fancy to get a list of ip addresses! However, it doesn't tell me what interface the ip address is associated with. Short of system calls or manually sending IOCTL/NETLINK messages to the kernel, does anyone know of a good away to get the interface and IP address goes with?
djbkd has joined #ruby
<mordocai> good way*
aspires has quit []
Takle has quit [Remote host closed the connection]
babykosh has joined #ruby
kalusn has joined #ruby
Takle has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
babykosh has quit [Client Quit]
saarinen has quit [Quit: saarinen]
ndrei has quit [Ping timeout: 240 seconds]
kalusn has quit [Ping timeout: 240 seconds]
<arup_r> i hv one array say - ["2XL", "3XL", "4XL", "5XL", "6XL", "L", "M", "S", "XL"] ... how can I sort it to ["S", "M", "L", "XL", "2XL", "3XL", "4XL", "5XL", "6XL"] ...Ruby way.. My solution is not good.
x1337807x has joined #ruby
<apeiros> arup_r: paste your solution anyway please ;-)
smathieu has quit [Remote host closed the connection]
jottr has quit [Quit: WeeChat 0.4.3]
<apeiros> also, does ["S", "M", "L", "XL", "2XL", "3XL", "4XL", "5XL", "6XL"] list all available values?
smathieu has joined #ruby
davzie has joined #ruby
<arup_r> Mine is bad - sort_order = ["S", "M", "L", "XL", "2XL", "3XL", "4XL", "5XL", "6XL"] .. "2XL", "3XL", "4XL", "5XL", "6XL", "L", "M", "S", "XL"].sort_by { |x| sort_order .index(x) }
m8 has joined #ruby
<apeiros> close to what I'd do
Audace has joined #ruby
<wallerdev> ruby way is to create a gem for sorting shirt sizes and make a website about it like shirtsizes.io, then see if you can get VC funding
<apeiros> SortOrder = Hash[%w[S M L XL 2XL 3XL 4XL 5XL 6XL].map.with_index.to_a]; ary.sort_by { |x| SortOrder[x] }
jxf has joined #ruby
<apeiros> wallerdev: you omitted the kickstarter phase
aspires has joined #ruby
<wallerdev> ah right
<apeiros> n00b!
<apeiros> ;-)
<arup_r> I have created sort_order previously .. which i don't like...
<apeiros> arup_r: i.e. my solution uses the same mechanic as yours. but Hash#[] is much faster than Array#index
<arup_r> I want it to be dynamically to be sorted.
rebelshrug has quit [Remote host closed the connection]
<apeiros> I don't understand what you mean by that
<arup_r> input array -> sorted array...
<arup_r> no intermediate array like the shit i did..
daniellutz_ has quit [Ping timeout: 246 seconds]
<apeiros> you don't have an intermediate
<apeiros> you have a sort order. a recipe.
<arup_r> i created sort_array.. using that I produced outputarray..
<arup_r> from input array..
seanosaur has quit []
<apeiros> if your array is always exactly that, there's no point in sorting it. just define a constant.
<apeiros> if it's not always exactly that, the solution of using an ordering index is the proper solution
<arup_r> no it is not input array is fucking dynamic,,,
<arup_r>
<apeiros> I don't see your problem.
<bmurt> hey ya'll, anyone know if its possible to parse/interpolate a ruby variable from a json file?
<apeiros> bmurt: what?
charlied3 has joined #ruby
Spami has joined #ruby
<shevy> eval!
<bmurt> so im using vagrant + chef.json to help provision, but i took the original entries from the inline vagrantfile into a separate file, but the variable string is actually getting written as a literal vs interpolated
ndrei has joined #ruby
<arup_r> >> Hash[%w[S M L XL 2XL 3XL 4XL 5XL 6XL].each_with_index.to_a]
<eval-in__> arup_r => {"S"=>0, "M"=>1, "L"=>2, "XL"=>3, "2XL"=>4, "3XL"=>5, "4XL"=>6, "5XL"=>7, "6XL"=>8} (https://eval.in/171952)
<arup_r> apeiros: ^^^
<arup_r> Nit need map.. :-)
<apeiros> arup_r: that's 1 char more :-p
<bmurt> that's my post to the vagrant user group, but im still trying to research on my own a resolution
roolo has joined #ruby
<arup_r> >> %w[S M L XL 2XL 3XL 4XL 5XL 6XL].each_with_index.to_h
<eval-in__> arup_r => {"S"=>0, "M"=>1, "L"=>2, "XL"=>3, "2XL"=>4, "3XL"=>5, "4XL"=>6, "5XL"=>7, "6XL"=>8} (https://eval.in/171953)
<arup_r> Now ?
<apeiros> arup_r: if you can target 2.1+, yes
chrishough has joined #ruby
saarinen has joined #ruby
Ayey_ has quit [Quit: leaving]
<apeiros> if you have to be compatible with <2.1, you won't have to_h. since I have to maintain a large amount of <2.1 code, I still write mine targeting 1.9
<arup_r> Ruby will go 10.1 within 2 years... so forget 2.0 think about 2.1 >=
arya_ has joined #ruby
claw has quit [Ping timeout: 272 seconds]
alexju has quit [Remote host closed the connection]
<arup_r> anyway... What about my problem.. so I would need to have a sorted_array + input array => output array.. Can't we make the input_array off from the equation ?
vadzimt has joined #ruby
<bmurt> apeiros: its an odd situation so i was trying to exhaust my resources in figuring it out
datafirm has quit [Quit: Computer has gone to sleep.]
<arup_r> sorry sorted_array off ? ****
tjr9898_ has quit [Remote host closed the connection]
johnmolina has joined #ruby
jaimef has quit [Excess Flood]
datafirm has joined #ruby
nateberkopec has joined #ruby
dn0v has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
towbes has quit [Quit: Leaving]
endash has quit [Quit: endash]
jaimef has joined #ruby
towbes has joined #ruby
towbes has joined #ruby
towbes has quit [Changing host]
skaflem has quit [Quit: Leaving]
datafirm has quit [Ping timeout: 240 seconds]
tjr9898_ has joined #ruby
shredding has quit [Quit: shredding]
Jeticus has quit [Ping timeout: 240 seconds]
mr_foobar_baz has quit [Ping timeout: 264 seconds]
maoko has joined #ruby
CaptainJet has joined #ruby
francisfish has joined #ruby
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
rokob has joined #ruby
ascarter has joined #ruby
<apeiros> arup_r: you can. the solution would be worse and you'd just move the sort order index into code.
senayar has joined #ruby
bricker`LA has joined #ruby
<arup_r> yeah! I feel so... my earlier attempt with your Hash choice seems perfect.
lolmaus has quit [Ping timeout: 240 seconds]
<apeiros> e.g. ary.sort_by { |e| case e; when "S"; 0; when …; when /\A(\d)XL\z/; $1.to_i+2; end }
<shevy> Hanmac, jump to the part "Ein malaysischer Politiker"
<arup_r> Interesting.. Why + 2 ?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<shevy> simple
<shevy> 40 + 2
<shevy> what is that!
timonv has joined #ruby
<arup_r> why not 3, 4, 5 etc ?
chrishough has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby
mehlah has joined #ruby
<arup_r> shevy: 40 + 2 ......... it is called subtraction... You don't. ?
mattstratton has joined #ruby
PanPan_ has joined #ruby
<apeiros> arup_r: because S..XL is 0..3
<apeiros> so 2XL should map to 4, 3XL should map to 5
<apeiros> and 2+x == 4 --> x == 2
markoso has joined #ruby
<apeiros> or just check the order hash
PanPan has quit [Read error: Connection reset by peer]
PanPan_ is now known as PanPan
<apeiros> it's a short-cut to avoid defining 2XL..6XL in code. only a single definition for all of them.
<markoso> Hi, I have a variable date = gets.chomp then i have t = Time.new(date) then t.friday? it's giving random false and trues..
<arup_r> Got your point... I like your solution...
alexju has joined #ruby
charlied3 has quit [Quit: WeeChat 0.4.2]
<markoso> anyone?
<arup_r> markoso: You should use Time::strptime method first to get the string convert into Time object
<markoso> ohh
<arup_r> Use DateTime::strptime sorry
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
decoponio has quit [Quit: Leaving...]
<markoso> so date = gets.chomp then DateTime::strptime then t = Time.new(date) t.monday?
<arup_r> No... Time::new why ? You have already DateTime Object.
<arup_r> just use monday?
ndrei has quit [Ping timeout: 256 seconds]
<markoso> making a app to have the user find the day they were born
johnmolina has quit [Remote host closed the connection]
<markoso> now im confused lol
<markoso> unitialized constant
bluOxigen has quit [Ping timeout: 256 seconds]
<jenrzzz> does anyone know what causes objects’ #to_s to say that they are an instance of Class? or whatever the correct interpretation of this is: NameError: undefined local variable or method `result' for #<#<Class:0x007f773d7b8868>:0x007f773cbdab18>
johnmolina has joined #ruby
foo-bar- has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
<markoso> arup_r: not i don't understand i added the DateTime::strptime and it has unitialized constant
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arup_r> require 'date'
<arup_r> ^^ do this first
SBoolean has quit [Remote host closed the connection]
<markoso> so i dont need t = Time.new
einarj has joined #ruby
<markoso> how do i check if the users input date was on a day then
<arup_r> If you have a time string, convert to Time object.. If you have date string then Date object.. while you have both then ??? :-)
<markoso> ...
<markoso> date = gets.chomp. to time ????????????
FLeiXiuS``` has quit [Ping timeout: 240 seconds]
kyb3r_ has joined #ruby
<markoso> i have the user entering a date then i want to check what day it is on how is this doing it lol
<apeiros> >> Object.new.singleton_class
<eval-in__> apeiros => #<Class:#<Object:0x423b256c>> (https://eval.in/171954)
<apeiros> jenrzzz: ^
SouL has joined #ruby
Morkel has joined #ruby
<jenrzzz> apeiros: ah, yeah, thought it was some witchcraft like that. thanks
<apeiros> uh, yeah, sure. it's dark and occult :)
mattstratton has joined #ruby
<markoso> i came to get answers and leave confused as fuck lol thanks tho
yalue has quit [Quit: Leaving]
<shevy> damn...
<shevy> >> def TEST; puts 'hi'; end; TEST()
<eval-in__> shevy => hi ... (https://eval.in/171955)
<arup_r> def TEST; puts 'hello'; end; TEST()
<shevy> well
<shevy> I thought I can not use upcased method names
<arup_r> >> def TEST; puts 'hello'; end; TEST()
<eval-in__> arup_r => hello ... (https://eval.in/171956)
<shevy> I wrote something like: def NEW_generate_completion
<markoso> arup = "not very helpful at all"
<shevy> to replace an already working method, that is called the same, without 'NEW_'
<Hanmac> shevy: Array() is such a sample
<arup_r> shevy: You can Kernel#Array()
<shevy> yeah but it's not ARRAY() hehehehe
baweaver has quit [Remote host closed the connection]
<havenwood> shevy: Nokogiri::HTML is #HTML
segfalt has joined #ruby
cocotton has quit [Remote host closed the connection]
<shevy> ack
<shevy> that is a method?
<havenwood> he `::` is a lie!
jheg has joined #ruby
<havenwood> yup
<shevy> whoa
mehlah has quit [Quit: Leaving...]
<markoso> how do i convert a variable to a time object? to i can check if the users birthday was on a specific day
troyready has quit [Quit: Leaving]
<havenwood> s/he/the
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
<shevy> let's bring COBOL to ruby
<havenwood> markoso: What do you mean by that? The String will be a human entered date/time?
cocotton has joined #ruby
<shevy> 05 the-year PIC 9(4).
<havenwood> markoso: you want to parse the human input?
<shevy> is this not beautiful?
<markoso> yes
<shevy> PROGRAM-ID. HELLO-WORLD.
<havenwood> markoso: check out the chronic gem
<shevy> all upcased. so pretty!
<markoso> they enter 2014 7 18
<markoso> then i do time.friday? or some shit
mattstratton has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
larsam has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
cocotton has quit [Remote host closed the connection]
<dorei> shevy: can u program in COBOL? :O
<markoso> i need a gem just to send somebodies text into a time object lol
<arup_r> havenwood: Why Kernel#Array() or Kernel#Hash() exist ?
baweaver has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
Takle has quit [Remote host closed the connection]
cocotton has joined #ruby
<arup_r> we have Hash::[]...
cocotton has quit [Remote host closed the connection]
razum2um1 has quit [Quit: Leaving.]
<shevy> dorei nope, ruby spoiled me so much
<arup_r> Array.new() all ..
<shevy> I don't feel like learning new languages :(
<markoso> t = Time.new(2014,8,20) t.friday?
baweaver has joined #ruby
<havenwood> arup_r: also Integer(), String(), etc
<arup_r> yes.. Why so ?
<dorei> shevy: but cobol is job security :D
<havenwood> arup_r: which vary from to_i, to_s
cocotton has joined #ruby
<havenwood> arup_r: because in Ruby there is more than one way to do it, and often the ways vary in subltle yet meaningful ways
<shevy> dorei that may be but I live only once so I can't waste my time on substandard languages
<shevy> I already used php years ago
<shevy> but thankfully, not like apeiros who wrote 50k lines of code in php for his webframework back then
<arup_r> I never met such things thus not aware of Kernel versions requirement..
<shevy> arup_r failsafe conversions perhaps
IceDragon has quit [Ping timeout: 240 seconds]
<shevy> or
<shevy> perhaps assured fails
<shevy> lol
elaptics is now known as elaptics`away
<arup_r> Do you have any handy use case to differ them ?
IceDragon has joined #ruby
<arup_r> havenwood: ^
<havenwood> arup_r: try `Integer('1x')` vs `'1x'.to_i`
Cache_Money has joined #ruby
<arup_r> that i know Take Array() as an example..
frellnet_ has joined #ruby
<markoso> https://gist.github.com/iheartkode/5d9517977943bf344f1f how do i parse the date. so it propler is inputed as an argument as a date object.
e4xit has joined #ruby
datafirm has joined #ruby
<dorei> havenwood: Integer() uses both to_i and to_int but String() only to_s, any idea why?
<arup_r> Good Q dorei:
Takle has joined #ruby
e4xit has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markoso has quit [Quit: thanks for the help :/]
blackmesa has quit [Quit: WeeChat 0.4.3]
frellnet has quit [Ping timeout: 260 seconds]
mrnugget has quit [Quit: mrnugget]
<arup_r> Any one have a book on Thread written in Ruby ?
<havenwood> dorei: all Objects respond to #to_s
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zenigor has quit [Remote host closed the connection]
mconnolly has quit [Quit: mconnolly]
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
bricker`LA has quit [Ping timeout: 240 seconds]
lolmaus has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ehlovader has joined #ruby
<havenwood> >> class A < Array; end; [A.new.to_a.class, Array(A.new).class]
<eval-in__> havenwood => [Array, A] (https://eval.in/171958)
<havenwood> arup_r: ^
<dorei> havenwood: wouldn't it make more sense if String() used both to_s and to_str ?
johnrover has quit [Quit: johnrover]
lolmaus has quit [Read error: Connection reset by peer]
SCHAAP137 has joined #ruby
<havenwood> dorei: hem
halogenandtoast has quit [Quit: halogenandtoast]
fabrice31 has joined #ruby
<arup_r> havenwood: interesting.
lolmaus has joined #ruby
alvaro_o has joined #ruby
Soda has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
jfran__ has quit [Read error: Connection reset by peer]
arup_r has left #ruby [#ruby]
<havenwood> >> class S < String; end; [S.new.to_s.class, String(S.new).class]
<eval-in__> havenwood => [String, S] (https://eval.in/171959)
arrubin has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
<benzrf> subclassing is pretty bad
<benzrf> long live composition
fabrice31 has quit [Ping timeout: 240 seconds]
<havenwood> mixins \o/
kireevco has joined #ruby
<havenwood> Friday \o/
cocotton has quit [Remote host closed the connection]
paulfm has quit []
cocotton has joined #ruby
<graft> okay, I'm writing a def + for some class - what's the best way to raise an exception if the operand is not of the correct class?
cocotton has quit [Remote host closed the connection]
<apeiros> benzrf: subclassing is fine. but don't subclass classes you don't own.
cocotton has joined #ruby
cibs has quit [Ping timeout: 252 seconds]
chrishough has joined #ruby
<banister> graft exactly as you just said? :)
cibs has joined #ruby
jprovazn has quit [Quit: Odcházím]
j_mcnally has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
<graft> i just want to raise a nice TypeError in the correct way
<apeiros> graft: raise TypeError, "…message here…"
cocotton has quit [Remote host closed the connection]
<apeiros> for the message, best check what other + methods raise
cocotton has joined #ruby
<apeiros> also google for ruby & coerce. you should implement it and try to use coerce before raising.
<graft> yeah, that's what i'm wondering about
frellnet_ has quit [Remote host closed the connection]
frellnet has joined #ruby
Ankhers has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
Shidash has quit [Quit: Leaving.]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
larsam has joined #ruby
centipedefarmer has joined #ruby
bmurt has quit []
ghr has joined #ruby
anaeem1 has joined #ruby
frellnet has quit [Ping timeout: 256 seconds]
angusiguess has joined #ruby
postmodern has quit [Quit: Leaving]
edgarjs is now known as edgarjs_afk
agjacome has quit [Quit: leaving]
jacobat has joined #ruby
agjacome has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
seppuku has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Morkel has quit [Quit: Morkel]
jacobat has quit [Client Quit]
Squarepy has joined #ruby
freerobby has joined #ruby
ldnunes has quit [Quit: Leaving]
dreamdust has joined #ruby
dreamdust has left #ruby [#ruby]
lw has quit [Quit: s]
failshel_ has joined #ruby
amargherio has quit [Read error: Connection reset by peer]
dc_ has quit [Remote host closed the connection]
<jxport> When are keyword parameters appropriate?
<jxport> I'm worried that I'm going to start using them everywhere, and if that's a problem
failshell has quit [Ping timeout: 256 seconds]
penzur has quit [Ping timeout: 240 seconds]
<jxport> My intention is to use them for all methods that have 3+ arguments (in fact, why not even 2+?) - my concern though, is that it might introduce bulkiness/duplication in users of my methods
joaoh82 has quit []
chipotle has quit [Quit: cya]
<jxport> e.g. the emergent pattern of object.method_name(keyword1 : keyword1, keyword2 : keyword2) being necessary everywhere (replace the values with a literal if they don't have a sensibly named local in the callee..)
<jxport> Any thoughts please? :)
baweaver has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
smathieu has quit [Remote host closed the connection]
Zenigor has joined #ruby
smathieu has joined #ruby
baweaver has joined #ruby
claymore has quit [Quit: Leaving]
kyb3r_ has quit [Read error: Connection reset by peer]
angusiguess has quit [Ping timeout: 240 seconds]
<banister> jxport i only use them when i have 3+ args, and i don't use them for every arg. If one of the args is mandatory (and the rest are kind of optional) i'll keep the first arg as positional
<banister> and use the hash for the rest
jshultz has quit [Quit: Connection closed for inactivity]
britneywright has joined #ruby
jackneill has quit [Read error: Connection reset by peer]
AndyDu_ has joined #ruby
baweaver has quit [Remote host closed the connection]
<jxport> banister: I was thinking about mandatory params, rather than specifically for options
<jxport> s/options/optionals/
dukedave has left #ruby [#ruby]
Hien has quit [Ping timeout: 260 seconds]
quiliro has quit [Quit: Leaving.]
Zenigor has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
AndyDu_ has quit [Client Quit]
AlexRussia has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
tjr9898 has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
GriffinHeart has quit [Ping timeout: 256 seconds]
kireevco has quit [Quit: Leaving.]
jheg has quit [Quit: jheg]
elouisyoung has joined #ruby
phil has quit [Read error: Connection reset by peer]
cocotton has quit [Quit: Leaving...]
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
failshel_ has quit [Remote host closed the connection]
<elouisyoung> ¡
<elouisyoung> test
<elouisyoung> :1
baweaver has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3]
baweaver has quit [Read error: Connection reset by peer]
elaptics`away has quit [Ping timeout: 272 seconds]
<slash_nick> test pass?
elaptics`away has joined #ruby
baweaver has joined #ruby
cerberblue has quit []
<apeiros> elouisyoung: test failed. please shut down your computer. disassemble it. then bring it back to your vendor. thank you for participating in this test.
freerobby has quit [Quit: Leaving.]
kireevco has joined #ruby
mesamoo has quit [Remote host closed the connection]
aspires has quit []
mikesplain has quit [Ping timeout: 240 seconds]
febuiles_ has quit [Quit: febuiles_]
Takle has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
Dude007 has quit [Remote host closed the connection]
NinoScript has joined #ruby
_maes_ has quit [Ping timeout: 240 seconds]
qwyeth has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
angusiguess has joined #ruby
chipotle has joined #ruby
yano has quit [Remote host closed the connection]
jespada has quit [Quit: Leaving]
rayners has quit [Remote host closed the connection]
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
alexa_ has quit [Ping timeout: 245 seconds]
tjr9898 has joined #ruby
dangerousdave has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 240 seconds]
jxf has quit [Ping timeout: 264 seconds]
anaeem1 has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 256 seconds]
relix_ has joined #ruby
lw has joined #ruby
relix has quit [Read error: Connection reset by peer]
johnmolina has quit []
kireevco has quit [Read error: Connection reset by peer]
godd2 has joined #ruby
stytown has quit [Quit: stytown]
kireevco has joined #ruby
Wolland has quit [Remote host closed the connection]
stytown has joined #ruby
nobitanobi has quit []
Wolland has joined #ruby
postmodern has joined #ruby
stytown has quit [Client Quit]
yano has joined #ruby
stytown has joined #ruby
Takle has joined #ruby
Wolland has quit [Ping timeout: 264 seconds]
tjr9898 has quit [Remote host closed the connection]
Martxel has joined #ruby
tjr9898 has joined #ruby
stytown has quit [Client Quit]
jottr has joined #ruby
timonv has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
terrell_t has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
Lingo has quit [Quit: Lingo - http://www.lingoirc.com]
klaut has joined #ruby
tjr9898 has quit [Ping timeout: 256 seconds]
terrellt has quit [Ping timeout: 240 seconds]
jdj_dk has quit [Remote host closed the connection]
Guest48202 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kevind has quit [Quit: kevind]
pu22l3r has joined #ruby
jobewan has quit [Quit: Leaving]
bruno- has quit [Ping timeout: 240 seconds]
ylluminarious has joined #ruby
kirun has quit [Quit: Client exiting]
edgarjs_afk is now known as edgarjs
anaeem1_ has joined #ruby
ffranz has quit [Quit: Leaving]
smathieu has quit [Remote host closed the connection]
dblessing has quit [Quit: dblessing]
smathieu has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
tjr9898_ has joined #ruby
Hien has joined #ruby
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
enebo has quit [Quit: enebo]
riotjones has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Remote host closed the connection]
Shidash has joined #ruby
alexa_ has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 240 seconds]
tjr9898 has joined #ruby
riotjones has joined #ruby
foo-bar- has joined #ruby
senayar has quit [Remote host closed the connection]
tjr9898 has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
foo-bar- has quit [Ping timeout: 264 seconds]
amargherio has joined #ruby
danielpclark has quit [Remote host closed the connection]
cerberblue has joined #ruby
gattuso has quit [Ping timeout: 260 seconds]
rkazak_ has joined #ruby
gattuso has joined #ruby
alessandro1997 has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
CodeLicker has quit [Ping timeout: 240 seconds]
alexa_ has quit [Ping timeout: 240 seconds]
centipedefarmer has joined #ruby
CodeLicker has joined #ruby
CodeLicker has quit [Read error: Connection reset by peer]
daniellutz has quit [Quit: daniellutz]
havenwood has quit [Remote host closed the connection]
orionstein is now known as orionstein_away
tjr9898 has joined #ruby
roolo has quit [Quit: Leaving...]
mattalexx has joined #ruby
fabrice31 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
orionstein_away is now known as orionstein
<mattalexx> I'm a beginner. What is a one-liner that will "set foo to bar, unless it's nil, in which case set it to 'baz'"?
<mattalexx> I'm a beginner. What is a one-liner that will "set foo to bar, unless bar nil, in which case set it to 'baz'"?
grn has quit [Quit: ZNC - http://znc.in]
TheNumb has quit [Quit: ZNC - http://znc.in]
<apeiros> foo = bar.nil? ? baz : bar
rkazak_ has quit [Quit: rkazak_]
centipedefarmer has quit [Ping timeout: 264 seconds]
enebo has joined #ruby
<apeiros> if the difference between false/nil is irrelevant, you can shorten it to:
<apeiros> foo = bar || baz
<apeiros> mattalexx: ^
dwayhs_ has quit [Quit: Lingo - http://www.lingoirc.com]
fabrice31 has quit [Ping timeout: 240 seconds]
x1337807x has quit [Ping timeout: 240 seconds]
vifino has quit [Quit: Me sais Laptop sleepy.]
TheNumb has joined #ruby
x1337807x has joined #ruby
ylluminarious is now known as ylluminarious|aw
rkazak_ has joined #ruby
<godd2> There should be an opposite version of the ternary operator. like bar.nil? !? bar : baz
<godd2> just to make people complain about it even more
mijicd has joined #ruby
zacts has left #ruby [#ruby]
NinoScript has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tjr9898 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
angusigu1ss has joined #ruby
saarinen has quit [Quit: saarinen]
touzin has joined #ruby
io_syl_ has joined #ruby
rkazak_ has quit [Ping timeout: 240 seconds]
icarus has quit [Ping timeout: 256 seconds]
larsam has quit [Read error: Connection reset by peer]
octarine has left #ruby [#ruby]
io_syl has quit [Ping timeout: 240 seconds]
angusigu1ss has quit [Ping timeout: 256 seconds]
dorei_ has joined #ruby
dorei has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
binaryhat has quit [Remote host closed the connection]
kalusn has joined #ruby
terrell_t has quit [Remote host closed the connection]
binaryhat has joined #ruby
terrellt has joined #ruby
timonv has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
vifino has joined #ruby
axsuul has joined #ruby
dotz has quit [Ping timeout: 240 seconds]
testcore has quit [Quit: Don't squeeze the BitchX]
pu22l3r has joined #ruby
smathieu has quit [Remote host closed the connection]
dorei_ is now known as dorei
nateberkopec has quit [Quit: Leaving...]
smathieu has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
dn0v has quit [Quit: WeeChat 0.4.3]
Audace has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 240 seconds]
cerberblue has quit []
MusachiMiyamotoF has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dn0v has joined #ruby
Biohazard has quit [Quit: WeeChat 1.0-dev]
jdj_dk has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
nateberkopec has joined #ruby
ephemerian has quit [Remote host closed the connection]
adantj has quit [Ping timeout: 240 seconds]
rokob has quit [Remote host closed the connection]
jottr has joined #ruby
davedev24_ has quit [Ping timeout: 272 seconds]
lmickh has quit [Remote host closed the connection]
CodeLicker has joined #ruby
davedev24_ has joined #ruby
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jdj_dk has quit [Ping timeout: 240 seconds]
mattstratton has joined #ruby
kireevco has left #ruby [#ruby]
andrewjanssen has quit [Quit: Leaving...]
davedev24_ has quit [Ping timeout: 240 seconds]
cuqa has quit [Changing host]
cuqa has joined #ruby
heftig has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
Audace has joined #ruby
pu22l3r has quit [Remote host closed the connection]
davedev24_ has joined #ruby
einarj has joined #ruby
andrewlio has quit [Quit: Leaving.]
einarj has quit [Remote host closed the connection]
mikepack has joined #ruby
snath has quit [Ping timeout: 256 seconds]
spider-mario has quit [Remote host closed the connection]
lw has quit [Quit: s]
bubbajones has joined #ruby
pu22l3r has joined #ruby
pu22l3r has quit [Remote host closed the connection]
Neomex has quit [Quit: Leaving]
Aryasam has joined #ruby
bruno- has joined #ruby
andrewjanssen has joined #ruby
nateberkopec has quit [Quit: Leaving...]
lolmaus has quit [Read error: Connection reset by peer]
aspires has quit []
baweaver has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
phoo1234567 has quit [Quit: Leaving]
zorak has joined #ruby
bmurt has joined #ruby
havenwood has joined #ruby
gattuso has quit [Read error: Connection reset by peer]
klaut has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 240 seconds]
andrewjanssen has quit [Ping timeout: 240 seconds]
gavit has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
pietr0 has quit [Quit: pietr0]
alessandro1997 has quit [Quit: Going!]
Spami has quit [Quit: This computer has gone to sleep]
agjacome has quit [Ping timeout: 240 seconds]
rkazak_ has joined #ruby
angusiguess has joined #ruby
Squarepy has quit [Remote host closed the connection]
Lingo has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
TazDev has quit [Quit: TazDev]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rubytor has joined #ruby
enebo has quit [Quit: enebo]
angusiguess has quit [Ping timeout: 256 seconds]
FLeiXiuS has joined #ruby
FLeiXiuS has quit [Changing host]
FLeiXiuS has joined #ruby
mijicd has quit [Remote host closed the connection]
eka has quit [Ping timeout: 240 seconds]
io_syl_ has quit []