apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 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
zcreative has joined #ruby
e4xit has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
erikruthven has quit [Quit: Textual IRC Client: www.textualapp.com]
Paradox has quit [Ping timeout: 265 seconds]
iliketurtles has joined #ruby
nolic has quit [Ping timeout: 240 seconds]
mr_red has quit [Ping timeout: 240 seconds]
freezey has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
toretore has joined #ruby
lw has quit [Quit: s]
predator217 has joined #ruby
deadlock_ has joined #ruby
mjuszczak has joined #ruby
Paradox has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
apeiros has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
awkisopen has joined #ruby
mikecmpbll has joined #ruby
mjuszczak has quit [Remote host closed the connection]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
mr_red has joined #ruby
dik_dak has quit [Quit: Leaving]
iliketurtles has joined #ruby
pel_daniel has left #ruby [#ruby]
dethkrieg has quit []
agjacome has quit [Ping timeout: 264 seconds]
jjbohn has joined #ruby
sdouglas has joined #ruby
juarlex has quit [Remote host closed the connection]
magoo_ has quit [Ping timeout: 264 seconds]
bthesorceror has quit [Remote host closed the connection]
fraterlaetus has quit []
juarlex has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
bthesorceror has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
hfp is now known as hfp`away
timonv has joined #ruby
Adran is now known as adron
lw has joined #ruby
sdouglas has quit [Ping timeout: 265 seconds]
segmond has quit [Ping timeout: 240 seconds]
juarlex has quit [Ping timeout: 252 seconds]
bthesorceror has quit [Ping timeout: 240 seconds]
VTLob has quit [Quit: VTLob]
timonv has quit [Ping timeout: 240 seconds]
roolo has quit [Quit: Leaving...]
itadder has joined #ruby
<itadder> wow
meatherly has joined #ruby
ikaros has quit [Quit: Ex-Chat]
<itadder> the lynda.com videos are not so bad
<itadder> but a bit outdated
<itadder> they are using 1.8.6 or something ruby
nateberkopec has quit [Quit: Leaving...]
linojon has quit [Ping timeout: 264 seconds]
lolmaus has quit [Ping timeout: 264 seconds]
linojon has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
kllyy_ has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
pinage404 has joined #ruby
sski has joined #ruby
linojon has quit [Client Quit]
kllyy has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
crystal77 has joined #ruby
segmond has joined #ruby
jglover has joined #ruby
<jglover> how can I add a directory to my ruby load path?
<jglover> right now I'm using require relative and I don't like that
linojon has joined #ruby
<benzrf|oppressed> $: i think
sdouglas has joined #ruby
<benzrf|oppressed> >> $:
<eval-in> benzrf|oppressed => ["/execpad/interpreters/ruby-2.1.0/lib/ruby/site_ruby/2.1.0", "/execpad/interpreters/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/i686-linux", "/execpad/interpreters/ruby-2.1.0/lib/ruby/site_ruby", "/execpad/in ... (https://eval.in/117741)
<centrx> jglover, -I on the command line, or append to LOAD_PATH
<centrx> jglover, $LOAD_PATH rather (variable inside Ruby)
flowerhack has quit [Quit: Connection closed for inactivity]
zz_karupanerura is now known as karupanerura
<jglover> centrx: hmm can't get it to work
<jglover> i'm very new to ruby
<jglover> so if I went to a directory say "HelloWorld/" how would i do that?
xuisc is now known as xuisce
xuisce is now known as xuisc
<bnagy> use require_relative
GaryOak_ has quit [Ping timeout: 265 seconds]
<bnagy> that is what it's for. Messing with the load path is ugly.
<jglover> bnagy: for class we're supposed to create just a simple gem
<jglover> and no gems I can find have require_relate
<jglover> relative
<jglover> how does that work?
<bnagy> eh?
<bnagy> almost all gems should have require_relative :S
<bnagy> anything written post 1.9 world anyway
Vovko has joined #ruby
<jglover> bnagy: [#ruby] bnagy: so I've been looking through
<jglover> woops sorry
<jglover>
<jglover> ugh
<benzrf|oppressed> lol
<jglover> well im trying to paste the active record code
<jglover> not working
adron is now known as Adran
<jglover> soryr github link
<jglover> anyways, it doesn't have require_relative
tkuchiki has quit [Remote host closed the connection]
<bnagy> AR is not a good example of.. pretty much anything
<jglover> haha ok then.
havenwood has joined #ruby
<jglover> so requie relative is ok in gems?
Salve has joined #ruby
<bnagy> the best super basic walkthrough of a simple gem is in learn ruby the hard way imho
ScalaClient has quit [Ping timeout: 252 seconds]
dapz has quit [Ping timeout: 240 seconds]
<bnagy> because it uses no tools, no bundler, no viral crap etc
oso96_2000 is now known as oso|away
<jglover> bnagy: perfect. ill look at it now. thanks
YamakasY_ has quit [Ping timeout: 264 seconds]
andrewlio has quit [Quit: Leaving.]
<bnagy> he has a lot of non-idiomatic ruby in some of the exercises, though, so it has some issues to use as your sole guide
mjuszczak has joined #ruby
mojjojo has quit [Quit: mojjojo]
pinage404 has quit [Ping timeout: 244 seconds]
jglover has quit [Quit: Lost terminal]
monkegjinni has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
Shidash has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
sski has joined #ruby
monkegjinni has joined #ruby
<bnagy> anyway, the load path is a shared resource ( everything in the interpreter ), your gem should be polite and not mess with it - you know where your own stuff is, so just require_relative 'lib/blah'
<havenwood> bnagy: i think the cover typo is fitting :P http://ecx.images-amazon.com/images/I/51FwrxL%2BK3L._SY300_.jpg
sepp2k has quit [Read error: Connection reset by peer]
Salve has quit [Ping timeout: 264 seconds]
duggiefresh has joined #ruby
<bnagy> haha
mehlah has quit [Quit: Leaving...]
Voodoofish430 has joined #ruby
sepp2k has joined #ruby
bthesorceror has joined #ruby
Voodoofish4301 has joined #ruby
sski has quit [Ping timeout: 240 seconds]
monkegjinni has quit [Ping timeout: 253 seconds]
mattmcclure has quit [Quit: Connection closed for inactivity]
zachallett has quit [Remote host closed the connection]
bthesorceror has quit [Client Quit]
Fridurmus has joined #ruby
not_a_guest has quit [Quit: Connection closed for inactivity]
Voodoofish430 has quit [Ping timeout: 240 seconds]
<Fridurmus> Is there a good way to get 2.1.1 running on Windows?
<havenwood> Fridurmus: ruby-installer will presumably be releasing a new version now that 2.1.1 is out
<havenwood> Fridurmus: 2.1.0 had a blocking bug or two for ruby-installer but they were resolved in 2.1.1
Vovko has quit [Remote host closed the connection]
pwh has joined #ruby
ffranz has joined #ruby
yosafbridge has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Remote host closed the connection]
chipotle has quit [Quit: cya]
sumark has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ruby
lolmaus has joined #ruby
sumark has joined #ruby
markisonfire has quit [Quit: markisonfire]
<gr33n7007h> bnagy, if finally works b='F0:1C:13:E4:7F:96'.split(/:/).map{|n| n.to_i(16)}.reverse;s=Socket.new(31,1,3);saddr=[31,0,*b,6,0].pack("C*");s.connect(saddr)
sdouglas has quit [Remote host closed the connection]
<havenwood> FifthWall: i believe you can build ruby-installer with 2.1.1 yourself for now, but a binary should be forthcoming
<benzrf|oppressed> gr33n7007h: why are you using /:/ instead of ':'
lmickh has quit [Remote host closed the connection]
yubrew has quit [Remote host closed the connection]
<invinceable> how do i create a multi-word hash value? person = {'Lead Owner': nil}
sparrovv has quit [Remote host closed the connection]
<gr33n7007h> benzrf|oppressed, no reason just choice I suppose
<invinceable> {owner: nil} works, but when i try to put it into quotations doesn't work.
<invinceable> what gives?
<havenwood> invinceable: person = {:'Lead Owner' => nil}
<invinceable> havenwood: ah needs to go before. thank you.
codabrink has quit [Ping timeout: 240 seconds]
itadder has quit [Ping timeout: 240 seconds]
<havenwood> invinceable: yeah, 1.9+ syntax doesn't work with with a stringified symbol
tylersmith has quit [Remote host closed the connection]
shevy has joined #ruby
<invinceable> havenwood: gotcha, thank you. using 2.1 and loving it so far. came from php
kitak has joined #ruby
<havenwood> invinceable: nice, welcome!!
<benzrf|oppressed> invinceable: the general syntax for hashes is {key => value}
tylersmith has joined #ruby
<benzrf|oppressed> invinceable: {foo: bar} is a special sugar for {:foo => bar}
lw has quit [Quit: s]
Voodoofish4301 has quit [Ping timeout: 240 seconds]
<bnagy> gr33n7007h: well done!
<invinceable> benzrf|oppressed: ahhh really? ok whoops. i've been using {foo:bar} for the last few days. will change that now.
Voodoofish430 has joined #ruby
<gr33n7007h> bnagy, that's what perseverance leads to :)
yosafbridge has joined #ruby
tjr9898 has joined #ruby
<bnagy> if you're going to do a lot with raw binary you might want to look at bindata
<benzrf|oppressed> invinceable: nothing wrong with foo: baroquebobcat
<benzrf|oppressed> *foo: bar
<bnagy> it is pretty awesome for avoiding pack insanity
<benzrf|oppressed> it's just not what you use for anything other than symbols
meatherly has quit [Read error: Connection reset by peer]
w1zeman1p has quit [Remote host closed the connection]
<gr33n7007h> bnagy, I'll look into it thanks
<invinceable> benzrf|oppressed: got it, thanks.
<benzrf|oppressed> :)
pierre1_ has quit [Ping timeout: 244 seconds]
<invinceable> havenwood: and thanks! loving it so far.
tkuchiki has joined #ruby
<gr33n7007h> bnagy, RubyPanther thanks again for pointing me in the right direction :D
tylersmi_ has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
<bnagy> no probs
Celm has quit [Remote host closed the connection]
meatherly has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
Kneferilis has quit [Read error: Connection reset by peer]
shevy has joined #ruby
twiceaday has quit [Ping timeout: 240 seconds]
itadder_ has joined #ruby
twiceaday has joined #ruby
<itadder_> hi any reason you know why cs50 edx havard course choose not to use ruby
<itadder_> instead went with C
invinceable has quit [Ping timeout: 240 seconds]
<shevy> test
<jack_rabbit> itadder_, probably tradition.
<itadder_> oh
<havenwood> itadder_: a more conservative choice
<itadder_> he pretty funny also
<itadder_> I like how they created a VM applaince just for that class
<itadder_> all the tool are already set up for you
<jack_rabbit> itadder_, although its a little more difficult to do properly, it really introduces many fewer ideas than a language like ruby.
<itadder_> just need to use it in vmware and yoru done
<itadder_> oh
<itadder_> but for a newbie like me it has a lot of syntax
<jack_rabbit> C is really a very simple language. Ruby is not.
sski has joined #ruby
mforrester has quit [Quit: Leaving]
<jack_rabbit> Syntax aside. :)
<itadder_> unlike ruby one liners
<itadder_> oh wow
tongcx has joined #ruby
<itadder_> well c is not object orinated or is it
Hobogrammer has quit [Ping timeout: 252 seconds]
<tongcx> what's usage of json web token?
<jack_rabbit> Well. C is object oriented in a sense.
<jack_rabbit> It just doesn't have syntactic constructs for polymorphism or inheritance, etc.
<bnagy> uh
<itadder_> but it easier to teach ruby I assume Ic clound be wrong
<bnagy> wat
tjr9898 has quit [Remote host closed the connection]
flowerhack has joined #ruby
<benzrf|oppressed> c is much simpler than RubyPanther
<benzrf|oppressed> *ruby
<benzrf|oppressed> c is a very simple language
<benzrf|oppressed> tongcx: context?
<itadder_> oh I always thought c was more complex to code in
<tongcx> benzrf|oppressed: authentification
<itadder_> because of syntax
<xuisc> hey havenwood
<shevy> itadder_ yes, programmers must know C else they are incompetent
<xuisc> itadder_:
robustus has quit [Ping timeout: 244 seconds]
<xuisc> hey shevy
yxhuvud has quit [Ping timeout: 252 seconds]
<xuisc> shevy: Im that guy thats going to start learning ruby
<jack_rabbit> itadder_, it's difficult to code correctly, but the language itself is not very complicated.
<itadder_> ahh which is why that famous course is teaching c to 101 people
<xuisc> we talked a few weeks ago or a mont hago
<xuisc> :)
<itadder_> jack_rabbit: ahh
<xuisc> I like how ruby looks so far
<itadder_> and ruby is coded in C right jack_rabbit
<itadder_> yea
<jack_rabbit> itadder_, probably.
<bnagy> MRI is in C
<jack_rabbit> itadder_, C is also coded in C.
<itadder_> hahahah
<jack_rabbit> So is unix and linux.
<itadder_> and windows
<benzrf|oppressed> and X and most GNU stuff
<itadder_> I heard windows was coded in freebsd in C a
<jack_rabbit> itadder_, well, part of linux.
<jack_rabbit> itadder_, well, part of *windows8
<jack_rabbit> *
<jack_rabbit> damn.
<centrx> itadder_, C is a good way of teaching how the computer really works. Higher-level languages cover up a lot of it.
<jack_rabbit> itadder_, the NT kernel is mostly C, but most everything else is C++.
<itadder_> centrx: yea that guy from cs50 class is trying to teach the student how computer works
Steve445 has joined #ruby
<itadder_> .net c++ is not so great
<itadder_> for some reason I am bias against .net
robustus has joined #ruby
<itadder_> at work every .net upgrade breaks something
<itadder_> but I guess the same can be said about ruby
<jack_rabbit> I'd prefer .net to java if it had multi-platform support.
<xuisc> hey centrx
<itadder_> I thought c# was multi-platofrm
<itadder_> it offers web services
<Steve445> Hey any of you guys use GitHub or GitLab at work?
<xuisc> Steve445: nope Im learning it
<jack_rabbit> itadder_, C might not be the best language to teach in a 101 class, but it's probably there because of legacy.
<xuisc> #github can help
<Steve445> Anyone use GH or GL to manage projects?
<Steve445> issue queues, milestones etc
<itadder_> oh
<itadder_> do you think ruby would be best lang
crystal77 has quit [Quit: Computer has gone to sleep.]
<itadder_> or maybe schemes
<tongcx> another thing is that i didn't see much keypair based authentification in any framework
kllyy_ has quit [Read error: Connection reset by peer]
<itadder_> I do not recall c++ and I took it in college,
amclain has joined #ruby
<Steve445> you often see Java or Python being taught as well
<tongcx> but that should be pretty secure and easy to follow
<tongcx> just wonder why
<itadder_> I took c++, java, java script, Assembly in college and visual basic but I don't recall them
<Steve445> C, when the prof has not updated their slides in "forever"
kllyy has joined #ruby
<itadder_> my school thought c++
amclain has quit [Client Quit]
<itadder_> but the following year they switched to java
shevy has quit [Ping timeout: 252 seconds]
Fridurmus has quit [Ping timeout: 240 seconds]
amclain has joined #ruby
jetblack has joined #ruby
CpuID has joined #ruby
<itadder_> for my IT major I had to take visual basic and java and assembly also
<benzrf|oppressed> VB?
<benzrf|oppressed> :I
<itadder_> this was 10 years ago
<itadder_> 2001
<itadder_> acutally 2005
<itadder_> opps
<jack_rabbit> They still teach assembly
<itadder_> but still
<itadder_> they did
<Steve445> Vb6 is a great lang to teach on
<centrx> I think C is the best language to teach in an intro class, for students who are interested.
<benzrf|oppressed> Steve445: u wot m8
<itadder_> My professor I think was from india or iran
<jack_rabbit> itadder_, no, I'm saying they're still teaching assembly today.
<itadder_> oh
<jack_rabbit> itadder_, it's good stuff to know.
mehlah has joined #ruby
pierre1_ has joined #ruby
echevemaster has quit [Quit: Leaving]
<itadder_> I don't recall anything
<benzrf|oppressed> centrx: i believe and will continue to believe that python is the one true first language
<centrx> Schools use other languages to "attract" students to the major, or witless non-majors.
crystal77 has joined #ruby
<havenwood> benzrf|oppressed: s/python/ruby
<itadder_> the math deparment requried us in caclulus 1 and 2 to do some homework in matlab
<benzrf|oppressed> havenwood: nope
axsuul has quit [Read error: Connection reset by peer]
<benzrf|oppressed> python lets you do basic imperative/procedural stuff
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf|oppressed> and has simpler semantics and syntax v RubyPanther
<benzrf|oppressed> *ruby
<itadder_> which was to produce some graph and source code... I am not sure what the code did, I just got help from a friend andchanged the variables
<itadder_> I was bad
<benzrf|oppressed> also, ruby requires you to be all objecty and idiomatic code needs you to use blocks
axsuul has joined #ruby
<benzrf|oppressed> it's too much to teach all at once imo
grzywacz has quit [Ping timeout: 265 seconds]
axsuul has quit [Read error: Connection reset by peer]
<droptone> #RoR is slow right now, any of you Ruby experts happen to work with Devise and Rails 4?
<jack_rabbit> I've never cared for matlab.
<itadder_> and you also need to teach rails I guess in the 102 class
axsuul has joined #ruby
sdouglas has joined #ruby
<itadder_> I don't see thepoint of paying so much money for college, when a lot of classes esp for COMP SCI are free on coursera or edx
<droptone> shot in the dark, but here's my error and code snippet, if anyone knows how to resolve it I'll name my next kid after you: https://gist.github.com/anonymous/f644e26fb15af71f776e
<itadder_> and from top schools like havard
<itadder_> jack_rabbit: nor did I, but I want to learn is r-lang
<Steve445> itadder_ thats recent change
<benzrf|oppressed> droptone: ill look!
<droptone> my hero.
<jack_rabbit> itadder_, never heard of it.
<itadder_> to bad you only get a cert not a real degree unless you pay for it
<jack_rabbit> oh, wait!
<itadder_> it a stats lang
<jack_rabbit> R, yeah!
Voodoofish430 has quit [Quit: Leaving.]
<benzrf|oppressed> droptone: i dont know rails oops
<droptone> So, backstory, that's my simple Rails 3.2.x custom routes in Devise code that works fine, except it appears Rails 4 checks for duplicate routes and errors out if they exist
<itadder_> I think it the open source version of something like matlab
<jack_rabbit> itadder_, I've looked at it. Didn't care much for it either.
<droptone> haha, ok, thanks just the same.
crystal77 has quit [Client Quit]
<jack_rabbit> itadder_, too domain-specific for my liking.
bluehavana_ has joined #ruby
magicrails has quit [Quit: magicrails]
<itadder_> yea
mehlah has quit [Client Quit]
<itadder_> the only two lang I know some what are ruby and powershell
<itadder_> I am so lazy
<jack_rabbit> powershell sucks.
<jack_rabbit> (IMO)
<itadder_> LOL
<itadder_> well I have no choose at work
<jack_rabbit> :)
<itadder_> it beats vb script
<jack_rabbit> well, just by a bit.
<Steve445> Ok, so ya, looking for people that use GitHub or GitLab at work or on projects where they would track their time that they worked on projects
necrotic_ has joined #ruby
<Steve445> trying to find more use cases for: https://github.com/StephenOTT/GitHub-Time-Tracking
necrotic_ has quit [Remote host closed the connection]
<jack_rabbit> itadder_, I used to work exclusively on windows, maintaining a bunch of old vbscript server maintainance stuff.
<itadder_> oh unlucky you
<itadder_> I want to get out of that world
<jack_rabbit> itadder_, I tried to interface new powershell stuff with old vbscript stuff, and it was a pain in the ass.
<itadder_> windows scares me
<xuisc> itadder_: heh
<jack_rabbit> itadder_, yeah. Just move to linux.
<xuisc> me too
<itadder_> I have a ex coworker who is a great friend
<itadder_> he a PRO at powershell
<jack_rabbit> itadder_, I moved to linux like 5 years ago, and it's wonderful.
<itadder_> He also has this memory like no one else
<itadder_> he can speed read and learn something in hour
<itadder_> one
<itadder_> jack_rabbit: I bet
magicrails has joined #ruby
<jack_rabbit> itadder_, are you on linux at home?
<itadder_> I like powershell but it not as good as ruby
<itadder_> :)
<itadder_> well I use mac osx
<jack_rabbit> :) well you can learn bash then.
<itadder_> i ALWAYS been a apple fan
<jack_rabbit> bash scripting is UGLY.
<itadder_> I have zsh
<jack_rabbit> but it's way better than anything on windows.
<itadder_> yea sure is
<jack_rabbit> itadder_, same thing. zsh is a little nicer.
<BeingUntoDeath> can someone point me how to get out of console in ruby? in VS i used windowsformapps to make a window... wondering how to do someone similar in ruby.
<itadder_> someone ported powershell to unix
<itadder_> did you know that
mehlah has joined #ruby
<itadder_> but the projects been dead for years
<Steve445> CTRL + C
<havenwood> pash
<itadder_> yes pash, but havenwood it dead
<jack_rabbit> BeingUntoDeath, CTRL+C or CTRL+D
<havenwood> itadder_: it seems alive
<itadder_> I heard that google admins use ruby to manager thier end user macs
<jack_rabbit> itadder_, Gee, I wonder why.
<havenwood> itadder_: my god, if its dead and has a pulse... undead!!!
<havenwood> it's*
yubrew has joined #ruby
<itadder_> oh that project is alive
<havenwood> pash lives!
<itadder_> well I did not go to the git hub page
<itadder_> I went else
montyboy has joined #ruby
<itadder_> I went hear during the summer http://pash.sourceforge.net/ <--
<itadder_> I guess I was wrong
<jack_rabbit> Huh. Does it use Mono or something? I thought powershell relied a lot on .net.
<BeingUntoDeath> i mean how to create a separate pane outside of the cmd.exe that i'm running my .rb in, like a window that i can put buttons in, etc.
<havenwood> jack_rabbit: written in C#, yes mono
pierre1_ has quit [Quit: Leaving]
<itadder_> what about WMI classes
<itadder_> thier no WMI in unix
<jack_rabbit> indeed.
<itadder_> is thier a good ruby interpertor for IOS for my iphone
Zunonia_ has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
<itadder_> many times in the buss or walking somwhere I would like to test some code I learned and tinker with it,but IOS is locked down I can't get to a tty session
<itadder_> maybe ssh would be the only way, only if apple allowed IRB
<havenwood> mruby ftw
<xuisc> howdy havenwood
<itadder_> havenwood: wow you are the greatest today
<xuisc> i love ruby
<havenwood> xuisc: hiya
<xuisc> hey I was in here before
<xuisc> im a student who's interst in ruby
<xuisc> :)
<havenwood> xuisc: welcome back
<xuisc> programming but I like Ruby
newton has left #ruby [#ruby]
<havenwood> xuisc: Ruby is lovely ;)
<xuisc> Im a new programmer and Ruby seems like the place to be
<itadder_> is mono use in comercial production, or is it just a proof of concept or toy
<xuisc> I tried java before in high school and it is garbage
<xuisc> RUby it is havenwood :)
yubrew has quit [Ping timeout: 240 seconds]
<havenwood> xuisc: JRuby is nice though.
<havenwood> xuisc: I don't always JVM, but when I do I JRuby (or Clojure).
<xuisc> ok
<itadder_> oh
<jack_rabbit> clojure ftw
<jack_rabbit> clojure is really, really cool.
<itadder_> my comapny currently has some tomcat
<itadder_> and it just slow reads and writes
niklasb has quit [Ping timeout: 244 seconds]
<havenwood> or JRuby and Clojure together via RedBridge and jrclj!
dkamioka has quit [Remote host closed the connection]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
<itadder_> so jruby is a port of java for ruby
<havenwood> itadder_: JRuby is Ruby on the JVM.
<itadder_> why would they do that
<havenwood> itadder_: Java can use JRuby jars and JRuby can use other JVM code via RedBridge.
<itadder_> I thought c was faser
<havenwood> itadder_: Nope.
<havenwood> itadder_: JRuby 9000!!
<jack_rabbit> itadder_, it depends.
<itadder_> oh
<jack_rabbit> itadder_, the JVM is awesome. Probably better at garbage collecting than native ruby is.
<itadder_> most of the java applets I used take sometime to load
<itadder_> ahh
pinage404 has joined #ruby
<centrx> itadder_, JRuby compiles Ruby into JVM bytecode. MRI is still interpreted even if it is written in C.
<centrx> itadder_, Also there are other advantages to JRuby like true multithreading
<BeingUntoDeath> right there with you <xuisc>
<jack_rabbit> itadder_, right. It's a tradeoff. If you want to program native code, you can probably make it faster than something on the JVM. If you want to program ruby, you can use jRuby to leverage the JVM's awesomeness.
alexju has joined #ruby
<havenwood> and of the non-Java langs on the JVM, JRuby really shines with invoke dynamic etc
<itadder_> plus jvm has a lot of security issues and gnu gcc not as much
<jack_rabbit> well... That's not quite true.
<itadder_> oh
vlad_starkov has joined #ruby
<havenwood> Clojure doesn't have anything like JRuby invoke dynamic support.
<jack_rabbit> gcc is perfectly happy to compile security-hole-ridden code for you.
<xuisc> BeingUntoDeath: thanks
<xuisc> :)
<xuisc> I love RUby
<xuisc> its the future and much freindlier according to my freind at Google
<jack_rabbit> havenwood, clojure is already dynamic.
<xuisc> Im learning it
<havenwood> jack_rabbit: it would get performance benefits from leveraging invoke dynamic
<jack_rabbit> havenwood, that's probably very true. :) Right now I think it uses a lot of reflection.
<havenwood> jack_rabbit: also, JRuby research in the Truffle direction is very interesting
blackmesa has quit [Ping timeout: 264 seconds]
<havenwood> jack_rabbit: but <3 clojure :)
<jack_rabbit> :)
<jack_rabbit> Hopefully the JVM will add proper TCO soon.
<havenwood> mm
<BeingUntoDeath> can someone help me with this? I'm wondering how to open a form or window with ruby...
<havenwood> BeingUntoDeath: form or window? whatcha mean?
<BeingUntoDeath> i heard there can be problems with ruby and windows...
<centrx> BeingUntoDeath, Try Ruby Shoes ?
<BeingUntoDeath> like how with C# in VS you just reference windowsformapplication
<havenwood> BeingUntoDeath: Checkout Shoes4: https://github.com/shoes/shoes4#readme
<BeingUntoDeath> which is where you put components
<BeingUntoDeath> thank you very much guys. :)
<xuisc> thaks again guys
<xuisc> :)
<xuisc> BeingUntoDeath: I'll start Ruby later thsis week or tommrow
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
<BeingUntoDeath> yeah? i've been coding for... four days.
<BeingUntoDeath> lol.
Salve has joined #ruby
<BeingUntoDeath> used easymode on DW for webdev back in the day... wasted 4yrs getting a BS in psych.. and now i realize... IT is where i should have been going all along.
<BeingUntoDeath> and i agree, ruby is nice...
vlad_starkov has quit [Ping timeout: 244 seconds]
<jack_rabbit> if you want to make money, there's a lot to be made in technology.
petey has joined #ruby
<godd2> It's not totally wasted, having a degree gets you in doors in general.
<havenwood> godd2: agreed, not worthless
senayar has quit []
<BeingUntoDeath> ^^^ thanks.
<BeingUntoDeath> lets hope not.
<havenwood> godd2: even if not in CS :O
<godd2> ESPECIALLY if it's not CS :P
<havenwood> godd2: :)
<havenwood> srsly
<BeingUntoDeath> gonna shadow a guy who does mobile dev with ruby... hopefully get a job with him once i learn it.
<havenwood> BeingUntoDeath: MobiRuby or RubyMotion?
<havenwood> BeingUntoDeath: or webapps?
<BeingUntoDeath> NO idea, what do you mean?
<godd2> BeingUntoDeath: don't forget, learning programming takes a lifetime :)
St_Marx has quit [Ping timeout: 245 seconds]
<havenwood> BeingUntoDeath: Oh, those are ways to do mobile apps in iOS/Android in Ruby, i was just curious.
<BeingUntoDeath> godd2: i realize that, lol. sucks to hear when you put it that way.. i just need enough basics for a job.
rickruby has joined #ruby
<BeingUntoDeath> havenwood: excellent, thank you. i will look into what they use so i can use tthe same. very helpful.
<godd2> BeingUntoDeath: also, if you're a visual learner, Lynda.com has some amazing Ruby and Ruby on Rails video tutorials
Salve has quit [Ping timeout: 252 seconds]
<havenwood> Blockly!
<xuisc> thanks again guys
kllyy has quit []
octv has quit [Remote host closed the connection]
<BeingUntoDeath> so why do I need Jruby or JDK to do windows forms? are there alternatives to this?
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> BeingUntoDeath: You don't need to, you could use a different version of shoes or not use shoes at all. It is just a well-supported way.
<BeingUntoDeath> and are there forms you can open with ruby that don't require this.. as in, maybe they're not "windows" forms?
<BeingUntoDeath> i see!
bluepojo__ has joined #ruby
<xuisc> hey BeingUntoDeath maybe we can learn from each other
<xuisc> :)
<xuisc> Im new and your new
<xuisc> :P
<godd2> pair programming ftw
<BeingUntoDeath> sure thing brother. noobs unite.
<BeingUntoDeath> good thing these guys are so helpful. :)
<xuisc> haha
<xuisc> sure
<xuisc> nice to meet ya
<godd2> as long as you don't ask us about models, views, and controllers, we're usually pretty nice
whowantstolivefo has quit [Read error: Connection reset by peer]
<xuisc> godd2: pretty sure as a starter I wont :)
<havenwood> godd2: #RubyOnRails OMGWTFBBQ!!!
<xuisc> I just love ruby for some reason :P
<xuisc> the name and its Japanese
whowantstolivefo has joined #ruby
<BeingUntoDeath> i don't get that godd2... lol. hope i don't on accident!
<BeingUntoDeath> that's not what i'm asking about with these forms is it?
<godd2> BeingUntoDeath: don't worry, if you do, it will be on purpose :0
flowerhack has quit [Remote host closed the connection]
<BeingUntoDeath> ahh! ;) i see.
bluepojo has quit [Ping timeout: 265 seconds]
v0n has joined #ruby
<BeingUntoDeath> so if not JDK or JRuby, Shoes, etc... what other ways are there to open a new form outside of the console with ruby? is there a simple answer for this?
<BeingUntoDeath> i'd like to take my code out of console and do some degree of design...
<BeingUntoDeath> :O
Mongey has joined #ruby
danshultz has joined #ruby
<havenwood> gtk, qt, wx
<havenwood> the usual suspects
<BeingUntoDeath> excellent... lots of research to do. lol. thank you.
<BeingUntoDeath> damn, DLs for shoes increased 7% in the last month... glad i'm no later getting into IT.
<xuisc> thanks guys
Shidash has quit [Ping timeout: 244 seconds]
niftylettuce_ has quit [Quit: Connection closed for inactivity]
<itadder_> I am voing foing t 06
havenwood has quit [Remote host closed the connection]
itadder_ has quit [Remote host closed the connection]
havenwood has joined #ruby
<b1nd> How can I store data into a object like json?
toastynerd has joined #ruby
<b1nd> so that I can do; elements.each do |items|; then -> items.first and items.second ?
agent_white has joined #ruby
niklasb has joined #ruby
segmond has quit [Ping timeout: 240 seconds]
<benzrf|oppressed> b1nd: hmm?
<benzrf|oppressed> there is no .second
<benzrf|oppressed> first and last yeah
<b1nd> well not the first and last elements in the array
<centrx> #second is an ActiveSupport method
<b1nd> in json i can do something like { url: 'Http://xxxx', title: 'Title Here' }
<b1nd> and then if i store my object like var foo = { url: 'Http://xxxx', title: 'Title Here' }; I can simply do; foo.url, foo.title
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Akuma has joined #ruby
<b1nd> How do I create a ruby array to do something like this, because I see several examples online where they have, bar.each do |foo|; puts foo.url; puts foo.title;
Steve445 has quit [Read error: Connection reset by peer]
<benzrf|oppressed> o
sarmiena_ has quit [Quit: sarmiena_]
jlast has joined #ruby
havenwood has quit [Ping timeout: 244 seconds]
<b1nd> however, I do not see how they instate that object
terrellt has quit [Ping timeout: 265 seconds]
terrellt has joined #ruby
ukd1 has joined #ruby
danshultz has quit [Remote host closed the connection]
kenndel_ has joined #ruby
Steve445 has joined #ruby
<benzrf|oppressed> uh huh
freerobby has joined #ruby
<benzrf|oppressed> oh
<benzrf|oppressed> why not just use a hash though?
<benzrf|oppressed> it might be a struct
danshultz has joined #ruby
ukd1 has quit [Client Quit]
ninegrid has quit [Ping timeout: 265 seconds]
maletor has joined #ruby
<b1nd> basically, I have some url/titles how can i store them/
ninegrid has joined #ruby
<benzrf|oppressed> use a struct or somethin
<benzrf|oppressed> or even
<benzrf|oppressed> a hash??
kenndel has quit [Ping timeout: 265 seconds]
<centrx> *gasp*
jonno11 has joined #ruby
fgo has quit [Remote host closed the connection]
flowerhack has joined #ruby
<b1nd> example please
fgo has joined #ruby
Celm has joined #ruby
<benzrf|oppressed> info = {:url => something, :title => something_else}
<benzrf|oppressed> or {url: something, title: something_else} for short
sdouglas has quit [Remote host closed the connection]
<benzrf|oppressed> then use []
<godd2> >> foo = { url: 'Http://xxxx', title: 'Title Here' }; foo[:url]
<eval-in> godd2 => "Http://xxxx" (https://eval.in/117758)
sdouglas has joined #ruby
krz has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
timonv has joined #ruby
aspires has quit []
montyboy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<agent_white> I... can't... stop... http://gabrielecirulli.github.io/2048/
<godd2> of course, if you want it to be so that you can say foo.url instead of foo[:url], then you ahve to make a class, or as benzrf|oppressed said, a struct (which is quick and dirty special kind of class)
danshultz has quit [Ping timeout: 240 seconds]
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<b1nd> and if I have a bunch of them?
<b1nd> I can add them into an array so...
tjr9898_ has joined #ruby
tjr9898 has joined #ruby
sski has quit [Remote host closed the connection]
<b1nd> arrayname.push({url: something, title: something_else});
<godd2> >> class Foo < Struct.new(:url, :title); end; foo = Foo.new('Http://xxxx', 'Title Here'); foo.url
<eval-in> godd2 => "Http://xxxx" (https://eval.in/117760)
<b1nd> would work?
weie has joined #ruby
<benzrf|oppressed> b1nd: use << not push o:
sski has joined #ruby
<benzrf|oppressed> >> [1, 2, 3].push 4
<eval-in> benzrf|oppressed => [1, 2, 3, 4] (https://eval.in/117761)
fgo has quit [Ping timeout: 264 seconds]
<benzrf|oppressed> >> [1, 2, 3] << 4
<eval-in> benzrf|oppressed => [1, 2, 3, 4] (https://eval.in/117762)
tjr9898_ has quit [Remote host closed the connection]
<b1nd> why is << better than push when it looks to do the same thing?
<benzrf|oppressed> it does do the same thing
Megtastique has quit []
tjr9898_ has joined #ruby
<benzrf|oppressed> but it looks cooler
<benzrf|oppressed> :3
<godd2> most people use << in the ruby community
<centrx> << is idiomatic Ruby
sdouglas has quit [Ping timeout: 240 seconds]
<benzrf|oppressed> you certainly don't /have/ to
<b1nd> okay i will use that then since most ppl using it and if they want to read my code
<godd2> but we'll talk about you behind your back if you use Array#push
timonv has quit [Ping timeout: 240 seconds]
danshultz has joined #ruby
weie has left #ruby [#ruby]
<b1nd> >> []<< {url: something, title: somethingElse});
<eval-in> b1nd => /tmp/execpad-bd54432d4f51/source-bd54432d4f51:2: syntax error, unexpected ')', expecting keyword_end ... (https://eval.in/117763)
<b1nd> >> [] << {url: 'something', title: 'somethingElse'});
<eval-in> b1nd => /tmp/execpad-2c2c465db907/source-2c2c465db907:2: syntax error, unexpected ')', expecting keyword_end ... (https://eval.in/117764)
<godd2> you have an extra parentheses
<b1nd> >> [] << {url: 'something', title: 'somethingElse'};
<eval-in> b1nd => [{:url=>"something", :title=>"somethingElse"}] (https://eval.in/117765)
mehlah has quit [Quit: Leaving...]
<godd2> also, I know we've been using them to show examples here, but be sure to almost never use semi-colons in your code (unless you REALLY have to)
<b1nd> >> [] << {url: 'something', title: 'somethingElse'} << {url: 'other', title: 'something'};
<eval-in> b1nd => [{:url=>"something", :title=>"somethingElse"}, {:url=>"other", :title=>"something"}] (https://eval.in/117766)
tjr9898__ has joined #ruby
<b1nd> okay
sski has quit [Ping timeout: 240 seconds]
<godd2> we HAVE to use then for eval in since we want multiple lines of code in a single input
<b1nd> okay thanks
<b1nd> let me go do this stuff
<godd2> no prob :)
jjbohn has quit [Quit: Leaving...]
tjr9898 has quit [Ping timeout: 265 seconds]
tjr9898_ has quit []
magicrails has quit [Quit: magicrails]
<benzrf|oppressed> ttyl yall
benzrf|oppressed has left #ruby [#ruby]
jeregrine has joined #ruby
segmond has joined #ruby
Red_Onyx has joined #ruby
marcdel has joined #ruby
Elico has joined #ruby
CreativeEmbassy has joined #ruby
<BeingUntoDeath> Shoes is exactly what i was looking for...
<BeingUntoDeath> Shoes is exactly what I was looking for.
<BeingUntoDeath> oops.
<BeingUntoDeath> lol.
<BeingUntoDeath> should I install in my Ruby folder?
<BeingUntoDeath> if so, where? please/thank you :)
Mongey has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
Mongey has joined #ruby
hermanmunster has quit [Remote host closed the connection]
zachallett has joined #ruby
hermanmunster has joined #ruby
thomasxie has joined #ruby
niklasb has quit [Ping timeout: 240 seconds]
JBreit has joined #ruby
Hobogrammer has joined #ruby
xxpor has joined #ruby
vpretzel has quit [Quit: Adios!]
sepp2k has quit [Read error: Connection reset by peer]
zachallett has quit [Read error: Connection reset by peer]
sski has joined #ruby
polydius has quit [Quit: EOF]
yxhuvud has joined #ruby
zachallett has joined #ruby
toastynerd has quit [Remote host closed the connection]
<b1nd> How do I use this data in haml ?
<b1nd> - @elements.each do |item|
<b1nd> .box2
<b1nd> = item
ccooke is now known as cc2
cc2 is now known as ccooke
<b1nd> tried, = item.title
<b1nd> but that just does blank, and if I print it out like I have it, then i get all of the data with the { }
datacrusher has quit [Quit: Saindo]
hermanmu_ has joined #ruby
hermanmunster has quit [Ping timeout: 240 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
IceDragon has quit [Quit: Space~~~]
Es0teric has joined #ruby
thomasxie has quit [Client Quit]
vpretzel has joined #ruby
nari has joined #ruby
rococo has joined #ruby
Celm has quit [Remote host closed the connection]
magicrails has joined #ruby
Celm has joined #ruby
segmond has quit [Ping timeout: 240 seconds]
Steve445 has quit [Quit: Steve445]
polydius has joined #ruby
polydius has quit [Max SendQ exceeded]
sdouglas has joined #ruby
segmond has joined #ruby
ccooke is now known as cc3
jlast has quit [Remote host closed the connection]
afex has quit [Ping timeout: 240 seconds]
freezey has joined #ruby
segmond has quit [Client Quit]
Salve has joined #ruby
evenix has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
agarie has quit [Quit: Leaving...]
zachallett has quit [Remote host closed the connection]
cc3 is now known as ccooke
lw has joined #ruby
segmond has joined #ruby
kennym has quit [Quit: Leaving.]
sdouglas has quit [Ping timeout: 244 seconds]
Vovko has joined #ruby
ccooke is now known as cc2
segmond has quit [Client Quit]
segmond has joined #ruby
<Robbo_> I am extending this https://github.com/middleman/middleman-blog/blob/master/lib/middleman-blog/extension.rb#L10 however these options arent being called, do I have to call something so that they are?
Celm has quit [Remote host closed the connection]
cc2 is now known as ccooke
Salve has quit [Ping timeout: 240 seconds]
Zesty has joined #ruby
klue has joined #ruby
michael_lee has joined #ruby
Mongey has joined #ruby
vpretzel has quit [Ping timeout: 265 seconds]
ccooke is now known as cc2
paolooo has joined #ruby
cc2 is now known as ccooke
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonno11 has joined #ruby
mlpinit has quit [Remote host closed the connection]
zcreative has joined #ruby
thomasxie has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
toastynerd has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
crucify_me has joined #ruby
nso95 has joined #ruby
ccooke is now known as cc2
cc2 is now known as ccooke
evenix has quit [Remote host closed the connection]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
Hanmac has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
danshultz has quit [Ping timeout: 264 seconds]
hiyosi has quit [Ping timeout: 244 seconds]
krz has joined #ruby
jaimef has quit [Excess Flood]
Vovko has quit [Remote host closed the connection]
<crucify_me> http://pastie.org/8906074 anyone shed any light on these special chars, including \, \\ and $1 et al ?
Hanmac1 has quit [Ping timeout: 244 seconds]
Avahey_ has quit [Quit: Connection closed for inactivity]
niklasb has joined #ruby
niklasb has quit [Client Quit]
<Robbo_> crucify_me: just looks like regex?
yeticry has quit [Ping timeout: 264 seconds]
shadoi1 has quit [Quit: Leaving.]
<bnagy> crucify_me: \ is to escape stuff, so \\ is a literal \ char. $1 etc are global matchvars that get set by Regexp - their use is not encouraged
pierre1_ has joined #ruby
Celm has joined #ruby
ffranz has quit [Ping timeout: 240 seconds]
m104 has joined #ruby
freezey has quit [Remote host closed the connection]
<crucify_me> bnagy: global matchvars?
<bnagy> global vars, which get set to last match
hermanmu_ has quit [Remote host closed the connection]
<bnagy> >> 'foo'=~/o(o)/; $1
<eval-in> bnagy => "o" (https://eval.in/117768)
browndawg has joined #ruby
hermanmunster has joined #ruby
<bnagy> >> 'baz'=~/(.)(.)/; $2
<eval-in> bnagy => "a" (https://eval.in/117769)
jaimef has joined #ruby
<BeingUntoDeath> where should Shoes be saved in order to access it? When I refer to Shoes.app(etc) do it says unintialized constant Shoes <NameError>
<Robbo_> I am extending this https://github.com/middleman/middleman-blog/blob/master/lib/middleman-blog/extension.rb#L10 however these options arent being called, do I have to call something so that they are?
<crucify_me> thanks I'll check it out and heed discouragement.
<crucify_me> bnagy: ^^
<bnagy> BeingUntoDeath: you need to install it, as a gem, probably, then require 'shoes' or something in your script
linkdiddy has joined #ruby
lw has quit [Quit: s]
hermanmunster has quit [Read error: Connection reset by peer]
hermanmu_ has joined #ruby
<BeingUntoDeath> can you point me how to install a gem (keep hearing about gems but don't know what they are)
magicrails has quit [Quit: magicrails]
<bnagy> you need to find some kind of guide online
<bnagy> IRC is not for total spoonfeeding
<BeingUntoDeath> i know, thanks.
Celm has quit [Remote host closed the connection]
Celm has joined #ruby
sambao21 has joined #ruby
Fyyr13_ has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andy4thehuynh has joined #ruby
kobain has joined #ruby
etqqkoiflwhb has joined #ruby
yubrew has joined #ruby
andy4thehuynh has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
Vovko has joined #ruby
toastynerd has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jjbohn has joined #ruby
cashnguns has quit [Quit: I'm just an old fashioned cowboy]
sensen has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yacks has joined #ruby
freezey has joined #ruby
SCommette has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
yubrew has quit [Ping timeout: 240 seconds]
mlpinit has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
jjbohn has quit [Ping timeout: 240 seconds]
linkdiddy has quit [Quit: linkdiddy]
mlpinit has quit [Read error: Connection reset by peer]
armyriad has quit [Ping timeout: 240 seconds]
mlpinit has joined #ruby
Tamae has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
Vovko has quit [Remote host closed the connection]
linkdiddy has joined #ruby
duythinht has joined #ruby
<BeingUntoDeath> i'll agree i phrased the question poorly. so a gem is just a packet of preassembled code/classes to build methods of...?
<BeingUntoDeath> and you have to "rake" this code in before you use it in the file...
mlpinit has quit [Ping timeout: 240 seconds]
sski has quit [Remote host closed the connection]
sski has joined #ruby
speakingcode has joined #ruby
bluehavana_ has quit [Quit: Connection closed for inactivity]
Mongey has quit [Read error: Connection reset by peer]
<toretore> BeingUntoDeath: yes, a gem is a bunch or files packed together
Mongey has joined #ruby
rickruby has quit [Remote host closed the connection]
<toretore> you install a gem onto your system and require the files from it
sdouglas has joined #ruby
<toretore> nothing to do with rake
sski has quit [Ping timeout: 252 seconds]
andy4thehuynh has joined #ruby
magoo_ has joined #ruby
thomasxie has left #ruby [#ruby]
recurrence has joined #ruby
Celm has quit [Remote host closed the connection]
tungd has joined #ruby
bbloom_ has joined #ruby
andy4the_ has joined #ruby
the_mentat has quit [Ping timeout: 240 seconds]
the_mentat has joined #ruby
andy4the_ has quit [Client Quit]
andy4thehuynh has quit [Ping timeout: 240 seconds]
bbloom has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
Salve has joined #ruby
freezey has quit [Remote host closed the connection]
Mongey has quit [Read error: Connection reset by peer]
Vovko has joined #ruby
Mongey has joined #ruby
sski has joined #ruby
jaimef has quit [Excess Flood]
CreativeEmbassy has joined #ruby
kobain has quit [Ping timeout: 264 seconds]
jaimef has joined #ruby
etqqkoiflwhb_ has joined #ruby
jetblack has quit [Ping timeout: 265 seconds]
Salve has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 240 seconds]
kobain has joined #ruby
crucify_me has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
ankushio has joined #ruby
speakingcode has quit [Ping timeout: 252 seconds]
ankushio has quit [Client Quit]
michaeldeol has joined #ruby
multi_io_ has quit [Read error: Operation timed out]
radic has quit [Ping timeout: 244 seconds]
freezey has joined #ruby
sambao21 has joined #ruby
Celm has joined #ruby
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
jonr22 has quit [Remote host closed the connection]
xaq has quit [Remote host closed the connection]
jonr22 has joined #ruby
duggiefresh has quit [Remote host closed the connection]
radic has joined #ruby
multi_io has joined #ruby
agent_white has quit [Quit: brb]
Mongey has quit [Read error: Connection reset by peer]
<BeingUntoDeath> toretore: thank you!
timonv has joined #ruby
aspires has joined #ruby
lw has joined #ruby
jonr22 has quit [Ping timeout: 244 seconds]
mlpinit has joined #ruby
m104 has quit [Quit: brb]
lw has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
timonv has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
mlpinit has quit [Ping timeout: 240 seconds]
sski has quit [Remote host closed the connection]
Xiti` has joined #ruby
freezey has quit [Remote host closed the connection]
michaeldeol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
Vovko has quit [Ping timeout: 240 seconds]
braincrash has quit [Quit: bye bye]
scttnlsn has quit [Ping timeout: 240 seconds]
Bosox20051 has joined #ruby
lachesis has quit [Ping timeout: 245 seconds]
scttnlsn has joined #ruby
yubrew has joined #ruby
sski has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
duythinht has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
braincrash has joined #ruby
kitak has joined #ruby
fgo has joined #ruby
lachesis has joined #ruby
jlast has joined #ruby
stkowski has quit [Quit: stkowski]
yubrew has quit [Ping timeout: 264 seconds]
armyriad has joined #ruby
xaq has joined #ruby
sdouglas has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 240 seconds]
jjbohn has joined #ruby
multi_io has quit [Ping timeout: 265 seconds]
Deele has quit [Ping timeout: 264 seconds]
multi_io has joined #ruby
alexju has quit [Remote host closed the connection]
xaq has quit [Ping timeout: 244 seconds]
etqqkoiflwhb__ has joined #ruby
vlad_starkov has joined #ruby
etqqkoiflwhb_ has quit [Read error: Connection reset by peer]
jjbohn has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
JasmeetQA has joined #ruby
sdouglas has joined #ruby
iamdoo2 has joined #ruby
pontiki has joined #ruby
<pontiki> hi folks
linkdiddy has quit [Quit: linkdiddy]
saarinen has quit [Quit: saarinen]
petey has quit [Remote host closed the connection]
sarmiena_ has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
petey has joined #ruby
yasushi has joined #ruby
stupidystupid has joined #ruby
<stupidystupid> Hey guys ... I am doing a ruby school... I am abit stuck on something, it's in Sinatra, can anyone help with that?
decoponio has joined #ruby
petey has quit [Ping timeout: 252 seconds]
obbo has joined #ruby
<obbo> hello. what's a good way to go about getting an array of dates for the start and end of each week of a year? for instance: [ [2014-03-09, 2014-03-15] ] for this week, starting on sunday?
nari has joined #ruby
philcrissman has joined #ruby
etqqkoiflwhb___ has joined #ruby
yokel has quit [Read error: Operation timed out]
Muz has quit [Read error: Operation timed out]
Muz has joined #ruby
yokel has joined #ruby
echevemaster has quit [Quit: Leaving]
etqqkoiflwhb__ has quit [Ping timeout: 252 seconds]
kate_r has joined #ruby
kate_r has quit [Max SendQ exceeded]
sensen has quit [Ping timeout: 240 seconds]
philcrissman has quit [Ping timeout: 264 seconds]
aspires has quit []
linojon has quit [Quit: linojon]
aspires has joined #ruby
Salve has joined #ruby
eri_ has joined #ruby
<eri_> hi
<stupidystupid> hi!!
<eri_> somebody here can help me to install ruby on debian
<eri_> ?
browndawg has quit [Ping timeout: 240 seconds]
godd2 has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 240 seconds]
sensen has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
<nso95> eri_: Google can
okinomo has joined #ruby
<eri_> yes i do man
zcreative has quit [Quit: Computer has gone to sleep.]
<eri_> hahaha
JasmeetQA has joined #ruby
dapz has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
<eri_> if i come here its becose google cant do
yokel has joined #ruby
obbo has quit [Quit: Page closed]
bkparso has joined #ruby
Slavox is now known as Slavox|AFK
Salve has quit [Ping timeout: 265 seconds]
<eri_> or im look like stupid cuz im come here and ask for help?? nso95 ??
<nso95> eri_: stupid? no.
<eri_> ok
<nso95> but we can't help you any more than a tutorial you find
sski has quit [Remote host closed the connection]
<eri_> if somebody can help me im try to install ruby on debian
yacks has quit [Quit: Leaving]
etqqkoiflwhb___ has quit [Quit: Computer has gone to sleep.]
<eri_> nso95: this is your opinion
sski has joined #ruby
<nso95> The majority opinion
<eri_> if you cant maybe somebody can
Axsuul_ has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
<eri_> wow i think the people make this channels to support
hobodave has joined #ruby
<eri_> or this is the idea of this
<eri_> but you talk for the majory
axsuul has quit [Read error: Connection reset by peer]
<eri_> right now your are here for nothing
<eri_> have a good night
yokel has quit [Ping timeout: 264 seconds]
eri_ has quit [Quit: leaving]
cover has quit [Remote host closed the connection]
Solnse has quit [Quit: Leaving.]
yokel has joined #ruby
sski has quit [Ping timeout: 264 seconds]
sski has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
sparrovv has joined #ruby
Dreamer3 has joined #ruby
okinomo has quit [Quit: Lost terminal]
SCommette has quit [Quit: SCommette]
Celm has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 244 seconds]
evenix has joined #ruby
Dreamer3__ has joined #ruby
Dreamer3 has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 264 seconds]
juarlex has joined #ruby
sputnik13net has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Sushruth has joined #ruby
yokel has joined #ruby
kate_r has joined #ruby
kate_r has quit [Max SendQ exceeded]
pierre1_ has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
sparrovv has quit [Ping timeout: 264 seconds]
Dreamer3 has joined #ruby
Dreamer3__ has quit [Read error: Connection reset by peer]
kate_r has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
mlpinit has joined #ruby
evenix has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
Celm has joined #ruby
kitak has quit [Remote host closed the connection]
yubrew has joined #ruby
yasushi has quit [Remote host closed the connection]
Dreamer3__ has joined #ruby
meatherly has quit [Remote host closed the connection]
nisstyre has joined #ruby
Dreamer3__ has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
Dreamer3__ has joined #ruby
mlpinit has quit [Ping timeout: 265 seconds]
jaimef has joined #ruby
bkparso has quit [Quit: bkparso]
Celm has quit [Client Quit]
Dreamer3__ has quit [Max SendQ exceeded]
yubrew has quit [Ping timeout: 240 seconds]
yokel has quit [Read error: Connection reset by peer]
Dreamer3 has joined #ruby
yokel has joined #ruby
kitak has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
Red_Onyx has quit [Quit: Leaving]
Dreamer3__ has joined #ruby
snuffeluffegus has quit [Remote host closed the connection]
Axsuul_ has quit [Read error: Connection reset by peer]
Dreamer3 has quit [Read error: Connection reset by peer]
etqqkoiflwhb___ has joined #ruby
jlast has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
yacks has joined #ruby
mary5030 has joined #ruby
yokel has joined #ruby
Jetchisel has joined #ruby
Es0teric has quit [Ping timeout: 244 seconds]
jlast has quit [Ping timeout: 244 seconds]
Zaratustra has quit [Ping timeout: 245 seconds]
<BeingUntoDeath> do you install a gem through interactive ruby? as in "gem install shoes". i get undefined variable error
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fuhgeddaboudit has joined #ruby
Zaratustra has joined #ruby
Es0teric has joined #ruby
rickruby has joined #ruby
yokel has quit [Ping timeout: 252 seconds]
aagdbl has joined #ruby
Es0teric has quit [Max SendQ exceeded]
nso95 has left #ruby [#ruby]
kukyakya has joined #ruby
Es0teric has joined #ruby
browndawg has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
yokel has joined #ruby
Es0teric has quit [Max SendQ exceeded]
JasmeetQA has joined #ruby
Es0teric has joined #ruby
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fuhgeddaboudit has quit [Client Quit]
tjr9898 has joined #ruby
<bnagy> don't do it from irb, just from the command prompt
tjr9898__ has quit [Ping timeout: 265 seconds]
e4xit has quit [Ping timeout: 240 seconds]
rihbyne has joined #ruby
aagdbl has quit [Quit: Leaving.]
<rihbyne> hello anyone there
sdouglas has quit [Remote host closed the connection]
chris_thomson has quit [Quit: Zzz...]
<rihbyne> hello I have got ruby version 2.0.0p353. I am trying to install a package using ruby gems gives unknownhost error
sdouglas has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
xuisc has quit []
Es0teric has quit [Ping timeout: 252 seconds]
Sushruth is now known as fafa
fafa is now known as fafa94
yokel has joined #ruby
browndawg has left #ruby [#ruby]
freerobby has joined #ruby
kate_r has quit [Ping timeout: 264 seconds]
aspires has quit []
sdouglas has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
<rihbyne> hello anyone there
flowerhack has quit [Remote host closed the connection]
sdouglas has joined #ruby
dapz has quit [Ping timeout: 240 seconds]
aagdbl has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
<BeingUntoDeath> rihbyne: much like my problem...!
<rihbyne> BeingUntoDeath: you have solutions
<rihbyne> I dont use ruby btw
Fyyr13_ has quit [Quit: Leaving...]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<rihbyne> but I need to for a pakage.
mary5030 has quit [Remote host closed the connection]
robertjpayne has joined #ruby
yokel has quit [Ping timeout: 265 seconds]
mary5030 has joined #ruby
funburn has joined #ruby
Es0teric has joined #ruby
yokel has joined #ruby
browndawg has joined #ruby
kate_r has joined #ruby
kate_r has quit [Max SendQ exceeded]
alexju has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
lyanchih has joined #ruby
gigetoo has quit [Ping timeout: 244 seconds]
yokel has quit [Ping timeout: 240 seconds]
caveat- has quit [Ping timeout: 245 seconds]
Salve has joined #ruby
rubyduby has joined #ruby
yokel has joined #ruby
gigetoo has joined #ruby
timonv has joined #ruby
caveat- has joined #ruby
mcus has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
<robertjpayne> While ruby is running is it possible to get the path to the stdlib gems?
freerobby has quit [Read error: Connection reset by peer]
tjr9898 has quit []
freerobby1 has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
yokel has quit [Read error: Connection reset by peer]
yokel has joined #ruby
<hermanmu_> robertjpayne: try "$LOAD_PATH"
davedev2_ has quit [Remote host closed the connection]
<hermanmu_> robertjpayne: $LOAD_PATH is an array of paths to be searched
makara has joined #ruby
freerobby1 has quit [Ping timeout: 265 seconds]
<robertjpayne> thanks got it!
kitak has quit [Remote host closed the connection]
aagdbl has quit [Quit: Leaving.]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yubrew has joined #ruby
yfeldblum has joined #ruby
yokel has quit [Ping timeout: 244 seconds]
<rubyduby> for noobs, like to grasp the basic concepts of ruby. which books are good?
<arubin> rubyduby: Are you new to programming or new to Ruby?
<rubyduby> i am new to programming.
yokel has joined #ruby
arietis has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
yubrew has quit [Read error: Operation timed out]
<arubin> I am not sure.
<rubyduby> well, any material which can cover basic concepts thoroughly.
shevy has joined #ruby
sensen has quit [Ping timeout: 244 seconds]
<rubyduby> ok, thank you.. well i have read it, i know some basic concepts, but some concepts were difficult to grasp, so i was hoping for another good refrence to look onto... thanks btw.
mlpinit has joined #ruby
tvw has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
<arubin> Well, you can take a look at this: http://www.manning.com/black2/
yokel has quit [Ping timeout: 240 seconds]
whatasunnyday has quit [Quit: whatasunnyday]
<rubyduby> arubin: thanks!
JBreit has left #ruby ["Leaving"]
anarang has joined #ruby
meatherly has joined #ruby
<arubin> And there is always the Pickaxe book.
<arubin> That one is free.
yokel has joined #ruby
<arubin> Although it is old, hmmm.
Al__ has joined #ruby
<arubin> The newer versions are not free.
mlpinit has quit [Ping timeout: 240 seconds]
<rihbyne> hello I have got ruby version 2.0.0p353. I am trying to install a package using ruby gems gives unknownhost error
gigetoo has quit [Remote host closed the connection]
<rihbyne> guys any work around for this
<rubyduby> arubin: yeah! it seems helping, coz i just needed to grasp some basic concepts more clearly
<rihbyne> I am unable to install any package
<arubin> rubyduby: Just be careful if you use that resource because it is quite old.
gigetoo has joined #ruby
sdouglas has quit [Remote host closed the connection]
<rihbyne> I have rubygems and ruby-devel installed
sdouglas has joined #ruby
<rubyduby> arubin: any newer free resource that you know? coz i am out of budget these days :)
<arubin> rubyduby: There are newer versions of that book, but they are not free.
<arubin> rubyduby: I do not know enough about any other free works to recommend one.
<rubyduby> arubin: well, okay then i will handle it by asking questions here lol :)
meatherly has quit [Ping timeout: 240 seconds]
yokel has quit [Ping timeout: 240 seconds]
Al__ has quit [Client Quit]
Dreamer3__ has quit [Ping timeout: 264 seconds]
magoo_ has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
sdouglas has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
aagdbl has joined #ruby
sensen has joined #ruby
St_Marx has joined #ruby
St_Marx has quit [Remote host closed the connection]
Dreamer3 has joined #ruby
rickruby has quit [Remote host closed the connection]
monkegjinni has joined #ruby
rickruby has joined #ruby
Dreamer3 has quit [Read error: Connection reset by peer]
Dreamer3 has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
<hermanmu_> rihbyne: how are you trying to install gems? And what is in your ~/.gemrc file ?
toastynerd has joined #ruby
apeiros has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
Dreamer3 has quit [Read error: Connection reset by peer]
Dreamer3 has joined #ruby
<rihbyne> hermanmu_: sudo gem install <package_name>
<rihbyne> ruby version: ruby2.0.0p353
aganov has joined #ruby
Dreamer3 has quit [Read error: Connection reset by peer]
<rihbyne> rubygems 2.2.2
timonv has joined #ruby
Dreamer3 has joined #ruby
ksinkar has joined #ruby
rickruby has quit [Ping timeout: 240 seconds]
<hermanmu_> rihbyne: paste the exact command and output in a gist or whatever.
mlpinit has joined #ruby
toastynerd has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
whomp has quit [Quit: leaving]
hamakn has joined #ruby
kate_r has joined #ruby
ndrei has joined #ruby
arb_ has joined #ruby
juarlex has quit [Remote host closed the connection]
drx_ has quit []
petey has joined #ruby
toastynerd has joined #ruby
mlpinit has quit [Ping timeout: 240 seconds]
juarlex has joined #ruby
<rihbyne> hermanmu_: ok wait
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
diegoviola has quit [Remote host closed the connection]
nisstyre has quit [Ping timeout: 244 seconds]
bluOxigen has joined #ruby
petey has quit [Ping timeout: 265 seconds]
phansch has joined #ruby
toastynerd has quit [Remote host closed the connection]
<rihbyne> hermanmu_: running gem server gives me this http://dpaste.com/1713804/
Umschwung has joined #ruby
Umschwung has quit [Max SendQ exceeded]
<BeingUntoDeath> in cmd.exe c:\rb>gem install ??? I do shoes, <shoes>, Shoes\shoes and others and it comes up unrecognized
etqqkoiflwhb___ has quit [Read error: Connection reset by peer]
glosoli has joined #ruby
tonni has quit [Remote host closed the connection]
<BeingUntoDeath> trouble installing Shoes gem
etqqkoiflwhb___ has joined #ruby
<rihbyne> hermanmu_: http://dpaste.com/1713820/
tagrudev has joined #ruby
Xeago has joined #ruby
Macaveli has joined #ruby
rubyduby has quit [Quit: Page closed]
Salve has joined #ruby
Al__ has joined #ruby
rickruby has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
arb_ has quit []
heftig has quit [Quit: Quitting]
St_Marx has joined #ruby
arb_ has joined #ruby
freerobby has joined #ruby
aryaching has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hermanmu_ has quit [Remote host closed the connection]
ndrei has joined #ruby
hermanmunster has joined #ruby
nfk has joined #ruby
yubrew has joined #ruby
kevinykc_ has joined #ruby
funburn has quit [Quit: funburn]
Al__ has quit [Quit: Al__]
JasmeetQA has quit [Quit: Leaving.]
rickruby has quit [Ping timeout: 252 seconds]
JasmeetQA has joined #ruby
kevinykchan has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 265 seconds]
yfeldblu_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
kitak has joined #ruby
kate_r has quit [Ping timeout: 269 seconds]
hermanmunster has quit [Ping timeout: 265 seconds]
yubrew has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby
MedDev has joined #ruby
MedDev has left #ruby ["Leaving"]
stkowski has joined #ruby
timonv has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
relix has joined #ruby
tungd has quit [Read error: Connection reset by peer]
ayaz has joined #ruby
ayaz has quit [Max SendQ exceeded]
apeiros has quit [Ping timeout: 240 seconds]
tonni has joined #ruby
rdark has joined #ruby
ayaz has joined #ruby
ayaz has quit [Max SendQ exceeded]
meatherly has joined #ruby
bal has joined #ruby
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xsdg has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
blaxter has joined #ruby
fgo has quit [Remote host closed the connection]
dapz has joined #ruby
Hobogrammer has quit [Remote host closed the connection]
rihbyne has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kobain has quit []
jlast has joined #ruby
tylersmi_ has quit [Remote host closed the connection]
lazyguru has quit [Ping timeout: 252 seconds]
FL1SK has quit [Ping timeout: 240 seconds]
jlast has quit [Ping timeout: 244 seconds]
vlad_starkov has quit [Remote host closed the connection]
shevy has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 264 seconds]
tonni has quit [Read error: Connection reset by peer]
Sushruth has joined #ruby
jph98 has joined #ruby
fafa94 has quit [Ping timeout: 240 seconds]
gomix has quit [Ping timeout: 252 seconds]
mlpinit has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
roolo has joined #ruby
mlpinit has quit [Ping timeout: 265 seconds]
shevy has quit [Ping timeout: 240 seconds]
Merks has joined #ruby
Slavox|AFK is now known as Slavox
shevy has joined #ruby
tonni has joined #ruby
Kneferilis has joined #ruby
etqqkoiflwhb___ has quit [Read error: Connection reset by peer]
meatherly has quit [Ping timeout: 265 seconds]
etqqkoiflwhb___ has joined #ruby
toastynerd has joined #ruby
klue has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
sski has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 265 seconds]
sski has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
m1lt0n has joined #ruby
shevy has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
sski has quit [Ping timeout: 264 seconds]
tonni has quit [Ping timeout: 265 seconds]
Salve has joined #ruby
Speed has joined #ruby
yubrew has joined #ruby
kevinykc_ has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
jaxxstorm has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
jph98 has quit [Quit: jph98]
S0da has quit [Remote host closed the connection]
freerobby has joined #ruby
Salve has quit [Ping timeout: 244 seconds]
sameerynho has joined #ruby
toastynerd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
stkowski has quit [Quit: stkowski]
Xeago has joined #ruby
ndrei has joined #ruby
tonni has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 240 seconds]
supersym has quit [Quit: WeeChat 0.4.3]
tonni has quit [Read error: Connection reset by peer]
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
yfeldblu_ has quit [Read error: Connection reset by peer]
duggiefresh has joined #ruby
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby
shevy has quit [Ping timeout: 264 seconds]
CpuID has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
fgo has joined #ruby
duggiefresh has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
Slavox is now known as Slavox|AFK
binw_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 244 seconds]
tonni has joined #ruby
LiohAu has joined #ruby
binw has joined #ruby
leonidlm has joined #ruby
yeboot has left #ruby ["k"]
mikecmpbll has joined #ruby
Fridurmus has joined #ruby
dweeb_ has joined #ruby
glosoli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
ahawkins has joined #ruby
<kukyakya> How do i prevent #eval or #load from corrupting global variables?
amclain has quit [Quit: Leaving]
CpuID has joined #ruby
jlast has joined #ruby
senayar has joined #ruby
tvw has quit []
jprovazn has joined #ruby
sski has joined #ruby
rodayo has joined #ruby
roolo has quit [Quit: Leaving...]
jlast has quit [Ping timeout: 244 seconds]
JasmeetQA has quit [Quit: Leaving.]
charliesome has joined #ruby
<rodayo> This is something that I came up with in my head...suppose that I call one of class B's functions from class A. Is there a way for class B to check what type the caller is and then access one of its properties?
<rodayo> I'm asking if there's a technical programming term for that feature
mikecmpbll has quit [Quit: i've nodded off.]
browndawg has quit [Quit: Leaving.]
francisfish has joined #ruby
<canton7> 'dirty', 'horrible', and 'don't do this' come to mind :)
mlpinit has joined #ruby
tonni has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
JohnBat26 has joined #ruby
sski has quit [Ping timeout: 240 seconds]
petey has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #ruby
einarj has joined #ruby
etqqkoiflwhb___ has quit [Read error: Connection reset by peer]
mlpinit has quit [Ping timeout: 240 seconds]
etqqkoiflwhb___ has joined #ruby
paolooo has quit [Ping timeout: 245 seconds]
petey has quit [Ping timeout: 252 seconds]
Slavox|AFK is now known as Slavox
claymore has joined #ruby
meatherly has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
einarj has quit [Ping timeout: 240 seconds]
etqqkoiflwhb___ has quit [Client Quit]
<BeingUntoDeath> does shoes work for you guys? I'm getting "Sorry, this gem currently does nothing. Team shoes is working on it." etc
<BeingUntoDeath> if not, can you recommend a GUI framework?
sk87 has joined #ruby
jespada has joined #ruby
Slavox is now known as Slavox|AFK
Slavox|AFK is now known as Slavox
andrewlio has joined #ruby
heftig has joined #ruby
abk has joined #ruby
yubrew has joined #ruby
mikecmpbll has joined #ruby
bluenemo has joined #ruby
einarj has joined #ruby
sdouglas has joined #ruby
nouitfvf has quit [Read error: Connection reset by peer]
nouitfvf has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
aryaching has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 240 seconds]
ahawkins has quit [Read error: Connection reset by peer]
sdouglas has quit [Ping timeout: 240 seconds]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
yfeldblu_ has joined #ruby
Salve has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
shime has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
freerobby has joined #ruby
timonv has joined #ruby
Salve has quit [Ping timeout: 244 seconds]
rdark has quit [Quit: leaving]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
Slavox is now known as Slavox|AFK
tonni has joined #ruby
lazyguru has joined #ruby
timonv has quit [Read error: Operation timed out]
freerobby has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
fgo has quit [Remote host closed the connection]
klaut has joined #ruby
ahawkins has joined #ruby
bluepojo has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
workmad3 has joined #ruby
bluepojo__ has quit [Ping timeout: 265 seconds]
rodayo has quit [Quit: Page closed]
jpierre03 has quit [Ping timeout: 244 seconds]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby
jpierre03 has joined #ruby
hamakn has joined #ruby
blackmesa has joined #ruby
Fridurmus has quit [Ping timeout: 240 seconds]
elaptics`away is now known as elaptics
mikecmpbll has joined #ruby
francisfish has quit [Ping timeout: 240 seconds]
matchaw has joined #ruby
matchaw_ has quit [Ping timeout: 264 seconds]
riking_ has quit [Changing host]
riking_ has joined #ruby
riking_ is now known as Riking
HiroshiWatanabe has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
YamakasY has joined #ruby
dapz has quit [Read error: No route to host]
Al__ has joined #ruby
DaniG2k has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
jlast has joined #ruby
blackmesa has quit [Quit: WeeChat 0.4.3]
_root has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
rococo has joined #ruby
_root has quit [Client Quit]
jlast has quit [Ping timeout: 244 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
HiroshiWatanabe has quit [Read error: Connection reset by peer]
pierre1_ has joined #ruby
fgo has joined #ruby
`ph8 has joined #ruby
Thanatermesis has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mlpinit has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
linduxed has quit [Quit: WeeChat 0.4.2]
Squarepy has joined #ruby
kevinykchan has joined #ruby
`ph8 has quit [Changing host]
`ph8 has joined #ruby
gaussblurinc has joined #ruby
<gaussblurinc> hi! is this code normal? raise "parameter is not an Array" unless param.is_a?(Array) ?
linduxed has joined #ruby
vlad_starkov has joined #ruby
obs has joined #ruby
alexju has quit [Remote host closed the connection]
mlpinit has quit [Ping timeout: 264 seconds]
Adrao has joined #ruby
juarlex has quit [Ping timeout: 252 seconds]
<crome> gaussblurinc: in an ideal world you dont test for type but for interface
<crome> it doesnt really matter if param is an array as long as it has #each or whatever you want on it
etqqkoiflwhb___ has joined #ruby
HiroshiWatanabe has joined #ruby
yubrew has joined #ruby
sk87 has joined #ruby
vlad_starkov has quit []
<popl> In an ideal world all the cops have wooden legs and the trees are full of fruit.
<popl> alas
<crome> one can always try
yubrew has quit [Read error: Operation timed out]
etqqkoiflwhb____ has joined #ruby
stupidystupid has joined #ruby
etqqkoiflwhb___ has quit [Ping timeout: 264 seconds]
fgo has quit [Remote host closed the connection]
HiroshiWatanabe has quit [Remote host closed the connection]
meatherly has joined #ruby
HiroshiWatanabe has joined #ruby
dzhulk has joined #ruby
HiroshiWatanabe has quit [Read error: Connection reset by peer]
TMM has joined #ruby
Hanmac has quit [Ping timeout: 244 seconds]
sdouglas has joined #ruby
HiroshiWatanabe has joined #ruby
lolmaus_ has joined #ruby
lolmaus has quit [Ping timeout: 265 seconds]
meatherly has quit [Ping timeout: 240 seconds]
glosoli has joined #ruby
Salve has joined #ruby
HiroshiWatanabe has quit [Read error: Connection reset by peer]
quatron has joined #ruby
ayaz has joined #ruby
HiroshiWatanabe has joined #ruby
Merks has quit [Remote host closed the connection]
freerobby has joined #ruby
sdouglas has quit [Ping timeout: 265 seconds]
AlSquire has joined #ruby
ndrei has quit [Quit: Lost terminal]
Salve has quit [Ping timeout: 252 seconds]
kayloos has joined #ruby
yfeldblum has joined #ruby
kaspernj has joined #ruby
ikaros has joined #ruby
ndrei has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
Zunonia_ has quit [Quit: Computer has gone to sleep.]
Merks has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
bigkevmcd has quit [Quit: Ex-Chat]
nomenkun has joined #ruby
bigkevmcd has joined #ruby
oneawayman has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
<gaussblurinc> puts "all files have been already removed!" and return if array.empty? - why this code doesn't work as it should?
poguez has quit [Quit: Connection closed for inactivity]
ringaring has joined #ruby
<bnagy> it does
pfg has joined #ruby
<gaussblurinc> bnagy: not, it doesn't. it only print message
<bnagy> that's what it should do?
lkba has joined #ruby
<gaussblurinc> puts "all files have been already removed!" and return if array.empty?
postmodern has quit [Quit: Leaving]
workmad3 has quit [Quit: Reconnecting]
<gaussblurinc> puts "can't print this message"
<bnagy> ohhh you mean 'why doesn't this do what I thought it would do'
workmad3 has joined #ruby
mehlah has joined #ruby
<gaussblurinc> bnagy: yes :)
<bnagy> because just write your code properly instead of trying to do silly oneliners
tvw has joined #ruby
<workmad3> bnagy: but oneliners are *fun*!!!
<bnagy> and binds weirdly
kevinykchan has quit [Quit: Computer has gone to sleep.]
<bnagy> so and PLUS postfix if is just asking for a headache
fgo has joined #ruby
<gaussblurinc> bnagy: I think that this is legacy of language not a "sugar"
meatherly has joined #ruby
<bnagy> if whatever \n do\n stuff\n end
<workmad3> gaussblurinc: 'puts' will always return nil
lkba has quit [Ping timeout: 240 seconds]
rdark has joined #ruby
<workmad3> gaussblurinc: and then 'and' has massively lower binding, so your line 'puts "all files have been already removed!" and return if array.empty?' is '(puts "all files have been already removed!") and (return if array.empty?)' (and shows why oneliners aren't a beginner thing and can cause confusion ;) )
predator217 has quit [Ping timeout: 252 seconds]
guilleiguaran has quit [Quit: Connection closed for inactivity]
Merks has quit []
<bnagy> my explanation was shorter
<workmad3> gaussblurinc: that would then be '(nil) and (return if array.empty?)', and the 'and' will then always short-circuit (nil and anything is false) so the result is a line that will always print and never return
<workmad3> bnagy: your explanation missed that even if the 'if' applied to the entire line, it would *still* never return because 'puts' returns nil ;)
meatherly has quit [Ping timeout: 244 seconds]
lazyguru has quit [Ping timeout: 252 seconds]
<bnagy> well to be fair my explanation was more or less 'just don't do that'
<workmad3> bnagy: true :)
dzhulk has left #ruby [#ruby]
<bnagy> but I am full of beer and sumo
<bnagy> and should be in bed
<bnagy> o/
<workmad3> bnagy: nn ;)
<gaussblurinc> bnagy: goodnight :)
shime has quit [Ping timeout: 240 seconds]
himsin has joined #ruby
glosoli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
predator117 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
W0rmDr1nk has quit [Read error: Operation timed out]
<nkts> Hi, who could me hint how to convert ruby hash to java properties config like stucture?
charliesome has joined #ruby
jlast has joined #ruby
popl has quit [Read error: Operation timed out]
Xeago_ has quit [Remote host closed the connection]
Xeago has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e4xit has joined #ruby
<etqqkoiflwhb____> nkts: config like structure?
Platini has quit [Read error: Operation timed out]
lazyguru has joined #ruby
<etqqkoiflwhb____> do you want something like config.key instead of config['key']
ephemerian has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
phansch has joined #ruby
skaflem has joined #ruby
Al___ has joined #ruby
nari has quit [Ping timeout: 245 seconds]
chrisseaton has joined #ruby
zeeraw has joined #ruby
Al__ has quit [Ping timeout: 264 seconds]
<etqqkoiflwhb____> nkts: https://github.com/intridea/hashie
jonno11 has joined #ruby
yfeldblum has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
relix has joined #ruby
nvrch has joined #ruby
petey has joined #ruby
yubrew has joined #ruby
_aeris_ has joined #ruby
<_aeris_> hello :)
<_aeris_> i have some trouble with File.read
<_aeris_> File.read read all a binary file on linux, but seems stop on the first "\r\n" on windows
HiroshiWatanabe has left #ruby [#ruby]
mengu has quit [Remote host closed the connection]
mlpinit has quit [Ping timeout: 240 seconds]
Deele has joined #ruby
petey has quit [Ping timeout: 240 seconds]
<etqqkoiflwhb____> _aeris_: If its a binary file, why not File#binread?
davedev24 has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
<etqqkoiflwhb____> File.binread*
Platini has joined #ruby
glosoli has joined #ruby
<gaussblurinc> how to implement this idiom correctly: selectedTarget = array.select{||x}
<gaussblurinc> selectedTarget = array.select{|x| x.chosen?}
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<gaussblurinc> selectedTarget = array.select{|x| x.chosen?}[index] great!
<dawkirst> gaussblurinc, would selected_target = array.find {|x| x.chosen?} work?
<crome> find (or select) returns an array since several items can fulfill the condition
<crome> be careful of it
etqqkoiflwhb____ has quit [Read error: Connection reset by peer]
etqqkoiflwhb____ has joined #ruby
lyanchih has quit [Quit: lyanchih]
<dawkirst> crome, was not aware that it returns an array, thought it returned first matching element
lyanchih has joined #ruby
<crome> my bad
<dawkirst> ['foo', 'bar', 'baz', 'bar'].find {|x| x == 'bar'}
<crome> find indeed does
<dawkirst> ok :) just questioned my entire knowledge of Ruby so far (which happens often)
tkuchiki has quit [Ping timeout: 240 seconds]
sk87 has joined #ruby
<workmad3> crome: I think you meant find_all ;)
<workmad3> >> ['foo', 'bar', 'baz', 'bar'].find_all {|x| x == 'bar'}
<eval-in> workmad3 => ["bar", "bar"] (https://eval.in/118030)
<_aeris_> etqqkoiflwhb____ > i will try :D
<crome> yeah, find is on enumerable, select is on array, they are not entirely siblings
<crome> and enumerable also has select to make things simple
<dawkirst> >> ['foo', 'bar', 'baz', 'bar'].find {|x| x == 'bar'}
<eval-in> dawkirst => "bar" (https://eval.in/118031)
<dawkirst> cool :)
BeingUntoDeath has quit [Ping timeout: 240 seconds]
dgfdgf has joined #ruby
shredding has joined #ruby
`MArceLL` has quit [Ping timeout: 246 seconds]
dgfdgf is now known as `MArceLL`
aagdbl1 has joined #ruby
aagdbl has quit [Disconnected by services]
Salve has joined #ruby
kate_r has joined #ruby
kitak has quit [Remote host closed the connection]
aagdbl has joined #ruby
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
freerobby has joined #ruby
francisfish has joined #ruby
pfg has joined #ruby
DrForr_ has left #ruby [#ruby]
aagdbl1 has quit [Ping timeout: 240 seconds]
<etqqkoiflwhb____> https://gist.github.com/anonymous/9480735, I'm writing a module with some helpers for carrier wave, writing a spec for it, is the explicit use of subject to refer to the host class an acceptable convention?
Salve has quit [Ping timeout: 269 seconds]
freerobby has quit [Ping timeout: 240 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
kennym has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
camilasan has quit [Read error: Connection reset by peer]
pierre1_ has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
ItSANgo_ has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
ItSANgo_ has joined #ruby
camilasan has joined #ruby
predator117 has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasan has joined #ruby
etqqkoiflwhb____ has quit [Remote host closed the connection]
etqqkoiflwhb has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
sk87 has joined #ruby
camilasan has joined #ruby
abdulsattar has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
codeitagile has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
sparrovv has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
sk87 has quit [Client Quit]
sparrovv has quit [Remote host closed the connection]
camilasan has joined #ruby
browndawg has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
sparrovv has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
predator117 has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
nomenkun has quit [Quit: Leaving...]
camilasan has joined #ruby
abdulsattar has quit [Quit: leaving]
meatherly has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
chrisseaton has quit []
camilasa_ has quit [Read error: Connection reset by peer]
etqqkoiflwhb_ has joined #ruby
camilasan has joined #ruby
sameerynho has quit [Quit: Leaving]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasan has quit [Read error: Connection reset by peer]
razibog has joined #ruby
camilasan has joined #ruby
aagdbl has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
etqqkoiflwhb has quit [Ping timeout: 244 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
magicrails has joined #ruby
gaussblurinc has joined #ruby
lyanchih has quit [Quit: lyanchih]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
abdulsattar has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
mourest has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
Billy2 has joined #ruby
predator117 has joined #ruby
aagdbl has joined #ruby
abk has quit [Ping timeout: 265 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
lemonsparrow has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
jlast has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
razibog has quit [Quit: Leaving.]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
puppeh has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
pu22l3r_ has quit [Remote host closed the connection]
shime has joined #ruby
<puppeh> does anyone knows how can I use a debugger (e.g. 'binding.pry') on a unicorn worker?
gneral has joined #ruby
<gneral> hi
camilasan has joined #ruby
kayloos has quit [Remote host closed the connection]
kennym has quit [Ping timeout: 265 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
sensen has quit [Quit: leaving]
danshultz has joined #ruby
kennym has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
jackneill has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
abdulsattar is now known as codingtales
marcgg_ has left #ruby [#ruby]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
shime has quit [Quit: Lost terminal]
camilasan has quit [Read error: Connection reset by peer]
pr0ggie has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
predator117 has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
predator117 has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
Zaratustra has quit [Remote host closed the connection]
mlpinit has quit [Ping timeout: 240 seconds]
codingtales has quit [Quit: leaving]
codeitagile has quit [Remote host closed the connection]
Squarepy_ has joined #ruby
Megtastique has joined #ruby
LexicalScope has quit [Read error: Connection reset by peer]
foredoomed has joined #ruby
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sski has joined #ruby
LexicalScope has joined #ruby
abdulsattar has joined #ruby
fgo has quit [Remote host closed the connection]
jimmyy has quit []
lolmaus_ has quit [Quit: No Ping reply in 180 seconds.]
fgo has joined #ruby
lolmaus has joined #ruby
abdulsattar has quit [Client Quit]
abdulsattar has joined #ruby
larissa has joined #ruby
grzywacz has joined #ruby
lyanchih has joined #ruby
HiroshiWatanabe has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
sailias has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
senayar_ has joined #ruby
Squarepy_ has quit [Quit: Leaving]
sailias has quit [Ping timeout: 240 seconds]
Squarepy_ has joined #ruby
lxsameer has joined #ruby
danshultz has quit [Ping timeout: 265 seconds]
senayar has quit [Ping timeout: 240 seconds]
Squarepy__ has joined #ruby
Squarepy__ has quit [Read error: Connection reset by peer]
Salve has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
rickruby has joined #ruby
Squarepy has quit [Quit: Leaving]
Squarepy_ is now known as Squarepy
freerobby has joined #ruby
sparrovv has quit [Remote host closed the connection]
sparrovv has joined #ruby
abk has joined #ruby
mostlybadfly has joined #ruby
Vovko has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
rickruby has quit [Ping timeout: 240 seconds]
abk has quit [Max SendQ exceeded]
freerobby has quit [Ping timeout: 244 seconds]
abk has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
etqqkoiflwhb_ has quit [Remote host closed the connection]
abk has quit [Max SendQ exceeded]
abk has joined #ruby
abk has quit [Max SendQ exceeded]
abk has joined #ruby
jetblack has joined #ruby
abk has quit [Max SendQ exceeded]
IceyEC has joined #ruby
sparrovv has quit [Remote host closed the connection]
predator117 has joined #ruby
abdulsattar has quit [Ping timeout: 244 seconds]
shredding has quit [Quit: shredding]
shevy has joined #ruby
rdark has quit [Read error: Operation timed out]
sk87 has joined #ruby
meatherly has joined #ruby
m1lt0n has quit [Quit: Lost terminal]
tagrudev has quit [Quit: Me = Awesome]
m1lt0n has joined #ruby
jkamenik has joined #ruby
rdark has joined #ruby
eka has joined #ruby
bal has quit [Quit: bal]
meatherly has quit [Ping timeout: 240 seconds]
Polysics has joined #ruby
Vovko has quit [Ping timeout: 265 seconds]
bal has joined #ruby
<Polysics> hello! is there any gem that will turn "2007" into "two thousand seven" and "1937" into "nineteen thirty seven"?
oneawayman has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
<Polysics> or 1907 into nineteen oh seven
<Polysics> basically, the year pronounciation
tagrudev has joined #ruby
<Polysics> I am not even sure 1907 is like that in English :P
lw has joined #ruby
yubrew has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jlast has joined #ruby
sk87 has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
<shevy> test
<shevy> polysics there was a gem but I forgot the name again
<shevy> on github
yubrew has quit [Ping timeout: 240 seconds]
jlast has quit [Ping timeout: 240 seconds]
mark_locklear has joined #ruby
jonno11 has joined #ruby
Vovko has joined #ruby
puppeh has left #ruby ["Leaving..."]
Advocation has joined #ruby
browndawg has quit [Read error: Connection timed out]
yacks has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
<Polysics> there is this https://github.com/kslazarev/numbers_and_words but it does not do "year" pronounciation
browndawg has joined #ruby
nateberkopec has joined #ruby
obs has quit [Quit: Konversation terminated!]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
petey has joined #ruby
lemonsparrow has quit [Quit: Page closed]
binw has quit [Read error: Connection reset by peer]
fgo has joined #ruby
mikecmpbll has quit [Ping timeout: 265 seconds]
jonno11 has quit [Quit: Textual IRC Client: www.textualapp.com]
nolic has joined #ruby
kayloos has quit [Remote host closed the connection]
nari has joined #ruby
mlpinit has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
petey has quit [Ping timeout: 265 seconds]
abdulsattar has joined #ruby
binw has joined #ruby
peterellisjones has joined #ruby
freerobby has quit [Quit: Leaving.]
tagrudev has quit [Quit: Leaving]
sailias has joined #ruby
the_hack has joined #ruby
Cyrus has joined #ruby
lw has quit [Quit: s]
peterellisjones has quit [Client Quit]
UserNameInvalid has joined #ruby
UserNameInvalid has quit [Client Quit]
linojon has joined #ruby
lw has joined #ruby
mjs2600 has joined #ruby
IceDragon has joined #ruby
dblessing has joined #ruby
<jmaister> that sounds easy to make
<shevy> yeah
<shevy> 0 is your only exception
Mongey has joined #ruby
Advocation has quit [Quit: Advocation]
<shevy> the rest is 99% as is available in gems like that
mlpinit has joined #ruby
mjs2600 has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 265 seconds]
<jmaister> Or just make it yourself
Hanmac has joined #ruby
klue has joined #ruby
tagrudev has joined #ruby
rmorello has joined #ruby
yfeldblum has joined #ruby
Shidash has joined #ruby
ndrei has joined #ruby
sdouglas has joined #ruby
sambao21 has joined #ruby
visof has quit [Ping timeout: 240 seconds]
Vovko has quit [Remote host closed the connection]
kaldrenon has quit []
HiroshiWatanabe has quit [Remote host closed the connection]
Salve has joined #ruby
peterellisjones has joined #ruby
<Polysics> yeah, I think I will jsut add it myself
lyanchih has quit [Ping timeout: 244 seconds]
agjacome has joined #ruby
mjs2600 has joined #ruby
<Polysics> is 1907 "nineteen oh seven" in English?
mjs2600 has quit [Remote host closed the connection]
magicrails has quit [Quit: magicrails]
Salve_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Salve has quit [Read error: Connection reset by peer]
sdouglas has quit [Ping timeout: 265 seconds]
browndawg has quit [Read error: Connection timed out]
visof has joined #ruby
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
arietis has quit [Quit: Computer has gone to sleep.]
mary5030 has joined #ruby
ferr has joined #ruby
browndawg has joined #ruby
Speed has quit [Ping timeout: 265 seconds]
ferr has left #ruby [#ruby]
ferr has joined #ruby
peterellisjones has quit [Quit: Leaving.]
S0da has joined #ruby
rdark has quit [Ping timeout: 265 seconds]
lw has quit [Quit: s]
peterellisjones has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mjs2600 has joined #ruby
duggiefresh has joined #ruby
rdark has joined #ruby
mary5030 has quit [Remote host closed the connection]
arietis has joined #ruby
<shevy> dunno
mary5030 has joined #ruby
perlsyntax has joined #ruby
<shevy> I always thought it would be "nineteenhundred - seven"
petey has joined #ruby
karupanerura is now known as zz_karupanerura
<Polysics> me too, but I come from Italy :)
banister has joined #ruby
duggiefresh has quit [Ping timeout: 265 seconds]
mjs2600 has quit [Remote host closed the connection]
yacks has joined #ruby
nateberkopec has quit [Quit: Leaving...]
scottradcliff has joined #ruby
mavcunha has joined #ruby
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
shredding has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
rails426 has joined #ruby
arb_ has quit [Remote host closed the connection]
bal has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
absolutezeroff has joined #ruby
the_hack has quit [Quit: Computer has gone to sleep.]
bal has joined #ruby
jeregrine has joined #ruby
Mongey is now known as Mongey-away
Mongey-away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sski has quit [Remote host closed the connection]
yubrew has joined #ruby
sski has joined #ruby
etqqkoiflwhb has joined #ruby
abdulsattar has quit [Ping timeout: 240 seconds]
chris_thomson has joined #ruby
sski has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
workmad3 is now known as wm3|lunch
ta9to has joined #ruby
james_d_h has joined #ruby
Xeago__ has joined #ruby
rococo has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
Xeago_ has quit [Ping timeout: 264 seconds]
klue has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
CreativeEmbassy has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
zeropx has quit [Ping timeout: 240 seconds]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
vpretzel has joined #ruby
zeropx has joined #ruby
browndawg has left #ruby [#ruby]
AlexRussia has joined #ruby
no0code has joined #ruby
Vovko has joined #ruby
Xeago__ has quit [Ping timeout: 244 seconds]
Aryasam has joined #ruby
sambao21 has joined #ruby
fgo has joined #ruby
zachallett has joined #ruby
chris_thomson has quit [Quit: Zzz...]
cover has joined #ruby
no0code has quit [Quit: Lost terminal]
hermanmunster has joined #ruby
kevinykchan has joined #ruby
chipotle has quit [Quit: cya]
chipotle has joined #ruby
tonni has quit [Remote host closed the connection]
sparrovv has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 242 seconds]
sk87 has joined #ruby
Advocation has joined #ruby
dik_dak has joined #ruby
etqqkoiflwhb has quit [Read error: Connection reset by peer]
rihbyne has joined #ruby
slowcon has joined #ruby
stringoO has joined #ruby
etqqkoiflwhb has joined #ruby
phantomtiger has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
jprovazn has quit [Quit: Leaving]
abk has joined #ruby
mengu has quit [Remote host closed the connection]
jprovazn has joined #ruby
Vovko has quit [Remote host closed the connection]
paulfm has joined #ruby
magicrails has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
Vovko has joined #ruby
Mongey has joined #ruby
mary5030 has joined #ruby
ta9to has quit [Quit: WeeChat 0.4.3]
relix has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
Gooder has joined #ruby
kevind has joined #ruby
duggiefresh has joined #ruby
zz_jrhorn424 is now known as jrhorn424
mengu has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
<Advocation> I have a load of JSON files that make up an old database - I'm trying parse them and build them up to import them into my DB. Is there any way I can get foreign records through their ID? For example, a house table and a rooms table, a with a link table between them..
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
_tpavel has joined #ruby
Gooder` has joined #ruby
Gooder` has quit [Remote host closed the connection]
Gooder has quit [Client Quit]
_tpavel has quit [Client Quit]
chiel has joined #ruby
chiel has quit [Client Quit]
chiel has joined #ruby
<dawkirst> perhaps a stupid question, but where in a ruby app do I require my gems?
alexju has joined #ruby
tonni has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
oneawayman has joined #ruby
ValicekB has quit []
bigkevmcd has joined #ruby
AlexRussia has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 240 seconds]
codabrink has joined #ruby
yasushi has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
bathula has joined #ruby
tungd has joined #ruby
stupidystupid has joined #ruby
tonni has quit [Client Quit]
mikecmpbll has quit [Quit: i've nodded off.]
_tpavel has joined #ruby
<apeiros> dawkirst: in the files where you use them
petey has quit [Remote host closed the connection]
<apeiros> as all other requires too
stupidystupid has quit [Client Quit]
<apeiros> Advocation: json has no concept of "records" or "ids", or "primary keys" and "foreign keys"
AlexRussia has joined #ruby
petey has joined #ruby
<dawkirst> apeiros, ok, thanks. So if I have lib/foo/... and lib/foo.rb, I don't require them in foo.rb, right?
dEPy has joined #ruby
<apeiros> Advocation: so if you want to do such references, you must build the necessary structures and methods yourself
the_hack has joined #ruby
nateberkopec has joined #ruby
<apeiros> dawkirst: if you don't use it in foo.rb itself, then I wouldn't
IceDragon has joined #ruby
<Advocation> apeiros: ok, do you know of any gems that can make this easier?
<dawkirst> apeiros, ok, thanks
<apeiros> Advocation: sqlite - read it into an in-memory db
<apeiros> alternatively I don't see any reason not to use just plain ruby.
<apeiros> map your json to proper classes.
<Advocation> apeiros: yeah, that's what I'm doing.. just wondering if there was a better way :)
<apeiros> too generic to tell
<Advocation> ok
<Advocation> thanks :)
Mongey_ has joined #ruby
<apeiros> but you can look on ruby-toolbox.com for tools around json and/or data transformation
wm3|lunch is now known as workmad3
jlast has joined #ruby
Speed has joined #ruby
petey has quit [Ping timeout: 269 seconds]
<dawkirst> apeiros, so my problem is this: I have a file where I do `require 'data_mapper'` and in the same file I also need to do `require 'json'`, upon which a `Gem::LoadError: json found in multiple gems: json, json_pure` error is raised
the_hack has quit [Client Quit]
sk87 has joined #ruby
jobewan has joined #ruby
<apeiros> dawkirst: that's a problem which is actually unrelated to your question
<apeiros> you have more than one gem which could satisfy your require
ValicekB has joined #ruby
<dawkirst> apeiros, meaning that in my require I need to be more specific?
Mongey has quit [Ping timeout: 264 seconds]
<apeiros> your options: a) use bundler, b) uninstall one of the gems, c) explicitly activate one of the gems, using Kernel#gem method
<apeiros> there may be more options. I'd use a) or b).
<apeiros> c) forces the user of your code to use a specific json gem which he/she maybe doesn't want to use.
<shevy> anyone of you using .ljust and .rjust a lot?
<dawkirst> apeiros, ok, so does bundler-exec implicitly does c ) for me?
<apeiros> dawkirst: yes
<apeiros> bundler isolates your app to only use the gems you specified in the Gemfile
<dawkirst> apeiros, so much makes sense now, thanks :)
<apeiros> yw
mikecmpbll has joined #ruby
tkilani has joined #ruby
petey has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
<tkilani> hi people, I wanted to get old rss feeds from hackaday.com and wanted to know if there is some kind of parser / crawler api in ruby that would go though the site and I publishes them as rss feeds. A kind of rss proxy
klue has joined #ruby
lxsameer has joined #ruby
Solnse has joined #ruby
phantasm66 has joined #ruby
sparrovv has quit [Remote host closed the connection]
ndrei has joined #ruby
doodlehaus has joined #ruby
Mongey_ has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
rihbyne has quit [Quit: Konversation terminated!]
jackneill has quit [Quit: WeeChat 0.4.3]
aryaching has joined #ruby
jackneill has joined #ruby
guilleiguaran has joined #ruby
end_guy has joined #ruby
etqqkoiflwhb has quit [Read error: Connection reset by peer]
jjbohn has joined #ruby
_bart has joined #ruby
Mongey has quit [Client Quit]
kayloos has joined #ruby
freerobby has joined #ruby
kaspernj has quit [Remote host closed the connection]
_bart has quit [Quit: leaving]
npearson has joined #ruby
ocx has joined #ruby
npearson has quit [Remote host closed the connection]
_bart has joined #ruby
npearson has joined #ruby
momigi has joined #ruby
rails426 has quit []
<_bart> Hi all
<shevy> bart!
<shevy> how is homer
ItSANgo_ has quit [Quit: Leaving...]
danshultz has joined #ruby
<ocx> hi all, i have a headless system that has an internet connection and can surf the web, i have users that do not have web access, only access to this headless system via web interface, now i want users to be able to surf the internet via this headless system (like a proxy) but mainly they would login to the headless system via webinterface send requests to a url ex: www.google.com , headless would fetch the results and show them in a new
sdouglas has quit [Remote host closed the connection]
Ziarkaen has joined #ruby
<ocx> how can i do that in ruby? where should i start
sdouglas has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<ocx> kind of a proxy functionality but that is web driven with results fetched in html to the users
lw has joined #ruby
arb_ has joined #ruby
Mongey has joined #ruby
evenix has joined #ruby
sdouglas_ has joined #ruby
<_bart> shevy: he's alright, around somewhere
sdouglas has quit [Ping timeout: 240 seconds]
grzywacz has quit [Ping timeout: 240 seconds]
<_bart> Does the name Bart also appear in America? I wonder how common Bart is in other countries.
<shevy> I only ever heard if in the simpsons movies
ItSANgo has joined #ruby
momigi has quit [Remote host closed the connection]
arb_ has quit []
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
aagdbl has quit [Quit: Leaving.]
fgo has joined #ruby
rayners has joined #ruby
tobiasvl has quit [Remote host closed the connection]
Gooder has joined #ruby
tvl has joined #ruby
rails426 has joined #ruby
tvl is now known as tobiasvl
mikecmpbll has quit [Quit: i've nodded off.]
mary5030 has joined #ruby
rails426 has quit [Client Quit]
danshultz has quit [Remote host closed the connection]
rails426 has joined #ruby
npearson_ has joined #ruby
sk87 has joined #ruby
danshultz has joined #ruby
Gooder has quit [Read error: Connection reset by peer]
jtza8 has joined #ruby
ringaring has quit [Quit: Leaving]
fgo has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
Gooder has joined #ruby
<jtza8> Is there a difference between ARGV and $*?
Ziarkaen has quit [Remote host closed the connection]
npearson has quit [Ping timeout: 240 seconds]
pcarrier has joined #ruby
<apeiros> $ ruby -e 'p ARGV.equal?($*)'
<apeiros> true
<apeiros> jtza8: ^ ruby says no
SCommette has joined #ruby
<shevy> $* looks so ugly
<jtza8> Just wondered whether $* might be deprecated.
<shevy> I think matz will retain it for legacy reasons and golfing, it's 2 chars shorter than ARGV after all!
ce_afk is now known as cescalante
senayar_ has quit [Remote host closed the connection]
<jtza8> Thanks for clearing that up.
danshultz has quit [Ping timeout: 240 seconds]
pu22l3r has joined #ruby
senayar has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
peterellisjones has quit [Quit: Leaving.]
phansch has quit [Quit: WeeChat 0.4.2]
iceden has joined #ruby
himsin has quit [Quit: himsin]
gnephiak has joined #ruby
zB0hs has joined #ruby
jprovazn has quit [Quit: Leaving]
deadlock_ has quit [Ping timeout: 265 seconds]
y_gick has joined #ruby
mjs2600 has joined #ruby
<y_gick> I am starting programming in ruby with neurogami.com/content/neurogami-10_minutes_to_your_first_Ruby_app ...
<y_gick> and I have really no idea of the "handlers subdirectory" where I have to put html.rb
kevinykchan has quit [Read error: Connection reset by peer]
no0code has joined #ruby
jprovazn has joined #ruby
mjs2600_ has joined #ruby
mjs2600 has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
lw has quit [Quit: s]
* y_gick got the idea
browndawg has joined #ruby
Polysics has left #ruby [#ruby]
<shevy> y_gick as far as ruby is concerned, just put the .rb files where a require to them will work
mansi_ has joined #ruby
<y_gick> shevy: yes
<shevy> if you put them into the ruby SITE_DIR path, require 'name' alone would work (or, if it is in a subdirectory there, require 'subdir/name) would)
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<ocx> anyone?
deadlock_ has joined #ruby
momomomomo has joined #ruby
yfeldblum has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hermanmunster has quit [Remote host closed the connection]
lolmaus has joined #ruby
crystal77 has joined #ruby
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> ocx well, you can fetch webpages via open-uri
<shevy> after you process that dataset, send a string back to the individual users
makara has quit [Ping timeout: 264 seconds]
dEPy has quit [Quit: Lingo - http://www.lingoirc.com]
enebo has joined #ruby
<shevy> in rack you could do this as a middleware, a filter between the external www world, and the internal stuff you present to them through that middleware "app"
zeeraw has joined #ruby
<ocx> shevy: can you give me an example?
cina has joined #ruby
<shevy> require 'open-uri';; open('http://www.juretta.com/') do |f|
<shevy> remove one ; there
lachesis has quit [Ping timeout: 245 seconds]
toretore has joined #ruby
<shevy> you should get a clear idea what specifically you want to result though. I would recommend to write a few classes that handle the different tasks
yfeldblum has quit [Ping timeout: 240 seconds]
aagdbl has joined #ruby
aagdbl has quit [Client Quit]
<ocx> shevy: ok so i get the response of juretta.com in |f| in html format that can be then displayed in a new wiindow for the user browser?
anarang has quit [Quit: Leaving]
danshultz has joined #ruby
e4xit has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
<shevy> ocx well you need to split up the tasks first
lachesis has joined #ruby
_bart has left #ruby [#ruby]
_bart has joined #ruby
e4xit has joined #ruby
<shevy> you want to give back the string (html is a string) to your user
deadlock_ has quit [Ping timeout: 244 seconds]
fantazo has joined #ruby
<shevy> in rack you can do this via the response callback... I forgot the format... an array with 3 elements it is, one should be the string
grayWolf has joined #ruby
<shevy> I dunno what you mean with "a new window for the user browser"
<shevy> do you mean a redirect?
abdulsattar has joined #ruby
<shevy> if so you could generate a static html page and redirect to it. I am sure there are a million more ways to solve it, only you know what you really want
snath has quit [Ping timeout: 244 seconds]
ikawnoclast has quit [Ping timeout: 244 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
sparrovv has joined #ruby
agarie has joined #ruby
lmickh has joined #ruby
Speed has quit [Ping timeout: 244 seconds]
bathula has left #ruby [#ruby]
grayWolf is now known as Speed
Symbiosisz has quit [Remote host closed the connection]
ikawnoclast has joined #ruby
<ocx> shevy: ok i have this headless system that connects to the internet, i need to authenticate it to a hotspot system so i am trying to do so by using another client that is a pc to authenticate the headless system to the hotspot
<shevy> sounds quite complicated :D
kevind_ has joined #ruby
no0code has quit [Quit: leaving]
poguez has joined #ruby
geggam has joined #ruby
kevind has quit [Ping timeout: 240 seconds]
kevind_ is now known as kevind
tylersmith has joined #ruby
sparrovv has quit [Remote host closed the connection]
<ocx> shevy: this open-uri is similar to curl righT
<shevy> kinda but curl should be much more advanced in the options it gives you
<shevy> open-uri is more like a basic building block
robertjpayne has quit [Remote host closed the connection]
sparrovv has joined #ruby
havenwood has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kevinykchan has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
yasushi has quit [Remote host closed the connection]
rdark has quit [Quit: Lost terminal]
sdouglas has joined #ruby
momigi has joined #ruby
deadlock_ has joined #ruby
Mongey_ has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
rdark has joined #ruby
lachesis has quit [Ping timeout: 245 seconds]
camilasa_ has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
camilasan has joined #ruby
Mongey_ has quit [Read error: Connection reset by peer]
camilasan has quit [Read error: Connection reset by peer]
lachesis has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
speakingcode-wor has joined #ruby
Mongey has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
<speakingcode-wor> is there a process documented to update documentation on ruby-doc.org or whatever its source is?
camilasan has joined #ruby
<speakingcode-wor> ah nm, found it. documenting-ruby.org
<havenwood> speakingcode-wor: yup, oh you got the link ;)
rihbyne has joined #ruby
meatherly has joined #ruby
aspires has joined #ruby
<rihbyne> hello people
<speakingcode-wor> yeah. so on the enummerable doc, for the any? method, it doesn't state that for hashes it will pass key, value to the provided block - i guess that should have been more obvious to me, but it should be documented for the sake of newcommers IMO
<rihbyne> my host is fedora 20 and system ruby is 2.0.0p353 gems 2.2
<rihbyne> I am trying to install a package called 'gollum'
<rihbyne> using sudo but it fails http://dpaste.com/1715100/
deadlock_ has quit [Read error: Operation timed out]
<rihbyne> guys do you have any work arounds for this problem
snath has joined #ruby
sparrovv has quit [Remote host closed the connection]
<shevy> rihbyne this means you miss some header file or another compilation step failed
<speakingcode-wor> rihbyne: you probably need some c lib/headers installed via yum or whatever package manager fedora uses
kevinykchan has quit [Read error: Connection reset by peer]
<shevy> checking for main() in -licui18n... no
<shevy> you need libicui18n
<havenwood> rihbyne: yum install ruby-devel
ndrei has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 240 seconds]
<workmad3> shevy,rihbyne: as the starred bit says - '*********** icu required (brew install icu4c or apt-get install libicu-dev) ***********'
<havenwood> rihbyne: you've got to be able to build native extensions!
Speed has quit [Ping timeout: 265 seconds]
kevinykchan has joined #ruby
ndrei has joined #ruby
BRMatt has joined #ruby
enebo has quit [Ping timeout: 240 seconds]
mojjojo has joined #ruby
Raboo has joined #ruby
zarul has quit [Remote host closed the connection]
<rihbyne> havenwood: so now I need to install ruby-devel and libicuil18n ?
<rihbyne> ok doing that
aspires has quit []
enebo has joined #ruby
_HolyCow has quit [Read error: Connection reset by peer]
<workmad3> rihbyne: make sure it's the devel package of icu too
<workmad3> rihbyne: you need the headers to compile against it
freezey has joined #ruby
mikecmpbll has joined #ruby
npearson has joined #ruby
zarul has joined #ruby
<rihbyne> havenwood: shevy ruby-devel is already installed
<magicrails> hey can i do this:
<magicrails> render_static_module {:name => "mo-drawer"}
<magicrails> it says unexpected tassoc
<rihbyne> and libicuil18n is not available under yum
<rihbyne> shevy: havenwood ^
<magicrails> ?
kayloos_ has joined #ruby
npearson_ has quit [Ping timeout: 240 seconds]
arubin has joined #ruby
michaeldeol has joined #ruby
yubrew has quit []
mjs2600_ has quit [Remote host closed the connection]
<workmad3> rihbyne: did you try 'yum install icu-devel'?
<rihbyne> workmad3: no
<workmad3> magicrails: render_static_module({:name => "mo-drawer"})
npearson has quit [Remote host closed the connection]
<rihbyne> workmad3: no package available
kayloos has quit [Ping timeout: 244 seconds]
<workmad3> magicrails: you hit an edge-case of ruby syntax where the parentheses are required ;)
<rihbyne> workmad3: how are you able to install packages using gems ?
UserNameInvalid has joined #ruby
npearson has joined #ruby
<workmad3> rihbyne: ok, so google up what the yum package for icu is
<rihbyne> I am struggling with this problem since past 8 hours
MattStratton has joined #ruby
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
<speakingcode-wor> looks like it's just "icu" ?
<workmad3> rihbyne: you don't install packages with gems... the gem needs to compile some internal stuff against a library you need to install with your package manager
aspires has joined #ruby
<workmad3> rihbyne: the error message from gem told you exactly what package was missing (icu... see the *great* *big* *section* *surrounded* *by* *stars*!!!)
fgo has joined #ruby
cover has quit [Ping timeout: 265 seconds]
<workmad3> rihbyne: so then you go out and google how to install that package for your distro ;)
abdulsattar has quit [Ping timeout: 240 seconds]
<speakingcode-wor> when you pass a hash to a method, if you put the explicit cury braces, you usually have to put the whole hash in parenthesis so it doesn't get confused if you're passing a hash as a method param, or appending a block to the method call, magicrails
<havenwood> rihbyne: yeah, looks like just `icu` like everyone says, but good that you have `ruby-devel` installed
<magicrails> yeah
<magicrails> your right
tagrudev has quit [Remote host closed the connection]
<magicrails> i just removed the curly braces
lw has joined #ruby
<rihbyne> havenwood: icu too I have it installed :)
<havenwood> moar blocks!
arietis has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
armyriad has joined #ruby
yubrew has joined #ruby
tonni has joined #ruby
mikepack has joined #ruby
shaunbak_ has joined #ruby
pyrac has joined #ruby
mengu has quit []
Es0teric has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
Muhammad_ has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
_maes_ has joined #ruby
bahar has joined #ruby
sambao21 has joined #ruby
Muhammad_ has quit [Client Quit]
bal has quit [Ping timeout: 269 seconds]
Gooder has quit [Ping timeout: 265 seconds]
nomenkun has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
shaunbaker has quit [Ping timeout: 245 seconds]
Solnse has quit [Remote host closed the connection]
Beoran has quit [Ping timeout: 240 seconds]
DrShoggoth has quit [Quit: Leaving]
moeSeth_ has joined #ruby
acrussell has joined #ruby
geopet has joined #ruby
bal has joined #ruby
IceDragon has joined #ruby
bal1 has joined #ruby
visof has quit [Ping timeout: 241 seconds]
heftig has quit [Quit: Quitting]
ndrei has joined #ruby
Beoran_ has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby
DrShoggoth has joined #ruby
b00stfr3ak has joined #ruby
bal1 has quit [Client Quit]
mjs2600 has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
<gaussblurinc> If I know the rindex (index of last symbol occurence), how should I split string in two parts? (biggest part - left, smallest - right) ?
aryaching has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
_Rahul_Roy_ has joined #ruby
bal1 has joined #ruby
mjs2600 has quit [Remote host closed the connection]
bal has quit [Ping timeout: 265 seconds]
rihbyne has quit [Ping timeout: 265 seconds]
Mongey_ has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
IceDragon_ has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
shaileshg has joined #ruby
UserNameInvalid has quit [Ping timeout: 240 seconds]
Macaveli has quit [Ping timeout: 252 seconds]
cover has joined #ruby
thesheff17 has joined #ruby
ndrei has joined #ruby
IceDragon has quit [Ping timeout: 269 seconds]
chrisramon has joined #ruby
kaspergrubbe has joined #ruby
deadlock has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
Mongey_ is now known as Mongey
hfp`away is now known as hfp
tvw has quit [Read error: Operation timed out]
<Morrolan> Excluding the separator? Something like `s = 'abc|def|gh'; tmp = s.split('|'); [tmp[0..-2].join, tmp.last]` probably.
abdulsattar has joined #ruby
<Morrolan> If you want to include the separator, get the index where you want to split, and then something à la [s[0...index], s[index..-1]] I guess.
lw has quit [Quit: s]
<gaussblurinc> index = element.rindex('/') path = element[0,index] name = element[index+1,element.length]
arietis has joined #ruby
mjs2600 has joined #ruby
<Morrolan> Need to use '..' within the brackets, not a comma.
bahar has quit [Ping timeout: 240 seconds]
Beoran_ has joined #ruby
zarul has quit [Ping timeout: 265 seconds]
<apeiros> Morrolan: wrong
Beoran has joined #ruby
danshultz has quit [Remote host closed the connection]
<Morrolan> Oh, it accepts either?
<apeiros> it's different
<apeiros> [start_offset..end_offset] vs. [start, length]
<Morrolan> Ah.
danshultz has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
hamakn has quit [Remote host closed the connection]
<apeiros> so technically he goes out of bounds in his second one. but since ruby doesn't mind…
zarul has joined #ruby
bahar has joined #ruby
<Morrolan> Mhm, and his first one will work since he starts at the beginning of the string, but would bite him in the arse otherwise.
<shaileshg> Hi, anyone here.. i have a table modelling related query in rails..
duggiefresh has quit [Remote host closed the connection]
lw has joined #ruby
<shaileshg> I have a user which can create multiple kind of transactions such as send, request, buy and sell
<shaileshg> However, he also wants to see his transactions history in which case I want to pull all his transactions (irrespective of type) and show it to him
<shaileshg> should I create a polymorphic relationship between transactions and send, request, buy, sell tables?
<shaileshg> or is there any alternative to it
<shaileshg> ?
axl_ has joined #ruby
phansch has joined #ruby
mjs2600_ has joined #ruby
mjs2600 has quit [Ping timeout: 244 seconds]
danshultz has quit [Ping timeout: 240 seconds]
lw has quit [Quit: s]
magicrails has quit [Quit: magicrails]
tkilani has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
Hobogrammer has quit [Ping timeout: 264 seconds]
xuisc has joined #ruby
xuisc has joined #ruby
xuisc has quit [Changing host]
yasushi has joined #ruby
mlpinit has quit [Remote host closed the connection]
jprovazn has quit [Quit: Leaving]
<shevy> eeks rails to #rubyonrails pls man
crystal77 has quit [Quit: Computer has gone to sleep.]
Mongey_ has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
nvrch has quit [Quit: nvrch]
foredoomed has quit [Remote host closed the connection]
gazarsgo has joined #ruby
Voodoofish4301 has joined #ruby
<shaileshg> shevy: i put it on #rubyonrails, but no one is answering there.. maybe not enough active people
mikepack_ has joined #ruby
<shevy> the ratio of people who know rails there is still better than here
<shevy> here you have to ask workmad3 ;-)
centrx has joined #ruby
mikecmpbll has joined #ruby
duggiefresh has joined #ruby
dik_dak has quit [Ping timeout: 241 seconds]
sdouglas has quit [Remote host closed the connection]
dik_dak has joined #ruby
tvw has joined #ruby
mikepack has quit [Ping timeout: 244 seconds]
mansi_ has quit [Remote host closed the connection]
rippa has joined #ruby
mansi_ has joined #ruby
Mongey_ is now known as Mongey
sk87 has joined #ruby
mjs2600_ has quit [Remote host closed the connection]
razrunelord has joined #ruby
fijimunkii has joined #ruby
pyrac has quit [Ping timeout: 240 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
_bart has quit [Ping timeout: 252 seconds]
mansi__ has joined #ruby
GaryOak has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
lemonsparrow has joined #ruby
mansi__ has quit [Remote host closed the connection]
mansi_ has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
mjs2600 has joined #ruby
kevinykchan has joined #ruby
tylersmith has quit [Remote host closed the connection]
Mongey has quit [Read error: Connection reset by peer]
rihbyne has joined #ruby
tylersmith has joined #ruby
_HolyCow has joined #ruby
Mongey has joined #ruby
nvrch has joined #ruby
mansi_ has quit [Ping timeout: 240 seconds]
mlpinit_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mlpinit_ has quit [Remote host closed the connection]
Mongey_ has joined #ruby
tylersmith has quit [Ping timeout: 265 seconds]
hobodave has joined #ruby
mlpinit_ has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
browndawg has quit [Ping timeout: 264 seconds]
petey has quit [Remote host closed the connection]
bal1 has quit [Quit: bal1]
mikecmpbll has quit [Quit: i've nodded off.]
Mongey has quit [Ping timeout: 240 seconds]
aspires has quit []
einarj has quit [Remote host closed the connection]
aspires has joined #ruby
ahawkins has quit [Remote host closed the connection]
rihbyne has quit [Remote host closed the connection]
Voodoofish430 has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
apeiros has quit [Remote host closed the connection]
petey has joined #ruby
Voodoofish4301 has quit [Ping timeout: 253 seconds]
apeiros has joined #ruby
aganov has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
echevemaster has joined #ruby
mlpinit has joined #ruby
ziyadb_ has quit [Quit: Connection closed for inactivity]
MrPopinjay has joined #ruby
axl_ has quit [Quit: axl_]
shaunbak_ has quit [Remote host closed the connection]
MrPopinjay has left #ruby ["WeeChat 0.3.8"]
yasushi has quit [Remote host closed the connection]
TigerWolf has quit [Ping timeout: 240 seconds]
rihbyne has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
circuit has joined #ruby
jack_rabbit has joined #ruby
mlpinit_ has quit [Ping timeout: 244 seconds]
circuit has quit [Client Quit]
marcdel has quit []
lxsameer has quit [Quit: Leaving]
circuit has joined #ruby
jhass|off is now known as jhass
Schmidt has joined #ruby
arb_ has joined #ruby
mojjojo has quit [Read error: Connection reset by peer]
arb_ has quit [Client Quit]
kevinykchan has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
IceDragon_ has quit [Ping timeout: 244 seconds]
fgo has quit [Ping timeout: 265 seconds]
blaxter has quit [Quit: foo]
chrisseaton has joined #ruby
toastynerd has joined #ruby
banister has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
yfeldblum has joined #ruby
kaspergrubbe has joined #ruby
Es0teric has joined #ruby
banister has quit [Client Quit]
endless_walrus has joined #ruby
dweeb_ has quit [Quit: Computer has gone to sleep.]
fraterlaetus has joined #ruby
IceDragon has joined #ruby
Avahey_ has joined #ruby
oneawayman has quit [Read error: Connection reset by peer]
oneawayman has joined #ruby
axl_ has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
maletor has joined #ruby
abdulsattar has quit [Ping timeout: 269 seconds]
camilasan has quit []
ebetancourt has joined #ruby
mattmcclure has joined #ruby
lemonsparrow has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
Xeago has quit [Remote host closed the connection]
pcarrier has quit [Quit: Connection closed for inactivity]
Voodoofish4301 has joined #ruby
_bart has joined #ruby
francisfish has quit [Remote host closed the connection]
<nhmood> is it possible to use a conditional assignment operator ( a ||= b) with a hash reference
Xeago has joined #ruby
<nhmood> ie: myHash[:mykey] ||= something
<havenwood> nhmood: sure
Spami has joined #ruby
Voodoofish430 has quit [Ping timeout: 252 seconds]
<nhmood> everytime I try I get a undefined local variable myHash
<havenwood> nhmood: is `myHash` undefined?
mikepack_ has quit [Remote host closed the connection]
<nhmood> yes, i assumed that the use of ||= was for "lazy" assignments
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<nhmood> where it would create the var if it was undefined
<nhmood> is that not the case with hashes?
Xeago_ has joined #ruby
francisfish has joined #ruby
<nhmood> or did i completely misunderstand ||=
<havenwood> nhmood: it would create the key, but not the Hash
pwh has quit []
larissa has quit [Quit: Leaving]
<nhmood> so there is no way around having a myHash = {} assignment somewhere
<havenwood> nhmood: no point on ||= with a hash key though
<centrx> nhmood, There is, but it would require some more context on what you're doing.
mikepack has joined #ruby
MattStra_ has joined #ruby
gazarsgo has left #ruby [#ruby]
gaussblurinc has quit [Quit: Leaving.]
rickruby has joined #ruby
<jhass> nhmood: a ||= b is just a quick way to write a || a = b
<havenwood> nhmood: my_hash camel_case_yo!
krz has joined #ruby
Xeago has quit [Ping timeout: 265 seconds]
greenrose has joined #ruby
krz has quit [Client Quit]
MattStratton has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<nhmood> my aim was to remove the op = {} line
francisfish has quit [Ping timeout: 252 seconds]
<nhmood> the for i in loop is still incomplete, clearly
glosoli has quit [Quit: Textual IRC Client: www.textualapp.com]
end_guy has quit [Remote host closed the connection]
<jhass> op = {base: (index...)}
<havenwood> ^
sk87 has joined #ruby
magicrails has joined #ruby
<nhmood> what about if i didnt have the :base assignment
<havenwood> nhmood: the idiomatic way to iterate would be: index.each do |i|
<centrx> nhmood, Also, use Array#each instead of for..in
Scriptonaut has joined #ruby
<havenwood> nhmood: never `for`!
joelteon has quit [Ping timeout: 240 seconds]
<Scriptonaut> hey guys, I'm having trouble determining if a get parameter is set
godd2 has joined #ruby
<nhmood> i thought of index.each but i need reference to the location i'm at
<havenwood> Scriptonaut: have some code to Gist?
<nhmood> the index has the locatiosn where i want to slice
cescalante is now known as ce_afk
<Scriptonaut> if I submit a form, the variable I assigned the param hash value to returns false for empty? and nil?
<nhmood> so i need to get the current index value and the next one
<nhmood> which using .each wouldnt give me
<nhmood> unless i use each.with_index ?
jespada has quit [Quit: Leaving]
<nhmood> if that makes any sense
rickruby has quit [Ping timeout: 252 seconds]
<havenwood> nhmood: `for` isn't going to be any different
<Scriptonaut> havenwood, will post, is there a pastesite you guys prefer
<nhmood> havenwood: won't for give me the location, i?
<godd2> Scriptonaut: gist
<havenwood> nhmood: #each_with_index != for
<havenwood> Scriptonaut: gist.github.com
<havenwood> godd2: oh you beat me :P
iliketurtles has joined #ruby
<nhmood> havenwood: how so?
<Scriptonaut> sorry for double line numbers
<godd2> 10 points for Griffindsor
<Scriptonaut> can't figure out how to copy out of vim properly
danshultz has joined #ruby
Voodoofish430 has joined #ruby
<havenwood> nhmood: never ever use `for`, never!
<godd2> Scriptonaut when you yank a line, you're only copying to vim's internal buffer
<Scriptonaut> ya, I have yet to figure out how to copy to the clipboard
stringoO has quit [Quit: stringoO]
<Scriptonaut> probably need some plugin
<havenwood> nhmood: but `for` will be treated as #each if you do use it, it has no relation to #with_index or #each_with_index
<godd2> what platform are you on? windows? linux? mac?
<Scriptonaut> linux
<nhmood> havenwood: haha ok, i will never use for!
GaryOak has quit [Disconnected by services]
Voodoofish4301 has quit [Ping timeout: 264 seconds]
<nhmood> havenwood: is that just idiomatic ruby or is there a performance benefit also?
<Scriptonaut> apparently blank isn't defined in the version of ruby I'm using
<centrx> nhmood, for is syntactic sugar for #each, the interpreter rewrites it as #each
<Scriptonaut> so anyone know how I can check these get parameters
<Scriptonaut> if it's not nil and not empty string, I seriously can't imagine wth it is
<nhmood> centrx: i see
<Scriptonaut> also this isn't rails I'm using, just old fashioned cgi-bin
<workmad3> Scriptonaut: check for nil before checking for empty
<nhmood> and those are not associated with with_index?
<godd2> Scriptonaut you can copy to the system clipboard with an asterisk
<workmad3> Scriptonaut: and blank? comes from activesupport
<rdark> Scriptonaut: yank to one of X's buffers
<godd2> like *yy
<Scriptonaut> ah
dEPy has joined #ruby
<Scriptonaut> ty
<rdark> "*y or "+y
m1lt0n has quit [Quit: leaving]
<godd2> oops yea with the "
<Scriptonaut> workmad, could you explain why to check nil before?
kaspergr_ has joined #ruby
<workmad3> Scriptonaut: because NilClass doesn't define empty? ;)
<Scriptonaut> like just have it be the first thing in the conditional
einarj has joined #ruby
<Scriptonaut> ahh
<Scriptonaut> will ruby interpreter short circuit
<Scriptonaut> or do I need separate ifs
magoo_ has joined #ruby
_tpavel has quit [Quit: Leaving]
<Scriptonaut> oh god my code has some errors in it anyways, got overzealous with copy/paste
<workmad3> Scriptonaut: it'll short-circuit... but also, use && not 'and'
einarj has quit [Remote host closed the connection]
<shevy> BAD COPY PASTE MAN, BAD
Guest88638 has joined #ruby
saarinen has joined #ruby
<shevy> Scriptonaut let me see your code :)
<godd2> >> result = true and false; result # result is true because assignment has higher precedence than 'and'
<eval-in> godd2 => true (https://eval.in/118233)
tungd has quit [Ping timeout: 252 seconds]
perlsyntax has left #ruby ["Textual IRC Client: www.textualapp.com"]
invinceable has joined #ruby
<workmad3> >> if true and false then true; end
<eval-in> workmad3 => nil (https://eval.in/118234)
<godd2> >> result = true && false; result # but use && and result os false since && has higher precedence
<eval-in> godd2 => false (https://eval.in/118235)
<shevy> workmad3, you make me dizzy
kaspergrubbe has quit [Ping timeout: 252 seconds]
Mongey_ has quit [Read error: Connection reset by peer]
<workmad3> shevy: ;)
einarj has joined #ruby
ndrei has joined #ruby
hamakn has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
paulfm has quit []
Mongey has joined #ruby
<Scriptonaut> hmm
felixjet has quit [Ping timeout: 264 seconds]
<Scriptonaut> the "+y and "*y isn't working
<Scriptonaut> neither is the *yy
tylersmith has joined #ruby
<Scriptonaut> it says "yanked", but it's not going into my clipboard
saarinen has quit [Client Quit]
paulfm has joined #ruby
nomenkun has quit [Ping timeout: 241 seconds]
dcfedde has joined #ruby
rh1n0 has joined #ruby
crystal77 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<nhmood> are there any conventions for naming variables differently based on whether they are local vars vs passed in args or anything like that?
ashevaile has joined #ruby
Eiam has joined #ruby
mary5030 has joined #ruby
npearson has quit [Ping timeout: 244 seconds]
Gooder has joined #ruby
saarinen has joined #ruby
ce_afk is now known as cescalante
<centrx> nhmood, Not that I've seen, no
tyranja is now known as tyranjoff
hamakn has quit [Ping timeout: 244 seconds]
<centrx> nhmood, The best naming convention is to say what it is/contains
nanoyak has joined #ruby
<workmad3> centrx: I prefer to name based on how something is used (the role it plays) rather than what it contains :)
<shevy> nhmood the best variable is _
Xeago_ has quit [Remote host closed the connection]
<nhmood> shevy: ??
Xeago has joined #ruby
<shevy> nhmood _ = ''
cloud|nix has joined #ruby
cloud|nix has quit [Client Quit]
<workmad3> shevy: be nice :P
<shevy> _ << 'Hello'
<shevy> _ << ' World!'
MattStra_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
npearson has joined #ruby
<nhmood> lolol
apeiros has joined #ruby
joelteon has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 244 seconds]
oneawaymann has joined #ruby
MattStratton has joined #ruby
Gooder has quit [Ping timeout: 240 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
magoo_ has quit [Quit: WeeChat 0.4.2]
magoo has joined #ruby
mikecmpbll has joined #ruby
mjs2600 has quit [Remote host closed the connection]
peterellisjones has joined #ruby
Xeago has joined #ruby
arb_ has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
<Scriptonaut> hey guys, so I can't copy/paste through the clipboard in vim cuz I'm over ssh. But I have my code, could somebody tell me why my get parameters are neither nil or empty ?
npearson_ has joined #ruby
dangerousdave has joined #ruby
oneawayman has quit [Ping timeout: 265 seconds]
ocx has quit [Ping timeout: 245 seconds]
Sushruth_ has joined #ruby
npearson has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
mjs2600 has joined #ruby
Sushruth has quit [Ping timeout: 252 seconds]
<shevy> nhmood well you should not rule out that sometimes you don't need to name a variable at all
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
dkamioka has joined #ruby
<centrx> Scriptonaut, What does cgi.params look like?
mikepack has quit [Remote host closed the connection]
GaryOak__ has joined #ruby
DaniG2k has quit [Quit: leaving]
<Scriptonaut> it's empty
GaryOak__ is now known as GaryOak
<Scriptonaut> but the keys exist
mjs2600 has quit [Remote host closed the connection]
cina has quit [Ping timeout: 264 seconds]
<Scriptonaut> cgi.params just returns all the keys
GaryOak has quit [Client Quit]
<Scriptonaut> what is up with all the people joining and leaving?
bluenemo has quit [Remote host closed the connection]
cina has joined #ruby
rdark has quit [Quit: leaving]
polydius has joined #ruby
Schmidt has quit [Ping timeout: 265 seconds]
sputnik1_ has joined #ruby
<centrx> Scriptonaut, That's what people do on IRC
mjs2600 has joined #ruby
<centrx> Scriptonaut, Show the contents of cgi.params
<centrx> Scriptonaut, If cgi.params only contains keys, then why would retrieving from it obtain values other than nil?
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Scriptonaut> it apparently isn't nil though, that's the problem
<Scriptonaut> it's not nil, it's not empty
banister has joined #ruby
shevy has quit [Ping timeout: 241 seconds]
<Scriptonaut> and it's not == ""
mikepack has joined #ruby
stringoO has joined #ruby
quatron has joined #ruby
<crome> what is it then?
<Scriptonaut> despite when I print it out surrounded by '', it looks like ""
gfunc has joined #ruby
<Scriptonaut> or '' that is
<Scriptonaut> how can I find out?
<crome> inspect it
<Scriptonaut> in any other language I've used this would be an empty string
noname001 has quit [Read error: Operation timed out]
<crome> grab the size of it
<crome> or bytesize of size doesnt help
<Scriptonaut> keywords.inspect returns []
<Scriptonaut> when I submit with nothing in the field, it returns [""]
<workmad3> Scriptonaut: params keys are arrays then
shevy has joined #ruby
<workmad3> Scriptonaut: and the array [""] isn't empty...
iliketurtles has quit [Quit: zzzzz…..]
mikepack_ has joined #ruby
<Scriptonaut> so keywords[0].empty?
<workmad3> >> puts [""].empty?
<eval-in> workmad3 => false ... (https://eval.in/118243)
pel_daniel has joined #ruby
rails426 has quit [Ping timeout: 252 seconds]
mikepack has quit [Read error: Connection reset by peer]
<Scriptonaut> >> puts [""][0].empty?
_Rahul_Roy_ has quit [Quit: Leaving]
<eval-in> Scriptonaut => true ... (https://eval.in/118244)
toastynerd has quit [Remote host closed the connection]
<Scriptonaut> ah, there we go
<Scriptonaut> ty
einarj has quit [Remote host closed the connection]
<workmad3> Scriptonaut: either that, or when you're assigning your variables from params, do 'params[key].first'
abk has quit [Ping timeout: 265 seconds]
fgo has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mr_red has quit [Max SendQ exceeded]
noname001 has joined #ruby
yfeldblum has joined #ruby
UserNameInvalid has joined #ruby
mr_red has joined #ruby
yfeldblu_ has joined #ruby
browndawg has left #ruby [#ruby]
sputnik1_ is now known as sputnik13net
kobain has joined #ruby
mr_red has quit [Max SendQ exceeded]
kevind has quit [Quit: kevind]
<Scriptonaut> got it working thanks
mr_red has joined #ruby
<Scriptonaut> you guys know why url.sub("&", "?") isn't working?
<workmad3> Scriptonaut: did you unescape the URL yet?
Mongey has quit [Read error: Connection reset by peer]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
yacks has quit [Quit: Leaving]
<Scriptonaut> oh my bad, I needed sub!
abk has joined #ruby
<Scriptonaut> I haven't worked in ruby for a year or so
rh1n0 has quit [Quit: im out!]
Mongey has joined #ruby
arb_ has quit []
michaeldeol has joined #ruby
abk has quit [Max SendQ exceeded]
nvrch has quit [Quit: nvrch]
gnephiak has quit [Quit: Konversation terminated!]
abk has joined #ruby
grzywacz has joined #ruby
ctp has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
rickruby has joined #ruby
Xeago has joined #ruby
npearson_ has quit [Ping timeout: 240 seconds]
npearson has joined #ruby
glosoli has joined #ruby
saarinen has quit [Quit: saarinen]
jrhe has joined #ruby
Shidash has quit [Ping timeout: 264 seconds]
afex has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
<ashevaile> i'm interested in setting up an app with can can, and authorize namespaces. docs indicate this needs some massaging -- has anyone else done this?
npearson has quit [Remote host closed the connection]
<ashevaile> am i heading for...disaster...?
sk87 has joined #ruby
paulfm has quit []
<soahccc> ashevaile: What do you mean by namespaces here? Like you're allowed to login there and there but not here?
Speed has joined #ruby
paulfm has joined #ruby
GaryOak__ has joined #ruby
<ashevaile> soahccc: you're on the right track. i'd have an 'admin' namespace, and then a 'user' namespace
sk87 has quit [Client Quit]
saarinen has joined #ruby
<ashevaile> soahccc: and then access would be controlled accordingly. users with 'admin' roles can see 'admin' namespace resources, but 'user' roles could not
f0ster has joined #ruby
<ashevaile> there's this:
farn has quit [Read error: Connection reset by peer]
VTLob has joined #ruby
MattStratton has quit [Read error: Operation timed out]
<ashevaile> though i didn't want to abstract my app controller that much unless it's really worth it
<f0ster> How can I tell if an instantiation (child, inherited) of an object has a method on it ?
<centrx> f0ster, #respond_to?
Mon_Ouie has quit [Read error: Connection reset by peer]
<yxhuvud> f0ster: what centrx said, but the way you phrase the question makes me question that you are thinking about your problem in a well thought through way
Mon_Ouie has joined #ruby
<f0ster> like i have different types of error classes that inherit from a parent, and i need to see if my error object has a method on it, if i just try to even check.. object.method.blank? it errors
<soahccc> ashevaile: So role based. well there is cantango if you want devise but otherwise it isn't really complex. The overhead in the controller is always the same, if you're doing role based or user based permissions
shevy has joined #ruby
shinobi_one has joined #ruby
<f0ster> centrx, yxhuvud, maybe object.methods.include? :thing
<slash_nick> f0ster: #respond_to?
<slash_nick> f0ster: #respond_to?(:method)
<yxhuvud> why do you want to check if the method exist?
<slash_nick> I just want to avoid seeing #methods.include? again ;)
<RubyPanther> ashevaile: I use acl9 which is really an RBAC but it is called an acl (which is funny because there are a bunch of ACLs that call themselves RBAC)
<f0ster> centrx: yeah that works.. sorry i couldnt find the documentation at first for respond_to
<soahccc> ashevaile: Thats how we do it https://gist.github.com/2called-chaos/b0f2269937c70998741d
<yxhuvud> I mean really, you are defining the superclass so create it if you need it. methods don't have to do anyhting
<RubyPanther> You can build out anything with it, very flexible
<f0ster> slash_nick: isn't what what it does underneath? where can I see the src for teh STL ? heheh
<ashevaile> soahccc: thanks, looking now...
recurrence has joined #ruby
<ashevaile> ok then you keep all backend actions in a non-namespaced controller?
phantomtiger has quit [Quit: phantomtiger]
BRMatt has quit [Quit: Connection closed for inactivity]
Slavox|AFK is now known as Slavox
<ashevaile> soahccc: that's actually very tidy -- i like that approach
<ashevaile> soahccc: so you have admin controllers, not admin namespace with controllers within
<ashevaile> soahccc: am i getting that right?
<soahccc> ashevaile: for the roles we just use a tag group since we use acts_as_taggable anyway
<soahccc> ashevaile: we have an admin namespace here called backend. Backend::UsersController < BackendController
<f0ster> slash_nick: weould the source for that function be in ruby or from the C ?
failshell has joined #ruby
<soahccc> ashevaile: so any backend controller runs this before filter
<slash_nick> f0ster: from the C :)
<f0ster> slash_nick: fun
ephemerian has quit [Quit: Leaving.]
jaimef has quit [Excess Flood]
<ashevaile> soahcc: ok very cool -- going to tinker with that now
<slash_nick> eval-in... it's pronounced Evelyn, right?
ehc has joined #ruby
sdouglas has joined #ruby
Megtastique has quit []
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
Gadgetoid_ has joined #ruby
chrisja has joined #ruby
rezzack has quit [Quit: Leaving.]
jaimef has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
fridim__ has joined #ruby
Sushruth_ has quit [Quit: Leaving]
Gadgetoid_ is now known as Gadgetoid
<joelteon> in my /etc/hosts file, I have "127.0.0.1 myapp.dev". if I run a server on 127.0.0.1:8081, I can't reach it using Net::HTTP.get(URI.parse("myapp.dev:8081")) but I can if I use 127.0.0.1:8081 instead. why is that?
jlast has quit [Remote host closed the connection]
sarmiena_ has joined #ruby
Mongey has joined #ruby
<joelteon> (also if I telnet to myapp.dev 8081, that works fine)
Megtastique has joined #ruby
jlast has joined #ruby
TMM has quit [Quit: Ex-Chat]
<f0ster> slash_nick: can't find it :p, but I believe you
sdouglas has quit [Ping timeout: 240 seconds]
<slash_nick> f0ster: what do you mean?
vlad_starkov has quit [Remote host closed the connection]
<f0ster> serached the git repo for ruby/ruby and respond_to doesn't show any c code
npearson has joined #ruby
jlast_ has joined #ruby
<f0ster> oh maybe because github's search sucks.. respond_to doesnt match respond_to?
vlad_starkov has joined #ruby
jlast has quit [Read error: Connection reset by peer]
bricker has joined #ruby
toastynerd has joined #ruby
Shidash has joined #ruby
x1337807x has joined #ruby
peterhu has quit [Quit: leaving]
iliketurtles has joined #ruby
peterhu has joined #ruby
bahar has quit [Ping timeout: 240 seconds]
freezey has quit [Remote host closed the connection]
<slash_nick> f0ster: did you not read the source at the link is ent you?
Gadgetoid has quit [Read error: Operation timed out]
farn has joined #ruby
freezey has joined #ruby
dEPy has quit [Quit: Lingo - http://www.lingoirc.com]
<ashevaile> soahccc: i think that approach is the secret sauce -- seems like the way to go for this project
akemrir has joined #ruby
<ashevaile> soahccc: really like the way it fits together. thanks for the suggestion!
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<centrx> f0ster does not know how to use URLs or Google.
magladroth has joined #ruby
bahar has joined #ruby
<soahccc> ashevaile: no problem. I like the approach to have a top controller for every namespace… we have Frontend < Application, Backend < Application, Account < Frontend, and so forth
decoponio has quit [Quit: Leaving...]
jackneill has quit [Read error: Connection reset by peer]
jackneill has joined #ruby
Al___ has quit [Quit: Al___]
toastynerd has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 265 seconds]
gberger has joined #ruby
kaspergrubbe has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby
banister has joined #ruby
<slash_nick> centrx: we should start a mechanical turk for "googling things"
<slash_nick> whatcha wanna know, i can google that for you
Hobogrammer has joined #ruby
<centrx> There's www.lmgtfy.com
Gadgetoid has joined #ruby
<slash_nick> centrx: that doesn't link up to i'm feeling lucky like it used to
Al__ has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
<slash_nick> centrx: way more like mech. turk
<centrx> slash_nick, Looks like you can create it with "I'm Feeling Lucky" or "&l=1" in the URL
kaspergr_ has quit [Ping timeout: 244 seconds]
<apeiros> what do you guys think of this? https://gist.github.com/apeiros/bd40faa7539362a7dccd sensible?
nowthatsamatt has joined #ruby
rickruby has quit [Remote host closed the connection]
sarmiena_ has quit [Quit: sarmiena_]
<slash_nick> apeiros: i like it... does it infer table name?
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby
wald0 has joined #ruby
freerobby has joined #ruby
schbetsy has joined #ruby
itadder has joined #ruby
<apeiros> slash_nick: no. it doesn't need one, as it's not database backed.
<apeiros> that'd be a step I intend to add later too, though.
_maes_ has joined #ruby
<itadder> oh
<itadder> damn I got so much real work done the last two hours
momomomomo has quit [Quit: momomomomo]
<itadder> hyperfocus
<itadder> we need to get rid of all windows xp pc beofre march 25 for auditors
<apeiros> combining it with an AR model is trivial, though. table.each do |row| Model.create(row.to_h) end
mansi_ has joined #ruby
rainmanjam has joined #ruby
zerun0_ has quit [Ping timeout: 240 seconds]
ctruett has joined #ruby
shredding has quit [Quit: shredding]
zerun0_ has joined #ruby
yinkum has joined #ruby
blackmesa has joined #ruby
arb_ has joined #ruby
<ctruett> Hello everyone. Is there a way to check if a method completed successfully, other than by 'return true' or 'return false'?
fgo has joined #ruby
dmarr has joined #ruby
arb_ has quit [Client Quit]
<Tachoh> ctruett: depends on the method
saarinen has quit [Quit: saarinen]
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
<centrx> ctruett, What are you trying to do?
<apeiros> ctruett: also define "successfully"
mansi_ has quit [Remote host closed the connection]
fantazo has quit [Quit: Verlassend]
<apeiros> I'd define anything which didn't raise as a success…
<ctruett> One sec guys, gotta write it all out
CorySimmons has joined #ruby
mansi_ has joined #ruby
chrisramon has quit [Quit: chrisramon]
geopet has quit []
peterellisjones has quit [Quit: Leaving.]
geopet has joined #ruby
adamnbowen has joined #ruby
<ctruett> I'm not sure quite how to explain it. I'll post some of my code -- one moment
fgo has quit [Ping timeout: 244 seconds]
rmorello has joined #ruby
mansi__ has joined #ruby
m8 has joined #ruby
stupidystupid has joined #ruby
stupidystupid has quit [Client Quit]
juhoh has joined #ruby
<ctruett> Ok, here's the relevant bits: http://pastebin.ca/2653947
mansi_ has quit [Read error: Connection reset by peer]
<juhoh> hey, is it possible to access subclasses class vars from superclass?
sarmiena_ has joined #ruby
<apeiros> juhoh: *class vars* yes, since they're shared
<apeiros> juhoh: class *instance* vars, no
endless_walrus has quit [Quit: Textual IRC Client: www.textualapp.com]
carraroj has joined #ruby
<juhoh> apeiros: how?
sarmiena_ has quit [Client Quit]
shevy has quit [Ping timeout: 240 seconds]
<juhoh> is there something similar to callee?
vlad_starkov has quit [Remote host closed the connection]
sambao21 has joined #ruby
jaimef has quit [Excess Flood]
Tamae has joined #ruby
rickruby has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
abdulsattar has joined #ruby
<ctruett> Oh wow... well what I have already works guys. Thanks anyways.
sputnik13net has quit [Ping timeout: 240 seconds]
sambao21 has quit [Client Quit]
mary5030 has joined #ruby
newbie1r has joined #ruby
jaimef has joined #ruby
<shinobi_one> juhoh: your super class should not have to access a subclass variable, if this is the case, can you pass it in through the constructor to the super class?
rails426 has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
nowthatsamatt has joined #ruby
sputnik1_ has joined #ruby
rihbyne has quit [Quit: Konversation terminated!]
<dyreshark> ^ or if every subclass is required to have this value, then you could create a method that all subclasses need to override in the superclass
<juhoh> I was thinking about passing subclasses class var @@tablename to superclass
<juhoh> for a simple ORM
<juhoh> .all being class method
heftig has joined #ruby
ikaros has quit [Quit: Ex-Chat]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar_ has joined #ruby
mehlah has quit [Quit: Leaving...]
shevy has joined #ruby
Xeago has joined #ruby
magicrails has quit [Quit: magicrails]
saarinen has joined #ruby
<juhoh> I'd like to have .all, .find and friends in the superclass and just simply pass the table name from subclasses to the superclass
<juhoh> "pass"
CaptainJet has joined #ruby
scottradcliff has quit [Quit: Page closed]
smathieu has joined #ruby
theRoUS has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
jprovazn has joined #ruby
toastynerd has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 244 seconds]
binaryplease has joined #ruby
magicrails has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
jlebrech has quit [Quit: Konversation terminated!]
binaryplease has quit [Client Quit]
binaryplease has joined #ruby
senayar_ has quit [Ping timeout: 265 seconds]
Speed has quit [Ping timeout: 265 seconds]
akemrir has quit [Quit: WeeChat 0.4.3]
shadoi1 has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
Xeago_ has joined #ruby
theRoUS has joined #ruby
failshell has quit [Remote host closed the connection]
endash has quit [Read error: No route to host]
sambao21 has joined #ruby
jprovazn has quit [Client Quit]
momomomomo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
rails426_ has joined #ruby
mikepack_ has quit [Remote host closed the connection]
failshell has joined #ruby
rails426 has quit [Ping timeout: 265 seconds]
sambao21 has quit [Client Quit]
arb_ has joined #ruby
toastynerd has joined #ruby
arb_ has quit [Client Quit]
tonni_ has joined #ruby
CorySimmons has quit [Quit: Bye!]
Xeago_ has quit [Ping timeout: 240 seconds]
endash has joined #ruby
<juhoh> hah, thinking too hardly for this problem
Speed has joined #ruby
<juhoh> self. thank you
Gooder has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
tonni has quit [Ping timeout: 240 seconds]
roolo has joined #ruby
kaspergrubbe has joined #ruby
UserNameInvalid has quit [Quit: Leaving]
Es0teric has quit [Remote host closed the connection]
ashevaile has left #ruby [#ruby]
saarinen has quit [Quit: saarinen]
ashevaile has joined #ruby
aspires has quit []
<juhoh> not that pretty, but works and got rid of the class var
rickruby has quit [Remote host closed the connection]
Es0teric has joined #ruby
rickruby has joined #ruby
moeSeth_ has quit [Quit: Connection closed for inactivity]
Speed has quit [Ping timeout: 264 seconds]
Hobogrammer_ has joined #ruby
Gooder has quit [Ping timeout: 264 seconds]
sdouglas has joined #ruby
<centrx> juhoh, If you are using ActiveSupport, it has cattr_accessor
tvw has quit []
AlSquire has quit [Quit: This computer has gone to sleep]
<juhoh> nope, just making a simple wrapper for a few sql queries
Hobogrammer has quit [Ping timeout: 240 seconds]
rickruby has quit [Ping timeout: 265 seconds]
<juhoh> nothing fancier than that. and the whole point is to do it from scratch
saarinen has joined #ruby
saarinen has quit [Client Quit]
binaryplease has quit [Quit: WeeChat 0.4.3]
rickruby has joined #ruby
<shevy> cattr_accessor makes an accessor for a class method?
jlast_ has quit [Remote host closed the connection]
nouitfvf has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
crystal77 has joined #ruby
<juhoh> ofc that attr_accessor from my example can be introduced in the superclass, and should be attr_reader instead
senayar has joined #ruby
mansi__ has quit [Ping timeout: 265 seconds]
<yxhuvud> shevy: cattr_accessor generates accessors for @@-variables.
sdouglas has quit [Ping timeout: 264 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiyosi has joined #ruby
smathieu has quit [Remote host closed the connection]
banister has joined #ruby
duggiefresh has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
smathieu has joined #ruby
duggiefresh has joined #ruby
rickruby has quit [Ping timeout: 265 seconds]
jlast has quit [Ping timeout: 240 seconds]
dawkirst has quit [Ping timeout: 265 seconds]
sk87 has joined #ruby
mansi_ has joined #ruby
shevy has quit [Ping timeout: 244 seconds]
yinkum has left #ruby [#ruby]
saarinen_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
sk87 has quit [Client Quit]
nanoyak has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
fuzzyhorns1 has joined #ruby
fuzzyhorns1 has left #ruby [#ruby]
saarinen has quit [Read error: Connection reset by peer]
saarinen_ is now known as saarinen
lw has joined #ruby
ktosiek has joined #ruby
arb_ has joined #ruby
toastynerd has quit [Remote host closed the connection]
lw has quit [Client Quit]
toastynerd has joined #ruby
toastynerd has quit [Remote host closed the connection]
kevinykchan has quit [Quit: Computer has gone to sleep.]
nateberkopec has quit [Ping timeout: 240 seconds]
arb_ has quit [Remote host closed the connection]
shevy has joined #ruby
francisfish has joined #ruby
Mongey has joined #ruby
endash has quit [Ping timeout: 244 seconds]
elaptics is now known as elaptics`away
mansi_ has quit [Read error: Connection reset by peer]
Slavox is now known as Slavox|AFK
jlast has joined #ruby
mansi_ has joined #ruby
Gadgetoid has quit [Read error: Operation timed out]
Mongey has quit [Client Quit]
simplyaubs has joined #ruby
mikepack has joined #ruby
virginus has joined #ruby
mansi__ has joined #ruby
nomenkun has joined #ruby
chrisramon has joined #ruby
<shevy> how to conveniently find out
<shevy> date in +2 hours to now
arietis has joined #ruby
<shevy> hmm found it
<shevy> I will simply convert into seconds. Time.now + 2 * 60 * 60
dawkirst has joined #ruby
aspires has joined #ruby
arietis has quit [Client Quit]
sdouglas has joined #ruby
sparrovv has joined #ruby
Mongey has joined #ruby
endash has joined #ruby
nateberkopec has joined #ruby
mansi__ has quit [Read error: Connection reset by peer]
mansi__ has joined #ruby
mansi__ has quit [Remote host closed the connection]
mansi_ has quit [Ping timeout: 264 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
francisfish has quit [Remote host closed the connection]
jtza8 has quit [Remote host closed the connection]
<centrx> shevy, Date has a day base
ashevaile has quit [Quit: ashevaile]
<centrx> shevy, You ask about date and then use Time!? Which planet.
cina has quit [Quit: leaving]
mansi_ has joined #ruby
goganchic has joined #ruby
Gadgetoid has joined #ruby
virginus has quit [Remote host closed the connection]
lw has joined #ruby
npearson has quit [Remote host closed the connection]
DrShoggoth has quit [Quit: Leaving]
kaspergr_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<CreativeEmbassy> what's the accepted way to write log messages when killing a process?
Platini has left #ruby [#ruby]
<CreativeEmbassy> because I'm getting that "log writing failed. can't be called from trap context" message
<CreativeEmbassy> I assume from the Logger class
npearson has joined #ruby
relix has joined #ruby
<shevy> yeah, Time for the win
<shevy> the method names are annoying though
<shevy> .hour .min .sec
<shevy> I tried ... .hours .minutes .seconds
<shevy> :(
CpuID has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
juhoh has left #ruby [#ruby]
fgo has joined #ruby
nari has quit [Ping timeout: 252 seconds]
Platini has joined #ruby
Mongey has joined #ruby
xuisc is now known as xuisce
stevepm has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
jenskarlsen has quit [Quit: jenskarlsen]
Gooder has joined #ruby
kaspergrubbe has quit [Ping timeout: 264 seconds]
zcreative has joined #ruby
hiyosi has quit [Ping timeout: 265 seconds]
lw has quit [Quit: s]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
gyvrocket has joined #ruby
Mongey is now known as Mongey-away
ndrei has joined #ruby
randomnick_ has joined #ruby
nomenkun has quit [Remote host closed the connection]
Mongey-away has quit [Client Quit]
nomenkun has joined #ruby
rickruby has joined #ruby
sputnik1_ has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
jenskarlsen has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mourest has quit [Read error: Connection reset by peer]
hobodav__ has joined #ruby
cumshot has joined #ruby
hobodave has quit [Ping timeout: 240 seconds]
<cumshot> hi
Gooder has quit [Ping timeout: 244 seconds]
xuisce has quit []
xuisce has joined #ruby
circuit has quit [Read error: Operation timed out]
dangerousdave has quit [Write error: Connection reset by peer]
michaeldeol has joined #ruby
<jenskarlsen> hey
dangerousdave has joined #ruby
<jenskarlsen> interesting name
<cumshot> thx
Mongey has joined #ruby
bahar has quit [Ping timeout: 245 seconds]
Macaveli has joined #ruby
sparrovv has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 252 seconds]
<shinobi_one> >.>
Macaveli has quit [Remote host closed the connection]
chrisseaton has quit []
duggiefresh has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
duggiefresh has joined #ruby
Al__ has quit [Quit: Al__]
xuisce is now known as uxfi
uxfi is now known as xuisce
alexherbo2 has joined #ruby
lw has joined #ruby
optiz0r_ has joined #ruby
moted has quit [Read error: Operation timed out]
moted has joined #ruby
<optiz0r_> evening all. I'm not sure if I'm running into a ruby problem or a rhel one. I have the json gem installed in $GEM_PATH/json-1.4.6 (such that json.rb is $GEM_PATH/json-1.4.6/lib/json.rb), and yet "ruby -rrubygems -rjson -e ''" returns the LoadError. Running strace I see a stat on $GEM_PATH/json-1.4.6, but not on the lib dir. Setting RUBYLIB explicitly fixes, but that seems like the wrong approach.
St_Marx has quit [Read error: Connection reset by peer]
gyvrocket has quit [Remote host closed the connection]
foredoomed has joined #ruby
St_Marx has joined #ruby
<optiz0r_> ruby and the json gem were installed with native rhel packages, nothing funky
nifty has joined #ruby
sparrovv has quit [Remote host closed the connection]
St_Marx has quit [Read error: Connection reset by peer]
kckdent has joined #ruby
St_Marx has joined #ruby
rezzack has joined #ruby
simplyaubs has quit [Quit: simplyaubs]
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oneawayman has joined #ruby
kirun has joined #ruby
xaq has joined #ruby
<shevy> what does "gem env" show optiz0r_ and what is GEM_PATH set to
Advocation has quit [Quit: Advocation]
oneawaymann has quit [Ping timeout: 269 seconds]
chrisseaton has joined #ruby
<optiz0r_> /usr/lib/ruby/gems/1.8
Hanmac has joined #ruby
hobodav__ has quit [Quit: Computer has gone to sleep.]
<optiz0r_> I shorthanded $GEM_PATH above for /usr/lib/ruby/gems/1.8/gems
gfunc has quit [Remote host closed the connection]
kckdent has quit [Remote host closed the connection]
Mongey has joined #ruby
foredoomed has quit [Ping timeout: 252 seconds]
rsahae has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
philcrissman has joined #ruby
Mongey has quit [Client Quit]
CorySimmons has joined #ruby
freezey has quit [Remote host closed the connection]
glosoli has quit [Quit: Textual IRC Client: www.textualapp.com]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
magoo has quit [Quit: WeeChat 0.4.2]
<shevy> hmmm
SHyx0rmZ has joined #ruby
<optiz0r_> gem list also shows json as being installed (actually twice, 1.4.6 and 1.8.1)
<shevy> so the real location of all your gems must be:
<shevy> /usr/lib/ruby/gems/1.8/gems/
<shevy> and there must be json-1.8.1/ dir and json-1.4.6/ dir
kaspergrubbe has joined #ruby
goganchic has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #ruby
<optiz0r_> yes indeed. it's my dev box that has both versions installed. all the prod boxes I've looked at only have 1.4.6. all have the same GEM_PATHS which omits the trailing /gems
freerobby has quit [Quit: Leaving.]
Mongey has joined #ruby
<shevy> I can't quite see an error there so far
rsahae has left #ruby [#ruby]
chrisseaton has quit []
kaspergr_ has quit [Ping timeout: 244 seconds]
<shevy> in irb, can you require json?
phantomtiger has joined #ruby
<shevy> if you don't mind hack solutions, you could symlink this dir into your ruby SITE_DIR directory :)
kaspergrubbe has quit [Ping timeout: 265 seconds]
<shevy> I did this via all my custom ruby files that are not in a gem
whatasunnyday has joined #ruby
Mongey has quit [Client Quit]
<shevy> require 'x/foo.rb' where x is a symlink to my main local ruby repository
koell has joined #ruby
Hobogrammer has joined #ruby
<optiz0r_> not keen on bodging it, since this would have to be rolled out across prod servers and supported indefinitely
<shevy> ah yes, I forgot that you have to do this on more than one machine
<shevy> I don't use rhel packages myself though, and ruby + json works perfectly fine for me
<optiz0r_> mm, it works fine on my gentoo workstation too
sepp2k has joined #ruby
Notte has joined #ruby
Hobogrammer_ has quit [Ping timeout: 240 seconds]
rsahae_ has joined #ruby
toastynerd has joined #ruby
epochwolf is now known as [epochwolf]
bilbo_swaggins has joined #ruby
alex88 has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
alex88 has quit [Client Quit]
<optiz0r_> similar paths involved on that host too
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has joined #ruby
pwh has joined #ruby
jasonwebster has joined #ruby
Salve_ has quit []
rsahae_ has left #ruby [#ruby]
dkamioka has joined #ruby
toastyne_ has joined #ruby
michaeldeol has joined #ruby
echevemaster has quit [Read error: Connection reset by peer]
<shevy> perhaps rhel patched the gem
pwh has quit [Remote host closed the connection]
alvaro_o has joined #ruby
sambao21 has joined #ruby
rootshift has joined #ruby
toastynerd has quit [Ping timeout: 265 seconds]
hobodave has joined #ruby
arb_ has joined #ruby
xerxas has quit [Quit: Connection closed for inactivity]
Jetchisel has joined #ruby
jasonwebster has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Quit: zzzzz…..]
chrisramon has quit [Quit: chrisramon]
razibog has joined #ruby
Mongey has joined #ruby
fluxxed has joined #ruby
lw_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
glosoli has joined #ruby
freerobby has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
chrisseaton has joined #ruby
michaeldeol has joined #ruby
jackneill has quit [Quit: WeeChat 0.4.3]
bahar has joined #ruby
lw has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
timonv has quit [Remote host closed the connection]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
arb_ has quit []
Notte has quit []
<AlexRussia> Hey, people, what + in ruby for newbie?
<AlexRussia> newbie in programming ;)
pfg has joined #ruby
ephemerian has joined #ruby
<shinobi_one> >> 1 + 1
<eval-in> shinobi_one => 2 (https://eval.in/118277)
smathieu has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
smathieu has joined #ruby
vlad_starkov has joined #ruby
cescalante is now known as ce_afk
dblessing has quit [Quit: dblessing]
Zaratustra has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<bilbo_swaggins> >> {{}][][((()$
<eval-in> bilbo_swaggins => /tmp/execpad-ae1314f23f07/source-ae1314f23f07:2: syntax error, unexpected ']', expecting => ... (https://eval.in/118278)
whatasunnyday has quit [Quit: whatasunnyday]
cjsarette has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
whatasunnyday has joined #ruby
<bilbo_swaggins> prepare to be hypnotized
jprovazn has joined #ruby
vlad_starkov has joined #ruby
cumshot is now known as CameInYourMouth
grzywacz has quit [Ping timeout: 240 seconds]
CameInYourMouth is now known as CameInYourMouthA
aspires has quit []
no0code has joined #ruby
fgo has joined #ruby
VTLob has quit [Quit: VTLob]
CameInYourMouthA is now known as CameSeveralTimes
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
sdouglas has quit [Remote host closed the connection]
endash has quit [Read error: No route to host]
Foo3 has quit [Remote host closed the connection]
CameSeveralTimes is now known as ICame
aspires has joined #ruby
sdouglas has joined #ruby
james_d_h has quit [Ping timeout: 240 seconds]
<bilbo_swaggins> ICame: trolling on IRC? unpossible.
<failshell> do you guys have a gem to recommend to parse/write a simple foo = bar type of config?
<ICame> trying 2 decide wots a good nick....
evenix has quit [Remote host closed the connection]
ferr has quit [Quit: Leaving.]
<bilbo_swaggins> failshell: like a hashmap?
rickruby has quit [Remote host closed the connection]
<bilbo_swaggins> how about JSON, YAML or XML?
ICame is now known as iCame
endash has joined #ruby
monkegjinni has joined #ruby
<failshell> no just foo = bar type of configs
fgo has quit [Ping timeout: 240 seconds]
iCame is now known as Apple_iCame
<bilbo_swaggins> I don't know what you mean
rickruby has joined #ruby
<bilbo_swaggins> just like a plaintext file with variable assignments?
<mnemon> failshell: just read lines and split on = ?
Apple_iCame is now known as Apple_iCame5
<bilbo_swaggins> you could load up a file like that and parse it with the ruby interpreter
boom has joined #ruby
<bilbo_swaggins> you don't need to do anything special
<Apple_iCame5> perfect.....
boom is now known as Guest70128
tyranjoff is now known as tyranja
<optiz0r_> shevy: o.O ruby -rrubygems -rjson fails, but ruby -rrubygems -e 'require "json"' works fine. bizarre
<bilbo_swaggins> just require an .rb file that has nothing but declarations
goleldar has joined #ruby
axl_ has quit [Quit: axl_]
sdouglas has quit [Ping timeout: 265 seconds]
itadder has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
<Guest70128> word
danshultz has joined #ruby
renklaf has joined #ruby
rickruby has quit [Ping timeout: 252 seconds]
skaflem has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
sdouglas has joined #ruby
havenwood has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
Apple_iCame5 is now known as Apple_iJizz
sparrovv has joined #ruby
panchiniak has joined #ruby
shadoi1 has quit [Quit: Leaving.]
Guest70128 has quit [Quit: Leaving]
danshultz has quit [Ping timeout: 240 seconds]
bilbo_swaggins has quit [Quit: Leaving]
Apple_iJizz has quit []
jkamenik has quit [Quit: Leaving.]
<panchiniak> Hi. I'm getting "process still alive after 90 seconds (ChildProcess::TimeoutError)" for my ruby cucumber script, when it is called from a my apache webserver. It goes perfect when called directly from the shell. Any help on that?
havenwood has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
theleft has joined #ruby
shadoi1 has joined #ruby
pr0ggie has quit [Ping timeout: 240 seconds]
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
kenneth has joined #ruby
ejzena has joined #ruby
Jetchisel has quit [Ping timeout: 256 seconds]
npearson has quit [Remote host closed the connection]
npearson has joined #ruby
ethicalhack3r has joined #ruby
ethicalhack3r has quit [Changing host]
ethicalhack3r has joined #ruby
CorySimmons has quit [Quit: Zzz...]
momomomomo has joined #ruby
CorySimmons has joined #ruby
<theleft> You will have to create a new file object in write mode and pass the file object to the write method of the document object -- can someone translate this into english for me
<theleft> i know how to load xml document text from a file in irb and parse the xml text in to a document with REXML
<theleft> but beyond that i have no idea how to do this
pr0ggie has joined #ruby
rickruby has joined #ruby
<theleft> obviously this is with an xml file
postmodern has joined #ruby
oneawayman has quit [Ping timeout: 244 seconds]
ejzena has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
<theleft> actually i think i will be ok. i'm gonna try just writing to a new file. seems ok
nfk has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
Platini has left #ruby [#ruby]
flowerhack has joined #ruby
quatron has joined #ruby
ctp has quit [Quit: Linkinus - http://linkinus.com]
vlad_starkov has quit [Remote host closed the connection]
agarie_ has joined #ruby
mikepack_ has joined #ruby
Mongey is now known as Mongey-away
Platini has joined #ruby
<nhmood> is there a cleaner way to duplicate a hash but nil out all the values?
<nhmood> clean_hash = original_hash.dup.reduce({}) { |h, (k, v)| h.merge(k => nil) }
jamto11 has joined #ruby
vlad_starkov has joined #ruby
Jetchisel has joined #ruby
sdouglas has quit [Ping timeout: 264 seconds]
Platini has quit [Client Quit]
pu22l3r has quit [Ping timeout: 240 seconds]
rickruby has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 240 seconds]
agarie has quit [Ping timeout: 240 seconds]
<fraterlaetus> make it a class and have a nil method?
<abdulsattar> nhmood: original_hash.to_a.map{|k,v| [k,nil]}.to_h
klaut has quit [Remote host closed the connection]
rickruby has joined #ruby
rococo has joined #ruby
Platini has joined #ruby
mansi_ has quit [Remote host closed the connection]
aspires has quit []
<abdulsattar> nhmood: or simply original_hash.map{|k,v| [k,nil]}.to_h
mikepack_ has quit [Ping timeout: 244 seconds]
mansi has joined #ruby
mary5030 has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
mary5030 has joined #ruby
kaspergr_ has joined #ruby
maddddh has joined #ruby
<nhmood> ohh, i guess the dup.reduce is pointless
<nhmood> thanks abdulsattar !
james_d_h has joined #ruby
<abdulsattar> nhmood: welcome
rickruby has quit [Ping timeout: 244 seconds]
agarie_ is now known as agarie
whatasunnyday has quit [Quit: whatasunnyday]
toastyne_ has quit [Remote host closed the connection]
diegoviola has joined #ruby
sdouglas has joined #ruby
charliesome has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
ethicalhack3r has quit [Quit: ethicalhack3r]
VTLob has joined #ruby
mansi has quit [Ping timeout: 265 seconds]
magladroth has left #ruby [#ruby]
ndrei has joined #ruby
freerobby has joined #ruby
IceyEC has quit [Quit: IceyEC]
mary5030 has quit [Ping timeout: 265 seconds]
whatasunnyday has joined #ruby
dcfedde has quit [Remote host closed the connection]
mansi has joined #ruby
jasonwebster has joined #ruby
jack_rabbit has joined #ruby
mjs2600 has quit [Remote host closed the connection]
dcfedde has joined #ruby
toastynerd has joined #ruby
sailias has quit [Ping timeout: 240 seconds]
felixjet has joined #ruby
whatasunnyday has quit [Client Quit]
sdouglas has quit [Remote host closed the connection]
francisfish has joined #ruby
CorySimmons has quit [Quit: Bye!]
jimmyy has joined #ruby
apeiros has quit [Remote host closed the connection]
<b00stfr3ak> do you need rails for activesupport?
ferr has joined #ruby
<abdulsattar> b00stfr3ak: No you don't
thelamest has quit [Quit: thelamest]
crystal77 has joined #ruby
thumpba_ has joined #ruby
<b00stfr3ak> abdulsattar: thanks, google wan't showing anything
apeiros has joined #ruby
<abdulsattar> b00stfr3ak: anytime
thelamest has joined #ruby
thumpba has quit [Ping timeout: 240 seconds]
whowantstolivef3 has joined #ruby
rsahae has joined #ruby
xsdg_ has joined #ruby
nolic_ has joined #ruby
whatasunnyday has joined #ruby
no0code has quit [Quit: Lost terminal]
james_d_h has quit [Ping timeout: 252 seconds]
alexherb1 has joined #ruby
pierre1_ has joined #ruby
Scriptonaut has quit [Quit: leaving]
tcurdt has joined #ruby
toastynerd has quit [Remote host closed the connection]
<tcurdt> I am a little confused about this: https://gist.github.com/tcurdt/ad70fb0cf401e9d9b192
<tcurdt> the first assignment is OK
<tcurdt> the other one does not
<tcurdt> but it should be a block ... and that should have access to the variables from the outer scope
_whitelogger has joined #ruby
binw_ has joined #ruby
Trynemjoel has joined #ruby
chrisja_ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
thoonai has joined #ruby
Davey has joined #ruby
hl has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
TorpedoSkyline has joined #ruby
<tcurdt> abdulsattar: I am getting "undefined local variable or method `site'"
razibog1 has joined #ruby
Biohazard has joined #ruby
Zaratustra has joined #ruby
lachesis has joined #ruby
BackEndCoder has joined #ruby
Avahey_ has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has quit [Changing host]
thesheff17_ has joined #ruby
cbetta has quit [Changing host]
cbetta has joined #ruby
cbetta has joined #ruby
St_Marx has joined #ruby
frozar has quit [Remote host closed the connection]
momomomomo_ has quit [Ping timeout: 264 seconds]
jzigmund has joined #ruby
nanoyak_ has joined #ruby
aspiers_ has joined #ruby
<tcurdt> hm ... seems like the pipleine is doing an instance_eval on the block
rickruby has joined #ruby
kirun has quit [Quit: Client exiting]
<tcurdt> that might be the problem
G has joined #ruby
<shevy> tcurdt it is another one
fgo has quit [Ping timeout: 240 seconds]
robert___ has joined #ruby
rickruby has quit [Remote host closed the connection]
JBreit has joined #ruby
doodlehaus has quit []
ohcibi has joined #ruby
chrisja_ has quit [*.net *.split]
binw_ has quit [*.net *.split]
mansi has quit [*.net *.split]
smathieu has quit [*.net *.split]
einarj has quit [*.net *.split]
kaspergr_ has quit [*.net *.split]
momomomomo has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
shadoi1 has quit [*.net *.split]
rezzack has quit [*.net *.split]
nanoyak has quit [*.net *.split]
tonni_ has quit [*.net *.split]
sambao21 has quit [*.net *.split]
theRoUS has quit [*.net *.split]
randomnick_ has quit [*.net *.split]
moted has quit [*.net *.split]
stevepm has quit [*.net *.split]
jlast has quit [*.net *.split]
Hanmac has quit [*.net *.split]
failshell has quit [*.net *.split]
wald0 has quit [*.net *.split]
magicrails has quit [*.net *.split]
jrhe has quit [*.net *.split]
heftig has quit [*.net *.split]
Megtastique has quit [*.net *.split]
paulfm has quit [*.net *.split]
maletor has quit [*.net *.split]
dik_dak has quit [*.net *.split]
momigi has quit [*.net *.split]
armyriad has quit [*.net *.split]
_HolyCow has quit [*.net *.split]
mattmcclure has quit [*.net *.split]
geggam has quit [*.net *.split]
_bart has quit [*.net *.split]
renklaf has quit [*.net *.split]
shaileshg has quit [*.net *.split]
lkba has quit [*.net *.split]
txdv has quit [*.net *.split]
chipotle has quit [*.net *.split]
rayners has quit [*.net *.split]
SCommette has quit [*.net *.split]
Vovko has quit [*.net *.split]
zeropx has quit [*.net *.split]
klue has quit [*.net *.split]
codabrink has quit [*.net *.split]
predator117 has quit [*.net *.split]
jpierre03 has quit [*.net *.split]
linduxed has quit [*.net *.split]
eka has quit [*.net *.split]
Squarepy has quit [*.net *.split]
jetblack has quit [*.net *.split]
Thanatermesis has quit [*.net *.split]
braincrash has quit [*.net *.split]
y_gick has quit [*.net *.split]
glebm has quit [*.net *.split]
xxpor has quit [*.net *.split]
twiceaday has quit [*.net *.split]
troyready has quit [*.net *.split]
teenwolf has quit [*.net *.split]
the_mentat has quit [*.net *.split]
MrJoshua has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
shadoi has quit [*.net *.split]
Tobarja has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
fayimora has quit [*.net *.split]
rickenharp_ has quit [*.net *.split]
antonishen has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
kies has quit [*.net *.split]
Jakee`__ has quit [*.net *.split]
yalue has quit [*.net *.split]
Port3M5[Work] has quit [*.net *.split]
weems has quit [*.net *.split]
mist has quit [*.net *.split]
fella7s has quit [*.net *.split]
denken has quit [*.net *.split]
mnms_ has quit [*.net *.split]
bricker`LA has quit [*.net *.split]
zzak has quit [*.net *.split]
trhodes_ has quit [*.net *.split]
_5kg has quit [*.net *.split]
bedouin_ has quit [*.net *.split]
davorb has quit [*.net *.split]
george2 has quit [*.net *.split]
BaconOverflow has quit [*.net *.split]
oz has quit [*.net *.split]
jwest has quit [*.net *.split]
Robbo_ has quit [*.net *.split]
Koshian_ has quit [*.net *.split]
joelroa has quit [*.net *.split]
asuka_ has quit [*.net *.split]
s__dana has quit [*.net *.split]
gneral has quit [*.net *.split]
matti has quit [*.net *.split]
crazysim has quit [*.net *.split]
peteyg has quit [*.net *.split]
kalleth has quit [*.net *.split]
wlanboy has quit [*.net *.split]
uxp has quit [*.net *.split]
zaargy has quit [*.net *.split]
gwb3 has quit [*.net *.split]
xBradPittx has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
snapcase has joined #ruby
MJBrune has quit [*.net *.split]
xyon has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
jpinnix___ has quit [*.net *.split]
Karu has quit [*.net *.split]
maZtah has quit [*.net *.split]
zrl has quit [*.net *.split]
Guest78452 has quit [*.net *.split]
octarine has quit [*.net *.split]
kapowaz_ has quit [*.net *.split]
willb2 has quit [*.net *.split]
Dwarf has quit [*.net *.split]
jayne has quit [*.net *.split]
kartouch has quit [*.net *.split]
Kamilion has quit [*.net *.split]
renklaf_ has quit [*.net *.split]
<shevy> works fine, so the faulty part must be in whatever Awestruct::Extensions::Pipeline.new does
CADBOT has joined #ruby
yano has quit [Quit: WeeChat, The Better IRC Client -- http://weechat.org/]
<CADBOT> Anyone here good with attributes in chef?
<CADBOT> I tried asking on the chef channel, but it's pretty quite over there atm
mark_locklear has quit [Quit: Leaving]
freezey has joined #ruby
<tcurdt> shevy: hm ... only does "instance_eval &block if block"
<shevy> tcurdt no idea what it does but the code in the pastie shows that it works just fine
JBreit has left #ruby [#ruby]
<shevy> I dont even know what instance_eval does :P
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
tfitts has joined #ruby
<tcurdt> shevy: replace "yield if block_given?" and we will find out ;)
<shevy> no, that must be
<shevy> otherwise the block won't be called
<shevy> so the value would stay at 1
mostlybadfly_ has joined #ruby
evenix has joined #ruby
denken has joined #ruby
wald0 has joined #ruby
binw_ has joined #ruby
fumduq has joined #ruby
peteyg has joined #ruby
tvl has joined #ruby
matti has joined #ruby
tvl is now known as tobiasvl
shadoi has joined #ruby
FaresKAlaboud has joined #ruby
_bart has joined #ruby
bricker`LA has joined #ruby
george2 has joined #ruby
theRoUS has joined #ruby
MJBrune has joined #ruby
jetblack has joined #ruby
mostlybadfly has quit [Disconnected by services]
MJBrune has quit [Changing host]
MJBrune has joined #ruby
weems has joined #ruby
wormwood has joined #ruby
weems has joined #ruby
Su7 has joined #ruby
Mars` has joined #ruby
thejoecarroll has joined #ruby
terrellt is now known as untraceable
predator117 has joined #ruby
armyriad has joined #ruby
_aeris_ has joined #ruby
s__dana has joined #ruby
Tobarja has joined #ruby
moted has joined #ruby
the_mentat has joined #ruby
geggam has joined #ruby
RTG` has joined #ruby
mostlybadfly_ is now known as mostlybadfly
twiceaday has joined #ruby
Squarepy has joined #ruby
untraceable is now known as terrellt
Port3M5[Work] has joined #ruby
heftig has joined #ruby
vlad_starkov has joined #ruby
RoryHughes has joined #ruby
tonni has joined #ruby
jwest has joined #ruby
kaspergrubbe has joined #ruby
sethen has joined #ruby
dik_dak has joined #ruby
codabrink has joined #ruby
sambao21 has joined #ruby
Megtastique has joined #ruby
paulfm has joined #ruby
jpinnix___ has joined #ruby
Vovko has joined #ruby
einarj has joined #ruby
klue has joined #ruby
klue has joined #ruby
nkts has joined #ruby
klue has quit [Changing host]
jmeeuwen has joined #ruby
rtlong has joined #ruby
_5kg has joined #ruby
dachi has joined #ruby
chipotle has joined #ruby
xBradPittx has joined #ruby
Robbo_ has joined #ruby
kies has joined #ruby
kies has joined #ruby
fella7s has joined #ruby
poguez_ has joined #ruby
kartouch has joined #ruby
<tcurdt> shevy: nope - seems to do the same thing
culturelabs_ has joined #ruby
nkts is now known as Guest98663
frode15243_ has joined #ruby
octarine has joined #ruby
jaxxstorm has joined #ruby
zzak has joined #ruby
jamto11 has quit [*.net *.split]
razibog has quit [*.net *.split]
bahar has quit [*.net *.split]
lw_ has quit [*.net *.split]
sparrovv has quit [*.net *.split]
monkegjinni has quit [*.net *.split]
mengu has quit [*.net *.split]
xaq has quit [*.net *.split]
alvaro_o has quit [*.net *.split]
philcrissman has quit [*.net *.split]
blackmesa has quit [*.net *.split]
nateberkopec has quit [*.net *.split]
m8 has quit [*.net *.split]
zerun0_ has quit [*.net *.split]
banister has quit [*.net *.split]
gberger has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
IceDragon has quit [*.net *.split]
centrx has quit [*.net *.split]
Spami has quit [*.net *.split]
abk has quit [*.net *.split]
chrisja has quit [*.net *.split]
Beoran has quit [*.net *.split]
afex has quit [*.net *.split]
slowcon has quit [*.net *.split]
yubrew has quit [*.net *.split]
linojon has quit [*.net *.split]
nolic has quit [*.net *.split]
agjacome has quit [*.net *.split]
tkuchiki has quit [*.net *.split]
binw has quit [*.net *.split]
xsdg has quit [*.net *.split]
matchaw has quit [*.net *.split]
S0da has quit [*.net *.split]
segmond has quit [*.net *.split]
Xiti` has quit [*.net *.split]
whowantstolivefo has quit [*.net *.split]
bbloom_ has quit [*.net *.split]
cephalostrum_ has quit [*.net *.split]
robert_ has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
niharvey has quit [*.net *.split]
froy has quit [*.net *.split]
camt has quit [*.net *.split]
speakingcode-wor has quit [*.net *.split]
aep has quit [*.net *.split]
cyphactor has quit [*.net *.split]
sirecote has quit [*.net *.split]
w|t has quit [*.net *.split]
wchun has quit [*.net *.split]
toastyne_ has quit [*.net *.split]
vjt has quit [*.net *.split]
maloik_ has quit [*.net *.split]
ec_ has quit [*.net *.split]
hoelzro_ has quit [*.net *.split]
dazeddev_ has quit [*.net *.split]
vcoinminer__ has quit [*.net *.split]
pothibo has quit [*.net *.split]
gyre007___ has quit [*.net *.split]
alol_ has quit [*.net *.split]
robmozart_ has quit [*.net *.split]
quatron has quit [*.net *.split]
charliesome has quit [*.net *.split]
ndrei has quit [*.net *.split]
flowerhack has quit [*.net *.split]
rococo has quit [*.net *.split]
rootshift has quit [*.net *.split]
Mongey-away has quit [*.net *.split]
dawkirst has quit [*.net *.split]
npearson has quit [*.net *.split]
polydius has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
jaimef has quit [*.net *.split]
GaryOak__ has quit [*.net *.split]
mr_red has quit [*.net *.split]
rainmanjam has quit [*.net *.split]
petey has quit [*.net *.split]
phantasm66 has quit [*.net *.split]
cover has quit [*.net *.split]
Lewix has quit [*.net *.split]
alexju has quit [*.net *.split]
acrussell has quit [*.net *.split]
`ph8 has quit [*.net *.split]
Muz has quit [*.net *.split]
JohnBat26 has quit [*.net *.split]
multi_io has quit [*.net *.split]
caveat- has quit [*.net *.split]
Billy2 has quit [*.net *.split]
Asher has quit [*.net *.split]
dnyy has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
ceej has quit [*.net *.split]
devdazed has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
Elico has quit [*.net *.split]
v0n has quit [*.net *.split]
monsieurp has quit [*.net *.split]
weaksauce has quit [*.net *.split]
sputnik13 has quit [*.net *.split]
vt102 has quit [*.net *.split]
kenndel_ has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
colour has quit [*.net *.split]
UForgotten has quit [*.net *.split]
micah` has quit [*.net *.split]
nhmood has quit [*.net *.split]
charles81 has quit [*.net *.split]
gsvolt has quit [*.net *.split]
Pricey has quit [*.net *.split]
adambeynon has quit [*.net *.split]
FDj has quit [*.net *.split]
Nyyx has quit [*.net *.split]
tfittsy has quit [*.net *.split]
Freijo has quit [*.net *.split]
f0ster has quit [*.net *.split]
malcolmva has quit [*.net *.split]
ada2358_ has quit [*.net *.split]
jokke has quit [*.net *.split]
Guest97036 has quit [*.net *.split]
dev___ has quit [*.net *.split]
yo61 has quit [*.net *.split]
Guest60001 has quit [*.net *.split]
zeroXten has quit [*.net *.split]
go|dfish has quit [*.net *.split]
hanikazmi has quit [*.net *.split]
niv has quit [*.net *.split]
sawtooth has quit [*.net *.split]
23LAAKZHW has quit [*.net *.split]
benatkin has quit [*.net *.split]
Norrin has quit [*.net *.split]
lectrick_ has quit [*.net *.split]
Gate has quit [*.net *.split]
Davedo has quit [*.net *.split]
weeb1e has quit [*.net *.split]
existensil has quit [*.net *.split]
d-snp has quit [*.net *.split]
PhilK has quit [*.net *.split]
rurban__ has quit [*.net *.split]
lepht has quit [*.net *.split]
dandrade_ has quit [*.net *.split]
juni0r has quit [*.net *.split]
iml has quit [*.net *.split]
kloeri has quit [*.net *.split]
michaelchum has quit [*.net *.split]
ggherdov_ has quit [*.net *.split]
wykydtron has quit [*.net *.split]
brandon__ has quit [*.net *.split]
nuck has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
mtlatif__ has quit [*.net *.split]
jrunning____ has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
ji0n has quit [*.net *.split]
mroth has quit [*.net *.split]
zellio has quit [*.net *.split]
Soulcutter has quit [*.net *.split]
DylanJ has quit [*.net *.split]
TripleDES has quit [*.net *.split]
vaicine has quit [*.net *.split]
Authenticator has quit [*.net *.split]
tommyblu` has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
awarner has quit [*.net *.split]
jinie_ has quit [*.net *.split]
lele has quit [*.net *.split]
aboudreault has quit [*.net *.split]
idoru has quit [*.net *.split]
soahccc has quit [*.net *.split]
ddd has quit [*.net *.split]
pontiki has quit [*.net *.split]
Tranquility has joined #ruby
jimeh has joined #ruby
jpierre03 has joined #ruby
wlanboy has joined #ruby
wlanboy has joined #ruby
Koshian_ has joined #ruby
jds_ has joined #ruby
antonishen has joined #ruby
glebm has joined #ruby
willb2 has joined #ruby
nvll has joined #ruby
nvll has quit [Changing host]
nvll has joined #ruby
kaspergr_ has joined #ruby
mrmist has joined #ruby
Dwarf has joined #ruby
kalz has joined #ruby
cschneid has joined #ruby
cbreeze has quit [Quit: Textual IRC Client: www.textualapp.com]
rezzack has joined #ruby
cuppscakes has joined #ruby
cmaxw_____ has joined #ruby
dmoe___ has joined #ruby
davorb has joined #ruby
mostlybadfly has quit [Client Quit]
Karu has joined #ruby
bedouin_ has joined #ruby
mostlybadfly has joined #ruby
jayne has joined #ruby
BaconOverflow has joined #ruby
<shevy> ok so we now have two different syntaxes for the same thing
<shevy> great :P
<shevy> it still has not solved your problem though, or?
<tcurdt> shevy: true :)
trhodes_ has joined #ruby
Hanmac has joined #ruby
<shevy> well
kenneth_ has joined #ruby
linduxed has joined #ruby
xxpor has joined #ruby
braincrash has joined #ruby
smathieu has joined #ruby
zrl has joined #ruby
mikepack has joined #ruby
kapowaz_ has joined #ruby
elektronaut has joined #ruby
jlast has joined #ruby
kalleth has joined #ruby
renklaf has joined #ruby
troyready has joined #ruby
oz has joined #ruby
fayimora has joined #ruby
momigi has joined #ruby
rickenharp_ has joined #ruby
mansi has joined #ruby
Thanatermesis has joined #ruby
hoelzro_ has joined #ruby
mnms_ has joined #ruby
xyon has joined #ruby
olivier_bK has joined #ruby
phrozen77 has joined #ruby
jonathanwallace has joined #ruby
Slavox|AFK has joined #ruby
gyre007___ has joined #ruby
ndrei has joined #ruby
zeropx has joined #ruby
polydius has joined #ruby
Lewix has joined #ruby
rootshift has joined #ruby
vcoinminer__ has joined #ruby
acrussell has joined #ruby
ws2k3__ has joined #ruby
Mon_Ouie has joined #ruby
nighter has joined #ruby
maloik_ has joined #ruby
jaimef has joined #ruby
chrisja has joined #ruby
dazeddev_ has joined #ruby
GaryOak__ has joined #ruby
flowerhack has joined #ruby
nateberkopec has joined #ruby
halfie_ has joined #ruby
quatron has joined #ruby
crazysim has joined #ruby
jamto11_ has joined #ruby
petey has joined #ruby
cover has joined #ruby
ec_ has joined #ruby
dawkirst has joined #ruby
uxp has joined #ruby
vjt has joined #ruby
robmozart has joined #ruby
mikecmpbll has joined #ruby
23LAAONJ1 has joined #ruby
LBRapid has joined #ruby
tris- has joined #ruby
asuka has joined #ruby
mr_red has joined #ruby
phantasm66 has joined #ruby
charliesome has joined #ruby
npearson has joined #ruby
f0ster has joined #ruby
alol has joined #ruby
Mongey-away has joined #ruby
Pricey has joined #ruby
alexju has joined #ruby
weaksauce has joined #ruby
yxhuvud has joined #ruby
dnyy has joined #ruby
ceej has joined #ruby
yosafbridge has joined #ruby
Billy2 has joined #ruby
caveat- has joined #ruby
JohnBat26 has joined #ruby
devdazed has joined #ruby
Muz has joined #ruby
multi_io has joined #ruby
v0n has joined #ruby
RubyPanther has joined #ruby
Elico has joined #ruby
vt102 has joined #ruby
sputnik13 has joined #ruby
monsieurp has joined #ruby
`ph8 has joined #ruby
kenndel_ has joined #ruby
Asher has joined #ruby
micah` has joined #ruby
UForgotten has joined #ruby
nhmood has joined #ruby
dev___ has joined #ruby
23LAAKZHW has joined #ruby
zeroXten has joined #ruby
yo61 has joined #ruby
adambeynon has joined #ruby
jokke has joined #ruby
ada2358_ has joined #ruby
colour has joined #ruby
malcolmva has joined #ruby
Guest97036 has joined #ruby
go|dfish has joined #ruby
Nyyx has joined #ruby
Norrin has joined #ruby
niv has joined #ruby
charles81 has joined #ruby
hanikazmi has joined #ruby
gsvolt has joined #ruby
Freijo has joined #ruby
lectrick_ has joined #ruby
FDj has joined #ruby
Gate has joined #ruby
Guest60001 has joined #ruby
weeb1e has joined #ruby
sawtooth has joined #ruby
Davedo has joined #ruby
benatkin has joined #ruby
d-snp has joined #ruby
existensil has joined #ruby
PhilK has joined #ruby
rurban__ has joined #ruby
dandrade_ has joined #ruby
lepht has joined #ruby
juni0r has joined #ruby
ggherdov_ has joined #ruby
iml has joined #ruby
michaelchum has joined #ruby
wykydtron has joined #ruby
kloeri has joined #ruby
brandon__ has joined #ruby
TripleDES has joined #ruby
Guest85414______ has joined #ruby
nuck has joined #ruby
cjk101010 has joined #ruby
mtlatif__ has joined #ruby
jrunning____ has joined #ruby
awarner has joined #ruby
Soulcutter has joined #ruby
mroth has joined #ruby
ji0n has joined #ruby
jinie_ has joined #ruby
soahccc has joined #ruby
ddd has joined #ruby
DylanJ has joined #ruby
zellio has joined #ruby
tommyblu` has joined #ruby
aboudreault has joined #ruby
bauruine has joined #ruby
Authenticator has joined #ruby
idoru has joined #ruby
shaileshg has joined #ruby
SegFaultAX has joined #ruby
vaicine has joined #ruby
<shevy> then something else must happen to conclude that "site" is not known despite you having defined it before
shaileshg has joined #ruby
lele has joined #ruby
machty_ has joined #ruby
<tcurdt> I just cannot see how
kobain has quit [Ping timeout: 252 seconds]
kenneth has quit [Ping timeout: 248 seconds]
culturelabs_ is now known as culturelabs
hobodave has quit [Read error: Operation timed out]
eka has joined #ruby
<shevy> but plain ruby code works fine
diegoviola has quit [Quit: WeeChat 0.4.3]
ec_ has quit [Max SendQ exceeded]
caveat- has quit [Max SendQ exceeded]
halfie_ has quit [Changing host]
halfie_ has joined #ruby
<shevy> so it must be part of that class, or a superclass of it
joelroa has joined #ruby
MrJoshua has joined #ruby
Jakee`__ has joined #ruby
halfie_ is now known as halfie
flagg0204 has joined #ruby
panchiniak has quit [Quit: Leaving]
machty_ is now known as machty
<shinobi_one> drawing a blank trying to explain a cool way to a friend of using blocks in ruby without him saying "why don't you just write a method for that", anyone have a decent example? haha
jimmyy has quit []
<toretore> each
caveat- has joined #ruby
kaspergrubbe has quit [Ping timeout: 265 seconds]
gyre007___ is now known as gyre007__
gwb3 has joined #ruby
kevind has joined #ruby
<shinobi_one> he comes from python so he'll just say why not use `for foo in bar` and iterate that way
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_HolyCow has joined #ruby
kobain has joined #ruby
txdv has joined #ruby
bogeyd6 has joined #ruby
Mongey-away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mongey has joined #ruby
ferr has quit [Quit: Leaving.]
ec has joined #ruby
kaspergr_ has quit [Ping timeout: 252 seconds]
y_gick has joined #ruby
<shevy> shinobi_one well
<shevy> shinobi_one blocks are optional
vcoinminer__ is now known as vcoinminer_
<shevy> shinobi_one you can use a method, sure, but you can also ON TOP OF THAT use blocks
Kamilion has joined #ruby
matchaw has joined #ruby
mattmcclure has joined #ruby
<shinobi_one> ^ that's what i was trying to explain, but couldn't come up with a sexy example
phantomtiger has quit [Quit: phantomtiger]
segmond has joined #ruby
<shevy> well ruby offers a lot but you don't always need it
Beoran has joined #ruby
<shevy> like @@foo
zaargy has joined #ruby
npearson has quit [Remote host closed the connection]
<shevy> it's a different philosophy to python
xaq has joined #ruby
froy has joined #ruby
gneral has joined #ruby
<shevy> there was a cool quote from a python project, let me find it and give it to your friend:
Spami has joined #ruby
zerun0_ has joined #ruby
Megtastique has quit []
<shevy> > One thing to note about Biopython is that it often provides multiple ways of ?doing the same thing.?
<shinobi_one> shevy: what is your point about @@? class variables?
<shevy> > Things have improved in recent releases, but this can still be frustrating as in Python there should ideally be one right way to do something.
heftig has quit [Quit: Quitting]
Xiti` has joined #ruby
CpuID2 has joined #ruby
S0da has joined #ruby
<shevy> > However, this can also be a real benefit because it gives you lots of flexibility and control over the libraries.
freezey has quit [Remote host closed the connection]
heftig has joined #ruby
<shevy> so here you have a team of python hackers acknowledging that flexibility is a good thing
<shevy> shinobi_one, dunno, I think @@ are super useless
alvaro_o has joined #ruby
philcrissman has joined #ruby
<shinobi_one> as in class variables are super useless? or the syntax?
bbloom has joined #ruby
schbetsy has left #ruby [#ruby]
<shevy> both!
<shinobi_one> huh
<shevy> shinobi_one can you give a necessary example of where they are absolutely required?
<shinobi_one> let's see
<shevy> shinobi_one a good example for blocks is something like: File.new {}
yano has joined #ruby
IceDragon has joined #ruby
<shevy> I think in python you may have to manually call .close()
<shevy> but I am not absolutely sure
<shinobi_one> shevy: python has `with open("filename.txt", "w") as f:`
ebetancourt has joined #ruby
<shinobi_one> where it intelligently closes
koell has quit [Ping timeout: 265 seconds]
<shevy> what the ... is "with"?
Tamae has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> is this still english or is this dutch
npearson has joined #ruby
sski has joined #ruby
niharvey has joined #ruby
<shevy> wow
<shevy> with_item ::= expression ["as" target]
twiceaday has quit [Ping timeout: 264 seconds]
dideler_work has quit [Ping timeout: 264 seconds]
<shevy> I never saw ::= before
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shinobi_one> shevy: you wouldn't use that in python code
Shidash has quit [Ping timeout: 240 seconds]
duggiefresh has quit [Remote host closed the connection]
chrisseaton has quit []
<shevy> but it is on the docu!
pontiki has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
agjacome has joined #ruby
visof has joined #ruby
einarj has quit [Remote host closed the connection]
<shinobi_one> It's not uncommon I guess in language grammar description
mansi has quit [Remote host closed the connection]
<shevy> aha ok
<shevy> I was wondering
<shevy> it is ugly as hell
mansi has joined #ruby
sdouglas has joined #ruby
aspires has joined #ruby
randomnick_ has joined #ruby
yubrew has joined #ruby
mansi_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
centrx has joined #ruby
<shinobi_one> I was going to look up some Rails source of block usage when defining methods, but the darn githubs appear to be slow on the internets today
<shevy> ewwww
<shevy> rails source
centrx is now known as Guest68835
<shinobi_one> haha
<shinobi_one> community driven code ftw?
Guest68835 is now known as cntrx
<Soulcutter> why look in rails for how to use blocks?
<cntrx> shinobi_one, Some people are allergic to Rails.
mansi_ has quit [Remote host closed the connection]
<shinobi_one> I know that.
<shevy> shinobi_one is it community driven?
<Soulcutter> def foo(&block) # enjoy :)
<shinobi_one> Soulcutter: I wasn't looking for how to use blocks.. I was looking for a real world sexy example of them being used.
mansi_ has joined #ruby
<shinobi_one> Because I'm tired and drawing a blank on a good example.
<shevy> File.new {}
rsahae has quit [Quit: rsahae]
<shinobi_one> That wouldn't have my friend saying "explicit is better than implicit"
<shevy> That is a silly statement to make
<shevy> as equally silly as it were to say "implicit is better than explicit"
<shinobi_one> shevy: Do you know any Python programmers?
<Soulcutter> "orange is better than kittens"
<shevy> when you want to be terse in your code, being succinct is a good thing
<shevy> shinobi_one some random crazy ones here; one on #ruby-de who does both ruby and python
<shinobi_one> shevy: go into your python shell and type `import this`
mansi has quit [Ping timeout: 264 seconds]
<shevy> shinobi_one here is a good entry from him: http://lucumr.pocoo.org/2011/12/7/thoughts-on-python3/
<shinobi_one> lol python 3
<shinobi_one> lol 2011
<shevy> yeah
maletor_ has quit [Quit: Computer has gone to sleep.]
jasonwebster has quit [Quit: Textual IRC Client: www.textualapp.com]
yubrew has quit [Ping timeout: 264 seconds]
zeropx has quit [Remote host closed the connection]
<shevy> the problem is that this is the way how the language is designed
<shevy> you don't get to have alternatives
<shevy> whatever a language designer decreed is how it is
<shinobi_one> shevy: now tell that to a cult following
<shevy> well python is a functional cult
<shevy> you must declare self in every method
<shinobi_one> in a class yes
mansi_ has quit [Read error: Connection reset by peer]
<shevy> so of course you must say "explicit is better than implicit"
<shevy> because there is no other way :)
mansi has joined #ruby
<shinobi_one> it's different when it's the way you're currently living by, or the way to live by ;)
<slash_nick> how do we know there's no other way?...is it explicitly implied?
<shevy> I'd wish programming languages would be more easily composable
<shinobi_one> ^ it's implied explicitly
bogeyd6 has quit [Ping timeout: 252 seconds]
<shevy> slash_nick well you get errors in a programming language if you try to do anything fancy :)
toastynerd has joined #ruby
<shevy> print "hi python 3!"
mansi has quit [Read error: Connection reset by peer]
<shevy> SyntaxError: invalid syntax
<shevy> !!!
<cntrx> Wow this Python person uses many words to say very little.
<cntrx> How ironic
lkba has joined #ruby
<shinobi_one> shevy: requiring parenthesis for print in python 3 only makes sense, what doesn't make sense is they didn't in python 2
<cntrx> No one is using Python 3
<shinobi_one> ^
<cntrx> It's been six years
mansi has joined #ruby
chris_thomson has joined #ruby
<shevy> The summary is that the transition to python3 leaves something for him to be desired - in 2011. He wrote something new about unicode in 2014, I did not yet read it
LiohAu has quit [Quit: LiohAu]
<shevy> shinobi_one ok why are people still using python 2
cover has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
<shevy> There was the unicode entry: http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/
<shinobi_one> shevy: lol i'm not trying to say python 3 is awesome
<shevy> shinobi_one well I have had real problems with the transition myself
Sammael has joined #ruby
<shevy> there were a few xorg libraries that required python to compile
<shevy> and the .py scripts back then were not compatible with python 3, so I had to use python 2
<shinobi_one> shevy: don't most linux distros come with both python 3 and python 2.7 by default now?
<shinobi_one> ah
<shevy> perhaps in 2014
nowthatsamatt has quit [Quit: nowthatsamatt]
<shevy> this was in 2011 or some such
<shinobi_one> i haven't played with 3 at all, and i don't plan to unless i have to
<shevy> it surprised me that an xorg library used python
<shinobi_one> which i don't forsee in my future any time soon
<shevy> if they use python, why not perl... or ruby ...
toastynerd has quit [Remote host closed the connection]
jetblack has quit [Ping timeout: 265 seconds]
Mongey is now known as Mongey-away
<shevy> and why was GNU autoconfigure not enough
<cntrx> Python is kind of the successor to Perl in Linux distributions
<shinobi_one> shevy: more people grew accustomed to using python way before ruby
<shevy> and why did kde switch to cmake
dapz has joined #ruby
Mongey-away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
<shevy> shinobi_one that is fine but most other xorg programs/libraries did not depend on python
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<shevy> it was some python-generator part ... let me try to find it
zachallett has joined #ruby
<shinobi_one> shevy: which linux distro were you using that didn't come with python? lol
Mongey has joined #ruby
iliketurtles has joined #ruby
<shevy> I had python 3
<shinobi_one> also python was much faster than ruby back in the day
<shinobi_one> shevy: you should have had python 2 as well
<shevy> but I dont use python 2!
tcurdt has quit [Quit: bye bye]
<shevy> it would be the same as forcing people back then to use ruby 1.8 or ruby 1.9.2 or some such
mikepack has quit [Read error: Connection reset by peer]
<shinobi_one> i don't use perl so nothing on my computer should
<shevy> hehe
<shinobi_one> ;p
<cntrx> The Python developers basically told everyone "Don't worry about staying with Python 2"
<shevy> unless you use dpkg
mikepack has joined #ruby
randomnick_ has quit [Remote host closed the connection]
<cntrx> "We are going to support Python 2 for at least 8 years"
<cntrx> So no one did
<cntrx> Very stupid in my opinion
<shinobi_one> "We are going to support Python 2 for at least forever, cuz well, fuck."
<cntrx> Now maybe Python 3 will just die off
<shinobi_one> Python 4 will be out soon
<shinobi_one> jk
mary5030 has quit [Remote host closed the connection]
rsahae has joined #ruby
francisfish has quit [Remote host closed the connection]
rsahae has left #ruby [#ruby]
<shinobi_one> i think a lot of people still love python because they don't expect huge changes, or a large number of them in a short amount of time, like ruby has
<shinobi_one> what are we on ruby 2.5 already?
<shinobi_one> ;p
geopet has quit []
mary5030 has joined #ruby
<cntrx> the Python 3 changes aren't even that big
<shinobi_one> ^ true
<cntrx> They are just a handful of backward-incompatible changes
<cntrx> It's moronic
<shinobi_one> Explicit is better than implicit.
<shinobi_one> >.>
mansi has quit [Remote host closed the connection]
<shinobi_one> <.<
* slash_nick upgrades his system python to python 3
<slash_nick> WHOOPS.
<shevy> Moronic is better than Fantastic.
<shinobi_one> slash_nick: lol
<shevy> shinobi_one, I like the blog entry
<shevy> "I will use this post to show that from the pure design of the language and standard library why Python 2 the better language for dealing with text and bytes."
<shinobi_one> Python in Pails, coming soon.
<shevy> what is pails
<shevy> is that like phails?
toastynerd has joined #ruby
<shinobi_one> Who knows
<shinobi_one> I made it up
<shevy> Python in Penis.
<slash_nick> shevy: there's a hole in my pale
maletor has joined #ruby
<shevy> your pale?
zachallett has quit [Remote host closed the connection]
<slash_nick> s/pale/pail/
<shevy> a pale whale
<shinobi_one> slash_nick: your pale ale?
<shevy> lol
<shinobi_one> my pale ale is in a pail
<shevy> the pale whale drank stale ale
<slash_nick> pails of pales... please
npearson has quit [Ping timeout: 252 seconds]
<shevy> tails of tales... tease
<shinobi_one> tales of tails 4, hot furries gone wild
<shevy> shinobi_one sometimes I want to change my nick to python and join #python
enebo has quit [Quit: enebo]
<shevy> but this is not allowed :(
<shinobi_one> lol
<shinobi_one> i join #python and hide from dash
kaspergrubbe has joined #ruby
dcfedde has quit [Remote host closed the connection]
<shinobi_one> it's similar to hiding from Radar
<slash_nick> The pitiful pangolin was pelted by pails of stale ale 'til his pelt turned pale
mary5030 has quit [Ping timeout: 252 seconds]
dcfedde has joined #ruby
<shinobi_one> slash_nick: I think it's the pitfiful python
<slash_nick> wherpsies
<shinobi_one> Pythons on a Plane
<shinobi_one> starring Guido
acrussell has quit [Quit: Leaving.]
malcolmva has quit [Ping timeout: 240 seconds]
rails426_ has quit [Ping timeout: 265 seconds]
terrellt has quit [Ping timeout: 240 seconds]
chrisseaton has joined #ruby
stringoO has quit [Quit: stringoO]
whatasunnyday has quit [Quit: whatasunnyday]
ktosiek has quit [Ping timeout: 252 seconds]
jobewan has quit [Remote host closed the connection]
iamjbecker has joined #ruby
ethicalhack3r has joined #ruby
ethicalhack3r has quit [Changing host]
ethicalhack3r has joined #ruby
sdouglas has quit [Remote host closed the connection]
hermanmunster has joined #ruby
sdouglas has joined #ruby
iamjbecker has quit [Remote host closed the connection]
axl_ has joined #ruby
cntrx is now known as centrx
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjbecker has joined #ruby
phantomtiger has joined #ruby
<GaryOak__> sir is this whitespace in your carry on?
danshultz has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
mavcunha has quit [Ping timeout: 265 seconds]
<centrx> Meaningful whitespace is dumb
vlad_starkov has quit [Remote host closed the connection]
<GaryOak__> meaningless whitespace, even more dumb
<invinceable> speaking of whitespace, how can i check if a variable is full of whitespace? like " "? it doesn't return true on .blank?
alexherb1 has quit [Quit: WeeChat 0.4.3-dev]
<invinceable> note i am not interested in seeing if it has whitespace on the beginning or the end, rather to see if all of the characters are whitespace.
<Soulcutter> invinceable: " ".strip.blank?
<centrx> invinceable, #blank? does do that
<shinobi_one> #blank is a String method?
Hobogrammer_ has joined #ruby
sdouglas has quit [Ping timeout: 246 seconds]
<Soulcutter> I think it's from activesupport
<shinobi_one> ^ It is.
* Soulcutter shruggles
lachesis has left #ruby ["Leaving"]
<shinobi_one> invinceable: you want to know if all the characters are whitespace, and that's all?
sparrovv has joined #ruby
<invinceable> shinobi_one: correct
<Soulcutter> but it is true that blank? does that (just checked)
iamjbecker has quit [Ping timeout: 264 seconds]
<Soulcutter> ' '.blank? # => true
<shinobi_one> Soulcutter: Yes.
<shinobi_one> >> require 'active_support'
<eval-in> shinobi_one => (https://eval.in/118289)
pcarrier has joined #ruby
<shinobi_one> >> require 'active_support'; " ".blank?
<eval-in> shinobi_one => (https://eval.in/118290)
<Soulcutter> maybe you just want ' '.empty?
<shinobi_one> :P
<shinobi_one> Soulcutter: No, empty does not work
<Soulcutter> ' '.empty? # => false
<shinobi_one> Whitespace is not empty
<shinobi_one> >> " ".empty?
<eval-in> shinobi_one => false (https://eval.in/118291)
<shinobi_one> invinceable: blank _should_ work
<Soulcutter> shinobi_one: I don't know what invinceable wants here
fgo has joined #ruby
<Soulcutter> like if he wants to detect whitespace, or ignore it
<shinobi_one> He wants to see if all of the characters are whitespace, as stated, and as I questioned him.
cgore has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Hobogrammer has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #ruby
<Soulcutter> but ''.blank? returns true for no whitespace
<GaryOak__> Soulcutter: blank? is an activesupport function though
<Soulcutter> I don't know, it seems like the solution is obvious now
<Soulcutter> ' '.trim.empty? then?
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shinobi_one> no need for trim
<Soulcutter> err strip
<shinobi_one> or strip
<Soulcutter> I always mess that up
claymore has quit [Quit: Leaving]
<Soulcutter> depends on if he has activesupport, but regardless
<shinobi_one> I'm pretty sure he's working on a Rails app.
<shevy> " foo ".strip.tease
freezey has joined #ruby
<shinobi_one> shevy.strip.tease!
<Soulcutter> shevy: sometimes I like to tap it
jrhorn424 is now known as zz_jrhorn424
<shevy> lol
<shinobi_one> Soulcutter: before or after you strip and tease it?
<shevy> I still have not been able to find a use case for .tap
jarred has joined #ruby
Atw has joined #ruby
mansi has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
<shinobi_one> shevy: it has limited use cases
jimmyy has joined #ruby
cover has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
jimmyy has quit [Max SendQ exceeded]
<Soulcutter> shevy: I think it's to deal with some peoples' aversion to assigning variables or ending a method with a variable reference for the return value
* centrx doesn't use variables
omegahm has joined #ruby
<shinobi_one> that.tap.all_on(the_floor)
<shinobi_one> centrx: lol
sdouglas has joined #ruby
nateberkopec has quit [Quit: Leaving...]
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
<shinobi_one> >> [1, 2, 3].tap(&:reverse!)
<eval-in> shinobi_one => [3, 2, 1] (https://eval.in/118292)
<shinobi_one> for you centrx
Shidash has joined #ruby
jimmyy has joined #ruby
CorySimmons has joined #ruby
jimmyy has quit [Client Quit]
tongcx has left #ruby [#ruby]
<jarred> I'm looking for something like Heliotrope (https://github.com/wmorgan/heliotrope) that I won't have to patch up to get it to load (it hasn't been updated in two years and uses iconv/other incompatible stuff). Any ideas?
maddddh has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
mehlah has joined #ruby
CpuID2 has joined #ruby
sdouglas has quit [Ping timeout: 245 seconds]
mansi has quit [Remote host closed the connection]
CpuID2 has quit [Client Quit]
<centrx> jarred, Look on Ruby Toolbox
danshultz has quit [Read error: Connection reset by peer]
WormDrink has joined #ruby
mansi has joined #ruby
<centrx> jarred, I searched for [heliotrope ruby toolbox] and found a possible candidate there
<jarred> cool, thanks
<b1nd> If I have a map {href: 'something, title: 'else'};
danshultz has joined #ruby
<b1nd> How can I add foo: bar to that?
<b1nd> is it simply? mapname[:foo] = bar ?
duggiefresh has joined #ruby
abdulsattar has quit [Quit: Leaving]
<b1nd> <<
<b1nd> >>
<eval-in> b1nd => nil (https://eval.in/118296)
<b1nd> >> test = {href: 'something, title: 'else'}; test[:foo] = bar;puts test
<eval-in> b1nd => /tmp/execpad-1e5f3dd75aca/source-1e5f3dd75aca:2: syntax error, unexpected keyword_else, expecting '}' ... (https://eval.in/118297)
visof has quit [Quit: Lost terminal]
<b1nd> >> test = {href: 'something, title: 'else'}; test[:foo] = bar;puts test;
<eval-in> b1nd => /tmp/execpad-8f78a1902759/source-8f78a1902759:2: syntax error, unexpected keyword_else, expecting '}' ... (https://eval.in/118298)
<b1nd> or maybe it like this
<b1nd> >> test = {href: 'something, title: 'else'}; test << {bar: 'foo'}
<eval-in> b1nd => /tmp/execpad-1f73bfc11e59/source-1f73bfc11e59:2: syntax error, unexpected keyword_else, expecting '}' ... (https://eval.in/118299)
crystal77 has quit [Quit: Computer has gone to sleep.]
<b1nd> >> test = {href: 'something, title: 'else'}; test << {bar: 'foo'};
<eval-in> b1nd => /tmp/execpad-94711db9973b/source-94711db9973b:2: syntax error, unexpected keyword_else, expecting '}' ... (https://eval.in/118300)
<centrx> stop, it's a syntax error
<centrx> 'something instead of 'something'
<centrx> >> test = { href: 'something, title: 'else' }; test[:bar] = 'foo'
<eval-in> centrx => /tmp/execpad-0ec0fd31bdb7/source-0ec0fd31bdb7:2: syntax error, unexpected keyword_else, expecting '}' ... (https://eval.in/118301)
<centrx> >> test = { href: 'something', title: 'else' }; test[:bar] = 'foo'
<eval-in> centrx => "foo" (https://eval.in/118302)
<centrx> >> test = { href: 'something', title: 'else' }; test[:bar] = 'foo'; test
<eval-in> centrx => {:href=>"something", :title=>"else", :bar=>"foo"} (https://eval.in/118303)
mansi has quit [Ping timeout: 246 seconds]
iceden has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
theleft has quit [Quit: Leaving]
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
vt102 has quit [Ping timeout: 240 seconds]
jamto11_ has quit [Remote host closed the connection]
fgo has joined #ruby
duggiefresh has quit [Ping timeout: 246 seconds]
klue has quit [Ping timeout: 264 seconds]
Robbo_ has quit [Quit: Leaving]
Robbo_ has joined #ruby
terrellt has joined #ruby
yubrew has joined #ruby
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> b1nd your first syntax almost worked, but you forgot that ruby thinks that bar is a variable in this context
<shevy> b1nd centrx used the same but passed a string object instead, which worked
* centrx centrx doesn't use variables
pu22l3r has joined #ruby
jimmyy has joined #ruby
jimmyy has quit [Max SendQ exceeded]
<shinobi_one> centrx: test =
jimmyy has joined #ruby
Pixi__ has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby
Skaag has joined #ruby
<Skaag> what's the name of the adapter typically used instead of mysql2 if I want to use postgresql?
powis has joined #ruby
<centrx> Skaag, pg
<Skaag> (for database.yml)
<Skaag> thanks, do you happen to know the name of the gem for the ruby driver?
<centrx> Skaag, In Rails database.yml it's postgresql
<centrx> Skaag, the gem is pg
<Skaag> awesome, thanks!
sdouglas has joined #ruby
thesheff17_ has quit [Ping timeout: 240 seconds]
<shevy> long live postgresql
<shevy> let's trigger centrx
<shevy> PHP
<centrx> PHP is an abomination and a scourge on the face of the earth.
<shevy> lol
<Skaag> haha!!
<shevy> it's the once per weekly statement to do
<shevy> Skaag? is that a norwegian name?
<shinobi_one> centrx: so what is javascript? ;p
<shevy> skapelsen!
<Skaag> I invented this name when I bought my first car which was a Volvo 1980
<shevy> javascript is the necessary evil
<centrx> Javascript is fine
Xiti` has quit [Ping timeout: 252 seconds]
danshultz has quit [Ping timeout: 246 seconds]
<shevy> oh volvo... swedish!
<Skaag> one day the car was covered with crap, I wanted to curse in swedish but I didn't know any curse words in swedish
<shevy> shinobi_one I notice a slight different to php here
<Skaag> so I just said "skaaaaag"
<shevy> lol
<Skaag> which was what I imagined sweds would say instead of "sh*****t"
<Skaag> and it became my car's name... the Skaag Mobile
yasushi has joined #ruby
<centrx> Javascript is a coherent language. It just lacks some useful high-level constructs and is needlessly verbose.
<Skaag> when it was stolen, a couple of months later, I assumed the nick in honor of my beloved sherman tank of a car
robertjpayne has joined #ruby
<hermanmunster> Skaag: awesome tale! :)
<Skaag> I know it's off topic, sorry about that :)
<shinobi_one> PHP is arguably just as coherent as JS when done correctly. I've sene plenty of JS done incoherently.
<shinobi_one> s/sene/seen
<hermanmunster> I hereby pronounce today, "International Skaaaag Day"
<Skaag> LOL :)
<shevy> but the word is made up!
<centrx> shinobi_one, No, PHP is on a whole different level
mavcunha has joined #ruby
<hermanmunster> shinobi_one: This could be true. Unfortunately PHP tends to attract people that just want to watch the world burn.
<centrx> shinobi_one, Javascript has a few implicit conversions, which I assume is what you are referring to
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
<Skaag> weird. my ruby is 1.9.3 but when I try to install rubyzip I get this: Gem::InstallError: rubyzip requires Ruby version >= 1.9.2.
<Skaag> my gem is version 2.2.2, maybe it is too new?
<centrx> shinobi_one, PHP types: http://phpsadness.com/sad/52
Megtastique has joined #ruby
<shinobi_one> centrx: tl;dr
<Skaag> hm. it's only via bundle install that it fails. When I just run: gem install rubyzip, it works.
<centrx> shinobi_one, In short, PHP is a mess. Javascript is pure elegance in comparison
<b1nd> >> test = { href: 'something', title: 'else' }; test[:bar] = 'foo'; test
<eval-in> b1nd => {:href=>"something", :title=>"else", :bar=>"foo"} (https://eval.in/118306)
Megtastique has quit [Client Quit]
pu22l3r has quit [Remote host closed the connection]
pu22l3r has joined #ruby
<xuisce> hey shevy
<xuisce> centrx:
pu22l3r_ has joined #ruby
axl_ has quit [Quit: axl_]
Megtastique has joined #ruby
funburn has joined #ruby
crystal77 has joined #ruby
pu22l3r has quit [Ping timeout: 246 seconds]
fgo has quit [Remote host closed the connection]
fgo has joined #ruby
mary5030 has joined #ruby
ixti has quit [Ping timeout: 264 seconds]
bitcycle has joined #ruby
CpuID2 has joined #ruby
CpuID2 has quit [Changing host]
<bitcycle> Hey all. Is it possible to create a gem that installs a binary that is just a binary, without the ruby_noexec_wrapper?
CpuID2 has joined #ruby
adamnbowen has quit [Ping timeout: 240 seconds]
justinxreese has quit [Ping timeout: 246 seconds]
ethicalhack3r has left #ruby [#ruby]
foredoomed has joined #ruby
mary5030 has quit [Remote host closed the connection]
pfg has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has joined #ruby
<shevy> hey xuisce
<xuisce> hi shevy
<xuisce> I'm going to start ruby tonite
<xuisce> been busy with uni and such
<xuisce> :)
freezey has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
xaq has quit [Remote host closed the connection]
estebanrules has joined #ruby
glosoli has quit [Quit: Textual IRC Client: www.textualapp.com]
pfg has joined #ruby
thoraxe_ is now known as thoraxe
justinxreese has joined #ruby
zachallett has joined #ruby
foredoomed has quit [Ping timeout: 252 seconds]
<GaryOak__> how do I start a ruby group that don't smell like poop?
mary5030 has quit [Ping timeout: 264 seconds]
<shinobi_one> GaryOak__: Change your name to Ash.
<shinobi_one> ;p
Al__ has joined #ruby
postmodern has quit [Quit: Leaving]
dcfedde has quit [Read error: Connection reset by peer]
<GaryOak__> Step 1: Change IRC username
whatasunnyday has joined #ruby
ctp has joined #ruby
W0rmDr1nk has joined #ruby
<shinobi_one> GaryOak__: where do you live?
mikepack has quit [Remote host closed the connection]
<GaryOak__> the sad part of Washington state
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
lw has joined #ruby
Mongey_ has joined #ruby
<shinobi_one> How far are you from Seattle? I'm sure there's a Ruby users group there.
Megtastique has quit []
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
monkegjinni has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
<GaryOak__> seattle.rb is where it's at, but I'm definitely too far from that
jarred has quit [Quit: Leaving.]
<xuisce> shinobi_one: is there a Ruby users group near DC?
<xuisce> I'd be glad to meet some fellow ruby coders
powis has quit [K-Lined]
<shinobi_one> GaryOak__: I would probably go on meetup.com and create a group, then maybe post on the seattle one to see if anyone who is on the list or has attended would like to join you in your area
<shinobi_one> xuisce: http://www.meetup.com/dcruby/
<GaryOak__> shinobi_one: maybe I'll try something like that
lkba has quit [Ping timeout: 252 seconds]
<xuisce> thanks
kayloos_ has quit [Remote host closed the connection]
<shinobi_one> GaryOak__: Join the seattle.rb mailing list and send them an email
<shinobi_one> I should really attend the groups near me, yet I'm too lazy.
WormDrink has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
blackmesa has joined #ruby
monkegji_ has joined #ruby
<xuisce> thanks alot shinobi_one
<xuisce> me too :p
<xuisce> I'm busy with uni
monkegjinni has quit [Read error: No route to host]
fijimunkii has quit [Ping timeout: 264 seconds]
<shinobi_one> xuisce: I was one of 2 people at my university that actually used ruby/rails..
zachalle_ has joined #ruby
<xuisce> oh
charliesome has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
pu22l3r_ has quit [Remote host closed the connection]
rsahae has joined #ruby
<shinobi_one> We banded together and drank brews whilst coding up a startup.
rsahae has left #ruby [#ruby]
maddddh has joined #ruby
WormDr1nk has joined #ruby
dangerousdave has quit [Quit: Leaving...]
Shidash has quit [Read error: Connection reset by peer]
<GaryOak__> that sounds cool
weaksauce has quit [Quit: Linkinus - http://linkinus.com]
<shinobi_one> It was a good time.
<GaryOak__> There's only a few people in my city that do ruby dev work, and I'm not even one of them
<xuisce> nice shinobi_one :)
<xuisce> well I like Ruby and im new to rpgraomming
<xuisce> programming
razibog1 has quit [Quit: Leaving.]
<xuisce> have you seen a guy named Pyschs in here?
<xuisce> Psychs* ?
<shinobi_one> xuisce: are you going to university for computer science?
<xuisce> shinobi_one: I plan to change my major to that at some point yes
<xuisce> :)
WormDrink has joined #ruby
<shinobi_one> sooner is better than later ;)
<xuisce> My uni isnt big on that though
<shinobi_one> ah
<shevy> shinobi_one what happened to that startup?
<xuisce> so maybe I willdo it for graduate?
<xuisce> will do
zachallett has quit [Ping timeout: 252 seconds]
<shinobi_one> xuisce: consider transfering, the amount of experience gained from an undergrad in cs outweighs getting a masters in comp sci
<shinobi_one> shevy: It fell apart.
W0rmDr1nk has quit [Ping timeout: 252 seconds]
<xuisce> shinobi_one: eh well my uni is private :p
<xuisce> thats already enough hhaha
<xuisce> plus I need to improve my calculus
Al___ has joined #ruby
yasushi has quit [Remote host closed the connection]
<shinobi_one> lol i'm not sure i get your point but ok :)
<xuisce> shinobi_one: I mean my uni is 50K :)
<xuisce> I dont have the finances o transfer now :P
rjk808 has joined #ruby
<shinobi_one> xuisce: consider a cheaper university that offers better comp sci classes ;p
Shidash has joined #ruby
iamjbecker has joined #ruby
<shinobi_one> xuisce: Are you in the UK or Canada?
<xuisce> shinobi_one: mind a pm ?
<xuisce> :)
<xuisce> we can discuss it
WormDr1nk has quit [Ping timeout: 252 seconds]
<shinobi_one> I won't be on here much longer, I'll be off to drink brews, eat some food, and play bingo in a bit.
moli has joined #ruby
fraterlaetus has quit []
smathieu has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
Al__ has quit [Ping timeout: 252 seconds]
zachalle_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 246 seconds]
smathieu has joined #ruby
zachallett has joined #ruby
phantomtiger has quit [Quit: phantomtiger]
moli has left #ruby [#ruby]
zachalle_ has joined #ruby
jjbohn has quit [Quit: Leaving...]
weaksauce has joined #ruby
Fin1te has joined #ruby
jamto11 has quit [Remote host closed the connection]
polydius has quit [Quit: EOF]
<shevy> no
<shevy> don't get a life now shinobi_one
<shevy> stay
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mongey_ has quit [Ping timeout: 264 seconds]
<shinobi_one> shevy: but it's tuuuuesdayyy
<shevy> damn
jarred has joined #ruby
WormDrink has quit [Quit: Leaving]
<shevy> soon weekend
<centrx> I don't know even know if an epithet for Tuesdays like Wasted Wednesdays
WormDrink has joined #ruby
zachallett has quit [Ping timeout: 245 seconds]
<shinobi_one> centrx: I could probably make one up
<shinobi_one> Tanked Tuesdays
<hermanmunster> Totalled Tuesdays
supermarin has joined #ruby
jarred has left #ruby [#ruby]
<shinobi_one> Tapped Tuesdays
jamto11 has joined #ruby
<shinobi_one> tuesday.tap
blackmesa has joined #ruby
maddddh has joined #ruby
ixti has joined #ruby
blackmesa has quit [Remote host closed the connection]
jhass is now known as jhass|off
momigi has quit [Remote host closed the connection]
estebanrules has quit [Quit: leaving]
<hermanmunster> ideas = tuesday.tap.brews
smathieu has quit [Remote host closed the connection]
<hermanmunster> there is your use case. the ideas come along from tuesdays regardless of brews
tyranja is now known as tyranjofffffffff
smathieu has joined #ruby
<shinobi_one> hermanmunster: but do they?
<hermanmunster> shinobi_one: i think ideas come along with brews and without. the funniest ideas seem to come while brews are on the table though.
iamjbecker has quit []
iamjbecker has joined #ruby
<shinobi_one> hermanmunster: The funniest ideas come from that green plant.
<hermanmunster> i never inhaled though.
freezey has quit [Remote host closed the connection]
<shevy> the zombie plant?
smathieu has quit [Remote host closed the connection]
estebanrules has joined #ruby
<shinobi_one> Neither did Clinton.
smathieu has joined #ruby
montyboy has joined #ruby
<hermanmunster> is that why he didn't have so many funny ideas?
yubrew has joined #ruby
<shinobi_one> Obama and Schwarzenegger did though..
<hermanmunster> well Schwarzenegger was in "Conan". It couldn't have been done without magic greenery.
nolic_ has quit [Read error: Operation timed out]
gberger has joined #ruby
<shinobi_one> lol
vlad_starkov has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
<shevy> "Let me tell you of the days of high adventure."
<shevy> ^^^
<shevy> weed people
<shevy> as intro to conan
<shevy> but I <3 the intro music, it's super epic
sambao21 has joined #ruby
<hermanmunster> there is a version of Conan on youtube that is soundtrack only. check it out.
W0rmDr1nk has joined #ruby
oneawayman has joined #ruby
<shinobi_one> I wonder if Arnold has his medicinal card.
shaileshg has quit [Quit: Connection closed for inactivity]
<shevy> hey he is an old man now
WormDrink has quit [Ping timeout: 252 seconds]
<shinobi_one> :O never
nari has joined #ruby
WormDr1nk has joined #ruby
WormDr1nk has quit [Changing host]
WormDr1nk has joined #ruby
iamjbecker has quit [Remote host closed the connection]
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
yubrew has quit [Ping timeout: 264 seconds]
nolic has joined #ruby
iamjbecker has joined #ruby
yfeldblu_ has quit [Ping timeout: 265 seconds]
nanoyak_ has quit [Quit: Computer has gone to sleep.]
arb_ has joined #ruby
<shinobi_one> centrx: I watched that earlier, ha
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shinobi_one> Good 'ol Facebook.
<shinobi_one> s/'ol/ol'
sambao21 has quit [Ping timeout: 252 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
arb_ has quit [Remote host closed the connection]
<shevy> heretic!
<shevy> go and use Railsbook
arb_ has joined #ruby
maletor has joined #ruby
yalue has joined #ruby
<shinobi_one> centrx: watch the james franco one
larissa has joined #ruby
havenwood has joined #ruby
senayar has quit [Remote host closed the connection]
<centrx> Who's that?
W0rmDr1nk has quit [Ping timeout: 252 seconds]
senayar has joined #ruby
Wally has joined #ruby
<xuisce> shinobi_one: ?
iamjbecker has quit [Ping timeout: 246 seconds]
flowerhack has quit [Quit: Connection closed for inactivity]
W0rmDr1nk has joined #ruby
Megtastique has joined #ruby
supermarin has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 252 seconds]
<shinobi_one> james franco: pineapple express, spiderman, springbreakers, freaks and geeks, http://www.imdb.com/name/nm0290556/
WormDr1nk has quit [Ping timeout: 245 seconds]
estebanrules has quit [Quit: leaving]
Wally has left #ruby ["Textual IRC Client: www.textualapp.com"]
kitak has joined #ruby
Fin1te has quit [Quit: Later tater.]
VTLob has quit [Quit: VTLob]
fgo has joined #ruby
iamjbecker has joined #ruby