apeiros changed the topic of #ruby to: Ruby 2.1.0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
freezey has joined #ruby
ktosiek has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 260 seconds]
Sid05 has joined #ruby
<havenwood> makes sense :), guess i did know it was the case of gs and gst
e^0 has quit [Quit: WeeChat 0.4.2]
<havenwood> i haven't looked at ohmygems
iMe_away is now known as iMe
<AntelopeSalad> i'm happy with rbenv on my dev box, but i still use rvm in production
danijoo has quit [Read error: Connection reset by peer]
ktosiek has joined #ruby
<havenwood> AntelopeSalad: RVM is nice. Take a look at ruby-install/chruby.
danijoo has joined #ruby
<bnagy> because nothing says 'prod' like an insane version switcher
<AntelopeSalad> i use the rbenv ruby-install plugin
<havenwood> bnagy: hehe
<bnagy> never know when you might just BAM have to switch
<AntelopeSalad> lol bnagy, it's mainly because you don't have to compile ruby
vlad_starkov has joined #ruby
tauebel has joined #ruby
zachallett has joined #ruby
e^0 has joined #ruby
dubsteph has quit [Ping timeout: 252 seconds]
dkamioka has quit [Remote host closed the connection]
<AntelopeSalad> there is a huge difference in time between compiling ruby on a low end VPS and just unzipping a precompiled ver
<postmodern> AntelopeSalad, im curious, what is your production env?
<postmodern> AntelopeSalad, CentOS or RHEL?
dx7 has joined #ruby
griffindy has quit [Quit: Computer has gone to sleep.]
<AntelopeSalad> postmodern: ubuntu lts
cj3kim has joined #ruby
tauebel has left #ruby [#ruby]
agjacome has joined #ruby
<postmodern> AntelopeSalad, ah, you should be able to use system ruby (1.9.3)
vlad_starkov has quit [Remote host closed the connection]
<postmodern> AntelopeSalad, er wait, LTS is stuck on 1.8.x, i forgot :(
<AntelopeSalad> 2.1.0 for life
ktosiek has quit [Read error: Operation timed out]
<AntelopeSalad> or until 2.2 at least!
<postmodern> AntelopeSalad, gotta get those Refinements
<AntelopeSalad> i'm only using lts because it had the highest compatability rating with the chef cookbooks i use
<AntelopeSalad> otherwise i would be using 13.x
sambao21 has joined #ruby
Soliah has quit [Quit: Soliah]
Sid05 has quit [Ping timeout: 248 seconds]
<AntelopeSalad> it's funny actually, i'm running lts but my entire stack is upgraded to the latest versions or close to it
txdv has joined #ruby
SHyx0rmZ has joined #ruby
w1zeman1p has quit [Remote host closed the connection]
<bnagy> yoloscale
e^0 has quit [Client Quit]
<speckle> system ruby? ew
e^0 has joined #ruby
m8 has quit [Quit: Sto andando via]
<postmodern> speckle, get over your system-phobia bro
<speckle> I thought the nice thing about ruby compared to python is how easy it is to change versions without mucking up your Linux OS
<AntelopeSalad> bnagy: the problem is i'm addicted to awesome features
<postmodern> centrx, needs 100% more CouchDB
duggiefresh has quit [Remote host closed the connection]
<AntelopeSalad> who wants to use some 2 year old build of postgres or nginx
<AntelopeSalad> not me!
cburyta has quit [Remote host closed the connection]
rubyracer has quit [Quit: Konversation terminated!]
axsuul has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
mojjojo has quit [Quit: mojjojo]
Hanmac has joined #ruby
jrist has joined #ruby
forced_request has joined #ruby
<centrx> AntelopeSalad, Why not upgrade the distribution
s2013 has quit [Ping timeout: 265 seconds]
<AntelopeSalad> centrx: because almost every cookbook i tried didn't work with ubuntu 13.x
predator217 has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
<AntelopeSalad> i went 0/3 and then was like forget this craziness, LTS gogo
<AntelopeSalad> and 2 hours later i had a fully working server
nanoyak has quit [Ping timeout: 265 seconds]
pdtpatrick has quit [Read error: Connection reset by peer]
rainmanjam has joined #ruby
pdtpatrick has joined #ruby
mary5030 has joined #ruby
hrs has joined #ruby
<AntelopeSalad> i'm actually thinking about trying that brightbox ppa, it has ruby 2.1
<AntelopeSalad> i'm not sure i want to trust a random ppa tho
cj3kim has quit [Ping timeout: 265 seconds]
miah has quit [Ping timeout: 252 seconds]
mksm_ has quit [Ping timeout: 252 seconds]
predator117 has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
hrs has quit [Client Quit]
Afal_ has quit [Ping timeout: 252 seconds]
echevemaster has joined #ruby
asteros has joined #ruby
rootshift has quit [Read error: Connection reset by peer]
<bnagy> as opposed to installing binary rubies via rvm
miah has joined #ruby
<Xuisce> woot
Afal has joined #ruby
<pyk> i'm on ubuntu 12.04 with rbenv + ruby build plugin, ruby 2.1 work flawslessly. i think 3rd ppa is not needed
itadder has quit [Remote host closed the connection]
IceDragon has joined #ruby
<AntelopeSalad> bnagy: i trust rvm enough that it won't just disappear out of the blue
<AntelopeSalad> and i'm definitely not at a scale where it -really- matters, if i did i would be shipping premade images
mary5030 has quit [Ping timeout: 248 seconds]
axsuul has joined #ruby
Megtastique has quit []
hrs has joined #ruby
mksm has joined #ruby
maetthew has quit [Ping timeout: 252 seconds]
zachallett has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
snath has quit [Ping timeout: 246 seconds]
pyk has left #ruby [#ruby]
itadder has joined #ruby
<itadder> hi I am back
bthesorceror has joined #ruby
araujo has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
kevind has quit [Quit: kevind]
hrs has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
nZac has joined #ruby
nateberkopec has quit [Quit: Leaving...]
clov3r has quit [Remote host closed the connection]
unixpro1970 has joined #ruby
clov3r has joined #ruby
mansi has joined #ruby
<bricker> thank god.
kenneth has joined #ruby
rainmanjam has quit [Remote host closed the connection]
rainmanjam has joined #ruby
maetthew has joined #ruby
pen has joined #ruby
dik_dak has quit [Quit: Leaving]
mikepack_ has joined #ruby
Megtastique has joined #ruby
<centrx> Is he back yet?
clov3r has quit [Ping timeout: 250 seconds]
<bricker> Without any third-party tools (RVM, ruby-install, etc.), how are you meant to upgrade ruby on a production server? Because afaik that changes some paths, and some installed gems will go missing.
rainmanj_ has joined #ruby
rainmanjam has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 245 seconds]
spyderman4g63 has quit [Ping timeout: 250 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
<RubyTitmouse> AntelopeSalad: a 2 yo build of a db is better than a recent build unless you need the new features
jlast has quit [Ping timeout: 260 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
nZac has quit [Ping timeout: 252 seconds]
Megtastique has quit [Client Quit]
freezey has quit [Remote host closed the connection]
clov3r has joined #ruby
justinxreese has quit [Ping timeout: 246 seconds]
<RubyTitmouse> everything on a server, the older it is the better, if it has the features you need. It doesn't mold, it actually improves by not changing; that much more time without security holes being found
mikepack_ has quit [Ping timeout: 260 seconds]
b00stfr3ak has quit [Ping timeout: 245 seconds]
TryX has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Sid05 has joined #ruby
lkba has joined #ruby
TryX has joined #ruby
<AntelopeSalad> RubyTitmouse: there's been a lot of recent hstore/json enhancements in postgres and will only get better in 9.4
TryX has quit [Remote host closed the connection]
TryX has joined #ruby
justinxreese has joined #ruby
tala12 has joined #ruby
clov3r has quit [Remote host closed the connection]
MattStratton has joined #ruby
clov3r has joined #ruby
<RubyTitmouse> hstore is probably not nearly as useful as people assume
mercwithamouth has joined #ruby
clov3r has quit [Remote host closed the connection]
clov3r has joined #ruby
jlast has joined #ruby
e^0 has quit [Quit: WeeChat 0.4.2]
x77686d has joined #ruby
pwh has joined #ruby
<speckle> RubyTitmouse, I guess that's only up to things being EOL'd. Would you consider CentOS better than Debian since it gets EOL'd later, and thus is older without being EOL'd?
Davey has joined #ruby
<RubyTitmouse> I am running a recent build though, for the writable views. Thankfully they repos for most distros, so you can use an official upstream build
jonah_k has quit [Remote host closed the connection]
nomadic has quit [Ping timeout: 245 seconds]
lethjakman has joined #ruby
Davey has quit [Remote host closed the connection]
<lethjakman> hey, I'm trying to extend this: https://github.com/stympy/faker/blob/master/lib/faker/name.rb
clov3r has quit [Remote host closed the connection]
<RubyTitmouse> speckle: CentOS is better than debian because debian mangles upstream packaging, for example Ruby defines the stdlib as being part of the language, but then debian claims to know better than Matz and slices it up and gives a literally broken Ruby if you only install ruby
<lethjakman> is there an easy way to do that?
<bricker> Why does 'ruby-install' not show 2.1.0 as the latest stable version?
<speckle> eek, it does that?!
e^0 has joined #ruby
<RubyTitmouse> but as a sysadmin, yes, if you don't update it is better, regardless of EOL
clov3r has joined #ruby
Davey has joined #ruby
<RubyTitmouse> when people talk about "stable" on a server, they're talking about if it changes, not if crashes :)
<lethjakman> I have this
<lethjakman> but when I try to call extra it gets ignored
tala12 has quit []
tjbiddle has joined #ruby
IceyEC has joined #ruby
x77686d has quit [Client Quit]
<speckle> um, regardless of EOL?? I thought that EOL means fewer people care about patching security holes (See: Java 6)
<speckle> nice to know RedHat plays nicer with Ruby than Debian
<speckle> but one thing I like about Ruby over Python is you can install random versions with rvm without kluding the OS, though I guess I said that a while back..
axsuul has quit [Ping timeout: 248 seconds]
<AntelopeSalad> lethjakman: what if you add < Base to the class definition?
<speckle> *kludging
<bricker> oh my homebrew package was out of date
<lethjakman> AntelopeSalad: still undefined
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stryek has joined #ruby
clov3r has quit [Ping timeout: 248 seconds]
rainmanj_ has quit [Remote host closed the connection]
<bricker> lethjakman: you should require 'faker/name' at the top of your file, first of all
nomadic has joined #ruby
<lethjakman> bricker: ok
<lethjakman> good to know, I added that
IceyEC has quit [Client Quit]
habanany1 has quit [Ping timeout: 252 seconds]
<bricker> lethjakman: that might fix your problem
<bricker> If not, I'd have to see how you're trying to use it
<AntelopeSalad> speckle: did you never use virtualenv?
<GinoMan> RubyTitmouse: better yet, use RVM. Don't waste time with the OS packaging system
joelbrewer has quit [Ping timeout: 245 seconds]
<speckle> I looked at virtualenv and it was really confusing, to the point that it seemingly defeats the point of an "easy-to-use" language like Python. I'd rather OSes not package Python libraries at all!
<speckle> RVM was pretty clear, on the other hand
<AntelopeSalad> speckle: if you try again make sure you get the virtualenv wrapper, then it becomes really easy to use
<AntelopeSalad> mkvirtualenv foo , done
<AntelopeSalad> then 'workon foo' to use it , or 'deactivate' to drop back to the system
<speckle> hmm, that would be as easy as RVM? okay, I'll give it another try
<itadder> what is RVM
<itadder> ruby virtual m achine
<AntelopeSalad> it puts all of the virtualenvs in ~/.virtualenvs too
aep has quit [Ping timeout: 240 seconds]
rainmanjam has joined #ruby
huttan has quit [Ping timeout: 240 seconds]
<itadder> what do people thnk of http://flatironschool.com/rubycurriculum.html is worth the 12k
<centrx> itadder, I'll teach you for 8k
<itadder> how
<itadder> awesome
elektronaut has quit [Ping timeout: 240 seconds]
Jdubs has joined #ruby
<speckle> er, ruby version manager, I think?
<centrx> itadder, With my patent-pending techniques!
aep_ has joined #ruby
<Nowaker> is there any rdoc/whatever syntax to indicate method's return type?
<itadder> is homebrew popular with ruby community
huttan has joined #ruby
elektronaut has joined #ruby
<bricker> homebrew is popular with the os x community
<itadder> oh
<itadder> how do you have your mac set up for programing, what sits in your dock?
tresor has joined #ruby
<GinoMan> I'm going through the "Beginning Ruby" book and it uses 1.9, so with RVM I have a config file in the directory where I'm putting my exercise code.... in that directory, it runs 1.9, everywhere else it runs 2.1
<GinoMan> That's why you should use RVM.
<GinoMan> Itadder. Also do you have a google drive?
<lethjakman> bricker: I'm just calling Faker::Name.extra
parduse has quit [Ping timeout: 245 seconds]
<itadder> oh
rainmanjam has quit [Ping timeout: 245 seconds]
<itadder> I use dropbox
<GinoMan> oh nevermind... it will be easier to send you the link.
parduse has joined #ruby
<RubyTitmouse> GinoMan: Sure, for Ruby that is a good way to go. These days with bundler since we don't need gemsets, rbenv is a good option as it doesn't ask to be updated all the time like rvm has in the past.
parduse has quit [Changing host]
parduse has joined #ruby
<itadder> ahh thanks
<lethjakman> bricker: I updated it here: https://gist.github.com/lethjakman/8927323
<itadder> oh is that the link for beginning
<dachi> nano, vi, emacs ? what do ruby people use? I don't really care, was using nano for a long time, just interested what do you use for cli edit?
sambao21 has quit [Quit: Computer has gone to sleep.]
VTLob has quit [Quit: VTLob]
unixpro1970 has quit [Quit: unixpro1970 has off IRC]
habanany has joined #ruby
<RubyTitmouse> most Ruby people use emacs, vim, and whatever that platform-locked mac editor is called
<GinoMan> dachi. not to start a religious war but I like vim. but it's up to you. some people like emacs, others nano, and others something else.
lmickh has quit [Remote host closed the connection]
<GinoMan> RubyTitmouse: Mac comes with vim.
<lethjakman> dachi: a large portion of people use sublime. I like vim a lot more though.
<bricker> lethjakman: I need more context - how are you using it, where is that code, etc.
tylersmith has joined #ruby
<dachi> at home I use rmate actually, but when at other place nano for quick edit. So there's no preference for ruby guys right? I'd become a companion in this choice
<postmodern> RubyTitmouse, GinoMan, also there's chruby, it's ~100 LoC and rarely ever changes
<RubyTitmouse> GinoMan: just convince mac people to hate platform lock and they'll probably use it ;)
<GinoMan> itadder: download the koans, unzip them, and then rake the directory
<lethjakman> bricker: the code is located in /lib/faker/name.rb and I'm trying to use it in pry with Faker::Name.extra
<lethjakman> I restart pry every time
<RubyTitmouse> I heard good things about chruby too
<RubyTitmouse> for emacs make sure to install "rails-minor-mode" even if you're not using rails, that has the best Ruby feature package. Avoid rinari
rainmanjam has joined #ruby
asteros_ has joined #ruby
itadder_ has joined #ruby
<itadder_> back
<itadder_> most use vim
itadder has quit [Ping timeout: 250 seconds]
<itadder_> dachi:
<lethjakman> also I added my application.rb with my autoload in it...
<lethjakman> I think it's right.
Hanmac1 has joined #ruby
<RubyTitmouse> http://stuff.rubypanther.com/.emacs shows how to set up emacs with full erb support using MuMaMo
brennanMKE has joined #ruby
<itadder_> some like sumblimetext
someword has joined #ruby
Megtastique has joined #ruby
tylersmith has quit [Ping timeout: 250 seconds]
Hanmac has quit [Ping timeout: 248 seconds]
asteros has quit [Ping timeout: 245 seconds]
asteros_ is now known as asteros
<bricker> lethjakman: then perhaps you're not requiring the file anywhere
robustus has quit [Ping timeout: 252 seconds]
<lethjakman> bricker: shouldnt it be auto loaded?
JBreit has quit [Read error: Connection reset by peer]
<bricker> lethjakman: By default I don't think it is, I always forget
mikepack has joined #ruby
axsuul has joined #ruby
<dachi> itadder_ thanks
sailias has quit [Ping timeout: 248 seconds]
robustus has joined #ruby
cburyta has joined #ruby
<bricker> what the hell
<bricker> I have ruby 2.1.0 install but chruby won't load it
Sleepee has joined #ruby
<bricker> it keeps loading 2.1.0dev
<bricker> installed*
baroquebobcat has quit [Quit: baroquebobcat]
<postmodern> bricker, it picks the last lexical match
<postmodern> bricker, rm -rf 2.1.0dev
<bricker> postmodern: ah-hah, thanks!
mattp_ has quit [Read error: Connection reset by peer]
<lethjakman> is there a better way to do this in their gem?
someword has quit [Ping timeout: 272 seconds]
IceyEC has joined #ruby
<lethjakman> maybe a way to auto l oad a directory if it exists inside of rails?
mikepack has quit [Ping timeout: 252 seconds]
<RubyTitmouse> lethjakman: monkeys don't autoload, only classes/modules that aren't loaded can autoload
<bricker> lethjakman: either put the monkeypatch into an initializer, or if you want to be a good little OOP programmer, make your own class which inherits from Faker::Name
Guest5449 has quit [Ping timeout: 245 seconds]
rainmanjam has quit [Remote host closed the connection]
tresor has quit []
<RubyTitmouse> yeah, for rails I make an initializer called monkey.rb where I put all that stuff
rainmanjam has joined #ruby
cburyta has quit [Ping timeout: 250 seconds]
<RubyTitmouse> I guess it is "supposed" to go in the application.rb initializer though
JBreit has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lethjakman> hmmmmm.....
<lethjakman> RubyTitmouse: so I need to require this or something in order to have it? my application.rb solution wont' work?
werdnativ has quit [Quit: werdnativ]
starfox21 has joined #ruby
<lethjakman> how do I check if this is even loaded
Shidash has quit [Ping timeout: 252 seconds]
jaimef has quit [Excess Flood]
tylersmith has joined #ruby
jaimef has joined #ruby
tjr9898 has joined #ruby
danshultz has joined #ruby
<RubyTitmouse> lethjakman: you should just put it in like lib/faker_extra_monkey.rb and require that, unless you want to go full-hog and make it into a gem like faker_extra. Either way, just have the gem in the Gemfile, and then you can safely require 'faker_extra' or whatever in the initializer
enape_101 has quit [Ping timeout: 265 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyTitmouse> Making a gem has the advantage of being able to skip the initializer and have them next to each other in the Gemfile
freezey has joined #ruby
Sleepee has quit [Quit: Leaving]
rainmanjam has quit [Ping timeout: 260 seconds]
fgo has quit [Remote host closed the connection]
<lethjakman> hmmm so it is the require
pierre1__ has joined #ruby
<lethjakman> when I run the require manually my method works
<RubyTitmouse> I'm pro-monkey, but don't expect them to be photogenic at all times ;)
funburn has quit [Quit: funburn]
nisstyre has quit [Ping timeout: 260 seconds]
z has joined #ruby
<RubyTitmouse> auto monkey: http://farm9.staticflickr.com/8312/7953753306_b04877319b.jpg ( NSFW !!! )
subbyyy has quit [Ping timeout: 272 seconds]
nfk has quit [Quit: yawn]
necrotic_ has joined #ruby
<lethjakman> lol wtf
necrotic_ has quit [Remote host closed the connection]
<RubyTitmouse> don't ask monkeys to autoload, it is scary
<lethjakman> hmmmm...is there something I could include in the Base class that would check for the class name then check in /app/faker/modulename.rb and add those extra methods?
<RubyTitmouse> lethjakman: If you're that worried about it, you should make it a gem so bundler can handle that. If you're not going to go that far, just comment both sides (Gemfile and initializer)
freezey has quit [Ping timeout: 265 seconds]
<lethjakman> RubyTitmouse: I'm just curious how that require would work...cause I want it to get loaded after their class.
Shidash has joined #ruby
<RubyTitmouse> lethjakman: initializers happen after the Gemfile gems get loaded
<lethjakman> oh. so I'd put it in the initializer? but how would I add all the methods in that file to a class?
reset has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<RubyTitmouse> You just require in the intializer, and when the require runs is when it reopens the class and adds the methods
dx7 has quit [Remote host closed the connection]
<lethjakman> huh...lemme try that
<Paradox> hmm, yard doesn't seem to like keyword params
<Paradox> it spits lots of warnings
dx7 has joined #ruby
<Paradox> any suggestions?
top4o has joined #ruby
habanany1 has joined #ruby
wallerdev has quit [Quit: wallerdev]
maletor has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
LLKCKfan has quit [Read error: Connection reset by peer]
<Paradox> gets lots of @param tag has unknown parameter
habanany has quit [Ping timeout: 246 seconds]
<lethjakman> `wait initialize needs a new to run it doesn't it?
gnephiak has joined #ruby
adamholt has quit [Ping timeout: 245 seconds]
ner0x has joined #ruby
fgo has joined #ruby
nateberkopec has joined #ruby
descala has quit [Ping timeout: 245 seconds]
DarthGandalf has quit [Ping timeout: 245 seconds]
aob has quit [Ping timeout: 245 seconds]
LLKCKfan has joined #ruby
sebastianb has quit [Ping timeout: 264 seconds]
Spitfire has quit [Ping timeout: 264 seconds]
Chepra has quit [Ping timeout: 264 seconds]
dx7 has quit [Ping timeout: 260 seconds]
adamholt has joined #ruby
nichtdiebohne has quit [Quit: Leaving...]
descala has joined #ruby
aob has joined #ruby
tjr9898 has quit [Remote host closed the connection]
sebastianb has joined #ruby
tobiasvl has quit [Ping timeout: 252 seconds]
tjr9898 has joined #ruby
slowcon has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
ixx has quit [Read error: Operation timed out]
filp has joined #ruby
Ninjex has quit [Quit: Changing server]
frx has quit [Ping timeout: 246 seconds]
araujo has quit [Read error: Connection reset by peer]
Spitfire has joined #ruby
mr_red has quit [Ping timeout: 252 seconds]
frx has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
jfoy has quit [Quit: jfoy]
mr_red has joined #ruby
ixx has joined #ruby
aspires has quit []
ixx is now known as Guest44594
DarthGandalf has joined #ruby
mattp_ has joined #ruby
lfox has joined #ruby
tauebel1 has joined #ruby
nszceta has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 245 seconds]
danijoo has quit [Read error: Connection reset by peer]
bricker_ has quit [Ping timeout: 260 seconds]
tauebel1 has left #ruby [#ruby]
rainmanjam has joined #ruby
bricker has quit [Ping timeout: 260 seconds]
danijoo has joined #ruby
tvw has quit []
brennanMKE has quit [Read error: Connection reset by peer]
brennanM_ has joined #ruby
duggiefresh has joined #ruby
mrsolo has joined #ruby
descala has quit [Ping timeout: 250 seconds]
jle` has quit [Ping timeout: 250 seconds]
Guest45876 has quit [Remote host closed the connection]
descala has joined #ruby
kenneth has joined #ruby
rm__ has joined #ruby
ixti has joined #ruby
mlpinit has joined #ruby
fgo has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 264 seconds]
justinxreese has quit [Ping timeout: 246 seconds]
mlpinit has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
mrsolo has left #ruby [#ruby]
mlpinit has joined #ruby
danshultz has quit [Remote host closed the connection]
rm___ has joined #ruby
baroquebobcat has joined #ruby
mlpinit_ has joined #ruby
rm___ is now known as Guest71512
filp has left #ruby [#ruby]
justinxreese has joined #ruby
SteveBen_ has joined #ruby
pwh has quit []
Hanmac has joined #ruby
xue has joined #ruby
SteveBenner09 has quit [Read error: Connection reset by peer]
i_s has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 252 seconds]
rm__ has quit [Ping timeout: 248 seconds]
i_s has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
jacobat has joined #ruby
spacecloud is now known as pipework
mlpinit has quit [Ping timeout: 260 seconds]
Yahkob has joined #ruby
mikepack has joined #ruby
zombor has joined #ruby
fgo has joined #ruby
<zombor> hello, does anyone have a suggestion on how to parse this kind of format into a hash? https://gist.github.com/zombor/8927894
Es0teric_ has joined #ruby
fuhgeddaboudit has joined #ruby
i_s has quit [Ping timeout: 265 seconds]
Es0teric has quit [Read error: Operation timed out]
Hobogrammer has joined #ruby
troyready has quit [Ping timeout: 250 seconds]
cj3kim has joined #ruby
Hanmac1 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Vivekananda has quit [Read error: Connection reset by peer]
tauebel has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
baroquebobcat has joined #ruby
pwh has joined #ruby
Hanmac has joined #ruby
pwh has quit [Client Quit]
frx has quit []
pen has quit [Remote host closed the connection]
<bricker`LA> zombor: you'd have to use eval probably, but the question isn't very clear
<zombor> bricker`LA: i want to turn those lines into a hash. im just going to split on new line and then "=" and make it by hand
baroquebobcat has quit [Client Quit]
terrellt_ has joined #ruby
Travis-42 has joined #ruby
Hanmac1 has quit [Ping timeout: 265 seconds]
baroquebobcat has joined #ruby
tauebel1 has joined #ruby
<centrx> zombor, file.each_line { |line| key, value = line.split(' = '); my_hash[key] = value }
terrellt_ has quit [Client Quit]
Yahkob has quit [Remote host closed the connection]
yasushi has joined #ruby
Yahkob has joined #ruby
<zombor> yeah, thats what im doing
justinxreese has quit [Ping timeout: 246 seconds]
boccobrock has joined #ruby
<zombor> thanks
tjr9898 has quit [Remote host closed the connection]
tauebel has quit [Ping timeout: 260 seconds]
terrellt has quit [Ping timeout: 272 seconds]
cj3kim has quit [Ping timeout: 252 seconds]
joelbrewer has joined #ruby
yasushi has quit [Remote host closed the connection]
zombor has left #ruby ["Leaving..."]
tauebel1 has quit [Ping timeout: 245 seconds]
Yahkob has quit [Read error: No route to host]
Yahkob_ has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
whatasunnyday has quit [Quit: whatasunnyday]
jlast has quit [Remote host closed the connection]
Lorn has quit [Ping timeout: 260 seconds]
yacks has quit [Read error: Operation timed out]
RoxasShadowRS has quit [Read error: Connection reset by peer]
<slowcon> I'm trying to scrape the forum name and its url from a webpage. i wrote the script to do exactly that, but I'm having trouble storing the arrays results into a database using the sequel gem. ex: all the results for 12 pages go into A1(names) A2(urls). wondering if there is an easy fix/easier method to accomplish what I'm trying to do. http://pastebin.com/rFwKx25A
lfox has quit []
justinxreese has joined #ruby
cburyta has joined #ruby
Sirupsen has joined #ruby
saarinen has quit [Quit: saarinen]
x77686d has joined #ruby
Hanmac1 has joined #ruby
Travis-42 has left #ruby [#ruby]
Hanmac has quit [Ping timeout: 260 seconds]
cburyta has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
i_s has joined #ruby
Hanmac1 has quit [Ping timeout: 250 seconds]
sailias has joined #ruby
jrobertfox has quit [Quit: Take it easy.]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
tjr9898 has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
jefflyne has joined #ruby
Tomasso has quit [Ping timeout: 272 seconds]
jefflyne has quit [Max SendQ exceeded]
reset has quit [Read error: Operation timed out]
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
jefflyne has joined #ruby
pdtpatrick has quit [Quit: pdtpatrick]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
i_s has quit [Ping timeout: 248 seconds]
justinxreese has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
nisstyre has joined #ruby
gja has quit [Client Quit]
x77686d has quit [Quit: x77686d]
i_s has joined #ruby
angusigu1ss has joined #ruby
<Paradox> if i were to be writing an api client for something, what is the best way to deal with rate limits. Not looking for a gem or anything, just advice
justinxreese has joined #ruby
jzig_ has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
<Paradox> the client should be relatively asynchronous
Fire-Dragon-DoL has quit [Quit: Leaving.]
<Paradox> i want to abstract away the pain of dealing with the apu
<Paradox> api
lethjakman has quit [Ping timeout: 248 seconds]
<Paradox> while making it still respect
<Paradox> i thought of using a queue of some sort
griffindy has joined #ruby
<ddd> best way to deal with them rate limiting is to abide by their rules(s)
i_s has quit [Ping timeout: 248 seconds]
fgo has quit [Remote host closed the connection]
<Paradox> im not trying to evade it
angusigu1ss has quit [Ping timeout: 250 seconds]
mehlah has quit [Quit: Leaving...]
gja has joined #ruby
<Paradox> im trying to make it so people using the client don't have to litter their code with sleep(2)
mavcunha has quit [Quit: Computer has gone to sleep.]
gregf has joined #ruby
hobodave has joined #ruby
s2013 has joined #ruby
zachallett has joined #ruby
g0rd0 has joined #ruby
slowcon has quit [Quit: slowcon]
itadder_ has quit [Remote host closed the connection]
duggiefresh has quit []
<centrx> Paradox, I thought you were writing the client
jzig_ has quit [Ping timeout: 245 seconds]
TryX has quit [Remote host closed the connection]
mojo619 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
rainmanjam has quit [Remote host closed the connection]
tcurdt has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
pierre1__ has quit [Quit: Leaving]
pranny has quit [Quit: Leaving.]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<RubyTitmouse> Paradox: it depends on what it is. If it is a generic API, or something very specific and controlled like an API for a commercial game or service
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
nari has joined #ruby
Yahkob_ is now known as Yahkob
<RubyTitmouse> generally though you would have the easiest way of accessing it include a default rate limit which is configurable, and then also allow direct access
mercwithamouth has quit [Ping timeout: 250 seconds]
Yahkob has left #ruby [#ruby]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
IceyEC has quit [Quit: IceyEC]
Hanmac1 has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mr_red has quit [Ping timeout: 265 seconds]
robbyoconnor has joined #ruby
bricker`LA has quit [Read error: Connection reset by peer]
angusigu1ss has joined #ruby
bricker`LA has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
pen has joined #ruby
mr_red has joined #ruby
charliesome has quit [Ping timeout: 252 seconds]
ninegrid has joined #ruby
s2013 has quit [Ping timeout: 250 seconds]
jh_ has joined #ruby
<Nowaker> can multiple Class.new calls cause a memleak? in java it could (because of permgen, classes go to a permanent memory, never gc'ed). is this a case in ruby?
jh_ is now known as Guest67524
<Paradox> RubyTitmouse reddit
<Paradox> im updating my snoo gem
funburn has joined #ruby
recurrence has joined #ruby
funburn has quit [Read error: Connection reset by peer]
himsin has joined #ruby
himsin has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyTitmouse> Nowaker: no, they shouldn't get stuck in memory unless you assign them to a constant
Hanmac has joined #ruby
slowcon has joined #ruby
<slowcon> hey guys
Yahkob has joined #ruby
<slowcon> got dc
<Nowaker> RubyTitmouse: great, thanks
<RubyTitmouse> Nowaker: note also that normally you would never ever call Class.new in Ruby ; )
Hanmac1 has quit [Ping timeout: 245 seconds]
vlad_sta_ has joined #ruby
IceDragon has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
angusigu1ss has quit [Ping timeout: 272 seconds]
<Nowaker> RubyTitmouse: then I'll show you my code, maybe you have a hint how to make it better
<Paradox> i think i figured out a way
<Paradox> log the last request time to an ivar, and if its within 2 seconds block, sleep, and then go
funburn has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
pen has quit [Remote host closed the connection]
freezey has joined #ruby
<Nowaker> RubyTitmouse: yeah... no need for Class.new. ;-) thanks
vlad_starkov has quit [Ping timeout: 260 seconds]
i_s has joined #ruby
Yahkob has quit [Ping timeout: 272 seconds]
<RubyTitmouse> Paradox: Just use some indirection, so that if somebody needs to bypass the delay and looks at the source, they can without needing to monkey patch
zachallett has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 272 seconds]
danshultz has joined #ruby
<Paradox> RubyTitmouse there will be a keyword and attr people can override em with
<Paradox> this is gonna be v1.0.0 of my snoo reddit gem
<Paradox> heh
Sid05 has quit [Quit: Leaving.]
<Paradox> current is 0.1.12 iirc
s2013 has joined #ruby
fgo has joined #ruby
nari has quit [Ping timeout: 260 seconds]
Sid05 has joined #ruby
kpshek has joined #ruby
<RubyTitmouse> I heard reddit was the new slashdot but I was too snooty to try it
<Paradox> thanks
<Paradox> :)
boccobrock has quit [Quit: WeeChat 0.4.2]
casheew_ has joined #ruby
<Paradox> i used to work for reddit
<Paradox> but then i transitioned into ruby because it fit me better than python
yfeldblum has quit [Remote host closed the connection]
<RubyTitmouse> now that slashdot is dying, maybe reddit is gonna be the new slashdot
tcurdt has quit [Quit: Computer has gone to sleep.]
binaryhat has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
<bricker`LA> oh god no
rcs has quit [Ping timeout: 246 seconds]
pinage404 has quit [Ping timeout: 250 seconds]
petey has joined #ruby
i_s has quit [Ping timeout: 252 seconds]
Norrin has quit [Ping timeout: 245 seconds]
nvll has quit [Ping timeout: 245 seconds]
agjacome has quit [Ping timeout: 260 seconds]
SegFaultAX has quit [Ping timeout: 264 seconds]
bmn has quit [Ping timeout: 246 seconds]
ahuman has quit [Quit: No Ping reply in 180 seconds.]
Sid05 has quit [Ping timeout: 245 seconds]
ahuman has joined #ruby
<pipework> reddit is worse than slashdot, I dont' see it improving
fgo has quit [Ping timeout: 260 seconds]
casheew has quit [Ping timeout: 250 seconds]
jamo has quit [Ping timeout: 250 seconds]
staticshock has quit [Quit: leaving]
mbff has quit [Ping timeout: 264 seconds]
fella6s has joined #ruby
yellow5 has quit [Quit: time to go!]
yellow5 has joined #ruby
user258467 has quit [Ping timeout: 250 seconds]
jamo____ has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
Megtastique has quit []
davidcelis has quit [Ping timeout: 245 seconds]
fella5s has quit [Ping timeout: 250 seconds]
DylanJ has quit [Ping timeout: 252 seconds]
davidcelis has joined #ruby
DrForr_ has quit [Ping timeout: 245 seconds]
hostess has quit [Ping timeout: 265 seconds]
replay_ has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby
jamo has joined #ruby
pinage404 has joined #ruby
bmn has joined #ruby
mbff has joined #ruby
nvll has joined #ruby
mbff is now known as Guest60211
DrForr_ has joined #ruby
jamo___ has joined #ruby
replay has joined #ruby
unCork has joined #ruby
cburyta has joined #ruby
Cork has quit [Ping timeout: 245 seconds]
mikemac has joined #ruby
sawtooth has quit [Ping timeout: 260 seconds]
Cache_Money_ has joined #ruby
araujo has quit [Read error: Connection reset by peer]
SegFaultAX has joined #ruby
rcs has joined #ruby
postmodern has quit [Quit: Leaving]
<RubyTitmouse> well, what will be the new slashdot then?!
unCork is now known as Cork
nobitanobi has joined #ruby
<centrx> Slashdot died ten years ago
<pipework> RubyTitmouse: hacker news
<RubyTitmouse> I've got a 5 digit slashdot ID, I'm too busy protecting my lawn to turn on the radio and find out what the groovy kids listen to
jtdowney has joined #ruby
tjr9898 has quit [Remote host closed the connection]
estebanrules has quit [Read error: No route to host]
Hanmac has quit [Ping timeout: 248 seconds]
Norrin has joined #ruby
Angelous has quit [Quit: http://achemicallanguage.org]
crazymykl has quit [Ping timeout: 265 seconds]
Angelous- has joined #ruby
thomasxie has joined #ruby
marienz has quit [Ping timeout: 600 seconds]
krisbulman is now known as [krisbulman]
cburyta has quit [Ping timeout: 248 seconds]
derek_c has joined #ruby
pignata has quit [Ping timeout: 260 seconds]
vpretzel_ has joined #ruby
allaire has joined #ruby
miah has quit [Remote host closed the connection]
Angelous- is now known as Angelous
miah has joined #ruby
DylanJ has joined #ruby
DylanJ has quit [Changing host]
DylanJ has joined #ruby
pignata has joined #ruby
user258467 has joined #ruby
Hanmac has joined #ruby
marr has quit [Ping timeout: 245 seconds]
estebanrules has joined #ruby
LLKCKfan has quit [Read error: Connection reset by peer]
braincrash has quit [Ping timeout: 245 seconds]
vpretzel has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
tobiasvl has quit [Ping timeout: 245 seconds]
nobitanobi has quit [Quit: Leaving]
14WAB5IF8 has quit [Ping timeout: 245 seconds]
Zhann has quit [Ping timeout: 250 seconds]
yasushi has joined #ruby
Zhann has joined #ruby
axsuul has joined #ruby
LLKCKfan has joined #ruby
Yahkob has joined #ruby
dik_dak has joined #ruby
vpretzel_ is now known as vpretzel
DarthGandalf has quit [Ping timeout: 245 seconds]
brunops has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
hostess has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
sawtooth has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
DarthGandalf has joined #ruby
yasushi has quit [Ping timeout: 245 seconds]
sensen has joined #ruby
Hanmac has joined #ruby
mlpinit_ has quit [Remote host closed the connection]
fgo has joined #ruby
tjr9898 has joined #ruby
Asher has quit [Remote host closed the connection]
TryX has joined #ruby
asteros has quit [Quit: asteros]
snath has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
havenwood has joined #ruby
[krisbulman] is now known as krisbulman
SteveBen_ has quit []
nari has joined #ruby
e^0 has quit [Quit: WeeChat 0.4.2]
i_s has joined #ruby
Yahkob has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 252 seconds]
baroquebobcat has joined #ruby
i_s has quit [Remote host closed the connection]
TryX has quit [Ping timeout: 252 seconds]
Asher has joined #ruby
Noldorin has quit []
sputnik13 has quit [Ping timeout: 250 seconds]
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sid05 has joined #ruby
jh__ has joined #ruby
bthesorceror has quit [Remote host closed the connection]
doanerock has joined #ruby
Guest67524 has quit [Ping timeout: 252 seconds]
binaryhat has quit [Quit: Leaving]
yfeldblum has joined #ruby
kpshek has quit []
Sid05 has quit [Ping timeout: 252 seconds]
freezey has quit [Remote host closed the connection]
zachallett has joined #ruby
jtdowney has quit []
brunops has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
IceDragon has joined #ruby
tjbiddle has joined #ruby
someword has joined #ruby
brunops has joined #ruby
jzig has joined #ruby
Cache_Money_ has quit [Quit: Cache_Money_]
dik_dak has quit [Ping timeout: 272 seconds]
chipotle has quit [Ping timeout: 272 seconds]
Cache_Money_ has joined #ruby
bthesorceror has joined #ruby
brunops has quit [Ping timeout: 248 seconds]
LiquidInsect has joined #ruby
Jdubs has quit [Remote host closed the connection]
camt has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
mksm has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
Shidash1 has joined #ruby
Spleeze has quit [Quit: QUIT]
i_s has joined #ruby
i_s has quit [Read error: Connection reset by peer]
Shidash has quit [Read error: Connection reset by peer]
trickyhero has joined #ruby
rainmanjam has joined #ruby
markalanevans has quit [Quit: markalanevans]
Spleeze has joined #ruby
binaryhat has joined #ruby
jh__ has quit [Ping timeout: 245 seconds]
radic has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
fgo has joined #ruby
mansi has joined #ruby
jonah_k has joined #ruby
connor_goodwolf has quit [Ping timeout: 265 seconds]
gja has quit [Quit: This computer has gone to sleep]
angusigu1ss has joined #ruby
pu22l3r has quit [Remote host closed the connection]
mlpinit has joined #ruby
pu22l3r has joined #ruby
bthesorceror has quit [Remote host closed the connection]
mlpinit has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
starfox21_ has joined #ruby
starfox21 has quit [Ping timeout: 250 seconds]
starfox21_ is now known as starfox21
radic has joined #ruby
gja has joined #ruby
sambao21 has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
alekst has quit [Quit: Computer has gone to sleep.]
allaire has quit []
connor_goodwolf has joined #ruby
estebanrules has quit [Read error: Operation timed out]
jle` has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
Lewix has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 246 seconds]
axsuul has quit [Ping timeout: 245 seconds]
Lewix has joined #ruby
marienz has joined #ruby
chipotle has joined #ruby
Yahkob has joined #ruby
pu22l3r_ has joined #ruby
jh_ has joined #ruby
jh_ is now known as Guest26780
kitak has joined #ruby
freezey has joined #ruby
connor_goodwolf has quit [Ping timeout: 245 seconds]
Jdubs has joined #ruby
pu22l3r has quit [Ping timeout: 260 seconds]
e^0 has joined #ruby
bthesorceror has joined #ruby
chrisramon_ has joined #ruby
ukd1 has quit [Remote host closed the connection]
cburyta has joined #ruby
asteros has joined #ruby
krz has joined #ruby
dubsteph has joined #ruby
wallerdev has quit [Quit: wallerdev]
braincrash has joined #ruby
browndawg has joined #ruby
mojo619 has quit [Quit: mojo619]
sputnik13 has joined #ruby
cburyta has quit [Ping timeout: 260 seconds]
pwh has joined #ruby
dubsteph has quit [Ping timeout: 260 seconds]
connor_goodwolf has joined #ruby
RubyTitmouse is now known as RubyPanther
kevinykchan has quit [Ping timeout: 260 seconds]
i_s has joined #ruby
gaulia has joined #ruby
kevinykchan has joined #ruby
binaryhat has quit [Quit: Leaving]
<gaulia> Can anyone help me determine if I have ruby compiled with readline or editline?
sambao21 has quit [Ping timeout: 245 seconds]
krisbulman is now known as [krisbulman]
sailias has quit [Quit: Leaving.]
someword has quit [Quit: Leaving.]
angusigu1ss has quit [Ping timeout: 245 seconds]
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
dik_dak has joined #ruby
jefflyne has joined #ruby
echevemaster has quit [Remote host closed the connection]
<bricker`LA> gaulia: it should't matter (the Readline module can use either one). But You can check with RbConfig::CONFIG["configure_args"]
Kricir has joined #ruby
[krisbulman] is now known as krisbulman
pwh has quit []
binaryhat has joined #ruby
kitak has quit [Remote host closed the connection]
<gaulia> bricker`LA: thanks, so I don't understand threads very well and I stumbled across this and was wondering if it applies to me or not https://github.com/guard/guard/wiki/Add-Readline-support-to-Ruby-on-Mac-OS-X
sensen has quit [Ping timeout: 272 seconds]
i_s has quit [Ping timeout: 250 seconds]
freezey has quit [Remote host closed the connection]
LiquidInsect has quit [Read error: Connection reset by peer]
<bricker`LA> gaulia: how did you install ruby?
x77686d has joined #ruby
zxq9 has quit [Ping timeout: 245 seconds]
<gaulia> bricker`LA: rbenv, this is my output => " '--prefix=/Users/gaulia/.rbenv/versions/2.1.0' '--with-openssl-dir=/usr/local/opt/openssl' 'CFLAGS= -O3 -Wno-error=shorten-64-to-32 ' 'LDFLAGS=-L/Users/gaulia/.rbenv/versions/2.1.0/lib ' 'CPPFLAGS=-I/Users/gaulia/.rbenv/versions/2.1.0/include '"
fgo has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sensen has joined #ruby
<bricker`LA> gaulia: it's probably okay, are you having problems with guard?
<gaulia> oh I linked to the wrong thing. sec
dik_dak has quit [Quit: Leaving]
aagdbl has joined #ruby
LiquidInsect has joined #ruby
AlexRussia has quit [Read error: Operation timed out]
drjblouse_ has quit [Ping timeout: 245 seconds]
dotemacs has quit [Ping timeout: 264 seconds]
alol has quit [Ping timeout: 246 seconds]
ggherdov has quit [Ping timeout: 246 seconds]
<gaulia> I think I may be having a problem with pry and threads. But I don't understand threads well enough to know if it's normal behavior or not
<RubyPanther> If you're not sure if you have a problem, you either don't, or it won't matter anyway
Guest26780 has quit [Quit: Textual IRC Client: www.textualapp.com]
IceDragon has quit [Ping timeout: 246 seconds]
MyStartx has quit [Ping timeout: 245 seconds]
binaryhat has quit [Quit: Leaving]
drjblouse_ has joined #ruby
alol has joined #ruby
jh__ has joined #ruby
<gaulia> If I am able to explore a thread vs not explore a thread, i'd say it matters
<gaulia> but I get what you're saying
<gaulia> thought I don't quite agree with the mentality. Sometimes we don't know the benefits of what we don't have
<gaulia> though*
yfeldblum has joined #ruby
<bricker`LA> gaulia: well go ahead and install readline then reinstall your rubies... certainly no harm in doing it.
BackEndCoder has joined #ruby
<gaulia> cool. so, readline would specifically be listed, as opposed to editline?
krisbulman is now known as [krisbulman]
<gaulia> I guess the question is, seeing neither listed as a compile flag, what can I infer from that
<bricker`LA> I forget the exact flag, --readline-dir or something like that
<bricker`LA> There's a flag for it iirc
<gaulia> ok, and by default it goes with editline?
ggherdov has joined #ruby
zxq9 has joined #ruby
kitak has joined #ruby
jh__ has quit [Client Quit]
havenwood has quit [Remote host closed the connection]
cyong has joined #ruby
Yahkob has quit [Remote host closed the connection]
whomp has quit [Ping timeout: 250 seconds]
havenwood has joined #ruby
mojo619 has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
Yahkob has joined #ruby
<bricker`LA> gaulia: I don't know. I use ruby-install, which automatically compiles with readline
IceDragon has joined #ruby
arietis has joined #ruby
<gaulia> thanks for relaying what you do know
<gaulia> tyvm :)
nichtdiebohne has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
mikepack has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
KevinSjoberg has quit [Ping timeout: 240 seconds]
Yahkob has quit [Ping timeout: 250 seconds]
freakazoid0223 has joined #ruby
KevinSjoberg has joined #ruby
petey has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
mikepack has quit [Ping timeout: 248 seconds]
sensen has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
chrisramon_ has quit [Quit: chrisramon_]
mocfive has quit [Remote host closed the connection]
sensen has joined #ruby
Kricir has quit [Remote host closed the connection]
Cache_Money_ has quit [Quit: Cache_Money_]
bricker`1A has joined #ruby
bricker`LA has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
sambao21 has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
bricker`1A is now known as bricker`LA
nisstyre has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
thesheff17 has joined #ruby
mlpinit has joined #ruby
slowcon has quit [Quit: slowcon]
mocfive has quit [Ping timeout: 246 seconds]
griffindy has quit [Quit: Computer has gone to sleep.]
Es0teric_ has quit [Ping timeout: 250 seconds]
tjr9898 has quit [Remote host closed the connection]
funburn has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 248 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
mlpinit has quit [Ping timeout: 265 seconds]
Shidash has joined #ruby
Shidash1 has quit [Ping timeout: 272 seconds]
mlpinit has joined #ruby
OhMyGoshJosh has joined #ruby
nobitanobi has joined #ruby
<nobitanobi> Hi guys
slowcon has joined #ruby
<diegoviola> anyone has any ideas what could be going on here? https://gist.github.com/diegoviola/8929354
JohnBat26 has joined #ruby
Deele has joined #ruby
mlpinit has quit [Ping timeout: 248 seconds]
funburn has joined #ruby
stkowski has quit [Quit: stkowski]
OhMyGoshJosh has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has joined #ruby
tjbiddle has joined #ruby
<RubyPanther> diegoviola: Yes, you have an invalid multibyte escape
<bricker`LA> diegoviola: upgrade to 0.3.1, it looks like it may have been fixed: https://github.com/code4lib/ruby-oai/commit/d57a23250774751b8bb3484012c9e11162462cb2
cburyta has joined #ruby
<havenwood> nobitanobi: hey
Guest71512 has quit [Remote host closed the connection]
<diegoviola> [diego@myhost fromthepage]$ gem list | grep oai
<diegoviola> oai (0.3.0)
<diegoviola> not sure what gem is using that oai thingy
rm__ has joined #ruby
<nobitanobi> Is it a code smell if I have a class which initialize method is empty? - I have a class that is used to parse sites. And I have organized it this way, so that I don't need to create a new object for each URL that I want to parse. https://gist.github.com/novito/8929550
<bricker`LA> diegoviola: check Gemfile.lock
<nobitanobi> havenwood, :)
tjbiddle has quit [Client Quit]
michael_mbp has quit [Excess Flood]
<diegoviola> bricker`LA: it's under specs:
<bricker`LA> nobitanobi: You might instead want to make a utility module that extends itself so you can instead just do GsmArenaCategoryParser.parse()
michael_mbp has joined #ruby
rm___ has joined #ruby
<diegoviola> bricker`LA: oh, it's in the Gemfile, i'll upgrade it, ty
<nobitanobi> bricker`LA, problem is that I want to have a "Parent". This parser is for GSMArena, but I will have other sources to parse
rm___ is now known as Guest7883
<nobitanobi> that's why I created a class, so I could inherit
Megtastique has joined #ruby
<nobitanobi> bricker`LA, but anyway, what do you mean by "extends itself" ?
<bricker`LA> nobitanobi: well you could still inherit, you'd just make it a class instead of a module.
aspiers has joined #ruby
habanany1 has quit [Ping timeout: 245 seconds]
cburyta has quit [Ping timeout: 245 seconds]
<nobitanobi> bricker`LA, I am unsure what do you mean by "utility module that extends itself"
<bricker`LA> nobitanobi: if it's a class then you can't extend, just make all the methods on the class, `def self.parse()` etc.
funburn has quit [Ping timeout: 260 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<nobitanobi> it's funy because I have a feeling that I am not correctly designing this in the best OO way, but I fail to see how to improve it
<nobitanobi> *funny
estebistec has joined #ruby
<nobitanobi> bricker`LA, so your suggestion would be to just create a Module?
<nobitanobi> instead of a class?
rm__ has quit [Ping timeout: 272 seconds]
<bricker`LA> nobitanobi: you can't inherit from a module, so no
<bricker`LA> nobitanobi: you could use instances, it's just more work for the GC and possibly the developer
<nobitanobi> :D
<nobitanobi> bricker`LA, gotcha ~ It's interesting though. I will have several Parsers, but I am not seeing the abstraction yet
<bricker`LA> developer*
iliketurtles has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
<nobitanobi> bricker`LA, I will go for the Module approach
<nobitanobi> and if I see the abstraction, will move to the Class appraoch
<bricker`LA> nobitanobi: what I might do would be to make a single Parser module which does the heavy lifting - Parse.parse(url), etc. Then have several classes which use that module.
<nobitanobi> *approach
yfeldblum has joined #ruby
<nobitanobi> bricker`LA, the problem here is that the Parsing differs from source to source
Rollabunna has quit [Read error: Connection reset by peer]
<nobitanobi> I am basically going into sites that have cellphones
<nobitanobi> and for each site, I need a particular parser
fgo has joined #ruby
<nobitanobi> so, the method itself is completely different for each site
Rollabunna has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
angusigu1ss has joined #ruby
JohnBat26 has quit [Ping timeout: 250 seconds]
Angelous has quit [Ping timeout: 250 seconds]
<bricker`LA> nobitanobi: if you want to feel good you could require each parser to have an "entry point" method (.parse perhaps), and then use an "inner class" to do the actual parsing. That way you get good OOP while not having to manually create an instance every time
starfox21 has quit [Quit: starfox21]
JohnBat26 has joined #ruby
<nobitanobi> bricker`LA, wait. Let me read that
Angelous has joined #ruby
bthesorceror has quit [Remote host closed the connection]
<nobitanobi> bricker`LA, sorry to bother you, but what do you mean by "require each parser to have an 'entry point' method" =
<nobitanobi> ?
fuhgeddaboudit has quit [Read error: Operation timed out]
<RubyPanther> nobitanobi: just make it a module that has the common parts, then use it as a mixin in parser modules or classes that implement #parse: module GenericParser; def parse; raise 'not implemented' end end ; module PonyParser; extend GenericParser end ; PonyParser.parse
kate_r has joined #ruby
<nobitanobi> got it
<RubyPanther> presumably parsers might have state, and so should be classes
<bricker`LA> nobitanobi: https://gist.github.com/bricker/8929617 like that maybe, so the "public API" for those parsers are the sole "Parser.parse()" method
<bricker`LA> but you don't have to cram everything into class methods
zachallett has quit [Remote host closed the connection]
<bricker`LA> just a thought
<nobitanobi> I am reading http://www.poodr.com/
<nobitanobi> and I might be getting really obsessed
<nobitanobi> with making it OO
<nobitanobi> :P
<nobitanobi> thanks guys. I will digest your awesome help, and try to find out a solution
<bricker`LA> And apparently I forgot how to make a comment in Ruby x.x
angusigu1ss has quit [Ping timeout: 245 seconds]
<RubyPanther> "Practical Object-Oriented Design in Ruby" makes sense, but the domain sounds like Poo Dr
<bricker`LA> *teehee*
makara has joined #ruby
Norrin has quit [Ping timeout: 245 seconds]
<nobitanobi> :)
<nobitanobi> bricker`LA, what's the benefeit of having an inner class?
<bricker`LA> nobitanobi: your obsession with OOP will be satisfied
<bricker`LA> :D
<nobitanobi> mmmm
<RubyPanther> "A note on pronunciation: Think pooder, as if you were a three year old attempting to say computer. " I always thought that was spelled `puter
trickyhero has quit [Ping timeout: 248 seconds]
funburn has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
e^0 has quit [Quit: WeeChat 0.4.2]
DanielRb has joined #ruby
DanielRb has left #ruby [#ruby]
<nobitanobi> bricker`LA, I might be missing something, but with the inner class aren't you just hiding the logic into that inner class, and the outter class it's a mere initializator?
<bricker`LA> yep
<nobitanobi> how is that helping OO?
<nobitanobi> :)
rainmanjam has quit [Remote host closed the connection]
jack_rabbit has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
<bricker`LA> nobitanobi: because doing everything in class methods is not good OOP
doanerock has quit [Quit: Leaving]
<nobitanobi> uh, uh
<nobitanobi> got it
rainmanjam has joined #ruby
<nobitanobi> thanks a lot guys
<RubyPanther> clicking around in the github, most of the code looks pretty good, except for all the dead ducks
<nobitanobi> I really appreciate
<bricker`LA> nobitanobi: really your original way is fine
<bricker`LA> I'm just throwing out other ideas because you asked
jonah_k has quit [Remote host closed the connection]
<RubyPanther> # when every preparer is a Duck
<RubyPanther> # that responds to 'prepare_trip'
<nobitanobi> RubyPanther, oh yeah, I read that yesterday
Cache_Money_ has joined #ruby
<RubyPanther> except then a few lines later... when Mechanic ... when TripCoordinator ... and no safe else! that duck is dead
jack_rabbit has joined #ruby
<centrx> RubyPanther.acts_like_duck?
fgo has quit [Remote host closed the connection]
<nobitanobi> RubyPanther, that code is changed later.
<agent_white> RubyPanther: Wait wat? I'm curious, I'm actually just that part in the book.
<nobitanobi> She uses that approach in the whole book
<nobitanobi> putting "bad code" first, and improving it
<RubyPanther> ahhhh, okay, that explains a lot lol
carlyle has joined #ruby
carlyle has quit [Client Quit]
<RubyPanther> in that case, it is double-awesome
<nobitanobi> yep
<nobitanobi> hehehe
<nobitanobi> I read the whole book this weekend
<nobitanobi> is really good
<nobitanobi> well at least I enjoyed it a lot
Norrin has joined #ruby
rainmanjam has quit [Ping timeout: 248 seconds]
butblack has joined #ruby
b00stfr3ak has joined #ruby
<agent_white> I need to finish it, and probably re-read it haha. For every good example, she throws 4-5 bad ones against it.
z has quit [Quit: Lost terminal]
<agent_white> As in "here's what not to do"x5, then "do this"x1.
<nobitanobi> I need to re-read it for sure
jzig has quit [Remote host closed the connection]
browndawg has joined #ruby
jzig has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
<nobitanobi> the VCR gem is pretty cool uh
fgo has joined #ruby
yfeldblum has quit [Remote host closed the connection]
phansch has joined #ruby
Sawbones has joined #ruby
sailias has joined #ruby
jzig has quit [Ping timeout: 265 seconds]
butblack has left #ruby [#ruby]
parzo has quit [Remote host closed the connection]
pen has joined #ruby
angusigu1ss has joined #ruby
sailias has quit [Quit: Leaving.]
silicong has joined #ruby
<silicong> Hello -- I am running in to a problem when I try to build my app
<silicong> every time I get an error "/usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in `gem_original_require': no such file to load -- daemons (LoadError)" --- I have no idea what this means
rainmanjam has joined #ruby
IceDragon has quit [Quit: Space~~~]
h0lyalg0rithm has joined #ruby
<nobitanobi> silicong, what do you mean build your app?
h0lyalg0rithm has quit [Client Quit]
yasushi has joined #ruby
angusigu1ss has quit [Ping timeout: 272 seconds]
<RubyPanther> silicong: http://daemons.rubyforge.org/
silicong has quit [Quit: Textual IRC Client: www.textualapp.com]
derek_c has quit [Ping timeout: 260 seconds]
pen has quit [Remote host closed the connection]
cj3kim has joined #ruby
rainmanjam has quit [Remote host closed the connection]
rainmanjam has joined #ruby
sensen has quit [Ping timeout: 272 seconds]
LLKCKfan has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
LLKCKfan has joined #ruby
mlpinit has joined #ruby
rainmanjam has quit [Ping timeout: 248 seconds]
Megtastique has quit []
browndawg has quit [Quit: Leaving.]
mlpinit has quit [Ping timeout: 272 seconds]
jack_rabbit has quit [Read error: Connection reset by peer]
tongcx has joined #ruby
cburyta has joined #ruby
Sawbones has quit [Remote host closed the connection]
ehc has quit [Quit: ehc]
mikepack has joined #ruby
sensen has joined #ruby
jack_rabbit has joined #ruby
estebistec has quit [Remote host closed the connection]
dubsteph has joined #ruby
cburyta has quit [Ping timeout: 245 seconds]
mikepack has quit [Ping timeout: 265 seconds]
nobitanobi has quit [Quit: Leaving]
kitak has quit [Remote host closed the connection]
axsuul has joined #ruby
Macaveli has joined #ruby
nichtdiebohne has quit [Quit: Linkinus - http://linkinus.com]
Es0teric has quit [Ping timeout: 250 seconds]
jonah_k has joined #ruby
dubsteph has quit [Ping timeout: 248 seconds]
JasmeetQA has joined #ruby
parzo has joined #ruby
anicet has joined #ruby
yarou has quit [Remote host closed the connection]
rylinaux_ has joined #ruby
oso96_2000 is now known as oso|away
anicet is now known as juni0r
axsuul has quit [Ping timeout: 250 seconds]
JasmeetQA1 has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
<tongcx> hi guys, what do you use for auth in rack?
<tongcx> or sinatra?
brennanM_ has quit [Remote host closed the connection]
JasmeetQA has quit [Ping timeout: 265 seconds]
parzo has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
parzo has joined #ruby
mikepack has joined #ruby
dzhulk has joined #ruby
rainmanjam has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jetchisel has joined #ruby
parzo has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
slowcon has quit [Quit: slowcon]
rainmanjam has quit [Ping timeout: 250 seconds]
tagrudev has joined #ruby
relix has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
rainmanjam has joined #ruby
mengu has joined #ruby
hoyang has joined #ruby
hoyang has quit [Max SendQ exceeded]
ktun has joined #ruby
jack_rabbit has quit [Read error: Connection reset by peer]
ktun has quit [Remote host closed the connection]
Nyyx has quit [Ping timeout: 245 seconds]
evilbug has quit [Quit: Leaving]
h0lyalg0rithm has joined #ruby
Simonsays has joined #ruby
<Simonsays> hello
gaulia has quit [Quit: Leaving.]
angusigu1ss has joined #ruby
thomasxie has left #ruby [#ruby]
kevinykchan has quit [Ping timeout: 252 seconds]
jack_rabbit has joined #ruby
Simonsays has left #ruby [#ruby]
<shevy> test
* centrx smacks shevy
funburn has quit [Quit: funburn]
starfox21 has joined #ruby
<shevy> lol
Guest7883 has quit [Remote host closed the connection]
rm__ has joined #ruby
kitak has joined #ruby
Hanmac1 has joined #ruby
angusigu1ss has quit [Ping timeout: 246 seconds]
Hanmac has quit [Ping timeout: 260 seconds]
gja has joined #ruby
h0lyalg0_ has joined #ruby
phansch_ has joined #ruby
heftig has quit [Quit: Quitting]
phansch has quit [Ping timeout: 252 seconds]
mlpinit has joined #ruby
h0lyalg0rithm has quit [Ping timeout: 265 seconds]
Nyyx has joined #ruby
tonni has joined #ruby
brennanMKE has joined #ruby
nobitanobi has joined #ruby
bwarkee has quit [Read error: Operation timed out]
kevinykchan has joined #ruby
mlpinit has quit [Ping timeout: 260 seconds]
OdNairy has joined #ruby
bricker`LA has quit [Quit: leaving]
brennanMKE has quit [Read error: Operation timed out]
bricker`LA has joined #ruby
Monk_code has joined #ruby
sski has joined #ruby
Hobogrammer has quit [Ping timeout: 248 seconds]
Azure has quit [Read error: Operation timed out]
Ch4rAss has joined #ruby
<dachi> hi shevy
<shevy> hi no-dachi
bricker`LA has quit [Quit: leaving]
bricker`LA has joined #ruby
cburyta has joined #ruby
mikepack has joined #ruby
Azure has joined #ruby
thesheff17 has quit [Ping timeout: 245 seconds]
cyong has quit [Quit: Leaving.]
Ch4rAss has quit [Ping timeout: 260 seconds]
Ch4rAss has joined #ruby
recurrence has joined #ruby
Es0teric has joined #ruby
mojo619 has quit [Quit: mojo619]
makara has quit [Remote host closed the connection]
madb055 has quit [Read error: Connection reset by peer]
madb055 has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
cburyta has quit [Ping timeout: 265 seconds]
Valesk has joined #ruby
Solnse has quit [Quit: Leaving.]
rm___ has joined #ruby
_tpavel has joined #ruby
rm___ is now known as Guest50231
baroquebobcat has quit [Quit: baroquebobcat]
Kricir has joined #ruby
Cache_Money_ has quit [Quit: Cache_Money_]
pixelgremlins has joined #ruby
rainmanjam has quit [Remote host closed the connection]
ayaz_ has joined #ruby
nfk has joined #ruby
nfk has joined #ruby
Hanmac has joined #ruby
browndawg has joined #ruby
pixelgremlins_ba has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
rm__ has quit [Ping timeout: 272 seconds]
yacks has joined #ruby
h0lyalg0rithm has joined #ruby
bwarkee has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
Hanmac1 has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
h0lyalg0_ has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby
troyready has joined #ruby
compleatang has joined #ruby
bal has joined #ruby
marcgg_ has joined #ruby
_tpavel has quit [Ping timeout: 260 seconds]
gja has quit [Quit: This computer has gone to sleep]
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0/20140127194636]]
kitak has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 252 seconds]
agjacome has joined #ruby
marcgg has quit [Ping timeout: 260 seconds]
yasushi has quit [Remote host closed the connection]
dingus_khan has joined #ruby
jonah_k has quit [Remote host closed the connection]
<shevy> so how do you guys document your ruby projects
<havenwood> shevy: with clear code
<shevy> lol
<shevy> I need to formulate my questions in a better way...
<nobitanobi> haha
<havenwood> shevy: or TomDoc if i must :P http://tomdoc.org/
<nobitanobi> good night guys
<shevy> aha
nobitanobi has quit [Quit: Leaving]
<ayaz_> RDoc, mostly.
troyready has quit [Ping timeout: 260 seconds]
<dingus_khan> hi, i can't figure out why an rspec test is failing with a no method error, i'm trying to write a module to provide a method to a class for reading from a CSV; anyone got a second to tell me what google hasn't yet?
<agent_white> RubyPanther: There's no 'sides', you dudes are on a team to make something work! /pridefive
<agent_white> MT D00bs
mattp__ has joined #ruby
<havenwood> dingus_khan: could you Gist some code for us to ponder upon?
<shevy> lol
<shevy> what a great name... dingus AND a khan at that :)
<dingus_khan> oops, that's an incorrect version, sigh
noop has joined #ruby
<dingus_khan> hah, it's from Venture Brothers
<shevy> havenwood: you should rename yourself to havenkhan
_tpavel has joined #ruby
<dingus_khan> loved that show, like Johnny Quest, but the best parody ever
havenwood is now known as havenwrathofkhan
whomp has joined #ruby
<dingus_khan> nice!
<shevy> hehe
b00stfr3ak has quit [Ping timeout: 250 seconds]
<shevy> say something mighty havenwrathofkhan
<agent_white> pipework: Hahaha. For some reason, that just made me think of a man sitting down with a box of ballpoint pens, writing on pieces of paper.
<agent_white> fml
<havenwrathofkhan> shevy: Lieutenant, you are looking at the only Starfleet cadet who ever beat the no-win scenario.
<agent_white> I can't hit the right boxes today.
<dachi> why do you favor pry to irb?
<havenwrathofkhan> dachi: for its superiority
parzo has joined #ruby
<havenwrathofkhan> dachi: pretty colors, indentation, code introspection
dagobah has joined #ruby
<dachi> i see thanks
<havenwrathofkhan> dachi: it is quite powerful, check `help` command from inside pry
<dachi> ok
<havenwrathofkhan> dachi: also #pry channel is well populated
<dachi> will be there
<dingus_khan> i'm guessing my thing is fading a bit--is there a clear resource on how to do what i want to do with modules somewhere? i feel like i'm missing something in the explanations i'm finding
havenwrathofkhan is now known as havenwood
tonni has quit [Read error: Connection reset by peer]
<shevy> wat
<shevy> what do you wanna do with modules
whomp has quit [Ping timeout: 252 seconds]
Wolland has joined #ruby
<havenwood> dingus_khan: extend Reader if you want a class method
<shevy> @name = hotel[:name]
<shevy> does that work?
<dingus_khan> i'm trying to just define my csv reader method in a module to be used by a class for creating objects
parzo has quit [Ping timeout: 248 seconds]
<dingus_khan> oh shit, is Reader an actual ruby class already?
<shevy> no
<dingus_khan> yeah i'm pretty sure that assignment style works
<shevy> but I also can not see how your code line I showed works
<shevy> ah
<shevy> I see now
<dingus_khan> just taking from the hash
<havenwood> dingus_khan: you're using `include` but not instantiating your class.
pdtpatrick has joined #ruby
<dingus_khan> oh damnit, it's the test isn't it...
<havenwood> dingus_khan: Hotel can be a `module` and you can use `extend`.
yasushi has joined #ruby
fgo has quit [Remote host closed the connection]
<havenwood> dingus_khan: If you want to follow the test.
<havenwood> But yeah, they don't match.
<dachi> havenwood: hi, if you're into documenting projects, why Tomdoc over Yard?
<dingus_khan> i'm an idiot; did not create hotel object in test
abra has quit [Ping timeout: 245 seconds]
agjacome has quit [Ping timeout: 252 seconds]
bigkevmcd has quit [Quit: Ex-Chat]
bigkevmcd has joined #ruby
abra has joined #ruby
<havenwood> dachi: Just looks nicer to me, but i'd rather yard than rdoc.
<dingus_khan> would doing that make sense, though? making hotel a module and extending it? wouldn't that be a design issue though?
<havenwood> dachi: easier to get at the examples, but prolly yard makes sense for preveleance
[gmi] has joined #ruby
<havenwood> dingus_khan: If you aren't instantiating, module is the correct choice.
<havenwood> dingus_khan: All Classes are Modules.
<dachi> havenwood: hanks
<dachi> thanks
centrx has quit [Quit: Merry Christmas! And to all a Good Night!]
<dingus_khan> havenwood: but i would be instantiating if i'm attempting to create new Hotel objects, right? or did i mistake instantiation for something else?
asteros has quit [Quit: asteros]
mocfive has quit [Remote host closed the connection]
dr0ff has left #ruby [#ruby]
mocfive has joined #ruby
<havenwood> dingus_khan: Yeah, it looks like you intend to instantiate hotel, since you have an #initialize method an all.
jprovazn has joined #ruby
<havenwood> dingus_khan: So yup, in your test you should use #new.
tonni has joined #ruby
<havenwood> *Hotel
ktosiek has joined #ruby
<dingus_khan> crap-spackle. how do i test that method when instantiating a new Hotel depends on that module's method to read in to the initializer? i've design myself into a corner
mlpinit has joined #ruby
<havenwood> dingus_khan: not following what you're wanting to test
dubsteph has joined #ruby
mocfive has quit [Ping timeout: 260 seconds]
<dingus_khan> sorry; wrote unit test for that csv-reading method, wanted to test it individually, but the class is written such that there's no way to instantiate a new Hotel from the module method it depends on to get the initial values from
pavilionXP has quit [Ping timeout: 248 seconds]
mengu has quit [Remote host closed the connection]
pavilionXP has joined #ruby
brennanMKE has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
<dingus_khan> i can't say "Hotel.new(row)" in the csv.foreach method because initialize can't get values, i think. i think i need to start over, hah
certainty has joined #ruby
Lewix has quit [Remote host closed the connection]
sergicles has joined #ruby
mhenrixon has joined #ruby
brennanMKE has quit [Ping timeout: 252 seconds]
ner0x has quit [Quit: Leaving]
yeticry_ has joined #ruby
compleatang has quit [Remote host closed the connection]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
ahawkins has joined #ruby
<pontiki> o/
yeticry has quit [Ping timeout: 265 seconds]
<certainty> \o
dseitz has joined #ruby
joelbrewer has quit [Ping timeout: 260 seconds]
<havenwood> ^ o/
<dingus_khan> what, what, what is all this, did i make a funny?
mikepack has joined #ruby
<havenwood> dingus_khan: no, we we're making an ascii art of a swimmer being attacked by a shark
cburyta has joined #ruby
aganov has joined #ruby
<havenwood> >.>
<havenwood> dingus_khan: it is yet to be seen how the swimmer and shark fare
<havenwood> we can only hope...
<dingus_khan> and i bet he'll say "i won't let this stop me, i'm going to keep swimming in water infested with ascii sharks, it's my dream..."
lxsameer has joined #ruby
malthe has joined #ruby
stonecolddevin has quit [Ping timeout: 246 seconds]
stonecolddevin has joined #ruby
mikepack has quit [Ping timeout: 248 seconds]
cburyta has quit [Ping timeout: 252 seconds]
decoponio has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
kevinykchan has joined #ruby
rainmanjam has joined #ruby
arietis has joined #ruby
blaxter has joined #ruby
tonni has quit [Remote host closed the connection]
andikr has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
blaxter_ has joined #ruby
rainmanjam has quit [Ping timeout: 245 seconds]
Kricir has quit [Remote host closed the connection]
blaxter has quit [Read error: Connection reset by peer]
intuxicated has quit [Read error: No route to host]
Hanmac has quit [Ping timeout: 252 seconds]
Derander_ is now known as Derander
Hanmac has joined #ruby
LLKCKfan has quit [Read error: Connection reset by peer]
jzinedine has joined #ruby
heftig has joined #ruby
LLKCKfan has joined #ruby
kobain has quit []
mengu has joined #ruby
io_syl has quit []
fgo has joined #ruby
einarj has joined #ruby
tylersmith has joined #ruby
Astral_ has joined #ruby
Astral_ has quit [Read error: No route to host]
Astralum has quit [Ping timeout: 260 seconds]
mhenrixon is now known as serve
serve has quit [Quit: Textual IRC Client: www.textualapp.com]
fgo has quit [Ping timeout: 250 seconds]
Hanmac1 has joined #ruby
ElCapitanMarklar has joined #ruby
kevinykchan has quit [Read error: Operation timed out]
dangerousdave has joined #ruby
tylersmith has quit [Ping timeout: 265 seconds]
mengu has quit [Ping timeout: 260 seconds]
kevinykchan has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
mattp__ has quit [Read error: Connection reset by peer]
mhenrixo_ has joined #ruby
mhenrixo_ has quit [Client Quit]
mhenrixon has joined #ruby
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Es0teric has quit [Quit: Computer has gone to sleep.]
mojjojo has joined #ruby
phansch_ has quit [Remote host closed the connection]
Lewix has joined #ruby
shabgard has joined #ruby
tonni has joined #ruby
obs has joined #ruby
coder_neo has joined #ruby
shabgard has left #ruby [#ruby]
aryaching has joined #ruby
cpruitt has joined #ruby
dingus_khan has quit []
cpruitt has quit [Client Quit]
kloeri_ has joined #ruby
Jdubs has quit [Remote host closed the connection]
plotter has joined #ruby
recurrence has quit [Read error: Connection reset by peer]
recurrence has joined #ruby
claymore has joined #ruby
Hanmac has joined #ruby
greenarrow has joined #ruby
coder_neo has quit [Quit: Leaving]
Hanmac1 has quit [Ping timeout: 252 seconds]
dangerousdave has quit [Remote host closed the connection]
mlpinit has joined #ruby
jlebrech has joined #ruby
nvrch has joined #ruby
<dachi> havenwood: how do I generate html Tomdoc ?
<dachi> is it tomdoc gem?
tvw has joined #ruby
JasmeetQA1 has quit [Quit: Leaving.]
mojjojo has quit [Quit: mojjojo]
JasmeetQA has joined #ruby
timonv has joined #ruby
brennanMKE has joined #ruby
Al___ has joined #ruby
fgo has joined #ruby
mlpinit has quit [Ping timeout: 250 seconds]
arctaruz has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pdtpatrick has quit [Quit: pdtpatrick]
Hobogrammer has joined #ruby
timonv_ has joined #ruby
roolo has joined #ruby
LLKCKfan has quit [Ping timeout: 265 seconds]
Hanmac has quit [Ping timeout: 260 seconds]
timonv__ has joined #ruby
aryaching_ has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
fgo has quit [Ping timeout: 252 seconds]
brennanMKE has quit [Ping timeout: 252 seconds]
asmodlol has joined #ruby
kaliya has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
troessner has joined #ruby
polysics has joined #ruby
<polysics> guard users to the rescue!
<polysics> how do you get Guard to run ONLY the spec you are working on if it is failing?
timonv_ has quit [Ping timeout: 245 seconds]
ElCapitanMarklar has quit [Ping timeout: 248 seconds]
<polysics> it runs everything, I have large stacks and debugging is a nightmare
<polysics> I have a stock Guardfile
h0lyalg0rithm has quit [Quit: Textual IRC Client: www.textualapp.com]
<polysics> tried a few combinations but got nothing different
yasushi has quit [Remote host closed the connection]
marr has joined #ruby
tesuji has joined #ruby
<dachi> is yard like too old and unmaintained? because I could not generate file correctly
<dachi> i mean
<dachi> Tomdoc
<dachi> not yard sorry
mikepack has joined #ruby
Hanmac has joined #ruby
RubyMonkey has joined #ruby
<RubyMonkey> k
cburyta has joined #ruby
aryaching_ has quit [Read error: Connection reset by peer]
rootshift has joined #ruby
fgo has joined #ruby
<dachi> what it does it generates for module, but it can't look inside it
aryaching has joined #ruby
whomp has joined #ruby
plotter has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 272 seconds]
mhenrixon is now known as mhenrixon|afk
jaxxstorm has joined #ruby
cburyta has quit [Ping timeout: 272 seconds]
ConstantineXVI has quit [Ping timeout: 265 seconds]
relix has quit [Read error: Connection reset by peer]
_Andres has joined #ruby
relix has joined #ruby
rainmanjam has joined #ruby
rdark has joined #ruby
ConstantineXVI has joined #ruby
whomp has quit [Ping timeout: 265 seconds]
TMM has joined #ruby
workmad3 has joined #ruby
rainmanjam has quit [Ping timeout: 250 seconds]
nari has quit [Ping timeout: 252 seconds]
addisaden has joined #ruby
ghr has joined #ruby
dubios has quit [Excess Flood]
yfeldblum has quit [Ping timeout: 265 seconds]
Evenix has quit [Remote host closed the connection]
Evenix has joined #ruby
froy has quit [Ping timeout: 245 seconds]
dubios has joined #ruby
pietr0 has quit [Quit: pietr0]
Kricir has joined #ruby
RoxasShadowRS has joined #ruby
Evenix has quit [Ping timeout: 265 seconds]
Hanmac has quit [Ping timeout: 250 seconds]
Sid05 has joined #ruby
gja has joined #ruby
iMe is now known as iMe_away
aryaching has quit [Read error: Connection reset by peer]
phansch has joined #ruby
aryaching has joined #ruby
Kricir has quit [Ping timeout: 250 seconds]
timonv__ has quit [Remote host closed the connection]
Davey has joined #ruby
Sid05 has quit [Ping timeout: 245 seconds]
<agent_white> Night folks
agent_white has quit [Quit: leaving]
<jlebrech> would be nice to have heredocs you can tab in
abk has joined #ruby
ephemerian has joined #ruby
Davey has quit [Client Quit]
Davey has joined #ruby
sarlalian has quit [Ping timeout: 250 seconds]
troessner has quit [Ping timeout: 260 seconds]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
TejasDinkar has joined #ruby
browndawg has quit [Read error: Operation timed out]
Hanmac has joined #ruby
gja has quit [Ping timeout: 260 seconds]
malthe has quit [Ping timeout: 250 seconds]
Zai00 has joined #ruby
shaunbaker has joined #ruby
browndawg has joined #ruby
pen has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
mlpinit has joined #ruby
pen has quit [Ping timeout: 245 seconds]
Norrin has quit [Ping timeout: 264 seconds]
yellow5 has quit [Quit: time to go!]
yfeldblum has quit [Ping timeout: 265 seconds]
yellow5 has joined #ruby
klaut has joined #ruby
timonv has joined #ruby
brennanMKE has joined #ruby
mehlah has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
malthe has joined #ruby
matled has quit [Read error: Connection reset by peer]
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
mikepack has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
S0da has joined #ruby
lkba has quit [Ping timeout: 248 seconds]
GinoMan has quit [Ping timeout: 245 seconds]
m8 has joined #ruby
matled has joined #ruby
Xeago has joined #ruby
dzhulk has left #ruby [#ruby]
nuck has quit [Ping timeout: 245 seconds]
mikepack has quit [Ping timeout: 248 seconds]
Norrin has joined #ruby
mikepack has joined #ruby
ace_striker has quit [Ping timeout: 245 seconds]
bovi has joined #ruby
PLejeck has joined #ruby
cburyta has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
zaargy has joined #ruby
malthe has quit [Ping timeout: 245 seconds]
mikepack has quit [Ping timeout: 245 seconds]
jizanthapus-work has joined #ruby
Ziarkaen has joined #ruby
<jizanthapus-work> > puts false or true
tcurdt has joined #ruby
<jizanthapus-work> >> puts false or true
<eval-in> jizanthapus-work => false ... (https://eval.in/100368)
lemonsparrow has joined #ruby
<jizanthapus-work> why?
Wolland has quit []
<tobiasvl> >> puts (false or true)
JasmeetQA has joined #ruby
cburyta has quit [Ping timeout: 272 seconds]
fgo has quit [Read error: Connection reset by peer]
intuxicated has joined #ruby
mojjojo has joined #ruby
rainmanjam has joined #ruby
octaplus has joined #ruby
mikecmpbll has joined #ruby
ace_striker has joined #ruby
decoponyo has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
Anarch has quit [Ping timeout: 265 seconds]
Anarch has joined #ruby
cj3kim has quit [Remote host closed the connection]
decoponyo has quit [Read error: Connection reset by peer]
decoponio has quit [Ping timeout: 250 seconds]
rainmanjam has quit [Ping timeout: 250 seconds]
TejasDinkar has quit [Quit: This computer has gone to sleep]
DaniG2k has joined #ruby
<jizanthapus-work> tobiasvl, but why ;-(
Anarch has quit [Ping timeout: 245 seconds]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
<bovi> ruby executes first: "puts false"
<bovi> then it returns "true"
mojjojo has quit [Quit: mojjojo]
<bovi> without parentheses it looks for ruby like this: "(puts false) or true"
<jizanthapus-work> yeah, I get it
decoponio has joined #ruby
mojjojo has joined #ruby
<bovi> I think you want to do something like: "puts false || true"
<jizanthapus-work> bovi, indeed, but for some reason I was getting a syntax error
<jizanthapus-work> flag_only = !flag_subst || flags.include? 'o'
malthe has joined #ruby
<jizanthapus-work> I get "syntax error, unexpected tSTRING_BEG, expecting end-of-input" pointing at the 'o'
popl has joined #ruby
popl has joined #ruby
himsin has joined #ruby
Clooth has joined #ruby
mengu has quit [Remote host closed the connection]
abk has quit [Quit: Leaving]
<bovi> flag_only = !flag_subst || flags.include?('o')
<bovi> you have to help ruby there a bit
<jizanthapus-work> bovi, why doesn't it parse without the parens?
<bovi> oh I'm not a parser guru
<bovi> the state might be to complex at that point that the implementation can' handle it anymore
zxd has quit [Ping timeout: 264 seconds]
jrist has quit [Ping timeout: 246 seconds]
zxd has joined #ruby
<jizanthapus-work> bovi, tobiasvl, thanks for the input
<bovi> that is always a little bit tricky with Rubys ability to drop parentheses. It is more guess work of the interpreter than anything else what the programmer might want to do there
m8 has quit [Read error: Connection reset by peer]
ace_striker has quit [Ping timeout: 245 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
tris has joined #ruby
iMe_away is now known as iMe
Hiall has joined #ruby
Sid05 has joined #ruby
m8 has joined #ruby
ktun has joined #ruby
Ziarkaen has quit [Ping timeout: 248 seconds]
Sid05 has quit [Read error: Operation timed out]
tobago has joined #ruby
barratt has joined #ruby
himsin has quit [Quit: himsin]
cburyta has joined #ruby
xue has quit [Quit: Leaving]
OdNairy has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
mehlah has quit [Quit: Leaving...]
mavcunha has joined #ruby
cburyta has quit [Ping timeout: 260 seconds]
jrist has joined #ruby
Al___ has quit [Quit: Al___]
<monsieurp> maroloccio: u there?
danijoo_ has joined #ruby
Al___ has joined #ruby
ItSANgo__ has quit [Read error: Connection reset by peer]
raphaelivan has joined #ruby
shredding has joined #ruby
danijoo has quit [Ping timeout: 252 seconds]
cj3kim has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
razibog has joined #ruby
JasmeetQA has joined #ruby
parzo has joined #ruby
pen has joined #ruby
ItSANgo__ has joined #ruby
aryaching has joined #ruby
aagdbl has joined #ruby
caveat- has quit [Ping timeout: 252 seconds]
estebanrules has joined #ruby
caveat- has joined #ruby
Kamilion has joined #ruby
mlpinit has joined #ruby
pen has quit [Ping timeout: 245 seconds]
_tpavel has quit [Ping timeout: 260 seconds]
cj3kim has quit [Ping timeout: 245 seconds]
blaxter_ is now known as blaxter
yasushi has joined #ruby
brennanMKE has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
parzo has quit [Remote host closed the connection]
parzo has joined #ruby
jaredrhine has quit [Quit: No Ping reply in 180 seconds.]
jaredrhine has joined #ruby
h0lyalg0rithm has joined #ruby
parzo_ has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
yasushi has quit [Ping timeout: 260 seconds]
xargoon has quit [Ping timeout: 248 seconds]
parzo has quit [Read error: Connection reset by peer]
xargoon has joined #ruby
brennanMKE has quit [Ping timeout: 248 seconds]
gja has quit [Quit: This computer has gone to sleep]
YOURBESTFRIEND is now known as YoUrBeStFrIeNd
dayepa has joined #ruby
maloik has quit [Ping timeout: 252 seconds]
maloik has joined #ruby
mikepack has joined #ruby
multi_io has quit [Ping timeout: 252 seconds]
_tpavel has joined #ruby
YoUrBeStFrIeNd is now known as YourBestFriend
multi_io has joined #ruby
krnflake has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<dagobah> I'm struggling a little with modules, self.included, class_eval etc.. Anyone good with meta programming? https://gist.github.com/kotay/8932989
mikepack has quit [Ping timeout: 250 seconds]
iMe is now known as iMe_away
<mikecmpbll> dagobah: not sure i really understand what you're attempting
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<mikecmpbll> can't you just use include?
sensen has quit [Quit: leaving]
fgo has joined #ruby
rainmanjam has joined #ruby
<dagobah> mikecmpbll: I am using include, I'm trying to have my plugins module include various plugins, without the need for each plugin to wrap methods in class_eval
parzo_ has quit [Remote host closed the connection]
gja has joined #ruby
bovi has quit [Quit: bovi]
parzo has joined #ruby
klaas_ has joined #ruby
jzinedine has quit [Ping timeout: 246 seconds]
lkba has joined #ruby
obs has quit [Quit: Konversation terminated!]
epsylon has quit [Ping timeout: 252 seconds]
danijoo_ has quit [Ping timeout: 252 seconds]
rob_ has joined #ruby
Tranquility__ is now known as Tranquility
linduxed has quit [Ping timeout: 252 seconds]
Veejay has quit [Ping timeout: 252 seconds]
klaas has quit [Ping timeout: 252 seconds]
<rob_> hi, is it possible to get a list of object accessors? i have an amazon ec2 instance object and basically want to get the instance config out of it as a hash (or something) without having to individually check a load of methods..
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<mikecmpbll> dagobah: something like this? https://gist.github.com/mikecmpbll/8933104
wildroman2 has joined #ruby
jackneill has joined #ruby
jackneill has joined #ruby
jackneill has quit [Changing host]
parzo has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
rainmanjam has quit [Ping timeout: 250 seconds]
epsylon has joined #ruby
danijoo has joined #ruby
mercwithamouth has joined #ruby
tesuji has quit [Excess Flood]
linduxed has joined #ruby
<mikecmpbll> rob_: Obj.instance_variables ?
<rob_> mikecmpbll: looking at the aws-sdk code it looks like the class is doing something funky
<dagobah> mikecmpbll: Almost, except the plugins are calling class methods rather than defining methods .. https://gist.github.com/kotay/8933130
<rob_> thanks though
tesuji has joined #ruby
obs has joined #ruby
max96at has joined #ruby
estebanrules has quit [Ping timeout: 260 seconds]
<mikecmpbll> dagobah: hm. you can't do that (as you can see). there's probably a better way to do whatever you're trying to do
tvw has quit [Ping timeout: 246 seconds]
<dagobah> mikecmpbll: Ok, thanks for your help anyway. I just want "containerize" calls to the same interface.
<rob_> is it possible to access a method thats defined as self.foo from outside the class? like Object.send(:self.foo)?
<workmad3> dagobah: you just want to call the class method?
<tobiasvl> Object.send(:foo) then?
<workmad3> dagobah: why not just do 'base.hello("from plugin 1")'?
<tobiasvl> :self.foo makes no sense. the receiver (self) is Object in your call
<jxport> What's the difference between :: and . ?
Sid05 has joined #ruby
jzig has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rob_> tobiasvl: ok
Veejay has joined #ruby
relix has joined #ruby
aryaching has quit [Quit: sayonara! ^_^]
<mikecmpbll> dagobah: your example works if you put the call in a method, anyways
<tobiasvl> jxport: :: is a namespace resolution operator. http://stackoverflow.com/questions/3009477/what-is-rubys-double-colon-all-about
garybrett has joined #ruby
GinoMan has joined #ruby
<dagobah> workmad3: I can do that yes and that works. It's not that it doesn't work, I was just wondering whether there was a way to call the class method without self.included
<rob_> tobiasvl: this is whats confusing me: http://hastebin.com/yaxiseseno.vbs when https://github.com/aws/aws-sdk-ruby/blob/master/lib/aws/ec2/instance.rb does have the method that it says is missing
agjacome has joined #ruby
<workmad3> dagobah: Greeter.hello :P
Sid05 has quit [Ping timeout: 260 seconds]
tedstriker has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
shredding has quit [Read error: Connection reset by peer]
Scient has quit [Ping timeout: 252 seconds]
cburyta has joined #ruby
jzig has quit [Ping timeout: 265 seconds]
<workmad3> dagobah: it really depends on what you want to achieve, tbh... and it's not clear what that is atm
DaniG2k has quit [Quit: leaving]
starfox21 has quit [Ping timeout: 260 seconds]
<workmad3> dagobah: are you really just wanting to be able to orchestrate calls to some object with a known interface?
starfox21 has joined #ruby
poulson has joined #ruby
garybrett is now known as gbrt
obs has quit [Quit: Konversation terminated!]
relix has quit [Client Quit]
butblack has joined #ruby
Beoran_ has joined #ruby
Scient has joined #ruby
<dagobah> workmad3: Thanks, never mind, I'm having trouble explaining. I want the `hello` class method defined in a module to call the hello class method defined on a class that includes the module.
shredding has joined #ruby
sarlalian has joined #ruby
nari has joined #ruby
<dagobah> It's probably not possible without my original self.included ... class_eval.
butblack has left #ruby [#ruby]
<workmad3> dagobah: ok... and if the module was included > 1 time, which class would be invoked? (basically, it seems you've gotten the relationship completely the wrong way around)
<mikecmpbll> yeah. that
gbrt is now known as gbt
cburyta has quit [Ping timeout: 250 seconds]
<dagobah> Hmm, that's a good point. I'll have a rethink :)
<mikecmpbll> what would be the use of including a module, with a method that calls a class method
Beoran__ has quit [Ping timeout: 260 seconds]
gbt has quit [Quit: Linkinus - http://linkinus.com]
gbt has joined #ruby
<dagobah> It was an attempt to separate concerns by splitting things up into modules.
tcurdt has quit [Quit: bye bye]
obs has joined #ruby
rh1n0 has joined #ruby
viki has quit [Ping timeout: 245 seconds]
amritanshu_RnD has joined #ruby
amritanshu_RnD is now known as Guest56122
viki has joined #ruby
browndawg has left #ruby [#ruby]
pen has joined #ruby
mikepack has joined #ruby
dayepa has quit [Quit: dayepa]
JasmeetQA1 has joined #ruby
yfeldblum has joined #ruby
JasmeetQA has quit [Ping timeout: 260 seconds]
pen has quit [Ping timeout: 245 seconds]
mikepack has quit [Ping timeout: 250 seconds]
zoscoy has joined #ruby
gja has joined #ruby
mlpinit has joined #ruby
mehlah has joined #ruby
gja has quit [Client Quit]
yfeldblum has quit [Ping timeout: 265 seconds]
braincrash has quit [Ping timeout: 260 seconds]
yasushi has joined #ruby
brennanMKE has joined #ruby
popl has quit [Ping timeout: 248 seconds]
Evenix has joined #ruby
VTLob has joined #ruby
mlpinit has quit [Ping timeout: 272 seconds]
Shidash has quit [Ping timeout: 250 seconds]
krz has quit [Quit: WeeChat 0.4.2]
lotherk has joined #ruby
gja has joined #ruby
ayaz_ has quit [Quit: Textual IRC Client: www.textualapp.com]
starfox21 has quit [Quit: starfox21]
brennanMKE has quit [Ping timeout: 245 seconds]
aryaching has joined #ruby
Evenix has quit [Ping timeout: 250 seconds]
thomasxie has joined #ruby
Wolland has joined #ruby
mikepack has joined #ruby
failshell has joined #ruby
Mon_Ouie has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
aryaching has quit [Client Quit]
bbloom has quit [Ping timeout: 260 seconds]
cloud|nix has joined #ruby
lem has joined #ruby
lem is now known as Guest50504
Clooth has quit [Read error: Connection reset by peer]
h0lyalg0rithm has quit [Quit: Textual IRC Client: www.textualapp.com]
cloud|nix has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 272 seconds]
Guest50504 has left #ruby [#ruby]
aryaching has joined #ruby
rainmanjam has joined #ruby
kewubenduben has quit [Ping timeout: 246 seconds]
rainmanjam has quit [Remote host closed the connection]
rainmanjam has joined #ruby
kewubenduben has joined #ruby
tedstriker has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 252 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has quit [Remote host closed the connection]
S0da has quit [Remote host closed the connection]
rainmanjam has quit [Ping timeout: 248 seconds]
cinch_ has joined #ruby
DaniG2k has joined #ruby
<maroloccio> monsieurp: hi
cloud|nix has joined #ruby
iMe_away is now known as iMe
cinch_ has quit [Remote host closed the connection]
parzo has joined #ruby
prc has joined #ruby
griffindy has joined #ruby
mengu has quit [Remote host closed the connection]
rdark has quit [Ping timeout: 260 seconds]
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
shredding has quit [Quit: shredding]
rdark has joined #ruby
parzo has quit [Ping timeout: 250 seconds]
thomasxie has quit [Quit: Leaving.]
Sid05 has joined #ruby
tvw has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
rmorello has joined #ruby
Sid05 has quit [Ping timeout: 250 seconds]
cburyta has joined #ruby
cburyta_ has joined #ruby
angusigu1ss has joined #ruby
dubsteph has quit [Ping timeout: 245 seconds]
starfox21 has joined #ruby
cburyta has quit [Read error: Operation timed out]
depesz has left #ruby ["WeeChat 0.4.2"]
dangerousdave has joined #ruby
Sid05 has joined #ruby
thomasxie has joined #ruby
Speed has quit [Ping timeout: 260 seconds]
Sid05 has quit [Read error: Operation timed out]
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
dawkirst has joined #ruby
bobe2 has joined #ruby
bobe2 has left #ruby [#ruby]
wallerdev has joined #ruby
tvw has quit []
pen has joined #ruby
gja has joined #ruby
thomasxie has quit [Quit: Leaving.]
gja has quit [Client Quit]
fgo has quit [Remote host closed the connection]
caveat- has quit [Ping timeout: 245 seconds]
bluenemo has joined #ruby
mojjojo has quit [Quit: mojjojo]
failshell has quit [Remote host closed the connection]
vermele has joined #ruby
failshell has joined #ruby
failshell has quit [Remote host closed the connection]
yfeldblum has joined #ruby
stonevil has joined #ruby
relix has joined #ruby
pen has quit [Ping timeout: 250 seconds]
mlpinit has joined #ruby
rh1n0 has quit [Quit: Hopefully you don't see this...]
caveat- has joined #ruby
cloud|nix has quit [Quit: Ex-Chat]
intuxicated has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 265 seconds]
brennanMKE has joined #ruby
Rollabunna has quit [Remote host closed the connection]
mlpinit has quit [Ping timeout: 272 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
ffranz has joined #ruby
AlexRussia has joined #ruby
starfox21 has quit [Quit: starfox21]
octaplus has quit [Remote host closed the connection]
GinoMan has quit [Ping timeout: 260 seconds]
dkamioka has joined #ruby
stonevil has quit [Quit: Computer has gone to sleep.]
jkamenik has joined #ruby
brennanMKE has quit [Ping timeout: 260 seconds]
alekst has joined #ruby
dx7 has joined #ruby
Al___ has quit [Quit: Al___]
Sid05 has joined #ruby
mikepack has joined #ruby
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
Anarch has joined #ruby
zachallett has joined #ruby
gja has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
Sid05 has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
razibog has quit [Ping timeout: 248 seconds]
mt_thor has joined #ruby
zachallett has quit [Remote host closed the connection]
dblessing has joined #ruby
Astralum has joined #ruby
fgo has joined #ruby
rh1n0 has joined #ruby
angusigu1ss has quit [Ping timeout: 265 seconds]
rainmanjam has joined #ruby
max96at has quit [Read error: Connection reset by peer]
IceyEC has joined #ruby
OdNairy has quit [Ping timeout: 272 seconds]
angusigu1ss has joined #ruby
max96at has joined #ruby
OdNairy has joined #ruby
nZac has joined #ruby
arietis has joined #ruby
rainmanjam has quit [Ping timeout: 248 seconds]
VTLob has quit [Quit: VTLob]
mjs2600 has joined #ruby
fgo has quit [Remote host closed the connection]
pavilionXP has quit [Read error: Connection reset by peer]
mengu has joined #ruby
rdark has quit [Ping timeout: 248 seconds]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
mark_locklear has joined #ruby
rdark has joined #ruby
mt_thor has quit [Quit: Lingo - http://www.lingoirc.com]
banister has joined #ruby
Jdubs has joined #ruby
yacks has joined #ruby
ritek has left #ruby [#ruby]
lemonsparrow has quit [Ping timeout: 245 seconds]
stringoO has joined #ruby
matrixis1 is now known as matrixise
juni0r has quit [Ping timeout: 265 seconds]
fgo has joined #ruby
nszceta has joined #ruby
fgo has quit [Read error: No route to host]
ace_striker_ has joined #ruby
stringoO has quit [Read error: No route to host]
fgo has joined #ruby
mikepack has joined #ruby
ace_striker has quit [Ping timeout: 245 seconds]
fgo has quit [Client Quit]
Guest56122 has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 248 seconds]
stonevil has joined #ruby
hello_world has joined #ruby
dzhulk has joined #ruby
Thanatermesis has quit [Read error: Connection reset by peer]
kaldrenon has joined #ruby
amundj has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
gja has quit [Quit: This computer has gone to sleep]
shredding has joined #ruby
blaxter has quit [Remote host closed the connection]
tedstriker has joined #ruby
browndawg has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby
mary5030 has joined #ruby
iMe is now known as iMe_away
nZac has left #ruby [#ruby]
stonevil has quit [Ping timeout: 248 seconds]
blaxter_ has joined #ruby
pixelgremlins_ba has joined #ruby
obs has left #ruby [#ruby]
S0da has joined #ruby
pen has joined #ruby
obs has joined #ruby
angusigu1ss has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
pixelgremlins has quit [Ping timeout: 250 seconds]
obs has left #ruby [#ruby]
pencilcheck has joined #ruby
dorei has joined #ruby
v0n has joined #ruby
Lewix has quit [Quit: Leaving...]
atmosx has joined #ruby
mary5030_ has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
pmullin has joined #ruby
pen has quit [Ping timeout: 245 seconds]
obs has joined #ruby
pencilcheck has quit [Ping timeout: 250 seconds]
JasmeetQA1 has quit [Quit: Leaving.]
sparrovv has joined #ruby
Sawbones has joined #ruby
mary5030 has joined #ruby
mary5030_ has quit [Ping timeout: 250 seconds]
cloud|nix has joined #ruby
yasushi has quit [Remote host closed the connection]
jsilver_ has quit [Read error: Connection reset by peer]
jsilver has joined #ruby
iMe_away is now known as iMe
ItSANgo__ has quit [Quit: Leaving...]
anicet has joined #ruby
gja has joined #ruby
tedstriker has quit [Read error: Connection reset by peer]
bthesorceror has joined #ruby
anicet is now known as juni0r
klip has quit [Ping timeout: 246 seconds]
klip has joined #ruby
bthesorceror has quit [Remote host closed the connection]
bthesorceror has joined #ruby
cloud|nix has quit [Quit: Ex-Chat]
blandflakes has joined #ruby
Al_ has joined #ruby
Al_ is now known as Guest11323
ItSANgo has joined #ruby
VTLob has joined #ruby
<dorei> atmosx: so by signing an online petition, nsa will stop spying at the whole planet? :D
Sid05 has joined #ruby
sambao21 has joined #ruby
angusigu1ss has joined #ruby
slowcon has joined #ruby
<atmosx> dorei: if a barefoot man won the Brittish empire, Greece won the 2004 European football championship and people compare Lebron James to MJ without laughing, I believe that anything is possible.
<dorei> lol
<dorei> i'm wandering who's that barefoot man
rainmanjam has joined #ruby
arctaruz has left #ruby ["Leaving"]
parduse has quit [Remote host closed the connection]
Sid05 has quit [Client Quit]
parduse has joined #ruby
gja has quit [Ping timeout: 265 seconds]
hello_world has quit [Quit: Page closed]
parduse has left #ruby [#ruby]
parduse has joined #ruby
meatherly has quit [Remote host closed the connection]
jerius has joined #ruby
gja has joined #ruby
meatherly has joined #ruby
angusigu1ss has quit [Ping timeout: 265 seconds]
mrevd has joined #ruby
mrevd has quit [Read error: Connection reset by peer]
lxsameer has quit [Quit: Leaving]
rainmanjam has quit [Ping timeout: 260 seconds]
mrevd has joined #ruby
mrevd has quit [Changing host]
mrevd has joined #ruby
dik_dak has joined #ruby
tonni has quit [Remote host closed the connection]
tonni has joined #ruby
meatherly has quit [Ping timeout: 245 seconds]
mrevd1 has joined #ruby
mrevd has quit [Read error: Operation timed out]
raphaelivan has quit [Quit: Leaving.]
mrevd has joined #ruby
mrevd has quit [Read error: Connection reset by peer]
<slowcon> morning guys
mrevd has joined #ruby
mrevd has quit [Read error: Connection reset by peer]
thesheff17 has joined #ruby
jovon has joined #ruby
mrevd has joined #ruby
mrevd2 has joined #ruby
mrevd2 has quit [Read error: Connection reset by peer]
gja has quit [Quit: This computer has gone to sleep]
tonni has quit [Ping timeout: 248 seconds]
mrevd2 has joined #ruby
mrevd2 has quit [Read error: Connection reset by peer]
Jdubs has quit [Remote host closed the connection]
mrevd1 has quit [Ping timeout: 272 seconds]
mrevd1 has joined #ruby
mrevd1 has quit [Read error: Connection reset by peer]
burlyscudd has joined #ruby
mrevd1 has joined #ruby
mrevd2 has joined #ruby
mrevd2 has quit [Read error: Connection reset by peer]
JustMozzy has joined #ruby
Sawbones has quit []
<JustMozzy> hi guys. I am fighting with sass/compass. Why am I getting the error ArgumentError: different prefix: "" and "D:\\htdocs/AKM/portal/1206_facelift/site/lib"
mrevd2 has joined #ruby
mrevd2 has quit [Read error: Connection reset by peer]
mrevd has quit [Ping timeout: 248 seconds]
mrevd2 has joined #ruby
mrevd2 has quit [Read error: Connection reset by peer]
[krisbulman] is now known as krisbulman
thesheff17 has quit [Ping timeout: 250 seconds]
mrevd has joined #ruby
mrevd has quit [Read error: Connection reset by peer]
yasushi has joined #ruby
Thanatermesis has joined #ruby
<dorei> JustMozzy: i've never used sass/compass, but I notice that the "D:\\..." string has mixed '/' and '\', dont know if that has anything to do with your errors
Squarepy has joined #ruby
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby
mrevd has joined #ruby
<JustMozzy> dorei: neither do I. I don't know where to set this path
Xeago_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrevd1 has quit [Ping timeout: 248 seconds]
relix has joined #ruby
_Andres has joined #ruby
mlpinit has joined #ruby
eka has joined #ruby
<JustMozzy> anyone knows his way around this dipshit tool?
griffindy has quit [Quit: Computer has gone to sleep.]
atmosx has quit [Quit: Lost in trance]
Squarepy has quit [Read error: Connection reset by peer]
zachallett has joined #ruby
Hanmac1 has joined #ruby
noop has quit [Ping timeout: 260 seconds]
S0da has quit [Remote host closed the connection]
gja has joined #ruby
stonevil has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
tonni has joined #ruby
obs has quit [Read error: Operation timed out]
burlyscudd has quit [Quit: Leaving.]
speakingcode has quit [Ping timeout: 260 seconds]
obs has joined #ruby
JustMozzy has left #ruby [#ruby]
Killerkeksdose_ has joined #ruby
Killerkeksdose has quit [Ping timeout: 245 seconds]
Jake232 has joined #ruby
stonevil has quit [Ping timeout: 250 seconds]
petey has joined #ruby
santiago_ has joined #ruby
santiago_ is now known as loc22
mary5030_ has joined #ruby
mansi has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
burlyscudd has joined #ruby
jprovazn has quit [Quit: Leaving]
momomomomo has joined #ruby
Jake232 has quit [Client Quit]
pen has joined #ruby
joonty has quit [Quit: WeeChat 0.4.2]
jprovazn has joined #ruby
dik_dak has quit [Remote host closed the connection]
ehc has joined #ruby
caveat- has quit [Ping timeout: 264 seconds]
Thanatermesis is now known as Thana[work]
RubyMonkey has quit [Quit: Leaving.]
Xuisce1 has joined #ruby
fedesilva has joined #ruby
pen has quit [Ping timeout: 245 seconds]
mary5030_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
obs has quit [Quit: Konversation terminated!]
caveat- has joined #ruby
blaxter_ has quit [Quit: foo]
obs has joined #ruby
blaxter_ has joined #ruby
ace_striker_ has quit [Ping timeout: 245 seconds]
Kricir has joined #ruby
nateberkopec has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jrist has quit [Remote host closed the connection]
aagdbl has quit [Quit: This computer has gone to sleep]
JustMozzy has joined #ruby
tonni has quit [Ping timeout: 272 seconds]
<JustMozzy> Anyone can help out with sass compass? An not getting this thing to work
rainmanjam has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
Kricir has quit [Client Quit]
Xuisce1 has quit [Ping timeout: 245 seconds]
<certainty> JustMozzy: what are you trying to do?
pmullin has quit [Quit: Textual IRC Client: www.textualapp.com]
<JustMozzy> certainty: I am trying to get the compilation of my project to work. I have a config.rb where the paths are set but I keep getting an argument error, ArgumentError: different prefix: "" and "D:\\htdocs/AKM/portal/1206_facelift/site/lib"
burlyscudd has quit [Quit: Leaving.]
mercwithamouth has quit [Ping timeout: 260 seconds]
CorySimmons has joined #ruby
loc22 has quit [Quit: Konversation terminated!]
BackEndCoder has quit [Ping timeout: 246 seconds]
tjbiddle has joined #ruby
dseitz has joined #ruby
seekwill has quit [Ping timeout: 260 seconds]
yellow5 has quit [Quit: time to go!]
ryanf has quit [Ping timeout: 250 seconds]
hl has quit [Ping timeout: 260 seconds]
hl has joined #ruby
<certainty> JustMozzy: what are you doing exactly? What produces this error? also show your config.rb
tjbiddle has quit [Client Quit]
tonni has joined #ruby
Macaveli has quit [Ping timeout: 250 seconds]
Rylee has quit [Ping timeout: 265 seconds]
Xuisce1 has joined #ruby
mikepack has joined #ruby
yalue has quit [Ping timeout: 260 seconds]
<JustMozzy> certainty: I got rid of the error but now a new one comes. in my screen.scss I have @import "icons/*.png" and it claims that it cannot find any files in the icons/*.png path. I double and triple checked for the path and it is correct. here is my config.rb http://pastebin.ca/2638650
jerius has quit [Ping timeout: 260 seconds]
gja has quit [Quit: This computer has gone to sleep]
shaunbaker has quit [Remote host closed the connection]
Rylee has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
Ch4rAss has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
marienz has quit [Ping timeout: 604 seconds]
pu22l3r_ has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 250 seconds]
pu22l3r has joined #ruby
tiguser has quit [Ping timeout: 250 seconds]
bogeyd6 has joined #ruby
jerius has joined #ruby
Monk_code has quit []
rainmanjam has quit [Remote host closed the connection]
pmullin has joined #ruby
cloud|nix has joined #ruby
rainmanjam has joined #ruby
<JustMozzy> certainty: It gives me Compass::SpriteException: No files were found in the load path matching "icons/*.png". Your current load paths are: D:\htdocs\AKM\portal\1206_facelift\site/img\basics
<certainty> JustMozzy: ok i don't know compass well. I'm currently trying to make sense from the documentation. Importing images creates sprites as i understand it. Where exactly is your icons directory? Is it under your images_dir?
yellow5 has joined #ruby
<JustMozzy> yupp. it is in img/basics/icons
marienz has joined #ruby
<JustMozzy> certainty: ^
hl has quit [Ping timeout: 260 seconds]
seekwill has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
angusigu1ss has joined #ruby
seekwill is now known as Guest33603
ryanf has joined #ruby
Guest50231 has quit [Remote host closed the connection]
Kabaka has quit [Ping timeout: 252 seconds]
griffindy has joined #ruby
rainmanjam has quit [Ping timeout: 260 seconds]
Rylee has quit [Ping timeout: 260 seconds]
palantir_ has joined #ruby
mojjojo has joined #ruby
bean has joined #ruby
stonevil has joined #ruby
toroidalcode has joined #ruby
yalue has joined #ruby
toroidalcode has quit [Client Quit]
<certainty> JustMozzy: i dont know windows and have know idea how ruby handles paths with different seperators on that platform. Could you please verify that the path makes sense to ruby in irb? For example by running File.exists?('D:\htdocs\AKM\portal\1206_facelift\site/img\basics/' + icon_filename)
Megtastique has joined #ruby
coca_rails has joined #ruby
nemesit|znc has joined #ruby
angusigu1ss has quit [Ping timeout: 245 seconds]
tobago has quit [Remote host closed the connection]
rh1n0 has quit [Quit: im out!]
markalanevans has joined #ruby
<JustMozzy> certainty: does ruby cmd have the option to execute code? (like php -r "somecode")
<certainty> JustMozzy: yes -e
prc has quit [Ping timeout: 248 seconds]
<certainty> there should also be irb or something
s2013 has joined #ruby
depesz has joined #ruby
<JustMozzy> certainty: ok, ruby finds the directories.
Xeago_ has quit [Remote host closed the connection]
<depesz> hi. I have yal file, that I want to read, parse, modify, and save, but while saving I'd like to retain original order of top-level keys.
Xeago_ has joined #ruby
<depesz> is that possible in any other way than manually getting order by regexp-parsing the yaml file?
mengu has quit [Remote host closed the connection]
mikepack has joined #ruby
pwh has joined #ruby
bhaak has quit [Read error: Operation timed out]
jerius has quit []
tiguser has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
Xuisce1 has quit [Ping timeout: 245 seconds]
<certainty> JustMozzy: ok, that's good. Well it's bad actually. I have now further idea. I have too little knowledge about compass. is there a channel here about that topic by any chance?
deception has joined #ruby
burlyscudd has joined #ruby
<JustMozzy> well there is #compass but it is rather dead
e^0 has joined #ruby
mercwithamouth has joined #ruby
petey has quit [Remote host closed the connection]
mansi_ has joined #ruby
petey has joined #ruby
mansi has quit [Read error: Connection reset by peer]
tagrudev has quit [Quit: Me = Awesome]
<JustMozzy> certainty: am looking through the code and trying to understand how this whole thing is loaded. ruby is quite difficult to read
tonni has quit [Read error: Connection reset by peer]
bhaak has joined #ruby
baroquebobcat has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
<dachi> hi. please help.
<dachi> def initialize(file, dir: nil, css: nil, link_to: nil); [file, dir, css, link_to]
<dachi> ruby 2 is fine but 1.9 is syntax error, unexpected tLABEL (SyntaxError)
<dachi> why?
<certainty> JustMozzy: what code are you looking at. Normally ruby is quite easy to read
mansi_ has quit [Read error: Connection reset by peer]
<dachi> I mean it became like that, it was okay on 1.9 on travis, so something... I don't know
obs has quit [Quit: Konversation terminated!]
mansi has joined #ruby
<havenwood> dachi: keyword arguments were added in 2.0
shaunbaker has joined #ruby
<JustMozzy> certainty: the compass code. well it is also for me the first time to actually see ruby code hehe
obs has joined #ruby
rainmanjam has joined #ruby
rainmanjam has quit [Remote host closed the connection]
kcombs has joined #ruby
<dachi> but how can it work on 1.9 because it worked travis shows positive hmm
intuxicated has joined #ruby
intuxicated has quit [Changing host]
intuxicated has joined #ruby
petey has quit [Ping timeout: 250 seconds]
<certainty> JustMozzy: alright, yeah it has some constructs that are not easy to understand at a first glance. Probably you can turn on some kind of debug mode or verbose mode that gives you more information
pdtpatrick has joined #ruby
e^0 has quit [Ping timeout: 250 seconds]
failshell has joined #ruby
timonv has quit [Remote host closed the connection]
jzig has joined #ruby
<JustMozzy> certainty: yeah, I was able to turn on a stack trace which lead me to the line where the compass thing is failing. specifically it cannot find files in this line: files = Dir[File.join(folder, uri)].sort where folder the img/basic absolute path is and the uri the icons/*.png
msmith_ has joined #ruby
mary5030 has joined #ruby
jprovazn has quit [Ping timeout: 265 seconds]
Macaveli has joined #ruby
h0lyalg0rithm has joined #ruby
<certainty> JustMozzy: how do you know what folder and uri are?
<JustMozzy> certainty: I printed them :)
<certainty> JustMozzy: ah good, then print the result of File.join(folder, uri) please
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
<certainty> also print the result of Dir[File.join(folder, uri)].inspect
Hobogrammer has quit [Ping timeout: 246 seconds]
h0lyalg0rithm has quit [Client Quit]
<JustMozzy> here's the output of the join D:\htdocs/AKM/portal/1206_facelift/site/img/basics/icons/*.png and the inspect gives an empty array. I printed also the File exists check on folder and it returns true
Guest11323 has quit [Quit: Guest11323]
<certainty> JustMozzy: well i'm sure the folder exists. Can you give me an example filename of an image in there?
jerius has joined #ruby
h0lyalg0rithm has joined #ruby
<JustMozzy> arr-black-r.png
<JustMozzy> certainty: That would be the first one on the list arr-black-r.png
mojo619 has joined #ruby
tonni has joined #ruby
coca_rails has quit [Remote host closed the connection]
Evenix has joined #ruby
burlyscudd has quit [Quit: Leaving.]
jzig has quit [Ping timeout: 265 seconds]
jrist has joined #ruby
<certainty> JustMozzy: that's strange, ok now please do: puts Dir[File.join(folder, "*")].inspect
Monk_code has joined #ruby
Al_ has joined #ruby
s2013 has quit [Ping timeout: 260 seconds]
<JustMozzy> certainty: strange. also an empty array
Al_ is now known as Guest88060
h0lyalg0rithm has quit [Client Quit]
<certainty> JustMozzy: i'm pretty sure that directory is empty. Did you try to cd into it and just list the contents? i believe it's cd and dir on windows
timonv has joined #ruby
Monk_code has quit [Remote host closed the connection]
danshult_ has joined #ruby
<JustMozzy> certainty: tried Dir[folder].inspect and that gives an empty array too. the folders have contents
<JustMozzy> this is really strange
danshultz has quit [Read error: Connection reset by peer]
sailias has joined #ruby
ocx has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
<JustMozzy> certainty: in basics alone I have 7 folders and 180 files
<ocx> hi all,
mercwithamouth has quit [Ping timeout: 250 seconds]
pmullin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ocx> i would like to develop a script that scans a certain directory for files, and copy only new files into a destination directory, example: i have file1,file2 at time 1, script runs and copies file1 and file2 to destination directory, at time 2: file3 is generated so now i have file1,file2 and file3 , i need to copy now only file3 what is the best way to achieve this?
oso|away is now known as oso96_2000
<certainty> JustMozzy: i don't know what's going on there. You cd'ed into the directory by copy & pasting the path?
pmullin has joined #ruby
LekeFly has joined #ruby
jrist has quit [Read error: Connection reset by peer]
<certainty> ocx: rsync
<workmad3> certainty: heh :) I was about to suggest that...
Es0teric has joined #ruby
<workmad3> certainty: I was just looking up the option to specify for that behaviour :P
_tpavel has quit [Quit: Leaving]
<JustMozzy> certainty: just did now. no errors.
<certainty> JustMozzy: and now what does 'dir' show (is it dir?)
<workmad3> rsync -u
<ocx> i forgot to add 1 thing, the files are mainly datafile and they can deleted and recreated so for example file1 can be deleted and recreated as a new file, if it is a new file i need to copy it
<JustMozzy> certainty: same as before. 180 files and 7 folders
<certainty> ocx: rsync will recognize changed files
<workmad3> ocx: rsync -u
<certainty> JustMozzy: i'm lost
Evenix has quit [Read error: Connection reset by peer]
<ocx> ok so it works on some hash or such
<JustMozzy> certainty: me too hehe. but thanks for the try :)
Evenix has joined #ruby
meatherly has joined #ruby
<ocx> ok another question i need to delete the old file1 on the destination directory
<ocx> and replace it with the new file1
tjbiddle has joined #ruby
<tongcx> hi, do you guys know which room should i ask rack problem? #rack seems only have very few people
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
pen has joined #ruby
<ocx> possible with rsync too?
<workmad3> ocx: that's the same question split over two lines
fedesilva has quit [Read error: Connection reset by peer]
<workmad3> ocx: and the answer is still 'rsync'
rayners has joined #ruby
fedesilva has joined #ruby
<ocx> nice i thought i need a db to do that
<certainty> JustMozzy: good luck anyways
<JustMozzy> certainty: thanks
stonevil has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
geggam has joined #ruby
<ocx> i have these files in many different directories, all files have same extension can i do like rsync -r *.txt for example to capture all these files?
Wolland has quit [Remote host closed the connection]
yinkum has joined #ruby
jonahR has joined #ruby
DrShoggoth has joined #ruby
pen has quit [Ping timeout: 250 seconds]
<JustMozzy> certainty: funny. if I do Dir.chdir(folder) and then Dir.glob(uri) I get my files
shoerain has joined #ruby
yfeldblum has joined #ruby
<certainty> ocx: man rsync ... you probably want --include
s2013 has joined #ruby
mikepack_ has joined #ruby
<certainty> JustMozzy: i assume an oddity with the path. I don't know a thing about it on windows though
stonevil has joined #ruby
<shoerain> Howdy, i'm not too familiar with ruby. What would be ruby's equivalent to a python virtualenv? bundler? I want a throwaway ruby environment where I can `gem install` whatever I want, without touching the system versions of ruby/gem.
clamstar has quit [Quit: ZNC - http://znc.in]
<shoerain> i don't really need rvm/rbenv if I can avoid 'em
kpshek has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<havenwood> shoerain: chgems is nice and has links to alternatives: https://github.com/postmodern/chgems#readme
guilleiguaran has quit [Ping timeout: 264 seconds]
palantir_ has quit [Ping timeout: 260 seconds]
clov3r has joined #ruby
Jdubs has joined #ruby
clov3r has quit [Read error: Connection reset by peer]
mtlatif_ has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
clov3r has joined #ruby
<shoerain> havenwood: looks like there are quite a lot of options (chruby, gst, gs, ohmygems) even without including rvm/rbenv. Wow... well, here's to getting chgems to work
tedstriker has joined #ruby
guilleiguaran has joined #ruby
yasushi has quit [Remote host closed the connection]
jrist has joined #ruby
mtlatif_ has joined #ruby
Speed has joined #ruby
Speed has quit [Changing host]
Speed has joined #ruby
dubsteph has joined #ruby
<ocx> certainty: so mainly -r, --recursive recurse into directories and --include=*.txt ?
hl has joined #ruby
snath has quit [Ping timeout: 260 seconds]
<workmad3> ocx: and -u to update
Jdubs has quit [Ping timeout: 260 seconds]
im0b has quit [Ping timeout: 264 seconds]
<ocx> workmad3: and what to delete the old files on destination directory? i need to have an exact clone
tjbiddle has quit [Quit: tjbiddle]
<certainty> ocx: --delete
rainmanjam has joined #ruby
tonni has quit [Remote host closed the connection]
kevind has joined #ruby
sailias1 has joined #ruby
<certainty> ocx: also i like to work in archive-mode to preserve permissions
<ocx> certainty: so mainly: rsync -e ssh -avHK --delete -r --include *.txt ?
jrist has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
top4o has joined #ruby
someword has joined #ruby
pu22l3r_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
duggiefresh has joined #ruby
im0b has joined #ruby
<certainty> ocx: you missed the -u but yeah
bal has quit [Quit: bal]
<certainty> over ssh i like to add -z to compress, depending on the network connection
jerius has quit []
<ocx> certainty: i dont need a -u if i use avHK no?
obs__ has joined #ruby
acrussell has joined #ruby
jpinnix_ has quit [Ping timeout: 246 seconds]
obs has quit [Ping timeout: 245 seconds]
culturelabs has quit [Ping timeout: 246 seconds]
<ocx> rsync -avHK --delete -r --include *.txt temp/ does not work
sailias2 has joined #ruby
<ocx> ^ certainty
<shoerain> havenwood: so would I do `chgems ~/project gem install nokogiri`?
io_syl has joined #ruby
gnephiak has quit [Remote host closed the connection]
mary5030_ has joined #ruby
culturelabs has joined #ruby
pu22l3r has quit [Ping timeout: 250 seconds]
mary5030_ has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 272 seconds]
lepht has quit [Ping timeout: 264 seconds]
jpinnix_ has joined #ruby
<certainty> ocx: what do you mean, by it doesn't work? you didn't supply the target, did you?
mary5030_ has joined #ruby
<ocx> certainty: temp/ is the target
<certainty> ocx: you need to quote the include pattern, otherwise the shell will expand it
vlad_starkov has quit [Remote host closed the connection]
sailias1 has quit [Ping timeout: 260 seconds]
<ocx> rsync -avHK --delete -r "--include *.txt" temp/
mary5030 has quit [Ping timeout: 272 seconds]
Avahey has quit [Ping timeout: 246 seconds]
<ocx> rsync -avHK --delete -r --include "*.txt temp/
<ocx> no good
viki has quit [Ping timeout: 246 seconds]
jrist has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cloud|nix has quit [Quit: Ex-Chat]
alekst has joined #ruby
lepht has joined #ruby
Avahey has joined #ruby
coca_rails has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
jrist has quit [Read error: Connection reset by peer]
mojo619 has quit [Quit: mojo619]
Macaveli has quit [Ping timeout: 260 seconds]
viki has joined #ruby
terrellt has joined #ruby
Davey has joined #ruby
joonty has joined #ruby
tjbiddle has joined #ruby
Rylee has joined #ruby
mando_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
intuxicated has quit [Read error: No route to host]
coca_rails has quit [Ping timeout: 240 seconds]
jrist has joined #ruby
havenwood has quit []
_maes_ has joined #ruby
lmickh has joined #ruby
angusigu1ss has joined #ruby
petey has joined #ruby
Tr_ has joined #ruby
Hanmac has joined #ruby
<certainty> ocx: you need to exclude all files you don't want to include also you need to include the directory above ... so something like rsync -avHKr --delete --include '*.txt' --include '*/' --exclude '*' source target
h0lyalg0rithm has joined #ruby
Wolland has joined #ruby
dkamioka has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
h0lyalg0rithm has quit [Client Quit]
Yahkob has joined #ruby
rippa has joined #ruby
browndawg has left #ruby [#ruby]
nisstyre has joined #ruby
terrellt_ has joined #ruby
angusigu1ss has quit [Ping timeout: 265 seconds]
Kabaka has joined #ruby
bthesorceror has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
terrellt has quit [Ping timeout: 248 seconds]
terrellt_ is now known as terrellt
bthesorceror has joined #ruby
bthesorceror has quit [Read error: Connection reset by peer]
arietis has quit [Quit: Computer has gone to sleep.]
bthesorceror has joined #ruby
aryaching has quit [Ping timeout: 265 seconds]
kate_r has quit [Ping timeout: 260 seconds]
arietis has joined #ruby
CorySimmons has left #ruby [#ruby]
CorySimmons has joined #ruby
clamstar has joined #ruby
zoscoy has joined #ruby
pen has joined #ruby
kpshek has quit []
bigkevmcd has quit [Quit: Ex-Chat]
x77686d has joined #ruby
e^0 has joined #ruby
blaxter_ is now known as blaxter
razibog has joined #ruby
zoscoy has quit [Client Quit]
dzhulk has quit [Quit: Leaving.]
msmith__ has joined #ruby
bigkevmcd has joined #ruby
jerius has joined #ruby
jhass|off is now known as jhass
aspires has joined #ruby
heftig has quit [Quit: Quitting]
Yahkob has quit [Remote host closed the connection]
Yahkob has joined #ruby
rm_ has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
DrShoggoth has quit [Read error: Connection reset by peer]
m8 has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
msmith_ has quit [Ping timeout: 272 seconds]
msmith_ has joined #ruby
msmith__ has quit [Read error: Connection reset by peer]
ocx has quit [Ping timeout: 245 seconds]
polysics has left #ruby [#ruby]
markalanevans has quit [Ping timeout: 248 seconds]
Yahkob has quit [Ping timeout: 265 seconds]
sailias has joined #ruby
sailias has quit [Client Quit]
h0lyalg0rithm has joined #ruby
Aryasam has joined #ruby
h0lyalg0rithm has quit [Client Quit]
kpshek has joined #ruby
sailias2 has quit [Ping timeout: 272 seconds]
tjbiddle has quit [Quit: tjbiddle]
jerius has quit []
thesheff17 has joined #ruby
<shevy> guys, it's time again
<shevy> get undressed
bthesorceror has quit [Remote host closed the connection]
freakazoid0223 has left #ruby ["Leaving"]
baroquebobcat has joined #ruby
bthesorceror has joined #ruby
sparrovv has quit [Read error: Connection reset by peer]
estebanrules has joined #ruby
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
zeeraw has joined #ruby
einarj has quit [Remote host closed the connection]
Aryasam has quit [Read error: Connection reset by peer]
jlast has joined #ruby
tempered has quit [Quit: !q]
DrShoggoth has joined #ruby
sleepersawake has joined #ruby
DrShoggoth has quit [Read error: Connection reset by peer]
Megtastique has quit []
jonah_k has joined #ruby
yfeldblum has joined #ruby
pdtpatrick has quit [Quit: pdtpatrick]
sparrovv has joined #ruby
dx7 has quit [Remote host closed the connection]
sleepersawake has quit [Remote host closed the connection]
dx7 has joined #ruby
aspires has quit []
bluenemo has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
yellow5 has quit [Ping timeout: 260 seconds]
dx7_ has joined #ruby
Guest33603 has quit [Ping timeout: 245 seconds]
dx7 has quit [Read error: Connection reset by peer]
sleepersawake has joined #ruby
dagobah has quit [Quit: Leaving...]
Aryasam has joined #ruby
jerius has joined #ruby
Megtastique has joined #ruby
mando_ has quit [Remote host closed the connection]
echevemaster has joined #ruby
aganov has quit [Remote host closed the connection]
mando_ has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
duggiefresh has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
LekeFly has quit [Ping timeout: 260 seconds]
phansch has quit [Quit: Leaving]
dzhulk has joined #ruby
sdelmore has joined #ruby
JustMozzy has quit [Remote host closed the connection]
havenwood has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
vermele has quit [Read error: Connection reset by peer]
vermele has joined #ruby
Aryasam_ has joined #ruby
yellow5 has joined #ruby
Aryasam has quit [Ping timeout: 250 seconds]
seekwill has joined #ruby
brennanMKE has joined #ruby
brennanMKE has quit [Remote host closed the connection]
seekwill is now known as Guest17184
brennanMKE has joined #ruby
mercwithamouth has joined #ruby
DrShoggoth has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alassiter has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
bbloom has joined #ruby
tvw has joined #ruby
kpshek has quit []
<shevy> anyone ever thought of bundling small icons into a rubygem package?
shredding has quit [Quit: shredding]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<cout> shevy: yes but I grew up southern baptist, so we frown on that sort of thing
sleepersawake has quit [Remote host closed the connection]
io_syl has quit []
dblessing_ has joined #ruby
<shevy> you southern baptist guys are truly conservative
werdnativ has joined #ruby
<cout> but I'm trying to repent of my false orthodoxy!
petey has quit [Client Quit]
<shevy> hmm what is that?
shaunbaker has quit [Remote host closed the connection]
<jhass> the glyphicons
<shevy> ok I am not sure what that means :)
coca_rails has joined #ruby
<shevy> gylphicons?
mikepack has joined #ruby
<shevy> god I can not even spell it
<shevy> *glyphicons
<jhass> (well, some of them)
RoryHughes has joined #ruby
dblessing_ has quit [Remote host closed the connection]
<shevy> ah I see
dblessing has quit [Read error: No route to host]
<shevy> basically icons arranged under a style
robbyoconnor has quit [Ping timeout: 245 seconds]
aryaching has joined #ruby
kate_r has joined #ruby
Aryasam_ has quit [Quit: Bye]
dblessing has joined #ruby
<jhass> there's also stuff like https://rubygems.org/gems/entypo-rails which is an icon font
asgardBSD has joined #ruby
pen has quit [Remote host closed the connection]
<shevy> well good to see that someone has tried that, I was more thinking of generic icons without any style, even smaller icons. things like simple icons like small arrows (in all directors), some dot-images and such
Wolland has quit [Remote host closed the connection]
<shevy> *directions
blaxter has quit [Quit: foo]
<jhass> nah, we got unicode for that
<shevy> :(
<shevy> don't take away my small cute generic icons!
pietr0 has joined #ruby
kpshek has joined #ruby
Hanmac1 has joined #ruby
coca_rails has quit [Ping timeout: 240 seconds]
<shevy> hmm
TMM has quit [Quit: Ex-Chat]
mikepack has quit [Ping timeout: 245 seconds]
angusigu1ss has joined #ruby
<shevy> "Runtime Dependencies railties <= 5, >= 3.1"
<shevy> icons that depend on a package? O_o
<shevy> o_O
<shevy> O_O
pranny has joined #ruby
<shevy> my favourite is still the fileutils gem depending on rmagick
<jhass> "Rails asset pipeline plugin and CSS mappings for the Entypo pictograms by Daniel Bruce"
ebetancourt has joined #ruby
ebetancourt has quit [Max SendQ exceeded]
<shevy> thanks btw jhass
whomp has joined #ruby
ebetancourt has joined #ruby
ebetancourt has quit [Max SendQ exceeded]
ebetancourt has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
ebetancourt has quit [Max SendQ exceeded]
Hanmac has joined #ruby
ebetancourt has joined #ruby
ebetancourt has quit [Max SendQ exceeded]
stonevil has quit [Quit: Computer has gone to sleep.]
ghr has quit [Quit: Computer has gone to sleep.]
Hanmac1 has quit [Ping timeout: 245 seconds]
greenarrow has quit [Quit: 500]
ebetancourt has joined #ruby
ebetancourt has quit [Max SendQ exceeded]
maletor has joined #ruby
angusigu1ss has quit [Ping timeout: 250 seconds]
sleepersawake has joined #ruby
Yatharth has joined #ruby
burlyscudd has joined #ruby
pen has joined #ruby
_Andres has joined #ruby
vermele has quit [Read error: No route to host]
vermele has joined #ruby
ebetancourt has joined #ruby
<slowcon> hey guys. i wrote a script that goes to a music forum and scrapes all of the "Main Genre" titles using Nokogiri and css selectors. i put the output into an array using .map EX: "genre = grab.css(".forumtitle").map(&:text)" how can i pass these results to a database that will insert into seperate rows, not entire array in one cell.
<slowcon> or is there a better way to do it
<Yatharth> there is
tylersmith has joined #ruby
sleepersawake has quit [Remote host closed the connection]
<jhass> slowcon: just iterate over the array you got in genre (and name the variable genres since it contains many)
timonv has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
pu22l3r_ has joined #ruby
Yatharth has quit [Max SendQ exceeded]
momomomomo has joined #ruby
sparrovv has quit [Remote host closed the connection]
Yatharth has joined #ruby
sparrovv has joined #ruby
pel_daniel has joined #ruby
sdelmore has quit [Quit: Leaving.]
tongcx has quit [Quit: leaving]
andikr has quit [Read error: Connection reset by peer]
jfoy has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
sparrovv has quit [Remote host closed the connection]
LekeFly has joined #ruby
sdelmore has joined #ruby
yfeldblum has joined #ruby
mikecmpbll has quit [Ping timeout: 245 seconds]
ahawkins has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 250 seconds]
starfox21 has joined #ruby
OdNairy has joined #ruby
<dachi> code climate
<dachi> what is that too complex outside method definitions i don't get
<dachi> :|
dkamioka has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
rylinaux_ has quit [Remote host closed the connection]
addisaden has quit [Ping timeout: 260 seconds]
snath has joined #ruby
DaniG2k has quit [Quit: leaving]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pen has quit [Remote host closed the connection]
dkamioka_ has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
cjsarette has joined #ruby
rh1n0 has joined #ruby
roolo has quit [Quit: Leaving...]
IceDragon_ has joined #ruby
IceDragon has quit [Ping timeout: 250 seconds]
cj3kim has joined #ruby
whomp has quit [Ping timeout: 260 seconds]
dkamioka_ has quit [Ping timeout: 260 seconds]
poulson has quit [Remote host closed the connection]
dkamioka has joined #ruby
kaliya has quit [Quit: Lost terminal]
hobodave has quit [Quit: Computer has gone to sleep.]
jle` has quit [Ping timeout: 246 seconds]
jzig has joined #ruby
Hanmac has joined #ruby
zeeraw has joined #ruby
gnephiak has joined #ruby
IceDragon_ is now known as IceDragon
yacks has quit [Ping timeout: 272 seconds]
pen has joined #ruby
barratt has quit [Ping timeout: 260 seconds]
_Andres has quit [Read error: Connection reset by peer]
ace_striker has joined #ruby
ace_striker is now known as Guest42661
Authenticator has quit [Remote host closed the connection]
Megtastique has quit []
sailias has joined #ruby
burlyscudd has quit [Quit: Leaving.]
pranny has quit [Quit: Leaving.]
pen has quit [Client Quit]
mojjojo has quit [Quit: mojjojo]
pen has joined #ruby
pen has quit [Client Quit]
obs__ has quit [Quit: Konversation terminated!]
pen has joined #ruby
<slowcon> Yatharth: jhass: i wrote up the algorithm in plain text to help myself understand what needs to happen. can you check it out and make any suggestions to the way im currently scraping http://pastebin.com/nEGYKVKi
obs has joined #ruby
poulson has joined #ruby
centrx has joined #ruby
pen has quit [Client Quit]
Solnse has joined #ruby
pen has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
stonevil has joined #ruby
jobewan has joined #ruby
Wolland has joined #ruby
alassiter has left #ruby [#ruby]
Hanmac has quit [Ping timeout: 272 seconds]
<jhass> slowcon: having a table name encoding informations is uncommon, just do a posts table, adding the subgenre_id lets you already easily filter them for the subgenre
sparrovv has joined #ruby
maroloccio has quit [Ping timeout: 272 seconds]
<jhass> that is the schema of your subGENRENAME tables is already sufficient to hold all posts across all subgenres without conflicts
Yatharth has quit [Quit: Leaving]
pen has quit [Client Quit]
sparrovv has quit [Remote host closed the connection]
<jhass> for the table names I'd strip of _main but that's probably just preference
dzhulk has quit [Quit: Leaving.]
mjs2600 has quit [Remote host closed the connection]
i_s has joined #ruby
Norrin has quit [Ping timeout: 265 seconds]
<slowcon> jhass: i added main because so many things in my code were named genre or genres
<slowcon> jhass: i guess i could have one table to hold all the songs that download, and just run queries on that
heftig has joined #ruby
Hobogrammer_ has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
Yahkob has joined #ruby
vlad_starkov has joined #ruby
pavilionXP has joined #ruby
<jhass> the variable names shouldn't influence your schema
<slowcon> jhass: having some trouble passing the array to the DB
sailias1 has joined #ruby
<jhass> iterate over the array: genres.each do |genre| add_genre_to_db genre unless db_has_genre? genre; end
vlad_starkov has quit [Remote host closed the connection]
Hanmac has joined #ruby
vlad_starkov has joined #ruby
alpha123 has joined #ruby
krisbulman is now known as [krisbulman]
<slowcon> jhass: going to play around with it now, thanks for pointing me in the right direction
Hobogrammer has quit [Ping timeout: 248 seconds]
sailias has quit [Ping timeout: 250 seconds]
gbt has quit [Quit: Leaving...]
cj3kim has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 250 seconds]
mjs2600 has joined #ruby
phansch has joined #ruby
kobain has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
blaxter_ has joined #ruby
mojjojo has joined #ruby
Butcho has joined #ruby
Monk_code has joined #ruby
whomp has joined #ruby
aspires has joined #ruby
h0lyalg0rithm has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
duggiefresh has joined #ruby
Norrin has joined #ruby
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
pel_daniel has quit [Ping timeout: 272 seconds]
yinkum has quit [Quit: yinkum]
gigetoo has quit [Remote host closed the connection]
subbyyy has joined #ruby
Sammael has quit [Ping timeout: 246 seconds]
aspires has quit [Read error: Connection reset by peer]
s2013_ has joined #ruby
poulson has quit [Remote host closed the connection]
aspires has joined #ruby
Spami has joined #ruby
failshel_ has joined #ruby
h0lyalg0rithm has quit [Ping timeout: 245 seconds]
s2013 has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
marr has quit [Ping timeout: 260 seconds]
<ixti> how bad is idea of initiating new instance upon each bunch of commands to redis?
momomomomo has quit [Quit: momomomomo]
failshell has quit [Ping timeout: 260 seconds]
<ixti> i guess i'm suffering from premature optimization decease
Solnse1 has joined #ruby
Solnse has quit [Disconnected by services]
Solnse1 is now known as Solnse
Hanmac has quit [Ping timeout: 250 seconds]
_Andres has joined #ruby
Yahkob has quit [Remote host closed the connection]
Yahkob has joined #ruby
pranny has joined #ruby
sailias has joined #ruby
Wolland has joined #ruby
klaut has quit [Remote host closed the connection]
razibog has quit [Ping timeout: 248 seconds]
sailias1 has quit [Ping timeout: 245 seconds]
e^0 has quit [Quit: WeeChat 0.4.2]
nanoyak has joined #ruby
rubyracer has joined #ruby
Yahkob has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
Hanmac has joined #ruby
RoryHughes has quit []
timonv has quit [Remote host closed the connection]
coca_rails has joined #ruby
hobodave has joined #ruby
sambao21 has joined #ruby
sailias1 has joined #ruby
s2013_ has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby
yfeldblu_ has joined #ruby
sambao21 has quit [Client Quit]
Monk_code has quit [Remote host closed the connection]
Tomasso has joined #ruby
sailias2 has joined #ruby
sailias2 has quit [Client Quit]
razibog has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
Monk_code has joined #ruby
sailias has quit [Ping timeout: 260 seconds]
coca_rails has quit [Ping timeout: 240 seconds]
CorySimmons has left #ruby [#ruby]
lethjakman has joined #ruby
angusigu1ss has joined #ruby
<lethjakman> hey, is there a way to use rand(<range>) with variables like: rand(top..min)
sailias1 has quit [Ping timeout: 250 seconds]
stkowski has joined #ruby
<centrx> lethjakman, Yes, that is how Range works
<lethjakman> centrx: I tried it and it returned nil
<lethjakman> ohhh
<lethjakman> I swapped t hem
<alpha123> centrx: He's asking if rand() can take a range as an argument
<lethjakman> my bad
mocfive has joined #ruby
danman has joined #ruby
<centrx> alpha123, Yes on that too!
obs has quit [Quit: Konversation terminated!]
<lethjakman> another question..is there a way to make rand generate a decimal?
Sawbones has joined #ruby
<alpha123> centrx: Cool, I didn't know that. :)
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> lethjakman, Make the range endpoints be floats
thams has joined #ruby
werdnativ has quit [Quit: werdnativ]
<lethjakman> ahhh
<lethjakman> smart
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<slowcon> jhass: got it to work, but not cycling through the array. adding the entire array to each cell
Yahkob has joined #ruby
<jhass> slowcon: show your code
Zai00 has quit [Quit: Zai00]
angusigu1ss has quit [Ping timeout: 265 seconds]
mojjojo has quit [Quit: mojjojo]
mehlah has quit [Quit: Leaving...]
mary5030_ has quit [Remote host closed the connection]
mojo619 has joined #ruby
<jhass>     main_genre.insert(:genre => "#{genres}") what variable are you inserting there? what variable contains your single genre?
Monk_code has quit [Remote host closed the connection]
noop has joined #ruby
cj3kim has joined #ruby
RubNoob has joined #ruby
<slowcon> jhass: i dont have a variable for single genre. "genres" grabs all the names and adds them to an array with .map(correct me if i am wrong)
<jhass> yes you do, each does it provide you
<slowcon> jhass: and then the .each is supposed to cycle through each value of the array?
<jhass> yes and assign it to the first parameter of the block you pass it
zB0hs has joined #ruby
Noldorin has joined #ruby
reset has joined #ruby
SilentHobo has joined #ruby
arietis has joined #ruby
RoryHughes has joined #ruby
asgardBSD has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
rushed has joined #ruby
coca_rails has joined #ruby
madb055 has quit [Read error: Connection reset by peer]
danshult_ is now known as danshultz
<rushed> are there beginning of time / end of time sentinel values?
sdwrage has joined #ruby
<slowcon> jhass: ahhhhhh
<slowcon> jhass: genres.each do |genre|
<slowcon> main_genre.insert(:genre => genre)
<jhass> ;)
<slowcon> awesome, getting closer :)
Hobogrammer_ has quit [Ping timeout: 250 seconds]
madb055 has joined #ruby
dumdedum has joined #ruby
ferr has joined #ruby
<ferr> what's the difference between str.split("") and str.split(//)
razibog has quit [Ping timeout: 245 seconds]
<centrx> ferr, Probably nothing, except str.split(//) may be slightly slower because it creates a Regexp object
<ferr> thanks
coca_rails has quit [Ping timeout: 240 seconds]
<jhass> ferr: there's also .chars and .each_chars to cycle through all characters of a string
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> *each_char
<slowcon> jhass: so now for the ID part, im trying to just pull the unique selector from the URL. any tips on how to scrape or format just the ID from the URL? scraps <a href="forumdisplay.php?f=168&amp;s=f40c55985869f6a47e176e2063a8e739">Discographies</a> and im just looking for "168"
machuga is now known as machdaylechuga
machdaylechuga is now known as machuga
<jhass> well, just grab the attribute, split at ? to get the query string, split it at &amp; to get the individual parameters and split them at = to get key value pairs
Guest44594 is now known as ixx
Noldorin has quit [Max SendQ exceeded]
kiba` has joined #ruby
saarinen has joined #ruby
cj3kim has quit [Remote host closed the connection]
madb055 has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
rdark has quit [Quit: leaving]
<jhass> fire up irb, require 'nokogiri' and do element = Nokogiri::HTML('<a href="forumdisplay.php?f=168&amp;s=f40c55985869f6a47e176e2063a8e739">Discographies</a>').css('a').first to play a bit around with it
mehlah has joined #ruby
decoponio has quit [Quit: Leaving...]
<slowcon> jhass: honestly never worked with code directly in irb
<jhass> you should try!
<slowcon> jhass: you suggest that just so im not pinging the server every time im testing changes?
<zellio> REPL FTW
<jhass> or better start right of with pry: gem install pry
<jhass> slowcon: much more importantly so that you get direct feedback
<slowcon> i just got pry last night, but not positive on how to use it.
<slowcon> my friend said
<slowcon> you should put gem 'pry' in your Gemfile
DariusPHP has joined #ruby
kiba has quit [Ping timeout: 245 seconds]
<slowcon> then you can put binding.pry somewhere in your code and you can check your values
kenneth has joined #ruby
<jhass> for starters just run the pry command
dumdedum has quit [Quit: foo]
<jhass> then you get something like your shell, except that it runs ruby code
<jhass> but you can too just press up to get the last line you typed and modify it etc.
<zellio> just like irb
mordocai has joined #ruby
starfox21 has quit [Quit: starfox21]
<jhass> eh, let's not put rails into the mix yet
RoryHughes has quit []
barratt has joined #ruby
w1zeman1p has joined #ruby
slowcons has joined #ruby
<slowcons> got disc
arietis has quit [Quit: Computer has gone to sleep.]
iamjarvo has joined #ruby
Noldorin has joined #ruby
sdelmore has quit [Quit: Leaving.]
Noldorin has quit [Client Quit]
arietis has joined #ruby
slowcon has quit [Ping timeout: 248 seconds]
timonv has joined #ruby
maletor has quit [Remote host closed the connection]
maletor has joined #ruby
sdelmore has joined #ruby
subbyyy has quit [Ping timeout: 245 seconds]
subbyyy_ has joined #ruby
razibog has joined #ruby
jbueza has joined #ruby
bricker has joined #ruby
<bricker> Agree/Disagree: If you want good software, you need good developers. If you want a lot of software, you need a lot of developers. Therefore, if you want a lot of good software, you need a lot of good developers.
Noldorin has joined #ruby
moted has quit [Quit: moted]
<centrx> Pointless
vlad_starkov has joined #ruby
<bricker> That wasn't one of the options
<centrx> DISAGREE
<centrx> Next question
<bricker> Why?
madb055 has joined #ruby
<centrx> It is either a trivial statement, or it is a false statement along the lines of The Mythical Man-Month
nari has quit [Ping timeout: 248 seconds]
pranny has quit [Read error: Connection reset by peer]
pranny has joined #ruby
Es0teric has quit [Remote host closed the connection]
<rurban_> If you want a lot of good software, you need a better language and environment, never more developers
maletor has quit [Ping timeout: 272 seconds]
Hiall has quit [Quit: hiall]
Es0teric has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 260 seconds]
<slowcons> jhass: pry error http://pastebin.com/GryR6zE6
<jhass> ruby error or rather error in your assumptions of what element is
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
jlast has quit [Remote host closed the connection]
<jhass> try ls element to see what methods it provides
momomomomo has quit [Quit: momomomomo]
mikecmpbll has joined #ruby
coca_rails has joined #ruby
jlast has joined #ruby
<RubNoob> does anyone know how to run a "sudo" bash command inside a capture() command for Capistrano?
dumdedum has joined #ruby
<slowcons> jhass: yeah dont see split listed there
<jhass> so what does element represent?
<jhass> what kind of object is it? what does it describe?
alpha123 has quit [Quit: leaving]
momomomomo has joined #ruby
mneorr has joined #ruby
acrussell has left #ruby [#ruby]
nisstyre has quit [Ping timeout: 260 seconds]
pranny has quit [Read error: Connection reset by peer]
pranny has joined #ruby
pranny1 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
maletor_ has joined #ruby
<slowcons> jhass: my view http://snag.gy/4DHo0.jpg
ephemerian has quit [Quit: Leaving.]
mikepack has joined #ruby
jlast has quit [Read error: Connection reset by peer]
<jhass> broken link but I can imagine what you see, that's not the point of my questions
louism2wash has joined #ruby
jlast has joined #ruby
<jhass> start thinking about the stuff you're using instead of copypasting stuff together until it works somehow
Xuisce1 has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
IceyEC has quit [Quit: IceyEC]
banister has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ferr has quit [Ping timeout: 250 seconds]
<slowcons> jhass: just dont understand the question. what type of object is it? its a string?
petey has joined #ruby
pranny has quit [Ping timeout: 260 seconds]
<jhass> can it be a string? String had the split method, this one doesn't
werdnativ has joined #ruby
maletor_ has quit [Read error: Connection reset by peer]
jlebrech_ has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
<jhass> so pry nicely printed you the structure of the object you got there
nichtdiebohne has joined #ruby
<jhass> what do you want from that in a first step?
wildroman2 has joined #ruby
<jhass> what method the object offers you might give you access to that?
<slowcons> ok so i did, slow = "slow" and did a ls slow
<slowcons> which gave me String#methods
Xuisce1 has quit [Ping timeout: 245 seconds]
<slowcons> so this one is an Enumerable object?
Yahkob has quit [Remote host closed the connection]
<louism2wash> Hey guys, I have a hash in the form of {1 => {'key 1' => 'value 1', 'key 2' => 'value 2'}, 2 => …} and I was wondering if there was a single line way to convert that hash to the form of {'value 1' => 'value 2'}. I am taking the inputs from an html form which is why the initial hash if funky. Thanks.
nichtdiebohne has quit [Client Quit]
meinside has quit [Quit: Connection closed for inactivity]
Yahkob has joined #ruby
dumdedum has quit [Quit: foo]
maletor has joined #ruby
<jhass> slowcons: Enumerable is a module, objects can't be instances of modules, but the objects type includes the Enumerable object and thus its methods are available on the object too
nichtdiebohne has joined #ruby
bean has joined #ruby
<jhass> louism2wash: for that particular example Hash[hsh.values.map {|sub| [sub['key 1'], sub['key 2']] }] assuming 2 => etc continue that scheme
Alina-malina has quit [Read error: Connection reset by peer]
<louism2wash> jhass: let me give that a try
Alina-malina has joined #ruby
nhhagen has joined #ruby
SilentHobo is now known as Hobogrammer
dangerousdave has joined #ruby
Guest42661 has quit [Ping timeout: 245 seconds]
jprovazn has joined #ruby
Yahkob has quit [Read error: Operation timed out]
<slowcons> jhass: is the corect answer a Node?
agent_wh1te has joined #ruby
<jhass> slowcons: conceptually it's a node in the DOM, yes
SHyx0rmZ has joined #ruby
<jhass> and it's class ancestry also includes Nokogiri::XML::Node
_bart has quit []
carraroj has joined #ruby
Sammael has joined #ruby
stonevil has quit [Quit: Computer has gone to sleep.]
<jhass> slowcons: so look again at the structure pry gives you if you just type element
<jhass> what do you want from that?
itadder has joined #ruby
moted has joined #ruby
<slowcons> value
<jhass> And what method in Nokogiri::XML::Node could provide you that?
jrist has quit [Ping timeout: 272 seconds]
ringaroses has joined #ruby
<slowcons> maybe inner_html=?
<jhass> try it out
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lmickh has quit [Ping timeout: 260 seconds]
Es0teric has quit [Ping timeout: 248 seconds]
angusigu1ss has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
Skylab has joined #ruby
razibog has quit [Ping timeout: 272 seconds]
rushed has quit [Quit: rushed]
yourmysin has joined #ruby
Hobogrammer_ has joined #ruby
forced_request has quit [Ping timeout: 245 seconds]
shaunbaker has joined #ruby
asteros has joined #ruby
Es0teric has joined #ruby
alexherbo2 has joined #ruby
Hobogrammer has quit [Disconnected by services]
Hobogrammer_ is now known as Hobogrammer
yellow5 has quit [Quit: time to go!]
ryanf has quit [Ping timeout: 245 seconds]
phansch_ has joined #ruby
ghr_ has joined #ruby
ghr_ has quit [Max SendQ exceeded]
Naoe-Kanno has joined #ruby
<soahccc> OT: Anyone knows a "dummy safe" webpage explaining what is and how to use GPG or Email signatures/encryption in general? I always get the question how to open my signature file to add it to the contacts book :(
phansch has quit [Ping timeout: 252 seconds]
ryanf has joined #ruby
sambao21 has joined #ruby
diegoviola has joined #ruby
jlebrech_ has quit [Quit: Computer has gone to sleep.]
SHyx0rmZ has quit [Ping timeout: 260 seconds]
wildroman2 has quit [Remote host closed the connection]
angusigu1ss has quit [Ping timeout: 265 seconds]
Norrin has quit [Ping timeout: 245 seconds]
ferr has joined #ruby
itadder has quit [Remote host closed the connection]
yellow5 has joined #ruby
mityaz has quit [Quit: See ya!]
Guest17184 has quit [Ping timeout: 248 seconds]
rushed has joined #ruby
mzr has joined #ruby
rushed has quit [Client Quit]
<mzr> question; why does everyone use #ruby instead of ##ruby?
waldi_ has joined #ruby
Asher has quit [Quit: Leaving.]
<pasties> mzr: self-reinforcement, there are actually people here and none in the other channel... soo where would you prefer to idle?
ryanf has quit [Ping timeout: 260 seconds]
marienz has quit [Ping timeout: 604 seconds]
<jhass> mzr: why should we use ##ruby over #ruby?
zachallett has quit [Remote host closed the connection]
fedesilv_ has joined #ruby
ryanf has joined #ruby
<mzr> not a clue jhass
<jhass> then why do you even wonder we we don't use ##ruby
<jhass> *why we
yfeldblu_ has quit [Remote host closed the connection]
jfoy has quit [Quit: jfoy]
<mzr> because most major languages use ## chanenls
tjbiddle has joined #ruby
lmickh has joined #ruby
RoryHughes has joined #ruby
<jhass> is that so? examples?
<mzr> C java
<jhass> note that #ruby isn't the official channel too, #ruby-lang is
troyready has joined #ruby
noop has quit [Ping timeout: 265 seconds]
<jhass> #c was probably already gone when people wanted to start one for it
zachallett has joined #ruby
<mzr> thanks for the heads up jhass, just curious not looking to argue or anything
<jhass> so two counter examples: #python #php
jerius has quit [Ping timeout: 260 seconds]
fedesilva has quit [Ping timeout: 260 seconds]
Guest88060 has quit [Quit: Guest88060]
<havenwood> it seems not uncommon for a language to have two official channels, one that requires auth and the other that doesn't
<waldi_> hi, i'm new to ruby, i wanted to use ruby-vnc, downloaded the gem file and installed it with "gem install ruby-vnc.gem", and now have this code: http://pastebin.com/2nhTV1cH
<waldi_> but it says: clicker.rb:2:in `<main>': uninitialized constant Object::Net (NameError)
<waldi_> do i have to include something or so?
petey has quit [Remote host closed the connection]
<mzr> jhass; ##javascript, do we need to keep going with this?
<waldi_> can't find any documention on ruby-vnc...
barratt has quit [Read error: Connection reset by peer]
<jhass> waldi_: you need to require it first, don't know ruby-vnc, but if it adheres to standards and the class should be Net::VNC then it's probably require 'net/vnc'
Evenix is now known as evenix
<havenwood> #python and #python-unregistered, #ruby-lang and #ruby, etc
petey has joined #ruby
<mzr> thank you havenwood, just was wondering if there was a reason this one was the prefered channel
kirun has joined #ruby
<havenwood> mzr: because it is unregistered
<jhass> mzr: #perl - no idea
<soahccc> at least ruby-lang changed something so that I don't have to leave the channel in order to change my nick in order to autheticate :)
ryanf has quit [Ping timeout: 250 seconds]
jlast has quit [Remote host closed the connection]
jerius has joined #ruby
asteros_ has joined #ruby
Cooler_ has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
tjr9898 has joined #ruby
jlast has joined #ruby
asteros has quit [Ping timeout: 260 seconds]
asteros_ is now known as asteros
ryanf has joined #ruby
bricker has quit [Quit: leaving]
bricker has joined #ruby
mordocai has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
mzr has left #ruby [#ruby]
bricker has quit [Client Quit]
bricker has joined #ruby
SAKUJ0 has joined #ruby
RoryHughes has quit []
<SAKUJ0> hi! for my thesis i want to start learning python (should be very quick). i wonder if i should learn ruby parallely. how similar are those two?
bricker has quit [Client Quit]
<waldi_> jhass: hm now i get this: http://pastebin.com/ELJd49zs is this a ruby-vnc problem or ruby specific?
<philcrissman> SAKUJ0: similar enough. Have fun. :)
bricker has joined #ruby
<havenwood> SAKUJ0: They are quite similar, but Ruby is more influenced by Smalltalk and Lisp.
RoryHughes has joined #ruby
santiago has joined #ruby
santiago is now known as loc22
<jhass> waldi_: maybe something that went wrong when you installed the gem, but certainly more related to the gem than to ruby
Cooler_ has joined #ruby
<havenwood> SAKUJ0: I prefer Ruby. (Crush the snake!)
sdwrage has quit [Quit: This computer has gone to sleep]
jlebrech_ has joined #ruby
yellow5 has quit [Ping timeout: 260 seconds]
Hobogrammer_ has joined #ruby
<snkcld> when i create a model in activerecord, it should automatically assign it an id right?
rainmanjam has quit [Remote host closed the connection]
rezzack has joined #ruby
sepp2k has joined #ruby
<centrx> snkcld, If it is created/saved, the database generally assigns the ID
ringaroses has quit [Quit: Leaving]
rainmanjam has joined #ruby
yellow5 has joined #ruby
<SAKUJ0> Thanks guys :p I guess I will give it a shot. Most particle physics applications are very primitive it should be easy to maintain multiple copies
Hobogrammer has quit [Ping timeout: 260 seconds]
<viki> hi people
jonah_k has quit [Remote host closed the connection]
<SAKUJ0> a few months ago i received a program by some dude who called all(!) his variables x1 to x240
jonno11 has joined #ruby
ferr has quit [Read error: Operation timed out]
<lupine> wat.rb
<zB0hs> that sounds like fun code to read
vlad_starkov has joined #ruby
<SAKUJ0> that sounds like an invitation to redo all code from scratch lol
* lupine is getting a SystemStackError out of TCPSocket#read
failshel_ has quit [Remote host closed the connection]
Noldorin has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
<viki> I was working through this tutorial http://tutorials.jumpstartlab.com/academy/workshops/csv/i.html and I found this problem and solution, https://github.com/JumpstartLab/csv-exercises/issues/4, but I don't totally understand how/why it works.
whomp has quit [Ping timeout: 250 seconds]
<viki> Can somebody point me in the direction of what that is and where I can read more about it?
<viki> path something, dots, something?
rainmanjam has quit [Ping timeout: 248 seconds]
<slowcons> jhass: dont think its inner_html
<jhass> slowcons: so take a second look at the structure, is it flat? is it nested? anything that hints some names what inner childs could be called?
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lupine> that's what I get for trying to use ruby2.0, I guess
<jhass> slowcons: and compare to the list of available methods
coca_rails has quit []
mocfive has quit [Remote host closed the connection]
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
jprovazn is now known as jprovazn_afk
asmodlol has quit [Remote host closed the connection]
<zB0hs> viki .. means the parent of the current directory... just the . means the current directory
mocfive has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
mikepack_ has quit [Remote host closed the connection]
mocfive has quit [Read error: Connection reset by peer]
<jhass> viki: the general concept is called relative paths
<x77686d> viki: . and .. are names for the current directory and parent directory ./data/people.csv specifies the file people.csv in the data directory of this directory. ../data/people.csv indicates the data directory is in the parent of this directory.
mocfive has joined #ruby
sdwrage has joined #ruby
<zB0hs> viki so if your current folder was Current and the parent was Parent then two dots would represent Parent/data/people.csv and one dot would refer to Parent/Current/data/people.csv
asmodlol has joined #ruby
jefflyne has joined #ruby
<viki> oh ok cool. so my suspicion that it was looking for people.csv in the csv library was just totally off? i must not have understood the rest of what was going on in the error.
mando__ has joined #ruby
kenneth has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
[krisbulman] is now known as krisbulman
Hobogrammer_ has quit [Ping timeout: 248 seconds]
burlyscudd has joined #ruby
Asher has joined #ruby
<slowcons> jhass: im not familiar with so many of these commands. when i go to http://nokogiri.org/Nokogiri/XML/PP/Node.html i get nothing
danshultz has quit [Remote host closed the connection]
aspires has quit []
<slowcons> jhass: http://nokogiri.org/Nokogiri/XML/Node.html provides all the listed methods
mando_ has quit [Ping timeout: 245 seconds]
<jhass> obviously
jefflyne has quit [Client Quit]
danshultz has joined #ruby
s2013 has joined #ruby
<jhass> pry only lists two methods for Nokogiri::XML::PP::Node
mando__ has quit [Ping timeout: 245 seconds]
<slowcons> jhass: i see, i was reading pry wrong. was looking for this page http://ruby-doc.org/core-2.1.0/Enumerable.html
Asher has quit [Client Quit]
asteros has quit [Quit: asteros]
Zesty has joined #ruby
mneorr has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 0.4.2]
mneorr has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
mocfive has quit [Remote host closed the connection]
danshultz has joined #ruby
mocfive has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
<zB0hs> viki check out this post for help with understanding stack traces
jfoy has joined #ruby
mikepack has joined #ruby
Lewix has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
yalue has quit [Quit: Leaving]
RoryHughes has quit []
yalue has joined #ruby
RoryHughes has joined #ruby
<viki> zB0hs: cool, thanks. :)
jfoy has quit [Client Quit]
mneorr has quit [Ping timeout: 260 seconds]
bogeyd6 has quit [Ping timeout: 250 seconds]
<viki> zB0hs: Ok so it WAS looking in the csv library. I just don't know why.
mocfive has quit [Ping timeout: 260 seconds]
dayepa has joined #ruby
Norrin has joined #ruby
mojjojo has joined #ruby
endash has joined #ruby
i_s_ has joined #ruby
predator217 has quit [Ping timeout: 265 seconds]
predator117 has joined #ruby
i_s has quit [Ping timeout: 250 seconds]
moted has quit [Quit: moted]
pontiki has quit [Ping timeout: 260 seconds]
terrellt_ has joined #ruby
<zB0hs> viki i think the current directory was phonebook/lib because thats where phone_book.rb is
terrellt has quit [Disconnected by services]
terrellt_ is now known as terrellt
pitzips has joined #ruby
s2013_ has joined #ruby
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ppppaul has joined #ruby
vermele has quit [Quit: Leaving]
terrellt_ has joined #ruby
pontiki has joined #ruby
<zB0hs> so it was looking for the data folder in the current directory because of the ./ when the data folder was actually in the parent directory, phonebook
mojjojo has quit [Client Quit]
Hobogrammer_ has joined #ruby
marienz has joined #ruby
<viki> zB0hs: that's what i'd expect, but that's not what i was seeing in the error. it was looking in the ruby/2.0.0/csv folder for some reason: https://github.com/JumpstartLab/csv-exercises/issues/4
mojjojo has joined #ruby
s2013 has quit [Ping timeout: 260 seconds]
pfg has joined #ruby
<viki> or rather, the csv.rb file in the 2.0.0 folder.
nhhagen has quit []
pfg has quit [Max SendQ exceeded]
krisbulman is now known as [krisbulman]
pfg has joined #ruby
<snkcld> anyone know why this isnt working? undefined method `find_or_initialize_by' for []:ActiveRecord::Relation
subbyyy_ has quit [Ping timeout: 260 seconds]
<slowcons> jhass: for your last question, i think its flat
<snkcld> nvm
predator117 has quit [Ping timeout: 260 seconds]
<jhass> slowcons: but there clearly are nested objects and pry even indents them!
predator117 has joined #ruby
w1zeman1p has quit [Remote host closed the connection]
bthesorceror has quit [Remote host closed the connection]
sdelmore has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 265 seconds]
zoscoy has joined #ruby
bthesorceror has joined #ruby
axl_ has joined #ruby
SAKUJ0 has quit [Quit: Leaving]
bean has quit [Remote host closed the connection]
bean has joined #ruby
tvw has quit []
<pontiki> snkcld: what version is your Rails?
<pontiki> apidock is show that available starting in 4.02
<pontiki> 4.0.2*
aspires has joined #ruby
jtdowney has joined #ruby
<slowcons> jhass: i see now. i made a new element without the css selector and .first. can see more clearly how noki breaks it down
pmullin has quit [Quit: Textual IRC Client: www.textualapp.com]
jonno11 has quit [Ping timeout: 245 seconds]
<slowcons> jhass: so it is nested under under body and a
waldi_ has quit [Remote host closed the connection]
<jhass> slowcons: now how are things called that are nested under an element but aren't a child element?
shaunbaker has quit [Remote host closed the connection]
<slowcons> jhass: attribute
<slowcons> get_attribute
<jhass> slowcons: right, play around with that
<slowcons> let me look at them
asteros has joined #ruby
<slowcons> brb, thanks
ephemerian has joined #ruby
momomomomo has quit [Quit: momomomomo]
ukd1 has joined #ruby
Zai00 has joined #ruby
jjd has joined #ruby
wald0 has joined #ruby
wildroman2 has joined #ruby
stonevil has joined #ruby
sdelmore has joined #ruby
moted has joined #ruby
jjd has quit [Client Quit]
froy has joined #ruby
LLKCKfan has joined #ruby
havenwood has quit [Remote host closed the connection]
jackneill has quit [Ping timeout: 248 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sparrovv has joined #ruby
havenwood has joined #ruby
gr33n7007h has joined #ruby
alvaro_o has joined #ruby
aspires_ has joined #ruby
wildroman2 has quit [Ping timeout: 260 seconds]
petey_ has joined #ruby
aspires has quit [Read error: Connection reset by peer]
jkassemi has joined #ruby
iamjarvo has quit [Ping timeout: 248 seconds]
iamjarvo has joined #ruby
reactormonk has joined #ruby
Shidash has joined #ruby
petey has quit [Ping timeout: 250 seconds]
centrx has quit [Quit: Leaving]
lpvn has quit [Read error: Operation timed out]
<reactormonk> where do I find the code that's used to convert floats to string?
havenwood has quit [Ping timeout: 260 seconds]
ehc has quit [Quit: ehc]
g0rd0 has quit [Ping timeout: 246 seconds]
terlar has quit [Quit: WeeChat 0.4.2]
axl_ has quit [Remote host closed the connection]
<gr33n7007h> reactormonk, Just for info if you install pry you can do; cd Kernel => show-source to_s pretty nifty
g0rd0 has joined #ruby
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<banister> reactormonk or in pry you can use: show-source Float#to_s
<slowcons> jhass: all of the exmaples im viewing seem to be using xpath
<banister> gr33n7007h Kernel#to_s is a more general to_s that isn't quite the one he wants it seems
<jhass> slowcons: did you try just using the method?
pushpak has joined #ruby
<gr33n7007h> banister, yeah just noticed that now
<banister> cool
axl_ has joined #ruby
<banister> gr33n7007h congrats on suggesting pry though ;)
<gr33n7007h> banister, awesome REPL
<reactormonk> banister, which gem?
shaunbaker has joined #ruby
<banister> gr33n7007h you're welcome ;)
jonah_k has joined #ruby
<banister> reactormonk you'll need pry-doc plugin to pull C sources
shaunbaker has quit [Remote host closed the connection]
<slowcons> jhass: i ran it as element.get_attribute which returned wrong args. i tried the arguments (a) (href) but both came back undefined
Astralum has quit [Ping timeout: 260 seconds]
<jhass> slowcons: how is href defined in the structure you get from pry?
mikepack_ has joined #ruby
einarj has joined #ruby
<slowcons> name
<jhass> and the value is what kind of?
<reactormonk> banister, thanks
agent_wh1te has quit [Quit: leaving]
<slowcons> jhass: looks like a string?
<jhass> so maybe try passing that to get_attribute ;)
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jle` has joined #ruby
larissa has joined #ruby
<slowcons> jhass: i tried example.get_attribute(value)
Zesty has quit [Quit: Leaving...]
jprovazn_afk has quit [Quit: Odcházím]
bean has joined #ruby
nanoyak has joined #ruby
malthe has quit [Read error: Operation timed out]
mikepack_ has quit [Ping timeout: 250 seconds]
dayepa has quit [Remote host closed the connection]
relix has joined #ruby
<slowcons> jhass: keep getting undefined local variable
<jhass> slowcons: it's element.get_attribute("href") if we take a look at the docs you already found you'll notice that the #[] method provides the same feature, so element["href"] works too
rezonanc has quit [Ping timeout: 272 seconds]
Zesty has joined #ruby
stonevil has quit [Quit: Computer has gone to sleep.]
<jhass> just stop copy pasting stuff you find and try to understand what those examples want to tell you
tjr9898 has quit [Remote host closed the connection]
<slowcons> jhass: there is nothing to copy/paste
jlebrech_ has quit [Quit: Computer has gone to sleep.]
<slowcons> jhass: i just didnt put "s
<jhass> example.get_attribute(value) looks pretty copy pasted
lpvn has joined #ruby
benlieb has quit [Quit: benlieb]
<shevy> hehe
v1n has joined #ruby
<slowcons> jhass: haha you can legit search google for that string and come up with nothing :)
jfoy has joined #ruby
malthe has joined #ruby
Zesty has quit [Client Quit]
benlieb has joined #ruby
<shevy> is there a simple way to alias to a class method?
<shevy> like def self.foo should point to def self.bar
stonevil has joined #ruby
blaxter_ has quit [Quit: foo]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
bthesorceror has quit [Remote host closed the connection]
bthesorceror has joined #ruby
bthesorceror has quit [Remote host closed the connection]
subbyyy_ has joined #ruby
v0n has quit [Ping timeout: 260 seconds]
<jhass> I guess class << self; alias bar foo; end; doesn't count as simple? :P
compleatang has joined #ruby
klaas_ is now known as klaas
mneorr has joined #ruby
<shevy> well
<shevy> we have, for non class methods, this:
<shevy> alias foo bar
yetet has joined #ruby
<shevy> hmm
Jdubs has joined #ruby
<shevy> :(
asmodlol has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
asmodlol has joined #ruby
failshell has joined #ruby
duggiefresh has quit [Remote host closed the connection]
platzhirsch has joined #ruby
rezonanc has joined #ruby
<platzhirsch> phansch_: get some popcorn for Travis CI
marr has joined #ruby
marcgg_ has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
wildroman2 has joined #ruby
failshell has quit [Read error: Operation timed out]
kpshek has quit []
TryX has joined #ruby
tjr9898 has joined #ruby
thesheff17 has quit [Ping timeout: 245 seconds]
mocfive has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mando_ has joined #ruby
alex88 has joined #ruby
duggiefresh has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
yourmysin has quit [Read error: Connection reset by peer]
Asher has joined #ruby
timonv has quit [Remote host closed the connection]
LLKCKfan has quit [Ping timeout: 250 seconds]
yalue has quit [Quit: Leaving]
<shevy> platzhirsch do you do web stuff?
klaut has joined #ruby
grs has quit [Ping timeout: 245 seconds]
<platzhirsch> shevy: yes
<shevy> do you use sinatra?
dx7_ has quit [Remote host closed the connection]
<platzhirsch> no
<shevy> hmm
<shevy> what else?
<platzhirsch> Sinatra is not as overloaded as Rails, I don't like that
<platzhirsch> It makes me feel cheap and agile
dx7 has joined #ruby
<platzhirsch> so Rails yeah... but I mean what the heck, another web app I did in Flask (Python) this is more or less like Sinatra
<platzhirsch> they are all the same :P
forced_request has joined #ruby
<xybre> platzhirsch: whats up with TravisCI?
<platzhirsch> xybre: ask that phansch_
centrx has joined #ruby
petey_ has quit [Remote host closed the connection]
maletor has joined #ruby
<phansch_> xybre, everything is fine
phansch_ is now known as phansch
petey has joined #ruby
Jdubs has quit [Remote host closed the connection]
<phansch> I just figured out how to deploy from travis to heroku today
<phansch> that was very exiting :D
spacepipe is now known as slashpipe
<platzhirsch> phansch: so you commit, push, tests are run and if successful deployed to Heroku?
Yahkob has joined #ruby
<phansch> yep
<platzhirsch> Nice, master of the tool chain
klaut has quit [Ping timeout: 248 seconds]
thesheff17 has joined #ruby
alex88 has quit [Quit: Leaving...]
dx7 has quit [Ping timeout: 260 seconds]
<shevy> platzhirsch hmm rails won't work without installing a javascript engine these days, I think
<platzhirsch> shevy: That should be correct
<dkamioka> it requires node i think
<platzhirsch> For instance
<shevy> and at work I have a windows PC without superuser privilege, and I don't want to bug the web-admin guys )I think they hate me or rather, they hate me when I give them extra work)
jclrb has joined #ruby
<platzhirsch> shevy: so use the Rails installer of RVM?
<shevy> node? hmm
jclrb has left #ruby [#ruby]
<shevy> that requires no compiling right?
whomp has joined #ruby
stonevil has quit [Quit: Computer has gone to sleep.]
<shevy> platzhirsch they can install a javascript engine just by downloading alone into non-superuser accounts (local accounts)?
Noldorin has joined #ruby
<platzhirsch> shevy: I am not sure anymore, it has to be done separately, but node can be installed locally, too
<platzhirsch> might be even the default
forced_request has quit [Quit: No Ping reply in 180 seconds.]
grs has joined #ruby
BlakeRG has joined #ruby
kpshek has joined #ruby
<shevy> hmm
forced_request has joined #ruby
<centrx> Rails requires Node? What is this nonsense?
<BlakeRG> is there a gem like `god` that provides a web interface for restarting workers?
evenix has quit [Ping timeout: 245 seconds]
<BlakeRG> looking for a replacement for supervisord
jonahR has quit [Quit: jonahR]
louism2wash has quit [Quit: This computer has gone to sleep]
<platzhirsch> BlakeRG: Sidekiq comes with a tool for that
<centrx> Isn't god a gem?
<dkamioka> centrx: Once it asked me for a javascript runtime engine or something like that... it suggested nodejs
<platzhirsch> but only to control Sidekiq worker, not any Ruby program
alex88 has joined #ruby
<dkamioka> centrx: it may be only in the dev env.
stonevil has joined #ruby
<centrx> I have never seen that
<centrx> Are you sure it wasn't jquery
<dkamioka> oh, may be some gem that i was using
vpretzel has quit [Quit: Adios!]
<centrx> Coffee depends on execjs
danshultz has quit [Remote host closed the connection]
<centrx> But you don't need to install coffee
<dkamioka> that may be it.
asteros has quit [Quit: asteros]
compleatang has quit [Remote host closed the connection]
<dkamioka> sorry to infer that rails requires it.
<dkamioka> :P
stonevil has quit [Client Quit]
werdnativ has quit [Quit: werdnativ]
<shevy> rails does
danshultz has joined #ruby
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
whomp has quit [Ping timeout: 265 seconds]
* centrx smacks shevy
<shevy> it did not use to!
<centrx> It does not now
<shevy> but it does
<centrx> Which body part did you pull this idea out of?
<shevy> you get a notification "please install javascript engine"
bthesorceror has joined #ruby
blaxter_ has joined #ruby
<shevy> because I see it when I install rails?
MyStartx has joined #ruby
<centrx> shevy, That is if you install coffeescript
axl_ has quit [Quit: axl_]
<slowcons> jhass: think im getting alot closer. i passed the element.get_attribute("href") to a variable. then i ran the split on that variable and its working
<centrx> shevy, And it doesn't have to be nodejs
<shevy> I did not say I used nodejs
GinoMan has joined #ruby
<centrx> It is coffeescript that requires the Javascript engine
<centrx> which makes sense
<shevy> hmm
<shevy> one can use rails without coffeescript?
* centrx smacks shevy
<centrx> This one can
<shevy> good
<shevy> coffeescript goes on my blacklist then
<BlakeRG> the god gem does not provide any type of webUI to restart workers though; which is what i really need
<jhass> slowcons: good :)
thesheff17 has quit [Ping timeout: 250 seconds]
geggam has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
Kricir has joined #ruby
Zai00 has quit [Quit: Zai00]
<slowcons> jhass: i have to add a Nokogiri::XML::Node to my script now correct?
s2013_ is now known as s2013
geggam has joined #ruby
<jhass> slowcons: you already have several ones, things like .css give you a list of those
platzhirsch has left #ruby [#ruby]
<lethjakman> BlakeRG: that's not really gods thing. god is there more to get something started and to keep it running.
benlieb has quit [Quit: benlieb]
centrx has quit [Quit: Leaving]
Spami has quit [Quit: This computer has gone to sleep]
burlyscudd has quit [Ping timeout: 260 seconds]
seekwill has joined #ruby
tjr9898 has quit [Remote host closed the connection]
seekwill is now known as Guest8697
geggam has quit [Remote host closed the connection]
werdnativ has joined #ruby
vim_shim has joined #ruby
<Nilium> What are the chances that the average Ruby user ever thinks about memory management or pointer usage?
rh1n0 has quit [Quit: im out!]
jkamenik has quit [Quit: Leaving.]
<xybre> nil
scarolan has joined #ruby
gtsiftsis has joined #ruby
<Nilium> I need to write a short thingy on memory/pointer usage in Ruby so people using OpenGL in Ruby aren't utterly confused at the concept of there being resources they have to manage
shredding has joined #ruby
gregf has joined #ruby
<slowcons> jhass: i asked because i am getting an undefined method `get_attribute' for #<Nokogiri::XML::NodeSet error
<shevy> Nilium so you write for advanced users?
Spami has joined #ruby
geggam has joined #ruby
<jhass> slowcons: not look at the "for" part, is that the same one you discovered get_attribute for?
<Nilium> That depends on what an advanced user is.
thesheff17 has joined #ruby
<jhass> *now
mojjojo has quit [Quit: mojjojo]
<Nilium> I'd have to probably write for beginners because the advanced users probably know languages with pointers.
asteros has joined #ruby
<Nilium> Assuming the standard for "advanced" in Ruby means something other than "I built a social network with Rails"..
alex88 has quit [Quit: Leaving...]
* Nilium will never stop having a low opinion of Rails people.
ppppaul has left #ruby ["Leaving"]
jovon has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0/20140130133743]]
<RubyPanther> Nilium: most Ruby libraries manage the resources for you
<RubyPanther> a proper wrapper might be a better effort than documentation
sarlalian has quit [Quit: WeeChat 0.4.0]
<RubyPanther> unless you're documenting how to use it from the Ruby C API
Atrumx has joined #ruby
scarolan has quit [Quit: leaving]
jfoy has quit [Quit: jfoy]
<shevy> Nilium well I think I am an advanced user, or at least not really a ruby-noobie, but I never had to really handle pointers in ruby
<gtsiftsis> hi, can someone help me understand why Enumerable#min is slower than Array#sort!.first, although in theory Enumerable min is O(n) and quick sort implementation of Ruby sort! is on average O(n log n)?
havenwood has joined #ruby
<shevy> it's a concept that does not seem to originate within normal ruby code
JZTech101 has joined #ruby
scarolan has joined #ruby
postmodern has joined #ruby
postmodern has quit [Changing host]
postmodern has joined #ruby
scarolan has quit [Client Quit]
<dkamioka> gtsiftsis: interesting topic. You got that Enu#min is slower by testing it empirically?
MyStartx has quit [Ping timeout: 245 seconds]
axl_ has joined #ruby
<shevy> or by rolling dice!
scarolan has joined #ruby
<shevy> damn, he got the numbers to back him up ;)
<gtsiftsis> tested in all versions
sdelmore has quit [Quit: Leaving.]
tonni has joined #ruby
<jhass> gtsiftsis: my interpretation would be that Enumerable#min adds a call to ruby land since it has to go through #each
<jhass> while Array#sort! can operate in C land all the time
scarolan has quit [Client Quit]
<jhass> but just a rough guess
<shevy> god
maletor has quit [Ping timeout: 248 seconds]
<shevy> .sort is slow
BlakeRG has left #ruby [#ruby]
zachallett has quit [Remote host closed the connection]
<workmad3> gtsiftsis: test with increasing values of N
<workmad3> gtsiftsis: and watch how each one increases
Yahkob has quit [Remote host closed the connection]
<gtsiftsis> jhass your guess maybe is correct, I inspect with ruby-prof (40% in Fixnum#<=> 35% in Array.each)
scarolan has joined #ruby
<RubyPanther> gtsiftsis: because Array#sort is probably optimized C, and Enumberable#min has to go through Comparable a bunch of times
meatherly has quit [Remote host closed the connection]
Jdubs has joined #ruby
jfoy has joined #ruby
<workmad3> gtsiftsis: as you say, the sort will be slower... eventually ;)
meatherly has joined #ruby
<workmad3> gtsiftsis: but that could easily be in the realm of millions of entries...
<gtsiftsis> workmad3 true
<workmad3> gtsiftsis: oh, also a.sort! gives you a massively unfair comparison
ryanf has left #ruby [#ruby]
Sawbones has quit [Remote host closed the connection]
<workmad3> gtsiftsis: as that'll mean that on subsequent iterations (and into your .sort benchmark afterwards) your array will be sorted
sarlalian has joined #ruby
<workmad3> gtsiftsis: and a sorted array is best-case for quicksort, iirc...
stryek has quit [Read error: Connection reset by peer]
clov3r has quit [Remote host closed the connection]
tjr9898 has joined #ruby
<terrellt> ^ That's probably why.
clov3r has joined #ruby
sdelmore has joined #ruby
<terrellt> Geez, it's significantly faster than min too.
DariusPHP has quit [Remote host closed the connection]
<RubyPanther> gtsiftsis: and if you mix floats and ints the difference goes down to min 5.160000 0.000000 5.160000 ( 5.162601) sort!.first 3.280000 0.000000 3.280000 ( 3.282422)
clov3r has quit [Read error: Connection reset by peer]
<RubyPanther> that is with a = 4000.times.map { |i| n = rand(i * 100); rand(2)==0 ? i.to_i : i.to_f }
<workmad3> gtsiftsis: iirc, quicksort on an already sorted array is O(n), same as .min... which will mean that you're comparing a C-optimisied version of an O(n) algorithm with a ruby-land O(n) algorithm after the first pass ;)
clov3r has joined #ruby
nszceta has quit [Read error: Connection reset by peer]
sarlalian has quit [Client Quit]
<terrellt> workmad3: He tests sort.first, too. Also faster.
<shevy> when I have a project 'foo' and inside that project I have foo/lib and foo/yaml, and a yaml file too, how would I load that yaml file?
<terrellt> Oh, but he tests it next.
heftig has quit [Quit: Quitting]
bthesorceror has quit [Remote host closed the connection]
<workmad3> terrellt: yup
dkamioka has quit [Remote host closed the connection]
<shevy> I suppose YAML.load_file('foo.yml') would not work because it would assume the current working directory
meatherly has quit [Ping timeout: 248 seconds]
<workmad3> gtsiftsis: if you remove your .sort! test, then suddenly .sort becomes slower ;)
bthesorceror has joined #ruby
kpshek has quit []
<gtsiftsis> workmad3 true
jbueza has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago_ has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
fedesilv_ has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
danman has quit [Quit: danman]
Asher has quit [Quit: Leaving.]
<gtsiftsis> workmad3 the point was about sort and min, qsort on sorted arrays is indeed faster
stringoO has joined #ruby
Tr_ has quit [Ping timeout: 245 seconds]
skywritergr has joined #ruby
heftig has joined #ruby
sarlalian has joined #ruby
dangerousdave has joined #ruby
<workmad3> gtsiftsis: right... and if you alter your test so that it's a fair comparison of average case with qsort, then .min is the quicker
wildroman2 has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
dorei has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 248 seconds]
clov3r has quit [Ping timeout: 260 seconds]
<terrellt> workmad3: Interestingly, if you presort a you don't get the same results.
mojjojo has joined #ruby
bthesorceror has quit [Read error: Operation timed out]
<gtsiftsis> workmad3 can u explain please the "fair comparison"
<terrellt> Oh, I guess you do.
Al___ has joined #ruby
momomomomo has joined #ruby
yfeldblum has joined #ruby
<terrellt> gtsiftsis: In your test you compare a.sort to .min after testing a.sort!, which mutates a to be a pre-sorted array. So you're testing a pre-sorted array.sort vs a random array.min.
<workmad3> gtsiftsis: you were basing your comparison on a general sort on an unordered array
Megtastique has joined #ruby
zoscoy has joined #ruby
<workmad3> gtsiftsis: but in your test, you were always comparing against a quicksort (O(n) in best case) on a sorted array (qsort's best-case)
sambao21 has joined #ruby
<workmad3> gtsiftsis: so your comparison wasn't matching your original assumption
<gtsiftsis> workmad3 thanks (I thought you meant something else ... its late here)
mary5030 has joined #ruby
Megtastique has quit [Client Quit]
<workmad3> gtsiftsis: it also wasn't fair on .min, because in the situation where the array is pre-sorted (as it was in about 19999 of the cases with sort) .first is what you'd use... so .min had to deal with an unsorted array situation and your sort.first versions with a sorted array... unfair comparison ;)
<gtsiftsis> workmad3 true my first experiment was with sort! (sort was added last but without noticing your observation)
mjs2600 has quit [Remote host closed the connection]
jtdowney has quit []
yfeldblum has quit [Ping timeout: 265 seconds]
<workmad3> gtsiftsis: I think I'm doing pretty well to remember the best-case for qsort from an algorithms lecture about 8 years ago :D
Aryasam has joined #ruby
philcris_ has joined #ruby
<gtsiftsis> workmad3 :)
<workmad3> gtsiftsis: oh, and it's 10p.m. here too ;)
kaldrenon has quit [Remote host closed the connection]
<gtsiftsis> but here is midnight :)
<workmad3> hehe
vim_shim has quit [Quit: Leaving]
aryaching has quit []
<slowcons> jhass: sorry had to step away. no this is giving an error for XML::NodeSet instead of XML::Node
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
pavilionXP has quit [Quit: fuck off]
mary5030 has quit [Remote host closed the connection]
<jhass> slowcons: so look up what methods you have available on NodeSet
jobewan has quit [Quit: Leaving]
philcrissman has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
<slowcons> jhass: i see how it works, changed it to "attribute"
blaxter_ has quit [Quit: foo]
danijoo has joined #ruby
maletor has joined #ruby
danijoo_ has quit [Read error: Connection reset by peer]
mary5030_ has joined #ruby
kpshek has joined #ruby
jonno11 has joined #ruby
MatthewsFace has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
jfoy has quit [Quit: jfoy]
axl_ has quit [Quit: axl_]
v1n has quit [Quit: WeeChat 0.4.2]
mavcunha has quit [Quit: Computer has gone to sleep.]
thumpba has quit [Remote host closed the connection]
alekst has quit [Quit: Leaving...]
jsilver has quit []
jsilver has joined #ruby
habanany has joined #ruby
mneorr has quit [Remote host closed the connection]
lkba has joined #ruby
v0n has joined #ruby
Tomasso has quit [Ping timeout: 250 seconds]
mneorr has joined #ruby
maletor has quit [Ping timeout: 265 seconds]
LnxBil has joined #ruby
danshultz has quit [Ping timeout: 260 seconds]
<LnxBil> Hi everybody. Got a problem using ActiveResource gem and can't figure out what is not working: http://paste.debian.net/hidden/89fde7b5/
clov3r has joined #ruby
shredding has quit [Quit: shredding]
<jhass> LnxBil: you need to do a require (require 'activeresource' I guess?)
jfoy has joined #ruby
rubyracer has quit [Quit: Konversation terminated!]
ndrei has joined #ruby
agjacome has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
<LnxBil> @jhass: Alright ... Problem is gem 'activeresource' vs. require 'active_resource'
<LnxBil> jhass: Thanks for stating the obivous
mneorr has quit [Ping timeout: 248 seconds]
<shevy> in the old days before gems, noone would have been able to do gem 'foo' ;)
<shevy> life was so simple!
blackmesa has joined #ruby
Hobogrammer_ has quit [Ping timeout: 260 seconds]
<jhass> shevy: the old days are past. get over it! just accept it and switch to utf-8 and ruby 2.1 now!
<jhass> (and to rack :P)
waldi_ has joined #ruby
<shevy> damn
<shevy> utf-8
<shevy> rack hmm there was this guy who said I could use webrick+rack without rackup
<shevy> I still wanna see the working example
waldi_ has quit [Client Quit]
Lewix has quit [Remote host closed the connection]
<terrellt> LnxBil: I did a ruby class not too long ago. Someone asked how to access a hash with dot-syntax, so I explained openstruct - using Rails caught me, since it auto requires, and I couldn't get it to require 'openstruct'. Because it's 'ostruct', obviously.
RoryHughes has quit []
jrist has joined #ruby
momomomomo has quit [Quit: momomomomo]
<LnxBil> terrellt: downside of too much automation :-/
nisstyre has joined #ruby
<shevy> yeah that is odd terrellt
kcombs has quit [Remote host closed the connection]
<shevy> same with OptionParser
<shevy> which is optparse I believe
<shevy> ruby is too liberal
burlyscudd has joined #ruby
habanany has quit [Ping timeout: 272 seconds]
philcris_ is now known as philcrissman
jackal__ has joined #ruby
<jackal__> hey everyone
jerius has quit [Ping timeout: 245 seconds]
<jackal__> i am a beginning ruby programming, looking for some advice on how to bring my skills to the next level
sambao21 has quit [Quit: Computer has gone to sleep.]
<jackal__> here is a program i recently made for guitar players, i was wondering if anyone could look it over and give me some advice or pointers
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<jackal__> its called RIFFBOOK
<lagweezle> shevy: What is wrong with ruby supporting civil rights and freedom of / from religion?
tvw has joined #ruby
<shevy> lagweezle that there can be the wrong religion
angusiguess has joined #ruby
<shevy> lagweezle like the one that says "kill everyone" or "ruby is shit, use python!"
dubsteph has quit [Ping timeout: 248 seconds]
<jhass> jackal__: start by adding .rb to your gists names so that it has syntax highlighting :P
<jackal__> ok thank you
maletor has joined #ruby
jobewan has joined #ruby
Zai00 has joined #ruby
<shevy> lagweezle in particular to ruby and the stdlib, I feel that it should be extremely consistent and fully documented
<lagweezle> shevy: That would be kinda nice.
sambao21 has joined #ruby
asteros has quit [Quit: asteros]
<jhass> jackal__: then the most common indention style is two spaces, but let's get to the code now
kloeri_ is now known as kloeri
<shevy> is anyone of you following mruby closely?
<jackal__> 2 space increments?
<jhass> jackal__: for a new line you can call puts just without arguments
<jackal__> oh great! is it effective to have a space method for spacing though?
<shevy> what will the space method do
<jackal__> just for formatting, puts 2 empty newlines
<shevy> hmm
tjr9898 has quit [Remote host closed the connection]
mengu has quit []
cburyta_ has quit [Remote host closed the connection]
<jackal__> rather than puts " " puts " " i just put space
stringoO has quit [Quit: stringoO]
<lagweezle> puts '\n\n' ?
tjr9898 has joined #ruby
habanany has joined #ruby
<jackal__> esentially yes
<lagweezle> Er, make that: puts "\n\n"
<jhass> jackal__: I think I like it but I'd parameterize it to define the amount of newlines, that way you can reduce the redundant space calls to something like space 6
Sammael has quit [Ping timeout: 246 seconds]
<jackal__> brilliant thanks
habanany has quit [Read error: Connection reset by peer]
habanany has joined #ruby
RoryHughes has joined #ruby
itadder has joined #ruby
<itadder> hi
<jhass> jackal__: in your case when you always do space, I'd move it before the case and don't bother that's also added to the exit branch then
mehlah has joined #ruby
<jackal__> ok
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
jkassemi has quit [Ping timeout: 245 seconds]
<jackal__> i like your idea of having space(num) num indicating the number of spaces
thumpba has joined #ruby
max96at has quit [Quit: Textual IRC Client: www.textualapp.com]
<jackal__> i use that space method in all my programs, also this menu is a generic i use within my other programs so far
cburyta has joined #ruby
mikepack_ has joined #ruby
codezomb has joined #ruby
<jhass> jackal__: and your program will end on invalid input, you can get around that with an else branch putting out an error message and wrap the whole thing into a loop
mark_locklear has quit [Quit: Leaving]
Hiall has joined #ruby
habanany has quit [Ping timeout: 245 seconds]
LnxBil has quit [Quit: Thank you all!]
<shevy> jackal__ I usually set a constant called N = "\n"
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<jackal__> hm, this is something i could use help with. So the entire program is a loop, the else breaks out of the loop? would i still call the main loop to start
<jhass> jackal__: one more style thing: always indent blocks of code, that holds true for while statement too
itadder has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Ping timeout: 245 seconds]
fedesilva has joined #ruby
LekeFly has joined #ruby
rm_ has quit [Remote host closed the connection]
<jhass> jackal__: in your archive method you leak open file handles (you never call file.close). Try to use the block form of File.open when possible: File.open(foo) do |file| do_stuff_with_file; end that'll take to close the file for you
bean has quit [Remote host closed the connection]
asteros has joined #ruby
<jhass> jackal__: also the individual branches in the archive method are complex enough to be their own methods IMO
<jackal__> ok
stonevil has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
Aryasam has quit [Read error: Connection reset by peer]
<jackal__> can you explain branches? i have not heard this term yet
<jhass> jackal__: getting back to the loop I suggested will also allow you to just exit from the subcommand methods, without possibly endless recursion between main_menu and them
kirun has quit [Quit: Client exiting]
ephemerian has quit [Remote host closed the connection]
mmoretti has joined #ruby
<jackal__> ok
<jhass> sort of the same thing as block, what I mean in this case is the code inside a when statement
cburyta has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 260 seconds]
mansi has quit [Remote host closed the connection]
mikepack_ has quit [Ping timeout: 272 seconds]
<jackal__> so write would be a method and use that method for all opening.writing to files?
stryek has joined #ruby
mansi has joined #ruby
mmoretti has quit [Client Quit]
Hobogrammer_ has joined #ruby
Hobogrammer_ is now known as Hobogrammer
<jackal__> thank you very much for taking the time to go over it jhass
aboudreault has quit [Read error: Operation timed out]
workmad3 has quit [Ping timeout: 248 seconds]
<jhass> I wouldn't start with separation of concerns yet, just make everything that's more than 2-3 lines inside a when a method
ffranz has quit [Quit: Leaving]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
popl has quit [Ping timeout: 260 seconds]
<jackal__> ok
habanany has joined #ruby
<jhass> if answer == 'n'; writing = false; end; can be slightly optimized to writing = answer != 'n'
GinoMan has quit [Ping timeout: 245 seconds]
<mojjojo> anyone here have experience with using mechanize gem? how can i select a radio button in a form but when it doesnt have a unique name?
asteros has quit [Ping timeout: 260 seconds]
geggam has quit [Quit: commuting from office to bedroom]
mansi has quit [Ping timeout: 248 seconds]
habanany has quit [Max SendQ exceeded]
stryek has quit [Ping timeout: 248 seconds]
mikepack_ has joined #ruby
GinoMan has joined #ruby
yasushi has joined #ruby
habanany has joined #ruby
deception has quit [Quit: Goodbye]
habanany has quit [Max SendQ exceeded]
<jhass> jackal__: the_link = name + " : " + link -> link = "#{name}:#{link}"
msmith_ has quit [Remote host closed the connection]
hobodave has quit [Quit: Computer has gone to sleep.]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
<jhass> jackal__: File::open is discouraged, always use . to call methods (File.open)
rayners has quit [Remote host closed the connection]
cburyta has joined #ruby
<jhass> jackal__: "RIFFBOOK-DATABASE"+ ".txt", I guess that's something historic, just make it one string ;)
clov3r_ has joined #ruby
itadder has joined #ruby
platzhirsch has joined #ruby
<itadder> this ruby koans is cool
<itadder> I gues
mikepack has quit [Ping timeout: 260 seconds]
<jsilver> no lies it sucks
<jsilver> cant teach noobs
dubsteph has joined #ruby
<jsilver> just a stupid toy for people who already know coding
<itadder> oh
<itadder> I am a noob
yasushi has quit [Ping timeout: 250 seconds]
<jsilver> you couldn't be
<itadder> yea it cool but it not teaching me
<itadder> jsilver: how so
<jsilver> or you'd be running scared from ruby koans
<jsilver> :D
clov3r has quit [Read error: Connection reset by peer]
<itadder> I just screwed up again at work
<jsilver> also some of the problems are TOO FUCKING HARD for anyone, n00b or programmer
palantir_ has joined #ruby
<itadder> this past three weeks
<shevy> require 'htmlentities'
<shevy> TypeError: HTMLEntities is not a class
<shevy> hmm
<itadder> jsilver: oh so what better for noobs
mikepack_ has quit [Ping timeout: 272 seconds]
habanany has joined #ruby
<jsilver> itadder: a few things such as ruby4kids, try ruby, rails 4 zombies are all better
<jsilver> iirc
<jsilver> there's more
<jhass> jackal__: another nice method for just reading a file in without worrying about closing it is File.read, contents = File.read('myfile')
<jsilver> rubykoans is the absolute worst ruby learning material you can send a n00b
aboudreault has joined #ruby
<shevy> hehe
momomomomo has joined #ruby
<terrellt> Codeschool.org's tutorials are nice.
dr0ff has joined #ruby
<itadder> what is this telling me "assert_equal = "Range", (1..5).class"
<terrellt> I usually send my minions there first.
<shevy> I usually send them over to the old chris pine tutorial
<jsilver> there's also Codecademy
<itadder> that I made a variable
sdelmore has quit [Quit: Leaving.]
<terrellt> WAIT
<jsilver> also I never send people why's poignant guide
<itadder> named range with vaules from 1 to 5
<terrellt> Not codeschool
mary5030_ has quit [Remote host closed the connection]
<terrellt> .com, not .org
<shevy> hah you dont even know where you send your minions to terrellt
<terrellt> They need to take that domain.
<shevy> now that is evil
kloeri has quit [Quit: leaving]
<jsilver> never send why's poignant guide. ruby culture it may be, but it is NOT a good reference material
<terrellt> I don't hire that many of them. =( I forget.
Sir_Funk2 has quit [Ping timeout: 265 seconds]
tjr9898 has quit [Remote host closed the connection]
<shevy> yeah, I never liked the poignant guide because I never understood it. I think it works better for people who are art-happy
werdnativ has quit [Quit: werdnativ]
nfk has quit [Quit: yawn]
ephemerian has joined #ruby
kloeri has joined #ruby
<jsilver> good art it may be, good technical writing it is not
malthe has quit [Ping timeout: 245 seconds]
<jsilver> ruby isn't the LSD trip it makes it out to be either
<shevy> I needed a demo - show code, show result, me learns
<jhass> jackal__: f.puts space, that's equivalent to f.puts since puts returns nil (always) your space method always returns nil
<jsilver> rather, why_'s crazy
jbueza has joined #ruby
<shevy> _why is history anyway
<jsilver> right
cburyta has quit [Remote host closed the connection]
yarou has joined #ruby
<jsilver> another reason not to send the book
mneorr has joined #ruby
<shevy> hehehe
<jsilver> you want to teach them _ruby_ not the history of why_ the lucky stiff
<shevy> a community tutorial would be nice
petey_ has joined #ruby
sdelmore has joined #ruby
<jsilver> ...who didn't create ruby and jerkishly pulled down all his (super eccentric as hell) sites
<jsilver> that were still cool
<itadder> shevy:
<shevy> yea
<jsilver> his apps were cool
<jsilver> his tutorials and book were cool
<jsilver> his work was cool
<jsilver> and yet
<jsilver> he pulls it all down like a douchebag
<shevy> I dont know why he pulled his apps
<jsilver> fuck him
<jsilver> cause he's a prick
<jhass> jackal__: that's about what I have for now, I guess it's one of your first ruby programs and I must say I've seen much worse ;)
<jsilver> plain and simple
<shevy> yeah but there are many other pricks too
<itadder> jsilver: you mett him
<itadder> met
<jsilver> itadder: nah
diegoviola has quit [Quit: WeeChat 0.4.3]
<jsilver> I'm angry at his actions
<jsilver> not character
<itadder> oh
<itadder> I just feel like crap today
<itadder> I screwed up again
<jsilver> he did so much for ruby then set it back to the stone ages
<jsilver> fuck him
<shevy> itadder then go and find activity that cheers you up. you must trick your brain sometimes
<itadder> our lan desk software is reporting 300 XP machines
<itadder> shevy: I need to go to yoga to night
petey has quit [Read error: Operation timed out]
<jsilver> girls in yoga pants <3
<shevy> now that would depresse me
<itadder> the project manager or boss is mad at me
<shevy> I can't bend my body at all
<itadder> I did not take it personal
<shevy> remember _why the lucky stiff? I feel like just that... stiff
<jsilver> stiffed
stryek has joined #ruby
<jsilver> we got stiffed
<itadder> but I want to move on, as a consultant it sucks doing helpdesk support stuff and windows migration
<jsilver> is what happened
yasushi has joined #ruby
<itadder> I am happy so happy I have a job
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<itadder> but windows migration I always fuck someting up
VTLob has quit [Quit: VTLob]
<itadder> or user is never happy with the migration
<shevy> I thought you feel like crap but you just write you are so happy
<jsilver> itadder: become a developer, earn more
<shevy> I have a job and I am not happy at all
<jsilver> maybe he's happy to feel like crap
<itadder> jsilver: that my end goal
<jsilver> itadder: good
<itadder> I just need to find time
<shevy> :P
<jsilver> itadder: step by step
<jsilver> small step
<jsilver> baby steps
<itadder> my anexity was high all day to day
<shevy> lies!
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<platzhirsch> A
<platzhirsch> B
<jsilver> itadder: chill out man
<shevy> D
<itadder> I been reading smash magainze ruby guide for noobs
<itadder> good guide
<jsilver> good good
<itadder> jsilver: not sure but I almost got a panic attack
<itadder> I have not ohad one in years
petey_ has quit [Ping timeout: 245 seconds]
<jsilver> itadder: breathe. take a walk. chillout.
<itadder> I have to meet april deadline for windows xp migration
<jsilver> fuck deadlines they're normally bullshit
<itadder> stupid microsoft will no longer support windows xp
mneorr has quit [Ping timeout: 250 seconds]
<jsilver> work as fast as you're comfortable
<platzhirsch> Deadlines get shit done, bohoo
brennanMKE has quit [Remote host closed the connection]
<jsilver> well yeah, it's not reasonable to expect a software company to support an over 10 year old solution
<itadder> the reporting system at work is reportiing 300 XP machines, some VMC vmware crappy software is reporitng more
<platzhirsch> What if someone would steal the 300 XP machines, let's say over night?
Butcho has quit [Quit: Textual IRC Client: www.textualapp.com]
<itadder> and vcenter is reporting less
<jsilver> they should have been upgraded itadder
brennanMKE has joined #ruby
<jsilver> long ago
<itadder> they don't even exist
<itadder> they are upgraded
<jsilver> weird
<itadder> just not removed from reporting softwarew
<jsilver> refresh it somehow
<itadder> becuase it a manual task
<jsilver> hah
Deele has quit [Ping timeout: 248 seconds]
* jsilver headdesks
dubsteph has quit [Ping timeout: 272 seconds]
<itadder> the decomssion task at work is all manual
<jsilver> IT Fun
<itadder> IT sucks
<jsilver> yeah
<itadder> why should such a important task be manual
<jsilver> get to dev!!! get out of there man!
<jsilver> because ppl are idiots
<itadder> some WIndows XP machinves were converted to VDI's
<itadder> but most were not
<itadder> jsilver: anyways I should chill
<jsilver> yeah
<jsilver> you're stressing, not packing
<itadder> I love programing more
<jsilver> not panicking
<jsilver> right
<jsilver> show your skills and earn the position and more money!!!
<itadder> I love yoga even more
<jsilver> you can do it
<jsilver> do ya
cburyta has joined #ruby
<itadder> I want to be a web developer
<itadder> I am only a consultant jsilver
<jsilver> right
<jsilver> you could become one
<itadder> so after this project I have to find something new,
<jsilver> plus your previous history helps
<itadder> jsilver: so it baby steps
<jsilver> eyah
<jsilver> yeah
<jsilver> not fast
<jsilver> slow
<jsilver> never rush
<jsilver> or you will not learn anything
<itadder> I tryed to rush thngs and it always fails
<jsilver> don't move on until you understand 100%
<jsilver> yup
<itadder> but at work they are rushing me
<jsilver> everyone does
<jsilver> yeah
<itadder> even though most of it not on me,
<itadder> WHY
<jsilver> its the way things go
pfg has joined #ruby
<jsilver> but dont rush yourself
malthe has joined #ruby
danshultz has joined #ruby
<jsilver> if you miss the deadline, it was probably unreasonable of a deadline and fuck it
<itadder> and I can not out my self as having high aneixty or adhd it just a excuse
<jsilver> don't kill yourself for corporations
<itadder> jsilver: I should not
<itadder> it was badly managed to begin with
<shevy> itadder yeah, it's the old chasing-the-stick strategy (or chasing the rabbit), and you never catch it
<jsilver> most are
<jsilver> fix it
<jsilver> do good until you ascend to the level of management
<shevy> you are not superhuman with 20 hands and 5 brains
<jsilver> then control the company _right_
<itadder> shevy: yea just when I thnk I am done the project manager says oh I forgot to tell yo uthis
tylersmith has quit [Remote host closed the connection]
<itadder> plus I am the only who did 240 pc migration on my own
<itadder> with some help but only some
brennanMKE has quit [Ping timeout: 250 seconds]
<shevy> I hate shifting goals
<jsilver> itadder: then say that it meets the Acceptance Criteria of the ticket that you agreed to, and that you cannot do the work until a new ticket is created. They'll love that
<itadder> and today I had to deal with windows trade flooor software that crashed on testing
<itadder> jsilver: yea
TommyBotten has quit [Quit: Lost terminal]
<shevy> yeah let him write new tickets
<jsilver> most "real" corporations follow this model
<itadder> shevy: yea I rather freelance program web progoram
<jsilver> say "according to this ticket its done. if you need more write a new ticket"
wildroman2 has joined #ruby
<shevy> he will hate writing new tickets
<itadder> jsilver: yea
<shevy> you need to appeal to his natural laziness
<jsilver> I only have to work the tickets I agreed to, which are not changed after the sprint begins
<itadder> I am lazy
<itadder> I guess
<jsilver> bullshit.. he can update it in a comment atleast
<shevy> your boss is even lazier
<jsilver> my clients updated tickets with comments all the time
<itadder> shevy: he sure is
<itadder> he did not plan this out at all correctly
<jsilver> fuck your boss, he can edit the ticket or post a comment
<jsilver> push back
<jsilver> if they fire you, fuck em
<shevy> yeah I have the same situation right now
<jsilver> you'll find someone else
<itadder> I thought I read the direction the APP support guy told for installing X software
<itadder> he comes to me today you did not read my email
<jsilver> nobody respects people who don't bite like a rattlesnake when stepped on
Aryasam has joined #ruby
<itadder> and I did not real all of it so I had to read it 100% and I rushed it and got it done
<itadder> but the app crashed he calls me it crashing
<jsilver> itadder: tell him that he wrote it stupidly and you couldnt understand
dvarrui has joined #ruby
<jsilver> you can't rush in this business
<itadder> bah I had to make a Modify rights on that folder for each trader
<jsilver> can't rush anything
<itadder> I had him test and it worked
<jsilver> you need to stop rushing is what
<itadder> he said okay you got it working
<jsilver> you need to stop rushing!!!!
<itadder> he could care less how I did it
<itadder> jsilver: oh
<jsilver> nobody does
<jsilver> nobody cares about how
<jsilver> in tech
<itadder> I could care less about coporate america
<jsilver> they only care about if it works
TryX has quit [Remote host closed the connection]
<itadder> jsilver: but what if my soultion is wr0ong
<itadder> in the long run, his instruction never said make th is folder modify
<jsilver> itadder: then when it breaks, they will have to make another ticket and somebody, maybe you will have to fix
<jsilver> otherwise fuck it, you don't care not your problem
<itadder> and I told my boss he goes that were not in the direction
<jsilver> itadder: what if its not wrong?
<itadder> I think it right
<itadder> but if thier no ducment to prove that
<jsilver> then say the directions were wrong
<jsilver> and update them
<jsilver> you should have ability to write your own doc
<itadder> plus why would a .exe need to have modify
<jsilver> and then tell them, THIS IS RIGHT
<jsilver> just be more confident
jefflyne has joined #ruby
<itadder> it not even installed thru a installer it was a robocopy job
<jsilver> push back
<jsilver> don't know
<itadder> I usally do good work when i am not rushed
<jsilver> I'd say quit and find a friendlier place
<itadder> and I am on both irc and alone
philcrissman has quit [Ping timeout: 248 seconds]
parzo has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
<jsilver> just don't rush
<jsilver> let them "rush you" but don't rush
<itadder> which is why I want to take advantge of this time I have left to learn ruby but you are right not rush
griffindy has quit [Quit: Computer has gone to sleep.]
<jsilver> walk slow, talk slow, work slow
<itadder> jsilver: thanks I will do that
<jsilver> no problem
<jsilver> the thing is
wildroman2 has quit [Ping timeout: 272 seconds]
<jsilver> when you go slowly
<jsilver> you save all of your energy and therefore have more
<itadder> I talk fast, think faster then I can write
danshultz has joined #ruby
<jsilver> its a good thing to move fast once you can actually code
<itadder> jsilver yea good ppoint
<jsilver> sometimes
philcrissman has joined #ruby
Al___ has quit [Read error: Connection reset by peer]
jackal__ has quit [Quit: Leaving]
<itadder> but I will take it very slow
<jsilver> but not a good thing to learn fast or rush things like design
<jsilver> good
griffindy has joined #ruby
<itadder> I am doing code acadmey and ruby the hard way
recurrence has joined #ruby
<jsilver> good
Al___ has joined #ruby
<itadder> koans was just not teaching me anything
<itadder> just cut and paste
<jsilver> yup, like I said it wouldn't
<jsilver> neither will the poignant guide
<itadder> so ruby the hardway is better
<jsilver> I never send either
<itadder> or ruby for kids
<jsilver> I'm sure it is
<jsilver> yeah
<jsilver> both
<jsilver> you might like The Rspec Book too
<itadder> you know what I also done bad for two weeks I gone to work at 7:30 or 8L00 am
<itadder> just to keep up and no one carese
Kricir has joined #ruby
<itadder> oh I will like that book
ktosiek has quit [Ping timeout: 250 seconds]
<jsilver> yeah I like it
<itadder> and instead of going to the GYm early ini the Am I been kissing coporate america behind
kcombs has joined #ruby
<jsilver> its fine
<jsilver> it makes you look good
<jsilver> dont think of the word "corporate'
<jsilver> you're in this, it means you too
<jsilver> dont think of "corporate america"
<jsilver> yes
<itadder> let me book mark
<itadder> but I need to stick to one think and learn from one source at a time
<jsilver> showing up at work early makes you look very good and dedicated... which is a good thing
<jsilver> true
<jsilver> one book at a time, one project at a time
<jsilver> one thing at a time
<shevy> one girl at a time
<jsilver> you're not node.js
philcrissman has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
<itadder> jsilver: true but they only care that the project is done on time, and I am not learning anything
<itadder> this is the first job I am not learning anything
einarj has quit [Remote host closed the connection]
<itadder> techinically I mean
<jsilver> I wouldn't put up with the hell you are putting up with
<itadder> but if I do not work I do not pay bills
<jsilver> you should never let anyone treat you like shit in business
<jsilver> right, same here
Collin has joined #ruby
<itadder> at my last job I got in to powershell and people were very oranized
<jsilver> you must be pragmatic, friendly, diplomatic
<itadder> bu tthe company got bought out
danman has joined #ruby
<itadder> they downized :(
<Collin> What's the most Ruby-acceptable way to pass a list of options to a function?
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<jsilver> Collin: a hash
<jsilver> as an optional parameter
<itadder> the IT manager for the IT support and eng group had daily morning meetings
<jsilver> set whatever defaults you want in the optional parameter default
<platzhirsch> Wow, this seems to be good advice: http://sendgrid.com/blog/im-great-technical-interviews-got-hired/
ktosiek has joined #ruby
<itadder> The best meetings every people helped each other out and we got work done
<jsilver> itadder: sounds like scrum
Hobogrammer_ has joined #ruby
<jsilver> itadder: just try to find a better job
<itadder> but we got downlisez
<jsilver> these guys sound like scumbags
<itadder> jsilver: no one wan toto hire me
<itadder> jsilver: they are
<jsilver> then you must work on dev skills
whomp has joined #ruby
<itadder> yea I must
<itadder> plus I am 32 years old I do not wan tto fix computer problems all my life
<jsilver> I probably make more than your boss
<itadder> it borning, lame and never ending
<jsilver> yeah - nobody does
<jsilver> yup
<jsilver> development doesnt end either, but isnt boring
<itadder> jsilver: you probally do
<itadder> jsilver: yea but it a goal
ffranz has joined #ruby
<jsilver> yea
weems has quit [Read error: Connection reset by peer]
<itadder> plus I would not work for a hedgefund
<itadder> and I will not code .net
<jsilver> yeah
<jsilver> nobody wants to code .net
<itadder> I want open source projects like web developer
<itadder> jsilver: not sure why they love .net at hedgefunds
<jsilver> yup yup.. but mostly you will be getting paid for closed source, trust me
<jsilver> heh
<jsilver> because they're a bunch of M$ loving whores?
<jsilver> :D
<itadder> well they l ove .net and tomcat
<jsilver> doesnt stop you from contributing to OpenSource tho
<jsilver> itadder: they love shitty crap
<jsilver> ;)
<itadder> jsilver: I just figured out that the person who decided on the upgrades was from accounting
mando_ has quit [Remote host closed the connection]
<jsilver> itadder: typical
<itadder> IT procurment head was asking me how far I was in the roll out
<jsilver> Bob from Department X thought it was a great idea
ktun has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
fedesilva has quit [Read error: Connection reset by peer]
<itadder> and he the one rushing
mando_ has joined #ruby
<itadder> becuase they don't have a budget after april
<jsilver> itadder: being assertive and speaking your mind can help
<jsilver> itadder: people won't know to "fuck off" if you don't say something
<jsilver> just don't be rude
fedesilva has joined #ruby
<jsilver> treat everyone really good
<jsilver> they will return the favor
Hobogrammer has quit [Ping timeout: 260 seconds]
<itadder> and the worst part is why are they still running in 2012 2013 XP
jhass is now known as jhass|off
skywritergr has quit [Quit: Textual IRC Client: www.textualapp.com]
<itadder> jsilver: the none IT people love me
<itadder> becuase I do my best to help them
<itadder> no redtape
<itadder> Just help
caveat- has quit [Ping timeout: 264 seconds]
<jsilver> itadder: they deserve to, and probably will, get hacked
<jsilver> i do the same-- always try to help
<itadder> they got the trade floor new workstation with 32 gigs of ram, and xeon 6 core CPU, yet BLoomberg and office version will be 32 bit
whomp has quit [Ping timeout: 250 seconds]
<itadder> jsilver: I like your point of view
v0n has quit [Ping timeout: 272 seconds]
<itadder> jsilver: I loved my first JOB at a MSp
<jsilver> itadder: thanks
<itadder> but the pay was crap
<itadder> me and my coworker who way smarter then people I work for
danshult_ has joined #ruby
<jsilver> itadder: "will be 32bit" thats dumb
<itadder> we installed a linux based firewwall for a client
binaryhat has joined #ruby
<itadder> instead of haviin gthem spend so much ono cisco
<jsilver> you worked for microsoft?
vlad_starkov has quit [Ping timeout: 250 seconds]
<itadder> no
<jsilver> oh
<itadder> MSP = IT server provider
<jsilver> oh
caveat- has joined #ruby
<itadder> services
<itadder> but the pay was crap and I had to travel a lot
griffindy has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<itadder> but it was great job
mneorr has joined #ruby
Shidash has quit [Ping timeout: 260 seconds]
<itadder> becuase my coworker was like me thinking uotside of the box
<itadder> outside
<itadder> and we had very very very litte red tape
Kricir has quit [Remote host closed the connection]
dingus_khan has joined #ruby
funburn has joined #ruby
Jdubs has quit [Remote host closed the connection]
<jsilver> right
mando_ has quit [Ping timeout: 265 seconds]
<itadder> and he would never get perssured to give in to auditors he the one person who tought to think for my self
Kricir has joined #ruby
<jsilver> some corporations are very fun to work for
<jsilver> some are no fun to work for
<itadder> but the pay was crap
<itadder> and the comapny was not makeing a profit
<jsilver> yeah
jlast has quit [Remote host closed the connection]
<itadder> so I left to NYC to work at hedgefunds
<jsilver> where'd you come from? lol
<lagweezle> itadder communicates by tweet.
<itadder> Yea @itadder
<itadder> I come from North NJ
<itadder> suburban NJ
<jsilver> ah
<itadder> I would love to in a year get in to web development, and my high school frieinds is in to graphic design
nanoyak has quit [Ping timeout: 248 seconds]
<itadder> He could do some art I will pay him, and I can do backend
danshultz has quit [Ping timeout: 265 seconds]
<jsilver> good!
<itadder> but you said it takes time
loc22 has quit [Quit: Konversation terminated!]
<jsilver> yeah but not infinity time
<itadder> I need to find time also after work one hour
<jsilver> you'll get there!
<itadder> and time for thje gym
<jsilver> being comfortable > money
<itadder> I wish I could go to the gym at 5 am get out at 6:10 am and get to work at 7:30 AM
bricker_ has joined #ruby
<jsilver> I've seen homeless guys happier than successful ones
<itadder> jsilver: I am not
danshult_ has quit [Ping timeout: 248 seconds]
Al___ has quit [Read error: Connection reset by peer]
<jsilver> you won't be able to get a lot of money without first being comfortable
ffranz has quit [Quit: Leaving]
<itadder> jsilver: I need to be supre comfortable
Al___ has joined #ruby
<itadder> I am not ready yet I know that
<jsilver> make small "hacks" in your life to make things more comfortable
<jsilver> and easier
<itadder> my goal was to work on a omnifocus webfrontend
<itadder> a self project
<jsilver> dont start with complicated projects
<itadder> have you heard of Omnigrup and thier GTD software
<jsilver> start with simple ones
<jsilver> no
<itadder> yea that complex
<itadder> oh
bricker has quit [Read error: Operation timed out]
<itadder> so whichi book or site should I do first
<itadder> in your opnion
<jsilver> my first recommended Ruby book is "Agile Web Development with Rails"
<jsilver> that's what I recommend first
<dachi> i've got another question please. i made a gem that is a wrapper for a binary application, I named it as <name>_ruby, is that incorrect? that binary is not connected to ruby at all
<jsilver> a Rails mentality is not a bad way to enter Ruby world
LiquidInsect has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
phansch has quit [Quit: Leaving]
dblessing has quit [Quit: dblessing]
<philcrissman> jsilver: ! wut.
blackmesa has joined #ruby
cajone has left #ruby [#ruby]
<jsilver> philcrissman: its how I entered
<jsilver> dachi: dont think its wrong
LiquidInsect has joined #ruby
<itadder> how long have you been coding
<philcrissman> me too. So many things to unlearn along the way.
<jsilver> 15 years
nanoyak has joined #ruby
<jsilver> i'm 25 though. I've been coding since I was 10
<dachi> okay so dash would be used if left one is written in ruby and right one if for sinatra or rails or other, right
jeregrine has quit [Ping timeout: 246 seconds]
awarner has quit [Read error: Connection reset by peer]
<jsilver> dachi: don't think it matters
sfroehler has quit [Ping timeout: 245 seconds]
<itadder> no kindle version for it
<dachi> okay
awarner has joined #ruby
<jsilver> dachi: gem name doesnt matter
Wolland has quit [Remote host closed the connection]
nobitanobi has joined #ruby
sfroehler has joined #ruby
<dachi> i got code climate 3.4 :|
ckrailo has quit [Ping timeout: 264 seconds]
von____ has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
<jsilver> why
<itadder> and which site should I start with first jsilver kidsforruby or codeacaemdy is okay
alol has quit [Ping timeout: 246 seconds]
<dachi> Complex code in definition outside of methods (complexity = 26)
loliveira has joined #ruby
<s2013> how can i set something like a = "b" but a = "c" if b doesnt exist
<jsilver> I hear good things about CodeCademy itadder
<dachi> and Complex method #initialize (complexity = 33)
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<itadder> Yea I was doing that two weeks ago and left for koans
mansi has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
<itadder> but you right I was not learning nothing from koans
<jsilver> dachi: put the code outside the methods into methods. break initialize up into smaller methods and call them
ckrailo has joined #ruby
<itadder> and I need to start with small projects afterwards
<dachi> thanks
<jsilver> itadder: yup
<jsilver> dachi: np
dylannorthrup has quit [Ping timeout: 252 seconds]
jeregrine has joined #ruby
von____ has joined #ruby
<itadder> and I will be going ot yoga
<Sou|cutter> s2013: a = b || c
mlpinit has quit [Remote host closed the connection]
<itadder> let me get off the computer tonight
dvarrui has quit [Ping timeout: 260 seconds]
<itadder> I need yoga
<s2013> hmm i tried it.. didnt work
<jsilver> itadder: enjoy!
<s2013> k thanks
<itadder> jsilver: thanks for the help
<lagweezle> s2013: Depending on your feeling about the ternary operator...
<Sou|cutter> s2013: although I don't understand your strings
<itadder> thanks everyone
<philcrissman> itadder: The Well-Grounded Rubyist and Eloquent Ruby are some good Ruby books.
chrisseaton has joined #ruby
<Sou|cutter> I didn't really like Eloquent Ruby that much
<jsilver> s2013: a = b; a ||= c
<loliveira> what's the right way to call: x[ind].date.kind_of?(ActiveSupport::DateTimeWithZone) ? I am receiving the error: uninitialized constant ActiveSupport::DateTimeWithZone
alol has joined #ruby
<s2013> hmm that might work i gues
<s2013> thanks
<itadder> what about ruby the hard way
danman has quit [Quit: danman]
<lagweezle> s2013: defined? b ? a = "b" : a = "c"
<lagweezle> That is rather unpleasant looking, thought.
<jsilver> loliveira: include ActiveSupport
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<s2013> yeah
<lagweezle> s/thought/though
<jsilver> lagweezle: very ugly!
<jsilver> a = b || c is the best
<philcrissman> itadder: haven't gone through Ruby the hard way, but I imagine its decent. Zed is smart.
<Nyyx> tried to get through why's poignant guide but I was afraid it wasnt thorough enough
<itadder> should I have a ubuntu desktop to program all this at home
<itadder> instead of my macbook
<jsilver> itadder: yeah probably
<s2013> ok
<jsilver> I like seperating work from play
Zai00 has quit [Quit: Zai00]
<philcrissman> Sou|cutter: re Eloquent Ruby... for better or worse, it's pretty good coverage of the most common Ruby idioms and has a lot of good examples.
<jsilver> mac or Linux will do though
<itadder> my main computer is a mac book pro
Aryasam has quit [Ping timeout: 260 seconds]
<philcrissman> itadder: macbook is fine. Or ubuntu. Whichever you like.
<itadder> I think the macbook becuase I can take with me
<itadder> and code from anywher
Soliah has joined #ruby
jle` has quit [Ping timeout: 260 seconds]
<philcrissman> Almost everyone I've ever worked with has worked from a Mac.
<philcrissman> There are a couple folks here with linux laptops.
<itadder> okay I will stick with that
[krisbulman] is now known as krisbulman
<jsilver> k good idea
<philcrissman> itadder: if you really want an ubuntu environment you can always download VirtualBox.
<jsilver> philcrissman: I used to use Linux for Ruby and had a great time. I use OS X now though.
<loliveira> jsilver: same error. =/
<jsilver> philcrissman: +1 I do this but with CentOS
<itadder> I have a pc not I never used it not even connected I could put ubuntu
<itadder> but
Asher has joined #ruby
<Sou|cutter> philcrissman: it's been a while since I read it, but I remember thinking it covered some things oddly
<itadder> I rather learn ruby then relearn ubuntu
<jsilver> loliveira: you need to require "active_support" or something then do the include I think
<loliveira> jsilver: ok
<philcrissman> jsilver: yeah, VirtualBox is great.
<itadder> I know how to mac so much more then windows or linux
<jsilver> loliveira: you need access to ActiveSupport namespace, which you don't currently have
<Sou|cutter> philcrissman: I wouldn't say it's bad, in any case
<jsilver> loliveira: keep trying stuff to get it included/required until it works
<philcrissman> Sou|cutter: maybe; iirc, Russ Olsen said he pictured it as someone's second Ruby book. You could learn Ruby from it, but it would help to know Ruby, basically, before you read it.
<itadder> i just get overwhellmed
<itadder> with all the books and online stuff
someword has quit [Quit: Leaving.]
<platzhirsch> Too many posts about Flappy Bird on HN...
<philcrissman> itadder: yeah, there's a lot. If you're starting, just try to do one thing at a time. fwiw, if you want to learn Rails, the Rails tutorial site is (I think?) still very good/up to date.
<philcrissman> platzhirsch: easy solution: don't read HN. :P
<jsilver> wtf is flappy bird and why'd he take it down
<platzhirsch> haha
<itadder> not sure but he did
<platzhirsch> philcrissman: yeah right right after I stop breathing... geez
duggiefresh has quit [Remote host closed the connection]
<itadder> I just want to learn the basic first
angusiguess has joined #ruby
whomp has joined #ruby
<itadder> philcrissman: I want to learn from scratch as a noob
<whomp> [1, 2, 3].map({|i| i + 2}) gives me an error. why?
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<philcrissman> platzhirsch: hah. Really? I can't read that site anymore. It's awful.
Jdubs has joined #ruby
<philcrissman> whomp: the brackets () shouldn't be tehre
<philcrissman> there
<platzhirsch> philcrissman: Many quit, it still gives me a lot of input
<whomp> but then how would i do [1, 2, 3].map({|i| i + 2}).reverse
<whomp> ?
<dachi> why are so many people so much happy that """"""node replaces ruby"""""""
<philcrissman> whomp: [1,2,3].map{|i| i +2 }.reverse
<whomp> ahhh
<whomp> thx
<platzhirsch> dachi: Sexual desire
Skylab has quit [Quit: Skylab]
palantir_ has quit [Ping timeout: 245 seconds]
<mojjojo> anybody have exp with web scraping with capybara?
<philcrissman> platzhirsch: I dunno. I used to read it. It got worse and worse until I only visited once a week, once a month, then never.
<itadder> okay I am out
<philcrissman> ymmv
<itadder> jsilver: will you been here tonight
<philcrissman> itadder: best wishes.
<jsilver> itadder: no. but I will be here tomorrow morning
<jsilver> 9am mountain time
<platzhirsch> philcrissman: oh visit? I just scroll through the titles of the RSS Feed and click 2 or 3 in a day that I am interested in
<itadder> I am looking at the agile book
<jsilver> good
<itadder> I may just start with that one
<jsilver> good good
<jsilver> I know you'll be in good hands with it
<itadder> would the public library carry that
<itadder> hmm
gr33n7007h has quit [Read error: No route to host]
<jsilver> perhaps but its best to have the latest edition
<itadder> just that a text eidtor
<philcrissman> itadder: maybe? hard to say.
Skylab has joined #ruby
<jsilver> itadder: rails changed a lot
hamakn has quit [Ping timeout: 245 seconds]
<jsilver> try to get the latest edition
<itadder> I just want simple
mavcunha has joined #ruby
<philcrissman> platzhirsch: that would be better.
hamakn has joined #ruby
ktosiek has quit [Ping timeout: 260 seconds]
<jsilver> itadder: I don't know of a "simple" ruby book
<itadder> maybe buy the latest from amazon or barrnes and nobile
<jsilver> but they're out there
<jsilver> itadder: yeah
<jsilver> you'll be fine
habanany has quit [Read error: Connection reset by peer]
<jsilver> Agile webdev... etc is a good book for newbies
<jsilver> it taught me
<itadder> wow
<itadder> I saw that book last week at the ruby meetup
<platzhirsch> philcrissman: yeah, it's really just skimming through the information flow. That's what the voting system is for, sort out the crap (Although there are still — from time to time — pretty crappy posts, but well... it's the internet after all)
<itadder> version 4 or something
<jsilver> yeah get 4th edition
yeticry_ has quit [Ping timeout: 260 seconds]
<jsilver> its for Rails 4
<jsilver> you will be in good hands
<jsilver> should only be 30-40 bucks max
yeticry has joined #ruby
<jsilver> pricey yeah, but its a good book
<jsilver> basically
<jsilver> unless you drop out
<itadder> yea and I support the author
<jsilver> it will pay for itself
razibog has joined #ruby
<jsilver> yeah
<philcrissman> platzhirsch: I'm unconvinced. :) If you find good articles from it, though, that's good.
<itadder> and how do I sechdule time to do it
<jsilver> fuck scheduling
<itadder> how di dyou sechdule time
<jsilver> i never do it
<jsilver> just plan on it and do it
<itadder> like after work one hour is enough for each day
<jsilver> say "I am going to do this at this time" and then be damn sure you do it
werdnativ has joined #ruby
fedesilva has quit [Read error: Connection reset by peer]
<jsilver> if it's enough for you
<jsilver> then its enough
<jsilver> if you're still interested
<jsilver> keep going
<jsilver> you have time
<itadder> ahh fo rme it usally 2 hours
<jsilver> it's like art
<itadder> ahh true
<jsilver> take your time
gr33n7007h has joined #ruby
<platzhirsch> jsilver, itadder: You two should really start to post once per sentence and not every 2-3 words.
fedesilva has joined #ruby
iamjarvo has joined #ruby
<jsilver> remember what I said don't move on until you get it 100%
<jsilver> platzhirsch: pfft
<jsilver> fine
jle` has joined #ruby
eka has joined #ruby
bovi has joined #ruby
<itadder> platzhirsch: Sorry bad habit of mine. :(
<jsilver> everyone please spam/retweet/whatever this https://thedaywefightback.org/
<jsilver> thx
<platzhirsch> Sometimes I do that, too, but I literally started to hear the chatter in the channel :D
yasushi has quit [Remote host closed the connection]
fedesilv_ has joined #ruby
<jsilver> worth it
<dachi> i have that
DrShoggoth has quit [Quit: Leaving]
<jsilver> $26 used
<dachi> are u okay to have such copy
habanany1 has joined #ruby
<jsilver> I'd get new
<dachi> ok
<jsilver> used stuff are gross
<itadder> yea I will get new one on friday
pranny1 has left #ruby [#ruby]
<itadder> I get paid on friday
<jsilver> good!
<jsilver> good man!
<jsilver> i gotta go
<jsilver> im outta here guys
<itadder> me to
<jsilver> cya tomorrow 8am
dx7 has joined #ruby
<dachi> bye
<itadder> jsilver: thanks again philcrissman say dachi
<jsilver> bye
<itadder> bye
itadder has quit []
<jsilver> yw i8igmac
<jsilver> yw itad
mansi has quit [Remote host closed the connection]
diegoviola has joined #ruby
fedesilva has quit [Ping timeout: 250 seconds]
jclrb has joined #ruby
dylannorthrup has joined #ruby
Sleepee has joined #ruby