apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
enebo has quit [Quit: enebo]
apeiros_ has joined #ruby-lang
rkowalick has joined #ruby-lang
j4cknewt has joined #ruby-lang
charliesome has joined #ruby-lang
apeiros_ has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
ur5us has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 255 seconds]
chadwtaylor has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
shinnya has quit [Ping timeout: 255 seconds]
j4cknewt has quit [Read error: Connection reset by peer]
elia has quit [Quit: Computer has gone to sleep.]
j4cknewt has joined #ruby-lang
nathanstitt has joined #ruby-lang
rkowalick has quit [Quit: leaving]
joast has joined #ruby-lang
joast has quit [Client Quit]
centrx has quit [Ping timeout: 265 seconds]
dagda1_ has quit [Ping timeout: 244 seconds]
pwnz0r has joined #ruby-lang
ruby-lang160 has joined #ruby-lang
joast has joined #ruby-lang
joast has quit [Client Quit]
j4cknewt has quit [Remote host closed the connection]
taylorrf has quit [Remote host closed the connection]
solars has quit [Ping timeout: 256 seconds]
dagda1 has joined #ruby-lang
LMity has joined #ruby-lang
centrx has joined #ruby-lang
<ruby-lang160> Is there a way to use alias with an open struct? https://gist.github.com/anonymous/1e486118c3f33ba0dca0
auzty has joined #ruby-lang
auzty has quit [Max SendQ exceeded]
bantic has quit [Quit: bantic]
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
auzty has joined #ruby-lang
auzty has quit [Max SendQ exceeded]
auzty has joined #ruby-lang
pwnz0r has quit [Ping timeout: 250 seconds]
LMity has quit [Ping timeout: 265 seconds]
<bnagy> ruby-lang160: https://eval.in/287428 can't repro on 2.2?
<ruby-lang160> it prints a blank... i'm not sure what to call it
smoitra has joined #ruby-lang
<ruby-lang160> that's what i"m getting as output too.
<ruby-lang160> And I was running 1.9.3
<ruby-lang160> The point is that the alias doesn't seem to work in openstruct like it does in class
<ruby-lang160> I was wondering if I'm missing something or if this just doesn't work at all
tunaCanBruh has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 250 seconds]
j4cknewt has joined #ruby-lang
hendranata_ has joined #ruby-lang
maso has joined #ruby-lang
oleo is now known as Guest61683
oleo__ has joined #ruby-lang
<bnagy> you can probably define a method on it
<bnagy> you might not be able to use the alias keyword because of how lookups work with method_missing
roamingdog has quit [Remote host closed the connection]
<bnagy> easiest thing imho is not to use ostruct because it's stupid
<ruby-lang160> just use a class?
<bnagy> maybe look at a DelegateClass to Hash ( based on what it looks like you're doing )
<bnagy> then use it like you would use a Hash but add extra methods
<bnagy> which is different to subclassing Hash which is awful ( again imho )
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bnagy> some of this is unpopular opinion puffin these days
Guest61683 has quit [Ping timeout: 264 seconds]
<ruby-lang160> I see. I'm not familiar with DelegateClass but I'll look into it. Thanks for the response
symm- has quit [Ping timeout: 240 seconds]
marr has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
joast has joined #ruby-lang
joast has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
joast has joined #ruby-lang
<smoitra> hello I have tried to implement hash_table not working as expected https://github.com/xw19/hash_table/blob/master/hash_table.rb
<smoitra> My linked list implemntation https://github.com/xw19/linked_list
j4cknewt has quit [Read error: Connection reset by peer]
<darix> smoitra: you might like https://github.com/kanwei/algorithms/ if you keep implementing data structures
taylorrf has joined #ruby-lang
j4cknewt has joined #ruby-lang
<smoitra> darix: Actually I made linked_list as gem in mind and till hash_table just for practice since I have not implemented good has_function and since arrays in ruby are dynamic I dont think there is much use of hash table
redmage has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
taylorrf has quit [Ping timeout: 264 seconds]
dorei has quit []
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
amsi has quit [Quit: Leaving]
roamingdog has quit [Ping timeout: 250 seconds]
Fooster has joined #ruby-lang
smoitra has quit [Quit: Leaving]
havenwood has quit []
michael_imac is now known as michael_mbp
mkaesz has joined #ruby-lang
chadwtaylor has joined #ruby-lang
Fooster has quit [Ping timeout: 264 seconds]
b_hoffman has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
mkaesz has quit [Ping timeout: 256 seconds]
ruby-lang160 has quit [Quit: Page closed]
chadwtaylor has quit [Ping timeout: 265 seconds]
mmoretti has quit []
duderonomy has joined #ruby-lang
djbkd has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
b_hoffman has joined #ruby-lang
bodgix_wrk has quit [Quit: Connection closed for inactivity]
ledestin has joined #ruby-lang
jdecuirm has quit [Remote host closed the connection]
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 265 seconds]
lytol has quit [Remote host closed the connection]
jdecuirm has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
amclain has joined #ruby-lang
auzty has quit [Quit: Leaving]
vipaca has joined #ruby-lang
blokc has joined #ruby-lang
hahuang62 has joined #ruby-lang
jo__ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
blokc has quit [Quit: blokc]
taylorrf has joined #ruby-lang
taylorrf has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
auzty has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
Miphix has joined #ruby-lang
redmage has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
fujimura has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby-lang
gr33n7007h has quit [Ping timeout: 250 seconds]
ghostpl_ has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
gr33n7007h has joined #ruby-lang
mkaesz has joined #ruby-lang
j4cknewt has quit [Ping timeout: 252 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
gr1zzlybe4r has joined #ruby-lang
smoitra has joined #ruby-lang
<gr1zzlybe4r> what is the 'ruby' way of iterating through a 2D array? Like how would I do what's in the comment of this pastebin? http://pastebin.com/YsmMfjtX
iamninja has quit [Ping timeout: 240 seconds]
<jhass> gr1zzlybe4r: if applicable check matrix stdlib, otherwise Array#assoc and Array#rassoc might be handy. To fully iterate just two nested .each/.each_with_index/array.size.times
redmage has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mkaesz has quit [Ping timeout: 240 seconds]
iamninja has joined #ruby-lang
<gr1zzlybe4r> ok ill look at matrix
j4cknewt has joined #ruby-lang
<smoitra> hello I have tried to implement hash_table not working as expected https://github.com/xw19/hash_table/blob/master/hash_table.rb My linked list implemntation https://github.com/xw19/linked_list please some one help me
gwendall has quit []
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby-lang
scampbell has joined #ruby-lang
DivineEntity has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
jdecuirm has quit [Remote host closed the connection]
<jhass> "not working as expected" and we shall guess what it does and what you expect instead?
lytol has joined #ruby-lang
jdecuirm has joined #ruby-lang
chadwtaylor has joined #ruby-lang
piotrj has joined #ruby-lang
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lytol has quit [Remote host closed the connection]
scampbell has quit [Quit: Leaving]
pepperbreath has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
duderonomy has quit [Read error: Connection reset by peer]
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
hakunin has joined #ruby-lang
smoitra has quit [Quit: Leaving]
tunaCanBruh has quit [Ping timeout: 252 seconds]
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 244 seconds]
mkaesz has joined #ruby-lang
gr1zzlybe4r has quit [Ping timeout: 246 seconds]
lytol has joined #ruby-lang
kapil___ has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt_ has quit [Ping timeout: 265 seconds]
mkaesz has quit [Ping timeout: 264 seconds]
matp has quit [Ping timeout: 255 seconds]
j4cknewt_ has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
chadwtaylor has quit [Remote host closed the connection]
kyb3r_ has joined #ruby-lang
ghostpl_ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
taylorrf has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 246 seconds]
taylorrf has quit [Ping timeout: 255 seconds]
amystephen has quit [Quit: amystephen]
ur5us has quit [Ping timeout: 250 seconds]
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
simi has quit [Ping timeout: 264 seconds]
arooni-mobile has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
gix has quit [Ping timeout: 265 seconds]
Antivan has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
gix has joined #ruby-lang
lsegal has joined #ruby-lang
AKASkip has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
iamninja has quit [Ping timeout: 245 seconds]
amclain has quit [Quit: Leaving]
djellemah has joined #ruby-lang
arquebus has joined #ruby-lang
j4cknewt has joined #ruby-lang
Fooster has joined #ruby-lang
Torrieri has quit [Ping timeout: 244 seconds]
Torrieri has joined #ruby-lang
Fooster has quit [Ping timeout: 264 seconds]
yellowgh0st has joined #ruby-lang
j4cknewt has quit [Ping timeout: 252 seconds]
tunaCanBruh has joined #ruby-lang
ur5us has joined #ruby-lang
j4cknewt has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby-lang
ur5us has quit [Ping timeout: 256 seconds]
cornerman has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
cornerma1 has quit [Ping timeout: 240 seconds]
j4cknewt has joined #ruby-lang
piotrj has quit [Ping timeout: 246 seconds]
piotrj has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
smoitra has joined #ruby-lang
mkaesz has joined #ruby-lang
smoitra has quit [Remote host closed the connection]
kyb3r_ has quit [Quit: Leaving]
jdecuirm has quit [Quit: No Ping reply in 180 seconds.]
jdecuirm has joined #ruby-lang
mkaesz has quit [Ping timeout: 244 seconds]
lytol has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
taylorrf has joined #ruby-lang
Antivan has quit [Quit: Textual IRC Client: www.textualapp.com]
taylorrf has quit [Ping timeout: 255 seconds]
ghostpl_ has quit [Ping timeout: 246 seconds]
mattyohe has quit [Quit: Connection closed for inactivity]
roamingdog has quit [Remote host closed the connection]
TvL2386 has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 252 seconds]
j4cknewt has joined #ruby-lang
AlxAlt has quit [Quit: Leaving]
j4cknewt_ has quit [Ping timeout: 252 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
diegoviola has quit [Remote host closed the connection]
kohgpat has joined #ruby-lang
wallerdev has joined #ruby-lang
LMity has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
yellowgh0st has joined #ruby-lang
arquebus has quit [Quit: konversation]
j4cknewt has joined #ruby-lang
gianlucadv has joined #ruby-lang
yellowgh0st has quit [Ping timeout: 246 seconds]
yellowgh0st has joined #ruby-lang
jdecuirm has quit [Ping timeout: 240 seconds]
jdecuirm has joined #ruby-lang
yellowgh0st has quit [Client Quit]
djbkd has quit [Quit: Leaving...]
yellowgh0st has joined #ruby-lang
LMity has quit [Ping timeout: 264 seconds]
Averna has quit [Quit: Leaving.]
Mon_Ouie has quit [Ping timeout: 265 seconds]
mkaesz has joined #ruby-lang
mkaesz has quit [Ping timeout: 240 seconds]
solars has joined #ruby-lang
matp has joined #ruby-lang
ur5us has joined #ruby-lang
havenwood has joined #ruby-lang
yellowgh0st_ has joined #ruby-lang
yellowgh0st has quit [Ping timeout: 250 seconds]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
mrod has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
symm- has joined #ruby-lang
lytol has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 265 seconds]
yellowgh0st_ has quit [Quit: yellowgh0st_]
Musashi007 has joined #ruby-lang
allomov has joined #ruby-lang
ghostpl_ has joined #ruby-lang
mkaesz has joined #ruby-lang
mathie has joined #ruby-lang
arBmind has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 252 seconds]
strixd has joined #ruby-lang
mrod has quit [Quit: Page closed]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
Bwild has quit [Ping timeout: 265 seconds]
mkaesz has joined #ruby-lang
taylorrf has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby-lang
pwnz0r has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
taylorrf has quit [Ping timeout: 250 seconds]
kr3ssh has joined #ruby-lang
piotrj has quit [Read error: Connection reset by peer]
pwnz0r has quit [Ping timeout: 240 seconds]
kohgpat has quit [Ping timeout: 245 seconds]
qba73 has joined #ruby-lang
marr has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
terpo has joined #ruby-lang
j4cknewt has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby-lang
piotrj has joined #ruby-lang
kohgpat has joined #ruby-lang
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghostpl_ has joined #ruby-lang
iffyuva has joined #ruby-lang
mathie has joined #ruby-lang
elia has joined #ruby-lang
Torrieri has quit [Ping timeout: 250 seconds]
Thylacinelol has joined #ruby-lang
AKASkip has quit [Ping timeout: 256 seconds]
apeiros_ has joined #ruby-lang
havenwood has quit []
j4cknewt has quit [Read error: Connection reset by peer]
fusillicode has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
maso has quit [Remote host closed the connection]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lytol has quit [Remote host closed the connection]
iffyuva has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
mkaesz has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
Fooster has joined #ruby-lang
j4cknewt has quit [Ping timeout: 250 seconds]
arBmind has quit [Quit: Leaving.]
j4cknewt has joined #ruby-lang
Fooster has quit [Ping timeout: 264 seconds]
adammcarth has joined #ruby-lang
j4cknewt_ has quit [Ping timeout: 256 seconds]
<adammcarth> Hey. I'm trying to run `bundle install` from a shell script I made (.sh file) for my ruby Sinatra application. When I run the script without sudo (sh deploy.sh), it works fine, but when I run it with sudo (sudo sh deploy.sh) I get an error saying the bundle command is not found... The script MUST be run with sudo (due to other commands in it). How can I get bundler to work!?! :) PS: I've tried `sudo -u ec2-user bundle install
<adammcarth> Obviously you can't run sudo bundle install
<adammcarth> so I'm not sure how to go about fixing this
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 256 seconds]
<yorickpeterse> morning
tunaCanBruh has joined #ruby-lang
<adammcarth> mornin'
mkaesz has quit [Read error: No route to host]
j4cknewt_ has quit [Ping timeout: 256 seconds]
tunaCanBruh has quit [Ping timeout: 240 seconds]
mkaesz has joined #ruby-lang
<Eising> adammcarth: are you using rvm?
j4cknewt has joined #ruby-lang
tkuchiki has quit [Ping timeout: 252 seconds]
mkaesz has quit [Read error: No route to host]
mkaesz has joined #ruby-lang
kohgpat has quit [Quit: leaving]
<adammcarth> Eising: yeah I am
<adammcarth> using ruby 2.2.0
<adammcarth> with rvm
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
j4cknewt has quit [Read error: Connection reset by peer]
taylorrf has joined #ruby-lang
j4cknewt has joined #ruby-lang
Integralist has joined #ruby-lang
hendranata_ has quit [Quit: Leaving]
taylorrf has quit [Ping timeout: 246 seconds]
shawnatyger has quit [Quit: ZNC - http://znc.in]
<adammcarth> Eising: Any ideas?
arBmind has joined #ruby-lang
benlovell has joined #ruby-lang
<Eising> adammcarth: yeah, sudo doesn't remember your environment, which is why it can't find the bundle command
jo__ has quit [Quit: Connection closed for inactivity]
<Eising> adammcarth: bundle should call sudo by itself, so no need to call your script with sudo, or call sudo individually when you need it in your script?
mikecmpbll has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
fusillicode has quit [Read error: Connection reset by peer]
<adammcarth> mhmmmm
<adammcarth> Eising: It's just that most of the commands inside the script require sudo to run
<adammcarth> Eising: And I heard using sudo inside of a script is really shitty practice
kr3ssh has quit [Ping timeout: 256 seconds]
ur5us has quit [Remote host closed the connection]
piotrj_ has joined #ruby-lang
kr3ssh has joined #ruby-lang
<wnd> if you really absolutely must use sudo, you can configure sudo keep environment (for particular commands)
piotrj has quit [Ping timeout: 264 seconds]
<Eising> adammcarth: okay, well, since the problem is PATH, just set the PATH in the beginning of the script (along with other RVM envs maybe if needed)
mkaesz has quit [Read error: Connection reset by peer]
<Eising> adammcarth: set PATH, GEM_HOME, GEM_PATH, MY_RUBY_HOME and RUBY_VERSION in the top of the script
charliesome has joined #ruby-lang
<Eising> adammcarth: maybe rvm_prefix, rvm_path and rvm_bin_path also, but not sure
piotrj_ has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby-lang
j4cknewt has joined #ruby-lang
piotrj has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
piotrj has quit [Read error: Connection reset by peer]
piotrj has joined #ruby-lang
j4cknewt has quit [Ping timeout: 246 seconds]
j4cknewt has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
Integral1st has joined #ruby-lang
Integralist has quit [Ping timeout: 250 seconds]
piotrj has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
b_hoffman has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
AKASkip has joined #ruby-lang
fusillicode has joined #ruby-lang
mkaesz has joined #ruby-lang
tkuchiki has quit [Ping timeout: 250 seconds]
piotrj has joined #ruby-lang
arBmind has quit [Ping timeout: 256 seconds]
arBmind has joined #ruby-lang
j4cknewt has quit [Ping timeout: 255 seconds]
pepperbreath has quit [Ping timeout: 264 seconds]
mathie has joined #ruby-lang
j4cknewt has joined #ruby-lang
fujimura has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
b_hoffman has quit [Quit: b_hoffman]
tunaCanBruh has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby-lang
taylorrf has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 264 seconds]
benlovell has quit [Ping timeout: 264 seconds]
taylorrf has quit [Ping timeout: 250 seconds]
stamina has joined #ruby-lang
Guest76 has joined #ruby-lang
Guest76 has quit [Client Quit]
ur5us has joined #ruby-lang
loveablelobster has joined #ruby-lang
loveablelobster has quit [Client Quit]
loveablelobster has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby-lang
qba73 has quit []
terpo has quit []
mkaesz has quit [Read error: Connection reset by peer]
malev has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
skyrocker has quit [Quit: Leaving.]
skyrocker has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Miphix has quit [Read error: Connection reset by peer]
piotrj has quit [Remote host closed the connection]
pepperbreath has joined #ruby-lang
Vivex has joined #ruby-lang
bruno- has joined #ruby-lang
benlovell has joined #ruby-lang
bruno- has quit [Ping timeout: 265 seconds]
taylorrf has joined #ruby-lang
bruno- has joined #ruby-lang
taylorrf has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby-lang
bruno- has quit [Ping timeout: 255 seconds]
fusillicode has quit [Ping timeout: 245 seconds]
fujimura has joined #ruby-lang
yellowgh0st has joined #ruby-lang
mnilsson has quit [Remote host closed the connection]
riffraff has joined #ruby-lang
shinnya has joined #ruby-lang
yellowgh0st has quit [Client Quit]
kapil___ has quit [Quit: Connection closed for inactivity]
bruno- has joined #ruby-lang
mnilsson has joined #ruby-lang
postmodern has quit [Quit: Leaving]
bruno- has quit [Ping timeout: 255 seconds]
yellowgh0st has joined #ruby-lang
piotrj has joined #ruby-lang
sankaber has joined #ruby-lang
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has joined #ruby-lang
mathie has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Fooster has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
bruno- has quit [Ping timeout: 246 seconds]
yellowgh0st has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
Fooster has quit [Ping timeout: 264 seconds]
auzty has quit [Quit: Leaving]
<dagda1> how can I set up routing to work in a multitenant appliation where each client has its own subdoman, e.g. myapp.com/customer
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
matled has quit [Remote host closed the connection]
matled has joined #ruby-lang
<yorickpeterse> dagda1: assuming Rails you'd have to set up a wildcard
<yorickpeterse> e.g. set up so that myapp.com/customer/foo is translated to myapp.com/foo with some variable set to "customer"
tunaCanBruh has joined #ruby-lang
benlovell has quit [Ping timeout: 265 seconds]
<dagda1> yorickpeterse: how would the variable get set?
matled has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
kapil___ has joined #ruby-lang
matled has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
<yorickpeterse> You'd have to set up your routes so that myapp.com/customer/X points to some generic controller, which then sets the customer ID/name/etc
<yorickpeterse> That controller then would forward you to the actual one (/X in this case)
tunaCanBruh has quit [Ping timeout: 264 seconds]
<yorickpeterse> IIRC Rails had some way of adding hooks I believe to routes
<yorickpeterse> granted this is easier using subdomains
bruno- has quit [Ping timeout: 246 seconds]
LMity has joined #ruby-lang
fusillicode has joined #ruby-lang
<dagda1> yorickpeterse: I could use rack middleware also
<yorickpeterse> You'd have to expose the variable in the Rack environment then
<yorickpeterse> (something that is not a global variable )
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shtirlic has quit [Quit: ZNC - http://znc.in]
shtirlic has joined #ruby-lang
chouhoulis has joined #ruby-lang
<dagda1> yorickpeterse: something similar to how current_user works
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
b_hoffman has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
intinig has joined #ruby-lang
Integral1st has quit [Ping timeout: 240 seconds]
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
Fooster has joined #ruby-lang
tkuchiki has joined #ruby-lang
bruno- has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
yellowgh0st has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
LMity has quit [Ping timeout: 245 seconds]
yellowgh0st has joined #ruby-lang
scampbell has joined #ruby-lang
mathie has joined #ruby-lang
bruno- has quit [Ping timeout: 255 seconds]
Fooster has quit [Remote host closed the connection]
<yorickpeterse> You probably still have to remove the /customer bit from the URL though
sideshowcoder has quit [Ping timeout: 246 seconds]
<yorickpeterse> unless Rails lets you do something like `namespace ':customer' { ... }`
yellowgh0st has quit [Quit: yellowgh0st]
sideshowcoder has joined #ruby-lang
yellowgh0st has joined #ruby-lang
bruno- has joined #ruby-lang
yellowgh0st has quit [Client Quit]
yellowgh0st has joined #ruby-lang
taylorrf has joined #ruby-lang
yellowgh0st has quit [Client Quit]
yellowgh0st has joined #ruby-lang
yellowgh0st has quit [Client Quit]
yellowgh0st has joined #ruby-lang
taylorrf has quit [Read error: No route to host]
bruno- has quit [Ping timeout: 246 seconds]
taylorrf has joined #ruby-lang
yellowgh0st has quit [Client Quit]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<DefV> rails does
scampbell has quit [Ping timeout: 252 seconds]
b_hoffman has quit [Quit: b_hoffman]
b_hoffman has joined #ruby-lang
ghostpl_ has joined #ruby-lang
malconis has joined #ruby-lang
malconis has quit [Remote host closed the connection]
fujimura has quit [Remote host closed the connection]
piotrj_ has joined #ruby-lang
piotrj has quit [Ping timeout: 246 seconds]
malconis has joined #ruby-lang
adammcarth has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby-lang
<yorickpeterse> wat
sirfilip has joined #ruby-lang
<apeiros> lolwat?
Integralist has joined #ruby-lang
<yorickpeterse> Ruby
<yorickpeterse> all about developer happiness
<apeiros> I'm unhappy. obviously I need more ruby.
<yorickpeterse> been there since 2004
<yorickpeterse> "TODO:
<yorickpeterse> - * random IV generation!"
<yorickpeterse> ha
<yorickpeterse> That never happens
<yorickpeterse> "TODO: fix this"
<yorickpeterse> 10 years later
yfeldblum has quit [Ping timeout: 264 seconds]
<yorickpeterse> and apparently the deprecation notice has been there since 2004 as well
benlovell has joined #ruby-lang
<apeiros> that's a cosmological blink of an eye!
ArchRogem has joined #ruby-lang
<apeiros> you only find it long because these meatsack vessels have such a limited expiration date
piotrj has joined #ruby-lang
iamninja has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
the_real_intinig has joined #ruby-lang
<chris2> if you wanted security, you'd use rbnacl anyway :P
yellowgh0st has joined #ruby-lang
intinig has quit [Ping timeout: 246 seconds]
piotrj_ has quit [Ping timeout: 265 seconds]
sankaber has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 252 seconds]
mathie has joined #ruby-lang
j4cknewt has joined #ruby-lang
<DefV> I have the sad feeling that most developers who work on this stuff were like "THIS SHIT IS HARD, LET'S JUST GET IT WORKING AND GET ON WITH IT"
Integral1st has joined #ruby-lang
<yorickpeterse> That applies to pretty much everything
<apeiros> charliesome: ping
<charliesome> pong
j4cknewt has quit [Ping timeout: 246 seconds]
<apeiros> mind a message in the query?
<charliesome> sure
bruno- has joined #ruby-lang
jo__ has joined #ruby-lang
Integralist has quit [Ping timeout: 256 seconds]
tkuchiki has quit [Remote host closed the connection]
pizzaops has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
bruno- has quit [Ping timeout: 255 seconds]
benlovell has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby-lang
oleo__ has quit [Ping timeout: 256 seconds]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
Miphix has joined #ruby-lang
oleo has quit [Quit: Verlassend]
lsegal has joined #ruby-lang
whippythellama has joined #ruby-lang
b_hoffman has joined #ruby-lang
oleo has joined #ruby-lang
morfeen has joined #ruby-lang
ArchRogem has joined #ruby-lang
the_real_intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
bruno- has quit [Quit: Lost terminal]
ArchRogem has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
ArchRogem has joined #ruby-lang
banister has joined #ruby-lang
arooni-mobile has joined #ruby-lang
imperator has joined #ruby-lang
DynamicMetaFlow has joined #ruby-lang
<DynamicMetaFlow> Hello everyone!
sankaber has quit [Quit: Textual IRC Client: www.textualapp.com]
<morfeen> hi
<imperator> good morning
DynamicMetaFlow has quit [Ping timeout: 246 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
charliesome has quit [Quit: zzz]
<yorickpeterse> "NameError: uninitialized constant AWS::Core::Signers::Version4::OpenSSL"
<yorickpeterse> YAY AWS SDK
<yorickpeterse> more loading errors
<yorickpeterse> autoloading thread-safe my butt
<yorickpeterse> (this is JRuby btw)
<yorickpeterse> clearly JRuby is bugged here because this doesn't happen on MRI
benlovell has joined #ruby-lang
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
centrx has joined #ruby-lang
centrx has quit [Remote host closed the connection]
centrx has joined #ruby-lang
fujimura has joined #ruby-lang
centrx has quit [Client Quit]
sankaber has joined #ruby-lang
ArchRogem has joined #ruby-lang
bruno- has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
mkaesz has quit [Read error: No route to host]
bruno- has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby-lang
morfeen has quit [Ping timeout: 246 seconds]
ruskie has quit [Quit: ...]
nathanstitt has joined #ruby-lang
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
toretore has joined #ruby-lang
mathie has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
seank_ has quit []
arooni-mobile has quit [Ping timeout: 252 seconds]
yellowgh0st has joined #ruby-lang
gr33n7007h has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby-lang
seank_ has joined #ruby-lang
<DynamicMetaFlow> Hello once again I apologize I got disconnected.
<DynamicMetaFlow> Thank you for those who say hi I felt welcomed!
<DynamicMetaFlow> said*
b_hoffman has quit [Quit: b_hoffman]
ghostpl_ has quit [Remote host closed the connection]
<DynamicMetaFlow> I apologize ahead of time if this is not the correct channel to ask questions, if its not I would be grateful if someone could redirect me.
<imperator> go ahead
<DynamicMetaFlow> I am personally teaching myself computer programming and started with Python and have read a few books but haven't programmed anything. Unfortunately there is this great project I'm eager to work on but due to lack of a library for this web application called Trello I can't write it there. Although there is this Ruby library that mostly covers everything in the Trello API so I'm trying to work with that so far.
intinig has quit [Remote host closed the connection]
<DynamicMetaFlow> For those interested its http://www.rubydoc.info/gems/ruby-trello/
ruskie has joined #ruby-lang
mando_ has joined #ruby-lang
intinig has joined #ruby-lang
bruno- has joined #ruby-lang
vipaca has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
yellowgh0st has joined #ruby-lang
yellowgh0st has quit [Client Quit]
yellowgh0st has joined #ruby-lang
<DynamicMetaFlow> Essentially what I'm trying to do is create an application that is text based uing teminal which would be of the fasion similar to "What action(s) do you want to perform? 1 - Create a card http://www.rubydoc.info/gems/ruby-trello/Trello/Card.create 2 - Create a list http://www.rubydoc.info/gems/ruby-trello/Trello/List.create 3 - Create a board http://www.rubydoc.info/gems/ruby-trello/Trello/Board.create"
ghostpl_ has joined #ruby-lang
<DynamicMetaFlow> where 1 represents a keystroke for interface, I have the authentication done with Trello, its user token and API but for some reason I don't understand how to properly use the Card.create
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
<DynamicMetaFlow> If anyone can help that would be great if not i completely understand. But I will keep working through this to understand it better.
<jhass> Best is if you could show some code and the error you get, or the behavior you get vs the behavior you expect
<DynamicMetaFlow> jhass, thank you. I will do that. Could you perhaps recommend me a website where I can paste the code that would be appropiate for viewing? I don't want to spam the IRC too much.
<jhass> gist.github.com
<waxjar> it expects a hash with options in it. it's a bit unfortunate that the keys aren't documented, but if you click "view source" you can see what it expects :)
<jhass> takes multiple files, if you have a github account sign in and you can update them
loveablelobster has quit [Quit: Textual IRC Client: www.textualapp.com]
intinig has quit [Remote host closed the connection]
benlovell has quit [Read error: Connection reset by peer]
<DynamicMetaFlow> Thank you both, I do have a github but haven't used it so it would be my first time. Scary and empowering at the same time so thank you
intinig has joined #ruby-lang
mattyohe has joined #ruby-lang
<DynamicMetaFlow> If anyone of you live in MA i would treat you to a beverage of your choice so thank you!
donovan has joined #ruby-lang
fusillicode has quit [Ping timeout: 255 seconds]
<DynamicMetaFlow> I am so happy right now I got it working!
oleo has quit [Ping timeout: 240 seconds]
<DynamicMetaFlow> I was working on this for hours to understand it but somehow got it working now. :)
oleo has joined #ruby-lang
<DynamicMetaFlow> I have a question can anyone recommend me a book that describes the process one should do before writing a program?
<DynamicMetaFlow> I took a pre-programming class in college about 10 years ago
<DynamicMetaFlow> I can understand Python for the most part and going to have to learn Ruby again but I've sketched out some of my ideass but I kinda want some form of refresher. Like one that wouls say write purpose, variable names, def etc
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mathie has joined #ruby-lang
seank__ has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
banister is now known as banisterfiend
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tenderlove has quit [Quit: Leaving...]
tenderlove has joined #ruby-lang
rippa has joined #ruby-lang
seank_ has quit [Ping timeout: 250 seconds]
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> DynamicMetaFlow: http://rubykoans.com/
taylorrf_ has joined #ruby-lang
centrx has joined #ruby-lang
Integral1st has quit [Ping timeout: 265 seconds]
taylorrf has quit [Read error: Connection reset by peer]
<DynamicMetaFlow> Thank you
<jhass> Chris Pine's Learn to program is often recommended, didn't read it myself though
<DynamicMetaFlow> I will check out the website and book, my goal is to write a Trello cli using Ruby-Trello since it has the best library support for the API
<DynamicMetaFlow> This will be my first project so I'm happy about this endeavor
havenwood has joined #ruby-lang
b_hoffman has joined #ruby-lang
donovan has quit [Remote host closed the connection]
vipaca has joined #ruby-lang
mikecmpb_ has joined #ruby-lang
mikecmpbll has quit [Read error: Connection reset by peer]
donovan has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
terpo has joined #ruby-lang
j4cknewt has joined #ruby-lang
b_hoffman has quit [Ping timeout: 250 seconds]
piotrj has joined #ruby-lang
fusillicode has joined #ruby-lang
|jemc| has joined #ruby-lang
DynamicMetaFlow has quit [Quit: Page closed]
b_hoffman has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
Integralist has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
mkaesz has joined #ruby-lang
piotrj has quit []
mnilsson has quit [Ping timeout: 250 seconds]
Integralist has quit [Client Quit]
yellowgh0st has joined #ruby-lang
bruno- has quit [Read error: Connection reset by peer]
malev has joined #ruby-lang
DynamicMetaFlow has joined #ruby-lang
<DynamicMetaFlow> Does anyone know how to download documentation from YARD?
slawrence00 has joined #ruby-lang
<jhass> DynamicMetaFlow: you can do gem install yard and then do yard server -g to get a local documentation server for all the gems you have installed
<DynamicMetaFlow> Thank you jhass once again
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<imperator> c extension writers, do you write custom c functions for regexps, or do you just use rb_cRegexp + funcall?
roamingdog has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
DynamicMetaFlow has quit [Ping timeout: 246 seconds]
sirfilip has quit [Quit: Leaving]
DivineEntity has quit [Ping timeout: 256 seconds]
j4cknewt has joined #ruby-lang
chinmay_dd has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
Thylacinelol has quit [Quit: Lost terminal]
thebastl has joined #ruby-lang
roamingdog has joined #ruby-lang
NameNotFound has joined #ruby-lang
<NameNotFound> helo?
mmoretti has joined #ruby-lang
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mathie has joined #ruby-lang
DivineEntity has joined #ruby-lang
<jhass> NameNotFound: just ask your question ;)
seank__ has quit []
<NameNotFound> okay do you know this ruby error? https://gist.github.com/MoritzFago/f925c4632913c52cea70 oh i don´t use rvm
<jhass> looks like a gem install?
<jhass> if so you run it without sufficient permissions
alakran has quit [Quit: WeeChat 0.4.2]
<NameNotFound> oh yes and i´m on a mac w/ mac os 10.10
alakra has joined #ruby-lang
<NameNotFound> jhass: yes but i read it isn´t recomned to install gems as root?
<jhass> depends on your setup & wishes really
mikecmpbll has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 244 seconds]
mikecmpb_ has quit [Ping timeout: 245 seconds]
seank__ has joined #ruby-lang
Miphix has quit [Quit: Leaving]
<NameNotFound> jhass: is there any way it could be a damadged download? how can i clean the cache? just deleting/moving?
<jhass> no, there's no way it could be a damaged download
<havenwood> NameNotFound: You can choose where to install gems. It's pretty popular to install them in your home directory so you don't have to escalate privileges. There's a `--user-install` flag for that or you can set it in your `~/.gemrc` file.
<NameNotFound> i have it in my .gemrc
banister has joined #ruby-lang
kr3ssh has quit [Ping timeout: 246 seconds]
<jhass> your gist seems to prove otherwise
<jhass> what exactly is in your .gemrc?
<NameNotFound> cat .gemrc :
<NameNotFound> gem: --user-install --no-rdoc --no-ri
<jhass> and what exact command produces the error you posted to your gist?
<NameNotFound> this gem install --user-install -V ore
j4cknewt has quit [Read error: Connection reset by peer]
fujimura has quit [Remote host closed the connection]
<havenwood> NameNotFound: whoami
<jhass> can you add the output of gem env to your gist?
fujimura has joined #ruby-lang
<NameNotFound> hier
<NameNotFound> sry here
fujimura has quit [Read error: No route to host]
fujimura has joined #ruby-lang
<havenwood> NameNotFound: `"gem"` should be `:gem` here, a Symbol not a String: https://gist.github.com/MoritzFago/e9d53c201df6e2a890da#file-gistfile1-txt-L20
<NameNotFound> havenwood: how can i change?
j4cknewt has joined #ruby-lang
DivineEntity has quit [Ping timeout: 264 seconds]
strixd has quit [Quit: 500]
<havenwood> NameNotFound: I'm guessing that's the issue at least, probably set that way in one of your gemrc files.
<jhass> NameNotFound: dunno, it should work IMO, try getting the latest Rubygems: sudo gem update --system
cmisenas has joined #ruby-lang
<NameNotFound> jhass: didn´t work but i have to go afk now i am sorry i´ll be bakc soon
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> NameNotFound: try replacing gem: with install: in your .gemrc, maybe they removed support for doing it with gem:
fujimura has quit [Remote host closed the connection]
centrx has quit [Quit: Shutting down, Please wait...]
fujimura has joined #ruby-lang
vipaca has quit [Ping timeout: 245 seconds]
tunaCanBruh has joined #ruby-lang
matp has quit [Quit: Bye!]
DivineEntity has joined #ruby-lang
* imperator is parsing strings again with c, lovely
matp has joined #ruby-lang
amsi has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
deol has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
donovan has quit [Remote host closed the connection]
Deckon has joined #ruby-lang
vipaca has joined #ruby-lang
fujimura has quit [Ping timeout: 256 seconds]
roamingdog has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
fusillicode has quit [Ping timeout: 240 seconds]
b_hoffman has joined #ruby-lang
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
<NameNotFound> jhass: i am back again and i try your last suggestion... and it faild
gwendall has joined #ruby-lang
<jhass> mmh, can I just declare your setup as weird and be done? :P
<NameNotFound> jhass: you could but it should be like ruby on all macs
<jhass> nah, I doubt Ruby on all macs is in /usr/local
<havenwood> NameNotFound: No, you have a manual install of Ruby 2.1.5 in /usr/local.
skade has joined #ruby-lang
<NameNotFound> havenwood: nope i installed it w/ homebrew
centrx has joined #ruby-lang
riotjone_ has quit [Remote host closed the connection]
<jhass> NameNotFound: echo $GEM_HOME # does that say anything?
mathie has joined #ruby-lang
<havenwood> NameNotFound: Brew Ruby should use a local gem by default, last I checked.
<NameNotFound> jhass: nope
b_hoffman has quit [Quit: b_hoffman]
<NameNotFound> havenwood: and this means?
mikecmpbll has quit [Ping timeout: 240 seconds]
<NameNotFound> jhass: it´s just a blanc line
<havenwood> NameNotFound: Typically if you `brew install ruby` it is already configured for a user local install of gems in the user's home directory.
miqui has quit [Ping timeout: 264 seconds]
roamingdog has quit [Remote host closed the connection]
<NameNotFound> havenwood: so i should reinstall ruby (and maybe upgrade to ruby22?
<havenwood> NameNotFound: That seems prudent, yeah.
<NameNotFound> havenwood: i´ll do it
ghostpl_ has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
<NameNotFound> havenwood: thank you it worked
<havenwood> NameNotFound: \o/
Deckon has quit [Quit: Leaving]
My_Hearing has joined #ruby-lang
My_Hearing has joined #ruby-lang
My_Hearing has quit [Changing host]
arBmind has quit [Quit: Leaving.]
Mon_Ouie has quit [Ping timeout: 250 seconds]
elia has quit [Quit: Computer has gone to sleep.]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby-lang
Guest33_ has joined #ruby-lang
donovan has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
<Guest33_> Does MRI allocate an execution context for every block call? That is, will 1_000_000.times { } trigger any GC?
mkaesz has quit [Read error: Connection reset by peer]
j4cknewt has quit [Read error: Connection reset by peer]
djbkd has quit [Client Quit]
smoitra has joined #ruby-lang
amal has joined #ruby-lang
amal is now known as morfeen
Guest33_ is now known as plasticchicken
<morfeen> hi
morfeen is now known as abcd
abcd has quit [Client Quit]
morfeen has joined #ruby-lang
lytol has joined #ruby-lang
stamina has quit [Remote host closed the connection]
<plasticchicken> To answer my own question: no. puts GC.count; 1_000_000_000.times { }; puts GC.count gives me the same number both times.
<morfeen> what are some cool non web projects written in Ruby?
mathie has joined #ruby-lang
<jhass> plasticchicken: I'm only uninformed guessing here, but I would expect that to count into the usual stack, that is it's not different from a method call in terms of memory issues
banister has joined #ruby-lang
allomov has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
b_hoffman has joined #ruby-lang
wallerdev has joined #ruby-lang
<jhass> morfeen: plenty, have your dive into https://www.ruby-toolbox.com/
fusillicode has joined #ruby-lang
<plasticchicken> 1_000_000.times { local_1 = nil; local_2 = nil; local_3 = nil; etc... } does not trigger any GC.
<plasticchicken> 1_000_000.times { binding } DOES trigger GC.
<jhass> yes, if my assumption is right the locals would be stack allocated and nil only exists once, while binding creates a new Binding instance each time
<waxjar> local_1 = nil doesn't create any new objects (there's only one nil), binding here creates a million new objects :)
<morfeen> jhass: are these packages I can use in my Ruby projects?
<jhass> morfeen: yeah
<morfeen> cool
mkaesz has joined #ruby-lang
<jhass> morfeen: that's just a categorized selection, the full deal is at rubygems.org
<morfeen> jhass: thanks. I'm currently in the process of learning Ruby from Pragmatic Ruby. After this I want to dive into Rails. Does Rails involve a lot of concepts I need to learn
<jhass> yes
<jhass> it depends a bit on your prior experiences, but there will be some
<pipework> Not only that, but yes.
<morfeen> jhass: I have prior experience in Node.js
mkaesz has quit [Client Quit]
<plasticchicken> morfeen: Rails is easier if you are already familiar with OO programming and HTTP. However, it is quite possible to jump in with no prior experience.
<jhass> well, that doesn't say too much, there's lots of stuff you can build in node in various ways ;)
<plasticchicken> morfeen: Some SQL background helps too, even though Rails nicely abstracts away a lot of that for you.
<morfeen> jhass: I've worked with Express, but its kind of a microframework inspired by Sinatra
solars has quit [Ping timeout: 244 seconds]
<morfeen> plasticchicken: I have all those backgrounds :)
<morfeen> Do Ruby web applications scale well?
<plasticchicken> morfeen: Then if don't mind magic, you'll do just fine!
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> so yeah, rails is strong on convention over configuration and quite opinionated when it comes to code structure, so those will probably the most important concepts to learn for you
<morfeen> plasticchicken: as long as work gets done, I do not mind ;)
<jhass> but it shouldn't be too hard ;)
<plasticchicken> morfeen: That's an impossible question to answer. :)
<plasticchicken> It can be done. Github still uses Ruby on their front-end, as does Twitter iirc.
<morfeen> plasticchicken: cool. Twitter rewrote some of it in Scala, iirc
<toretore> everything scales
<toretore> scaling is an infrastructure problem, not a programming one
roamingdog has quit [Remote host closed the connection]
<morfeen> Is Rails for Zombies a good resource to start with?
amystephen has joined #ruby-lang
AlexAltea has joined #ruby-lang
ghostpl_ has joined #ruby-lang
<smoitra> morfeen start with railstutorial.org/book and if there is any problem in understanding refer to guides.rubyonrails.org
wallerdev has quit [Quit: wallerdev]
<plasticchicken> morfeen: Yeah. Anything that gets you going is going to be fine. Personally, I learned from the PragProg book "Agile Web Development with Rails" and had a mentor.
wallerdev has joined #ruby-lang
__butch__ has joined #ruby-lang
<morfeen> thanks
scampbell has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
b_hoffman has quit [Quit: b_hoffman]
mnilsson has joined #ruby-lang
b_hoffman has joined #ruby-lang
fujimura has joined #ruby-lang
b_hoffman has quit [Client Quit]
riotjones has joined #ruby-lang
terpo has quit []
yfeldblum has joined #ruby-lang
cmisenas has quit [Quit: cmisenas]
gwendall has quit [Remote host closed the connection]
kr3ssh has joined #ruby-lang
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
kr3ssh has quit [Read error: Connection reset by peer]
__butch__ has quit [Ping timeout: 265 seconds]
riotjones has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
r0bby_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 255 seconds]
mnilsson has quit [Ping timeout: 250 seconds]
cornerma1 has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
kr3ssh has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
cornerman has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
__butch__ has joined #ruby-lang
<apeiros> somebody seen zzak lately?
<pipework> Maybe zz_sMecKs has, they have the same prefix.
skade has quit [Ping timeout: 255 seconds]
dik_dak has joined #ruby-lang
jkyle1 has quit [Ping timeout: 264 seconds]
ruurd has joined #ruby-lang
<imperator> apeiros, not here, he's active on twitter i think
<apeiros> well, he is online, but marked as away
skade has joined #ruby-lang
<apeiros> can't send him DM on twitter since he doesn't follow me :-|
djbkd has joined #ruby-lang
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Ping timeout: 246 seconds]
plasticchicken has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mathie has joined #ruby-lang
taylorrf has joined #ruby-lang
gianlucadv has quit [Ping timeout: 264 seconds]
taylorrf_ has quit [Ping timeout: 246 seconds]
kr3ssh has quit [Ping timeout: 256 seconds]
ducklobster has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
havenwood has joined #ruby-lang
ducklobster has quit [Remote host closed the connection]
<wallerdev> you can tweet at someone without DMing them
gwendall has joined #ruby-lang
<wallerdev> no one sees it anyway unless they go to your page
ducklobster has joined #ruby-lang
mando_ has quit [Read error: Connection reset by peer]
mando_ has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
LMity has joined #ruby-lang
j4cknewt has joined #ruby-lang
intinig has quit [Ping timeout: 250 seconds]
j4cknewt has quit [Read error: Connection reset by peer]
dellavg_ has joined #ruby-lang
j4cknewt has joined #ruby-lang
Bwild has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
<apeiros> sure? I thought anything I tweet is in my timeline and anybody following me will see that too?
j4cknewt has quit [Remote host closed the connection]
<yorickpeterse> what is this secret twitter business
strsep has quit [Quit: ZNC - http://znc.in]
b_hoffman has joined #ruby-lang
chinmay_dd has quit [Quit: Connection closed for inactivity]
micmus has joined #ruby-lang
<centrx> I thought twitter was about being loud and obnoxious. How can there be a secret twitter?
<apeiros> it's the darktwitter
<apeiros> if you have to ask about it then it's not for you
LMity has quit [Ping timeout: 256 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
clllns has joined #ruby-lang
My_Hearing has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby-lang
My_Hearing has joined #ruby-lang
My_Hearing has quit [Changing host]
My_Hearing has joined #ruby-lang
Guest33 has joined #ruby-lang
wallerdev has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
<imperator> pfft, there's no proof of darktwitter
Guest33 has quit [Ping timeout: 252 seconds]
_Mon_Ouie_ has joined #ruby-lang
b_hoffman has joined #ruby-lang
My_Hearing has quit [Ping timeout: 264 seconds]
yellowgh0st has joined #ruby-lang
lytol has quit [Remote host closed the connection]
kr3ssh has joined #ruby-lang
<yorickpeterse> I once had to debug an app because our Twitter integration was broken
<yorickpeterse> Turned out I spelled an env variable "TWOTTER_KEY"
<yorickpeterse> instead of "TWITTER_KEY"
ruurd has quit [Quit: Leaving...]
<yorickpeterse> since then it's known as Twotter at the office
<pipework> yorickpeterse: I personally believe that twotter is just as correct as twitter.
mkaesz has joined #ruby-lang
<yorickpeterse> I guess "tweet" then becomes "twoot"
<yorickpeterse> "lemme just twoot this to my friend"
mkaesz has quit [Read error: Connection reset by peer]
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
mkaesz has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
b_hoffman has quit [Quit: b_hoffman]
duderonomy has joined #ruby-lang
_Mon_Ouie_ has quit [Ping timeout: 246 seconds]
gwendall has quit [Remote host closed the connection]
yellowgh0st has joined #ruby-lang
j4cknewt has joined #ruby-lang
cmisenas has joined #ruby-lang
DivineEntity has quit [Ping timeout: 256 seconds]
mando_ has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby-lang
DivineEntity has joined #ruby-lang
Bwild has quit [Ping timeout: 252 seconds]
cmisenas has quit [Client Quit]
Bwild has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
ur5us has quit [Ping timeout: 252 seconds]
bb010g has joined #ruby-lang
mando_ has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
intinig has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby-lang
ur5us has joined #ruby-lang
b_hoffman has joined #ruby-lang
b_hoffman has quit [Client Quit]
dagda1 has joined #ruby-lang
ghostpl_ has joined #ruby-lang
roamingdog has joined #ruby-lang
pragmatism has joined #ruby-lang
intinig has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matrisking has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 246 seconds]
pragmatism has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mando_ has quit [Ping timeout: 264 seconds]
b_hoffman has joined #ruby-lang
gwendall has joined #ruby-lang
matp has quit [Quit: Bye!]
vipaca has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
b_hoffman has quit [Client Quit]
matp has joined #ruby-lang
postmodern has joined #ruby-lang
cmisenas has joined #ruby-lang
b_hoffman has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
intinig has joined #ruby-lang
yellowgh0st has joined #ruby-lang
iamninja has joined #ruby-lang
b_hoffman has quit [Client Quit]
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
yfeldblum has joined #ruby-lang
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
intinig has quit [Ping timeout: 264 seconds]
lytol has joined #ruby-lang
vipaca has joined #ruby-lang
morfeen has quit [Remote host closed the connection]
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
roamingdog has quit [Remote host closed the connection]
b_hoffman has joined #ruby-lang
roamingdog has joined #ruby-lang
Musashi007 has joined #ruby-lang
cmisenas has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby-lang
mando_ has joined #ruby-lang
dellavg_ has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby-lang
elia has joined #ruby-lang
cmisenas has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
riotjones has quit [Ping timeout: 250 seconds]
wallerdev has quit [Quit: wallerdev]
_br_ has quit [Ping timeout: 264 seconds]
pragmatism has joined #ruby-lang
crdpink has joined #ruby-lang
_br_ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mkaesz has quit [Quit: Leaving...]
_br_ has quit [Ping timeout: 255 seconds]
crdpink2 has joined #ruby-lang
DynamicMetaFlow has joined #ruby-lang
<DynamicMetaFlow> Hello everyone once again
crdpink has quit [Ping timeout: 265 seconds]
dik_dak_ has joined #ruby-lang
_br_ has joined #ruby-lang
dik_dak has quit [Ping timeout: 250 seconds]
dik_dak_ has quit [Client Quit]
wallerdev has joined #ruby-lang
dik_dak has joined #ruby-lang
_Mon_Ouie_ has joined #ruby-lang
_br_ has quit [Ping timeout: 265 seconds]
ghostpl_ has joined #ruby-lang
micmus has quit [Ping timeout: 250 seconds]
ghostpl_ has quit [Ping timeout: 256 seconds]
j4cknewt_ has joined #ruby-lang
vipaca has quit [Quit: Textual IRC Client: www.textualapp.com]
deryl has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
riffraff has quit [Quit: This computer has gone to sleep]
igalic has quit [Ping timeout: 255 seconds]
j4cknewt has quit [Ping timeout: 244 seconds]
igalic has joined #ruby-lang
djbkd has joined #ruby-lang
j4cknewt has joined #ruby-lang
tcopeland has quit [Quit: Leaving.]
j4cknewt_ has quit [Ping timeout: 250 seconds]
tcopeland has joined #ruby-lang
shinnya has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gwendall has quit [Remote host closed the connection]
micmus has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 256 seconds]
thebastl has quit [Quit: Leaving...]
wallerdev has joined #ruby-lang
taylorrf has quit [Remote host closed the connection]
wallerdev has quit [Client Quit]
j4cknewt has joined #ruby-lang
j4cknewt has quit [Client Quit]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
j4cknewt_ has quit [Ping timeout: 256 seconds]
fujimura has quit [Remote host closed the connection]
_br_ has joined #ruby-lang
fujimura has joined #ruby-lang
diegoviola has joined #ruby-lang
[H]unt3r has joined #ruby-lang
fujimura has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby-lang
crdpink2 has quit [Quit: q term]
[H]unt3r has quit [Client Quit]
dik_dak has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crdpink has joined #ruby-lang
kr3ssh has quit [Ping timeout: 244 seconds]
trajing|Mobile has joined #ruby-lang
crdpink has quit [Client Quit]
trajing|Mobile has quit [Read error: Connection reset by peer]
_br_ has quit [Ping timeout: 246 seconds]
jkyle1 has joined #ruby-lang
AKASkip has quit [Ping timeout: 252 seconds]
gwendall has joined #ruby-lang
toretore has quit [Quit: Leaving]
ghostpl_ has joined #ruby-lang
deryl is now known as ddd
hakunin has quit []
kr3ssh has joined #ruby-lang
_br_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
ddd has quit [Quit: leaving]
<DynamicMetaFlow> Question, I'm relatively new to Ruby and programming in general. I'm trying to follow this documentation but don't quite understand how to class method works. http://www.rubydoc.info/gems/ruby-trello/Trello/Board#create-class_method
donovan has quit [Remote host closed the connection]
<jhass> DynamicMetaFlow: if you click view source, you can see that you should pass a hash, where the keys :name and :description are required and :closed and :organization_id are optional
djbkd has quit [Remote host closed the connection]
<DynamicMetaFlow> jhass, thank you once again. I actually did do that I understand that so far. The link i meant to post was this http://www.rubydoc.info/gems/ruby-trello/Trello/Board.all
<DynamicMetaFlow> I apologize, you have been really helpful
pragmatism has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> that one you just call and gives you an array of Board instances back
djbkd has joined #ruby-lang
<DynamicMetaFlow> Ok, I'll figure that out in a bit
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DynamicMetaFlow> This is what I have worked on today for a little bit, I know it's not much but only been working with Ruby for a few hours and happy that I'm making some level of progress. My next step is to retrieve information from Trello, (the lists and boards) so I can add let the user select on which board and list they want to create a card. Any tips of recommendations are helpful
Musashi007 has quit [Quit: Musashi007]
<havenwood> DynamicMetaFlow: just an aside, but if you gist it with a `.rb` extension we'll get pretty colors
<jhass> a few style notes if you don't mind:
<DynamicMetaFlow> I was trying to figure that out. Thank you first time using github
<jhass> Ruby community standard is two spaces for indentation
<jhass> snake_case for method and variable names
<jhass> try to use "foo #{bar} baz" over "foo " + bar + " baz"
<havenwood> no headlessCamels!
<jhass> if all your keys are :symbols, you can write foo: bar instead of :foo => bar
Musashi007 has joined #ruby-lang
<DynamicMetaFlow> Ok, thank you both I'll make modifications to that once i get a chance. I need to make dinner now. Thank you both. Also thank you for everyone here being responsive, learning to program alone can be an ardous task.
_br_ has quit [Ping timeout: 256 seconds]
<jhass> you're welcome
chouhoulis has quit [Ping timeout: 265 seconds]
<DynamicMetaFlow> Be back soon!
dik_dak has joined #ruby-lang
charliesome has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
centrx has joined #ruby-lang
matp_ has joined #ruby-lang
djbkd has joined #ruby-lang
nathanstitt has quit [Ping timeout: 244 seconds]
_br_ has joined #ruby-lang
matp has quit [Ping timeout: 240 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
taylorrf has joined #ruby-lang
kr3ssh has quit [Ping timeout: 255 seconds]
yellowgh0st has joined #ruby-lang
_br_ has quit [Ping timeout: 244 seconds]
taylorrf has quit [Ping timeout: 250 seconds]
diegoviola has quit [Remote host closed the connection]
_br_ has joined #ruby-lang
matp_ is now known as matp
symm- has quit [Ping timeout: 250 seconds]
symm- has joined #ruby-lang
fujimura has joined #ruby-lang
charliesome has quit [Quit: zzz]
havenwoo_ has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
fujimura has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
arBmind1 has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
Musashi007 has quit [Quit: Musashi007]