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
lemur has joined #ruby
<zenspider> it's a lot more complicated than when I last worked on it... but it's still pretty easy to follow
<zenspider> the doco on it is pretty good and high level
perrier has joined #ruby
EvolutionXJ has joined #ruby
zakiazig_ has joined #ruby
EvolutionXJ has left #ruby [#ruby]
bwilson has quit [Quit: bwilson]
<multi_io> thanks
<zenspider> n/p
gattie has quit [Quit: Leaving...]
zakiazigazi has quit [Ping timeout: 246 seconds]
pu22l3r has joined #ruby
fold has joined #ruby
mocfive has quit [Remote host closed the connection]
Veidit_ has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
Veidit has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
ephemerian has quit [Ping timeout: 245 seconds]
TheNet has quit [Quit: Leaving...]
skammer has joined #ruby
pu22l3r has quit [Remote host closed the connection]
perrier has quit [Max SendQ exceeded]
skfax has quit [Ping timeout: 246 seconds]
jxf has quit [Ping timeout: 260 seconds]
tcrypt_ has quit [Remote host closed the connection]
Guest6956 has quit [Ping timeout: 258 seconds]
OffTheRails has joined #ruby
mocfive has quit [Ping timeout: 258 seconds]
OffTheRails has quit [Read error: Connection reset by peer]
skammer has quit [Ping timeout: 245 seconds]
perrier has joined #ruby
Veidit_ has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
n_blownapart has quit [Remote host closed the connection]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisramon has joined #ruby
jxf has joined #ruby
Veidit has joined #ruby
rubytor has joined #ruby
sepp2k1 has joined #ruby
tlarevo has joined #ruby
snath has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
skip_freely has joined #ruby
icebourg has joined #ruby
abdulsattar has joined #ruby
sepp2k has quit [Ping timeout: 272 seconds]
n_blownapart has joined #ruby
claudiop has quit [Quit: Leaving]
charliesome has joined #ruby
fabrice31 has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
jottr has quit [Ping timeout: 246 seconds]
rubytor has joined #ruby
lolmaus__ has quit [Ping timeout: 272 seconds]
Asher has quit [Quit: Leaving.]
badhatter has joined #ruby
narcan has joined #ruby
b00stfr3ak has quit [Ping timeout: 258 seconds]
sambao21 has joined #ruby
duncannz has joined #ruby
bruno- has joined #ruby
rubytor has quit [Client Quit]
rubytor has joined #ruby
BlkDynmt has quit [Ping timeout: 258 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BlkDynmt has joined #ruby
superscott[8] has quit []
centrx has quit [Ping timeout: 245 seconds]
zz_karupa is now known as karupa
jxf has quit [Ping timeout: 272 seconds]
Soda has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 245 seconds]
Asher has joined #ruby
sambao21 has quit [Ping timeout: 260 seconds]
qpls has quit [Ping timeout: 245 seconds]
cleopatra has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
willgo_ has joined #ruby
qpls has joined #ruby
willgo has quit [Read error: Connection reset by peer]
b00stfr3ak has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
shosti has quit [Ping timeout: 258 seconds]
orolo has quit [Quit: This computer has gone to sleep]
riceandbeans has joined #ruby
mpistone has quit [Remote host closed the connection]
glebm has joined #ruby
silkfox has quit [Ping timeout: 260 seconds]
pietr0 has quit [Ping timeout: 245 seconds]
b00stfr3ak has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
grokdancer has quit [Quit: Leaving.]
<shevy> [28-May-2009] Rumours of PHP-GTK's death have been greatly exaggerated!
<shevy> hmmm
troyready has quit [Ping timeout: 260 seconds]
momomomomo has quit [Quit: momomomomo]
dorei has joined #ruby
mocfive has joined #ruby
orolo has joined #ruby
erts has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
deric_skibotn has quit [Ping timeout: 245 seconds]
pu22l3r has joined #ruby
lyuzashi has joined #ruby
centrx has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
jxf has joined #ruby
JoshGlzBrk has joined #ruby
sambao21 has joined #ruby
rp__ has quit [Ping timeout: 272 seconds]
Asher has quit [Quit: Leaving.]
sinkensabe has joined #ruby
ghr has joined #ruby
echevemaster has quit [Read error: Connection reset by peer]
snath has joined #ruby
Firespirit has joined #ruby
sevenseacat has joined #ruby
deric_skibotn has joined #ruby
ptrrr has quit [Quit: ptrrr]
bking39116 has quit [Quit: bking39116]
britneywright has joined #ruby
UKn0Meh is now known as UKn0Me
sinkensabe has quit [Ping timeout: 258 seconds]
ghr has quit [Ping timeout: 255 seconds]
Asher has joined #ruby
lolmaus__ has joined #ruby
coldkey21 has quit [Remote host closed the connection]
nb_bez__ has joined #ruby
troyready has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
b00stfr3ak has joined #ruby
rubytor has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0]
andrewjanssen has joined #ruby
hamakn has joined #ruby
rubyonrailed has quit []
willgo has joined #ruby
Oscilllot has joined #ruby
niklasb has quit [Ping timeout: 258 seconds]
perrier has quit [Read error: Connection reset by peer]
hamakn has quit [Read error: Connection reset by peer]
rostam has quit [Remote host closed the connection]
hamakn has joined #ruby
nanoyak has joined #ruby
willgo_ has quit [Ping timeout: 245 seconds]
b00stfr3ak has quit [Ping timeout: 245 seconds]
cougarten has quit [Ping timeout: 250 seconds]
tachibana has quit [Ping timeout: 272 seconds]
Trieste has quit [Ping timeout: 240 seconds]
chrisramon has quit [Quit: chrisramon]
Kricir has joined #ruby
perrier has joined #ruby
<Firespirit> Can someone can help me by explaining me how i can edit existing xml document in ruby
Trieste has joined #ruby
recurrence has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> Firespirit use nokogiri
hamakn has quit [Ping timeout: 245 seconds]
<wallerdev> youll have to read it into memory and then write it back out to the file when youre done
<centrx> shevy, Use nokogiri
icebourg has quit []
mary5030_ has quit [Remote host closed the connection]
Mars__ has quit [Remote host closed the connection]
pu22l3r has quit [Read error: No route to host]
Mars__ has joined #ruby
<shevy> centrx I am XML free since about 10 years
perrier has quit [Remote host closed the connection]
<shevy> it took me a while but I finally managed
<Firespirit> i try to look at nokogiri but i don't really see good example
<centrx> you'll never be a Java developer with that attitude
<Firespirit> i'm kind of newbie in programming and i don't really understand their doc :(
<Firespirit> i look at rexml also
rostam has joined #ruby
<centrx> Firespirit, REXML is old, Nokogiri is much better
<Firespirit> ok
pu22l3r has joined #ruby
perrier has joined #ruby
Lewix has joined #ruby
<centrx> Firespirit, it looks like you can just manipulate the DOM with Nokogiri and then call #to_s on it
zorak8 has quit [Ping timeout: 260 seconds]
<Firespirit> yeah i saw that waller but like i said i'm fairly new to programming and i still don't understand how to add element to a existing xml file
<centrx> Firespirit, I only use it for scraping/reading, but all the components are there to edit element attributes, add and remove elements, edit text, etc.
pu22l3r has quit [Remote host closed the connection]
jeremy04 has quit [Remote host closed the connection]
hellangel7 has joined #ruby
ursooperduper has joined #ruby
bmurt has quit []
<Firespirit> if someone have experience into xml editing and try to give me a bit of guidance would be cool
fmcgeough has quit [Quit: fmcgeough]
tkuchiki has joined #ruby
fold has quit [Ping timeout: 255 seconds]
zakiazig_ has quit []
baum has quit [Ping timeout: 250 seconds]
<wallerdev> that has info on how to add nodes
sparrovv has joined #ruby
BlkDynmt has quit [Read error: Connection reset by peer]
Mars__ has quit [Ping timeout: 272 seconds]
PanPan has joined #ruby
<Firespirit> it's a html example but i guess i can try yo give a shot :)
BlkDynmt has joined #ruby
skammer has joined #ruby
baum has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
<wallerdev> youll get it, should be the same methods for both for the most part
<Firespirit> yeah...
<Firespirit> i will try
andrewjanssen has quit [Quit: Linkinus - http://linkinus.com]
sleepee has joined #ruby
<Firespirit> but it's really look chineese to me :(
mary5030 has joined #ruby
<Firespirit> i have some ruby basic since i work a lot with chef
vinleod has joined #ruby
<Firespirit> but i don't know much about programming
emmesswhy has quit [Quit: This computer has gone to sleep]
<sevenseacat> good luck then
<wallerdev> well unfortunately its kinda hard to write code when you dont know how to write code
<Firespirit> hehe
<Firespirit> like i said i have a good knowledge of powershell
<Firespirit> and since i work with chef for over a year i know a bit of ruby
<Firespirit> but editing a xml in ruby for it's like a new level of comlexity
<Firespirit> comlexity
n_blownapart has quit [Remote host closed the connection]
<Firespirit> complexity
<wallerdev> yeah, what you can do is try starting with a working example, and change things one at a time til it does what you want
<wallerdev> instead of trying to write it all how you want at first
<Firespirit> yeah
sparrovv has quit [Ping timeout: 245 seconds]
hellangel7 has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
Sht0 has quit []
skammer has quit [Ping timeout: 258 seconds]
<Firespirit> seem to be a good start
dorei has quit []
mary5030 has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 255 seconds]
mikeg has quit [Remote host closed the connection]
poguez_ has joined #ruby
n_blownapart has joined #ruby
doritostains has quit [Quit: doritostains]
echevemaster has joined #ruby
emocakes__ has quit [Ping timeout: 272 seconds]
bking39116 has joined #ruby
n_blownapart has quit [Remote host closed the connection]
zorak8 has joined #ruby
siwica has joined #ruby
rubytor has joined #ruby
deric_skibotn has quit [Ping timeout: 255 seconds]
chipotle has quit [Quit: cya]
rafacv has joined #ruby
flowerhack has quit [Quit: Connection closed for inactivity]
rafacv has left #ruby [#ruby]
momomomomo has joined #ruby
linojon has quit [Quit: linojon]
Tricon has quit [Quit: Leaving...]
rubytor has quit [Client Quit]
rubytor has joined #ruby
Kricir has quit [Remote host closed the connection]
bking39116 has quit [Quit: bking39116]
havenwood has quit [Remote host closed the connection]
chipotle has joined #ruby
jxf has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
momomomomo has quit [Quit: momomomomo]
codeurge has quit [Quit: Sleep.]
Spami has quit [Quit: This computer has gone to sleep]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
northfurr has quit [Quit: northfurr]
rubytor has quit [Ping timeout: 245 seconds]
GinoMan has joined #ruby
pu22l3r has joined #ruby
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
linojon has joined #ruby
Rollabunna has joined #ruby
Oscilllot has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
orolo has quit [Quit: This computer has gone to sleep]
fold has joined #ruby
mikeg has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
ghr has joined #ruby
skip_freely has quit [Quit: skip_freely]
kith has quit [Read error: Connection reset by peer]
zettam_ has joined #ruby
St_Marx has quit [Remote host closed the connection]
fold has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
suy has quit [Remote host closed the connection]
soahccc has quit [Ping timeout: 260 seconds]
PaulePanter has quit [Ping timeout: 260 seconds]
tomaw- has quit [*.net *.split]
ghr has quit [*.net *.split]
Rollabunna has quit [*.net *.split]
Trieste has quit [*.net *.split]
snath has quit [*.net *.split]
JoshGlzBrk has quit [*.net *.split]
narcan has quit [*.net *.split]
qpls has quit [*.net *.split]
chrishough has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
ixti has quit [*.net *.split]
jaygen_ has quit [*.net *.split]
Jarboe has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
DrForr has quit [*.net *.split]
NameNotFound has quit [*.net *.split]
mollitz has quit [*.net *.split]
yeticry has quit [*.net *.split]
dkphenom has quit [*.net *.split]
tjr9898 has quit [*.net *.split]
koell has quit [*.net *.split]
drawingthesun has quit [*.net *.split]
KC9YDN has quit [*.net *.split]
MeltedLux has quit [*.net *.split]
computerex has quit [*.net *.split]
dazeddev has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
multi_io has quit [*.net *.split]
Lucky__ has quit [*.net *.split]
Mattias has quit [*.net *.split]
az has quit [*.net *.split]
cryptoca has quit [*.net *.split]
neersighted has quit [*.net *.split]
braincrash has quit [*.net *.split]
meinside has quit [*.net *.split]
Zackio has quit [*.net *.split]
Akagi201 has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
tris has quit [*.net *.split]
Klumben has quit [*.net *.split]
l3kn has quit [*.net *.split]
xcv has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
PanPan has quit [*.net *.split]
BlkDynmt has quit [*.net *.split]
glebm has quit [*.net *.split]
jerius has quit [*.net *.split]
_lexjm has quit [*.net *.split]
klaas has quit [*.net *.split]
Aranshada|W has quit [*.net *.split]
WormDrink has quit [*.net *.split]
pizzaops has quit [*.net *.split]
rbenv has quit [*.net *.split]
edwardly_ has quit [*.net *.split]
finges has quit [*.net *.split]
ndrei has quit [*.net *.split]
mg^ has quit [*.net *.split]
pandaant has quit [*.net *.split]
mattp_ has quit [*.net *.split]
cajone has quit [*.net *.split]
radic has quit [*.net *.split]
binaryhat has quit [*.net *.split]
thumpba has quit [*.net *.split]
pu22l3r has quit [*.net *.split]
zorak8 has quit [*.net *.split]
willgo has quit [*.net *.split]
Firespirit has quit [*.net *.split]
Lewix has quit [*.net *.split]
ursooperduper has quit [*.net *.split]
tlarevo has quit [*.net *.split]
Beoran has quit [*.net *.split]
starkhalo has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
PierreRambaud has quit [*.net *.split]
AmBienCeD has quit [*.net *.split]
FracV has quit [*.net *.split]
Jamo has quit [*.net *.split]
WildBamboo-Josh has quit [*.net *.split]
felixjet has quit [*.net *.split]
BraddBitt has quit [*.net *.split]
20WABIUE7 has quit [*.net *.split]
tanath has quit [*.net *.split]
end_guy has quit [*.net *.split]
DrCode has quit [*.net *.split]
sleepee has quit [*.net *.split]
GinoMan has quit [*.net *.split]
lolmaus__ has quit [*.net *.split]
rostam has quit [*.net *.split]
jhass has quit [*.net *.split]
Adran has quit [*.net *.split]
Paul_McFreely has quit [*.net *.split]
davasaurous has quit [*.net *.split]
IcyDragon has quit [*.net *.split]
fbernier has quit [*.net *.split]
olekenneth has quit [*.net *.split]
davispuh has quit [*.net *.split]
proxie has quit [*.net *.split]
yetanotherdave has quit [*.net *.split]
parduse has quit [*.net *.split]
rfv_ has quit [*.net *.split]
lele has quit [*.net *.split]
lpaste has quit [*.net *.split]
j4jackj has quit [*.net *.split]
{xenomorph} has quit [*.net *.split]
spastorino has quit [*.net *.split]
FL1SK has quit [*.net *.split]
LBRapid has quit [*.net *.split]
_cake has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
musl has quit [*.net *.split]
yacks has quit [*.net *.split]
keen_ has quit [*.net *.split]
blackjid has quit [*.net *.split]
voodoofish has quit [*.net *.split]
benzrf has quit [*.net *.split]
riceandbeans has quit [*.net *.split]
andrewcarter has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
epochwolf has quit [*.net *.split]
jeregrine has quit [*.net *.split]
yo61 has quit [*.net *.split]
skarn has quit [*.net *.split]
comma8 has quit [*.net *.split]
jalcine has quit [*.net *.split]
caveat- has quit [*.net *.split]
lfox has quit [*.net *.split]
mist has quit [*.net *.split]
_5kg_ has quit [*.net *.split]
lupine has quit [*.net *.split]
BackEndCoder_ has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
wwalker has quit [*.net *.split]
pmarreck has quit [*.net *.split]
nighter_ has quit [*.net *.split]
dserodio has quit [*.net *.split]
juni0r has quit [*.net *.split]
phreax has quit [*.net *.split]
lnong has quit [*.net *.split]
genta has quit [*.net *.split]
Davedo has quit [*.net *.split]
cephalostrum_ has quit [*.net *.split]
naquad has quit [*.net *.split]
kaffepan1a has quit [*.net *.split]
edoceo has quit [*.net *.split]
ericwood_ has quit [*.net *.split]
goshdarnyou has quit [*.net *.split]
bove_ has quit [*.net *.split]
bauruine has quit [*.net *.split]
dziga has quit [*.net *.split]
jrunning has quit [*.net *.split]
Nightmare has quit [*.net *.split]
culturelabs_ has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
hostess has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
mordof has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
kenichi_ has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
mattyohe has quit [*.net *.split]
alol__ has quit [*.net *.split]
tiagonobre_ has quit [*.net *.split]
mjmac_ has quit [*.net *.split]
stopbit has quit [*.net *.split]
cicloid_ has quit [*.net *.split]
anildigital has quit [*.net *.split]
ckrailo has quit [*.net *.split]
nisstyre has quit [*.net *.split]
dmoe_________ has quit [*.net *.split]
frode15243 has quit [*.net *.split]
kalz has quit [*.net *.split]
clamstar has quit [*.net *.split]
terrellt has quit [*.net *.split]
jpierre03 has quit [*.net *.split]
peeja has quit [*.net *.split]
zenspider has quit [*.net *.split]
pgmcgee has quit [*.net *.split]
^[]^ has quit [*.net *.split]
PixelCrumbs has quit [*.net *.split]
theRoUS|abest has quit [*.net *.split]
dvabr has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
sirecote has quit [*.net *.split]
maxmanders has quit [*.net *.split]
cschneid has quit [*.net *.split]
flughafen has quit [*.net *.split]
danoo has quit [*.net *.split]
davzie has quit [*.net *.split]
idoru has quit [*.net *.split]
Scub has quit [*.net *.split]
mikeg has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
troyready has quit [*.net *.split]
vieq has quit [*.net *.split]
twobit has quit [*.net *.split]
Hanmac has quit [*.net *.split]
postmodern has quit [*.net *.split]
Xiti has quit [*.net *.split]
txdv has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
renderful has quit [*.net *.split]
mattmcclure has quit [*.net *.split]
Norrin has quit [*.net *.split]
Wolland has quit [*.net *.split]
heath has quit [*.net *.split]
pontiki has quit [*.net *.split]
zly has quit [*.net *.split]
Dwarf has quit [*.net *.split]
kalleth has quit [*.net *.split]
nemish has quit [*.net *.split]
heftig has quit [*.net *.split]
ohcibi has quit [*.net *.split]
qqw has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
SpaceKoo- has quit [*.net *.split]
axisys has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
spacemud has quit [*.net *.split]
armyriad has quit [*.net *.split]
frog0909 has quit [*.net *.split]
dukedave has quit [*.net *.split]
joshingly has quit [*.net *.split]
unclouded has quit [*.net *.split]
cornfeedhobo has quit [*.net *.split]
vcoinminer______ has quit [*.net *.split]
TDJACR has quit [*.net *.split]
jokke has quit [*.net *.split]
rikai has quit [*.net *.split]
garbanotas has quit [*.net *.split]
ceej has quit [*.net *.split]
majoh has quit [*.net *.split]
bedouin_ has quit [*.net *.split]
hfp has quit [*.net *.split]
cnj has quit [*.net *.split]
pusewicz_ has quit [*.net *.split]
whitewalrus has quit [*.net *.split]
ikanobori has quit [*.net *.split]
anekos_ has quit [*.net *.split]
CJD14______ has quit [*.net *.split]
rkjaer has quit [*.net *.split]
halfdan has quit [*.net *.split]
musicmatze has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
Tranquility_ has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
Seich has quit [*.net *.split]
ashleah has quit [*.net *.split]
george2 has quit [*.net *.split]
sfr^^ has quit [*.net *.split]
ramblinpeck_ has quit [*.net *.split]
olleromo__ has quit [*.net *.split]
kyote has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
Paradox has quit [*.net *.split]
bjeanes has quit [*.net *.split]
acalewin has quit [*.net *.split]
bcavileer has quit [*.net *.split]
Mars` has quit [*.net *.split]
ndrst_ has quit [*.net *.split]
cbetta_ has quit [*.net *.split]
ltd has quit [*.net *.split]
jpinnix___ has quit [*.net *.split]
hoelzro has quit [*.net *.split]
nifty__ has quit [*.net *.split]
Su7 has quit [*.net *.split]
Y_Ichiro_ has quit [*.net *.split]
F__i__L has quit [*.net *.split]
Miron has quit [*.net *.split]
jzigmund has quit [*.net *.split]
m_3_ has quit [*.net *.split]
mackinto1h has quit [*.net *.split]
Nilium has quit [*.net *.split]
b1nd has quit [*.net *.split]
toordog has quit [*.net *.split]
stoned has quit [*.net *.split]
existensil_ has quit [*.net *.split]
zenojis has quit [*.net *.split]
Kamilion has quit [*.net *.split]
ELLIOTTCABLE has quit [*.net *.split]
Sthebig has quit [*.net *.split]
charles81 has quit [*.net *.split]
daxroc has quit [*.net *.split]
dyreshark has quit [*.net *.split]
gizmore has quit [*.net *.split]
Bish has quit [*.net *.split]
graft_ has quit [*.net *.split]
madhatter has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
jamooo has quit [*.net *.split]
anshin has quit [*.net *.split]
sptq has quit [*.net *.split]
mjulian has quit [*.net *.split]
Muz has quit [*.net *.split]
voodoofish4301 has quit [*.net *.split]
eregon has quit [*.net *.split]
Brando753 has quit [*.net *.split]
aech has quit [*.net *.split]
oso|away has quit [*.net *.split]
Guest95651 has quit [*.net *.split]
Logiztik_ has quit [*.net *.split]
Olipro has quit [*.net *.split]
timmow has quit [*.net *.split]
thomasfedb has quit [*.net *.split]
duncannz has quit [*.net *.split]
mtncode has quit [*.net *.split]
andrewbredow has quit [*.net *.split]
AlHafoudh has quit [*.net *.split]
DefV has quit [*.net *.split]
Sgeo has quit [*.net *.split]
kedare has quit [*.net *.split]
djbkd has quit [*.net *.split]
ta has quit [*.net *.split]
abuzze has quit [*.net *.split]
chihhsin_cloud has quit [*.net *.split]
claw__ has quit [*.net *.split]
choke has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
tskogberg has quit [*.net *.split]
__main__ has quit [*.net *.split]
ineb has quit [*.net *.split]
uber has quit [*.net *.split]
palantir has quit [*.net *.split]
devyn has quit [*.net *.split]
yliu has quit [*.net *.split]
dsnow has quit [*.net *.split]
aboudreault has quit [*.net *.split]
mburns has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
jamo_ has quit [*.net *.split]
SecretAg1nt has quit [*.net *.split]
tchebb has quit [*.net *.split]
optiz0r_ has quit [*.net *.split]
patteh has quit [*.net *.split]
IotaSpencer has quit [*.net *.split]
diego_k has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
TieSoul has quit [*.net *.split]
Roa has quit [*.net *.split]
Meeh has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
binw has quit [*.net *.split]
verto_ has quit [*.net *.split]
clocKwize has quit [*.net *.split]
rcs has quit [*.net *.split]
Derander_ has quit [*.net *.split]
sarlalia1 has quit [*.net *.split]
stormy3 has quit [*.net *.split]
fearoffish has quit [*.net *.split]
cescalante has quit [*.net *.split]
hendricius has quit [*.net *.split]
BombStrike has quit [*.net *.split]
Karunamon has quit [*.net *.split]
monsieurp has quit [*.net *.split]
izzol2_ has quit [*.net *.split]
yokel has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
qpok has quit [*.net *.split]
Hamled|Erp has quit [*.net *.split]
Fusl has quit [*.net *.split]
pdtpatr1ck has quit [*.net *.split]
the_f0ster has quit [*.net *.split]
gremax has quit [*.net *.split]
bahar has quit [*.net *.split]
jerematic has quit [*.net *.split]
DylanJ has quit [*.net *.split]
jle` has quit [*.net *.split]
tiguser has quit [*.net *.split]
sindork has quit [*.net *.split]
Kovensky has quit [*.net *.split]
aef has quit [*.net *.split]
zaiste has quit [*.net *.split]
Akuma0n3 has quit [*.net *.split]
callumacrae has quit [*.net *.split]
adeponte has quit [*.net *.split]
Sp4rKy_ has quit [*.net *.split]
asbest has quit [*.net *.split]
Platini has quit [*.net *.split]
Spleeze has quit [*.net *.split]
psmolen has quit [*.net *.split]
bfrizzle_ has quit [*.net *.split]
germanstudent has quit [*.net *.split]
tekk has quit [*.net *.split]
seitensei has quit [*.net *.split]
chridal has quit [*.net *.split]
oz has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
elcuervo has quit [*.net *.split]
masak has quit [*.net *.split]
TTilus has quit [*.net *.split]
cuqa has quit [*.net *.split]
hydrajump has quit [*.net *.split]
kloeri has quit [*.net *.split]
pr00t has quit [*.net *.split]
uxp has quit [*.net *.split]
Anarch has quit [*.net *.split]
AlyssaDaemon has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
moshee has quit [*.net *.split]
David_Miller has quit [*.net *.split]
ZYPP has quit [*.net *.split]
gregf_ has quit [*.net *.split]
nw has quit [*.net *.split]
oetjenj has quit [*.net *.split]
Nowaker has quit [*.net *.split]
cn28h has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
LiquidIn1ect has quit [*.net *.split]
nug has quit [*.net *.split]
lusory has quit [*.net *.split]
gomikemike has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
nomadic_ has quit [*.net *.split]
Drakevr has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
jeekl has quit [*.net *.split]
jso has quit [*.net *.split]
preller has quit [*.net *.split]
Guest66081 has quit [*.net *.split]
marahin has quit [*.net *.split]
_|d0m|_ has quit [*.net *.split]
raldu has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
Radar has quit [*.net *.split]
klap has quit [*.net *.split]
philtr_ has quit [*.net *.split]
kevinfagan_ has quit [*.net *.split]
magicien_ has quit [*.net *.split]
Liothen has quit [*.net *.split]
abdulsattar has quit [*.net *.split]
rimenes has quit [*.net *.split]
kireevco has quit [*.net *.split]
asuka has quit [*.net *.split]
shevy has quit [*.net *.split]
wallerdev has quit [*.net *.split]
Vile` has quit [*.net *.split]
oleo has quit [*.net *.split]
natewalck_ has quit [*.net *.split]
gregf has quit [*.net *.split]
amystephen has quit [*.net *.split]
RandyT has quit [*.net *.split]
wang has quit [*.net *.split]
sweeper_ has quit [*.net *.split]
crazed has quit [*.net *.split]
aapole_ has quit [*.net *.split]
Dr3amc0dz has quit [*.net *.split]
regedarek has quit [*.net *.split]
ejnahc has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
hakunin has quit [*.net *.split]
dphase has quit [*.net *.split]
eval-in_____ has quit [*.net *.split]
bmoyles0117 has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
SirFunk has quit [*.net *.split]
ccooke has quit [*.net *.split]
flori has quit [*.net *.split]
d4nku_ has quit [*.net *.split]
rodasc has quit [*.net *.split]
fella7s has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
brandon_2 has quit [*.net *.split]
gkra has quit [*.net *.split]
oddmunds has quit [*.net *.split]
daed has quit [*.net *.split]
snorkra has quit [*.net *.split]
parus has quit [*.net *.split]
Rylee has quit [*.net *.split]
ehlovader has quit [*.net *.split]
everett has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
csfrancis has quit [*.net *.split]
bhaak has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
ght has quit [*.net *.split]
camilasan has quit [*.net *.split]
ozzloy has quit [*.net *.split]
GGMethos has quit [*.net *.split]
wackobobby has quit [*.net *.split]
Scient has quit [*.net *.split]
IceyEC_ has quit [*.net *.split]
eam has quit [*.net *.split]
haroldwu has quit [*.net *.split]
crome has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
davidcelis has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
aep has quit [*.net *.split]
Rennex has quit [*.net *.split]
cwc has quit [*.net *.split]
bmn has quit [*.net *.split]
ixx has quit [*.net *.split]
patronus has quit [*.net *.split]
n88 has quit [*.net *.split]
y_nk has quit [*.net *.split]
Takumo has quit [*.net *.split]
Cope has quit [*.net *.split]
quarcu has quit [*.net *.split]
wmoxam has quit [*.net *.split]
Shidash has quit [*.net *.split]
oddraisi1 has quit [*.net *.split]
dacamp has quit [*.net *.split]
EvanGuru has quit [*.net *.split]
Numdox has quit [*.net *.split]
Morrolan has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
yasu has quit [*.net *.split]
Riking has quit [*.net *.split]
crazysim has quit [*.net *.split]
akosednar has quit [*.net *.split]
three18t- has quit [*.net *.split]
wlanboy has quit [*.net *.split]
micah` has quit [*.net *.split]
gf3 has quit [*.net *.split]
certainty has quit [*.net *.split]
error404 has quit [*.net *.split]
QKO_ has quit [*.net *.split]
miah has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
Jelco has quit [*.net *.split]
ping-pong has quit [*.net *.split]
neoice has quit [*.net *.split]
cout has quit [*.net *.split]
eythoriu1 has quit [*.net *.split]
segv has quit [*.net *.split]
tsunamie has quit [*.net *.split]
jimeh_ has quit [*.net *.split]
_izz_ has quit [*.net *.split]
Affix has quit [*.net *.split]
mnemon has quit [*.net *.split]
mateu has quit [*.net *.split]
cibs has quit [*.net *.split]
eshy has quit [*.net *.split]
lyuzashi has quit [*.net *.split]
linojon has quit [*.net *.split]
siwica has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
pencilcheck has quit [*.net *.split]
threesixes has quit [*.net *.split]
aspiers has quit [*.net *.split]
jkline has quit [*.net *.split]
nettoweb has quit [*.net *.split]
jbueza has quit [*.net *.split]
Cecen has quit [*.net *.split]
badhatter has quit [*.net *.split]
sevvie has quit [*.net *.split]
bjornar has quit [*.net *.split]
BTRE has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
jimmyhoughjr has quit [*.net *.split]
v0n has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
SouL has quit [*.net *.split]
psyprus has quit [*.net *.split]
Kruppe has quit [*.net *.split]
xiphias has quit [*.net *.split]
jayne has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
Urocyon has quit [*.net *.split]
zwischenzug has quit [*.net *.split]
PhilK has quit [*.net *.split]
thoolihan has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
centrx has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
banister has quit [*.net *.split]
manzo has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
Azure has quit [*.net *.split]
Guest37038 has quit [*.net *.split]
agent_white has quit [*.net *.split]
Smujo has quit [*.net *.split]
webguynow has quit [*.net *.split]
francisfish has quit [*.net *.split]
zettam has quit [*.net *.split]
karupa has quit [*.net *.split]
iamayam has quit [*.net *.split]
synergyz has quit [*.net *.split]
ValicekB has quit [*.net *.split]
elfo222 has quit [*.net *.split]
weems__ has quit [*.net *.split]
amundj_ has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
vt102 has quit [*.net *.split]
UKn0Me has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
matled has quit [*.net *.split]
stnly has quit [*.net *.split]
nuck has quit [*.net *.split]
mgorbach has quit [*.net *.split]
jxport_ has quit [*.net *.split]
emdub has quit [*.net *.split]
kies has quit [*.net *.split]
Luyt has quit [*.net *.split]
chipotle has quit [*.net *.split]
zettam_ has quit [*.net *.split]
mocfive has quit [*.net *.split]
sambao21 has quit [*.net *.split]
sepp2k1 has quit [*.net *.split]
hiyosi has quit [*.net *.split]
lkba has quit [*.net *.split]
rezzack1 has quit [*.net *.split]
Synthead has quit [*.net *.split]
reset has quit [*.net *.split]
Photism has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
helpa has quit [*.net *.split]
jarjar_prime has quit [*.net *.split]
ionelmc has quit [*.net *.split]
ged has quit [*.net *.split]
Heartbroken has quit [*.net *.split]
malcolmva has quit [*.net *.split]
ClarusCogitatio has quit [*.net *.split]
Nahra has quit [*.net *.split]
machete has quit [*.net *.split]
Davey has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
HashNuke has quit [*.net *.split]
drizz has quit [*.net *.split]
slash_nick has quit [*.net *.split]
irk has quit [*.net *.split]
manacit has quit [*.net *.split]
baum has quit [*.net *.split]
robustus has quit [*.net *.split]
danijoo has quit [*.net *.split]
mocchi has quit [*.net *.split]
lsone has quit [*.net *.split]
mbwe has quit [*.net *.split]
speakingcode has quit [*.net *.split]
gccostabr has quit [*.net *.split]
mozzarella has quit [*.net *.split]
iceden has quit [*.net *.split]
M-Technic has quit [*.net *.split]
SDr has quit [*.net *.split]
maloik has quit [*.net *.split]
joast has quit [*.net *.split]
sumark has quit [*.net *.split]
poikon has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
hfp_work has quit [*.net *.split]
chihhsin has quit [*.net *.split]
troter has quit [*.net *.split]
descala has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
ericwood has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
ggherdov__ has quit [*.net *.split]
VBlizzard has quit [*.net *.split]
kriskropd has quit [*.net *.split]
icedp has quit [*.net *.split]
pasties has quit [*.net *.split]
wasamasa has quit [*.net *.split]
pibby has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
saltsa_ has quit [*.net *.split]
vinky_ has quit [*.net *.split]
Kabaka has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
kke has quit [*.net *.split]
minecoins has quit [*.net *.split]
redondos has quit [*.net *.split]
j416 has quit [*.net *.split]
willgorman has quit [*.net *.split]
zmyrgel has quit [*.net *.split]
tonini has quit [*.net *.split]
dbck has quit [*.net *.split]
machty has quit [*.net *.split]
drager has quit [*.net *.split]
thalweg has quit [*.net *.split]
rs0 has quit [*.net *.split]
Pro|_ has quit [*.net *.split]
xlii has quit [*.net *.split]
ahuman has quit [*.net *.split]
Raboo has quit [*.net *.split]
fumk has quit [*.net *.split]
erichmenge has quit [*.net *.split]
Cork has quit [*.net *.split]
waltz_ has quit [*.net *.split]
czaks has quit [*.net *.split]
mame0 has quit [*.net *.split]
dRbiG has quit [*.net *.split]
nickjj has quit [*.net *.split]
haasn has quit [*.net *.split]
yano has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
pipework has quit [*.net *.split]
farn has quit [*.net *.split]
drago777- has quit [*.net *.split]
nopc0de has quit [*.net *.split]
xybre has quit [*.net *.split]
matti has quit [*.net *.split]
alex-i has quit [*.net *.split]
jtz has quit [*.net *.split]
zalmoxes has quit [*.net *.split]
ryotarai has quit [*.net *.split]
jrdnull has quit [*.net *.split]
mosez has quit [*.net *.split]
aledovsky has quit [*.net *.split]
pygospa has quit [*.net *.split]
warreng has quit [*.net *.split]
jeaye has quit [*.net *.split]
rblackwe has quit [*.net *.split]
deavidsedice has quit [*.net *.split]
sheepman has quit [*.net *.split]
headius has quit [*.net *.split]
lynxman has quit [*.net *.split]
seph429 has quit [*.net *.split]
Gate_ has quit [*.net *.split]
adamholt has quit [*.net *.split]
gogiel has quit [*.net *.split]
peterhu has quit [*.net *.split]
Guest21130 has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
KillerFox has quit [*.net *.split]
shanlar has quit [*.net *.split]
Doc_X has quit [*.net *.split]
TheNumb has quit [*.net *.split]
chuck has quit [*.net *.split]
suffice has quit [*.net *.split]
epitron has quit [*.net *.split]
waxjar has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
hackeron has quit [*.net *.split]
inukshuk has quit [*.net *.split]
bier has quit [*.net *.split]
shaman42_ has quit [*.net *.split]
mumblerit has quit [*.net *.split]
felipe has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
tomaw has quit [*.net *.split]
contradictioned has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
soahccc has joined #ruby
binaryhat has joined #ruby
cajone has joined #ruby
pandaant has joined #ruby
32NAAARXI has joined #ruby
ndrei has joined #ruby
mg^ has joined #ruby
mattp_ has joined #ruby
emmesswhy has joined #ruby
rbenv has joined #ruby
PaulePan1er has joined #ruby
sevenseacat has joined #ruby
riceandbeans has joined #ruby
duncannz has joined #ruby
radic has joined #ruby
Lewix has joined #ruby
troyready has joined #ruby
ixti has joined #ruby
charliesome has joined #ruby
klaas has joined #ruby
GriffinH_ has joined #ruby
drager has joined #ruby
Spami has joined #ruby
finges has joined #ruby
matled has joined #ruby
chipotle has joined #ruby
tkuchiki has joined #ruby
qpls has joined #ruby
FracV has joined #ruby
_lexjm has joined #ruby
zettam_ has joined #ruby
baum has joined #ruby
suy_ has joined #ruby
WormDrink has joined #ruby
Trieste has joined #ruby
Firespirit has joined #ruby
badhatter has joined #ruby
mikeg has joined #ruby
zorak8 has joined #ruby
abdulsattar has joined #ruby
chrishough has joined #ruby
GinoMan has joined #ruby
willgo has joined #ruby
twobit has joined #ruby
pizzaops has joined #ruby
sambao21 has joined #ruby
mocfive has joined #ruby
lyuzashi has joined #ruby
thumpba has joined #ruby
sleepee has joined #ruby
centrx has joined #ruby
orolo has joined #ruby
tlarevo has joined #ruby
St_Marx has joined #ruby
jaygen_ has joined #ruby
snath has joined #ruby
vieq has joined #ruby
PanPan has joined #ruby
linojon has joined #ruby
ursooperduper has joined #ruby
siwica has joined #ruby
lolmaus__ has joined #ruby
sepp2k1 has joined #ruby
rostam has joined #ruby
jhass has joined #ruby
jerius has joined #ruby
jack_rabbit has joined #ruby
b00stfr3ak has joined #ruby
doritostains has joined #ruby
narcan has joined #ruby
Aranshada|W has joined #ruby
rimenes has joined #ruby
mtncode has joined #ruby
tessi_zz has joined #ruby
Jarboe has joined #ruby
cjk101010 has joined #ruby
DrForr has joined #ruby
andrewbredow has joined #ruby
AlHafoudh has joined #ruby
DefV has joined #ruby
davasaurous has joined #ruby
Hanmac has joined #ruby
Azure has joined #ruby
koell has joined #ruby
wallerdev has joined #ruby
drawingthesun has joined #ruby
kedare has joined #ruby
kireevco has joined #ruby
NameNotFound has joined #ruby
mollitz has joined #ruby
olekenneth has joined #ruby
asuka has joined #ruby
tjr9898 has joined #ruby
lkba has joined #ruby
yeticry has joined #ruby
postmodern has joined #ruby
hiyosi has joined #ruby
Vile` has joined #ruby
dkphenom has joined #ruby
jkline has joined #ruby
davispuh has joined #ruby
eshy has joined #ruby
yfeldblum has joined #ruby
Adran has joined #ruby
ItSANgo has joined #ruby
agent_white has joined #ruby
oleo has joined #ruby
edoceo has joined #ruby
jbueza has joined #ruby
Cecen has joined #ruby
proxie has joined #ruby
Beoran has joined #ruby
KC9YDN has joined #ruby
Smujo has joined #ruby
txdv has joined #ruby
computerex has joined #ruby
Guest37038 has joined #ruby
MeltedLux has joined #ruby
manzo has joined #ruby
fbernier has joined #ruby
Synthead has joined #ruby
abuzze has joined #ruby
Norrin has joined #ruby
Xiti has joined #ruby
parduse has joined #ruby
IcyDragon has joined #ruby
rezzack1 has joined #ruby
cibs has joined #ruby
incomprehensibly has joined #ruby
rfv_ has joined #ruby
renderful has joined #ruby
robustus has joined #ruby
sevvie has joined #ruby
claw__ has joined #ruby
mostlybadfly has joined #ruby
Paul_McFreely has joined #ruby
mattmcclure has joined #ruby
reset has joined #ruby
choke has joined #ruby
ta has joined #ruby
chihhsin_cloud has joined #ruby
natewalck_ has joined #ruby
gregf has joined #ruby
Mattias has joined #ruby
webguynow has joined #ruby
pencilcheck has joined #ruby
dazeddev has joined #ruby
shevy has joined #ruby
Luyt has joined #ruby
Lucky__ has joined #ruby
Sgeo has joined #ruby
RandyT has joined #ruby
pontiki has joined #ruby
starkhalo has joined #ruby
Wolland has joined #ruby
bjornar has joined #ruby
lpaste has joined #ruby
Photism has joined #ruby
BTRE has joined #ruby
Hobogrammer has joined #ruby
multi_io has joined #ruby
tanath has joined #ruby
lele has joined #ruby
az has joined #ruby
threesixes has joined #ruby
spastorino has joined #ruby
yxhuvud has joined #ruby
zly has joined #ruby
djbkd has joined #ruby
kalleth has joined #ruby
dserodio has joined #ruby
wwalker has joined #ruby
aspiers has joined #ruby
francisfish has joined #ruby
neersighted has joined #ruby
ohcibi has joined #ruby
j4jackj has joined #ruby
amystephen has joined #ruby
PierreRambaud has joined #ruby
{xenomorph} has joined #ruby
nemish has joined #ruby
Kilo`byte has joined #ruby
Dwarf has joined #ruby
heath has joined #ruby
heftig has joined #ruby
SpaceKoo- has joined #ruby
helpa has joined #ruby
qqw has joined #ruby
end_guy has joined #ruby
cryptoca has joined #ruby
braincrash has joined #ruby
armyriad has joined #ruby
iamayam has joined #ruby
jarjar_prime has joined #ruby
meinside has joined #ruby
KnownSyntax has joined #ruby
SegFaultAX has joined #ruby
synergyz has joined #ruby
karupa has joined #ruby
jimmyhoughjr has joined #ruby
ValicekB has joined #ruby
spacemud has joined #ruby
DrCode has joined #ruby
lsone has joined #ruby
danijoo has joined #ruby
axisys has joined #ruby
mbwe has joined #ruby
mocchi has joined #ruby
tris has joined #ruby
johnhamelink has joined #ruby
Klumben has joined #ruby
vcoinminer______ has joined #ruby
l3kn has joined #ruby
Alina-malina has joined #ruby
ionelmc has joined #ruby
Zackio has joined #ruby
FL1SK has joined #ruby
Akagi201 has joined #ruby
dukedave has joined #ruby
unclouded has joined #ruby
LBRapid has joined #ruby
speakingcode has joined #ruby
frog0909 has joined #ruby
gccostabr has joined #ruby
cornfeedhobo has joined #ruby
rikai has joined #ruby
joshingly has joined #ruby
weems__ has joined #ruby
amundj_ has joined #ruby
_cake has joined #ruby
jokke has joined #ruby
elfo222 has joined #ruby
ged has joined #ruby
Heartbroken has joined #ruby
mozzarella has joined #ruby
TDJACR has joined #ruby
phrozen77 has joined #ruby
zwischenzug has joined #ruby
yacks has joined #ruby
M-Technic has joined #ruby
iceden has joined #ruby
musl has joined #ruby
MissionCritical has joined #ruby
malcolmva has joined #ruby
psyprus has joined #ruby
SDr has joined #ruby
garbanotas has joined #ruby
maloik has joined #ruby
Sou|cutter has joined #ruby
the_f0ster has joined #ruby
SouL has joined #ruby
v0n has joined #ruby
joast has joined #ruby
keen_ has joined #ruby
ClarusCogitatio has joined #ruby
Ulrike_Rayne has joined #ruby
lifenoodles has joined #ruby
Logiztik_ has joined #ruby
poikon has joined #ruby
hfp has joined #ruby
blackjid has joined #ruby
majoh has joined #ruby
vt102 has joined #ruby
sumark has joined #ruby
BraddBitt has joined #ruby
ceej has joined #ruby
jayne has joined #ruby
20WABIUE7 has joined #ruby
Jamo has joined #ruby
flagg0204 has joined #ruby
xiphias has joined #ruby
stnly has joined #ruby
voodoofish has joined #ruby
bigkevmcd has joined #ruby
nuck has joined #ruby
hfp_work has joined #ruby
machete has joined #ruby
bedouin_ has joined #ruby
felixjet has joined #ruby
WildBamboo-Josh has joined #ruby
UKn0Me has joined #ruby
Nahra has joined #ruby
benzrf has joined #ruby
Kruppe has joined #ruby
chihhsin has joined #ruby
Davey has joined #ruby
andrewcarter has joined #ruby
cnj has joined #ruby
amitchellbullard has joined #ruby
whitewalrus has joined #ruby
pusewicz_ has joined #ruby
mgorbach has joined #ruby
anekos_ has joined #ruby
Guest85414______ has joined #ruby
epochwolf has joined #ruby
ikanobori has joined #ruby
HashNuke has joined #ruby
CJD14______ has joined #ruby
rkjaer has joined #ruby
jeregrine has joined #ruby
yo61 has joined #ruby
halfdan has joined #ruby
musicmatze has joined #ruby
skarn has joined #ruby
ballPointPenguin has joined #ruby
jalcine has joined #ruby
comma8 has joined #ruby
Seich has joined #ruby
ashleah has joined #ruby
Tranquility_ has joined #ruby
tobiasvl has joined #ruby
Paradox has joined #ruby
ltd has joined #ruby
emdub has joined #ruby
zz_jrhorn424 has joined #ruby
thesheff17 has joined #ruby
jxport_ has joined #ruby
mist has joined #ruby
george2 has joined #ruby
BackEndCoder_ has joined #ruby
kyote has joined #ruby
DarkFoxDK has joined #ruby
pmarreck has joined #ruby
jpinnix___ has joined #ruby
hoelzro has joined #ruby
Su7 has joined #ruby
olleromo__ has joined #ruby
Mars` has joined #ruby
caveat- has joined #ruby
troter has joined #ruby
ggherdov__ has joined #ruby
bcavileer has joined #ruby
lfox has joined #ruby
Y_Ichiro_ has joined #ruby
bjeanes has joined #ruby
_5kg_ has joined #ruby
acalewin has joined #ruby
drizz has joined #ruby
juni0r has joined #ruby
nifty__ has joined #ruby
lupine has joined #ruby
slash_nick has joined #ruby
sfr^^ has joined #ruby
Urocyon has joined #ruby
F__i__L has joined #ruby
ndrst_ has joined #ruby
nanashiRei has joined #ruby
icedp has joined #ruby
nighter_ has joined #ruby
cbetta_ has joined #ruby
ericwood has joined #ruby
ramblinpeck_ has joined #ruby
kaichanvong has joined #ruby
Miron has joined #ruby
klap has joined #ruby
descala has joined #ruby
m_3_ has joined #ruby
phreax has joined #ruby
VBlizzard has joined #ruby
kriskropd has joined #ruby
jzigmund has joined #ruby
mackinto1h has joined #ruby
PhilK has joined #ruby
Nilium has joined #ruby
wang has joined #ruby
thoolihan has joined #ruby
pasties has joined #ruby
Trynemjoel has joined #ruby
uber has joined #ruby
ineb has joined #ruby
tskogberg has joined #ruby
lnong has joined #ruby
genta has joined #ruby
__main__ has joined #ruby
b1nd has joined #ruby
toordog has joined #ruby
palantir has joined #ruby
wasamasa has joined #ruby
existensil_ has joined #ruby
Kamilion has joined #ruby
zenojis has joined #ruby
stoned has joined #ruby
pibby has joined #ruby
devyn has joined #ruby
aboudreault has joined #ruby
cHarNe2 has joined #ruby
vinky_ has joined #ruby
Sthebig has joined #ruby
sweeper_ has joined #ruby
Davedo has joined #ruby
dsnow has joined #ruby
yliu has joined #ruby
ELLIOTTCABLE has joined #ruby
saltsa_ has joined #ruby
Kabaka has joined #ruby
charles81 has joined #ruby
dyreshark has joined #ruby
gizmore has joined #ruby
naquad has joined #ruby
irk has joined #ruby
sptq has joined #ruby
Bish has joined #ruby
IotaSpencer has joined #ruby
mburns has joined #ruby
kaffepan1a has joined #ruby
madhatter has joined #ruby
sn0wb1rd has joined #ruby
daxroc has joined #ruby
kies has joined #ruby
crazed has joined #ruby
Muz has joined #ruby
mjulian has joined #ruby
cephalostrum_ has joined #ruby
BLuEGoD has joined #ruby
jamo_ has joined #ruby
timmow has joined #ruby
Dr3amc0dz has joined #ruby
optiz0r_ has joined #ruby
SecretAg1nt has joined #ruby
jonathanwallace has joined #ruby
jamooo has joined #ruby
tchebb has joined #ruby
voodoofish4301 has joined #ruby
graft_ has joined #ruby
raldu has joined #ruby
xMopxShell has joined #ruby
anshin has joined #ruby
eregon has joined #ruby
kke has joined #ruby
goshdarnyou has joined #ruby
manacit has joined #ruby
bauruine has joined #ruby
dziga has joined #ruby
ericwood_ has joined #ruby
diego_k has joined #ruby
aapole_ has joined #ruby
yosafbridge has joined #ruby
willgorman has joined #ruby
bove_ has joined #ruby
hostess has joined #ruby
patteh has joined #ruby
avelldiroll has joined #ruby
jrunning has joined #ruby
redondos has joined #ruby
culturelabs_ has joined #ruby
Nightmare has joined #ruby
artgoeshere has joined #ruby
JaTochNietDan has joined #ruby
minecoins has joined #ruby
Jello_Raptor has joined #ruby
j416 has joined #ruby
kenichi_ has joined #ruby
mordof has joined #ruby
mjmac_ has joined #ruby
SirCmpwn has joined #ruby
zmyrgel has joined #ruby
tonini has joined #ruby
cicloid_ has joined #ruby
dbck has joined #ruby
stopbit has joined #ruby
anildigital has joined #ruby
machty has joined #ruby
tiagonobre_ has joined #ruby
Pro|_ has joined #ruby
nisstyre has joined #ruby
mattyohe has joined #ruby
thalweg has joined #ruby
dmoe_________ has joined #ruby
alol__ has joined #ruby
ahuman has joined #ruby
Raboo has joined #ruby
ckrailo has joined #ruby
xlii has joined #ruby
nickjj has joined #ruby
TieSoul has joined #ruby
frode15243 has joined #ruby
sirecote has joined #ruby
waltz_ has joined #ruby
stormy3 has joined #ruby
rcs has joined #ruby
hendricius has joined #ruby
jpierre03 has joined #ruby
RoryHughes has joined #ruby
regedarek has joined #ruby
Derander_ has joined #ruby
erichmenge has joined #ruby
cescalante has joined #ruby
thomasfedb has joined #ruby
clamstar has joined #ruby
wookiehangover has joined #ruby
ccooke has joined #ruby
pgmcgee has joined #ruby
fumk has joined #ruby
dvabr has joined #ruby
davzie has joined #ruby
sarlalia1 has joined #ruby
Meeh has joined #ruby
maxmanders has joined #ruby
hakunin has joined #ruby
BombStrike has joined #ruby
Karunamon has joined #ruby
cschneid has joined #ruby
monsieurp has joined #ruby
kalz has joined #ruby
Scub has joined #ruby
flori has joined #ruby
ejnahc has joined #ruby
Apocalypse has joined #ruby
sonOfRa has joined #ruby
zenspider has joined #ruby
yokel has joined #ruby
clocKwize has joined #ruby
dphase has joined #ruby
PixelCrumbs has joined #ruby
kiki_lamb has joined #ruby
SirFunk has joined #ruby
eval-in_____ has joined #ruby
d4nku_ has joined #ruby
aech has joined #ruby
dRbiG has joined #ruby
^[]^ has joined #ruby
jaredrhine has joined #ruby
rodasc has joined #ruby
Hamled|Erp has joined #ruby
danoo has joined #ruby
rs0 has joined #ruby
Brando753 has joined #ruby
m4rCsi has joined #ruby
fella7s has joined #ruby
binw has joined #ruby
terrellt has joined #ruby
idoru has joined #ruby
pdtpatr1ck has joined #ruby
bmoyles0117 has joined #ruby
theRoUS|abest has joined #ruby
flughafen has joined #ruby
izzol2_ has joined #ruby
Roa has joined #ruby
verto_ has joined #ruby
qpok has joined #ruby
gremax has joined #ruby
brandon_2 has joined #ruby
tsunamie has joined #ruby
Fusl has joined #ruby
peeja has joined #ruby
oddmunds has joined #ruby
bahar has joined #ruby
fearoffish has joined #ruby
gkra has joined #ruby
jerematic has joined #ruby
jle` has joined #ruby
DylanJ has joined #ruby
daed has joined #ruby
tiguser has joined #ruby
Cork has joined #ruby
Kovensky has joined #ruby
sindork has joined #ruby
czaks has joined #ruby
Rylee has joined #ruby
parus has joined #ruby
snorkra has joined #ruby
zaiste has joined #ruby
callumacrae has joined #ruby
aef has joined #ruby
Akuma0n3 has joined #ruby
jimeh_ has joined #ruby
everett has joined #ruby
ehlovader has joined #ruby
adeponte has joined #ruby
mame0 has joined #ruby
chuck has joined #ruby
Sp4rKy_ has joined #ruby
yano has joined #ruby
asbest has joined #ruby
Platini has joined #ruby
haasn has joined #ruby
farn has joined #ruby
Spleeze has joined #ruby
mateu has joined #ruby
epitron has joined #ruby
_KaszpiR_ has joined #ruby
csfrancis has joined #ruby
bfrizzle_ has joined #ruby
bhaak has joined #ruby
psmolen has joined #ruby
germanstudent has joined #ruby
_izz_ has joined #ruby
tekk has joined #ruby
seitensei has joined #ruby
chridal has joined #ruby
Affix has joined #ruby
ozzloy has joined #ruby
elaptics`away has joined #ruby
GGMethos has joined #ruby
oz has joined #ruby
ght has joined #ruby
y_nk has joined #ruby
camilasan has joined #ruby
wackobobby has joined #ruby
pipework has joined #ruby
Scient has joined #ruby
crome has joined #ruby
IceyEC_ has joined #ruby
okinomo_ has joined #ruby
eam has joined #ruby
haroldwu has joined #ruby
mnemon has joined #ruby
elcuervo has joined #ruby
drago777- has joined #ruby
mr_rich101 has joined #ruby
C0deMaver1ck has joined #ruby
TTilus has joined #ruby
nopc0de has joined #ruby
davidcelis has joined #ruby
xybre has joined #ruby
Rennex has joined #ruby
masak has joined #ruby
hydrajump has joined #ruby
aep has joined #ruby
kloeri has joined #ruby
bmn has joined #ruby
cwc has joined #ruby
cuqa has joined #ruby
uxp has joined #ruby
ixx has joined #ruby
Anarch has joined #ruby
moshee has joined #ruby
pr00t has joined #ruby
AlyssaDaemon has joined #ruby
Gnubie_ has joined #ruby
ZYPP has joined #ruby
patronus has joined #ruby
gregf_ has joined #ruby
David_Miller has joined #ruby
n88 has joined #ruby
Takumo has joined #ruby
Shidash has joined #ruby
quarcu has joined #ruby
nw has joined #ruby
Cope has joined #ruby
wmoxam has joined #ruby
cn28h has joined #ruby
Sp4rKy has joined #ruby
oetjenj has joined #ruby
TheMoonMaster has joined #ruby
Nowaker has joined #ruby
LiquidIn1ect has joined #ruby
oddraisi1 has joined #ruby
gomikemike has joined #ruby
nug has joined #ruby
dacamp has joined #ruby
lusory has joined #ruby
Morrolan has joined #ruby
EvanGuru has joined #ruby
three18t- has joined #ruby
Numdox has joined #ruby
yeltzooo has joined #ruby
Riking has joined #ruby
yasu has joined #ruby
wlanboy has joined #ruby
nomadic_ has joined #ruby
Killerkeksdose has joined #ruby
Drakevr has joined #ruby
crazysim has joined #ruby
matti has joined #ruby
alex-i has joined #ruby
marahin has joined #ruby
micah` has joined #ruby
Guest66081 has joined #ruby
certainty has joined #ruby
_|d0m|_ has joined #ruby
thejoecarroll has joined #ruby
jeekl has joined #ruby
preller has joined #ruby
jso has joined #ruby
akosednar has joined #ruby
QKO_ has joined #ruby
samuelkadolph has joined #ruby
gf3 has joined #ruby
error404 has joined #ruby
mhenrixon has joined #ruby
jtz has joined #ruby
pygospa has joined #ruby
mosez has joined #ruby
aledovsky has joined #ruby
miah has joined #ruby
Jelco has joined #ruby
jrdnull has joined #ruby
Radar has joined #ruby
ryotarai has joined #ruby
zalmoxes has joined #ruby
cout has joined #ruby
eythoriu1 has joined #ruby
philtr_ has joined #ruby
ping-pong has joined #ruby
warreng has joined #ruby
kevinfagan_ has joined #ruby
magicien_ has joined #ruby
neoice has joined #ruby
jeaye has joined #ruby
tomaw- has joined #ruby
rblackwe has joined #ruby
sheepman has joined #ruby
deavidsedice has joined #ruby
segv has joined #ruby
Liothen has joined #ruby
headius has joined #ruby
seph429 has joined #ruby
lynxman has joined #ruby
Gate_ has joined #ruby
adamholt has joined #ruby
hackeron has joined #ruby
FaresKAlaboud has joined #ruby
bier has joined #ruby
inukshuk has joined #ruby
gogiel has joined #ruby
shaman42_ has joined #ruby
KillerFox has joined #ruby
shanlar has joined #ruby
suffice has joined #ruby
Doc_X has joined #ruby
peterhu has joined #ruby
TheNumb has joined #ruby
connor_goodwolf has joined #ruby
waxjar has joined #ruby
Guest21130 has joined #ruby
dhruvasagar has joined #ruby
contradictioned has joined #ruby
mumblerit has joined #ruby
tomaw has joined #ruby
felipe has joined #ruby
ddfreyne has joined #ruby
_reset has joined #ruby
doodlehaus has joined #ruby
32NAAARXI has quit [Max SendQ exceeded]
davasaurous has quit [Remote host closed the connection]
codeurge has joined #ruby
edwardly_ has joined #ruby
akitada__ has quit [Max SendQ exceeded]
maZtah has quit [Max SendQ exceeded]
go|dfish has quit [Max SendQ exceeded]
milkohol has joined #ruby
mary5030 has joined #ruby
go|dfish has joined #ruby
akitada__ has joined #ruby
KC9YDN has quit [Ping timeout: 272 seconds]
maZtah has joined #ruby
tcrypt has joined #ruby
spastorino has quit [Ping timeout: 270 seconds]
goshdarnyou has quit [Ping timeout: 270 seconds]
kenichi_ has quit [Ping timeout: 270 seconds]
b00stfr3ak has quit [Ping timeout: 258 seconds]
ericwood_ has quit [Ping timeout: 272 seconds]
tiagonobre_ has quit [Ping timeout: 272 seconds]
chipotle has quit [Quit: cya]
epochwolf has quit [Ping timeout: 272 seconds]
reset has quit [Ping timeout: 255 seconds]
goshdarnyou has joined #ruby
ericwood_ has joined #ruby
_reset has quit [Ping timeout: 258 seconds]
willgo_ has joined #ruby
epochwolf has joined #ruby
spastorino has joined #ruby
kenichi has joined #ruby
willgo has quit [Read error: Connection reset by peer]
tiagonobre_ has joined #ruby
lemur has joined #ruby
adironduck has joined #ruby
amystephen has quit [Quit: amystephen]
mofai has joined #ruby
wallerdev has quit [Quit: wallerdev]
adironduck has quit [Client Quit]
grokdancer has joined #ruby
doodlehaus has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 272 seconds]
Olipro has joined #ruby
InhalingPixels has joined #ruby
skammer has joined #ruby
northfurr has joined #ruby
mocfive has quit [Remote host closed the connection]
lemur has joined #ruby
mocfive has joined #ruby
fabrice31 has joined #ruby
InhalingPixels has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: zzz]
diegoviola has joined #ruby
skammer has quit [Ping timeout: 260 seconds]
moritzschaefer has joined #ruby
awc737 has joined #ruby
mocfive has quit [Ping timeout: 260 seconds]
fabrice31 has quit [Ping timeout: 246 seconds]
GriffinH_ has quit [Remote host closed the connection]
mikeg has quit [Remote host closed the connection]
yetanotherdave has joined #ruby
Olipro has quit [Max SendQ exceeded]
mollitz has quit [Ping timeout: 272 seconds]
kenneth has quit [Quit: Bye.]
GriffinHeart has joined #ruby
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
tcrypt has quit []
tectonic has joined #ruby
<multi_io> what kind of object is a class?
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<multi_io> i.e. if you have class Foo; ...; end, what is Foo?
<multi_io> it's not Foo.class, nor is it Foo.singleton_class
<centrx> multi_io, that is equivalent to: Foo = Class.new do ... end I believe is the syntax
<centrx> multi_io, So the class of a class is Class
<multi_io> apparently it's the object that will contain the methods defined via def Foo.method
<centrx> multi_io, The kind of object is Foo, which is an instance of Class
<centrx> >> class Foo; end; Foo.class
<eval-in_____> centrx => Class (https://eval.in/194379)
fold has joined #ruby
muhammadn has joined #ruby
b00stfr3ak has joined #ruby
IcyDragon has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 240 seconds]
<multi_io> centrx: ok...
<benzrf> o
yetanoth1rdave has joined #ruby
<multi_io> so what is the Foo.singleton_class then?
<centrx> multi_io, Looks like it represents the Class instance itself
<centrx> multi_io, There are some funky things with eigenclasses too
Apocalypse has quit [Ping timeout: 240 seconds]
<centrx> multi_io, but fundamentally Foo is a Class
* multi_io experiments
yetanotherdave has quit [Ping timeout: 240 seconds]
a has joined #ruby
a is now known as Guest21836
<multi_io> looks like there's one (unique) singleton_class for each object
<centrx> multi_io, whereas nil.singleton_class == nil.class, same for true and false, that is some funkiness too as I recall
<multi_io> aah, I think I remember, so the singleton class is for defining methods on a specific object only
adironduck has joined #ruby
<centrx> >> class Foo; end; Foo.new
* centrx kicks the bot
<centrx> >> class Foo; end; Foo.singleton_class
<eval-in_____> centrx => #<Foo:0x40a1dc28> (https://eval.in/194380)
<eval-in_____> centrx => #<Class:Foo> (https://eval.in/194381)
b00stfr3ak has quit [Ping timeout: 245 seconds]
<j4jackj> ._o
adironduck has quit [Client Quit]
<multi_io> >> class Foo; end; f=Foo.new; f2=Foo.new; f.singleton_class == f2.singleton_class
<eval-in_____> multi_io => false (https://eval.in/194382)
melik_ has joined #ruby
edwardly_ is now known as edwardly
<multi_io> >> class Foo; end; f=Foo.new; f.singleton_class == f.singleton_class
<eval-in_____> multi_io => true (https://eval.in/194383)
mikeg has joined #ruby
codeurge has quit [Quit: Sleep.]
jkline has quit [Quit: jkline]
vinleod has quit [Quit: Computer has gone to sleep.]
<jhass> centrx: eigenclass is just another name for the singleton class, same concept
orolo has quit [Quit: This computer has gone to sleep]
niklasb has joined #ruby
troyready has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
<ericwood> zenspider: I just made this using it: https://vine.co/v/OWmJwQaKBKl
<jhass> and yeah, the singleton class is a transparently (on access) added class that's the actual parent of the object and thus sits between it and its class
<ericwood> zenspider: giving a talk on how it all works and the internals of the library tomorrow, I'll have some materials from it available soon
vinleod has joined #ruby
manzo has quit [Ping timeout: 246 seconds]
Apocalypse has joined #ruby
Apocalypse has joined #ruby
Apocalypse has quit [Changing host]
RyanV has joined #ruby
RyanV has quit [Client Quit]
hanjianwei has joined #ruby
orolo has joined #ruby
mtncode has quit [Ping timeout: 245 seconds]
sdegutis has joined #ruby
Takle has joined #ruby
moritzschaefer has quit [Ping timeout: 272 seconds]
<sdegutis> Is it bad practice to pass an implicit block to .new?
emmesswhy has quit [Quit: Leaving]
radic has quit [Disconnected by services]
radic_ has joined #ruby
<centrx> sdegutis, why?
krz has joined #ruby
davispuh has quit [Ping timeout: 272 seconds]
<centrx> sdegutis, why would it be bad, by implicit do you mean yield vs &block ?
Tricon has joined #ruby
<sdegutis> I'm considering doing: x = Foobar.new(123, ["bla"]) do ... end
<centrx> sdegutis, yield is significantly faster, or was recently at least
<sdegutis> Cool. But I mean API design wise.
IcyDragon has joined #ruby
pu22l3r has joined #ruby
<jhass> sdegutis: core does that, for example on Array and Hash. I'm not sure where you got the feeling it's a bad idea
<sdegutis> Okay.
<sdegutis> Thanks :)
<sdegutis> I am going to go back to writing my stupid little app now.
pibby has quit [Quit: leaving]
sepp2k1 has quit [Read error: Connection reset by peer]
perrier has quit [Remote host closed the connection]
<centrx> sdegutis, I've never had any use for putting a block on #new for a class I created, so I must think it's a bad idea
<sdegutis> Okay.
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<centrx> sdegutis, it may be more descriptive to put the block on a method of the class, rather than adding too much complication to the initialize method
sinkensabe has joined #ruby
<sdegutis> Thanks.
<multi_io> what does it do? yield the just created object to the block?
sdegutis has quit [Quit: Leaving...]
<centrx> multi_io, yes
mikeg has quit [Remote host closed the connection]
<centrx> multi_io, or not that actually
<centrx> multi_io, it yields to the block whatever you tell it to, like yield(x, y)
pibby has joined #ruby
perrier has joined #ruby
GriffinHeart has joined #ruby
<benzrf> >> Struct.new
<centrx> multi_io, or variable_that_is_usually_called_block.call(x, y)
<eval-in_____> benzrf => wrong number of arguments (0 for 1+) (ArgumentError) ... (https://eval.in/194385)
<benzrf> hm
<benzrf> >> Struct.new :x
<eval-in_____> benzrf => #<Class:0x41421d8c> (https://eval.in/194386)
<benzrf> tsk
jimmyy has joined #ruby
<multi_io> >> Hash.new{|h| h["foo"] = "bar" }
<eval-in_____> multi_io => {} (https://eval.in/194387)
Takle has quit [Ping timeout: 260 seconds]
hamakn has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
milkohol has joined #ruby
hiyosi has quit [Ping timeout: 255 seconds]
<multi_io> hmpf
GriffinHeart has quit [Remote host closed the connection]
rkalfane has joined #ruby
muhammadn has quit [Remote host closed the connection]
<multi_io> centrx: ah, you mean it just passes the block to the created object's initialize, which can yield to it whatever it wants?
Guest21836 has quit [Ping timeout: 245 seconds]
<centrx> multi_io, yes
niftylettuce__ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
Tricon has quit [Quit: Leaving...]
davasaurous has joined #ruby
<multi_io> >> class Foo; attr_accessor :x; def initialize; yield(self); end end; f = Foo.new{|f| f.x=42}
<eval-in_____> multi_io => #<Foo:0x424459fc @x=42> (https://eval.in/194392)
GriffinHeart has joined #ruby
sgray10 has joined #ruby
djbkd has quit [Remote host closed the connection]
momomomomo has joined #ruby
<centrx> voila
davasaurous has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
freerobby has joined #ruby
hamakn has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
sparrovv has joined #ruby
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
braincrash has quit [Quit: bye bye]
diegoviola has quit [Remote host closed the connection]
davasaurous has joined #ruby
InhalingPixels has joined #ruby
skammer has joined #ruby
sparrovv has quit [Ping timeout: 240 seconds]
j_mcnally has joined #ruby
patrick99e99 has joined #ruby
jbueza has joined #ruby
braincrash has joined #ruby
<abdulsattar> Hi, how can I test my interface to a REST api without actually making calls to the API?
nb_bez__ has quit [Quit: Connection closed for inactivity]
InhalingPixels has quit [Ping timeout: 245 seconds]
InhalingPixels has joined #ruby
JohnFord has joined #ruby
skammer has quit [Ping timeout: 272 seconds]
<lemur> abdulsattar: wat
siwica has quit [Ping timeout: 258 seconds]
<lemur> that's the entire point of testing a rest api
patrick99e99 has quit [Ping timeout: 260 seconds]
* sevenseacat scratches head
<sevenseacat> do you mean as n stubbing out the actual API requests using something like webmock?
<sevenseacat> but still testing your adapter class?
abdulsattar has quit [Ping timeout: 240 seconds]
<lemur> If not, something is seriously screwy there.
<lemur> well he left IRC
DrCode has quit [Remote host closed the connection]
<sevenseacat> yeah it took me a bit to make that interpretation
icebourg has joined #ruby
<lemur> problem with mocking those is they get out of date too easily and will not break if the API completely changes.
DrCode has joined #ruby
hiyosi has joined #ruby
<sevenseacat> indeed.
<lemur> which is why I tend to have some form of schema for every API change that gets persisted as the mock engine
<sevenseacat> you have to periodically reset the stubbed responsed
<sevenseacat> responses
<lemur> as long as you know a general format of the response you can make a generator for it
sethen has joined #ruby
karthikv has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
<lemur> it's very very possible to have automatically generated mock frameworks that are close to the real thing.
<lemur> I keep making tools that get most of the way there, but I need to make one that takes care of it once and for all
<lemur> that'd be a popular gem
<lemur> Well, wait, Valor does most of what people would need if it's a JSON API.
tjr9898 has quit [Remote host closed the connection]
<lemur> Takes a hash and makes virtus generators for it.
<lemur> that could easily be hooked in there.
<lemur> I swear I make too many gems...
hiyosi has quit [Ping timeout: 260 seconds]
<sevenseacat> i dont know what that gem is for
<lemur> API returns JSON
<centrx> is it for washing goats
<lemur> JSON goes to hash
tlarevo has quit [Remote host closed the connection]
<lemur> that makes generators for classes that match that, much like a factory
<lemur> except auto updating
Dogcow has joined #ruby
<lemur> look into virtus
rezzack1 has quit [Ping timeout: 255 seconds]
<centrx> I'd watch out with that one, one typo and you'll have a virus on your hands
kireevco has quit [Quit: Leaving.]
<ght> I have an odd situation where I have a lenghty if conditional, with a series of if a.to_i == b.to_i && a.to_i == c.to_i && a.to_i == d.to_i, etc, and for some reason, about the 4th conditional in, Ruby throws an exception saying a.to_i is suddenly nil, despite the fact that testing indicates that a.to_i is certainly not nil.
Dogcow has left #ruby [#ruby]
<sevenseacat> yes, i see what it does
<sevenseacat> i dont know what you would use it for
<ght> Anyone ever seen anything like that? Where if you have a long, multi-&& if conditioanl, ruby seemingly randomly begins indicating a parameter you know is not nil is nil?
<centrx> ght, #1 put this logic in methods like, if valid_dates? && has_notation?
<ght> do what?
mikeg has joined #ruby
<sevenseacat> ruby doesnt make shit up like that
<lemur> making serializers primarily.
<centrx> ght, instead a long, complicated conditional
<ght> I would assume not, it's just quite bizarre.
<centrx> ght, separate the logic into clearly named methods
RichardLitt has joined #ruby
<ght> yes, but the issue is, I'm pulling a series of values from an API, having to break them down, convert them for time zone utc offsets, etc. I suppose I could simply reconstruct the values into two large strings and compare them.
<centrx> ght, Why do you say it's happening on the fourth conditional, not the first?
<ght> centrx: That's why I'm in this channel askig, I haven't a clue. It makes no sense.
RichardLitt has quit [Client Quit]
<ght> Just wondering if that was some known phenomenon with large conditionals like that.
<lemur> pastebin it.
<ght> Yes, I'll make a gist, but it's irrelevant considering the issue is as I describe it in the given example.
<ght> It's one value being compared over and over to another value, and then at some point, around 4 conditionals in, Ruby randomly decides that it's nil.
<lemur> more context is needed, I strongly doubt that's the issue.
<lemur> it won't, you're doing something odd.
<ght> Fair enough, thank you.
<ght> Obviously I'm missing something, didn't know if that was some known phenomenon.
<ght> Will review code.
<lemur> If you put it in a gist we can look
gvenkat has joined #ruby
hmsimha has quit [Ping timeout: 260 seconds]
<czaks> >> class Array; def to_proc; proc { |a| a[*self] } end end
<eval-in_____> czaks => :to_proc (https://eval.in/194407)
gvenkat has quit [Remote host closed the connection]
mocfive has joined #ruby
<czaks> >> class Array; def to_proc; proc { |a| a[*self] } end end [{ a: 2 }, { a: 1 }, { a: 3 }].map &[:a]
<eval-in_____> czaks => wrong number of arguments (3 for 1..2) (ArgumentError) ... (https://eval.in/194408)
Rollabunna has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
yfeldblu_ has joined #ruby
Insanity133 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mattmcclure has quit [Quit: Connection closed for inactivity]
<czaks> >> class Array; def to_proc; proc { |a| a[*self] } end end; [{ a: 2 }, { a: 1 }, { a: 3 }].map &[:a]
<eval-in_____> czaks => [2, 1, 3] (https://eval.in/194414)
Lewix has joined #ruby
Insanity_ has joined #ruby
ghr has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
yfeldblu_ has quit [Ping timeout: 255 seconds]
Insanity133 has quit [Ping timeout: 240 seconds]
Rollabunna has quit [Ping timeout: 272 seconds]
orolo has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milkohol has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Phrogz_ has joined #ruby
codeurge has joined #ruby
cndiv has joined #ruby
<Phrogz_> Fun problem that took me a bit of time to solve: given a word list, find all the "vowel-permuted anagrams": words where the vowels have been changed but the consonants haven't.
Phrogz_ is now known as Phrogz
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Phrogz> e.g. Texas/taxes, or mantel/mental, or panelist/penalist
<Phrogz> s/changed/rearranged/
<Phrogz> If you find this interesting and want to see my solution, it's at the bottom of this page: http://phrogz.net/vowel-permuted-anagrams
<lemur> map the words to their characters, partition them on vowels, and some set theory from there.
hmsimha has joined #ruby
mary5030 has joined #ruby
<lemur> *reading
sgray10 has quit [Ping timeout: 240 seconds]
<lemur> tinge dense, definitely hackworthy.
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lemur> abusing flipflop ops for html parsing.
grokdancer has quit [Quit: Leaving.]
St_Marx has quit [Ping timeout: 264 seconds]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
fabrice31 has joined #ruby
echevemaster has quit [Remote host closed the connection]
rkalfane has joined #ruby
kp666 has joined #ruby
zorak8 has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 272 seconds]
gvenkat has joined #ruby
<Phrogz> lemur: That's awesome. I never, ever remember about flip-flops.
fabrice31 has quit [Ping timeout: 255 seconds]
<lemur> not something I'd use in prod at all, but funny that it works like that.
kp666 has quit [Client Quit]
codeurge has quit [Quit: Sleep.]
sgray10 has joined #ruby
benzrf is now known as benzrf|offline
bruno- has joined #ruby
tmba has joined #ruby
St_Marx has joined #ruby
skammer has joined #ruby
grokdancer has joined #ruby
codeurge has joined #ruby
yetanoth1rdave has quit [Ping timeout: 258 seconds]
rafacv has joined #ruby
rafacv has left #ruby [#ruby]
GriffinHeart has joined #ruby
sinkensabe has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
BadQuanta has joined #ruby
saarinen has joined #ruby
grokdancer has quit [Ping timeout: 272 seconds]
skammer has quit [Ping timeout: 272 seconds]
jfisk87 has joined #ruby
<jfisk87> hey all
<jfisk87> is there some default log for ruby gems?
<jfisk87> im using cocoapods and its hanging, want to dig and see whats up
atmosx has joined #ruby
luckyruby has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
willgo_ has quit [Ping timeout: 260 seconds]
hiyosi has joined #ruby
saarinen has joined #ruby
lyanchih has joined #ruby
BadQuanta1 has joined #ruby
JohnFord has quit [Ping timeout: 255 seconds]
anaeem1_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
codeurge has quit [Quit: Quit.]
tjr9898 has joined #ruby
ballpointcarrot has joined #ruby
kp666 has joined #ruby
<kp666> test
<centrx> test failed
ramfjord has quit [Ping timeout: 260 seconds]
BadQuanta has quit [Ping timeout: 260 seconds]
hiyosi has quit [Ping timeout: 272 seconds]
JohnFord has joined #ruby
icebourg has quit []
saarinen has quit [Quit: saarinen]
gvenkat has quit [Quit: This computer has gone to sleep]
zettam_ has quit [Read error: Connection reset by peer]
tjr9898 has quit [Ping timeout: 246 seconds]
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
banister has joined #ruby
mark06 has joined #ruby
kp666 has quit [Quit: leaving]
gvenkat has joined #ruby
Deele has joined #ruby
Akuma0n3 has quit [Quit: So long sukkas!]
Akuma has joined #ruby
kp666 has joined #ruby
karthikv has quit [Remote host closed the connection]
BadQuanta1 has quit [Read error: Connection reset by peer]
orolo has quit [Quit: This computer has gone to sleep]
maletor_ has joined #ruby
GinoMan has quit [Remote host closed the connection]
yfeldblum has joined #ruby
BlkDynmt has joined #ruby
kp666 has quit [Quit: leaving]
tectonic has quit []
kp666 has joined #ruby
ghr has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
orolo has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
j4jackj has left #ruby [#ruby]
mark06 has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
ghr has quit [Ping timeout: 272 seconds]
Insanity_ has quit [Remote host closed the connection]
cirn0 has joined #ruby
sinkensabe has joined #ruby
mocfive has quit [Remote host closed the connection]
<Phrogz> jfisk87: Throw a -V on there?
j4jackj has joined #ruby
mocfive has joined #ruby
MasterPiece has joined #ruby
shock_one has joined #ruby
sinkensa_ has joined #ruby
<mozzarella> I put spaces around operators, but what about '..' and '...'? should I put spaces around them?
cirn0 has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
mocfive has quit [Ping timeout: 245 seconds]
<Radar> mozzarella: no
mercwithamouth has joined #ruby
sinkensabe has quit [Ping timeout: 246 seconds]
relix has joined #ruby
shevy has joined #ruby
davasaurous has quit [Remote host closed the connection]
<mozzarella> it's weird that .. is inclusive and ... is exclusive
<Phrogz> mozzarella: I use _why's mnemonic. The .. is an accordion joining the end values. When you use ... you stretch the accordion and one note slips out, making it smaller.
<Phrogz> But yes, I agree, it's hard to remember that the visually-longer range covers fewer values.
BadQuanta has joined #ruby
yetanotherdave has joined #ruby
<mozzarella> I just tell myself "it's the other way around in ruby"
<Phrogz> I find that logic dangerous, because soon you (I) forget which way I thought it was originally.
<Phrogz> The topic of mnemonics brings up the mnemonic I created and am proud of: if you can't remember whether .shift or .unshift adds or removes values from the array, mentally drop the 'f' from the name and it becomes clear. :)
niftylettuce__ has quit [Quit: Connection closed for inactivity]
<Phrogz> Also, it makes me feel guilty whenever I unshift an array.
mercwith1mouth has joined #ruby
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
lxsameer has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
jpopo23 has joined #ruby
Phrogz has quit [Quit: Goodnight, sweet friends.]
SouL has quit [Ping timeout: 258 seconds]
timgauthier has joined #ruby
kamilc__ has joined #ruby
gil has joined #ruby
timgauthier is now known as timgauthier_isaw
gil is now known as Guest81004
jpopo23 has quit [Quit: jpopo23]
mocfive has joined #ruby
mary5030 has quit [Remote host closed the connection]
jhass is now known as jhass|off
ramfjord has joined #ruby
Jarboe has quit []
skammer has joined #ruby
BlkDynmt has quit [Ping timeout: 245 seconds]
tlarevo has joined #ruby
BlkDynmt has joined #ruby
patrick99e99 has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davasaurous has joined #ruby
yetanotherdave has quit [Quit: Lost terminal]
skammer has quit [Ping timeout: 245 seconds]
patrick99e99 has quit [Ping timeout: 245 seconds]
yeticry has quit [Read error: Connection reset by peer]
linojon has quit [Quit: linojon]
poguez_ has quit [Quit: Connection closed for inactivity]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
awc737 has joined #ruby
hiyosi has joined #ruby
oo_ has quit [Remote host closed the connection]
yeticry has joined #ruby
mary5030 has joined #ruby
<agent_white> I have an issue that when I hit the HOME and END keys in pry, I get "~". Using urxvt as my terminal... how do I go about fixing this?
hiyosi has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
Kricir has joined #ruby
<agent_white> I found this https://github.com/pry/pry/wiki/FAQ#delete_key in the FAQ, but it doesn't describe the issue in generic terms.
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
ooloo has joined #ruby
jack_rabbit has quit [Ping timeout: 258 seconds]
oleo has quit [Quit: Verlassend]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
ballpointcarrot has quit [Remote host closed the connection]
kireevco has joined #ruby
<agent_white> eam: I need to look into termcap and terminfo?
abdulsattar has joined #ruby
<eam> oh, not on osx
<eam> probably just remap it using whatever it is osx uses
codecop has joined #ruby
<agent_white> Is pry written for osx in mind?
<agent_white> eam: Ah nevermind... yeah I'll see what I can do.
kireevco has quit [Client Quit]
<agent_white> Bah I should've just stuck with using xterm... this little issues never happen. :P
<eam> oh sorry I misread, termcap is relevant for rxvt on osx
yeticry has quit [Ping timeout: 246 seconds]
<eam> pry doesn't actually deal with those keys, your terminal does
<agent_white> eam: Ah no worries! I just tried xterm to see if it worked or not, looks like my terminal is the issue... and found a little snippet on fixing it in urxvt.
<agent_white> Aye! :P
yeticry has joined #ruby
tkuchiki_ has joined #ruby
<eam> pry sees what's called "cooked" input
<eam> that is, whatever's in the buffer when you hit enter
IcyDragon has quit [Quit: Space~~~]
mocfive has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 246 seconds]
mocfive has joined #ruby
rkalfane has joined #ruby
robbyoconnor has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
carraroj has joined #ruby
Rollabunna has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<agent_white> eam: Ahhh
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
mocfive has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
<agent_white> eam: Yeah turned out I had defined $TERM in my bashrc to xterm >.<
<agent_white> WOOPS
kireevco has quit [Max SendQ exceeded]
northfurr has quit [Quit: northfurr]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
mr-foobar has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
Davedo has quit [Ping timeout: 272 seconds]
orolo has joined #ruby
kireevco has joined #ruby
mr-foobar has quit [Remote host closed the connection]
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
Rollabunna has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
tagrudev has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
mr-foobar has joined #ruby
ta has quit [Remote host closed the connection]
Davedo has joined #ruby
maletor_ has quit [Quit: Computer has gone to sleep.]
starkhalo has quit [Ping timeout: 245 seconds]
vinleod has joined #ruby
fold has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
ht__th has joined #ruby
arup_r has joined #ruby
davasaurous has quit [Remote host closed the connection]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
astav has joined #ruby
Lewix has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
Jackneill has joined #ruby
kyb3r_ has joined #ruby
davasaurous has joined #ruby
JoshGlzBrk has joined #ruby
bruno- has joined #ruby
JohnFord has quit [Ping timeout: 272 seconds]
jfisk87 has quit [Quit: Leaving.]
northfurr has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
rkalfane has joined #ruby
tkuchiki has joined #ruby
kireevco has quit [Quit: Leaving.]
Wolland has quit [Remote host closed the connection]
melik_ has quit [Quit: Computer has gone to sleep.]
Wolland has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
melik_ has joined #ruby
Macaveli has joined #ruby
<Firespirit> Hi
<Firespirit> I edit a xml file with nokogiri... when i open it with internet explorer i see my change in the xml... if i check with notepad++ i don,t see them
<Firespirit> why?
beneggett has joined #ruby
beneggett has quit [Client Quit]
shock_one has quit [Quit: Computer has gone to sleep.]
Wolland has quit [Ping timeout: 272 seconds]
krisquigley has joined #ruby
<agent_white> Firespirit: How are you editing it? With code? If so, can you show us your code?
SouL has joined #ruby
willgo has joined #ruby
oso|away has joined #ruby
PaulePan1er is now known as PaulePanter
<Firespirit> sure
<Firespirit> i use this example
oso|away is now known as oso96_2000
timonv_ has joined #ruby
charliesome has quit [Quit: zzz]
skammer has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
EasyCo has joined #ruby
timonv_ has joined #ruby
SouL has quit [Ping timeout: 245 seconds]
arup_r has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
skammer has quit [Ping timeout: 260 seconds]
bal has joined #ruby
aganov has joined #ruby
jfisk87 has joined #ruby
nfk has joined #ruby
hiyosi has joined #ruby
niklasb has quit [Read error: Connection reset by peer]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
SouL_ has joined #ruby
pagios has joined #ruby
eivindml has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
<pagios> hello coders, i have a yaml file with different fields, when doing a File.open("onfig.yml","w") {|f| f.write(targetHash) } everything is flushed and only that param is inserted on top of file. What i would like to do is only modify the line that reads that hash and create it instead it is not there
lyanchih has quit [Quit: lyanchih]
shock_one has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eivindml has quit [Client Quit]
techsethi has joined #ruby
suy_ is now known as suy
Fusl has quit [Ping timeout: 245 seconds]
sparrovv has joined #ruby
arup_r has joined #ruby
Lewix has joined #ruby
Fusl has joined #ruby
astav has quit [Quit: astav]
weems_ has joined #ruby
weems__ has quit [Read error: Connection reset by peer]
sinkensa_ has quit [Read error: Connection reset by peer]
abdulsattar has quit [Ping timeout: 260 seconds]
adironduck has joined #ruby
sinkensabe has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
orolo has quit [Quit: This computer has gone to sleep]
<agent_white> pagios: Looks like you're opening a file, and starting at the beginning of it. So anything you write into it will overwrite the existing contents.
<agent_white> Maybe look into "a+" mode?
<pagios> its not only append, its modify
<agent_white> pagios: Eep sorry, didn't read your question correctly
<agent_white> pagios: Maybe you need to seek through the file to the param you want to modify>
<agent_white> ?*
<pagios> thats it
<pagios> there should be an easy way to do it with YAML
Lewix has quit [Quit: Leaving...]
timonv_ has quit [Remote host closed the connection]
bMalum has joined #ruby
HelperW has joined #ruby
krisquigley has quit [Remote host closed the connection]
oivoodoo has joined #ruby
Tomme has joined #ruby
AxonetBE has joined #ruby
sevvie has quit [Ping timeout: 258 seconds]
orolo has joined #ruby
timonv_ has joined #ruby
txdv has quit [Read error: Connection reset by peer]
shredding has joined #ruby
txdv has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HelperW has quit [Quit: Lingo - http://www.lingoirc.com]
wallerdev has joined #ruby
krisquigley has joined #ruby
<Firespirit> anyone here have experience with nokogiri
gvenkat has joined #ruby
<Firespirit> i try to edit an xml and everything is output in 1 line
<Firespirit> why?
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
gvenkat has quit [Client Quit]
<sevenseacat> without seeing code, magic.
<agent_white> sevenseacat: We must be lucky today!
<agent_white> sevenseacat: I'm liking this page from #archlinux's channel bot more and more... http://www.catb.org/~esr/faqs/smart-questions.html
oivoodoo has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<agent_white> "RTFM and STFW: How To Tell You've Seriously Screwed Up"
davasaurous has quit [Remote host closed the connection]
<sevenseacat> actually, thats the opposite problem
<Firespirit> ok
tlarevo has quit [Ping timeout: 272 seconds]
<Firespirit> i'm starting to learn nokogiri :s
<sevenseacat> http://stackoverflow.com/a/7839017/560215 this is probably better
sparrovv has quit [Remote host closed the connection]
bruno- has joined #ruby
mityaz has joined #ruby
sparrovv has joined #ruby
bricker`LA has joined #ruby
tlarevo has joined #ruby
Trieste has quit [Max SendQ exceeded]
JohnFord has joined #ruby
Trieste has joined #ruby
sinkensabe has quit [Remote host closed the connection]
noopq has joined #ruby
sparrovv has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 245 seconds]
Trieste has quit [Changing host]
Trieste has joined #ruby
rbenv has quit [Quit: Textual IRC Client: www.textualapp.com]
timonv_ has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 258 seconds]
SouL_ has quit [Ping timeout: 245 seconds]
northfurr has quit [Quit: northfurr]
<Firespirit> i try your example sevenseacat and it's not working
armyriad has quit [Ping timeout: 260 seconds]
<sevenseacat> define 'not working', preferably with code and output
banister_ has joined #ruby
enriclluelles has joined #ruby
banister has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
andrewlio has joined #ruby
<Firespirit> code: http://pastebin.com/a3gqBEMR
<Firespirit> output: http://pastebin.com/CRPmyX30
JohnFord has quit [Ping timeout: 245 seconds]
<Firespirit> i'm using notepad++
mityaz_ has joined #ruby
<sevenseacat> its not xhtml, why are you trying to output it as so
Trieste has quit [Ping timeout: 272 seconds]
Kricir has quit [Remote host closed the connection]
<Firespirit> because it was in your example...
Kricir has joined #ruby
<sevenseacat> coping and pasting code without reading it or making some attempt to understand it will not help you learn to program.
<sevenseacat> *copying
Trieste has joined #ruby
mityaz has quit [Ping timeout: 245 seconds]
<Firespirit> i replace the xhtml by xml
<Firespirit> and style the same
arup_r has quit []
arup_r has joined #ruby
relix has joined #ruby
<sevenseacat> what version of nokogiri are you using?
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
<Firespirit> nokogiri (1.6.3.1 x86-mingw32)
<Firespirit> i did a gem install and it's what i get installed
Kricir has quit [Ping timeout: 245 seconds]
SouL_ has joined #ruby
Wolland has joined #ruby
oivoodoo has joined #ruby
tobago has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
thomasxie has joined #ruby
oivoodoo has quit [Client Quit]
Alina-malina has joined #ruby
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
fabrice31 has joined #ruby
banister_ is now known as banister
Alina-malina has quit [Read error: Connection reset by peer]
<Firespirit> any idea sevenseacat?
<sevenseacat> no, but im tempted to blame windows.
skammer has joined #ruby
<Firespirit> hehe :) easy blame
mikeg has quit [Ping timeout: 246 seconds]
<sevenseacat> and often valid
anarang has joined #ruby
evrei has joined #ruby
willgo has quit [Remote host closed the connection]
timonv_ has joined #ruby
nhhagen has joined #ruby
skammer has quit [Ping timeout: 260 seconds]
Trieste has quit [Ping timeout: 260 seconds]
a_ has joined #ruby
Trieste has joined #ruby
alex88 has joined #ruby
Wolland_ has joined #ruby
sectionme has joined #ruby
M-Technic has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Remote host closed the connection]
M-Technic has joined #ruby
davasaurous has joined #ruby
msx has joined #ruby
hiyosi has joined #ruby
Wolland__ has joined #ruby
kaspergrubbe has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
Wollan___ has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
Wolland_ has quit [Ping timeout: 245 seconds]
cndiv has quit [Ping timeout: 272 seconds]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
gvenkat has joined #ruby
davasaurous has quit [Ping timeout: 260 seconds]
Wolland__ has quit [Ping timeout: 246 seconds]
shredding has quit [Quit: shredding]
hiyosi has quit [Ping timeout: 246 seconds]
<Firespirit> ok i found a solution
<Firespirit> i user the Nokogiri::XML::Builder
<Firespirit> the output is ok with that
krisquigley has quit [Remote host closed the connection]
shredding has joined #ruby
davasaurous has joined #ruby
Hanmac has joined #ruby
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davasaurous has quit [Client Quit]
speakingcode has quit [Ping timeout: 250 seconds]
qba73 has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
sk87 has joined #ruby
rgcouk has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
oivoodoo has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rollabunna has joined #ruby
GriffinHeart has joined #ruby
jfisk87 has quit [Quit: Leaving.]
AxonetBE has joined #ruby
orolo has joined #ruby
Rollabunna has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
kp666 has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
rgcouk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devoldmx33 has joined #ruby
chth0n has joined #ruby
devoldmx33 has quit [Remote host closed the connection]
mupkoo has joined #ruby
chipotle has joined #ruby
devoldmx33 has joined #ruby
MeltedLux has quit [Ping timeout: 272 seconds]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
stef_204 has joined #ruby
blackmes1 has joined #ruby
Xeago has joined #ruby
a_ has quit [Ping timeout: 272 seconds]
devoldmx33 has quit [Remote host closed the connection]
LiohAu has joined #ruby
krisquigley has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 258 seconds]
mikecmpbll has joined #ruby
wallerdev has quit [Quit: wallerdev]
arup_r has quit [Remote host closed the connection]
joast has quit [Ping timeout: 250 seconds]
kaspertidemann has joined #ruby
melik_ has quit [Quit: Computer has gone to sleep.]
v0n has joined #ruby
roolo has joined #ruby
Aaaal has joined #ruby
timonv_ has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
gvenkat has joined #ruby
Aaaal has quit [Client Quit]
kevinfagan_ is now known as kevinfagan
mikeg has joined #ruby
timonv_ has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
<jokke> hi
shredding has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
lsmola______ is now known as lsmola
yfeldblum has quit [Remote host closed the connection]
Takle has joined #ruby
InhalingPixels has joined #ruby
timonv_ has joined #ruby
oivoodoo has quit [Remote host closed the connection]
SouL_ has quit [Read error: Connection reset by peer]
SouL_ has joined #ruby
shredding has joined #ruby
skammer has joined #ruby
jottr has joined #ruby
InhalingPixels has quit [Ping timeout: 258 seconds]
kedare has quit [Quit: WeeChat 0.4.1]
ndrei has joined #ruby
mr-foobar has quit [Ping timeout: 272 seconds]
bidigo has joined #ruby
ephemerian has joined #ruby
skammer has quit [Ping timeout: 245 seconds]
timgauthier has joined #ruby
timonv_ has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 246 seconds]
kedare has joined #ruby
codecop has quit [Remote host closed the connection]
Jake232 has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
kalusn has joined #ruby
bidigo has quit [Quit: Leaving]
sinkensabe has joined #ruby
rdark has joined #ruby
hiyosi has joined #ruby
timonv_ has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
emocakes has joined #ruby
arup_r has joined #ruby
the_f0ster has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
timonv_ has quit [Remote host closed the connection]
Akagi201 has quit []
speakingcode has joined #ruby
ndrei has joined #ruby
agjacome has joined #ruby
linojon has joined #ruby
agjacome has quit [Client Quit]
carraroj has joined #ruby
JohnFord has joined #ruby
pearlyshellsfrom has joined #ruby
endash has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
<pearlyshellsfrom> Hi. Should I use Sinatra if I want to create simple sort of "bot" that tweets everyday? Or just plain ruby?
W0rmDr1nk has joined #ruby
elaptics`away is now known as elaptics
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyb3r_ has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby
JohnFord has quit [Ping timeout: 260 seconds]
roolo has quit [Quit: Leaving...]
sectionme has quit [Read error: No route to host]
mikeg has quit [Remote host closed the connection]
<jokke> don't know if this is the right channel, but i'm having some trouble setting up octopress with jekyll-assets (sprockets for jekyll) and i'm wondering if anyone here could help me out. My problem: image paths are set correctly (with cache busters and all) but they're not put into the assets/ directory..
<j416> pearlyshellsfrom: Sinatra is for making (M)VC web things, like a website or an API
pencilcheck has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
<j416> pearlyshellsfrom: you seem to want to do the opposite, i.e. just communicate with an API
codecop_ has joined #ruby
codecop_ has quit [Remote host closed the connection]
codecop has joined #ruby
pencilcheck has joined #ruby
<j416> pearlyshellsfrom: should be able to achieve something simple like that without using any gem really, just do plain requests; if you really need there's the rest-client gem (or so google says) but I think it would be overkill
orolo has quit [Quit: This computer has gone to sleep]
timonv_ has joined #ruby
charliesome has joined #ruby
sectionme has joined #ruby
timgauthier has joined #ruby
timgauthier has quit [Max SendQ exceeded]
timgauthier has joined #ruby
shredding has joined #ruby
aspiers has joined #ruby
sprihodko has joined #ruby
bruno- has joined #ruby
<pearlyshellsfrom> Yeah i'm kind of a noob.. you see I'm just trying to autotweet something.. Would anyone here mind checking out my noob codes?
kaspertidemann has quit []
yfeldblum has joined #ruby
<agent_white> pearlyshellsfrom: Just post your code and someone is bound to help.
pwestlund has joined #ruby
<sevenseacat> playing the dumb card wont garner sympathy
timonv_ has quit [Remote host closed the connection]
orolo has joined #ruby
sectionme has quit [Ping timeout: 272 seconds]
<pearlyshellsfrom> Hello! Here: http://pastebin.com/LYW79kWy
abdulsattar has joined #ruby
<multi_io> does rdoc support anchors?
Takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
<pearlyshellsfrom> And then I'm just going to call the url of that "app" everyday... It's really frustrating cos I planned on making it a plain ruby script but I wasn't sure of the oauth thingy
SouL_ has quit [Ping timeout: 255 seconds]
Advocation has quit [Quit: Advocation]
yfeldblum has quit [Ping timeout: 255 seconds]
<waxjar> you don't need sinatra at all pearlyshellsfrom
bruno- has quit [Ping timeout: 260 seconds]
SouL_ has joined #ruby
<waxjar> just the twitter gem should be enough
krisquigley has quit [Remote host closed the connection]
<pearlyshellsfrom> I won't be needing this as well: OmniAuth::Builder ?
joonty has joined #ruby
<waxjar> i don't think so, no
sectionme has joined #ruby
jheg has joined #ruby
Waheedi has joined #ruby
hanjianwei has quit [Ping timeout: 260 seconds]
<pearlyshellsfrom> Oh I get it now...
kaspertidemann has joined #ruby
mupkoo has quit []
relix has quit [Ping timeout: 260 seconds]
mercwith1mouth has quit [Quit: Lost terminal]
mercwithamouth has quit [Quit: Lost terminal]
<pearlyshellsfrom> How about this one! http://pastebin.com/DkF0GcGh
aspiers has quit [Ping timeout: 255 seconds]
Wayneoween has joined #ruby
relix has joined #ruby
mark06 has joined #ruby
aspiers has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
relix has quit [Ping timeout: 240 seconds]
chabier has joined #ruby
timonv_ has joined #ruby
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chrisliaw has joined #ruby
relix has joined #ruby
chrisliaw has left #ruby [#ruby]
mark08 has joined #ruby
mark07 has joined #ruby
<mark07> hi
SouL_ has quit [Ping timeout: 255 seconds]
jle` has quit [Quit: WeeChat 0.4.2]
mark07 has left #ruby [#ruby]
mark07 has joined #ruby
elstif has joined #ruby
nhhagen has quit [Remote host closed the connection]
Wayneoween has left #ruby ["Textual IRC Client: www.textualapp.com"]
mark06 has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
sectionme has quit [Read error: Connection reset by peer]
Advocation has joined #ruby
suy has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
suy has joined #ruby
mark07 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ptrrr has joined #ruby
BlkDynmt has joined #ruby
corehook has joined #ruby
mark08 has quit [Quit: Page closed]
chrisliaw has joined #ruby
a has joined #ruby
charliesome has quit [Quit: zzz]
emocakes has quit []
HelperW has joined #ruby
a is now known as Guest22613
AndChat| has joined #ruby
chrisliaw has quit []
Juanchito has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
sectionme has joined #ruby
mercwithamouth has joined #ruby
<multi_io> does rdoc support markdown anchors, i.e. links within a document?
sevenseacat has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
ta has joined #ruby
shredding has joined #ruby
InhalingPixels has joined #ruby
oivoodoo has joined #ruby
mr-foobar has joined #ruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
patrick99e99 has joined #ruby
skammer has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has joined #ruby
InhalingPixels has quit [Ping timeout: 245 seconds]
oivoodoo has quit [Ping timeout: 246 seconds]
cougarten has joined #ruby
banister has joined #ruby
timonv_ has quit [Remote host closed the connection]
oivoodoo has joined #ruby
AlSquire has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
tlarevo has quit [Ping timeout: 272 seconds]
skammer has quit [Ping timeout: 246 seconds]
threesixes has quit [Remote host closed the connection]
BlkDynmt has quit [Quit: BlkDynmt]
timonv_ has joined #ruby
Guest22613 has quit [Ping timeout: 260 seconds]
corehook has quit [Quit: Leaving.]
corehook_ has joined #ruby
charliesome has joined #ruby
a_ has joined #ruby
hiyosi has joined #ruby
corehook_ has quit [Client Quit]
ramfjord has quit [Ping timeout: 240 seconds]
Wollan___ has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 246 seconds]
narph has joined #ruby
JohnFord has joined #ruby
nhhagen has joined #ruby
dumdedum has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
corehook has joined #ruby
aspiers has quit [Ping timeout: 246 seconds]
einarj has joined #ruby
agent_white has left #ruby [#ruby]
JohnFord has quit [Ping timeout: 260 seconds]
sectionm1 has joined #ruby
Takle_ has quit [Remote host closed the connection]
bruno- has joined #ruby
sectionme has quit [Read error: No route to host]
marr has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
orolo has quit [Quit: This computer has gone to sleep]
<msx> hello guys, do you know any good static blog generator written of course in Ruby? I'm looking something like Nikola or Pelican (they are built with Python)
<canton7> msx, jekyll, nanoc
<msx> canton7: thank you, heading to the Big G now :D
blackmes1 has joined #ruby
sectionm1 has quit [Ping timeout: 240 seconds]
a_ has quit [Ping timeout: 245 seconds]
timgauthier has joined #ruby
Rollabunna has joined #ruby
unshadow has joined #ruby
kaspertidemann has quit []
bruno- has quit [Ping timeout: 272 seconds]
sectionme has joined #ruby
karupa is now known as zz_karupa
mkaesz has joined #ruby
SouL_ has joined #ruby
orolo has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
lolmaus has joined #ruby
lolmaus__ has quit [Ping timeout: 272 seconds]
Tomme has quit [Ping timeout: 272 seconds]
Rollabunna has quit [Ping timeout: 255 seconds]
AtumT has joined #ruby
timonv_ has joined #ruby
Takle has joined #ruby
qba73_ has joined #ruby
qba73_ has quit [Remote host closed the connection]
chabier has quit [Remote host closed the connection]
<unshadow> Hi, I want to print information from an array, but only from the second veriable till the end, I dont know how many veriables are stored, how would I do that ?
<canton7> >> [1, 2, 3, 4, 5, 6, 7, 8][1..-1]
<eval-in_____> canton7 => [2, 3, 4, 5, 6, 7, 8] (https://eval.in/194490)
corehook has quit [Remote host closed the connection]
corehook has joined #ruby
<unshadow> so, untill "-1" ? \
<canton7> negative numbers index from the end of the array
qba73 has quit [Ping timeout: 245 seconds]
<canton7> -1 is the last element
<canton7> -2 is the second to last, etc
<unshadow> I see, thanks ! :)
bayed has joined #ruby
mityaz__ has joined #ruby
Jackneill has quit [Remote host closed the connection]
tlarevo has joined #ruby
ta has quit [Remote host closed the connection]
DaniG2k has joined #ruby
mityaz_ has quit [Ping timeout: 240 seconds]
cirn0 has joined #ruby
dumdedum has quit [Ping timeout: 258 seconds]
timgauthier has quit [Read error: Connection reset by peer]
a_ has joined #ruby
kaspertidemann has joined #ruby
roolo has joined #ruby
timgauthier has joined #ruby
nettoweb has joined #ruby
<unshadow> quit
unshadow has quit [Quit: leaving]
nettoweb has quit [Max SendQ exceeded]
jxf has joined #ruby
nettoweb has joined #ruby
KC9YDN has joined #ruby
jheg has quit [Quit: jheg]
cirn0 has quit [Ping timeout: 255 seconds]
emocakes has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
chabier has joined #ruby
krisquigley has joined #ruby
emocakes has quit [Client Quit]
xcv has joined #ruby
timonv_ has joined #ruby
<mikecmpbll> can't decide whether using begin ... end in a ternary if is cool or not.
<mikecmpbll> :d
chabier has quit [Remote host closed the connection]
<canton7> as in a = begin a ? b : c end?
<canton7> no, don't do that
blackmes1 has quit [Ping timeout: 260 seconds]
startupality has joined #ruby
Advocation has quit [Quit: Advocation]
jheg has joined #ruby
<mikecmpbll> no, as in version2.rb here: https://gist.github.com/mikecmpbll/ab27319ea91b5b03b50e
<mikecmpbll> :D
<mikecmpbll> it seems nicer when the begin .. end is the 2nd condition in the ternary though.
kaspertidemann has quit []
kaspertidemann has joined #ruby
jxf has quit [Ping timeout: 258 seconds]
sk87 has joined #ruby
dumdedum has joined #ruby
Rollabunna has joined #ruby
kith has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
<Firespirit> i really need help with output of nokogiri xml. someone can assist?
<mikecmpbll> Firespirit: just ask yo
<Hanmac> mikecmpbll: that megin and end in your sampleV2 is useless
<Firespirit> i will do a paste bin you will understand
GriffinHeart has quit [Remote host closed the connection]
<Hanmac> Firespirit: hm i would prefer gist but thats okay too
gvenkat has joined #ruby
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
<Hanmac> mikecmpbll: i mean "begin" / "end"
timonv_ has joined #ruby
InhalingPixels has joined #ruby
<Firespirit> i want to have the output well formated like normal xml
sprihodko has quit [Quit: Lingo - http://www.lingoirc.com]
<mikecmpbll> Hanmac: hm? i don't see how
<Hanmac> mikecmpbll: because it your version its nearly useless
<mikecmpbll> doesn't work for me without, but might be my minimal IRB fu.
adironduck has quit [Quit: adironduck]
<mikecmpbll> wat
<Hanmac> mikecmpbll: like for sample why not write " Serialisers.find(type).deserialise(resource) " in one go? because in your current samples you also does not check if a type is valid too
<mikecmpbll> because if there is no type, i don't want to deserialise :)
<mikecmpbll> type is valid whatever happens, because if it doesn't exist as a type it returns a default serialiser.
<mikecmpbll> but if there is no type value, then it's a primative and i don't need to deserialise.
duncannz has quit [Ping timeout: 245 seconds]
<Hanmac> hm ok are you sure that is that what find() in that case does?
<mikecmpbll> yes, i wrote it :d
<Firespirit> lol
Azulinho has joined #ruby
doodlehaus has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
InhalingPixels has quit [Ping timeout: 272 seconds]
jheg_ has joined #ruby
jheg has quit [Read error: Connection reset by peer]
<startupality> how to display all the local variables and methods on a current object?
<Hanmac> mikecmpbll: hm i think i might to it that way: https://gist.github.com/Hanmac/7b8f60085e6ffb52a85a ... (hm or is the line to long for that?)
<Hanmac> startupality: do you reallly mean local variables or instance variables?
kyb3r_ has quit [Read error: Connection reset by peer]
<mikecmpbll> Hanmac: ya could do, not sure why i decided to split up the calls to the serialiser
charliesome has quit [Quit: zzz]
<Hanmac> mikecmpbll: hm you might only need to split it up if find could return nil
<startupality> Hanmac: both would be useful
<mikecmpbll> it can't.
<Hanmac> mikecmpbll: in that case its okay
<mikecmpbll> indeed.
<Hanmac> startupality: first you need to learn that objects does not have local variables only bindlngs does have
troulouliou_dev has joined #ruby
<Firespirit> did you check my pastebin guy about my nokogiri issue
charliesome has joined #ruby
toretore has joined #ruby
Takle has quit [Remote host closed the connection]
EasyCo has quit [Quit: Connection closed for inactivity]
<Hanmac> Firespirit: i would say windows and newline problem ... hm try to open the files in "rb" and "wb" mode
gvenkat has quit [Quit: This computer has gone to sleep]
<Firespirit> can you explain me how i can open the file in rb and wb mode?
kp666 has joined #ruby
tvw has joined #ruby
fabrice31 has quit [Remote host closed the connection]
<Hanmac> Firespirit: look at your File.open ... replace "w" with "wb"
hiyosi has joined #ruby
roolo has quit [Quit: Leaving...]
<startupality> Hanmac: i want to see all the instance variables defined in one of my controllers
<Hanmac> startupality: object.instance_variables does return an Array with symbols
<Firespirit> i fix my issue!
andrewh has joined #ruby
JohnFord has joined #ruby
qba73 has joined #ruby
yfeldblum has joined #ruby
<tobiasvl> Firespirit: your indentation in http://pastebin.com/LSMX6Jkn is kind of overdone
<Hanmac> Firespirit: hm thats nice, but it should work without, because currently you are using TWO xml libs at the same time ... imo thats a no-go
hiyosi has quit [Ping timeout: 272 seconds]
sevenseacat has joined #ruby
<Hanmac> tobiasvl: he did used tabs and that pastie does turn tabs into 8 spaces ...
<tobiasvl> ah … tabs
<Firespirit> i know i use to lib but that was the only solution to have a pretty output
<Firespirit> 2 lib*
doodlehaus has quit [Remote host closed the connection]
alexherbo2 has joined #ruby
<Firespirit> the only issue remaining is that if i want to use system.webServer a field it's giving me an error
alexherbo2 is now known as Alex``
<Firespirit> i think because he think system is a variable or an object...
Alex`` is now known as `Alex`
`Alex` is now known as Alex``
timonv_ has joined #ruby
JohnFord has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
bluenemo has joined #ruby
sevenseacat has quit [Ping timeout: 260 seconds]
chrishough has quit [Ping timeout: 272 seconds]
gvenkat has joined #ruby
kaspertidemann has quit []
doritostains has quit [Quit: doritostains]
baltazore has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
chrishough has joined #ruby
<Hanmac> Firespirit: like it said it works forme without RXML, your problem is that your File.write wants to "fix" the lineending with might not does what you want
<Firespirit> i agree Hanmac but do you have a better solution to propose me :)
<Hanmac> (12:23:26) Hanmac: Firespirit: look at your File.open ... replace "w" with "wb"
<Hanmac> that should fix it (or at least try it)
<Firespirit> i just try
<Firespirit> no chance :(
DaveTaboola has joined #ruby
orolo has joined #ruby
roolo has joined #ruby
GriffinHeart has joined #ruby
vinleod has joined #ruby
kirun has joined #ruby
Aaaal has joined #ruby
linojon has quit [Quit: linojon]
skip_freely has joined #ruby
sivteck has joined #ruby
memph1s has joined #ruby
chipotle has quit [Quit: cya]
adamholt has quit [Ping timeout: 250 seconds]
Takle has joined #ruby
emocakes has joined #ruby
bluenemo_ has joined #ruby
bluenemo has quit [Ping timeout: 240 seconds]
banister has quit [Read error: Connection reset by peer]
<DaveTaboola> Hi all :) i hope i wont be annoying asking for a silly question, but i've tried doing my research before posting a question here.
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<DaveTaboola> so here it goes, i have the following ruby code: https://gist.github.com/DaveTaboola/14020279abd4de648fe9
arup_r has quit [Remote host closed the connection]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0.1/20140911151253]]
banister has joined #ruby
jhass|off is now known as jhass
adironduck has joined #ruby
<DaveTaboola> which is responsible of reading large file of data (nginx.log) and compress it, while im running the code in irb, it works like a charm and everything is as should be, but when i'm running the code from a ruby application (logstash) it reaches the max-heap size capacity and fails
<DaveTaboola> needless to say i've been running debug on the application and i know that the process is killed only due to that statement
<DaveTaboola> am i missing something?
tlarevo has quit [Ping timeout: 245 seconds]
arup_r has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
sivteck has left #ruby ["To Infinity and Beyond."]
<DaveTaboola> anyone? :)
<j416> DaveTaboola: google suggests GC.stat holds some info
shredding has quit [Quit: shredding]
Akagi201 has joined #ruby
memph1s has quit [Ping timeout: 260 seconds]
<j416> DaveTaboola: you should be able to change values through setting env vars
<DaveTaboola> i can make the heap_size larger :) i just want to know what am i doing wrong so i could fix it haha
<j416> DaveTaboola: but perhaps the more proper way is designing your program so that it doesn't need so much memory in the first place (parse stream-based)
anaeem___ has joined #ruby
tlarevo has joined #ruby
<j416> DaveTaboola: first error is that you're not indenting your file :P
<j416> DaveTaboola: and don't monkey-patch File
elstif has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<DaveTaboola> j416: i am i just re-wrote that part so people wont scratch their heads trying to understand what
elstif has joined #ruby
rgcouk has joined #ruby
Aaaal has quit [Quit: Aaaal]
Advocation has joined #ruby
<j416> DaveTaboola: while chunk = f.read(chunk_size) { ... }
<j416> DaveTaboola: but that wasn't what you were asking, so nevermind.
<j416> :)
anaeem1 has quit [Ping timeout: 255 seconds]
memph1s has joined #ruby
<DaveTaboola> j416: and regarding the stream-based parsing, well i'm worried of doing that, as the files i need to process can reach unknow size (10GB for instance) and i'm "not parsing it" as i'm compressing it :) so reading it line by line seems odd
<j416> I didn't say line by line
<j416> I said stream
<j416> which is what you are already doing
<DaveTaboola> sorry i miss-read that :) (to many people are leaving and joining the room every second! it can drive me crazy :P)
lolmaus has quit [Ping timeout: 272 seconds]
lolmaus has joined #ruby
<j416> DaveTaboola: anyway, I'd start by simplifying your code, and then finding the error
<j416> remove the class File thing
<j416> be consistent in how you open files
<j416> File.open
sgray10 has quit [Ping timeout: 272 seconds]
arup_r has quit [Remote host closed the connection]
BadQuanta1 has joined #ruby
tkuchiki has quit [Ping timeout: 258 seconds]
Xeago has quit [Read error: Connection reset by peer]
BadQuanta has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
Xeago has joined #ruby
bruno- has joined #ruby
arup_r has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
InhalingPixels has joined #ruby
jottr has joined #ruby
lkba has joined #ruby
easier has joined #ruby
patrick99e99 has joined #ruby
Xeago_ has joined #ruby
benzrf|offline is now known as benzrf
<toretore> what's that site where you can test stuff in ie?
Xeago has quit [Read error: Connection reset by peer]
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac> IE does still exist?
AndChat| has quit [Ping timeout: 272 seconds]
<toretore> unfortunately
Xeago_ has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
max06 has joined #ruby
Aaaal has joined #ruby
<toretore> found it - browserstack.com
aspiers has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
InhalingPixels has quit [Ping timeout: 272 seconds]
jheg has joined #ruby
<max06> Good morning. I'm having some troubles installing the gem savon. Gem says, a dependency needs at least ruby version 1.9.2 while ruby -v says it's 1.9.2p0
<max06> (Debian 6.0.9)
<max06> maybe someone of you knows how to fix that?
patrick99e99 has quit [Ping timeout: 255 seconds]
Xeago has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
tmba has quit [Ping timeout: 258 seconds]
Imofftopic has joined #ruby
Xeago has joined #ruby
yfeldblum has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
krisquigley has quit [Read error: Connection reset by peer]
bricker`LA has quit [Ping timeout: 245 seconds]
krisquigley has joined #ruby
<DaveTaboola> j416: do you think this is better ? https://gist.github.com/DaveTaboola/14020279abd4de648fe9
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> max06: it probably wants a later patchlevel, -p0 has known bugs. Besides 1.9.2 is completely out of official support, consider getting ruby 1.9.3 or newer
rimenes has joined #ruby
hiyosi has joined #ruby
<max06> jhass: is there an easy way to get that when it's not in the debian repo? (Sorry, never used ruby before)
<jhass> The easiest way is probably a ruby version manager like RVM or Rbenv
<jhass> don't install those through the repo though
Tomme has joined #ruby
troulouliou_dev has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
<max06> jhass: okay, start reading…
fabrice31 has joined #ruby
<jhass> max06: btw., debian 6 is out of support too
<max06> yes, but I can't switch this system to a newer version
janmuffino has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
JohnFord has joined #ruby
SouL_ has quit [Ping timeout: 240 seconds]
Ghis_ has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
lemur_ has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby
ndrei has joined #ruby
chipotle has joined #ruby
Takle has quit [Remote host closed the connection]
<j416> DaveTaboola: yes.
tlarevo has quit [Ping timeout: 260 seconds]
WillAmes has joined #ruby
JohnFord has quit [Ping timeout: 245 seconds]
hrrz has joined #ruby
timonv_ has joined #ruby
<DaveTaboola> j416: wooohooooo :) thank you
<j416> DaveTaboola: I didn't say it was good..
<DaveTaboola> jhass: are you from Lithuva? (just asking)
DaniG2k has quit [Ping timeout: 258 seconds]
<DaveTaboola> j416: i know, i'm checking it
Tomasso has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
<j416> DaveTaboola: and I suggested how you could read the data in chunks. You don't have to do it manually like that.
DaniG2k has joined #ruby
<jhass> DaveTaboola: no
<Tomasso> gsub! delete... return nil in case of string not modified. this is causing me headache, how could I make it return the string itself in case of not modified ?
hellangel7 has joined #ruby
orolo has quit [Quit: This computer has gone to sleep]
aspiers has quit [Ping timeout: 272 seconds]
bluenemo_ has quit [Quit: Verlassend]
sgray10 has joined #ruby
<max06> jhass: I used RVM to install ruby-1.9.3, and: rvm alias create default ruby-1.9.3-p547
<max06> sadly, gem is still complaining about the version
<max06> and ruby -v still shows the old 1.9.2
<jhass> max06: try RVM use 1.9.3
britneywright has joined #ruby
<jhass> btw. the newest ruby version is 2.1, maybe start with that while learning ruby :)
DaniG2k has quit [Ping timeout: 240 seconds]
<max06> RVM is not a function, selecting rubies with 'rvm use ...' will not work.
<jhass> did you login again after installing RVM?
<max06> yes
<max06> I have to use the full path to use the rvm
<max06> something failed while installing… weird stuff
BraddBitt has quit [Read error: Connection reset by peer]
orolo has joined #ruby
<pearlyshellsfrom> What is a cool Rails project to do for beginner in Ruby (but has programming background) that is not a blog and a bookmark sharer? :P
weems_ has quit [Read error: Connection reset by peer]
<jhass> max06: what's your terminal emulator?
skammer has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<max06> iterm2 with bash
cougarten_ has joined #ruby
<max06> connected per ssh
<jhass> pearlyshellsfrom: todo list? scnr. #rubyonrails might have better ideas ;)
<jhass> max06: does it work after you run source .profile ?
<pearlyshellsfrom> Ah i see. Didnt know there's also #rubyonrails thanks for the heads up
BraddBitt has joined #ruby
cougarten has quit [Ping timeout: 250 seconds]
sgray10 has quit [Ping timeout: 272 seconds]
<max06> nope
rkalfane has joined #ruby
<jhass> so did rvm not add a sourcce line to .profile for you?
<max06> Let me install rvm again, then I can show you the exact error
Ghis_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Ghis_ has joined #ruby
<wasamasa> pearlyshellsfrom: something actually useful?
<max06> no error occurred, but rvm is still not in path and no lines for rvm in the profiles
<wasamasa> pearlyshellsfrom: the ideas I have are rather suitable for a framework like sinatra though
<jhass> max06: so nothing in ~/.profile ~/.bash_profile or ~/.bashrc ?
<jhass> max06: did you install RVM with sudo perhaps?
<wasamasa> pearlyshellsfrom: such as creating a web application that let's you find shell themes that look decent with htop/mc/...
<max06> jhass: nothing
zz_karupa is now known as karupa
<max06> yes, sudo, sure
<wasamasa> pearlyshellsfrom: or one that let's you test out fonts for their readability with actual test text
<max06> checked profiles of my own user and of root
<jhass> max06: so that's the problem
<pearlyshellsfrom> Hmm Rails could be a little overkill for that though?
<wasamasa> pearlyshellsfrom: or one that transforms data scraped from one website in a more usable form and lets you interact with them
timonv_ has quit [Read error: Connection reset by peer]
<jhass> max06: system wide RVM installs are a mess to get running ;)
<wasamasa> pearlyshellsfrom: such as the "Youtube remakes"
<wasamasa> pearlyshellsfrom: yeah, I'd rather use sinatra for those since they don't even require databases
<max06> but I need to have the ruby setup system-wide
MasterPiece has quit [Quit: Leaving]
memph1s has quit [Quit: I couldn't come up with quit message :(]
<pearlyshellsfrom> scraping tasks excite me! I hate you wasamasa
<wasamasa> pearlyshellsfrom: it could be something much smaller
<pearlyshellsfrom> how do I tag a person herE? LOL (freenode noob)
<shevy> pearlyshellsfrom usually their client will highlight them if you use their nick name
<wasamasa> pearlyshellsfrom: I started writing one for a burger shop near us that has a horrible website
<shevy> for me here I can type "pea" and then press the TAB key
<jhass> max06: why?
<wasamasa> pearlyshellsfrom: my plan is to turn it into a rss feed since that's ideal to get notified about new offers :P
<shevy> people still use rss?
<wasamasa> yes
<max06> Building a big bunch of scripts connecting to vsphere-api and doing stuff, which must run as root
<wasamasa> twitter sucks
<max06> no way around it :)
rgcouk has quit [Quit: Textual IRC Client: www.textualapp.com]
phoo1234567 has joined #ruby
krz has quit [Quit: WeeChat 1.0]
<shevy> max06 so you have to be superuser
<max06> I am
<shevy> max06 so you shall compile ruby into /usr prefix
<pearlyshellsfrom> you gave me an idea wasamasa haha
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2
<wasamasa> pearlyshellsfrom: I have a love/hate relationship with scraping, too
<max06> manually? Why not rvm or similar? :)
<max06> I thought that's the reason for such tools
<shevy> tar -vjxf ruby-2.1.2.tar.bz2
<wasamasa> pearlyshellsfrom: the task itself isn't that hard, but turning the data into something useful and presenting them...
<shevy> max06 what do you need rvm? for version switching. how many different ruby versions will you need to run your code?
<jhass> max06: if the requirement is to run as root but only from one user account, you can still do so with a rvm installation to that iuser account and rvmsudo
InhalingPixels has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
claymore has joined #ruby
timonv_ has joined #ruby
phoo1234567 has joined #ruby
<jhass> shevy: he's on ancient ruby thanks to ancient debian and says he can't upgrade
<max06> ~10 different users with sudo perms
<gregf_> >>str = "foo bar"; %w{test foo}.each { |repl| a = str;puts a.gsub!(/#{repl}\s*/,"") || a }
<eval-in_____> gregf_ => foo bar ... (https://eval.in/194563)
<gregf_> * scrolls down :/
cougarten__ has joined #ruby
benzrf is now known as benzrf|offline
<shevy> oh dear
<max06> If I try to install rvm on my own account, it fails immediately with a permission denied on /usr/local/rvm/RELEASE
<shevy> always the debian users with ruby problems
cirn0 has joined #ruby
<max06> I know, but I can't change that…
<shevy> look
<shevy> you said you are superuser
<jhass> max06: yes you would need to remove the system wide install first
<shevy> how can you have a permission denied error
<jhass> max06: system wide RVM installs are beyond my experience and beyond easy. Have fun with http://rvm.io/support/troubleshooting
baltazore has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
<max06> okay, I'll try… maybe I can make it work
cougarten_ has quit [Ping timeout: 246 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
roolo has quit [Quit: Leaving...]
anaeem___ has quit [Remote host closed the connection]
DaniG2k has joined #ruby
<max06> mhm… that was too easy...
mtncode has joined #ruby
tmba has joined #ruby
mengu has quit [Remote host closed the connection]
cirn0 has quit [Ping timeout: 240 seconds]
anaeem1_ has joined #ruby
phutchins has joined #ruby
<shevy> your new ruby works?
<max06> half
<max06> I installed rvm with sudo /usr/bin/curl -L https://get.rvm.io | sudo bash -s stable
<shevy> then you are halfway there
<max06> which worked
<max06> rvm can be used from my own user, but not as root/sudo
timonv^ has joined #ruby
aclearman037 has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
DaniG2k has quit [Ping timeout: 240 seconds]
roolo has joined #ruby
jottr has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DaniG2k has joined #ruby
<jhass> max06: try rvmsudo
<jhass> rvmsudo do ruby myscript.rb iirc
<max06> that means I have to start the ruby script from my own user?
timonv_ has quit [Ping timeout: 272 seconds]
<max06> I wanted to call the ruby script from another bash script running as root… :D
cheeti has joined #ruby
arup_r has quit [Remote host closed the connection]
<shevy> god man
Poky has joined #ruby
timonv_ has joined #ruby
<shevy> if rvm gives you extra problems, why use it?
timonv^ has quit [Ping timeout: 260 seconds]
<max06> okay, I'll try to compile it manually...
<shevy> \o/
thomasxie has quit [Remote host closed the connection]
<shevy> the newer ruby's require libyaml for psych (yaml binding) -> http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz
gvenkat has quit [Quit: This computer has gone to sleep]
charliesome has quit [Quit: zzz]
bking39116 has joined #ruby
<shevy> if you use debian you may have to get a few dev packages to uncripple their setup, though it is actually not really necessary; the bindings are in the subdirectory ext/* - for instance, ext/openssl or ext/readline and so forth
Xeago has quit [Read error: Connection reset by peer]
<shevy> actually, in principle you could also not use psych
<shevy> there is a syck gem too
Xeago has joined #ruby
perrier has quit [Remote host closed the connection]
charliesome has joined #ruby
<shevy> by tenderlove
<shevy> \o/
jottr has quit [Ping timeout: 272 seconds]
<shevy> so if you miss the readline stuff, you can get it lateron too. I do that usually when I forget that I am using a debian based system
enriclluelles has quit [Remote host closed the connection]
perrier has joined #ruby
bking39116 has quit [Client Quit]
Takle has joined #ruby
tobago has quit [Remote host closed the connection]
perrier has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 245 seconds]
rgcouk has joined #ruby
arup_r has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
<shevy> max06 how is it going so far
thomasxie has joined #ruby
timonv_ has joined #ruby
<max06> didn't start yet, had a short meeting
perrier has joined #ruby
<max06> will start now
timonv_ has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
timonv_ has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
baltazore has joined #ruby
<shevy> you can do it man!
<max06> I don't like software not coming from a centralized repository ;)
<jhass> you might want to look into ruby-install or ruby-build
<shevy> how did their repos get the software in the first place
<jhass> then stop using such a crappy OS ;P
<max06> shevy: sure
<mikecmpbll> :D
<shevy> the real drawback is that they often get outdated versions
<max06> I just don't want to do it by myself ;)
<txdv> you mean, you don't like tarballs and patches sent over email?
<max06> rigjt :D
jheg has quit [Quit: jheg]
<max06> s/j/h
<shevy> it's better now, but about 2 years ago, just about, try to get any ruby past 2.0.x on debian through apt-get install
BTRE has joined #ruby
<mikecmpbll> what's the simplest way to do a mock object that responds to a method call and returns the arguments that get passed in.
<jhass> mikecmpbll: class Mock; def method_missing(*args); args; end; end;
Advocation has joined #ruby
<txdv> wi don't use apt for software that i care about
<mikecmpbll> to a specific method call*, but yeah, can do. wasn't sure if there was a simpler way without defining a class.
<jhass> mikecmpbll: add a def respond_to_missing?(*); true; end; to be awesome
<max06> txdv: usually we install stuff using puppet, not manually
<txdv> who is we and what is puppet?
fsapo has joined #ruby
<max06> we = irrelevant, and puppet is a great tool for managing big amounts of servers
hrrz has quit [Quit: hrrz]
<txdv> what aspect does it manage?
sk87 has joined #ruby
<max06> all, starting from os-level to applications up to monitoring
<max06> you just define the desired state, puppet then deals how to get there
<max06> (it's written in ruby, btw)
<max06> like: file { '/tmp/somefile': ensure => file, owner => 'root', group => 'root', content => 'demonstration'; }
<max06> ruby 2.1.2 installed \o/
<max06> trying to install the gem
<shevy> \o/
<shevy> which gem?
<max06> savon
<max06> it looks like it works
<shevy> gem install savon
<shevy> Fetching: nori-2.4.0.gem (100%)
<shevy> Successfully installed nori-2.4.0
<shevy> Fetching: rack-1.5.2.gem (100%)
<shevy> wow that fetches a lot of stuff
<max06> yes
<mikecmpbll> savon is good
hiyosi has joined #ruby
<max06> 14 gems installed - awesome
fella7s is now known as fella5s
karupa is now known as zz_karupa
<mikecmpbll> anything that takes the pain away from soap.
j4rh3rd has joined #ruby
shredding has joined #ruby
<max06> using "require 'savon'" shouldn't cause any errors, like "no such file to load", right?
<max06> we need soap to communicate with the vshpere-cluster
mtncode has quit [Ping timeout: 260 seconds]
<mikecmpbll> why are you asking that
<max06> I get this error… :D
gvenkat has joined #ruby
<mikecmpbll> ah, the real problem emerges.
bking39116 has joined #ruby
<mikecmpbll> shouldn't do tho. is it just a plain ruby script?
<max06> yes, only interpreter and require-line
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
<jhass> what's the shebang exactly?
oivoodoo has quit [Read error: Connection reset by peer]
<jhass> and what does ruby -rsavon say? and which ruby?
oivoodoo has joined #ruby
<max06> oh, wait
<max06> thanks, had the wrong shebang :)
mtncode has joined #ruby
<max06> thank you very much, to all of you for your patience :)
<jhass> /usr/bin/env shebangs ftw ;)
horrror has joined #ruby
horrror has quit [Client Quit]
<Hanmac> i cant help it i still think that "shebang" does somehow sounds pervert for that "#!" ...
pencilcheck has quit [Remote host closed the connection]
Takle has joined #ruby
<shevy> well what other name do you want to give it Hanmac
a_ has quit [Ping timeout: 272 seconds]
<jhass> some say hashbang iirc
<shevy> we could use hashang!
mleone has joined #ruby
sepp2k has joined #ruby
<tobiasvl> well it's called "shebang"
<max06> sounds good to me :D
<tobiasvl> EOD
<tobiasvl> noooo
rafacv has joined #ruby
<tobiasvl> a shebang (also called a sha-bang,[1][2][3] hashbang,[4][5] pound-bang,[2][6] hash-exclam,[2] or hash-pling
<shevy> that is the reason why people ought to pick good names
<tobiasvl> hash-pling!
<shevy> nah
<shevy> hash-pling sounds too much like bing
benzrf|offline is now known as benzrf
<max06> pound-bang… sounds also weird :D
<tobiasvl> yeah that's unfortunate
<shevy> max06 now you understand why some ruby projects have silly names
<tobiasvl> pound & bang
<gizmore> pund bang is like chubby?
<shevy> lol
orolo has quit [Quit: This computer has gone to sleep]
<shevy> pundabanga gaddawanga
<shevy> and chubby is rubby like centrx said some days ago
<shevy> teach me some rubby
yfeldblum has joined #ruby
rkalfane has joined #ruby
zettam has joined #ruby
chipotle has quit [Quit: cya]
wpp has joined #ruby
ta has joined #ruby
mleone has quit [Ping timeout: 260 seconds]
perrier has quit [Remote host closed the connection]
paulfm has joined #ruby
orolo has joined #ruby
perrier has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
mtncode has quit [Ping timeout: 258 seconds]
ValicekB has quit [Ping timeout: 246 seconds]
cougarten has joined #ruby
relix has joined #ruby
joast has joined #ruby
bking39116 has quit [Quit: bking39116]
cougarten__ has quit [Ping timeout: 245 seconds]
atmosx has joined #ruby
northfurr has joined #ruby
bking39116 has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
linojon has joined #ruby
pierombaabu has joined #ruby
<pierombaabu> Guys method merge doesn't work with arrays?
cocotton has joined #ruby
<txdv> pierombaabu: this is oop
<txdv> objects have methods
<txdv> not the other way around
carraroj has joined #ruby
<pontiki> pierombaabu: what is it you want to do with the arrays? what does "merge" mean to you?
<txdv> i guess he wants a concat
<pierombaabu> I want to merge two arrays into one
<pontiki> maybe? or a + or a zip or...
<txdv> [1,2].concat([3,4])
cocotton has quit [Read error: Connection reset by peer]
<tobiasvl> >> [1,2] + [3,4]
<eval-in_____> tobiasvl => [1, 2, 3, 4] (https://eval.in/194605)
<pierombaabu> so concat works just like merge?
<pontiki> no
<pontiki> merge is for hashes
cocotton has joined #ruby
<pontiki> concat appends one array onto the other
<pierombaabu> That makes more sense. Thanks guys
<mostlybadfly> Mernin
evrei has quit [Ping timeout: 258 seconds]
<txdv> >> "TEST"*2000
<eval-in_____> txdv => "TESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTEST ... (https://eval.in/194606)
<shevy> ack
<txdv> >> "shevy " * 2000
<eval-in_____> txdv => "shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy sh ... (https://eval.in/194607)
<pontiki> >> [1,2] + [2,3]
<eval-in_____> pontiki => [1, 2, 2, 3] (https://eval.in/194608)
<gizmore> >> [1,2] + [2,3]
<eval-in_____> gizmore => [1, 2, 2, 3] (https://eval.in/194609)
<shevy> people now worship me :D
<gizmore> >> ([1,2] + [2,3]).uniq
<eval-in_____> gizmore => [1, 2, 3] (https://eval.in/194611)
<pontiki> >> [1,2] & [2,3]
<eval-in_____> pontiki => [2] (https://eval.in/194612)
<pontiki> >> [1,2] | [2,3]
<eval-in_____> pontiki => [1, 2, 3] (https://eval.in/194613)
<txdv> what is ruby code called? rubbish!
<wasamasa> huehuehue
<pontiki> [1,2].zip([2,3])
<pontiki> >> [1,2].zip([2,3])
<eval-in_____> pontiki => [[1, 2], [2, 3]] (https://eval.in/194614)
<txdv> >> ["a", "b"] | ["b", "c"]
<eval-in_____> txdv => ["a", "b", "c"] (https://eval.in/194615)
<pontiki> lots of ways to "merge" arrays
Spami has joined #ruby
<gizmore> >> Tire < Array; Tire.new.flatten
<eval-in_____> gizmore => uninitialized constant Tire (NameError) ... (https://eval.in/194616)
timonv^ has joined #ruby
<gizmore> >> class Tire < Array; Tire.new.flatten
<eval-in_____> gizmore => /tmp/execpad-cdb1e8d1311d/source-cdb1e8d1311d:7: syntax error, unexpected end-of-input, expecting keyword_end (https://eval.in/194617)
<gizmore> meh!
timonv_ has quit [Ping timeout: 272 seconds]
<pontiki> you have to end the class def
ValicekB has joined #ruby
<pierombaabu> txdv how does concat, + and | solve a conflict when there are two identical keys but different values
<max06> Now I understand the art of collaborative work - many people spamming one interpreter bot :D
<txdv> >> a = Object.new, b = Object.new, c = Object.new; [a,b] | [b,c]
<eval-in_____> txdv => [[#<Object:0x41ce9be0>, #<Object:0x41ce9bcc>, #<Object:0x41ce9bb8>], #<Object:0x41ce9bcc>, #<Object:0x41ce9bb8>] (https://eval.in/194618)
anaeem1_ has quit [Remote host closed the connection]
<pontiki> pierombaabu: Arrays don't *have* keys, they have indexes
<gizmore> is Object.object_id a memory disclosure vuln?
Xeago has quit [Remote host closed the connection]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
<gizmore> *memory layout exposure or whatever ... could the info be used to predict heap adresses?
memph1s has joined #ruby
<pierombaabu> pontiki so how do you resolve a conflict when there are similar keys in hashes?
<tobiasvl> test it
<gizmore> pierombaabu: use merge or reverse_merge
<gizmore> >> {a:1, b:2}.reverse_merge({a:3,b:4,c:5})
<eval-in_____> gizmore => undefined method `reverse_merge' for {:a=>1, :b=>2}:Hash (NoMethodError) ... (https://eval.in/194619)
<gizmore> >> {a:1, b:2}.reverse_merge!({a:3,b:4,c:5})
<eval-in_____> gizmore => undefined method `reverse_merge!' for {:a=>1, :b=>2}:Hash (NoMethodError) ... (https://eval.in/194621)
<gizmore> Oo
<pontiki> i thought reverse_merge was a Rails addition
DaniG2k has quit [Ping timeout: 260 seconds]
tkuchiki has joined #ruby
<gizmore> i see... that explains why it works in my project :) thx
<gizmore> sry :)
timgauthier is now known as timgauthier_isaw
<Hanmac> yeah so you see how rails does poison the mind of innocent ruby users ,P
arup_r has quit [Remote host closed the connection]
Xeago has joined #ruby
<txdv> what? ruby is not ruby on rails?
<txdv> this situation is unberable
<txdv> >> "shevy " * 2000
<eval-in_____> txdv => "shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy sh ... (https://eval.in/194623)
timonv^ has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
<gizmore> some rails stuff is quite nice though... like reverse_merge and... well that´s it?
techsethi has quit [Quit: techsethi]
mengu has quit []
cheeti has left #ruby [#ruby]
* shevy adds txdv to his personal list of sla... erm... followers.
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> I always though ruby has cryptic error messages
<shevy> but C is even worse
<shevy> ccc.c:26:23: error: lvalue required as left operand of assignment
lxsameer has quit [Quit: Leaving]
pierombaabu has quit [Remote host closed the connection]
DroidBurgundy has joined #ruby
<max06> shevy: that message is pretty clear to me ;)
<gizmore> error in line 23 or 26, something is not a long
<shevy> oops
<shevy> yeah it was a chained ||
<shevy> I used one = rather than == in there :\ :/
<tobiasvl> classic
<gizmore> it should throw a warning: You typed something different than you thought :(
<shevy> well that is strange
BlkDynmt has joined #ruby
<shevy> my eyes are not used to multiple ||
kalusn has quit [Remote host closed the connection]
rp__ has joined #ruby
qba73 has quit []
<shevy> my ruby code reaches this complexity
<shevy> if bla
<txdv> shevy: that lvalue happens most of the time when you write = instead of ==
<shevy> else
linojon has quit [Quit: linojon]
<max06> short trip back to installing ruby on debian… :D
astav has joined #ruby
<max06> it works for root now, can I also use the installation for the other users?
<max06> because for me it's still using the old 1.9.3
<max06> instead of the actual 2.1.2 installed as root
Inhaling_ has joined #ruby
kalusn has joined #ruby
rkalfane has joined #ruby
<txdv> just use rvm
dblessing has joined #ruby
<Tomasso> i tried to add a method to the string class in ruby 1.9.3 by declaring a class String def mymethod end end and it doesnt work, why could that be >?
amystephen has joined #ruby
<max06> the 2.1.2 is not listed in rvm list
<jhass> Tomasso: Please share your code on https://gist.github.com
<shevy> max06 well of course other users can use it, just as they can use other software of globally installed programs too
<shevy> max06 and if you use old 1.9.3 then you must have more than one version
<shevy> max06 can't you settle for one version? :>
<max06> shevy: that's what I want to do :)
InhalingPixels has quit [Ping timeout: 260 seconds]
<shevy> well ok
<shevy> does the new 2.1.2 work?
<max06> I compiled the latest manually on root, up to make install which should set this latest versions globally
Hanmac has quit [Ping timeout: 260 seconds]
<max06> yes, but only on root/sudo
<shevy> yes but what prefix did it use?
<max06> default, ./configure
<shevy> like, where is the compiled "ruby" binary of 2.1.2 now on your system
<shevy> don't say you don't know ;)
freelusion has joined #ruby
<max06> /usr/local/bin/ruby
<txdv> but what if he says it
<shevy> yeah
<shevy> and the 1.9.3 is at /usr/bin/ruby ?
<max06> yep
<shevy> omitting --prefix in ./configure defaults to --prefix=/usr/local
freelusion has quit [Client Quit]
livingstn has joined #ruby
<max06> so… reconfigure and recompile? :D
<shevy> well
fsapo has quit [Ping timeout: 260 seconds]
<shevy> several ways
<max06> with —prefix=/usr/bin
<shevy> you could simply remove /usr/bin/ruby
<shevy> or you could recompile
<jhass> BS
<shevy> or you could recursively copy the new ruby
<gizmore> or set a symlink?
<max06> recompile…
<jhass> max06: did you fully remove rvm?
benzrf is now known as benzrf|offline
<max06> np
<max06> no
pencilcheck has joined #ruby
phutchins has quit [Read error: Connection reset by peer]
<jhass> do that
patrick99e99 has joined #ruby
<max06> also the old repo versions are still there
<shevy> yeah
<shevy> so remove /usr/bin/ruby if that one is the 1.9.3
<jhass> instructions are on the troubleshooting page I linked
RandyT has quit [Quit: ZNC - http://znc.in]
northfurr has quit [Quit: northfurr]
<Tomasso> jhass: ooog I figured out why... the string class declaration is outside the block from which Im calling mysub!
hellangel7 has quit [Remote host closed the connection]
<jhass> no, you don't need to remove the packaged ruby
<shevy> yes you should
qmfnp has joined #ruby
<jhass> no, you don't need to
<shevy> yes you should
<Tomasso> jhass: do you know how to bring it to scope ?
<max06> guys… decide please :D
<jhass> Tomasso: show your code, it all sounds suspicious
<shevy> max06 it is simple - if you are 100% sure you won't need the old ruby, and the new ruby works, get rid of the old one
<max06> rvm went to hell
<shevy> \o/
<Tomasso> yup ok
<max06> okay, will keep it
phutchins has joined #ruby
<jhass> max06: okay, did you now login again?
<shevy> I usually dump old stuff that might be useful one day into a backup/bin/ location
a has joined #ruby
<max06> maybe I should do that… :D
<shevy> max06 if you do "ruby -v", what version do you get?
a is now known as Guest48103
<jhass> maxenv | grep RV is empty after relogin?
<max06> oO, 2.1.2
<max06> how did that work?
<jhass> we removed RVM
<shevy> \o/
echevemaster has joined #ruby
<shevy> long live the new ruby
<max06> but why is it now using the version from /usr/local/bin?
<jhass> Tomasso: copy the URL in your browser in future, not the clone URL ;)
<shevy> might depend on your $PATH setting
<max06> while the old /usr/bin/ruby is still there
northfurr has joined #ruby
<shevy> for me I use /System/Executables on my $PATH first
<max06> weird, but fine :)
<max06> (I'll never touch this ruby version again!)
<jhass> Tomasso: I don't understand the intention of your mysub
<shevy> and ruby sits in /Programs/Ruby/2.1.2/
enriclluelles has joined #ruby
<max06> shevy: that's OSX, not Debian
Kricir has joined #ruby
sailias has joined #ruby
muhammadn has joined #ruby
<jhass> max06: in the default path /usr/local/bin comes before /usr/bin
patrick99e99 has quit [Ping timeout: 272 seconds]
<jhass> RVM likely mangled that
_2_niallsbabe has joined #ruby
doodlehaus has joined #ruby
<max06> aha… sweet :D
<_2_niallsbabe> hey
blackmes1 has joined #ruby
<_2_niallsbabe> how old are you
<max06> who?
<_2_niallsbabe> you
Kricir has quit [Remote host closed the connection]
<jhass> max06: read the nick ;)
<jhass> apeiros: ^
<_2_niallsbabe> you are six
jeremy04 has joined #ruby
GGMethos has quit [Quit: WeeChat 1.1-dev]
<max06> yeah… sure ;)
<shevy> lol
jaygen has joined #ruby
<shevy> _2_niallsbabe go learn ruby man
<max06> and you're a girl, just because your nick :D
<max06> And I don't like to get spammed in private!
<gizmore> my age is a composite of two numbers which both have only one different digit
<_2_niallsbabe> I am a girl
<_2_niallsbabe> how old are tyou
<_2_niallsbabe> you
<shevy> max06 well those were paths very similar to GoboLinux, they also used an AppDir approach. It was superconvenient to add or remove programs and instantly know which program belongs to which app
<Tomasso> girls??!
Inhaling_ has quit [Remote host closed the connection]
<shevy> sadly Gobolinux more or less died
<_2_niallsbabe> yes
<mikecmpbll> troll alert.
<max06> You'll never no my age ;)
<max06> (typing today… know for sure)
<shevy> the different versions provided something like rvm does for ruby, but for all programs instead
<_2_niallsbabe> tell me I will date you if you do
InhalingPixels has joined #ruby
<mikecmpbll> ...
<shevy> _2_niallsbabe please man, go learn ruby, go become useful in society
fsapo has joined #ruby
<_2_niallsbabe> nah
<jhass> jeez, why don't you all just ignore
<max06> _2_niallsbabe: sorry, I'm married to my job… no chance ;)
<max06> jhass: just because of some fun
<_2_niallsbabe> how old are ou
weems|mac has joined #ruby
weems|mac has joined #ruby
<tobiasvl> what is this
Squarepy has joined #ruby
<max06> okay, fun is over, ignored :)
Squarepy has quit [Changing host]
Squarepy has joined #ruby
<_2_niallsbabe> what
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tkuchiki has quit [Remote host closed the connection]
jaygen_ has quit [Ping timeout: 272 seconds]
hiyosi has joined #ruby
<_2_niallsbabe> who has snap chat
Hanmac has joined #ruby
<DefV> teenage girls
duggiefresh has joined #ruby
grenierm has joined #ruby
<_2_niallsbabe> yes
Squarepy has quit [Client Quit]
silkfox has joined #ruby
tkuchiki has joined #ruby
Squarepy has joined #ruby
bmurt has joined #ruby
krisquigley has quit [Remote host closed the connection]
britneywright has joined #ruby
<_2_niallsbabe> defv how old are you
jaygen_ has joined #ruby
krisquigley has joined #ruby
<DefV> why
<_2_niallsbabe> because
<tobiasvl> apeiros!
krisquigley has quit [Remote host closed the connection]
<jhass> Tomasso: I can't make sense of your code, it doesn't even have a matching number of openings and ends and I don't know what regexs is
gvenkat has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
<jhass> Tomasso: it's also horribly indented
jheg has joined #ruby
<_2_niallsbabe> jhass shut up
hiyosi has quit [Ping timeout: 246 seconds]
jaygen has quit [Ping timeout: 245 seconds]
<tobiasvl> ok ignored
<_2_niallsbabe> idc
reisl has joined #ruby
_2_niallsbabe has left #ruby [#ruby]
Xeago has quit [Remote host closed the connection]
mark_locklear has joined #ruby
<shevy> lol
xcv has quit [Remote host closed the connection]
<shevy> boredom slayed that troll
sgray10 has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
orolo has quit [Quit: This computer has gone to sleep]
chabier has joined #ruby
oleo has joined #ruby
jottr has joined #ruby
mr-foobar has quit [Quit: Leaving...]
bricker`LA has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
terlar has joined #ruby
hellangel7 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
orolo has joined #ruby
BlkDynmt_ has joined #ruby
AxonetBE has joined #ruby
BlkDynmt has quit [Ping timeout: 272 seconds]
blackmes1 has quit [Ping timeout: 260 seconds]
DaniG2k has joined #ruby
kaspertidemann has joined #ruby
GGMethos has joined #ruby
BlkDynmt_ has quit [Read error: Connection reset by peer]
evrei has joined #ruby
shredding has quit [Quit: shredding]
chabier has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
Channel6 has joined #ruby
timgauthier_isaw is now known as timgauthier
grenierm has quit [Quit: grenierm]
GGMethos has quit [Client Quit]
benzrf is now known as benzrf|offline
x1337807x has joined #ruby
benzrf|offline is now known as benzrf
jaygen has joined #ruby
GGMethos has joined #ruby
Takle has quit [Remote host closed the connection]
<apeiros> tobiasvl: what's up?
Stalkr_ has joined #ruby
ursooperduper has joined #ruby
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
<tobiasvl> apeiros: just wanted you to ban a troll but it sorted itself out
linojon has joined #ruby
<apeiros> yeah, seen it in the scrollback
<apeiros> thx for pinging
<shevy> apeiros the trollslayer
<jhass> Tomasso: http://paste.mrzyx.de/p0d0577ec/ I tried to make a bit sense out of your code
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jaygen_ has quit [Ping timeout: 272 seconds]
noopq has quit [Ping timeout: 255 seconds]
cirn0 has joined #ruby
kalusn has quit [Remote host closed the connection]
DaveTaboola has quit [Quit: Page closed]
<jhass> Tomasso: the whole .each could probably be simplified to something like ticket.gsub!(Regexp.union(regexs.keys), regexs) if regexs would be properly defined
kalusn has joined #ruby
Takle has joined #ruby
mikepack has joined #ruby
perrier has quit [Remote host closed the connection]
flowerhack has joined #ruby
timgauthier has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 260 seconds]
perrier has joined #ruby
mtncode has joined #ruby
cirn0 has quit [Ping timeout: 272 seconds]
<Tomasso> jhass: yes.. im doing some refactoring.. my problem was the gsub.. i tought it returned another instance of modified string. and left untouched the receiver
Kricir has joined #ruby
<jhass> Tomasso: that's the difference between .gsub and .gsub!
BadQuanta1 has quit [Ping timeout: 246 seconds]
<jhass> .gsub always returns the value, modified or not, it never touches the receiver. .gsub! returns the receiver only if it was modified, (hence it does modify the receiver), nil otherwise
reisl is now known as larissa
zeroNones has joined #ruby
carraroj has quit [Ping timeout: 272 seconds]
zeroNones has quit [Max SendQ exceeded]
blackmes1 has joined #ruby
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
xcv has joined #ruby
Lewix has joined #ruby
Xeago has joined #ruby
northfurr has quit [Quit: northfurr]
freelusion has joined #ruby
ffranz has joined #ruby
JohnFord has joined #ruby
tkuchiki has joined #ruby
rgcouk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spastorino has joined #ruby
freelusion has quit [Client Quit]
tlarevo has joined #ruby
corehook_ has joined #ruby
Imofftopic has quit [Quit: Leaving]
<gregf_> >> class String; def mysub! regex, repl; self.gsub!(Regexp.union(regex.keys),repl) || self; end; end ;for val in [{ "test" => "test" }, { "\n" => "\n" }]; p "foo123 bar \n 234".mysub!(val,"<br>"); end
<eval-in_____> gregf_ => "foo123 bar \n 234" ... (https://eval.in/194654)
Ankhers has joined #ruby
Macaveli has quit [Ping timeout: 255 seconds]
corehook has quit [Ping timeout: 240 seconds]
<jhass> gregf_: for ? :(
davispuh has joined #ruby
<gregf_> jhass: :/ well just a test :)
<jhass> but why for and not each?
<jhass> also for experiments there's irb :)
<gregf_> >> class String; def mysub! regex, repl; self.gsub!(Regexp.union(regex.keys),repl) || self; end; end ; [{ "test" => "test" }, { "\n" => "\n" }].each{ |val| puts "foo123 bar \n 234".mysub!(val,"<br>");}
<eval-in_____> gregf_ => foo123 bar ... (https://eval.in/194655)
kristofferR has joined #ruby
<gregf_> yeah. i prefer ruby -le ;)
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> I prefer pry
Takle has quit [Remote host closed the connection]
icebourg has joined #ruby
masolino has joined #ruby
snath has quit [Ping timeout: 272 seconds]
krisquigley has joined #ruby
<pearlyshellsfrom> I'm probably doing something wrong but ... I am installing ruby on my server using rvm
<gregf_> jhass: thats was for what Tomasso was trying :/
<pearlyshellsfrom> after a while... the rvm and ruby installations are gone
<pearlyshellsfrom> I am using DO
<pearlyshellsfrom> I mean my server is DO (ubuntu)
andrewlio has quit [Read error: Connection reset by peer]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
jeremy04 has quit [Remote host closed the connection]
shock_one has quit [Quit: Computer has gone to sleep.]
<shevy> that makes me sad
failshell has joined #ruby
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2
Photism_ has joined #ruby
tagrudev has quit [Quit: Me = Awesome]
rafacv has left #ruby [#ruby]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
ndrei has joined #ruby
Photism has quit [Ping timeout: 255 seconds]
jeremy04 has joined #ruby
hmsimha has quit [Ping timeout: 246 seconds]
sectionme has quit [Ping timeout: 245 seconds]
treehug88 has joined #ruby
sdegutis has joined #ruby
mary5030 has joined #ruby
<sdegutis> Anyone here on OS X want to try out my new window manager scriptable in Ruby?
vallieres_ has joined #ruby
thomasxie has left #ruby [#ruby]
<txdv> os x window manager/
<txdv> wtf?
<sdegutis> Okay, not you. Anyone else?
Takle has joined #ruby
aspiers has joined #ruby
hamakn has quit [Remote host closed the connection]
<txdv> why dont you just past a link to the repo
<txdv> why do you need to join a channel and wait till someone replies?
djstorm has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<txdv> 99% of the people here are away
hiyosi has joined #ruby
<sdegutis> It's a private beta commercial app.
<sgray10> prime work hours in some parts of the worl
<sgray10> d
<sdegutis> No repo.
<txdv> commercial window manager?
<txdv> how big is the user base?
shock_one_ has joined #ruby
<sdegutis> Well, my open source version made me $500 in a month.
<sdegutis> (donations)
Squarepy has quit [Ping timeout: 258 seconds]
<sdegutis> So I imagine it's big enough™.
<sgray10> sdegutis: how does it compare to some of the other options, spectacle, amethyst, etc
Xeago has quit [Remote host closed the connection]
<sdegutis> More geared towards programmers who want a slightly more DIY version.
Akuma has quit [Quit: So long sukkas!]
<sdegutis> There'll probably be 1-liner APIs to emulate Spectacle, Amethyst, etc.
Squarepy has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sgray10> sounds pretty cool
<sgray10> I would try it, but honestly I wouldn't be a very good beta tester right now
paulfm_ has joined #ruby
silkfox has quit [Ping timeout: 245 seconds]
paulfm_ has quit [Client Quit]
aclearman037 has quit [Ping timeout: 258 seconds]
apeiros has quit [Remote host closed the connection]
<shevy> txdv I am not away! but I am a linux dude
<shevy> I idle to power
paulfm_ has joined #ruby
<shevy> I guess about 70% of the folks here are silent perma-idlers
<shevy> like take binw ... has he ever written anything here :D
hiyosi has quit [Ping timeout: 260 seconds]
tobago has joined #ruby
<sdegutis> Okay.
<shevy> or rp__ I mean... who would pick such a strange nick
skammer has quit [Ping timeout: 260 seconds]
shackleford has joined #ruby
lemur_ has quit [Remote host closed the connection]
paulfm has quit [Ping timeout: 240 seconds]
milkohol has joined #ruby
aclearman037 has joined #ruby
<sdegutis> PM me if interested.
sdegutis has left #ruby ["Leaving..."]
lemur has joined #ruby
silkfox has joined #ruby
aspires has joined #ruby
skammer has joined #ruby
shackleford has quit [Remote host closed the connection]
shackleford has joined #ruby
<txdv> shevy: what distro are you using?
timgauthier has joined #ruby
janmuffino has quit [Ping timeout: 246 seconds]
pusewicz_ has quit [Ping timeout: 260 seconds]
halfdan has quit [Ping timeout: 260 seconds]
kyote has quit [Ping timeout: 260 seconds]
ELLIOTTCABLE has quit [Ping timeout: 260 seconds]
jpinnix___ has quit [Ping timeout: 260 seconds]
nifty__ has quit [Ping timeout: 260 seconds]
AlSquire has quit [Ping timeout: 260 seconds]
jdjkelly has quit [Ping timeout: 260 seconds]
flowerhack has quit [Ping timeout: 272 seconds]
meinside has quit [Ping timeout: 272 seconds]
vcoinminer______ has quit [Ping timeout: 260 seconds]
andrewstewart has quit [Read error: Connection reset by peer]
joshingly has quit [Read error: Connection reset by peer]
bjeanes has quit [Read error: Connection reset by peer]
kapowaz_ has quit [Read error: Connection reset by peer]
benlakey has quit [Read error: Connection reset by peer]
rkjaer has quit [Write error: Connection reset by peer]
mjc_ has quit [Read error: Connection reset by peer]
ramblinpeck_ has quit [Read error: Connection reset by peer]
rfv_ has quit [Read error: Connection reset by peer]
spastorino has quit [Read error: Connection reset by peer]
bcavileer has quit [Write error: Connection reset by peer]
charles81 has quit [Read error: Connection reset by peer]
olleromo__ has quit [Write error: Connection reset by peer]
arrubin has quit [Read error: Connection reset by peer]
Tranquility_ has quit [Read error: Connection reset by peer]
cmaxw has quit [Read error: Connection reset by peer]
callenb__ has quit [Read error: Connection reset by peer]
cbetta_ has quit [Write error: Connection reset by peer]
Avahey_ has quit [Read error: Connection reset by peer]
skmp__ has quit [Read error: Connection reset by peer]
misterflibble has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Read error: Connection reset by peer]
goshdarnyou has quit [Write error: Connection reset by peer]
Guest85414______ has quit [Read error: Connection reset by peer]
alol__ has quit [Write error: Connection reset by peer]
MiracleBlue has quit [Read error: Connection reset by peer]
jrunning has quit [Read error: Connection reset by peer]
narph has quit [Write error: Connection reset by peer]
pmarreck has quit [Read error: Connection reset by peer]
jeregrine has quit [Read error: Connection reset by peer]
frode15243 has quit [Write error: Connection reset by peer]
ckrailo has quit [Write error: Connection reset by peer]
rickruby has quit [Write error: Connection reset by peer]
Juanchito has quit [Read error: Connection reset by peer]
dziga has quit [Read error: Connection reset by peer]
fredsir has quit [Read error: Connection reset by peer]
mroth has quit [Read error: Connection reset by peer]
ceej has quit [Read error: Connection reset by peer]
neersighted has quit [Remote host closed the connection]
maZtah has quit [Read error: Connection reset by peer]
andrewcarter has quit [Read error: Connection reset by peer]
culturelabs_ has quit [Write error: Connection reset by peer]
dmoe_________ has quit [Read error: Connection reset by peer]
ericwood_ has quit [Read error: Connection reset by peer]
daxroc has quit [Read error: Connection reset by peer]
mattyohe has quit [Write error: Connection reset by peer]
frankS2 has quit [Read error: Connection reset by peer]
akitada__ has quit [Read error: Connection reset by peer]
bove_ has quit [Read error: Connection reset by peer]
ikanobori has quit [Write error: Connection reset by peer]
paulog__ has quit [Read error: Connection reset by peer]
yo61 has quit [Read error: Connection reset by peer]
sk87 has joined #ruby
<txdv> >> "&<VAE=GD@\n".unpack("u").first * 2000
<eval-in_____> txdv => "shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy shevy sh ... (https://eval.in/194665)
ffranz has quit [Quit: Leaving]
<max06> txdv: how did you do that? :D
lemur has quit [Ping timeout: 260 seconds]
thesheff17 has quit [Ping timeout: 271 seconds]
klmlfl has joined #ruby
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby
mkaesz has quit [Quit: Leaving...]
pu22l3r has joined #ruby
<txdv> pack/unpack("u")
<max06> ah
ffranz has joined #ruby
AlSquire has joined #ruby
mikepack has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
Kricir has quit [Remote host closed the connection]
hmsimha has joined #ruby
Kricir has joined #ruby
<ericwood> >> ["shevy"].pack('u')
<eval-in_____> ericwood => "%<VAE=GD`\n" (https://eval.in/194670)
<pontiki> why does eval-in_____ have such a long tail?
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bricker`LA has quit [Ping timeout: 246 seconds]
<aech> too many shevys
prawnsalad has joined #ruby
callenb__ has joined #ruby
nifty___ has joined #ruby
goshdarnyou has joined #ruby
tarcwynne__ has joined #ruby
alol__ has joined #ruby
Juanchito has joined #ruby
joshingly has joined #ruby
jdjkelly___ has joined #ruby
MiracleBlue_ has joined #ruby
skmp__ has joined #ruby
charles81__ has joined #ruby
pmarreck has joined #ruby
cmaxw______ has joined #ruby
rkjaer has joined #ruby
bcavileer_ has joined #ruby
narph has joined #ruby
pusewicz_ has joined #ruby
andrewstewart has joined #ruby
rfv_ has joined #ruby
momomomomo has joined #ruby
bjeanes has joined #ruby
Guest85414______ has joined #ruby
kapowaz_ has joined #ruby
benlakey has joined #ruby
halfdan has joined #ruby
benzrf is now known as benzrf|offline
Tranquility__ has joined #ruby
mattyohe has joined #ruby
fredsir has joined #ruby
vcoinminer______ has joined #ruby
ericwood_ has joined #ruby
GriffinHeart has joined #ruby
maZtah has joined #ruby
bove_ has joined #ruby
neersighted has joined #ruby
akitada__ has joined #ruby
jobewan has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
paulog__ has joined #ruby
mostlybadfly has joined #ruby
ELLIOTTCABLE_ has joined #ruby
olleromo___ has joined #ruby
kyote has joined #ruby
ramblinpeck__ has joined #ruby
cbetta__ has joined #ruby
spastorino has joined #ruby
Avahey_ has joined #ruby
frode15243 has joined #ruby
arrubin has joined #ruby
jrunning has joined #ruby
ckrailo has joined #ruby
jeregrine has joined #ruby
flowerhack has joined #ruby
jpinnix____ has joined #ruby
dziga has joined #ruby
rickruby has joined #ruby
meinside has joined #ruby
mroth has joined #ruby
yo61 has joined #ruby
andrewcarter has joined #ruby
dmoe_________ has joined #ruby
dziga is now known as Guest69148
mjc_ has joined #ruby
culturelabs_ has joined #ruby
daxroc has joined #ruby
stunder has joined #ruby
ceej has joined #ruby
frankS2 has joined #ruby
lukeholder has joined #ruby
ikanobori has joined #ruby
kaspertidemann has quit []
theRoUS|abest is now known as theRoUS
<prawnsalad> hello, im trying to find what this does in ruby: 1.day.to_i
<prawnsalad> 1.day?
hamakn has joined #ruby
<davzie> Returns 1?
<davzie> I haven't a clue
<davzie> I'm a PHP developer
* davzie run
<prawnsalad> same :(
j_mcnally has joined #ruby
corehook_ is now known as corehook
terlar has quit [Ping timeout: 272 seconds]
sdegutis has joined #ruby
<sdegutis> I have to say, chruby is awesome.
Channel6 has quit [Quit: Leaving]
thesheff17 has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<prawnsalad> oh, is 1.day returning the number of seconds in 1 day?
<sdegutis> LOL, using ActiveSupport are we?
mr-foobar has joined #ruby
<jhass> prawnsalad: that's not in ruby core, but ActiveSupport, Rails place for extensions to core
hmsimha has quit [Ping timeout: 245 seconds]
<jhass> prawnsalad: it should return self*60*60*24 iirc
<jhass> prawnsalad: the .to_i should be entirely redundant
astav has quit [Quit: astav]
<yxhuvud> next try 1.fortnight and wonder what they were smoking.
<prawnsalad> im assuming thats just to convert it to an int
<jhass> oh, it returns an AS::Duration nowadays
pearlyshellsfrom has quit [Quit: Page closed]
earfin has joined #ruby
mtncode has quit [Ping timeout: 272 seconds]
pwestlund has left #ruby ["WeeChat 1.0"]
abdulsattar has quit [Ping timeout: 245 seconds]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bal has quit [Quit: bal]
fsapo has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
<toretore> 1.month
<sdegutis> >> 1.month
<eval-in_____> sdegutis => undefined method `month' for 1:Fixnum (NoMethodError) ... (https://eval.in/194674)
<sdegutis> :)
sdegutis has left #ruby ["Leaving..."]
mpistone has joined #ruby
<prawnsalad> ok cool, think ive got it. cheers
Guest48103 has quit [Ping timeout: 240 seconds]
<prawnsalad> ruby hurts my php/js head :3
hoelzro has left #ruby [#ruby]
sectionme has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
paulfm has joined #ruby
Rhainur has joined #ruby
queequeg1 has quit [Ping timeout: 260 seconds]
j_mcnally has quit [Ping timeout: 255 seconds]
timonv_ has joined #ruby
ephemerian has quit [Quit: Leaving.]
jack_rabbit has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
timonv_ has joined #ruby
ohwhoa has joined #ruby
paulfm_ has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
bMalum has quit [Quit: bMalum]
adironduck has quit [Quit: adironduck]
timonv^ has joined #ruby
apeiros has joined #ruby
earfin has quit [Read error: Connection reset by peer]
shock_one_ has quit [Quit: Computer has gone to sleep.]
matchaw_ has quit [Ping timeout: 260 seconds]
adironduck has joined #ruby
orolo has quit [Remote host closed the connection]
matchaw has joined #ruby
adironduck has quit [Client Quit]
shock_one_ has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
<shevy> txdv right now I am on slackware 32bit (32 bit because I need the program wine, and 64 bit slackware requires some manual steps to enable multi-lib again)
<shevy> txdv I compiled most software anew though
cougarten_ has joined #ruby
<shevy> txdv current snapshot http://pastie.org/pastes/9562023/text - obviously I still have to update kernel, glibc and gcc - gcc I update currently
DaniG2k_ has joined #ruby
oponder has joined #ruby
aganov has quit [Quit: Leaving]
kalusn has quit [Remote host closed the connection]
<shevy> I also switched ruby to prefix /usr for now, will move it into /Programs/Ruby/VERSION lateron
cougarten has quit [Ping timeout: 250 seconds]
<shevy> txdv I finally decided to learn C seriously though, working through "The C programming language" on my left side
wpp has quit [Quit: ZZZzzz…]
sdegutis has joined #ruby
<sdegutis> What's a good tool for deploying a Rails app to production?
mikepack has joined #ruby
oponder has quit [Client Quit]
earfin has joined #ruby
tjr9898 has joined #ruby
prawnsalad has left #ruby [#ruby]
stephanepaul has joined #ruby
DaniG2k has quit [Ping timeout: 255 seconds]
Waheedi has quit [Remote host closed the connection]
giorni has joined #ruby
banister has joined #ruby
<ericwood> capistrano, et. all
<apeiros> git + 10 line bash script
<ericwood> there's some tools out there that mimic the whole heroku deploy process but I can't remember the names
aspires has quit []
<ericwood> honestly though I'm pretty sure most people roll their own
giorni has left #ruby [#ruby]
ndrei has quit [Ping timeout: 272 seconds]
<apeiros> we use capistrano at work. but IMO so utterly overengineered.
<ericwood> you can make it crazy complex if you want to
<apeiros> (note: doesn't mean I see no value in cap - just that it's not the best tool in many cases)
<ericwood> then throw things like puppet into the mix
cndiv has joined #ruby
<apeiros> ericwood: yupp.
yfeldblum has joined #ruby
<ericwood> if you have a very complex app setup and it has several servers etc. puppet is a good idea
<ericwood> but I am the worst ops guy ever
fabrice31 has quit [Remote host closed the connection]
<apeiros> I guess the same applies to cap
<ericwood> yep yep yep
<lsone> I think I could give you a run for your money on that title ericwood
<apeiros> you want a repeatable deploy process
Wolland has joined #ruby
sinkensabe has quit [Remote host closed the connection]
a has joined #ruby
<apeiros> for simple apps you can get that very cheaply. for more complex setups, things like cap & puppet might pay off
britneywright has joined #ruby
<ericwood> as you get more copmlex you should just hire a devops dude
a is now known as Guest86026
jheg has quit [Quit: jheg]
<apeiros> probably a good idea
<yxhuvud> we use rpm, but then we do produce something that in practice is a (centos-based) dist. I wouldn't recommend it unless you need it
mikepack has quit [Ping timeout: 272 seconds]
tjr9898 has quit []
thejoecarroll has quit [Ping timeout: 245 seconds]
phutchins has quit [Remote host closed the connection]
<shevy> rpm!
shock_one_ has quit [Ping timeout: 255 seconds]
<ericwood> having a devops team has been such a good idea
<ericwood> like, people that actually know how to do networking and admin
Advocation has quit [Quit: Advocation]
Hobogrammer has joined #ruby
bricker`LA has joined #ruby
<ericwood> most devs are awful admins :)
yfeldblum has quit [Ping timeout: 246 seconds]
<ericwood> I am one of them. I know just enough to cause some serious damage...
<shevy> are you a dev ericwood
Wolland has quit [Ping timeout: 260 seconds]
<shevy> no wait
<shevy> are you an admin ericwood
<sdegutis> We have 2 servers in production, one for DB and one for web app. And we have a copy of this in staging sometimes.
ndrei has joined #ruby
<sdegutis> I wrote this little tool for deploying: https://github.com/sdegutis/management
<apeiros> sdegutis: anyway, bottom line is: the common tools are cap, puppet, chef. I think the latter two are less about deploy and more about infrastructure management.
<apeiros> sdegutis: if you want to see how to do it with git+bash, let me know. I can gist it.
<ericwood> our ops guys like puppet a lot
<ericwood> one has a shirt, so you know it's good
<sdegutis> What do you think of Management?
<stephanepaul> :\ puppet...ewww
slash_nick has quit [Changing host]
slash_nick has joined #ruby
* apeiros takes a look
andrewjanssen has joined #ruby
<stephanepaul> you can also use docker
Soda has joined #ruby
<apeiros> sdegutis: hehe, I've seen this code before: https://github.com/sdegutis/management/blob/master/lib/ext/fog.rb
<sdegutis> I stole that.
<apeiros> or rather, very similar code
nettoweb has joined #ruby
Tricon has joined #ruby
cndiv has quit [Ping timeout: 272 seconds]
queequeg1 has joined #ruby
sectionme has quit [Ping timeout: 272 seconds]
Tomasso has quit [Ping timeout: 246 seconds]
jbueza has joined #ruby
<apeiros> sdegutis: looks sensible
hiyosi has joined #ruby
<sdegutis> So, why does it have only 3 stars?
oivoodoo has quit [Remote host closed the connection]
<apeiros> you lack PR? :)
<sdegutis> orite
<sdegutis> Hey guys, star Management.
rippa has joined #ruby
ohwhoa has quit [Quit: woah!]
spider-mario has joined #ruby
ppinto has joined #ruby
<sdegutis> I wrote it after trying https://github.com/brandonhilkert/fucking_shell_scripts and being utterly confused by its implicit rules.
hiyosi has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
emacster has joined #ruby
starkhalo has joined #ruby
<emacster> Hi everyone
tectonic has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
eivindml has joined #ruby
oivoodoo has joined #ruby
eivindml has quit [Max SendQ exceeded]
Ghis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<emacster> I've just started learning ruby(came from Java), and have finished the beginner's guide
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
timonv^ has quit [Remote host closed the connection]
<emacster> what are some resources to carry me beyond?
<ericwood> the pickaxe book is pretty great
<sdegutis> Pickaxe.
<sdegutis> Totally.
<emacster> great
timonv_ has joined #ruby
<ericwood> then start writing some sweet programs
eivindml has joined #ruby
<emacster> ericwood: not confident enough, want to delve more
<ericwood> just write some terrible terrible programs
<shevy> hehe
<ericwood> rip them apart, rewrite
<ericwood> it usually takes 5 iterations to get it right when you're starting out
<ericwood> but honestly actually writing it is the best way to learn!
<ericwood> roll up your sleeves, dig into the codes
Kricir has joined #ruby
<emacster> Pickaxe ruby from google returns some pragmatic programmer resource
<emacster> is it what i should look at?
<ericwood> yep
<ericwood> we all call it the pickaxe book because it has a cool pickaxe on the cover
<ericwood> Dave Thomas wrote it
<sdegutis> I have been rewriting my programs for 5 years. I think they are getting close to okay.
<shevy> emacster work through this here: https://pine.fm/LearnToProgram/chap_01.html the navigation is a bit broken right now, but when you click through it all, you will be able to answer this question at least: "When and how to use yield in Ruby?"
<apeiros> emacster: if nobody said it yet - eloquent ruby
<apeiros> emacster: because frankly - forget all patterns you learned from java and learn ruby from ground up. will yield much better code.
<emacster> apeiros: is it for people who already know programming?
corehook has quit [Remote host closed the connection]
bMalum has joined #ruby
<emacster> apeiros: that's what i'm looking forward to
<apeiros> emacster: I'd say so
corehook has joined #ruby
jeremy04 has quit [Remote host closed the connection]
<emacster> apeiros: thanks, that's great
kiwnix has joined #ruby
<sdegutis> Just, never do ||foobar to get a boolean.
<sdegutis> Ever.
timonv_ has quit [Ping timeout: 246 seconds]
zorak8 has joined #ruby
<apeiros> because it won't give you one? :)
oivoodoo has quit [Remote host closed the connection]
<sdegutis> I mean !! sorry
<sdegutis> They look so similar.
<apeiros> oh
<apeiros> now I'm curious - why not?
joonty has quit [Quit: Leaving]
<sdegutis> Needing a boolean is fragile and unidiomatic.
troulouliou_dev has joined #ruby
<sdegutis> Rely on Ruby truthiness.
troulouliou_dev has quit [Changing host]
troulouliou_dev has joined #ruby
Takle has joined #ruby
hiyosi has joined #ruby
<apeiros> sdegutis: IMO still better than leaking internals
<sdegutis> No, just document that it returns truthy.
<emacster> thanks everyone for the suggestions
emacster has left #ruby [#ruby]
LangeOortjes has joined #ruby
jeremy04 has joined #ruby
<apeiros> sdegutis: we have a different opinion then :)
<apeiros> sdegutis: if I call a method which returns truthy, I don't want to have to sanitize it in order to not accidentally hold on to objects
<shevy> you guys should show real code rather than having an abstract discussion
<sdegutis> Sure, just be prepared to have !! break once in a while when you deal with custom objects that overload it.
<sdegutis> Sure.
<apeiros> sdegutis: yeah, I switched to ?: since it's become a method
<apeiros> sdegutis: but IMO !! would still be valid
<sdegutis> When did ?: become a method?
benzrf|offline is now known as benzrf
nhhagen_ has joined #ruby
jeremy04 has quit [Remote host closed the connection]
j_mcnally has joined #ruby
bwilson has joined #ruby
mikepack has joined #ruby
<apeiros> sdegutis: no, ! became a method
mark_locklear has quit [Ping timeout: 245 seconds]
<apeiros> >> class Foo; def !; true; end; end; !Foo.new
<eval-in_____> apeiros => true (https://eval.in/194686)
<apeiros> >> class Foo; def !; self; end; end; !!!!Foo.new
<eval-in_____> apeiros => #<Foo:0x40c99b78> (https://eval.in/194687)
<apeiros> more fun :)
<apeiros> and that change happened in 1.9
nhhagen has quit [Ping timeout: 260 seconds]
gsd has joined #ruby
muhammadn has quit [Ping timeout: 246 seconds]
claymore has quit [Quit: Leaving]
tkuchiki has joined #ruby
<apeiros> sdegutis: certainly an interesting article. but IMO its statement is not to not use !!. or rather, not using !! would not have helped with his basic issue.
<j_mcnally> They said i could be anything, so i became a method.
nhhagen_ has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
<apeiros> j_mcnally: and what's your subject?
<sdegutis> Mommy, when I grow up, I want to be the concept of referentiality!
* apeiros is an exception
ixti has quit [Ping timeout: 272 seconds]
<apeiros> :-p
<sdegutis> Okay dear, just make sure to study hard and get good grades, and also invent a way to convert your inherent nature.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> nah, not necessary.
<apeiros> it's sufficient if I have a message
<apeiros> and for the backtrace, you can ask the NSA :D
<momomomomo> ~_~ +1 list
bricker`LA has quit [Quit: leaving]
RichardLitt has joined #ruby
<apeiros> ah damn, I like that kind of humor. but seems I'm the only one :(
<apeiros> so… decisions have to be made. should I work or play zelda, wind waker?
maletor_ has joined #ruby
bking39116 has quit [Quit: bking39116]
mleone has joined #ruby
Xeago has quit [Remote host closed the connection]
BadQuanta has joined #ruby
sdegutis has quit [Quit: Leaving...]
krisquigley has quit [Remote host closed the connection]
RichardLitt has quit [Quit: RichardLitt]
lkba has quit [Ping timeout: 272 seconds]
thejoecarroll has joined #ruby
<shevy> continue on coding for your games!
lkba has joined #ruby
momomomomo has quit [Quit: momomomomo]
Takle has quit [Remote host closed the connection]
Akuma has joined #ruby
anarang has quit [Quit: Leaving]
Takle has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
maestrojed has joined #ruby
kiwnix has quit [Quit: Leaving]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
voodoofish4301 is now known as voodoofish430
ixti has joined #ruby
Wolland has joined #ruby
alex88 has quit [Quit: Leaving...]
troyready has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
anaeem1_ has joined #ruby
niklas123 has joined #ruby
wallerdev has joined #ruby
ooloo has quit [Read error: Connection reset by peer]
rezzack has joined #ruby
Advocation has joined #ruby
snath has joined #ruby
<Lewix> apeiros: zelda is the best game I have ever playes
<Lewix> played*
ooloo has joined #ruby
ooloo has quit [Read error: Connection reset by peer]
* Lewix is reminiscing about his time playing N64
krisquigley has joined #ruby
<apeiros> the n64 games are available on the wii/wii U for the virtual machine :)
<apeiros> I only got me the first 3 zeldas for that, though
max06 has quit [Ping timeout: 272 seconds]
MatthewsFace has joined #ruby
<Lewix> zelda on N64 was a brilliant game. I wonder if the newest zelda are as good
Advocation has quit [Client Quit]
earfin_ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
DaniG2k_ has quit [Quit: leaving]
awc737 has joined #ruby
momomomomo has quit [Client Quit]
krisquigley has quit [Remote host closed the connection]
HelperW_ has joined #ruby
yfeldblum has joined #ruby
<benzrf> Lewix: there were 2 n64 zleda
<Lewix> benzrf: ocarina of time
Advocation has joined #ruby
gsd has joined #ruby
<apeiros> majoras mask was the other one?
liam__ has joined #ruby
zekriad has joined #ruby
earfin has quit [Ping timeout: 246 seconds]
<apeiros> one day I have to play all the GBA, 3DS, N64 and GC zeldas
icarus has joined #ruby
<Lewix> "Even after nine years, Ocarina of Time holds up surprisingly well, offering a lengthy and often-amazing adventure".[34] Edge magazine commented in its 2007 "The 100 Best Games" special issue, "[Ocarina of Time] was an astonishing achievement in 1998 and, almost a decade later, still serves as the landmark for its successors and 3D adventure games in general...
<apeiros> zelda & metroid are my all time favorite game series I think
nhhagen has joined #ruby
kireevco has quit [Quit: Leaving.]
<apeiros> though I really hate how they basically assassinated samus' character in "other m" >:-(
bruno- has quit [Ping timeout: 240 seconds]
patrick99e99 has joined #ruby
HelperW has quit [Ping timeout: 272 seconds]
ep3static has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
j4rh3rd has quit [Ping timeout: 260 seconds]
HelperW_ has quit [Ping timeout: 240 seconds]
<liam__> System.out.println("test")[-
<liam__> Wrong window
mikepack has quit [Remote host closed the connection]
lukeholder has quit [Quit: Textual IRC Client: www.textualapp.com]
ep3static has quit [Client Quit]
<canton7> someone's just starting java :P
ep3static has joined #ruby
sailias1 has joined #ruby
sailias has quit [Read error: Connection reset by peer]
<shevy> this makes me sad
Takle has quit [Remote host closed the connection]
<shevy> why did they have to make java so verbose?
SCHAAP137 has joined #ruby
<Lewix> liam__: java?
<Lewix> shevy: for maincraft
timgauthier is now known as timgauthier_isaw
<liam__> Lewix: yeah
<canton7> writing to the console is pretty rare in java - no need for it to be terse :P
timgauthier_isaw is now known as timgauthier
choke has quit [Read error: Connection reset by peer]
<Lewix> shevy: to justify the 2 billion pay fay
<Lewix> day*
<shevy> this minecraft is written in java?
<Lewix> yup
sdegutis has joined #ruby
tectonic has quit []
<sdegutis> How do you do partials with Slim?
choke has joined #ruby
shinobi_one has joined #ruby
<eam> if you think that's a verbose example you haven't seen much java
compAz has joined #ruby
sectionme has joined #ruby
jottr has joined #ruby
BTRE has quit [Ping timeout: 272 seconds]
bMalum has quit [Quit: bMalum]
stephanepaul has quit [Quit: stephanepaul]
compAz has left #ruby [#ruby]
W0rmDr1nk has quit [Ping timeout: 245 seconds]
compAz has joined #ruby
mikepack has joined #ruby
timonv_ has quit [Remote host closed the connection]
sdegutis has quit [Client Quit]
compAz has left #ruby [#ruby]
<shevy> does C have namespaces actually?
jeremy04 has joined #ruby
AxonetBE has joined #ruby
jeremy04 has quit [Remote host closed the connection]
kamilc__ has quit [Quit: Leaving...]
<Lewix> shevy: does Ruby have namespaces?
<eam> shevy: not in the sense you mean, but there is scope
mocfive has joined #ruby
<ep3static> eam: Cocoa is pretty verbose too: -willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
<ep3static> -gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:
<ep3static> -initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:
skammer has quit [Quit: WeeChat 1.0]
<Lewix> eam: and we include libraries like we do with Ruby
skammer has joined #ruby
aspiers has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Remote host closed the connection]
hellangel7 has quit [Read error: Connection reset by peer]
<eam> unlike Ruby, C can scope variables to blocks
sectionme has quit [Ping timeout: 255 seconds]
muhammadn has joined #ruby
hellangel7 has joined #ruby
<shevy> Lewix yeah
<Lewix> eam: what abou Java, I can't remember
<eam> { int a; } // automatic garbage collection of the stack variable when braces end
mocfive has quit [Remote host closed the connection]
<eam> I don't really do java
<shevy> it shows eam
<shevy> your example is way too short
<Lewix> lol
mocfive has joined #ruby
elstif has quit [Quit: Leaving.]
<eam> IntegerFactoryFactory
<eam> I can't even lampoon java properly
<apeiros> IntegerFactoryIndustry
arup_r has joined #ruby
<ep3static> AbstractSingletonProxyFactoryBean
<eam> I'm that out of touch
mikepack has quit [Remote host closed the connection]
<shevy> guys, when exactly would one want to use "extend self" in a module?
oivoodoo has joined #ruby
sleepee has quit [Quit: Leaving]
<apeiros> shevy: when you don't know how to use module_function
<apeiros> (or follow avdi's argumentation in favor of extend self)
mocfive_ has joined #ruby
mocfive has quit [Read error: Connection reset by peer]
<shevy> this keeps on tripping me up
rgcouk has joined #ruby
<shevy> I am beginning to believe the number one reason for using extend self is laziness
<apeiros> shevy: basically when you want to do what modules like Kernel or Math do. allowing the use of Math.sin(x) and include Math; sin(x)
skammer has quit [Client Quit]
lukevinc has joined #ruby
<rgcouk> Evening :D
AxonetBE has quit [Quit: AxonetBE]
<shevy> right
mtncode has joined #ruby
<shevy> but you get the same with module_function or?
tier has joined #ruby
<eam> am I alone in thinking rpsec syntax is crazy confusing and obfuscated?
<eam> rspec even
<shevy> I have a few old modules that are pretty large and I no longer trust them when they have extend self
<shevy> how does rspec look
<shevy> and why must I think of bacon suddenly
<shinobi_one> rspec is sexy
oivoodoo has quit [Remote host closed the connection]
<eam> test/unit I understand, it works like every other language
<shevy> RSpec.describe Order do
<shevy> it "sums the prices of its line items" do
<shevy> omg so many extra things to learn
lukevinc has quit [Client Quit]
aarkerio has joined #ruby
bMalum has joined #ruby
mikeg has joined #ruby
<shinobi_one> it's contextual, have you ever done behavior driven development? like cucumber in ruby? or jbehave in java?
<shevy> I bet jbehave is the most verbose solution of them all
<shinobi_one> actually it's not that bad lol
<eam> I've used a lot of DSLs and they're universally terrible
<shinobi_one> minitest with spec DSL is sexy too
<shevy> @Given("a stack")
<shevy> public void aStock(double treshold) {
<shevy> cool
klmlfl has quit [Remote host closed the connection]
<shevy> java even has @
mikeg has quit [Remote host closed the connection]
<eam> shevy: yeah but let someone explain what it does
<shevy> it kinda looks like those python decorators
timgauthier is now known as timgauthier_isaw
BTRE has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skammer has joined #ruby
memph1s has quit [Quit: I couldn't come up with quit message :(]
memph1s has joined #ruby
mtncode has quit [Ping timeout: 258 seconds]
cndiv has joined #ruby
mikecmpbll has quit [Ping timeout: 272 seconds]
<shevy> this makes me even sadder
mikeg has joined #ruby
wallerdev has quit [Quit: wallerdev]
<shevy> "Annotations themselves may be annotated"
<shevy> @Retention(RetentionPolicy.RUNTIME)
<shevy> @Target({ElementType.METHOD})
felipecvo has joined #ruby
<shevy> public @interface Tweezable {}
<shevy> so it is not enough to be verbose
<shevy> it is not enough to have types
<shevy> no, you also need extra annotations for that extra superpowers
fsapo has joined #ruby
<aarkerio> hi! Is there a way to "intercept" File.write with $stdout ? I tried:
<aarkerio> saved = $stdout = StringIO.new; File.open("/tmp/whatever.txt", 'w', 0666) do |f| f.write('foo') end
<apeiros> eam: no, you're not alone in that (rspec)
<shevy> perhaps I could build a whole program through annotations by themselves
carraroj has joined #ruby
<apeiros> eam: I do like DSLs. but in the case of rspec, I don't see it adding any value, but costing tremendously.
perrier has quit [Remote host closed the connection]
<eam> aarkerio: guessing #reopen?
masolino has quit [Quit: Lost terminal]
<apeiros> aarkerio: hm? you're not writing to stdout. you're writing to the file. maybe I don't get your question, though…
perrier has joined #ruby
<apeiros> aarkerio: also `saved = $stdout = StringIO.new` assigns the StringIO.new to saved too. from the name of the var I'd guess that that's not what you intended.
momomomomo has joined #ruby
blackmes1 has joined #ruby
krisquigley has joined #ruby
AndChat| has joined #ruby
fantazo has joined #ruby
shinobi_one_ has joined #ruby
momomomomo has quit [Client Quit]
shinobi_one has quit [Ping timeout: 272 seconds]
shinobi_one_ is now known as shinobi_one
<aarkerio> I have a script that save some info into a file, all of it very basic File.write('foo'), but I need to test the script without actually using the filesystem
dda has joined #ruby
carraroj has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
michaeldeol has joined #ruby
<apeiros> aarkerio: use a stubbing/mocking lib then. or fakefs.
liam__ has quit [Quit: Page closed]
Wolland_ has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesixes has joined #ruby
kaspergrubbe has joined #ruby
momomomomo has joined #ruby
gattie has joined #ruby
pietr0 has joined #ruby
slester has joined #ruby
bMalum has quit [Quit: bMalum]
Wolland has quit [Ping timeout: 245 seconds]
momomomomo has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 245 seconds]
adrenaline_ has quit [Remote host closed the connection]
<aarkerio> ok, thx!
timgauthier has joined #ruby
timgauthier is now known as timgauthier_isaw
Guest86026 has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
freerobby has joined #ruby
linojon has quit [Quit: linojon]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ghr has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
timonv_ has joined #ruby
nettoweb has joined #ruby
poguez_ has joined #ruby
Spami has quit [Read error: Connection reset by peer]
Spami has joined #ruby
aarkerio has quit [Quit: Verlassend]
max06 has joined #ruby
timgauthier_isaw is now known as timgauthier
melik_ has joined #ruby
SouL has joined #ruby
Tomme has quit [Ping timeout: 245 seconds]
perrier has quit [Remote host closed the connection]
rbenv has joined #ruby
chth0n has quit [Ping timeout: 272 seconds]
max06 has quit [Client Quit]
adrenaline_ has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
perrier has joined #ruby
jay has joined #ruby
failshell has quit []
mocfive_ has quit [Remote host closed the connection]
eshy has quit [*.net *.split]
lyuzashi has quit [*.net *.split]
cibs has quit [*.net *.split]
jay is now known as rubyonrails
lyuzashi has joined #ruby
cibs has joined #ruby
eshy has joined #ruby
mocfive has joined #ruby
SouL has quit [*.net *.split]
perrier has quit [*.net *.split]
gattie has quit [*.net *.split]
Wolland_ has quit [*.net *.split]
threesixes has quit [*.net *.split]
icarus has quit [*.net *.split]
corehook has quit [*.net *.split]
eivindml has quit [*.net *.split]
Kricir has quit [*.net *.split]
rippa has quit [*.net *.split]
paulfm has quit [*.net *.split]
InhalingPixels has quit [*.net *.split]
doodlehaus has quit [*.net *.split]
cocotton has quit [*.net *.split]
phoo1234567 has quit [*.net *.split]
andrewh has quit [*.net *.split]
dumdedum has quit [*.net *.split]
stef_204 has quit [*.net *.split]
Cecen has quit [*.net *.split]
badhatter has quit [*.net *.split]
bjornar has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
jimmyhoughjr has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
psyprus has quit [*.net *.split]
Kruppe has quit [*.net *.split]
xiphias has quit [*.net *.split]
jayne has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
Urocyon has quit [*.net *.split]
zwischenzug has quit [*.net *.split]
PhilK has quit [*.net *.split]
thoolihan has quit [*.net *.split]
mleone has quit [Remote host closed the connection]
rkalfane has joined #ruby
SouL has joined #ruby
gattie has joined #ruby
Wolland_ has joined #ruby
icarus has joined #ruby
threesixes has joined #ruby
eivindml has joined #ruby
Kricir has joined #ruby
rippa has joined #ruby
paulfm has joined #ruby
corehook has joined #ruby
cocotton has joined #ruby
phoo1234567 has joined #ruby
InhalingPixels has joined #ruby
doodlehaus has joined #ruby
dumdedum has joined #ruby
andrewh has joined #ruby
badhatter has joined #ruby
stef_204 has joined #ruby
bjornar has joined #ruby
Cecen has joined #ruby
Kilo`byte has joined #ruby
jimmyhoughjr has joined #ruby
zwischenzug has joined #ruby
psyprus has joined #ruby
Sou|cutter has joined #ruby
Kruppe has joined #ruby
xiphias has joined #ruby
jayne has joined #ruby
flagg0204 has joined #ruby
Urocyon has joined #ruby
PhilK has joined #ruby
thoolihan has joined #ruby
adrenaline_ has quit [*.net *.split]
mikeg has quit [*.net *.split]
bwilson has quit [*.net *.split]
spider-mario has quit [*.net *.split]
andrewjanssen has quit [*.net *.split]
britneywright has quit [*.net *.split]
apeiros has quit [*.net *.split]
pu22l3r has quit [*.net *.split]
AlSquire has quit [*.net *.split]
djstorm has quit [*.net *.split]
echevemaster has quit [*.net *.split]
amystephen has quit [*.net *.split]
BraddBitt has quit [*.net *.split]
easier has quit [*.net *.split]
Rollabunna has quit [*.net *.split]
AtumT has quit [*.net *.split]
kedare has quit [*.net *.split]
codecop has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
braincrash has quit [*.net *.split]
edwardly has quit [*.net *.split]
Azure has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
Guest37038 has quit [*.net *.split]
webguynow has quit [*.net *.split]
Smujo has quit [*.net *.split]
francisfish has quit [*.net *.split]
synergyz has quit [*.net *.split]
zz_karupa has quit [*.net *.split]
iamayam has quit [*.net *.split]
amundj_ has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
elfo222 has quit [*.net *.split]
UKn0Me has quit [*.net *.split]
vt102 has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
nuck has quit [*.net *.split]
stnly has quit [*.net *.split]
mgorbach has quit [*.net *.split]
emdub has quit [*.net *.split]
jxport_ has quit [*.net *.split]
Luyt has quit [*.net *.split]
kies has quit [*.net *.split]
rubyonrails is now known as rubyonrailed
Sht0 has joined #ruby
Ecliptic has joined #ruby
Ecliptic has left #ruby [#ruby]
adrenaline_ has joined #ruby
spider-mario has joined #ruby
AtumT has joined #ruby
amystephen has joined #ruby
Rollabunna has joined #ruby
mikeg has joined #ruby
echevemaster has joined #ruby
AlSquire has joined #ruby
apeiros has joined #ruby
codecop has joined #ruby
braincrash has joined #ruby
britneywright has joined #ruby
djstorm has joined #ruby
pu22l3r has joined #ruby
kedare has joined #ruby
andrewjanssen has joined #ruby
BraddBitt has joined #ruby
bwilson has joined #ruby
easier has joined #ruby
edwardly has joined #ruby
Azure has joined #ruby
Luyt has joined #ruby
ItSANgo has joined #ruby
Smujo has joined #ruby
Guest37038 has joined #ruby
UKn0Me has joined #ruby
KnownSyntax has joined #ruby
Ulrike_Rayne has joined #ruby
webguynow has joined #ruby
mgorbach has joined #ruby
elfo222 has joined #ruby
amundj_ has joined #ruby
jxport_ has joined #ruby
emdub has joined #ruby
nuck has joined #ruby
kies has joined #ruby
vt102 has joined #ruby
zz_karupa has joined #ruby
synergyz has joined #ruby
stnly has joined #ruby
iamayam has joined #ruby
francisfish has joined #ruby
braincrash has quit [Max SendQ exceeded]
webguynow has quit [Max SendQ exceeded]
KnownSyntax has quit [Max SendQ exceeded]
kaspergrubbe has quit [*.net *.split]
fsapo has quit [*.net *.split]
memph1s has quit [*.net *.split]
ep3static has quit [*.net *.split]
awc737 has quit [*.net *.split]
earfin_ has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
hamakn has quit [*.net *.split]
Photism_ has quit [*.net *.split]
GGMethos has quit [*.net *.split]
Stalkr_ has quit [*.net *.split]
zettam has quit [*.net *.split]
WillAmes has quit [*.net *.split]
bayed has quit [*.net *.split]
marr has quit [*.net *.split]
LiohAu has quit [*.net *.split]
oso96_2000 has quit [*.net *.split]
luckyruby has quit [*.net *.split]
sambao21 has quit [*.net *.split]
Synthead has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
helpa has quit [*.net *.split]
jarjar_prime has quit [*.net *.split]
ionelmc has quit [*.net *.split]
ged has quit [*.net *.split]
Heartbroken has quit [*.net *.split]
malcolmva has quit [*.net *.split]
Nahra has quit [*.net *.split]
ClarusCogitatio has quit [*.net *.split]
machete has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
Davey has quit [*.net *.split]
HashNuke has quit [*.net *.split]
drizz has quit [*.net *.split]
slash_nick has quit [*.net *.split]
manacit has quit [*.net *.split]
perrier has joined #ruby
irk has quit [*.net *.split]
Alina-malina has joined #ruby
muhammadn has quit [Ping timeout: 260 seconds]
KnownSyntax has joined #ruby
kaspergrubbe has joined #ruby
fsapo has joined #ruby
ep3static has joined #ruby
awc737 has joined #ruby
memph1s has joined #ruby
earfin_ has joined #ruby
tkuchiki has joined #ruby
hamakn has joined #ruby
Photism_ has joined #ruby
Stalkr_ has joined #ruby
zettam has joined #ruby
GGMethos has joined #ruby
WillAmes has joined #ruby
oso96_2000 has joined #ruby
luckyruby has joined #ruby
bayed has joined #ruby
LiohAu has joined #ruby
sambao21 has joined #ruby
marr has joined #ruby
Synthead has joined #ruby
helpa has joined #ruby
yxhuvud has joined #ruby
jarjar_prime has joined #ruby
ionelmc has joined #ruby
ged has joined #ruby
malcolmva has joined #ruby
Heartbroken has joined #ruby
ClarusCogitatio has joined #ruby
machete has joined #ruby
amitchellbullard has joined #ruby
Davey has joined #ruby
HashNuke has joined #ruby
drizz has joined #ruby
slash_nick has joined #ruby
manacit has joined #ruby
irk has joined #ruby
DroidBurgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Nahra has joined #ruby
Paul_McFreely has quit [Quit: Computer has gone to sleep.]
andrewjanssen has quit [Quit: Leaving...]
fredsir has quit [Ping timeout: 272 seconds]
webguynow has joined #ruby
Paul_McFreely has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jokke> don't know if this is the right channel, but i'm having some trouble setting up octopress with jekyll-assets (sprockets for jekyll) and i'm wondering if anyone here could help me out. My problem: image paths are set correctly (with cache busters and all) but they're not put into the assets/ directory.
16WAAJOWC has joined #ruby
18VAAZA7K has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
mocfive has quit [Ping timeout: 272 seconds]
fredsir has joined #ruby
braincrash has joined #ruby
bMalum has joined #ruby
ValicekB has quit [Ping timeout: 260 seconds]
Smujo_ has quit [Ping timeout: 260 seconds]
Smujo has quit [Ping timeout: 246 seconds]
m8 has joined #ruby
ixti has joined #ruby
britneywright has quit [Read error: Connection reset by peer]
britneywright has joined #ruby
wallerdev has joined #ruby
fabrice31 has joined #ruby
corehook has quit [Remote host closed the connection]
corehook has joined #ruby
Jarboe has joined #ruby
benzrf is now known as benzrf|offline
bMalum has quit [Client Quit]
krisquigley has quit [Remote host closed the connection]
andrewlio has joined #ruby
<wallerdev> morning
<jokke> evening
<wallerdev> whats up
abdulsattar has joined #ruby
b00stfr3ak has quit [Quit: leaving]
b00stfr3ak has joined #ruby
giorni has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
mailo_ has joined #ruby
roolo has quit [Read error: Connection reset by peer]
giorni has left #ruby [#ruby]
linojon has joined #ruby
tkuchiki has quit [Remote host closed the connection]
ValicekB has joined #ruby
Jackneill has joined #ruby
elaptics is now known as elaptics`away
shinobi_one has quit [Quit: shinobi_one]
zz_jrhorn424 is now known as jrhorn424
timgauthier is now known as timgauthier_isaw
pozican has joined #ruby
nanoyak has joined #ruby
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jarboe has quit [Ping timeout: 240 seconds]
<pozican> Is there a way to investigate what attributes an object has? My instinct is that I'd need to convert it to a hash then look at the datastructure from there
shinobi_one has joined #ruby
benzrf|offline is now known as benzrf
<jhass> pozican: you mean what instance variables?
Jake232 has joined #ruby
<pozican> I'm not sure, i'll find out what it is
mailo_ has quit [Quit: Leaving...]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shinobi_one has quit [Client Quit]
bruno- has joined #ruby
rezzack has quit [Quit: Leaving.]
<pozican> jhass: I'm just getting returned an object from this method, and I know I can use obj.name, but there must be more attributes than that
AndChat| has quit [Ping timeout: 240 seconds]
<jhass> so what methods
<pozican> well it's not ruby core, it's in fog
<pozican> I guess I could look through fog
mikepack has joined #ruby
nanoyak has quit [Client Quit]
muhammadn has joined #ruby
<dda> pozican: You could try to use the `pp` method to pretty print your object.
<jhass> 1) call .class on it to find out its type and look up the docs 2) call .methods on it to find all methods 3) get hold of that object in a pry session and run ls obj inside pry
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
enriclluelles has quit [Remote host closed the connection]
nanoyak has joined #ruby
<pozican> dda: jhass seitensei thanks
gvenkat has joined #ruby
Nieralyte has joined #ruby
nhhagen has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
weeb1e has joined #ruby
sectionme has joined #ruby
HelperW_ has joined #ruby
Soda has quit [Remote host closed the connection]
abdulsattar has quit [Ping timeout: 272 seconds]
centrx has joined #ruby
vallieres_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_lexjm has joined #ruby
weeb1e has quit [Client Quit]
weeb1e has joined #ruby
chrishough has joined #ruby
sectionme has quit [Ping timeout: 245 seconds]
TorpedoSkyline has joined #ruby
ctp has joined #ruby
msmith__ has joined #ruby
anildigital has quit [Changing host]
anildigital has joined #ruby
bruno- has quit [Ping timeout: 258 seconds]
jfisk87 has joined #ruby
HelperW_ has quit [Ping timeout: 272 seconds]
mikepack has quit [Remote host closed the connection]
stephanepaul has joined #ruby
jfisk87 has quit [Client Quit]
omosoj has joined #ruby
carraroj has joined #ruby
niklas123 has quit [Quit: Leaving]
moritzs has joined #ruby
ramfjord has joined #ruby
mikecmpbll has joined #ruby
codeurge has joined #ruby
mtncode has joined #ruby
moritzs has quit [Max SendQ exceeded]
bruno- has joined #ruby
robh71 has joined #ruby
jrhorn424 is now known as zz_jrhorn424
endash has quit [Read error: Connection reset by peer]
endash has joined #ruby
qwyeth has joined #ruby
bwilson has quit [Read error: Connection reset by peer]
ooloo has joined #ruby
shackleford has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 245 seconds]
bwilson has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
agjacome has joined #ruby
mtncode has quit [Ping timeout: 240 seconds]
zz_jrhorn424 is now known as jrhorn424
earfin_ has quit [Ping timeout: 255 seconds]
larissa has quit [Quit: Leaving]
Jetchisel has joined #ruby
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
shock_one_ has joined #ruby
mark_locklear has joined #ruby
dumdedum has quit [Ping timeout: 258 seconds]
devoknievo_ has joined #ruby
BadQuanta has quit [Ping timeout: 272 seconds]
jrhorn424 is now known as zz_jrhorn424
bruno- has quit [Read error: Connection reset by peer]
msmith__ has quit [Remote host closed the connection]
Xeago has joined #ruby
timonv_ has joined #ruby
IceDragon has joined #ruby
bruno- has joined #ruby
ep3static has quit [Quit: WeeChat 0.4.2]
tastycode has joined #ruby
timonv_ has quit [Remote host closed the connection]
krisquigley has joined #ruby
<tastycode> When I use up a lot of memory in a new thread, and i’m sure that i’m totally done with any memory i used in that thread.. how do i get that memory back? http://pastebin.com/xfV7p31Y
existensil_ has quit [Ping timeout: 260 seconds]
Xeago has quit [Read error: Connection reset by peer]
vallieres_ has joined #ruby
<tastycode> GC.start doesn’t seem to do anything, and there is no explicit free()
vallieres_ has quit [Max SendQ exceeded]
<centrx> tastycode, Find the variables for your big data structures
<centrx> tastycode, Set them = nil when you want to clear the memory they use
emocakes has quit []
<centrx> tastycode, GC determines what memory to clear based on how many references there are to it (> 0)
failshell has joined #ruby
<centrx> tastycode, Setting the referent variable(s) to nil thus clears the memory references and so the GC clears that memory
AlSquire has quit [Quit: This computer has gone to sleep]
einarj has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
timgauthier has joined #ruby
bruno- has joined #ruby
<tastycode> centrx: thanks, http://pastebin.com/95wP3dY4 So , that helps a bit… now i am down about 10mb in the example.. is GC.start asynchronous? is it actually going to pretty soon free all those ostructs and i’m just checking too early?
awc737 has joined #ruby
doritostains has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
AlSquire has quit [Client Quit]
<centrx> tastycode, Usually you don't really need to call GC.start as it runs automatically pretty well
klmlfl has joined #ruby
zz_jrhorn424 is now known as jrhorn424
Lewix has quit [Remote host closed the connection]
<centrx> tastycode, GC.start is synchronous
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby
<tastycode> I wish i could do something like “free_everything { something_really_expensive } “
<centrx> tastycode, before thread mem: 7712768
<centrx> tastycode, add another one I guess it doubles it
<tastycode> what do you mean? “add another one” ?
havenwood has joined #ruby
<centrx> 7MB isn't that much, I think that's pretty expected with an interpreted language/threading/creating 10,000,000 objects
muhammadn has quit [Ping timeout: 260 seconds]
<centrx> tastycode, join
bruno- has joined #ruby
<centrx> tastycode, it suspends the current execution, and starts a new thread, no?
<centrx> tastycode, so you start off with 7MB, then you start a new thread, and it almost doubles the memory usage
vallieres_ has joined #ruby
<centrx> two threads vs one thread
slester has quit [Quit: *poof*]
<centrx> though one is paused
<tastycode> Yeah, but this is a microcosm for a bigger problem with a scheduling library … in the real world i’m using rufus-scheduler and doing a whole bunch of complex business logic … in reality, this is 290mb, going up to 350mb and it never seems to free.. infinitely until the worker runs out of memory
goganchic has joined #ruby
goganchic has quit [Max SendQ exceeded]
<tastycode> it makes sense now that the memory is doubled, .. but that doesn’t get me to where i’m using less memory
<centrx> tastycode, right, so you need to find more variables to nilify, maybe with changing some of the structure of your program
Earl2day has joined #ruby
<centrx> After all, a class makes it easy to implement something like: free_everything { something_really_expensive }
thams has joined #ruby
goganchic has joined #ruby
<Earl2day> hey there, is there a way to force the order in which bundle install installs things? It doesnt follow the order of gems written in the Gemfile
goganchic has quit [Max SendQ exceeded]
Tomme has joined #ruby
killerbunny_ has joined #ruby
<centrx> tastycode, class instance gets constructed, then you nilify it along with everything inside it
<tastycode> centrx: can you elaborate?
goganchic has joined #ruby
goganchic has quit [Max SendQ exceeded]
killerbunny_ has left #ruby [#ruby]
<tastycode> just setting the instance to nil? wait.. because the mark and sweep follows references, if i kill the root reference.. does it kill all the children?
<centrx> tastycode, A class encapsulates a set of instance variables, whose memory is cleared when the cl
marr has quit [Ping timeout: 255 seconds]
<tastycode> the instance or the class?
<centrx> I'm not sure what your setup is with roots and children
<centrx> the instance
<tastycode> right
Photism_ has quit [Quit: Leaving]
<centrx> clearing references to an instance, will clear its memory
<centrx> You could even have a class called MemoryDome
<centrx> that includes everything you want to clear, but might not be good design
<tastycode> yeah.. but in a deep object graph .. i would have to couple everything to memorydome
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fantnn has joined #ruby
Nieralyte has quit []
anildigital is now known as zz_anildigital
Caius has joined #ruby
peckermanzzz has joined #ruby
soulcake has joined #ruby
<centrx> I don't know what your app really looks like
Caius has quit [Changing host]
soulcake has joined #ruby
Caius has joined #ruby
soulcake has quit [Changing host]
<centrx> tastycode, if you nilify the root of a tree, and the tree is only referenced through the root, that would clear the entire tree
mikepack has joined #ruby
Mekkis has joined #ruby
yfeldblum has joined #ruby
<tastycode> quick ? if i did Post.all.each {|p| p.something_expensive} would i need to explicitly set the p to nil to free it or is that implied by the block?
Wolland_ has quit []
fantnn has left #ruby [#ruby]
michaeldeol has joined #ruby
<centrx> tastycode, implied by the block
JoshGlzBrk has joined #ruby
threesixes has quit [Remote host closed the connection]
<tastycode> Let’s say i did Post.all.each {|p| ExceptionLibrary.rescue(“procesing post: #{p.id}”) { p.something_expensive }} , does the extra internal clojure create a stronger reference to “p” ?
<centrx> no none of it persists past the block
sprihodko has joined #ruby
<banister> tastycode lol @ "clojure" ;)
<tastycode> sorry, muscle memory
abdulsattar has joined #ruby
<centrx> but if you do: x = []; Post.all.each {|p| x << p }
<centrx> suddenly all the p's are attached to x and depend on the life of x
jkline has joined #ruby
<tastycode> well clearly, that would hold the reference outside
<centrx> ok right
andrewjanssen has joined #ruby
michaeldeol has quit [Client Quit]
<tastycode> Gaf , i gotta find this memory leak… thanks for your help
BadQuanta has joined #ruby
rdark has quit [Quit: leaving]
yfeldblum has quit [Ping timeout: 272 seconds]
timonv_ has joined #ruby
momomomomo has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
troulouliou_dev has quit [Quit: Leaving]
zz_anildigital is now known as anildigital
fantnn has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeurge has quit [Quit: Sleep.]
wpp has joined #ruby
wpp has quit [Client Quit]
<centrx> tastycode, Usually I find this happens when things are attached to a class, such as a caching system
<centrx> tastycode, instances usually end up dying naturally
<tastycode> say more?
bwilson has quit [Ping timeout: 240 seconds]
<tastycode> like class variables?
mtncode has joined #ruby
<tastycode> or effectively class variables?
Azulinho has quit [Ping timeout: 245 seconds]
britneywright has joined #ruby
agent_white has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
mityaz has joined #ruby
mocfive has joined #ruby
elstif has joined #ruby
benzrf is now known as benzrf|offline
bwilson has joined #ruby
anildigital is now known as zz_anildigital
jkline has quit [Quit: jkline]
<tastycode> centrx: thanks!
elstif has quit [Client Quit]
zz_anildigital is now known as anildigital
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
yetanotherdave has joined #ruby
ldnunes has quit [Quit: Leaving]
ldnunes has joined #ruby
rgcouk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anildigital is now known as zz_anildigital
zz_anildigital is now known as anildigital
tier_ has joined #ruby
mtncode has quit [Ping timeout: 272 seconds]
yacks has quit [Ping timeout: 272 seconds]
kalusn has joined #ruby
kalusn has quit [Remote host closed the connection]
bayed has quit [Quit: Connection closed for inactivity]
sparrovv has joined #ruby
ctp has joined #ruby
shackleford has joined #ruby
jkline has joined #ruby
rippa has quit [Read error: Connection reset by peer]
jimmyhoughjr has quit [Read error: Connection reset by peer]
jkline has quit [Client Quit]
rippa has joined #ruby
shackleford has quit [Remote host closed the connection]
<shevy> centrx believes in the natural death of instances
ghr has joined #ruby
tier has quit [Ping timeout: 240 seconds]
shackleford has joined #ruby
<tastycode> so, eh.. i do this quite a bit, but it should be equivalent to an instance: class SomeCommand; def self.run(*args); new(*args).run; end; end
Luyt has left #ruby [#ruby]
ctp has quit [Client Quit]
<Hanmac> shevy do he also belives in the afterlife of instances? ;P
anildigital is now known as zz_anildigital
jeremy04 has joined #ruby
<havenwood> Hanmac: tough luck when your afterlife is garbage collected
<toretore> new euphemism for dying: he was garbage collected
<Hanmac> xDD
sectionme has joined #ruby
<tastycode> aww.. no one referred to him anymore.. so he just went away :(
shock_one_ has quit [Quit: Computer has gone to sleep.]
<Hanmac> toretore: internal ruby objects can have a Zombie type, but that one is not visible outside
vinky_ has quit [Ping timeout: 250 seconds]
<toretore> tastycode: soml :(
ghr has quit [Ping timeout: 258 seconds]
tylersmith has joined #ruby
timonv_ has quit [Remote host closed the connection]
hellangel7 has quit [Read error: Connection reset by peer]
rgcouk has joined #ruby
vinky has joined #ruby
easier has quit [Ping timeout: 246 seconds]
doodlehaus has quit [Remote host closed the connection]
zz_anildigital is now known as anildigital
sectionme has quit [Ping timeout: 245 seconds]
reset has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
keen__ has joined #ruby
<agent_white> ZOMBIES
benlieb has joined #ruby
bruno- has joined #ruby
<agent_white> Good afternoon folks. ^-^
<havenwood> agent_white: if only they knew in zombie movies that you just need to kill the parent process...
sevvie has joined #ruby
<havenwood> oh, zombies...
<havenwood> they're back!!
<agent_white> Hahah
tier_ has quit [Remote host closed the connection]
keen_ has quit [Ping timeout: 272 seconds]
formerlyLemons has joined #ruby
<formerlyLemons> hello?
<agent_white> I'm going to quote you on that one.
<formerlyLemons> yes, it's working!
<agent_white> No it is not. Test has failed. ABORTABORT
skammer has quit [Ping timeout: 260 seconds]
<formerlyLemons> I've never had any success on running irc through my school's server, but I guess the chromebooks they purchased this year don't have the same security dialogue
jottr has joined #ruby
michaeldeol has joined #ruby
shosti has joined #ruby
<toretore> no, they just have better surveillance capabilities. they *want* you to get through
<formerlyLemons> in fact, for them to edit the security script they'd need an IT guy proficient in linux, which isn't going to happen, they're windows junkies
<formerlyLemons> and possibly, yeah
<formerlyLemons> but I'm going to take it as it is for now
Aaaal has quit [Quit: Aaaal]
<arrubin> formerlyLemons: There are always web clients like IRCCloud.
shock_one_ has joined #ruby
<toretore> so i shouldn't mention that you're an al-qaida secret agent probably
doodlehaus has joined #ruby
<formerlyLemons> well, that there are. But for the most part, everything's blocked on this network
benlieb has quit [Read error: Connection reset by peer]
jheg has joined #ruby
bMalum has joined #ruby
rezzack has joined #ruby
sprihodko has quit [Quit: Lingo - http://www.lingoirc.com]
sinkensabe has joined #ruby
<jaygen> lol @toretore
krisquigley has quit [Remote host closed the connection]
<formerlyLemons> agreed @jaygen :P
bruno- has quit [Read error: Connection reset by peer]
<jaygen> welp, guess I'm on the list now.
<formerlyLemons> everyone's on the list by now
anildigital is now known as zz_anildigital
<jhass> formerlyLemons: lowendspirit.com + SOCKS proxy ftw ;)
<agent_white> Hi formerlyLemons' IT guy! /waves
cpruitt has joined #ruby
* formerlyLemons waves back to agent_white
momomomomo has quit [Quit: momomomomo]
jottr has quit [Ping timeout: 255 seconds]
<formerlyLemons> oh, and thanks jhass, I'll keep that in mind
mikepack has quit [Remote host closed the connection]
tier has joined #ruby
Earl2day has quit []
nanoyak has quit [Ping timeout: 240 seconds]
kedare has quit [Quit: WeeChat 0.4.1]
bricker`work has joined #ruby
<formerlyLemons> I'm actually kind of surprised by what these Chromebooks can do with web apps. Of course, if I had one I'd install Ubuntu instantly on it.
abdulsattar has quit [Ping timeout: 246 seconds]
<toretore> well that's probably why it works.. it probably uses an http <-> irc gateway
fschuindt has joined #ruby
<formerlyLemons> it's just what I'm comfortable with. Chromium's a cleancut OS, I'll give it that, but it's usefulness cuts off at a certain point where you need to go offline. And yeah, I was guessing that.
<toretore> though you can probably do straight tcp on it too i assume
<toretore> http kinda sucks, so i wouldn't want to be stuck with that
<fschuindt> Guys, I pushed a new gem version to RubyGems and yanked two old ones, but RubyGems.org is showing a even older version to download, what the?
asteve has joined #ruby
devoknievo_ has quit [Quit: Computer has gone to sleep.]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
timgauthier has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
slester has joined #ruby
ghr has joined #ruby
<bricker`work> fschuindt: is it a pre-release? Rubygems only shows those in the "All Versions" list or whatever
<havenwood> fschuindt: what gem?
momomomomo has joined #ruby
bruno- has joined #ruby
<fschuindt> bricker`work: yes, it is
xcv has quit [Remote host closed the connection]
timgauthier has joined #ruby
jottr has joined #ruby
michaeldeol has joined #ruby
AlSquire has joined #ruby
<rgcouk> Hey agent_white :)
michaeldeol has quit [Client Quit]
TommeHo has joined #ruby
timonv_ has joined #ruby
Nahra` has joined #ruby
sevvie has quit [Quit: leaving]
omosoj has quit [Ping timeout: 260 seconds]
michaeldeol has joined #ruby
benlieb has joined #ruby
nanoyak has joined #ruby
<bricker`work> fschuindt: they're there, just not displayed in the UI
enriclluelles has joined #ruby
<bricker`work> fschuindt: https://rubygems.org/gems/rails-fix-permissions/versions.atom you can see them listed there
Tomme has quit [Ping timeout: 245 seconds]
tmba has quit [Quit: Lost terminal]
ndrei has quit [Ping timeout: 245 seconds]
formerlyLemons has quit [Remote host closed the connection]
krisquigley has joined #ruby
carraroj has joined #ruby
carraroj has joined #ruby
Lewix has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
<fschuindt> bricker`work: If I want to remove all the old versions, is it possible?
tlarevo has quit [Read error: Connection reset by peer]
tlarevo has joined #ruby
cmoneylulz has joined #ruby
rbenv has quit [Quit: Textual IRC Client: www.textualapp.com]
ndrei has joined #ruby
<bricker`work> fschuindt: I think you'd have to do them one by one with yank
<fschuindt> bricker`work: ok
robustus has quit [Ping timeout: 250 seconds]
anaeem1_ has quit [Remote host closed the connection]
lemur has joined #ruby
fabrice31 has joined #ruby
doritostains has quit [Quit: doritostains]
anaeem1 has joined #ruby
kamil has joined #ruby
freerobby has quit [Quit: Leaving.]
shosti has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
freerobby has joined #ruby
lemur has quit [Ping timeout: 258 seconds]
cmoneylulz has quit [Quit: Leaving]
carraroj has quit [Quit: Konversation terminated!]
robustus has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
alvaro_o has joined #ruby
cirn0 has joined #ruby
Mars___ has joined #ruby
baltazore has quit [Remote host closed the connection]
<fschuindt> how to remove all the older versions of my gem? I have yanked all the pre release versions but they still in the versions list, I want to keep just the 1.0 version (current) https://rubygems.org/gems/rails-fix-permissions
chabier has joined #ruby
benlieb has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
RichardLitt has joined #ruby
ep3static has joined #ruby
cndiv has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
hiyosi has quit [Ping timeout: 245 seconds]
jheg has quit [Quit: jheg]
cirn0 has quit [Ping timeout: 245 seconds]
cndiv has joined #ruby
Photism has joined #ruby
atmosx has joined #ruby
<centrx> fschuindt, gem uninstall -v 1.2.3 as I recall
mikepack has joined #ruby
<fschuindt> centrx: I want to remove them from RubyGems.org
<centrx> fschuindt, gem help commands
ctp has joined #ruby
<pipework> centrx: he means on rubygems.
<centrx> tricky
wallerdev has quit [Quit: wallerdev]
noopq has joined #ruby
<atmosx> [22:08:39] <atmosx> Hello
<atmosx> [22:09:04] <atmosx> I'm having this check (which obviously doesn't work): redirect '/panel' if @res['categories'].nil? ... I keep getting this error undefined method `[]' for ArgumentError:Class
<atmosx> tries empty? too... any other ideas?
<atmosx> rescue ?
Ankhers has quit [Remote host closed the connection]
<centrx> atmsSomehow your @res object is of class "ArgumentError"
<centrx> atmosx, assuming that's the part of code it is referencing
benlieb has quit [Read error: Connection reset by peer]
jheg has joined #ruby
chabier has quit [Remote host closed the connection]
LiohAu has quit [Quit: LiohAu]
<jhass> worse, it doesn't seem to be of the class ArgumentError, it seems to be the class object itself
tier_ has joined #ruby
chabier has joined #ruby
<centrx> *gasp*
mikepack has quit [Ping timeout: 245 seconds]
paulfm_ has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
<atmosx> jhass: that's what confuses me too. I don't know how to catch it except as generic exception and that's a no-no
<jhass> atmosx: how and where does @res get set?
<atmosx> prior line
<jhass> sorry, didn't hack your computer yet to see your screen
<atmosx> argh
<atmosx> you couldn't anyway ;-)
Lewix has joined #ruby
<atmosx> but there's an easier way
<jhass> I just don't want to
<atmosx> so you think you could?
tier has quit [Ping timeout: 260 seconds]
<pipework> jhass: Come on, you don't get off by looking at people's crappy code on their computers without them knowing?
<pipework> I must be the only one. :(
paulfm has quit [Ping timeout: 258 seconds]
dda has quit [Quit: logging out.]
tylersmith is now known as tcrypt
<atmosx> ah got it how stupid of me.
Nahra has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
corehook has quit [Remote host closed the connection]
corehook has joined #ruby
Nahra` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
timonv_ has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
jarjar_prime has quit [Quit: Ready? Set? Go!]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<shevy> that's the problem with coding too much
<shevy> you become dumber during the process
omosoj has joined #ruby
mdw has joined #ruby
Rollabunna has joined #ruby
jarjar_prime has joined #ruby
sectionme has joined #ruby
renderful has quit [Ping timeout: 260 seconds]
slester has quit [Ping timeout: 260 seconds]
<jhass> isn't that true for any creative activity?
zorak8 has quit [Ping timeout: 260 seconds]
ctp has quit [Read error: Connection reset by peer]
Nahra has joined #ruby
<centrx> Ruby makes me smarter
ctp has joined #ruby
westinw has joined #ruby
<atmosx> I don't if other languages can create extremely complex structures in 1 line, ruby can be both extremely simple of complicated.
chabier has quit [Remote host closed the connection]
<pipework> Ruby makes my drinking problem a drinking superpower.
chrishou_ has joined #ruby
renderful has joined #ruby
shinobi_one has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
shinobi_one has quit [Client Quit]
Rollabunna has quit [Ping timeout: 245 seconds]
<centrx> atmosx, Ruby has the power and flexibility to do both ridiculous one-liners, and extremely pristine code.
bricker`work has quit [Ping timeout: 245 seconds]
anaeem1_ has joined #ruby
sectionme has quit [Ping timeout: 272 seconds]
shosti has joined #ruby
tier_ has quit [Remote host closed the connection]
chrishough has quit [Ping timeout: 246 seconds]
anaeem1_ has quit [Read error: Connection reset by peer]
chabier has joined #ruby
anaeem1 has joined #ruby
benzrf|offline is now known as benzrf
chabier_ has joined #ruby
<pipework> centrx: Most languages do.
emmesswhy has joined #ruby
<pipework> Ruby just feels as if it sucks less to do so, compared to other languages.
emmesswhy has quit [Remote host closed the connection]
<eam> ruby kinda made oneliners a little crappy, but it's still nicer than say python
westinw is now known as puppynation
tcrypt is now known as tylersmith
marr has joined #ruby
AxonetBE has joined #ruby
<centrx> Ruby is the best at pristine self-documenting code
baltazore has joined #ruby
Mars___ has quit [Remote host closed the connection]
chabier has quit [Ping timeout: 260 seconds]
<centrx> I.assert Ruby.is_a?(GoodThing)
narph has quit [Quit: Connection closed for inactivity]
Mars___ has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
puppynation has quit [Remote host closed the connection]
chabier_ has quit [Ping timeout: 245 seconds]
joelsmith has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> developer.cries if language.is_not_a?(Ruby)
freerobby has quit [Quit: Leaving.]
<benzrf> centrx: bulllshit!
<benzrf> haskell causes non tears
<benzrf> *non
<benzrf> ...
<benzrf> *no
<centrx> RubyChannel.can help(many) because Ruby.is_so?(Great)
aapole_ has quit [Ping timeout: 240 seconds]
<lolmaus> Is there a shortcut for `['foo', 'bar'].concat(['bar', 'baz']).uniq` ? I thougt of .merge but it doesn't exist for Arrays/Enums :(
<centrx> lolmaus, a | b
treehug88 has quit [Ping timeout: 260 seconds]
n_blownapart has joined #ruby
<shevy> jhass well I am not sure... some people say they have the best ideas while jogging/running, for instance. I am also sure designers tend to think in different ways... a friend studied industrial design, and when he looks at an old painting, he can see visual details I can't see because my brain just does not focus on them in that way (my brain usually dubs things into boring, and interesting, and when somethi
<shevy> ng is boring, my attention span drops)
bruno- has joined #ruby
<shevy> atmosx yeah, ruby can chuck a lot information into a few lines of code
<centrx> lolmaus, | is "union"
<pipework> lolmaus: look up union arrays in ruby
baltazore has quit [Remote host closed the connection]
<lolmaus> centrx: pipework: thx. Where is union defined?
baltazore has joined #ruby
<shevy> eam do you really use one-liners in ruby?
<lolmaus> Can't find it in docs for Array and Enumerable
aapole has joined #ruby
Soda has joined #ruby
shock_one_ has quit [Quit: Computer has gone to sleep.]
benzrf is now known as benzrf|offline
Mars___ has quit [Ping timeout: 272 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
chrishou_ has quit [Quit: Textual IRC Client: www.textualapp.com]
AxonetBE has quit [Quit: AxonetBE]
chrishough has joined #ruby
northfurr has joined #ruby
<lolmaus> centrx: d'oh! Didn't think that it was sorted to the bottom of the list. Thank you.
baltazore has quit [Remote host closed the connection]
LangeOortjes has quit [Quit: WeeChat 0.4.2]
wald0 has joined #ruby
Squarepy has quit [Quit: Leaving]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
omosoj has quit [Quit: Leaving]
Advocation has quit [Quit: Advocation]
omosoj has joined #ruby
fschuindt has quit [Quit: WeeChat 0.4.3]
ffranz has quit [Ping timeout: 260 seconds]
shevy has quit [Ping timeout: 245 seconds]
shevy has joined #ruby
cougarten_ has quit [Ping timeout: 250 seconds]
codeurge has joined #ruby
kamil has quit [Quit: Leaving...]
zorak8 has joined #ruby
Mars___ has joined #ruby
ep3static has quit [Quit: WeeChat 0.4.2]
eivindml has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
decoponio has quit [Quit: Leaving...]
westin has joined #ruby
westin has quit [Client Quit]
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fschuindt has joined #ruby
ClarusCogitatio has quit [Ping timeout: 255 seconds]
jheg has quit [Quit: jheg]
tobago has quit [Remote host closed the connection]
<fschuindt> The RubyGems.org download counter is bugged? Can't believe that my recently created gem has more than 60 downloads in less than 1h.
shock_one_ has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atmosx has quit [Ping timeout: 245 seconds]
ClarusCogitatio has joined #ruby
tvw has quit []
RichardLitt has quit [Quit: RichardLitt]
Azulinho has joined #ruby
atmosx has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ffranz has joined #ruby
lemur has joined #ruby
tier has joined #ruby
skammer has joined #ruby
Jackneill has quit [Remote host closed the connection]
freerobby has joined #ruby
Paul_McFreely has quit [Quit: Computer has gone to sleep.]
tier has quit [Remote host closed the connection]
Paul_McFreely has joined #ruby
mikepack has joined #ruby
tier has joined #ruby
rgcouk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chabier has joined #ruby
slester has joined #ruby
britneywright has joined #ruby
TorpedoSkyline has quit [Quit: Textual IRC Client: www.textualapp.com]
noopq has quit [Ping timeout: 260 seconds]
<pipework> fschuindt: It's not bugged.
<ericwood> might be caching servers
Phrogz_ has joined #ruby
<pipework> But I doubt the downloads belong to users who're getting your gem.
robh71 has quit [Quit: Textual IRC Client: www.textualapp.com]
<ericwood> I seriously doubt 725 people have downloaded my roomba gem, though
Phrogz_ is now known as Phrogz
failshel_ has joined #ruby
lemur has quit [Ping timeout: 260 seconds]
failshell has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
britneywright has quit [Client Quit]
<shevy> ericwood well some bots download too
<ericwood> robots
<Phrogz> I'm torn on the syntax for a DSL/API that I'm writing, and I'd appreciate any feedback. See this gist for a short background on the problem, and a few syntax-colored options. TIA! https://gist.github.com/Phrogz/f4538280acb3e051dc8f
<ericwood> :o
mengu has joined #ruby
<Phrogz> ROBOTS DOWNLOADING SOFTWARE ABOUT ROBOTS
<shevy> fschuindt my estimate is that about 80% of most downloads are bots or automated when you hit the range 5000-25000
<pipework> brobots
<centrx> return nil unless valid_laws_of_robotics?
<shevy> when it is something like 1-200, it's about 98% bots
<eam> every bundle install in ci
<pipework> fschuindt: I wouldn't worry about count that much.
hiyosi has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
TommeHo has quit [Ping timeout: 260 seconds]
<shevy> I know that it is not 100% because one guy emailed me 2 years ago and said that my gem lacks documentation (he was right)
ClarusCogitatio has quit [Ping timeout: 260 seconds]
<shevy> and that gem had about 500 downloads
<Phrogz> lol @ shevy
timonv_ has joined #ruby
jheg has joined #ruby
<shevy> I'm gonna hire pipework for some serious documentation work one day
<eam> no one has ever emailed me
vanila has joined #ruby
<pipework> eam: You probably have a boring email address.
timonv_ has quit [Remote host closed the connection]
<eam> I need an email address?
<shevy> yeah
chabier has quit [Ping timeout: 255 seconds]
<eam> well there's the problem
<shevy> if you have a gem, I can use it and then email you eam
<shevy> I'll focus on the documentation part
timonv_ has joined #ruby
heath has quit [Changing host]
heath has joined #ruby
ClarusCogitatio has joined #ruby
<eam> I don't like this proposal
j_mcnally has quit [Ping timeout: 240 seconds]
omosoj has quit [Ping timeout: 246 seconds]
anaeem___ has joined #ruby
<pipework> eam: Then don't expect people to email you
<eam> I mean, I don't
<Phrogz> ha
gccostabr has quit [Ping timeout: 250 seconds]
<Phrogz> Is my request tl;dr? Probably.
<pipework> eam: It's a great way to not be bothered and have your gems get forked.
jheg has quit [Ping timeout: 240 seconds]
<atmosx> Some browsers load my JS files
<atmosx> others do not
<Phrogz> Perhaps I can pique your interest by asking: is the subversion of core native Ruby classes, per my option3, insane?
<atmosx> why is that? :-/
hiyosi has quit [Ping timeout: 272 seconds]
shock_one_ has quit [Quit: Computer has gone to sleep.]
<Phrogz> atmosx: Perhaps they smell bad?
<eam> pipework: don't get me wrong I'm super receptive to feedback, but I'm also not unhappy if there isn't any :)
<atmosx> IE says it's insecure but loads it anyway (MS awesomness)
<pipework> eam: Well, you aren't receptive to feedback you can't get. :)
evrei has quit []
anaeem1 has quit [Ping timeout: 245 seconds]
<atmosx> Phrogz: I load them using https isn't that enough?
benlieb has quit [Read error: Connection reset by peer]
<Phrogz> atmosx: Because the browser has a version in its cache and so doesn't need to waste the world's power supply re-checking?
<atmosx> Phrogz: nah
gccostabr has joined #ruby
<shevy> pipework and eam would make a great docu-team
<atmosx> I was on WinXP, IE loaded the JS chart, FF came up with a "No Method" error meaning that didn't load the js file
<atmosx> go figure.
<atmosx> iOs loads the files
codecop has quit [Remote host closed the connection]
jrhorn424 is now known as zz_jrhorn424
wallerdev has joined #ruby
<atmosx> on mac works with all browsers...
<pipework> shevy: I'd just never publish, but I'd set the email for feedback to eam.
northfurr has quit [Quit: northfurr]
<pipework> atmosx: Why would just loading them via https be enough?
<waxjar> Phrogz: in option one, opacity can both return a Hash and an Integer
<waxjar> that's a pain to work with
<atmosx> pipework: y not?
<pipework> They should come from the same origin, probably.
<atmosx> ah no
<eam> publish or perish
<atmosx> FF doesn't load the chart here ither
<pipework> eam: is there a difference?
<atmosx> Chrome loads it
<atmosx> IE loads it
<atmosx> safari too
<atmosx> but FF no
<Phrogz> waxjar: Agreed. Option 1 is what I had already done, but I realized that was ugly.
<eam> >> "publish" or "perish"
<eval-in_____> eam => "publish" (https://eval.in/194775)
<shevy> well I have found that publishing even in small little steps is better than
<shevy> publishing late
<waxjar> you could use opacity_for(1) instead of opacity[1] or something
<shevy> or spending hours improving the documentation
chrishough has joined #ruby
klmlfl_ has joined #ruby
chrishough has quit [Client Quit]
<eam> I wrote ruby bindings for mdbm, then I found someone already made a gem called "mdbm" :(
<eam> name paralysis => perish
vanila has left #ruby ["Leaving"]
chrishough has joined #ruby
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<waxjar> so it'd be clear(er) what kind of object you expect / don't have to explicitly test for it
Tricon has joined #ruby
<suy> Noobie question: In a course, it warns of "a gotcha of using accessors": http://pastie.org/9564661 Why self.destination instead of @destination?
stephanepaul has quit [Ping timeout: 272 seconds]
<Phrogz> waxjar: Interesting. that's a fourth option. Thanks for the input.
stephanepaul has joined #ruby
klmlfl has quit [Ping timeout: 240 seconds]
<Phrogz> suy: You could use @destination in this case. However, if you later replace your simple attr_accessor with a real method, then @destination= will bypass that code.
<wallerdev> i tend to never use accessors inside of classes
<Phrogz> e.g. def destination=( new_dest ); raise "OH NO" if new_dest==:moon; @destination=new_dest; end
<wallerdev> id just do @destination =
arup_r has quit [Quit: Leaving.]
BadQuanta has quit [Ping timeout: 260 seconds]
devoknievo_ has joined #ruby
<wallerdev> but one goes through the accessor, one doesnt
<shevy> wallerdev even for simple accessors?
<shevy> def foo; @foo; end
<Phrogz> wallerdev: I myself vacillate on this. The purity side smells like I ought to use the method. The premature optimization side wants the direct variable assignment. Then the purity side says "Yes, but what if you want to refactor the method?" Then the pragmatic side says, "Well, isn't that exactly what refactoring is all about?"
<wallerdev> huh?
<shevy> well attr_acessor is attr_reader and attr_writer combined in one
aspiers has joined #ruby
<shevy> suy the first has higher priority and means to assign to a local variable
<wallerdev> yeah idk, in my experience if i ever want to change what a getter/setter does its almost always just for the outside the class things accessing it
kiwnix has joined #ruby
mofai has quit []
gccostab_ has joined #ruby
<wallerdev> if you use it everywhere and want to change it for only things outside the class you can't really do that as easily
<suy> Phrogz: ah, ok, I think I see the point then. @foo is accessing directly the variable, and self.foo is calling a method
omosoj has joined #ruby
havenwood has quit [Remote host closed the connection]
<wallerdev> understanding self.foo = blah is important though because of stuff like rails
<wallerdev> where when you set a model property you need to go through the setter or it wont trigger a change in rails and wont save to the db when you call save
<waxjar> lately i sort of always use the accessor unless it's a "private" instance variable (one i don't expose)
havenwood has joined #ruby
<Phrogz> suy: correct
<jhass> suy: yes, the method foo= to be precise (the = is part of the name). As you can see there's no clear tendency to what is preferred ;)
fold has joined #ruby
shock_one_ has joined #ruby
havenwood has quit [Remote host closed the connection]
<suy> Well then. Thank you all. :)
nanoyak has joined #ruby
gccostabr has quit [Ping timeout: 272 seconds]
carraroj has joined #ruby
<pmarreck> Anyone know of some service online that will let me cryptographically sign any document that I can then send to someone and they can verify that my identity signed it?
<wallerdev> do you have a certificate from a signing authority?
<wallerdev> or are you going to send them a self signed certificate
<pmarreck> that is a very good question. If this service exists, it would be able to do either
_lexjm has joined #ruby
<pmarreck> Ideally it would be trustless somehow
slester has quit [Ping timeout: 245 seconds]
<pmarreck> Signing authorities of course imply trust
<pmarreck> wallerdev: ^
<wallerdev> probably a service that does it, ive just used commandline tools though
timonv_ has quit [Remote host closed the connection]
shevy has quit [Read error: Connection reset by peer]
<wallerdev> that way it can be part of the build process
rimenes has joined #ruby
<waxjar> is that something gpg does?
carraroj has quit [Ping timeout: 272 seconds]
freelusion has joined #ruby
b00stfr3ak has quit [Ping timeout: 272 seconds]
<Phrogz> PGP?
<Phrogz> gpg == "gretty pood grivacy"?
<canton7> gnu privacy guard, pretty good privacy
<wallerdev> ive only done it on mac & windows so not sure
<Phrogz> ahhh :)
<canton7> 'cos, you know, it's clearer if similar programs have confusingly similar acronyms
brownfox has joined #ruby
klmlfl_ has quit []
<Phrogz> Ahck! I conflated Ruby and JS, and thought that there was a way to make a full-fledged object out of immediate values (e.g. 42) to be able to extend them. Not the case in Ruby, neh?
<centrx> Phrogz, not sure what you mean
<centrx> Phrogz, You can extend Fixnum/Numeric
<centrx> Phrogz, or you can define a class that has a @value
<Phrogz> centrx: I can monkeypatch them. I can't extend instances, e.g. x = 42; x.extend(MyModule)
<pmarreck> wallerdev: yeah I want something that Joe Clueless and Mary Luddite can use between each other on the Internet. and yes waxjar, gpg will do that, but not everyone is technical
Spami_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
freelusion has quit [Client Quit]
timonv_ has joined #ruby
bMalum has quit [Ping timeout: 255 seconds]
<wallerdev> well make something pmarreck :p
<pmarreck> wallerdev: Yeah no kidding, I'm considering!
fschuindt has quit [Quit: WeeChat 0.4.3]
<Phrogz> centrx: I'm hesitant to make a delegation class, because I assume I will fail to make it behave appropriately under all circumstances. Maybe that's cynical.
<pmarreck> Phrogz: Interestingly, I THINK you can attach an attribute to an integer
Tomme has joined #ruby
<centrx> Phrogz, class SpecialNumber < Fixnum; include MyModule; end
<Phrogz> >> class SN < Fixnum; end; x = SN.new
<eval-in_____> Phrogz => undefined method `new' for SN:Class (NoMethodError) ... (https://eval.in/194790)
omosoj has quit [Quit: Leaving]
freelusion has joined #ruby
omosoj has joined #ruby
<Phrogz> You can't 'new' a Fixnum, so you can't inherit from it. I can wrap a Fixnum via delegation.
sinkensabe has quit [Remote host closed the connection]
thams has quit [Quit: thams]
<Phrogz> >> class Integer; attr_accessor :foo; end; x = 42; x.foo = 17; p x.foo
<eval-in_____> Phrogz => can't modify frozen Fixnum (RuntimeError) ... (https://eval.in/194791)
<centrx> Phrogz, The main thing you usually want with Fixnums is Comparable
bettycla1p has left #ruby [#ruby]
troyready has quit [Quit: Leaving]
* Phrogz goes to try delegating fully, http://stackoverflow.com/a/1095993/405017 to see if it's as seamless as desired.
timonv_ has quit [Ping timeout: 258 seconds]
freelusion has quit [Client Quit]
<centrx> Phrogz, anyway it sounds like bad practice to me, it's either a number or its not, and you either want to add methods to numbers or not (Fixnum.extend(MyModule))
Spami has quit [Ping timeout: 245 seconds]
<Phrogz> centrx: It probably is a bad idea; too much magic.
narph has joined #ruby
Mars___ has quit [Remote host closed the connection]
Spami has joined #ruby
Mars has joined #ruby
<centrx> Phrogz, The delegation class can use method_missing to pass every method called on it to the composed @value inside
Mars is now known as Guest52942
<Phrogz> Delegator, yes.
dumbdove has joined #ruby
brownfox has quit [Quit: leaving]
dumbdove has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
dumbdove has joined #ruby
kireevco has joined #ruby
<Phrogz> Delegator is certainly much easier than hand-rolling (which is not as easy as just method_missing).
brownfox has joined #ruby
awc737 has joined #ruby
skip_freely has quit [Ping timeout: 245 seconds]
shock_one_ has quit [Quit: Computer has gone to sleep.]
Guest52942 has quit [Ping timeout: 255 seconds]
<dumbdove> Hey all, I'm kind of lost here and I lack the google-fu to find a proper answer.
duncannz has joined #ruby
<dumbdove> I want to execute a method based on a user input string
ht__th has quit [Remote host closed the connection]
thams has joined #ruby
<slash_nick> dumbdove: look at #instance_eval ...
<centrx> dumbdove, #1 Make sure to validate the user input string first, against a list of valid methods they are allowed to call
<slash_nick> and ^
18VAAZA7K has quit [Ping timeout: 240 seconds]
<centrx> dumbdove, object.send(user_input_string)
16WAAJOWC has quit [Ping timeout: 272 seconds]
<dumbdove> I know about that one, but it seems a little clumsy
jottr_ has joined #ruby
<dumbdove> Isn't it possible to do something like a hash of 'commands' to functions?
<brownfox> cant you just compare the string input against a variable or an array of variables and the rest is elsif?
<centrx> dumbdove, That's certainly doable but it seems more clumsy than #send
duggiefresh has quit []
fabrice31 has joined #ruby
<centrx> send is really just four extra characters than calling the method directly
<dumbdove> Hmm, you're right.
jottr has quit [Ping timeout: 260 seconds]
<dumbdove> I'll do that.
<dumbdove> thanks a lot!
<centrx> dumbdove, dynamic programming/metaprogramming is like this
krisquigley has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<centrx> dumbdove, In Object-oriented/Smalltalk/Ruby, each method call is a message being "sent" to the "receiver", the object it is called upon
timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has joined #ruby
<dumbdove> I see
<centrx> dumbdove, so basically receiver.method is just the same as receiver.send(method)
krisquigley has joined #ruby
ooloo has quit [Remote host closed the connection]
milkohol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> dumbdove, what brownfox said above is a good secure solution, as you have to validate the commands from the user anyway, so it's only slightly less succinct compared to using send()
<Phrogz> And lets you do crazy things like define foo= methods that take two arguments, and call them in a completely useless way :)
jpopo23 has joined #ruby
mikeg has quit [Remote host closed the connection]
<Phrogz> >> def foo=( a, b=nil ); p [a,b]; end; self.foo = 42; self.send(:foo=,42,17)
<eval-in_____> Phrogz => [42, nil] ... (https://eval.in/194797)
omosoj has quit [Ping timeout: 260 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
<dumbdove> centrx: Now if I create a 'runner' object or something, could I just check against the methods I defined for that class?
<dumbdove> There's a method for that, right?
krisquigley has quit [Ping timeout: 245 seconds]
<Phrogz> Yes. .methods, or .instance_methods, with or without (false) argument.
<slash_nick> dumbdove: you mean @obj.public_methods or something like that?
<slash_nick> @obj.public_methods.include?(given_method)
zorak8 has quit [Ping timeout: 255 seconds]
<dumbdove> object_methods(false), if I recall correctly
<dumbdove> So, not including inherited methods
Smujo has joined #ruby
Smujo_ has joined #ruby
<Phrogz> Right, false is to ignore inherited.
aclearman037 has quit []
milkohol has joined #ruby
jaygen_ has joined #ruby
ELLIOTTCABLE_ is now known as ELLIOTTCABLE
ppinto has quit [Quit: ppinto]
jaygen has quit [Ping timeout: 272 seconds]
sgray10 has quit [Ping timeout: 260 seconds]
Deele has quit [Ping timeout: 260 seconds]
fsapo has quit [Remote host closed the connection]
timgauthier has joined #ruby
timgauthier has quit [Client Quit]
hiyosi has joined #ruby
timgauthier has joined #ruby
timgauthier has quit [Max SendQ exceeded]
timgauthier has joined #ruby
<jhass> to nitpick, obj.foo is equal to obj.public_send(:foo)
qwyeth has quit [Remote host closed the connection]
fold has quit [Ping timeout: 272 seconds]
<slash_nick> jhass: whereas obj.send(:foo) could invoke a private method #foo ?
jheg has joined #ruby
<jhass> yes
lemur has joined #ruby
shevy has joined #ruby
<slash_nick> that's more than just nitpicking :)
timonv_ has joined #ruby
<slash_nick> I suppose that if the list of methods he's checking user input against does not include private methods, then it wouldn't bite him... but i'd want to use #public_send in case
b00stfr3ak has joined #ruby
milkohol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has quit []
spastorino has quit [Quit: Connection closed for inactivity]
jeremy04 has quit [Remote host closed the connection]
<jhass> I default to #public_send in fact
<jhass> for any usage
<slash_nick> dumbdove: see that bit from jhass about using #public_send ?
<jhass> #send is only for monkey patching nowadays
<slash_nick> jhass: i typically use it for invoking private methods lol
<shevy> I use it to invoke methods with ' ' as part of their name
<jhass> the need to invoke private methods dynamically is surprisingly rare for me
wjimenez5271 has joined #ruby
<shevy> but you can invoke public methods with .send or?
ghr has quit [Ping timeout: 245 seconds]
kireevco has quit [Quit: Leaving.]
<dumbdove> Indeed, shevy
lemur has quit [Ping timeout: 260 seconds]
<slash_nick> jhass: usually to set up expectations in test.. say i have a public method that calls `some_obj.new(some_obj_arguments)`, I will likely have a private method #some_obj_arguments... in the test i use the private method to set up the expected arguments for my mocks
milkohol has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
jpopo23 has quit [Quit: jpopo23]
Squarepy has joined #ruby
postmodern has quit [Quit: Leaving]
zorak8 has joined #ruby
RichardLitt has joined #ruby
corehook has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
corehook has joined #ruby
<jhass> well, some say you should never call private methods in a test
<jhass> btw. you should work on @subject, it's a meaningless name ;)
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
<slash_nick> jhass: i'd call that nitpicking :)
ixti has quit [Ping timeout: 245 seconds]
<jhass> all style stuff is nitpicking in the end
fold has joined #ruby
failshel_ has quit []
Kilo`byte has quit [Ping timeout: 258 seconds]
timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
silkfox has quit [Ping timeout: 272 seconds]
brownfox has quit [Quit: Lost terminal]
pu22l3r_ has joined #ruby
Kilo`byte has joined #ruby
vallieres_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdw has quit [Quit: Textual IRC Client: www.textualapp.com]
danijoo has quit [Read error: Connection reset by peer]
mikeg has joined #ruby
danijoo has joined #ruby
tier has quit []
pu22l3r has quit [Ping timeout: 246 seconds]
mdw has joined #ruby
blackmes1 has quit [Ping timeout: 272 seconds]
Splintor has joined #ruby
<Splintor> evenin
pu22l3r_ has quit [Ping timeout: 246 seconds]
timgauthier has joined #ruby
ldnunes has quit [Quit: Leaving]
mr-foobar has quit [Read error: Connection reset by peer]
poguez_ has quit [Quit: Connection closed for inactivity]
mr-foobar has joined #ruby
<jhass> hi
<agent_white> herro
ests has joined #ruby
linduxed has quit [Ping timeout: 260 seconds]
shosti has quit [Ping timeout: 245 seconds]
mdw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton_ has joined #ruby
Rollabunna has joined #ruby
wallerdev has quit [Quit: wallerdev]
postmodern has joined #ruby
cocotton has quit [Ping timeout: 258 seconds]
shosti has joined #ruby
fold has quit [Ping timeout: 272 seconds]
blackmes1 has joined #ruby
cocotton_ has quit [Ping timeout: 272 seconds]
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timgauthier is now known as timgauthier_isaw
agjacome has quit [Ping timeout: 260 seconds]
easier has joined #ruby
Rollabunna has quit [Ping timeout: 255 seconds]
sepp2k has quit [Quit: Konversation terminated!]
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agjacome has joined #ruby
livingstn has quit []
_lexjm has joined #ruby
awc737 has joined #ruby
benzrf|offline is now known as benzrf
fnordperfect has joined #ruby
fold has joined #ruby
ixti has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
omosoj has joined #ruby
voodoofish430 has quit [Ping timeout: 260 seconds]
voodoofish4301 has joined #ruby
gccostab_ is now known as gccostabr
voodoofish has quit [Ping timeout: 272 seconds]
Lewix has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
davispuh has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
chrisja has joined #ruby
freerobby1 has quit [Quit: Leaving.]
mengu has quit []
lukevinc has joined #ruby
omosoj has quit [Ping timeout: 260 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
n_blownapart has quit [Remote host closed the connection]
Nieralyte has joined #ruby
davedev24_ has joined #ruby
kireevco has quit [Client Quit]
spider-mario has quit [Remote host closed the connection]
milkohol has quit [Quit: Textual IRC Client: www.textualapp.com]
ests has quit [Quit: Bye]
milkohol has joined #ruby
philosophically has joined #ruby
milkohol has quit [Client Quit]
milkohol has joined #ruby
ctp has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
lukevinc has quit [Remote host closed the connection]
ctp has joined #ruby
<philosophically> total fresh noob looking for some help with summing values within an array, these arrays are json responses, any help is appreciated! thank you! http://pastebin.com/1D7we1x7
freerobby has joined #ruby
devoknievo_ has quit [Quit: Lingo - http://www.lingoirc.com]
<Phrogz> philosophically: I'm not sure what help you're looking for. What is not working that you want to be working?
narcan has joined #ruby
<Phrogz> In general, to sum values in an array you can just do my_array.inject(:+) if they are all guaranteed to exist and be numbers.
kireevco has joined #ruby
<Phrogz> If you have arrays of objects, you can my_array.map{ |obj| obj.numeric_value }.inject(:+)
Azulinho has quit [Ping timeout: 272 seconds]
atmosx has quit [Ping timeout: 260 seconds]
anaeem___ has quit [Remote host closed the connection]
atmosx has joined #ruby
<Phrogz> philosophically: Perhaps you just want: sum << { x:Time.now.to_i, y:(array1+array2).map{ |h| h[:y] }.inject(:+) } ?
zekriad has quit [Quit: Leaving...]
krisquigley has quit [Ping timeout: 272 seconds]
<philosophically> Phrogz: thanks for helping, i’m looking to sum all the array “y” values.. if that makes sense
<Phrogz> Or sum << { x:Time.now.to_i, y:( response1.data.rows + response2.data.rows).map(&:to_i).inject(:+) }
<eam> sum = 0; array1.each {|item| sum += item }
<eam> I really dislike the other suggestions, they're quite obscure
<Phrogz> all the values that exist in all of array1/array2, or all the values that are just in response1/response2?
mattmcclure has joined #ruby
Soda has quit [Remote host closed the connection]
<eam> a simple #each is easy to read even if you don't know all the special ruby methods
<philosophically> i think Phrogz++ had the solution, thank you!
bricker`work has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfedde has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Splintor has quit [Quit: Leaving]
andrewjanssen has quit [Quit: Linkinus - http://linkinus.com]
westin has joined #ruby
cndiv has quit [Ping timeout: 245 seconds]
cndiv has joined #ruby
timonv_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
sailias1 has quit [Ping timeout: 272 seconds]
<Rhainur> how can I convert an array into a hash grouped by function value? so [1,2,3,4] with even? become { true => [2,4], false => [1,3] }
slester has joined #ruby
mikeg has quit [Ping timeout: 246 seconds]
<TTilus> >> [1,2,3,4].group_by &:even?
<eval-in_____> TTilus => {false=>[1, 3], true=>[2, 4]} (https://eval.in/194805)
<waxjar> looks like you're looking for Enumerable#partition
<waxjar> group_by, even better
<Rhainur> waxjar: haha perfect I'd just reached "e" on this page http://www.ruby-doc.org/core-2.1.0/Enumerable.html
rgcouk has joined #ruby
<TTilus> Rhainur: formulation of your question makes me wonder that was a home assignment i just did for you ;)
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spastorino has joined #ruby
weems|mac has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
timonv_ has quit [Ping timeout: 272 seconds]
<Phrogz> ha ha
<Rhainur> TTilus: nope, work assignment, but I was googling group_by anyway
<Rhainur> it was just turning up a lot of activerecord stuff
<TTilus> Rhainur: how about searching ruby api instead of plain googling? way cleaner results
hmsimha has joined #ruby
AndroUser465 has joined #ruby
Mars has joined #ruby
Mars is now known as Guest50465
westin has quit [Remote host closed the connection]
fnordperfect has quit [Read error: Connection reset by peer]
Rhainur1 has joined #ruby
dumbdove has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<TTilus> apidock, devdocs or ruby-doc, whatever floats your boat
fnordperfect has joined #ruby
felipecvo has quit [Remote host closed the connection]
momomomomo_ has joined #ruby
Rhainur has quit [Ping timeout: 272 seconds]
jeremy04 has joined #ruby
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
willgo has joined #ruby
dkphenom has joined #ruby
JohnFord has quit [Quit: Textual IRC Client: www.textualapp.com]
hmsimha has quit [Ping timeout: 240 seconds]
icarus has quit [Remote host closed the connection]
kiwnix has quit [Quit: Leaving]
jeremy04 has quit [Ping timeout: 260 seconds]
n_blownapart has joined #ruby
rgcouk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
cougarten has joined #ruby
linojon has quit [Quit: linojon]
andrewlio has quit [Quit: Leaving.]
aspiers has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
narcan has quit [Ping timeout: 260 seconds]
momomomomo has quit [Quit: momomomomo]
snath has quit [Ping timeout: 245 seconds]
toretore has quit [Quit: Leaving]
one has joined #ruby
mary5030 has quit [Remote host closed the connection]
<one> hi, does anyone know if i can run a rails app, then open a console and interact with the running app?
cndiv has quit [Quit: WeeChat 0.4.3]
fantazo has quit [Quit: Verlassend]
linojon has joined #ruby
cndiv has joined #ruby
<one> hi, does anyone know if i can run a rails app, then open a console and interact with the running app?
northfurr has joined #ruby
<Phrogz> one: a) #rubyonrails b) Not really, I think, unless you mean using Pry.
damada has joined #ruby
<one> thanks
<Phrogz> In other words, without a breakpoint to tell it where/when to interact, what sort of interaction would you imagine? get '/my/route' ?
oleo is now known as Guest4552
oleo__ has joined #ruby
<one> i want to change a global variable
kriskropd has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
<one> without having to restart, e.g. if it's a production environment
nettoweb has quit [Max SendQ exceeded]
stephanepaul has quit [Quit: stephanepaul]
blackmesa has joined #ruby
kriskropd has joined #ruby
endash has quit [Quit: endash]
jobewan has quit [Quit: Leaving]
Guest4552 has quit [Ping timeout: 260 seconds]
kireevco has quit [Quit: Leaving.]
workmad3 has joined #ruby
troyready has joined #ruby
fabrice31 has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
sinkensabe has joined #ruby
nettoweb has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
nettoweb has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
g0bl1n has joined #ruby
nettoweb has joined #ruby
Takle has joined #ruby
nettoweb has quit [Max SendQ exceeded]
omosoj has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
nettoweb has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
djstorm has quit [Ping timeout: 246 seconds]
<wasamasa> sounds like a case for lisp
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
charliesome has joined #ruby
kireevco has joined #ruby
Poky has quit [Ping timeout: 272 seconds]
philosophically has quit [Quit: philosophically]
kireevco has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 255 seconds]
chipotle has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
zettam has quit [Read error: Connection reset by peer]
cougarten has quit [Ping timeout: 258 seconds]
kireevco has joined #ruby
zettam has joined #ruby
sparrovv has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 258 seconds]
sparrovv has joined #ruby
cougarten has joined #ruby
dda has joined #ruby
stephanepaul has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
damada has left #ruby [#ruby]
fantnn has quit [Quit: Leaving.]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tricon has quit [Quit: Leaving...]
chabier has joined #ruby
Rhainur1 has left #ruby [#ruby]
lkba has joined #ruby
sparrovv has quit [Ping timeout: 260 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chabie___ has joined #ruby
freerobby has quit [Quit: Leaving.]
awc737 has joined #ruby
chabi____ has joined #ruby
sambao21 has quit [Ping timeout: 255 seconds]
<Phrogz> one: Pretty sure that ain't going to be possible. Suggest you put the variable in a DB (or, ick, file) to reload periodically (or when a custom route is calleD)
Es0teric has joined #ruby
renderfu_ has joined #ruby
chipotle_ has joined #ruby
krisquigley has joined #ruby
chabier has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
chab_____ has joined #ruby
freerobby has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<Phrogz> Man, sometimes I wish that Ruby had both 'undefined' and 'nil' so that I could write def foo( a, b=undefined ) instead of def foo( a, b=:DEARGODDONOTPASSTHISVALUE ) to differentiate when the user passes explicit `nil` vs no second param.
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<Phrogz> There's no .arity_of_invocation is there?
lkba has quit [Ping timeout: 260 seconds]
jheg has quit [Quit: jheg]
chabier has joined #ruby
<Phrogz> one: Or environment variable, even.
Guest69148 has quit []
Spami_ has quit [Quit: This computer has gone to sleep]
dziga has joined #ruby
chipotle has quit [Ping timeout: 272 seconds]
chabier_ has joined #ruby
tlarevo has quit [Remote host closed the connection]
chabie___ has quit [Ping timeout: 272 seconds]
<Phrogz> I suppose what I'm really wanting in this case is method invocation by signature.
crdpink has joined #ruby
renderful has quit [Ping timeout: 255 seconds]
tlarevo has joined #ruby
<jhass> Phrogz: well, you could do *args and deconstruct that in the first lines
nettoweb has joined #ruby
chabi____ has quit [Ping timeout: 260 seconds]
chabier__ has joined #ruby
fnordperfect has quit [Read error: Connection reset by peer]
<Phrogz> jhass: Good point. Makes the rdoc signature ugly, but then it's ugly my way, too.
nettoweb has quit [Max SendQ exceeded]
iceden has quit [Read error: Connection reset by peer]
krisquigley has quit [Ping timeout: 260 seconds]
mikeg has joined #ruby
<jhass> what's your concrete case? maybe you want to write two methods actually
<one> Phrogz: it is an environment variable
chab_____ has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
<one> its in config/environments/production.rb but i cant update the variable in the config without restarting the server
<Phrogz> jhass: Supporting foo['bar'] = 42 and foo['bar',3] = 17 via def []=( attr, optional_index, new_value )
nettoweb has quit [Max SendQ exceeded]
stunder has quit [Remote host closed the connection]
<Phrogz> one: Can't you call a route in your app that does the work for you?
chabier has quit [Ping timeout: 245 seconds]
<Phrogz> Hrm, does Ruby 2 support def foo(a,b=nil,c) ?
* Phrogz tests
<jhass> yes
nettoweb has joined #ruby
<Phrogz> Well, there you go then. :) I'm stuck in 1.8 thinking :p
<jhass> optional arguments can be anywhere, they just need to be together
<Phrogz> Thanks for pursuing! :)
chabier_ has quit [Ping timeout: 245 seconds]
<one> one of the variables in config is pointing to a server, which changed because of a load balancer issue, so the variable needs to be updated to the new server address, but dont want to restart the whole app to do that
nettoweb_ has joined #ruby
nettoweb_ has quit [Max SendQ exceeded]
charliesome has quit [Quit: zzz]
davasaurous has joined #ruby
nettoweb_ has joined #ruby
<Phrogz> one: Right. So update your environment variable, then HTTP get (or post, or whatever) "/reloadserver"
<jhass> one: if your app isn't prepared to update an environment variable from the inside there's no way to do that
northfurr has quit [Quit: northfurr]
<one> "/reloadserver".... is that a rails thing that will reload the config? does it restart the server/kick out active sessions?
dda has quit [Remote host closed the connection]
davedev2_ has joined #ruby
lemur has joined #ruby
timonv_ has joined #ruby
dda has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
stephanepaul has quit [Quit: stephanepaul]
davedev24_ has quit [Ping timeout: 260 seconds]
nettoweb has quit [Ping timeout: 260 seconds]
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Phrogz> one: No, I am suggesting that you write a route that executes Ruby code to do whatever you were going to do via a console.
<pipework> Why not just restart the process?
<Phrogz> Stop asking the right question.
<pipework> Phrogz: Stop asking the left ones.
freerobby has quit [Quit: Leaving.]
sheepman has quit [Ping timeout: 250 seconds]
lemur has quit [Ping timeout: 260 seconds]
InhalingPixels has quit []
dda has quit [Ping timeout: 260 seconds]
<multi_io> in rdoc, what's the preferred markup format these days? rdoc, rd, markdown?
<pipework> when I use rdoc, I tend to use rdoc.
j_mcnally has joined #ruby
timonv_ has quit [Ping timeout: 258 seconds]
<multi_io> I have an old rcoc file with headlines formatted like == this, and rake's rdoc tasks processes these correctly, but I can't find a rdoc command line option that makes those work.
mikepack has quit [Remote host closed the connection]
emmesswhy has joined #ruby
<multi_io> apparently header like ## this are more common these days?
Spami_ has joined #ruby
chabier__ has quit [Remote host closed the connection]
<multi_io> ## headers are markdown, apparently
<multi_io> so what's == headers?
<multi_io> rdoc?
codeurge has quit [Quit: Sleep.]
kireevco has quit [Quit: Leaving.]
GriffinHeart has joined #ruby
<shevy> dunno
<shevy> I was too lazy to cater to it
<shevy> it ran through my .rb files and produced shit
jottr_ has quit [Ping timeout: 246 seconds]
<Lewix> Does anyone here know how to play chess
<shevy> markdown is much nicer to handle
<multi_io> you mean cater to rdoc as a whole?
<shevy> multi_io, yeah. for instance, I use such things:
<shevy> # ====================================================== #
<shevy> and rdoc interpreted that as special
hfp_work- has joined #ruby
mikeg has quit [Remote host closed the connection]
<shevy> it can probably be fixed but I dunno who maintains rdoc
hfp has quit [Ping timeout: 260 seconds]
davedev2_ has quit [Ping timeout: 245 seconds]
volty has joined #ruby
hfp_work has quit [Ping timeout: 250 seconds]
iceden has joined #ruby
<multi_io> so you don't generate api docs from your sources then?
<shevy> well not through rdoc
chabier has joined #ruby
<multi_io> shevy: what do you use instead?
<shevy> tutorials!
hfp has joined #ruby
shock_one_ has joined #ruby
<pipework> multi_io: shevy doesn't write documentation, nor does he read it.
shock_one_ has quit [Quit: Computer has gone to sleep.]
<shevy> oh I do write documentation
<shevy> just not complete one
<shevy> I tend to rewrite projects from scratch way too often
shock_one_ has joined #ruby
<multi_io> ok :P
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> pipework do you use rdoc for your projects?
<Phrogz> pipework: See, you scared him off :p
<pipework> :D
<Phrogz> IIRC === headers are setext
<Phrogz> But also supported in Markdown
EasyCo has joined #ruby
charliesome has joined #ruby
<shevy> 3 =
<shevy> but 50? 70? 12508505?
<multi_io> Phrogz: but they're sort of out if style, at least in rdoc?
<multi_io> *out of
JoshGlzBrk has joined #ruby
blackmesa has quit [Quit: WeeChat 1.0]
<shevy> how do you generate rdoc documentation from a given project de-novo btw?
narph has quit [Quit: Connection closed for inactivity]
davedev24_ has joined #ruby
<Phrogz> multi_io: I haven't worked with RDoc formatting in so long, I don't know.
* Phrogz writes Markdown documentation, with an attempt at reasonable parameter names in methods, and the occasional pre-method comment.
<shevy> Aha!
<shevy> nobody uses rdoc anymore
<Phrogz> I used to be so into RDoc. http://phrogz.net/RubyLibs/
m8 has quit [Quit: Sto andando via]
snath has joined #ruby
<shevy> omg that bright yellow man
<shevy> you wanted to blind me
<shevy> hey
shock_one_ has quit [Ping timeout: 272 seconds]
<shevy> that counter intro is nice
<shevy> did you add that yourself with your own code?
<Phrogz> Aye.
linojon has quit [Quit: linojon]
chabier has quit [Remote host closed the connection]
gccostabr has quit [Quit: ZZZzzz…]
<pipework> I use rdoc. :(
<multi_io> Phrogz: so how do you generate API documentation for your projects, if not with rdoc?
n_blownapart has quit []
<Phrogz> multi_io: Manually in Markdown, and then let RubyGems host whatever manual RDoc it generates.
omosoj has quit [Ping timeout: 260 seconds]
dda has joined #ruby
<bricker`work> I am concerned that when I curl my local server and set I18n.locale=, then curl again and check I18n.locale, it is the same as what I just set in the previous request. This is using passenger. Shouldn't Thread.current prevent that from happening?
ndrei has quit [Ping timeout: 240 seconds]
threesixes has joined #ruby
<multi_io> ah, that was going to be my next question: gems and rdoc
<multi_io> so the generated docs aren't usually written to the gem?
britneywright has joined #ruby
shackleford has quit [Remote host closed the connection]
<workmad3> bricker`work: unless passenger is using a thread pool with selection algorithm that always chooses the same thread when a single request comes in at a time...
gccostabr has joined #ruby
<workmad3> bricker`work: which sounds quite likely from your observed behaviour ;)
marr has quit [Ping timeout: 260 seconds]
lkba has joined #ruby
<multi_io> Phrogz: by "let RubyGems host" you mean rubygems.org?
a has joined #ruby
Rollabunna has joined #ruby
a is now known as Guest33694
ramfjord has joined #ruby
britneywright has quit [Client Quit]
thumpba has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
Lewix has quit [Remote host closed the connection]
<Phrogz> multi_io: Aye. Though, come to think of it, I don't have any real Ruby gems out there whose API is interesting to document. I have Docubot, but that's all command-line documentation.
charliesome has quit [Quit: zzz]
phoo1234567 has quit [Quit: Leaving]
<volty> you should try to rewrite yourself :) <== <shevy> I tend to rewrite projects from scratch way too often
icebourg has quit []
cpruitt has quit [Quit: cpruitt]
<pipework> shevy: rewrite yourself to return -1 when comparing shevy <=> shevy
mozzarella has quit [Quit: WeeChat 0.4.3]
Rollabunna has quit [Ping timeout: 258 seconds]
mtncode has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
diegoviola has quit [Quit: WeeChat 1.0]
linojon has joined #ruby
mozzarella has joined #ruby
Phrogz has quit [Quit: Hometime]
<volty> i have to share my knowledge, i am studying haskell. The language is pretty intriguing. But today I discovered that you cannot have the same names in different data defs (records, struct, class in ruby). So if somebody asks you for an advice, advice him to study it in free time and not even try it for production (unless something limited in complexity deriving from many different kinds of data)
ARCADIVS has joined #ruby
freerobby has joined #ruby
mary5030 has joined #ruby
<volty> + (in the same module)
ARCADIVS has quit [Client Quit]
dapz has joined #ruby
_cake has quit [Read error: Connection reset by peer]
jottr_ has joined #ruby
<shevy> I tried to learn haskell
<shevy> but the monad stopped me
_cake has joined #ruby
Guest50465 has quit [Remote host closed the connection]
<pipework> I tried to learn haskell, but nothing stopped me and I had no adversity, so I went back to making fun of pythonists.
<volty> because too many of them talk too much bull ....
BlkDynmt has joined #ruby
ramfjord has joined #ruby
<zenspider> haskell has a single namespace (a lisp1)? that's your problem with it?
<zenspider> there's so many better reasons to not like haskell...
<pipework> zenspider: name one?
* pipework actually has no clue why one should dislike the language itself
<volty> shevy: because they do not tell you that to learn monads you have to master very well the type system (and the wikipedia entry is the best to start with)
dda has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 258 seconds]
<volty> because at the current stage it is a toy language --- for the trendy fibonacci felt in love
omosoj has joined #ruby
<zenspider> readability/complexity of syntax would be a big one for me. a personal bias would be the typing, tho haskell's isn't half as bad as some. le monad. etc.
InhalingPixels has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
skammer has quit [Ping timeout: 260 seconds]
<volty> you ask them how to handle staff (functions, matching , etc) with Point ( x :: Float, y :: Float) and they answer you that it is haskellish to use just a tupple ( (x,y) )
<volty> it means that those people have no idea about the complexity of a bigger project
startupality has quit [Quit: startupality]
<pipework> Isn't every array a tuple in haskell?
sambao21 has joined #ruby
mpistone has quit []
startupality has joined #ruby
<volty> they are different types
jottr_ has quit [Ping timeout: 245 seconds]
<pipework> I guess it's just the purpose, where tuples have structure and lists are just ordered elements.
<volty> tricky at first, nice, elegant, complex, useful learning (BUT NON AT THE EXPENSE OF ANOTHER, PRODUCTIVE, LANGUAGE)
chrisja has quit [Quit: Lost terminal]
<volty> the lists aren't polymorphic
<multi_io> does Haskell have structs and classes in the Ruby sense at all? I always thought they're just, like, type classes or something.
Cecen_ has joined #ruby
<multi_io> they don't open up a new namespace
Es0teric has joined #ruby
<volty> something like «data Point = Point { x :: Float, y ::Float )» and then p = Point 3 4, then to get x you have to «x p» (but as I said, you cannot have other defs with x as a member)
sambao21 has quit [Ping timeout: 245 seconds]
Es0teric has quit [Client Quit]
Cecen has quit [Ping timeout: 258 seconds]
<volty> the productiveness of ruby is unmatchable
havenwood has joined #ruby
<volty> but they are now fixing that name clashing and, !!!!!, going to use p.x (to get that x) :)
britneywright has joined #ruby
Wolland has joined #ruby
<shevy> is p.x a monad
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
dapz has joined #ruby
b00stfr3ak has quit [Ping timeout: 272 seconds]
memph1s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty> you probably mean p (p.x will be the function «x p» - get out x of p -- read accessor in ruby) . anyway no, simple data, to be a monad it has to satisfy other things
gccostabr has quit [Quit: ZZZzzz…]
wink_ndge has joined #ruby
<shevy> what other things
<shevy> is this like a satanic ritual
<shevy> sacrifice one goat and de-virgin one virgin
stephanepaul has joined #ruby
stephanepaul has quit [Client Quit]
nanoyak has quit [Quit: Computer has gone to sleep.]
jhass is now known as jhass|off
krisquigley has quit [Ping timeout: 260 seconds]
<volty> shevy: i bookmarked somewhere nice explanation, i'll paste you the link one of next days (would be too much for a ruby chan :) )
one has left #ruby [#ruby]
<volty> now going to sleep
volty has left #ruby ["Konversation terminated!"]
thumpba has joined #ruby
pu22l3r has joined #ruby
<multi_io> so, how does gem/ri process documentation file in gems?
<multi_io> .ms is treated differently from .rdoc?
<multi_io> *.md
asteve has joined #ruby
<multi_io> I see that e.g. rails/activerecord comes with .rdoc documentation files containing == headers, while other gems come with .md documentation files containing ## headers
nanoyak has joined #ruby
lemur has joined #ruby