apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: 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
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
klmlfl_ has quit [Remote host closed the connection]
djbkd has joined #ruby
<zenspider> icbm: any ideas on the speed of whittle? sounds like it'll be inheritantly slower than racc
timonv_ has joined #ruby
<icbm> I haven't used racc yet, but yes, whittle should be slower
codeFiend has quit [Quit: codeFiend]
icebourg has quit []
nickjj has quit [Quit: Leaving]
nickjj has joined #ruby
brocktimus has joined #ruby
snath has joined #ruby
nicolastarzia has quit [Ping timeout: 240 seconds]
<icbm> For one, it has to generate the parse table at runtime. Secondly, the lexer is a simple "try every terminal regex and pick the longest match" algorithm.
<icbm> That said, it looked a little simpler to use than racc, so I tried it.
djbkd has quit [Ping timeout: 252 seconds]
deryl is now known as ddd
timonv_ has quit [Ping timeout: 264 seconds]
zorak8 has quit [Ping timeout: 245 seconds]
codeFiend has joined #ruby
<zenspider> I generally hate all lalr/lr grammar engines... but I have enough investment in racc that I can't leave at this time
<zenspider> soon? maybe...
rajeshchawla has quit []
yourabi has joined #ruby
shortdudey123 has joined #ruby
yourabi has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
<shortdudey123> anyone familiar with Psych::Parser?
<icbm> zenspider: What do you prefer instead? I like LALR the most, but I've mostly forgotten the other types except for recursive-descent.
fgmfgmfgm has joined #ruby
fgmfgmfgm has quit [Client Quit]
<bradland> shortdudey123: it's best just to ask your question. if someone is familiar they'll respond.
St1gma has quit [Remote host closed the connection]
<shortdudey123> sure
zorak8 has joined #ruby
josephndenton has joined #ruby
<bradland> Psych is the core YAML parser for Ruby, so chances are most are familiar.
djbkd has joined #ruby
St1gma has joined #ruby
<shortdudey123> i am trying to parse yaml "foo: bar" and the tree is showing 2 scalar nodes at equal level, not nested
klmlfl has joined #ruby
<shortdudey123> however, calling .to_ruby shows the correct nesting
<bradland> shortdudey123: can you post your code in a gist and link to it here?
<shortdudey123> how do i determine nesting before moving from the treebuilder to ruby
<bradland> for the yaml string "foo: bar" ?
<bradland> i'm not even sure how to answer that
<bradland> if you could gist some code, that would be really helpful
Rarikon has quit [Read error: No route to host]
kasperti_ has quit []
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
josephndenton has quit [Ping timeout: 240 seconds]
josephndenton has joined #ruby
klmlfl has quit [Ping timeout: 244 seconds]
<zenspider> icbm: I prefer RDP and earley, peg in a reeeeemote 3rd
jordsmi has joined #ruby
pietr0 has quit [Quit: pietr0]
Xoro has joined #ruby
<shortdudey123> bradland: http://pastebin.com/ZDfi5z6U
pkrzywicki has quit [Remote host closed the connection]
DonOtreply has quit [Quit: DonOtreply]
<shortdudey123> foo and bar are on the same child level, but bar is the value for foo
<bradland> shortdudey123: any reason you're using Psych directly instead of working through YAML?
<shortdudey123> i am trying to do duplicate key detection
<zenspider> ugh
<bradland> zenspider: is the perfect person to help you with this lol
<shevy> hehehe
<bradland> i'm such a novice, i'd YAML.load the whole thing and do it in ruby :P
<shevy> yes!
bronson has joined #ruby
<bradland> 'cause looking at that parse tree makes me feel a little sick to my stomach
<shortdudey123> haha have to do it before it hits ruby
<shortdudey123> lulz
Porpado has quit [Quit: Porpado]
<pipework> Why don't you modify it as a string in ruby?
<pipework> Read in the file and do stuff to it.
Deele has quit [Ping timeout: 244 seconds]
<shortdudey123> i would probably have to write my own YAML parser then
<pipework> What kind of stuff are you doing?
julieeharshaw has quit [Ping timeout: 264 seconds]
<shortdudey123> loading the yaml into a tree, then iterating through the tree and seeing if there is a key listed twice
<shortdudey123> but i am seeing the keys and values on the same level in the tree which doens't work well when i only want to see the keys haha
<bradland> i am willing to accept at face value that you _must_ do this inside the Psych parser; i will not, however, have anything to do with that effort.
<bradland> if you need me, i'll be here making snarky remarks about your progress.
julieeharshaw has joined #ruby
<shortdudey123> i don't have to use Psych, but it looked like it would work
<zenspider> shortdudey123: seems like a BS requirement. I prefer GIGO as a design decision
<bradland> ok, i'm intrigued. why do you have to do it within Psych?
<bradland> as opposed to simply parsing the whole thing and working with ruby objects?
mjuszczak has quit []
bronson has quit [Ping timeout: 245 seconds]
<bradland> for bonus points, use the term "web scale" in your explanation
sargas has joined #ruby
sargas has quit [Changing host]
sargas has joined #ruby
<pipework> I'm a fan of redditscale, or slashdotscale.
<bradland> i'll accept those alternatives
sargas has quit [Client Quit]
DadoCe has quit [Remote host closed the connection]
DadoCe has joined #ruby
<zenspider> bradland: what happens when you create a hash with the same key multiple times?
<bradland> this is actually kind of hilarious shortdudey123. i have no fucking clue how Psych knows that one is the key and one is the value when examining these Psych::Nodes::Mapping
fryguy9 has quit [Quit: Leaving.]
<shortdudey123> bradland: i don't have to do it it psych... it just seemed like a way that could work so that i could have some parsing already setup and i didn't have to write a yaml parser
<bradland> >> { foo: "bar", foo: "baz" }
<eval-in> bradland => /tmp/execpad-9721336a281e/source-9721336a281e:2: warning: duplicated key at line 2 ignored: :foo ... (https://eval.in/240934)
<bradland> zenspider: that ^
<zenspider> and you think psych will just build up some ruby source and eval it?
<bradland> and a giant lightbulb goes off over my head
<zenspider> there yo ugo
marr has quit [Ping timeout: 265 seconds]
<zenspider> s/ u/u /
<bradland> stop cluing me in. it's bright in here and it's evening time.
baweaver has joined #ruby
<bradland> kinda sleepy
<shortdudey123> hmm when doing { foo: "bar", foo: "baz" } in irb, doens't exception
<bradland> warning
<bradland> your warn level is probably too low
<bradland> er, log level
<shortdudey123> possibly
<pipework> -w is awesome
<pipework> -w is hellish when libraries cause warnings.
<shortdudey123> adding -W / -w has no change
reinaldob has joined #ruby
<shortdudey123> oh, that is on 2.,2
<shortdudey123> i am running 2.1.5
<bradland> irb or ruby?
<bradland> irb has no -w
<shortdudey123> ruby
<zenspider> pipework: feel free to join /warningfree on github
<aarwine> 2.2 is where it's at
<shortdudey123> bradland: irb has -w and -W
<shortdudey123> -w Same as `ruby -w`
<shortdudey123> -W[level=2] Same as `ruby -W`
<bradland> heh. doesn't show up in my `man irb` output
<bradland> i see it in 'irb -h'
<shortdudey123> thats what we call a feature :p
<bradland> that is interesting
<bradland> no warning when irb is invoked with `irb -w`
reinaldob has quit [Ping timeout: 252 seconds]
pwnz0r has joined #ruby
einarj has quit [Remote host closed the connection]
DadoCe has quit [Remote host closed the connection]
parduse has joined #ruby
DadoCe has joined #ruby
mrmargolis has joined #ruby
DadoCe has quit [Remote host closed the connection]
ponga has joined #ruby
bitcycle has joined #ruby
jaequery has joined #ruby
<bradland> ok, so why doesn't this code warn in my local environment? https://gist.github.com/bradland/8a009888e9f99b14a30d
codeFiend has quit [Quit: codeFiend]
Hijiri has joined #ruby
<jhass> >> RUBY_VERSION
<eval-in> jhass => "2.2.0" (https://eval.in/240938)
<bradland> 2.2 feature?
nanoyak has quit [Quit: Computer has gone to sleep.]
<jhass> doubt it
josephndenton has quit [Ping timeout: 256 seconds]
CustosL1men has joined #ruby
<jhass> actually it seems so
<bradland> sum'na bitch
brocktimus has quit [Remote host closed the connection]
<shortdudey123> interesting
charliesome has joined #ruby
danielcharles has quit [Quit: Lost terminal]
brocktimus has joined #ruby
SilkFox_ has joined #ruby
brandonjjon has joined #ruby
<brandonjjon> Could anyone provide an example of verifying post data with this library? https://github.com/dwilkie/paypal Not sure how to access the private method and such. Ruby noob.
yfeldblum has quit [Read error: Connection reset by peer]
carvantes has quit [Quit: WeeChat 0.3.7]
yfeldblum has joined #ruby
omosoj has joined #ruby
Xoro has quit [Quit: Leaving]
Xoro has joined #ruby
Spooner has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
maletor has quit [Changing host]
maletor has joined #ruby
mrmargolis has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 272 seconds]
claptor has joined #ruby
bitcycle has quit [Ping timeout: 244 seconds]
<shortdudey123> hmm... changing to 2.2.0 still silently fails on dupe keys in the yaml parsing :/
SilkFox_ has quit [Ping timeout: 264 seconds]
<shortdudey123> was hoping it wouldn't with the new dupe key exception
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> shortdudey123: i get a warn under 2.2
conniemj has quit [Quit: (null)]
blastermaster has joined #ruby
<bradland> are you certain irb has started under 2.2?
<bradland> p RUBY_VERSION
<bradland> in your IRB
baweaver has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<bradland> shortdudey123: this'll probably get me yelled at, but try this: curl -sSL https://gist.githubusercontent.com/bradland/8a009888e9f99b14a30d/raw/81dc9915550f2390d96c7ac43de13f59e60be7c8/foofoo.rb | ruby -w
<bradland> or just download that gist and run it with `ruby -w foofoo.rb`
Hijiri has quit [Ping timeout: 264 seconds]
<zenspider> released: hoe-seattlerb, flog, flay, minitest-server, minitest, minitest-debugger, omnifocus
<bradland> like, just now?
<bradland> you animal
ponga has quit [Ping timeout: 244 seconds]
<blastermaster> how can I parse a website (forum) that has URL like http://blabla.com/page-1 and each thread in a class="threadTitle" ? I need to open each thread and search for a keyword
<bradland> i hope you stood on your chair and pounded your chest a bit
<zenspider> blastermaster: learn mechanize + nokogiri
gsd has joined #ruby
<zenspider> shook my axe
<bradland> ooooh, the axe. good call.
stunder has quit [Quit: Leaving]
sevvie_ has quit [Ping timeout: 244 seconds]
sevvie has quit [Ping timeout: 256 seconds]
<blastermaster> zenspider: do you know any good begginer's tutorials for that?
arescorpio has joined #ruby
sinkensabe has quit [Ping timeout: 265 seconds]
<aarwine> sounds like a job for beautifulsoup; or w/e the ruby equivalent is
<aarwine> i guess nokogiri ?
<aarwine> oh i'm like 5 minutes late.
<bradland> blastermaster: do you know Ruby already? if not, I just came across this the other day and found it pretty interesting. http://blog.rstudio.org/2014/11/24/rvest-easy-web-scraping-with-r/
sondr3 has joined #ruby
<bradland> interesting in that the time between starting and actually doing any scraping seems very short for that rvest tool.
GaryOak_ has quit [Remote host closed the connection]
<pipework> Mmm mechanize.
Hijiri has joined #ruby
icebourg has joined #ruby
<shortdudey123> yup "2.2.0"
exadeci has quit [Quit: Connection closed for inactivity]
<bradland> shortdudey123: and still no warning?
jfran_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<shortdudey123> i got the warning with your script, but not with Pysch
TgMts has joined #ruby
<bradland> shortdudey123: well… yeaaaaah ʕ •ᴥ•ʔ
Photism has quit [Quit: Leaving]
<shortdudey123> i was hoping it would exception with loading on psych but looks like something inside pysch handles it before it hits ruby
<bradland> that's because those are two totally different things
pdoherty has joined #ruby
<bradland> { foo: "bar", foo: "baz" } is a ruby literal for a hash
<bradland> has nothing to do with psych
<shortdudey123> right
<bradland> erm, no
<bradland> it wouuldn't exception with loading on psych, because the creation of the ruby objects is the last step in the chain
<bradland> first, psych builds a collection of ruby objects, which are not the same as building a Hash
<bradland> specifically, ruby 2.2 warns on duplicate keys in *Hash* objects
<bradland> nothing to do with Psych nodes
<shortdudey123> right, but i was hopeful :p
<bradland> mkay
Xeago_ has quit [Remote host closed the connection]
sondr3 has quit [Quit: Textual IRC Client: www.textualapp.com]
DadoCe has joined #ruby
ahem2 has quit [Ping timeout: 245 seconds]
sondr3 has joined #ruby
Xeago has joined #ruby
JDiPierro has joined #ruby
<jhass> in hash literals, not hash objects in general
<bradland> good point
russt has quit [Quit: russt]
pdoherty has quit [Ping timeout: 264 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Senjai has quit [Quit: WeeChat 1.0.1]
metadave has joined #ruby
<sondr3> hey, silly question, I'm playing around with making a gem and want to iterate over a few files in a templates folder (lib/scaffold) and I have a self.source_root set to that folder so doing copy_file "name", "name" works but anything like dir.foreach or dir.glob I haven't been able to get to work... any ideas?
klmlfl has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
josephndenton has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
ptrrr has quit [Quit: ptrrr]
Xeago has quit [Ping timeout: 255 seconds]
djbkd has quit [Quit: My people need me...]
giuseppesolinas has quit [Quit: Leaving]
codeFiend has joined #ruby
<zenspider> sondr3: depends on the glob
<zenspider> Dir.foreach shouldn't tho... you pass it the dir you want to enumerate...
ursooperduper has joined #ruby
giuseppesolinas has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
giuseppesolinas_ has joined #ruby
giuseppesolinas has quit [Client Quit]
klmlfl has quit [Ping timeout: 244 seconds]
<sondr3> yeah, I give it the directory it should enumerate but it gives me an "scaffold.rb:33:in `open': No such file or directory @ dir_initialize - ../../scaffold (Errno::ENOENT)" error, but if I just use the self.source_root and copy_file with the same "../../scaffold" it works fine
segfalt has quit [Quit: Connection closed for inactivity]
DadoCe has quit [Remote host closed the connection]
skj3gg has quit [Quit: ZZZzzz…]
hrs has joined #ruby
DadoCe has joined #ruby
mleung has quit [Quit: mleung]
<bradland> shortdudey123: it looks like the Psych::Nodes are always in sequential key/value pairs
<bradland> so the first of a pair is the key, and the second the value
cpt_yossarian has quit [Quit: And then he took off.]
<bradland> i'm out for a while, good luck!
<shortdudey123> yeah, i was noticing that too
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shortdudey123> thanks for the help :)
cpt_yossarian has joined #ruby
<bradland> shortdudey123: you bet. i'll leave you with one last bit for your examination: http://pastebin.com/V5KKqmDv
blastermaster has quit [Ping timeout: 255 seconds]
ubaldas has joined #ruby
DadoCe has quit [Ping timeout: 245 seconds]
Hobogrammer has joined #ruby
ubaldas has quit [Client Quit]
Tricon has quit [Ping timeout: 264 seconds]
julieeharshaw has quit [Ping timeout: 264 seconds]
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
bayed has quit [Quit: Connection closed for inactivity]
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
julieeharshaw has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
<shevy> does one of you know of a simple way
baweaver has joined #ruby
<shevy> with perhaps prawn, to read a .pdf file and grab the text? I have here a .pdf file with a lot of text, in a 2 column layout
<shevy> like: key | value
<shevy> if I copy paste it with the mouse, I end up with "key\nvalue\nkey\value" which requires me to go through ti and make the correct newlines
<shevy> erm "key\nvalue\nkey\nvalue"
chipotle has quit [Quit: cheerio]
pengin has quit [Ping timeout: 264 seconds]
giuseppesolinas_ has joined #ruby
hashpuppy has joined #ruby
russt has joined #ruby
robustus has joined #ruby
hashpuppy has quit [Client Quit]
Takle has quit [Remote host closed the connection]
chipotle has joined #ruby
DonOtreply has joined #ruby
mjuszczak has joined #ruby
bricker has quit [Ping timeout: 244 seconds]
CustosL1men has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
lj300 has joined #ruby
<omosoj> def blah; { 1 => 2 }; end you can create a hash like this, right?
DadoCe has joined #ruby
mjuszczak has quit []
<rpag> >> {1 => 2}
<eval-in> rpag => {1=>2} (https://eval.in/240939)
<rpag> >> {1: 2}
<eval-in> rpag => /tmp/execpad-8acc72176c89/source-8acc72176c89:2: syntax error, unexpected ':', expecting => ... (https://eval.in/240940)
<rpag> >> [[1,2]].to_h
<eval-in> rpag => {1=>2} (https://eval.in/240941)
<rpag> etc.
<pipework> omosoj: Try.
<omosoj> k, just did in pry :)
jenrzzz has joined #ruby
<omosoj> still getting the hang of this
<zenspider> >> [1,2].to_h
<eval-in> zenspider => wrong element type Fixnum at 0 (expected array) (TypeError) ... (https://eval.in/240942)
<zenspider> hrm...
<omosoj> wanted to know, specifically, how to freeze a hash you create in that way. whether the .freeze goes on the hash } or after end
<rpag> yeah it expects an array of pairs
<omosoj> pry tells me you put it on the hash itself, ie }.freeze; end
MartynKeigher has joined #ruby
Azure has quit [Ping timeout: 264 seconds]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nicolastarzia has joined #ruby
giuseppesolinas_ has quit [Quit: Leaving]
<zenspider> freezing hashes... yay
lj300 has left #ruby [#ruby]
giuseppesolinas has joined #ruby
timonv_ has joined #ruby
charliesome has joined #ruby
duncannz has joined #ruby
<omosoj> sarcastic?
SilkFox_ has joined #ruby
elfuego has quit [Quit: elfuego]
<omosoj> gotta bounce. thanks for the help guys
omosoj has quit [Quit: leaving]
nicolastarzia has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
Fretta has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 264 seconds]
timonv_ has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
adriancb has joined #ruby
pawprint has joined #ruby
SilkFox_ has quit [Ping timeout: 265 seconds]
<pawprint> are there any checksums or signatures available for the rubies available of the mirror sites?
dc_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
crueber has joined #ruby
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
IronKnuckle has joined #ruby
sevvie_ has joined #ruby
rbennacer has quit [Ping timeout: 264 seconds]
crueber has quit [Client Quit]
govg has quit [Ping timeout: 264 seconds]
crueber has joined #ruby
crueber has quit [Read error: Connection reset by peer]
JDiPierro has quit [Remote host closed the connection]
<sondr3> okay, maybe to clarify, how can I enumerate over files in a gem when trying to install it? It seems right now it just goes ../ down from where I am instead of inside the gems directories (which is what I want)
crueber has joined #ruby
Azure has joined #ruby
Channel6 has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
devdazed has quit [Quit: Computer has gone to sleep.]
IronKnuckle has quit [Quit: We cannot trust cross-dressers with our national security. http://ironknuckle2016.blogspot.com]
sevvie has quit [Ping timeout: 252 seconds]
sevvie_ has quit [Ping timeout: 244 seconds]
coder_neo has joined #ruby
dc_ has joined #ruby
towski_ has quit [Remote host closed the connection]
<zenspider> sondr3: pastie
parduse has quit []
<coder_neo> How can i get myself invited to join Ruby Slack?
jenrzzz has quit [Ping timeout: 255 seconds]
x77686d has quit [Quit: x77686d]
ghr has quit [Ping timeout: 255 seconds]
parduse has joined #ruby
bronson has joined #ruby
<pawprint> zenspider: that shows only a handful of checkums on that page, compared to the dozens of ruby versions available on the mirror sites
<pawprint> as far as i can see
<pawprint> maybe i'm missing something
amclain has joined #ruby
Hijiri has quit [Ping timeout: 252 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
<pawprint> for example, where would i get the checksum for ruby-1.8.7-p174.zip or ruby-1.8.6-p383.tar.bz2
nfk has quit [Quit: yawn]
<pawprint> there are no checksums/sigs for those version on https://www.ruby-lang.org/en/downloads/ from what i can see
<sondr3> zenspider: https://gist.github.com/sondr3/76922596f42203f13bd2. I get it working if I uncomment the self.source_root and instead of using Dir.foreach just do copy_file manually for each file in the folder, but it's pretty cumbersome. Don't really know what makes it go tits up when I change it
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
alkoma has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
sorbo_ has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
cpt_yossarian has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
<sorbo_> anyone seen the jasmine gem throw “Uncaught ReferenceError: jasmine is not defined” for no discernible reason?
<sorbo_> I have two projects with seemingly identical Rakefiles, spec_helpers, spec/javascripts/support/jasmine.ymls, &c
<sorbo_> one works fine, the other throws that error
TgMts has joined #ruby
<zenspider> sondr3: what is the value of template_dir when it is run?
<zenspider> and does it actually exist?
gaboesquivel has quit [Remote host closed the connection]
<sondr3> uh, how would I check that?
<zenspider> you can `p` it right before the foreach
<sondr3> ah, right, hang on
coder_neo has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
sevvie_ has joined #ruby
crueber has quit [Quit: Leaving.]
hephaestus_rg has quit [Ping timeout: 244 seconds]
<sondr3> Okay, I get it to show the right directory by using "File.expand_path("../scaffold", File.dirname(__FILE__))", but then it just gives a "Could not find "config.yml" in any of your source paths. Please invoke Ikebana::Scaffold.source_root(PATH) with the PATH containing your templates. Currently you have no source paths."
hamakn has joined #ruby
hamakn has quit [Remote host closed the connection]
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hamakn has joined #ruby
conniemj has joined #ruby
tier has joined #ruby
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tier has quit [Remote host closed the connection]
hamakn_ has joined #ruby
hamakn has quit [Read error: No route to host]
brandonjjon has quit [Ping timeout: 246 seconds]
sevvie has quit [Read error: Connection reset by peer]
sevvie_ has quit [Read error: Connection reset by peer]
codeFiend has quit [Quit: codeFiend]
sevvie has joined #ruby
sevvie_ has joined #ruby
jefus has quit [Ping timeout: 244 seconds]
jefus has joined #ruby
russt has quit [Quit: russt]
jordsmi has quit [Quit: Connection closed for inactivity]
sevvie_ has quit [Read error: Connection reset by peer]
hamakn_ has quit [Remote host closed the connection]
sevvie has quit [Read error: Connection reset by peer]
sevvie_ has joined #ruby
sevvie has joined #ruby
sondr3 has quit [Read error: Connection reset by peer]
sondr3 has joined #ruby
hamakn has joined #ruby
hephaestus_rg has joined #ruby
Soda has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
baweaver has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
pwnz0r has quit [Remote host closed the connection]
gaboesquivel has joined #ruby
pwnz0r has joined #ruby
Joufflu has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
SilkFox_ has quit [Ping timeout: 245 seconds]
adriancb has quit [Remote host closed the connection]
codeFiend has joined #ruby
pwnz0r has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
mysterpaul has joined #ruby
mysterpaul has left #ruby [#ruby]
sorbo_ has quit [Quit: sorbo_]
TheRinger_ has joined #ruby
klmlfl has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Ping timeout: 252 seconds]
luriv has quit [Ping timeout: 255 seconds]
PanzerModern has joined #ruby
alkoma has quit [Remote host closed the connection]
Takle has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
xcesariox has joined #ruby
pdoherty has joined #ruby
jenrzzz has joined #ruby
kapil__ has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
eka has joined #ruby
bronson has joined #ruby
pdoherty has quit [Ping timeout: 255 seconds]
SilkFox_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
hamakn has quit [Remote host closed the connection]
icbm has quit [Quit: Leaving]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
codeFiend has quit [Quit: codeFiend]
TgMts has joined #ruby
ursooperduper has joined #ruby
DadoCe has quit [Remote host closed the connection]
byprdct has joined #ruby
Channel6 has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
pu22l3r has joined #ruby
sevvie_ has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
sankaber has joined #ruby
govg has joined #ruby
Axy is now known as Mia
nicolastarzia has joined #ruby
ghr has joined #ruby
DadoCe has joined #ruby
timonv_ has joined #ruby
cphrmky has quit [Read error: Connection reset by peer]
nicolastarzia has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 256 seconds]
timonv_ has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 255 seconds]
sankaber has joined #ruby
sevvie has joined #ruby
sevvie_ has joined #ruby
agent_white has joined #ruby
klmlfl has quit [Remote host closed the connection]
hornairs has joined #ruby
hornairs has quit [Remote host closed the connection]
<agent_white> Good evenin'
charliesome has joined #ruby
ivanskie has joined #ruby
zapho53 has joined #ruby
hornairs_ has quit [Ping timeout: 244 seconds]
sevvie has quit [Ping timeout: 256 seconds]
zapho53 has left #ruby [#ruby]
TgMts has quit [Ping timeout: 252 seconds]
sevvie_ has quit [Ping timeout: 264 seconds]
radic has quit [Ping timeout: 245 seconds]
sankaber has quit [Read error: Connection reset by peer]
fenzil has joined #ruby
radic has joined #ruby
sevvie has joined #ruby
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
sevvie_ has joined #ruby
bluehavana has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
haxr has joined #ruby
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hrs has joined #ruby
pu22l3r has quit [Ping timeout: 255 seconds]
jaequery has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
braincrash has quit [Quit: bye bye]
emmesswhy has joined #ruby
pawprint has quit [Ping timeout: 244 seconds]
sankaber has quit [Read error: Connection reset by peer]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
sankaber has joined #ruby
sevvie_ has quit [Read error: Connection reset by peer]
sevvie has quit [Ping timeout: 244 seconds]
nanoyak has joined #ruby
pwnz0r has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
sankaber has quit [Read error: Connection reset by peer]
sondr3 has joined #ruby
sankaber has joined #ruby
nanoyak has quit [Client Quit]
braincrash has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
Heartbroken has left #ruby [#ruby]
sankaber has joined #ruby
pwnz0r has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
pwnz0r has joined #ruby
sevvie has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
sevvie_ has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
sankaber has joined #ruby
caveat- has quit [Ping timeout: 272 seconds]
cpt_yossarian has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
scripore has quit [Quit: This computer has gone to sleep]
pwnz0r has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
sevvie_ has quit [Ping timeout: 244 seconds]
sevvie has quit [Ping timeout: 244 seconds]
commmmodo has joined #ruby
arescorpio has quit [Excess Flood]
haxr has quit [Quit: Leaving]
lewis has joined #ruby
haxr has joined #ruby
Soda has joined #ruby
conniemj has quit [Quit: (null)]
sevvie has joined #ruby
sevvie_ has joined #ruby
Mia has quit [Read error: Connection reset by peer]
stac47 has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
lemur has joined #ruby
sankaber has joined #ruby
sevvie__ has joined #ruby
sevvie___ has joined #ruby
sevvie_ has quit [Ping timeout: 264 seconds]
josephndenton has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
<shevy> hey agent_white
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
kiyote23 has quit [Remote host closed the connection]
St1gma has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 245 seconds]
zorak8 has quit [Ping timeout: 264 seconds]
caveat- has joined #ruby
codeFiend has joined #ruby
ghr has joined #ruby
haxr has quit [Ping timeout: 264 seconds]
Vile` has quit [Remote host closed the connection]
St1gma has joined #ruby
speaking1ode has joined #ruby
rkalfane has joined #ruby
Tricon has joined #ruby
Sawbones_ has joined #ruby
Vile` has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
speaking1ode has joined #ruby
speaking1ode is now known as speakingcode-wor
osvico has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
queequeg1 has joined #ruby
<agent_white> \o
<agent_white> shevy: How goes it?
sevvie___ has quit [Ping timeout: 244 seconds]
sevvie__ has quit [Ping timeout: 265 seconds]
sankaber has quit [Read error: Connection reset by peer]
DadoCe has quit [Ping timeout: 264 seconds]
pwnz0r has joined #ruby
sankaber has joined #ruby
charliesome has joined #ruby
ghr has joined #ruby
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby
sankaber has quit [Client Quit]
lewis has quit []
sevvie_ has joined #ruby
sevvie has joined #ruby
Takle has joined #ruby
crueber has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
charliesome has quit [Ping timeout: 272 seconds]
sevvie has quit [Read error: Connection reset by peer]
pwnz0r has quit [Ping timeout: 255 seconds]
<shevy> dunno
<shevy> hehehe
sevenseacat has joined #ruby
commmmodo has quit [Quit: commmmodo]
sinkensabe has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
sevvie_ has quit [Ping timeout: 245 seconds]
snath has quit [Ping timeout: 256 seconds]
arup_r has joined #ruby
bronson has joined #ruby
Aswebb_ has quit []
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pwnz0r has joined #ruby
gaboesquivel has quit []
chrishough has joined #ruby
sinkensabe has quit [Ping timeout: 256 seconds]
Zesty has joined #ruby
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
<agent_white> Wonderful! :D
pwnz0r_ has joined #ruby
pdoherty has joined #ruby
<shevy> ah well
<shevy> I feel a bit slowed down
pwnz0r has quit [Ping timeout: 245 seconds]
<shevy> trying to change a big project is so much work
<shevy> what is better:
<shevy> put stuff into one project and make this feature rich
<shevy> or having several smaller projects that are not as clearly related to one another
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pdoherty has quit [Ping timeout: 245 seconds]
emmesswhy has quit [Ping timeout: 264 seconds]
crueber has quit [Quit: Leaving.]
emmesswhy has joined #ruby
Deele has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
conniemj has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
tubuliferous has joined #ruby
<tubuliferous> Hey folks, I'm on a Mac, and I want to have a ruby script run every day at Sunrise
<tubuliferous> So...
it0a has joined #ruby
<Zesty> crontab -e
<tubuliferous> I found a Ruby gem to give me the time of sunrise for the following day...
<tubuliferous> yeah...
<tubuliferous> crontab it is
jcomito has joined #ruby
chipotle has quit [Quit: cheerio]
stac47 has quit [Ping timeout: 246 seconds]
DonOtreply has joined #ruby
tus has quit []
Pharaoh2 has joined #ruby
DadoCe has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
timonv_ has joined #ruby
hamakn has joined #ruby
chipotle has joined #ruby
pawprint has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
mattjbarlow has quit [Ping timeout: 272 seconds]
Parker0 has joined #ruby
Zesty has quit [Quit: Linkinus - http://linkinus.com]
diegoviola has quit [Quit: WeeChat 1.0.1]
timonv_ has quit [Ping timeout: 245 seconds]
rebcabin has joined #ruby
pawprint has left #ruby [#ruby]
kiyote23 has joined #ruby
mary5030_ has quit [Remote host closed the connection]
mattjbarlow has joined #ruby
mary5030 has joined #ruby
tier has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
goshdarnyou has joined #ruby
jaequery has joined #ruby
kl__ has quit [Ping timeout: 265 seconds]
<agent_white> shevy: Several smaller ones!
DadoCe has quit [Remote host closed the connection]
<agent_white> Don't discriminate, modulate!
mary5030 has quit [Ping timeout: 244 seconds]
DadoCe has joined #ruby
tier has quit [Ping timeout: 256 seconds]
pwnz0r_ has quit [Remote host closed the connection]
ponga has joined #ruby
SilkFox_ has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
DadoCe has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
DonOtreply has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
hiyosi has joined #ruby
MasterPiece has joined #ruby
cpt_yossarian has joined #ruby
kstuart has quit [Remote host closed the connection]
Tricon has quit [Ping timeout: 255 seconds]
kstuart has joined #ruby
oleo is now known as Guest71432
oleo__ has joined #ruby
<shevy> agent_white yeah
<shevy> agent_white one problem is giving them all separate names :-)
stac47 has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
Guest71432 has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
mattjbarlow has quit [Ping timeout: 244 seconds]
<agent_white> If I want a name, I mash the keyboard then delete letters until I can sound it out.
<agent_white> :D
hiyosi has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnz0r has joined #ruby
mattjbarlow has joined #ruby
DeanH has joined #ruby
dc_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 256 seconds]
<shevy> hmm
<shevy> what alias would you use to exit
<shevy> I now have four instances of exit in a small script
<shevy> how about _
<bradland> shortdudey123: if you're still around and digging around in YAML, you should read this: http://docs.ruby-lang.org/en/2.0.0/Psych/Nodes.html
snath has joined #ruby
<shevy> hmm I don't like _ though
<bradland> it describes the YAML AST (abstract syntax tree?) that is used internally by Psych
wookiehangover has quit [Ping timeout: 244 seconds]
<shevy> ah well, not worth to alias
davedev24_ has joined #ruby
kiyote23 has quit [Remote host closed the connection]
sinkensabe has joined #ruby
kiyote23 has joined #ruby
davedev2_ has quit [Ping timeout: 265 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kryptonical has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
russt has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
agrinb has quit [Remote host closed the connection]
einarj has joined #ruby
reinaldob has quit [Ping timeout: 264 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
pwnz0r has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 244 seconds]
brocktimus has quit [Remote host closed the connection]
icarus has joined #ruby
wookiehangover has joined #ruby
russt has quit [Quit: russt]
DonOtreply has joined #ruby
Spami has joined #ruby
Techguy305 has joined #ruby
codeFiend has quit [Quit: codeFiend]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
it0a has quit [Quit: WeeChat 1.0.1]
mattjbarlow has quit [Ping timeout: 244 seconds]
JBreit has joined #ruby
mattjbarlow has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
drawingthesun has joined #ruby
Rollabunna has joined #ruby
iamninja has joined #ruby
osvico has quit []
cpt_yossarian has quit [Quit: And then he took off.]
stac47 has left #ruby [#ruby]
yfeldblum has quit [Ping timeout: 240 seconds]
Sawbones_ has joined #ruby
drawingthesun has quit [Client Quit]
Morkel has joined #ruby
mleung has joined #ruby
Hijiri has joined #ruby
icebourg has quit []
yfeldblum has joined #ruby
Kryptonical has joined #ruby
govg has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
Sawbones_ has quit [Ping timeout: 244 seconds]
hamakn has joined #ruby
diegoviola has joined #ruby
yfeldblu_ has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
hamakn has quit [Ping timeout: 252 seconds]
Loaft has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hvxgr has quit [Ping timeout: 264 seconds]
enali has joined #ruby
SilkFox_ has joined #ruby
apurcell has quit [Quit: Be back later ...]
mary5030 has joined #ruby
oo_ has joined #ruby
Kryptonical has quit [Read error: Connection reset by peer]
td123 has joined #ruby
<td123> this might sound a little anxious, but is there a ruby #{next_version} roadmap anywhere?
Pharaoh2 has joined #ruby
SilkFox_ has quit [Ping timeout: 265 seconds]
mary5030 has quit [Ping timeout: 264 seconds]
Pharaoh2 has quit [Read error: Connection reset by peer]
apurcell has joined #ruby
codeFiend has joined #ruby
ghr has joined #ruby
enali has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
mleung has quit [Quit: mleung]
kiyote23 has quit [Remote host closed the connection]
speaking1ode has joined #ruby
Darryl__ has joined #ruby
apurcell has quit [Ping timeout: 265 seconds]
speakingcode has quit [Ping timeout: 240 seconds]
codeFiend has quit [Remote host closed the connection]
DonOtreply has quit [Quit: DonOtreply]
ghr has quit [Ping timeout: 264 seconds]
codeFiend has joined #ruby
codeFiend has quit [Client Quit]
queequeg1 has quit [Quit: leaving]
queequeg1 has joined #ruby
sinkensabe has joined #ruby
ARCADIVS has joined #ruby
keen__________27 has joined #ruby
keen__________26 has quit [Ping timeout: 244 seconds]
teddyp1cker has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 245 seconds]
teddyp1cker has joined #ruby
apurcell has joined #ruby
Techguy305 has quit [Ping timeout: 244 seconds]
Soda has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
pdoherty has joined #ruby
apurcell has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Ping timeout: 244 seconds]
destructure has quit [Ping timeout: 244 seconds]
destructure has joined #ruby
chipotle has joined #ruby
brocktimus has joined #ruby
hvxgr has joined #ruby
haxr has joined #ruby
nicolastarzia has joined #ruby
<arup_r> shevy: What is the time now there ?
pdoherty has quit [Ping timeout: 255 seconds]
<shevy> 8:18
<shevy> so still almost 16 hours before it is sunday! \o/
mleung has joined #ruby
nicolastarzia has quit [Ping timeout: 245 seconds]
ohaibbq has joined #ruby
byprdct has joined #ruby
DadoCe has joined #ruby
byprdct has quit [Max SendQ exceeded]
SparkMasterTape has joined #ruby
LouisRoR has joined #ruby
ndrei has joined #ruby
sondr3 has joined #ruby
sondr3 has quit [Client Quit]
DadoCe has quit [Ping timeout: 256 seconds]
teddyp1cker has joined #ruby
dfinninger has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
Sawbones_ has joined #ruby
lolmaus has joined #ruby
apurcell has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0.1]
devoldmx has joined #ruby
devoldmx has quit [Remote host closed the connection]
devoldmx has joined #ruby
Sawbones_ has quit [Ping timeout: 244 seconds]
SparkMasterTape has quit [Quit: Leaving]
work_op has joined #ruby
crazydiamond has joined #ruby
apurcell has quit [Ping timeout: 252 seconds]
mleung has quit [Quit: mleung]
gingitsune has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
teddyp1c_ has joined #ruby
SilkFox_ has joined #ruby
devoldmx has joined #ruby
teddyp1cker has quit [Read error: No route to host]
stonith has joined #ruby
stonith has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
SilkFox_ has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby
bronson has joined #ruby
roshanavand has joined #ruby
apurcell has joined #ruby
ghr has joined #ruby
haxr has quit [Ping timeout: 255 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
LouisRoR has quit []
apurcell has quit [Ping timeout: 244 seconds]
teddyp1c_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
<gingitsune> Hello
td123 has left #ruby ["WeeChat 1.0.1"]
LouisRoR has joined #ruby
<gingitsune> Can someone please help me figure out whats going wrong?
mambo has joined #ruby
sinkensabe has joined #ruby
echevemaster has quit [Remote host closed the connection]
Peter__ has joined #ruby
govg has joined #ruby
govg is now known as Guest27395
Guest27395 has quit [Client Quit]
teotwaki has quit [Ping timeout: 265 seconds]
oo_ has quit [Ping timeout: 245 seconds]
defrang has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
teotwaki has joined #ruby
PNDPO has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
luriv has joined #ruby
sameerynho has joined #ruby
tuelz has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lemur has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
postmodern has quit [Quit: Leaving]
Morkel has quit [Quit: Morkel]
Peter__ has quit [Remote host closed the connection]
PNDPO has quit [Remote host closed the connection]
teotwaki has quit [Ping timeout: 265 seconds]
emmesswhy has joined #ruby
mambo has quit []
<longfeet> hey, does anyone here work on logstash?
agrinb has joined #ruby
rbrs has joined #ruby
Pharaoh2 has joined #ruby
teotwaki has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
parduse is now known as Guest74876
icarus has quit [Quit: leaving]
pardusf has joined #ruby
Guest74876 has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
DrCode has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
ptrrr has joined #ruby
teotwaki has quit [Ping timeout: 265 seconds]
TheRinger has quit [Ping timeout: 256 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
hmsimha has joined #ruby
p0wn3d_mhs has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Channel6 has quit [Quit: Leaving]
sameerynho has quit [Ping timeout: 264 seconds]
sameerynho has joined #ruby
timonv_ has joined #ruby
SilkFox_ has joined #ruby
speakingcode has joined #ruby
speakingcode-wor has quit [Ping timeout: 256 seconds]
timonv_ has quit [Ping timeout: 265 seconds]
elfuego has joined #ruby
oo_ has joined #ruby
SilkFox_ has quit [Ping timeout: 252 seconds]
ziyadb has joined #ruby
teddyp1cker has quit []
ghr has joined #ruby
oo_ has quit [Remote host closed the connection]
fenzil has quit [Read error: Connection reset by peer]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
Pharaoh2 has joined #ruby
timonv_ has joined #ruby
em0ral has joined #ruby
sinkensabe has joined #ruby
lessless has joined #ruby
teotwaki has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Ping timeout: 264 seconds]
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
hephaestus_rg has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pdoherty has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
pdoherty has quit [Ping timeout: 252 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
longfeet has quit [Ping timeout: 255 seconds]
longfeet has joined #ruby
agrinb has joined #ruby
Sawbones_ has joined #ruby
TheRinger_ has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
pushpak has joined #ruby
Spami has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
haxr has joined #ruby
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
haxr has quit [Max SendQ exceeded]
loly0 has quit [Quit: leaving]
haxr has joined #ruby
<gingitsune> Anyone on how to make that script run?
ohaibbq has quit [Remote host closed the connection]
Pharaoh2 has quit [Client Quit]
agrinb has quit [Ping timeout: 244 seconds]
Sawbones_ has quit [Ping timeout: 244 seconds]
speaking1ode has quit [Ping timeout: 244 seconds]
dfinninger has quit [Remote host closed the connection]
Spami has quit [Ping timeout: 244 seconds]
paolooo_ has joined #ruby
Cache_Money has joined #ruby
paolooo_ has quit [Client Quit]
coder_neo has joined #ruby
wallerdev has quit [Quit: wallerdev]
paolooo has joined #ruby
jack_rabbit has quit [Ping timeout: 264 seconds]
paolooo has quit [Client Quit]
lkba_ has joined #ruby
gingitsune has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
spider-mario has joined #ruby
coder_neo has quit [Client Quit]
speaking1ode has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
timonv_ has quit [Remote host closed the connection]
gingintsune has joined #ruby
gingintsune has quit [Client Quit]
pushpak has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
gingintsune has joined #ruby
zorak8 has joined #ruby
LouisRoR1 has joined #ruby
teddyp1cker has joined #ruby
einarj has joined #ruby
fantazo has joined #ruby
longfeet has quit [Read error: Connection reset by peer]
zorak8 has quit [Max SendQ exceeded]
LouisRoR has quit [Ping timeout: 245 seconds]
bronson has quit [Ping timeout: 240 seconds]
gingintsune has quit [Ping timeout: 265 seconds]
duncannz has quit [Ping timeout: 255 seconds]
SilkFox_ has joined #ruby
einarj has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
josephndenton has joined #ruby
Darryl__ has quit [Quit: Connection closed for inactivity]
SilkFox_ has quit [Ping timeout: 240 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ohaibbq has joined #ruby
Spami has quit [Ping timeout: 244 seconds]
lkba_ has quit [Ping timeout: 264 seconds]
Cache_Money has quit [Quit: Cache_Money]
josephndenton has quit [Ping timeout: 264 seconds]
gingitsune has joined #ruby
kiyote23 has joined #ruby
govg has joined #ruby
charliesome has joined #ruby
kiyote23 has quit [Ping timeout: 244 seconds]
mengu has joined #ruby
mengu has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
keen__________28 has joined #ruby
Photism has joined #ruby
keen__________27 has quit [Ping timeout: 244 seconds]
sinkensabe has quit [Ping timeout: 244 seconds]
ponga has joined #ruby
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
TripTastic has joined #ruby
agrinb has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
lessless has joined #ruby
JBreit has quit [Ping timeout: 255 seconds]
mengu has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
Spami has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
TgMts has joined #ruby
agjacome has joined #ruby
kasperti_ has joined #ruby
Googleplay has joined #ruby
<Googleplay> Clouds is a cool game that you cant stop playing. Try it for free in playstore.
Joufflu has quit [Ping timeout: 265 seconds]
Googleplay has quit [Killed (idoru (Spam is off topic on freenode.))]
<sevenseacat> lol
rurban has joined #ruby
rbrs has quit [Quit: rbrs]
Spami has quit [Ping timeout: 265 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
Spami has joined #ruby
ponga has quit [Remote host closed the connection]
ponga has joined #ruby
mengu has joined #ruby
rurban has left #ruby ["Leaving"]
<arup_r> Googleplay: hehehehe
<arup_r> ponga: Hi
<ponga> arup_r: he's not even here
<arup_r> ponga: :(
<arup_r> sevenseacat: How is your job going on ?
TheKruex has joined #ruby
spacemud has quit [Ping timeout: 255 seconds]
<arup_r> ponga: What are you writing in Ruby
<arup_r> ?
<ponga> me?
<arup_r> humm
<ponga> arup_r: cos my first language i ever learnt was Java
<ponga> did this make an answer
ndrei has quit [Quit: Lost terminal]
<arup_r> I meant what is your Ruby project? :)
Spami has quit [Read error: Connection reset by peer]
<ponga> å
<ponga> arup_r:
<ponga> nlp script
<arup_r> Great!!!!!!!!!
jenrzzz has joined #ruby
psy_ has joined #ruby
<ponga> arup_r: and a chatbot
<ponga> bot that talks
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<arup_r> ponga: Once I thought I'll write some audio player using Ruby.. but didn't figure out what else I need to read for this.. :(
<ponga> arup_r: how about javascript
<arup_r> for audio player?
SilkFox_ has joined #ruby
<arup_r> ponga: somebody did it it seems https://rubygems.org/gems/audite :)
<ponga> not a web audio player?
mengu has quit [Ping timeout: 244 seconds]
<arup_r> no..
DLSteve has joined #ruby
ndrei has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
nicolastarzia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
nicolastarzia has quit [Ping timeout: 255 seconds]
ohaibbq has quit [Quit: Leaving...]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has joined #ruby
last_staff has joined #ruby
LouisRoR1 has quit []
m8 has joined #ruby
Pupeno_ has quit [Remote host closed the connection]
destructure has quit [Ping timeout: 265 seconds]
destructure has joined #ruby
Pupeno has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
Mon_Ouie has joined #ruby
sinkensabe has joined #ruby
beneggett has quit [Ping timeout: 244 seconds]
jheg has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Ping timeout: 265 seconds]
agrinb has joined #ruby
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
<ponga> arup_r: i'm actually more of a hobby coder
<ponga> that's why i chose ruby
Sawbones_ has joined #ruby
pdoherty has joined #ruby
<shevy> me too
agrinb has quit [Ping timeout: 265 seconds]
Sawbones_ has quit [Ping timeout: 256 seconds]
last_staff has quit [Quit: last_staff]
jenrzzz has joined #ruby
Spami has joined #ruby
<ponga> shevy: you seem to be too skilled for a hobbyiest to me
<arup_r> ponga: I'm professional... :) Earn money to survive..
sevenseacat has quit [Ping timeout: 264 seconds]
<shevy> nah
<DLSteve> I like programming. So I do it as a hobby.
pdoherty has quit [Ping timeout: 265 seconds]
<DLSteve> Making it into work kinda kills it for me.
<shevy> ponga not skilled, just writing lots and lots of ruby. my brain is kinda wired into ruby, I am thinking like ruby
<shevy> yeah
TgMts has quit [Read error: Connection reset by peer]
jrd0 is now known as jrdnull
<arup_r> shevy: Is my inspiration..
TgMts has joined #ruby
psy_ has joined #ruby
Spami has quit [Ping timeout: 264 seconds]
<shevy> well I am better in ruby than I was in php
DadoCe has joined #ruby
<arup_r> shevy: I never read PhP
<shevy> hehe
LouisRoR has joined #ruby
Spami has joined #ruby
<ponga> good
<DLSteve> $lotsofdollarsigns
<ponga> i hope i never read java too
<DLSteve> Java is not bad
Xeago has joined #ruby
<arup_r> :)
DadoCe has quit [Ping timeout: 245 seconds]
<gingitsune> Hey I'm not a ruby dev what so ever can someone tell me why Im getting this output http://termbin.com/sbfb
bronson has joined #ruby
LouisRoR has quit [Ping timeout: 255 seconds]
jheg has quit [Quit: jheg]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> arup_r you have weird strange kind of questions :-)
lessless has joined #ruby
<shevy> oh
<ponga> DLSteve:
<shevy> I see, you answered a weird question
<ponga> that's what every assailant says in the court
<DLSteve> ponga, ?
<ponga> java isn't bad
<ponga> it just did not suit you well
sevenseacat has joined #ruby
<ponga> it hurt me anyway
<ponga> :P
<DLSteve> If you have never read it how can you say it is bad?
Photism has quit [Read error: Connection reset by peer]
Photism_ has joined #ruby
<ponga> actually my first programming exprience was java
<ponga> perhaps you misread my words
<shevy> java is bad because it is so verbose
<DLSteve> Eh, Java is a lot better than some of the other web languages out there. Just stay away from all the "enterprise" frameworks.
<shevy> it masks its intent behind an outer layer of complexity
bronson has quit [Ping timeout: 245 seconds]
<DLSteve> Eh, I guess. I program mainly in Objective-C so it actually is not that verbose to me >.>
<ponga> haha
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
em0ral has quit [Remote host closed the connection]
<DLSteve> Want to make an empty mutable string in Obj-C? "NSMutableString *output = [NSMutableString stringWithCapacity:13];"
mengu has joined #ruby
mengu has joined #ruby
<ponga> omg
<ponga> omg lol
josephndenton has joined #ruby
<shevy> the [] part is ok
roshanavand has quit [Remote host closed the connection]
<ponga> but then DLSteve, there are always people who want everything to be handled manually in depth
<shevy> it's like an argument given to a method to an object here right DLSteve ?
<DLSteve> shevy, correct. Obj-c does not have built in string functions so it has to use the foundation lib that provides NSString and NSMutableString.
ghostlines has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
<DLSteve> As a string is just an array of chars you have to manually assign it a length for an empty string or you can run into out of bounds issues later.
<shevy> yeah that was ok, it seemed better than plain C
<DLSteve> You can do strings the C way if you want ;)
<DLSteve> as Obj-C is just a superset of C
josephndenton has quit [Ping timeout: 244 seconds]
kasperti_ has quit []
<DLSteve> It actually took some thing from small talk, like ruby did. So object actualy pass messages to eachother.
<DLSteve> And typing is somewhat dynamic.
rbrs has joined #ruby
devoldmx has quit [Remote host closed the connection]
roshanavand has joined #ruby
<DLSteve> So question, right now I am looking at backend languages. I tried out rails and did not like it as much (to opinionated for me.) and was wondering if anyone had experience with Sinatra?
nfk has joined #ruby
DLSteve has quit [Read error: Connection reset by peer]
SilkFox_ has joined #ruby
DLSteve has joined #ruby
<DLSteve> sorry got DCed
SilkFox_ has quit [Ping timeout: 255 seconds]
<shevy> what happened to http://www.modruby.net/en/ ?
<shevy> is mod ruby dead?
<shevy> DLSteve yeah sinatra is ok, quite simple. padrino is built on sinatra so it should be a bit closer towards rails
<DLSteve> I mainly am looking for simple. Mainly for RESTFUL apis
<DLSteve> I felt like I was fighting rail with the asset pipeline and how I wanted to do things.
<shevy> hehehe
max96at|off is now known as max96at
dpy has joined #ruby
TgMts has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
yfeldblum has joined #ruby
jenrzzz has joined #ruby
<sevenseacat> convention over configuration
<shevy> cats over mice
<sevenseacat> indeed.
haxr has quit [Ping timeout: 244 seconds]
charliesome has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
chipotle has quit [Quit: cheerio]
teddyp1cker has joined #ruby
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sinkensabe has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Ping timeout: 252 seconds]
TgMts has joined #ruby
mostlybadfly has joined #ruby
dangerousdave has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
TheKruex has quit [Ping timeout: 240 seconds]
deuterium has joined #ruby
dcarmich has joined #ruby
<deuterium> hi, is the ruby1.9.1 that ships packaged with debian stable (v7, wheezy) considered ruby 2 or ruby 1?
<sevenseacat> its not ruby 2.
jheg has joined #ruby
<deuterium> sevenseacat: so, just a late and very stable version of ruby 1?
<sevenseacat> its ruby 1.9.whatever version the actual package is
<sevenseacat> its late but possibly unsupported
iamninja has joined #ruby
<deuterium> sevenseacat: so if a dev requires ruby 2, using debian packages is no option then, i guess
<sevenseacat> you should have a ruby 2 package, but i wouldnt use packages for ruby anyway
kl has joined #ruby
<deuterium> sevenseacat: hm.. i haven't found any ruby2 package on debian stable. maybe in testing or unstable, but that again is not suitable to setup stable server environments.
<deuterium> sevenseacat: so, using rvm is advised?
TgMts has quit [Read error: Connection reset by peer]
<sevenseacat> i'm amazed that it doesnt have ruby 2
<sevenseacat> its been out for years
<deuterium> and installing the whole tool chain through rvm.. i.e. ruby 2, rails, passenger, ..
<deuterium> sevenseacat: it's debian ;)
<sevenseacat> i dislike rvm greatly, but then again i know little about setting up production servers
TgMts has joined #ruby
<deuterium> sevenseacat: do you use rbenv?
<sevenseacat> no, i use chruby + ruby-install
<deuterium> k
haxr has joined #ruby
klaas has quit [Quit: ZNC - http://znc.sourceforge.net]
sinkensabe has joined #ruby
oo_ has joined #ruby
einarj has joined #ruby
davedev24_ has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 255 seconds]
oddraisin has quit [Ping timeout: 264 seconds]
oddraisin has joined #ruby
nicolastarzia has joined #ruby
jheg has quit [Quit: jheg]
nicolastarzia has quit [Ping timeout: 244 seconds]
jefus_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
Takle has quit []
SilkFox_ has joined #ruby
DLSteve has quit [Read error: Connection reset by peer]
jefus has quit [Ping timeout: 264 seconds]
agent_white has quit [Quit: gnight]
blastermaster has joined #ruby
DLSteve has joined #ruby
tier has joined #ruby
SilkFox_ has quit [Ping timeout: 264 seconds]
beware_cougar has joined #ruby
claw___ has joined #ruby
claw__ has quit [Ping timeout: 265 seconds]
Sawbones_ has joined #ruby
leafybasil has quit [Remote host closed the connection]
ponga has quit [Ping timeout: 240 seconds]
tomaw has quit [Quit: Quitting]
ponga has joined #ruby
charliesome has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
spacemud has joined #ruby
Sawbones_ has quit [Ping timeout: 264 seconds]
tomaw has joined #ruby
Xeago has quit [Remote host closed the connection]
Photism_ has quit [Quit: Leaving]
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
MasterPiece has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
ponga has quit [Ping timeout: 256 seconds]
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
em0ral has joined #ruby
vvivv has joined #ruby
pdoherty has quit [Ping timeout: 256 seconds]
dumdedum has joined #ruby
bronson has joined #ruby
kasperti_ has joined #ruby
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
coinr00k has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
russt has joined #ruby
russt has quit [Client Quit]
mengu has quit [Ping timeout: 255 seconds]
josephndenton has joined #ruby
fantazo has quit [Quit: Verlassend]
bMalum has joined #ruby
tier has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 264 seconds]
TheKruex has joined #ruby
davasaurous has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
Joufflu has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
felipedvorak has left #ruby ["Leaving"]
haxr has quit [Ping timeout: 255 seconds]
ponga has joined #ruby
TheKruex has quit [Ping timeout: 252 seconds]
SilkFox_ has joined #ruby
beware_cougar has quit [Read error: Connection reset by peer]
Pupeno_ has joined #ruby
agrinb has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
Pupeno has quit [Ping timeout: 245 seconds]
mjuszczak has joined #ruby
JDiPierro has joined #ruby
Porpado has joined #ruby
nicolastarzia has joined #ruby
davasaurous has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 244 seconds]
klaas has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
davidhq has joined #ruby
russt has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
rkalfane has joined #ruby
strype has joined #ruby
jzigmund_ has joined #ruby
lsmola__ has joined #ruby
yfeldblum has joined #ruby
jzigmund has quit [Ping timeout: 265 seconds]
arup_r has quit [Read error: Connection reset by peer]
lsmola_ has quit [Ping timeout: 252 seconds]
arup_r has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
Joufflu has quit [Ping timeout: 244 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roshanavand has quit [Ping timeout: 240 seconds]
jbw has quit [Ping timeout: 244 seconds]
gingitsune has quit [Ping timeout: 264 seconds]
TgMts_ has joined #ruby
gingitsune has joined #ruby
einarj has joined #ruby
TgMts has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 240 seconds]
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Client Quit]
C1V0 has quit []
Porpado has quit [Quit: Porpado]
kirun has joined #ruby
josephndenton has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DadoCe has joined #ruby
gingitsune has quit [Ping timeout: 245 seconds]
gingitsune has joined #ruby
agjacome_ has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
agjacome has quit [Ping timeout: 244 seconds]
Fusl has quit [Max SendQ exceeded]
<epitron> shevy: I tried padrino for a restful api project... It wasn't very good. It was like the worst of both Sinatra and rails
jeremywrowe has joined #ruby
<epitron> Too much overhead, no convention
<epitron> I had to read the padrino code far too often
bMalum has quit [Quit: bMalum]
bigkevmcd has quit [Ping timeout: 264 seconds]
jeremywrowe has quit [Client Quit]
<epitron> What do the pros use for creating APIs now?
Pharaoh2 has joined #ruby
<epitron> There must be some state of the art thing by now
jbw has joined #ruby
nicolastarzia has quit [Remote host closed the connection]
jeremywrowe has joined #ruby
bigkevmcd has joined #ruby
leafybasil has joined #ruby
jefus__ has joined #ruby
Fusl has joined #ruby
Pharaoh2 has quit [Client Quit]
Musashi007 has joined #ruby
jbw has quit [Ping timeout: 252 seconds]
danguita has joined #ruby
nyaa has joined #ruby
jefus_ has quit [Ping timeout: 240 seconds]
agrinb has joined #ruby
sevenseacat has quit [Remote host closed the connection]
<nyaa> Is there a standard or generally considered best way to package a ruby application for distribution? I want a friend to be able to use it regardless of ruby installation.
Sawbones_ has joined #ruby
SilkFox_ has joined #ruby
<epitron> Make a gem :)
<havenwood> nyaa: Here's a pretty new option for Linux/OS X self-contained packages: http://phusion.github.io/traveling-ruby/
agrinb has quit [Ping timeout: 265 seconds]
<epitron> Haha, or give your friend ruby
jeremywrowe has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has joined #ruby
razieliyo has joined #ruby
razieliyo has joined #ruby
Sawbones_ has quit [Ping timeout: 244 seconds]
Maxino has joined #ruby
<Maxino> /msg NickServ identify korobase
<havenwood> epitron: How about Roda for an API? I like the Sequel style plugins.
<havenwood> And who doesn't want 10,000 routes?!
<nyaa> epitron: adding ruby would be tough for a few people my app is meant for =/ can gems be used without ruby being installed in some cases?
SilkFox_ has quit [Ping timeout: 245 seconds]
<waxjar> time to change your password maxino :P
mengu has quit [Remote host closed the connection]
<Maxino> yeah, right :-)
mengu has joined #ruby
<Maxino> case of typing faster than brain
<jhass> that's why most people let their clients automatically send that stuff ;)
<nyaa> havenwood: thanks for the link, would you say that between that and ocra I should be set, or is there also a new option to consider over ocra?
rkalfane has joined #ruby
<Maxino> n00b of the month :-)
<jhass> maxino: also 39.100 hits on google for that, I'd recommend combining a few words for your new password
oleo__ has quit [Quit: Verlassend]
<apeiros> maxino: I suggest hunter2
<Maxino> u scare me
Musashi007 has quit [Quit: Musashi007]
<Maxino> :-)
<Maxino> lesson learned
<havenwood> nyaa: You might also want to look at releasy: https://github.com/Spooner/releasy#readme
oleo has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
<epitron> havenwood: hmmm... what problem does this solve? It doesn't save you having to type out the while request path, since you have to do that in the comments, or you'll have no idea what is going on
<epitron> *whole request
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<epitron> Json generation is the other half of the problem
davedev24_ has joined #ruby
enebo has joined #ruby
<epitron> Having a nice automatic mapping between the URLs and the database... Maybe with some declarative rules that says what fields should be accessible
<Maxino> bye for now. go looking for a new, impenetrable password
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Maxino> like hunter3 or so
<havenwood> epitron: Sinatra-style regexp matching chokes as numbers of routes increase and Rails-style finite automata has initial overhead.
<pontiki> o/
<pontiki> happy saturday where it's saturday
mjuszczak has quit []
<havenwood> pontiki: \o/
<havenwood> Sat!
<epitron> havenwood: chokes... Performance wise?
<havenwood> epitron: Yeah
Maxino has quit [Quit: Leaving]
<epitron> Ah
<havenwood> epitron: has to go through every possible match
<waxjar> sinatra looks up its routes in a list, roda "looks it up" in a tree
<epitron> I made a thing for that actually
<epitron> It's called rash - it's part of hashie now
<havenwood> epitron: ah, nice
<epitron> I bet there's a way of compiling a stack of regexes into a single automata
<havenwood> epitron: Roda not stomping all over your namespace is really nice as well. The plugins are super easy and he keeps adding useful ones.
kasperti_ has quit []
FaresKAlaboud has quit [Read error: Connection reset by peer]
FaresKAlaboud has joined #ruby
bronson has joined #ruby
<havenwood> epitron: it is kinda tempting to use something like ArangoDB and just go straight to the db
<epitron> Actually, rash would be bad if you wanted your hashes to stay in order
<epitron> Sinatra could do this automatically though
<havenwood> i feel like in the future we'll be looked at as bizarre for the whole serializing to json thing
VBlizzard has quit [Ping timeout: 244 seconds]
blizzy has quit [Ping timeout: 244 seconds]
<epitron> Just split on slashes and make a tree
<epitron> Haha
<epitron> Yeah
<epitron> Json well not scale well to future needs
<epitron> Like AI and media
DonOtreply has joined #ruby
Xeago has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
strype has quit [Read error: Connection reset by peer]
<epitron> What's a good roda plugin that you like?
<havenwood> epitron: json, for example is handy: https://github.com/jeremyevans/roda/blob/master/lib/roda/plugins/json.rb
<havenwood> or even simpler stuff like the just-added delete_empty_headers: https://github.com/jeremyevans/roda/blob/master/lib/roda/plugins/delete_empty_headers.rb
kiyote23 has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
jefus has joined #ruby
<epitron> Why is GitHub's mobile site do bad on android
<epitron> *so
<bradland> gotta be zach's fault
pdoherty has joined #ruby
<epitron> Their font is so fine
<epitron> I can barely see it
<epitron> And I can't zoom out
jefus__ has quit [Ping timeout: 240 seconds]
tekk has quit [Ping timeout: 264 seconds]
<epitron> Ah, good, is impossible to see in desktop mode too... Consistency!
adriancb has joined #ruby
arya_ching has joined #ruby
Pharaoh2 has joined #ruby
byprdct has joined #ruby
nfk has quit [Quit: yawn]
<epitron> havenwood: the json plugin saves a couple lines... I used a before filter for that
bronson has joined #ruby
govg has quit [Ping timeout: 264 seconds]
<epitron> What I really wanted was a declarative way of specifying which fields to expose
<havenwood> mm
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<epitron> That would be great because you could auto generate the docs as well
pdoherty has quit [Ping timeout: 244 seconds]
<epitron> I was thinking of putting it in the ar objects
<epitron> They already have a lot of stuff though
FaresKAl- has joined #ruby
FaresKAlaboud has quit [Read error: Connection reset by peer]
<epitron> And the declarative stuff needs different permission levels
unreal_ has joined #ruby
<epitron> I guess the to-json method could take a role as an argument
studiotate has joined #ruby
adriancb has quit [Remote host closed the connection]
unreal has quit [Ping timeout: 264 seconds]
rkalfane has joined #ruby
unreal_ is now known as unreal
haxr has joined #ruby
studiotate has quit [Client Quit]
FaresKAlaboud has joined #ruby
haxr has quit [Max SendQ exceeded]
rkalfane has quit [Client Quit]
FaresKAl- has quit [Read error: Connection reset by peer]
<epitron> Anyhow! I think we really need to figure out an alternative to this rest nonsense :)
haxr has joined #ruby
rebcabin has quit [Quit: Leaving.]
<epitron> This is not going to scale in the long term
em0ral has quit [Remote host closed the connection]
<epitron> I guess it's a good job creation thing though
haxr has quit [Max SendQ exceeded]
haxr has joined #ruby
lessless has joined #ruby
<epitron> The roda plugin api is nice
SilkFox_ has joined #ruby
ValicekB has quit [Read error: Connection reset by peer]
nfk has joined #ruby
govg has joined #ruby
Aova has quit [Remote host closed the connection]
jzigmund_ has quit [Ping timeout: 255 seconds]
lsmola__ has quit [Ping timeout: 264 seconds]
jzigmund has joined #ruby
charliesome has quit [Quit: zzz]
SilkFox_ has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
sameerynho has quit [Quit: Leaving]
jenrzzz has joined #ruby
charliesome has quit [Client Quit]
ValicekB_ has joined #ruby
fryguy9 has joined #ruby
unreal_ has joined #ruby
ValicekB_ is now known as ValicekB
jenrzzz has quit [Ping timeout: 240 seconds]
JDiPierro has quit [Remote host closed the connection]
unreal has quit [Ping timeout: 265 seconds]
fryguy9 has quit [Client Quit]
agrinb has joined #ruby
davedev2_ has joined #ruby
lsmola__ has joined #ruby
Abhijit has joined #ruby
davedev2_ has quit [Client Quit]
Tricon has joined #ruby
jzigmund_ has joined #ruby
lsmola_ has joined #ruby
ndrei has quit [Quit: Lost terminal]
davedev24_ has quit [Ping timeout: 265 seconds]
nyaa has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 265 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jzigmund has quit [Ping timeout: 244 seconds]
lessless has joined #ruby
ndrei has joined #ruby
BigRonnieRon has joined #ruby
lsmola__ has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
agrinb has joined #ruby
jzigmund_ has quit [Ping timeout: 245 seconds]
vdamewood has joined #ruby
jzigmund has joined #ruby
davidhq has joined #ruby
arya_ching_ has joined #ruby
lsmola_ has quit [Ping timeout: 264 seconds]
blizzy has joined #ruby
VBlizzard has joined #ruby
davidhq has quit [Client Quit]
Pupeno_ has quit [Remote host closed the connection]
Pupeno has joined #ruby
yfeldblum has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
LouisRoR has joined #ruby
arya_ching has quit [Ping timeout: 264 seconds]
razieliyo has quit [Quit: Saliendo]
yfeldblum has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
Sawbones_ has joined #ruby
sankaber has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
nicolastarzia has joined #ruby
rebcabin has joined #ruby
Pharaoh2 has joined #ruby
lsmola_ has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
sankaber has quit [Read error: Connection reset by peer]
Pharaoh2 has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby
Tricon has quit [Ping timeout: 244 seconds]
roshanavand has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
fantazo has joined #ruby
sankaber has joined #ruby
DonOtreply has joined #ruby
josephndenton has joined #ruby
p8952 has quit [Quit: ZNC - http://znc.in]
Pharaoh2 has joined #ruby
TgMts_ has quit [Read error: Connection reset by peer]
sankaber has quit [Read error: Connection reset by peer]
rebcabin has quit [Quit: Leaving.]
sankaber has joined #ruby
TgMts has joined #ruby
crueber has joined #ruby
josephndenton has quit [Ping timeout: 265 seconds]
it0a has joined #ruby
gsd has joined #ruby
lifenoodles has joined #ruby
ndrei has quit [Remote host closed the connection]
sankaber has quit [Read error: Connection reset by peer]
tier has joined #ruby
sankaber has joined #ruby
luizbafilho has joined #ruby
ndrei has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
nux443 has joined #ruby
jbw has joined #ruby
sankaber has joined #ruby
p8952 has joined #ruby
blastermaster has left #ruby [#ruby]
adriancb has joined #ruby
maletor has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
jenrzzz has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
DadoCe has quit [Remote host closed the connection]
scripore has joined #ruby
mrmargolis has joined #ruby
cpt_yossarian has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
sankaber has joined #ruby
dumdedum has quit [Quit: foo]
maletor has quit [Quit: Computer has gone to sleep.]
Guest73108 is now known as tekacs
sankaber has quit [Read error: Connection reset by peer]
tekacs is now known as Guest23247
sankaber has joined #ruby
claymore has joined #ruby
Channel6 has joined #ruby
defrang has quit [Quit: defrang]
JDiPierro has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby
Guest23247 is now known as tekacs
dangerousdave has joined #ruby
tier has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
dc_ has joined #ruby
davedev24_ has joined #ruby
Rollabunna has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
rkalfane has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
sankaber has joined #ruby
JDiPierro has quit [Remote host closed the connection]
arya_ching_ has quit [Read error: Connection reset by peer]
arya_ching has joined #ruby
elaptics`away is now known as elaptics
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpt_yossarian has quit [Ping timeout: 264 seconds]
sankaber has quit [Read error: Connection reset by peer]
nickjj has quit [Quit: Leaving]
sankaber has joined #ruby
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
nickjj has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
DadoCe has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
luizbafilho has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
sankaber has joined #ruby
D9 has joined #ruby
Spooner has joined #ruby
sankaber has quit [Client Quit]
iamninja has joined #ruby
Spooner has quit [Read error: Connection reset by peer]
crueber has quit [Quit: Leaving.]
Sawbones_ has joined #ruby
Spooner has joined #ruby
BigRonnieRon has left #ruby ["Textual IRC Client: www.textualapp.com"]
pdoherty has joined #ruby
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
metadave has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
leafybasil has quit [Remote host closed the connection]
DonOtreply has quit [Quit: DonOtreply]
JDiPierro has joined #ruby
Techguy305 has joined #ruby
sovreign has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Photism has joined #ruby
Abhijit has quit [Quit: Leaving]
bronson has quit [Remote host closed the connection]
jbw has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
jbw has joined #ruby
ghostlines has joined #ruby
ghostlines has quit [Max SendQ exceeded]
ghostlines has joined #ruby
coinr00k has quit [Quit: Leaving]
coinr00k has joined #ruby
D9 has quit [Read error: Connection reset by peer]
ghostlines has quit [Max SendQ exceeded]
ghostlines has joined #ruby
sinkensabe has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
diegoviola has joined #ruby
tus has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
Pharaoh2 has joined #ruby
lkba_ has joined #ruby
yfeldblum has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
mostlybadfly has joined #ruby
ammar_ has quit [Quit: leaving]
Sawbones_ has quit [Remote host closed the connection]
max96at is now known as max96at|off
nrcpts has joined #ruby
luizbafilho has joined #ruby
Sawbones_ has joined #ruby
dc_ has quit [Remote host closed the connection]
einarj has joined #ruby
naftilos76 has joined #ruby
dc_ has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
klmlfl has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
crueber has joined #ruby
lifenoodles has quit [Ping timeout: 245 seconds]
lifenoodles has joined #ruby
ponga has quit [Quit: Leaving...]
lifenoodles has quit [Ping timeout: 256 seconds]
russt has quit [Quit: russt]
oleo__ has joined #ruby
lifenoodles has joined #ruby
oleo__ has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
oleo has quit [Ping timeout: 252 seconds]
fedexo has joined #ruby
claw has joined #ruby
TheRinger has joined #ruby
oleo has joined #ruby
claw___ has quit [Ping timeout: 256 seconds]
bigmac has quit [Read error: Connection reset by peer]
leonmaia has joined #ruby
Joufflu has joined #ruby
meschi has quit [Remote host closed the connection]
alekst_ has joined #ruby
livathinos has joined #ruby
jenrzzz has joined #ruby
conniemj has quit [Read error: Connection reset by peer]
conniemj_ has joined #ruby
mleung has joined #ruby
Xeago has quit [Remote host closed the connection]
bigmac has joined #ruby
bigmac is now known as i8igmac
lifenoodles has quit [Ping timeout: 265 seconds]
defrang has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
crueber has quit [Quit: Leaving.]
conniemj_ has quit [Ping timeout: 255 seconds]
lifenoodles has joined #ruby
it0a has quit [Ping timeout: 240 seconds]
nrcpts has quit [Quit: (null)]
bronson has joined #ruby
wallerdev has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
dpy has quit [Ping timeout: 244 seconds]
bluOxigen has joined #ruby
kasperti_ has joined #ruby
apeiros has quit [Ping timeout: 265 seconds]
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Akuma has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x77686d has joined #ruby
psy__ has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
psy__ has quit [Client Quit]
psy_ has quit [Quit: Leaving]
luizbafilho has joined #ruby
bronson has joined #ruby
oetjenj has joined #ruby
ddd has quit [Quit: leaving]
sinkensabe has quit [Remote host closed the connection]
psy_ has joined #ruby
bMalum has joined #ruby
i8igmac has quit [Ping timeout: 256 seconds]
Hijiri has joined #ruby
dpy has joined #ruby
bigmac has joined #ruby
unreal_ is now known as unreal
lessless has joined #ruby
klmlfl has quit [Remote host closed the connection]
xxneolithicxx has joined #ruby
bigmac has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby
gingitsune has quit [Ping timeout: 264 seconds]
<xxneolithicxx> hi all, do you know if theres any existing gems that provide a structure to allow us to maintain a large array of integers as an array of consecutive integer ranges instead to save on memory (not looking to convert an existing array to an array of consecutive integer ranges but rather use a structure that does this dynamically as you add integers to it).
tekk has joined #ruby
pc_magas has joined #ruby
davidhq has joined #ruby
<Cat_1> So you want to say like...
<pc_magas> !pastebin
<Cat_1> 1..25?
lemur has joined #ruby
<pc_magas> Fellows what pastebin do you use here?
<Cat_1> If you want to supply a large amount of consecutive integer ranges you can just use the .. notation and store the first and last integer and let rails do the rest
<Cat_1> we use gist
<Cat_1> gist.github.com
<Cat_1> hang on xxneolithicxx
<Cat_1> let me write up a gist for you
<xxneolithicxx> im going to be adding a large amount of integers to an array (right now its going up to like 4gb of ram) one integer at a time, I want it to add it to an internal array of integer ranges instead as it adds them so its not actually storing all the integers, just the start/end of ranges
<Cat_1> Range will do that for you.
davidhq has quit [Client Quit]
<Cat_1> Unless they aren't consecutive
D9 has joined #ruby
<Cat_1> and then you aren't storing ranges.
<Cat_1> you're storing arrays of data.
<Cat_1> SO what you're saying is
<Cat_1> you want to split the array into a set chunk
<Cat_1> process that chnk
<Cat_1> save it
<sweeper> Cat_1: I think what he wants is like a sparse array of ranges?
<sweeper> so like start with [1..4, 6..9]
<sweeper> then he adds 5
<sweeper> and it becomes [1..9]
<xxneolithicxx> sweeper: exactly
<Cat_1> I see
<xxneolithicxx> i know i need to Range but was just wondering if there are any gems out there for this already
bigmac has joined #ruby
Zesty has joined #ruby
<sweeper> how are you actually getting to 4gb of integers tho?
<Cat_1> I don't think so
<sweeper> like, I don't think there are that many
nathanielchannin has joined #ruby
<sweeper> xxneolithicxx: might try just hitting uniq! up before getting this complex
Zesty has quit [Client Quit]
<xxneolithicxx> I am already
<sweeper> ok, then yea you'll need to write a little utility class for it
mrmargolis has quit [Remote host closed the connection]
<pc_magas> Fellows I have a problem with spec
<sweeper> I'd use a binary search if the array is really 4gb worth of ints
<pc_magas> First of all here are the pastes: https://gist.github.com/anonymous/26a3552479ace3e4233f
<pc_magas> So I made a controller that siply renders some html without model.
doodlehaus has joined #ruby
<pc_magas> And I made pages_controller_spec.rb to test it
bigmac is now known as i8igmac
<pc_magas> But I got some Errors (see Version 1 Execution file for errors)
<pc_magas> So I tried to modify it in order to make some progress and fix the errors
nicolastarzia has quit [Remote host closed the connection]
<pc_magas> So I made pages_controller_spec.rb(v2) to fix it.
<pc_magas> But as you can see there are still some errors (cannot recognise get) as you can see in Version 2 execution
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ziyadb has quit [Quit: Connection closed for inactivity]
<pc_magas> So I am sincerelly asking for your help in order to figure out on how to fix these problems
doodlehaus has quit [Remote host closed the connection]
klmlfl has joined #ruby
<pc_magas> I am using ruby on rails version 4.1.7
Crisix has joined #ruby
<pc_magas> And rspec version 3.1.7
n1lo has joined #ruby
Soda has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
codecop has joined #ruby
anitchrist has joined #ruby
blueOxigen has joined #ruby
D9 has quit [Ping timeout: 264 seconds]
pdoherty has joined #ruby
<anitchrist> if I have a script that requires another script (like httparty) whats the best and easiest way to turn it into an app? I tried platypus... but its not doing what I need it to
Timgauthier has joined #ruby
<anitchrist> for some reason it fails at get.chomp() as well as I can't enter anything into the text window
ixti has joined #ruby
<anitchrist> should I just start learning another language to make it? if so, which?
bluOxigen has quit [Ping timeout: 264 seconds]
TgMts has quit [Read error: Connection reset by peer]
_ixti_ has quit [Ping timeout: 264 seconds]
lifenoodles has quit [Ping timeout: 264 seconds]
mleung has quit [Quit: mleung]
TgMts has joined #ruby
pdoherty has quit [Ping timeout: 256 seconds]
Timgauthier has quit [Ping timeout: 256 seconds]
lifenoodles has joined #ruby
nateberkopec has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
kl has quit [Ping timeout: 252 seconds]
einarj has joined #ruby
scripore has joined #ruby
bonhoeffer has joined #ruby
TheRinger_ has joined #ruby
kl has joined #ruby
mrmargolis has joined #ruby
conniemj_ has joined #ruby
mquin has quit [Ping timeout: 610 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Heskie has joined #ruby
arup_r has quit [Quit: Leaving.]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
<anitchrist> lemme know, I'm up for learning other languages as well
<anitchrist> aft, gotta walk the dog
* anitchrist puts a leash on cerberus
n1lo has quit [Quit: Leaving]
ddd has joined #ruby
<speakingcode> anitchrist: what do you 'turn it into an app' ?
<speakingcode> like make it an executable package?
Alina-malina has quit [Read error: Connection reset by peer]
n1lo has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
n1lo has quit [Client Quit]
<speakingcode> if that's what you mean, when you gem up a package you can specify executables that will get placed into a directory on $PATH so that if one instals the gem, the executables/binaries will be recognized commands in their shell
n1lo has joined #ruby
aoeu has joined #ruby
<aoeu> Hello
Tricon has joined #ruby
<aoeu> Do you know if there exists such a thing as a web ORM?
<speakingcode> and re: depending on another script/package, you just set your dependencies in the gemfile and bundle will fetch them automatically if they aren't already available on the system
elfuego has left #ruby [#ruby]
JDiPierro has joined #ruby
<speakingcode> aoeu: like an absrtraction of a REST interface?
<aoeu> speakingcode: Yes.
eka has joined #ruby
<speakingcode> there is, one sec
<speakingcode> aoeu: https://github.com/remiprev/her is one
<aoeu> speakingcode: Thank you.
<aoeu> speakingcode: Have you used it?
<speakingcode> i've not. there's another one i've used but i can't recall its name
<speakingcode> her looks decent tho
<aoeu> speakingcode: so you map the API to your objects, and then it works?
<aoeu> Any downsides?
arya_ching has quit [Ping timeout: 244 seconds]
<speakingcode> none that i'm aware of. could be issues with felxibility re: things at the network layer but i dunno, loks like a nice library so probably pretty decent
meschi has joined #ruby
DadoCe has quit [Remote host closed the connection]
<speakingcode> i use REST abstractions of this sort in angular and backbone all the time w/o issue
tier has joined #ruby
LouisRoR has quit []
DadoCe has joined #ruby
xxneolithicxx has left #ruby [#ruby]
Tricon has quit [Ping timeout: 245 seconds]
ixti has quit [Ping timeout: 244 seconds]
alkoma has joined #ruby
LouisRoR has joined #ruby
wallerdev has quit [Quit: wallerdev]
tier has quit [Ping timeout: 244 seconds]
DadoCe has quit [Ping timeout: 244 seconds]
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LouisRoR has quit [Client Quit]
meschi has quit [Remote host closed the connection]
<anitchrist> speakingcode, yeah I want to make it an app for OS X, but I'd also like to make it an app for winblows, android and iOS as well
gccostabr has joined #ruby
kl has quit [Ping timeout: 264 seconds]
meschi has joined #ruby
gsd has quit [Read error: Connection reset by peer]
gsd has joined #ruby
<anitchrist> speakingcode: I don't even know how to make gems yet... :sigh:
Sawbones has joined #ruby
mquin has joined #ruby
TripTastic has left #ruby ["Leaving"]
emmesswhy has joined #ruby
josephndenton has quit [Ping timeout: 265 seconds]
Hobogrammer has joined #ruby
ixti has joined #ruby
luizbafilho has joined #ruby
Alina-malina has joined #ruby
<anitchrist> I'm gunna cross post into ##programming, just let you all know. I don't want to be reprimanded (kicked) again for it... ::cringes::
JohnBat26 has joined #ruby
LouisRoR has joined #ruby
jenrzzz has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
rpag has quit [Quit: Leaving]
rpag has joined #ruby
aoeu has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
coinr00k has quit [Remote host closed the connection]
russt has joined #ruby
nathanielchannin has quit [Ping timeout: 265 seconds]
davidhq has joined #ruby
DadoCe has joined #ruby
mata has joined #ruby
sorbo_ has joined #ruby
sorbo_ has quit [Client Quit]
doodlehaus has joined #ruby
mata has quit [Client Quit]
livathinos has quit [Remote host closed the connection]
TgMts has quit [Read error: Connection reset by peer]
jack_rabbit has joined #ruby
jcomito has quit [Ping timeout: 264 seconds]
mata has joined #ruby
mata has quit [Remote host closed the connection]
TgMts has joined #ruby
DadoCe has quit [Ping timeout: 265 seconds]
Spami has quit [Quit: This computer has gone to sleep]
volsus has joined #ruby
Hijiri has quit [Ping timeout: 264 seconds]
gccostabr has quit [Quit: ZZZzzz…]
naftilos76 has quit [Remote host closed the connection]
fenzil has joined #ruby
dain_ has joined #ruby
ferr has joined #ruby
arescorpio has joined #ruby
pandaant has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 244 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
LouisRoR1 has joined #ruby
fenzil has quit [Ping timeout: 240 seconds]
jarjar_prime has joined #ruby
LouisRoR has quit [Ping timeout: 264 seconds]
cpt_yossarian has quit [Ping timeout: 264 seconds]
LouisRoR1 has quit [Ping timeout: 255 seconds]
teddyp1cker has joined #ruby
lessless has joined #ruby
mleung has joined #ruby
livathinos has joined #ruby
fenzil has joined #ruby
JBreit has joined #ruby
doodlehaus has quit [Remote host closed the connection]
mleung has quit [Client Quit]
hephaestus_rg has joined #ruby
ixti has joined #ruby
mleung has joined #ruby
livathinos has quit [Ping timeout: 245 seconds]
rbrs has quit [Quit: rbrs]
mleung has quit [Client Quit]
JDiPierro has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
JDiPierro has joined #ruby
JBreit has left #ruby ["Leaving"]
bonhoeffer has quit [Ping timeout: 264 seconds]
kiyote23 has joined #ruby
bonhoeffer has joined #ruby
wallerdev has joined #ruby
lemur has quit [Remote host closed the connection]
kl has joined #ruby
zorak8 has joined #ruby
lemur has joined #ruby
JDiPierro has quit [Ping timeout: 252 seconds]
kiyote23 has quit [Ping timeout: 244 seconds]
nicolastarzia has joined #ruby
jespada has joined #ruby
socash has joined #ruby
echevemaster has joined #ruby
kl has quit [Ping timeout: 256 seconds]
kiyote23 has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
mleung has joined #ruby
leafybasil has joined #ruby
haxr has quit [Ping timeout: 244 seconds]
nicolastarzia has quit [Ping timeout: 265 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
linduxed has quit [Ping timeout: 244 seconds]
mleung has quit [Client Quit]
fedexo_ has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
linduxed has joined #ruby
freerobby has joined #ruby
kl has joined #ruby
sambao21 has joined #ruby
pc_magas has quit [Quit: sudo shutdown -h now]
Cache_Money has joined #ruby
hornairs has joined #ruby
lupine is now known as lumpen
superrorc has quit [Quit: ZNC - http://znc.in]
Spooner has quit [Ping timeout: 245 seconds]
ferr has quit [Remote host closed the connection]
Hijiri has joined #ruby
einarj has joined #ruby
elaptics is now known as elaptics`away
sambao21 has quit [Ping timeout: 244 seconds]
sambao21 has joined #ruby
pdoherty has joined #ruby
hmsimha has joined #ruby
elaptics`away is now known as elaptics
ferr has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
nicolastarzia has joined #ruby
Sawbones has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 244 seconds]
josephndenton has joined #ruby
TgMts has joined #ruby
yfeldblum has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
lessless has joined #ruby
kasperti_ has quit []
fantazo has quit [Quit: Verlassend]
<shevy> anitchrist making a gem is easy
kenneth has joined #ruby
<shevy> first - you must have the right layout
<shevy> when you have this
<shevy> you write a single file
<zorak8> p is an alias of print or put?
<shevy> .gemspec
<shevy> last step: gem make *gemspec + gem push
<bradland> zorak8: it's neither.
<anitchrist> puts
<bradland> p is like inspect
<bradland> or so i thought
<shevy> yeah
<bradland> yeah, it's like inspect
<bradland> >> p "Hello"
<eval-in> bradland => "Hello" ... (https://eval.in/241031)
<crome> p is a method in Kernel
<shevy> >> class Foo; def inspect; 'bradland is a kobold'; end; end; foo = Foo.new; p foo
<eval-in> shevy => bradland is a kobold ... (https://eval.in/241032)
<bradland> >> puts "Hello"
<eval-in> bradland => Hello ... (https://eval.in/241033)
<zorak8> its somethig different to put, print?
<shevy> yes zorak8
<anitchrist> shevy: so make a file like fiename.gemspec?
<zorak8> go to check the api
<shevy> anitchrist yes
atmosx has joined #ruby
<zorak8> thanks!
<shevy> anitchrist the first time is annoying but once you did it once, you understand what you have to do
josephndenton has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
<shevy> anitchrist but first thing! have the right dir structure, that makes it simpler
<anitchrist> so I just rename the script to .gemspec
Alina-malina has quit [Read error: Connection reset by peer]
<shevy> for the file ending, yes. it is ruby code essentially
<shevy> so ruby code like Dir['*'] also works
<anitchrist> dir structure should be what?
<bradland> bundler has some nice tools for building gems, including a gem skeleton
<shevy> basically you just describe your gem there... where the docu is... license... dependencies... description...
<bradland> also worth noting that the guides at rubygems.org just got a refresh recently, and IMO, they're really nice
<shevy> anitchrist well, inside of your gem, you should always have a directory called lib/ - for tests, use test/, for executables use bin/
DadoCe has joined #ruby
<shevy> and name_of_gem_file.rb at the base, in lib/name_of_gem_file.rb
<shevy> because that is the file that gets called via: require 'name_of_gem_file'
centrx has joined #ruby
<anitchrist> what about all the other requires in the script itself, it'll be able to figure that out on its own?
<bradland> other requires?
<bradland> a gem is just a package of ruby code, so all the standard rules apply
<shevy> anitchrist yes, you can put them into that file, or call other files.
pengin has joined #ruby
<bradland> if you need another lib, you require it like you normally would
<bradland> your gemspec allows you to add dependencies on other librarys
<shevy> anitchrist I usually like to call other files from there, like put things into a separate require/ subdirectory; other people like to dump all code into that name_of_gem_file.rb though
davidhq has joined #ruby
<shevy> anitchrist for external dependencies you need to write the dependencies down
<shevy> s.add_dependency 'kramdown'
lampd1 has joined #ruby
<shevy> s.add_dependency 'coderay'
<shevy> but that is the simple part
<shevy> the hardest part is the description and the name of the gem :-)
DadoCe has quit [Ping timeout: 244 seconds]
<anitchrist> lol
<anitchrist> shevy as always sir you're a wealth of knowledge
<bradland> anitchrist: have a look at this gem; it's really, really simple: https://github.com/bradland/benchtool
<shevy> well I did not know how gem works until perhaps 3 years ago or so
<bradland> i built that using the bundler skeleton
<centrx> Anyone who knows R and C want to revitalize the RSRuby gem!!!?
nicolastarzia has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
Musashi007 has joined #ruby
<shevy> centrx knows how to advertize
elaptics is now known as elaptics`away
Tricon has joined #ruby
sovreign has quit [Ping timeout: 240 seconds]
leonmaia has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicolastarzia has joined #ruby
<wasamasa> lol
lumpen is now known as lupine
<centrx> RSRuby puts segfaults in my Ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
Tricon has quit [Ping timeout: 264 seconds]
blizzy has quit [Ping timeout: 255 seconds]
VBlizzard has quit [Ping timeout: 255 seconds]
emmesswhy has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
blizzy has joined #ruby
<shevy> better in Ruby than in your pants
ValicekB has quit [Ping timeout: 264 seconds]
blizzy is now known as blizzy
Loaft has quit [Ping timeout: 264 seconds]
<wasamasa> lol
Loaft has joined #ruby
sinkensabe has joined #ruby
<centrx> ^dump joke
pengin has quit [Ping timeout: 256 seconds]
conniemj_ has quit [Quit: (null)]
bashusr has joined #ruby
blizzy has quit [Ping timeout: 255 seconds]
devoldmx_ has joined #ruby
Spami has joined #ruby
Vile` has quit [Ping timeout: 265 seconds]
sambao21 has quit [Ping timeout: 252 seconds]
sinkensabe has quit [Ping timeout: 240 seconds]
nicolastarzia has quit [Remote host closed the connection]
TheKruex has joined #ruby
crazydiamond has quit [Remote host closed the connection]
devoldmx_ has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
sovreign has joined #ruby
pkrzywicki has joined #ruby
<ferr> Any suggestions how I could improve these integration tests? http://pastie.org/private/zejhvaunq0zgdourey4cww#
blueOxigen has quit [Ping timeout: 245 seconds]
freerobby has quit [Quit: Leaving.]
Kryptonical has joined #ruby
bronson has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Kryptonical has quit [Read error: Connection reset by peer]
zorak8 has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
Vile` has joined #ruby
Musashi007 has quit [Quit: Musashi007]
decoponio has quit [Read error: Connection reset by peer]
kiyote23 has quit [Remote host closed the connection]
decoponio has joined #ruby
klmlfl has quit [Remote host closed the connection]
apurcell has joined #ruby
longfeet has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
zorak8 has joined #ruby
hephaestus_rg has quit [Ping timeout: 264 seconds]
blizzy has joined #ruby
Techguy305 has quit [Ping timeout: 264 seconds]
Photism has quit [Quit: Leaving]
claw has quit [Quit: Konversation terminated!]
claw has joined #ruby
kenneth has quit [Quit: Bye.]
Vile` has quit [Ping timeout: 256 seconds]
apurcell has quit [Ping timeout: 264 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vile` has joined #ruby
Musashi007 has joined #ruby
kenneth has joined #ruby
it0a has joined #ruby
vvivv has quit [Quit: Leaving]
mengu has quit []
bradland has quit [Quit: bradland]
bradland has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
gregf has quit [Quit: WeeChat 1.0.1]
freerobby has quit [Quit: Leaving.]
kenneth has quit [Client Quit]
sambao21 has joined #ruby
pussygladiator has joined #ruby
<pussygladiator> yo i am having trouble running radiant locally on my windows
<pussygladiator> im new to ruby, but not programming. I followed the tutorial but its not working
<pussygladiator> Anyone use radiant that could help me out?
einarj has joined #ruby
sovreign has quit [Ping timeout: 264 seconds]
Rollabunna has quit [Remote host closed the connection]
<pussygladiator> just realized they have an IRC
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 252 seconds]
DadoCe has joined #ruby
max96at|off is now known as max96at
<wasamasa> pussygladiator: you have a funny nickname
rpag has quit [Quit: Leaving]
crantron has joined #ruby
DadoCe has quit [Remote host closed the connection]
TgMts has quit [Read error: Connection reset by peer]
<pussygladiator> ty ;)
josephndenton has joined #ruby
Peter__ has joined #ruby
PNDPO has joined #ruby
TgMts has joined #ruby
einarj has quit [Ping timeout: 244 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
zorak8 has quit [Remote host closed the connection]
dangerousdave has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<pussygladiator> why when i do gem install rails does it say
<pussygladiator> the json native gem requires installed build tools
<pussygladiator> oh lol
meschi has quit [Remote host closed the connection]
leonmaia has joined #ruby
leonmaia has quit [Remote host closed the connection]
* jhass blames windows
<bradland> “native” gems contain C code
<bradland> which must be compiled
<longfeet> you need the DevKit for that (on windows)
sinkensabe has joined #ruby
i8igmac has quit [Remote host closed the connection]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007 has quit [Quit: Musashi007]
<pussygladiator> yeah
<pussygladiator> i use linux normally
<pussygladiator> will this be easier on linux?
<shevy> yea
<centrx> Windows and Ruby don't mix well
<centrx> I blame Windows
<pussygladiator> apparently rofl
jarjar_prime has quit [Quit: Sleep time.]
bonhoeffer has joined #ruby
kiyote23 has joined #ruby
<pussygladiator> ok will do ty
pussygladiator has quit [Remote host closed the connection]
<bradland> grab a copy of VirtualBox
<jhass> I think he's rebooting already
<diegoviola> or don't use windows
<centrx> patience!
<centrx> pussygladiator will be back
mrmargolis has quit [Remote host closed the connection]
<shevy> hence the name
Musashi007 has joined #ruby
TheKruex has quit []
sovreign has joined #ruby
freerobby has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DadoCe has joined #ruby
<atmosx> hello
DadoCe has quit [Remote host closed the connection]
DadoCe has joined #ruby
duncannz has joined #ruby
sinkensabe has quit [Remote host closed the connection]
pwh has quit [Ping timeout: 245 seconds]
Xiti has quit [Quit: Xiti]
PNDPO has quit [Quit: Leaving...]
Peter__ has quit []
dangerousdave has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
crueber has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
crueber has quit [Client Quit]
josephndenton has quit [Ping timeout: 265 seconds]
pwh has joined #ruby
Parker0 has joined #ruby
Xiti has joined #ruby
kasperti_ has joined #ruby
keen__________29 has joined #ruby
keen__________28 has quit [Ping timeout: 256 seconds]
jefus_ has joined #ruby
Crisix has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Alina-malina has joined #ruby
jefus has quit [Ping timeout: 264 seconds]
bMalum has quit [Quit: bMalum]
St1gma has quit [Ping timeout: 250 seconds]
<frogsy> Has anyone had experience using Jekyll?
gregf has joined #ruby
<bradland> only one way to find out.
<bradland> ask away.
dpy has quit [Read error: No route to host]
<volsus> Ithinktheyjustdid
<blizzy> is there a way to put #{} inside another one?
^wald0 has joined #ruby
<blizzy> like for example: "#{foo#{bar}}"
<shevy> what is the sense
<shevy> ah
<bradland> frogsy: jekyll is very popular, so there’s a good chance that someone here can help you. go ahead and ask your question.
<shevy> "#{foo}#{bar}"
<bradland> i think he wants a variable-variable
ferr has quit [Remote host closed the connection]
larissa has joined #ruby
<blizzy> like, I'm trying to call a class function
<shevy> >> def foo; 5; end; def bar; 7; end; puts "#{foo#{bar}}"
<eval-in> shevy => /tmp/execpad-4fee436c67f6/source-4fee436c67f6:3: syntax error, unexpected keyword_rescue, expecting tSTRING_DEND ... (https://eval.in/241040)
lolwhat2 has joined #ruby
<blizzy> so I'm using dot notation
bronson has joined #ruby
<bradland> mkay
<bradland> are you trying to call a method using a string as the name?
<shevy> ok this notation is not possible but you can build up the string you want before sending it into #{} anyway
<blizzy> bradland, yes.
<bradland> ok, you don’t need to do it that way
<bradland> you can use Object#public_send()
mbug has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
<shevy> why not .send
<bradland> either or
<blizzy> could you give an example of the format of it?
<bradland> using public_send ensures you’re not calling private methods
<blizzy> if the class name is Foo?
<blizzy> and the function is Bar?
<shevy> it's a method
Cache_Money has quit [Quit: Cache_Money]
<bradland> Foo.public_send :bar, baz, qux
<bradland> Blizzy: in ruby, functions are referred to as methods
<bradland> and in general, methods should begin with a lowercase letter
<blizzy> thank you, bradland.
<bradland> sure thing
<bradland> in my example, baz and qux are arguments to the bar method
nateberkopec has quit [Quit: Leaving...]
<frogsy> I was just going to ask about a good guide/tutorial series on Jekyll, not anything technical or specific. I'm already familiar with Sinatra and Rails, just not sure how Jekyll operates. Do you basically just put logic within normal ERB templates and then run a command to render static files from that, or is there more to it?
bronson has quit [Ping timeout: 265 seconds]
<bradland> frogsy: the jekyll docs are, IMO, exceptional.
<bradland> they look good, and they actually make sense.
<bradland> but yes, jekyll converts templates to static files
<bradland> but just like any tool, it has some expectations
<bradland> like where you’ll keep your files and such
<bradland> it also has some tools for building blog sites
<bradland> jekyll was (IIRC) built for blogs
einarj has joined #ruby
St1gma has joined #ruby
<frogsy> bradland: interesting, I'll have a read of that. Cheers.
<bradland> you bet
mary5030 has joined #ruby
mbug has quit [Ping timeout: 244 seconds]
claymore has quit [Quit: Leaving]
it0a has quit [Ping timeout: 244 seconds]
luizbafilho has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mbug has joined #ruby
mary5030 has quit [Remote host closed the connection]
<blizzy> so, what would be the best way of doing this
mary5030 has joined #ruby
<blizzy> I have a class named Commands, and the methods of it, some need arguments, some don't. I'm trying to call a method when someone uses the method name in chat
<blizzy> like, for example, !foo
VBlizzard has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> Blizzy
<shevy> have you used .send
Sawbones has joined #ruby
<shevy> can you show an example of this here with the IRC bot? you can invoke it through >>
<shevy> >> puts 'hi blizzy'
<eval-in> shevy => hi blizzy ... (https://eval.in/241041)
bonhoeffer has quit [Quit: bonhoeffer]
bashusr has quit [Read error: Connection reset by peer]
<bradland> Blizzy: it depends a lot on your IRC bot.
jenrzzz has joined #ruby
dangerousdave has joined #ruby
yfeldblum has joined #ruby
<bradland> most bots provide methods to look for something specific in the IRC chat, then dispatch that to your API
<shevy> >> class Commands; def test(i); puts i; end; end; commands = Commands.new; name_of_method = :test; commands.send name_of_method, 'yo'
<eval-in> shevy => yo ... (https://eval.in/241042)
<bradland> Blizzy: what IRC bot are you using?
<blizzy> well, it's not an irc bot, it' for something named Pokemon Showdown.
<blizzy> the problem is, is that some methods have arguments, some don't.
<bradland> and how are you receiving chat messages?
StevenNunez has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
<bradland> in general, you have to be *extremely* careful about proxying any chat messages directly to your API
beneggett has joined #ruby
<bradland> i would build a chat command parser
<bradland> it would look for a specific pattern in chat, and it would parse the line, splitting out the method name and the arguments
<bradland> but i wouldn’t pass that directly to my API, i would use an intermediate lookup, so that I could control what gets passed, and what gets a “command not found” error
yfeldblum has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
<bradland> so if you defined the commands !foo and !bar, but didn’t define !baz, anyone who put !baz would get a command not found error
bashusr has joined #ruby
DadoCe has joined #ruby
<shevy> Blizzy have you looked at the example above with .send
bigmac has joined #ruby
<shevy> put it into a separate method if you want to, you can call it freely through that and assemble the arguments before you send them to a specific method
atmosx has quit [Quit: Let him that would move the world first move himself. - Socrates]
<blizzy> yeah.
<blizzy> thanks for the help everyone.
sambao21 has quit [Ping timeout: 264 seconds]
DeanH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cpt_yossarian has joined #ruby
banister has joined #ruby
pdoherty has joined #ruby
zorak8 has joined #ruby
sambao21 has joined #ruby
ferr has joined #ruby
simon` has joined #ruby
<simon`> What do you think is the best Ruby template engine at the moment?
<bradland> best is very subjective when it comes to templating engines.
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
icebourg has joined #ruby
dangerousdave has joined #ruby
<bradland> some of our devs like haml, others really like slim
<simon`> Since I haven't used any I would be interested in a short overview of the market ;-)
<bradland> are you templating HTML, or something other than that?
jarjar_prime has joined #ruby
pdoherty has quit [Ping timeout: 255 seconds]
Sawbones has quit [Remote host closed the connection]
<simon`> yes, HTML
<simon`> It's gonna be a Sinatra Website
<bradland> slim and haml are the two most popular
zorak8 has quit [Ping timeout: 265 seconds]
<bradland> slim is similar to haml, but drops many of the symbols
<bradland> which many people find aesthetically pleasing
roshanavand has quit [Ping timeout: 255 seconds]
<sweeper> slim
<sweeper> like slim cessna
<bradland> you can basically pick one by looking at the template examples and choosing the one you like more
kiyote23 has quit [Remote host closed the connection]
sondr3 has joined #ruby
<bradland> feature wise, i’m not sure someone could convince me of one over the other
<simon`> bradland: Do you know a good ressource for template examples?
banister has quit [Read error: Connection reset by peer]
DadoCe has quit [Remote host closed the connection]
<bradland> run through tutorial for both
<bradland> there are a lot of examples
<bradland> you can skim it, really
Sawbones has joined #ruby
yfeldblum has joined #ruby
<bradland> a little ways in you’ll see some example code
<bradland> the home page for slim has a nice example
athan has joined #ruby
<simon`> ok, thank you. I will take a look
shock_one has joined #ruby
icebourg has quit []
pwh has quit [Ping timeout: 265 seconds]
Sawbones has quit [Remote host closed the connection]
jarjar_prime has quit [Quit: Sleep time.]
bashusr has quit [Read error: Connection reset by peer]
pwh has joined #ruby
Photism has joined #ruby
dc_ has quit [Remote host closed the connection]
Sawbones has joined #ruby
StevenNunez has quit [Remote host closed the connection]
checkit has joined #ruby
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vin` has joined #ruby
Sawbones has quit [Remote host closed the connection]
<simon`> bradland: what do you think of erb by the way?
dorei has joined #ruby
<bradland> i use far more erb than anything else
iamninja has quit [Quit: ZZZzzz…]
<bradland> because most of my templates aren’t for HTML
Tricon has joined #ruby
havenwood has quit [Remote host closed the connection]
<bradland> i like it, but haml and slim are built specifically for HTML, so it results in a lot cleaner templates
<bradland> i get kind of annoyed at some of the indentation rules sometimes though (when I have to use them)
<bradland> it’s mostly a matter of familiarity though. if i used them more often, it’d be second nature.
<bradland> erb basically lets you do whatever you want
<simon`> ok, I see
<bradland> haml and slim have a lot of conventions, but save you a lot of the <% %> mess associated with erb
bashusr has joined #ruby
<pontiki> i like haml (and i'd like slim for the same reason) because it removes much of the clutter from writing html
<simon`> So what other output formats are mostly generated by template engines? PDF, ...?
<pontiki> and being able to mix in other languages easily is a boost as well
jaequery has joined #ruby
<bradland> i do more sysadmin type stuff, so i output all kinds of things. configuration files mostly.
<pontiki> CSS, XML, JSON...
<pontiki> bradland: which ERB makes good use in
<bradland> yep
<simon`> oh I see. Didn't think you would need a template engine for generating json
<pontiki> clients i'm working for right now seem to want to avoid ERB in any configuration files
<bradland> i’m so glad i don’t have clients any more
<pontiki> simon`: have a look at jbuilder
Sawbones has joined #ruby
codecop has quit [Remote host closed the connection]
jaequery has quit [Client Quit]
m8 has quit [Quit: Sto andando via]
kevr has left #ruby ["WeeChat 1.0-dev"]
<bradland> there’s almost always a better tool than erb
<bradland> erb is just so flexible
<pontiki> also when using JSON views to respond to requests in Rails, makes total sense to use ERB there
<bradland> it’s like string interpolation
<pontiki> string interpolation that includes string interpolation :D
Sawbones has quit [Remote host closed the connection]
sankaber has joined #ruby
jaequery has joined #ruby
nicolastarzia has joined #ruby
<bradland> if you’re in control of the specification, you can often just call to_json on your object
bashusr has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
<pontiki> often, yes
Xeago has joined #ruby
<pontiki> presuming you and a single object that containts all the attributes you need to respond with
<pontiki> good grief
<bradland> and none of the attributes you don’t want! lol
<pontiki> presuming you *have* a single object that contains all the attributes you need to respond with
<pontiki> serializers ftw
fedexo__ has joined #ruby
fedexo_ has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
<pontiki> "they're too complicated"
<pontiki> *sigh*
Sawbones has joined #ruby
<pontiki> "i don't want to introduce another model"
<pontiki> *sigh*
nicolastarzia has quit [Ping timeout: 256 seconds]
sankaber has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
banister has joined #ruby
sankaber has joined #ruby
Heskie has quit []
Heskie has joined #ruby
<shevy> "my fingers hurt from all the typing"
<shevy> *sigh*
JDHankle has quit [Quit: awe shucks]
Sawbones has quit [Remote host closed the connection]
<shevy> oh wait
<shevy> that was XML
rajeshchawla has joined #ruby
defrang has quit [Quit: defrang]
<pontiki> you typed out XML by hand??
<bradland> heh
<bradland> at one point, that was supposed to be everyone’s future
Sawbones has joined #ruby
<pontiki> indeed
Tricon_ has joined #ruby
checkit has quit [Quit: (null)]
mary5030 has joined #ruby
<shevy> all my video collection used to be in XML
<shevy> <video>
<shevy> <name>
<simon`> bradland: Do you know of a tutorial for slim?
<shevy> <genre>
JDHankle has joined #ruby
<shevy> hmm and lots more tags there
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Akuma has quit [Quit: So long sukkas!]
<bradland> simon`: hrm, i don’t
<bradland> i went from haml to slim, and they’re so similar, i just referenced the docs
dangerousdave has joined #ruby
<pontiki> but it won't actually do any good if you don't know HTML, really
freerobby has quit [Quit: Leaving.]
klmlfl has joined #ruby
<simon`> I do know HTML but that knowledge dates back from the time I didn't even know ruby
<simon`> It will be the first html project in a while though
<bradland> i would recommend reviewing that documentation page to get an idea of how slim works
<bradland> then start by trying to convert a basic bootstrap template or something
Sawbones has quit [Ping timeout: 255 seconds]
<simon`> bradland: yes, I got an idea. But I always like a good tutorial
Mia has quit [Read error: Connection reset by peer]
<bradland> meh, slim is so simple, i’m not sure it’s deep enough for a tutorial
Heskie has quit []
<pontiki> that README page *is* a tutorial
scripore has quit [Quit: This computer has gone to sleep]
spider-mario has quit [Remote host closed the connection]
sankaber has quit [Read error: Connection reset by peer]
scripore has joined #ruby
scripore has quit [Client Quit]
sankaber has joined #ruby
<simon`> ok, thanks.
<simon`> When building a more complex template is using bootstrap actually the typical way of doing so?
<bradland> not sure what you mean?
<bradland> bootstrap is an HTML, CSS, and Javascript framework
vdamewood has joined #ruby
rpag has joined #ruby
<bradland> it’s a common starting point, but there are other similar frameworks
<bradland> bootstrap is just extremely popular
dh64 has quit [Quit: Konversation terminated!]
<bradland> you can always just start from scratch
<simon`> does jquery does about the same?
<bradland> jquery is javascript
<bradland> it is commonly used in combination with bootstrap
<rpag> bootstrap is a CSS framework, it implements classes to aid in the development of layout
sankaber has quit [Client Quit]
<bradland> bootstrap also includes some javascript elements
luizbafilho has joined #ruby
scripore has joined #ruby
<simon`> Ok, I see. I feel rather dumb now after some years not doing any web development.
<rpag> indeed, changes so fast
<rpag> i felt the same way a few years ago
<bradland> it’s cool. IMO, this is a great time to be doing web development.
bashusr has quit [Read error: Connection reset by peer]
<simon`> I hope I will catch up :-)
<rpag> it sounds hard to focus on HTML, CSS, JavaScript, and whatever server-side language/framework at once