apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<northfurr> Anyone know what I need to do to fix this?
<northfurr> Gem::LoadError: You have already activated rake 10.3.1, but your Gemfile requires rake 0.9.2.2. Prepending `bundle exec` to your command may solve this.
klaut has quit [Remote host closed the connection]
klaut has joined #ruby
jonahR has joined #ruby
moritzs has quit [Ping timeout: 252 seconds]
klaut has quit [Ping timeout: 255 seconds]
<jhass> northfurr: read the output (and follow it)
<northfurr> i decided to uninstall 10.3.1 rake, fixed the issue
<northfurr> new to coding/ruby sorry if that was a dumb question
<jhass> well, reading helps, it tells you what to do
<shevy> "jump out of the window"
freerobby1 has joined #ruby
pwh has joined #ruby
except has quit [Ping timeout: 250 seconds]
freerobby has quit [Ping timeout: 258 seconds]
MrWharfsnort has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
<centrx> "stab yourself with a knife ->"
trhodes_ has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fire-Dragon-DoL has quit [Quit: Leaving.]
agrinb has joined #ruby
mikepack has quit [Remote host closed the connection]
agrinb has quit [Remote host closed the connection]
saarinen has joined #ruby
agrinb has joined #ruby
AnoGen has quit [Remote host closed the connection]
<shevy> "combine both actions"
AnoGen has joined #ruby
jhass is now known as jhass|off
agrinb has quit [Remote host closed the connection]
zcreative has joined #ruby
Bumptious has quit [Remote host closed the connection]
Connie has joined #ruby
agrinb has joined #ruby
Bumptious has joined #ruby
KanKava has quit [Quit: leaving]
jxf has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
jxf has joined #ruby
ghr has joined #ruby
ikaros has quit [Quit: Ex-Chat]
Bumptious has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Remote host closed the connection]
Megtastique has joined #ruby
agrinb has quit [Remote host closed the connection]
AnoGen has quit [Ping timeout: 265 seconds]
AlexRussia has joined #ruby
mikepack has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
KAO has joined #ruby
saarinen has joined #ruby
Nexus_x1 has joined #ruby
KAO has quit [Ping timeout: 240 seconds]
zcreative has quit [Quit: Computer has gone to sleep.]
papercode has joined #ruby
Connie is now known as Connie_
Connie_ is now known as Connie
mikepack has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 258 seconds]
<Connie> what's a good way to start learning ruby?
mikepack has joined #ruby
<shevy> Connie you must write simple ruby scripts
<popl> Connie: Point your web browser to that first URL in the topic.
<shevy> checklist for things to learn: how to create a file, how to create a dir, how to create a symlink, how to remove any of these; how to write module and a class; how to call a ruby script with arguments; how to load require or include other packages
<popl> Connie: https://github.com/edgecase/ruby_koans was fun for me.
<shevy> how and when to use arrays, hashes, and strings; understanding what a block is, how yield works, how enumerators work and why they are important in ruby
thomasxie has quit [Remote host closed the connection]
<Connie> thanks shevy and popl
<shevy> \o/ the more you write, the better you'll become
kies has joined #ruby
mikepack has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 255 seconds]
fukuyamaken has quit [Remote host closed the connection]
franzip has quit [Quit: ...]
garbagecollectio has quit [Quit: garbagecollectio]
SilkFox has joined #ruby
thomasxie has joined #ruby
mehlah has quit [Quit: Leaving...]
garbagecollectio has joined #ruby
rhys has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
aspires has joined #ruby
aiguu has quit [Ping timeout: 240 seconds]
shadoi has joined #ruby
binaryhat has quit [Quit: Leaving]
redondos has quit [Excess Flood]
sunya7a has joined #ruby
redondos has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
robustus has quit [Ping timeout: 252 seconds]
razrunelord has joined #ruby
soulcake has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
binaryhat has joined #ruby
aspires has quit []
razrunelord has quit [Ping timeout: 264 seconds]
soulcake has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
<shevy> popl I am bored
<RubyPanther> Connie: I recommend _why's (poignant) guide to ruby http://mislav.uniqpath.com/poignant-guide/
<shevy> popl whatcha working on lately?
<Connie> i have so many tabs open, my computer is going to explode any minute now
<benzrf> hey
<benzrf> anybody want to join my favorite offtopic irc channel's movie nite
<benzrf> were watching classic nic cage movies
<shevy> Connie start with the chris pine tutorial
<shevy> + irb
<benzrf> right now con air
<shevy> or if you are into crazy stuff, you can do the poignant guide
<RubyPanther> Connie: I recently closed a browser window with 2000+ tabs
<shevy> benzrf is that guy even still alive
<benzrf> yes
<RubyPanther> benzrf: not unless you're streaming The Seven Samurai
mary5030 has joined #ruby
<benzrf> RubyPanther: we're right now streaming con air
mehlah has joined #ruby
jonahR has quit [Remote host closed the connection]
ghr has joined #ruby
ti-wali___ has joined #ruby
sunya7a has quit [Ping timeout: 265 seconds]
pen has quit [Remote host closed the connection]
lw has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
eighthbit has joined #ruby
ti-wali has quit [Ping timeout: 255 seconds]
jonahR has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
Snarkz has joined #ruby
sqwirl has joined #ruby
KAO has joined #ruby
fukuyamaken has joined #ruby
renier has joined #ruby
ti-wali___ has quit [Remote host closed the connection]
mjs2600 has joined #ruby
renier has quit [Client Quit]
KAO has quit [Ping timeout: 276 seconds]
agrinb has joined #ruby
SOLID000 has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 264 seconds]
kies has quit [Read error: No route to host]
Hanmac has quit [Ping timeout: 240 seconds]
sski has joined #ruby
aspires has joined #ruby
hgl has joined #ruby
moted has joined #ruby
renier has joined #ruby
zcreative has joined #ruby
JacobHayes has quit [Remote host closed the connection]
lookup_mba has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
lookup_mba has quit [Remote host closed the connection]
aspires has quit []
ddv has quit [Ping timeout: 245 seconds]
sunya7a has joined #ruby
<zkay11> if I've written a script that consumes an api by filtering output from the api that matches certain criteria, is there a way to continue on past that happening? Right now it's counting the objects like I want, but it doesn't continue past that (because the flow never stops)
Dysruption has quit [Quit: Dysruption]
tyll_ has joined #ruby
prc has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
JacobHayes has joined #ruby
thesheff17 has quit [Remote host closed the connection]
ddv has joined #ruby
aiguu has joined #ruby
tyll has quit [Ping timeout: 252 seconds]
jmaister has quit [Ping timeout: 240 seconds]
sunya7a has quit [Ping timeout: 276 seconds]
sepp2k1 has quit [Quit: Leaving.]
lw has quit [Quit: s]
jonahR has quit [Remote host closed the connection]
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has quit [Quit: ""]
alexju has joined #ruby
thesheff17 has joined #ruby
mjs2600 has quit [Remote host closed the connection]
SilkFox has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
eighthbit has joined #ruby
redondos has quit [Excess Flood]
redondos has joined #ruby
rostam has quit [Remote host closed the connection]
razrunelord has joined #ruby
kitak has joined #ruby
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rostam has joined #ruby
<vim_shim> RubyPanther: Woah! You gotta use Onetab! Tabs Outliner is another good one too. If you find yourself bookmarking everything in a given window for later research, these extensions are totally right up your alley.
xcesariox has joined #ruby
razrunelord has quit [Ping timeout: 250 seconds]
<RubyPanther> if I bookmarked it, why would I have the tab open?
<Connie> maybe you should be bookmarking more :P
<vim_shim> You're keeping the tab open because you want to look at it later right? I find that I'll have clusters of google search results that I've filtered down and want to return to later, but my focus shifted on to something else.
<vim_shim> I've been dying for the concept of something like search sessions for a while, and these extensions fill that need quite nicely.
<vim_shim> If you have over 100 tabs in a window, there's just no effective way to cognitively manage all of those open threads in your head. They're hard to traverse and weigh down on you mentally if you build up enough of them. The solution to this anti-pattern? Cluster groups of related open tabs together in an easy to traverse interface.
<RubyPanther> Because if in practice I was going back to use them, then I wouldn't have them open still. So any effort at organizing the collection would be wasted.
<RubyPanther> If I was constantly going back and clearing them out, then I would benefit from organization
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
ghr has joined #ruby
<vim_shim> My browsing workflow looks like this: I do a search, open the first 5-10 links, scroll through the tabs with the wheel of my mouse on the top bar, and ctrl-w anything that looks like crap. Modify search terms to get closer to your solution. When you get a good cluster, send all tabs to the right of the search to OneTab.
Snarkz has joined #ruby
renier has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<vim_shim> Then you can go to the OneTab tab, and sort and filter them at will, or reload the whole cluster back into a window again.
<vim_shim> I'll do 4 or five of these on things that are going through my head and go through the filtered content at my leisure later.
agjacome has quit [Quit: leaving]
ghr has quit [Ping timeout: 250 seconds]
<vim_shim> Vertical list of tabs with titles showing is better than 100+ nubs at the top of your window that are unidentifiable.
aspiringflaneur has joined #ruby
aspiringflaneur has quit [Max SendQ exceeded]
<vim_shim> It's like looking something up by a hash key vs position in an array.
Nexus_x1 has quit [Quit: Computer has gone to sleep.]
Asher has quit [Remote host closed the connection]
Asher has joined #ruby
<Connie> tab outliner looks nice
Nexus_x1 has joined #ruby
<vim_shim> These are really great for sharing research too, because you can get a cluster of tabs together and just send the list to someone so they can follow your train of discovery.
binaryhat has quit [Quit: Leaving]
matchaw_ has quit [Ping timeout: 255 seconds]
matchaw has joined #ruby
Nexus_x1 has quit [Ping timeout: 276 seconds]
Arkaniad has quit [Ping timeout: 258 seconds]
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mattx has joined #ruby
kitak has quit [Remote host closed the connection]
lw has joined #ruby
Arkaniad has joined #ruby
moted has quit [Quit: moted]
kitak has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mattx has quit [Read error: Connection reset by peer]
Mattx has joined #ruby
Megtastique has quit []
MrRojojojo has quit [Ping timeout: 276 seconds]
bakflash has quit [Ping timeout: 252 seconds]
presentationprob has joined #ruby
Nexus_x1 has joined #ruby
braincrash has quit [Quit: bye bye]
aspiers has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
fgo has joined #ruby
<presentationprob> *** hey guys, having no programming background, i decided i was going to learn rails to make a presentation/showcase site linking to the beautiful Web. im guessing wordpress could do this, but to do something amazing, i thought this was a better decision long-term. i wanted to know what was the best ruby/rail reuse code site to make this far less painful. thanks.
jameshyde has joined #ruby
sqwirl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
trhodes_ has joined #ruby
kitak has quit [Remote host closed the connection]
<JacobHayes> bootstrap lol
fukuyamaken has quit [Ping timeout: 264 seconds]
MrRojojojo has joined #ruby
<JacobHayes> Not strictly a rails project though :/
garbagecollectio has quit [Quit: garbagecollectio]
ari-_-e has quit [Ping timeout: 252 seconds]
rokob has joined #ruby
ari-_-e has joined #ruby
freerobby1 has quit [Quit: Leaving.]
aspires has quit []
zorak has quit [Ping timeout: 240 seconds]
thomasxie has quit [Remote host closed the connection]
zorak has joined #ruby
thomasxie has joined #ruby
razrunelord has joined #ruby
badhatter_ has quit [Ping timeout: 252 seconds]
<presentationprob> just bootstrap.. seriously? no code for fragments of features? i need to actually learn rails from ground up.....
chipotle has joined #ruby
bluehavana has quit [Quit: Connection closed for inactivity]
razrunelord has quit [Ping timeout: 258 seconds]
chrisholmes has joined #ruby
chrisholmes is now known as holmes
holmes is now known as holmser
xcesariox has joined #ruby
sunya7a has joined #ruby
<holmser> anyone familar with the ‘net/http’ package feel like taking a look at this code? https://gist.github.com/Holmser/4e887aabc8e0800d4367
<mordof> so I'd like to examine a string (HTML markup in this case - investigating different ways to implement a parser) - is there currently something in Ruby where i could do something like "grab everything until [insert potential character/string matches] then return what was captured"?
<holmser> I have been pulling my hair out for the last 2 hours trying to figure out what is wrong with the URI I am trying to build
ghr has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
<holmser> When I parse a hostname like “http://www.google.com” everything works perfectly, but when I feed it something like “www.google.com” it fails, even though I thought I had accounted for the scheme field of the URI
sunya7a has quit [Ping timeout: 255 seconds]
Musashi1 has joined #ruby
zylophone has joined #ruby
<zylophone> hi, i'm a total ruby newbie, trying to set up thin, and thin is complaining that it's wanting to use a development database, but i've migrated the database for the app to production. how do i tell thin to use the production env too?
ghr has quit [Ping timeout: 255 seconds]
Shidash has joined #ruby
jxf has joined #ruby
kitak has joined #ruby
<mordof> heh.. only people active are with questions :/
<RubyPanther> zylophone: I remember thin, that was popular in 2006 I think. Most people are using "passenger" now.
<mordof> ah good
<RubyPanther> mordof: there are lots of HTML parsers like hpricot (old but my fav) or nokogiri
<presentationprob> *** hey guys, having no programming background, i decided i was going to learn rails to make a presentation/showcase site linking to the beautiful Web. im guessing wordpress could do this, but to do something amazing, i thought this was a better decision long-term. i wanted to know what was the best ruby/rail reuse code site to make this far less painful. thanks.
<zylophone> RubyPanther: i'm trying to get redmine working on nginx and didn't have much luck with passenger
<zylophone> presentationprob: learn html, then css. that's all you need
<zylophone> oh, and a splattering of javascript
hamakn has quit [Remote host closed the connection]
<RubyPanther> presentationprob: Unless you're going to spend a year learning programming before you even touch a web site, you're better off with wordpress
<mordof> RubyPanther: this is for learning purposes
baweaver has joined #ruby
<zylophone> RubyPanther: why are people choosing passenger over thin
holmser has quit [Quit: holmser]
<RubyPanther> mordof: you can do it the old school way, or use a regex
<RubyPanther> >> str = "foo bar<p>baz</p>" ; str[0,str.index('<')]
<eval-in_> RubyPanther => "foo bar" (https://eval.in/149469)
chrisholmes has joined #ruby
<mordof> hmm
<mordof> does .index accept a regex?
<mordof> well i suppose regex can return an index
<RubyPanther> zylophone: thin is based on mongrel, which was better than the other things at the time, but also still sucked
<mordof> RubyPanther: .match does that, doesn't it?
<RubyPanther> passenger is a properly written, generic rack server
<zylophone> ahh ok
freerobby has joined #ruby
<RubyPanther> mordof: you can give a regex directly to [] or using match, etc. You should read the docs for the String class, there a bunch of different ways to invoke it
<zylophone> pita to get working for nginx
pwh has quit []
<mordof> RubyPanther: indeed - i've read through it. I just wasn't sure if there was a different method call that would be more suitable
<RubyPanther> I dunno, I heard nginx was super easy, but I was always (still) using apache
baweaver has quit [Ping timeout: 265 seconds]
freerobby1 has joined #ruby
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<zylophone> recompilation is necessary for nginx
<zylophone> not so for apache
lw has quit [Quit: s]
freerobby2 has joined #ruby
Connie has quit [Read error: Connection reset by peer]
benzrf is now known as benzrf|offline
MZAWeb has joined #ruby
kitak has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 265 seconds]
lw has joined #ruby
<RubyPanther> >> [ foo bar<p>baz</p>"[/\A[^<]*/], "foo bar<p>baz</p>"[/\A.*?(?=\<)/] ] # Ruby has it all
<eval-in_> RubyPanther => /tmp/execpad-3853bd5e2084/source-3853bd5e2084:2: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' ... (https://eval.in/149471)
kitak has joined #ruby
<RubyPanther> eek
<RubyPanther> >> "[ foo bar<p>baz</p>"[/\A[^<]*/], "foo bar<p>baz</p>"[/\A.*?(?=\<)/] ] # Ruby has it all
<eval-in_> RubyPanther => /tmp/execpad-7c8ccc377d83/source-7c8ccc377d83:2: syntax error, unexpected ']', expecting '=' ... (https://eval.in/149472)
alexju has quit [Remote host closed the connection]
<RubyPanther> oh well, fail
<RubyPanther> >> [ "foo bar<p>baz</p>"[/\A[^<]*/], "foo bar<p>baz</p>"[/\A.*?(?=\<)/] ] # Ruby has it all
<eval-in_> RubyPanther => ["foo bar", "foo bar"] (https://eval.in/149473)
freerobby1 has quit [Ping timeout: 255 seconds]
freerobby2 has quit [Ping timeout: 240 seconds]
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
phinfonet has quit []
<mordof> not really suitable for what i'm doing
kitak has quit [Ping timeout: 240 seconds]
flowerhack has joined #ruby
samiux has quit [Quit: Leaving]
Spami has joined #ruby
garbagecollectio has joined #ruby
Kryptonical has joined #ruby
Krypt has joined #ruby
mehlah has quit [Quit: Leaving...]
Kryptonical has quit [Remote host closed the connection]
mjs2600 has joined #ruby
<presentationprob> zylophone RubyPanther that's not all i need, if you can do something more amazing with rails, then im going all the way, and it doesnt take a year www.theodinproject.com
garbagecollectio has quit [Client Quit]
<presentationprob> or it shouldnt....
<RubyPanther> presentationprob: You're right, it takes a lot more time than a year. A year assumes you've got a natural aptitude, a high IQ, and are a focused self-learner.
andrewjanssen has quit [Quit: Leaving...]
shevy has joined #ruby
<RubyPanther> For just putting web sites together and customizing them, you can do that with wordpress with a lot less learning.
<shevy> back on slackware
<presentationprob> you're able to learn in way less than a year from many different sources rubypanther
<shevy> simplicity really works
<RubyPanther> And online resources for wordpress will be forgiving to a non-programmer. Rails resources are going to expect a lot of outside knowledge.
<presentationprob> RubyPanther im willing to go all teh way if you can do something more amazing with rails
Nexus_x1 has quit [Quit: Computer has gone to sleep.]
<shevy> presentationprob the railsers are on #rubyonrails
<presentationprob> RubyPanther doing something meh with wordpress isnt worth it to me you get it, im on a long-term mission
Nexus_x1 has joined #ruby
garbagecollectio has joined #ruby
<presentationprob> k ill ask them shevy couldnt find the rails one
<mordof> presentationprob: rails is a framework for websites/web apps developed based on ruby. it'll help you work into ruby later, yes.. which is different focus
<shevy> presentationprob they are more likely to know how good rails is, people here on #ruby tend to focus more on the ruby language itself
<shevy> stuff like
<mordof> presentationprob: but *any* amount of effective programming/website development will take more than a couple years to really become effective at
<shevy> object.any?
<shevy> object.find
<shevy> object.select
<shevy> \o/
weems has quit [Read error: Connection reset by peer]
mjs2600 has quit [Ping timeout: 252 seconds]
<shevy> presentationprob listen to mordof, he is new to ruby
<shevy> his first project was a big fail though
<mordof> rofl, shut up - it was not
<mordof> you're just a hater
Nexus_x1_ has joined #ruby
<shevy> you admitted to that not long ago man!
<mordof> i did not
<mordof> shevy: it's fully functioning
<shevy> you said there was a lot of unknown stuff about html parsing in official documents
<shevy> you did not know!
<mordof> i'm just looking for clearner ways to implement it
<mordof> shevy: primarily because i develop with standards and don't write crap html
<shevy> yeah see presentationprob
<shevy> now he is looking for *cleaner* ways ...
<presentationprob> failing is good, you learn, like i said on #web im not trying to take the easy way out (no, wait i was) but i realised it won't be worth -- to me, bernardic.ca/2012/07/08/rails-vs-wordpress/ "If you are in it for the long haul and want to progress with the web, go with a more progressive language" quora.com/Should-I-learn-PHP-or-Ruby
<shevy> php
<shevy> once you know ruby you don't want to learn php
<shevy> there is a lot more do-it-yourself attitude in ruby though
charliesome has quit [Ping timeout: 240 seconds]
<shevy> which means more time investment
<mordof> php is best described as a hammer - having both sides the edge to take out nails. you *can* put nails in with it, but it's never fun / simple
<mordof> ruby / rails is a lot nicer
<shevy> ok someone hammer mordof please
<shevy> hammering stuff gets simple!
<mordof> :/
<shevy> everything looks like a nail
MatthewsFace has joined #ruby
<shevy> ok who mentioned hammer
<mordof> presentationprob: that's why i'm currently making something that everyone is like "noo just use something to help you with it, or do something else" - learning, doing it multiple ways
<shevy> yeah don't worry about his first two projects presentationprob
charliesome has joined #ruby
<shevy> his third project will be cool
weems has joined #ruby
<shevy> the first thing I wrote in ruby was an IRC bot
<mordof> -.-;;;
<shevy> it even worked!
<shevy> but I broke it some years ago and couldn't motivate myself to fix it since :(
Nexus_x1 has quit [Ping timeout: 276 seconds]
<shevy> I failed to write a bot in PHP
<mordof> shevy: yeah but i've already written a couple of those in other languages. it's not something i learn concepts in if i just re-implement *again*
* mordof has also written one in PHP
razrunelord has joined #ruby
<shevy> mordof did yours work?
<mordof> yes
<shevy> damn it
Nexus_x1_ has quit [Ping timeout: 276 seconds]
pwh has joined #ruby
<mordof> is there a way to do String#each_char with index?
<mordof> or should i maintain my own index..
razrunelord has quit [Ping timeout: 240 seconds]
rokob has quit [Remote host closed the connection]
aiguu has quit [Ping timeout: 265 seconds]
rokob has joined #ruby
<presentationprob> rubypanther shevy one article im making on the unborn site is something like 100hrs For Excellence Is Worth More than 1 hr For Meh, then ill never have to explain myself to anyone again, and can just link the page =) dont like repeating inefficiently the same thing :/
b00stfr3ak has joined #ruby
sunya7a has joined #ruby
<RubyPanther> presentationprob: If you want your site to be really excellent, I recommend investing the time to learn about English capitalization and punctuation.
maroloccio has quit [Ping timeout: 276 seconds]
<RubyPanther> You don't want to spend all that time getting your awesome ideas onto the web, only to discover that your presentation is meh, and you readers think they're visiting geocities.
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zylophone> mhh, i'm getting a rewrite or internal redirection while internally redirectiong to "/.html.html......." using passenger
<presentationprob> RubyPanther cute
<mordof> presentationprob: also - I'd change the 1 hr to something closer to 20 hrs... a 1hr to 100hr contrast is far too drastic for comparing anything realistic
<zylophone> i can access specific pages inside the public dir, so i know it's targetting the right dir at least!
fgo has quit [Remote host closed the connection]
dseitz has joined #ruby
ghr has joined #ruby
<zylophone> presentationprob: sorry you didn't get the advice you wanted. you study ruby. yeah! you'll still have to learn html/css/javascript to make web apps. so, have fun!
<presentationprob> rubypanther & it's not my ideas it's the ideas of the best in our society, as they trickle down the class structure
<zylophone> i'm guessing presentationprob is a troll of sorts
<zylophone> no proper nick, sticking to one 'problem' etc
<mordof> zylophone: well.. he's new - to pretty much everything
sunya7a has quit [Ping timeout: 252 seconds]
<RubyPanther> If you start from scratch and aren't a programmer and you spend 1 hr with wordpress, or 100 hrs with rails, you'll already be able to make a complete site using wordpress, but you'll still be a fish out of water with rails, and have no idea how to do much of anything other than edit the views
<zylophone> mordof: like most trolls playing dumb
jonahR has joined #ruby
<zylophone> mordof: if he was new, he wouldn't be on irc ;)
<presentationprob> zylophone mordof ur responses is unexcepted for what i said, interesting....
Hanmac has quit [Ping timeout: 265 seconds]
<zylophone> see, i'm interesting to him.. he's trying to suck me into "debating" with him
<mordof> zylophone: that depends on how he ended up on irc to begin with.
<presentationprob> shevy will save me though cos i have no idea how you guys interpreted what i said, hmm... anyway.
<zylophone> face it. troll is troll
ixti has quit [Ping timeout: 245 seconds]
<shevy> I will save you but I am idling
<zylophone> shoudln't someone call 999/911 if they need saving
<mordof> zylophone: probable.. yeah. i'm no good at identifying trolls, heh
<RubyPanther> That sounds right, we have no idea how to interpret what shevy said, either.
jonahR has quit [Remote host closed the connection]
<presentationprob> what i said was "one article im making on the unborn site is something like 100hrs For Excellence Is Worth More than 1 hr For Meh, then ill never have to explain myself to anyone again, and can just link the page =) dont like repeating inefficiently the same thing :/" -- that shouldnt have caused this reaction but i dont know you guys so w/e
<zylophone> "don't like repeating..."
<mordof> woo irony :3
<shevy> man
<RubyPanther> It takes like 10,000 hours before you can write code to blow your nose. You can use wordpress right out of the box.
<zylophone> attention-seeking troll is the same as a blatent flamer
MrWharfsnort has quit [Ping timeout: 245 seconds]
<shevy> can't you write your own sentences presentationprob, do you have to copy paste
lukec_ has quit [Quit: lukec_]
rokob has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
<zylophone> /ignore presentationprob
rokob has joined #ruby
<zylophone> "prob" solved :)
<zylophone> RubyPanther: yeah, it's the same in any language or, anything
<zylophone> 90% sweat etc
<presentationprob> zylophone r u serious? just because i said i dont like repeating you give me this reaction??....
Loaft has quit [Excess Flood]
askldjuio2 has joined #ruby
<zylophone> mordof: how many 'newbies' do you know even know what irc is?
Spami has quit [Quit: This computer has gone to sleep]
<zylophone> and i wouldn't exactly recommend to many newbies that they get onto irc to ask questions ;)
<mordof> zylophone: i know people who used irc for regular chat, or anime dcc's, or they read articles that instructed them to jump onto irc - when they had no programming knowledge
<zylophone> geh. damn hipsters
<mordof> zylophone: and i generally do make that recommendation. with the warning that the first times they ask they're going to get yelled at until they figure out how to ask properly, lol
_zxq9_ has joined #ruby
<zylophone> there's an xkcd for everything :)
zxq9 has quit [Write error: Broken pipe]
<mordof> hahaha nice
marcdel has joined #ruby
marcdel has quit [Max SendQ exceeded]
MZAWeb_ has joined #ruby
<presentationprob> weird.................. "<RubyPanther> That sounds right, we have no idea how to interpret what shevy said, either." then shevy went against me for no real reason, all i have to say to you four is how lame this was if you looked over the talk
<presentationprob> i said one honest thing and you kids blew up on me
marcdel has joined #ruby
<shevy> presentationprob man see
MZAWeb has quit [Ping timeout: 258 seconds]
<shevy> presentationprob if we talk, we in general use few words
<shevy> not 1000 lines repeats
<shevy> there is no new content there, no discussion
<zylophone> ok, i'm hitting the ignore button..... now!
kitak has joined #ruby
<RubyPanther> shevy is all about new content. That explains the \slackware.
Hanmac has joined #ruby
<shevy> DO NOT IGNORE ME!!!
<shevy> hey hey hey
<shevy> slackware works
<shevy> that's more than like many other distributions out there
nuck has quit [Excess Flood]
<zylophone> shevy: not you ;)
<mordof> presentationprob: if you *actually* have an interest in learning this stuff, pick up a tutorial and start at it. if you get stuck, we're here for questions. the more you just give responses, the more you just look like you're trolling (and if that just keeps up, you'll be blocked by all of us soon enough)
<RubyPanther> my first linux was slackware 3, I got a CD with a linux magazine.
<shevy> omg not this again
nuck has joined #ruby
<shevy> dinosaur stories
<mordof> lol
<zylophone> it isn't a presentation prob, he's probably wanted to start a wordpress v ruby arg, hence he had the link to an article ready
<mordof> zylophone: ah, good point
<shevy> presentationprob you should be ashamed of using wordpress man
<zylophone> just please, no matter how many times you tell him, he won't accept it
<RubyPanther> then I wanted a new version, it only took 3 days to download over a modem
<zylophone> when i was a kid there were no modems
<zylophone> damn kids
<shevy> why is it always that RubyPanther brings in the VERY OLD stories
<zylophone> gah, that's nothing
<zylophone> my first os was whatever the zx81 uses
<shevy> you dont even remember the name
* mordof once downloaded a 6GB game over dialup - took a little over a month
<shevy> now that must be old :)
<RubyPanther> I know people who make money installing and customizing wordpress, they'd be ashamed but they're too busy being happy about the money they're making. And when they need something custom, they just hire a programmer as a subcontractor.
<zylophone> shevy: it didn't have one
<zylophone> wordpress is awesome
<presentationprob> mordof block me then my ip changes it's not my fault you guys are such kids and i would pass on the help anyway, better resources to get help than here given the immense you ppl give when i said one honest thing
<zylophone> great ui, easy to dive into and just plain awesome
<zylophone> what it does, it does well
<presentationprob> you guys are alos inaccuate in some things you said so i clarified on a few points -- i read enough even if i dont program right now
<zylophone> no, very well
flowerhack has quit [Remote host closed the connection]
<mordof> zylophone: especially the php 4.3 codebase :3 lol
except has joined #ruby
<RubyPanther> ZX81! my first home computer was a Timex/Sinclair 1000, which was a ZX81
freerobby has joined #ruby
<RubyPanther> BASIC ROM, no disk, 2K
Shidash has quit [Ping timeout: 240 seconds]
<RubyPanther> You think you can write a 2K program, but 2K is for both the source buffer, and also the program memory. So, useless.
kitak has quit [Ping timeout: 240 seconds]
kitak_ has joined #ruby
CodeBunny has joined #ruby
freerobby has quit [Ping timeout: 258 seconds]
fgo has joined #ruby
<zylophone> RubyPanther: did you have that funky 16k upgrade pack?
flowerhack has joined #ruby
lxsameer has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
diegoviola has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
bijan07077 has joined #ruby
<RubyPanther> no
<RubyPanther> It was useless, I wrote my code on lined paper instead, and waited to type it in at school on the Apple ][
<RubyPanther> For graphics you just use graph paper to draw it, and then write a list of pixels and colors on an attached sheet
Hanmac has joined #ruby
<mordof> that sounds so painful :/
<RubyPanther> It saves a lot of time for writing the POKE commands if you have the pixels listed out by color in advance
kitak_ has quit [Read error: No route to host]
<pontiki> but so much fun when you have no idea what it could be like
<mordof> "Back when i was a kid, we programming using stones and etched what we wanted into rocks"
<pontiki> now you're just making fun of me
kitak has joined #ruby
<mordof> I've just never experienced that before
<mordof> it's hard to imagine
<RubyPanther> etching stone requires advanced chemistry, most kids have to carve their stones with stones
sunya7a has joined #ruby
<mordof> understandable, but still
<mordof> pssh
<mordof> RubyPanther: thanks for that, lol
_justin has joined #ruby
garbagecollectio has quit [Quit: garbagecollectio]
<RubyPanther> before I learned BASIC, I learned LOGO. We didn't have lines of code, we just had a REPL and a turtle
Morkel has joined #ruby
baweaver has joined #ruby
badhatter has joined #ruby
badhatter has joined #ruby
Valesk has joined #ruby
<RubyPanther> And if your turtle gets eaten by a dinosaur, then you don't get to play Oregon Trail during recess
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
marcdel has quit []
<zylophone> whooo! it works!
chipotle has quit [Quit: cya]
<mordof> zylophone: ?
<zylophone> ahh, graph paper... i remember it well
<zylophone> i loved logo. so gutted that our school never had a turtle
<pontiki> was that last bit true, RubyPanther ?
SCommette has joined #ruby
<RubyPanther> okay, pontiki caught me, we didn't actually have dinosaurs
<zylophone> mordof: gitlab and redmine playing nicely together on nginx
<mordof> ohh cool
<zylophone> so, time to reward myself with food
sunya7a has quit [Ping timeout: 252 seconds]
<zylophone> then i try to replicate it all on arm :(
nahtnam has joined #ruby
decoponio has joined #ruby
<nahtnam> Anyone know the best place to get a ruby certification (the best place to take the test?)
<zylophone> night hipsters :p
zylophone has quit [Quit: leaving]
<pontiki> i haven't heard of a certification in this channel either
<pontiki> night, zylo
baweaver has quit [Ping timeout: 276 seconds]
<RubyPanther> but in 8th grade we 10 _____ M E G A B Y T E _____ hard drive. It was "networked" which meant that it plugged into up to 4 computers with a parallel port, and there was a switch on the back for which computer could talk to it. And before you used it, you had to flip a switch in the front, and wait 10 minutes[sic] until it warmed up [sic] and the light turned on.
<RubyPanther> we [had a]
<pontiki> ooo, that was advanced!
<mordof> o.o
<mordof> .... my first computer had windows 95 on it >.>
<RubyPanther> yeah, that was most of the annual computer budget
* mordof was 10 at the time
<pontiki> first 10Mbyte hard drive I had attached to my HP 110 computer (z80 thing running CP/M)
marcdel has joined #ruby
* mordof feels so young >.<;
<RubyPanther> I switched to *nix when popular applications started requiring "real" Win95 and no longer worked with Win3.11+32s extensions
<presentationprob> i 100% do not go on any site and troll for no reason, im a workaholic and very serious and have lots of goals and important stuff on my mind, i know what happened and you guys were kids (and dont like ppl being honest or disagreeing with you) so im leaving.
presentationprob has left #ruby [#ruby]
<RubyPanther> We were all kids once. Except eval-in_
_justin has quit [Ping timeout: 252 seconds]
<RubyPanther> I'm glad he left, workaholics can't learn to program... they would never have the time
<pontiki> hey hey
<pontiki> Balmer Peak
<pontiki> you give those workaholics enough alcohol...
marcdel_ has joined #ruby
prakriti has quit [Read error: No route to host]
<pontiki> what the heck is prsprob's problem?
<RubyPanther> Balmer never needed to code, either, Bill and Paul were there for that
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kneferilis has quit [Ping timeout: 250 seconds]
<pontiki> s'truth
marcdel has quit [Ping timeout: 250 seconds]
_justin has joined #ruby
razrunelord has joined #ruby
lw has quit [Quit: s]
hamakn has joined #ruby
Bumptious has joined #ruby
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
razrunelord has quit [Ping timeout: 252 seconds]
SCommette has quit [Quit: SCommette]
sunya7a has joined #ruby
zkay11 has quit [Quit: Leaving.]
shadoi has quit [Quit: Leaving.]
kyb3r_ has joined #ruby
ghr has joined #ruby
sunya7a has quit [Ping timeout: 252 seconds]
SCommette has joined #ruby
SCommette has quit [Client Quit]
kitak has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
aiguu has joined #ruby
kitak has joined #ruby
ktun has joined #ruby
_justin has quit [Quit: _justin]
ktun has quit [Client Quit]
chipotle has joined #ruby
dstrunk has joined #ruby
cjsarette has joined #ruby
nari has joined #ruby
dstrunk has left #ruby [#ruby]
chrisholmes has quit [Quit: chrisholmes]
cjsarette has quit [Max SendQ exceeded]
chipotle has quit [Client Quit]
jackneill has joined #ruby
dstrunk has joined #ruby
yakko_ has joined #ruby
cjsarette has joined #ruby
freerobby has joined #ruby
yakko has quit [Ping timeout: 265 seconds]
cjsarette has quit [Max SendQ exceeded]
freerobby1 has joined #ruby
alem0lars has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
tobago has joined #ruby
oo_ has joined #ruby
freerobby has quit [Ping timeout: 255 seconds]
akonny has joined #ruby
freerobby1 has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
sski has quit [Ping timeout: 252 seconds]
JacobHayes has quit [Remote host closed the connection]
kitak_ has joined #ruby
sski has joined #ruby
porco has joined #ruby
fgo has quit [Remote host closed the connection]
kitak has quit [Read error: No route to host]
porco has quit [Client Quit]
brunops has joined #ruby
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
Mon_Ouie has joined #ruby
FDj has quit [Ping timeout: 276 seconds]
bijan07077 has quit [Quit: bijan07077]
s2013 has quit [Ping timeout: 276 seconds]
mjs2600 has joined #ruby
cjsarette has joined #ruby
julian-delphiki has joined #ruby
cjsarette has quit [Max SendQ exceeded]
bean has quit [Ping timeout: 245 seconds]
RaptorJesus has quit [Ping timeout: 272 seconds]
mjs2600 has quit [Ping timeout: 258 seconds]
marcdel_ has quit []
oo_ has quit [Remote host closed the connection]
frogssgy has joined #ruby
silentpost has joined #ruby
silentpost has quit [Client Quit]
chinkung has quit [Read error: Connection reset by peer]
Hanmac has quit [Ping timeout: 255 seconds]
chinkung has joined #ruby
razrunelord has joined #ruby
frosgy has quit [Ping timeout: 255 seconds]
Bumptious has quit [Remote host closed the connection]
Hanmac has joined #ruby
Bumptious has joined #ruby
razrunelord has quit [Ping timeout: 252 seconds]
MZAWeb_ has quit [Ping timeout: 240 seconds]
papercode has quit [Quit: WeeChat 0.4.3]
sunya7a has joined #ruby
xcesariox has quit [Ping timeout: 240 seconds]
cjsarette has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
hgl has quit [Ping timeout: 255 seconds]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
weems has quit [Changing host]
weems has joined #ruby
mistergibson has joined #ruby
danijoo_ has quit [Read error: Connection reset by peer]
_zxq9_ has quit [Quit: Konversation terminated!]
danijoo has joined #ruby
_zxq9_ has joined #ruby
_zxq9_ is now known as zxq9
zxq9 has quit [Client Quit]
zxq9 has joined #ruby
brunops has quit [Ping timeout: 264 seconds]
RohanRNS has quit [Quit: Connection closed for inactivity]
alpha123 has quit [Ping timeout: 264 seconds]
alpha123 has joined #ruby
b00stfr3ak has quit [Ping timeout: 255 seconds]
kitak_ has quit [Read error: Connection reset by peer]
kitak has joined #ruby
_justin has joined #ruby
cjsarette has quit [Max SendQ exceeded]
oo_ has joined #ruby
pwh has quit []
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
havenwood has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
havenwood has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
freerobby has quit [Ping timeout: 276 seconds]
jonahR has joined #ruby
mercwithamouth has joined #ruby
cjsarette has joined #ruby
jack_rabbit has joined #ruby
ndrei has joined #ruby
cjsarette has quit [Max SendQ exceeded]
jxf has quit [Ping timeout: 252 seconds]
Olipro has quit [*.net *.split]
zly has quit [*.net *.split]
t3ch has quit [*.net *.split]
justinxreese has quit [*.net *.split]
charliesome has quit [Ping timeout: 250 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
cjsarette has joined #ruby
_Andres has joined #ruby
zly has joined #ruby
justinxreese has joined #ruby
zly has quit [*.net *.split]
justinxreese has quit [*.net *.split]
zly has joined #ruby
_justin has quit [Quit: _justin]
Hit[LE]r has joined #ruby
amclain has quit [Quit: Leaving]
Olipro has joined #ruby
<Hit[LE]r> Guys does anyone have experience with Oauth gem
akonny has quit [Quit: akonny]
xcesariox has joined #ruby
xcesariox has quit [Max SendQ exceeded]
xcesariox has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
peret has joined #ruby
pen has joined #ruby
charliesome has joined #ruby
jmbrown412 has joined #ruby
razrunelord has joined #ruby
mjs2600 has joined #ruby
Hit[LE]r has left #ruby ["Leaving"]
justinxreese has joined #ruby
JacobHayes has joined #ruby
carraroj has joined #ruby
carraroj has quit [Changing host]
carraroj has joined #ruby
mjs2600 has quit [Remote host closed the connection]
razrunelord has quit [Ping timeout: 252 seconds]
sunya7a has joined #ruby
kitak has quit [Ping timeout: 240 seconds]
kitak has joined #ruby
JacobHayes has quit [Remote host closed the connection]
sooik has joined #ruby
sunya7a has quit [Ping timeout: 250 seconds]
fukuyamaken has joined #ruby
BucOder has joined #ruby
peret has quit [Ping timeout: 255 seconds]
BucOder has left #ruby [#ruby]
claymore has joined #ruby
except has quit [Ping timeout: 255 seconds]
banister has joined #ruby
ktun has joined #ruby
ktun has quit [Client Quit]
dh64 has quit [Excess Flood]
ktun has joined #ruby
dh64 has joined #ruby
TheMoonMaster has quit [Ping timeout: 240 seconds]
memorozovm has joined #ruby
dstrunk has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
dstrunk has joined #ruby
Hanmac has joined #ruby
TheMoonMaster has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
memorozovm has quit []
asdklji2 has joined #ruby
memorozovm has joined #ruby
justinxreese has quit [*.net *.split]
Olipro has quit [*.net *.split]
zly has quit [*.net *.split]
charliesome has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
askldjuio2 has quit [Ping timeout: 276 seconds]
sqwirl has joined #ruby
dstrunk has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
oo_ has joined #ruby
freerobby has quit [Ping timeout: 258 seconds]
wallerdev has quit [Quit: wallerdev]
charliesome has joined #ruby
memorozovm has quit []
memorozovm has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
atmosx has joined #ruby
zigomir has joined #ruby
memorozovm has quit []
gigo1980 has joined #ruby
justinxreese has joined #ruby
zly has joined #ruby
Olipro has joined #ruby
sent-hil has joined #ruby
Olipro has quit [Max SendQ exceeded]
Spami has joined #ruby
Spami__ has joined #ruby
uxp_ has quit [Read error: Connection reset by peer]
uxp has joined #ruby
Martxel has quit [Ping timeout: 276 seconds]
Olipro has joined #ruby
_justin has joined #ruby
cjsarette has quit [Excess Flood]
mame0 has quit [Ping timeout: 252 seconds]
setra has joined #ruby
SOLID000 has joined #ruby
WishBoy- has joined #ruby
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
Squarepy has joined #ruby
WishBoy has quit [Ping timeout: 245 seconds]
decoponio has quit [Quit: Leaving...]
decoponio has joined #ruby
cjsarette has joined #ruby
WishBoy- has quit [Remote host closed the connection]
freerobby has joined #ruby
cjsarette has quit [Excess Flood]
Spami__ has quit [Quit: This computer has gone to sleep]
Spami has quit [Quit: This computer has gone to sleep]
freerobby has quit [Ping timeout: 240 seconds]
sunya7a has joined #ruby
jonahR has quit [Remote host closed the connection]
timonv has joined #ruby
bluOxigen has joined #ruby
marcdel has joined #ruby
sunya7a has quit [Ping timeout: 250 seconds]
cjsarette has joined #ruby
_justin has quit [Quit: _justin]
marcdel_ has joined #ruby
cjsarette has quit [Max SendQ exceeded]
chipotle has joined #ruby
jameshyde has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 252 seconds]
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
anaeem1 has joined #ruby
kitak has quit [Read error: No route to host]
memorozovm has joined #ruby
kitak has joined #ruby
hamakn has quit [Remote host closed the connection]
Avahey_ has quit [Quit: Connection closed for inactivity]
andrewlio has joined #ruby
moritzs has joined #ruby
freerobby has joined #ruby
VTLob has joined #ruby
tyll has joined #ruby
Rahul_Roy has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
tyll_ has quit [Ping timeout: 240 seconds]
blueOxigen has joined #ruby
ndrei has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 250 seconds]
arianit has joined #ruby
obs has joined #ruby
chipotle has quit [Quit: cya]
jackneill has quit [Quit: jackneill]
Ardenzi has joined #ruby
blackmesa has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
alex88 has joined #ruby
danijoo has joined #ruby
kyb3r_ has quit [Quit: Leaving]
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
charliesome has quit [Ping timeout: 255 seconds]
fgo has joined #ruby
memorozovm has quit [Remote host closed the connection]
klaut has joined #ruby
cjsarette has joined #ruby
yacks has joined #ruby
shvelo has joined #ruby
timonv has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 250 seconds]
razrunelord has joined #ruby
marcdel_ has quit []
shvelo has quit [Ping timeout: 252 seconds]
hgl has joined #ruby
prc has joined #ruby
mjs2600 has joined #ruby
shvelo has joined #ruby
sunya7a has joined #ruby
<lolmaus> I would like to unshift/pop a random item from an array, rather than a first/last one. Please suggest a short sugary way of doing this.
razrunelord has quit [Ping timeout: 276 seconds]
<apeiros> lolmaus: that'd be "remove", not pop/shift (as those terms are defined to be at the begin/end)
<apeiros> delete_at(rand(size))
<apeiros> (also unshift is adding items, not removing)
cjsarette has quit [Excess Flood]
_justin has joined #ruby
spider-mario has joined #ruby
<lolmaus> apeiros: yeah, i've been using `arr.delete(arr.sample)`. I hoped there's some shortcut.
mjs2600 has quit [Ping timeout: 276 seconds]
<apeiros> lolmaus: no, but delete_at is a) faster than delete and b) won't accidentally remove multiple items
sunya7a has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
<lolmaus> apeiros: thx
<apeiros> >> a = [2,2,2,2,2]; a.delete(2); a
<eval-in_> apeiros => [] (https://eval.in/149582)
<apeiros> >> a = [2,2,2,2,2]; a.delete(a.sample); a
<eval-in_> apeiros => [] (https://eval.in/149583)
<apeiros> lolmaus: you can always add a method to Array doing what you want
<lolmaus> apeiros: ohh, that's dangerous indeed, thx.
<lolmaus> apeiros: you mean a refinement?
<apeiros> if you're on 2.0+, yes
<apeiros> otherwise: monkey patch
gigetoo has quit [Remote host closed the connection]
memorozovm has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
cjsarette has joined #ruby
tvw has joined #ruby
gigetoo has joined #ruby
_justin has quit [Quit: _justin]
ahmdrefat_ has joined #ruby
mercerist has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
memorozovm has quit [Ping timeout: 250 seconds]
mercerist has quit [Client Quit]
Symbiosisz has quit [Quit: Leaving]
Hanmac1 has joined #ruby
Gadgetoid has quit [Ping timeout: 250 seconds]
Hanmac has quit [Ping timeout: 255 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
hamakn has joined #ruby
parduse has quit []
carraroj has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
freerobby has quit [Ping timeout: 255 seconds]
parduse has joined #ruby
cjsarette has quit [Excess Flood]
hamakn has quit [Ping timeout: 255 seconds]
shvelo has quit [Ping timeout: 265 seconds]
jackneill has joined #ruby
jackneill has quit [Changing host]
jackneill has joined #ruby
flowerhack has quit [Remote host closed the connection]
cjsarette has joined #ruby
alexherbo2 has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
flowerhack has joined #ruby
Beoran_ has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
<alexherbo2> Hi
<alexherbo2> You know an editor independant code completion for Ruby ?
<alexherbo2> I wish integrate in Kakoune smart code completion.
<alexherbo2> → set buffer completers option=<opt-name>
lolmaus has quit [Ping timeout: 240 seconds]
alem0lars has quit [Quit: Going AFK...]
lolmaus has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
parduse has quit []
franzip has joined #ruby
flowerhack has quit [Remote host closed the connection]
ndrei has joined #ruby
bricker`LA has quit [Ping timeout: 245 seconds]
cjsarette has quit [Max SendQ exceeded]
parduse has joined #ruby
setra has quit [Ping timeout: 245 seconds]
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
Beoran_ has joined #ruby
hamakn has joined #ruby
execute has joined #ruby
execute is now known as _axx
kitak has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 252 seconds]
bricker`LA has joined #ruby
Hanmac has joined #ruby
banister has joined #ruby
DaniG2k has joined #ruby
sinkensabe has joined #ruby
<atmosx> alexherbo2: no one here uses an IDE iirc
<Edelwin> :)
kies has joined #ruby
kies has quit [Changing host]
kies has joined #ruby
cjsarette has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac1 has joined #ruby
GriffinHeart has joined #ruby
chipotle has joined #ruby
e^0 has joined #ruby
sunya7a has joined #ruby
dangerousdave has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 265 seconds]
maximski has joined #ruby
oo_ has joined #ruby
sunya7a has quit [Ping timeout: 245 seconds]
alex88 has quit [Quit: Leaving...]
alex88 has joined #ruby
jhass|off is now known as jhass
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
prc has left #ruby [#ruby]
anaeem1 has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 255 seconds]
maximski has quit []
choi0hun has joined #ruby
jack_rabbit has quit [Ping timeout: 252 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
troyreadyy has quit [Ping timeout: 264 seconds]
mame0 has joined #ruby
CodeBunny has quit [Ping timeout: 276 seconds]
wookiehangover has quit [Ping timeout: 240 seconds]
troyreadyy has joined #ruby
bricker`LA has joined #ruby
chipotle has quit [Quit: cya]
ahmdrefat__ has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
bakflash has joined #ruby
Hanmac has joined #ruby
lolmaus has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
ahmdrefat_ has quit [Ping timeout: 258 seconds]
<AntelopeSalad> what can i do so that i can change this: '#{ENV["FOO"]}' , into this... '#{ENV['FOO']}' without it being a syntax error?
matchaw has quit [Ping timeout: 264 seconds]
<AntelopeSalad> i want that string to be output as is (literally), and not to be evaluated -- that's why i used single quotes on the outside
<AntelopeSalad> but i have no idea how to escape the #{} if contained in double quotes and googling on that topic is proving to be difficult
<DouweM> '#{ENV[\'x\']}'
<AntelopeSalad> i thought when inside of single quotes you can't escape stuff?
<AntelopeSalad> like \n would be output as \n literally
lkba has joined #ruby
Martxel has joined #ruby
Morkel has quit [Ping timeout: 264 seconds]
Morkel_ has joined #ruby
oo_ has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
<DouweM> sure, but you can still escape ' itself
<DouweM> you need to if you ever want a ' inside your string
<AntelopeSalad> ah, i didn't know there was an exception made for ' itself
<AntelopeSalad> thanks
Arkaniad has quit [Ping timeout: 258 seconds]
pskosinski has joined #ruby
anaeem1 has joined #ruby
shredding has joined #ruby
wchun has quit [Ping timeout: 276 seconds]
e^0 has quit [Quit: WeeChat 0.4.1]
<apeiros> AntelopeSalad: in single quotes, there are 2 escapes only: \\ and \'
<apeiros> everything else is taken literally
kirun has joined #ruby
<apeiros> AntelopeSalad: you could use %q{}, no escapes needed there (works like single quote)
<apeiros> >> puts %q{#{ENV['FOO']}}
<eval-in_> apeiros => #{ENV['FOO']} ... (https://eval.in/149595)
danshultz has joined #ruby
<AntelopeSalad> oh
timonv has joined #ruby
Hanmac has quit [Ping timeout: 276 seconds]
alem0lars has joined #ruby
mjs2600_ has joined #ruby
mjs2600_ has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 265 seconds]
rylev has joined #ruby
arianit has quit [Ping timeout: 250 seconds]
Hanmac has joined #ruby
LadyRainicorn has joined #ruby
sqwirl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_Andres has quit [Read error: Connection reset by peer]
orthos has joined #ruby
mityaz has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
danshultz has quit [Ping timeout: 258 seconds]
razrunelord has joined #ruby
ktun has joined #ruby
gener1c has joined #ruby
zorak has quit [Ping timeout: 265 seconds]
<gener1c> what is the best protocol for transferring ALOT of little files between 2 servers
<jhass> I'd say tar | scp | tar or rsync
<gener1c> taw isnt a network protocol :\
<apeiros> PCP, pigeon carrier protocol
<apeiros> excels in low latency situations
<gener1c> hehehe apeiros good one :P
<gener1c> thats best for huge files not little ones
matchaw has joined #ruby
mehlah has joined #ruby
<apeiros> gener1c: you don't parallelize enough!
sunya7a has joined #ruby
<apeiros> aaah, damit, I forgot that I broke my migration code :-S
<apeiros> f'ing enum types with their special needs…
razrunelord has quit [Ping timeout: 255 seconds]
chrisseaton has joined #ruby
lsmola has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
orthos has quit [Remote host closed the connection]
rylev has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 265 seconds]
sqwirl has joined #ruby
parduse has quit []
mikecmpbll has joined #ruby
rylev has joined #ruby
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
mehlah has quit [Ping timeout: 258 seconds]
parduse has joined #ruby
sinkensabe has quit [Ping timeout: 276 seconds]
shredding has quit [Quit: shredding]
shvelo has joined #ruby
zorak has joined #ruby
alem0lars has quit [Quit: alem0lars]
mehlah has joined #ruby
phoo1234567 has joined #ruby
dangerousdave has joined #ruby
Pynix has joined #ruby
frobrob has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
dev1x has quit [Ping timeout: 240 seconds]
Pynix has quit [Client Quit]
fgo_ has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
aiguu has quit [Ping timeout: 265 seconds]
lsmola has quit [Ping timeout: 252 seconds]
KanKava has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
ahmdrefat__ has quit [Read error: Connection reset by peer]
ahmdrefat__ has joined #ruby
jxf has joined #ruby
alex88 has quit [Ping timeout: 245 seconds]
ti-wali has joined #ruby
mercerist has joined #ruby
andrewlio has quit [Ping timeout: 240 seconds]
kitak has joined #ruby
blueOxigen has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
andrewlio has joined #ruby
havenwood has joined #ruby
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
mercerist has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
anaeem1 has quit [Remote host closed the connection]
LadyRainicorn has quit [Read error: Connection reset by peer]
ahmdrefat__ has quit [Quit: Computer has gone to sleep.]
LadyRainicorn has joined #ruby
ahmdrefat__ has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
eka has joined #ruby
sent-hil has quit [Quit: Connection closed for inactivity]
ahmdrefat___ has joined #ruby
rylev has quit [Ping timeout: 252 seconds]
zorak has quit [Ping timeout: 276 seconds]
ahmdrefat__ has quit [Ping timeout: 240 seconds]
<AntelopeSalad> gener1c: how about git?
ahmdrefat___ has quit [Ping timeout: 276 seconds]
sinkensabe has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
JasmeetQA has quit [Client Quit]
sinkensabe has joined #ruby
matchaw has quit [Ping timeout: 258 seconds]
bwwrd has joined #ruby
sepp2k has joined #ruby
<bwwrd> hey folks ..
<bwwrd> I'm trying to find a way to round UPwards to the nearest number divisible by n
<bwwrd> and find the distance
cjsarette has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
sinkensabe has quit [Ping timeout: 252 seconds]
<bwwrd> for example; say i want to find the distance to the next number divisible by 5..
<bwwrd> current number is 2
<bwwrd> the distance is 3
<apeiros> bwwrd: so what have you tried?
memorozovm has joined #ruby
<bwwrd> i'm stuck for ideas, i've been playing around with modulo, and Integer::round, but I can't see a way to do it without some ugly procedural mess
zorak has joined #ruby
mjs2600_ has joined #ruby
<apeiros> please show me at least one approach of your own, no matter whether it works
choi0hun has quit [Remote host closed the connection]
<bwwrd> ok..hold on
JBreit has joined #ruby
<apeiros> gist.github.com is a good place to share :)
<LadyRainicorn> -x % y
yfeldblum has quit [Ping timeout: 264 seconds]
mjs2600_ has quit [Remote host closed the connection]
<LadyRainicorn> but only if x > 0
WillAmes has quit [Remote host closed the connection]
<apeiros> oh, that's elegant LadyRainicorn
razrunelord has joined #ruby
<apeiros> my initial one: num.quo(n).ceil*n - num, haven't tested against num < 0. I didn't use modulo because my variant with it needed branching.
WillAmes has joined #ruby
zorak has quit [Ping timeout: 252 seconds]
<apeiros> LadyRainicorn: yours is correct for x < 0 too I'd say
<LadyRainicorn> (-% actually works with n<=0 too, but the rules of that are odd)
<bwwrd> ah, (x%y)-y gives me the right number but in negative
freggles has quit [Remote host closed the connection]
sunya7a has joined #ruby
thomasxie has quit [Quit: Leaving.]
<LadyRainicorn> bwwrd: Consider x == y
freggles has joined #ruby
gigo1980 has quit [Quit: Leaving.]
thomasxie has joined #ruby
razrunelord has quit [Ping timeout: 258 seconds]
maximski has joined #ruby
alex88 has joined #ruby
<bwwrd> LadyRainicorn ah, yes that presents a problem; (5%5)-5
<bwwrd> => -5
mikecmpbll has quit [Quit: i've nodded off.]
<LadyRainicorn> bwwrd: -x % y does what you want.
sunya7a has quit [Ping timeout: 258 seconds]
<bwwrd> perfect, thanks!!
<bwwrd> :)
rylev has joined #ruby
<apeiros> x % y - y was my approach with modulo too, and x % y == 0 was the branching point ;-)
<apeiros> (which is why I abandoned it)
mikecmpbll has joined #ruby
bluenemo has joined #ruby
jimbauds has joined #ruby
alex88 has quit [Quit: Leaving...]
rylev has quit [Ping timeout: 276 seconds]
zorak has joined #ruby
Megtastique has joined #ruby
andrewlio has quit [Quit: Leaving.]
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arianit has joined #ruby
senayar has joined #ruby
head_ has joined #ruby
head_ has quit [Client Quit]
head_ has joined #ruby
speakingcode has quit [Ping timeout: 252 seconds]
JBreit has quit [Ping timeout: 252 seconds]
maroloccio has joined #ruby
roshanavand has joined #ruby
tcurdt has joined #ruby
bwwrd has quit [Quit: Textual IRC Client: www.textualapp.com]
head_ has quit [Quit: leaving]
zorak is now known as zorak8
zorak8 has quit [Quit: Saliendo]
timonv has joined #ruby
zorak8 has joined #ruby
garbagecollectio has joined #ruby
s3ri0us has joined #ruby
_bart has quit [Quit: leaving]
blackmesa has joined #ruby
JBreit has joined #ruby
bricker`LA has quit [Ping timeout: 265 seconds]
cjsarette has joined #ruby
eighthbit has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
Squarepy has quit [Ping timeout: 258 seconds]
arianit has quit [Quit: Ex-Chat]
tcurdt has quit [Quit: bye bye]
cjsarette has quit [Max SendQ exceeded]
mjs2600 has joined #ruby
vlad_starkov has joined #ruby
bluenemo has quit [Ping timeout: 240 seconds]
happytux has quit [Read error: Connection reset by peer]
Olipro has quit [*.net *.split]
justinxreese has quit [*.net *.split]
zly has quit [*.net *.split]
aviator77 has joined #ruby
happytux has joined #ruby
aviator77 has quit [Client Quit]
sski has quit [Remote host closed the connection]
atmosx has quit [Quit: Lost in trance]
cjsarette has joined #ruby
aviator7 has joined #ruby
sski has joined #ruby
cjsarette has quit [Max SendQ exceeded]
kies has quit [Read error: No route to host]
garbagecollectio has quit [Quit: garbagecollectio]
ktun has joined #ruby
sski has quit [Ping timeout: 240 seconds]
Slavox is now known as Slavox|AFK
<shevy> hello world!
jxf has quit [Ping timeout: 240 seconds]
JBreit has quit [Read error: Connection reset by peer]
lsmola_ has joined #ruby
thomasxie has quit [Quit: Leaving.]
mjs2600 has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
AlSquire has joined #ruby
memorozovm has quit []
<matti> Hi shevy
<shevy> hey matti you old horse
<matti> ;S
<matti> Don't remind me.
<matti> And don't put me down either yet
<matti> ;]
Connie has joined #ruby
moritzs has quit [Ping timeout: 240 seconds]
lsmola_ has quit [Ping timeout: 252 seconds]
JBreit has joined #ruby
rylev has joined #ruby
justinxreese has joined #ruby
zly has joined #ruby
Olipro has joined #ruby
JBreit has left #ruby [#ruby]
Olipro has quit [Max SendQ exceeded]
zakiazigazi has joined #ruby
<shevy> haha
cjsarette has joined #ruby
Olipro has joined #ruby
badhatter has quit [Ping timeout: 276 seconds]
cjsarette has quit [Max SendQ exceeded]
badhatter_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
yfeldblum has joined #ruby
bricker`LA has joined #ruby
rylev has quit [Ping timeout: 265 seconds]
rylev has joined #ruby
zakiazigazi has quit [Client Quit]
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
cjsarette has joined #ruby
cjsarette has quit [Max SendQ exceeded]
dh64 has quit [Quit: Konversation terminated!]
gregf has joined #ruby
lsmola has joined #ruby
chrisseaton has quit []
fukuyamaken has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 258 seconds]
fukuyamaken has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
aiguu has joined #ruby
timonv has joined #ruby
cjsarette has joined #ruby
razrunelord has joined #ruby
BizarreCake has joined #ruby
cjsarette has quit [Max SendQ exceeded]
sunya7a has joined #ruby
sinkensabe has joined #ruby
aiguu has quit [Ping timeout: 240 seconds]
ndrei has quit [Quit: Lost terminal]
m8 has joined #ruby
Rainicorn has joined #ruby
lxsameer has quit [Quit: Leaving]
razrunelord has quit [Ping timeout: 264 seconds]
lsmola has quit [Ping timeout: 250 seconds]
Olipro has quit [*.net *.split]
justinxreese has quit [*.net *.split]
zly has quit [*.net *.split]
parduse has quit []
sunya7a has quit [Ping timeout: 258 seconds]
lsmola has joined #ruby
pontiki has joined #ruby
parduse has joined #ruby
LadyRainicorn has quit [Ping timeout: 240 seconds]
bluenemo has joined #ruby
Squarepy has joined #ruby
lsmola has quit [Ping timeout: 252 seconds]
jhass is now known as jhass|off
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
cjsarette has joined #ruby
chipotle has joined #ruby
lsmola has joined #ruby
Olipro has joined #ruby
zly has joined #ruby
justinxreese has joined #ruby
momomomomo has joined #ruby
Olipro has quit [Max SendQ exceeded]
justinxreese has quit [*.net *.split]
zly has quit [*.net *.split]
MrWharfsnort has joined #ruby
momomomomo has quit [Client Quit]
jhass|off is now known as jhass
lsmola has quit [Ping timeout: 252 seconds]
einarj has joined #ruby
<shevy> hmm I thought having empty CFLAGS is good
<shevy> but then some program suddenly screams that it won't compile unless optimizations were set
<shevy> :\
e^0 has joined #ruby
lsmola has joined #ruby
mercwithamouth has joined #ruby
Rainicorn has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
LadyRainicorn has joined #ruby
shvelo has quit [Ping timeout: 240 seconds]
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matchaw has joined #ruby
chrisseaton has joined #ruby
ascarter has quit [Client Quit]
Chosen has joined #ruby
<Chosen> yo. what are the advantages of ruby?
WishBoy has joined #ruby
<Chosen> over other languages?
jonno11 has joined #ruby
<Chosen> lets say ruby vs lisp+slime? why would we desire ruby?
tyll has quit [Ping timeout: 240 seconds]
<Squarepy> it is rubyliscious
rdark has joined #ruby
<Chosen> are there any interactive environments for ruby? Can you compile, load, and test a function without building the entire project? Can you get auto-complete like visual studio or slime?
tyll has joined #ruby
<shevy> Chosen readable source code
<shevy> (if(you(can(say'the same about lisp then you have good eyes
<Chosen> i like c# and lisp because you get real intellisense with microsoft VS or ac-slime. lisp 1 ups c# by having the dev environemnt live while you are programming, but C# is still nice despite that fact due to the quality Visual Studio taht understands code despite it not being "live".
Rainicorn has joined #ruby
<shevy> are you talking about a programming language or an IDE
lsmola has quit [Ping timeout: 252 seconds]
<Chosen> both. REally the entire dev experience with language + environemnt for developing.
<shevy> aha ok, well then ruby isn't for ya, the IDEs suck
<Chosen> becuase modern langauges are not just about the lanugage itself. ABout the productivity.
<shevy> yeah yeah and you require an IDE ;)
<Chosen> high levle languaes point is for ease and productivity. The tools are a different thing but for the same goal.
<shevy> kk so languages that won't require an IDE are wrong
<Chosen> Yes I do. But does ruby have an IDE? doesnt' ahve to be an "IDE". IT could just be an interactive living environment like lisp with SLIME.
<shevy> ruby just laughs about IDEs
<shevy> you can try to get closer to an interactive environment via irb and pry
chipotle has quit [Quit: cya]
paradoja has joined #ruby
garbagecollectio has joined #ruby
LadyRainicorn has quit [Ping timeout: 264 seconds]
happytux has quit [Ping timeout: 252 seconds]
<shevy> given that you can change just about any aspect of ruby at runtime, this is pretty close to "interactive living environment". objects can be located through ObjectSpace, their id's and semi-introspection like .source_location
chipotle has joined #ruby
<Chosen> i guess i don't need ruby to have an "IDE". But an interactive living environemtn that can be modified in real time as you develop would be nice. Like with SLIME
<Chosen> hmmmm
<AntelopeSalad> RubyMine is probably the best "ide" for ruby
chipotle has quit [Client Quit]
tvw has quit []
lw has joined #ruby
<Chosen> shevy. Lets set you make a new function. Can this function be applied to a living running program as you are developing? OR must there be a separate "run entire program now" to test the new function.
<shevy> Chosen well, you can modify objects at runtime freely; with Readline, you have tab completion for all methods on objects
gordon_ has joined #ruby
aspiers has quit [Ping timeout: 240 seconds]
<shevy> yes, as written above, you modify an object and can use it right after you did so
chipotle has joined #ruby
<Chosen> oh sweet
<gordon_> hello can anyone recommend me what ruby manager should I use? I mean rvm, rbenv or chruby ?
<Chosen> lets say you have a runnign program. Can you add a new function and apply it to the live running instance?
<shevy> didn't you just ask that before ;)
<Chosen> yes, but just want to be sure.
<shevy> hehehe
chipotle has quit [Client Quit]
<Chosen> cuz there is a subtle difference in adding functions to a live environemtn and adding them to a "dead" environemnt of text files then running the program separately.
<shevy> if you with instance mean an instance of a class, e.g. an object, yes. class Cat; end; cat = Cat.new; def cat.meow; puts 'MEOW!!!'; end; cat.meow()
e^0 has quit [Ping timeout: 240 seconds]
<shevy> I thought I implied that when writing at runtime! :P
<shevy> there are no compile-cycles in ruby though
chipotle has joined #ruby
<shevy> just the ruby parser looking for silly things you may have done
<shevy> like
<shevy> 0 / 0
<Chosen> ok. looks like ruby could work for me then. If i get into it I will make a SLIME for ruby.
bricker`LA has quit [Ping timeout: 245 seconds]
<Chosen> i dont' think ruby has any tool as good as SLIME so I will make one assuming the langauge has the properties required for a SLIME like environment.
agjacome has joined #ruby
MZAWeb_ has joined #ruby
<shevy> eh that all sounds known, you should check out pry http://pryrepl.org/ I am sure they have implemented a few ideas, look at the screencasts
<Chosen> shevy. I doubt they coudl ahve. Ruby is not a parse tree so it is very unlikely they can match teh parsing of SLIME against a lisp.
<shevy> the only thing I want is a squeak like VM
<Mon_Ouie> I wrote this around Pry https://github.com/Mon-Ouie/ruby-dev.el There's some trouble due to the difference between a lisp and Ruby
<Mon_Ouie> e.g. you have to re-evaluate the whole class definition to add a new method typically
<Chosen> parsing ruby woudl be a big task. Maybe I can't implement slime for it. For lisp they had it easy sicne ti's already parsed via the parentheses.
<AntelopeSalad> i don't think you can ever have flawless code complete with ruby due to some of its language features
chipotle has quit [Client Quit]
<AntelopeSalad> how would you auto complete a method that a class creates at runtime?
rylev has quit []
<Chosen> you couldn't.
sqwirl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has quit [Ping timeout: 240 seconds]
<shevy> AntelopeSalad you could re-evaluate everything before you try to invoke a method in a VM
<Mon_Ouie> ruby-mode in Emacs (originally written by Matz as it happens) has functions that allow you to move through a "sexp" (it treats def foo(bar); …; end as a sexp)
<Rainicorn> AntelopeSalad: introspection
happytux has joined #ruby
<Mon_Ouie> Rainicorn: But that's only if the code that create the method has already been run
juni0r has joined #ruby
<Rainicorn> Yes.
grieg has joined #ruby
<Chosen> you could comple it with a quick keyboard shortcut
<AntelopeSalad> i'm guessing doing that is a difficult task?
garbagecollectio has quit [Quit: garbagecollectio]
<Mon_Ouie> You wouldn't want to run all of the code automatically, e.g. if the application does modification to the file system
hgl has quit [Ping timeout: 265 seconds]
p8952 has quit [Ping timeout: 265 seconds]
<Chosen> do you all use emacs for your ruby dev?
<Mon_Ouie> I do
<Chosen> yay!
maximski has joined #ruby
Asher has quit [Remote host closed the connection]
Asher has joined #ruby
<Chosen> are emacs modes the state of the art for ruby dev? Or are dedicated programs the state of the art?
<Chosen> (Or vim modes)
<gordon_> ok my error was due to login-shell
LadyRainicorn has joined #ruby
hgl has joined #ruby
Rainicorn has quit [Ping timeout: 245 seconds]
<Mon_Ouie> I really don't know, I tend to do stuff in Emacs simply because it's more convenient for me. I'm sure there are things that I haven't bothered with though.
rostam has quit [Remote host closed the connection]
ashp has joined #ruby
einarj has quit [Read error: Connection reset by peer]
<ashp> Any experienced parslet users here? I'm having a hell of a time and everything I do seems to make my parsing attempt worse :(
frankS2 has quit [Read error: Connection reset by peer]
einarj has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<Chosen> i do the same thing. Emacs for everythign i can. Only exception is when I need visual drag and drop for things like Microsoft GUI apps.
sinkensabe has joined #ruby
<Chosen> drag n drop layouts!!! emacs for the text stuff
gordon_ has left #ruby [#ruby]
Nexus_x1_ has joined #ruby
<Nowaker> init=/usr/bin/emacs, huh? ;)
<Chosen> don't know parslet but what are yout ryign to parse. I might be able to parse it for you
psyko666 has joined #ruby
<Chosen> i can parse *anything*
rostam has joined #ruby
<Chosen> i can parse on a train.
<Chosen> i can parse on a plane.
<shevy> can you parse self?
<Chosen> si
aspiers has joined #ruby
<shevy> well
yvemath has joined #ruby
<shevy> you can't parse *everything*
<shevy> you can't parse a parser parsing self for instance
<Chosen> actually you can with a macro.
sinkensabe has quit [Ping timeout: 240 seconds]
<ashp> Chosen: I'm trying to use it to parse iptables-save
oo_ has joined #ruby
<ashp> I've spent like.. 6 hours screwing around with this and I'm trying a new approach that works even worse
oo_ has quit [Read error: Connection reset by peer]
<ashp> (originally I was doing an .each_line and parsing each in turn, now I'm trying to parse the entire file at once so I can have sections bigger than a single line
<Chosen> i dont' know what iptables-save is. I'm actually not a ruby person. but....
<ashp> iptables-save is just the output from iptables on linux
<ashp> it's basically a list of firewall rules
<ashp> that's where I got up to last night but it doesn't work at all
Chosen has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
parduse has quit []
<ashp> I was envisioning breaking a -A INPUT -b blah -c blah -d ! blah -e blah ! thing into a bunch of "pieces", from the argument up until the next
alex88 has joined #ruby
p8952 has joined #ruby
razrunelord has joined #ruby
oo_ has joined #ruby
sunya7a has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
parduse has joined #ruby
Macaveli has joined #ruby
<shevy> haha Chosen disappeared
razrunelord has quit [Ping timeout: 245 seconds]
sunya7a has quit [Ping timeout: 250 seconds]
oo__ has joined #ruby
m00nlight has quit [Read error: Connection reset by peer]
oo__ has quit [Read error: Connection reset by peer]
<ashp> :D
spyderma_ has joined #ruby
oo_ has joined #ruby
edwardly has quit [Excess Flood]
edwardly has joined #ruby
MrRojojojo has quit [Ping timeout: 240 seconds]
endash has joined #ruby
spyderman4g63 has quit [Ping timeout: 265 seconds]
WormDrink has joined #ruby
hgl has quit [Ping timeout: 255 seconds]
MZAWeb_ has quit [Ping timeout: 258 seconds]
oo_ has quit [Ping timeout: 276 seconds]
shvelo has joined #ruby
spider-mario has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 240 seconds]
moritzs has joined #ruby
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
gener1c has quit [Read error: No route to host]
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
Alina-malina has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
MZAWeb_ has joined #ruby
oo_ has joined #ruby
chrisseaton has quit []
oo_ has quit [Read error: Connection reset by peer]
matchaw has quit [Ping timeout: 276 seconds]
oo___ has joined #ruby
oo____ has joined #ruby
oo____ has quit [Read error: Connection reset by peer]
MrRojojojo has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
LadyRainicorn has joined #ruby
doodlehaus has joined #ruby
MrWharfsnort has quit [Ping timeout: 245 seconds]
shvelo has quit [Ping timeout: 250 seconds]
flowerhack has joined #ruby
oo___ has quit [Ping timeout: 240 seconds]
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
Akuma has quit [Ping timeout: 265 seconds]
MZAWeb_ has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
alexju has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
Matip has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
bricker`LA has joined #ruby
ta has quit [Remote host closed the connection]
sinkensabe has joined #ruby
rdark has quit [Quit: leaving]
Mattx has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
s2013 has quit [Remote host closed the connection]
fukuyamaken has quit [Remote host closed the connection]
ta has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
xea has quit [Ping timeout: 245 seconds]
endash has quit [Quit: endash]
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
xea has joined #ruby
zcreative has joined #ruby
zcreative has quit [Client Quit]
matchaw has joined #ruby
phoo1234567 has quit [Quit: Leaving]
_Andres has joined #ruby
oo__ has joined #ruby
phoo1234567 has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
oo_ has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
oo__ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
oo__ has quit [Read error: Connection reset by peer]
matchaw_ has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
grieg has quit [Quit: Leaving]
pwh has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
jonno11 has joined #ruby
paradoja has quit [Ping timeout: 276 seconds]
zorak8 has quit [Ping timeout: 265 seconds]
oo__ has joined #ruby
matchaw has quit [Ping timeout: 276 seconds]
oo__ has quit [Read error: Connection reset by peer]
matchaw_ has quit [Read error: Connection reset by peer]
bluenemo has quit [Quit: Verlassend]
yfeldblum has joined #ruby
endash has joined #ruby
endash has quit [Client Quit]
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
oo__ has joined #ruby
lukec has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
cina has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
relix has joined #ruby
timonv has quit [Remote host closed the connection]
relix has quit [Max SendQ exceeded]
timonv has joined #ruby
oo__ has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
relix has joined #ruby
sunya7a has joined #ruby
LadyRainicorn has joined #ruby
no6 has joined #ruby
razrunelord has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
oo_ has quit [Ping timeout: 276 seconds]
oo__ has quit [Read error: Connection reset by peer]
Rainicorn has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 250 seconds]
zorak8 has joined #ruby
gener1c has joined #ruby
Slavox|AFK is now known as Slavox
relix has quit [Ping timeout: 252 seconds]
sunya7a has quit [Ping timeout: 258 seconds]
razrunelord has quit [Ping timeout: 276 seconds]
matchaw has joined #ruby
wallerdev has joined #ruby
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
RohanRNS has joined #ruby
IceDragon has joined #ruby
oo__ has joined #ruby
codeurge has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
s3ri0us has quit [Quit: Leaving...]
chrisseaton has joined #ruby
oo_ has joined #ruby
fukuyamaken has joined #ruby
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
oo__ has joined #ruby
momomomomo has joined #ruby
tkuchiki has joined #ruby
oo___ has joined #ruby
oo_ has quit [Ping timeout: 276 seconds]
oo___ has quit [Read error: Connection reset by peer]
maximski has quit []
_bart has joined #ruby
oo_ has joined #ruby
oo__ has quit [Ping timeout: 240 seconds]
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
<_bart> Hi, what's a quick way to turn an integer (1..7) to a day name with 1 meaning monday and 7 sunday?
oo_ has quit [Read error: Connection reset by peer]
except has joined #ruby
oo_ has joined #ruby
oo__ has joined #ruby
<_bart> Ah I found Date::DAYNAMES
<_bart> Sweet
oo__ has quit [Read error: Connection reset by peer]
<Mon_Ouie> Don't forget to handle Sunday properly with it though
atmosx has joined #ruby
<_bart> Yea I noticed
einarj has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
oo_ has quit [Ping timeout: 240 seconds]
Rainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
relix has joined #ruby
s2013 has quit [Ping timeout: 240 seconds]
relix has quit [Max SendQ exceeded]
alexherbo2 has quit [Quit: WeeChat 0.4.3]
pwh has quit []
lolmaus has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 245 seconds]
relix has joined #ruby
relix has quit [Max SendQ exceeded]
Mon_Ouie has quit [Ping timeout: 264 seconds]
relix has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
zms has joined #ruby
relix has quit [Max SendQ exceeded]
Slavox is now known as Slavox|AFK
<_bart> A simple % 7 on the index does the trick
relix has joined #ruby
relix has quit [Max SendQ exceeded]
relix has joined #ruby
kies has joined #ruby
kilk_ has joined #ruby
oo__ has joined #ruby
alex88 has quit [Quit: Leaving...]
timonv has joined #ruby
Megtastique has quit []
St_Marx has quit [Remote host closed the connection]
mesamoo has joined #ruby
kilk_ has quit [Client Quit]
St_Marx has joined #ruby
kilk_ has joined #ruby
Slavox|AFK is now known as Slavox
oo__ has quit [Ping timeout: 276 seconds]
IcyDragon has joined #ruby
oo__ has joined #ruby
freerobby has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
oo_ has joined #ruby
Fire-Dragon-DoL has joined #ruby
WishBoy has quit [Remote host closed the connection]
WishBoy has joined #ruby
lkba has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
wallerdev has quit [Quit: wallerdev]
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
IcyDragon is now known as IceDragon
oo_ has quit [Ping timeout: 240 seconds]
Rainicorn has joined #ruby
oo_ has joined #ruby
ahmdrefat___ has joined #ruby
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Read error: Connection reset by peer]
crazedpsyc is now known as crazedpsyc`
crazedpsyc` is now known as crazedpsyc
gener1c has quit [Remote host closed the connection]
ktun has joined #ruby
nihils has joined #ruby
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
Arkaniad has joined #ruby
LadyRainicorn has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
codeurge has joined #ruby
kilk_ has quit [Quit: kilk_]
oo_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
oo__ has joined #ruby
tcurdt has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
kilk_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
gorpon has joined #ruby
sinkensabe has joined #ruby
oo_ has joined #ruby
chrisseaton has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
oo_ has quit [Read error: Connection reset by peer]
Snarkz has joined #ruby
vasilakisfil has joined #ruby
sunya7a has joined #ruby
fgo_ has quit [Remote host closed the connection]
oo__ has joined #ruby
freerobby has quit [Quit: Leaving.]
sinkensabe has quit [Ping timeout: 276 seconds]
JacobHayes has joined #ruby
oo___ has joined #ruby
oo___ has quit [Read error: Connection reset by peer]
Osz has joined #ruby
bean has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
julian-delphiki has quit [Ping timeout: 264 seconds]
Osz has quit [Killed (idoru (Spam is off topic on freenode.))]
predator117 has quit [Ping timeout: 240 seconds]
MrRojojojo has quit [Ping timeout: 252 seconds]
Rojo has joined #ruby
Kls has joined #ruby
oo__ has quit [Ping timeout: 240 seconds]
sunya7a has quit [Ping timeout: 258 seconds]
<Kls> does anyone have any pointers on how I can use the parser library to construct a formatter?
northfurr has quit [Quit: northfurr]
Burgestrand has joined #ruby
<Kls> mainly I'm looking for an example of how I might be able to convert tabs to spaces and vice versa
agrinb has joined #ruby
predator117 has joined #ruby
ghr has joined #ruby
northfurr has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
speakingcode has joined #ruby
<shevy> no idea for a parser library, but the last sentence you described seems to be a File.readlines('your_file').map {|line| line.gsub(/\t/,' ') }
linduxed has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 265 seconds]
eighthbit has joined #ruby
ahmdrefat____ has joined #ruby
sebastianb has joined #ruby
sebastianb is now known as zly
oo_ has joined #ruby
kilk_ has quit [Quit: kilk_]
<Kls> gives an example of aligning assignments, but im not comprehending how to apply this sort of thing to indentation thst preserves relative indentation.
oo__ has joined #ruby
linduxed has joined #ruby
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahmdrefat___ has quit [Ping timeout: 240 seconds]
caveat- has quit [Ping timeout: 245 seconds]
oo_ has quit [Ping timeout: 240 seconds]
hl has quit [Ping timeout: 260 seconds]
Cache_Money has joined #ruby
Cache_Money has quit [Client Quit]
caveat- has joined #ruby
pen has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
Sthebig has quit [Ping timeout: 255 seconds]
pen has joined #ruby
pen has quit [Remote host closed the connection]
timonv has joined #ruby
hl has joined #ruby
Megtastique has joined #ruby
jmaya has joined #ruby
einarj has joined #ruby
Sthebig has joined #ruby
yvemath has quit [Excess Flood]
tobago has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 265 seconds]
bluOxigen has joined #ruby
tcurdt has quit [Quit: bye bye]
einarj has quit [Ping timeout: 240 seconds]
carraroj has joined #ruby
fgo has joined #ruby
KAO has joined #ruby
centrx has joined #ruby
roshanavand has quit [Quit: Gone!]
bakflash has quit [Remote host closed the connection]
bakflash has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
mesamoo has quit [Quit: Konversation terminated!]
ghr has joined #ruby
Jnco has joined #ruby
robbyoconnor has joined #ruby
ju57in has joined #ruby
<Jnco> Hey all, my friend Ju57in and I had a question, working with a form, and we are knocking our heads
jmaya has quit [Ping timeout: 245 seconds]
amclain has joined #ruby
Xaitec has joined #ruby
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> Jnco, Ask your question.
<Jnco> :)
<ju57in> Hey all, Jnco and I are fighting with a stripe form and either getting an overlapping coupon or undefined method. Here is the view for the settings http://pastebin.com/uEwtZn9z
<apeiros> It's a trap!
ghr has quit [Ping timeout: 252 seconds]
<apeiros> you'll be sent to #rubyonrails immediately after asking!
<ju57in> here is our error.. http://pastebin.com/YYRNi4R7
<ju57in> and the profile controller.. http://pastebin.com/nvbQ0GCw
<apeiros> ju57in: so params[:company] is not set (returns nil)
gorpon has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
KAO has quit [Ping timeout: 276 seconds]
badhatter^ has joined #ruby
<apeiros> note: use gist. besides being far less annoying, you can also paste multiple files in one gist.
mary5030 has joined #ruby
<ju57in> If we have the form correctly closed, it throws an error. if the form is not closed stripe works and also the coupons, but it accepts any submit from the page and triggers the coupon
VTLob has joined #ruby
<ju57in> apeiros: will do that.
psyko666 has quit [Remote host closed the connection]
<apeiros> since you use erb and not something like haml - check the resulting DOM
<apeiros> the erb is impenetrable and hard to see where you mess up tags
<shevy> is there a way to update a gem without having to use the commandline?
Megtastique has quit []
badhatter_ has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
tyll has quit [Ping timeout: 276 seconds]
_bart has quit [Quit: leaving]
wallerdev has joined #ruby
mary5030 has quit [Remote host closed the connection]
tyll has joined #ruby
<ju57in> apeiros: so it's the tags that are throwing the error?
<apeiros> ju57in: no, it's your controller which is raising the error.
<apeiros> ju57in: and it raises it because - as I already said - params[:company] is not set (returns nil)
<apeiros> ju57in: and you can see that in http://pastebin.com/YYRNi4R7 - the part where it says "Parameters:"
yfeldblum has joined #ruby
<apeiros> ju57in: and now you have to figure out why :company is not in your params.
<apeiros> besides, your controller has far too much logic in it
<Jnco> we are weeding out a rats nest
gigo1980 has joined #ruby
freerobby has quit [Ping timeout: 250 seconds]
<shevy> haha
shredding has joined #ruby
* apeiros hands Jnco a flamethrower
<ju57in> a big rats nest
<apeiros> kill it. with fire. good luck.
<ju57in> big as cats.
<shevy> down with those furry stinkers
pen has joined #ruby
<Jnco> I wonder where to set params:[company]
alexa_ has joined #ruby
<Jnco> you have to understand we outsourced a lot of this development now we are doing our best to learn and also dev at the same time , justin is a lot better then me, heh
yfeldblum has quit [Ping timeout: 252 seconds]
<Jnco> we are still searching around in teh dark
<Jnco> is this like defining company
sunya7a has joined #ruby
<Jnco> Justin is saying it is set but not passing through when the form is closed
fgo has joined #ruby
dsdeiz_ has quit [Ping timeout: 265 seconds]
<Jnco> on line 44 instead of the bottom on http://pastebin.com/uEwtZn9z
havenwood has joined #ruby
<Jnco> why would the opening or closing of the form ... hmm
fgo_ has joined #ruby
razrunelord has joined #ruby
saarinen has joined #ruby
jonno11 has joined #ruby
happytux has quit [Ping timeout: 255 seconds]
gorpon has joined #ruby
no6 has quit [Ping timeout: 255 seconds]
fgo has quit [Ping timeout: 240 seconds]
sunya7a has quit [Ping timeout: 250 seconds]
<shevy> rewrite from scratch man
<Jnco> seriously?
<ju57in> i know. believe me. the more I am learning the more I am seeing its running on duct tape and hamsters.
fgo_ has quit [Ping timeout: 240 seconds]
razrunelord has quit [Ping timeout: 240 seconds]
<ju57in> Just need this last bit working so site can stay running while rebuilding..
benwoody has joined #ruby
benwoody has quit [Client Quit]
nihils has quit [Quit: Linkinus - http://linkinus.com]
Kls has quit [Remote host closed the connection]
mikemac has quit [Quit: Konversation terminated!]
mikemac has joined #ruby
<ju57in> join/ #rubyonrails
mikemac is now known as crazymykl
<shevy> ju57in haha why hamsters?
<ju57in> shevy: they are smelly.
blackmesa has joined #ruby
saarinen has quit [Quit: saarinen]
cina has quit [Ping timeout: 276 seconds]
prc has joined #ruby
s2013 has joined #ruby
alem0lars has joined #ruby
<shevy> lol
Hanmac1 has joined #ruby
freerobby has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
sdwrage has joined #ruby
mr_snowf1ake has quit [Ping timeout: 264 seconds]
subbyyy_ has joined #ruby
John_John_ has joined #ruby
yvemath has joined #ruby
<John_John_> does rails 4 support real time applications through websockets or any other technology ?
akonny has joined #ruby
<jhass> John_John_: #rubyonrails
pen has quit [Remote host closed the connection]
<Rainicorn> Yes
<Rainicorn> websockets
benzrf|offline has quit [Ping timeout: 250 seconds]
meatherly has joined #ruby
Hanmac has joined #ruby
chrisseaton has joined #ruby
benzrf has joined #ruby
shevy has quit [Ping timeout: 276 seconds]
Hanmac1 has quit [Ping timeout: 240 seconds]
eynj has joined #ruby
Slavox is now known as Slavox|AFK
s2013_ has joined #ruby
s2013 has quit [Ping timeout: 265 seconds]
benzrf is now known as benzrf|offline
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cjsarette has quit [Excess Flood]
yfeldblum has joined #ruby
predator117 has quit [Ping timeout: 250 seconds]
ahmdrefat_____ has joined #ruby
codeurge has joined #ruby
pen has joined #ruby
yfeldblu_ has joined #ruby
sdwrage has quit [Quit: Leaving]
ahmdrefat____ has quit [Ping timeout: 240 seconds]
cjsarette has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
paradoja has joined #ruby
paradoja has left #ruby ["Killed buffer"]
John_John_ has left #ruby [#ruby]
shredding has quit [Quit: shredding]
codeurge has quit [Ping timeout: 252 seconds]
alem0lars has quit [Quit: alem0lars]
lolmaus has joined #ruby
yfeldblu_ has quit [Ping timeout: 252 seconds]
jxf has joined #ruby
tyll has quit [Ping timeout: 264 seconds]
mikemac has joined #ruby
crazymykl has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Remote host closed the connection]
noop has joined #ruby
tyll has joined #ruby
Ardenzi has quit [Ping timeout: 276 seconds]
carraroj has quit [Quit: Konversation terminated!]
benzrf|offline has quit [Ping timeout: 276 seconds]
predator117 has joined #ruby
chipotle has joined #ruby
wald0 has quit [Read error: Connection reset by peer]
binaryhat has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
m0use_ has joined #ruby
m0use_ has quit [Client Quit]
jimbow has joined #ruby
<jimbow> guys, i'm getting this error: http://pastebin.com/DTuD9sjG
frosgy has joined #ruby
bluenemo has joined #ruby
Burgestrand has quit [Quit: Burgestrand]
<jhass> jimbow: do what the command says
<jhass> prepend bundle exec
<jimbow> well i am trying, but because i'm stupid, it's not working
<havenwood> bundle exec good morning!
<jimbow> so prepend means bundle exec rake?
sethen has quit [Quit: Leaving...]
<jhass> yes
<jimbow> so the command is: bundle exec rake db:migrate
benzrf|offline has joined #ruby
<jhass> yes
benzrf|offline is now known as benzrf
wald0 has joined #ruby
faulkner has quit [Ping timeout: 240 seconds]
lw has joined #ruby
<jhass> that's a problem of rails, devise or your application
xkwizit has joined #ruby
<jhass> nothing for #ruby
<havenwood> jimbow: maybe try #rubyonrails
<jimbow> jhass: how are you so smart?
frogssgy has quit [Ping timeout: 255 seconds]
<jimbow> how are you guys so smart?
<jhass> because I can read?
lw has quit [Client Quit]
<jimbow> i don't get the gibberish i'm reading
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
noop has quit [Ping timeout: 252 seconds]
michael_mbp has joined #ruby
<jhass> "SQLite3::SQLException: table "users" already exists" pretty plain english
Xaitec has quit [Remote host closed the connection]
predator117 has quit [Remote host closed the connection]
predator117 has joined #ruby
<jimbow> oh jhass thank you... i need to get a retard test
<jimbow> i think i might be retarded
faulkner has joined #ruby
xkwizit has left #ruby [#ruby]
Gadgetoid has joined #ruby
pwh has joined #ruby
wchun has joined #ruby
sunya7a has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
binaryhat has quit [Quit: Leaving]
fgo has joined #ruby
JacobHayes has quit [Remote host closed the connection]
ktun has joined #ruby
voodoofish has joined #ruby
razrunelord has joined #ruby
zms has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
JacobHayes has joined #ruby
prc has left #ruby [#ruby]
vasilakisfil has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
chrisseaton has quit [Ping timeout: 264 seconds]
vasilakisfil has joined #ruby
anaeem1 has joined #ruby
yfeldblum has joined #ruby
sunya7a has quit [Ping timeout: 258 seconds]
fgo has quit [Ping timeout: 265 seconds]
vasilakisfil has left #ruby [#ruby]
gorpon has quit [Ping timeout: 258 seconds]
LexicalScope has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
razrunelord has quit [Ping timeout: 258 seconds]
mary5030 has quit [Ping timeout: 240 seconds]
<atmosx> RMS's email tag is wrong, isn't that a 'shame' http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg02255.html
cjsarette has quit [Excess Flood]
bluenemo has quit [Quit: Verlassend]
<Edelwin> ESR, not RMS
<Edelwin> you stupid.
predator117 has quit [Ping timeout: 240 seconds]
<Edelwin> =)
obs has quit [Quit: Saliendo]
Burgestrand has joined #ruby
<atmosx> shit, true.
predator117 has joined #ruby
<atmosx> I made an interview with ESR
drager has quit [Changing host]
drager has joined #ruby
<atmosx> come t othink to think. does RMS even write code anymore?
<alexa_> Not really
<alexa_> maybe emacs lisp sometimes XD
<alexa_> His career is political, not technical
<Edelwin> maybe a HURD-management module for emcas in eLisp
<Edelwin> *emacs
<Edelwin> sry
ixolit has joined #ruby
<Edelwin> but yes, his principal work is make conferences now
sepp2k has quit [Quit: Leaving.]
bakflash has quit [Ping timeout: 252 seconds]
ixolit has left #ruby [#ruby]
Fire-Dragon-DoL has quit [Quit: Leaving.]
Fire-Dragon-DoL has joined #ruby
cjsarette has joined #ruby
Fire-Dragon-DoL has quit [Client Quit]
sooik has quit [Ping timeout: 245 seconds]
<atmosx> Hm, linus says he never writes code... but he does he comes out with a dvcs that everybody will use.
<atmosx> s/he/when
voodoofish has quit [Read error: Connection timed out]
gigo1980 has quit [Quit: Leaving.]
ElectronicBird has joined #ruby
gorpon has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
codeurge has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
Mon_Ouie has joined #ruby
lw has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
predator117 has quit [Ping timeout: 255 seconds]
ElectronicBird has quit [Quit: leaving]
Anti-Sleep has joined #ruby
metasansana has joined #ruby
Anti-Sleep has left #ruby ["Leaving"]
MatthewsFace has joined #ruby
predator117 has joined #ruby
metasansana has quit [Read error: Connection reset by peer]
einarj has joined #ruby
subbyyy_ has quit [Ping timeout: 240 seconds]
codeurge has quit [Ping timeout: 276 seconds]
SHyx0rmZ has joined #ruby
twiceaday has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
aiguu has joined #ruby
twiceday has quit [Ping timeout: 250 seconds]
bakflash has joined #ruby
lw has quit [Quit: s]
except has quit [Ping timeout: 250 seconds]
pwh has quit []
subbyyy_ has joined #ruby
agrinb has quit [Remote host closed the connection]
Sonofgamekeeper has joined #ruby
<Sonofgamekeeper> helo world!
mrmargolis has joined #ruby
<alexa_> Hello
jonno11 has quit [Read error: Connection reset by peer]
einarj has joined #ruby
agrinb has joined #ruby
<jimbauds> hi
jonahR has joined #ruby
<jimbauds> jimbow: I like your nickname!
<Edelwin> :')
obs has joined #ruby
<jimbow> lol jimbauds
vlad_starkov has joined #ruby
Burgestrand has quit [Quit: Burgestrand]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
JacobHayes has quit [Remote host closed the connection]
fantazo has quit [Ping timeout: 245 seconds]
LexicalScope has quit [Ping timeout: 265 seconds]
andrewjanssen has joined #ruby
JacobHayes has joined #ruby
Nexus_x1_ has quit [Quit: Computer has gone to sleep.]
pen has quit [Remote host closed the connection]
jonahR has quit [Remote host closed the connection]
mary5030 has joined #ruby
toretore has joined #ruby
decoponio has quit [Quit: Leaving...]
anaeem1 has quit [Remote host closed the connection]
pwh has joined #ruby
speakingcode has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 264 seconds]
ju57in has quit []
Megtastique has joined #ruby
Hanmac has joined #ruby
cashnguns has joined #ruby
prc has joined #ruby
Arkaniad has quit [Remote host closed the connection]
motto has joined #ruby
subbyyy_ has quit [Ping timeout: 276 seconds]
obs has quit [Quit: Saliendo]
sunya7a has joined #ruby
Hanmac has quit [Ping timeout: 258 seconds]
fgo has joined #ruby
Hanmac has joined #ruby
m8 has quit [Ping timeout: 250 seconds]
razrunelord has joined #ruby
Tricon has quit [Ping timeout: 264 seconds]
gorpon has quit [Ping timeout: 258 seconds]
ahmdrefat_____ has quit [Quit: Computer has gone to sleep.]
anaeem1 has joined #ruby
ahmdrefat_____ has joined #ruby
shevy has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
sunya7a has quit [Ping timeout: 258 seconds]
Arkaniad has joined #ruby
Arkaniad has quit [Read error: Connection reset by peer]
agrinb has quit [Remote host closed the connection]
razrunelord has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
kyb3r_ has joined #ruby
ahmdrefat_____ has quit [Ping timeout: 252 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
timonv has joined #ruby
aetaric has quit [Ping timeout: 240 seconds]
nahtnam has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
Tricon has joined #ruby
subbyyy_ has joined #ruby
chrisholmes has joined #ruby
ahmdrefat_____ has joined #ruby
chipotle has quit [Quit: cya]
agjacome has quit [Quit: leaving]
chrisholmes has left #ruby [#ruby]
mary5030 has quit [Ping timeout: 255 seconds]
subbyyy_ has quit [Ping timeout: 245 seconds]
nfk has quit [Quit: yawn]
shadoi has joined #ruby
shadoi has quit [Client Quit]
mikepack has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
ahmdrefat_____ has quit [Ping timeout: 250 seconds]
ktun has joined #ruby
jonahR has joined #ruby
shadoi has joined #ruby
agjacome has joined #ruby
aspiers has quit [Ping timeout: 240 seconds]
Tricon has quit [Ping timeout: 258 seconds]
gorpon has joined #ruby
alexju has quit [Remote host closed the connection]
Tricon has joined #ruby
jonahR has quit [Remote host closed the connection]
Arkaniad has joined #ruby
Musashi1 has joined #ruby
nari has quit [Ping timeout: 250 seconds]
alexa_ has left #ruby ["Ex-Chat"]
aspires has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
RaptorJesus has joined #ruby
shredding has joined #ruby
<atmosx> the only man who could ever reach her, was the song of a preacher man!
timonv has quit [Ping timeout: 258 seconds]
mrmargolis has quit [Remote host closed the connection]
<shevy> that bitch
JumpMast3r has quit [Ping timeout: 245 seconds]
freerobby has quit [Quit: Leaving.]
chrisseaton has joined #ruby
justinxreese has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
shadoi1 has joined #ruby
Zebroid has joined #ruby
sambao21 has joined #ruby
torresga has joined #ruby
Hanmac1 has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
Iniesta8 has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
BizarreCake has quit [Ping timeout: 276 seconds]
jackneill has quit [Remote host closed the connection]
Sonofgamekeeper has quit [Quit: Lost terminal]
shevy has quit [Remote host closed the connection]
<benzrf> hey, i want to find the /index/ of the maximum element of an array
<benzrf> is there a method for that
shevy has joined #ruby
<toretore> with_index.inject
Hanmac1 has quit [Ping timeout: 264 seconds]
Connie has quit [Read error: Connection reset by peer]
Spami has joined #ruby
i_s has joined #ruby
Hanmac has joined #ruby
Olipro has joined #ruby
freerobby has joined #ruby
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
akonny has quit [Quit: akonny]
mrmargolis has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gorpon has quit [Ping timeout: 250 seconds]
fantazo has joined #ruby
Spami has quit [Ping timeout: 265 seconds]
sunya7a has joined #ruby
fgo has joined #ruby
coderhs has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
maximski has joined #ruby
Spami has joined #ruby
Spami__ has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
razrunelord has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
sunya7a has quit [Ping timeout: 258 seconds]
<benzrf> toretore: oh thanks!
<benzrf> do you maybe mean detect
<benzrf> or max
<benzrf> actually, let me test that...
<benzrf> >> [5, 4, 4, 2, 7, 8, 4].with_index
<eval-in_> benzrf => undefined method `with_index' for [5, 4, 4, 2, 7, 8, 4]:Array (NoMethodError) ... (https://eval.in/149713)
<benzrf> lame
<benzrf> >> [5, 4, 4, 2, 7, 8, 4].each_with_index.max
<eval-in_> benzrf => [8, 5] (https://eval.in/149714)
<benzrf> >> [5, 4, 4, 2, 7, 8, 4].each_with_index.max &:first
<eval-in_> benzrf => no implicit conversion of Array into Integer (TypeError) ... (https://eval.in/149715)
<benzrf> u wot
<benzrf> >> [5, 4, 4, 2, 7, 8, 4].each_with_index.max_by &:first
<eval-in_> benzrf => [8, 5] (https://eval.in/149716)
<benzrf> sweet.
razrunelord has quit [Ping timeout: 265 seconds]
agrinb has joined #ruby
pen has joined #ruby
<benzrf> >> [].sort_by
<eval-in_> benzrf => #<Enumerator: []:sort_by> (https://eval.in/149717)
<benzrf> alright
davedev25 has joined #ruby
<Rainicorn> wooh Enumerator!!!!
robbyoconnor has quit [Excess Flood]
<benzrf> swag
robbyoconnor has joined #ruby
arrubin has joined #ruby
kirun has quit [Quit: Client exiting]
Hanmac1 has joined #ruby
marcdel has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
Nexus_x1_ has joined #ruby
marcdel has quit [Ping timeout: 245 seconds]
fantazo has quit [Ping timeout: 240 seconds]
olivier_bK has quit [Ping timeout: 265 seconds]
Rainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
<Mars`> Is there a standard chef solo cookbook for an nginx/unicorn/postgress rails app?
shevy has quit [Remote host closed the connection]
Darryl has quit [Quit: Connection closed for inactivity]
claymore has quit [Quit: Leaving]
sinkensabe has joined #ruby
<AntelopeSalad> Mars`: i was unable to ever find a working version to throw up a typical rails stack, there's a lot of hacky/half way solutions to get you some part of the way tho
Slavox|AFK is now known as Slavox
rkazak_ has joined #ruby
cjsarette has quit [Excess Flood]
voodoofish has joined #ruby
<AntelopeSalad> but dealing with process management (like restart/reloading unicorn) and all of the rails specific deployment stuff will have to be hand rolled or offloaded to other tools
shredding has quit [Quit: shredding]
Hanmac has joined #ruby
Snarkz has joined #ruby
chrisseaton has quit []
jimbow has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 276 seconds]
ikaros has joined #ruby
kotk_ has joined #ruby
marcdel has joined #ruby
Spami__ has quit [Quit: This computer has gone to sleep]
Spami has quit [Quit: This computer has gone to sleep]
_Andres has quit [Read error: Connection reset by peer]
cjsarette has joined #ruby
s2013_ is now known as s2013
shredding has joined #ruby
kotk has quit [Ping timeout: 252 seconds]
Iniesta8 has quit [Quit: Textual IRC Client: www.textualapp.com]
mois3x has joined #ruby
kotk has joined #ruby
gregf has joined #ruby
shevy has joined #ruby
<rkazak_> sorry for the off topic, but how do I identify myself - trying to join a room has asked me to do so?
cjsarette has quit [Max SendQ exceeded]
kotk_ has quit [Ping timeout: 252 seconds]
<toretore> /msg nickserv help
andrewlio has joined #ruby
flowerhack has quit [Remote host closed the connection]
frobrob has joined #ruby
WishBoy has quit [Remote host closed the connection]
mary5030 has joined #ruby
mrmargolis has quit [Remote host closed the connection]
agrinb has quit [Remote host closed the connection]
kotk_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
marcdel has quit []
cjsarette has joined #ruby
Spami has joined #ruby
davedev25 has quit []
kotk has quit [Ping timeout: 240 seconds]
Ainieco has joined #ruby
<Ainieco> hello
<Edelwin> hi
bbloom has quit [Ping timeout: 250 seconds]
<Ainieco> suppose i have some attribute which is contructed by combining integers using bitwise or like foo = A | B, how to check if foo was constructed using A?
mercwithamouth has quit [Ping timeout: 252 seconds]
<shevy> eh?
<Ainieco> shevy: A = 1; B = 2; foo = A | B; define such predicate which will tell if foo is using A.
<Ainieco> shevy: is more clear now?
<shevy> not really
Hanmac has quit [Ping timeout: 240 seconds]
<Ainieco> shevy: what exactly is not clear?
<shevy> in your example you use numbers
<Ainieco> yes.
<Ainieco> "|" is bitwise operator
<shevy> everything about it; if you want to check if fo is equal to A, foo == A
Hanmac has joined #ruby
mercwithamouth has joined #ruby
<Ainieco> shevy: are familiar with bitwise operations?
<jhass> 2 = 0b10, 1 = 0b01, 0b10 | 0b01 = 0b11 = 3
i_s has quit [Remote host closed the connection]
Morkel_ has quit [Quit: Morkel_]
<Ainieco> jhass: yes. foo is 3 but how to tell if foo was contructed using 2 and somthing?
<jhass> with & of course
<rkazak_> shevy: so what operation will return the value A when operated on foo
<jhass> look at the patterns
Olipro has quit [*.net *.split]
justinxreese has quit [*.net *.split]
motto has quit [Quit: Sto andando via]
<jhass> rkazak_: no that's not the question, the question is whether the operation that constructed foo included A
<havenwood> 7 & 4
mrmargolis has joined #ruby
WishBoy has joined #ruby
aiguu has quit [Ping timeout: 258 seconds]
<shevy> >> 7 & 4
<eval-in_> shevy => 4 (https://eval.in/149718)
chipotle has joined #ruby
<Ainieco> jhass: foo & A == A will tell me that foo was constructed using A, right?
<jhass> right
<Ainieco> jhass: thank you!
Spami has quit [Quit: This computer has gone to sleep]
ktun has joined #ruby
<benzrf> o come on
<benzrf> why is there Array#sort_by! but not Array#sort_by
<benzrf> >:o
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
zkay11 has joined #ruby
<havenwood> Enumerable#sort_by
<benzrf> havenwood: -.-
<benzrf> >> [].sort_bu
<eval-in_> benzrf => undefined method `sort_bu' for []:Array (NoMethodError) ... (https://eval.in/149719)
<benzrf> >> [].sort_by
<eval-in_> benzrf => #<Enumerator: []:sort_by> (https://eval.in/149720)
<benzrf> durrrr
<yakko_> buuuu!
<yakko_> buuuu!
yakko_ is now known as yakko
cjsarette has quit [Excess Flood]
robbyoconnor is now known as r0bby
r0bby is now known as robbyoconnor
ktun has quit [Client Quit]
voodoofish1 has joined #ruby
voodoofish has quit [Ping timeout: 252 seconds]
except has joined #ruby
lw has joined #ruby
<benzrf> ok what the butt
<benzrf> apparently sequel/extensions/pg_interval requires activesupport
Olipro has joined #ruby
justinxreese has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Olipro has quit [Max SendQ exceeded]
cjsarette has joined #ruby
sinkensabe has joined #ruby
cjsarette has quit [Max SendQ exceeded]
Olipro has joined #ruby
Connie has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
aspires has quit []
aspires has joined #ruby
maximski has quit []
chrisseaton has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
Zebroid has quit [Remote host closed the connection]
_Andres has joined #ruby
Squarepy has quit [Quit: Leaving]
sunya7a has joined #ruby
fgo has joined #ruby
codeurge has joined #ruby
heftig has quit [Ping timeout: 252 seconds]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 258 seconds]
sunya7a has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 245 seconds]
razrunelord has joined #ruby
blackmesa has joined #ruby
Connie has quit [Disconnected by services]
Connie has joined #ruby
_bart has joined #ruby
ikaros has quit [Quit: Ex-Chat]
razrunelord has quit [Ping timeout: 264 seconds]
eynj has quit [Ping timeout: 252 seconds]
<_bart> Hmm I think the new 'expect' syntax (vs should) in RSpec is a good idea in theory, but I feel it also add a lot of syntax clutter, expect(...).to just reads a little harder than just .should
<_bart> Like this example shows: http://betterspecs.org/#expect (even though I recommends to use expect(...).to
<_bart> )
<_bart> it*
<benzrf> god damn
cjsarette has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
<_bart> benzrf, ?
lw has quit [Quit: s]
<benzrf> turns out the code i thought did one thing does another thing
<benzrf> programming amirite
<benzrf> i'm using sequel
<benzrf> i tried this:
skylite has joined #ruby
<benzrf> ModelClass.where(id_column: array_of_ids)
<benzrf> turns out. that doesnt return them necessarily in the same order as the array
<benzrf> just all the same things
<benzrf> -.-
cjsarette has quit [Max SendQ exceeded]
<_bart> benzrf: yeah the order is not the order of the array, been there before too
<canton7> that'll be an SQL thing I suspect, rather than sequel?
<pontiki> that's SQL for you
<_bart> yea that's an SQL thing
<popl> you can order it
<pontiki> without an order by clause, record order is undefined
<popl> it's trivial
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
bricker`LA has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
<Ainieco> _bart: def expect_to(foo) expect(foo).to end
<benzrf> yeh, but the actual order is not alphabetical or anythin
<benzrf> it's just the order of the arrubin
<benzrf> *arr
<_bart> Ainieco, haha people will hate me if I start using that everywhere
<Ainieco> or even def a(foo) expect(foo).to end # Even less "syntax clutter" :)
<popl> benzrf: the order is undefined until you define it :P
<_bart> I'll just stick with the best practices
zigomir_ has quit [Remote host closed the connection]
<Ainieco> yeah, it's not much to sacrifice but i'm really happy that there is no more dirty monkey patching required for "should"
<_bart> Ainieco: good call though, that's what I meant
_Andres has joined #ruby
<benzrf> popl: tbp the order i want out is the order of the keys i put in
<benzrf> how i do
<_bart> Ainieco: yea agreed! that's what I meant with 'good in theory'
timonv has joined #ruby
<skylite> anybody uses a mac who has no problems with gem installs?
shadoi1 has quit [Quit: Leaving.]
<benzrf> i have no problems with gem installs
<skylite> I even have a shellscript now that cleans up the sudo gem install after ruby so I can use the gems
<benzrf> but i dont use a mac cuz im not a hack
<benzrf> ;)
<_bart> sudo, ew
<jhass> benzrf: no property to sort by in the data at all?
<skylite> I have to use sudo cuz I cant write the /bin with regular user
Burgestrand has joined #ruby
<benzrf> jhass: the property is the input array
<skylite> so for example I cant install compass without sudo
<benzrf> :-P
cjsarette has joined #ruby
<jhass> benzrf: _in the data_
mrmargolis has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 240 seconds]
<_bart> skylite: but is that really necessary? You can also use rvm gemsets for example
marcdel has joined #ruby
vjt has quit [Ping timeout: 240 seconds]
<benzrf> jhass: the input array is from an array column in another table
<benzrf> jhass: it's a user-created order
<_bart> that way you can manage your gems more easily maybe, and have them just at regular user permissions
<benzrf> well, by user i mean predefined by the person im making this for
lw has joined #ruby
marcdel has quit [Client Quit]
<skylite> _bart: can i get the versions and all I want with that?
<jhass> benzrf: I guess the easiest thing would be something like order = ids.each_with_index.to_a.to_h; .sort_by {|e| order[e.id] }
<jhass> benzrf: postgres?
<_bart> skylite: yea, I probably wouldn't use it remotely on a production server though, but I would on my dev machine
cjsarette has quit [Max SendQ exceeded]
flowerhack has joined #ruby
vjt has joined #ruby
<_bart> skylite: because you can also use one gemset per project, and avoid having a gazillion versions of a single gem and messing up and having to do bundle exec and all that
postmodern has joined #ruby
<skylite> _bart: and works everything without sudo, ?
timonv has quit [Ping timeout: 245 seconds]
<benzrf> jhass: y
<benzrf> jhass: lame.
<benzrf> ok i will do that :I
<_bart> skylite: yes well, that depends on how you set it up, but by default it's with user permissions I think
lw has quit [Client Quit]
<jhass> benzrf: I guess you could join the table, dump the array, join with the result add the rank and then use that to order the result
* benzrf 's head spins
<jhass> I'd stick with the application level solution
<benzrf> sorry i do not sql good
<skylite> _bart: sounds good I'll check it out thx
<_bart> skylite: I usually install RVM without root, then install Ruby with rvm install ... and then start with the gems and stuff
<_bart> skylite: if you've never used RVM before I recommend you first look into how it allows you to use multiply versions of ruby before diving into gemsets, but it's all fairly easy
<skylite> _bart: and if I start using it now, will it be a conflict problem with all my gems I have now?
brian___ has joined #ruby
<skylite> _bart: I'll defo check everything
<_bart> skylite: do you have to keep those? If you have a Gef
<_bart> Gemfile* you can just use that later to get all your gems again
sambao21 has joined #ruby
phutchin1 has joined #ruby
<_bart> Anyway, good luck, I have to go, rvm is really popular though, so probably a lot of people in this channel will know what to do :)
_bart has quit [Quit: leaving]
Sonofgamekeeper has joined #ruby
<skylite> _bart: I see . I have a gemfile so good point . thx
<rkazak_> I though rbenv was flavor of the month !
<rkazak_> :
<rkazak_> :)
<havenwood> rkazak_: ruby-install/chruby
cjsarette has joined #ruby
<rkazak_> :)
<rkazak_> to many choices.
phutchins has quit [Ping timeout: 240 seconds]
<shevy> rkazak_ use the source man
<skylite> what about bundler?
<shevy> bundler is the behemoth
bricker`LA has joined #ruby
<shevy> it's huge
vlad_starkov has joined #ruby
Burgestrand has quit [Quit: Burgestrand]
<skylite> damn
<pontiki> bundler isn't that big
bigmac has joined #ruby
bigmac is now known as i8igmac
<pontiki> the gemset that ends up getting installed is
<jhass> benzrf: something like SELECT * FROM things JOIN (SELECT user_id, row_number() AS order_by, unnest(array) AS id FROM foo WHERE user_id = 123) order_thing USING (id) ORDER BY order_thing.order_by ASC; -- probably won't work in that state but should show the idea
<rkazak_> don’t people think we are movng away from the ‘simple’ beginning…. do we need all these layers which try to help make things simple. Would better understanding be a better approch?
Hanmac has joined #ruby
shredding has quit [Quit: shredding]
roland has joined #ruby
cashnguns has quit [Read error: Connection reset by peer]
<snkcld> does anyone else have the problem where pressing up on their keyboard shows the reverse search prompt?
cashnguns has joined #ruby
<snkcld> instead of showing the last executed command
Hanmac1 has quit [Ping timeout: 252 seconds]
Olipro has quit [Ping timeout: 246 seconds]
franzip has quit [Quit: ...]
<rkazak_> snkcld: in term ?
banister has joined #ruby
<snkcld> rkazak_: in pry yea
<snkcld> zsh works fine so i dont think its a key mapping problem
<rkazak_> snkcld: what’s pry ?
<snkcld> zsh shows the last command, but pry shows reverse i-search
<rkazak_> that’s an emacs mapping…
<rkazak_> maybe something has remapped that key
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cya]
wwkeyboard has quit [Quit: Goodbye]
mjs2600_ has joined #ruby
<banister> rkazak_ http://pryrepl.org
Nexus_x1__ has joined #ruby
Gooder has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
gorpon has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roland has left #ruby [#ruby]
Nexus_x1_ has quit [Ping timeout: 240 seconds]
flowerhack has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
<rkazak_> ok so it’s an irb replacement
aspiers has joined #ruby
lw has joined #ruby
mjs2600_ has quit [Remote host closed the connection]
segfalt has quit [Quit: Connection closed for inactivity]
mjs2600_ has joined #ruby
havenwood has quit []
frobrob has quit [Ping timeout: 240 seconds]
sqwirl has joined #ruby
<shevy> rkazak_ you need to keep the history in mind; there was a time when ruby did not have gem nor bundler
<shevy> I still don't know why matz never thought of something like gems
<rkazak_> he left it for the rest of us!
<shevy> hehe
<rkazak_> seriously he’s more focused on the core language.. :)
ValicekB has quit [Ping timeout: 240 seconds]
<shevy> :(
pen has quit [Remote host closed the connection]
roland has joined #ruby
cashnguns has quit [Ping timeout: 258 seconds]
roland has left #ruby [#ruby]
ro has joined #ruby
<zkay11> Can anyone tell me why the top gist works, but the second does not? The second file runs, but no calculation is returned: https://gist.github.com/zkay/116ba3bcc749e5bddb8e . Just a point in the right direction would be greatly appreciated.
ro is now known as roland
roland is now known as rolololo
skylite has quit [Quit: Linkinus - http://linkinus.com]
cashnguns has joined #ruby
<zkay11> sorry, reverse that: first file is the problem, second is working 100%
bricker`LA has quit [Ping timeout: 255 seconds]
mjs2600_ has quit [Remote host closed the connection]
Biohazard has quit [Ping timeout: 252 seconds]
pwh has quit []
<banister> rkazak_ also a debugger
<rkazak_> yep just viewing the old video...
sunya7a has joined #ruby
fgo has joined #ruby
ValicekB has joined #ruby
Biohazard has joined #ruby
eighthbit has joined #ruby
yvemath has quit [Quit: ~Surprise.]
Hanmac has quit [Ping timeout: 255 seconds]
cjsarette has quit [Max SendQ exceeded]
shadoi has joined #ruby
pen has joined #ruby
rolololo has left #ruby [#ruby]
fgo has quit [Ping timeout: 240 seconds]
sunya7a has quit [Ping timeout: 240 seconds]
brian___ has quit [Quit: brian___]
einarj has quit [Remote host closed the connection]
razrunelord has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Chopin has joined #ruby
MZAWeb_ has joined #ruby
subbyyy_ has joined #ruby
Chopin has quit [Client Quit]
tjr9898 has joined #ruby
torresga has quit [Quit: torresga]
razrunelord has quit [Ping timeout: 240 seconds]
toretore has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
Hanmac has joined #ruby
jtdowney has joined #ruby
mois3x has quit [Quit: mois3x]
benzrf has quit [Ping timeout: 252 seconds]
benzrf has joined #ruby
cashnguns has quit [Remote host closed the connection]
pen has quit [Remote host closed the connection]
gorpon has quit [Ping timeout: 265 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar_ has joined #ruby
senayar has quit [Read error: Connection reset by peer]
Azure has quit [Quit: My MBP went to sleep.]
torresga has joined #ruby
flowerhack has joined #ruby
aiguu has joined #ruby
Guest33413 has joined #ruby
<rkazak_> mm, thatwas interesting, maybe I give pry a go, I have always used irb...
phutchin1 has quit [Ping timeout: 240 seconds]
combusean has joined #ruby
kies has quit [Read error: No route to host]
<pontiki> switch to pry, you won't be sorry
codabrink has quit [Ping timeout: 252 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
iceden has quit [Ping timeout: 240 seconds]
hermanmunster has quit [Remote host closed the connection]
aiguu has quit [Ping timeout: 240 seconds]
Olipro has joined #ruby
hermanmunster has joined #ruby
LadyRainicorn has quit [Ping timeout: 252 seconds]
LexicalScope has joined #ruby
jtdowney has quit []
tjr9898 has quit [Remote host closed the connection]
flowerhack has quit [Read error: Connection reset by peer]
flowerhack has joined #ruby
hermanmunster has quit [Ping timeout: 245 seconds]
atmosx has quit [Quit: Lost in trance]
gregf_ has joined #ruby
flowerhack has quit [Read error: Connection reset by peer]
flowerhack has joined #ruby
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matchaw has joined #ruby
Guest62010 has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
klaut has quit [Remote host closed the connection]
chipotle has joined #ruby
agrinb has quit [Ping timeout: 276 seconds]
Ainieco has quit [Quit: leaving]
moritzs has quit [Ping timeout: 258 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
matchaw_ has joined #ruby
<benzrf> :t scanl
matchaw has quit [Ping timeout: 265 seconds]
<benzrf> oops
<benzrf> wc
pen has joined #ruby
chrisseaton has quit []
rkazak_ has quit [Quit: rkazak_]
thomasxie has joined #ruby
Dysruption has joined #ruby
agrinb has joined #ruby
KanKava has quit [Quit: leaving]
sputnik13 has joined #ruby
LadyRainicorn has joined #ruby
jhass is now known as jhass|off
benzrf is now known as benzrf|offline
Megtastique has quit []
subbyyy_ has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
Kazii has joined #ruby
Kazii has joined #ruby
Kazii has quit [Excess Flood]
sunya7a has joined #ruby
fgo has joined #ruby
Kazii has joined #ruby
Kazii has quit [Excess Flood]
heftig has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
andrewlio has quit [Quit: Leaving.]
Martxel has quit [Read error: Connection reset by peer]
kies has joined #ruby
Martxel has joined #ruby
sunya7a has quit [Ping timeout: 258 seconds]
fgo has quit [Ping timeout: 276 seconds]
omosoj has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
razrunelord has joined #ruby
timonv has joined #ruby
hermanmunster has joined #ruby
mjs2600_ has joined #ruby
kies has quit [Ping timeout: 240 seconds]
e^0 has joined #ruby
razrunelord has quit [Ping timeout: 258 seconds]
predator217 has joined #ruby
benzrf|offline is now known as benzrf
timonv has quit [Ping timeout: 276 seconds]
brunops has joined #ruby
predator117 has quit [Ping timeout: 252 seconds]
Akuma has joined #ruby
brunops has quit [Client Quit]
s2013 has quit [Quit: Leaving]
<mjs2600_> Has anyone pulled down the deps for Phoenix lately? I'm getting this:
<mjs2600_> (Protocol.UndefinedError) protocol Enumerable not implemented for {"0.0.1", "0.13.0-dev"}
<mjs2600_> It looks like the error is coming from Hex.
Nexus_x1__ has quit [Quit: Computer has gone to sleep.]
Megtastique has joined #ruby
Nexus_x1__ has joined #ruby
vlad_starkov has joined #ruby
mrmargolis has joined #ruby
rkazak has joined #ruby
Hanmac1 has joined #ruby
subbyyy_ has joined #ruby
except has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 265 seconds]
Nexus_x1__ has quit [Ping timeout: 250 seconds]
Martxel has quit [Ping timeout: 250 seconds]
bakflash has quit [Ping timeout: 252 seconds]
Azure has joined #ruby
sambao21 has joined #ruby
MZAWeb_ has quit [Ping timeout: 258 seconds]
eka has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
b00stfr3ak has joined #ruby
oo__ has quit [Ping timeout: 245 seconds]