apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
_GoodTimes has joined #ruby
sdegutis has joined #ruby
gruz0[russia] has joined #ruby
<sdegutis> Just announced my project: https://news.ycombinator.com/item?id=7871200
<benzrf> neato
binaryhat has quit [Read error: Connection reset by peer]
_GoodTimes has quit [Client Quit]
tyfighter has joined #ruby
_GoodTimes has joined #ruby
_GoodTimes has quit [Client Quit]
testcore has quit [Quit: BitchX: good to the last drop!]
_GoodTimes has joined #ruby
Takle has quit [Remote host closed the connection]
_GoodTimes has quit [Client Quit]
wjimenez52711 has quit [Quit: Leaving.]
_GoodTimes has joined #ruby
doodlehaus has joined #ruby
narcan has joined #ruby
axilla has joined #ruby
taybin has joined #ruby
danshultz has joined #ruby
narcan has quit [Client Quit]
_GoodTimes has quit [Client Quit]
jahrichie has joined #ruby
<jahrichie> about to ask a crappy question, so I'm sorry in advance.
<jahrichie> if for any reason someone was on some good sort of drugs, and wanted to allow CORS on ONE single controller action
GriffinHeart has joined #ruby
<jahrichie> would that be possible ?
ahofmann has quit [Quit: Computer has gone to sleep.]
<jahrichie> (in rails)
_GoodTimes has joined #ruby
toastynerd has joined #ruby
ahofmann has joined #ruby
snath has joined #ruby
wjimenez5271 has joined #ruby
axilla has quit [Ping timeout: 252 seconds]
<Boohbah> jahrichie: /join #RubyOnRails
<jahrichie> roger that
<jahrichie> thanks
<jahrichie> apologies!
Robbo` has left #ruby ["Leaving"]
Xeago has joined #ruby
oorst has joined #ruby
jtiggo has left #ruby [#ruby]
GriffinHeart has quit [Ping timeout: 276 seconds]
ahofmann has quit [Ping timeout: 252 seconds]
andrewjanssen has quit [Quit: Leaving...]
Guest47880 has quit [Changing host]
Guest47880 has joined #ruby
Guest47880 is now known as guyz
shinobi_one has quit [Quit: shinobi_one]
andrewjanssen has joined #ruby
bradhe has joined #ruby
sdouglas has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
sdouglas has joined #ruby
oorst has quit [Quit: oorst]
mightybyte has joined #ruby
pietr0 has quit [Quit: pietr0]
mightybyte has left #ruby [#ruby]
danshultz has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
danshultz has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
mary5030_ has quit [Remote host closed the connection]
gruz0[russia] has quit [Quit: Leaving]
bradhe has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 245 seconds]
cespare has joined #ruby
cespare has left #ruby ["WeeChat 0.4.1"]
toastynerd has joined #ruby
mijicd has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
superscott[8] has joined #ruby
Spami has joined #ruby
Vivekananda has quit [Ping timeout: 240 seconds]
oorst has joined #ruby
toastynerd has quit [Remote host closed the connection]
_GoodTimes has quit []
_GoodTimes has joined #ruby
doodlehaus has joined #ruby
Vivekananda has joined #ruby
taybin has quit [Quit: This computer has gone to sleep]
clov3r has quit [Remote host closed the connection]
clov3r has joined #ruby
<csmrfx> jahrichie: CORS is a server header, so if your rails app allows for per-response control of http response headers it is possible
Gil_ has joined #ruby
aantix has quit [Quit: aantix]
axilla has joined #ruby
Vivekananda has quit [Max SendQ exceeded]
zz_karupa is now known as karupa
Vivekananda has joined #ruby
oorst has quit [Quit: oorst]
Vivekananda has quit [Read error: Connection reset by peer]
stantona_ has joined #ruby
Vivekananda has joined #ruby
freerobby has quit [Quit: Leaving.]
clov3r has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
kenndel has joined #ruby
oorst has joined #ruby
Gil_ has quit [Ping timeout: 260 seconds]
stantona has quit [Ping timeout: 260 seconds]
toastynerd has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
<jahrichie> csmrfx: i tried it at an action level, and application level in my controller. Still getting No 'Access-Control-Allow-Origin' header is present on the requested resource…."
<jahrichie> i dont get it?
ddv has quit [Ping timeout: 245 seconds]
<jahrichie> i feel like i've used this in the past.
stantona_ has quit [Ping timeout: 240 seconds]
oorst has quit [Client Quit]
axilla has quit [Ping timeout: 252 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
oorst has joined #ruby
ahofmann has joined #ruby
_djbkd has quit [Remote host closed the connection]
ddv has joined #ruby
sailias has joined #ruby
oorst has quit [Client Quit]
kenneth has joined #ruby
Takle has quit [Ping timeout: 260 seconds]
cearls has quit [Ping timeout: 265 seconds]
linuxnewb2 has quit [Quit: Leaving]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrDoctor_ has quit [Remote host closed the connection]
cashnguns has joined #ruby
combusean has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
rezzack has quit [Quit: Leaving.]
sailias has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
oo_ has joined #ruby
Arkaniad has quit [Ping timeout: 265 seconds]
nyamx2 has joined #ruby
wjimenez5271 has quit [Quit: Leaving.]
axilla has joined #ruby
Arkaniad has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
hpoydar has quit [Remote host closed the connection]
graspee has quit [Quit: Leaving]
tyfighter has quit [Quit: tyfighter]
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
ta has quit [Ping timeout: 265 seconds]
toastynerd has quit [Remote host closed the connection]
ari-_-e has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
axilla has quit [Ping timeout: 276 seconds]
_justin has joined #ruby
axilla_ has joined #ruby
bmurt has joined #ruby
shanlar has quit [Ping timeout: 276 seconds]
shanlar has joined #ruby
oorst has joined #ruby
jahrichie has quit [Ping timeout: 252 seconds]
ra4king has quit [Remote host closed the connection]
CodeBunny has quit [Ping timeout: 276 seconds]
ta has joined #ruby
bmurt has quit [Client Quit]
newvegas has quit [Read error: Connection reset by peer]
trhodes_ has quit [Ping timeout: 264 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
axilla_ has quit [Ping timeout: 252 seconds]
phoo1234567 has quit [Remote host closed the connection]
jottr_ has joined #ruby
oorst has quit [Quit: oorst]
aspires has quit []
Kricir has quit [Remote host closed the connection]
mikepack_ has joined #ruby
charliesome has joined #ruby
bwilson has quit [Quit: bwilson]
ponga has quit []
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
ra4king has joined #ruby
oorst has joined #ruby
meinside has joined #ruby
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
mikepack has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 276 seconds]
mikepack_ has quit [Ping timeout: 240 seconds]
trhodes_ has joined #ruby
luisjose has quit [Quit: Leaving...]
olivier_bK has quit [Ping timeout: 265 seconds]
danshultz has quit [Ping timeout: 252 seconds]
_justin has quit [Quit: _justin]
oorst has quit [Quit: oorst]
newUser1234 has joined #ruby
tkuchiki has joined #ruby
reset has quit [Quit: Leaving...]
reset has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradhe has joined #ruby
Lucky_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
Gadgetoid has quit [Ping timeout: 260 seconds]
redondos has quit [Excess Flood]
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
superscott[8] has quit []
reset has quit [Ping timeout: 265 seconds]
bradhe has quit [Ping timeout: 265 seconds]
ra4king1 has joined #ruby
ra4king has quit [Ping timeout: 240 seconds]
troyready has quit [Ping timeout: 276 seconds]
ra4king has joined #ruby
Gadgetoid has joined #ruby
robustus has quit [Ping timeout: 252 seconds]
_justin has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
hpoydar has joined #ruby
robustus has joined #ruby
ra4king1 has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
doodlehaus has quit [Remote host closed the connection]
Kricir has joined #ruby
RyanV has joined #ruby
andrewjanssen has joined #ruby
ahofmann has quit [Quit: Computer has gone to sleep.]
andrewjanssen has quit [Client Quit]
hpoydar has quit [Ping timeout: 260 seconds]
freezey has joined #ruby
redlegion has joined #ruby
_justin has quit [Ping timeout: 252 seconds]
RyanV has quit [Client Quit]
amclain has joined #ruby
doodlehaus has joined #ruby
TheComrade has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 260 seconds]
Lwhite has quit [Ping timeout: 276 seconds]
hpoydar has joined #ruby
PanPan has joined #ruby
Gil_ has joined #ruby
kies has quit [Quit: baaaaiiiiiiiiiii~]
alexju has joined #ruby
Lucky_ has joined #ruby
mary5030 has joined #ruby
Gil_ has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
mary5030 has quit [Ping timeout: 276 seconds]
redlegion has quit [Read error: Connection reset by peer]
b1205 has quit [Ping timeout: 260 seconds]
Asher has joined #ruby
sdouglas has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
hpoydar has quit [Remote host closed the connection]
axilla_ has joined #ruby
hamakn has quit [Remote host closed the connection]
<shevy> test
<benzrf> h
sgen has joined #ruby
momomomomo has quit [Quit: momomomomo]
Zenigor has joined #ruby
Zenigor has quit [Remote host closed the connection]
ziyadb has quit [Quit: Connection closed for inactivity]
Zenigor has joined #ruby
tectonic has joined #ruby
JokesOnYou77 has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
resno has quit [Quit: leaving]
GriffinHeart has joined #ruby
Hanmac1 has joined #ruby
axilla_ has quit [Ping timeout: 265 seconds]
deric_skibotn has quit [Ping timeout: 260 seconds]
sdwrage_ has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
sdwrage_ has quit [Client Quit]
hamakn has joined #ruby
GriffinHeart has quit [Ping timeout: 252 seconds]
mikesplain has joined #ruby
Kricir has quit [Remote host closed the connection]
sdwrage has joined #ruby
doodlehaus has quit []
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
panga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
mikesplain has quit []
starfox_21 has quit [Quit: starfox_21]
bradhe has joined #ruby
axilla has joined #ruby
mikesplain has joined #ruby
kies has joined #ruby
amargherio has joined #ruby
<panga> hi
sdwrage has quit [Quit: This computer has gone to sleep]
Shidash has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
kies has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
wallerdev has joined #ruby
<ramblinpeck> hi all, metaprogramming question, how can I pass variables into "class << self" style metaprogramming, as seen here https://github.com/geekq/workflow/blob/master/test/multiple_workflows_test.rb
timgauthier has joined #ruby
<timgauthier> aloha
<benzrf> ramblinpeck: use self.singleton_class.class_eval
<benzrf> ramblinpeck: it takes a block, which is of course lexically scoped
<benzrf> there are probalby other ways too
charliesome_ has joined #ruby
KLVTZ has quit [Ping timeout: 260 seconds]
charliesome has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby
axilla has quit [Ping timeout: 260 seconds]
<ramblinpeck> benzrf: not sure I'm understanding exactly where to put that?
axilla has joined #ruby
radic has quit [Ping timeout: 260 seconds]
<benzrf> class << self -> singleton_class.class_eval do
<ramblinpeck> for the example I posted with the workflow gem, I want to conditionally add another state to the booking if it requires a review
larissa has joined #ruby
radic has joined #ruby
<ramblinpeck> Eg, Booking#review_required? then define additional states
stantona has joined #ruby
Cache_Money has joined #ruby
<benzrf> ramblinpeck: dont forget bout define_method
<benzrf> >> s = "foo"; s.define_method
<eval-in> benzrf => undefined method `define_method' for "foo":String (NoMethodError) ... (https://eval.in/160313)
<benzrf> >> s = "foo"; s.singleton_class.define_method
<eval-in> benzrf => private method `define_method' called for #<Class:#<String:0x407c64d4>> (NoMethodError) ... (https://eval.in/160314)
<benzrf> >> s = "foo"; s.singleton_class.send :define_method
<eval-in> benzrf => wrong number of arguments (0 for 1..2) (ArgumentError) ... (https://eval.in/160315)
<benzrf> =)
charliesome has joined #ruby
<benzrf> >> s = "foo"; s.singleton_class.send(:define_method, :wtf) {'cool!'}; s.wtf
<eval-in> benzrf => "cool!" (https://eval.in/160316)
taybin has joined #ruby
<ramblinpeck> let me put together a simplier example for my problem and see if I can figure it out or ask a better question :)
alexju has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
ner0x has joined #ruby
axilla has quit [Ping timeout: 276 seconds]
charliesome_ has quit [Ping timeout: 276 seconds]
axilla has joined #ruby
cashnguns has quit [Remote host closed the connection]
stantona has quit [Remote host closed the connection]
stantona has joined #ruby
Kricir has joined #ruby
Wolland has joined #ruby
MrDoctor has joined #ruby
Lwhite1 has joined #ruby
stantona has quit [Ping timeout: 276 seconds]
Tricon has joined #ruby
<ramblinpeck> benzrf: so I'm confused,I'm breaking inside the "class << self" of my Order instance, and seems the only thing in scope is the Order Class
andrewjanssen has joined #ruby
danshultz has joined #ruby
<ramblinpeck> I seem to be missing whatever the piece is that allows me to access methods on my Order instance that called it
<ramblinpeck> or how to pass variables in, since self now refers to the Class and not the instance
<benzrf> im tired sorry
<benzrf> cant focus on helpng u :i
<ramblinpeck> ok, no problem
<ari-_-e> ramblinpeck: post some code?
<ramblinpeck> ari-_-e: coming up
Spami has quit [Quit: This computer has gone to sleep]
danshult_ has joined #ruby
gcauchon has joined #ruby
senayar has quit [Remote host closed the connection]
djbkd has joined #ruby
<ramblinpeck> CommercialOrder inherits from Object, and the initialize_workflow dynamically defines states in the workflow state machine depending on whether its reviewable or not
sdouglas has quit [Remote host closed the connection]
HashNuke has quit [Quit: Connection closed for inactivity]
sdouglas has joined #ruby
danshultz has quit [Ping timeout: 252 seconds]
Hobogrammer has quit [Ping timeout: 260 seconds]
<ari-_-e> ramblinpeck: so what are you trying to do with the class << self?
<ari-_-e> hm
sdouglas_ has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
<ramblinpeck> ari-_-e: define the workflow, I realize its a bit convoluted, all the state machine gems I've found seem to dislike conditional states
sdouglas has quit [Read error: Connection reset by peer]
<ramblinpeck> and I'm attempting to avoid the problem of defining different classes for each workflow, which branches out rather quickly
<ramblinpeck> so attempting to define workflow on the instances, from this example: https://github.com/geekq/workflow/blob/master/test/multiple_workflows_test.rb
Channel6 has joined #ruby
<ramblinpeck> but the workflows are defined by the Class, so a bit confused about where I can pass parameters in, or get access to instance methods on the caller
tungd has joined #ruby
glenfern has joined #ruby
sdwrage has joined #ruby
gcauchon has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Kricir has quit [Remote host closed the connection]
_GoodTimes has quit [Ping timeout: 252 seconds]
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
skysploit has joined #ruby
stormbytes has joined #ruby
skysploit has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
Alina-malina has quit [Quit: Leaving]
combusean has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
scx has quit [Ping timeout: 276 seconds]
spicerack has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
scx has joined #ruby
stantona has joined #ruby
mikepack has quit [Remote host closed the connection]
mozzarella is now known as sam113101
sam113101 is now known as mozzarella
combusean has joined #ruby
Sawbones has joined #ruby
mercwithamouth has joined #ruby
bradhe has quit [Ping timeout: 276 seconds]
helpa has quit [Remote host closed the connection]
Radar has quit [Quit: ZNC - http://znc.in]
chipotle has joined #ruby
Radar has joined #ruby
braincrash has joined #ruby
Vivekananda has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
dc has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 260 seconds]
danshult_ has quit [Ping timeout: 252 seconds]
Zenigor has quit [Remote host closed the connection]
dik_dak has joined #ruby
dseitz has joined #ruby
stormbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
sgen has quit [Quit: Leaving]
dc has joined #ruby
gilest has joined #ruby
gilest has quit [Client Quit]
Beoran_ has quit [Ping timeout: 245 seconds]
aspires has joined #ruby
helpa has joined #ruby
freezey has quit [Remote host closed the connection]
ssut has joined #ruby
taybin has quit [Quit: This computer has gone to sleep]
MrDoctor has quit [Remote host closed the connection]
stantona has quit [Remote host closed the connection]
stantona has joined #ruby
papercode has quit [Quit: WeeChat 0.4.3]
KLVTZ has joined #ruby
benzrf is now known as benzrf|offline
r0bby has quit [Quit: Konversation terminated!]
zorak has quit [Read error: Connection reset by peer]
larissa has quit [Quit: Leaving]
Alina-malina has joined #ruby
jottr_ has joined #ruby
stantona has quit [Ping timeout: 260 seconds]
Beoran_ has joined #ruby
robbyoconnor has joined #ruby
Sawbones has quit [Remote host closed the connection]
Gil_ has joined #ruby
krz has joined #ruby
Sawbones has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
jottr_ has quit [Ping timeout: 245 seconds]
datafirm has joined #ruby
Sawbones has quit [Ping timeout: 252 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gil_ has quit [Ping timeout: 276 seconds]
xjiujiu has joined #ruby
datafirm has quit [Ping timeout: 240 seconds]
datafirm has joined #ruby
xjiujiu has quit [Client Quit]
emsilva has joined #ruby
bluOxigen has joined #ruby
GriffinHeart has joined #ruby
Bira_ has quit [Remote host closed the connection]
blueOxigen has joined #ruby
freerobby has quit [Quit: Leaving.]
bluOxigen has quit [Ping timeout: 276 seconds]
toastynerd has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
<KLVTZ> I'm trying to call require "file.rb" in my irb and it reports cannot load such file -- methods.rb from /home/justin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
<KLVTZ> How should I fix this?
<toretore> put the entire error message and stack trace on gist.github.com
b1205 has joined #ruby
<KLVTZ> toretore: fixed it
<arrubin> You almost certainly want require_relative.
<KLVTZ> toretore: path issue, require "./file.rb"
<arrubin> KLVTZ: Use require_relative instead.
<arrubin> Generally.
<arrubin> Although in IRB I could go either way.
<KLVTZ> arrubin: use require_relative? Would that be relative to my current location in directoty?
ukd1 has joined #ruby
<KLVTZ> *directory
<toretore> it's the same as ./file
<toretore> just better
<arrubin> When it is used in a Ruby program it is relative to the program.
<toretore> and don't use .rb with require
<toretore> require_relative 'file'
Shidash has joined #ruby
<arrubin> It seems that require_relative does not work in IRB.
<arrubin> So ignore that advice for IRB.
<KLVTZ> well i started using pry
<KLVTZ> does pry use require_relative?
<arrubin> Or maybe Rubinius is just wrong...
<KLVTZ> toretore: no file extension. Gotha!
zz_jrhorn424 is now known as jrhorn424
<arrubin> Worked fine in MRI.
datafirm has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
datafirm has joined #ruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
zkay11 has joined #ruby
hermanmunster has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
tyfighter has joined #ruby
helpa has joined #ruby
whyy has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
hermanmu_ has joined #ruby
datafirm has quit [Ping timeout: 265 seconds]
Kricir has joined #ruby
tyfighter has quit [Ping timeout: 252 seconds]
Takle has joined #ruby
aspires has quit []
toastynerd has quit [Remote host closed the connection]
steeve has joined #ruby
mikepack has quit [Remote host closed the connection]
DeadManGonzo has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
GriffinHeart has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
datafirm has joined #ruby
__class__ has quit [Read error: Connection reset by peer]
whyy has quit [Remote host closed the connection]
sdouglas_ has quit [Remote host closed the connection]
_class_ has joined #ruby
whyy has joined #ruby
jahrichie has joined #ruby
Burgestrand_ has joined #ruby
Gil_ has joined #ruby
_class_ is now known as __class__
toastynerd has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 260 seconds]
emsilva has quit [Quit: Keep Walking (Computer Slept!)]
havenwood has joined #ruby
ner0x has quit [Quit: Leaving]
spastorino has quit [Quit: Connection closed for inactivity]
Gil_ has quit [Ping timeout: 276 seconds]
havenwood has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
rhys has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
rhys has joined #ruby
rkazak_ has joined #ruby
xjiujiu has joined #ruby
<rkazak_> evening people.
stantona has joined #ruby
dc has quit [Remote host closed the connection]
Burgestrand_ has quit [Quit: Burgestrand_]
mikepack has joined #ruby
dc has joined #ruby
Burgestrand_ has joined #ruby
mikepack has quit [Remote host closed the connection]
mrnugget has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
codezomb has joined #ruby
ndrei has joined #ruby
sdouglas has joined #ruby
narendraj9 has joined #ruby
xrt has joined #ruby
anaeem1 has joined #ruby
ukd1 has quit [Quit: Leaving...]
niftylettuce_ has joined #ruby
Burgestrand_ has quit [Quit: Burgestrand_]
DeadManGonzo has left #ruby [#ruby]
tungd- has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
Deele has joined #ruby
tungd has quit [Ping timeout: 240 seconds]
Darryl has joined #ruby
mr_snowf1ake has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
xrt has quit [Quit: leaving]
stantona has quit [Remote host closed the connection]
datafirm has joined #ruby
bradhe has joined #ruby
LexicalScope has joined #ruby
mikesplain has joined #ruby
maestrojed has joined #ruby
<ramblinpeck> followup/somewhat related from my earlier question, is there a state machine gem that allows for conditional transitions? All seem to ignore a need for that
echevemaster has quit [Quit: Leaving]
b1205 has quit [Ping timeout: 265 seconds]
bradhe has quit [Ping timeout: 260 seconds]
katmandoo has quit [Ping timeout: 245 seconds]
Channel6 has quit [Quit: Leaving]
kies has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
dik_dak has quit [Quit: Leaving]
Kricir has joined #ruby
sdouglas has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
sdouglas has joined #ruby
aganov has joined #ruby
SCommette has joined #ruby
Kricir_ has joined #ruby
aspires has quit []
sdouglas has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
jrhorn424 is now known as zz_jrhorn424
Kricir_ has quit [Ping timeout: 240 seconds]
mr_snowf1ake has quit [Quit: Leaving]
amargherio has quit [Remote host closed the connection]
tobago has joined #ruby
ffranz has joined #ruby
JasmeetQA has joined #ruby
spicerack has quit [Quit: Textual IRC Client: www.textualapp.com]
jahrichie has quit [Quit: Leaving.]
Gil_ has joined #ruby
<RubyPanther> ramblinpeck: http://www.confreaks.com/videos/782-magrails2011-pattern-matching this goes into generally how people are doing that stuff
<ramblinpeck> RubyPanther: thanks, will watch now
djbkd has quit [Remote host closed the connection]
i_s has joined #ruby
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimbauds has joined #ruby
Lucky_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gil_ has quit [Ping timeout: 240 seconds]
Lucky_ has joined #ruby
combusean has quit [Quit: Leaving.]
djbkd has joined #ruby
garndt has quit [Quit: Connection closed for inactivity]
newUser1234 has quit [Remote host closed the connection]
kireevco has joined #ruby
newUser1234 has joined #ruby
kenneth has joined #ruby
saarinen has joined #ruby
SCommette has quit [Quit: SCommette]
ta has quit [Remote host closed the connection]
yfeldblum has joined #ruby
amclain has quit [Quit: Leaving]
zoidfarb has joined #ruby
zoidfarb has left #ruby [#ruby]
kies has quit [Remote host closed the connection]
charliesome_ has joined #ruby
whyy has joined #ruby
why_away has joined #ruby
Soliah has joined #ruby
kies has joined #ruby
heftig has quit [Quit: Quitting]
charliesome has quit [Ping timeout: 245 seconds]
dc has quit [Remote host closed the connection]
mehlah_ has joined #ruby
mehlah has quit [Read error: No route to host]
tagrudev has joined #ruby
whyy has quit [Ping timeout: 260 seconds]
combusean has joined #ruby
alem0lars has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
sdouglas has joined #ruby
Hanmac1 has quit [Ping timeout: 276 seconds]
ari-_-e has quit [Read error: Connection reset by peer]
dc has joined #ruby
newUser1234 has quit [Remote host closed the connection]
alem0lars has quit [Quit: Going AFK...]
sdouglas has quit [Remote host closed the connection]
ta has joined #ruby
Bira has joined #ruby
Kricir has joined #ruby
zkay11 has quit [Quit: Leaving.]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
apeiros has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 260 seconds]
dangerousdave has joined #ruby
whyy has joined #ruby
mrnugget has quit [Quit: mrnugget]
why_away has quit [Ping timeout: 260 seconds]
Lwhite1 has quit [Ping timeout: 257 seconds]
Wolland has quit [Remote host closed the connection]
relix has joined #ruby
__JokerDoom has joined #ruby
chrishough has joined #ruby
ari-_-e has joined #ruby
_JokerDoom has quit [Ping timeout: 260 seconds]
jhulten has quit [Ping timeout: 276 seconds]
jhulten has joined #ruby
ktun has joined #ruby
blizzow has quit [Quit: Leaving.]
tungd- has quit [Read error: Connection reset by peer]
i_s has quit [Quit: i_s]
blizzow has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Kricir has quit [Remote host closed the connection]
alem0lars has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
boboc has joined #ruby
boboc has quit [Client Quit]
boboc has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
claymore has joined #ruby
n_b has quit [Ping timeout: 245 seconds]
why_away has joined #ruby
jhulten has quit [Remote host closed the connection]
jhulten has joined #ruby
shvelo has joined #ruby
whyy has quit [Ping timeout: 252 seconds]
bean has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Remote host closed the connection]
timonv has joined #ruby
DouweM has quit [Ping timeout: 265 seconds]
boboc has quit [Ping timeout: 240 seconds]
jhulten has quit [Ping timeout: 260 seconds]
ffranz has quit [Ping timeout: 260 seconds]
Macaveli has joined #ruby
ta has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
steeve has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 252 seconds]
steeve has joined #ruby
KLVTZ has quit [Ping timeout: 252 seconds]
IceDragon has quit [Quit: Space~~~]
apeiros has joined #ruby
kiri has joined #ruby
whyy has joined #ruby
n_b has joined #ruby
ta has joined #ruby
klaut has joined #ruby
sdwrage has joined #ruby
why_away has quit [Ping timeout: 245 seconds]
alem0lars has quit [Quit: Going AFK...]
Kricir has joined #ruby
phansch has joined #ruby
senayar has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
bradhe has joined #ruby
diegoviola has joined #ruby
why_away has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
blueOxigen has quit [Ping timeout: 265 seconds]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrnugget has joined #ruby
timonv has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 265 seconds]
tesuji has joined #ruby
jprovazn has joined #ruby
GriffinHeart has joined #ruby
timonv has joined #ruby
alem0lars has joined #ruby
cina has joined #ruby
glenfern is now known as glenfe
shvelo has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
akonny has joined #ruby
oo_ has joined #ruby
yeticry has quit [Quit: leaving]
Takle has joined #ruby
sdwrage_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
bean has joined #ruby
GriffinHeart has joined #ruby
combusean has quit [Quit: Leaving.]
cina has quit [Ping timeout: 260 seconds]
jezen has joined #ruby
dc has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
ephemerian has joined #ruby
sdwrage has quit [Ping timeout: 252 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kyb3r_ has quit [Read error: Connection reset by peer]
GriffinHeart has quit [Ping timeout: 245 seconds]
JasmeetQA has quit [Quit: Leaving.]
Arkaniad has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
Wolland has joined #ruby
sinkensabe has quit [Remote host closed the connection]
anarang has joined #ruby
jhulten has joined #ruby
why_away has quit [Remote host closed the connection]
chipotle has quit [Quit: cya]
whyy has joined #ruby
zigomir has joined #ruby
Wolland has quit [Ping timeout: 252 seconds]
noop has joined #ruby
djbkd has quit [Remote host closed the connection]
The_NetZ has joined #ruby
<The_NetZ> hey. so what is it about irb that makes it have that nice prompt?
Mattx has quit [Ping timeout: 245 seconds]
jhulten has quit [Ping timeout: 265 seconds]
tessi_zz is now known as tessi
kenneth__ has joined #ruby
comma8 has joined #ruby
mrnugget has quit [Quit: mrnugget]
jackneill has joined #ruby
<timgauthier> OMGERRRRRDD
<timgauthier> DER DIVIERRSION
sk87 has joined #ruby
<timgauthier> sorry /video game interlude
schaary|afk is now known as schaary
ta has quit [Remote host closed the connection]
LexicalScope has quit [Ping timeout: 260 seconds]
chipotle has joined #ruby
boris has joined #ruby
why_away has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
Mattx has joined #ruby
Mattx has joined #ruby
Mattx has quit [Changing host]
whyy has quit [Ping timeout: 276 seconds]
KLVTZ has joined #ruby
papercode has joined #ruby
<apeiros> The_NetZ: awesome_print maybe?
<The_NetZ> apeiros: wondering why when I launch irb.bat I get it but not when I use irb(the pure ruby script)
dc has joined #ruby
Morkel has joined #ruby
GriffinHeart has joined #ruby
<apeiros> The_NetZ: read irb.bat then and see what it does differently.
scx_ has joined #ruby
helpa has quit [Remote host closed the connection]
Xeago has joined #ruby
akonny has quit [Quit: akonny]
dc has quit [Ping timeout: 240 seconds]
scx has quit [Ping timeout: 260 seconds]
helpa has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
sinkensabe has joined #ruby
datafirm has joined #ruby
andikr has joined #ruby
mijicd has joined #ruby
<The_NetZ> apeiros: will do, but as far as i can tell its just a little bit of batch witchery with 'irb' embedded right into it.
dc has joined #ruby
Wolland has joined #ruby
dc has quit [Remote host closed the connection]
dc has joined #ruby
* The_NetZ has very little experience with batch files, prefers bash a thousandfold
klaut has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
tectonic has quit []
vinleod has joined #ruby
helpa has joined #ruby
senayar has quit [Remote host closed the connection]
scx_ has quit [Ping timeout: 276 seconds]
datafirm has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
sinkensabe has quit [Ping timeout: 260 seconds]
Wolland has quit [Ping timeout: 245 seconds]
sdwrage_ has quit [Quit: This computer has gone to sleep]
railzForDaiz has joined #ruby
kireevco has quit [Quit: Leaving.]
Macaveli is now known as Macaveli|BRB
bradhe has quit [Ping timeout: 265 seconds]
ta has joined #ruby
lxsameer has joined #ruby
kenneth__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
narendraj9 has quit [Quit: Connection closed for inactivity]
klaut has joined #ruby
ecksit has joined #ruby
Macaveli|BRB is now known as Macaveli
Xeago has quit [Ping timeout: 252 seconds]
Takle has quit [Remote host closed the connection]
circ-user-mmQTg has joined #ruby
adac has joined #ruby
Darryl has quit [Quit: Connection closed for inactivity]
<adac> Creating a gem, do I have to define the version numbers of the gems I include within the Gemspec file? It seems that when I do not do that I do get in trouble
BizarreCake has joined #ruby
olivier_bK has joined #ruby
rdark has joined #ruby
Xeago has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
KLVTZ has quit [Ping timeout: 265 seconds]
davedev24_ has quit [Remote host closed the connection]
<apeiros> adac: gemspec.version = "0.0.1"
tvw has joined #ruby
<apeiros> and yes, version is a required attribute in the gemspec. read the gemspec docs: http://guides.rubygems.org/specification-reference/
<The_NetZ> apeiros: I can't see any difference; I even ran a diff against the entire irb folder in the load pathc.
<adac> apeiros, Sorry I think I was not that precise with my question. I was curious about the gems that I include in the Gemspecs
<adac> ok thanks
onewheelskyward has left #ruby ["Textual IRC Client: www.textualapp.com"]
<apeiros> adac: I don't know what you mean by that. how do you include gems in the gemspec?
<apeiros> adac: also "I do get in trouble" isn't a usable problem description
<apeiros> The_NetZ: I don't have windows, so can't help there.
<The_NetZ> its just a minor irritation, but an irritation nonthless :P
j_mcnally has quit [Ping timeout: 252 seconds]
<adac> apeiros, Well I have gems included as dependencies in the .gemspec file of my gem. So the question was if they need explicitly to be set to a version.
hermanmu_ has quit [Remote host closed the connection]
bluOxigen has joined #ruby
<apeiros> adac: no. but it's a good idea to specify a version. preferably with ~>.
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chrishough has quit [Quit: chrishough]
elaptics`away is now known as elaptics
<adac> apeiros, I did not specify the version for a cetrain gem (aws-sdk) and then a weird error appeard when I used this gem in one of my applications. So I thought maybe versioning within the gems is required. I will now try to set a version with ~> as you suggested and then it should work again
<adac> thanks!
sdouglas has joined #ruby
<apeiros> adac: "a weird error" isn't any better a problem description than "run into trouble".
<adac> this was the error: Could not find aws-sdk-1.40.2 in any of the sources
juco has quit [Read error: Connection reset by peer]
<adac> apeiros, ^^
Darryl has joined #ruby
<apeiros> means it resolved aws-sdk to version 1.40.2 and couldn't install that. given that I don't see it listed only, the only confusing thing is as to where it has that version number from.
davedev24_ has joined #ruby
<apeiros> ah, wait, I see it. I looked at 1.42, not 1.40
Wolland has joined #ruby
<circ-user-mmQTg> Why does ruby have a sort_by method for hashes? Aren't hashes, by definition unordered?
<apeiros> in that case, the only odd thing is why it failed to load it. you can try installing it manually. if that fails, you can debug that issue.
doev has joined #ruby
<apeiros> circ-user-mmQTg: rubys hashes have order since 1.9
<apeiros> circ-user-mmQTg: also sort_by is Enumerable#sort_by which returns an array anyway.
sdouglas has quit [Ping timeout: 240 seconds]
<apeiros> same for #sort
<adac> apeiros, it works as soon as I set the version number within my gem. Then installing the gem + the aws dependency is just working fine
<apeiros> voodoo debugging. fine. not my project :)
charliesome_ has quit [Read error: Connection reset by peer]
<circ-user-mmQTg> apeiros: Thanks for the info!
circ-user-mmQTg has quit [Remote host closed the connection]
charliesome has joined #ruby
charliesome has quit [Client Quit]
banister has joined #ruby
sinkensabe has joined #ruby
ninegrid has quit [Ping timeout: 245 seconds]
Wolland has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
<adac> apeiros, Well it should have installed the newsest versionwhen there was no version number set within the gem. Which didn't happen, instead I got the error above. For unkown reasons I can resolve it with setting the version number of aws within my gem.
steeve has quit [Remote host closed the connection]
elabs-developer has joined #ruby
<adac> Since it is better to set a version number via ~> anyways, I will just do that ;-)
elabs-developer has left #ruby [#ruby]
Takle has joined #ruby
Joulse has joined #ruby
nfk has joined #ruby
juco has joined #ruby
timonv has quit [Remote host closed the connection]
marr has joined #ruby
qba73 has joined #ruby
spider-mario has joined #ruby
mikecmpbll has joined #ruby
why_away has quit [Remote host closed the connection]
whyy has joined #ruby
MrDoctor has joined #ruby
klaut has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 265 seconds]
Takle has quit [Remote host closed the connection]
andrewlio has joined #ruby
Takle has joined #ruby
Rahul_Roy has joined #ruby
alex88 has joined #ruby
jpierre03 has quit [Read error: Connection reset by peer]
whyy has quit [Ping timeout: 240 seconds]
heftig has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
jpierre03 has joined #ruby
steeve has joined #ruby
Takle has joined #ruby
RubyPanther has quit [Ping timeout: 276 seconds]
bradhe has joined #ruby
Azulinho has joined #ruby
bluOxigen has joined #ruby
<apeiros> bah, finding names for projects is really hard :(
forcefsck has joined #ruby
Takle_ has quit [Ping timeout: 252 seconds]
Rails_noob has joined #ruby
dc has quit [Remote host closed the connection]
weems has quit [Changing host]
weems has joined #ruby
Rails_noob has quit [Client Quit]
bluOxigen has quit [Read error: No route to host]
lkba has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 265 seconds]
The_NetZ has quit [Quit: Leaving]
bluOxigen has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
Takle has quit [Read error: Connection reset by peer]
JasmeetQA has joined #ruby
Takle has joined #ruby
Shidash has quit [Ping timeout: 265 seconds]
michael_lee has joined #ruby
mordof_work1 has joined #ruby
Burgestrand_ has joined #ruby
Burgestrand_ has left #ruby [#ruby]
mordof_work has quit [Ping timeout: 265 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
RubyPanther has joined #ruby
scx has joined #ruby
saarinen has quit [Quit: saarinen]
scx has quit [Ping timeout: 252 seconds]
ninegrid has joined #ruby
ecksit has quit [Quit: Computer has gone to sleep.]
mijicd has quit [Remote host closed the connection]
mijicd has joined #ruby
AlSquire has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
drager has quit [Changing host]
drager has joined #ruby
scx has joined #ruby
ayaz has joined #ruby
jpierre03 has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
timonv has joined #ruby
mercerist has joined #ruby
decoponio has joined #ruby
Wolland has joined #ruby
jpierre03 has joined #ruby
timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
whyy has joined #ruby
klaut has joined #ruby
e-jambon has joined #ruby
oo_ has quit [Remote host closed the connection]
jhulten has joined #ruby
Wolland has quit [Ping timeout: 252 seconds]
e-jambon has quit [Client Quit]
e-jambon has joined #ruby
Takle has quit [Ping timeout: 276 seconds]
rkazak_ has quit [Quit: rkazak_]
jhulten has quit [Ping timeout: 252 seconds]
poguez_ has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Quit: leaving]
workmad3 has joined #ruby
badhatter has quit [Remote host closed the connection]
lkba has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
bradhe has joined #ruby
oo_ has joined #ruby
alem0lars has quit [Quit: alem0lars]
shvelo has joined #ruby
alem0lars has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
MrDoctor has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 260 seconds]
sski has joined #ruby
charliesome has joined #ruby
postmodern has quit [Quit: Leaving]
dc has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
obs_ has joined #ruby
Atttwww has quit [Ping timeout: 245 seconds]
dc has quit [Ping timeout: 260 seconds]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
klaut has quit []
badhatter has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
klaut has quit [Remote host closed the connection]
akonny has joined #ruby
klaut has joined #ruby
scx_ has joined #ruby
klaut has quit [Remote host closed the connection]
scx has quit [Ping timeout: 260 seconds]
klaut has joined #ruby
Joulse has quit [Quit: Joulse]
Takle has joined #ruby
MrDoctor has joined #ruby
chipotle has quit [Quit: cya]
e-jambon has left #ruby [#ruby]
e_jambon_ has joined #ruby
shvelo has quit [Ping timeout: 260 seconds]
Mattx has quit [Ping timeout: 265 seconds]
hgl has quit [Ping timeout: 260 seconds]
klaut has quit []
e_jambon_ has quit [Client Quit]
elaptics is now known as elaptics`away
e-jambon has joined #ruby
shenk` has quit [Ping timeout: 252 seconds]
e-jambon has left #ruby [#ruby]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
klaut has joined #ruby
e-jambon has joined #ruby
shenk has quit [Ping timeout: 276 seconds]
Hanmac has quit [Quit: Leaving.]
alem0lars has quit [Quit: alem0lars]
dANOKELOFF has joined #ruby
alem0lars has joined #ruby
Mattx has joined #ruby
Wolland has joined #ruby
Joulse has joined #ruby
ctp has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby
Doppp has quit [Quit: leaving]
Wolland has quit [Ping timeout: 276 seconds]
Doppp has joined #ruby
shenk has joined #ruby
alem0lars has quit [Quit: Going AFK...]
bradhe has joined #ruby
doev has quit [Ping timeout: 240 seconds]
akonny has quit [Quit: akonny]
Xeago has quit [Remote host closed the connection]
ktun has joined #ruby
Xeago has joined #ruby
bradhe has quit [Ping timeout: 276 seconds]
shredding has joined #ruby
niftylettuce_ has quit [Quit: Connection closed for inactivity]
Advocation has joined #ruby
timonv has quit [Remote host closed the connection]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0.1/20140506152807]]
panga has quit [Remote host closed the connection]
oorst has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
doev has joined #ruby
JasmeetQA has joined #ruby
mengu has joined #ruby
shredding has quit [Quit: shredding]
dc has joined #ruby
Bira has joined #ruby
ponga has quit [Ping timeout: 260 seconds]
dc has quit [Ping timeout: 260 seconds]
Bira has quit [Ping timeout: 260 seconds]
morinap has joined #ruby
sinkensabe has joined #ruby
yfeldblum has quit [Remote host closed the connection]
blueOxigen has joined #ruby
oorst has quit [Quit: oorst]
Takle has quit [Remote host closed the connection]
marr has quit []
bluOxigen has quit [Ping timeout: 265 seconds]
oorst has joined #ruby
claymore has quit [Quit: Leaving]
ponga has joined #ruby
bluOxigen has joined #ruby
blueOxigen has quit [Ping timeout: 260 seconds]
oorst has quit [Client Quit]
dblessing has joined #ruby
dANOKELOFF has quit [Remote host closed the connection]
dangerou_ has quit [Read error: Connection reset by peer]
Takle has joined #ruby
mrnugget has joined #ruby
dangerousdave has joined #ruby
oorst has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
blueOxigen has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
mostlybadfly has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
boboc has joined #ruby
dEPy has joined #ruby
karupa is now known as zz_karupa
sinkensabe has quit [Ping timeout: 265 seconds]
dangerou_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
whyy has quit [Remote host closed the connection]
garndt has joined #ruby
whyy has joined #ruby
jhass|off is now known as jhass
elaptics`away is now known as elaptics
blueOxigen has quit [Ping timeout: 276 seconds]
rdark has quit [Ping timeout: 260 seconds]
sinkensabe has joined #ruby
Joulse has quit [Quit: Joulse]
lkba has quit [Read error: Connection reset by peer]
AndChat| has joined #ruby
rdark has joined #ruby
Xeago_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CJD14__ has quit [Ping timeout: 252 seconds]
Norrin has quit [Ping timeout: 252 seconds]
antonishen has quit [Read error: Connection reset by peer]
lectrick has quit [Read error: Network is unreachable]
gruz0[russia] has joined #ruby
whyy has quit [Ping timeout: 245 seconds]
lectrick has joined #ruby
antonishen has joined #ruby
CJD14__ has joined #ruby
maximski has joined #ruby
l3kn has quit [Ping timeout: 252 seconds]
davedev24_ has quit [Remote host closed the connection]
banister has joined #ruby
G has quit [Ping timeout: 252 seconds]
tessi has quit [Ping timeout: 252 seconds]
davedev24_ has joined #ruby
Wolland has joined #ruby
G has joined #ruby
dinoex has quit [Read error: Network is unreachable]
Xeago has quit [Ping timeout: 265 seconds]
dinoex has joined #ruby
kunday has joined #ruby
boboc has quit []
kunday has quit [Client Quit]
mijicd has quit [Remote host closed the connection]
<lxsameer> hey guys, Is it possible to find out that class A included module B or not ?
whyy has joined #ruby
<apeiros> lxsameer: A < B
<apeiros> >> Array < Enumerable
<eval-in> apeiros => true (https://eval.in/160444)
jhulten has joined #ruby
<lxsameer> apeiros: thanks
l3kn has joined #ruby
tessi has joined #ruby
davedev24_ has quit [Ping timeout: 265 seconds]
Wolland has quit [Ping timeout: 260 seconds]
tessi has quit [Changing host]
tessi has joined #ruby
bradhe has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kiri has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has joined #ruby
yfeldblum has joined #ruby
eka has joined #ruby
doev has quit [Ping timeout: 240 seconds]
anarang has quit [Quit: Leaving]
jhulten has quit [Ping timeout: 245 seconds]
anarang has joined #ruby
alem0lars has joined #ruby
doev has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
yfeldblu_ has joined #ruby
<lxsameer> apeiros: is there something like "A.subclasses" for included modules for example "B.included" or something ?
oorst has quit [Quit: oorst]
yfeldblum has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
dilated_dinosaur has quit [Ping timeout: 276 seconds]
<Mon_Ouie> Look at the ancestors that are modules
yfeldblu_ has quit [Ping timeout: 245 seconds]
Norrin has joined #ruby
<banister> lxsameer not unless u keep track of it yourself
hermanmunster has joined #ruby
<Mon_Ouie> (Keep in mind a module is more like a superclass than a subclass, although methods would be looked up in the module itself before the class if you use #prepend)
<Mon_Ouie> Oh actually there is just that…
<Mon_Ouie> Module#included_modules
<banister> Mon_Ouie i heard that you dislike #prepend, is that true? you find it a confusing addition to the ruby object model and think it breaks a number of assumptions
dangerou_ has quit [Read error: Connection reset by peer]
dANOKELOFF has joined #ruby
dangerousdave has joined #ruby
<banister> Mon_Ouie but that's the other way round isn't it? doesn't he want to find which modules/classes include a given module? not which modules a given class/module include
mercerist has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> Oh, that would make more sense then
<apeiros> lxsameer: for debugging, you can use ObjectSpace.each_object(A.singleton_class)
<apeiros> but should not use this in production
maximski has quit []
<apeiros> since when did #included_modules happen? o0
<lxsameer> thanks guys
<apeiros> 19>> Array.included_modules.size
<eval-in> apeiros => 2 (https://eval.in/160445)
<apeiros> 18>> Array.included_modules.size
<eval-in> apeiros => 2 (https://eval.in/160446)
<apeiros> whaaaaat?
nemesit|znc has quit [Read error: Connection reset by peer]
<banister> apeiros have you read the magician's nephew by c.s lewis?
<apeiros> how did I not know about that?
<apeiros> banister: nope
jottr_ has joined #ruby
<banister> apeiros there's a boy sleeping under a tree in the wood between the world's, a girl arrives from a pool (coming from another world herself) and asks the boy how long he's been there, he replies "always". But she knows that he just came up from a pool himself. I guess he just felt like he'd been there forever
<apeiros> o0
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> I guess I've always been in this channel and used ruby…
jds has joined #ruby
doev has quit [Remote host closed the connection]
<Mon_Ouie> Well it wasn't in 1.0, so there's that. It may even have been added only in 1.9 and backported in 1.8.7.
ndrei has joined #ruby
ndrei has quit [Read error: Connection reset by peer]
lewix has joined #ruby
<Burgestrand> >>Array.method(:included_modules).owner
<eval-in> Burgestrand => Module (https://eval.in/160448)
<Burgestrand> D:
yfeldblum has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
dilated_dinosaur has joined #ruby
jottr has joined #ruby
dc has joined #ruby
mehlah_ is now known as mehlah
RaCx has joined #ruby
oorst has joined #ruby
railzForDaiz has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
AlexRussia has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
oorst has quit [Client Quit]
dc has quit [Ping timeout: 260 seconds]
oorst has joined #ruby
Joulse has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
danshultz has joined #ruby
nemesit|znc has joined #ruby
oorst has quit [Client Quit]
banister has joined #ruby
tkuchiki_ has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
RaCx has quit [Quit: Computer has gone to sleep.]
banister has joined #ruby
oorst has joined #ruby
tkuchiki has quit [Ping timeout: 265 seconds]
tkuchiki_ has quit [Ping timeout: 265 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
phoo1234567 has joined #ruby
ldnunes has joined #ruby
lewix has quit [Ping timeout: 252 seconds]
JasmeetQA has quit [Quit: Leaving.]
JasmeetQA has joined #ruby
ayaz has quit [Ping timeout: 252 seconds]
alem0lars has quit [Quit: Going AFK...]
dANOKELOFF has quit [Remote host closed the connection]
queequeg1 has quit [Ping timeout: 245 seconds]
queequeg1 has joined #ruby
oorst has quit [Quit: oorst]
mrnugget has quit [Ping timeout: 240 seconds]
BizarreCake has quit [Ping timeout: 276 seconds]
mrnugget has joined #ruby
railzForDaiz has joined #ruby
Macaveli has quit [Quit: Leaving]
Macaveli has joined #ruby
dANOKELOFF has joined #ruby
mercerist has joined #ruby
chipotle has joined #ruby
alem0lars has joined #ruby
chipotle has quit [Client Quit]
chipotle has joined #ruby
tkuchiki has joined #ruby
chipotle has quit [Client Quit]
chipotle has joined #ruby
lewix has joined #ruby
lewix has joined #ruby
lewix has quit [Changing host]
chipotle has quit [Client Quit]
chipotle has joined #ruby
chipotle has quit [Client Quit]
<tagrudev> certainty, ping
sdouglas has joined #ruby
chipotle has joined #ruby
newUser1234 has joined #ruby
Wolland has joined #ruby
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
DrCode has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
dwayhs has joined #ruby
chipotle has quit [Client Quit]
DrCode has joined #ruby
havenwood has joined #ruby
chipotle has joined #ruby
tungd has joined #ruby
phutchins has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zarubin has quit []
chipotle has quit [Client Quit]
Xeago_ has quit [Remote host closed the connection]
<sdegutis> Created a new minimalist tool to configure and deploy to EC2 servers: http://sdegutis.github.io/2014/06/09/announcing-management/
chipotle has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
mehlah has quit [Quit: Leaving...]
Xeago has joined #ruby
Wolland has quit [Ping timeout: 245 seconds]
chipotle has quit [Client Quit]
chipotle has joined #ruby
thesheff17 has quit [Ping timeout: 245 seconds]
Azulinho has quit [Ping timeout: 245 seconds]
chipotle has quit [Client Quit]
rdark has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
Azulinho has joined #ruby
emsilva has joined #ruby
Bhu has joined #ruby
<Bhu> someone who helps me with the gem devise?
<lolmaus> What is the shortest way to iterate through filenames of files in given dir, excluding '.' and '..'?
chipotle has quit [Client Quit]
rdark has joined #ruby
<mozzarella> Dir['*']
<jhass> bhu: #rubyonrails probably has more experience with that
bluenemo has joined #ruby
<Bhu> thank you
mercerist has quit [Quit: Computer has gone to sleep.]
<apeiros> note that Dir.glob is the same as Dir[], but accepts a block
<apeiros> (so don't do `Dir[…].each do`, do `Dir.glob(…) do`)
banister has joined #ruby
oo_ has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
mark_locklear has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
p8952 has quit [Ping timeout: 276 seconds]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
sk87 has joined #ruby
whyy has quit [Remote host closed the connection]
dEPy has joined #ruby
ohwhoa has joined #ruby
ohwhoa has quit [Client Quit]
mordof_work1 is now known as mordof
benzrf|offline is now known as benzrf
kiri has joined #ruby
cocotton has joined #ruby
yfeldblum has joined #ruby
maximski has joined #ruby
lxsameer has quit [Quit: Leaving]
<MrDoctor> If I have a singleton class can I instantiate distinct objects of it in a program in any manner?
vpretzel has joined #ruby
<lectrick> Can someone elucidate for me when I should use Delegate and when I should use Forwardable?
<banister> damr no
bw__ has quit [Ping timeout: 276 seconds]
<lectrick> lolmaus: Dir[] I think
<benzrf> h
<lectrick> I mean what apeiros said. #slowreader
shvelo has joined #ruby
<lolmaus> lectrick: it gives absolute paths, i only need filenames
danshultz has quit [Read error: Connection reset by peer]
_GoodTimes has joined #ruby
danshultz has joined #ruby
<lectrick> Hey apeiros, if you had an answer to my delegate/forwardable question just now...
<benzrf> lectrick: it looks like delegator is for when you need to wrap an object but provide the same interface
<benzrf> lectrick: while forwardable is for reducing boilerplate like 'def size; @foo.size; end'
<lectrick> benzrf: And Forwardable is mainly to just forward some specific methods?
<benzrf> yep
<benzrf> if you arent doing fancy metaprogramming you probably want Forwardable
<lectrick> Delegate is to delegate all methods, so it probably does a method_missing?
<benzrf> yep
Takle has quit [Remote host closed the connection]
<lectrick> So are those the use cases? Use Delegate for delegating everything and Forwardable for specific API subset?
<canton7> lolmaus, run them through File.basename ?
yfeldblum has quit [Ping timeout: 252 seconds]
meinside has quit [Quit: Connection closed for inactivity]
mehlah has joined #ruby
<lolmaus> canton7: yeah, i just thought there's a quicker way. Thx.
<lectrick> benzrf: I want an object that wraps another object and logs all calls to it while passing them all along
<benzrf> lectrick: delegator
JasmeetQA has quit [Read error: Connection reset by peer]
n_b has quit [Ping timeout: 276 seconds]
<lectrick> yeah, thought so. anyone know of a good example of use?
<banister> lectrick proxy
<lectrick> banister: is that a gem?
<banister> lectrick no
<lectrick> Net::HTTP::Proxy ?
<banister> lul
<lectrick> :)
<apeiros> lectrick: hm?
<apeiros> ah, Delegate vs. Forwardable
jhass is now known as jhass|off
<lectrick> boom that's it banister. thanks
<lectrick> apeiros: yeah. also banister simply mentioned "proxy" and I figured it out (so far)
p8952 has joined #ruby
sdouglas has joined #ruby
<apeiros> I think benzrf gave a good answer
whyy has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
freerobby has joined #ruby
n_b has joined #ruby
sdouglas has quit [Remote host closed the connection]
maximski_ has joined #ruby
sdouglas has joined #ruby
maximski has quit [Read error: Connection reset by peer]
maximski_ has quit [Client Quit]
robertodecurnex has joined #ruby
tiguser has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
alem0lars has quit [Quit: Going AFK...]
vpretzel has quit [Remote host closed the connection]
sdouglas has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
vpretzel has joined #ruby
sdouglas has joined #ruby
tiguser has joined #ruby
p8952 has quit [Quit: Leaving]
<lectrick> yeah i am running with it. thanks folks, as usual
paulfm has joined #ruby
<lectrick> in unrelated news, i pick up a new tesla model S in about an hour
oorst has joined #ruby
<apeiros> you bought one?
<lectrick> yep
<apeiros> nice
<lectrick> :)
* apeiros doesn't even own a car
<lectrick> i respect that :)
joostshao has joined #ruby
<lectrick> i used to live in manhattan
<apeiros> I should finally get my license, though :-/
<lectrick> i love driving, honestly
<apeiros> I'm not looking forward to it. so many people drive like assholes :-{
adac has quit [Ping timeout: 265 seconds]
<lectrick> yep, this I can confirm
<joostshao> hi
<lectrick> biggest pet peeve is lack of blinker use
stantona has joined #ruby
<apeiros> biggest pet peeve (observation only): insufficient distance.
joostshao has left #ruby [#ruby]
<lectrick> yeah. like those guys who weave through traffic, no blinkers, leaving no room for error... assholes
<apeiros> sorry, but no, you can't brake properly with only ~2m distance to the next care when driving ~80km/h
<shvelo> why the hell was I using IRB all the time, PRY for life
<lectrick> shvelo: welcome to the PRY club
<railzForDaiz> pry so complicated
Bhu has left #ruby [#ruby]
cocotton has quit [Remote host closed the connection]
<shvelo> pry stronk
<railzForDaiz> any good tutorials for pry
<apeiros> o0
<lectrick> i think the goal is to have a good enough unit test suite that you won't need pry much :)
<apeiros> railzForDaiz: just type your ruby code and hit enter
<shvelo> type, enter, repeat
<lectrick> there's a pry screencast somewhere, although it's probably out of date now
<lectrick> props to banister for the pry work (again)
<shvelo> I like how you can ls
<MrDoctor> Is there a way to wrap singleton classes into a normal classes so that we can create two distinct instances of the singleton class, with different values for it's instance variables?
<apeiros> MrDoctor: no
<apeiros> singleton classes are called singleton classes precisely because there can only be one instance
<lectrick> it wouldn't be a singleton class then. it would be a (wait for it...) gemini class
<apeiros> MrDoctor: what problem do you want to solve that way anyway?
<lectrick> hmmm, a gemini class would be fun to build
<lectrick> because they would have to know about each other
<apeiros> MrDoctor: I bet you that you're trying to use the wrong tool for the job and that ruby has something appropriate.
<lectrick> MrDoctor: I would agree w/apeiros with the grain of salt that MAYBE you are actually trying to do something very special :)
<shevy> 34°C
<shevy> it's too hot
<lectrick> 72F, rainy and humid as hell here in cloudy Long Beach. Long Island
<banister> railzForDaiz what do you find complicated?
<apeiros> MrDoctor: also, if you instantiate a class twice - you get two singleton classes, each with their own set of ivars, attached to the objects you just created ;-)
<shevy> well there is no rain here, only sun sun sun
sdouglas has quit [Remote host closed the connection]
<lectrick> shevy: where is here? I lived in california for 4 years and got tired of constant sun. Rain is good sometimes to break things up a bit
cocotton has joined #ruby
<shvelo> I can haz pry inside irb
cocotton has quit [Remote host closed the connection]
<shevy> lectrick central europe
cocotton has joined #ruby
why_away has joined #ruby
<shevy> lectrick I had to check what 72F means; now about 22°C, that would be soooo comfortable
mrnugget has quit [Quit: mrnugget]
workmad3 is now known as wm3|away
<MrDoctor> I am building on a rails app, and I have to use a ruby REST api to fetch some data. The rest API's require login credentials. Now, if I have two different users, I want to use the API to query data from their respective accounts. The problem is that since the rest API defines singleton classes, I can do it only for one user at a time.
<shevy> I also have to leave here soon and be out under the hot sun for at least an hour :(
<MrDoctor> How could I circumvent the issue?
anaeem1_ has quit [Remote host closed the connection]
sdouglas_ has joined #ruby
<apeiros> MrDoctor: you hit the author with a club and tell him not to abuse the singleton pattern
sambao21 has joined #ruby
<apeiros> that's what I mean when I usually tell people that they want multiton with default, not singleton, when they ask about singleton pattern for things like db connections…
tesuji has quit [Ping timeout: 260 seconds]
<lectrick> shvelo: obligatory "yo dawg, heard you like REPLs, so I put a pry in your irb so you can debug while you debug"
<shvelo> why do we even need singleton classes in Ruby
<lectrick> shevy: lol at having to look up 72F
bmurt has joined #ruby
luisjose has joined #ruby
<lectrick> I should have honestly remembered it was 22C
<MrDoctor> Creating different processes for distinct users can do the job, but I wanted to use resque jobs
<lectrick> 72F -> 22C is the most common conversion
whyy has quit [Ping timeout: 265 seconds]
<bmurt> i'd think 32F -> 0C would be
<lectrick> shevy: re: hot sun: Don't forget your sun protection (my mom has skin cancer now, was a sun worshiper in her youth)
<shevy> we should all just measure in Kelvin
<bmurt> ill pass
<shevy> then hotness becomes relative to absolute coldness
<apeiros> MrDoctor: you could try to dup the class. might very well not work.
<bmurt> shevy: where's our boy from yesterday?
<bmurt> did deployee win?!
<shevy> lectrick well I can't think of problems in 20 years when I have problems right now! but I think once I am out on the streets it'll get better, right now I don't move and it's getting unbearable
<shevy> bmurt no, he calls it "management"
<lectrick> we should move 0C to 22C so that 0C is "most comfortable human temperature", that way anything below is "cold" and anything above is "hot"
<shevy> the most boring name ever to pick for a project
<bmurt> that's even worse
<shevy> I can't be friends with him any longer
<bmurt> agreed
<bmurt> that's even less descriptive
<lectrick> naming is hard
<shevy> I always favoured your choice bmurt
<shvelo> can someone explain what's the difference between singleton classes and modules?
<shevy> but even the name his wife picked for him he rejected
<shevy> he shouldn't get to name the kids either
<MrDoctor> There should be a non-linear temperature scale, with 0 as 22 C. Giving one a fair idea how sultry or chilly it is
luksaur has joined #ruby
<lectrick> shevy: a class is a singleton in that there is only ever 1 instance of it, and because it's an Object, it's an instance of Object, therefore it is also a singleton
<banister> shvelo they're not even similar :)
<lectrick> shvelo: I autocompleted the wrong name, sorry shevy
<lectrick> shvelo: a module is a bunch of code that can't be instantiated, you have to mix it in to a class to use it (unless you define methods at the module level, but I digress)
krz has quit [Quit: WeeChat 0.4.3]
<shevy> haha
<shevy> shvelo my IRC nick brother!
<shvelo> ahoy shev
<shvelo> shevy,
<shevy> if we get shlevy from #nixos we'd be "The Great Three"
<shvelo> my client autocompletes sheepman
yalue has joined #ruby
<shevy> sheepman lol
<shevy> hahaha
<shevy> benzrf, you have new competition
<sheepman> who what where?
cnj has joined #ruby
<lectrick> shimilarity
<shevy> sheepman just people miscompleting to your nick :)
<shevy> you can go back idling with your sheeps in safety now
<sheepman> ah! :)
<shevy> oops *sheep
<sheepman> will do! ta
<sheepman> i prefer sheepies but ok :D
<shevy> hehe
Rahul_Roy has quit [Quit: Connection closed for inactivity]
<apeiros> sheepless in seattle
taybin has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
<sheepman> no one should be sheepless
ra4king1 has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
mercerist has joined #ruby
Wolland has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
<shvelo> I was trying to renew my domain for a year but they charged me for 2 years :D dang
wm3|away is now known as workmad3
jheg has joined #ruby
davedev24_ has joined #ruby
<jheg> o/
<jheg> afternoon all depending on where you are
ra4king has quit [Ping timeout: 276 seconds]
jcarouth has quit [Excess Flood]
jhulten has joined #ruby
<jheg> in ruby docs I'm looking at some methods and there seem to be various characters preceeding each method
<jheg> for exampl :: or #
Wolland has quit [Ping timeout: 260 seconds]
<jheg> what do they mean?
<apeiros> :: means class method, # is instance mehtod
<apeiros> only in documentation. you invoke both with a . (dot)
<jheg> apeiros, thanks I havent yet got my head around classes
<apeiros> they're just objects which can create new objects :)
jottr has joined #ruby
<apeiros> (and define those new objects' behaviors)
cephalostrum has quit [Ping timeout: 255 seconds]
<jheg> apeiros, thanks again :)
doodlehaus has joined #ruby
<jheg> Just at the early stages of learning and the most difficult thing is catergorising in my head what/where each thing is
Sawbones has joined #ruby
jhulten has quit [Ping timeout: 260 seconds]
akonny has joined #ruby
<jheg> so I often ask a question and then answers creates my q's than it answered lol
noop has quit [Ping timeout: 260 seconds]
<jheg> it it slowly clicking
<jheg> anyway, thanks for the explanations
cephalostrum has joined #ruby
mengu has quit [Remote host closed the connection]
<sdegutis> if you don't mind can you upvote this? https://news.ycombinator.com/item?id=7871200
<sdegutis> it's for my first real Ruby project
freerobby has quit [Quit: Leaving.]
<MrDoctor> Does resque queue jobs as separate processes ?
cearls has joined #ruby
katmandoo has joined #ruby
alexju has joined #ruby
oorst has quit [Quit: oorst]
moritzs has joined #ruby
steeve has quit [Remote host closed the connection]
danshult_ has joined #ruby
yfeldblum has joined #ruby
tkuchiki has quit [Remote host closed the connection]
RaCx has joined #ruby
xaxisx has joined #ruby
michaelchum has joined #ruby
treehug88 has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
christianmoretti has joined #ruby
renatosuero has joined #ruby
duggiefresh has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 245 seconds]
danshult_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
danshultz has joined #ruby
benzrf is now known as benzrf|offline
<renatosuero> \list
mary5030 has joined #ruby
Ankhers has joined #ruby
thesheff17 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
jerius has joined #ruby
ponga has quit [Read error: Connection reset by peer]
renatosuero has quit []
dilated_dinosaur has quit [Ping timeout: 245 seconds]
ta has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
sski has quit [Remote host closed the connection]
tier has joined #ruby
danshultz has quit [Ping timeout: 276 seconds]
dangerousdave has joined #ruby
sski has joined #ruby
stantona has quit [Remote host closed the connection]
bw_ has joined #ruby
benzrf|offline is now known as benzrf
akonny has quit [Quit: akonny]
renatosuero has joined #ruby
Channel6 has joined #ruby
timonv has joined #ruby
benzrf is now known as benzrf|offline
andrewhl has joined #ruby
renatosuero has left #ruby [#ruby]
dc has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
sski has quit [Ping timeout: 260 seconds]
luisjose has quit [Read error: No route to host]
djcp has joined #ruby
Emmanuel_Chanel has joined #ruby
SBoolean has joined #ruby
Takle has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
graspee has joined #ruby
<certainty> tagrudev: pong
BizarreCake has joined #ruby
dc has quit [Ping timeout: 265 seconds]
Kruppe has quit [Quit: ZNC - http://znc.in]
apipkin has left #ruby [#ruby]
snath has quit [Ping timeout: 276 seconds]
thesheff17 has quit [Quit: Leaving]
christianmoretti is now known as christianmrtt
kevind has joined #ruby
mercerist has joined #ruby
jahrichie has joined #ruby
mengu has joined #ruby
renatosuero has joined #ruby
stantona has joined #ruby
oo_ has joined #ruby
sski has joined #ruby
luksaur has quit [Ping timeout: 260 seconds]
steeve has joined #ruby
jobewan has joined #ruby
sinkensabe has quit [Remote host closed the connection]
ryanleesipes has joined #ruby
sinkensabe has joined #ruby
MrDoctor has quit [Remote host closed the connection]
MrDoctor has joined #ruby
ta has joined #ruby
Takle has joined #ruby
renatosuero has quit []
rhys has quit [Read error: Connection reset by peer]
Kruppe has joined #ruby
Zenigor has joined #ruby
renatosuero has joined #ruby
havenwood has quit [Remote host closed the connection]
rhys has joined #ruby
sinkensabe has quit [Ping timeout: 276 seconds]
timonv has quit [Remote host closed the connection]
sdouglas_ has quit [Remote host closed the connection]
sdouglas has joined #ruby
MrDoctor has quit [Read error: No route to host]
christianmrtt has quit []
MrDoctor has joined #ruby
christianmoretti has joined #ruby
christianmoretti has quit [Client Quit]
mikesplain has joined #ruby
renatosuero has left #ruby [#ruby]
christianmrtt has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
ringarin has joined #ruby
dilated_dinosaur has joined #ruby
Advocation has quit [Ping timeout: 245 seconds]
xaxisx has quit [Quit: xaxisx]
dc has joined #ruby
Emmanuel_Chanel has joined #ruby
stantona has quit [Remote host closed the connection]
zarubin has joined #ruby
xaxisx has joined #ruby
stantona has joined #ruby
beef-wellington has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
onewheelskyward has joined #ruby
Channel6 has quit [Quit: Leaving]
NukePuppy has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stantona has quit [Ping timeout: 260 seconds]
amargherio has joined #ruby
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti> Hi
qwyeth has joined #ruby
Wolland has joined #ruby
jrhe has joined #ruby
beef-wellington has quit [Ping timeout: 265 seconds]
ari-_-e has quit [Quit: Leaving]
sinkensabe has joined #ruby
<GeorgesLeYeti> If i have a = "Hello STOP world STOP" and b = "Hello STOP world " and i make split('STOP') the result will be the same but how could i rebuild a and b ?
sdwrage has joined #ruby
benzrf|offline is now known as benzrf
<apeiros> GeorgesLeYeti: you lose information. you can't.
stevesmename has quit [Quit: Leaving]
<GeorgesLeYeti> apeiros: ok
<apeiros> either you need a different result so it includes the information about the trailing stop, or you can't rebuilt them identically to what they started out as.
andikr has quit [Remote host closed the connection]
<apeiros> you can force split to include the empty string in the result by passing -1, then you have a different result which when you join it is identical to what you started out with:
Wolland has quit [Ping timeout: 260 seconds]
dc has quit [Remote host closed the connection]
<apeiros> >> "Hello STOP world STOP".split('STOP', -1).join('STOP')
<eval-in> apeiros => "Hello STOP world STOP" (https://eval.in/160549)
Uranio-235 has joined #ruby
<apeiros> >> "Hello STOP world STOP".split('STOP', -1)
<eval-in> apeiros => ["Hello ", " world ", ""] (https://eval.in/160551)
<apeiros> >> "Hello STOP world".split('STOP', -1)
<eval-in> apeiros => ["Hello ", " world"] (https://eval.in/160552)
jonahR has joined #ruby
<GeorgesLeYeti> ty
mradmacher has joined #ruby
Sawbones_ has joined #ruby
mijicd has joined #ruby
exgf has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )]
jonahR_ has joined #ruby
why_away has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
dilated_dinosaur has quit [Ping timeout: 240 seconds]
tungd has quit [Remote host closed the connection]
exgf has joined #ruby
yfeldblum has joined #ruby
Sawbones has quit [Ping timeout: 252 seconds]
Hanmac1 has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
jonahR has quit [Ping timeout: 276 seconds]
linojon has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
chipotle has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
Czupa has joined #ruby
ta has quit [Ping timeout: 276 seconds]
cocotton has joined #ruby
lemur has joined #ruby
tobago has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 260 seconds]
hamakn has quit [Remote host closed the connection]
badhatter has quit [Quit: leaving]
hpoydar has joined #ruby
lemur has quit [Read error: Connection reset by peer]
beef-wellington has joined #ruby
lemur has joined #ruby
luksaur has joined #ruby
Uranio-235 has left #ruby [#ruby]
ta has joined #ruby
vifino has joined #ruby
snath has joined #ruby
pietr0 has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
udoprog has joined #ruby
kpshek has joined #ruby
mengu has quit []
badhatter has joined #ruby
bluenemo has quit [Remote host closed the connection]
sailias has joined #ruby
phinfonet has joined #ruby
<udoprog> Hey, is it possible to specify another ruby prefix at runtime? So a ruby compiled with the PREFIX /opt/ruby could be run from /opt/ruby2? My investigations so far seem to indicate that the prefix is compiled in and not overrideable at runtime.
apeiros has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
dilated_dinosaur has joined #ruby
robbyoconnor has joined #ruby
Bira has joined #ruby
jonahR has joined #ruby
ta has quit [Ping timeout: 260 seconds]
ta has joined #ruby
SCommette has joined #ruby
jonahR_ has quit [Ping timeout: 252 seconds]
mikesplain has quit [Ping timeout: 260 seconds]
SCommette has quit [Client Quit]
_GoodTimes has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cya]
SCommette has joined #ruby
<bmurt> udoprog: couldn't you just do /opt/ruby2 cool_stuff.rb
ta has quit [Ping timeout: 252 seconds]
Zenigor has quit [Remote host closed the connection]
jprovazn has quit [Quit: Leaving]
lemur has quit [Read error: Connection reset by peer]
lemur has joined #ruby
timonv has joined #ruby
benzrf is now known as benzrf|offline
cHarNe2 has quit [Ping timeout: 276 seconds]
SBoolean has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
rmillerx_ has joined #ruby
Mohd__ has joined #ruby
toastynerd has joined #ruby
SBoolean has joined #ruby
steeve has quit [Ping timeout: 260 seconds]
<Mohd__> hey guys. I am looking to for a way to match words in quotes. I have the regex: /(["'])(?:\\\1|.)*?\1/
rkazak has joined #ruby
xaxisx has quit [Quit: xaxisx]
<Mohd__> how do I use it? if I do math() I get MatchData. I want an array of the matched strings
arrubin has joined #ruby
mikespla_ has joined #ruby
toastynerd has quit [Remote host closed the connection]
ringarin has quit [Quit: Leaving]
thesheff17 has joined #ruby
xaxisx has joined #ruby
bradhe has joined #ruby
rmillerx_ has quit [Remote host closed the connection]
mikepack has joined #ruby
hpoydar has quit [Remote host closed the connection]
ta has joined #ruby
tkuchiki has joined #ruby
aganov has quit [Quit: Leaving]
Zenigor has joined #ruby
hamakn has joined #ruby
havenwood has joined #ruby
Morkel has joined #ruby
blizzow has quit [Quit: Leaving.]
cnj_ has joined #ruby
cnj_ is now known as Guest45713
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bradhe has quit [Ping timeout: 265 seconds]
ta has quit [Read error: Connection reset by peer]
mijicd has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
Vivekananda has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
anarang has quit [Quit: Leaving]
Guest45713 has quit [Client Quit]
christianmrtt has quit []
mikesplain has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
mikespla_ has quit [Ping timeout: 260 seconds]
christianmrtt has joined #ruby
Takle has quit [Remote host closed the connection]
mikesplain has quit [Read error: Connection reset by peer]
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
Burgestrand has quit [Quit: Burgestrand]
tagrudev has quit [Remote host closed the connection]
mikesplain has joined #ruby
zigomir has quit [Remote host closed the connection]
mikesplain has quit [Max SendQ exceeded]
mikesplain has joined #ruby
zigomir has joined #ruby
zigomir has quit [Remote host closed the connection]
gigetoo has quit [Remote host closed the connection]
mikesplain has quit [Max SendQ exceeded]
zigomir has joined #ruby
Xeago has quit [Ping timeout: 265 seconds]
sski has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
gigetoo has joined #ruby
steeve has joined #ruby
sski has joined #ruby
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
crelix has joined #ruby
mikesplain has joined #ruby
brunops has joined #ruby
zz_karupa is now known as karupa
crelix has quit [Client Quit]
hpoydar has joined #ruby
IceDragon has joined #ruby
sdouglas has joined #ruby
cocotton has quit [Remote host closed the connection]
shvelo is now known as dolan
Takle has joined #ruby
mikespla_ has joined #ruby
cocotton has joined #ruby
sski has quit [Ping timeout: 245 seconds]
cocotton has quit [Remote host closed the connection]
Wolland has joined #ruby
beef-wellington has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
olivier_bK has quit [Remote host closed the connection]
cocotton has joined #ruby
tier has joined #ruby
geggam has joined #ruby
karupa is now known as zz_karupa
RaCx has joined #ruby
apeiros has joined #ruby
mikesplain has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
ffranz has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
nyamx2 has quit [Remote host closed the connection]
jhulten has joined #ruby
mikesplain has joined #ruby
ahofmann has joined #ruby
claymore has joined #ruby
mikespl__ has joined #ruby
mikespl__ has quit [Max SendQ exceeded]
Steve21 has joined #ruby
momomomomo has quit [Quit: momomomomo]
hermanmunster has quit [Remote host closed the connection]
<shevy> Mohd__ MatchData objects respond to [] calls
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mikesplain has quit [Read error: Connection reset by peer]
mikespl__ has joined #ruby
mikespl__ has quit [Max SendQ exceeded]
toastynerd has joined #ruby
mikespla_ has quit [Ping timeout: 276 seconds]
clov3r has joined #ruby
mikesplain has joined #ruby
Wolland has quit [Ping timeout: 265 seconds]
danshultz has joined #ruby
mikesplain has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 252 seconds]
pusewicz__ is now known as pusewicz
mikesplain has joined #ruby
Takle has quit [Remote host closed the connection]
mikesplain has quit [Max SendQ exceeded]
acrussell has joined #ruby
<shevy> consider this
<shevy> >> "abcdefghi".match(/(bc.+)h/)[1]
<eval-in> shevy => "bcdefg" (https://eval.in/160608)
<shevy> >> "abcdefghi".match(/(bc.+)h/).class
<eval-in> shevy => MatchData (https://eval.in/160609)
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
<shevy> udoprog I think this can work if you compiled ruby via --enable-load-relative
jhulten has quit [Ping timeout: 265 seconds]
endash has joined #ruby
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
kpshek has quit []
<bmurt> how would oyu guys recommend parsing a YAML file to be used as a config file for a cli script
mikesplain has joined #ruby
krz has joined #ruby
<shevy> YAML.load_file()
<shevy> :>
mikesplain has quit [Max SendQ exceeded]
<bmurt> i came across a link on apidock that that was deprecated
<apeiros> ^ +1
sinkensabe has quit [Remote host closed the connection]
<apeiros> that's not deprecated
rat_thing has joined #ruby
mikesplain has joined #ruby
<bmurt> ahh, deprecated or moved
<shevy> well
sinkensabe has joined #ruby
mikesplain has quit [Max SendQ exceeded]
<shevy> apidock sure looks fancy
christianmrtt has quit []
cearls has quit [Remote host closed the connection]
<shevy> huh
<apeiros> bmurt: probably documentation bug on apidock's part. it has been moved to Psych. but it's transparently delegated from YAML.
mikesplain has joined #ruby
cearls has joined #ruby
<bmurt> ok
mikesplain has quit [Max SendQ exceeded]
maestrojed has joined #ruby
b1205 has joined #ruby
mikesplain has joined #ruby
yiati has joined #ruby
yiati has left #ruby [#ruby]
Spami has joined #ruby
Takle has joined #ruby
sk87 has joined #ruby
b00stfr3ak has joined #ruby
enebo has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
xjiujiu has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 260 seconds]
mikesplain has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
cearls has quit [Ping timeout: 252 seconds]
mikesplain has joined #ruby
cearls_ has joined #ruby
echevemaster has joined #ruby
toastynerd has quit [Remote host closed the connection]
hpoydar has quit [Remote host closed the connection]
george2 has quit [Quit: No Ping reply in 180 seconds.]
Kruppe has quit [Quit: ZNC - http://znc.in]
RaCx has quit [Quit: Computer has gone to sleep.]
george2 has joined #ruby
jottr has joined #ruby
Steve21 has quit [Quit: Steve21]
hpoydar has joined #ruby
phantasm66 has joined #ruby
<bmurt> shevy: apeiros: how would you guys format the yml config file to be populated?
<bmurt> obviously in yaml standard formatting
<certainty> banister: i remember you were talking about your company deploying SOA at bigger scale. How do you manage the development, test complexity that may arise from that. Do you ever make fully integrated tests that run against test setups of your APIs? This surely increases with each new API.
<bmurt> but do ya'll have a quick link handy?
<certainty> i should probably have added a ? :)
<shevy> bmurt what data does it store? usually I go for hash
<shevy> if the dataset is much simpler then an array will suffice
<shevy> so
<shevy> foo:
DefV has quit [Ping timeout: 240 seconds]
<shevy> bla: ble
vt102 has quit [Quit: Leaving]
<bmurt> basically, username, passwd, smtp server, etc
<shevy> blu: blo
<shevy> or
<shevy> - yippie
<shevy> - yappie
<shevy> k
<shevy> sounds 100% like a hash then
<shevy> you can even store symbols in yaml :)
klaut has quit [Remote host closed the connection]
<benzrf> YAML is kinda like to python as json is to js
<benzrf> IMHO
adantj has joined #ruby
<workmad3> benzrf: how about cson? :)
<benzrf> cson?
hermanmunster has joined #ruby
<benzrf> oh
<benzrf> cool beans eh
<benzrf> why not lson ;()
<benzrf> * ;)
jottr has quit [Ping timeout: 260 seconds]
sinkensabe has joined #ruby
<apeiros> bmurt: god damit, don't call it yml. what are you using? DOS 3.1?
<bmurt> so you said you like yml?
<workmad3> apeiros: wat? you mean I can name files in something other than 8.3 format? :/
ra4king1 is now known as ra4king
<benzrf> YAML = YAML Ain't Markup Language
<benzrf> good ol recursive acronyms :-)
<bmurt> yeah, yml is nice
<bmurt> :_
<apeiros> idiot
<bmurt> lol
<bmurt> don't be so sensitive, nerd
Fire-Dragon-DoL has joined #ruby
* workmad3 anticipates an at-hat moment looming
rat_thing has quit [Ping timeout: 260 seconds]
<benzrf> at-hat?
<workmad3> benzrf: @apeiros...
ahofmann has quit [Quit: Computer has gone to sleep.]
<apeiros> workmad3: no. my fault. I insulted. if, then I'd had to kick myself.
apeiros was kicked from #ruby by apeiros [no insults tolerated. srsly.]
<certainty> nerd as a pejorative term?
apeiros has joined #ruby
<workmad3> certainty: I know... in a programming room...
mikespla_ has joined #ruby
<apeiros> there. justice :)
graft has quit [Ping timeout: 252 seconds]
mradmacher has quit [Ping timeout: 252 seconds]
<bmurt> you should also kick yourself for getting all hype
tungd has joined #ruby
danshultz has quit [Remote host closed the connection]
<apeiros> bmurt: it's stupid to use yml.
<bmurt> it is just yml after all
<workmad3> bmurt: no, it's yaml
mikespla_ has quit [Max SendQ exceeded]
<bmurt> lol
sski has joined #ruby
danshultz has joined #ruby
* bmurt watches the blood pressure increase in the chan
timonv has quit [Remote host closed the connection]
<apeiros> bmurt: but I guess you use htm, ham, sas, les etc. too
<bmurt> and yep
<bmurt> and yea
pothibo has joined #ruby
<bmurt> and wow
<apeiros> bmurt: anyway, while I kicked myself because I was clearly off, I have no problems kicking you too :-p
<wmoxam> bmurt: please stop using DOS
<wmoxam> k, thx
<bmurt> lol
<bmurt> that's cool apeiros
<bmurt> irc 4 lyfe
<workmad3> wmoxam: <3 8.3 filenames...
mradmacher has joined #ruby
<workmad3> wmoxam: I don't get why we ever gave them up :P
djcp has left #ruby ["WeeChat 0.4.3"]
mikesplain has quit [Ping timeout: 265 seconds]
<shevy> wow
Kruppe has joined #ruby
<shevy> apeiros kicked apeiros
beef-wellington has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<apeiros> shevy: yeah. rules apply :(
<wmoxam> c:/Docume~1
MrDoctor has quit [Remote host closed the connection]
<workmad3> apeiros: you should have banned yourself for an hour :P
sinkensabe has joined #ruby
<shevy> wmoxam WINDOWS USER!!!! BURN HIM!!!!!!!
<workmad3> wmoxam: wtf is that '/'?
tkuchiki has quit [Remote host closed the connection]
Joulse has quit [Quit: Joulse]
<apeiros> workmad3: no. I only ban people when they come back and act like jerks.
<shevy> workmad3 the beauty character
<workmad3> wmoxam: don't you mean 'C:\Docume~1' ?
<apeiros> workmad3: or if they think it was super clever to come into my pm and insult me there.
<wmoxam> workmad3: whoops, wrong slash
<workmad3> wmoxam: n00b :P
<shevy> let's all use middle slashes -
<apeiros> otherwise, a first offender only gets a kick.
subraminion has joined #ruby
<workmad3> apeiros: :D
<wmoxam> workmad3: I haven't used Windows seriously in 8 years O_o
<adantj> wmoxam, I use it for games :(
<apeiros> wmoxam: sensible
<shevy> why did json win over yaml for the www?
<rkazak> Hmm, windows in 8 years and now they make windows8 for you!
<workmad3> wmoxam: and you think I have? :)
<apeiros> adantj: yeah, same here. it's the game dashboard. nothing else.
<wmoxam> adantj: I use it to test IE
ehc has joined #ruby
<wmoxam> workmad3: lolz
mikesplain has joined #ruby
<adantj> most expensive console ever :(
<workmad3> oh wait... crap... I used it 5 years ago at my last job...
<rkazak> jason + java…
<wmoxam> adantj: Steam box
<wmoxam> ;)
BizarreCake has quit [Quit: Leaving]
sski has quit [Ping timeout: 260 seconds]
danshultz has quit [Ping timeout: 252 seconds]
karmatr0n has joined #ruby
<adantj> wmoxam, yeah I still cant justify the cost :(
sinkensabe has quit [Read error: No route to host]
timonv has joined #ruby
sinkensabe has joined #ruby
<wmoxam> adantj: I've been gaming on Ubuntu recently
<wmoxam> it's alright, got enough selection to fill my limited time for gaming
kiri has quit [Remote host closed the connection]
mikespla_ has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<workmad3> I've got a gaming desktop... had some decent desktops at work, so I 'borrowed' one :)
phansch has quit [Quit: WeeChat 0.4.3]
Kricir has joined #ruby
<workmad3> that's got windows 7 on it... and for the past couple of weeks, it's been probably the most over-powered plants vs zombies box around...
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
mikesplain has joined #ruby
sinkensabe has quit [Remote host closed the connection]
phansch has joined #ruby
sinkensabe has joined #ruby
mikespl__ has joined #ruby
mikespl__ has quit [Max SendQ exceeded]
mikespl__ has joined #ruby
bradhe has joined #ruby
mikespla_ has quit [Read error: Connection reset by peer]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
mikespl__ has quit [Read error: Connection reset by peer]
stantona has joined #ruby
mikespla_ has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
brunops has quit [Changing host]
brunops has joined #ruby
pietr0 has quit [Quit: pietr0]
zigomir has quit [Remote host closed the connection]
Wolland has joined #ruby
sinkensabe has quit [Ping timeout: 252 seconds]
vt102 has joined #ruby
bluOxigen has joined #ruby
timonv has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
stantona has quit [Read error: No route to host]
cearls_ has quit [Remote host closed the connection]
stantona has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
cearls has joined #ruby
klaut has joined #ruby
zigomir has joined #ruby
jottr has joined #ruby
mehlah has quit [Quit: Leaving...]
stantona has quit [Read error: No route to host]
stantona has joined #ruby
olivier_bK has joined #ruby
schaary is now known as schaary|afk
spastorino has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
luisjose has joined #ruby
dANOKELOFF has quit []
dangerousdave has joined #ruby
Ankhers has joined #ruby
slacko60671 has joined #ruby
Steve21 has joined #ruby
GriffinHeart has joined #ruby
cearls has quit [Ping timeout: 245 seconds]
toastynerd has joined #ruby
GeoLeYeti has joined #ruby
failshell has joined #ruby
Steve21 has quit [Client Quit]
jottr has quit [Ping timeout: 265 seconds]
mark_locklear has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
GeorgesLeYeti has quit [Ping timeout: 260 seconds]
ahofmann has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
SCommette has quit [Quit: SCommette]
railzForDaiz has quit [Ping timeout: 260 seconds]
pietr0 has joined #ruby
timonv has quit [Remote host closed the connection]
mark_locklear has joined #ruby
shredding has joined #ruby
qba73 has quit [Remote host closed the connection]
tungd has quit [Ping timeout: 260 seconds]
andrewlio has quit [Remote host closed the connection]
jespada has joined #ruby
cocotton has quit [Remote host closed the connection]
SCommette has joined #ruby
wallerdev has joined #ruby
jheg has quit [Quit: Leaving]
Takle has joined #ruby
rippa has joined #ruby
mikespla_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clov3r has quit []
SBoolean has quit [Remote host closed the connection]
SBoolean has joined #ruby
troyready has joined #ruby
kevind has quit [Ping timeout: 265 seconds]
aspires has joined #ruby
vpretzel_ has joined #ruby
combusean has joined #ruby
rkazak has quit [Quit: rkazak]
zz_jrhorn424 is now known as jrhorn424
Ankhers has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
Ankhers has joined #ruby
AndChat| has quit [Ping timeout: 260 seconds]
RaCx has joined #ruby
kevind has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
Ankhers has quit [Remote host closed the connection]
kpshek has joined #ruby
railzForDaiz has joined #ruby
zigomir has quit [Remote host closed the connection]
Ankhers has joined #ruby
i_s has joined #ruby
b1205 has quit [Ping timeout: 260 seconds]
carraroj has joined #ruby
b1205 has joined #ruby
vpretzel has quit [Ping timeout: 260 seconds]
benzrf is now known as benzrf|offline
tessi is now known as tessi_zz
combusean has quit [Client Quit]
_GoodTimes has joined #ruby
Burgestrand has joined #ruby
aspires has quit []
zigomir has joined #ruby
workmad3 is now known as wm3|away
aspires has joined #ruby
mikesplain has joined #ruby
SCommette has quit [Quit: SCommette]
kireevco has joined #ruby
timonv has joined #ruby
CodeBunny has joined #ruby
nowthatsamatt has joined #ruby
treehug8_ has joined #ruby
SCommette has joined #ruby
sambao21 has joined #ruby
SubSignal has joined #ruby
cearls has joined #ruby
treehug88 has quit [Ping timeout: 260 seconds]
mercwithamouth has joined #ruby
zigomir has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.3]
rdark has quit [Ping timeout: 260 seconds]
redondos has quit [Excess Flood]
mikesplain has quit [Read error: Connection reset by peer]
mikesplain has joined #ruby
rdark has joined #ruby
redondos has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
beef-wellington has quit [Ping timeout: 276 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
aspires has quit []
sambao21 has joined #ruby
cearls has quit []
pietr0_ has joined #ruby
ixti has joined #ruby
Lucky_ has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
Lucky_ has joined #ruby
lkba has joined #ruby
pietr0 has quit [Ping timeout: 276 seconds]
pietr0_ is now known as pietr0
momomomomo has quit [Quit: momomomomo]
Takle has quit [Remote host closed the connection]
luisjose has quit [Quit: Leaving...]
djbkd has joined #ruby
sinkensabe has joined #ruby
andrewhl has quit [Quit: andrewhl]
aspires has joined #ruby
rkazak has joined #ruby
jrhorn424 is now known as zz_jrhorn424
blinkdesign has joined #ruby
IceDragon has quit [Ping timeout: 265 seconds]
IceDragon has joined #ruby
zz_jrhorn424 is now known as jrhorn424
subraminion has quit [Quit: Computer has gone to sleep.]
pietr0 has quit [Ping timeout: 240 seconds]
luisjose has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
railzForDaiz has quit [Ping timeout: 265 seconds]
ylluminate has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 276 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
wm3|away is now known as workmad3
dangerousdave has joined #ruby
hpoydar has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 245 seconds]
beef-wellington has joined #ruby
IceDragon has joined #ruby
enebo has quit [Quit: enebo]
RaCx_ has joined #ruby
jeregrine has joined #ruby
mercerist has joined #ruby
RaCx has quit [Ping timeout: 260 seconds]
RaCx_ is now known as RaCx
hpoydar has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
wjimenez5271 has joined #ruby
alex88 has quit [Quit: Leaving...]
blinkdesign has quit [Remote host closed the connection]
Takle has joined #ruby
benzrf|offline is now known as benzrf
railzForDaiz has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
nyamx2 has joined #ruby
RaCx has joined #ruby
bradhe has quit [Ping timeout: 260 seconds]
rdark has quit [Ping timeout: 252 seconds]
sdouglas has quit [Remote host closed the connection]
rdark has joined #ruby
<shevy> is there a simple way to bundle all dependencies of any given project just by doing something like: "package foo" where foo is a remote gem?
<benzrf> shevy: no
<apeiros> define 'bundle all dependencies'
<apeiros> sounds like you either want a) gem (gemspec can contain dependencies) or b) bundler
deric_skibotn has joined #ruby
<shevy> like foo depends on "bla" "ble" and "blu", and you put all three of these into foo together to make a new project
nyamx2 has quit [Ping timeout: 245 seconds]
xaxisx has quit [Quit: xaxisx]
railzForDaiz has quit [Ping timeout: 260 seconds]
shredding has quit [Quit: shredding]
<workmad3> shevy: sounds like bundler
maestrojed has quit [Quit: Computer has gone to sleep.]
<workmad3> shevy: specifically 'bundle package'
Lwhite has joined #ruby
boris has quit [Ping timeout: 260 seconds]
maletor has joined #ruby
dc has joined #ruby
taybin has quit [Quit: This computer has gone to sleep]
stantona has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
stantona has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dEPy has quit [Quit: Computer has gone to sleep.]
gruz0[russia] has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
kpshek has quit []
boris has joined #ruby
supermat has joined #ruby
Ankhers has joined #ruby
rat_thing has joined #ruby
maestrojed has joined #ruby
stantona has quit [Ping timeout: 245 seconds]
SubSignal has quit [Remote host closed the connection]
sputnik13 has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
dilated_dinosaur has quit [Ping timeout: 265 seconds]
jottr has joined #ruby
saarinen has joined #ruby
benzrf is now known as benzrf|offline
failshel_ has joined #ruby
cocotton_ has joined #ruby
Morkel has quit [Ping timeout: 252 seconds]
rdark has quit [Ping timeout: 252 seconds]
zigomir has joined #ruby
blueOxigen has joined #ruby
klaut has quit [Remote host closed the connection]
Morkel has joined #ruby
binaryhat has joined #ruby
combusean has joined #ruby
rdark has joined #ruby
mikespla_ has joined #ruby
mikesplain has quit [Ping timeout: 252 seconds]
hpoydar has quit [Remote host closed the connection]
binaryhat has quit [Read error: Connection reset by peer]
cocotton has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
failshell has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Remote host closed the connection]
rezzack has joined #ruby
rezzack has quit [Changing host]
rezzack has joined #ruby
wallerdev_ has joined #ruby
Lwhite has quit [Quit: Leaving.]
aniM has joined #ruby
zigomir has quit [Ping timeout: 265 seconds]
beef-wellington has quit [Ping timeout: 252 seconds]
larsam has joined #ruby
Morkel has quit [Ping timeout: 276 seconds]
zigomir has joined #ruby
beef-wellington has joined #ruby
andrewlio has joined #ruby
Morkel has joined #ruby
danman has joined #ruby
mikecmpbll has joined #ruby
havenwood has quit [Remote host closed the connection]
sdwrage has quit [Quit: This computer has gone to sleep]
RaCx has quit [Quit: Computer has gone to sleep.]
Wolland has quit [Remote host closed the connection]
SubSignal has joined #ruby
Wolland has joined #ruby
guilund has joined #ruby
<guilund> hey guys
<guilund> how cn i merge two hashes by the first key?
Hobogrammer has quit [Ping timeout: 240 seconds]
<guilund> two or more
dilated_dinosaur has joined #ruby
RaCx has joined #ruby
obs_ has quit [Remote host closed the connection]
stantona has joined #ruby
<guilund> i mean [{ "index" => [{"item":0},{"item:1}]}, {"index" => []}]
treehug88 has joined #ruby
<guilund> merge it so [{ "index" => [{"item":0},{"item:1}], []} }]
sk87 has joined #ruby
<guilund> ??
hpoydar has joined #ruby
treehug8_ has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
St_Marx has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 260 seconds]
Shidash has joined #ruby
MrDoctor has joined #ruby
meth has joined #ruby
havenwood has joined #ruby
Spami has joined #ruby
<meth> rubyforge down?
kpshek has joined #ruby
<apeiros> meth: I think it's decomissioned?
<havenwood> meth: i thought it shutdown permenantly
<apeiros> guilund: I don't follow. also note that […] is an array, not a hash
tier has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GeekOnCoffee has joined #ruby
<meth> oh the eventmachine wiki pointed me to rdocs over there
djbkd has joined #ruby
oo_ has quit [Remote host closed the connection]
<shevy> workmad3 as far as I know for bundler to work one needs to have a file
<shevy> but I dont want to have to write any file, I want it to be exactly like: "package foo" and no further action is ever required from a user
<workmad3> shevy: where do you expect this magical command to get information about what the dependencies are?
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<guilund> i want to merge @index_gallery, @index_list, @index_text as like Hash['index' => @index_gallery + @index_list + @index_text]
<shevy> workmad3 "gem foo" works
<shevy> workmad3 if it were unavailable, it could scan through all require* calls
spider-mario has quit [Read error: Connection reset by peer]
doug1 has joined #ruby
sdwrage has joined #ruby
<doug1> test
<workmad3> shevy: what about the many gems that don't follow normal naming conventions?
<shevy> workmad3 which ones?
<workmad3> shevy: rmagick for one :P
<shevy> is that still not dead?
<doug1> I am confused. This might be a chef-ism, but I'm setting a dictionary to nil. When I print it with inspect it shows false. That makes no sense.
<doug1> If I set it to a value, and print it, I see the value
ndrei has joined #ruby
<shevy> >> nil.inspect
<eval-in> shevy => "nil" (https://eval.in/160661)
<workmad3> shevy: not entirely, and I'm sure there are others out there too
sinkensabe has quit [Remote host closed the connection]
doug1 has quit [Client Quit]
tier has joined #ruby
sinkensabe has joined #ruby
sdegutis has left #ruby [#ruby]
lkba has quit [Ping timeout: 240 seconds]
rezzack has quit [Quit: Leaving.]
postmodern has joined #ruby
<GeekOnCoffee> it could simply raise exceptions for any dependencies that aren't met
rezzack has joined #ruby
<guilund> apeiros: solved, thanks
Xeago_ has quit [Read error: Connection reset by peer]
banister has joined #ruby
<apeiros> and I didn't even do anything :D
Alina-malina has quit [Ping timeout: 260 seconds]
<apeiros> well then - you're welcome guilund
spider-mario has joined #ruby
<guilund> hehehe
Xeago has joined #ruby
<guilund> im just being overpolite
<guilund> :P
Xeago has quit [Read error: Connection reset by peer]
sinkensabe has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
tier has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kpshek has quit []
St_Marx has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
kpshek has joined #ruby
Hobogrammer has joined #ruby
taybin has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
karmatr0n has quit [Remote host closed the connection]
RaCx has joined #ruby
aspires has quit []
bradhe has joined #ruby
yfeldblum has joined #ruby
mary5030_ has joined #ruby
benzrf|offline is now known as benzrf
finch has joined #ruby
timonv has quit [Remote host closed the connection]
finch has left #ruby ["WeeChat 0.3.8"]
JasmeetQA has joined #ruby
dideler|work has quit [Ping timeout: 240 seconds]
meth has quit [Ping timeout: 246 seconds]
m8 has joined #ruby
onewheelskyward has left #ruby ["Textual IRC Client: www.textualapp.com"]
mary5030 has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
dideler|work has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
doodlehaus has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
olivier_bK has quit [Ping timeout: 260 seconds]
mikespla_ has quit [Read error: Connection reset by peer]
mikesplain has joined #ruby
qwyeth has quit [Write error: Connection reset by peer]
RaCx has quit [Quit: Computer has gone to sleep.]
Sawbones_ has quit []
RaCx has joined #ruby
Kruppe has quit [Quit: ZNC - http://znc.in]
mikespla_ has joined #ruby
kilk_ has joined #ruby
GriffinHeart has joined #ruby
poguez_ has joined #ruby
mikesplain has quit [Ping timeout: 276 seconds]
qwyeth has joined #ruby
kenneth has joined #ruby
Alina-malina has joined #ruby
qwyeth_ has joined #ruby
mary5030_ has quit [Ping timeout: 252 seconds]
rdark has quit [Quit: leaving]
qwyeth_ has quit [Remote host closed the connection]
akonny has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
edmellum has quit [Quit: Connection closed for inactivity]
mary5030 has joined #ruby
Azulinho has quit [Ping timeout: 260 seconds]
treehug88 has quit [Ping timeout: 260 seconds]
aniM has quit [Remote host closed the connection]
kpshek has quit []
Hanmac has joined #ruby
bradleyprice has joined #ruby
Takle has quit [Remote host closed the connection]
EminenceHC has joined #ruby
Kruppe has joined #ruby
almostwhitehat has joined #ruby
mikespla_ has quit [Ping timeout: 252 seconds]
<EminenceHC> I have a serialized column whoes value is: {"1"=>"answer 1", "2"=>"answer 2"} I am trying to map the key/values but I am struggling to figure out how. I want to print the key next to the value for each.
Hanmac1 has quit [Ping timeout: 260 seconds]
tier has joined #ruby
niklasb has joined #ruby
ldnunes has quit [Remote host closed the connection]
reset has joined #ruby
mikesplain has joined #ruby
<apeiros> EminenceHC: uh? deserialize it and then use all the good old hash methods?
<EminenceHC> apeiros: How can I deserialize it?
<apeiros> EminenceHC: I'd assume you serialized it, did you not?
<Sigma00> >> hash = {"1"=>"answer 1", "2"=>"answer 2"}; hash.each {|k,v| puts "#{k}: #{v}"
<eval-in> Sigma00 => /tmp/execpad-34a638b049bf/source-34a638b049bf:3: syntax error, unexpected keyword_rescue, expecting '}' ... (https://eval.in/160665)
<shevy> guys, where are the big visions
<Sigma00> whoops
<Sigma00> >> hash = {"1"=>"answer 1", "2"=>"answer 2"}; hash.each {|k,v| puts "#{k}: #{v}"}
<eval-in> Sigma00 => 1: answer 1 ... (https://eval.in/160666)
<EminenceHC> thanks Sigma00
Takle has joined #ruby
* Sigma00 hates teaching how to fish
<matti> shevy: ;)
<Sigma00> so here's a fish
<apeiros> Sigma00: if he really has serialized data, he'll quickly come back complaining there's no .each on String.
<Sigma00> hehe
<apeiros> but well…
b1nd has quit [Remote host closed the connection]
alvaro_o has joined #ruby
tier has quit [Ping timeout: 276 seconds]
JasmeetQA has quit [Ping timeout: 265 seconds]
tungd has joined #ruby
djbkd has quit [Remote host closed the connection]
michael_lee has quit [Ping timeout: 260 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
<shevy> matti I don't seem to do huuuugely important things in ruby :(
<matti> shevy: How so.
tyfighter has joined #ruby
* matti hands shevy some coolaid.
<matti> shevy: Drink up!
C0deMaver1ck has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
jtz has quit [Ping timeout: 240 seconds]
xorl has quit [Ping timeout: 252 seconds]
chrishough has joined #ruby
enebo has joined #ruby
frem_ has joined #ruby
tier has joined #ruby
lw has joined #ruby
karmatr0n has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
Alina-malina has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
XxLocutusxX has joined #ruby
XxLocutusxX has left #ruby [#ruby]
danijoo has joined #ruby
<shevy> matti well I seem to do only small thingies
b1nd has joined #ruby
<shevy> like a wrapper over ghostscript to merge several .pdf files and then delete (or move away) the original pdf files
<shevy> that's hardly world changing is it!
jxf has quit [Quit: Leaving]
dwayhs has quit [Read error: Connection reset by peer]
Blaguvest has joined #ruby
sambao21 has joined #ruby
Hanmac1 has joined #ruby
jrhorn424 is now known as zz_jrhorn424
momomomomo has joined #ruby
codecop has joined #ruby
Hanmac has quit [Ping timeout: 276 seconds]
* shevy pokes matti
testcore has joined #ruby
ahofmann has quit [Quit: Computer has gone to sleep.]
pietr0 has joined #ruby
Takle has quit [Remote host closed the connection]
sinkensabe has joined #ruby
teddyp1cker has joined #ruby
SCommette has quit [Quit: SCommette]
zz_jrhorn424 is now known as jrhorn424
sambao21 has quit [Ping timeout: 260 seconds]
sambao21_ has joined #ruby
<Sigma00> >> def change_world(world); world.each_char.to_a.shuffle.join; end; change_world("Hey shevy is this world changing enough?")
<eval-in> Sigma00 => " ydsigl nhHeeno?si wyhtveonug cr aihsg h" (https://eval.in/160676)
<Sigma00> <_< >_>
<benzrf> just .chars
<shevy> Sigma00 I mean from within ruby... what was the latest kickass thing you wrote in ruby?
dc has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
sinkensabe has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Burgestrand]
<Sigma00> a shitty game for employees to bet on the outcome of the worldcup
* Sigma00 checks on it
blinkdesign has joined #ruby
cpruitt has joined #ruby
newusr has joined #ruby
<shevy> hehehe
AMcP has joined #ruby
<shevy> what is the outcome?
<Sigma00> well, the worldcup starts two days from now...
djbkd has quit [Remote host closed the connection]
blinkdesign has quit [Remote host closed the connection]
dc has joined #ruby
<newusr> guys I have some confusion about structs
<newusr> when would you use struct?
Burgestrand has joined #ruby
<shevy> newusr when you dont want to write a class for it
<shevy> and just need simple .foo accessors
lkba has joined #ruby
<shevy> >> Sword = Struct.new(:length, :weight); sword = Sword.new(120, 4.5)
<eval-in> shevy => #<struct Sword length=120, weight=4.5> (https://eval.in/160677)
<shevy> wield(sword)
<newusr> ohh so we get accessors, basically gette, setters for free?
Czupa` has joined #ruby
Czupa` has quit [Remote host closed the connection]
<shevy> newuser = Newbie.new; strike :at => newuser
<shevy> I think so, let's check
<shevy> >> Sword = Struct.new(:length, :weight); sword = Sword.new(120, 4.5); sword.weight
<eval-in> shevy => 4.5 (https://eval.in/160678)
<shevy> yeah
<newusr> ohhh
<newusr> cool
<Sigma00> you can think about it as a lightweight class. Attributes but no methods
<shevy> but I often wonder if that's really worth it... it should not be too hard to write a real class instead
chipotle has joined #ruby
<newusr> exactly
<shevy> people in LPC days did so
<shevy> though using C is weird
ldnunes has joined #ruby
<newusr> so basically its roughly equivalent of scala's case class
michaelchum has quit [Quit: Connection closed for inactivity]
<shevy> this_player()->equip(sword);
<GeoLeYeti> How can i remove a node with nokogiri but keep content and children of this node
<shevy> what is scala case class doing
djbkd has joined #ruby
kirun has joined #ruby
graft has quit [Ping timeout: 260 seconds]
<newusr> basically short hand to create classes, which can be used for pattern matching, but anyways
<matti> shevy: I see.
<matti> shevy: I don't do big things either, does it matter? ;]
FDj has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
<matti> shevy: Join a project ;]
asteve has joined #ruby
Xeago has quit [Remote host closed the connection]
makerops has joined #ruby
dolan is now known as shvelo
<asteve> is anyone else having trouble with geocoder? we're getting empty array responses; I tried updating to the latest gem and now I'm getting timeouts or connection refused errors
<shvelo> I've learned how to YARD
<makerops> what kind of actions can i take in a rescue Exception?
dangerousdave has quit [Read error: Connection reset by peer]
<makerops> i have a script that runs, and I want it to send a log messsage upon dying, i cant seem to get it to work properly
dangerousdave has joined #ruby
<Sigma00> well, how are you logging?
<matti> makerops: Any, technically.
<matti> makerops: What are you doing?
<matti> ;]
jahrichie2 has joined #ruby
<makerops> lemme gist
jujhar has joined #ruby
jahrichie2 has quit [Client Quit]
bwilson has joined #ruby
<makerops> so this is the relevant part/the end of the script
<makerops> the subscribe loop, is blocking
bradhe has quit [Ping timeout: 260 seconds]
combusean has quit [Quit: Leaving.]
RaCx has quit [Ping timeout: 252 seconds]
<makerops> i call that with foreman start, when that script dies, or has an exception i wnat to send a log alert
DefV has joined #ruby
<makerops> forward_monitor_lab2, def works properly, as I can call it via IRB
jahrichie has quit [Ping timeout: 276 seconds]
_GoodTimes has quit [Ping timeout: 245 seconds]
jujhar has quit [Client Quit]
graft has joined #ruby
Authenticator has quit [Quit: leaving]
Hanmac1 has quit [Ping timeout: 240 seconds]
TripTastic has joined #ruby
<Sigma00> what you have should work when it has an exception
<Sigma00> but not when it dies without raising anything
omosoj has joined #ruby
<makerops> calling it with foreman start, then doing a ctrl-c
<makerops> that should give it an exception no?
<Sigma00> no
<newusr> can anyone explain me what does foreman exaclt do
timonv has joined #ruby
<makerops> it's just a process rapper
<makerops> wrapper*
<eam> makerops: use ensure
<makerops> makes calling sub programs/scripts eaiser
Takle has joined #ruby
<eam> begin; ensure; end; is your best shot at guaranteeing something runs
<eam> rescue is only for exceptions
akonny has quit [Quit: akonny]
jimbauds has quit [Quit: Leaving]
djbkd has quit [Remote host closed the connection]
RaCx has joined #ruby
<makerops> hrm, replaced with ensure, didnt seem to work either
GeoLeYeti has quit [Quit: Quitte]
<newusr> anyone could tell me what does foreman do?
beef-wellington has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
kpshek has joined #ruby
<makerops> newusr, see my above comments
Nilium has quit [Quit: <kristin> Cower is like... I dunno. sometimes he seems senile and other times he seems like a middle schooler.]
steeve has quit [Remote host closed the connection]
<mordof> is there an easy way to take 2 arrays, and get a result only consisting of the items that exist in both?
Nilium_ has joined #ruby
<apeiros> mordof: a & b
<makerops> mordof, you cna use a set as well
<newusr> makerops, basically an alternative to calling system(some system call)?
<makerops> newusr, more like an init script
tier has quit [Remote host closed the connection]
<newusr> makerops, so you can do stuff that you need for app start, like lets say some file that you need for you app to run, some process that you need to start
dangerousdave has quit [Read error: Connection reset by peer]
<makerops> newusr ya
<makerops> thats my Procfile
dangerousdave has joined #ruby
mary5030 has quit [Remote host closed the connection]
<makerops> when i run foreman start, it looks at that and runs everything, keeps everything logged nicely/color coded etc
luisjose has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
tier has joined #ruby
jprovazn has joined #ruby
<newusr> whats a procfile? like gemfile for bundler, Vagrantfile for vagrant, similar for foreman?
sdwrage has joined #ruby
beef-wellington has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
stantona has quit [Remote host closed the connection]
doodlehaus has joined #ruby
jhass|off is now known as jhass
<makerops> newusr yes
<newusr> thanks makerops
<makerops> np
tier has quit [Client Quit]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
<newusr> can some one explain whats a gem? i know its a package, but again i dont what that exactly means/
<apeiros> what about it do you need explained?
<apeiros> it's usually a bunch of ruby code files in a lib directory. sometimes accompanied by an executable in the bin dir.
lord4163 has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
<apeiros> the .gem file itself is really a .tgz
Rollabunna has joined #ruby
kaspergrubbe has joined #ruby
dangerou_ has joined #ruby
chipotle has quit [Quit: cya]
<newusr> wait but why do you need executable, so my understanding is, you install a gem is as good as you have a what you call a jar in java world
beef-wellington has quit [Ping timeout: 276 seconds]
enebo has joined #ruby
<newusr> apeiros, so a gem is just a bunch of ruby code
<apeiros> usually. can contain other code too.
<newusr> that i can require in my code
timonv has quit [Remote host closed the connection]
<apeiros> native gems usually contain C files, or for jruby java files.
SilverKey has joined #ruby
<newusr> you mean like dependancy and stuff
bradleyprice has quit [Ping timeout: 260 seconds]
<eam> newusr: packaging can contain libraries, and can also contain self-contained programs
sdouglas has joined #ruby
<apeiros> no. the word "dependency" usually implies it's external.
<newusr> but that way the gem wont be platform indepandant, right?
<apeiros> if it contains C code?
<apeiros> it can contain C code and still be platform independent
Wolland has joined #ruby
Hanmac has joined #ruby
<momomomomo> (if it's good C code)
<apeiros> it is no longer runtime independent, though (jruby won't work with C extensions)
<eam> maybe if your idea of platform independent is "common unixes"
jxf has joined #ruby
<apeiros> you can be platform dependent with plain ruby code too - fork e.g. is not available on windows
Mattias has joined #ruby
dangerousdave has quit [Ping timeout: 276 seconds]
kaspergrubbe has quit [Remote host closed the connection]
<momomomomo> i'll just go ahead and use a bunch of int4's
<momomomomo> haha
<newusr> apeiros, so the gem will need to have some native things alreadt installed on my box
kaspergrubbe has joined #ruby
karmatr0n has quit [Remote host closed the connection]
<momomomomo> newusr maybe... gcc or clang for osx
klaut has joined #ruby
<apeiros> iow, platform dependency is not inherent to which language you use. but whether you use stuff which is available across platforms. and you'll *always* be in some way limited on what platforms your code will run.
Arkaniad has joined #ruby
<lord4163> Thinking of learning Ruby, what are the recommended learnning resouces? I saw Learn Code The Hard Way had a book, is that any good?
<apeiros> newusr: not necessarily.
<momomomomo> !books
<helpa> What book should you get? - http://is.gd/hYWq
<apeiros> newusr: "contains C code" is not the same as "contains C code which depends on other libraries"
<momomomomo> why isn't hartl's book on that page?
<momomomomo> that's an oooold link
b1205 has quit [Ping timeout: 240 seconds]
chrishough has quit [Quit: chrishough]
chrishough has joined #ruby
<newusr> apeiros, so where does bundler come into picture
<momomomomo> apeiros: but you do need a compiler
<momomomomo> ie gcc / c clang
<eam> momomomomo: not necessarily
<apeiros> momomomomo: afaik not even that. afaik you can provide pre-compiled platform specific gems
<momomomomo> true, you can
<eam> or use ffi to link directly
<apeiros> though, not that common, I think
<apeiros> newusr: read the piece by yehuda
<momomomomo> but if your'e installing things on osx, you'll eventually become aware that clang is not the same as gcc
Wolland has quit [Ping timeout: 260 seconds]
<momomomomo> because not all gems follow that
<eam> you know what I've been missing from gems? A good way to configure build parameters
RaCx has joined #ruby
<eam> like, let's say I want to tweak the rpath in all the shared objects gem/bundler builds
<apeiros> eam: afaik you can pass them to `gem install`
<eam> apeiros: I found that, but it's sparsely implemented by gems
SCommette has joined #ruby
<eam> there should be a generic way to specify common environment
<apeiros> eam: oh, the gem has to actively read it?
<eam> afaik yes
havenwood has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Ping timeout: 260 seconds]
<apeiros> that's unfortunate indeed
<eam> I think the closest I can get is the original build config of the interpreter
<apeiros> but well, I guess it fits
<apeiros> rubygems doesn't prescribe much about how the build process actually works
<apeiros> if you want to build stuff in detail, you have to manually download the gem, unpack it, visit the ext/** dirs and manually compile the parts, then install it
moritzs has quit [Ping timeout: 265 seconds]
SCommette has quit [Client Quit]
tonyhb has joined #ruby
mikespla_ has joined #ruby
<eam> yeah, that's what I came up with (forking the gem, hacking ext and mkmf stuff)
Macaveli has joined #ruby
KLVTZ has joined #ruby
failshel_ has quit [Remote host closed the connection]
paulfm has quit []
<apeiros> tedious :-/
AlSquire has quit [Quit: This computer has gone to sleep]
cocotton_ has quit [Remote host closed the connection]
mary5030_ has joined #ruby
failshell has joined #ruby
mikespl__ has joined #ruby
jhulten has joined #ruby
mary5030_ has quit [Remote host closed the connection]
tonyhb has quit [Client Quit]
mary5030_ has joined #ruby
railzForDaiz has joined #ruby
toastynerd has quit [Remote host closed the connection]
<makerops> so if i run that using foreman run script, and throw a ctrl-c at it, it sends my alert message properly
<makerops> but if i use foreman start, it does not?
mikesplain has quit [Ping timeout: 260 seconds]
mary5030 has quit [Read error: Connection reset by peer]
SCommette has joined #ruby
paulfm has joined #ruby
mikespla_ has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
bwilson has quit [Quit: bwilson]
braincrash has quit [Quit: bye bye]
<shevy> <makerops> it's just a process rapper
aspires has joined #ruby
<shevy> hahaha :D
<makerops> i corrected it!
b1205 has joined #ruby
sdouglas has quit [Remote host closed the connection]
jhulten has left #ruby [#ruby]
<shevy> yeah
<shevy> but that makes it less fun
<shevy> so I am against correcting mistakes!
sdouglas has joined #ruby
cocotton has joined #ruby
stantona has joined #ruby
qba73 has joined #ruby
mehlah has joined #ruby
mradmacher has quit [Ping timeout: 260 seconds]
<momomomomo> makerops: Not sure what you're doing, but sha1 is a bad hashing algorithm to use if all you're trying to do is avoid collisions
<newusr> so, in a broader perspective, rvm is to switch between rubies and also gems for that ruby version, gem is again a command scoped for a ruby version by rvm, bundler is a gem which reads gemfile and installs specified gems, and a gem is just a package with specified format which might contain a binary along with some native dependancy
nanoyak has quit [Quit: Computer has gone to sleep.]
<makerops> momomomomo, not trying to avoid them
<momomomomo> let me rephrase makerops: Unless you're hashing for some sort of security, sha1 is probably a sub-optimal choice
<momomomomo> ie: it comes with a cost by design
<makerops> what do you suggesT?
<momomomomo> crc32 is probably good enough
<makerops> cool
<makerops> ty
<momomomomo> here's a nice topline overview http://programmers.stackexchange.com/a/145633
jeff_for_now has joined #ruby
qba73 has quit [Remote host closed the connection]
nycto has joined #ruby
Takle has quit [Remote host closed the connection]
EminenceHC has quit [Remote host closed the connection]
<nycto> C or C++?
chrishough has quit [Quit: chrishough]
<momomomomo> is that just a general question nycto ?
<makerops> momomomomo, any idea why that code wouldn't run an esure at the end when claled via foreman/
<momomomomo> newusr: your understanding seems about right
sdouglas has quit [Ping timeout: 240 seconds]
<nycto> momomomomo, Yes.
<momomomomo> makerops: you didn't provide any context; nor is this a foreman channel
<momomomomo> nycto: what are you trying to do with c or c++?
<nycto> momomomomo, Nothing special, just consider you have to choose between C or C++.
<nycto> University..
sambao21_ has quit [Quit: Computer has gone to sleep.]
<momomomomo> but also makerops it looks like you have a begin statement that has no end
<momomomomo> oh, nevermind, i see it
<makerops> its just messed up indenting while i test
<makerops> but im calling foreman start, and its calling bundle exec lib/agent (that code)
bradhe has joined #ruby
beef-wellington has joined #ruby
<Hanmac> nycto: i would choice C++ over C whereever i can
<momomomomo> nycto: I've never used c++ much, so I'd go with C... not sure what you're trying to do.
kaspergrubbe has joined #ruby
<jeff_for_now> nycto: it depends. Would you rather program in a language with or without an increment operator in the name?
<momomomomo> Hanmac: lol
<newusr> thanks momomomomo
KLVTZ has quit [Ping timeout: 265 seconds]
<bmurt> anyone using the mail rubygem?
<momomomomo> makerops: try #theforeman
<nycto> What do you mean jeff_for_now ?
diegoviola has quit [Read error: Connection reset by peer]
<momomomomo> (++ is an incrementor) nycto
<makerops> heh #theforeman is different
<newusr> how to break in a block?
<nycto> Yea I thought you mean something else but doesn't matter.
<nycto> Dunno what to pick tho.
ta has joined #ruby
zorak has joined #ruby
benzrf is now known as benzrf|offline
<makerops> nycoto lots of trading apps are c++
<momomomomo> makerops: that's not the point, you don't know what s/he is doing
<jeff_for_now> nycto: you'll learn a lot either way -- if you don't have a reason to go pick one, it probably doesn't matter
<makerops> momomomomo, that was my point
<makerops> if he is doing something wtih trading (nyc etC)
<nycto> I'm aiming for Financial Mathematics or Computer Science.
bradleyprice has joined #ruby
_GoodTimes has joined #ruby
Pulpie has joined #ruby
<Pulpie> Hello
bradhe has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
<nycto> momomomomo, Just some advice.
<Pulpie> I am trying to catch the exception: Unable to download file from net/sftp but it seems to even go through Exception => e what can I use to catch download failures?
<nycto> Overall.
Czupa has quit [Quit: Wychodzi]
<momomomomo> Pulpie: !code
<helpa> Pulpie: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
vpretzel_ has quit [Quit: Adios!]
<shvelo> PSA: writing a complex-ish project is a must for learning Ruby development. I haven't bothered with documentation and testing until now
RaCx_ has joined #ruby
<Pulpie> momomomomo: sure I can put some some code
RaCx has quit [Ping timeout: 260 seconds]
RaCx_ is now known as RaCx
<Pulpie> momomomomo: but its not going to make sense to you
newusr has quit [Quit: Page closed]
vpretzel has joined #ruby
<momomomomo> !pm
sdwrage has quit [Quit: This computer has gone to sleep]
Takle has joined #ruby
<Pulpie> lol what is that suppose to do?
GriffinHeart has joined #ruby
<shvelo> >> pry
<eval-in> shvelo => undefined local variable or method `pry' for main:Object (NameError) ... (https://eval.in/160702)
<shvelo> >> require("pry"); pry
<eval-in> shvelo => (https://eval.in/160703)
aspires has quit []
Boohbah has quit [Ping timeout: 264 seconds]
<Pulpie> momomomomo: ^^
combusean has joined #ruby
sdwrage has joined #ruby
djbkd has joined #ruby
<momomomomo> use something like gist.github.com - i'm not sure what ideone is
<momomomomo> eh after googling it seems legit
kireevco has quit [Read error: Connection reset by peer]
Boohbah has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
<Pulpie> momomomomo: 1) Excepion => e is fine if you raise within in. 2) the exception isn't even being caught.
<Pulpie> puts never gets executed.
kyb3r_ has joined #ruby
Burgestrand has quit [Quit: Burgestrand]
kireevco has joined #ruby
chrishough has joined #ruby
benlieb has joined #ruby
mjsmith2 has joined #ruby
benlieb has quit [Client Quit]
dangerou_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
jtiggo has joined #ruby
Azulinho has joined #ruby
havenwood has joined #ruby
anaeem1 has joined #ruby
chipotle has joined #ruby
<Pulpie> much more direct and to the point than what you linked.
mikespl__ has quit [Ping timeout: 265 seconds]
<eam> I find it amusing that it's bad style to handle all exceptions and also bad style not to
sambao21 has joined #ruby
<wallerdev_> huh
St_Marx has quit [Remote host closed the connection]
<apeiros> that's because you leave out the context of "all"
phantasm66 has quit [Quit: *poof*]
<eam> I mean it in the most inclusive context
mikesplain has joined #ruby
<wallerdev_> you know what really bugs me
<momomomomo> no, do tell
<wallerdev_> in c# when people do try { } and catch(Exception e) { // log some stuff; throw e; }
<wallerdev_> when they write it like that
St_Marx has joined #ruby
<wallerdev_> it deletes the stack trace of the exception
<wallerdev_> not sure if it does the same in ruby when you do raise e haha
<momomomomo> I really like golang's error handling style
<momomomomo> puts errors front and center
<wallerdev_> doesnt golang force you to handle every single possible error after every line
<Pulpie> It doesn't in ruby afaik
<momomomomo> not true wallerdev but if a function does return an error, you must deal with that variable
kilk_ has quit [Ping timeout: 260 seconds]
<momomomomo> wallerdev_: you can throw it away with _
<Pulpie> oh lame its like java
<wallerdev_> yeah but thats kinda dumb
<wallerdev_> lol
AMcP has quit [Remote host closed the connection]
sdwrage has quit [Quit: This computer has gone to sleep]
<momomomomo> ie: puppy, _ = func (name string) { log.Println(name) }()
<eam> cleaner than exception syntax imo
<eam> certainly more performant
<wallerdev_> exception allows bubbling which is convenient
ezra has joined #ruby
<momomomomo> ie: puppy, _ = func (name string) error { log.Println(name); return error }()
<momomomomo> *
<momomomomo> except I didn't return a puppy
<Pulpie> might as well pastebin it at a certain point.
<apeiros> eam: you're only supposed to rescue exceptions you can and want to actually handle. the Exception class contains exceptions you usually don't want to or can't handle. such as NoMemory (can't), or Interrupt (don't want to - usually)
<eam> both can be handled
<eam> I'm just saying, leting the system handle Interrupt is hackish
<momomomomo> apeiros: good on you, I wasn't even going to continue down the road
vpretzel_ has joined #ruby
<apeiros> eam: tell me how you handle NoMemory in ruby.
Notte has joined #ruby
<eam> ideally a "real" program would at least catch ^C and print something nice
<Pulpie> apeiros: actually you could invoke a memory clean up.
<apeiros> (hint: no, you can't. NoMemory within ruby is end-of-road. and yes, I know about neverdie)
<eam> or nothing at all
vpretzel_ has quit [Client Quit]
<eam> apeiros: I mean in the abstract of languages with exceptions
<apeiros> eam: yes. and now tell me *where* you handle Interrupt
<momomomomo> trick question apeiros
<apeiros> you don't put a blind rescue Exception at every point where exceptions might happen
<eam> apeiros: oh I agree with that
<apeiros> because you'll rescue an exception which *that* rescue can't handle
<apeiros> hence: context of "all"
segv has joined #ruby
<apeiros> yes, I agree, you want and should handle Interrupt at some point
<apeiros> if that's what you're saying
C0deMaver1ck has joined #ruby
<momomomomo> ^^^ see this Pulpie - apeiros is mre patient than I
<eam> I'm just saying, a rescue Exception around the entire program is correct for a fully polished program
<momomomomo> no, it's not
KLVTZ has joined #ruby
<eam> bubbling up an exception to a user is never correct
codydh has joined #ruby
<eam> for real stuff
<Pulpie> momomomomo: yeah lot of kiddy scripters don't have patience.
<apeiros> eam: since it hits things like NoMemory, I'd disagree. your code might explode rather violently in such a case.
<eam> even if you trap it and print nothing, or a sanitized error code, etc
<apeiros> but I agree to the general idea
larsam has quit [Quit: larsam]
vpretzel has quit [Ping timeout: 240 seconds]
<momomomomo> ha, why are you on the offensive Pulpie ?
<eam> apeiros: eh NoMemory is going to be common - a "real" commercial app may want to print something like ERR 1234 contact support at X
<eam> (and yes, I can print that after NoMemory :D)
SCommette has quit [Quit: SCommette]
<apeiros> you might be able to print. you also might not be able to print.
<codydh> Installing rails on Mavericks is so slow... "Installing ri documentation for rails-4.1.1" has ruby pegged at 100% CPU for minutes
<Pulpie> momomomomo: same reason you were from the getgo.
<eam> apeiros: I can print.
railzForDaiz has quit [K-Lined]
<eam> with forethought and design, guaranteed
<momomomomo> codydh: You can disable rdoc
<apeiros> eam: I've had NoMemory where the exception violently crashed in print. because - no memory.
<eam> in ruby's print
<codydh> momomomomo: If I'm new, I should probably allow it to be there, though, right?
<eam> so don't call that :D
<momomomomo> Pulpie: Literally our entire discussion has been me saying 3 things - !code, linking you to an article about not rescuing exceptions, and this
<momomomomo> if you're reading into that for some reason, that's your own issue
<eam> I mean the real story here is no one puts this kind of polish on ruby scripts
mary5030 has joined #ruby
<toretore> cause it's hard
<Pulpie> momomomomo: I'm not, you have said more to me than that.
<momomomomo> scroll up
<Pulpie> momomomomo: yeah and?
<Pulpie> I'm looking at evidence of you saying more crap.
<momomomomo> ctrl+f and type in "momomomomo"
<bmurt> anyone using the mail rubygem?
mary5030_ has quit [Ping timeout: 276 seconds]
boris has quit [Ping timeout: 276 seconds]
Notte has quit [Remote host closed the connection]
<Pulpie> momomomomo: yeah like line 35?
<toretore> bmurt: what about it?
<momomomomo> lol? I'm not sure what the link you used is, so you take offense?
<Pulpie> momomomomo: You accussed me of linking you to a non-legit site.
<momomomomo> see, you're reading into this
<Pulpie> no you did that.
<bmurt> well, im trying to use it and i currently hardcode the values for the Mail.defaults but i want to pull those config values from a YAML file
<momomomomo> there's nothing there except for me being unsure of clicking a link from someone I've never met to a site I don't know
Macaveli has quit [Ping timeout: 252 seconds]
<bmurt> the problem im running into, is that in my yaml file, i have like: smtp_server: "mail.domain.com" but those quotes are needed as well
<Pulpie> momomomomo: lol K dude, enjoy your life of never clicking links or communicating with strangers in public because they might kidnap you.
RaCx has quit [Quit: Computer has gone to sleep.]
<bmurt> if i do a puts "#{mail_server}" the output is without the double-quotes
Wolland has joined #ruby
mradmacher has joined #ruby
RaCx has joined #ruby
SCommette has joined #ruby
<shevy> why do you do this and not puts mail_server
RaCx has quit [Client Quit]
<Pulpie> bmurt: you need to escape the quotes if you want them like this "\"mail_server\""
<shevy> and are you sure those quotes are needed?
<shevy> in yaml
<shevy> because you can always sanitize the data you get from yaml anyway, in ruby
paulfm has quit []
Rollabunna has quit [Remote host closed the connection]
b1205 has quit [Ping timeout: 240 seconds]
SCommette has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
<bmurt> shevy: i wasn't able to get that to work
akonny has joined #ruby
scx_ is now known as scx
mordocai has joined #ruby
<bmurt> Pulpie: within the yaml obviously?
b1205 has joined #ruby
<Mon_Ouie> puts "#{mail_server}" is the same as puts mail_server.to_s which is the same as puts mail_server
<shevy> I am not quite sure I understand your code
<toretore> bmurt: i don't understand what the problem is
<shevy> @smtp_server = config['smtp_server']
<Mon_Ouie> (except for arrays but that's not the point)
<shevy> puts "#{config['smtp_server']}"
SCommette has joined #ruby
<shevy> why do you assign to a variable, but then don't use it ;-)
<shevy> do this instead:
<shevy> puts @smtp_server
<bmurt> shevy: read further down
<bmurt> its used in lines 25-32
<bmurt> that's just temp output for debug
weems is now known as theassman
<shevy> but you assigned to variables
decoponio has quit [Quit: Leaving...]
RaCx has joined #ruby
<shevy> so why not use the variables?
<Mon_Ouie> So what is the problem with your code?
<toretore> bmurt: what is it that doesn't work?
jackneill has quit [Ping timeout: 276 seconds]
Wolland has quit [Ping timeout: 245 seconds]
<bmurt> the double quotes are not being included from the config.yaml when it should be
larissa has joined #ruby
<toretore> no, which is correct
ezra_ has joined #ruby
<Mon_Ouie> I think you do not understand what strings are
<toretore> why do you need the quotes to be in the string?
<bmurt> the gem is requiring to be a quoted entry
<Mon_Ouie> No, it doesn't
<Mon_Ouie> "foo" is a notation in both Ruby and YAML for a string the contents of which is foo.
wallerdev_ has quit [Quit: wallerdev_]
<bmurt> i couldn't get it working
<Mon_Ouie> You didn't explain what wasn't working then
<bmurt> if you read up i did
yfeldblum has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
bwilson has joined #ruby
<Mon_Ouie> I read everything, you didn't. You just mentioned the quoting thing, which is not correct.
<toretore> bmurt: you have still not explained what the *actual* problem is
<bmurt> when hardcoded the address: entry as "mail.domain.com" it works
<Mon_Ouie> Use p instead of puts if you want to see it.
jtz has joined #ruby
jtz has quit [Changing host]
jtz has joined #ruby
<bmurt> in my yaml, i have server_name: mail.domain.com
<bmurt> and it doesn't work
theassman is now known as weems
nanoyak has joined #ruby
<shevy> >> p YAML.parse "server_name: mail.domain.com"
<eval-in> shevy => uninitialized constant YAML (NameError) ... (https://eval.in/160722)
<shevy> >> require 'yaml'; p YAML.parse "server_name: mail.domain.com"
<toretore> bmurt: the problem is not what you think it is
<eval-in> shevy => (https://eval.in/160723)
yfeldblum has joined #ruby
<toretore> it's something else
<Mon_Ouie> shevy: You can't require C extensions in eval-in
<shevy> I hate eval-in
<apeiros> shevy: write something better!
nanoyak has quit [Read error: Connection reset by peer]
Vivekananda has joined #ruby
nanoyak has joined #ruby
ezra has quit [Ping timeout: 276 seconds]
mordocai has quit [Remote host closed the connection]
ezra_ has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
<bmurt> any other suggestions?
ghr has quit [Ping timeout: 255 seconds]
<csmrfx> pry?
jonahR has quit [Quit: ¡Adios amigos, me fui para el carajo!]
EminenceHC has joined #ruby
<Mon_Ouie> Well "doesn't work" does not explain anything. What happens? What error does it print?
<csmrfx> oh, wait, it was shevy hating on evalin
benzrf|offline is now known as benzrf
toastynerd has joined #ruby
sambao21 has joined #ruby
phutchins has quit [Ping timeout: 260 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
<shevy> apeiros I might eventually!
* apeiros must refuse to snark
e-jambon has left #ruby [#ruby]
bluenemo has joined #ruby
<jezen> can I chain a bunch of methods together if they don’t return `self`?
<benzrf> jezen: heuh?
<benzrf> what do you mean
<apeiros> jezen: yes
<apeiros> but the methods operate on the return value
sdwrage has joined #ruby
<jezen> I have a bunch of methods that take values and return values, and I’d like to pass some value into method1, which returns a value that method2 takes, which returns a value that method3 takes, etc
<apeiros> so "yes, if you want to process the return value"
<apeiros> 1 + 2 * 3 - 3 # <-- none returns self, of course we chain
<banister> jezen you can use tap
bradhe has joined #ruby
<apeiros> jezen: "a value that method 2 takes" (etc.) - as receiver or as argument?
<jezen> apeiros: I’m not sure of the difference…
<apeiros> receiver.method_call(argument1, argument2, …)
<apeiros> receiver is the object you call the method on
<jezen> let’s say method1 takes an array and returns an array, and method2 also takes an array and returns an array
omosoj has quit [Ping timeout: 260 seconds]
dEPy has joined #ruby
<jezen> I’d like to do [1,2].method1.method2.method3 etc
<apeiros> jezen: then you don't really chain, you nest
<apeiros> method2(method1(array))
<shevy> can't we chain-nest
<jezen> yeah that would work, I just thought it might become a bit unwieldy if it’s five or so nested methods
RaCx has joined #ruby
<jezen> I’m wondering if I can annotate it a bit better
mijicd has joined #ruby
<benzrf> jezen: some languages have operators for this :-)
iliketurtles has joined #ruby
<jezen> Underscore.js has _.chain(), and I think Haskell does function composition with `.`
<jezen> but I’m really not sure
b1nd has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 240 seconds]
nyamx2 has joined #ruby
<benzrf> >> array.tap(&method :method1)
<eval-in> benzrf => /tmp/execpad-c658de11dc6b/source-c658de11dc6b:2: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' ... (https://eval.in/160744)
<benzrf> mm
<benzrf> oh wait
<benzrf> mehlah:
<benzrf> *meh
mary5030_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
paulfm has joined #ruby
almostwhitehat has quit [Quit: almostwhitehat]
Vivekananda has quit [Remote host closed the connection]
<jezen> tap looks promising; would it save me storing stuff in an intermediate variable? I can’t quite discern that from code I’m looking at
mary5030 has quit [Ping timeout: 260 seconds]
<jezen> at the moment I’m doing `things = method1(things); things = method2(things);` etc
Karunamon has quit [Disconnected by services]
Karunamon|2 has joined #ruby
RaCx has quit [Ping timeout: 260 seconds]
ra4king has quit [Remote host closed the connection]
b1205 has quit [Ping timeout: 265 seconds]
luksaur has quit [Ping timeout: 252 seconds]
ra4king has joined #ruby
guilund has quit [Remote host closed the connection]
nyamx2 has quit [Ping timeout: 245 seconds]
<banister> jezen isn't that just: method2(method1(things))
BizarreCake has joined #ruby
<benzrf> jezen: you can even leave off the parens !
<benzrf> m1 m2 t
treehug88 has joined #ruby
<jezen> banister: yes, but it feels odd writing it backwards
dc has quit [Remote host closed the connection]
<jhass> make it a class then
<jezen> the methods are in a class
magoo has joined #ruby
<banister> jezen pass(things) >= method1 | method2
<jhass> class ArrayishThing; def method1; do_things_with_@array; self_or_copy_of it; end; end
magoo has quit [Client Quit]
<banister> :P
magoo has joined #ruby
b1nd has joined #ruby
mattmcclure has joined #ruby
slick2 has joined #ruby
<jhass> delegate .each and include Enumerable you can just pass that around for most applications
joonty has quit [Ping timeout: 276 seconds]
<jezen> `pass(things) >= m1 | m2` seems so much more intuitive to me. Maybe I should give up and go do Haskell?
testcore has quit [Ping timeout: 264 seconds]
<banister> jezen or just tell everyone you meet to use funkify and make me famous
<banister> jk
mary5030 has joined #ruby
andrewjanssen has joined #ruby
mary5030 has quit [Remote host closed the connection]
<jezen> I’ll give funkify a try
mary5030 has joined #ruby
mary5030_ has quit [Ping timeout: 240 seconds]
<benzrf> banister: that seems like a bad idea :i
<benzrf> jezen: just write haskell
<benzrf> all the cool kids are doing it
<jezen> I haven’t written any Haskell yet, but I will get around to it
JoshGlzBrk has joined #ruby
<benzrf> jezen: oh man it's totally sweet
<jezen> going through the 7languages book, and I need to finish Prolog first
<jezen> and then do Erlang and Clojure
<benzrf> oki
<benzrf> [haskell tho]
<benzrf> i should learn erlang
<benzrf> but im to lazy
<jezen> perhaps this will inspire you? https://www.youtube.com/watch?v=uKfKtXYLG78
wallerdev_ has joined #ruby
testcore has joined #ruby
tcstar has quit [Remote host closed the connection]
<benzrf> hehheheh
<apeiros> 19>> File.respond_to?(:write)
<eval-in> apeiros => true (https://eval.in/160756)
bluenemo has quit [Quit: Verlassend]
Schmidt has quit [*.net *.split]
saltsa has quit [*.net *.split]
spacebug has quit [*.net *.split]
uxp_ has quit [*.net *.split]
matled has quit [*.net *.split]
MindfulMonk has quit [*.net *.split]
bbloom has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
qpok has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
mg^ has quit [*.net *.split]
cout has quit [*.net *.split]
matrixise has quit [*.net *.split]
lagweezle has quit [*.net *.split]
jadedgnome has quit [*.net *.split]
freggles has quit [*.net *.split]
parduse has quit [*.net *.split]
mahlon has quit [*.net *.split]
holmser has quit [*.net *.split]
flughafen has quit [*.net *.split]
crome has quit [*.net *.split]
edwardly has quit [*.net *.split]
spinx has quit [*.net *.split]
bsutt_ has quit [*.net *.split]
dont-panic has quit [*.net *.split]
GGMethos has quit [*.net *.split]
baweaver has quit [*.net *.split]
verto_ has quit [*.net *.split]
m_3 has quit [*.net *.split]
zaargy has quit [*.net *.split]
ryotarai has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
thalweg has quit [*.net *.split]
nicar has quit [*.net *.split]
pr00t_ has quit [*.net *.split]
lbwski has quit [*.net *.split]
gf3 has quit [*.net *.split]
devyn has quit [*.net *.split]
fumduq has quit [*.net *.split]
jrdnull has quit [*.net *.split]
jamo__ has quit [*.net *.split]
jamo_ has quit [*.net *.split]
Rydekull has quit [*.net *.split]
ocher has quit [*.net *.split]
certainty has quit [*.net *.split]
petems has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
bstrie has quit [*.net *.split]
chridal has quit [*.net *.split]
cuqa has quit [*.net *.split]
marienz has quit [*.net *.split]
zaiste has quit [*.net *.split]
mumblerit has quit [*.net *.split]
elaptics has quit [*.net *.split]
Blue_Ice_ has quit [*.net *.split]
jsaak has quit [*.net *.split]
maloik has quit [*.net *.split]
brandon has quit [*.net *.split]
matled has joined #ruby
PaulePanter has joined #ruby
maloik has joined #ruby
ghr has joined #ruby
ocher has joined #ruby
petems has joined #ruby
crome has joined #ruby
jamo__ has joined #ruby
brandon has joined #ruby
holmser has joined #ruby
jamo_ has joined #ruby
lagweezle has joined #ruby
certainty has joined #ruby
bstrie has joined #ruby
dont-panic has joined #ruby
Rydekull has joined #ruby
saltsa has joined #ruby
nicar has joined #ruby
zaargy has joined #ruby
jsaak has joined #ruby
cout has joined #ruby
fumduq has joined #ruby
cuqa has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has quit [Changing host]
edwardly has joined #ruby
verto has joined #ruby
uxp has joined #ruby
codydh has quit [Quit: Lingo - http://www.lingoirc.com]
lbwski has joined #ruby
yxhuvud has joined #ruby
MindfulMonk has joined #ruby
spacebug has joined #ruby
parduse has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
qpok has joined #ruby
elaptics has joined #ruby
parduse has joined #ruby
parduse has quit [Changing host]
baweaver has joined #ruby
freggles has joined #ruby
freggles has joined #ruby
mg^ has joined #ruby
ryotarai has joined #ruby
bsutt has joined #ruby
Schmidt has joined #ruby
gf3 has joined #ruby
lagweezle is now known as Guest54605
mumblerit has joined #ruby
GGMethos has joined #ruby
bbloom has joined #ruby
mumblerit is now known as Guest49400
yeltzooo has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
zaiste has joined #ruby
michael_mbp has joined #ruby
mahlon has joined #ruby
thalweg has joined #ruby
ixti has quit [Ping timeout: 260 seconds]
dEPy has quit [Read error: Connection reset by peer]
flughafen has joined #ruby
Guest49400 is now known as mumblerit
jadedgnome has joined #ruby
dEPy has joined #ruby
spinx has joined #ruby
dEPy has quit [Client Quit]
chridal has joined #ruby
jrdnull has joined #ruby
almostwhitehat has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
onewheelskyward has joined #ruby
matled- has joined #ruby
PaulePan1er has joined #ruby
gogiel has joined #ruby
scx_ has joined #ruby
mercwith1mouth has joined #ruby
XenoWolf_ has joined #ruby
happytux has joined #ruby
<happytux> hi
<happytux> So there is a Rakefile which also got a task for pulling all dependencies using a Gemfile.
pr00t has joined #ruby
<happytux> The problem is that this Rakefile requires some gems (Rake tasks) which aren't pulled at this point.
b1205 has joined #ruby
<happytux> So the require will fail and so the task for pulling the dependencies.
<happytux> How do you solve this?
<jhass> require 'bundler/setup'
timonv has joined #ruby
<happytux> jhass: so it will prevent such problems? nice
m_3 has joined #ruby
jrhorn424 is now known as zz_jrhorn424
momomomomo has joined #ruby
MissionCritical has joined #ruby
karmatr0n has joined #ruby
phansch has quit [Quit: WeeChat 0.4.3]
andrewjanssen has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
bmurt has quit []
havenwood has joined #ruby
<happytux> jhass: alright, the errors are gone. But now the default task is not invoked when just calling rake.
dc has joined #ruby
<jhass> but...?
fresham has joined #ruby
Guest54605 is now known as lagweezle
matrixis1 has joined #ruby
fortunamajor has joined #ruby
geggam_ has joined #ruby
Notte has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
andrewjanssen has joined #ruby
Ankhers has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
combusean1 has joined #ruby
jmurray has joined #ruby
riton has left #ruby [#ruby]
Uranio has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
<happytux> jhass: Before one just invoked `rake` and the default task was started. I want this feature back, even with 'bundler/setup'.
devyn has joined #ruby
<jhass> don't tell me what doesn't happen, tell me what happens instead, I don't see your screen
IcyDragon has joined #ruby
bwilson has quit [Quit: bwilson]
jxf has quit [Ping timeout: 240 seconds]
yalue has quit [Quit: Leaving]
<happytux> jhass: oh
glenfe has left #ruby ["Leaving"]
<happytux> jhass: Instead task 'help' is invoked and I get the list of available tasks (as using task help)
Karunamo- has joined #ruby
sambao21 has joined #ruby
lsmola__ has joined #ruby
Dr3amc0dz has joined #ruby
ocher has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
matled has quit [*.net *.split]
iliketurtles has quit [*.net *.split]
EminenceHC has quit [*.net *.split]
treehug88 has quit [*.net *.split]
Karunamon|2 has quit [*.net *.split]
bradleyprice has quit [*.net *.split]
combusean has quit [*.net *.split]
jtiggo has quit [*.net *.split]
JoshGlzBrk has quit [*.net *.split]
mehlah has quit [*.net *.split]
mikesplain has quit [*.net *.split]
enebo has quit [*.net *.split]
Lucky_ has quit [*.net *.split]
mercwithamouth has quit [*.net *.split]
IceDragon has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
CodeBunny has quit [*.net *.split]
Blaguvest has quit [*.net *.split]
jespada has quit [*.net *.split]
blueOxigen has quit [*.net *.split]
MrDoctor has quit [*.net *.split]
mark_locklear has quit [*.net *.split]
vt102 has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
endash has quit [*.net *.split]
jobewan has quit [*.net *.split]
geggam has quit [*.net *.split]
Deele has quit [*.net *.split]
scx has quit [*.net *.split]
Soliah has quit [*.net *.split]
phoo1234567 has quit [*.net *.split]
Mattx has quit [*.net *.split]
terrellt has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
weems has quit [*.net *.split]
Asher has quit [*.net *.split]
jaimef has quit [*.net *.split]
soulcake has quit [*.net *.split]
rotor has quit [*.net *.split]
Azure has quit [*.net *.split]
XenoWolf has quit [*.net *.split]
Maple__ has quit [*.net *.split]
gogiel_ has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
lsmola_ has quit [*.net *.split]
timfoo has quit [*.net *.split]
Dekade has quit [*.net *.split]
psmolen has quit [*.net *.split]
tsunamie has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
netf has quit [*.net *.split]
Caius has quit [*.net *.split]
barratt has quit [*.net *.split]
<happytux> Interesting
<happytux> The git source https://github.com/rodjek/rspec-puppet.git is not yet checked out. Please run `bundle install` before trying to start your application
matled- is now known as matled
<happytux> hm, so I can't invoke task :bundler_run to invoke bundler to install the dependencies into a special build/vendor directory.
<happytux> I guess I cannot use the Rakefile before Bundler was invoked and the dependencies installed, right?
mercerist has joined #ruby
<jhass> right
ocher has joined #ruby
IcyDragon is now known as IceDragon
JoshGlzBrk has joined #ruby
iceden has joined #ruby
lemur has quit [Remote host closed the connection]
mehlah has joined #ruby
vt102 has joined #ruby
Hanmac1 has joined #ruby
mikepack has quit [Remote host closed the connection]
<jhass> trying to make a minimal replication I don't even have a "help" task and require 'bundler/setup' doesn't change the default either
teddyp1cker has quit [Remote host closed the connection]
<happytux> oh
<happytux> jhass: ruby 1.9.3p194
<happytux> jhass: rake, version 0.9.2.2
SBoolean has quit [Remote host closed the connection]
<happytux> jhass: Bundler version 1.6.2
Uranio has quit [Ping timeout: 264 seconds]
<happytux> jhass: Debian Wheezy amd64
sambao21 has quit [Ping timeout: 245 seconds]
<jhass> I doubt such behavior changed in the last couple of years
cocotton has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 276 seconds]
gattuso has quit [Ping timeout: 260 seconds]
cocotton has joined #ruby
jobewan has joined #ruby
<shevy> anyone of you doing image manipulation with ruby?
iliketurtles has joined #ruby
sailias has quit [Quit: Leaving.]
<jhass> happytux: running with --trace might help you understand better what rake does
Azure has joined #ruby
Bira has quit [Ping timeout: 252 seconds]
ldnunes has quit [Quit: Leaving]
zorak is now known as zorak8
zorak8 has quit [Quit: Saliendo]
RaCx has joined #ruby
zorak8 has joined #ruby
akonny has quit [Quit: akonny]
taybin has quit [Quit: This computer has gone to sleep]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robertodecurnex has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
JoshGlzBrk has joined #ruby
yfeldblum has joined #ruby
morinap has quit [Remote host closed the connection]
morinap has joined #ruby
blackmesa has joined #ruby
AMcP has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
x1337807x has joined #ruby
bricker`1A has joined #ruby
bricker`1A is now known as bricker`work
AMcP has quit [Remote host closed the connection]
gattuso has joined #ruby
stantona has quit [Remote host closed the connection]
bradhe has joined #ruby
yfeldblu_ has joined #ruby
jaimef has joined #ruby
brunops has quit [Quit: leaving]
ahofmann has joined #ruby
<happytux> shevy: I got some experience with image manipulation in general (PHP, Java and cli).
nanoyak has joined #ruby
braincrash has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<happytux> shevy: Basically you have the choice between a native ruby image manipulation library, which is easier to install and setup but often limiting (reinventing the wheel) and less performant or a ruby binding with a popular image library (mostly written in C or similar).
morinap has quit [Ping timeout: 245 seconds]
<happytux> shevy: And then there are tools build on top of them which facilitate specific tasks, like barcodes and such.
<happytux> shevy: What exactly are you planning to archive?
blinkdesign has joined #ruby
blinkdes_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
timfoo has joined #ruby
jtiggo has joined #ruby
wjimenez5271 has joined #ruby
treehug88 has joined #ruby
tsunamie has joined #ruby
jespada has joined #ruby
EminenceHC has joined #ruby
bradleyprice has joined #ruby
Emmanuel_Chanel has joined #ruby
netf has joined #ruby
endash has joined #ruby
phoo1234567 has joined #ruby
Deele has joined #ruby
Asher has joined #ruby
Mattx has joined #ruby
Hobogrammer has joined #ruby
Gadgetoid has joined #ruby
Soliah has joined #ruby
mikesplain has joined #ruby
terrellt has joined #ruby
rotor has joined #ruby
Maple__ has joined #ruby
Dekade has joined #ruby
psmolen has joined #ruby
soulcake has joined #ruby
Caius has joined #ruby
peckermanzzz has joined #ruby
barratt has joined #ruby
chipotle has quit [Quit: cya]
Hanmac has joined #ruby
NukePuppy has quit [Ping timeout: 252 seconds]
Hanmac1 has quit [Ping timeout: 260 seconds]
brunops has joined #ruby
FDj has joined #ruby
stantona has joined #ruby
bradhe has quit [Ping timeout: 276 seconds]
Emmanuel_Chanel has quit [Max SendQ exceeded]
Maple__ has quit [Max SendQ exceeded]
tsunamie has quit [Max SendQ exceeded]
benlieb has joined #ruby
jkline has joined #ruby
sambao21 has joined #ruby
tsunamie has joined #ruby
Emmanuel_Chanel has joined #ruby
Maple__ has joined #ruby
<happytux> jhass: so default changed from :build_ci to :help.
<jkline> what directory should I use to store fixtures for rspec testing? foo-gem/fixtures or goo-gem/spec/fixtures or something else?
<jhass> happytux: no, it rather looks amended to me
jeff_for_now has quit [Ping timeout: 246 seconds]
Pulpie has left #ruby [#ruby]
PaulePan1er is now known as PaulePanter
duggiefresh has quit [Remote host closed the connection]
karmatr0_ has joined #ruby
blinkdesign has quit [Ping timeout: 245 seconds]
RaCx has joined #ruby
ItSANgo has quit [Quit: Leaving...]
aantix has joined #ruby
luisjose has joined #ruby
karmatr0n has quit [Ping timeout: 265 seconds]
mradmacher has quit [Ping timeout: 252 seconds]
amargherio has quit [Remote host closed the connection]
sinkensabe has joined #ruby
tonyhb has joined #ruby
GriffinHeart has joined #ruby
BizarreCake has quit [Quit: Leaving]
jtiggo has left #ruby [#ruby]
datafirm has joined #ruby
<shevy> happytux I can't really use C API from ruby, it feels wrong; look at how awful ruby-ncurses is
jobewan has quit [Ping timeout: 260 seconds]
<shevy> happytux what I want to do is to have a huge collection of effect-like manipulation and transformations available from the commandline
<shevy> gimp is killing me
saarinen has quit [Quit: saarinen]
fortunamajor is now known as weems
emsilva has quit [Quit: Keep Walking (Computer Slept!)]
weems has quit [Changing host]
weems has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mercerist has quit [Quit: Computer has gone to sleep.]
lewix has quit [Ping timeout: 260 seconds]
jprovazn has quit [Quit: Odcházím]
Bira has joined #ruby
GriffinHeart has quit [Ping timeout: 265 seconds]
ahofmann has quit [Quit: Computer has gone to sleep.]
pietr0 has quit [Quit: pietr0]
dc has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
dc has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
hpoydar has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 276 seconds]
almostwhitehat has quit [Quit: almostwhitehat]
pietr0 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
niklasb has quit [Quit: WeeChat 0.4.3]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
mitt3ns has joined #ruby
bwilson has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
saarinen has joined #ruby
<csmrfx> shevy dont know bout my ImageMagicks
qwyeth has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
failshell has quit []
robbyoconnor has quit [Excess Flood]
andrewlio has quit [Quit: Leaving.]
cconsta|work has joined #ruby
lemur has joined #ruby
nateberkopec has quit [Quit: Leaving...]
robbyoconnor has joined #ruby
lemur has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
cocotton_ has joined #ruby
lemur has joined #ruby
lemur has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 265 seconds]
beef-wellington has quit [Read error: Connection reset by peer]
beef-wellington has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
jobewan has joined #ruby
kevind_ has joined #ruby
chipotle has joined #ruby
zorak8 has joined #ruby
sambao21 has joined #ruby
<shevy> hmm
<shevy> I'll start with imagemagick anyway
<shevy> there is more than one way to do it!
blinkdesign has joined #ruby
blinkdesign has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
marr has joined #ruby
blinkde__ has joined #ruby
jmurray has quit [Ping timeout: 265 seconds]
Tricon has joined #ruby
jmurray has joined #ruby
kevind has quit [Ping timeout: 240 seconds]
kevind_ is now known as kevind
Parker0 has joined #ruby
cocotton_ has quit [Ping timeout: 260 seconds]
sinkensabe has joined #ruby
dc has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
blinkdes_ has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
djbkd has quit [Remote host closed the connection]
blackmesa has joined #ruby
dc has joined #ruby
hpoydar has joined #ruby
mercerist has joined #ruby
ItSANgo has joined #ruby
ItSANgo_ has joined #ruby
ItSANgo_ has quit [Client Quit]
mercerist has quit [Read error: Connection reset by peer]
mercerist has joined #ruby
rat_thing has quit [Remote host closed the connection]
bricker`work has quit [Ping timeout: 245 seconds]
dc has quit [Remote host closed the connection]
djbkd has joined #ruby
RaCx has quit [Ping timeout: 245 seconds]
dangerousdave has quit [Ping timeout: 265 seconds]
kirun has quit [Quit: Client exiting]
blinkdesign has joined #ruby
bricker`work has joined #ruby
RaCx has joined #ruby
Atttwww has joined #ruby
bwilson has quit [Quit: bwilson]
dc has joined #ruby
blinkde__ has quit [Ping timeout: 252 seconds]
<shevy> guys, you are so sleepy today
nowthatsamatt has quit [Quit: nowthatsamatt]
* apeiros .zZ
beef-wellington has quit [Ping timeout: 260 seconds]
treehug88 has quit []
bricker`work has quit [Ping timeout: 245 seconds]
bricker`work has joined #ruby
blinkdesign has quit [Remote host closed the connection]
blinkdesign has joined #ruby
makerops has quit [Remote host closed the connection]
Parker0_ has joined #ruby
bwilson has joined #ruby
havenwood has joined #ruby
SubSignal has quit [Remote host closed the connection]
dblessing has quit [Quit: dblessing]
jespada has quit [Quit: Leaving]
mijicd has quit [Quit: leaving]
mitt3ns has quit [Read error: Connection reset by peer]
blinkdesign has quit [Ping timeout: 240 seconds]
mitt3ns has joined #ruby
frem__ has joined #ruby
<shevy> hey happytux I got a question
bradhe has joined #ruby
<shevy> why is in imagemagick, by cropping, the top-left the starting point and not the bottom-left?
* crome waves at shevy with a cat
* shevy wields a cat in his left hand
<shevy> ok cat fight
<csmrfx> deep existential questions, shevy
<shevy> csmrfx I think there must be some explanation
claymore has quit [Quit: Leaving]
ixti has joined #ruby
<headius> images usually read and render from top to bottom...maybe that's it?
<shvelo> :
<csmrfx> maybe you can use that cat to coax some explanations from im devs, shevy
frem_ has quit [Ping timeout: 260 seconds]
bricker`work has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
klaut has quit [Remote host closed the connection]
thesheff17 has quit [Ping timeout: 260 seconds]
<shevy> headius you mean like e. g. in a browser too?
<crome> I hate failing tests
katmandoo has quit [Ping timeout: 252 seconds]
<crome> I should delete them
<apeiros> headius: same feeling wrt swift as you. really sad it doesn't seem to get OSS :(
bradhe has quit [Ping timeout: 240 seconds]
<jhass> shevy: like in e.g. dunno, monitors
<apeiros> (was actually one of my first tweets wrt swift)
<headius> shevy: yeah
<headius> scanlines of a buffer, etc
<shevy> jhass that one I don't understand
<jhass> you know, screens, the thing you look at right now
benzrf is now known as benzrf|offline
<headius> right...(1,1) on screen is also upper left
<headius> is there some library you're used to that uses bottom left?
<shevy> hmm
mjsmith2 has quit [Remote host closed the connection]
<jhass> isn't it (0,0) even too?
ndrei has quit [Read error: No route to host]
<headius> yeah yeah :-P
chipotle has quit [Quit: cya]
b1205 has quit [Ping timeout: 276 seconds]
Matip has joined #ruby
Matip has joined #ruby
Matip has quit [Changing host]
CaioTSan has joined #ruby
Mattx has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
<headius> apeiros: yeah...I'd like to play with implementing it, but I hate step 1: write a parser given only their pseudo-BNF
dEPy has joined #ruby
saarinen has joined #ruby
bwilson has quit [Quit: bwilson]
benzrf|offline is now known as benzrf
Notte has quit [Remote host closed the connection]
Slavox|AFK is now known as Slavox
sputnik13 has joined #ruby
bwilson has joined #ruby
bwilson has quit [Client Quit]
sambao21 has joined #ruby
Azulinho has quit [Ping timeout: 260 seconds]
cconsta|work has quit [Remote host closed the connection]
oorst has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
acrussell has quit [Quit: Leaving.]
arrubin has quit []
dc has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 240 seconds]
jobewan has quit [Quit: Leaving]
ryanleesipes has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
bricker`work has joined #ruby
danman has quit [Quit: danman]
parkeror has joined #ruby
riotjones has joined #ruby
dc has joined #ruby
ndrei has joined #ruby
sepp2k has joined #ruby
snath has quit [Ping timeout: 265 seconds]
oorst has quit [Quit: oorst]
riotjone_ has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Remote host closed the connection]
sdwrage_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
ktun has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has joined #ruby
Pici has joined #ruby
mikesplain has quit [Ping timeout: 260 seconds]
sdwrage has quit [Ping timeout: 252 seconds]
jottr_ has joined #ruby
adantj has quit [Ping timeout: 252 seconds]
benzrf is now known as benzrf|offline
alexju has quit [Remote host closed the connection]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ktun has joined #ruby
alexju has joined #ruby
emsilva has joined #ruby
benzrf|offline is now known as benzrf
Mohd__ has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
sinkensabe has quit [Ping timeout: 252 seconds]
benlieb has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
katmandoo has joined #ruby
b1205 has joined #ruby
pothibo has joined #ruby
alexju has quit [Ping timeout: 240 seconds]
emsilva has quit [Client Quit]
aspires has quit []
ProLoser has joined #ruby
<ProLoser> hallo
<csmrfx> hi
<CaioTSan> hallo
aspires has joined #ruby
jezen has quit []
<CaioTSan> my computer is haunted
snath has joined #ruby
<ProLoser> what's the proper way to get sourcemaps for compass/sass?
timonv has joined #ruby
Avahey_ has joined #ruby
emsilva has joined #ruby
<csmrfx> I dont know what is sourcemap, so maybe someone else knows
mitt3ns has quit [Read error: Connection reset by peer]
mitt3ns has joined #ruby
charliesome has joined #ruby
<CaioTSan> gosh, am i the only one with 14 complete years in here?
<shevy> CaioTSan call the witchdoctor
mary5030 has quit [Ping timeout: 276 seconds]
<CaioTSan> hahahaha
<headius> I don't consider any of my years complete
yfeldblum has joined #ruby
<CaioTSan> >14*360 degrees around the sun
<CaioTSan> good enough?
jhass is now known as jhass|off
spider-mario has quit [Remote host closed the connection]
katmandoo has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 252 seconds]
aspires has quit []
<CaioTSan> anyone interested in lecturing me a bit on advanced ruby?
<shevy> CaioTSan what happens if you multiply 14 with 360 degrees?
ghr has joined #ruby
<CaioTSan> shevy: I dunno, 14 complete turns?
<shevy> the only way to advanced ruby is by writing a lot of ruby code
<csmrfx> >> 14*Math::PI
<eval-in> csmrfx => 43.982297150257104 (https://eval.in/160788)
<csmrfx> so, logically, 87.96 happens (radians)
frem__ has quit [Ping timeout: 245 seconds]
<CaioTSan> shevy: even if the most advanced thing i know is arrays?
<shevy> CaioTSan in ruby it is always the same, an array is an object as well
bradleyprice has quit [Remote host closed the connection]
yubrew has quit [Remote host closed the connection]
bradleyprice has joined #ruby
<shevy> but if you did not go beyond arrays then you should look to learn basic ruby first before turning to advanced ruby
<csmrfx> CaioTSan: I would go to confreaks and look for video lectures on the topic that I need to learn next
<CaioTSan> csmrfx: thx
<csmrfx> I am lazy, so it is fun to have someone just show me, with pictures
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Parker0 has quit [Quit: Textual IRC Client: www.textualapp.com]
Parker0_ has quit [Quit: Linkinus - http://linkinus.com]
ghr has quit [Ping timeout: 260 seconds]
Parker0 has joined #ruby
<shevy> ok
<shevy> let's strip and show csmrfx
linojon has quit [Quit: linojon]
<CaioTSan> haha, im so newb to this…
Spami has quit [Quit: This computer has gone to sleep]
slick2 has left #ruby [#ruby]
geggam_ is now known as geggam
<shevy> don't revel in your noobness, write more ruby code
bradleyprice has quit [Ping timeout: 260 seconds]
<shevy> look at benzrf
<shevy> he is young and knows like 15 programming languages
Pici has left #ruby [#ruby]
<csmrfx> oh, mountainwest ruby conf has all flavours of delish presentations http://www.confreaks.com/events/mwrc
nevans has joined #ruby
Parker0 has quit [Client Quit]
<csmrfx> >> "let's".strip!
<eval-in> csmrfx => nil (https://eval.in/160789)
Parker0 has joined #ruby
Parker0 has left #ruby [#ruby]
andrewjanssen has quit [Quit: Leaving...]
<CaioTSan> def strip(who)
<csmrfx> >>"let's".methods
<eval-in> csmrfx => [:<=>, :==, :===, :eql?, :hash, :casecmp, :+, :*, :%, :[], :[]=, :insert, :length, :size, :bytesize, :empty?, :=~, :match, :succ, :succ!, :next, :next!, :upto, :index, :rindex, :replace, :clear, :chr, ... (https://eval.in/160790)
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<CaioTSan> self.who = who
<CaioTSan> who.strip
<CaioTSan> end
<workmad3> CaioTSan: please don't define top-level methods like that :(
<shevy> why do you use self
pietr0 has quit [Quit: pietr0]
<csmrfx> >> def strip(who); self.who = who; who.strip; end; strip "yo momma"
<eval-in> csmrfx => undefined method `who=' for main:Object (NoMethodError) ... (https://eval.in/160791)
<csmrfx> woopla
<CaioTSan> it guy at my school taught me to always use self
<CaioTSan> when inside methods
<CaioTSan> is it wrong?
<shevy> then you must start to replace other people with the thing in your head
Nilium_ has quit [Ping timeout: 240 seconds]
Nilium has joined #ruby
<workmad3> CaioTSan: in what you just wrote... yes
<shevy> just forget what that guy said and you'll live a happier life
pietr0 has joined #ruby
<csmrfx> coul say that: self is useful if you made the object yourself
<shevy> or you might end up dead in a tragic railroad accident, who knows
<workmad3> CaioTSan: I was also meaning 'don't define a top-level method "strip" that just calls .strip on the argument'
<CaioTSan> ok
<csmrfx> hey CaioTSan, you know "ri"?
<CaioTSan> csmrfx: don’t think i do
noob101 has joined #ruby
<csmrfx> ok you want ri
<noob101> Hello guys, how's it going. I always have a question to ask.
<csmrfx> CaioTSan: do you know "irb"?
<CaioTSan> csmrfx: are those packages?
m8 has quit [Quit: Sto andando via]
kpshek has quit []
<csmrfx> CaioTSan: those are little tools that will make you a ruby wizard in no time
<noob101> My question is, What is the terminology for these commonly used things, puts, if, else, end. What is the specific term for these main terms used in ruby?
<csmrfx> CaioTSan: you want to install ri, and if you have ruby you already have irb
<workmad3> Noob101: that's a difficult question to answer, because you've mixed up syntax keywords with methods defined on Kernel there
<noob101> Like are they methods? What are they?
<drizz> if, else and end are keywords
<CaioTSan> csmrfx: oh, irb is integrated ruby whatever?
<drizz> puts is a method
<noob101> workmad3: Oh I am sorry.
<workmad3> Noob101: 'puts' is a method defined on Kernel, if, else, end, are keywords :)
<CaioTSan> csmrfx: i have that
<csmrfx> CaioTSan: ri is like "help" for ruby. irb is a ruby evaluation tool, yes
<workmad3> Noob101: as drizz just said :)
lemur has joined #ruby
<CaioTSan> csmrfx: to get ri is like sudo apt-get ri ?
<noob101> workmad3: so if, else and `are` are keywords in ruby?
<csmrfx> yes, exactamundo
<csmrfx> looks like you have a nice OS, too!
<noob101> workmad3: How do I know if something is a keyword? o_O?
<CaioTSan> csmrfx: actually im on a mac, but i also have a ubuntu
<csmrfx> ri will tell you about objects and methods, like this:
<csmrfx> >> help Object
<eval-in> csmrfx => undefined method `help' for main:Object (NoMethodError) ... (https://eval.in/160792)
<shevy> Noob101 you asked that days ago
<noob101> shevy: I forgot, please forgive me.
<shevy> Noob101 and I gave you this link: http://ruby-doc.org/docs/keywords/1.9/
<csmrfx> oh, lol looks like help doesn't work in irc eval in.
<shevy> you need to write down these things into a file Noob101
codydh has joined #ruby
<shevy> >> test 5
<eval-in> shevy => unknown command "\x05" (ArgumentError) ... (https://eval.in/160793)
<shevy> hmm
<shevy> >> test 5/5
<eval-in> shevy => unknown command "\x01" (ArgumentError) ... (https://eval.in/160794)
<csmrfx> CaioTSan: anyway, you can see all the ruby documentation with ri from your command line
<shevy> >> test 5/0
<noob101> shevy: what are the other things besides keywords called?
<eval-in> shevy => divided by 0 (ZeroDivisionError) ... (https://eval.in/160795)
<shevy> Noob101 hmm? methods?
<shevy> I dont know what you mean with "other things"
<noob101> shevy: Wow. You answered quickly.
<shevy> I am GUESSING
<noob101> shevy: keywords and methods huh, that's what it is?
<CaioTSan> csmrfx: OOOOOHHHH, just found out i already have it
<shevy> I have no idea Noob101
<shevy> but if you are not more specific, then yes, that's the final answer
<noob101> shevy: Are you being sarcastic. :'(
codydh has quit [Client Quit]
<shevy> a tiny bit
<noob101> shevy: I really want to know.
<csmrfx> CaioTSan: well then you have all you need - some use rdoc instead of ri. Ruby, irb and ri.
<shevy> nono
andrewjanssen has joined #ruby
<shevy> Noob101 I am not being sarcastic with the answer - there is no real way to see your unspecific question answered better
<csmrfx> CaioTSan: try ri Array
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<noob101> shevy: Oh ok.
lemur has quit [Ping timeout: 252 seconds]
dc has quit [Remote host closed the connection]
<noob101> shevy: What I am asking is, besides from keywords and methods. Are there any type of any other words/terms used in ruby?
<csmrfx> or: $ ri Array.select
<CaioTSan> csmrfx: now i see i know nothing
<csmrfx> well, ask
<CaioTSan> csmrfx: what is a variant type?
<Sigma00> Noob101: procs, lambdas, blocks
<shevy> Noob101 sure. there are objects, modules, classes, tokens
mikepack has joined #ruby
stantona_ has joined #ruby
<shevy> Noob101 exceptions
<shevy> Noob101 symbols
<csmrfx> CaioTSan: I dont know
<csmrfx> CaioTSan: where did you see that?
sputnik13 has joined #ruby
<CaioTSan> csmrfx: i typed ri array
<CaioTSan> w/o capital letter
bradhe has joined #ruby
<noob101> What the hell are those things lol.
saarinen has quit [Quit: saarinen]
<Sigma00> things you should read about
<noob101> procs, lambdas, blocks all sound so amazing
<csmrfx> CaioTSan: it means alternative notation
<CaioTSan> csmrfx: ri Array though makes much more sense
sputnik13 has quit [Client Quit]
<noob101> Ok, thank you guys for answering my questions. I appreciate it.
<shevy> Noob101 don't try to learn everything in one day; split it up.
<csmrfx> CaioTSan: hehe, never seen "ri array"
sputnik13 has joined #ruby
<csmrfx> cool, I learned something new
<CaioTSan> hehe
<noob101> shevy: It's so intimidating cause sometimes since I am a noob, sometimes I feel the need to learn everything >.<
Valesk has joined #ruby
<noob101> shevy: And I feel I need to do it quick.
<CaioTSan> Noob101: be patient, young grasshopper
<noob101> CaioTSan: Ah! Alrighty.
stantona has quit [Ping timeout: 245 seconds]
<csmrfx> Hey guys, are those WIN32 OLE objects in every ruby or just windows? Cause I am on debian
SilverKey has quit [Ping timeout: 260 seconds]
<CaioTSan> my guess? just windows
<csmrfx> yes, probably an oversight
teddyp1cker has joined #ruby
linojon has joined #ruby
lw has quit [Quit: s]
stantona_ has quit [Ping timeout: 245 seconds]
<csmrfx> CaioTSan: and to conclude, you can look up the objects methods with ri Array::select or ri Array.select
kaspergrubbe has quit [Remote host closed the connection]
<csmrfx> or plain ri select, which will show every matching result
<csmrfx> so, there, now you have all you need to look up ruby stuff, locally even
<csmrfx> thats my 2 cents
<CaioTSan> csmrfx: ohhhh, thank you sir
bradhe has quit [Ping timeout: 260 seconds]
<csmrfx> gl!
karmatr0_ has quit [Remote host closed the connection]
mitt3ns has quit [Read error: Connection reset by peer]
mitt3ns has joined #ruby
<csmrfx> I would probably figure out how ruby runs in memory, or how ruby uses "Processes"
kaspergrubbe has joined #ruby
<csmrfx> +next
<csmrfx> or, just write a small real-world program
<CaioTSan> which would be…?
<csmrfx> which which? 9P
<CaioTSan> i mean, what would it do?
<csmrfx> oh the program?
<CaioTSan> yea hahahah
<csmrfx> well the first program I wrote simulated how a 52 card deck behaves physically
magoo has quit [Quit: WeeChat 0.4.3]
teddyp1cker has quit [Ping timeout: 260 seconds]
<csmrfx> like a simple physical simulation of a real card deck
moritzs has joined #ruby
combusean1 has quit [Quit: Leaving.]
<CaioTSan> ok
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> and the shuffling, in 3 diff ways shuffling can be done
<CaioTSan> ill try it
<CaioTSan> gotta go
<csmrfx> gl!
hpoydar has quit [Remote host closed the connection]
CaioTSan has quit [Quit: CaioTSan]
toastynerd has quit [Remote host closed the connection]
predator117 has joined #ruby
combusean has joined #ruby
<Sigma00> write a script to play 21
<csmrfx> ?
karmatr0n has joined #ruby
GriffinHeart has joined #ruby
mehlah has quit [Quit: Leaving...]
predator217 has quit [Ping timeout: 245 seconds]
<Sigma00> oh, he's gone
lw has joined #ruby
<Sigma00> csmrfx: 21, the card game. he could write a script that lets someone play it
<csmrfx> yea
<Sigma00> it's got simple rules so he could concentrate on ruby
<Sigma00> s/ruby/just ruby/
larissa has quit [Quit: Leaving]
<csmrfx> I often ask people what they are interested in, to help them find something they know well - so easier to focus on learning ruby
hermanmunster has quit [Remote host closed the connection]
hermanmunster has joined #ruby
redondos has quit [Excess Flood]
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
toastyne_ has joined #ruby
toastyne_ has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has quit [Quit: Leaving.]
<csmrfx> oh well, time for an after-rain walk outside
toastynerd has joined #ruby
rOOb has left #ruby [#ruby]
ecksit has joined #ruby
GriffinHeart has quit [Ping timeout: 265 seconds]
<happytux> shevy: sorry, shevy. I was afk.
ukd1 has joined #ruby
<happytux> shevy: still got a question? Yes, I also used imagemagick.
ecksit has left #ruby [#ruby]
Spami has joined #ruby
<happytux> shevy: what kind of effects and transformations you need?
<happytux> jhass|off: amended?
freerobby has quit [Quit: Leaving.]
hermanmunster has quit [Ping timeout: 265 seconds]
benzrf is now known as benzrf|offline
SCommette has quit [Quit: SCommette]
nfk has quit [Quit: yawn]
yubrew has joined #ruby
krz has joined #ruby
Nilium_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Ping timeout: 240 seconds]
Nilium has quit [Ping timeout: 240 seconds]
moritzs has quit [Remote host closed the connection]
mary5030 has joined #ruby
dEPy has quit [Quit: Lingo - http://www.lingoirc.com]
mikecmpbll has quit [Quit: ciao.]
unic0rn has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
toastynerd has joined #ruby
combusean has quit [Quit: Leaving.]
tonyhb has quit [Quit: peace]
momomomomo has quit [Quit: momomomomo]
yubrew has quit [Ping timeout: 260 seconds]
arrubin has joined #ruby
moritzs has joined #ruby
x1337807x has joined #ruby
geggam has quit [Remote host closed the connection]
toastynerd has quit [Ping timeout: 252 seconds]
x1337807x has quit [Client Quit]
hpoydar has joined #ruby
hpoydar has quit [Remote host closed the connection]
hpoydar has joined #ruby
pietr0 has quit [Quit: pietr0]
<shevy> happytux I wish to compile a list of all kind of effects and transformations
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
fresham has quit [Quit: fresham]
dc has joined #ruby
moritzs has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
Bira has quit [Remote host closed the connection]
codezomb has joined #ruby
Elros has joined #ruby
blackgoat has quit [Remote host closed the connection]
vifino has quit [Quit: Ze Cat now leaves...]
blackgoat has joined #ruby
Bira has joined #ruby
jonathanwallace has quit [Ping timeout: 245 seconds]
andrewjanssen has quit [Quit: Leaving...]
jpstokes has quit [Remote host closed the connection]
Uranio has joined #ruby
zigomir has quit [Remote host closed the connection]
andrewjanssen has joined #ruby
sputnik13 has joined #ruby
Takle has quit [Remote host closed the connection]
sputnik13 has quit [Client Quit]
sputnik13 has joined #ruby
nowthatsamatt has joined #ruby
<happytux> shevy: So the criteria would be that it is a native Ruby image library, not a binding?
sputnik13 has quit [Client Quit]
mercerist has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Remote host closed the connection]
<shevy> happytux hmm
<shevy> happytux no, the main criteria is to be able to do a lot of image manipulation; an ideal criteria would be if it were purely Ruby
ghr has joined #ruby
hermanmunster has joined #ruby
nowthatsamatt has quit [Client Quit]
robbyoconnor has quit [Excess Flood]
ukd1 has quit [Quit: Leaving...]
cpruitt_ has joined #ruby
robbyoconnor has joined #ruby
ehc has quit [Quit: ehc]
sdouglas has joined #ruby
benzrf|offline is now known as benzrf
sputnik13 has joined #ruby
kevind has quit [Quit: kevind]
cpruitt has quit [Ping timeout: 260 seconds]
cpruitt_ is now known as cpruitt
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
benlieb has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
Uranio has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
jkline has quit [Quit: jkline]
ephemerian has quit [Remote host closed the connection]
Elros is now known as CaioTSan
aspires has joined #ruby
CaioTSan is now known as Elros
Elros is now known as CaioTSan
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Ping timeout: 252 seconds]
codydh has joined #ruby
<CaioTSan> Hey
mitt3ns has quit [Read error: Connection reset by peer]
Takle has quit [Read error: Connection reset by peer]
mitt3ns has joined #ruby
Takle has joined #ruby
<CaioTSan> If i have a loop that creates objects, can the names of the objects change as with the loop? like, on the first go it creates Object1, on the second go ot creates Object2 and so on?
mattmcclure has quit [Quit: Connection closed for inactivity]
mikesplain has joined #ruby
zkay11 has joined #ruby
bmurt has joined #ruby
<jle`> CaioTSan: the class?
<jle`> or just like a string given to the object to be its name?
<CaioTSan> i mean, i have a class, with a few parameters. Each loop changes these parameters and so I’d like to save the newly created objects with different names
bradhe has joined #ruby
Arkaniad has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
jmurray has quit [Quit: jmurray]
<wallerdev_> sounds like you want an array
jkline has joined #ruby
newUser1234 has quit [Remote host closed the connection]
<CaioTSan> OOhhhhh, you mean like, list[n]=object.new ?
<CaioTSan> sounds like right
nyamx2 has joined #ruby
karmatr0n has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 260 seconds]
cpruitt has quit [Quit: cpruitt]
wjimenez5271 has quit [Quit: Leaving.]
sdouglas has quit [Remote host closed the connection]
KLVTZ has quit [Ping timeout: 260 seconds]
Newman has joined #ruby
<Newman> Anyone have any experience with Sidekiq?
anibara has quit [Quit: anibara]
<wallerdev_> CaioTSan: yeah pretty much
<CaioTSan> thank you
nyamx2 has quit [Ping timeout: 265 seconds]
<shevy> Newman I often feint a frontlegkick, then swing the leg sideways into a sidekiq
sepp2k1 has joined #ruby
<Newman> lol shevy - well played
<shevy> CaioTSan keep in mind the first character upcased, so object.new should be Object.new
<CaioTSan> I did it in my code, just forgot to put it here :p
sepp2k has quit [Ping timeout: 260 seconds]