apeiros changed the topic of #ruby to: Ruby 2.1.0; 2.0.0-p353; 1.9.3-p484: 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
_whitelogger has joined #ruby
Mapley has quit [Quit: bai!]
Mapley has joined #ruby
Mapley has quit [Client Quit]
Mapley has joined #ruby
Mapley has quit [Client Quit]
Mapley has joined #ruby
hoypriest has quit [Quit: Connection closed for inactivity]
Mapley has quit [Quit: bai!]
Mapley has joined #ruby
_whitelogger has joined #ruby
caveat- has quit []
caveat- has joined #ruby
maztah has joined #ruby
_whitelogger has joined #ruby
_whitelogger has joined #ruby
Mapley has quit [Quit: bai!]
Mapley has joined #ruby
jeregrine has joined #ruby
_whitelogger has joined #ruby
_whitelogger has joined #ruby
gyre007_ has joined #ruby
adambeynon_ has joined #ruby
jeregrine has joined #ruby
_whitelogger has joined #ruby
mjmac has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
maztah has joined #ruby
kies has joined #ruby
kies has joined #ruby
joelroa_ has joined #ruby
tanema has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
jglover has left #ruby [#ruby]
firewater has joined #ruby
joelroa__ has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
itadder has quit []
diegok has quit [Read error: Connection reset by peer]
diegok has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
joelroa_ has quit [Ping timeout: 264 seconds]
meatherly has joined #ruby
joelroa has joined #ruby
lewix has quit [Remote host closed the connection]
ace_striker_ has quit [Ping timeout: 272 seconds]
bthesorceror has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
crodas has quit [Quit: Disconnecting from stoned server.]
joelroa__ has quit [Ping timeout: 240 seconds]
mneorr has joined #ruby
earthquake has quit [Quit: earthquake]
ace_striker has joined #ruby
ace_striker is now known as Guest40652
slowcon has joined #ruby
joelroa_ has joined #ruby
kies has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
lewix has joined #ruby
milhite has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
flowerhack has joined #ruby
tanema has joined #ruby
Mapley has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
Lewis has joined #ruby
joelroa_ has quit [Ping timeout: 269 seconds]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
crazymykl has joined #ruby
mikemac has quit [Read error: Connection reset by peer]
firewater has quit [Quit: Page closed]
dingus_khan has joined #ruby
crodas has joined #ruby
lewix has quit [Ping timeout: 264 seconds]
Wolland has quit [Remote host closed the connection]
joelroa has joined #ruby
itstriz has joined #ruby
Guest2259 has quit [Quit: Konversation terminated!]
jack_rabbit has quit [Ping timeout: 264 seconds]
lewix has joined #ruby
joelroa_ has joined #ruby
marcdel has joined #ruby
ryanuber has joined #ruby
funburn has joined #ruby
Avahey has joined #ruby
icedp has quit [Ping timeout: 272 seconds]
marcdel_ has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
Lewis has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
avelldiroll has quit [Ping timeout: 272 seconds]
Kuda has joined #ruby
icedp has joined #ruby
marcdel has quit [Ping timeout: 240 seconds]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
bthesorceror has joined #ruby
seich- has quit [Ping timeout: 272 seconds]
lukec has joined #ruby
lukec has quit [Client Quit]
joelroa has quit [Ping timeout: 264 seconds]
seich- has joined #ruby
bthesorceror has quit [Read error: Connection reset by peer]
hiyosi_ has joined #ruby
joelroa has joined #ruby
bthesorceror has joined #ruby
milhite has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joelroa has quit [Max SendQ exceeded]
joelroa_ has quit [Ping timeout: 240 seconds]
Synthead has quit [Ping timeout: 252 seconds]
joelroa has joined #ruby
jglover has joined #ruby
<jglover> is it bad to have like hundreds of subdomains in your host fle?
flowerhack has quit [Remote host closed the connection]
Salve has joined #ruby
roa is now known as Roa
<centrx> jglover, It might slow down DNS resolution
<jglover> OK, well. Hm. This is difficult. I basically need every user to have their own subdomain but sinatra doesn't seem to want to let me do that
sailias has joined #ruby
sailias1 has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
<Roa> p
sailias1 has quit [Client Quit]
joelroa has joined #ruby
itstriz` has joined #ruby
umttumt has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
itstriz has quit [Ping timeout: 272 seconds]
mavcunha has joined #ruby
sailias has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
jglover has quit [Quit: Lost terminal]
joelroa has quit [Ping timeout: 264 seconds]
davedev24 has quit []
umttumt has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
estebistec has joined #ruby
koell has joined #ruby
mavcunha has quit [Read error: Connection reset by peer]
mavcunha has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
snuffeluffegus has quit [Remote host closed the connection]
joelroa__ has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
snuffeluffegus has joined #ruby
mgberlin has joined #ruby
Hanmac has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
slowcon has quit [Quit: slowcon]
xibalba has joined #ruby
funburn has quit [Quit: funburn]
rickruby has joined #ruby
joelroa__ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
rickruby_ has joined #ruby
joelroa has quit [Ping timeout: 267 seconds]
joelroa__ has joined #ruby
lewix has quit [Remote host closed the connection]
Wolland has joined #ruby
mjs2600 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
alexju has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 245 seconds]
joelroa has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
machuga has joined #ruby
machuga has quit [Excess Flood]
joelroa__ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
mjs2600 has quit [Ping timeout: 272 seconds]
machuga has joined #ruby
machuga has quit [Changing host]
machuga has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
radic has quit [Disconnected by services]
radic_ has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
dingus_khan has quit [Remote host closed the connection]
xeno has joined #ruby
Salve has joined #ruby
dingus_khan has joined #ruby
mneorr has joined #ruby
dingus_khan has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
habanany has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
Megtastique has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
Salve_ has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
joelroa_ has joined #ruby
Okt has joined #ruby
Okt has quit [Read error: Connection reset by peer]
SHyx0rmZ has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
Okt has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
edwardly_ has quit [Quit: ZNC - http://znc.in]
jfelchner_ has quit [Quit: Connection closed for inactivity]
edwardly has joined #ruby
joelroa has joined #ruby
Megtastique has quit []
axsuul has quit [Ping timeout: 252 seconds]
joelroa_ has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
mwmnj has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
joelroa_ has joined #ruby
Steve445 has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
<Steve445> anyone have a recommendation for oauth with sinatra?
joelroa has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
bitness64 has joined #ruby
<pipework> Steve445: doorkeeper and oauth2?
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 269 seconds]
joelroa has joined #ruby
weie has joined #ruby
tanema has quit [Remote host closed the connection]
tanema has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
dingus_khan has joined #ruby
axsuul has quit [Quit: Textual IRC Client: www.textualapp.com]
joelroa_ has joined #ruby
xeno has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
tanema has quit [Ping timeout: 264 seconds]
derek_c has joined #ruby
Jetchisel has quit [Ping timeout: 256 seconds]
Xiti` has quit [Quit: Leaving]
joelroa_ has quit [Ping timeout: 272 seconds]
Xiti has joined #ruby
habanany has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
braincrash has quit [Quit: bye bye]
tungd has joined #ruby
dingus_khan has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
mikepack has quit [Remote host closed the connection]
stryek has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
braincrash has joined #ruby
joelroa has joined #ruby
mostlybadfly has joined #ruby
marcdel_ has quit [Ping timeout: 241 seconds]
msch has joined #ruby
<msch> I tried reading the gc.c code but my MRI-internals-foo is weak
Alina-malina has quit [Read error: Connection reset by peer]
chihhsin_cloud has joined #ruby
dik_dak has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
joelroa_ has quit [Ping timeout: 272 seconds]
binaryhat has joined #ruby
joelroa_ has joined #ruby
marcdel has joined #ruby
marcdel has quit [Client Quit]
mikepack has quit [Ping timeout: 264 seconds]
stryek has quit [Ping timeout: 240 seconds]
<centrx> msch, Do you want to implement a destructor of some kind? Is that the idea?
mgberlin has quit [Remote host closed the connection]
<msch> centrx yep. and it's working fine for every object except the latest
joelroa has quit [Ping timeout: 272 seconds]
<msch> centrx e.g. I have two objects a, b and I do ObjectSpace.define_finalizer for a and b then only a gets finalized, while b stays around "forever" (found out via ObjectSpace.each_object)
<msch> centrx and if I then define_finalizer for another object c, only then does b get finalized
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
habanany has joined #ruby
<centrx> msch, It says right in the doc for define_finalizer that it is only called when the object is garbage collected
<msch> centrx yes. and the object should be garbage collected, there are no more references to it (figured that also out via ObjectSpace)
joelroa_ has quit [Ping timeout: 240 seconds]
<centrx> msch, The usual Ruby idiom would be to use a block of some kind, which executes your finalization at the end/after the block
<msch> jep, but unfortunately that doesn't work in my case
<centrx> msch, Garbage collection is not done immediately when an object has no more references...
joelroa has joined #ruby
<centrx> msch, What is your case?
<msch> centrx it is when I run GC.start (and it really only depends on whether or not I call define_finalizer before for another object. Creating arbitrary amounts of garbage before calling GC.start doesn't matter)
<msch> centrx I'm working on a proper OO abstraction for Ruby's thread local variables. Basically Java's ThreadLocal
<centrx> Are you saying the finalizer is not executed even when you run GC.start?
<msch> centrx exactly. It's not executed, only when I have defined another finalizer (but then that finalizer is not executed)
Wolland has quit [Remote host closed the connection]
marcdel has joined #ruby
<msch> and I can call GC.start in a loop and create 100000 non-related objects all the time to create memory pressure etc etc it does not matter
<msch> :(
<centrx> What version of Ruby?
joelroa_ has joined #ruby
<msch> 2.1.0
derek_c has quit [Ping timeout: 272 seconds]
blackmes1 has quit [Quit: WeeChat 0.4.3]
<msch> but 2.0.0 also doesn't work
bthesorceror has quit [Remote host closed the connection]
dx7 has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 264 seconds]
milhite has joined #ruby
mlpinit has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 264 seconds]
<RubyPanther> It isn't "proper" by being Java. That is a rather strange idea.
habanany has quit [Ping timeout: 264 seconds]
bthesorc_ has joined #ruby
dingus_khan has joined #ruby
Karu has quit [Ping timeout: 264 seconds]
Okt has quit [Ping timeout: 264 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
monsieur1 has joined #ruby
<pontiki> but is it proper tea?
ouie has joined #ruby
milhite has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyPanther> msch: storing the object_id is a way to look up the object, without creating a reference
three18ti has quit [Excess Flood]
tungd_ has joined #ruby
RealMarc has quit [Excess Flood]
aspires has quit [Ping timeout: 264 seconds]
<RubyPanther> msch: the magic is mostly in delegate.rb
mumblerit has joined #ruby
<RubyPanther> centrx: normally you would need a method, and the block doesn't really end until the enclosing method finishes
mumblerit is now known as Guest36293
Jetchisel has joined #ruby
_bart has joined #ruby
rickruby_ has quit [Ping timeout: 264 seconds]
BackEndCoder has quit [Read error: Connection reset by peer]
three18ti has joined #ruby
joelroa has joined #ruby
_bart_ has joined #ruby
centrx has quit [Excess Flood]
Megtastique has joined #ruby
habanany has joined #ruby
aspires has joined #ruby
ddd has quit [Write error: Connection timed out]
Atw has quit [Write error: Connection reset by peer]
TwinkleHood has quit [Write error: Broken pipe]
monsieurp has quit [Write error: Broken pipe]
gigetoo has quit [Write error: Broken pipe]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
browndawg has quit [Excess Flood]
Sthebig has quit [Excess Flood]
torstein has quit [Excess Flood]
Megtastique has quit [Ping timeout: 264 seconds]
Wolland has joined #ruby
RealMarc has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
tungd_ has quit [Ping timeout: 264 seconds]
TripleDES has quit [Remote host closed the connection]
_bart has quit [*.net *.split]
Olipro has quit [*.net *.split]
justinxreese has quit [*.net *.split]
18WAFUZ14 has quit [*.net *.split]
miah has quit [*.net *.split]
Angelous has quit [*.net *.split]
Hamled has quit [*.net *.split]
randomnick_ has quit [*.net *.split]
18WAFUUR3 has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
jrunning___ has quit [*.net *.split]
robmozart_ has quit [*.net *.split]
antonishen has quit [*.net *.split]
cmaxw__ has quit [*.net *.split]
apocalyptic_ab has quit [*.net *.split]
zrl has quit [*.net *.split]
mattyohe_ has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
Soulcutter has quit [*.net *.split]
kapowaz has quit [*.net *.split]
pusewicz__ has quit [*.net *.split]
tommyvyo__ has quit [*.net *.split]
zzak has quit [*.net *.split]
Tranquility has quit [*.net *.split]
jpinnix_ has quit [*.net *.split]
anicet has quit [*.net *.split]
yo61 has quit [*.net *.split]
ckrailo has quit [*.net *.split]
Jakee` has quit [*.net *.split]
mroth_ has quit [*.net *.split]
mjc_ has quit [*.net *.split]
jds has quit [*.net *.split]
lepht__ has quit [*.net *.split]
rickenharp has quit [*.net *.split]
machty has quit [*.net *.split]
BaconOverflow___ has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
rcs has quit [*.net *.split]
davorb has quit [*.net *.split]
riceandb1ans has quit [*.net *.split]
vcoinminer has quit [*.net *.split]
drjblouse_ has quit [*.net *.split]
CJD14_ has quit [*.net *.split]
dmoe_ has quit [*.net *.split]
sawtooth1 has quit [*.net *.split]
Jelco_ has quit [*.net *.split]
im0b has quit [*.net *.split]
tekacs has quit [*.net *.split]
Xuisce has quit [*.net *.split]
JStoker has quit [*.net *.split]
drPoggs has quit [*.net *.split]
jonasac has quit [*.net *.split]
dachi has quit [*.net *.split]
supershabam has quit [*.net *.split]
G has quit [*.net *.split]
artmann has quit [*.net *.split]
sorpaas has quit [*.net *.split]
krnflake has quit [*.net *.split]
lele has quit [*.net *.split]
`MArceLL` has quit [*.net *.split]
tubbo has quit [*.net *.split]
alol has quit [*.net *.split]
hanikazmi has quit [*.net *.split]
mikee has quit [*.net *.split]
jinie has quit [*.net *.split]
Sammael has quit [*.net *.split]
ohcibi has quit [*.net *.split]
tommyblue has quit [*.net *.split]
gl- has quit [*.net *.split]
joelroa has joined #ruby
_ixti_ has joined #ruby
apeiros has quit [Excess Flood]
Vivekananda has quit [Excess Flood]
nuck has quit [Quit: Nuck Off]
joelroa__ has joined #ruby
lewix has joined #ruby
_ixti_ has quit [Client Quit]
kies has joined #ruby
kies has joined #ruby
lupine has quit [Ping timeout: 245 seconds]
firefly2013 has quit [Quit: Leaving.]
binaryhat has quit [Quit: Leaving]
23LAA7FKK has joined #ruby
Hobogrammer has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ddd_ has joined #ruby
apeiros has joined #ruby
ryanuber_ has joined #ruby
lewix has quit [Ping timeout: 272 seconds]
joelroa__ has quit [Ping timeout: 272 seconds]
joelroa__ has joined #ruby
23LAA7FKK has quit [Ping timeout: 272 seconds]
_ixti_ has joined #ruby
sparrovv has joined #ruby
wjlafrance has joined #ruby
joelroa__ has quit [Ping timeout: 272 seconds]
Atww has joined #ruby
meatherl_ has joined #ruby
derek_c has joined #ruby
sparrovv has quit [Ping timeout: 272 seconds]
avelldiroll has joined #ruby
aspires has quit []
_ixti_ has quit [Client Quit]
TK|2 has joined #ruby
gigetoo_ has joined #ruby
<msch> centrx any ideas?
beond has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
habanany has quit [Ping timeout: 264 seconds]
yacks has joined #ruby
joelroa has joined #ruby
Nilium has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
yasu____ has joined #ruby
intuxicated has quit [Remote host closed the connection]
justinxreese has joined #ruby
randomnick_ has joined #ruby
Angelous has joined #ruby
miah has joined #ruby
jonasac has joined #ruby
kapowaz has joined #ruby
pusewicz__ has joined #ruby
michael_mbp has joined #ruby
cmaxw__ has joined #ruby
tommyvyo__ has joined #ruby
apocalyptic_ab has joined #ruby
jds has joined #ruby
antonishen has joined #ruby
jrunning___ has joined #ruby
Jakee` has joined #ruby
18WAFUUR3 has joined #ruby
Guest85414______ has joined #ruby
18WAFUZ14 has joined #ruby
Soulcutter has joined #ruby
yo61 has joined #ruby
Tranquility has joined #ruby
ckrailo has joined #ruby
jpinnix_ has joined #ruby
zzak has joined #ruby
mroth_ has joined #ruby
zrl has joined #ruby
mjc_ has joined #ruby
Hamled has joined #ruby
anicet has joined #ruby
mattyohe_ has joined #ruby
robmozart_ has joined #ruby
riceandb1ans has joined #ruby
rickenharp has joined #ruby
machty has joined #ruby
lepht__ has joined #ruby
sawtooth1 has joined #ruby
drPoggs has joined #ruby
dachi has joined #ruby
alol has joined #ruby
artmann has joined #ruby
vcoinminer has joined #ruby
jinie has joined #ruby
tubbo has joined #ruby
im0b has joined #ruby
mikee has joined #ruby
tekacs has joined #ruby
Xuisce has joined #ruby
BaconOverflow___ has joined #ruby
supershabam has joined #ruby
ohcibi has joined #ruby
dmoe_ has joined #ruby
rcs has joined #ruby
G has joined #ruby
phrozen77 has joined #ruby
sorpaas has joined #ruby
hanikazmi has joined #ruby
drjblouse_ has joined #ruby
CJD14_ has joined #ruby
tommyblue has joined #ruby
Jelco_ has joined #ruby
krnflake has joined #ruby
davorb has joined #ruby
`MArceLL` has joined #ruby
JStoker has joined #ruby
gl- has joined #ruby
Sammael has joined #ruby
lele has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
<pipework> I am upset that pontiki's good joke went unlul'd.
<pipework> lul
<pontiki> ta
Olipro has joined #ruby
joelroa has joined #ruby
frode15243_ has quit [Ping timeout: 245 seconds]
mtlatif_ has quit [Ping timeout: 245 seconds]
lectrick_ has quit [Ping timeout: 245 seconds]
ilyam has quit [Quit: ilyam]
ixti has quit [Disconnected by services]
aspires has quit []
mtlatif_ has joined #ruby
frode15243_ has joined #ruby
tungd has quit [*.net *.split]
weie has quit [*.net *.split]
mwmnj has quit [*.net *.split]
radic_ has quit [*.net *.split]
machuga has quit [*.net *.split]
koell has quit [*.net *.split]
itstriz` has quit [*.net *.split]
Kuda has quit [*.net *.split]
icedp has quit [*.net *.split]
ryanuber has quit [*.net *.split]
meatherly has quit [*.net *.split]
venkat has quit [*.net *.split]
nathancahill has quit [*.net *.split]
oz has quit [*.net *.split]
v4n has quit [*.net *.split]
pwh has quit [*.net *.split]
io_syl has quit [*.net *.split]
wlanboy has quit [*.net *.split]
camt has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
dawkirst has quit [*.net *.split]
Senjai has quit [*.net *.split]
kukyakya has quit [*.net *.split]
mr_red has quit [*.net *.split]
17SAAH96V has quit [*.net *.split]
xargoon has quit [*.net *.split]
adeponte has quit [*.net *.split]
bluntman has quit [*.net *.split]
dylannorthrup has quit [*.net *.split]
Tobarja has quit [*.net *.split]
Guest12058 has quit [*.net *.split]
nomadic has quit [*.net *.split]
jayne has quit [*.net *.split]
zastern has quit [*.net *.split]
beond has quit [*.net *.split]
gigetoo_ has quit [*.net *.split]
TK|2 has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
derek_c has quit [*.net *.split]
meatherl_ has quit [*.net *.split]
Atww has quit [*.net *.split]
wjlafrance has quit [*.net *.split]
ryanuber_ has quit [*.net *.split]
ddd_ has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
kies has quit [*.net *.split]
marcdel has quit [*.net *.split]
chihhsin_cloud has quit [*.net *.split]
braincrash has quit [*.net *.split]
bitness64 has quit [*.net *.split]
Steve445 has quit [*.net *.split]
edwardly has quit [*.net *.split]
Salve_ has quit [*.net *.split]
Hanmac has quit [*.net *.split]
mavcunha has quit [*.net *.split]
estebistec has quit [*.net *.split]
msch has quit [*.net *.split]
hiyosi_ has quit [*.net *.split]
seich- has quit [*.net *.split]
maztah has quit [*.net *.split]
mjmac has quit [*.net *.split]
segmond has quit [*.net *.split]
Nowaker has quit [*.net *.split]
wykydtron has quit [*.net *.split]
brandon_ has quit [*.net *.split]
Drakevr has quit [*.net *.split]
ggherdov has quit [*.net *.split]
GinoMan has quit [*.net *.split]
dmarr has quit [*.net *.split]
postmodern has quit [*.net *.split]
octarine has quit [*.net *.split]
RKornmeyer has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
gazoombo_ has quit [*.net *.split]
dnyy has quit [*.net *.split]
bedouin has quit [*.net *.split]
zenojis has quit [*.net *.split]
cbetta has quit [*.net *.split]
ceej has quit [*.net *.split]
jzig has quit [*.net *.split]
nhmood has quit [*.net *.split]
rurban has quit [*.net *.split]
xybre has quit [*.net *.split]
Paradox has quit [*.net *.split]
Kamilion has quit [*.net *.split]
Deele has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
MindfulMonk has quit [*.net *.split]
undert has quit [*.net *.split]
iaj has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
xxi has quit [*.net *.split]
MarcWeber has quit [*.net *.split]
Guest82818 has quit [*.net *.split]
TTilus has quit [*.net *.split]
brjannc has quit [*.net *.split]
pr1x has quit [*.net *.split]
niv has quit [*.net *.split]
aboudreault has quit [*.net *.split]
erichmenge has quit [*.net *.split]
Raboo has quit [*.net *.split]
marcgg has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
patronus has quit [*.net *.split]
ji0n has quit [*.net *.split]
robwilliamsuk has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
Muz has quit [*.net *.split]
davidcelis has quit [*.net *.split]
d-snp has quit [*.net *.split]
Radar_ has quit [*.net *.split]
malnek has quit [*.net *.split]
dandrade has quit [*.net *.split]
maetthew has quit [*.net *.split]
nilsove has quit [*.net *.split]
koshian_ has quit [*.net *.split]
Zhann has quit [*.net *.split]
jsilver has quit [*.net *.split]
mven has quit [*.net *.split]
jericon has quit [*.net *.split]
droptone has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
yasu___ has quit [*.net *.split]
Davedo has quit [*.net *.split]
Beoran has quit [*.net *.split]
jabular has quit [*.net *.split]
emdub has quit [*.net *.split]
matchaw has quit [*.net *.split]
camilasan has quit [*.net *.split]
Rollabunna has quit [*.net *.split]
descala has quit [*.net *.split]
Takumo has quit [*.net *.split]
Nightmare has quit [*.net *.split]
iamdoo2 has quit [*.net *.split]
idoru has quit [*.net *.split]
Asher has quit [*.net *.split]
mburns has quit [*.net *.split]
bier has quit [*.net *.split]
PhilK_ has quit [*.net *.split]
segmond has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
abunchofdollarsi has quit [Quit: Leaving]
Nilium has joined #ruby
joelroa_ has joined #ruby
zumba_addict has quit [Ping timeout: 252 seconds]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
kenneth has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
dseitz has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
joelroa has joined #ruby
IceDragon has quit [Quit: Space~~~]
mlpinit has joined #ruby
Sthebig has joined #ruby
Karpuragauram has joined #ruby
Salve has joined #ruby
lectrick_ has joined #ruby
Karu has joined #ruby
edwardly has joined #ruby
toddabrahm has joined #ruby
avelldiroll has joined #ruby
seich- has joined #ruby
Atww has joined #ruby
umttumt has joined #ruby
ddd_ has joined #ruby
ryanuber_ has joined #ruby
thomasxie has joined #ruby
ggherdov has joined #ruby
torstein has joined #ruby
gigetoo_ has joined #ruby
maztah has joined #ruby
TwinkleHood has joined #ruby
postmodern has joined #ruby
dmarr has joined #ruby
RKornmeyer has joined #ruby
bitness64 has joined #ruby
aryaching has joined #ruby
DarkFoxDK has joined #ruby
yxhuvud has joined #ruby
hiyosi_ has joined #ruby
marcdel has joined #ruby
wykydtron has joined #ruby
brandon_ has joined #ruby
wjlafrance has joined #ruby
mjmac has joined #ruby
gazoombo_ has joined #ruby
aboudreault has joined #ruby
octarine has joined #ruby
xxi has joined #ruby
MindfulMonk has joined #ruby
cjk101010 has joined #ruby
Guest82818 has joined #ruby
Hobogrammer has joined #ruby
jaredrhine has joined #ruby
TTilus has joined #ruby
dawkirst has joined #ruby
undert has joined #ruby
mavcunha has joined #ruby
cbetta has joined #ruby
derek_c has joined #ruby
dnyy has joined #ruby
decoponio has joined #ruby
ConstantineXVI has joined #ruby
beond has joined #ruby
andrewstewart has joined #ruby
bedouin has joined #ruby
jsilver has joined #ruby
emdub has joined #ruby
rurban has joined #ruby
queequeg1 has joined #ruby
Drakevr has joined #ruby
malnek has joined #ruby
brjannc has joined #ruby
jabular has joined #ruby
d-snp has joined #ruby
v4n_ has joined #ruby
elaptics`away has joined #ruby
Raboo has joined #ruby
Kilo`byte has joined #ruby
flagg0204 has joined #ruby
camilasan has joined #ruby
marcgg has joined #ruby
patronus has joined #ruby
Davedo has joined #ruby
robwilliamsuk has joined #ruby
zenojis has joined #ruby
Kamilion has joined #ruby
iaj has joined #ruby
Steve445 has joined #ruby
Beoran has joined #ruby
Hanmac has joined #ruby
braincrash has joined #ruby
jzig has joined #ruby
Zhann has joined #ruby
droptone has joined #ruby
Asher has joined #ruby
nhmood has joined #ruby
chihhsin_cloud has joined #ruby
mjuszczak has joined #ruby
nilsove has joined #ruby
Nowaker has joined #ruby
niv has joined #ruby
jericon has joined #ruby
Nightmare has joined #ruby
MarcWeber has joined #ruby
Muz has joined #ruby
Rollabunna has joined #ruby
ji0n has joined #ruby
maetthew has joined #ruby
PhilK_ has joined #ruby
bier has joined #ruby
dandrade has joined #ruby
ceej has joined #ruby
msch has joined #ruby
koshian_ has joined #ruby
xybre has joined #ruby
matchaw has joined #ruby
browndawg has joined #ruby
kies has joined #ruby
davidcelis has joined #ruby
Takumo has joined #ruby
iamdoo2 has joined #ruby
Paradox has joined #ruby
erichmenge has joined #ruby
idoru has joined #ruby
Radar has joined #ruby
descala has joined #ruby
mburns has joined #ruby
mven has joined #ruby
pr1x has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
rickruby has joined #ruby
Radar is now known as Guest65761
jonah_k has joined #ruby
pigzzcanfly has joined #ruby
angusiguess has joined #ruby
joelroa_ has joined #ruby
Kuda has joined #ruby
habanany has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
mlpinit has quit [Ping timeout: 272 seconds]
hoelzro has quit [Ping timeout: 245 seconds]
joelroa has joined #ruby
ixti has joined #ruby
jzig has quit [Ping timeout: 272 seconds]
mlpinit has joined #ruby
hoelzro has joined #ruby
tungd has joined #ruby
icedp has joined #ruby
cj3kim has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
jzig has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
Steve445 has quit [Quit: Steve445]
segmond has quit [Ping timeout: 264 seconds]
z_ is now known as z
lewix has joined #ruby
v4n_ has quit [Quit: leaving]
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
tungd has quit [Remote host closed the connection]
gigetoo_ is now known as gigetoo
tungd has joined #ruby
cj3kim has quit [Remote host closed the connection]
TripTastic has quit [Read error: Connection reset by peer]
joelroa has quit [Ping timeout: 264 seconds]
_bart_ has quit [Remote host closed the connection]
joelroa has joined #ruby
_maes_ has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
umttumt is now known as tatsuo
habanany1 has joined #ruby
habanany has quit [Quit: Leaving.]
joelroa_ has joined #ruby
Aquilo has joined #ruby
AndyWojo has quit [Ping timeout: 252 seconds]
bthesorc_ has quit [Remote host closed the connection]
thams has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
tungd has quit [Ping timeout: 272 seconds]
AndyWojo has joined #ruby
joelroa has joined #ruby
tungd has joined #ruby
JBreit has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
segmond has joined #ruby
xiphiasx_ has joined #ruby
aetaric has joined #ruby
epochwolf has joined #ruby
psyprus has joined #ruby
Dwarf has joined #ruby
[krisbulman] has joined #ruby
artgoeshere has joined #ruby
Kruppe has joined #ruby
ryanuber has joined #ruby
mbff has joined #ruby
zz_jrhorn424 has joined #ruby
poutine has joined #ruby
kenichi has joined #ruby
Urocyon has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
Dwarf has quit [Max SendQ exceeded]
epochwolf has quit [Changing host]
epochwolf has joined #ruby
segmond has quit [Read error: Connection reset by peer]
mbff is now known as Guest73350
Dwarf has joined #ruby
santi has joined #ruby
diegoviola has joined #ruby
Karpuragauram has quit [Quit: Ex-Chat]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jack_rabbit has joined #ruby
santi has quit []
joelroa has quit [Ping timeout: 272 seconds]
ryanuber has quit [Quit: ZNC - http://znc.in]
pranny has joined #ruby
nathancahill has joined #ruby
pwh has joined #ruby
wlanboy has joined #ruby
itstriz` has joined #ruby
radic_ has joined #ruby
Senjai has joined #ruby
17SAAH96V has joined #ruby
camt has joined #ruby
io_syl has joined #ruby
mr_red has joined #ruby
oz has joined #ruby
kukyakya has joined #ruby
machuga has joined #ruby
bluntman has joined #ruby
adeponte has joined #ruby
Tobarja has joined #ruby
jayne has joined #ruby
zastern has joined #ruby
dylannorthrup has joined #ruby
nomadic has joined #ruby
xargoon has joined #ruby
joelroa has joined #ruby
pranny has quit [Client Quit]
ryanuber_ has quit [Quit: leaving]
ryanuber has joined #ruby
chipotle has quit [Ping timeout: 252 seconds]
Rollabun_ has joined #ruby
tungd has quit [Ping timeout: 272 seconds]
tungd has joined #ruby
cj3kim has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
joelroa_ has joined #ruby
_maes_ has joined #ruby
popl has joined #ruby
popl has joined #ruby
chipotle has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
_maes_ has quit [Client Quit]
joelroa has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
Wolland has quit [Remote host closed the connection]
joelroa_ has joined #ruby
tungd has quit [Ping timeout: 264 seconds]
tungd has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
matchaw has quit [Ping timeout: 272 seconds]
santi has joined #ruby
LaPetiteFromage has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
Liothen has joined #ruby
joelroa_ has joined #ruby
Rollabunna has joined #ruby
cj3kim has quit [Remote host closed the connection]
Rollabun_ has quit [Ping timeout: 264 seconds]
tungd has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 272 seconds]
joelroa__ has joined #ruby
tungd has joined #ruby
fridim_ has quit [Ping timeout: 252 seconds]
banister has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
aryaching has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
mlpinit has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
m104 has joined #ruby
santi has quit []
Salve has quit [Remote host closed the connection]
Salve has joined #ruby
joelroa__ has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
tungd has quit [Remote host closed the connection]
centrx has joined #ruby
tungd has joined #ruby
joelroa_ has joined #ruby
Salve has quit [Ping timeout: 272 seconds]
Oog_ has joined #ruby
pwh has quit []
<Oog_> what syntax is that
<Oog_> in a block you just do lines with val1 val2 how is that interpreted?
joelroa has quit [Ping timeout: 264 seconds]
<Oog_> is taht the same as :from => blah ?
<Oog_> from blah
joelroa__ has joined #ruby
<pontiki> that's a mini DSL
centrx has quit [Remote host closed the connection]
Matriks has joined #ruby
<Oog_> whats that
<pontiki> but from, to, subject, and body are actually methods implmented on the object returned from Mail.new
centrx has joined #ruby
<pontiki> Domain Specific Language
habanany1 has quit [Quit: Leaving.]
<Oog_> ohhh
habanany has joined #ruby
<Oog_> they are methods
<Oog_> ok i see
joelroa_ has quit [Ping timeout: 264 seconds]
randomnick_ has quit [Ping timeout: 246 seconds]
joelroa has joined #ruby
<Oog_> thanks
matchaw has joined #ruby
segmond has joined #ruby
thejoecarroll has quit [Ping timeout: 264 seconds]
tungd has quit [Remote host closed the connection]
tungd has joined #ruby
zumba_addict has joined #ruby
joelroa__ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
<Oog_> before i write my own is there a string function that will take a string and return max X characters and if the string is longer than X make the last 3 chars in returned string ...
joelroa has quit [Ping timeout: 264 seconds]
slowcon has joined #ruby
<pontiki> what?
joelroa has joined #ruby
Alina-malina has joined #ruby
thejoecarroll has joined #ruby
<Oog_> like i have a long string and i want to display the first 17 characters with ... at the end but if the string < 20 chars i want the whole thing
<pontiki> oh
<pontiki> it'd probably take more time to search for one than to write it
<centrx> ActiveSupport/Rails might have it
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
joelroa_ has quit [Ping timeout: 272 seconds]
tungd has quit [Ping timeout: 272 seconds]
<Oog_> you are rght truncate thanks
joelroa_ has joined #ruby
tungd has joined #ruby
centrx has quit [Quit: And...it's gone]
slowcon has quit [Quit: slowcon]
agent_white has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
agent_white has joined #ruby
kobain has quit []
charliesome has joined #ruby
habanany has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
tommyvyo__ has quit [Quit: Connection closed for inactivity]
joelroa_ has quit [Ping timeout: 272 seconds]
brian_____ has quit [Quit: brian_____]
PLejeck has joined #ruby
zumba_addict_ has joined #ruby
joelroa_ has joined #ruby
zumba_addict has quit [Ping timeout: 264 seconds]
zumba_addict_ is now known as zumba_addict
cj3kim_ has joined #ruby
tatsuo has quit [Remote host closed the connection]
_rohitnair88 has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
tungd has quit [Ping timeout: 264 seconds]
tatsuo has joined #ruby
tungd has joined #ruby
joelroa has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
Steve445 has joined #ruby
joelroa_ has joined #ruby
shaileshg has joined #ruby
zumba_addict_ has joined #ruby
<shaileshg> Hi, what does *variable_name means in ruby
<shaileshg> I have seen it being used like this
<shaileshg> _, id, content = *m
joelroa has quit [Ping timeout: 272 seconds]
zumba_addict has quit [Ping timeout: 272 seconds]
zumba_addict_ is now known as zumba_addict
<shaileshg> could anyone explain me ?
joelroa has joined #ruby
Okt has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
Hien has quit [Ping timeout: 245 seconds]
<Steve445> its it used in a argument?
Vovko has joined #ruby
<Steve445> like def get_house_address(*args)
<shaileshg> Steve445: no
mikepack has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
<shaileshg> there it would be unspecified number of arguments..
<shaileshg> right?
tatsuo_ has joined #ruby
<charliesome> shaileshg: it splats the m array out over teh variables on the left
mikepack has joined #ruby
<shaileshg> its being used like a, b, c = *d
<charliesome> _, id, content = *m is the same as
<charliesome> _ = m[0]; id = m[1]; content = m[2]
<shaileshg> charliesome: oh.. okay
joelroa_ has quit [Ping timeout: 272 seconds]
cj3kim_ has quit [Ping timeout: 272 seconds]
<charliesome> well, mostly the same
tonyhb has joined #ruby
<shaileshg> charliesome: what do you mean by mostly the same
<charliesome> if m is an array that's how it works
<shaileshg> if its not, then?
<charliesome> if m is something else, then it behaves slightly differently but you shouldn't need to worry about that
joelroa_ has joined #ruby
Steve445 has quit [Quit: Steve445]
<shaileshg> and if its on receiving side like.. txdist, *inputs = content.split(/_TXINPUT_/)
LaPetiteFromage has quit [Quit: LaPetiteFromage]
<shaileshg> a, *b = c
<charliesome> that puts the first element of the array in a
<shaileshg> would a = c[0] and b=c[1..n]
<shaileshg> ?
<charliesome> and the rest of the elements in b
<charliesome> yes
jso has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
<shaileshg> one place i found it being used though not an array
joelroa has joined #ruby
<shaileshg> what would it mean then?
tatsuo has quit [Ping timeout: 272 seconds]
<charliesome> it calls to_a on the element and turns it into an array
<shaileshg> charliesome: oh. okay :)
<charliesome> if the object doesn't have to_a it just wraps it in an array
<charliesome> a, b = *1
<charliesome> that sets a to 1 and b to nil
mikepack has quit [Ping timeout: 272 seconds]
<shaileshg> charliesome: hmm.
<ryanuber> i have a question on convention.
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
<ryanuber> when do/don't you use parenthesis in compound statements?
<ryanuber> well, maybe that answers it.
<ryanuber> if its compound you probably are required to use ()'s
<shaileshg> when interepreter won't get confused without it
<shaileshg> a b(c)
<diegoviola> any vimmers here? what do you guys think of the neovim project?
Hien has joined #ruby
<diegoviola> sounds fascinating to me
pierre1_ has joined #ruby
<shaileshg> ryanuber: a b c would confused interpreter thinking b, c are args to a
Lightstalker has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 264 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joelroa has joined #ruby
<shaileshg> charliesome: is there any special meaning of "_" as a variable?
banister has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
<charliesome> nope
<charliesome> by convention it means you're uninterested in the value
<shaileshg> then why is _ used?
<popl> 22:55 < charliesome> by convention it means you're uninterested in the value
mikecmpbll has joined #ruby
<shaileshg> popl: hmm
<ryanuber> shaileshg: any idea if it makes any difference in the compiler?
<shaileshg> ryanuber: there is no compiler as such..
joelroa_ has quit [Ping timeout: 272 seconds]
tungd has quit [Ping timeout: 272 seconds]
<shaileshg> till a accepts two or more args, a b c should be fine.. but if a accepts only single arg, a b c would complain
aryaching has joined #ruby
joelroa_ has joined #ruby
tungd has joined #ruby
wchun has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
joelroa__ has joined #ruby
<Oog_> open(eb.pluto_url, :redirect=>true) RuntimeError: redirection forbidden:
<Oog_> this is going http -> https
<Oog_> anyway to let this work?
Lightstalker has joined #ruby
phansch has joined #ruby
Vovko has quit [Read error: Connection reset by peer]
phansch has quit [Remote host closed the connection]
phansch has joined #ruby
Vovko has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
tungd has quit [Ping timeout: 264 seconds]
joelroa__ has quit [Ping timeout: 264 seconds]
thams has quit [Quit: thams]
tungd has joined #ruby
joelroa_ has joined #ruby
<tonyhb> can anyone explain how this works?
<Oog_> what part
<tonyhb> is the body a constructor?
<Oog_> this is rails you might want to try #rubyonrails
<tonyhb> yeah, but i'm trying to understand class instantiation
joelroa has quit [Ping timeout: 272 seconds]
<tonyhb> when you run a class without a method, is the body a constructor?
<tonyhb> it's just a little bit confusing having an empty class
<tonyhb> i don't understand it
joelroa has joined #ruby
<Oog_> i dont know i wonder myself :)
<Oog_> i usually use initialize
<tonyhb> lol yeah
<tonyhb> it's confusing.
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
tatsuo_ has quit [Remote host closed the connection]
tonyhb has quit [Quit: peace]
tungd has quit [Ping timeout: 264 seconds]
agent_white has quit [Read error: Connection reset by peer]
TripleDES has joined #ruby
mikecmpbll has joined #ruby
agent_white has joined #ruby
tungd has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
slowcon has joined #ruby
cj3kim has joined #ruby
joelroa has joined #ruby
slowcon has quit [Client Quit]
cj3kim has quit [Read error: Connection reset by peer]
tonyhb has joined #ruby
<tonyhb> oh man, it makes sense. being dumb.
nisstyre has quit [Quit: WeeChat 0.4.3]
joelroa_ has quit [Ping timeout: 272 seconds]
mjs2600 has joined #ruby
TheMoonMaster has quit [Excess Flood]
joelroa_ has joined #ruby
TheMoonMaster has joined #ruby
alexju has joined #ruby
TheMoonMaster has quit [Excess Flood]
agent_white has quit [Quit: leaving]
joelroa has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
joelroa has joined #ruby
mjs2600 has quit [Ping timeout: 264 seconds]
tungd has quit [Ping timeout: 272 seconds]
tungd has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
kitak has joined #ruby
TheMoonMaster has joined #ruby
Asher has quit [Remote host closed the connection]
Asher has joined #ruby
flowerhack has joined #ruby
pfg has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
bitness64 has quit [Remote host closed the connection]
Salve has joined #ruby
krz has joined #ruby
pfg has joined #ruby
kitak has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 264 seconds]
tgkokk has joined #ruby
tgkokk has quit [Max SendQ exceeded]
joelroa_ has joined #ruby
tgkokk has joined #ruby
lewix has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 272 seconds]
lewix has joined #ruby
joelroa has joined #ruby
browndawg has left #ruby [#ruby]
mneorr has joined #ruby
tungd has quit [Ping timeout: 264 seconds]
tungd has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
lxsameer has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
mneorr has quit [Ping timeout: 272 seconds]
mlpinit has quit [Remote host closed the connection]
m104 has quit [Quit: bye]
waxjar has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
maroloccio has joined #ruby
_rohitnair88 has quit [Ping timeout: 272 seconds]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
jlebrech has joined #ruby
leonidlm has joined #ruby
<weems> anyone want to debug this for me? https://gist.github.com/perlgeek/9166914 getting no such file or directory error
waxjar has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
TheMoonMaster has quit [Excess Flood]
joelroa_ has joined #ruby
dapz_ has joined #ruby
dapz_ has quit [Max SendQ exceeded]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<popl> weems: does the file exist?
cj3kim has joined #ruby
SolarSailor has joined #ruby
meatherly has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
<weems> popl, I thought the program would create it :p
nisstyre has joined #ruby
joelroa has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
<popl> weems: why did you think that?
_bart has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
TheMoonMaster has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
rickruby has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 272 seconds]
meatherly has quit [Ping timeout: 272 seconds]
tonyhb has quit [Ping timeout: 272 seconds]
<weems> popl, because I guess I do not understand how output works i9n ruby yet :P
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<weems> how do you create a file to output to in ruby
<weems> popl ^
<agent_white> weems: Get on board with irb my friend :)
joelroa has quit [Ping timeout: 272 seconds]
joelroa__ has joined #ruby
<weems> I was making this in irb and then I was going to try and output a string to a page :p
<weems> obviously I dont know enough yet
<agent_white> weems: Ahhhh. Well just try something simple firsT! Like `f = File.new("somefile.txt")`
<popl> the emoticons make you seem like a very emo teenager
<popl> :P
<popl> just read the docs. that's all you gotta do. :)
<weems> -_- k
<agent_white> The Ruby docs are actually nice compared to the rest of the world *cough-man pages-cough*
<popl> um
<popl> I disagree.
<popl> I mean, that site you mentioned is pretty nice.
<weems> agent_white, eew manpages
<popl> But compared to some other language's documentation, ruby falls flat.
<agent_white> popl: Hahah. I just musn't have my beard grown yet. But I find googling what I'
<agent_white> I'm looking to do much easier than searching man pages.
<weems> I like Java's Documentation alright
<weems> and Pythons is pretty good too
<existensil_> yeah, Java came to mind for me when trying to think of better documented languages
joelroa has joined #ruby
<agent_white> popl: That way I get a few different ways of describing something, rather than one way that could be terrible. *shrug*
<existensil_> but ruby isn't too bad in that regard
joelroa has quit [Max SendQ exceeded]
bluehavana_ has joined #ruby
existensil_ is now known as existensil
<agent_white> I just like Ruby's "here's a lil' snippet to show you" thing. Pragmatism is the shit.
joelroa__ has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
<SolarSailor> agent_white: Right on.
<weems> popl, I still dont know whats wrong with it https://gist.github.com/perlgeek/9166914
<weems> I did File.new
<existensil> documentation isn't everything. PHP docs are pretty decent, but that's not going to get me to go back to PHP
<weems> but it wont take the initialization
<popl> weems: Did you read the documentation?
<popl> It's pretty apparent
<agent_white> weems: Good idea to attach another file with your error as well.
<agent_white> SolarSailor: \o
snuffeluffegus has quit [Quit: Leaving]
joelroa_ has joined #ruby
<agent_white> diegoviola: Yessur. It can act up, btw. That's why I suggested the "IRL" version ;D
<agent_white> MT
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
cj3kim has joined #ruby
<agent_white> weems: Does that file already exist?
<weems> agent_white, I was attempting to write a new one
slowcon has joined #ruby
<weems> and then open it
<weems> and put text into it via ruby
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
<weems> eventually I would like to make a web page. but until I figure put this basic io, thats pretty much a moot point.
<agent_white> weems: Look at line 6 again, are you opening a new file, or making a new one?
<weems> out*
joelroa has quit [Max SendQ exceeded]
<agent_white> weems: Copypasta that single line into irb, so you'll see what it does right away.
slowcon has quit [Client Quit]
<SolarSailor> weems: Try this: f = File.open('hi.txt', 'w'); f.write("Hello there"); f.close
Hobogrammer_ has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
jfelchner_ has joined #ruby
krz has quit [Read error: Connection reset by peer]
<SolarSailor> Note that I've separated several lines of code with semi-colon. You would probably want to wrap the lines and omit the semi-colons.
popl has quit [Quit: Touch the frog.]
charliesome has joined #ruby
Hobogrammer has quit [Ping timeout: 272 seconds]
popl has joined #ruby
popl has joined #ruby
joelroa has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
<pipework> Can someone please explain this to me? http://imgur.com/gallery/VOe71EA
joelroa_ has joined #ruby
<popl> pipework: read the first comment underneath the phot
<popl> *photo
<popl> any of the comments, really
<agent_white> pipework: I still don't understand the 'vim is hard' thing. IDE buttons confuse me a whole lot more. It's like reading hieroglyphs.
pierre1_ has quit [Ping timeout: 272 seconds]
joelroa has quit [Ping timeout: 264 seconds]
OdNairy has joined #ruby
joelroa__ has joined #ruby
<popl> vim is hard[er than thinking].
tgkokk has quit [Quit: Textual IRC Client: www.textualapp.com]
Hobogrammer_ has quit [Ping timeout: 264 seconds]
jonah_k has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
Kuda has quit [Quit: Byebye!]
tgkokk has joined #ruby
joelroa__ has quit [Ping timeout: 272 seconds]
twiceaday has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
PLejeck has quit [Changing host]
PLejeck has joined #ruby
twiceaday has joined #ruby
PLejeck is now known as nuck
<agent_white> How much beard do you need to use emacs?
rickruby has joined #ruby
b00stfr3ak has quit [Ping timeout: 272 seconds]
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
oracal has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
yasushi has joined #ruby
joelroa_ has joined #ruby
krz has joined #ruby
Hobogrammer has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
rickruby has quit [Ping timeout: 272 seconds]
ping-pong has joined #ruby
Oog_ has quit []
joelroa_ has quit [Ping timeout: 264 seconds]
RSTJNII has quit [Changing host]
RSTJNII has joined #ruby
pagioss has quit [Changing host]
pagioss has joined #ruby
Coolhand has quit [Changing host]
Coolhand has joined #ruby
pipework has quit [Changing host]
pipework has joined #ruby
fayimora__ has quit [Changing host]
fayimora__ has joined #ruby
Mapley has quit [Changing host]
Mapley has joined #ruby
Avahey has quit [Changing host]
Avahey has joined #ruby
BaconOverflow___ has quit [Changing host]
BaconOverflow___ has joined #ruby
machty has joined #ruby
machty has quit [Changing host]
rickenharp has quit [Changing host]
lepht__ has quit [Changing host]
rickenharp has joined #ruby
lepht__ has joined #ruby
mjc_ has joined #ruby
jds has joined #ruby
jds has quit [Changing host]
Jakee` has joined #ruby
mroth_ has joined #ruby
mjc_ has quit [Changing host]
mroth_ has quit [Changing host]
Jakee` has quit [Changing host]
ckrailo has quit [Changing host]
ckrailo has joined #ruby
yo61 has joined #ruby
yo61 has quit [Changing host]
jpinnix_ has quit [Changing host]
jpinnix_ has joined #ruby
Tranquility has quit [Changing host]
Tranquility has joined #ruby
zzak has quit [Changing host]
zzak has joined #ruby
pusewicz__ has joined #ruby
pusewicz__ has quit [Changing host]
kapowaz has quit [Changing host]
kapowaz has joined #ruby
Guest85414______ has joined #ruby
Guest85414______ has quit [Changing host]
mattyohe_ has joined #ruby
mattyohe_ has quit [Changing host]
zrl has quit [Changing host]
zrl has joined #ruby
apocalyptic_ab has quit [Changing host]
cmaxw__ has joined #ruby
apocalyptic_ab has joined #ruby
cmaxw__ has quit [Changing host]
antonishen has quit [Changing host]
antonishen has joined #ruby
robmozart_ has quit [Changing host]
robmozart_ has joined #ruby
jrunning___ has quit [Changing host]
jrunning___ has joined #ruby
mtlatif_ has quit [Changing host]
mtlatif_ has joined #ruby
frode15243_ has joined #ruby
frode15243_ has quit [Changing host]
Davedo has quit [Changing host]
Davedo has joined #ruby
tacos1de has joined #ruby
andrewstewart has quit [Changing host]
andrewstewart has joined #ruby
nhmood has quit [Changing host]
nhmood has joined #ruby
ceej has joined #ruby
cbetta has quit [Changing host]
cbetta has joined #ruby
ceej has quit [Changing host]
bedouin has quit [Changing host]
bedouin has joined #ruby
dnyy has quit [Changing host]
dnyy has joined #ruby
gazoombo_ has quit [Changing host]
gazoombo_ has joined #ruby
RKornmeyer has quit [Changing host]
RKornmeyer has joined #ruby
octarine has joined #ruby
octarine has quit [Changing host]
ggherdov has quit [Changing host]
ggherdov has joined #ruby
lectrick_ has quit [Changing host]
lectrick_ has joined #ruby
shaileshg has quit [Changing host]
shaileshg has joined #ruby
bluehavana_ has quit [Changing host]
bluehavana_ has joined #ruby
jfelchner_ has quit [Changing host]
jfelchner_ has joined #ruby
joelroa_ has joined #ruby
end_guy has joined #ruby
shabgard has joined #ruby
shabgard has quit [Changing host]
shabgard has joined #ruby
Hobogrammer_ has joined #ruby
DrCode has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
Hobogrammer has quit [Ping timeout: 272 seconds]
wjlafrance has quit [Quit: This computer has gone to sleep]
joelroa has joined #ruby
mlpinit has joined #ruby
awkisopen has joined #ruby
echevemaster has quit [Quit: Leaving]
joelroa_ has quit [Ping timeout: 264 seconds]
_bart has quit [Remote host closed the connection]
chihhsin_cloud has joined #ruby
joelroa_ has joined #ruby
Astralum has joined #ruby
derek_c has quit [Quit: Leaving]
mlpinit has quit [Ping timeout: 272 seconds]
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
Hobogrammer_ has quit [Ping timeout: 264 seconds]
pfg has quit [Quit: Textual IRC Client: www.textualapp.com]
* agent_white dances
thomasxie has quit [Ping timeout: 272 seconds]
phansch has quit [Quit: WeeChat 0.4.2]
joelroa_ has quit [Ping timeout: 272 seconds]
Vovko has quit []
Avahey has quit [Quit: Connection closed for inactivity]
joelroa_ has joined #ruby
daveops has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
gyre007_ has joined #ruby
adambeynon_ has joined #ruby
Guest89694 has joined #ruby
joelroa has joined #ruby
Rennex_ is now known as Rennex
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
m104 has joined #ruby
sski has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
dingus_khan has quit [Remote host closed the connection]
meatherly has joined #ruby
mikecmpbll has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
lolmaus has joined #ruby
claymore has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
meatherly has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
andy__ has joined #ruby
vlad_starkov has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
joelroa_ has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
joelroa has joined #ruby
jack_rabbit has quit [Ping timeout: 272 seconds]
lewix has joined #ruby
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
phansch has joined #ruby
joelroa_ has joined #ruby
kennym_ has quit [Ping timeout: 264 seconds]
krz has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
avelldiroll has quit [Quit: WeeChat 0.3.8]
avelldiroll has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
arietis has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
linduxed has joined #ruby
thomasxie has joined #ruby
18WAFUZ14 has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
robbyoconnor has joined #ruby
krz has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
arietis has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa_ has joined #ruby
BWStearn1 has joined #ruby
virtualize has quit []
mjs2600 has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
yasushi has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 272 seconds]
browndawg has quit [Read error: Connection timed out]
joelroa has joined #ruby
browndawg has joined #ruby
LadyRainicorn has joined #ruby
Wolland has joined #ruby
krz has quit [Ping timeout: 264 seconds]
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
lewix has quit [Remote host closed the connection]
firefly2013 has joined #ruby
mjs2600 has quit [Ping timeout: 272 seconds]
joelroa has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
joelroa has joined #ruby
dingus_khan has joined #ruby
BWStearn1 has quit [Ping timeout: 272 seconds]
slowcon has joined #ruby
joelroa_ has quit [Ping timeout: 272 seconds]
ultraflash3 has joined #ruby
jph98 has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
joelroa__ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
alexherbo2 has joined #ruby
relix has joined #ruby
cj3kim has quit [Remote host closed the connection]
joelroa has joined #ruby
thomasxie has quit [Ping timeout: 272 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KarolisNo has joined #ruby
slowcon has quit [Quit: slowcon]
chihhsin has quit [Quit: leaving]
krz has joined #ruby
KarolisNo has quit [Remote host closed the connection]
chihhsin has joined #ruby
mlpinit has joined #ruby
Fractional_ has joined #ruby
kitak has joined #ruby
joelroa__ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
sparrovv has joined #ruby
chihhsin has quit [Client Quit]
joelroa has quit [Ping timeout: 272 seconds]
browndawg has quit [Read error: Connection timed out]
joelroa__ has joined #ruby
krz has quit [Client Quit]
chihhsin has joined #ruby
JasmeetQA has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
joelroa_ has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
armyriad has joined #ruby
joelroa has joined #ruby
mikecmpbll has joined #ruby
joelroa__ has quit [Ping timeout: 272 seconds]
Mon_Ouie has joined #ruby
carraroj has joined #ruby
joelroa_ has joined #ruby
makara has joined #ruby
joelroa__ has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
pen has joined #ruby
hello_world has joined #ruby
KarolisNo has joined #ruby
meatherly has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
sree has joined #ruby
rubyracer has joined #ruby
chihhsin has quit [Quit: leaving]
end_guy has quit [Ping timeout: 240 seconds]
chihhsin has joined #ruby
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joelroa__ has quit [Ping timeout: 264 seconds]
agent_white has left #ruby [#ruby]
hello_world has quit [Ping timeout: 245 seconds]
joelroa_ has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
maetthew has quit [Quit: ZNC - http://znc.in]
KarolisNo has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
meatherly has quit [Ping timeout: 272 seconds]
joelroa has quit [Ping timeout: 264 seconds]
lewix has joined #ruby
joelroa has joined #ruby
justin_pdx has joined #ruby
justin_pdx has quit [Client Quit]
browndawg has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
charliesome has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
AxonetBE has joined #ruby
Azulinho has joined #ruby
joelroa has quit [Ping timeout: 272 seconds]
phansch has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
<certainty> >> x = 100; [->(y;x){ x = y + 2 }.call(42), x]
<eval-in___> certainty => [44, 100] (https://eval.in/104678)
<certainty> interesting, probably rarely used but still interesting
gigetoo has quit [Ping timeout: 272 seconds]
end_guy has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joelroa_ has quit [Ping timeout: 264 seconds]
lewix has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
cj3kim has joined #ruby
andy__ has quit [Remote host closed the connection]
mvangala has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
sree has quit []
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
joelroa_ has quit [Ping timeout: 264 seconds]
bluehavana_ has quit [Quit: Connection closed for inactivity]
joelroa_ has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<apeiros> popl: hi there
joelroa has quit [Ping timeout: 272 seconds]
rootshift_ has joined #ruby
joelroa__ has joined #ruby
<popl> apeiros: Hi.
<popl> I have your code open in vim right now. :)
<popl> I have been familiarizing myself with it.
<popl> Well, between eating and other stuff.
klaut has joined #ruby
<apeiros> :D
phansch has joined #ruby
<popl> I thought I had a version of vim compiled with +ruby but I must have updated with my system package since then (Slackware's vim has support for python but not ruby).
<popl> I was trying to get omnifunc to work.
joelroa_ has quit [Ping timeout: 272 seconds]
joelroa has joined #ruby
<popl> I also changed fontsize in my terminal to better support the long lines in your code.
joelroa has quit [Max SendQ exceeded]
<apeiros> oh, you're an 80 columner? :)
<popl> I'm old, man. :P
<apeiros> heh
<popl> Anyways, usually yeah.
<popl> But I am not stuck to it.
<popl> I do have a colorcolumn set in vim to remind me if I'm going over.
yasu____ is now known as yasu
<popl> apeiros: It's probably mostly a holdover from university
<popl> .
joelroa__ has quit [Ping timeout: 272 seconds]
<popl> old habits…
joelroa has joined #ruby
<popl> apeiros: Anyways, thanks for letting me take a look and all. I'm learning about Ruby too.
browndawg has quit [Read error: Connection timed out]
<popl> (from your code, I mean)
beond has quit [Quit: beond]
milhite has joined #ruby
jlebrech has quit [Quit: Computer has gone to sleep.]
<apeiros> I generally try to stay below 100 cols. with bbedit I had rulers on 100 and 120. but since switching to sublime, I no longer have them :(
<zxd> need some help with god, it seems it dosen't find the gems when running a ruby program
<zxd> if I run it manually it works
<apeiros> zxd: you need a priest
<popl> Ah, I was going to ask what you used to edit.
<apeiros> *scnr*
<jhass> apeiros: :o sublime does support rulers (even multiples at the same time!)
<zxd> running in rvm environment
<apeiros> jhass: great. I was too lazy to research that. but since you know how…
<apeiros> jhass: where/how can I activate them?
plexus_ has joined #ruby
<popl> probably some clicky thing
browndawg has joined #ruby
<popl> ;)
<apeiros> popl: sublime sadly has most of its config in .json files
joelroa_ has joined #ruby
<jhass> just add "rulers": [80, 100, 120] to your user settings
<popl> hah
<popl> could be worse, I guess
<apeiros> noice!
<apeiros> thanks jhass. I'm now rulerified
end_guy has quit [Ping timeout: 240 seconds]
<jhass> yw
carraroj has quit [Ping timeout: 272 seconds]
joelroa has quit [Ping timeout: 264 seconds]
AxonetBE has quit [Quit: AxonetBE]
<apeiros> fuck. sunday. last holiday :(
joelroa__ has joined #ruby
<apeiros> and I only polished 2 gems
<apeiros> and didn't even finish polishing the 2nd
<popl> You're on holiday?
<apeiros> yeah, last 14 days
end_guy has joined #ruby
ItSANgo_ has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
<popl> Oh well. You can do that (polish your gems) when you're supposed to be working. ;)
<apeiros> sadly, I'm too loyal to do that :-/
cj3kim_ has joined #ruby
m104 has quit [Quit: bye]
lkba has quit [Ping timeout: 264 seconds]
eka has joined #ruby
<popl> I probably would be, too, if I had a decent job. :P
joelroa__ has quit [Ping timeout: 264 seconds]
cj3kim has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
<apeiros> yeah, I guess if my job was not decent, I wouldn't be loyal either.
<popl> I don't work in software right now. :(
kitak has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 272 seconds]
lewix has joined #ruby
WillAmes has joined #ruby
phreax has joined #ruby
Guest46592 has joined #ruby
Guest24602 has joined #ruby
go|dfish has joined #ruby
txdv has joined #ruby
yxhuvud has quit [Quit: Leaving]
Alina-malina has quit [Quit: Leaving]
yxhuvud has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
Wolland has quit [Remote host closed the connection]
mneorr has joined #ruby
mlpinit has joined #ruby
joelroa_ has joined #ruby
agjacome has joined #ruby
alexju has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
lewix has quit [Ping timeout: 264 seconds]
ultraflash3 has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 264 seconds]
joelroa__ has joined #ruby
browndawg has quit [Read error: Connection timed out]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<certainty> >> "I'm %s" % (rand(2).zero? && "not " or "") << "loyal"
<eval-in___> certainty => "I'm loyal" (https://eval.in/104679)
<certainty> fortune is with me
mneorr has quit [Ping timeout: 264 seconds]
joelroa_ has quit [Ping timeout: 264 seconds]
mlpinit has quit [Ping timeout: 264 seconds]
<shevy> and the ugliness is with you as well
joelroa has joined #ruby
relix has joined #ruby
francisfish has joined #ruby
jfelchner_ has quit [Quit: Connection closed for inactivity]
vlad_starkov has quit [Ping timeout: 264 seconds]
<certainty> shevy: beauty is in the eyo of the beholder
joelroa__ has quit [Ping timeout: 252 seconds]
<popl> Si fortuna tonat, caveto mergi.
<certainty> yeah, whatever that means :)
joelroa_ has joined #ruby
<shevy> pizza completti i tutti paletti
vlad_starkov has joined #ruby
<popl> pizza++
milhite has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> :)
<popl> shevy: tutti fruity?
<shevy> I knew that show
rootshift_ has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<certainty> who didn't
<popl> what show?
<popl> s/what/which/
joelroa has quit [Ping timeout: 240 seconds]
* popl raises his hand
<shevy> the girls were not allowed to conceal some things
joelroa has joined #ruby
ohcibi has quit []
vlad_starkov has quit [Read error: Connection reset by peer]
shaileshg has quit [Quit: Connection closed for inactivity]
tungd has quit [Ping timeout: 272 seconds]
<jokke> hey. what happens with class variables and methods when i inherit from a class?
<certainty> >> class Object; def always; ->(*){ self }; end; end; (1..10).map(&3.always)
<eval-in___> certainty => [3, 3, 3, 3, 3, 3, 3, 3, 3, 3] (https://eval.in/104680)
<certainty> i'm full of great ideas today
<jokke> do they exist in the subclass?
tungd has joined #ruby
<certainty> i had too few coffee
<apeiros> class variables not only exist, they're even shared.
joelroa_ has quit [Ping timeout: 265 seconds]
SolarSailor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> which is why they're generally being disadvised
<jokke> oh they're shared
<jokke> that kinda sucks
<certainty> that's a way to put it :)
joelroa_ has joined #ruby
<apeiros> yeah. use instance variables in the class level instead.
wchun has quit [Quit: Leaving]
<jokke> huh?
<certainty> huhu
<apeiros> class Foo; @bar = "default"; class << self; attr_accessor :bar; end; end
meatherly has joined #ruby
<jokke> oh ok
<apeiros> aha
<popl> certainty: less coffee, more whiskey
<jokke> apeiros: i think i found a way around it
joelroa has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
joelroa has joined #ruby
<diegoviola> any vimmers here? what do you guys think of this "neovim" project that aims to refactor and modernize the vim codebase? http://neovim.org/
<certainty> popl: it's 11:50 am here
<certainty> or you mean irish coffee?
joelroa_ has quit [Ping timeout: 246 seconds]
AxonetBE has joined #ruby
ItSANgo_ has quit [Quit: Leaving...]
meatherly has quit [Ping timeout: 240 seconds]
<popl> certainty: You could certainly do that.
joelroa_ has joined #ruby
<certainty> certainly :)
<pipework> diegoviola: it's exciting
<shevy> popl less coffee more whiskers?
<diegoviola> pipework: sure
<popl> The earliest I've ever had a drink was 8-9 in the morning.
browndawg has joined #ruby
gigetoo has joined #ruby
brucele_ has joined #ruby
<popl> shevy: What am I, a cat?
<brucele_> what does line 4 of this code actually do?
<diegoviola> pipework: i've sent an email to the vim_dev@googlegroups.com mailing list asking Bram Moolenaar about his opinion on this project
<diegoviola> pipework: let's wait and see what he has to say
<pipework> diegoviola: Wait on your own. I don't really have much interest in what he has to say.
<pipework> Ask tpope instead.
joelroa has quit [Ping timeout: 252 seconds]
<diegoviola> pipework: ok
joelroa has joined #ruby
<diegoviola> sorry about that. :)
<popl> I use tpope's vim stuff
<jokke> okay, i can't wrap my head around this. I'm writing a dsl and i need a class to be namespaced. So in my "config" i could write something like Namespace.new :foo do; Bar.new :bar do; # bar has namespace :foo; end; end; Bar.new :foobar do # foobar has namespace :global; end
<jokke> you know what i mean/
<jokke> ?
joelroa_ has quit [Ping timeout: 240 seconds]
<jokke> i have no idea how or where i could keep track of the namespace.
ultraflash3 has joined #ruby
<jokke> i know Bar.new :foo :namespace do; end would be much easier...
<plexus_> jokke: typically you would have a global to thread-local "current_namespace" somewhere
<plexus_> that
<plexus_> that's how Shoes and Rake do it
joelroa_ has joined #ruby
<jokke> plexus_: aah
<plexus_> at least I'm certain Shoes does it that way
<jokke> that totally makes sens
<jokke> e
vlad_starkov has quit [Remote host closed the connection]
<apeiros> plexus_: I seriously doubt that rake does it that way
<jokke> i just need to be careful when setting it
<jokke> so that i don't store it as a reference but as a copy
<apeiros> at least rake can easily track the current namespace, and I don't see how such an pattern would be necessary.
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
<apeiros> jokke: as plexus_ points out without telling - your real problem lies not with where to store it, but how to access it. cause of this is that Bar.new is not part of your DSL
kirun has joined #ruby
wjlafrance has joined #ruby
<plexus_> lib/rake/task.rb: @scope = app.current_scope
<apeiros> jokke: if you'd make it e.g.: namespace :foo do; thingy Bar, :bar do … end; end # then you wouldn't have a problem
<jokke> apeiros: hm?
<Fractional_> How do you name ruby class files? ButtonClass.rb or Button.rb?
<plexus_> lib/shoes/dsl.rb: element.new(@__app__, @__app__.current_slot, *args, &blk)
<apeiros> Fractional_: ruby convention has Foo::BarBaz in foo/barbaz.rb
<apeiros> Fractional_: rails convention has Foo::BarBaz in foo/bar_baz.rb
<Fractional_> apeiros: What do you mean by Barbaz?
<jokke> apeiros: you lost me there
joelroa_ has quit [Ping timeout: 246 seconds]
<jokke> whats thingy Bar, :bar do ... end
<jokke> ?
andy__ has joined #ruby
nyuszika7h has joined #ruby
brucele_ has quit [Ping timeout: 264 seconds]
aryaching has joined #ruby
nyuszika7h has left #ruby ["WeeChat 0.4.4-dev"]
<plexus_> jokke: just an example of a DSL method
joelroa_ has joined #ruby
<apeiros> jokke: the equivalent to your Bar.new :bar do … end
<jokke> oh. yeah
<apeiros> jokke: but I have no idea what your DSL is building, so I can't provide a meaningful name
<apeiros> hence 'thingy'
<jokke> ok
<plexus_> his point is you can keep track of the current context without having to resort to globals I think
<apeiros> correct
<jokke> hmm
joelroa has quit [Ping timeout: 246 seconds]
<apeiros> `namespace :foo do` creates a proxy which tracks the namespace. since thingy is called in that proxy, thingy knows it's currently in :foo, and that :bar is [:foo, :bar]
<apeiros> and I'm pretty sure that's how rake does it
reflux has joined #ruby
joelroa has joined #ruby
<jokke> :/
<jokke> sorry, i'm way too unexperienced in dsls to get what you're saying :D
<diegoviola> pipework: tpope already gave his opinion on neovim fyi: https://twitter.com/tpope/status/437019518444240896
halfie has joined #ruby
<pipework> diegoviola: Seems like something I wouldn't mind.
joelroa_ has quit [Ping timeout: 252 seconds]
<diegoviola> pipework: fine, but you sugggested to ask him
joelroa_ has joined #ruby
nism has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
<shevy> perhaps pipework did not mean it :>
dingus_khan has quit [Remote host closed the connection]
carraroj has joined #ruby
carraroj has quit [Client Quit]
agent_white has joined #ruby
<diegoviola> or you are referring to the removal of the vi compatibility?
<pipework> Oh, I meant it. His opinion is pretty good. But I don't mind the implications personally.
nism has quit [Read error: Connection reset by peer]
andy__ has quit [Ping timeout: 240 seconds]
agent_white has left #ruby [#ruby]
<pipework> I'm a mere user who only makes his own colorschemes and silly plugins
joelroa has joined #ruby
browndawg has quit [Read error: Connection timed out]
<diegoviola> pipework: are you referring to the removal of the vi compatibility? or you say that you don't mind about his opinion?
<diegoviola> not sure i understand, sorry
<pipework> diegoviola: I don't care about removing vi compatibility, and I don't mind the implications of operating systems not shipping with neovim because it doesn't have that 'feature'
<diegoviola> I see
wjlafrance has quit [Quit: This computer has gone to sleep]
freerobby has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
carraroj has joined #ruby
<plexus_> jokke: one possible approach https://gist.github.com/9170061
<diegoviola> pipework: sorry i misunderstood
<pipework> It's cool.
<diegoviola> yeah i don't care about the old "vi" compatibility also
joelroa_ has quit [Ping timeout: 240 seconds]
ohcibi has joined #ruby
<pipework> I always sigh whenever I notice I'm on vi.
<diegoviola> I really like the idea of turning vim into a library that could be re-used among different GUIs, etc
sepp2k has joined #ruby
<diegoviola> but I'm not sure about the IPC mechanism they suggest ot use
<diegoviola> to use*
<pipework> Yeah, me neither
joelroa_ has joined #ruby
<diegoviola> they'd like for the GUI to be a separate process, the "vim core" to be a separate process, and plugins to be separate process
<jokke> apeiros: ah yes. that's what i was doing right now actually!
Fractional_ has quit [Quit: Leaving]
<pipework> I don't mind that, I don't like the JSON-RPC
<jokke> that also makes nested namespaces possible
<diegoviola> pipework: i'm just not sure about it, wouldn't IPC be more prone to bugs?
<jokke> and from the root i can access everything
<pipework> diegoviola: As opposed to a monolithic system?
<diegoviola> pipework: yes
joelroa has quit [Ping timeout: 240 seconds]
<diegoviola> pipework: if it's well tested and has good test coverage i don't think i'll worry about it
joelroa has joined #ruby
<diegoviola> but i'm not sure
ItSANgo has joined #ruby
<pipework> diegoviola: I think posing the possibility of bugs in a given approach isn't the most productive or quantitative thing to do.
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
davidcollom_ is now known as davidcollom
<pipework> I somehow doubt it'll come with good tests.
RoxasShadowRS has joined #ruby
<diegoviola> meh, i'll stick to vim for now
<diegoviola> it's good enough
<pipework> I'm going to donate and wait it out.
<Hanmac> shevy: http://xkcd.com/1331/
<pipework> Vim is just fine as it is.
<shevy> emacs is better
joelroa_ has quit [Read error: Operation timed out]
mjs2600 has joined #ruby
<shevy> Hanmac omg
<pipework> shevy: We're talking about editors, not operating systems.
tungd has quit [Ping timeout: 265 seconds]
<diegoviola> I don't understand why Bram Moolenaar is that picky about accepting vim patches
<diegoviola> doesn't he want his project to advance?
<pipework> diegoviola: Because he's the only real maintainer and core developer.
<shevy> he is getting too old
tungd has joined #ruby
<pipework> shevy: citation needed
jackneill has joined #ruby
davidcollom is now known as davidcollom_
joelroa_ has joined #ruby
<diegoviola> why not have more core developers then
<shevy> do you want the granddads to be software maintainers?
<pipework> Sure, why not?
<pipework> diegoviola: Perhaps he hasn't found anyone who is able to meet his standards.
<diegoviola> what if the community splits and then they don't care about maintaining vim compatibility anymore and then we have plugins that work with neovim and doesn't in vim, and vice-versa
<pipework> such is life
joelroa has quit [Ping timeout: 264 seconds]
<diegoviola> emacs community will be laughing at us
joelroa has joined #ruby
bleak has joined #ruby
francisfish has quit [Remote host closed the connection]
rickruby has joined #ruby
<certainty> don't think so
<pipework> diegoviola: We'll laugh at them for years to come because they may have the best tetris client, but we have an acceptable editor something they've never been able to accomplish.
maztah is now known as maZtah
francisfish has joined #ruby
mjs2600 has quit [Ping timeout: 264 seconds]
<jokke> apeiros: but i'm not going to use instance_eval
davidcollom_ is now known as davidcollom
<jokke> i'm just gonna yield self
<shevy> Linus Torvalds 1991 started linux, age: 23. matz created ruby when he was 30, larry created perl when he was 33, guido created python when he was 35
<diegoviola> pipework: they have evil-mode
shredding has joined #ruby
<diegoviola> haha
<popl> shredding: I have ten toenails.
<certainty> and viper and whatnot
<popl> s/shredding/shevy/
<shredding> Nice for u
<pipework> If only they had a good text editor.
<popl> shredding: sorry.
<diegoviola> pipework: evil mode
<shredding> :)
<pipework> diegoviola: And?
<shevy> popl cool, what can your toenails implement?
joelroa_ has quit [Ping timeout: 265 seconds]
mercwithamouth has joined #ruby
joelroa_ has joined #ruby
davidcollom is now known as davidcollom_
<certainty> rms started on GNU Emacs when he was around 30 as well
davidcollom_ is now known as davidcollom
<certainty> seems to be a good age
<shevy> certainty don't depress me :(
oracal has quit [Ping timeout: 264 seconds]
<shevy> things go downhill past that... bram started on vim when he was 30
<popl> shevy: each can help implement the growth of millions of dermatophytes.
joelroa has quit [Ping timeout: 252 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> popl damn you are a fungus man!
rickruby has quit [Ping timeout: 265 seconds]
<pipework> shevy: Are you 12?
<shevy> like those thingies in invasion of the body snatchers... except that they were more zombie plants like
francisfish has quit [Ping timeout: 252 seconds]
<certainty> well those were exceptional people
joelroa has joined #ruby
<shevy> pipework Are you stupid?
<diegoviola> pipework: vim is good, if evil-mode can make emacs more like "vim" then they already have a good editor.
<popl> Yeah, Linus only implemented two new lives.
<certainty> s/were/are/
<pipework> shevy: By some measure, yes.
<popl> What a selfish individual.
<pipework> diegoviola: Not sure.
<shevy> pipework nah I think you are very clever, you just pretend
<pipework> shevy: I don't even know how to spell clever.
OdNairy has joined #ruby
<shevy> like saying "hey it is no problem if a coder is 60 years old!!!"
* popl <-
<diegoviola> pipework: it probably won't be the same, but if it's more like vim then it's probably better...
<popl> ;P
<diegoviola> pipework: or improved
<pipework> shevy: Is it?
<shevy> pipework you said it is not
<certainty> diegoviola: again i don't think so. What don't you like about emacs?
browndawg has joined #ruby
<pipework> shevy: I don't see why ageism would have a place in this.
<diegoviola> certainty: i never tried emacs and i never said it's bad
<popl> shevy: Are you Italian?
<shevy> right because the granddads are performing so well
<diegoviola> certainty: i actually "ran" emacs a few times but i never really used it
<shevy> popl nope
<certainty> diegoviola: you said it would probably be better if it was more like vi :)
<pipework> Young people are just as likely to let their projects go unmaintained, but not for the excusable reason that the developer has expired.
<certainty> or vim
joelroa_ has quit [Ping timeout: 240 seconds]
<diegoviola> certainty: well i shouldn't have said that, i was just responding to pipework because he said emacs would never have a good editor
<shevy> still they happily outperform your granddaddies, fail early, fail often
<pipework> TIL shevy wants to use software written by toddler.
<pipework> toddlers
<certainty> diegoviola: i see :) well there is that old joke stating that emacs is an operating system, unfortunatelly one that lacks a decent editor
<pipework> popl: I think shevy is like a Russian or something.
<diegoviola> certainty: right
<certainty> i don't think it's true but it's funny nevertheless
<shevy> pipework hmm let's see ... google... founded by ... Larry Page and Sergey Brin, 1998... OLD PEOPLE right...
joelroa_ has joined #ruby
<shevy> oops no wait... larry was 25 ... sergey 25 damn I thought you convinced me pipework
<pipework> shevy: You're likely older than me, but I don't attribute your deplorable antics to your age, just your intelligence.
<pipework> <3
<shevy> pipework I'd have to know your age for that
lupine has joined #ruby
<pipework> shevy: It's probably available via rubygems or github.
<certainty> :)
<diegoviola> certainty: i really like some features of emacs like running more than one thing in emacs, like a REPL, and such things
<shevy> which you don't use
joelroa has quit [Ping timeout: 246 seconds]
brucele_ has joined #ruby
<pipework> shevy: Oh, I use them.
<shevy> pipework we've been there before
<certainty> diegoviola: yeah, but that's possible in vim too right?
<pipework> diegoviola: Oh, vim can run multiple things.
oracal has joined #ruby
<pipework> shevy: Where? To github and rubygems? Yes, I have.
<shevy> diegoviola did you try dit? http://hisham.hm/dit/
<shevy> pipework nope
<pipework> shevy: You haven't been? You should check them out, I'm on there.
<shevy> pipework you are not there
decoponyo has joined #ruby
<certainty> well not physically
<pipework> shevy: I assure you, I am.
ta9to has joined #ruby
<shevy> certainty where is he
<certainty> shevy: ever asked which name he uses there?
jsilver_ has joined #ruby
<shevy> certainty pipework
Asher2 has joined #ruby
hiyosi has joined #ruby
mavcunha_ has joined #ruby
Matriks_ has joined #ruby
sparrovv_ has joined #ruby
popl_ has joined #ruby
popl_ has quit [Changing host]
popl_ has joined #ruby
charlies_ has joined #ruby
mlpinit has joined #ruby
<shevy> hmm
patronus_ has joined #ruby
<shevy> diegoviola can vim run without ncurses?
camilasa_ has joined #ruby
apeiros_ has joined #ruby
<pipework> shevy: I think you can run vim in server mode and send it commands, but it might still require ncurses to compile.
klaut_ has joined #ruby
davidcollom is now known as davidcollom_
<shevy> hmm
jph98_ has joined #ruby
joelroa has joined #ruby
Atw has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa has quit [Max SendQ exceeded]
matchaw_ has joined #ruby
<shevy> nano also requires libncursesw.so.5
* certainty sometimes starts vi inside an ansi-term buffer in emacs
popl has quit [Disconnected by services]
<shevy> oh! ed seems to not require ncurses
popl_ is now known as popl
<pipework> I've started vim inside emacs before, but got distracted by the tetris client.
diegovio1 has joined #ruby
<pipework> shevy: Of course it doesn't.
<certainty> M-x zone
wykydtro- has joined #ruby
ganesh has joined #ruby
<certainty> for distraction
<shevy> at work I have two choices now - notepad++ or vim
ganesh is now known as Guest97300
<certainty> i'd chose vim
thomasxie has joined #ruby
pr1x_ has joined #ruby
Drakevr_ has joined #ruby
queequeg2 has joined #ruby
ihme-TTilus has joined #ruby
d3scala has joined #ruby
marcdel_ has joined #ruby
Zhann_ has joined #ruby
droptone_ has joined #ruby
<pipework> shevy: Use an IDE.
<pipework> Netbeans
<shevy> I can not install anything, they don't give me admin rights :(
malnek_ has joined #ruby
emdub_ has joined #ruby
<diegovio1> how do you run more than one thing in vim at the same time?
<diegovio1> like a repl
brandon_1 has joined #ruby
<pipework> shevy: What's it like working for nazis?
<shevy> diegovio1 can't you use different buffers?
joelroa has joined #ruby
Drakevr has quit [Disconnected by services]
<shevy> pipework very boring
<pipework> diegoviola: vim has many buffer tools
mlpinit has quit [Ping timeout: 246 seconds]
razibog has joined #ruby
<shevy> I am like in a very locked down and crippled environment
davidcollom_ is now known as davidcollom
<diegovio1> shevy: sure
<shevy> hmm... what was the command to run a ruby file from inside vim
Drakevr_ is now known as Drakevr
ta9to has quit [Quit: Leaving...]
<pipework> !ruby path/to/file.rb
Drakevr has quit [Changing host]
Drakevr has joined #ruby
mikecmpbll has joined #ruby
<shevy> cool
Matriks_ has quit [Remote host closed the connection]
<shevy> I think I never actually tried that
<pipework> I totally made it up.
<pipework> I don't even know what a vim is.
<diegovio1> running !ruby in vim will put your editor in the background until what you run is executed
elaptic`` has joined #ruby
chipotle_ has joined #ruby
deepy has joined #ruby
brjannc| has joined #ruby
brjannc| has quit [Changing host]
brjannc| has joined #ruby
joelroa_ has joined #ruby
flagg0204_ has joined #ruby
nilsove1 has joined #ruby
mburns_ has joined #ruby
maroloccio has quit [Ping timeout: 264 seconds]
waxjar_ has joined #ruby
cjk101010_ has joined #ruby
thejoecarroll_ has joined #ruby
Davedo1 has joined #ruby
TakumoKatekari has joined #ruby
PLejeck has joined #ruby
deepy is now known as Guest63773
flowerha_ has joined #ruby
diegovio1 is now known as diegovio1a
cj3kim_ has quit [*.net *.split]
plexus_ has quit [*.net *.split]
klaut has quit [*.net *.split]
apeiros has quit [*.net *.split]
Azulinho has quit [*.net *.split]
charliesome has quit [*.net *.split]
rubyracer has quit [*.net *.split]
makara has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
armyriad has quit [*.net *.split]
sparrovv has quit [*.net *.split]
jph98 has quit [*.net *.split]
reflux has quit [*.net *.split]
LadyRainicorn has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
sski has quit [*.net *.split]
gyre007_ has quit [*.net *.split]
Astralum has quit [*.net *.split]
awkisopen has quit [*.net *.split]
shabgard has quit [*.net *.split]
ping-pong has quit [*.net *.split]
twiceaday has quit [*.net *.split]
waxjar has quit [*.net *.split]
leonidlm has quit [*.net *.split]
lxsameer has quit [*.net *.split]
flowerhack has quit [*.net *.split]
Asher has quit [*.net *.split]
TripleDES has quit [*.net *.split]
Lightstalker has quit [*.net *.split]
nuck has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
matchaw has quit [*.net *.split]
Matriks has quit [*.net *.split]
Rollabunna has quit [*.net *.split]
Liothen has quit [*.net *.split]
chipotle has quit [*.net *.split]
ryanuber has quit [*.net *.split]
diegoviola has quit [*.net *.split]
Dwarf has quit [*.net *.split]
AndyWojo has quit [*.net *.split]
jzig has quit [*.net *.split]
icedp has quit [*.net *.split]
ixti has quit [*.net *.split]
dawkirst has quit [*.net *.split]
lectrick_ has quit [*.net *.split]
torstein has quit [*.net *.split]
Sthebig has quit [*.net *.split]
TwinkleHood has quit [*.net *.split]
decoponio has quit [*.net *.split]
Karu has quit [*.net *.split]
Atww has quit [*.net *.split]
ddd_ has quit [*.net *.split]
kies has quit [*.net *.split]
marcdel has quit [*.net *.split]
braincrash has quit [*.net *.split]
edwardly has quit [*.net *.split]
Hanmac has quit [*.net *.split]
mavcunha has quit [*.net *.split]
msch has quit [*.net *.split]
hiyosi_ has quit [*.net *.split]
seich- has quit [*.net *.split]
maZtah has quit [*.net *.split]
mjmac has quit [*.net *.split]
Nowaker has quit [*.net *.split]
wykydtron has quit [*.net *.split]
brandon_ has quit [*.net *.split]
ggherdov has quit [*.net *.split]
dmarr has quit [*.net *.split]
octarine has quit [*.net *.split]
postmodern has quit [*.net *.split]
RKornmeyer has quit [*.net *.split]
DarkFoxDK has quit [*.net *.split]
gazoombo_ has quit [*.net *.split]
dnyy has quit [*.net *.split]
bedouin has quit [*.net *.split]
zenojis has quit [*.net *.split]
cbetta has quit [*.net *.split]
nhmood has quit [*.net *.split]
rurban has quit [*.net *.split]
xybre has quit [*.net *.split]
Paradox has quit [*.net *.split]
Kamilion has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
iaj has quit [*.net *.split]
xxi has quit [*.net *.split]
MarcWeber has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
Guest82818 has quit [*.net *.split]
TTilus has quit [*.net *.split]
brjannc has quit [*.net *.split]
MindfulMonk has quit [*.net *.split]
pr1x has quit [*.net *.split]
undert has quit [*.net *.split]
niv has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
aboudreault has quit [*.net *.split]
erichmenge has quit [*.net *.split]
marcgg has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
Raboo has quit [*.net *.split]
ji0n has quit [*.net *.split]
patronus has quit [*.net *.split]
robwilliamsuk has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
Muz has quit [*.net *.split]
d-snp has quit [*.net *.split]
davidcelis has quit [*.net *.split]
toddabrahm has quit [*.net *.split]
malnek has quit [*.net *.split]
Guest65761 has quit [*.net *.split]
dandrade has quit [*.net *.split]
nilsove has quit [*.net *.split]
koshian_ has quit [*.net *.split]
Zhann has quit [*.net *.split]
jsilver has quit [*.net *.split]
mven has quit [*.net *.split]
jericon has quit [*.net *.split]
droptone has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
Davedo has quit [*.net *.split]
Beoran has quit [*.net *.split]
jabular has quit [*.net *.split]
emdub has quit [*.net *.split]
camilasan has quit [*.net *.split]
descala has quit [*.net *.split]
Takumo has quit [*.net *.split]
Nightmare has quit [*.net *.split]
iamdoo2 has quit [*.net *.split]
idoru has quit [*.net *.split]
mburns has quit [*.net *.split]
bier has quit [*.net *.split]
PhilK_ has quit [*.net *.split]
brucele_ has quit [*.net *.split]
jackneill has quit [*.net *.split]
RoxasShadowRS has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
sepp2k has quit [*.net *.split]
kirun has quit [*.net *.split]
ultraflash3 has quit [*.net *.split]
camt has quit [*.net *.split]
radic_ has quit [*.net *.split]
machuga has quit [*.net *.split]
itstriz` has quit [*.net *.split]
nathancahill has quit [*.net *.split]
oz has quit [*.net *.split]
io_syl has quit [*.net *.split]
wlanboy has quit [*.net *.split]
Senjai has quit [*.net *.split]
kukyakya has quit [*.net *.split]
17SAAH96V has quit [*.net *.split]
mr_red has quit [*.net *.split]
xargoon has quit [*.net *.split]
adeponte has quit [*.net *.split]
bluntman has quit [*.net *.split]
dylannorthrup has quit [*.net *.split]
Tobarja has quit [*.net *.split]
nomadic has quit [*.net *.split]
jayne has quit [*.net *.split]
zastern has quit [*.net *.split]
oracal has quit [*.net *.split]
tungd has quit [*.net *.split]
xiphiasx_ has quit [*.net *.split]
Kruppe has quit [*.net *.split]
Urocyon has quit [*.net *.split]
psyprus has quit [*.net *.split]
aetaric has quit [*.net *.split]
epochwolf has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
[krisbulman] has quit [*.net *.split]
poutine has quit [*.net *.split]
Guest73350 has quit [*.net *.split]
kenichi has quit [*.net *.split]
Davedo1 is now known as Davedo
joelroa has quit [Ping timeout: 244 seconds]
jph98_ is now known as jph98
bier_ has joined #ruby
zoscoy has joined #ruby
davidcollom is now known as davidcollom_
davidcollom_ is now known as davidcollom
erichmenge has joined #ruby
zoscoy has quit [Client Quit]
oracal has joined #ruby
<popl> diegovio1a: only if you compile vim with ruby support
<popl> stupid netsplits
Guest63773 has quit [Excess Flood]
<diegovio1a> popl: what's the difference?
Shidash has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
<diegovio1a> popl: will it then run the code in a buffer?
dingus_khan has joined #ruby
<diegovio1a> without putting the editor in the bg?
thomasxie has left #ruby [#ruby]
armyriad has joined #ruby
deepa has joined #ruby
diegovio1a is now known as diegoviola
deepa is now known as Guest49885
<popl> diegovio1a: yeah, you can execute code in the buffer
<popl> diegoviola: I used python in vim to do assembler homework that way
twiceaday has joined #ruby
<popl> (when I had to generate a lot of tedious boilerplate
<popl> )
aboudreault has joined #ruby
<diegoviola> i see, i will give it a try
joelroa_ has quit [Ping timeout: 244 seconds]
<popl> afaik vim has lua, perl, python, and ruby support
iaj has joined #ruby
<popl> I've only used perl and python
Olipro has quit [Ping timeout: 246 seconds]
francisfish has joined #ruby
jericon has joined #ruby
Raboo has joined #ruby
<shevy> huh
<shevy> you are not using ruby?
joelroa has quit [Ping timeout: 246 seconds]
davidcollom is now known as davidcollom_afk
browndawg has quit [Read error: Connection timed out]
<popl> in vim? no
<pipework> Without libraries or scripts? I'm not 100% sure on a nice way to run commands in the background
kies has joined #ruby
kies has quit [Changing host]
kies has joined #ruby
xybre has joined #ruby
xybre has quit [Changing host]
xybre has joined #ruby
dawkirst has joined #ruby
idoru has joined #ruby
dingus_khan has quit [Ping timeout: 246 seconds]
koshian_ has joined #ruby
ping-pong has joined #ruby
ixti has joined #ruby
avelldiroll has joined #ruby
jackneill has joined #ruby
leonidlm has joined #ruby
LadyRainicorn has joined #ruby
Hanmac has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
<apeiros_> aaahaha, my nicest gem so far: 'week'
ggherdov has joined #ruby
joelroa has joined #ruby
<popl> apeiros++ # this channel needs a karma bot
<pipework> We really don't.
<apeiros_> $ week
<apeiros_> 2014w08 (2014-02-17 - 2014-02-24)
<LadyRainicorn> We so do.
<LadyRainicorn> Or a Bitcoin tip bot.
<LadyRainicorn> That would be nice.
<apeiros_> completely forgot I even built that
Olipro has joined #ruby
<shevy> hehe
<pipework> apeiros_: How many hours have you been alive?
<LadyRainicorn> 8?
<popl> it's countable
<apeiros_> pipework: about a billion
<apeiros_> ah, lol, errr… divide that by 3600 :D
<popl> I've outlived Mozart.
<apeiros_> something over a quarter million
<popl> Also ODB.
<shevy> wow
<shevy> a billion hours old apeiros_
<shevy> who would have known
<shevy> and he can still go on hiking tours!
davidcollom_afk is now known as davidcollom_afk_
davidcollom_afk_ is now known as davidcollom
<LadyRainicorn> So is this counted as time experienced by your worldline or current_time-birth
<apeiros_> pipework: why?
<popl> apeiros_: I'm learning a lot from your code. It might take me a few days to write the tests.
<pipework> apeiros_: Just curious. It's a fun number to figure out, isn't it?
<apeiros_> popl: no worries
joelroa has quit [Ping timeout: 252 seconds]
<apeiros_> pipework: it is? it's just a number
<apeiros_> pipework: how many for you then?
<pipework> apeiros_: You're just a number.
<pipework> apeiros_: At least a few.
<apeiros_> pipework: I'm a bit more than just a single number :-p
joelroa has joined #ruby
<pipework> apeiros_: I'm not so sure
<pipework> I think you are a very specific number, though I'm not sure which.
<pipework> If numbers aren't things to get excited about, I can't see how anything could possibly be.
carraroj has quit [Ping timeout: 246 seconds]
<diegoviola> i'd like to run something like pry from vim itself
<apeiros_> pipework: if I was a single number, I'd be 0, since the apeiros is the origin of all there is.
tungd has joined #ruby
<pipework> apeiros_: I'm doubtful that your number is one all that significant, but I'm sure it's still worth getting excited about.
<pipework> diegoviola: You can.
<pipework> You can do the inverse too
<diegoviola> pipework: do i need something like conque for that?
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
<pipework> diegoviola: I don't think so
<diegoviola> or tmux? that's not actually from vim...
<diegoviola> i already use tmux for that
<diegoviola> works fine
joelroa has quit [Ping timeout: 246 seconds]
<diegoviola> it'd still would be nice if vim could do it
joelroa has joined #ruby
francisfish has quit [Remote host closed the connection]
nouitfvf has joined #ruby
lewix has joined #ruby
francisfish has joined #ruby
banister has joined #ruby
evenix has joined #ruby
nwkr has joined #ruby
MarcWebe1 has joined #ruby
1JTAAFPDT has joined #ruby
davidcelis has joined #ruby
Astral_ has joined #ruby
lxsameer has joined #ruby
epochwolf has joined #ruby
AndyWojo_ has joined #ruby
Muz_ has joined #ruby
ji0n_ has joined #ruby
[krisbulman] has joined #ruby
Radar has joined #ruby
Karu has joined #ruby
sski_ has joined #ruby
Guest73350 has joined #ruby
Kruppe has joined #ruby
torstein has joined #ruby
mjuszcza1 has joined #ruby
braincrash has joined #ruby
poutine has joined #ruby
Urocyon has joined #ruby
gnephiak has joined #ruby
toddabrahm_ has joined #ruby
zz_jrhorn424 has joined #ruby
artgoeshere has joined #ruby
Rollabun_ has joined #ruby
makara has joined #ruby
marcgg_ has joined #ruby
kenichi has joined #ruby
brucele_ has joined #ruby
dandrade has joined #ruby
DarkFoxDK has joined #ruby
jabular_ has joined #ruby
fantazo has joined #ruby
psyprus has joined #ruby
undert_ has joined #ruby
lkba has joined #ruby
sepp2k has joined #ruby
jaredrhine_ has joined #ruby
Azulinho has joined #ruby
aetaric has joined #ruby
zastern has joined #ruby
wlanboy has joined #ruby
d-snp_ has joined #ruby
ixx has joined #ruby
Lightsta1ker has joined #ruby
radic has joined #ruby
Kilo`byte has joined #ruby
TwinkleH1od has joined #ruby
niv has joined #ruby
shabgrd has joined #ruby
17SAAH96V has joined #ruby
xargoon has joined #ruby
reflux has joined #ruby
xiphiasx_ has joined #ruby
kukyakya has joined #ruby
dylannorthrup has joined #ruby
mr_red has joined #ruby
bluntman has joined #ruby
itstriz` has joined #ruby
oz has joined #ruby
jayne has joined #ruby
plexus_ has joined #ruby
robwilliamsukio has joined #ruby
iamdoo2_ has joined #ruby
Beoran has joined #ruby
bakingbread has joined #ruby
camt has joined #ruby
machuga has joined #ruby
ItSANgo has joined #ruby
RoxasShadowRS has joined #ruby
kirun has joined #ruby
Adawerk__ has joined #ruby
Tobarja has joined #ruby
browndawg has joined #ruby
io_syl has joined #ruby
nomadic has joined #ruby
adeponte has joined #ruby
Senjai has joined #ruby
edwardly_ has joined #ruby
nathancahill has joined #ruby
davidcollom is now known as davidcollom_afk
no0code has joined #ruby
1JTAAFPDT has quit [Ping timeout: 265 seconds]
joelroa_ has joined #ruby
evenix has quit [Ping timeout: 308 seconds]
undert_ has quit [Ping timeout: 368 seconds]
mtlatif_ has quit [Ping timeout: 245 seconds]
pcarrier has quit [Ping timeout: 245 seconds]
Radar is now known as Guest65086
bakingbread has quit [Changing host]
bakingbread has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
msch has joined #ruby
popl has quit [Quit: Touch the frog.]
undert has joined #ruby
ixx is now known as Guest46269
lxsameer is now known as Guest61578
decoponyo is now known as decoponio
duncan_bayne has joined #ruby
dr_bob has joined #ruby
andy__ has joined #ruby
lewix has quit [Ping timeout: 251 seconds]
joelroa has quit [Ping timeout: 251 seconds]
joelroa__ has joined #ruby
duncan_bayne has quit [Client Quit]
pcarrier_ has joined #ruby
shredding has quit [Quit: shredding]
bleak has quit [Ping timeout: 252 seconds]
mtlatif_ has joined #ruby
francisfish has quit [Ping timeout: 262 seconds]
reflux has quit [Changing host]
reflux has joined #ruby
browndawg has quit [Read error: Connection timed out]
carraroj has joined #ruby
browndawg has joined #ruby
joelroa_ has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
oso96_2000 is now known as oso|away
lolmaus_ has joined #ruby
tungd has quit [Ping timeout: 252 seconds]
joelroa__ has quit [Read error: Operation timed out]
tungd has joined #ruby
lolmaus has quit [Ping timeout: 264 seconds]
nwkr has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
Nowaker has joined #ruby
Thanatermesis has quit [Read error: Connection reset by peer]
MindfulMonk has joined #ruby
tgkokk has joined #ruby
andy__ has quit [Ping timeout: 240 seconds]
joelroa_ has joined #ruby
Guest61578 is now known as lxsamer
lxsamer is now known as sameerynho
TripleDES has joined #ruby
joelroa has quit [Ping timeout: 265 seconds]
tungd has quit [Quit: Lost terminal]
joelroa has joined #ruby
yacks has quit [Ping timeout: 264 seconds]
shevy has quit [Ping timeout: 245 seconds]
Okt has quit [Quit: WeeChat 0.4.1]
joelroa_ has quit [Read error: Operation timed out]
joelroa_ has joined #ruby
chihhsin_cloud has joined #ruby
ItSANgo has quit [Quit: Leaving...]
joelroa has quit [Ping timeout: 246 seconds]
rootshift_ has joined #ruby
joelroa has joined #ruby
phansch has quit [Ping timeout: 264 seconds]
charlies_ has quit [Quit: Textual IRC Client: www.textualapp.com]
joelroa_ has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
segmond has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
joelroa has joined #ruby
sheepman|afk is now known as sheepman
mehlah has joined #ruby
Thanatermesis has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
yacks has joined #ruby
BackEndCoder has joined #ruby
shevy has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
aagdbl has joined #ruby
joelroa has joined #ruby
randomnick_ has joined #ruby
ohcibi has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
segmond has joined #ruby
yasushi has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
jph98 has quit [Quit: jph98]
jph98 has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
joelroa_ has joined #ruby
phansch has joined #ruby
ItSANgo has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
mneorr has quit [Ping timeout: 245 seconds]
mlpinit has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
yasushi has quit [Remote host closed the connection]
razibog has quit [Quit: Leaving.]
anarang has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
yeboot has joined #ruby
<yeboot> hi, I'm trying to call a method in my object ( which I thought I could do with self) in an event
ohcibi has joined #ruby
joelroa_ has quit [Ping timeout: 269 seconds]
yasushi has joined #ruby
<dr_bob> "event"?
joelroa_ has joined #ruby
Tarential has joined #ruby
doodlehaus has joined #ruby
<yeboot> yeah on :event do |e|
<jhass> that doesn't look like stdlib/core ruby ;)
joelroa has quit [Ping timeout: 240 seconds]
* apeiros_ waits for yeboot to finish and ask the actual question
<pontiki> o/
apeiros_ is now known as apeiros
davedev24 has joined #ruby
<jhass> apeiros: you must be waiting for that for like 5k people by now
dingus_khan has joined #ruby
joelroa has joined #ruby
<apeiros> jhass: I have a timeout
<yeboot> well self.quit just calls it for that thread idk
razibog has joined #ruby
<yeboot> ohhh
<apeiros> yeboot: what you currently said assumes *shitloads* of contextual knowledge about what you're doing
<yeboot> apeiros I realize that actually
<apeiros> we do NOT have your code, NOR can we read your mind.
<yeboot> sorry
<apeiros> I do suspect your issue has something to do with your block being instance_eval'ed (which changes self)
<apeiros> but from your current description, there's no way to tell.
joelroa_ has quit [Ping timeout: 240 seconds]
<yeboot> yeah, sorry, I found out that the 'on' thing was an instance method of the class I'm in
Azulinho has quit [Ping timeout: 265 seconds]
<yeboot> thanks to someone pointing out that it's not stdlib ruby
<yeboot> which was really helpful
joelroa_ has joined #ruby
<yeboot> and the method returns a 'handler' thread
lolmaus_ has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby
meatherly has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Ping timeout: 252 seconds]
F1skr has joined #ruby
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
anarang has quit [Quit: Leaving]
michael_mbp has quit [Excess Flood]
brucele_ has quit [Ping timeout: 240 seconds]
yeboot has quit [Quit: tyvm]
michael_mbp has joined #ruby
danshultz has joined #ruby
joelroa_ has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
meatherly has quit [Ping timeout: 264 seconds]
sski_ has quit [Remote host closed the connection]
sski has joined #ruby
sheepman is now known as sheepman|afk
michael_mbp has quit [Excess Flood]
joelroa_ has joined #ruby
vlad_starkov has joined #ruby
michael_mbp has joined #ruby
<dr_bob> yeboot -> yeshutdown
joelroa has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
sski has quit [Ping timeout: 240 seconds]
brucele_ has joined #ruby
jph98 has quit [Quit: jph98]
ctp has quit [Quit: Leaving...]
telling has joined #ruby
joelroa_ has quit [Ping timeout: 265 seconds]
telling has quit [Changing host]
telling has joined #ruby
joelroa_ has joined #ruby
TheNumb has joined #ruby
lolmaus has quit [Read error: Operation timed out]
lolmaus has joined #ruby
segmond has quit [Ping timeout: 244 seconds]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
lewix has joined #ruby
<shevy> lol
<shevy> slang commands
<shevy> yerm
<shevy> yels
joelroa_ has quit [Ping timeout: 265 seconds]
_bart has joined #ruby
joelroa_ has joined #ruby
jph98 has joined #ruby
ctp has joined #ruby
joelroa has quit [Ping timeout: 252 seconds]
lewix has quit [Ping timeout: 252 seconds]
mostlybadfly has joined #ruby
joelroa has joined #ruby
dr_bob has quit [Quit: Leaving.]
carraroj has quit [Ping timeout: 264 seconds]
WillAmes has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 264 seconds]
WillAmes has joined #ruby
joelroa_ has joined #ruby
einarj has joined #ruby
Symbiosisz has quit [Quit: Leaving]
joelroa has quit [Ping timeout: 240 seconds]
Symbiosisz has joined #ruby
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
joelroa_ has quit [Read error: Operation timed out]
michael_mbp has quit [Excess Flood]
joelroa has joined #ruby
<apeiros> ugh, rubyforge, y u so slooooow?
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shevy> it's dead!
michael_mbp has joined #ruby
mjs2600 has joined #ruby
kevinykchan has joined #ruby
shredding has joined #ruby
srji has quit [Quit: leaving]
joelroa_ has joined #ruby
RoxasShadowRS has quit [Read error: Connection reset by peer]
weems has quit [Ping timeout: 252 seconds]
sski has joined #ruby
joelroa has quit [Ping timeout: 245 seconds]
danshultz has quit [Remote host closed the connection]
jonr22 has joined #ruby
<certainty> elixir has macros, nice :)
joelroa has joined #ruby
danshultz has joined #ruby
mjs2600 has quit [Ping timeout: 265 seconds]
<shevy> anyone knows of a good project generating .css files?
<apeiros> shevy: sass, less?
kitak has joined #ruby
SolarSailor has joined #ruby
<shevy> hmm
joelroa_ has quit [Ping timeout: 265 seconds]
<shevy> how would you guys call a class that transforms .css files into different ones? CssTransformer? CSSTransfomer? hmmm
joelroa_ has joined #ruby
AlSquire has joined #ruby
danshultz has quit [Read error: Operation timed out]
joelroa has quit [Ping timeout: 264 seconds]
RKornmeyer has joined #ruby
joelroa has joined #ruby
shado has quit [Read error: Connection reset by peer]
poulson has joined #ruby
shado has joined #ruby
sparrovv_ has quit [Remote host closed the connection]
<certainty> shevy: CssEpticon
joelroa_ has quit [Ping timeout: 240 seconds]
<shevy> hmm
aryaching has quit [Ping timeout: 246 seconds]
<shevy> this upcased vs. non-upcased is always the hardest decision
joelroa_ has joined #ruby
toretore has joined #ruby
<apeiros> I've been subverted by rails. I now usually do CssTransformer
timonv has joined #ruby
timonv has quit [Remote host closed the connection]
<apeiros> I'm not consistent, though
timonv has joined #ruby
sski has quit []
joelroa has quit [Ping timeout: 240 seconds]
aagdbl has joined #ruby
sski has joined #ruby
joelroa has joined #ruby
Deele has joined #ruby
mneorr has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
dorei has joined #ruby
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
<toretore> i used DhlwaybillChecksum the other day, i feel so dirty :(
p8952 has quit [Quit: Leaving]
tgkokk has joined #ruby
joelroa has joined #ruby
mavcunha_ is now known as mavcunha
Matriks has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
Butcho has joined #ruby
browndawg has quit [Write error: Broken pipe]
mavcunha_ has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
Czupa has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
<shevy> Dhlwaybill?
mavcunha has quit [Ping timeout: 264 seconds]
<shevy> the whole ruby stdlib seems not really consistent either
<shevy> CGI.escapeHTML()
ultraflash3 has joined #ruby
joelroa has joined #ruby
<shevy> but
<shevy> if this would be a class
<shevy> would it be called
mavcunha has joined #ruby
<shevy> class EscapeHTML or class EscapeHtml
tacos1de has quit [Ping timeout: 240 seconds]
Matriks has quit [Ping timeout: 264 seconds]
<shevy> 1.9.1/xmlrpc/server.rb:class CGIServer < BasicServer
arianit has joined #ruby
arianit has quit [Changing host]
arianit has joined #ruby
davidcollom_afk is now known as davidcollom
<dorei> maybe acronyms are in capital case
knigitz has joined #ruby
rootshift_ has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
mavcunha_ has quit [Ping timeout: 240 seconds]
joelroa_ has joined #ruby
tacos1de has joined #ruby
ultraflash3 has quit [Read error: Operation timed out]
joelroa has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
meatherly has joined #ruby
habanany has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<apeiros> shevy: some things in stdlib are ancient…
aryaching has joined #ruby
yfeldblum has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
<shevy> hehe
joelroa_ has joined #ruby
meatherly has quit [Ping timeout: 248 seconds]
joelroa has quit [Ping timeout: 240 seconds]
tacos1de has quit [Remote host closed the connection]
DrCode has quit [Remote host closed the connection]
ktosiek has quit [Ping timeout: 264 seconds]
tacos1de has joined #ruby
<certainty> i'd go with EscapeHTML in this case for the acronym rule you suggested
joelroa has joined #ruby
arianit has quit [Ping timeout: 252 seconds]
ktosiek has joined #ruby
p8952 has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
brucele_ has quit [Ping timeout: 264 seconds]
<shevy> EscapeHTML.escapeHTML()
joelroa_ has quit [Ping timeout: 246 seconds]
DrCode has joined #ruby
<apeiros> methods are always lowercase, not much to discuss there :-p
<apeiros> escape_html
<shevy> I think the problem is that, class CGI or class Cgi, is not so much a difference, class CGI probably looks better. but the moment you want to append something to that, things can look ugly
<shevy> how about
<shevy> class CSS_Transformer
<shevy> :)
joelroa_ has joined #ruby
agjacome has quit [Quit: leaving]
arietis has joined #ruby
<apeiros> u.g.l.y.
<hermanmunster> U_G_L_Y
<apeiros> shevy: CSS::Transformer
Butcho has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joelroa has quit [Ping timeout: 246 seconds]
<hermanmunster> I would stick with CSSTransformer
Butcho has joined #ruby
ctp has quit [Quit: Leaving...]
<hermanmunster> and then i would get on with the rest of my life :)
reflux has quit [Ping timeout: 240 seconds]
makara has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
<toretore> i don't understand why this is even a question, there is only one correct and obvious answer
<toretore> CSSTransformer
jsilver_ has quit [Read error: Connection reset by peer]
<toretore> it's the way it's always been
jsilver has joined #ruby
Butcho has quit [Client Quit]
mavcunha has quit [Quit: Computer has gone to sleep.]
<pontiki> i think certainty won that round
joelroa_ has quit [Ping timeout: 246 seconds]
posu has joined #ruby
<shevy> hmmm
joelroa_ has joined #ruby
<shevy> ruby people can never agree on anything
mikecmpbll has joined #ruby
<hermanmunster> i think we agreed... CSSTransformer
<hermanmunster> but it doesn't matter. call it CatBag
<shevy> but apeiros did not agree!
<shevy> CatBag would be much simpler
<vlad_starkov> Question: Is it a good convention to use _underscores in private methods names?
<toretore> no
joelroa has quit [Read error: Operation timed out]
reflux has joined #ruby
<shevy> vlad_starkov I don't think you will find many ruby people do that
lewix has joined #ruby
joelroa has joined #ruby
supersym has joined #ruby
<vlad_starkov> shevy: look at _normalize_args and _normalize_options
posu has left #ruby [#ruby]
<certainty> i saw that alot in C++ sources
<certainty> also with _ as a suffix
<apeiros> CSSTRANSFORMER, clearly
joelroa_ has quit [Ping timeout: 240 seconds]
<shevy> cool vlad_starkov shows you to not use rails :)
<toretore> _ is used in ruby when you don't want to "take" a name
<toretore> like __send__
<shevy> or
<shevy> def _render_template(options)
milhite has joined #ruby
<toretore> because it's __send__ i can have my own send method
<shevy> hmm that file is funny
<shevy> case action
<shevy> when NilClass
<vlad_starkov> shevy: ok. what about double underscored __my_method ?
<shevy> do people really do: when Nilclass ?
<apeiros> I use leading underscores only in two cases: @_lazy and _unused
<shevy> vlad_starkov looks very ugly
joelroa_ has joined #ruby
<apeiros> that is, @_lazy ivars are improperly initialized ivars
<apeiros> and _unused are unused lvars
<shevy> hehe
Hanmac1 has joined #ruby
<vlad_starkov> ok
<shevy> @___lazy <--- extremely lazy variable
<vlad_starkov> Thanks guys
milhite has quit [Client Quit]
<certainty> apeiros: why not just _
<toretore> apeiros: improperly initialized ivars?
<certainty> for unused lvars
<shevy> @___________lazy <--- the mother of all sloths as far as laziness is concerned
joelroa has quit [Read error: Operation timed out]
<toretore> certainty: sometimes it's nice to know what they are
<apeiros> certainty: it's more telling
<shevy> certainty perhaps if you need to use more than one
<apeiros> certainty: but yes, sometimes I use just _
<shevy> using __ is ugly
lewix has quit [Ping timeout: 265 seconds]
<certainty> ok ok, calm down :)
<apeiros> toretore: mostly ivars which are lazily initialized in an accessor
<certainty> a prolog programmar would give you some <3 for using _
<apeiros> def initialize; @_data; end; def data; @_data ||= begin; …expensive…; end;
<apeiros> whoops, @_data = nil, in initialize
joelroa has joined #ruby
<certainty> ah i see
Hanmac has quit [Ping timeout: 246 seconds]
<toretore> apeiros: but what is "improperly initialized"?
<apeiros> toretore: setting it to nil
<apeiros> you can't operate on it until you access it for the first time
posu has joined #ruby
<vlad_starkov> Question: do I need to call explicitly `attr_reader :something` if I already set method `def something ... end` ?
tanema has joined #ruby
<apeiros> toretore: e.g. if @_data results in a hash, proper initialization would be {}
Olipro has quit [Ping timeout: 246 seconds]
sameerynho has quit [Quit: Leaving]
<apeiros> vlad_starkov: no
<apeiros> vlad_starkov: attr_reader :something creates a def something
<apeiros> so all you'd end up with is overriding one of the two methods, depending which you do first
<vlad_starkov> apeiros: I mean, the :something is just computable value
<apeiros> `attr_reader :something` results in `def something; return @something; end`
joelroa_ has quit [Ping timeout: 240 seconds]
<vlad_starkov> apeiros: nice, thanks!
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 265 seconds]
Matriks has joined #ruby
<certainty> apeiros: again to _ vs. _something for unused vars. I don't get it. If they're unused names are meaningless. As soon you're using them you'll give them a proper name
<apeiros> certainty: unused doesn't mean meaningless
tanema has quit [Ping timeout: 246 seconds]
<apeiros> certainty: for somebody reading the code it can have value to understand what you're not using
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
<apeiros> certainty: btw., sometimes I don't even use _ for unused vars
ctp has joined #ruby
<apeiros> as it is, def foo(used, *) is valid in ruby :D
tjr9898 has joined #ruby
<toretore> _foo communicates that 1) it's unused and 2) what it is
<apeiros> same for: x,y,* = whatever
dorei has quit []
<apeiros> or proc { |x,*|
<certainty> but as the code doesn't use it, why would i care?
<apeiros> certainty: if you never read the code, you wouldn't
<apeiros> 15:16 apeiros: certainty: unused doesn't mean meaningless
<apeiros> 15:16 apeiros: certainty: for somebody reading the code it can have value to understand what you're not using
timonv has quit [Remote host closed the connection]
<apeiros> sorry, but I can only repeat what I already said.
<certainty> yeah yeah i get that, i'm thinking of examples
<apeiros> every case is equivalently an example.
shredding has quit [Quit: shredding]
timonv has joined #ruby
<certainty> def foo(x,_); code_that_never_uses__; end
<certainty> no need to know what _ is since it is not used
<pontiki> code is a letter to our future selves and others
joelroa_ has quit [Ping timeout: 264 seconds]
opter has joined #ruby
Guest97300 has quit [Quit: Konversation terminated!]
Azure has quit [Read error: Connection reset by peer]
aagdbl has quit [Quit: Leaving]
joelroa has joined #ruby
<apeiros> def foo(x,_) does not answer the questions: "what did I ignore?" and "why did I ignore them?"
<certainty> i know all that, i'm with you generally but for this case i don't see the value
<apeiros> the "what" often also answers the "why"
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> it's the same story all over as "why would I name my vars anything else than a,b,c…?"
<apeiros> the code doesn't care
<apeiros> neither will anybody never reading your code
<certainty> it's easier to reason about the code if they are meaningful
<apeiros> 15:18 apeiros: 15:16 apeiros: certainty: unused doesn't mean meaningless
<apeiros> :-p
<certainty> also sometimes leaving stuff out actually tells something
Azure has joined #ruby
<apeiros> no
<apeiros> it may now, to you, because *you* *now* still know what you actually left off.
ktosiek has quit [Quit: No Ping reply in 90 seconds.]
<opter> hi, I'm something kinda weird is happening. I can run my ruby script from the terminal, but not from text mate2. from textmate2 it tells me, Loaderror: cannot load such file. any ideas?
<apeiros> it's infinitely harder to figure out what has been left off/out than understanding something which is there.
<toretore> certainty: think blocks instead: something.each{|_foo, bar, _baz| do_something_with(bar) }
<apeiros> try some of those "spot the missing thing" pics.
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
krnflake has quit [Excess Flood]
lolmaus has joined #ruby
<apeiros> it's hard even if the diff happens in only a couple of seconds.
<apeiros> it's no different for code.
justinxreese has quit [Ping timeout: 244 seconds]
krnflake has joined #ruby
<pontiki> opter: does textmate have the same running environment as your terminal session (i srsly doubt it does)
ktosiek has joined #ruby
<opter> pontiki: I would agree with you, but not sure how to check or set it.
joelroa has quit [Ping timeout: 240 seconds]
kindjal has joined #ruby
JStoker has quit [Excess Flood]
SolarSailor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
justinxreese has joined #ruby
<certainty> toretore: why would i prefer that over |_,bar,_|? damn i'm lagging
<certainty> maybe i'm just being thick with that one
JStoker has joined #ruby
<pontiki> it's been ages and ages since i ran textmate, so i'm not sure how to do this, but if you can execute a program from inside textmate, run 'gem env'
jeregrine has joined #ruby
<toretore> requests = {'users' => ['api.example.com', '/path', {par: ams}, 'body']}; requests.each{|k,(_host,_path,params,_body)| puts params.map{|k,v| "#{k}=#{v}" }.join('&') }
<pontiki> then run it in your terminal and compare them
<toretore> now you don't have to hunt down requests to see what it will yield
<toretore> it's about clarity
<pontiki> opter: OTOH, i have absolutely *no* idea how to fix it
Affix has joined #ruby
razibog has quit [Quit: Leaving.]
joelroa has joined #ruby
<certainty> toretore: that makes sense. phew that was a long way
arietis has quit [Quit: Computer has gone to sleep.]
kindjal has quit [Ping timeout: 252 seconds]
kindjal has joined #ruby
<certainty> so it's actually saying, not currently used but may be used in the future as opposed to will never be used
<toretore> well, kinda
joelroa_ has joined #ruby
<apeiros> IMO it's more "they're not used, but this is what they are."
<toretore> to me it's mostly about the clarity
<certainty> apeiros: and yes, i know you've been saying this all the time :p
sheepman|afk is now known as sheepman
<apeiros> which is similar to "those are used, and this is what they are."
<certainty> yeah with this example it became clear
<apeiros> certainty: again, think about it, why don't you use single-letter variable names throughout?
sheepman is now known as sheepman|afk
<toretore> requests.each{|k,(_,_,params,_)| } isn't exactly pretty :P
<apeiros> *you* *now* know what those variables are. why bother to name them?
tanema has joined #ruby
<apeiros> inventory style :D
<apeiros> same reason why I initialize my lazy ivars with nil in initialize.
joelroa__ has joined #ruby
<toretore> i don't do that with getters, i think it's clear enough
<certainty> apeiros: who said i don't? nah it makes sense now
<opter> pontiki: can I run gem env within a gem file? when I do from text mate, I get a namerror
<certainty> toretore: oh i've seen this alot in Prolog
<toretore> nobody will ever see the ivar apart from the getter
<apeiros> toretore: I do it with all ivars
joelroa has quit [Ping timeout: 265 seconds]
<apeiros> toretore: that way all I have to look at is initialize and I know what's available in a class
<apeiros> no hidden secrets
danshultz has joined #ruby
* apeiros is lazy and likes to make his live easy
<toretore> i think it's a sort of philosophical decision for me: ivars for getters aren't supposed to be visible to anyone else
akitada has joined #ruby
bbloom has joined #ruby
<apeiros> well, the person who reads the code of initialize is the person who works on the class definition. so not part of "anyone else"
joelroa_ has quit [Ping timeout: 264 seconds]
<opter> pontiki: i ran Gem.path and got /usr/local/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1 from text mate and /usr/local/opt/rbenv/versions/2.1.0-rc1/lib/ruby/gems/2.1.0
<opter> from the terminal
<apeiros> and I don't do handholding for people who go against best practices like "don't inherit from classes you don't own" and "don't access internals of an object"
<toretore> i actually try to not have any ivars in my initialize
<apeiros> those people either know what they're doing and are aware of the inherent risks, or they deserve to get bitten :)
joelroa has joined #ruby
<apeiros> toretore: then what do you use initialize for, if not for, you know, initializing?
joelroa__ has quit [Read error: Operation timed out]
dorei has joined #ruby
<shevy> apeiros how long are your initialize methods? :)
<toretore> what if i don't need to do any initializing?
<apeiros> shevy: go to github and check
<pontiki> opter: yeah, that's where things break for me and most os/x GUI apps
<apeiros> toretore: don't have an initialize method. but the only kind of objects which don't need initializing are classes and modules…
Morrolan has joined #ruby
<certainty> opter: i bet the shell that textmate uses doesn't respect your login-shell's environment like not sourcing all rcs
<apeiros> anything else has state and therefore needs initializing
<opter> certainty: that's true for sure
<toretore> state can be implicit
<apeiros> show me
joelroa_ has joined #ruby
<shevy> now that's what I call documented
<toretore> i'm trying to find an example, but gh isn't responding
<pontiki> certainty: tis true -- os/x apps are not launched with the login shell
danshultz has quit [Ping timeout: 264 seconds]
<apeiros> toretore: I'm quite certain that anything which has no state should be a module with all methods being module_function.
<shevy> well seems most of these initialize ones aren't that long https://github.com/apeiros/chronos/blob/master/lib/chronos/datetime.rb#L150
<opter> pontiki: thanks! I got it working. I had to switch my default rbenv version to the same as the terminal. once done it worked
<apeiros> toretore: and I don't see how something can have "implicit state"
dkamioka has joined #ruby
<pontiki> there are two places you can set the GUI launch env, niether of which is very friendly
<opter> certainty: thank you
<apeiros> but looking forward to see such a thing
<pontiki> good-o, opter
cj3kim has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
joelroa__ has joined #ruby
browndawg has joined #ruby
<toretore> apeiros: let me rephrase that: state doesn't have to be there at initialization
joelroa_ has quit [Read error: Operation timed out]
<apeiros> toretore: then you have an improperly initialized object. an object which is not in a valid state.
<apeiros> toretore: unless your objects state is valid with all ivars being nil
mavcunha has joined #ruby
<toretore> an example: Builder::XmlMarkup.new
<toretore> no initial state
joelroa has joined #ruby
<apeiros> link to code please
joelroa has quit [Max SendQ exceeded]
<toretore> the first example
maroloccio has joined #ruby
<toretore> it has state, of course, but it's not set on initialization
<apeiros> you're mistaken
<apeiros> that one has lots of state, and lots of initialization
davidcollom is now known as davidcollom_afk
joelroa__ has quit [Ping timeout: 245 seconds]
jpierre03 has joined #ruby
<apeiros> e.g., @quote = (options[:quote] == :single) ? "'" : '"'
SHyx0rmZ has joined #ruby
<toretore> that's true. but it doesn't have to
<toretore> that's just a choice they made
<apeiros> @quote is not in a valid state if it's nil
joelroa has joined #ruby
davidcollom_afk is now known as davidcollom
<apeiros> I'll repeat, the only case where you don't need initialization is when your object is in a valid state if *all* ivars your object *will ever use* are nil.
<apeiros> and that too is only true because ruby autovivifies ivars.
mavcunha_ has joined #ruby
<toretore> def quote; @quote ||= (options[:quote] == :single) ? "'" : '"'; end
davidcollom is now known as davidcollom_
prc has quit [Ping timeout: 264 seconds]
<apeiros> and options comes from pixy dust?
davidcollom_ is now known as davidcollom
<apeiros> *pixie
<toretore> apeiros: right
mavcunha has quit [Quit: Computer has gone to sleep.]
<toretore> def options; @options ||= {}; end
estebistec has joined #ruby
<toretore> options[:quote] == nil
<apeiros> now you're moving towards what I said
<toretore> right
msch has quit [Ping timeout: 240 seconds]
davidcollom is now known as davidcollom_
<toretore> i agree with that
<toretore> i don't know what we're fighting about :P
<apeiros> but you're IMO just creating massively unreadable code.
davidcollom_ is now known as davidcollom
<toretore> i don't agree with that
joelroa_ has joined #ruby
<apeiros> lets spread all initialization into all parts of the class so you have to read every existing method…
<apeiros> sounds awesome :-p
<toretore> if you follow that logic you should declare everything
<apeiros> yes.
<toretore> it's not initialization
<toretore> it doesn't have initialization
<apeiros> o0
meatherly has joined #ruby
<apeiros> "it"?
<toretore> the class
<toretore> you could leave out initialize altogether
joelroa has quit [Ping timeout: 246 seconds]
<toretore> it has default, implicit state
joelroa has joined #ruby
<pontiki> i've been burned a few times by the lazy memoization
<shevy> I am naturally lazy so lazy code suits me very well
davidcollom is now known as davidcollom_
davidcollom_ is now known as davidcollom
<pontiki> if you can find it
<shevy> lgrep - lazy grep
<shevy> it will give you results. maybe
<apeiros> toretore: struggling how to phrase it. the simple way to put it, but not very good argumented: that's fucking ugly :)
davidcollom is now known as davidcollom_
<pontiki> i'm not opposed to it in practice, but at least make it bloody obvious by not burying it
joelroa_ has quit [Ping timeout: 240 seconds]
<apeiros> toretore: a well written class exhibits its valid state in its initialize
timonv_ has joined #ruby
<apeiros> toretore: and allows its ivars to fulfill the class' invariants right after initialize
davidcollom_ is now known as davidcollom
<toretore> apeiros: here's my philosophy: 1) don't access ivars directly 2) require as little information as possible for initialization
<toretore> this results in lazy getters
<toretore> which it does
<apeiros> toretore: yeah, I've seen 1) often and I think it's insanely stupid
joelroa_ has joined #ruby
<toretore> because?
<apeiros> because you make your life and every reader of your code's life harder for no gain
<toretore> "oh i'm the owner of this class and i damn well know what my ivars are!"
<apeiros> the only argument I've heard in favor of it is "I can refactor!"
<apeiros> and that's just BS.
cj3kim has quit [Read error: Connection reset by peer]
davidcollom is now known as davidcollom_
davidcollom_ is now known as davidcollom
<apeiros> if you've a difficult time tracking your ivar use in your class when you refactor, then I don't know whether I'd call you a programmer :-p
cj3kim has joined #ruby
meatherly has quit [Ping timeout: 249 seconds]
<certainty> https://gist.github.com/certainty/9172432 speaking of implicit state :)
joelroa has quit [Ping timeout: 240 seconds]
<toretore> apeiros: argument against accessing ivars: you are manipulating shared state between your methods
<shevy> apeiros what is the maximum amount of @ivars you ever had in a class that you wrote in ruby?
<pontiki> GH slow this morning?
<apeiros> toretore: yes. ivar is internal state. internal state is only the concern of people actually working on the code of your class.
ctp has quit [Quit: Leaving...]
timonv has quit [Ping timeout: 258 seconds]
<LadyRainicorn> haha, obviously toretore is using dynamically defined instance variables
joelroa has joined #ruby
<apeiros> toretore: that's THE POINT of objects
davidcollom is now known as davidcollom_
<apeiros> that's THE POINT of having ivars
<apeiros> to share them across methods
<apeiros> otherwise you don't need OO.
davidcollom_ is now known as davidcollom
<toretore> well, maybe i'm just not that into oop ;)
opter has quit [Quit: opter]
<toretore> it's pretty well established that shared state is not a good thing
<apeiros> shevy: no idea. I doubt I've ever gone beyond 10
dunckr has joined #ruby
jpierre03 has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
<apeiros> toretore: that's IMO a misunderstanding
<apeiros> shared *within* the object *is* a good thing. that's the point. that's the boundary of the object.
<Mon_Ouie> def quote; @quote ||= …; end is also accessing "shared" state (across methods)
<apeiros> shared across objects - yes, that's where you create coupling.
<certainty> ruby isn't exactly the best choice for not doing OO though
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpierre03 has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
<shevy> hey!
<shevy> you can use ruby without having to do .new ever!
F1skr has quit [Quit: WeeChat 0.4.3]
<toretore> something i've seen numerous times: ivars being shared and manipulated between methods resulting in possible corruption if they're not called in the right order
jonr22 has quit [Remote host closed the connection]
<apeiros> toretore: … 2) require as little information as possible for initialization this results in lazy getters
<toretore> this in turn restricts you usage of these methods
<apeiros> what's the rationale on that one?
joelroa_ has joined #ruby
Naoe-Kanno has joined #ruby
<apeiros> "toretore: something i've seen numerous times" - yeah, you can't prevent people from fucking up. no matter what you do.
<apeiros> only accessing via methods won't stop that.
<toretore> i guess you can say "convention over configuration" but that's a loaded term
<apeiros> whether I do @foo << "bar" or foo << "bar" won't change that I push data on @foo.
SHyx0rmZ has quit [Ping timeout: 265 seconds]
<toretore> it's not about protecting other people from their own stupidity
<toretore> it's about making your code flexible
<toretore> not making assumptions
<apeiros> toretore: I don't see how "making your code flexible" fits with that "what I've seen numerous times"
<apeiros> but we can shorten that
joelroa has quit [Ping timeout: 265 seconds]
<apeiros> 15:59 toretore: something i've seen numerous times: ivars being shared and manipulated between methods resulting in possible corruption if they're not called in the right order
<apeiros> using accessors doesn't change that.
knigitz has quit []
davidcollom is now known as davidcollom_
prc has joined #ruby
davidcollom_ is now known as davidcollom
RKornmeyer has left #ruby [#ruby]
joelroa has joined #ruby
musl_ has quit [Quit: WeeChat 0.4.3-dev]
bthesorceror has joined #ruby
<toretore> example: class Template; def initialize(d); @data = d; def strip_html; @data.gsub!( ... ); end; def replace_vars(); @data.gsub!( .. ) end def render; strip_html; replace_vars; @data end end
davidcollom is now known as davidcollom_
davidcollom_ is now known as davidcollom
timonv_ has quit [Remote host closed the connection]
<toretore> accessors alone doesn't prevent it, but it's part of a broader philisophy
<certainty> shevy: of course you can. It's just a not what ruby leans forward to
knigitz has joined #ruby
bthesorceror has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
browndawg has quit [Read error: Operation timed out]
<shevy> ruby wants you to use @@!
bthesorceror has joined #ruby
<apeiros> toretore: "accessors alone doesn't prevent it" - how about, "accessors add zero to prevent it"
<toretore> sure
<apeiros> it's always whatever other precaution you add.
joelroa_ has joined #ruby
<apeiros> using accessors adds zero security.
jpierre03 has quit [Read error: Connection reset by peer]
<IceDragon> shevy, what in heavens name is @@!
<apeiros> and "whatever other precaution" you can take with ivars just the same.
nichtdiebohne has joined #ruby
<toretore> sure
<toretore> i'm not saying you can't
jpierre03 has joined #ruby
<shevy> IceDragon it is a prison
<apeiros> so I'll repeat - using accessors instead of ivars gains you nothing. but it loses you semantics. it loses you performance.
<shevy> @@IceDragon@@
browndawg has joined #ruby
<IceDragon> D;
<IceDragon> Nuuuuu
<shevy> try to escape you stupid little dragon
<toretore> apeiros: not using them means you can't change what "data" means
<IceDragon> IceDragon = @@IceDragon@@.contents.dup
<shevy> how did you ever fit into a dungeon through that door?!
joelroa has quit [Ping timeout: 240 seconds]
<apeiros> toretore: how?
<IceDragon> > Ruby
bthesorceror has quit [Read error: Connection reset by peer]
bthesorc_ has joined #ruby
<toretore> def data; manipulate(@data) end
koell has joined #ruby
joelroa has joined #ruby
<apeiros> I don't see what you're getting at
maroloccio has quit [Ping timeout: 252 seconds]
<apeiros> care to show the difference with and without use of ivars?
<toretore> if you're accessing @data directly, you can't change that
<pontiki> decorators
<toretore> ok, nm that
<toretore> i just realized i'm wrong :P
<apeiros> I WON AN INTERNET!!!!
* apeiros goes party
<LadyRainicorn> okewl!
nomenkun has joined #ruby
gemmy has joined #ruby
<shevy> how many are there to win?
<pontiki> you work here is complete. go have several beers
<shevy> he already was drunk yesterday
joelroa_ has quit [Ping timeout: 240 seconds]
<shevy> they call it "hiking"
<pontiki> there is only, ever, and always one Internet
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
<LadyRainicorn> Lies.
Zubin has joined #ruby
angusiguess has joined #ruby
<shevy> there is an extra web for ponicorns
<LadyRainicorn> Yes. And Iran.
<shevy> lol
<toretore> if i used an ivar i couldn't set it after and have it upcase
<LadyRainicorn> Iran and Ponicorns and North Korea.
<apeiros> barcodes, yay! is that a "lines" barcode? (code 128)
<pontiki> Iran has a country-wide intranet
<apeiros> seems like
joelroa_ has joined #ruby
<toretore> yes, 128 is 1d
<LadyRainicorn> toretore: If you need to process on setting, yes an accessor method is helpful potentially.
<LadyRainicorn> But not an attr_accessor one.
scarolan_ has joined #ruby
<pontiki> i wouldn't actually call that an accessor
<pontiki> it's a method
<pontiki> that's it
<apeiros> toretore: ok, what does that class show me?
<toretore> what's the difference?
<apeiros> or that specific method
<toretore> ok, i'm tired of this now
<toretore> let's talk about something else
TheTFEF has joined #ruby
andy__ has joined #ruby
joelroa has quit [Ping timeout: 265 seconds]
<certainty> let's talk about _ vs _something :D
joelroa has joined #ruby
<pontiki> let's talk about rubylisp!
<toretore> i thought we'd already settled that :P
<certainty> :)
<apeiros> initializing through a normalizing method is fine in my book. I *might* @type = nil after line 160, just to have the ivar list. and yes, that'd be declaring it, not initializing it, since init happens in self.type = type
<certainty> pontiki: there is rubylisp?
cj3kim has quit [Read error: Connection reset by peer]
scarolan has quit [Ping timeout: 264 seconds]
<pontiki> you started it, certainty
<pontiki> you and your scheming wasy
cj3kim has joined #ruby
<pontiki> ways*
<apeiros> toretore: thanks for the discussion then :)
no0code has quit [Ping timeout: 246 seconds]
<certainty> pontiki: oh i wasn't aware :)
* apeiros hands toretore half of the internet
<toretore> apeiros: in the end it comes down to a style choice: i don't think initialize should be used to "declare" its state
<pontiki> certainty: i'm making it a trend
<certainty> good trend
<shevy> wow
joelroa_ has quit [Ping timeout: 264 seconds]
<toretore> apeiros: and thank you, good sir!
<shevy> toretore gets half of the internet :(
TheTFEF is now known as Nightmare
<toretore> i want the bottom half
<apeiros> toretore: it's not necessary to declare its state, I agree with that. that's just a convenience thing IMO.
<shevy> toretore, yeah, always grab for the ass of the internet!
<certainty> i doubt the NSA likes its internet to be cut in half
joelroa_ has joined #ruby
<shevy> as long as it can monitor you it's ok
<apeiros> toretore: IMO a class "declares" a contract. instances of that class satisfy a couple of invariants. and the first moment those invariants are satisfied is after initialization.
<apeiros> toretore: and IMO, an ivar has one of two purposes - it stores state or it serves as a cache
andy__ has quit [Ping timeout: 246 seconds]
<toretore> but to me the contract is its methods
dunckr has quit []
opter has joined #ruby
joelroa has quit [Ping timeout: 265 seconds]
Salve has joined #ruby
<apeiros> toretore: yes. which is why you can do that thing where you move all initialization into separate accessors
pdkl has joined #ruby
joelroa has joined #ruby
shredding has joined #ruby
<apeiros> which is what you call implicit state, if I now understand you correctly
dgfdgf has joined #ruby
firefly2013 has left #ruby [#ruby]
mjs2600 has joined #ruby
bthesorc_ has quit [Remote host closed the connection]
`MArceLL` has quit [Ping timeout: 246 seconds]
bthesorceror has joined #ruby
davidcollom is now known as davidcollom_
<apeiros> that's possible, but IMO makes the code harder to follow, and it also means that you only have an external contract. that one certainly is the more important one. my classes usually have an internal contract too - which is that an ivar will never change its class and after initialize, all ivars are ready to operate on them.
cj3kim has quit [Read error: Connection reset by peer]
<apeiros> anyway, that's roughly the outline of how I view classes/objects
<toretore> well, the external contract is the same as the internal contract
joelroa_ has quit [Ping timeout: 264 seconds]
mlpinit has quit [Quit: Leaving...]
<apeiros> no
rickruby has joined #ruby
cj3kim has joined #ruby
davidcollom_ is now known as davidcollom
brian_____ has joined #ruby
<apeiros> external contract does not have to deal with private/protected methods, and doesn't have to deal with ivars.
<apeiros> since those are not externally visible.
<apeiros> (well, protected methods are a different story, but I think we can ignore those here)
joelroa_ has joined #ruby
<toretore> and when you don't have ivars or private methods they're the same ;)
<toretore> i don't like private methods either
pdkl has left #ruby ["The world is coming to an end and I am going to watch it on CNN."]
<apeiros> well, you do have ivars, even with accessors. otherwise your method-only class wouldn't have to do all those ||= shenanigans :-p
<toretore> i don't like classes that hide everything, and its contract is just a single method, the end result (whatever that may be to the author)
<pontiki> your challenge for today, rewrite your class completely without ivars
txdv has quit [Read error: Connection reset by peer]
<toretore> it's making assumptions that all you care about is that final step
<apeiros> a class shouldn't hide everything. but it has its inner, private life, and its public interface.
<apeiros> that separation is the thing which allows you to refactor
<certainty> pontiki: i wrote a datastructure without using ivars, does that count too?
<toretore> i don't see it like that
mjs2600 has quit [Ping timeout: 240 seconds]
joelroa has quit [Ping timeout: 269 seconds]
<apeiros> 16:23 toretore: it's making assumptions that all you care about is that final step
<apeiros> don't follow
txdv has joined #ruby
joelroa has joined #ruby
<pontiki> certainty: it counts for something, but this contest is to change an implementation :)
<apeiros> and "and its contract is just a single method" - I don't understand how this is a conclusion from what I said. nothing says a class must only have a single public method…
<certainty> damn
<toretore> if you look at the class i linked to, you'll see that everything is accessible
bthesorceror has quit [Ping timeout: 264 seconds]
lachesis has quit [Quit: ZNC - http://znc.in]
<apeiros> I see a `#protected` in there :D
<certainty> that's decoration
<apeiros> curious as to why it was there…
davidcollom is now known as davidcollom_
<toretore> the encoding method is the final result
<toretore> but you can get to every step before that
<toretore> because sometime in the future someone may need it
joelroa_ has quit [Ping timeout: 264 seconds]
davidcollom_ is now known as davidcollom
<apeiros> toretore: in that class, what does `return '' unless extra` instead of `return '' unless @extra` gain you?
Salve has quit [Remote host closed the connection]
joelroa_ has joined #ruby
Salve has joined #ruby
<toretore> i can't say for what, but i don't want to assume they don't
kenneth has joined #ruby
rickruby has quit [Ping timeout: 318 seconds]
sski has quit [Write error: Broken pipe]
<toretore> well, you can see my thought process there :)
bthesorceror has joined #ruby
<toretore> as in "why should i hide this from the user of my class? i guess there's no reason i should"
<toretore> someone might find it interesting
<toretore> now we're back to style again ;)
sski has joined #ruby
<apeiros> I can tell you what you lose - I have to check what the `extra` method does. with `@extra` it's immediately clear that nothing else happens. clarity.
joelroa has quit [Ping timeout: 265 seconds]
<toretore> how is that more clear?
<toretore> the name of the method already tells me what it does
davidcollom is now known as davidcollom_
<apeiros> "have to lookup what #extra" does vs. "don't have to lookup anything"
joelroa has joined #ruby
<toretore> there is no difference there
davidcollom_ is now known as davidcollom
Muz_ is now known as Muz
<apeiros> um, yes, there is. I have to read one less method
<apeiros> because you see, with something like self.data = "#{data}" it actually matters
<LadyRainicorn> If I see `self.extra = extra`, I do not now know the value or self.extra, nor what happened.
<apeiros> it's not the same as @data = "#{data}"
<apeiros> it does indeed do additional work
<toretore> LadyRainicorn: that's the point
<apeiros> so it pays off to visit that method and check what it does
davidcollom is now known as davidcollom_
davidcollom_ is now known as davidcollom
<toretore> actually, the "#{data}" could well be moved to inside data=
<LadyRainicorn> So your point is to make people look around your code more for no reason?
<toretore> ah, how did we start this again
<apeiros> hehe
joelroa_ has quit [Ping timeout: 252 seconds]
<apeiros> sorry
mavcunha has joined #ruby
<LadyRainicorn> By your advocation of an insane anti-pattern?
einarj has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 265 seconds]
* apeiros stops and goes for dinner
<apeiros> cya toretore
<toretore> the point is: i use my instance the same way someone would use it from the outside
joelroa_ has joined #ruby
<apeiros> toretore: STAHP!
sski has quit [Ping timeout: 265 seconds]
scarolan_ has quit [Ping timeout: 265 seconds]
<toretore> lol
<toretore> enjoy your dinner apeiros
<LadyRainicorn> People shouldn't be accessing ivars from the outside save for magic.
rubyracer has joined #ruby
<toretore> self.data is settable at *any* time from the outside
Salve has joined #ruby
mavcunha_ has quit [Ping timeout: 252 seconds]
joelroa has quit [Ping timeout: 240 seconds]
<toretore> and everything will work as expected; it doesn't have to reset any state
opter has left #ruby [#ruby]
nomenkun has quit [Remote host closed the connection]
davidcollom is now known as davidcollom_
monkegjinni has joined #ruby
joelroa has joined #ruby
davidcollom_ is now known as davidcollom
_mtr has joined #ruby
nomenkun has joined #ruby
pigzzcanfly has joined #ruby
<toretore> it will never be in an inconsistent state because it's manipulated from the outside, which it is designed to deal with
Salve has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidcollom is now known as davidcollom_
joelroa_ has quit [Ping timeout: 264 seconds]
mneorr has joined #ruby
Salve has joined #ruby
lewix has joined #ruby
davidcollom_ is now known as davidcollom
joelroa_ has joined #ruby
davidcollom is now known as davidcollom_
jle` has quit [Ping timeout: 264 seconds]
davidcollom_ is now known as davidcollom
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndChat266961 has joined #ruby
nomenkun has quit [Ping timeout: 265 seconds]
joelroa has quit [Ping timeout: 265 seconds]
davidcollom is now known as davidcollom_
monkegjinni has quit [Ping timeout: 264 seconds]
OdNairy has joined #ruby
joelroa has joined #ruby
jph98 has quit [Quit: jph98]
OdNairy has quit [Client Quit]
davidcollom_ is now known as davidcollom
mneorr has quit [Ping timeout: 265 seconds]
Salve has quit [Ping timeout: 265 seconds]
joelroa_ has quit [Ping timeout: 240 seconds]
lewix has quit [Ping timeout: 252 seconds]
joelroa_ has joined #ruby
davidcollom is now known as davidcollom_
<apeiros> toretore: a) every object is only manipulated from the outside, b) every object is also manipulated from the inside, even yours (@x ||= … is manipulation), c) it's never in an inconsistent state *because it's designed not to be*
davidcollom_ is now known as davidcollom
<apeiros> and c) can be applied for "use ivars internally" style classes just as well
AndChat266961 has quit [Client Quit]
bthesorceror has quit [Write error: Broken pipe]
<toretore> sure, i'm not saying otherwise
<toretore> it's about style and coding philisophy: to me, ivars hide something from the outside
bthesorceror has joined #ruby
davidcollom is now known as davidcollom_
AndChat266961 has joined #ruby
joelroa has quit [Ping timeout: 265 seconds]
<toretore> when you expose everything you have to make sure that it stays consistent
joelroa has joined #ruby
davidcollom_ is now known as davidcollom
[krisbulman] is now known as krisbulman
AndChat266961 has quit [Read error: Connection reset by peer]
arietis has joined #ruby
davidcollom is now known as davidcollom_
<pontiki> mmmmmmmmmm.... internal manipulation.......
<toretore> which, imo, results in better designed code
davidcollom_ is now known as davidcollom
<apeiros> toretore: methods hide something from the outside too
joelroa_ has quit [Ping timeout: 246 seconds]
<apeiros> not using private methods can force you to repeat logic, because every method has to deal with it on its own
axsuul has joined #ruby
joelroa_ has joined #ruby
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shaileshg has joined #ruby
<apeiros> though, private is IMO only an advisory. a hint.
bthesorceror has quit [Ping timeout: 264 seconds]
<toretore> no, because they all access whatever needs that logic applied from the single method ;)
meatherly has joined #ruby
<apeiros> is it just me or does that not parse? :D
yasushi has quit [Remote host closed the connection]
Rollabun_ has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 265 seconds]
<toretore> that sentence has implied state: "the single method (that would exist)" :P
joelroa has joined #ruby
<certainty> you need context sensitive grammars for this to parse
<toretore> yes
davidcollom is now known as davidcollom_
<toretore> i assumed a human reader
ceej has joined #ruby
<toretore> that's bad of me, to be making assumptions like that
sikor_sxe has joined #ruby
yfeldblum has joined #ruby
yasushi has joined #ruby
joelroa_ has quit [Read error: Operation timed out]
<apeiros> what's it with you and thinking "if it's not X, it all must be a single method"? :)
meatherly has quit [Ping timeout: 240 seconds]
davidcollom_ is now known as davidcollom
<toretore> haha
joelroa_ has joined #ruby
Jake232 has joined #ruby
krisbulman is now known as [krisbulman]
joelroa has quit [Ping timeout: 252 seconds]
davidcollom is now known as davidcollom_
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
joelroa has joined #ruby
jonahR has joined #ruby
davidcollom_ is now known as davidcollom
yfeldblum has quit [Ping timeout: 240 seconds]
yasushi has quit [Ping timeout: 263 seconds]
vlad_starkov has quit [Remote host closed the connection]
sanav has joined #ruby
<certainty> uncomfortable silence
joelroa_ has quit [Ping timeout: 257 seconds]
<sanav> i'm looking for fusion of languages like C , C++ , VB with ruby
joelroa_ has joined #ruby
<sanav> Can any one guide me ?
davidcollom is now known as davidcollom_
koshian_ is now known as Koshian
<dorei> for calling C libs functions from within ruby u can use ffi
davidcollom_ is now known as davidcollom
<sanav> dorei: will it make ruby work faster ?
Jake232 has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 269 seconds]
<dorei> isnt it already fast enough? :D
vlad_starkov has joined #ruby
<sanav> dorei: haha ! yes , it is but its slower than scala .
joelroa has joined #ruby
<sanav> dorei: i don't want to learn new language i.e scala
Matriks_ has joined #ruby
Mongey has joined #ruby
Matriks has quit [Read error: Connection reset by peer]
davidcollom is now known as davidcollom_
petey has joined #ruby
davidcollom_ is now known as davidcollom
joelroa_ has quit [Ping timeout: 265 seconds]
<certainty> sanav: that's a strange combination
<sanav> i have a question .Why we are using C lib when ruby can do all things that C can do easily .What i'm looking for is speed .For example we use assembly language with C to make it more faster .Can we do that with ruby ?
obs has joined #ruby
<shevy> sanav speed
<certainty> sanav: if you have applications where you chose to substitute highly optimized assembly as generated by decent C compilers with your own, then ruby is probably not what you want
<pontiki> speed kills
davidcollom is now known as davidcollom_
Thanatermesis has quit [Ping timeout: 246 seconds]
joelroa has quit [Ping timeout: 240 seconds]
davidcollom_ is now known as davidcollom
dkamioka has quit [Remote host closed the connection]
joelroa has joined #ruby
<sanav> i have another weird question .I heard C++ is mostly used in game industries .Can we write gems using C++ ? .I'm newbie .Sorry !
<LadyRainicorn> Technically speaking you can, but gems are for Ruby, and C++ is not Ruby.
dkamioka has joined #ruby
obs_ has joined #ruby
<Morrolan> Plus, not all Ruby implementations support gems with C parts.
joelroa_ has joined #ruby
davidcollom is now known as davidcollom_
obs has quit [Remote host closed the connection]
obs_ has quit [Remote host closed the connection]
<sanav> any language that fuse excellently with ruby ?
davidcollom_ is now known as davidcollom
IcyDragon has joined #ruby
joelroa has quit [Ping timeout: 248 seconds]
Solnse has joined #ruby
<shevy> sanav you can write with C++, and store the cpp files in ext/ subdirectory of your gem
pigzzcanfly has quit [Remote host closed the connection]
joelroa has joined #ruby
<shevy> Hanmac1 writes ruby bindings to wxwidget right now
leonidlm has quit [Read error: Operation timed out]
jonahR has quit [Quit: jonahR]
rootshift_ has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
andy__ has joined #ruby
joelroa_ has quit [Read error: Operation timed out]
Polysics has joined #ruby
davidcollom is now known as davidcollom_
davidcollom_ is now known as davidcollom
joelroa_ has joined #ruby
<danneu> /part
<danneu> -_-
danneu has left #ruby ["WeeChat 0.4.1"]
gja has quit [Quit: This computer has gone to sleep]
joelroa has quit [Ping timeout: 265 seconds]
andy__ has quit [Ping timeout: 246 seconds]
joelroa has joined #ruby
Mongey has quit [Quit: Mongey]
davidcollom is now known as davidcollom_
kitak has quit [Remote host closed the connection]
Thanatermesis has joined #ruby
Thanatermesis has joined #ruby
<zumba_addict> are lines 4-7 a function/method or just a variable declaration? https://gist.github.com/anonymous/598d6f49b53ef49d7f15
_2_Ithz has joined #ruby
kitak has joined #ruby
<_2_Ithz> hi
joelroa_ has quit [Ping timeout: 264 seconds]
dkamioka has quit [Remote host closed the connection]
Mongey has joined #ruby
<Morrolan> zumba_addict: That's a method definition.
joelroa_ has joined #ruby
_2_Ithz has quit [Remote host closed the connection]
<zumba_addict> ok but it confuses me when I look at the lines on 18, 21, 24 and 27 such as @api_endpoint = "/api"
<zumba_addict> it becomes an assignment
<zumba_addict> or maybe it's not an asssignment
<Morrolan> @api_endpoint is an instance variable of that class, and yes, @api_endpoint = "/api" assigns the string "/api" to that instance variable.
<Morrolan> You can have a function and an instance variable with the same name.
joelroa has quit [Ping timeout: 240 seconds]
<zumba_addict> k
obs has joined #ruby
<Morrolan> In this case, the api_endpoint method seems to set up the endpoints, and then returns the @api_endpoint instance variable.
joelroa has joined #ruby
<zumba_addict> k
<zumba_addict> confusing for me right now :D
<zumba_addict> which code gets executed first?
<Morrolan> Why are you interested in that file, given that you clearly don't know Ruby, though? :)
<zumba_addict> because we are using it
<zumba_addict> it's our local dev setup
pierre1_ has joined #ruby
thams has joined #ruby
<Morrolan> Someone must've written it, then? That person would be the ideal one to contact.
<zumba_addict> although I don't touch this file a lot, I thoought it would help me understand how it works
<Morrolan> As for which one of that code gets executed first - that's impossible to tell from this sample of your codebase.
<zumba_addict> contracttors but they're gone
axsuul has quit [Ping timeout: 265 seconds]
<Morrolan> It's a class, which will be used by some other parts of the codebase.
<zumba_addict> k
joelroa_ has quit [Ping timeout: 240 seconds]
<zumba_addict> that means, I can search for the string Environment
Polysics has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
<Morrolan> And see where it's used, yes.
<zumba_addict> yup, I saw one
<zumba_addict> Environment.api_endpoint + "/v1/users/" + user['_id'].to_s
<zumba_addict> another one, users_href => Environment.api_endpoint + "/v1/users",
joelroa_ has joined #ruby
<zumba_addict> now, how does our javascript code calls this
hl has joined #ruby
lachesis has joined #ruby
<Morrolan> HTTP {POST,GET,PUT,DELETE,WHATEVER_ELSE}.
<Morrolan> It's a regular HTTP API. This class is just an abstraction layer over the various APIs you are using for testing/staging/development/production.
<zumba_addict> however, when I was debugging our web app, when it does a REST call, it goes directly to the endpoint that we've defined in backboneJS route
joelroa has quit [Ping timeout: 265 seconds]
<zumba_addict> there is a javascritp file where we defined all our endpoints
doodlehaus has quit [Remote host closed the connection]
joelroa has joined #ruby
<zumba_addict> that's what makes me confused if it's really talking to our ruby setup
<Morrolan> Your JS endpoint should probably match the ones used by the Ruby application.
<zumba_addict> ok
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
gja has joined #ruby
petey has quit [Remote host closed the connection]
banister has joined #ruby
<zumba_addict> but do you agree with me that if I am seeing a direct POST to the remote server rather than to my http://localhost, it's not talking to my localhost when doing the CRUD
fridim_ has joined #ruby
<Morrolan> Err, if it accesses a remote server then it accesses the remote server, yes.
joelroa_ has quit [Ping timeout: 252 seconds]
<zumba_addict> ok. Now that makes me wonder where we are using all the configs that were written in ruby by the contractor
banister has quit [Client Quit]
<zumba_addict> maybe because of the way it was coded, I remember when we were using it before, we were doing a POST locally to a json file
joelroa_ has joined #ruby
<zumba_addict> i saw it first few weeks i joined the team
axsuul has joined #ruby
<zumba_addict> i've been with them for 8 months now and I haven't seen any code change in these rb files except environment.rb
shabgrd is now known as shabgard
<Morrolan> There is a todo in that file about cleaning up a messy fake API.
eka has joined #ruby
<Morrolan> Seems the contractors had to leave before they were done. Running out of money? :P
<zumba_addict> yeah. I remember they say fake API
Olipro has joined #ruby
<zumba_addict> :D
<certainty> it really is a mess
joelroa has quit [Ping timeout: 264 seconds]
<zumba_addict> but now, I also remember we update the fqdn listed in environment.rb
armyriad has quit [Ping timeout: 247 seconds]
<zumba_addict> and the url gets used in our javascript. maybe i'm partly wrong
alex88 has joined #ruby
joelroa has joined #ruby
<zumba_addict> i'll do more analysis once I get back. Thanks for the help :)
<zumba_addict> gtg now
<certainty> poor soul :)
<Morrolan> Aight. G'luck.
armyriad has joined #ruby
banister has joined #ruby
banister has quit [Client Quit]
armyriad has quit [Max SendQ exceeded]
larissa has joined #ruby
armyriad has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
joelroa_ has quit [Ping timeout: 265 seconds]
pigzzcanfly has joined #ruby
joelroa_ has joined #ruby
ktosiek_ has joined #ruby
doodlehaus has joined #ruby
mneorr has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
pwh has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Olipro has quit [Ping timeout: 246 seconds]
joelroa has quit [Ping timeout: 265 seconds]
LadyRainicorn has quit [Ping timeout: 264 seconds]
lewix has joined #ruby
Azulinho has joined #ruby
tibounise has joined #ruby
joelroa has joined #ruby
<tibounise> Hey !
<tibounise> How do you check in Ruby if you can write to a folder ?
<apeiros> File.writable? dir # I'd assume
Mongey has quit [Quit: Mongey]
sanav has quit [Quit: Page closed]
ktosiek has quit [Ping timeout: 246 seconds]
<certainty> or try and rescue Errno::EACCES
<tibounise> The .writable? method only exists for the File class, here I want to check if I can read/write into a folder
<certainty> dunno if that works for windows though
lachesis has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 246 seconds]
[gmi] has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
joelroa_ has joined #ruby
yacks has quit [Quit: Leaving]
lewix has quit [Ping timeout: 265 seconds]
<certainty> tibounise: doesn't make a difference at least on *nix
joelroa has quit [Ping timeout: 252 seconds]
Olipro has joined #ruby
<tibounise> certainty: Ok, gonna try this
<certainty> everything's a file and all that
joelroa has joined #ruby
timonv has joined #ruby
edwardly_ has quit [Quit: ZNC - http://znc.in]
edwardly has joined #ruby
tanema has quit [Remote host closed the connection]
tanema has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
doodlehaus has quit [Remote host closed the connection]
Olipro has quit [Read error: Connection reset by peer]
lachesis has joined #ruby
<tibounise> File.writable? works great on OS X, thank's guys
S0da has joined #ruby
joelroa_ has joined #ruby
virtualize has joined #ruby
mikepack has joined #ruby
mikepack has quit [Client Quit]
mikepack has joined #ruby
meatherly has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
<shevy> certainty he did not use windows!
kies has quit [Read error: Operation timed out]
arietis has quit [Quit: Computer has gone to sleep.]
joelroa has joined #ruby
dkamioka has joined #ruby
lewix has joined #ruby
doodlehaus has joined #ruby
joelroa_ has quit [Read error: Operation timed out]
tanema has quit [Ping timeout: 265 seconds]
dkamioka_ has joined #ruby
yfeldblum has joined #ruby
doodlehaus has quit [Remote host closed the connection]
dkamioka has quit [Read error: Connection reset by peer]
joelroa_ has joined #ruby
cina has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
meatherly has quit [Ping timeout: 252 seconds]
joelroa has quit [Ping timeout: 240 seconds]
Avahey has joined #ruby
joelroa has joined #ruby
LadyRainicorn has joined #ruby
ConstantineXVI has joined #ruby
Paradox has joined #ruby
Dwarf has joined #ruby
Kamilion has joined #ruby
ryanuber has joined #ruby
lectrick_ has joined #ruby
awkisopen has joined #ruby
mjmac has joined #ruby
gyre007_ has joined #ruby
Sthebig has joined #ruby
jzig has joined #ruby
PhilK has joined #ruby
nhmood has joined #ruby
ctp has joined #ruby
seich- has joined #ruby
zenojis has joined #ruby
maZtah has joined #ruby
andrewstewart has joined #ruby
gazoombo_ has joined #ruby
cbetta has joined #ruby
joelroa_ has quit [Ping timeout: 245 seconds]
octarine has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
bedouin has joined #ruby
Mongey has joined #ruby
dmarr has joined #ruby
joelroa_ has joined #ruby
kindjal has joined #ruby
joelroa has quit [Ping timeout: 265 seconds]
obs has quit [Quit: Saliendo]
joelroa has joined #ruby
IcyDragon has quit [Ping timeout: 240 seconds]
IcyDragon has joined #ruby
tibounise has quit [Quit: WeeChat 0.4.2]
sski has joined #ruby
cmoylan has joined #ruby
jonah_k has joined #ruby
Czupa has quit [Remote host closed the connection]
alex88 has quit [Quit: Leaving...]
jonr22 has joined #ruby
joelroa__ has joined #ruby
zz_jrhorn424 is now known as jrhorn424
diegoviola has quit [Remote host closed the connection]
dkamioka_ has quit [Ping timeout: 265 seconds]
joelroa_ has quit [Ping timeout: 358 seconds]
joelroa has quit [Ping timeout: 240 seconds]
Olipro has joined #ruby
tanema has joined #ruby
nobitanobi has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
Notte has joined #ruby
tanema has quit [Remote host closed the connection]
tanema has joined #ruby
Olipro has quit [Remote host closed the connection]
joelroa__ has quit [Ping timeout: 253 seconds]
joelroa has joined #ruby
napcae has quit [Read error: Connection reset by peer]
Sp4rKy has joined #ruby
jonah_k has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
cmoylan has quit [Quit: Leaving]
andy__ has joined #ruby
joelroa_ has joined #ruby
lewix has joined #ruby
andy__ has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
tanema has quit [Ping timeout: 265 seconds]
andy__ has joined #ruby
cj3kim has joined #ruby
scarolan has joined #ruby
rootshift_ has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
joelroa has quit [Ping timeout: 252 seconds]
habanany has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
arietis has joined #ruby
andy__ has quit [Read error: Connection reset by peer]
cj3kim has quit [Read error: Connection reset by peer]
andy__ has joined #ruby
rootshift_ has joined #ruby
bleak has joined #ruby
habanany has joined #ruby
cj3kim has joined #ruby
joelroa_ has quit [Ping timeout: 265 seconds]
joelroa_ has joined #ruby
mehlah has quit [Quit: Leaving...]
rootshift_ has quit [Client Quit]
joelroa has quit [Ping timeout: 240 seconds]
Mongey has quit [Quit: Mongey]
ReCoin2 is now known as ReCoin
mjs2600 has joined #ruby
joelroa has joined #ruby
Mongey has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
tils has joined #ruby
joelroa_ has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
scarolan has quit [Ping timeout: 252 seconds]
jph98 has joined #ruby
mjs2600 has quit [Ping timeout: 240 seconds]
joelroa has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby
tanema has joined #ruby
joelroa has joined #ruby
musl has joined #ruby
gja has joined #ruby
marcdel_ has quit [Ping timeout: 246 seconds]
joelroa_ has quit [Ping timeout: 265 seconds]
olivier_bK has joined #ruby
monsieur1 is now known as monsieurp
pigzzcanfly has joined #ruby
joelroa_ has joined #ruby
tanema has quit [Client Quit]
p8952 has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 265 seconds]
sparrovv has joined #ruby
shredding has quit [Quit: shredding]
joelroa has joined #ruby
jonah_k has joined #ruby
joelroa_ has quit [Ping timeout: 265 seconds]
sparrovv has quit [Ping timeout: 240 seconds]
browndawg has quit [Quit: Leaving.]
mityaz has joined #ruby
joelroa has quit [Ping timeout: 261 seconds]
jonah_k has quit [Remote host closed the connection]
Mongey has quit [Quit: Mongey]
joelroa has joined #ruby
CodeBunny has joined #ruby
marcdel has joined #ruby
Azulinho has quit [Ping timeout: 240 seconds]
Mongey has joined #ruby
napcae has joined #ruby
yarou has joined #ruby
mneorr has joined #ruby
joelroa_ has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
Mongey has quit [Client Quit]
akitada has quit [Quit: Connection closed for inactivity]
Mongey has joined #ruby
CodeBunny has quit [Quit: CodeBunny got lost. Send help!]
mneorr has quit [Ping timeout: 265 seconds]
joelroa_ has quit [Ping timeout: 240 seconds]
Kricir has joined #ruby
Zubin has quit [Remote host closed the connection]
Hanmac has joined #ruby
joelroa_ has joined #ruby
rootshift_ has joined #ruby
rootshift_ has quit [Client Quit]
lewix has quit [Remote host closed the connection]
dapz has joined #ruby
joelroa has quit [Ping timeout: 245 seconds]
Hanmac1 has quit [Ping timeout: 252 seconds]
habanany has quit [Ping timeout: 246 seconds]
joelroa has joined #ruby
lewix has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
joelroa_ has joined #ruby
habanany has joined #ruby
kenneth has joined #ruby
kenneth has quit [Client Quit]
joelroa has quit [Ping timeout: 247 seconds]
pigzzcanfly has joined #ruby
joelroa has joined #ruby
adamholt_ has joined #ruby
dkamioka has joined #ruby
yfeldblum has joined #ruby
joelroa_ has quit [Ping timeout: 252 seconds]
joelroa_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
pigzzcanfly has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 240 seconds]
mjs2600 has joined #ruby
kenneth has joined #ruby
joelroa has joined #ruby
gja has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
Mongey has quit [Quit: Mongey]
joelroa_ has quit [Ping timeout: 252 seconds]
joelroa_ has joined #ruby
mavcunha has quit [Ping timeout: 264 seconds]
Mongey has joined #ruby
banister has joined #ruby
banister has quit [Client Quit]
dingus_khan has joined #ruby
gja has quit [Client Quit]
joelroa has quit [Ping timeout: 240 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joelroa has joined #ruby
jonr22 has quit [Remote host closed the connection]
mavcunha has joined #ruby
jonr22 has joined #ruby
habanany has quit [Ping timeout: 252 seconds]
dkamioka has quit [Ping timeout: 265 seconds]
kenneth has joined #ruby
dingus_khan has quit [Ping timeout: 240 seconds]
joelroa_ has quit [Ping timeout: 265 seconds]
gemmy has quit [Quit: leaving]
joelroa_ has joined #ruby
chihhsin_cloud has joined #ruby
mavcunha has quit [Client Quit]
rickruby has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
davidcollom_ is now known as davidcollom
kies has joined #ruby
kies has quit [Changing host]
kies has joined #ruby
fantazo has quit [Quit: Verlassend]
gja has joined #ruby
Kricir has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 264 seconds]
scarolan has joined #ruby
joelroa_ has quit [Ping timeout: 265 seconds]
joelroa_ has joined #ruby
browndawg has joined #ruby
joelroa has quit [Ping timeout: 252 seconds]
tonyhb has joined #ruby
joelroa has joined #ruby
supersym has quit [Quit: WeeChat 0.4.3]
oetjenj has quit [Ping timeout: 264 seconds]
gja has quit [Quit: This computer has gone to sleep]
dkamioka has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
gja has joined #ruby
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa has joined #ruby
alexju has joined #ruby
Hanmac1 has joined #ruby
scarolan has quit [Ping timeout: 246 seconds]
joelroa_ has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Remote host closed the connection]
joelroa_ has joined #ruby
Hobogrammer has joined #ruby
alexherbo2 has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
gja has quit [Quit: This computer has gone to sleep]
joelroa has quit [Ping timeout: 251 seconds]
CaptainJet has joined #ruby
alexju has quit [Remote host closed the connection]
joelroa has joined #ruby
alexju has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
oetjenj has joined #ruby
rickruby has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
davidcollom is now known as davidcollom_afk
guinslym_ has joined #ruby
geopet has joined #ruby
joelroa has joined #ruby
jph98 has quit [Quit: jph98]
Kilo`byte has quit [Max SendQ exceeded]
bthesorceror has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
cmhobbs has joined #ruby
joelroa_ has quit [Ping timeout: 252 seconds]
Kilo`byte has joined #ruby
lolmaus has quit [Remote host closed the connection]
end_guy has joined #ruby
joelroa_ has joined #ruby
Mongey has quit [Quit: Mongey]
joelroa has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
tgkokk has joined #ruby
tgkokk has quit [Max SendQ exceeded]
sepp2k has quit [Ping timeout: 240 seconds]
Vivekananda has joined #ruby
sepp2k has joined #ruby
tgkokk has joined #ruby
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
dingus_khan has joined #ruby
bthesorceror has quit []
joelroa_ has quit [Ping timeout: 240 seconds]
joelroa_ has joined #ruby
danshultz has joined #ruby
mneorr has joined #ruby
gja has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
davidcollom_afk is now known as davidcollom
joelroa has joined #ruby
tonyhb_ has joined #ruby
pfg has joined #ruby
lolmaus has joined #ruby
pfg has quit [Max SendQ exceeded]
maximski has joined #ruby
Czupa has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
pfg has joined #ruby
havenwood has joined #ruby
Czupa has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 264 seconds]
mcls has joined #ruby
arietis has joined #ruby
joelroa_ has joined #ruby
mneorr has quit [Ping timeout: 265 seconds]
tonyhb has quit [Ping timeout: 252 seconds]
joelroa has quit [Ping timeout: 252 seconds]
canton7 has joined #ruby
cina has quit [Ping timeout: 265 seconds]
canton7 has quit [Remote host closed the connection]
aspires has joined #ruby
canton7 has joined #ruby
tonyhb_ has quit [Ping timeout: 265 seconds]
jeregrine has quit [Quit: Connection closed for inactivity]
joelroa has joined #ruby
amclain has joined #ruby
tonyhb has joined #ruby
nfk has joined #ruby
Faris has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
joelroa__ has joined #ruby
speakingcode has joined #ruby
slowcon has joined #ruby
flowerha_ is now known as hoypriest
joelroa has quit [Ping timeout: 240 seconds]
northlight31 has joined #ruby
meatherly has joined #ruby
joelroa has joined #ruby
davidcollom is now known as davidcollom_afk
decoponio has quit [Quit: Leaving...]
joelroa__ has quit [Ping timeout: 264 seconds]
tibounise has joined #ruby
mcls has quit [Quit: Lingo - http://www.lingoirc.com]
yfeldblum has joined #ruby
joelroa_ has joined #ruby
mcls has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
slowcon has quit [Ping timeout: 240 seconds]
joelroa has quit [Ping timeout: 249 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
maximski has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
mjs2600 has quit [Remote host closed the connection]
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
joelroa_ has quit [Ping timeout: 252 seconds]
bhaak has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
tejas has joined #ruby
centrx has joined #ruby
fschuindt has joined #ruby
joelroa_ has joined #ruby
gja has quit [Ping timeout: 264 seconds]
fschuindt has quit [Client Quit]
jglover has joined #ruby
<jglover> I've been trying to debug some code so I'm writing puts "debug statement" but it's not showing up in my terminal
<jglover> any ideas?
<jglover> any ideas?
<LadyRainicorn> Most likely it's not being executed.
<jglover> I've been trying to debug some code so I'm writing puts "debug statement" but it's not showing up in my terminal
dseitz has joined #ruby
joelroa has quit [Ping timeout: 247 seconds]
_mtr has joined #ruby
<Morrolan> Alternatively, something's redirecting STDOUT.
marcdel has quit [Ping timeout: 265 seconds]
GinoMan has joined #ruby
_mtr has quit [Client Quit]
<Morrolan> Btw, you needn't repeat your question every other second. ;)
bhaak has joined #ruby
joelroa has joined #ruby
<jglover> Morrolan: yeah haha sorry about that. It wasn't on purpose. I'm using irssi and nothing showed up when I pressed enter, and I didn't notice that I had a lag
<jglover> Morrolan: anyways, i think it must be redirection because the code after the puts statement is being executed. So I don't think it's beeing hung up anywhere
dkamioka has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 265 seconds]
p8952 has joined #ruby
<jglover> does rack redirect by any chance? this wasn't happening before I started using rackup
hoypriest has quit [Remote host closed the connection]
<jglover> ah yes it does
carraroj has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
joelroa_ has joined #ruby
rickruby has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
jglover has quit [Quit: Lost terminal]
kcombs has joined #ruby
northlight31 has quit [Remote host closed the connection]
joelroa has joined #ruby
speakingcode has quit [Ping timeout: 265 seconds]
<pontiki> rack is really quite simplistic
jrhorn424 is now known as zz_jrhorn424
joelroa_ has quit [Ping timeout: 265 seconds]
Kricir has joined #ruby
joelroa_ has joined #ruby
nomenkun has joined #ruby
Rainicorn has joined #ruby
mcls has quit [Quit: Lingo - http://www.lingoirc.com]
LadyRainicorn has quit [Disconnected by services]
<shevy> it is so simplistic that it is not even useful on its own!
Rainicorn is now known as LadyRainicorn
<jhass> oh it is
LadyRainicorn has quit [Client Quit]
Rainicorn has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
joelroa__ has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
geopet has quit []
nomenkun has quit [Ping timeout: 252 seconds]
joelroa has joined #ruby
joelroa__ has quit [Read error: Operation timed out]
Salve has joined #ruby
OdNairy has joined #ruby
Matriks_ has quit [Ping timeout: 264 seconds]
Hobogrammer_ has joined #ruby
axl_ has joined #ruby
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
oracal has quit [Quit: Leaving]
Matriks has joined #ruby
guinslym_ has left #ruby [#ruby]
saarinen has joined #ruby
Mongey has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
joelroa_ has joined #ruby
vlad_starkov has joined #ruby
habanany has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
poulson has quit [Read error: Connection reset by peer]
rickruby has quit [Remote host closed the connection]
jonah_k has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
joelroa has joined #ruby
msch has joined #ruby
segmond has joined #ruby
vlad_starkov has joined #ruby
ravster has joined #ruby
<ravster> hey all
rickruby has joined #ruby
<shevy> hey raver
tylersmith has joined #ruby
<ravster> Is it possible to ask Rspec to run a particular group of tests only on a particular platform? I'm trying to fiddle with the Parallel gem and see if I can make it pass on jruby.
joelroa_ has quit [Ping timeout: 265 seconds]
rickruby has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
joelroa_ has joined #ruby
nobitanobi has quit [Ping timeout: 265 seconds]
danshultz has joined #ruby
cj3kim has joined #ruby
jonah_k has quit [Ping timeout: 252 seconds]
joelroa has quit [Ping timeout: 246 seconds]
mehlah has joined #ruby
andy__ has quit [Remote host closed the connection]
tejas has quit [Quit: This computer has gone to sleep]
andy__ has joined #ruby
alexju has quit [Remote host closed the connection]
joelroa has joined #ruby
joelroa_ has quit [Read error: Operation timed out]
kies has quit [Ping timeout: 240 seconds]
danshultz has quit [Ping timeout: 252 seconds]
joelroa_ has joined #ruby
<jhass> hm I guess you could tag them and add a tag filter in your spec_file.rb depending on the platform
ilyam has joined #ruby
andy__ has quit [Ping timeout: 265 seconds]
sski has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 264 seconds]
charles81 has joined #ruby
sski has joined #ruby
joelroa has joined #ruby
gja has joined #ruby
mikecmpbll has joined #ruby
zigomir has joined #ruby
joelroa_ has quit [Ping timeout: 249 seconds]
gja has quit [Client Quit]
joelroa_ has joined #ruby
Mon_Ouie has quit [Ping timeout: 259 seconds]
hiyosi has quit [Ping timeout: 259 seconds]
sski has quit [Ping timeout: 264 seconds]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
aspires has quit []
Azulinho has joined #ruby
aspires has joined #ruby
joelroa__ has joined #ruby
enebo has joined #ruby
yfeldblu_ has joined #ruby
gwb3 has joined #ruby
trhodes has joined #ruby
mneorr has joined #ruby
enebo has quit [Client Quit]
mneorr has quit [Ping timeout: 260 seconds]
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa has quit [Ping timeout: 465 seconds]
gwb3 is now known as Guest57917
mgberlin has joined #ruby
ultraflash3 has joined #ruby
joelroa__ has quit [Read error: Operation timed out]
TTilus has joined #ruby
<shevy> sometimes I am not seeing the tree in the forest
sawtooth_ has joined #ruby
riceandbeans has joined #ruby
riceandbeans has quit [Changing host]
riceandbeans has joined #ruby
DrForr_ has joined #ruby
Nigel_ has joined #ruby
queequeg1 has joined #ruby
<havenwood> shevy: roll in the moss
<shevy> lol
emdub has joined #ruby
deepy has joined #ruby
Guest49885 has quit [Excess Flood]
deepy is now known as Guest92733
kindjal has joined #ruby
riceandb1ans has quit [Remote host closed the connection]
gl- has quit [Remote host closed the connection]
JStoker has quit [Excess Flood]
sawtooth1 has quit [Write error: Broken pipe]
emdub_ has quit [Write error: Broken pipe]
queequeg2 has quit [Write error: Broken pipe]
Zhann_ has quit [Write error: Broken pipe]
mikee has quit [Write error: Broken pipe]
Hamled has quit [Write error: Broken pipe]
18WAFUUR3 has quit [Write error: Broken pipe]
pr1x_ has quit [Write error: Broken pipe]
gigetoo has quit [Write error: Broken pipe]
G has quit [Write error: Broken pipe]
carraroj has quit [Write error: Broken pipe]
habanany has quit [Ping timeout: 330 seconds]
dgfdgf has quit [Ping timeout: 330 seconds]
justinxreese has quit [Ping timeout: 330 seconds]
Deele has quit [Ping timeout: 330 seconds]
freerobby has quit [Ping timeout: 330 seconds]
halfie has quit [Ping timeout: 330 seconds]
Angelous has quit [Ping timeout: 330 seconds]
mattyohe_ has quit [Ping timeout: 330 seconds]
kapowaz has quit [Ping timeout: 330 seconds]
Guest85414______ has quit [Ping timeout: 330 seconds]
Jakee` has quit [Ping timeout: 330 seconds]
im0b has quit [Ping timeout: 330 seconds]
Jelco_ has quit [Ping timeout: 330 seconds]
dachi has quit [Ping timeout: 330 seconds]
tubbo has quit [Ping timeout: 330 seconds]
ihme-TTilus has quit [Remote host closed the connection]
freerobby has joined #ruby
Jelco has joined #ruby
Jelco has joined #ruby
Jelco has quit [Changing host]
kindjal has quit [Client Quit]
miah has quit [Remote host closed the connection]
Angelous- has joined #ruby
Deele has joined #ruby
mattyohe_ has joined #ruby
gja has quit [Write error: Broken pipe]
gl- has joined #ruby
mikee has joined #ruby
im0b_ has joined #ruby
Jakee`_ has joined #ruby
Guest85414______ has joined #ruby
ultraflash3 has quit [Ping timeout: 250 seconds]
Hamled has joined #ruby
tubbo has joined #ruby
zoscoy has joined #ruby
maZtah is now known as maZtah
`MArceLL` has joined #ruby
halfie has joined #ruby
kapowaz has joined #ruby
dachi has joined #ruby
meatherly has joined #ruby
zoscoy has quit [Client Quit]
JStoker has joined #ruby
miah has joined #ruby
einarj has joined #ruby
gigetoo has joined #ruby
pr1x has joined #ruby
joelroa has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
justinxreese has joined #ruby
Zhann has joined #ruby
ctp has quit [Quit: Leaving...]
joelroa_ has joined #ruby
meatherly has quit [Ping timeout: 265 seconds]
Vivekananda has quit [Quit: Ex-Chat]
PLejeck has quit [Changing host]
PLejeck has joined #ruby
PLejeck is now known as nuck
timonv has quit [Remote host closed the connection]
Kricir has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
itadder has joined #ruby
saarinen has quit [Quit: saarinen]
joelroa has joined #ruby
<itadder> hi
<centrx> Ahoy
<itadder> I am at a coding meetup
<itadder> two smart girls here
cj3kim_ has joined #ruby
<itadder> I am trying to learn code blocks
<centrx> heh
<itadder> I created this example
<itadder> what is wrong with my logic
<shevy> itadder you create local vars inside a method
<centrx> Are you one of the smart girls, or are you a dumb boy
<itadder> I thought that it was possible for me to define two varible then call them back
<shevy> so they are not persistent
<itadder> centrx: dumb boy :)
<itadder> oh
mgberlin has quit [Remote host closed the connection]
<centrx> You can use num1 and num2 in the block, they need to in the block variables like { |n1, n2| use n1 and n2 }
<shevy> itadder also, you pass in a {} which is not what you want
<jhass> itadder: nope, the way you do it is by letting the block accept parameters and pass them in your method: def foo; yield 1, 2; end; foo {|num1, num2| ... }
<shevy> becaue you are not calling yield yet itadder
<centrx> ^
joelroa_ has quit [Ping timeout: 252 seconds]
shabgrd has joined #ruby
<itadder> bah
<itadder> heehe
kies has joined #ruby
joelroa_ has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
supersym has joined #ruby
joelroa has quit [Ping timeout: 264 seconds]
shabgard has quit [Ping timeout: 240 seconds]
joelroa has joined #ruby
<itadder> oh so jhass I can let the block accept input
<Kilo`byte> wtf is wrong
<shevy> ur mom
<Kilo`byte> i have the ruby-dbus gem installed
<Kilo`byte> YET require 'dbus' fails
<Kilo`byte> (same for require 'ruby-dbus'
<Kilo`byte> )
<Kilo`byte> shevy: no, your mom is not wrong :P muhahahaha
<jhass> Kilo`byte: anything on gem which dbus?
<Kilo`byte> jhass: ?
<Kilo`byte> whatcha mean
<jhass> command. to run. on your shell
joelroa_ has quit [Ping timeout: 264 seconds]
<shevy> perhaps the gem is unmaintained since a long time
<Kilo`byte> last commit was 8 days ago
<Kilo`byte> LoadError: cannot load such file -- dbus
<Kilo`byte> gem install ruby-dbus
<shevy> and you are sure that this is the way to install it?
joelroa_ has joined #ruby
dorei has quit [Ping timeout: 264 seconds]
<shevy> and require
workmad3 has joined #ruby
<Kilo`byte> read the readme
<Kilo`byte> :P
Megtastique has joined #ruby
<jhass> are you sure it installed ok? is it in gem list?
<shevy> ok
<shevy> I just installed it
<shevy> require "dbus" works fine
pierre1_ has quit [Ping timeout: 246 seconds]
<Kilo`byte> WTF
<shevy> gem install ruby-dbus
<shevy> Fetching: ruby-dbus-0.11.0.gem (100%)
<shevy> Successfully installed ruby-dbus-0.11.0
<shevy> 1 gem installed
<shevy> Installing ri documentation for ruby-dbus-0.11.0
* Kilo`byte has no idea whats wrong
<shevy> require "dbus"
<shevy> # => true
<Kilo`byte> WTF
<jhass> run gem install ruby-dbus again
<Kilo`byte> sec
<jhass> this time pay attention to the output
<shevy> Kilo`byte perhaps you have a fucked up ruby version like debian ruby
<itadder> god it
joelroa has quit [Ping timeout: 265 seconds]
<shevy> god? god itadder the tall?
<shevy> :D
<centrx> shevy, Are you jumping on the pipework bandwagon about how all packaged Ruby's are bad
<Kilo`byte> debian? plz no
<Kilo`byte> i'm on arch
<itadder> shevy: what wrong with my logic
<Kilo`byte> $ gem install ruby-dbus
<Kilo`byte> WARNING: You don't have /home/stephan/.gem/ruby/2.0.0/bin in your PATH,
<Kilo`byte> gem executables will not run.
<Kilo`byte> Parsing documentation for ruby-dbus-0.11.0
<Kilo`byte> Successfully installed ruby-dbus-0.11.0
<Kilo`byte> Done installing documentation for ruby-dbus after 4 seconds
<Kilo`byte> 1 gem installed
<shevy> centrx hey, you will *never* find me and pipework on the same side!
joelroa has joined #ruby
<jhass> Kilo`byte: /topic
banister has joined #ruby
oracal has joined #ruby
<centrx> itadder, Works for me
<Kilo`byte> oups, sorry
<Kilo`byte> :P
<Kilo`byte> i usually do 5 lines, and i miscounted
<Kilo`byte> :P
<itadder> so inside the code block it called a method and that is were it get input
<shevy> well
<itadder> what is yield doing centrx??
<shevy> does it work now Kilo`byte
<jhass> Kilo`byte: hm, you're on arch yet no 2.1.0? how should I trust you in anything now? :P
<Kilo`byte> lemme try
<shevy> itadder you call a block with yield
<Kilo`byte> nop
<Kilo`byte> it doesn't
<shevy> itadder please, learn what a block is exactly first until you can give us a definitino here
<shevy> what is the error
* Kilo`byte considers reinstalling ruby
<Kilo`byte> LoadError: cannot load such file -- dbus
<jhass> Kilo`byte: put gem env into a pastebin
<Kilo`byte> how?
<shevy> must be lying to you then
workmad3 has quit [Read error: Operation timed out]
<shevy> I can assure you it works
<jhass> Kilo`byte: run gem env, copy, paste into pastebin, share link
itadder has quit []
joelroa_ has quit [Ping timeout: 252 seconds]
<Kilo`byte> i really need a way to gist from command line lol
Kricir has quit [Ping timeout: 265 seconds]
<jhass> I think there are about a dozen tools for that
<Kilo`byte> yep
<Kilo`byte> jut cba to install
<Kilo`byte> going to look through AUR later
saarinen has joined #ruby
joelroa_ has joined #ruby
<jhass> ah rvm madness
<Kilo`byte> aka broken stuff?
gja has quit [Quit: This computer has gone to sleep]
<centrx> gah
<jhass> aka try echo "gem: --no-user-install" >> ~/.gemrc
<jhass> gem install again
joelroa has quit [Ping timeout: 246 seconds]
<Kilo`byte> whooooho
<Kilo`byte> thanks, worked
<Kilo`byte> :D
agjacome has joined #ruby
joelroa has joined #ruby
aspires has quit []
guilleiguaran has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
<shevy> \o/
<shevy> jhass fixed your problem
<shevy> you owe him a kiss now at least
<Kilo`byte> :P
lewix has quit [Remote host closed the connection]
ringaroses has joined #ruby
supersym has quit [Quit: WeeChat 0.4.3]
joelroa_ has joined #ruby
gja has joined #ruby
pfg has quit [Ping timeout: 264 seconds]
shabgrd has quit [Quit: Aji maji la taraji]
joelroa has quit [Read error: Operation timed out]
oracal has quit [Quit: Leaving]
mavcunha has joined #ruby
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
joelroa has joined #ruby
mojjojo has joined #ruby
kapowaz has quit [*.net *.split]
Nigel_ has quit [*.net *.split]
Guest57917 has quit [*.net *.split]
trhodes has quit [*.net *.split]
G has joined #ruby
gja has quit [Client Quit]
kapowaz has joined #ruby
Guest39974 is now known as adam12
aspires has joined #ruby
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
joelroa_ has quit [Ping timeout: 264 seconds]
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
joelroa_ has joined #ruby
Jetchisel has joined #ruby
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
joelroa has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 240 seconds]
supersym has joined #ruby
joelroa has joined #ruby
mikepack has quit [Remote host closed the connection]
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
mikepack has joined #ruby
gwb3 has joined #ruby
Jake232 has joined #ruby
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
ctp has joined #ruby
trhodes has joined #ruby
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
<shevy> centrx the master is a damn drunk :(
Notte has quit [Remote host closed the connection]
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
joelroa_ has quit [Ping timeout: 246 seconds]
kcombs has quit [Ping timeout: 261 seconds]
tgkokk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pfg has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
joelroa_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
browndawg has quit [Quit: Leaving.]
xerox357 has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
cj3kim_ has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 252 seconds]
supersym has quit [Read error: Connection reset by peer]
joelroa has joined #ruby
cj3kim has joined #ruby
<centrx> heh
lewix has joined #ruby
Mongey has quit [Quit: Mongey]
ctp has quit [Ping timeout: 264 seconds]
Mongey has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
mcls has joined #ruby
dik_dak has joined #ruby
joelroa has joined #ruby
vlad_starkov has joined #ruby
GinoMan has quit [Ping timeout: 246 seconds]
zoscoy has joined #ruby
axl_ has quit [Quit: axl_]
vlad_starkov has quit [Remote host closed the connection]
<pontiki> esr isn't the best writer going
<pontiki> but then, neither were the translators of zen koans
Megtastique has quit []
z has quit [Ping timeout: 252 seconds]
xerox357 has quit [Remote host closed the connection]
xerox357 has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
joelroa_ has joined #ruby
Astral_ has quit [Read error: Connection reset by peer]
bitness64 has joined #ruby
Rainicorn is now known as LadyRainicorn
saarinen has quit [Read error: Connection reset by peer]
Astral_ has joined #ruby
danshultz has joined #ruby
Angelous- is now known as Angelous
joelroa has quit [Ping timeout: 245 seconds]
segmond has quit [Quit: Leaving]
saarinen has joined #ruby
segmond has joined #ruby
mutenewt has joined #ruby
joelroa has joined #ruby
mgberlin has joined #ruby
davidcollom_afk is now known as davidcollom
cj3kim has quit [Read error: Connection reset by peer]
xerox357 has quit [Ping timeout: 265 seconds]
dangerousdave has joined #ruby
cj3kim has joined #ruby
dingus_khan has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
GinoMan has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
bonhoeffer has joined #ruby
<bonhoeffer> why doesn't this work? Nguyen::Fdf.new("TAX YEAR": year.to_s)
shredding has joined #ruby
Lightsta1ker has quit [Ping timeout: 240 seconds]
<bonhoeffer> foo.rb:9: syntax error, unexpected ')', expecting keyword_end
Mongey has quit [Quit: Mongey]
saarinen_ has joined #ruby
<shevy> hmm
mikepack has joined #ruby
<bonhoeffer> or what other options do i have -- it is looking for a sym
<shevy> does it work if you replace : with =>
saarinen has quit [Write error: Connection reset by peer]
saarinen_ is now known as saarinen
joelroa has quit [Ping timeout: 262 seconds]
tonyhb has quit [Quit: peace]
<centrx> bonhoeffer, The keyword argument syntax does not support quotation marks
<bonhoeffer> yeah -- i have a field with a space
joelroa has joined #ruby
Lightstalker has joined #ruby
<bonhoeffer> fdf = Nguyen::Fdf.new(l100: '123-45-2828') works fine
alexju has joined #ruby
alexju has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 264 seconds]
Megtastique has joined #ruby
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
alexju has joined #ruby
joelroa has quit [Ping timeout: 252 seconds]
joelroa has joined #ruby
meatherly has joined #ruby
mnms__ has joined #ruby
<bonhoeffer> really just need to populate @data
<bonhoeffer> => syntax i suppose
yasushi has joined #ruby
<mnms__> Im calling on instance.extend(ModuleName) which has after_save callback in included block which is never executed
<mnms__> can someone tell me what magic I need to be able to execute callback in included block when I do object.extend(MOdule)
alexju has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
CaptainJet has quit []
<bonhoeffer> works . . .
joelroa_ has joined #ruby
rafaelmagu has joined #ruby
aspires has quit []
s_kilk has joined #ruby
meatherly has quit [Ping timeout: 265 seconds]
joelroa has quit [Ping timeout: 252 seconds]
Megtastique has quit []
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
joelroa has joined #ruby
alexherbo2 has joined #ruby
yasushi has quit [Ping timeout: 240 seconds]
makara has joined #ruby
sski has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
marcdel has quit [Ping timeout: 264 seconds]
eam has joined #ruby
axl_ has joined #ruby
yfeldblum has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
aryaching_ has joined #ruby
joelroa has joined #ruby
koell has quit [Quit: So say we all!]
yfeldblu_ has quit [Read error: Connection reset by peer]
koell has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jake232 has joined #ruby
RoxasShadowRS has joined #ruby
linduxed has quit [Ping timeout: 264 seconds]
bernalex has quit [Changing host]
bernalex has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
aryaching has quit [Ping timeout: 246 seconds]
jayne has quit [Read error: Connection reset by peer]
marcdel has joined #ruby
stryek has joined #ruby
joelroa_ has joined #ruby
makara has quit [Ping timeout: 240 seconds]
axl_ has quit [Ping timeout: 252 seconds]
joelroa has quit [Ping timeout: 240 seconds]
Kricir has joined #ruby
RoxasShadowRS has quit [Client Quit]
sparrovv has joined #ruby
joelroa has joined #ruby
ephemerian has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
joelroa_ has quit [Ping timeout: 265 seconds]
dnyy has joined #ruby
<bonhoeffer> any thoughts on what i'm missing here https://gist.github.com/tbbooher/9177372
joelroa_ has joined #ruby
kayamm has joined #ruby
jonr22 has joined #ruby
lewix has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joelroa has quit [Ping timeout: 265 seconds]
jayne has joined #ruby
joelroa has joined #ruby
s_kilk has quit [Quit: Leaving]
jonah_k has joined #ruby
mutenewt has quit [Quit: Leaving]
claymore has quit [Quit: Leaving]
<plexus_> bonhoeffer: you're not splitting the lines on the comma
<bonhoeffer> i think i need to do a split on "\n" to get the lines, then on the comma
claymore has joined #ruby
<plexus_> try data.split("\n").map {|line| line.split(", ")}.each ...
joelroa_ has quit [Ping timeout: 240 seconds]
<bonhoeffer> works -- but this has to be the worst way to do this . . .
<bonhoeffer> :)
<plexus_> better : require 'csv' ; CSV(data).each ...
joelroa_ has joined #ruby
kayamm has quit [Quit: part]
ultraflash3 has joined #ruby
<bonhoeffer> better %{}
xerox357 has joined #ruby
gregf has joined #ruby
joelroa has quit [Ping timeout: 243 seconds]
marcdel has quit [Ping timeout: 246 seconds]
jonah_k has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
koell has quit [Quit: So say we all!]
joelroa_ has quit [Ping timeout: 269 seconds]
joelroa_ has joined #ruby
marcdel has joined #ruby
Faris has quit [Quit: Nettalk6 - www.ntalk.de]
KarolisNo has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
mcls has quit [Quit: Computer has gone to sleep.]
zigomir has quit [Remote host closed the connection]
weems has joined #ruby
joelroa has joined #ruby
zigomir has joined #ruby
mcls has joined #ruby
dingus_khan has joined #ruby
<havenwood> yeah, CSV seems the way to go
<havenwood> bonhoeffer: CSV.parse(data) { |k, v| puts "#{k} ->#{v}" }
<bonhoeffer> thanks
mcls has quit [Client Quit]
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
vlad_starkov has joined #ruby
lewix has joined #ruby
zigomir has quit [Ping timeout: 265 seconds]
joelroa has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
Shidash has joined #ruby
binaryhat has joined #ruby
shredding has quit [Quit: shredding]
blackmesa has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
joelroa_ has quit [Ping timeout: 246 seconds]
skammer has joined #ruby
joelroa_ has joined #ruby
shredding has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
pfg has quit [Ping timeout: 246 seconds]
KarolisNo has quit [Read error: Connection reset by peer]
KarolisNo has joined #ruby
joelroa has joined #ruby
Xaitec has joined #ruby
aryaching_ has quit [Ping timeout: 240 seconds]
hiyosi has joined #ruby
pfg has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
pfg has quit [Max SendQ exceeded]
joelroa_ has quit [Ping timeout: 265 seconds]
jackal has joined #ruby
jackal is now known as thebirthdayparty
pfg has joined #ruby
joelroa_ has joined #ruby
<thebirthdayparty> can anyone suggest a good text editor with auto format for ubuntu
false_economy has joined #ruby
<Jamo_> vim
<thebirthdayparty> looking for highlighting and autospacing
<Jamo_> or sublime text
Azulinho has quit [Read error: Operation timed out]
<thebirthdayparty> thank you
binaryhat has quit [Quit: Leaving]
<havenwood> thebirthdayparty: gedit with gmate
joelroa has quit [Ping timeout: 241 seconds]
<thebirthdayparty> awesome i love gedit
<thebirthdayparty> gmate is an addon i suppose?
joelroa has joined #ruby
mjs2600 has joined #ruby
dingus_khan has quit [Remote host closed the connection]
mneorr has joined #ruby
hiyosi has quit [Ping timeout: 253 seconds]
lewix has quit [Remote host closed the connection]
tkuchiki has joined #ruby
plexus_ has quit [Ping timeout: 265 seconds]
joelroa_ has quit [Ping timeout: 265 seconds]
confounds has joined #ruby
estebistec has left #ruby [#ruby]
joelroa_ has joined #ruby
<thebirthdayparty> i can not get gmate installed dang
<havenwood> thebirthdayparty: Sublime is very nice but not cheap.
Atrumx has joined #ruby
<thebirthdayparty> is there any other free alternative to gedit
joelroa has quit [Ping timeout: 240 seconds]
<thebirthdayparty> when i hate gmate installed how will i specify to do the spacing
<thebirthdayparty> i think i got it, not sure how to activate it for ruby though
joelroa has joined #ruby
xerox357 has quit [Remote host closed the connection]
Hobogrammer_ has quit [Ping timeout: 240 seconds]
mneorr has quit [Ping timeout: 265 seconds]
xerox357 has joined #ruby
<havenwood> thebirthdayparty: Tabulation plugin for setting spaces based on file type.
joelroa_ has quit [Ping timeout: 265 seconds]
Matriks has quit [Remote host closed the connection]
<havenwood> thebirthdayparty: geany is on alternative
<havenwood> one*
<thebirthdayparty> geany looks cool
dingus_khan has joined #ruby
kirun has quit [Quit: Client exiting]
<thebirthdayparty> havenwood how long have you been working with ruby?
<havenwood> thebirthdayparty: two years and change
false_economy has quit [Remote host closed the connection]
dx7 has joined #ruby
dingus_khan has quit [Remote host closed the connection]
false_economy has joined #ruby
dx7 has quit [Remote host closed the connection]
<thebirthdayparty> do you remember that awkward phase when you understood the syntax but didnt know enough library yet to start buildling sophisticated code?
saarinen has quit [Quit: saarinen]
<havenwood> thebirthdayparty: yup
<thebirthdayparty> any tips on getting past that?
Olipro has joined #ruby
joelroa has quit [Ping timeout: 257 seconds]
<thebirthdayparty> should i move on to working with a gui library such at gtk or shoes or something?
dingus_khan has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
joelroa has joined #ruby
shredding has quit [Quit: shredding]
meatherly has joined #ruby
<thebirthdayparty> havenwood geany is installed, i have it set to ruby , highlighting is working but not indentation, do i need to change anything?
<havenwood> thebirthdayparty: i'm not sure, not a geany user :)
vpretzel has joined #ruby
joelroa_ has joined #ruby
<havenwood> thebirthdayparty: i think reading other's code on the Githubs is helpful
<thebirthdayparty> are there any topics in particular that would be helpful
<havenwood> thebirthdayparty: playing around with Shoes4 on JRuby is fun as far as GUI bindings go
joelroa has quit [Ping timeout: 252 seconds]
<thebirthdayparty> ok
<thebirthdayparty> thank you
dingus_khan has quit [Remote host closed the connection]
<havenwood> thebirthdayparty: hard to guess what all you know to recommend something sane :P
joelroa has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
bonhoeffer has joined #ruby
Naoe-Kanno has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
thebirthdayparty has quit [Quit: Leaving]
ktosiek has joined #ruby
<havenwood> get familiar with all the stuff in the stdlib, the dark corners
maroloccio has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
<centrx> Ignore stdlib and get familiar with Ruby Core :)
SHyx0rmZ has joined #ruby
joelroa_ has joined #ruby
bonhoeffer has quit [Client Quit]
<havenwood> that first!
ktosiek_ has quit [Ping timeout: 252 seconds]
dx7 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 246 seconds]
saarinen has joined #ruby
lazyguru_ has joined #ruby
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
danshultz has joined #ruby
KarolisNo has quit [Remote host closed the connection]
GinoMan has quit [Ping timeout: 264 seconds]
joelroa_ has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
jackneill has quit [Read error: Operation timed out]
v4n has joined #ruby
ikaros has joined #ruby
kcombs has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
atmosx has joined #ruby
joelroa has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
dingus_khan has joined #ruby
lewix has joined #ruby
ravster has quit [Quit: Leaving.]
atmosx has quit [Client Quit]
Kricir has joined #ruby
joelroa_ has joined #ruby
jph98 has joined #ruby
<shevy> second that!
joelroa has quit [Ping timeout: 265 seconds]
gja has joined #ruby
joelroa has joined #ruby
xerox357 has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 252 seconds]
sski has quit [Remote host closed the connection]
sski has joined #ruby
joelroa_ has quit [Ping timeout: 252 seconds]
mavcunha has quit [Quit: Textual IRC Client: www.textualapp.com]
lewix has joined #ruby
joelroa_ has joined #ruby
dingus_khan has quit [Remote host closed the connection]
mikepack_ has joined #ruby
joelroa has quit [Read error: Operation timed out]
r0bby has joined #ruby
mavcunha has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack_ has quit [Remote host closed the connection]
joelroa has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
Synthead has joined #ruby
bonhoeffer has joined #ruby
mrsolo has joined #ruby
sski has quit [Ping timeout: 259 seconds]
mrsolo has quit [Client Quit]
xerox357 has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
joelroa_ has joined #ruby
<Senjai> Fiddle is about as dark as the stdlib gets
<Senjai> :P
nakadai has joined #ruby
bonhoeffer has quit [Client Quit]
joelroa has quit [Ping timeout: 252 seconds]
dingus_khan has joined #ruby
ouie has quit [Ping timeout: 264 seconds]
zachallett has joined #ruby
Synthead has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
dingus_khan has quit [Remote host closed the connection]
dx7 has quit [Remote host closed the connection]
Megtastique has joined #ruby
dx7 has joined #ruby
joelroa_ has quit [Ping timeout: 240 seconds]
joelroa_ has joined #ruby
jcs222 has quit [Quit: leaving]
vlad_starkov has joined #ruby
claymore has quit [Ping timeout: 240 seconds]
chipotle_ has quit [Quit: cya]
atlas__ has joined #ruby
davidcollom is now known as davidcollom_
joelroa has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
<atlas__> hey all, it's my first day learning ruby, I'm just wondering about array.map and array.each, I've been experimenting with them and have a piece of code here: http://pastebin.com/wCrtHrXU
no0code has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
<atlas__> im wondering if there's a more concise way to sum the sqaures, within the code block of the first map ??
eka has joined #ruby
dingus_khan has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
joelroa_ has quit [Ping timeout: 252 seconds]
<LadyRainicorn> a.reduce(0){|x,y|x+y**2}
dingus_khan has quit [Remote host closed the connection]
andy__ has joined #ruby
joelroa_ has joined #ruby
xerox357 has quit [Remote host closed the connection]
dx7 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
dingus_khan has joined #ruby
dingus_khan has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 246 seconds]
mgberlin has quit [Ping timeout: 246 seconds]
joelroa has joined #ruby
joelroa_ has quit [Ping timeout: 246 seconds]
pfg has quit [Ping timeout: 246 seconds]
joelroa_ has joined #ruby
rickruby has joined #ruby
Cache_Money_ has joined #ruby
Kricir has quit [Remote host closed the connection]
armyriad has quit [Quit: Leaving]
joelroa has quit [Ping timeout: 240 seconds]
pfg has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
joelroa has joined #ruby
Guest65086 is now known as Radar
Megtastique has quit []
mojjojo has joined #ruby
mgberlin has joined #ruby
joelroa_ has quit [Read error: Operation timed out]
ephemerian has quit [Quit: Leaving.]
joelroa_ has joined #ruby
rickruby has quit [Remote host closed the connection]
dx7 has quit [Remote host closed the connection]
armyriad has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
dx7 has joined #ruby
stkowski has joined #ruby
joelroa has joined #ruby
Hanmac has joined #ruby
mburns_ is now known as mburns
rickruby has joined #ruby
Wixy has joined #ruby
<Wixy> Hello!
<centrx> Ahoy
george2 has joined #ruby
Kricir has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
<Wixy> I know it's not even close to JSON's specification, but can you think of any way to parse something like this: {foo: function() { return 123 }}
<Wixy> ?
<jhass> no, you can only eval it with javascript
<Wixy> (as a string at least)
Astral_ has quit [Ping timeout: 265 seconds]
joelroa_ has quit [Ping timeout: 246 seconds]
<Wixy> maybe I should try with node.js
<LadyRainicorn> eval it with a JS interpeter in a sandbox and output JSON.
<jhass> I mean if they really all look like that you throw a simple regex on it, but as soon as it gets more complex...
<Wixy> I have to do some processing with config files that has JSON with embeded functions
dingus_khan has joined #ruby
tibounise has quit [Quit: WeeChat 0.4.2]
<Wixy> I wanted to do that in ruby :|
<jhass> aka javascript
danshultz has quit [Remote host closed the connection]
<LadyRainicorn> You can use therubyracer
<centrx> Wixy, There are several JavaScript interpretors for Ruby
nathancahill has quit [Quit: nathancahill]
joelroa_ has joined #ruby
<Wixy> parsing it as: {foo: "function() { return 123 }"} is just fine
danshultz has joined #ruby
<Wixy> I'm not going to change the function anyway
yann2 has joined #ruby
<Wixy> but yeah, it could be complex, I can't use a regexp
jack_rabbit has joined #ruby
dx7 has quit [Ping timeout: 265 seconds]
<LadyRainicorn> Can this be any JS function or is it very restricted?
<yann2> small question: in ruby 2 if I have a function def myfunc(options), and I call it like this: myfunc(options: 'one'), will it assign a hash {:options => 'one'} to options, or just 'one', and why?
joelroa has quit [Ping timeout: 265 seconds]
saarinen has quit [Quit: saarinen]
<Wixy> LadyRainicorn, any function
<confounds> yann2 the former
meatherly has joined #ruby
jle` has joined #ruby
joelroa has joined #ruby
Xaitec has quit [Quit: Leaving]
<jhass> yann2: a hash, since what you pass the implicit version of myfunc({options: 'one'}) (and it's a method, not a function ;) )
<LadyRainicorn> Then you need to write a teensy bit of JS to convert it to Ruby.
<LadyRainicorn> (or a lot of parsing logic)
<yann2> alright thank you :)
<Wixy> yann2, and just in case, it also works in ruby 1.9.x
lewix has quit [Remote host closed the connection]
joelroa_ has quit [Ping timeout: 252 seconds]
<Wixy> LadyRainicorn, the point is I don't really want to convert it to ruby. if I can parse that json object and convert all functions to string, that's fine as well
<Wixy> and should be a lot easier
<jhass> please stop calling it json, it's a javascript object not json
<yann2> Wixy, yes, actually that's why I m here - I showed a piece of code why I use the former, and a friend took it for named parameters and warned me for support in ruby < 2
<havenwood> atlas__: its Ruby so you can always implement a more concise way, like `class Numeric; def squared; self * self; end end` so you can then: 1.upto(4).map &:squared #=> [1, 4, 9, 16]
Hanmac1 has joined #ruby
<LadyRainicorn> The problem is that you at least need to parse the JavaScript.
<LadyRainicorn> And because it can contain anything, it basically needs to parse JS generally.
joelroa_ has joined #ruby
danshultz has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
AlSquire has quit [Quit: This computer has gone to sleep]
<Wixy> ok, I'm going to do this in nodejs, it'll be more sane
<Wixy> thanks
dingus_khan has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
<RubyPanther> Good choice Wixy
joelroa has quit [Ping timeout: 265 seconds]
meatherly has quit [Ping timeout: 264 seconds]
dx7 has joined #ruby
Rainicorn has joined #ruby
joelroa has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Knife007 has joined #ruby
<Knife007> fayimora here?
<havenwood> fayimora__:
<havenwood> Knife007: hi
<Knife007> sup
<fayimora__> Yes! Knife007
<fayimora__> Sup?
LadyRainicorn has quit [Ping timeout: 252 seconds]
Rainicorn has quit [Client Quit]
joelroa_ has quit [Ping timeout: 265 seconds]
kalleth_ is now known as kalleth
<Knife007> do you use a desktop irc client
<havenwood> LimeChat
joelroa_ has joined #ruby
jph98 has quit [Quit: jph98]
crazymykl has quit [Remote host closed the connection]
<Knife007> thanks!
<Knife007> is that available for windows
crazymykl has joined #ruby
_bart has quit [Remote host closed the connection]
<fayimora__> I used colloquy for a while but I use a cloud service now
joelroa has quit [Ping timeout: 265 seconds]
Knife007 has quit [Client Quit]
neodon1 has joined #ruby
neodon1 has left #ruby [#ruby]
joelroa has joined #ruby
mojjojo has quit [Quit: mojjojo]
Salve_ has joined #ruby
agjacome has quit [Ping timeout: 265 seconds]
<Xuisce> havenwood: same here
<Xuisce> havenwood: I love it
joelroa_ has quit [Ping timeout: 240 seconds]
mojjojo has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
TuxLyn has joined #ruby
TuxLyn has left #ruby [#ruby]
reflux has quit [Ping timeout: 240 seconds]
joelroa has quit [Ping timeout: 264 seconds]
funburn has joined #ruby
joelroa has joined #ruby
wjlafrance has joined #ruby
cashnguns has joined #ruby
helpa has joined #ruby
Stalkr_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
joelroa_ has joined #ruby
linduxed has joined #ruby
xerox357 has joined #ruby
mojjojo has joined #ruby
<Stalkr_> I hate asking since it's probably been asked countless of times: what books do you recommend for people with a Java background?
zachallett has quit [Remote host closed the connection]
joelroa has quit [Ping timeout: 265 seconds]
joelroa has joined #ruby
Notte has joined #ruby
hfp has joined #ruby
<centrx> Stalkr_, I don't know about a Java background, but the Pickaxe book is the standard recommendation if you already know how to program: http://pragprog.com/book/ruby4/programming-ruby-1-9-2-0
_JamieD_ has joined #ruby
artmann has quit [Quit: No Ping reply in 180 seconds.]
klaut_ has quit [Remote host closed the connection]
rubyracer has quit [Quit: Konversation terminated!]
lkba has quit [Ping timeout: 240 seconds]
<hfp> Hi guys! `gem install foo` is very slow on my Mac. I enter the command and nothing happens for several seconds. I just typed `gem install rails` about a minute and a half ago and only now is it fetching packages. Why is that? I installed ruby using brew.
andrewhl has joined #ruby
joelroa_ has quit [Ping timeout: 264 seconds]
xerox357 has quit [Ping timeout: 246 seconds]
joelroa_ has joined #ruby
<Stalkr_> centrx: I have been going through it, page 129, but it's a weird combination of teaching really basic and intermediate Ruby stuff
artmann has joined #ruby
zeade has joined #ruby
<Stalkr_> So I was curious if there were something better out there. It explains what OOP is which I assumed the reader knew
<Stalkr_> but it definitely has some interesting chapters as well, mixins was new to me
confounds has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> You might like "Metaprogramming Ruby"
<centrx> Someone had a great list here
<centrx> pipework,
joelroa has quit [Ping timeout: 264 seconds]
<centrx> pipework, Wake up fellow Rubyist!
<v4n> hfp: you can try turning off rdoc and ri when installing gems: gem install --no-rdoc --no-ri gem's_name
joelroa has joined #ruby
andy__ has quit [Remote host closed the connection]
<Stalkr_> I would imagine there is some sort of 'Ruby Reading/Learning Path' out there, but it all seems outdated with 2.1.0 and Rails 4.0.0 (I am in it for web development mostly)
<hfp> v4n: I'm new to Ruby and Rails, won't I miss the doc?
andy__ has joined #ruby
<centrx> Stalkr_, Ruby 2.1 has minimal syntax changes
<centrx> Stalkr_, Even a book for Ruby 1.8 will get you most all of the core parts
<centrx> Stalkr_, Similar, The basic parts of Rails are the same since 3.0
<jhass> well, strong parameters is quite an essential change
<Stalkr_> I see. I understand update 1.9 was the major one in Ruby, but maybe there were some newer 'paths' out there
<centrx> Yes, there are significant changes, sure
<v4n> hfp: You can try that and see if it solves your problem. If it does run (gem rdoc --all) to install the doc for the gem(s)
<centrx> Stalkr_, That is correct
joelroa_ has quit [Ping timeout: 264 seconds]
randomnick_ has quit [Read error: Operation timed out]
<centrx> Stalkr_, You might also like RubyMonk and Ruby Koans, online interactive. I don't know if you can skip ahead in those, I assume yo ucan
<Stalkr_> How is Eloquent Ruby and Well-Grounded Rubyist? I see those titles get thrown a lot, but maybe they are more suited for already Ruby developers?
joelroa_ has joined #ruby
<Stalkr_> Ruby Koans looks really interesting, that's the one with tests right?
Faris has joined #ruby
<hfp> v4n: I see. running `sudo gem install foo` or `gem install foo` from a non-root prompt has no incidence? I can use both?
mjs2600 has quit [Remote host closed the connection]
<hfp> Stalkr_: I'm doing the Ruby koans, it's very interesting but impossible to understand all the subtleties they want to teach you without the help of #ruby
joelroa has quit [Ping timeout: 240 seconds]
<Stalkr_> hfp: Did you have prior experience with Ruby and/or other languages?
Faris has quit [Client Quit]
faris_ has joined #ruby
<v4n> hfp: Using sudo will do a system wide install of the gem.
devyn is now known as drserialize
faris_ has quit [Client Quit]
<hfp> Stalkr_: Well I played around with PHP mostly
Faris has joined #ruby
joelroa has joined #ruby
jobewan has joined #ruby
andy__ has quit [Ping timeout: 265 seconds]
<hfp> v4n: I'm not sure if I should do a system-wide install or not. What's the usual way?
atlas__ has quit [Ping timeout: 252 seconds]
<Stalkr_> hfp: How do you like Ruby compared to PHP? I would like to convert a mate to start using Ruby, but I think it's an impossible mission
joelroa_ has quit [Read error: Operation timed out]
<hfp> Stalkr_: Ruby is infinitely better :)
<jhass> Stalkr_: just take some data transforming 20-50 lines of java he wrote and rewrite it in 1-2 lines of ruby ;)
<centrx> PHP is an abomination and a scourge on the face of the earth.
<hfp> Stalkr_: PHP is very messy and inconsistent, Ruby is to the point (as jhass pointed out) and easy to read
<hfp> Stalkr_: Yeh, not much love for PHP here haha
joelroa_ has joined #ruby
havenwood has quit [Remote host closed the connection]
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
havenwood has joined #ruby
<Stalkr_> Unfortunately we are forced to use Java, and the guy has only been playing around with PHP for three years, so he hate to unlearn what he knows. He has a hard time with Java for example because of the OOP design
joelroa has quit [Ping timeout: 252 seconds]
<centrx> Poor fellow
vlad_starkov has joined #ruby
dseitz has joined #ruby
Hobogrammer has joined #ruby
<Stalkr_> I must find other Rubyists to do awesome things with
joelroa has joined #ruby
lkba has joined #ruby
Faris has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
Soliah has joined #ruby
kitak has joined #ruby
Soliah has quit [Client Quit]
Guest60679 has joined #ruby
adambeynon_ has quit [Ping timeout: 246 seconds]
robmozart_ has quit [Ping timeout: 246 seconds]
mattyohe_ has quit [Ping timeout: 245 seconds]
<centrx> Stalkr_, We are located in #ruby :)
joelroa_ has quit [Ping timeout: 265 seconds]
<Stalkr_> I hope you guys are not like the rest of freenode
kapowaz has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 252 seconds]
Kricir has quit [Remote host closed the connection]
mattyohe_ has joined #ruby
joelroa_ has joined #ruby
<Stalkr_> Is the Ruby community nice?
<centrx> Stalkr_, You mean getting net-splitted all the time?
charliesome has joined #ruby
kitak has quit [Read error: No route to host]
<centrx> Stalkr_, There is a principle in Ruby called MINASWAN
kitak has joined #ruby
<hermanmunster> PHP is pure filth.
<yann2> is there anything specially wrong with this method? http://pastealacon.com/34032 it fails at i += 1 " undefined method `+' for nil:NilClass" though the variable is defined a few lines above...
adambeynon_ has joined #ruby
mityaz has quit [Quit: See ya!]
<centrx> Stalkr_, Matz Is Nice So We Are Nice
vlad_starkov has quit [Ping timeout: 264 seconds]
robmozart_ has joined #ruby
joelroa has quit [Ping timeout: 246 seconds]
<v4n> hfp: As a rule of thumb use sudo only if you know what you are doing.
<Stalkr_> centrx: Third hit on Google: Minaswan is DEAD
<Stalkr_> oh noes
<hfp> v4n: Noted, thanks
joelroa has joined #ruby
<centrx> yann2, I get b.rb:6:in `rescue in <main>': undefined local variable or method `interval' for main:Object (NameError)
mostlybadfly has quit [Ping timeout: 245 seconds]
kapowaz has joined #ruby
Mongey has joined #ruby
Hobogrammer has quit [Ping timeout: 264 seconds]
<yann2> centrx, interesting. Now i m even more confused :)
<centrx> yann2, I get some weird characters copying from that pastie, before the i += 1, that could be related or it might just be the pastie site
<centrx> Stalkr_, uh oh
neodon has quit [Quit: Leaving]
drserialize is now known as devyn
<yann2> fuck me
cj3kim has quit [Read error: Connection reset by peer]
<yann2> you might be right
<yann2> let me rewrite that whole s+++
cj3kim has joined #ruby
<Stalkr_> centrx: What I meant was other channels seems to have some kind of superior complex (if that's what it's called). Too good to help out the newbies
joelroa_ has quit [Ping timeout: 264 seconds]
mostlybadfly has joined #ruby
Faris has joined #ruby
joelroa_ has joined #ruby
<centrx> Stalkr_, I see a lot of newbies being helped here
<Stalkr_> That's great
Hobogrammer has joined #ruby
<centrx> Stalkr_, But in general I think that sort of thing is common with IRC channels
<yann2> centrx, you re an ace. that might actually be a cut and paste issue error on my side
<yann2> my linux likes to insert non breaking spaces instead of spaces in cut & paste
<yann2> I destroyed 12 root servers a couple months ago because of a similar issue :'(
Jetchisel has joined #ruby
<jhass> ouch
joelroa has quit [Ping timeout: 246 seconds]
<centrx> Stalkr_, It can also be misinterpreted. Sometimes people come in and just want an answer as though we are their personal slaves, and refuse to do any sort of web search or independent thinking.
<Stalkr_> I totally understand that's annoying too
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
false_economy has quit []
joshwines has joined #ruby
kayamm has joined #ruby
<yann2> centrx, seriously thanks a lot, spent like an hour and a half on it and probably wouldnt have figured it out
snuffeluffegus has joined #ruby
<centrx> You are welcome
bitcrave has joined #ruby
atlas__ has joined #ruby
kayamm has quit [Client Quit]
joelroa_ has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
kayamm has joined #ruby
mojjojo has quit [Quit: mojjojo]
kitak has quit [Remote host closed the connection]
joelroa has joined #ruby
ddd has joined #ruby
ddd has quit [*.net *.split]
Kricir has joined #ruby
brian_____ has quit [Quit: brian_____]
<Stalkr_> centrx: I will continue reading the Pick Axe. Do you recommend reading through the library from A - Z or use it merely as a reference?
<Stalkr_> So far I have done A - L reading
<centrx> Stalkr_, at ruby-doc.org you mean?
ringaroses has quit [Read error: Connection reset by peer]
kapowaz has quit [Ping timeout: 245 seconds]
joelroa has quit [Ping timeout: 246 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Liothen has joined #ruby
kapowaz has joined #ruby
<Stalkr_> centrx: I meant the 'Programming Ruby' book
joelroa has joined #ruby
robmozart_ has quit [Ping timeout: 240 seconds]
Steve445 has joined #ruby
<Stalkr_> First 400 pages are kind of introduction to the language and its uses. The second half is a huge library, documenting the classes and methods
andrewhl has quit [Quit: andrewhl]
<centrx> oh that's probably the same as what's online at http://ruby-doc.org/core-2.1.0/
<centrx> The documentation for core Ruby is excellent
<centrx> Depends on your learning style though
<centrx> There are of course a lot of methods you may rarely ever use
joelroa_ has joined #ruby
robmozart_ has joined #ruby
<Stalkr_> centrx: Wait, so the book's library part is basically just the documentation online?
<Stalkr_> Same text, examples and everything?
meatherly has joined #ruby
<toretore> it's a leftover from the old days, when people actually used books as references
jhass is now known as jhass|off
joelroa has quit [Ping timeout: 265 seconds]
joelroa__ has joined #ruby
<yann2> toretore, you might still have people with no internet access, or who might want to have it paper form as it's convenient? :)
vpretzel has quit [Quit: Adios!]
<toretore> sure
<centrx> When the Internet is disconnected but the EMP hasn't gone off yet, you will appreciate it
<Stalkr_> I see, I had imagined they tried to document the language themselves, not just merely pasted from the online documentations
meechi has joined #ruby
hermanmunster_ has joined #ruby
<toretore> yes, because i'm going to be programming instead of foraging for food and planning my nuclear winter survival strategy :P
<Stalkr_> centrx: That's true, however one could download the site for offline browsing if really needed
joelroa_ has quit [Ping timeout: 240 seconds]
<centrx> All of my food foraging robots run on Ruby
joelroa has joined #ruby
<Stalkr_> but the book will probably make it clear what I am supposed to do when I come to the library
<toretore> iirc, at least in the first pickaxe, it did take them some effort to create the documentation.. there was no rdoc.info then
<toretore> no rdoc either probably