apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
try has quit [Ping timeout: 272 seconds]
maximski has quit []
klmlfl has quit [Remote host closed the connection]
it0a has joined #ruby
startupality has joined #ruby
r0bby_ is now known as robbyoconnor
robbyoconnor is now known as r0bby_
shime_ has joined #ruby
<mischief> do environment variables get expanded in ~/.gemrc
veduardo has joined #ruby
<Salatfreak> Is Pine's book enough to know to start focusing on rails? I have access to the 2nd Edition from 2009...
chipotle has quit [Quit: cheerio]
lmickh has quit [Remote host closed the connection]
chipotle has joined #ruby
ta has quit [Remote host closed the connection]
<sevenseacat> then its going to be a very old version of ruby an rails
Asher- has quit [Quit: Leaving.]
Asher has joined #ruby
shime has quit [Ping timeout: 244 seconds]
^wald0 has joined #ruby
Megtastique has joined #ruby
charliesome has quit [Quit: zzz]
blackmesa has quit [Quit: WeeChat 1.1]
r0bby_ is now known as robbyoconnor
eightyeights has quit [Quit: Textual IRC Client: www.textualapp.com]
Channel6 has quit [Ping timeout: 245 seconds]
fgo_ has joined #ruby
booly-yam-4014 has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GaryOak_ has quit [Remote host closed the connection]
<Salatfreak> Well, I guess I will just stroll through the library tomorrow and see which modern books are actually there... Thank's anyways!
booly-yam-4014 has joined #ruby
giuseppesolinas has joined #ruby
sklik has joined #ruby
ddd has quit [Quit: mutiple config changes requiring restart]
mikepack has quit [Remote host closed the connection]
ddd has joined #ruby
fgo_ has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
giuseppesolinas has quit [Client Quit]
zacstewart has quit [Remote host closed the connection]
tkuchiki has joined #ruby
timanema has quit [Ping timeout: 264 seconds]
sklik has quit [Read error: Connection reset by peer]
booly-yam-4014 has quit [Max SendQ exceeded]
sevenseacat has quit [Ping timeout: 264 seconds]
sklik has joined #ruby
booly-yam-4014 has joined #ruby
rajeshchawla has quit []
jgt1 has quit [Ping timeout: 246 seconds]
codeFiend has joined #ruby
astrobunny has quit [Remote host closed the connection]
blackmesa has joined #ruby
longfeet_ has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
mjuszczak has quit []
zB0hs has joined #ruby
codeFiend has quit [Client Quit]
zemlya has joined #ruby
olivier_bK has quit [Ping timeout: 276 seconds]
booly-yam-4014 has quit [Max SendQ exceeded]
Channel6 has joined #ruby
aspiers has quit [Ping timeout: 265 seconds]
booly-yam-4014 has joined #ruby
nfk has quit [Quit: yawn]
it0a has quit [Quit: WeeChat 1.1]
timanema has joined #ruby
it0a has joined #ruby
LouisRoR has quit [Ping timeout: 245 seconds]
bklane has joined #ruby
Channel6 has quit [Ping timeout: 244 seconds]
leonshalimov has joined #ruby
mloveless has joined #ruby
aspiers has joined #ruby
DadoCe has quit [Remote host closed the connection]
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
bashusr has quit [Ping timeout: 272 seconds]
longfeet_ is now known as longfeet
dc has quit [Remote host closed the connection]
ddd has quit [Quit: leaving]
sklik has quit [Read error: Connection reset by peer]
booly-yam-4014 has quit [Max SendQ exceeded]
dimaursu16 has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
booly-yam-4014 has joined #ruby
bashusr has joined #ruby
dimaursu16 has joined #ruby
martinium has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
mloveless has quit [Remote host closed the connection]
<Salatfreak> Oh, there is "Agile web development with Rails 4" from 2013 as well which includes ruby as well. That pretty much seems to be what I need. Can anyone recommend that one?
tkuchiki has joined #ruby
leonshalimov has quit [Ping timeout: 240 seconds]
fgo_ has joined #ruby
Trieste has quit [Ping timeout: 276 seconds]
timanema has quit [Quit: leaving]
russt has quit [Quit: russt]
timanema has joined #ruby
bklane has quit []
timanema has quit [Client Quit]
timanema has joined #ruby
oo_ has joined #ruby
<mozzarella> just read the official guides
timanema has quit [Client Quit]
ddd has joined #ruby
timanema has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
timanema has quit [Client Quit]
martinium has joined #ruby
timanema has joined #ruby
<dimaursu16> and learn ruby, not "rails" ;)
Channel6 has joined #ruby
<dimaursu16> devdocs.io is a pretty good resource to get documentation
martinium has quit [Remote host closed the connection]
timanema has quit [Client Quit]
martinium has joined #ruby
booly-yam-4014 has quit [Remote host closed the connection]
sevenseacat has joined #ruby
<mischief> i don't get why this is so hard
<dimaursu16> devdocs itself is written in Ruby. There are also several big Rails projects around, like Gitlab, Gitorious, Discourse, Diaspora*
<dimaursu16> try to contibute to one of them - it will be more valuable than 3 books ;)
booly-yam-4014 has joined #ruby
charliesome has joined #ruby
dc has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Tricon has joined #ruby
bronson has joined #ruby
Voyage has joined #ruby
techietrash has joined #ruby
<Voyage> whats the difference between ruby and ruby on rails
sklik has joined #ruby
<dimaursu16> :))
sklik has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
<dimaursu16> rails is web framework on top of ruby
<dimaursu16> a web *
sklik has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
mr_rich101 has joined #ruby
techietrash has quit [Ping timeout: 245 seconds]
martinium has quit [Remote host closed the connection]
sklik has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenn> Episode one discusses why you might want to not have Ruby on the Rails: http://collectiveidea.com/blog/archives/2012/04/01/walken-on-rails/
booly-yam-4014 has quit [Max SendQ exceeded]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
mloveless has joined #ruby
martinium has joined #ruby
martinium has quit [Changing host]
martinium has joined #ruby
<havenn> Salatfreak: Learn Ruby then decide if Rails is even the gem you want to go with for whatever project you're working on. You might want to say use Roda or Volt. Or for something really simple use Hobbit. There's a lot to Ruby beyond web dev, and a lot to Ruby web dev beyond Rails.
booly-yam-4014 has joined #ruby
j0n3 has quit [Quit: Leaving]
martinium has quit [Remote host closed the connection]
Channel6 has quit [Ping timeout: 240 seconds]
<havenn> Salatfreak: Chris Pine's Learn to Program just covers the very basics. I'd recommend going beyond its scope to get a good grounding.
mjuszczak has joined #ruby
<havenn> Well-Grounded Rubyist or The Ruby Programming Language cover a lot more ground.
tvw has quit [Ping timeout: 245 seconds]
havenn has quit []
martinium has joined #ruby
havenwood has joined #ruby
michaeldeol has joined #ruby
frem has joined #ruby
<Salatfreak> Ok, so I'll try to get one of those... Good night everybody!
chipotle has quit [Quit: cheerio]
Voyage_ has joined #ruby
ta has joined #ruby
Voyage has quit [Ping timeout: 256 seconds]
icbm has joined #ruby
<havenwood> Voyage: Ruby is a programming language. Rack is a popular Ruby webserver interface gem. Rails is a Rack adapter. There're other nice Rack adapters like Sinatra, Roda, Cuba, Lotus, Hobbit and many others.
<mischief> how can i write multiprocess code in ruby?
blizzy has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Ping timeout: 264 seconds]
uptownhr has quit [Quit: uptownhr]
pietr0 has quit [Quit: pietr0]
booly-yam-4014 has quit [Max SendQ exceeded]
<havenwood> mischief: Threading with some caveats on GVL-bound Rubies. Forking on Rubies that support fork.
ta has quit [Ping timeout: 265 seconds]
<mischief> what is gvl-bound?
<mischief> what is a 'ruby' other than the language itself
blackmesa has quit [Ping timeout: 264 seconds]
<havenwood> mischief: Global VM Lock
<havenwood> there're multiple implementations of Ruby
booly-yam-4014 has joined #ruby
<mischief> ah, that's rather unfortunate
dimaursu16 has quit [Ping timeout: 244 seconds]
martinium has quit [Remote host closed the connection]
<mischief> so it's not possible to write threaded code without contending on this global lock?
Salatfreak has left #ruby [#ruby]
veduardo has quit [Ping timeout: 245 seconds]
kaspertidemann has quit []
mjuszczak has quit []
Tricon has quit [Ping timeout: 264 seconds]
paulfm has joined #ruby
<havenwood> mischief: The reference implementation, known as CRuby or MRI, happens to have a GVL. There're plans to remove the GVL from CRuby in Ruby 3. You can still write threaded code, and lots of stuff doesn't acquire the global lock, but some stuff does.
martinium has joined #ruby
martinium has joined #ruby
martinium has quit [Changing host]
<mischief> does cruby support fork and message passing?
mloveless has quit []
<pipework> mischief: 'message passing'? As in interprocess communication?
<mischief> yes
<pipework> Ruby supports fork if the OS does.
<pipework> It also has various IPC mechanisms.
<havenwood> mischief: The upside is that on non-GVL Rubies like JRuby and Rubinius you can thread freely. And with CRuby yes you can fork and message pass. The standard library has a thing called dRuby or DRb.
marr has quit [Ping timeout: 272 seconds]
kstuart has quit [Quit: WeeChat 1.1]
startupality has quit [Quit: startupality]
dimaursu16 has joined #ruby
<mischief> alright. i'm looking for a way to do csp-style programming in ruby. should i look at druby?
booly-yam-4014 has quit [Remote host closed the connection]
jerematic has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
<pipework> I'm not familiar with the particular meaning of csp here.
kstuart has joined #ruby
booly-yam-4014 has joined #ruby
<mischief> communicating sequential processes, like a pipeline.
startupality has joined #ruby
adriancb has joined #ruby
<havenwood> mischief: There's a gem called Agent that you might want to look at: https://github.com/igrigorik/agent#readme Or the Celluloid gem is one of the most popular options that works great on JRuby or Rubinius: https://github.com/celluloid/celluloid#readme
mroach has joined #ruby
<havenwood> mischief: There're a variety of interesting implementations in the Concurrent Ruby gem: https://github.com/ruby-concurrency/concurrent-ruby#readme
<havenwood> It's surprisingly easy to use Clojure STM or whatever else with JRuby.
sinkensabe has joined #ruby
<mischief> sweet, channels/select is exactly what i was looking for
Megtastique has quit []
<havenwood> mischief: there's one in concurrent-ruby too
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shime_ has quit [Ping timeout: 265 seconds]
jerematic has joined #ruby
<mischief> i'll take a peek. thanks.
tokik has joined #ruby
adriancb has quit [Ping timeout: 245 seconds]
startupality has quit [Quit: startupality]
sinkensabe has quit [Ping timeout: 272 seconds]
leonshalimov has joined #ruby
paulfm has quit [Quit: Zzzzz...]
astrobunny has joined #ruby
paulfm has joined #ruby
Sawbones has joined #ruby
Sawbones has quit [Remote host closed the connection]
Voyage_ is now known as Voyage
paulfm has quit [Client Quit]
Hobogrammer has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
x1337807x has joined #ruby
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
seal has quit [Ping timeout: 245 seconds]
n008f4g_ has joined #ruby
AlexRussia has joined #ruby
leonshalimov has quit [Ping timeout: 276 seconds]
astrobunny has quit [Ping timeout: 265 seconds]
<Voyage> dimaursu16 thanks. I see a LOT of jobs of ruby, ruby on rails, python thesedays. whats so hot about these?
n80_ has joined #ruby
hephaestus_rg has quit [Ping timeout: 264 seconds]
znst has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
iamjarvo has joined #ruby
booly-yam-4014 has quit [Max SendQ exceeded]
<dimaursu16> dunno. what's so great about Justin Bieber?
<Voyage> well, php is build for web. java is multip functional and enterprise level. whats python and ruby / ruby on rails for?
<dimaursu16> just popular :)
booly-yam-4014 has joined #ruby
<dimaursu16> ruby is build for programmer satisfaction :)
Sawbones has quit [Remote host closed the connection]
<dimaursu16> I'm serious, btw.
Dolphi has quit [Read error: Connection reset by peer]
<dimaursu16> rails is good for rapid prototyping, and if you are careful, you end up with a nice application
<dimaursu16> python - they promote the idea that there is only one good way to solve a problem
CpuID has joined #ruby
echevemaster has joined #ruby
symbol has joined #ruby
jerematic has quit [Read error: Connection reset by peer]
shime has joined #ruby
echevemaster has quit [Client Quit]
<dimaursu16> and they have indendation based scoping (or..whatever the word is) which I find nic
<dimaursu16> nice
<symbol> If you were tasked to teach OOD to a new programmer, would you bother starting with the SOLID principles or go directly into actual patterns like dependency injection?
Megtastique has joined #ruby
mrmargolis has joined #ruby
znst has quit [Ping timeout: 240 seconds]
uptownhr has joined #ruby
pdoherty has joined #ruby
<pipework> symbol: I'd start with theory of encapsulation and message passing.
Sawbones has joined #ruby
<symbol> pipework: Ah, that's a good one. O
CpuID has quit [Client Quit]
<dimaursu16> i'd start with encapsulation, and single responsibility principle :) it think that's very important, to make clear separation between your objects
athan has joined #ruby
<pipework> SRP is hard to nail down, imo.
<symbol> I planned on adding those to the OOD overview - trying to decide where to go from there.
mjuszczak has joined #ruby
<symbol> I'll probably use Sandi Metz's spaceship analogy, tends to make things click. Just can't decide where to go from there as far as practicalality
mac__ has quit [Quit: This computer has gone to sleep]
scripore has quit [Quit: This computer has gone to sleep]
<symbol> *practicality
<Voyage> last question: honestly, which dev is better paid (considering same experience) in java, php, ruby, python
martinium has quit [Remote host closed the connection]
<pipework> Voyage: On average, ruby and python
PanzerModern has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<Voyage> pipework ruby and python are more paid than java even?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
x1337807x has joined #ruby
<pipework> Voyage: Usually. look at websites about reported incomes.
x1337807x has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 264 seconds]
<Voyage> k
CpuID has joined #ruby
<pipework> Look at job offerings. It also depends on your area, so in a global view, it's my experience that the average of any of those languages tends to leave ruby and python higher.
<dimaursu16> Voyage, it all comes down to how well can you negotiate ;)
<symbol> ^
booly-yam-4014 has quit [Remote host closed the connection]
klmlfl has joined #ruby
mjuszczak has quit [Ping timeout: 256 seconds]
<dimaursu16> I would not choose my programming language based on what's the highest paying
<pipework> There's a market that influences how much you can expect to make though.
<symbol> Neither would I - my brother just went from Ruby to Java and is earning more but hates his daily work.
AWizzArd has joined #ruby
<dimaursu16> of course you should pick a language that had demand on the market, but don't base your final decision on that
<symbol> I make less but I smile on my way to work.
booly-yam-4014 has joined #ruby
<AWizzArd> Guys, is it okay to ask RoR questions in this chan?
<dimaursu16> isn't there a dedicate one?
<symbol> There is
<symbol> #rubyonrails
<AWizzArd> I tried #Rails and ##Rails
<havenwood> AWizzArd: #RubyOnRails is a better place
mjuszczak has joined #ruby
<AWizzArd> Ah okay, thanks!
mjuszczak has quit [Max SendQ exceeded]
bronson has quit [Ping timeout: 244 seconds]
<AWizzArd> In #Rails they talked a lot about trains. Really dunno why.
mjuszczak has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
mjuszczak has quit [Max SendQ exceeded]
<dimaursu16> :D
<symbol> So, the consensus seems to stick to encapsulation and single responsiblity over delving into SOLID (which, I find to be a bit academic and meh)
<dimaursu16> it's not bad to give introduction into solid - at least mention it
pawprint has joined #ruby
Voyage has quit [Ping timeout: 265 seconds]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<dimaursu16> if he/she will be interested, at least will know what to look for
reset has quit [Quit: Leaving...]
juanpablo_ has joined #ruby
robustus|Off has joined #ruby
<dimaursu16> those principles are not that hard to grasp, the problem is applying them in practice :)
josephndenton has joined #ruby
mjuszczak has joined #ruby
klmlfl has quit [Ping timeout: 256 seconds]
<symbol> Very true - I really love Practical Object Oriented Design by Metz but I don't want my entire lesson to be that book.
robustus|Off is now known as robustus
mjuszczak has quit [Max SendQ exceeded]
<symbol> Yeah, the thought of thinking up an example for each SOLID is not appealing
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
vdamewood has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<dimaursu16> one thing that would be great - is a sort of pair programming - or live coding, if you have more "pupils"
<pipework> symbol: I'd do what I suggested. SRP is a little fuzzy for a beginner.
<pipework> Toss the idea their way, but don't try to hammer in an approach of determining what the R is.
mjuszczak has joined #ruby
<symbol> I'll definitely be doing some live coding. Probably show bad code, refactor and what not. Might even show some specs.
mjuszczak has quit [Max SendQ exceeded]
<dimaursu16> seeing how someone thinks in term of those principles, and how you make tradeoffs is very valuable
<symbol> pipework: I enjoyed your input, I'll definitely consider that route.
mjuszczak has joined #ruby
<Xnfu> I need a project right now. It's been a while since I've programmed something worth programming.
hephaestus_rg has joined #ruby
timanema has joined #ruby
juanpablo_ has quit [Ping timeout: 245 seconds]
uptownhr has quit [Quit: uptownhr]
jerematic has joined #ruby
AWizzArd has left #ruby [#ruby]
earfin has quit [Ping timeout: 264 seconds]
<symbol> Xnfu: http://tutorials.jumpstartlab.com/ has a lot of mock projects
<symbol> They give you project details and you go off on your happy with with pseduo requirements
Voyage has joined #ruby
<dimaursu16> Xnfu, dig into diaspora* :) those guys could use some helping hands
<dimaursu16> that project is way underpowered, unfortunately :-/
<Xnfu> I'll take a look into this stuff
<pipework> Yeah they could. They made a mess in a hurry back when it was still cool to talk about.
<Xnfu> hmm
<Voyage> pipework can i cross post if no one answers me in the other channel?
<sevenseacat> we'd answer if you werent asking meaningless questions
<Voyage> for example, a desktop application should not be written in php, a shell script if written in python or bash woudl be a better idea than to write in java. So what things can be done in ruby and python; respectively?
<Voyage> sevenseacat ok
CpuID has quit [Quit: This computer has gone to sleep]
CpuID has joined #ruby
ta has joined #ruby
claptor has joined #ruby
mac__ has joined #ruby
scripore has joined #ruby
mjuszcza_ has joined #ruby
mjuszcza_ has quit [Max SendQ exceeded]
Voyage has left #ruby [#ruby]
<Xnfu> Actually python and bash wouldn't always be the best choice
mjuszcza_ has joined #ruby
<Xnfu> for a 'shell script'
booly-yam-4014 has quit [Max SendQ exceeded]
mjuszcz__ has joined #ruby
booly-yam-4014 has joined #ruby
mjuszczak has quit [Ping timeout: 256 seconds]
<pipework> Clearly you should only write code using brainfuck.
<Xnfu> ++
<pipework> That way you can preserve 97% of your keys from wear and tear.
<Xnfu> Not a bad idea
<symbol> Speaking of keys. Any of you use mechanical keyboards?
<Xnfu> Nah, I use a gaming keyboard
amclain has joined #ruby
<Xnfu> pipework: The true thing to do is be a man and use a virtual keyboard
<mozzarella> symbol: I do
<symbol> I use speech to text when I program. :P
ta has quit [Ping timeout: 276 seconds]
n80_ has quit [Quit: n80_]
<pipework> I use generational programming techniques.
<symbol> mozzarella: Are you forever sold? Everyone I talk to raves about them.
klmlfl has joined #ruby
ta has joined #ruby
einarj has joined #ruby
<pipework> Write what I want to see and wait for the compiler to generate the code that satisfies the need.
<Xnfu> He wrote penis
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<mozzarella> symbol: yeah, they're better than normal keyboards that's for sure
<symbol> heh
<mozzarella> they're kind of addictive, though
<mozzarella> I have 5 of them
mjuszcza_ has quit [Ping timeout: 276 seconds]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<pipework> Five of what?
<symbol> lol - nice. I might order the cherry mx switch tester
<pipework> Oh mechanical keyboards.
<sevenseacat> i thought he meant... never mind
mjuszczak has joined #ruby
<symbol> massdrop has them on sale
<pipework> I've got both revisions of the das keyboard ultimate.
<pipework> Plus a couple other mechanicals that are soft key. I prefer cherry blues.
upsell5 has joined #ruby
mjuszcz__ has quit [Ping timeout: 272 seconds]
<symbol> I really like having my thumbs hover over my trackpad.
<pipework> I love the blank keys and the second revision's metal base.
<mozzarella> my favorite is topre ;p
<symbol> But i've gotten better at not needing it.
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
<sevenseacat> i think i would like a mechanical keyboard, but people whinge enough about the volume of me typing on a normal one... just because i dont use one of their little mac keyboards
<symbol> sevenseacat: likewise, I use a mac one and people still look over at me when I type
<pipework> sevenseacat: I think you should make them grateful for the old keyboard by getting a new one and switching between them.
<Xnfu> You are only cool when you have the ascii/hex/dec chart on your mousepad
<symbol> I'm an angry chaotic typer
oo_ has quit [Remote host closed the connection]
<mozzarella> sevenseacat: there are switches that are just as "quiet" as normal keyboards
djbkd has quit [Remote host closed the connection]
<pipework> A lot of people botttom out the keys on mechanical keyboards, that's not good.
<sevenseacat> i don't think i type especially loudly, but other people disagee >_>
<mozzarella> topre, cherry mx brown, cherry mx red, etc.
<pipework> Whether the switch is quiet or not, bottoming out can make a lot of noise and it's not good for you.
<symbol> I want to type so loud that all my coworkers can hear me from their noise canceling headphones.
<Xnfu> I just type really fast
ta has quit [Ping timeout: 276 seconds]
einarj has quit [Ping timeout: 245 seconds]
<mozzarella> pipework: there's nothing wrong with bottoming out…
<pipework> mozzarella: Yes there is.
<mozzarella> no
<symbol> I never thought of it as bottoming out. I most certainly do. It's therapy.
<pipework> The force feedback is bad for your wrists.
<mozzarella> and with some switches it's unavoidable
zacstewart has joined #ruby
<mozzarella> bullshit
oo_ has joined #ruby
<pipework> It's true. Look it up.
^wald0 has quit [Quit: ^wald0]
<pipework> They're actually measured for the force required to actuate the switch, and you'll find information about not bottoming out the key.
<sevenseacat> i really need noise cancelling headphones
<Xnfu> So you can either guess if I type really fast or just manipulate flaws
<symbol> I love mine. I wear them even with no music.
<mozzarella> as I said, sometimes it's unavoidable
<pipework> mozzarella: Only for a couple of the switches.
<sevenseacat> i work in an open plan office, so
<mozzarella> try not bottoming out buckling springs or topre
<symbol> mozzarella: Did you test drive before buying the keys?
<pipework> Those are the soft keys, iirc.
<mozzarella> no
<Xnfu> You guys should just get a pair of Astro A40's
<Xnfu> They cancel all the noise
<pipework> I have a50's
<Xnfu> Yeah, good except the wireless
<Xnfu> I heard some issues with those
<pipework> Xnfu: Even that's nice.
<mozzarella> pipework: buckling springs are far from being soft
* sevenseacat looks them up
<pipework> Because I can go wired easily and everything works.
<mozzarella> symbol: not really
<Xnfu> Ah, nice didn't know that
mjuszczak has quit [Ping timeout: 246 seconds]
<pipework> mozzarella: The best way to use a mechanical keyboard is to have switches that don't require bottoming out if they have a high impact.
<symbol> I've got some...bose despite their bad rap. They were free and they're super comfortable.
<pipework> The healthiest thing for your hands and wrists is to not bottom out.
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sevenseacat> i'm saving up for a pair of bose quietcomforts
<Xnfu> My hand health has been shot from factory jobs
<symbol> That's what I have, the new ones fold up real small too.
jenrzzz has quit [Ping timeout: 245 seconds]
<Xnfu> Everyone finds out I program, do infosec, and bitch at me about how I'm stupid for working at a factory
<mozzarella> pipework: not really
zacstewart has quit [Ping timeout: 245 seconds]
<pipework> No, really.
<mozzarella> unless you're usually using full force, it doesn't change anything
booly-yam-4014 has quit [Remote host closed the connection]
CpuID has quit [Quit: This computer has gone to sleep]
<pipework> mozzarella: It does. Maybe you don't have carpal tunnel.
timanema has quit [Ping timeout: 265 seconds]
<symbol> If a mechanical keyboard has the same feels as getting a brand new pen. Then I'm doing it.
<Xnfu> or fibromyalgia on top of it
<mozzarella> uh, I've had it, and never because of my keyboard
<pipework> Because I know that the difference is 30m-1h of typing if I bottom out keys, or 8 hours.
booly-yam-4014 has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
<pipework> It's not really something to not have because of your keyboard. You have it if you have it, and some activities cause it to flare up more.
<pipework> And as it progresses, more things cause more pain.
<pipework> I'm glad you get to enjoy bottoming out the keys for the maximum louds though. I do it on purpose occasionally, but not very long.
CpuID has quit [Client Quit]
iamjarvo has joined #ruby
krz has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
<symbol> heh pipework that was mildly passive agressive.
<pipework> symbol: Not really. I'm actually happy for him. Have you heard what it's like to type furiously while bottoming out the keys? It's pretty awesome sounding.
djbkd has joined #ruby
<symbol> Ah, I must have misread your tone. The short comings of IRC.
<pipework> I used to listen to a stream of that sound. Just continuous clackery.
<Xnfu> lmfao
<Xnfu> It's beautiful
<Xnfu> let me demonstrate
<Xnfu> sdjflklksdfoiwjiero2wue8054u723045jlkwjdflkjsdf
<mozzarella> uh? I don't think you have a clear idea of how I type
<Xnfu> You guys hear that? So sekc
leonshalimov has joined #ruby
<mozzarella> you know there's a middle ground between slowing your speed of 20 wpm just to make sure not to hit the bottom, and to bang on the keyboard, right?
pontiki has joined #ruby
<pipework> Who said you have to slow down?
<Xnfu> I don't slow down
<Xnfu> "I don't get tired" - Kevin Gates
<pipework> I guess you haven't mastered not bottoming out, because my speed is the same it was before I stopped bottoming out, it just took practice.
<pipework> Guess you don't have a clear idea of how I type either.
<pontiki> hello, all
<pipework> pontiki is awake!
ta has joined #ruby
<pontiki> indeed, and spent a whole day at work, too!
<pipework> pontiki: What a waste.
<pontiki> p.much, yeah
oo_ has quit [Remote host closed the connection]
<mozzarella> I probably bottom out 20% of the time with cherry mx brown, and 100% of the time with bucklink springs
<pontiki> what is it with you people and having your bottoms out?
leonshalimov has quit [Ping timeout: 246 seconds]
<Xnfu> Easy access
<pipework> If you can manage the feedback from the impact, I say all power to you, but as someone with more sensitive hands I'll have to refrain and stick with the healthy choice.
<mozzarella> have you ever tried o-rings? or topre
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> No, I haven't tried o-rings, seems like an interesting idea. I'd have to get some to try on my sampler set to see if they'd be bearable.
<pipework> Never heard of topre.
<mozzarella> it has a soft landing
<pontiki> sounds like pudding
<pipework> The bottoming out part seems scary, but I'll try to order a sample to play with for the topre.
oo_ has joined #ruby
ta has quit [Ping timeout: 255 seconds]
mrdtt has joined #ruby
astrobunny has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<symbol> pipework: where are these sampler sets?
<pipework> The 0.2mm ones look nice.
shime has quit [Ping timeout: 264 seconds]
josephndenton has quit [Ping timeout: 272 seconds]
<pipework> symbol: I usually get them off massdrop, but you can find them on the googs.
<mozzarella> does it hurt your finger tips?
<pipework> No, mostly my joints. Wrist and knuckle.
<symbol> nice - yeah there's one for cmsstorm up right now. I'll keep an eye out for others
deric_skibotn has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> mozzarella: These o-rings looks fantastic.
<pipework> s/looks/look/
fandi has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
upsell5 has left #ruby [#ruby]
amclain has quit [Quit: Leaving]
shivamib has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
mrmargol_ has joined #ruby
booly-yam-4014 has quit [Max SendQ exceeded]
Sawbones has quit [Remote host closed the connection]
booly-yam-4014 has joined #ruby
<mozzarella> I get this when I rest my forearms on my table: https://en.wikipedia.org/wiki/Ulnar_nerve_entrapment#Cubital_tunnel_syndrome
colinstgeorge has quit [Remote host closed the connection]
<symbol> whoa - das keyboard is nifty
havenwood has quit [Remote host closed the connection]
<pipework> I like them, but they're not really elite. They're kind of like the mechanical keyboard for commoners.
<pipework> Very impersonal, they come assembled.
morerless has joined #ruby
<symbol> Any other recommendations?
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> Explore the crap out of things. There's lots of kits and boards.
ozialien has joined #ruby
Sawbones has joined #ruby
<symbol> I like the idea of a kit. I'll look into those.
mjuszczak has joined #ruby
bashusr has quit [Ping timeout: 272 seconds]
<pipework> symbol: This is what I'm getting next: http://atreus.technomancy.us/
<pipework> You can program the firmware in scheme.
kapil__ has joined #ruby
<symbol> That's the first link Google sent me to, heh.
<symbol> I hope there are tutorials for that...
avahey91 has quit [Quit: Connection closed for inactivity]
bashusr has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
<symbol> Convenient
<epitron> pipework: a friend of mine works for these guys: http://www.keyboard.io
<epitron> They have some very cool designs
josephndenton has joined #ruby
<pipework> epitron: I can believe you have friends.
<epitron> The keyboards are the crux of my point
<pipework> That looks neat.
<symbol> I've never tried ergonomically (sp?) shaped keyboards. Might have to borrow a friends to see if it floats my boat.
<pipework> However, I'd have to take it everywhere with me.
martinium has joined #ruby
martinium has joined #ruby
<Xnfu> Tell your friend they should implement SSL
evanjs has joined #ruby
<epitron> Splits in half
<pipework> Xnfu: You mean TLS?
devdazed_ has quit [Quit: Computer has gone to sleep.]
morerless has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
oo_ has quit [Remote host closed the connection]
<Xnfu> I guess so, it's really the same thing pipework
<Xnfu> TLS is basically SSL 3.1
<pipework> Xnfu: Yeah, sorta.
Spami has joined #ruby
<Xnfu> The name was changed to TLS to avoid legal issues with Netscape when it became open and free to the public
<epitron> SSL is really really old TLS
<epitron> Sorry, swap it
<epitron> No, that was right
<pipework> You were right the first time.
<epitron> It's been TLS for quite some time, is what I'm sayin
<Xnfu> Since after SSL 3.0, yea
<epitron> Many moons
Xiti` has joined #ruby
<pipework> Such revolution around the sunstar.
Xiti` has quit [Read error: Connection reset by peer]
martinium has quit [Remote host closed the connection]
scripore has quit [Quit: Leaving]
mac__ has quit [Quit: Leaving]
Sawbones has quit [Remote host closed the connection]
Xiti` has joined #ruby
Xiti` has quit [Read error: Connection reset by peer]
dorei has quit []
Blackhole has joined #ruby
Xiti has quit [Ping timeout: 265 seconds]
larissa has quit [Quit: Leaving]
deepu has joined #ruby
Adran has quit [Remote host closed the connection]
<deepu> can someone please tell me what this error means? http://pastie.org/private/rvulopr9jdjkwvws7jghw
<sevenseacat> deepu: the constant is uninitialized.
ta has joined #ruby
<deepu> sevenseacat: "provider" is uninitialized
<deepu> ?
<sevenseacat> no, the constant in the error message.
<Xnfu> I think he meant in layman's terms
<Xnfu> Chef::Provider::GraphiteServiceRunit
Spami has quit [Quit: This computer has gone to sleep]
<deepu> Xnfu: ok thanks
Spami has joined #ruby
<Xnfu> lol I'll take your interpreters credit
Spami has quit [Remote host closed the connection]
oo_ has joined #ruby
jgt1 has joined #ruby
lappy has joined #ruby
booly-yam-4014 has quit [Max SendQ exceeded]
icebourg has quit [Ping timeout: 245 seconds]
booly-yam-4014 has joined #ruby
ta has quit [Ping timeout: 276 seconds]
ishikawa_ has joined #ruby
ishikawa has quit [Remote host closed the connection]
ascarter has joined #ruby
jgt1 has quit [Ping timeout: 245 seconds]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
pwnz0r has joined #ruby
arup_r has joined #ruby
athan has quit [Ping timeout: 245 seconds]
adriancb has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
zorak8 has quit [Ping timeout: 240 seconds]
znst has joined #ruby
az7ar_away is now known as az7ar
lappy has left #ruby ["had to go"]
soxet has joined #ruby
pawprint has quit [Ping timeout: 265 seconds]
bzeu has quit [Ping timeout: 276 seconds]
znst has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
davedev2_ has joined #ruby
yeticry has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
klmlfl has quit [Remote host closed the connection]
kt2 has quit [Read error: Connection reset by peer]
kt2 has joined #ruby
DadoCe has quit [Remote host closed the connection]
ajaiswal has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby
audiodude has joined #ruby
xxneolithicxx has joined #ruby
pwnz0r has quit [Remote host closed the connection]
deepu has quit [Ping timeout: 246 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ta has joined #ruby
pdoherty has joined #ruby
jerematic has quit [Remote host closed the connection]
powder has quit [Quit: leaving]
B1n4r10 has joined #ruby
booly-yam-4014 has quit [Max SendQ exceeded]
deuterium has quit [Quit: zzZZZzzz..]
booly-yam-4014 has joined #ruby
havenwood has joined #ruby
ta has quit [Ping timeout: 276 seconds]
evanjs has quit [Remote host closed the connection]
ivanskie has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
marens has quit [Ping timeout: 276 seconds]
tjbiddle has joined #ruby
nanoyak has joined #ruby
Silas87 has joined #ruby
astrobunny has quit [Remote host closed the connection]
red_horned_rihno has quit [Ping timeout: 245 seconds]
radic has quit [Ping timeout: 245 seconds]
Silas87 has quit [Client Quit]
maletor has joined #ruby
ta has joined #ruby
radic has joined #ruby
pietr0 has joined #ruby
marens has joined #ruby
nuck has joined #ruby
Sawbones has joined #ruby
fivetwentysix has quit [Quit: fivetwentysix]
mrmargol_ has quit [Remote host closed the connection]
leafybas_ has joined #ruby
ta has quit [Ping timeout: 276 seconds]
leafybasil has quit [Ping timeout: 245 seconds]
icebourg has quit []
athan has joined #ruby
pwnz0r has joined #ruby
metadave has joined #ruby
Blackhole has quit []
pwnz0r has quit [Remote host closed the connection]
blizzy has joined #ruby
braincrash has quit [Quit: bye bye]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has joined #ruby
mjuszczak has left #ruby [#ruby]
ghr has joined #ruby
josephndenton has quit [Ping timeout: 252 seconds]
pietr0 has quit [Quit: pietr0]
djbkd has quit [Remote host closed the connection]
chrishough has joined #ruby
Sawbones has quit [Remote host closed the connection]
blizzy has quit [Ping timeout: 264 seconds]
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 265 seconds]
ta has joined #ruby
braincrash has joined #ruby
maximski has joined #ruby
djbkd has joined #ruby
centrx has joined #ruby
ta has quit [Ping timeout: 265 seconds]
booly-yam-4014 has quit [Max SendQ exceeded]
maletor has quit [Quit: Computer has gone to sleep.]
booly-yam-4014 has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
wookiehangover has quit [Ping timeout: 244 seconds]
dseitz has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
josephndenton has joined #ruby
hanachin has joined #ruby
leonshalimov has joined #ruby
timanema has joined #ruby
russt_ has joined #ruby
kenneth has joined #ruby
michaeldeol has joined #ruby
xxneolithicxx has left #ruby [#ruby]
it0a has quit [Quit: WeeChat 1.1]
audiodude has quit [Remote host closed the connection]
wookiehangover has joined #ruby
adriancb has quit [Remote host closed the connection]
az7ar is now known as az7ar_away
Sarchasm_ has quit [Ping timeout: 264 seconds]
leonshalimov has quit [Ping timeout: 276 seconds]
Photism_ has joined #ruby
codezomb has joined #ruby
arup_r has quit [Quit: Leaving.]
Xiti has joined #ruby
Photism has quit [Read error: Connection reset by peer]
timanema has quit [Ping timeout: 264 seconds]
icbm has quit [Quit: Computer sleeping]
codervvill has quit [Quit: leaving]
danzilio has joined #ruby
danzilio has quit [Max SendQ exceeded]
tjbiddle has quit [Quit: tjbiddle]
lampd1 has joined #ruby
jborica has quit [Quit: Leaving]
oo_ has joined #ruby
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
Adran has joined #ruby
kyb3r_ has joined #ruby
icebourg has joined #ruby
DadoCe has joined #ruby
ta has joined #ruby
Pharaoh2 has joined #ruby
tyfighter has joined #ruby
claptor has quit [Quit: this channel is bakas]
oo_ has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
icebourg has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
claptor has joined #ruby
Lucky____ has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
evanjs has joined #ruby
ta has quit [Ping timeout: 276 seconds]
booly-yam-4014 has quit [Remote host closed the connection]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo_ has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Hijiri has joined #ruby
booly-yam-4014 has joined #ruby
troubadour has joined #ruby
x77686d has quit [Quit: x77686d]
jerematic has joined #ruby
ivanskie has joined #ruby
krz has quit [Ping timeout: 264 seconds]
<nuck> Can anyone here key me in to what `::ActiveRecord::Base.clear_active_connections!` means. Namely, that :: at the front?
juanpablo_ has quit [Ping timeout: 265 seconds]
<sevenseacat> it's the root namespace.
<nuck> I'm guessing it's something related to the module/class namespacing, but I've never seen it at the *front*
bronson has joined #ruby
<pipework> References the global namespace.
revoohc has joined #ruby
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nuck> Ah. Hadn't seen that pattern before today, suspected it was something like that. Thanks!
<sevenseacat> yw
jerematic has quit [Ping timeout: 264 seconds]
mleung has joined #ruby
babykosh has joined #ruby
C1V0 has joined #ruby
_1_dominator has joined #ruby
<_1_dominator> hi
babykosh has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
babykosh has joined #ruby
Loaft has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
tangyumeng has joined #ruby
Guest37 has joined #ruby
_1_dominator has quit [Remote host closed the connection]
mleung has quit [Quit: mleung]
Jarboe has quit []
<Guest37> hi , am i in the ruby channel
Guest37 has left #ruby [#ruby]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
revoohc has quit [Quit: revoohc]
Spami has quit [Quit: This computer has gone to sleep]
<nuck> :| That's a bizarre greeting
<centrx> he almost made it but no patience
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blizzy has joined #ruby
<nuck> I like to imagine he just woke up from some trance and now he's wondering where he is
<centrx> ::D
Deele has joined #ruby
evanjs has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
ghr has joined #ruby
seal has joined #ruby
djbkd has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
longfeet has quit [Quit: Leaving]
josephndenton has quit [Ping timeout: 246 seconds]
^wald0 has joined #ruby
ta has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
znst has joined #ruby
Morkel has joined #ruby
booly-yam-4014 has quit [Max SendQ exceeded]
az7ar_away is now known as az7ar
avahey91 has joined #ruby
ta has quit [Ping timeout: 276 seconds]
booly-yam-4014 has joined #ruby
znst has quit [Ping timeout: 265 seconds]
maximski has quit []
mahlon_ is now known as mahlon
zacstewart has joined #ruby
Loaft has quit []
freerobby has quit [Quit: Leaving.]
Photism_ has quit [Quit: Leaving]
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
chrishough has joined #ruby
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
diegovio1 has quit [Quit: WeeChat 1.1]
bauruine has quit [Ping timeout: 276 seconds]
vdamewood has joined #ruby
DadoCe has joined #ruby
tyfighter has joined #ruby
jusmyth has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
ta has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Azure has quit [Ping timeout: 245 seconds]
krz has joined #ruby
Azure has joined #ruby
babykosh has quit [Quit: babykosh]
fivetwentysix has joined #ruby
bluOxigen has joined #ruby
pdoherty has joined #ruby
ta has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
pdoherty has quit [Ping timeout: 246 seconds]
jschoolcraft has quit [Quit: zzzz]
bronson has joined #ruby
arup_r has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
ta has joined #ruby
mikepack has joined #ruby
booly-yam-4014 has quit [Max SendQ exceeded]
seal has quit [Remote host closed the connection]
xjiujiu has joined #ruby
booly-yam-4014 has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
Eiam_ has joined #ruby
ta has quit [Ping timeout: 276 seconds]
lolmaus has quit [Quit: Konversation terminated!]
troubadour has quit [Quit: troubadour]
oleo__ has quit [Quit: Verlassend]
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
giuseppesolinas has joined #ruby
xjiujiu has joined #ruby
booly-yam-4014 has quit [Remote host closed the connection]
Megtastique has quit []
booly-yam-4014 has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zacstewart has quit [Remote host closed the connection]
ghr has joined #ruby
xjiujiu has quit [Quit: No Ping reply in 180 seconds.]
tyfighter has quit [Quit: tyfighter]
xjiujiu has joined #ruby
leonshalimov has joined #ruby
kenneth has joined #ruby
tyfighter has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tobago has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
ixti has quit [Quit: WeeChat 1.0.1]
michaeldeol has joined #ruby
leonshalimov has quit [Ping timeout: 245 seconds]
lampd1 has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
mrdtt has quit [Quit: Textual IRC Client: www.textualapp.com]
Cache_Money has quit [Quit: Cache_Money]
russt_ has quit [Quit: russt_]
fivetwentysix has quit [Quit: fivetwentysix]
booly-yam-4014 has quit [Remote host closed the connection]
anarang has joined #ruby
oo_ has quit [Remote host closed the connection]
booly-yam-4014 has joined #ruby
^wald0 has quit [Quit: ^wald0]
MasterPiece has joined #ruby
mleung has joined #ruby
bigkevmcd has quit [Ping timeout: 272 seconds]
Tricon has joined #ruby
oo_ has joined #ruby
apeiros has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
apeiros has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Photism has joined #ruby
ta_ has joined #ruby
Jameser has joined #ruby
fgo_ is now known as fgo
apeiros has quit [Ping timeout: 245 seconds]
juanpablo_ has joined #ruby
jerematic has joined #ruby
mikepack has quit [Remote host closed the connection]
malcolmva has quit [Ping timeout: 264 seconds]
primafacie has joined #ruby
CpuID has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
juanpablo_ has quit [Ping timeout: 246 seconds]
nrcpts has joined #ruby
nrcpts has quit [Remote host closed the connection]
nrcpts has joined #ruby
devyn has quit [Read error: Connection reset by peer]
jerematic has quit [Ping timeout: 255 seconds]
devyn has joined #ruby
sundjango has joined #ruby
tagrudev has joined #ruby
alkoma has joined #ruby
mleung has quit [Quit: mleung]
jenrzzz has joined #ruby
malcolmva has joined #ruby
last_staff has joined #ruby
Sawbones has quit [Remote host closed the connection]
havenwood has quit []
charliesome has quit [Quit: zzz]
Sawbones has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
booly-yam-4014 has quit [Max SendQ exceeded]
booly-yam-4014 has joined #ruby
seitensei has quit [Read error: Connection reset by peer]
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
Tricon has quit [Ping timeout: 272 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
ta has quit [Ping timeout: 276 seconds]
pontiki has quit [Quit: bed and a book]
ixti has joined #ruby
codecop has joined #ruby
tyfighter has quit [Quit: tyfighter]
ta has joined #ruby
<arup_r> shevy: aound?
znst has joined #ruby
bashusr has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Client Quit]
Sawbones has quit [Remote host closed the connection]
ta has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
bashusr has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noop has joined #ruby
znst has quit [Ping timeout: 245 seconds]
mroach has quit [Quit: mroach]
bronson has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
nrcpts has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 246 seconds]
bal has joined #ruby
Sawbones has quit [Remote host closed the connection]
apeiros has joined #ruby
godd2 has joined #ruby
SixiS has joined #ruby
mroach has joined #ruby
anaeem1 has joined #ruby
Xeago has joined #ruby
amundj has joined #ruby
booly-yam-4014 has quit [Ping timeout: 265 seconds]
_Andres has joined #ruby
Xeago_ has joined #ruby
ddd has quit [Quit: kernel update. reboot required]
sinkensabe has joined #ruby
mleung has joined #ruby
adriancb has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
chrishough has joined #ruby
mleung has quit [Client Quit]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fandi has joined #ruby
troubadour has joined #ruby
sundjango has quit [Ping timeout: 245 seconds]
adriancb has quit [Ping timeout: 272 seconds]
jefus__ has joined #ruby
mloveless has joined #ruby
fandi has quit [Max SendQ exceeded]
fandi has joined #ruby
jefus_ has quit [Ping timeout: 240 seconds]
fandi has quit [Read error: Connection reset by peer]
tus has quit [Read error: Connection reset by peer]
anaeem1__ has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
fandi has joined #ruby
_Andres has joined #ruby
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
anaeem1__ has quit [Remote host closed the connection]
anaeem1 has quit [Ping timeout: 255 seconds]
ta has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sevenseacat has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
anaeem1 has joined #ruby
sevenseacat has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
ta_ has joined #ruby
kenneth has joined #ruby
ta has quit [Ping timeout: 276 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
pdoherty has joined #ruby
Aswebb_ has quit [Ping timeout: 276 seconds]
lolmaus has joined #ruby
andikr has joined #ruby
pdoherty has quit [Ping timeout: 255 seconds]
Aswebb_ has joined #ruby
giuseppesolinas has joined #ruby
davedev24_ has joined #ruby
giuseppesolinas has quit [Client Quit]
davedev2_ has quit [Ping timeout: 245 seconds]
leonshalimov has joined #ruby
rdark has joined #ruby
krz has quit [Ping timeout: 252 seconds]
jarjar_prime has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
leonshalimov has quit [Ping timeout: 252 seconds]
sevenseacat has quit [Remote host closed the connection]
alkoma has quit [Ping timeout: 244 seconds]
krz has joined #ruby
kl has quit [Ping timeout: 256 seconds]
kl__ has quit [Ping timeout: 276 seconds]
avahey91 has quit [Quit: Connection closed for inactivity]
dumdedum has joined #ruby
shime has joined #ruby
amundj has joined #ruby
josephndenton has joined #ruby
ghr has joined #ruby
ponga has joined #ruby
Trieste has joined #ruby
sevenseacat has joined #ruby
djbkd has joined #ruby
blizzy has quit [Quit: Leaving]
<arup_r> Any help? Why getting the error - https://gist.github.com/aruprakshit/9b00031f6e9ff846fb26
ghr has quit [Ping timeout: 244 seconds]
josephndenton has quit [Ping timeout: 265 seconds]
rdark has quit [Ping timeout: 272 seconds]
rdark has joined #ruby
djbkd has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
einarj has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
dionysus69 has joined #ruby
booly-yam-4014 has joined #ruby
troubadour has quit [Quit: troubadour]
oo_ has joined #ruby
juanpablo_ has joined #ruby
tesuji has joined #ruby
jerematic has joined #ruby
ypasmk has joined #ruby
frobs has joined #ruby
kitofr has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
blizzy has joined #ruby
rdark has joined #ruby
Jackneill has joined #ruby
juanpablo_ has quit [Ping timeout: 264 seconds]
davedev24_ has quit [Ping timeout: 245 seconds]
jerematic has quit [Ping timeout: 276 seconds]
sea_local has quit [Ping timeout: 240 seconds]
sea_local has joined #ruby
alex88 has joined #ruby
krz has quit [Ping timeout: 246 seconds]
davedev24_ has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
livathinos has joined #ruby
fedexo has quit [Ping timeout: 245 seconds]
jgt1 has joined #ruby
hs366 has joined #ruby
psy_ has quit [Ping timeout: 245 seconds]
zaza has joined #ruby
Akagi201_ has quit []
zaza has quit [Max SendQ exceeded]
oo__ has joined #ruby
mroach has quit [Quit: mroach]
ghr has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
krz has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 276 seconds]
<alex88> arup_r: ruby version? can you paste your code?
postmodern has joined #ruby
<arup_r> alex88: ^^
zarubin has quit [Remote host closed the connection]
<alex88> sec
<arup_r> For security reason I have changed some values..
<arup_r> I am trying to do it with Ruby
msgodf has joined #ruby
ponga has quit [Remote host closed the connection]
sevenseacat has quit [Remote host closed the connection]
ponga has joined #ruby
ndrei has joined #ruby
blizzy has quit [Ping timeout: 245 seconds]
bal has quit [Ping timeout: 245 seconds]
Photism has quit [Quit: Leaving]
<alex88> arup_r: I've commented with the working version
ponga has quit [Read error: No route to host]
panga has joined #ruby
<arup_r> Ok.. Let me see
<alex88> at least with my ruby version, new doesn't accept that hash, it expect a string as third parameter
znst has joined #ruby
<arup_r> Humm.. for me too.. But I don't know how the SO version the OP accepted that answer.. Anyway let me try yours
zarubin has joined #ruby
zdaniel has joined #ruby
olivier_bK has joined #ruby
<alex88> well, there is also this example http://ruby-doc.org/stdlib-2.2.0/libdoc/net/http/rdoc/Net/HTTP.html#class-Net::HTTP-label-HTTPS but for me it was saying session is already started
bronson has joined #ruby
ta has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has joined #ruby
scottymeuk has left #ruby ["(null)"]
znst has quit [Ping timeout: 255 seconds]
<arup_r> alex88: I am getting the output as "" from this line - response.body
<arup_r> So how would I check if the there was any error or not?
oo_ has joined #ruby
<alex88> arup_r: here it was writing the file, in your case it doesn't?
bronson has quit [Ping timeout: 276 seconds]
alkoma has joined #ruby
<arup_r> file has been created.. But there was nothing inside the file
<alex88> anyway, you can check response data http://ruby-doc.org/stdlib-2.2.0/libdoc/net/http/rdoc/Net/HTTP.html#class-Net::HTTP-label-Response+Data like code and message
<alex88> nothing? strange, ruby version? since I had the html output in the file
ta has quit [Ping timeout: 276 seconds]
seal has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
<arup_r> ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin12.0]
anaeem1 has quit [Quit: Leaving...]
chthon has joined #ruby
wald0 has joined #ruby
anaeem1_ has joined #ruby
<arup_r> OSX 10.8.2
blizzy has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
jheg has joined #ruby
<arup_r> Now getting "getaddrinfo: nodename nor servname provided, or not known (SocketError)"
heftig has quit [Quit: heftig]
heftig has joined #ruby
<arup_r> alex88: got status as 302
alkoma has quit [Ping timeout: 264 seconds]
adamgamble has joined #ruby
<alex88> mmhh, you should print headers to see where it tries to redirect you
adamgamble has left #ruby [#ruby]
<alex88> look at http://ruby-doc.org/stdlib-2.1.2/libdoc/net/http/rdoc/Net/HTTP.html#class-Net::HTTP-label-Following+Redirection try to print response['location'] to see where it redirects you
<arup_r> Ok..
zacstewart has joined #ruby
<arup_r> may be the startdate and enddate is the problem.. it is from Yesterdat :p
wald0 has quit [Quit: Lost terminal]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
kaspergrubbe has joined #ruby
<arup_r> No.. seems working.. But the problem is I am not getting the output...in the file..
YamakasY has quit [Excess Flood]
<arup_r> alex88: what could be the issue?
kaspergrubbe is now known as Guest71127
<alex88> arup_r: no idea, I'm still getting the output, but it's an error page "Sorry we are unable to process your request."
zacstewart has quit [Ping timeout: 246 seconds]
<alex88> for me it's a 404 btw
bauruine has joined #ruby
<arup_r> Ok..
SparkMasterTape has joined #ruby
YamakasY has joined #ruby
<arup_r> alex88: check the GIST... And it seems for me it is processing.. But not getting any response
<arup_r> I have updated
wpp has joined #ruby
<alex88> because it's a 302
<alex88> you've to follow it
roolo has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
bauruine has quit [Client Quit]
<alex88> so create a new get request to the response['location'] header
zdaniel has quit [Remote host closed the connection]
bauruine has joined #ruby
<arup_r> alex88: Can you add in your comment in the Gist?
zdaniel has joined #ruby
Zai00 has joined #ruby
<alex88> there you go
<arup_r> got it,, Let me try
rdark has quit [Read error: Connection reset by peer]
ta has joined #ruby
Guest71127 is now known as kaspergrubbe__
<arup_r> Ohh! you did.. Thanks.. let me check
govg has joined #ruby
rdark has joined #ruby
<arup_r> syntax lighting you missed, alex88 :)
AlSquire has joined #ruby
rdark has quit [Client Quit]
rdark has joined #ruby
<alex88> :D should still work :P
<arup_r> alex88: very helpful you are... Now got the HTML output.. :)
<alex88> awesome
<arup_r> BTW.. I am also following you.. :) GitHub
<arup_r> :)
dionysus69 has quit [Read error: Connection reset by peer]
zdaniel has quit [Ping timeout: 276 seconds]
davedev24_ has quit [Ping timeout: 245 seconds]
anaeem1_ has quit [Remote host closed the connection]
dionysus69 has joined #ruby
ta has quit [Ping timeout: 265 seconds]
fgo has quit [Ping timeout: 245 seconds]
dmolina has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
rdark has quit [Ping timeout: 246 seconds]
giuseppesolinas has joined #ruby
rdark has joined #ruby
avril14th has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
C1V0 has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
mloveless has quit []
timonv_ has joined #ruby
dionysus69 has joined #ruby
jheg has quit [Ping timeout: 272 seconds]
<avril14th> yo
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blizzy has quit [Ping timeout: 245 seconds]
rdark has quit [Read error: Connection reset by peer]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
ndrei has quit [Ping timeout: 255 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
zorak8 has joined #ruby
ndrei has joined #ruby
bal has joined #ruby
Spami has joined #ruby
rdark has joined #ruby
mikepack has joined #ruby
sandelius has joined #ruby
marr has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
krz has quit [Ping timeout: 264 seconds]
liamkeily has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikepack has quit [Ping timeout: 244 seconds]
rdark has quit [Client Quit]
mroach has joined #ruby
kl___ has joined #ruby
kl__ has joined #ruby
Hobogrammer has quit [Ping timeout: 256 seconds]
arup_r has quit [Remote host closed the connection]
mloveless has joined #ruby
try has joined #ruby
sundjango has joined #ruby
joonty has joined #ruby
sundjango has left #ruby [#ruby]
pdoherty has joined #ruby
leonshalimov has joined #ruby
ta has joined #ruby
timanema has joined #ruby
chinaski has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
pdoherty has quit [Ping timeout: 245 seconds]
mloveless has quit []
dmolina has left #ruby [#ruby]
anaeem1 has joined #ruby
leonshalimov has quit [Ping timeout: 272 seconds]
giuseppesolinas has joined #ruby
leafybas_ has quit [Remote host closed the connection]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has quit [Ping timeout: 264 seconds]
timanema has quit [Ping timeout: 255 seconds]
giuseppesolinas has quit [Client Quit]
tokik has quit [Ping timeout: 255 seconds]
hephaestus_rg has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby
jonesthedolphin has quit [Ping timeout: 264 seconds]
lkba_ has quit [Ping timeout: 244 seconds]
rodfersou has joined #ruby
workmad3 has joined #ruby
sea_local has quit [Read error: Connection reset by peer]
xjiujiu has quit [Read error: Connection reset by peer]
sea_local has joined #ruby
alkoma has joined #ruby
josephcs has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
xjiujiu has joined #ruby
LouisRoR has joined #ruby
arup_r has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
fandi has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
alkoma has quit [Ping timeout: 276 seconds]
alkoma has joined #ruby
joonty has quit [Quit: joonty]
juanpablo_ has joined #ruby
martinium has joined #ruby
martinium has joined #ruby
jerematic has joined #ruby
fgo has joined #ruby
alkoma has quit [Ping timeout: 272 seconds]
krz has joined #ruby
leafybasil has joined #ruby
krz is now known as Guest6160
ndrei has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
mroach has quit [Quit: mroach]
oo_ has quit [Remote host closed the connection]
joonty has joined #ruby
juanpablo_ has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
iamninja has joined #ruby
giuseppesolinas has joined #ruby
martinium has quit [Ping timeout: 256 seconds]
jerematic has quit [Ping timeout: 245 seconds]
fgo has quit [Ping timeout: 245 seconds]
djbkd has quit [Ping timeout: 246 seconds]
jheg has joined #ruby
ajaiswal has quit [Quit: Leaving]
martinium has joined #ruby
martinium has quit [Changing host]
martinium has joined #ruby
Livadi has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
martinium has joined #ruby
sandelius has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
gccostabr has joined #ruby
agjacome has joined #ruby
agjacome has quit [Client Quit]
ta has joined #ruby
atmosx has quit [Quit: WeeChat 0.4.4-dev]
agjacome has joined #ruby
livathin_ has joined #ruby
Fire-Dragon-DoL has joined #ruby
Pharaoh2 has quit [Ping timeout: 245 seconds]
fandi has joined #ruby
DadoCe has joined #ruby
oo_ has joined #ruby
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
Pharaoh2 has joined #ruby
psy_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
psy_ has quit [Max SendQ exceeded]
livathinos has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 265 seconds]
psy_ has joined #ruby
Pharaoh2 has joined #ruby
giuseppesolinas has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
Pharaoh2 has quit [Max SendQ exceeded]
Pharaoh2 has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
Pharaoh2 has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
zorak8 has joined #ruby
<arup_r> alex88: Are you there?
giuseppesolinas has quit [Client Quit]
<alex88> arup_r: yup
giuseppesolinas has joined #ruby
<arup_r> As per the link http://techlearningforum.com/post/Bill-Desk-Payment-Gateway-Integration-Approach.aspx I need to post to the url.. string under **Message Details Format** .. How can I post so?
aswen has joined #ruby
wald0 has joined #ruby
oo_ has joined #ruby
charliesome has joined #ruby
livathin_ has quit [Remote host closed the connection]
<arup_r> I will make the string the with `|` separated. But how to post it as a string. Not getting. alex88:
livathinos has joined #ruby
<alex88> you've to post that string in the msg parameter
ldnunes has joined #ruby
jonesthedolphin has joined #ruby
<alex88> got the pm, anyway, in the request_parameters of the post request
<alex88> you've to put a key msg, with the pipe-separated content you have
<arup_r> like msg: "then string" and post right?
zorak8 has quit [Ping timeout: 276 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<alex88> re-gist your code
Joufflu_ has quit [Quit: Peace]
<arup_r> sure
CpuID has joined #ruby
amundj has joined #ruby
soxet has quit [Ping timeout: 264 seconds]
amundj has quit [Client Quit]
znst has joined #ruby
dawkirst has joined #ruby
reinaldob has joined #ruby
<alex88> I think you've to edit req.set_form_data and set that msg key in the request
bronson has joined #ruby
fella5s has joined #ruby
yokel has joined #ruby
hephaestus_rg has joined #ruby
ta has joined #ruby
<arup_r> alex88: Just give me some moment... I am working on it.. I will send you the updated Gist.. Just 5 mins
<alex88> no hurry, I'm working already :D
startupality has joined #ruby
<arup_r> ohh.. :p
<arup_r> I am creating a Hash to build message string.
amundj has joined #ruby
znst has quit [Ping timeout: 256 seconds]
Darryl___ has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 264 seconds]
bal has quit [Quit: bal]
Aswebb_ has joined #ruby
startupality has quit [Ping timeout: 245 seconds]
govg has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
SolarSailor has joined #ruby
Xeago has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
Guest6160 has quit [Quit: WeeChat 1.0.1]
roshanavand has joined #ruby
krzkrz has joined #ruby
giuseppesolinas has joined #ruby
roshanavand has quit [Client Quit]
govg has quit [Ping timeout: 245 seconds]
az7ar is now known as az7ar_away
Xeago_ has quit [Ping timeout: 244 seconds]
Xeago__ has joined #ruby
soxet has joined #ruby
atmosx has joined #ruby
xewuvu has joined #ruby
fgo has joined #ruby
roshanavand has joined #ruby
govg has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
govg is now known as Guest93143
kl___ has quit [Ping timeout: 244 seconds]
dc has quit [Remote host closed the connection]
kl__ has quit [Ping timeout: 244 seconds]
dc has joined #ruby
bal has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
dsaf has joined #ruby
kl has joined #ruby
kl__ has joined #ruby
booly-yam-4014 has quit [Ping timeout: 245 seconds]
kaspergrubbe__ is now known as kaspergrubbe
dsaf has quit [Client Quit]
az7ar_away is now known as az7ar
kitofr has quit [Ping timeout: 246 seconds]
oo_ has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
dc has quit [Ping timeout: 264 seconds]
anaeem1 has quit [Remote host closed the connection]
panga has quit [Remote host closed the connection]
jschoolcraft has joined #ruby
ponga has joined #ruby
oo_ has joined #ruby
dawkirst has quit [Remote host closed the connection]
alkoma has joined #ruby
banister has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
ta has quit [Ping timeout: 256 seconds]
ndrei has quit [Ping timeout: 252 seconds]
kt2 has quit [Quit: Textual IRC Client: www.textualapp.com]
roolo has quit [Remote host closed the connection]
ponga has quit [Read error: No route to host]
alkoma has quit [Ping timeout: 255 seconds]
roolo has joined #ruby
ponga has joined #ruby
ndrei has joined #ruby
anarang has quit [Quit: Leaving]
iamninja has quit [Quit: ZZZzzz…]
roolo has quit [Ping timeout: 265 seconds]
ponga has quit [Ping timeout: 265 seconds]
_Andres has quit [Read error: Connection reset by peer]
_Andres has joined #ruby
withnale_ has joined #ruby
rdark has joined #ruby
g-nom3 has joined #ruby
g-nom3 has quit [Max SendQ exceeded]
blindsight has quit [Ping timeout: 244 seconds]
jheg has quit [Ping timeout: 276 seconds]
giuseppesolinas has joined #ruby
giuseppesolinas has quit [Remote host closed the connection]
g-nom3 has joined #ruby
thsig has joined #ruby
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
anarang has joined #ruby
dc has joined #ruby
commmmodo has joined #ruby
arup_r has quit [Remote host closed the connection]
blindsight has joined #ruby
ponga has joined #ruby
Doow has joined #ruby
blindsight is now known as Guest27213
blackmesa has quit [Ping timeout: 255 seconds]
josephcs has quit [Quit: (null)]
arup_r has joined #ruby
oo_ has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
commmmodo has quit [Ping timeout: 240 seconds]
josephcs has joined #ruby
ponga has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
chinaski has quit [Quit: Leaving]
dc has quit [Ping timeout: 255 seconds]
ponga has joined #ruby
leonshalimov has joined #ruby
booly-yam-4014 has joined #ruby
kitofr has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
timanema has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
dawkirst has joined #ruby
zwer_e has joined #ruby
<panga> hey
leonshalimov has quit [Ping timeout: 246 seconds]
roshanavand has quit [Quit: Leaving.]
yokel has quit [Ping timeout: 272 seconds]
dawkirst has quit [Client Quit]
gfawcettpq1 has joined #ruby
jerematic has joined #ruby
zwer has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
timanema has quit [Ping timeout: 252 seconds]
gfawcettpq1 has quit [Client Quit]
Tricon has joined #ruby
roshanavand has joined #ruby
yokel has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
kitofr has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
jerematic has quit [Ping timeout: 276 seconds]
pdoherty has joined #ruby
roshanavand has left #ruby [#ruby]
mostlybadfly has joined #ruby
workmad3_ has joined #ruby
Lobosque has joined #ruby
kamilc__ has joined #ruby
hephaestus_rg has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
giuseppesolinas has joined #ruby
<Lobosque> one quick best practice/code style question. Let's say I have a module named Computer. It has two classes named Mouse and Keyboard. So I have in my project a folder named computer/ with files mouse.rb and keyboard.rb inside. Now, I have some constants that are visible to every class in this module. Should I declare them in a separate file, lets say computer/constants.rb?
oo_ has joined #ruby
pdoherty has quit [Ping timeout: 255 seconds]
thsig has quit [Remote host closed the connection]
<waxjar> put them in a module Computer::Constants and include it in Computer::Mouse/Keyboard (or reference them directly)?
Zai00 has joined #ruby
JohnBat26 is now known as JohnBat26|NotHer
JohnBat26|NotHer is now known as JohnBat26
JohnBat26 is now known as JohnBat26|NotHer
liamkeily1 has joined #ruby
lsmola_ has quit [Remote host closed the connection]
agjacome has quit [Quit: leaving]
liamkeily has quit [Ping timeout: 264 seconds]
AlSquire has quit [Ping timeout: 240 seconds]
suy is now known as disperso
suy_ is now known as suy
troubadour has joined #ruby
rdark has joined #ruby
juanpablo_ has joined #ruby
Lobosque has quit [Quit: Page closed]
Jetchisel has joined #ruby
workmad3_ is now known as workmad3
lsmola has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troubadour has quit [Client Quit]
thsig has joined #ruby
Tricon has quit [Ping timeout: 246 seconds]
juanpablo_ has quit [Ping timeout: 244 seconds]
kalz has quit [Ping timeout: 245 seconds]
shime has quit [Ping timeout: 272 seconds]
bahamans has joined #ruby
shime has joined #ruby
amundj has joined #ruby
chthon has quit [Ping timeout: 264 seconds]
francisfish has quit [Ping timeout: 246 seconds]
<bahamans> hello, I have this line in a Vagrantfile: config.vm.network :private_network, ip: "192.168.33.10" how can I reference the value of "ip" afterwards?
yokel has quit [Ping timeout: 264 seconds]
vdamewood has quit [Quit: Computer has gone to sleep.]
yokel has joined #ruby
wald0 has quit [Quit: Lost terminal]
alkoma has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Kruppe has quit [Ping timeout: 245 seconds]
goddamnit2 has joined #ruby
godd2 has quit [Disconnected by services]
goddamnit2 is now known as godd2
jusmyth has quit [Quit: Leaving.]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
timanema has joined #ruby
giuseppesolinas has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
alkoma has quit [Ping timeout: 264 seconds]
francisfish has joined #ruby
giuseppesolinas has quit [Client Quit]
tkuchiki has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
fjfish has joined #ruby
kitofr has joined #ruby
SparkMasterTape has quit [Quit: Leaving]
yokel has quit [Ping timeout: 245 seconds]
Kruppe has joined #ruby
startupality has joined #ruby
francisfish has quit [Ping timeout: 245 seconds]
jusmyth has joined #ruby
yokel has joined #ruby
Timgauthier has joined #ruby
atmosx has quit [Quit: Let him that would move the world first move himself. - Socrates]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
DadoCe has joined #ruby
Timgauthier has quit [Read error: Connection reset by peer]
rdark has quit [Ping timeout: 245 seconds]
zarubin has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 252 seconds]
zarubin has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
Timgauthier has joined #ruby
n1lo has joined #ruby
rdark has joined #ruby
roshanavand has joined #ruby
kalz has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
meschi has joined #ruby
DadoCe has quit [Ping timeout: 265 seconds]
JohnBat26|NotHer has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
JohnBat26 has joined #ruby
znst has joined #ruby
chthon has joined #ruby
rdark has quit [Client Quit]
atmosx has joined #ruby
rdark has joined #ruby
Tricon has joined #ruby
troubadour has joined #ruby
fedalto has joined #ruby
vt102 has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
giuseppesolinas has joined #ruby
znst has quit [Ping timeout: 246 seconds]
<scottstamp> config.vm.network[:ip]
<scottstamp> er,
<scottstamp> I think.
codecop has quit [Remote host closed the connection]
giuseppesolinas has quit [Client Quit]
fgo has joined #ruby
liamkeily1 has quit [Ping timeout: 244 seconds]
kl has quit [Ping timeout: 256 seconds]
<scottstamp> hate that bloody syntax. not sure bahamans -- have you tried asking over in #vagrant? I'm sure someone in there would have an answer at hand.
kl__ has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
fedalto has quit [Quit: Leaving]
<bahamans> scottstamp: well, this is ruby, that's why I asked here
<bahamans> or isn't the syntax proper ruby?
yokel has quit [Ping timeout: 244 seconds]
<scottstamp> It is, but it also sounds like you're trying to do something that'd be pretty common in a Vagrantfile. :P
<scottstamp> it is
<bahamans> scottstamp: actuall, I realized that vagrant doesn't expect the IP lower. I had to put "default"
kl has joined #ruby
kl__ has joined #ruby
liamkeily1 has joined #ruby
<scottstamp> Just meant *I* don't like it, setting things with that sort of key/val feels clumsy to me, it's very akin to how a rack config file defines things. And oh?
yokel has joined #ruby
lurkmaster has joined #ruby
<ddv> scottstamp: #vagrant
<lurkmaster> guys i need some help
<scottstamp> ddv: not me. ;)
<bahamans> yeah, they don't actually give examples. I had to guess
jerematic has joined #ruby
<ddv> scottstamp: sorry :(
<scottstamp> haha, it's okay, #youtried
jokke has quit [Quit: ninja vanish]
<lurkmaster> I'm trying to create a calendar with 19 weeks, each with 19 days. so i wrote a ruby script which creates arrays with the days of the month and then iterates through those arrays, every time it gets to a multiple of 19 its supposed to push that day to an array. so for january it pushed 19 to an array. for february it pushes 7 to the array
cablanchard has joined #ruby
<DefV> seems your script is wrong, then
<lurkmaster> because there are 31 days in february. so 19 * 2 = 38. 38 - 31 = 7. therefore february 7th
<scottstamp> um
<DefV> februari has 28 or 29 days
<lurkmaster> assuming non leap year
<scottstamp> ^
Spami has quit [Quit: This computer has gone to sleep]
Xeago__ is now known as Xeago
zorak8 has joined #ruby
<lurkmaster> it incorrectly prints out february 25, rather than february 26th
giuseppesolinas has joined #ruby
maximski has joined #ruby
<scottstamp> *phew*, I was hoping it was a typo when you said feb=31 days
<lurkmaster> it was a typo lol
* scottstamp did not want to learn another calendar locale
<lurkmaster> 31 days in january
jerematic has quit [Ping timeout: 276 seconds]
fedalto has joined #ruby
jokke has joined #ruby
n1lo has quit [Ping timeout: 245 seconds]
roolo has joined #ruby
fandi has quit [Remote host closed the connection]
seal has quit [Quit: Ex-Chat]
jerematic has joined #ruby
claptor has quit [Quit: this channel is bakas]
giuseppesolinas has quit [Client Quit]
timonv_ has quit [Remote host closed the connection]
ferr_ has joined #ruby
<lurkmaster> the only part of that code thats relevant is the very end. the each method on february
timonv_ has joined #ruby
<lurkmaster> if you look at the output, it iterates through february 25, the counter marks 18, and then the next iteration should be february 26, the counter should be at 19 and it should then push 26 to the array
<lurkmaster> but it doesn't
<lurkmaster> instead it pushes 25 to the array because it hates me :)
Aswebb_ has quit [Read error: Connection reset by peer]
n80_ has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lurkmaster> if anyone can tell me why it gets stuck on 25 you have my eternal gratitude and good karma
bmichelsen has joined #ruby
<scottstamp> it doesn't hate you, math hates you. it's always math.
bmichelsen has quit [Read error: Connection reset by peer]
roolo has quit [Ping timeout: 265 seconds]
<scottstamp> also, you're adding 1 to c then checking if the remainder is zero in the month of january
<scottstamp> if it doesn't, subtract 19
chrisja has joined #ruby
<scottstamp> problem - subtract 19 from a number you just added a one to
<scottstamp> solution - subtract 20
oo_ has quit [Remote host closed the connection]
arup_r has joined #ruby
n1lo has joined #ruby
<lurkmaster> in that edit it prints out february 8
<lurkmaster> the correct output should be january 19 february 7 and february 26
<lurkmaster> that edit also puts out january 7
<scottstamp> huh.
Pharaoh2 has joined #ruby
oo_ has joined #ruby
aclearman037 has joined #ruby
<scottstamp> you're right. unno then D:
Aswebb_ has joined #ruby
<lurkmaster> its so weird
<lurkmaster> it puts out february 25 counter 18, and then the next step should be february 26 counter 19, but for some reason thats not what it does. the each loop stays on february 25 but increments the counter by +1
giuseppesolinas has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
timonv_ has quit [Remote host closed the connection]
Spami has joined #ruby
krzkrz has quit [Quit: WeeChat 1.0.1]
<scottstamp> Any particular reason you're not just using the Date class?
timonv_ has joined #ruby
<scottstamp> > require 'date'; puts Date.new(2001,1,1) + 19
<scottstamp> hmm, guess that's not how the evalbot works. lol
kl has quit [Ping timeout: 252 seconds]
commmmodo has joined #ruby
kl__ has quit [Ping timeout: 252 seconds]
n80_ has quit [Quit: n80_]
giuseppesolinas has quit [Client Quit]
<Mon_Ouie> It's >>
yokel has joined #ruby
<scottstamp> ah, thanks.
dayid_ has left #ruby [#ruby]
<jhass> >> require 'date'; start = Date.new(2014, 12, 31); Array.new(19) { start += 19 }
<eval-in_> jhass => [#<Date: 2015-01-19 ((2457042j,0s,0n),+0s,2299161j)>, #<Date: 2015-02-07 ((2457061j,0s,0n),+0s,2299161j)>, #<Date: 2015-02-26 ((2457080j,0s,0n),+0s,2299161j)>, #<Date: 2015-03-17 ((2457099j,0s,0n),+0s, ... (https://eval.in/245246)
<lurkmaster> that solved it
<lurkmaster> thanks jhass
timonv_ has quit [Ping timeout: 256 seconds]
<lurkmaster> but I'm still curious why my original code didn't work
<lurkmaster> why did the each iterator get stuck on february 25 for two iterations
panga has quit [Remote host closed the connection]
joonty has quit [Quit: joonty]
giuseppesolinas has joined #ruby
bjornar has quit [Ping timeout: 252 seconds]
ponga has joined #ruby
<lurkmaster> glory for anyone who can figure that out
znst has joined #ruby
alkoma has joined #ruby
ponga has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
ponga has joined #ruby
giuseppesolinas has quit [Client Quit]
<lurkmaster> going to have to sign up at stack overflow apparently
<scottstamp> Lol, you'll get the same answer re: Date
bjornar has joined #ruby
ndrei has joined #ruby
timonv_ has joined #ruby
<jhass> if I'm honest, I'd need to throw a debugger at that code and step through it to understand it
dfinninger has joined #ruby
oo_ has quit [Remote host closed the connection]
commmmodo has quit [Quit: commmmodo]
oo_ has joined #ruby
dblessing has joined #ruby
alkoma has quit [Ping timeout: 246 seconds]
giuseppesolinas has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
MasterPiece has quit [Quit: Leaving]
dimaursu16 has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
<jhass> lurkmaster: you're coming from C I guess? :P
ferr_ has quit [Ping timeout: 245 seconds]
msrty has joined #ruby
dfinninger has quit [Remote host closed the connection]
rebcabin has joined #ruby
<lurkmaster> jhass: nope i'm just a noob and picked the most laborious way of doing it. didn't even realize i could just use date lol
<shevy> that's the beauty of ruby
<shevy> the documentation is so well hidden that you discover the better way after years of using it!
mattp_ has joined #ruby
<lurkmaster> yea that documentation is not fun to read through
lolmaus has quit [Ping timeout: 240 seconds]
lolmaus_ has joined #ruby
<jhass> maybe a couple of style notes anyway: make calendar return the array, do not pass it in and modify it. also name it days_for_month or the like and implement just like 1.upto(n).to_a
athan has quit [Remote host closed the connection]
<jhass> do not choose names like c, x and d
<jhass> always be descriptive
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<jhass> one, two are too things that tell me noting about their purpose
djbkd has quit [Ping timeout: 256 seconds]
n008f4g_ has joined #ruby
msrty has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
Photism has joined #ruby
<jhass> you're assigning a ton of locals (the months) you're probably going to do the same operation to, I'd use an array of arrays there I guess
<jhass> which then could also make the generation a bit smarter (by combining Array#map and Array#new)
<jhass> try to use things like .times, .upto, .downto instead of while loops
<jhass> try to use .map and maybe .select/.reject if you find yourself pushing things to an array in a loop
tkuchiki has joined #ruby
earfin has joined #ruby
<jhass> if that doesn't apply, check Enumerable#each_with_object and Enumerator#with_object
ndrei has quit [Ping timeout: 246 seconds]
russt has joined #ruby
<lurkmaster> ok
<lurkmaster> whats a good debugger to use with ruby
leonshalimov has joined #ruby
ponga has quit [Remote host closed the connection]
timanema has quit [Ping timeout: 276 seconds]
ponga has joined #ruby
<jhass> I use pry with pry-byebug, pry-resuce, pry-stack_explorer, pry-doc
<certainty> i hear byebug is quite good
msrty has joined #ruby
msrty has quit [Read error: Connection reset by peer]
blackoperat has quit [Ping timeout: 245 seconds]
blizzy has joined #ruby
dimaursu16 has joined #ruby
dkphenom has joined #ruby
dkphenom has quit [Client Quit]
blizzy has quit [Client Quit]
chthon has quit [Ping timeout: 255 seconds]
blizzy has joined #ruby
atmosx has quit [Quit: WeeChat 0.4.4-dev]
decoponio has joined #ruby
leonshalimov has quit [Ping timeout: 264 seconds]
giuseppesolinas has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
juanpablo_ has joined #ruby
dstarh has joined #ruby
postmodern has quit [Remote host closed the connection]
giuseppesolinas has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
_5kg has quit [Ping timeout: 276 seconds]
dkphenom has joined #ruby
tesuji has joined #ruby
juanpablo_ has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Client Quit]
roshanavand has quit [Ping timeout: 245 seconds]
az7ar is now known as az7ar_away
astrobunny has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jefus__ is now known as jefus
lurkmaster has quit [Ping timeout: 246 seconds]
Guest93143 has quit [Quit: leaving]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
slawrence00 has joined #ruby
nfk has joined #ruby
chthon has joined #ruby
freerobby has joined #ruby
martinium has quit [Remote host closed the connection]
metadave has joined #ruby
spider-mario has joined #ruby
roshanavand has joined #ruby
Asher has quit [Read error: Connection reset by peer]
<shevy> certainty so is ur mom!
Asher has joined #ruby
pdoherty has joined #ruby
yokel has quit [Ping timeout: 276 seconds]
giuseppesolinas has joined #ruby
hiyosi has joined #ruby
silkfox has joined #ruby
yokel has joined #ruby
giuseppesolinas has quit [Client Quit]
<certainty> shevy: too early for mum jokes
Asher has quit [Read error: Connection reset by peer]
Asher2 has joined #ruby
<shevy> yeah, we need the late jokes
ferr has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
ascarter has joined #ruby
<ddv> yo momma
davedev24_ has joined #ruby
brb3 has joined #ruby
kl has joined #ruby
kl__ has joined #ruby
ascarter has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
roolo has joined #ruby
byprdct has joined #ruby
n1lo has quit [Quit: Leaving]
byprdct has quit [Max SendQ exceeded]
joonty has joined #ruby
ndrei has joined #ruby
giuseppesolinas has joined #ruby
<shevy> no ddv
<shevy> I said jokes
<shevy> so not about ur momma
giuseppesolinas has quit [Client Quit]
LouisRoR has quit [Ping timeout: 245 seconds]
josephcs has quit [Quit: (null)]
metadave has quit [Ping timeout: 240 seconds]
LouisRoR has joined #ruby
bluOxigen has joined #ruby
msrty has joined #ruby
klmlfl has joined #ruby
blackoperat has joined #ruby
livcd has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
<jhass> yo mama makes yo mama jokes about yo mama
JDiPierro has joined #ruby
anaeem1 has quit [Remote host closed the connection]
Tricon has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
juanpablo_ has joined #ruby
msrty has quit [Ping timeout: 264 seconds]
<mostlybadfly> Yo man I heard i you like yo mama jokes so I made yo mama jokes about yo mama while in yo mama
psy_ has quit [Quit: Leaving]
Flcn has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
<mostlybadfly> OK it was too early for that
martinium has joined #ruby
martinium has quit [Changing host]
martinium has joined #ruby
startupality has quit [Quit: startupality]
anaeem1 has quit [Ping timeout: 264 seconds]
revoohc has joined #ruby
lxsameer has quit [Quit: Leaving]
anaeem1 has joined #ruby
alkoma has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorak8 has quit [Ping timeout: 264 seconds]
msrty has joined #ruby
anaeem1 has quit [Remote host closed the connection]
msrty has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
ta has joined #ruby
<olivier_bK> i try to load all of my file in lib directory
<olivier_bK> but i dont know why i cant
martinium has quit [Ping timeout: 264 seconds]
alkoma has quit [Ping timeout: 264 seconds]
frobs has quit [Quit: Konversation terminated!]
_maes_ has quit [Ping timeout: 272 seconds]
_5kg has joined #ruby
jherbst has joined #ruby
anaeem1 has quit [Ping timeout: 272 seconds]
blackoperat has quit [Ping timeout: 276 seconds]
<jhass> because watirUploadYouwatch.rb requires watir which is not available
martinium has joined #ruby
martinium has joined #ruby
<jhass> did you read the error message?
msrty has joined #ruby
Tricon has joined #ruby
dc has joined #ruby
jerius has joined #ruby
triple_b has joined #ruby
roshanavand has joined #ruby
AlSquire has quit [Ping timeout: 240 seconds]
roshanavand has quit [Max SendQ exceeded]
<ddv> isn' Watir some nationalistic black metal band?
ta has quit [Ping timeout: 276 seconds]
oleo has joined #ruby
roshanavand has joined #ruby
msrty has quit [Ping timeout: 244 seconds]
roshanavand has quit [Max SendQ exceeded]
leonshalimov has joined #ruby
dc has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
adriancb has joined #ruby
Timgauthier has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
pushpak has joined #ruby
roshanavand has joined #ruby
jusmyth has quit [Quit: Leaving.]
roshanavand has quit [Max SendQ exceeded]
ta has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
metadave has joined #ruby
leonshalimov has quit [Ping timeout: 256 seconds]
blackoperat has joined #ruby
MasterPiece has joined #ruby
pavelz has joined #ruby
roshanavand has joined #ruby
AlSquire has joined #ruby
giuseppesolinas has joined #ruby
roshanavand has quit [Max SendQ exceeded]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allcentury has joined #ruby
kalz has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
larissa has joined #ruby
ta has quit [Ping timeout: 276 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whoisjake has joined #ruby
colinstgeorge has joined #ruby
ta has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
devdazed has joined #ruby
JDiPierro has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
roshanavand has joined #ruby
ponga has joined #ruby
pdoherty has joined #ruby
ferr has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
kalz has joined #ruby
joonty has quit [Quit: joonty]
werelivinginthef has joined #ruby
giuseppesolinas has quit [Client Quit]
arup_r has quit []
timanema has joined #ruby
meschi has quit [Remote host closed the connection]
mrmargolis has joined #ruby
giuseppesolinas has joined #ruby
ta has quit [Ping timeout: 272 seconds]
josephndenton has joined #ruby
sandelius has joined #ruby
jeremati_ has joined #ruby
tokik has joined #ruby
lmickh has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
enebo has joined #ruby
giuseppesolinas has quit [Client Quit]
Tuxero has quit [Remote host closed the connection]
thatslifeson has joined #ruby
leonshalimov has joined #ruby
giuseppesolinas has joined #ruby
jerematic has quit [Ping timeout: 255 seconds]
deconfigured has joined #ruby
CustosLimen has quit [Ping timeout: 240 seconds]
CustosLimen has joined #ruby
Timgauthier is now known as timgauthier_away
CustosLimen has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
CustosLimen has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
joonty has joined #ruby
giuseppesolinas has quit [Client Quit]
ta has joined #ruby
robertt_dex has joined #ruby
snath has quit [Ping timeout: 244 seconds]
failshell has joined #ruby
iamjarvo has joined #ruby
bashusr has quit [Ping timeout: 256 seconds]
Harlin has joined #ruby
_tpavel has joined #ruby
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
dfinning_ has joined #ruby
noop has quit [Ping timeout: 255 seconds]
porfa has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
ta has quit [Ping timeout: 272 seconds]
last_staff has quit [Quit: last_staff]
n80_ has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
lolmaus_ has quit [Quit: Konversation terminated!]
dfinning_ has quit [Ping timeout: 246 seconds]
doodlehaus has joined #ruby
DaniG2k has joined #ruby
startupality has joined #ruby
rbennacer has joined #ruby
Aryasam has joined #ruby
ferr has joined #ruby
Aswebb_ has joined #ruby
it0a has joined #ruby
Tuxero has joined #ruby
freerobby has quit [Quit: Leaving.]
zacstewart has joined #ruby
ta has joined #ruby
fjfish has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 276 seconds]
niftylettuce has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
icbm has joined #ruby
triple_b has joined #ruby
zacstewart has quit [Remote host closed the connection]
alkoma has joined #ruby
cphrmky has joined #ruby
dstarh has joined #ruby
Channel6 has quit [Ping timeout: 255 seconds]
iwishiwerearobot has quit [Quit: Be back later ...]
rdark has quit [Quit: leaving]
joonty has quit [Quit: joonty]
rbennacer has quit [Remote host closed the connection]
DivineEntity has quit [Read error: No route to host]
fryguy9 has joined #ruby
blueOxigen has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
evanjs has joined #ruby
alkoma has quit [Ping timeout: 252 seconds]
hs366 has quit [Quit: Leaving]
tobago has quit [Remote host closed the connection]
rdark has joined #ruby
giuseppesolinas has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
ta has quit [Ping timeout: 252 seconds]
Aryasam has quit [Quit: Bye]
giuseppesolinas has quit [Client Quit]
joonty has joined #ruby
^wald0 has joined #ruby
<shevy> I thought watir is water misspelled
<shevy> olivier_bK you must read error messages!
jeremati_ is now known as jerematic
tagrudev has quit [Remote host closed the connection]
<shevy> cannot load such file -- watir (LoadError)!!!!!!!
DivineEntity has joined #ruby
ponga has quit [Remote host closed the connection]
rkalfane has joined #ruby
gregf has joined #ruby
ponga has joined #ruby
tjohnson has joined #ruby
rbennacer has joined #ruby
sambao21 has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bashusr has quit [Ping timeout: 245 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
failshel_ has joined #ruby
<jhass> watch your punctuation usage, there's only so much in the global reserve!
ponga has quit [Ping timeout: 245 seconds]
psy_ has joined #ruby
charliesome has quit [Quit: zzz]
sandelius has joined #ruby
deconfigured has quit [Ping timeout: 245 seconds]
rbennacer has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 252 seconds]
rbennacer has joined #ruby
ypasmk has quit [Quit: ypasmk]
sandelius has quit [Client Quit]
bjornar has quit [Ping timeout: 240 seconds]
commmmodo has joined #ruby
anarang has quit [Ping timeout: 240 seconds]
MasterPiece has quit [Ping timeout: 265 seconds]
Channel6 has joined #ruby
booly-yam-4014 has quit [Ping timeout: 244 seconds]
ypasmk has joined #ruby
giuseppesolinas has joined #ruby
^wald0 has quit [Quit: ^wald0]
joonty has quit [Quit: joonty]
d10n-work has joined #ruby
fedalto has quit [Quit: leaving]
giuseppesolinas has quit [Client Quit]
jusmyth has joined #ruby
JDiPierro has joined #ruby
rbennacer has quit [Remote host closed the connection]
booly-yam-4014 has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
bashusr has joined #ruby
ponga has joined #ruby
uptownhr has joined #ruby
B1n4r10 has joined #ruby
chishiki has joined #ruby
B1n4r10 has quit [Max SendQ exceeded]
chishiki has quit [Client Quit]
ypasmk has quit [Quit: ypasmk]
chishiki has joined #ruby
JDiPierro has quit [Ping timeout: 252 seconds]
odin22 has joined #ruby
Porfirium has joined #ruby
giuseppesolinas has joined #ruby
jmcharnes has joined #ruby
yokel has joined #ruby
xjiujiu has quit [Ping timeout: 264 seconds]
terlar has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
rippa has joined #ruby
ypasmk has joined #ruby
rajeshchawla has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
arup_r has joined #ruby
thsig has quit [Remote host closed the connection]
shadeslayer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
porfa has quit [Ping timeout: 256 seconds]
Porfirium has quit [Remote host closed the connection]
thsig has joined #ruby
shadeslayer has joined #ruby
Porfirium has joined #ruby
JDiPierro has joined #ruby
klmlfl has quit [Remote host closed the connection]
davedev2_ has joined #ruby
diegoviola has joined #ruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
davedev24_ has quit [Ping timeout: 272 seconds]
Timgauthier has joined #ruby
thsig_ has joined #ruby
thsig has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
joonty has joined #ruby
iwishiwerearobot has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
fryguy9 has quit [Quit: Leaving.]
giuseppesolinas has joined #ruby
zacstewart has joined #ruby
crueber has joined #ruby
uptownhr has quit [Quit: uptownhr]
sambao21 has joined #ruby
jokke has quit [Quit: ninja vanish]
dojobo has joined #ruby
mattwildig has joined #ruby
<dojobo> hi guys
ypasmk has left #ruby [#ruby]
<dojobo> newb question, i've been trying to get sharepoint to work as a frontend for a sql server db, for staff to enter data
bal has quit [Quit: bal]
tkuchiki has quit [Remote host closed the connection]
<dojobo> and after trying/checking everything i can think of, i can't get it to work
jokke has joined #ruby
<dojobo> instead i'm considering trying to write a rails app with either mysql or sql server as the data backend
tkuchiki has joined #ruby
<dojobo> (but i've only just started learning ruby this weekend)
<dojobo> how hard is this to do?
booly-yam-4014 has quit [Ping timeout: 265 seconds]
uptownhr has joined #ruby
anaeem1 has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
kitofr has quit [Ping timeout: 264 seconds]
rvchangue has joined #ruby
evanjs has quit [Remote host closed the connection]
mikepack has joined #ruby
icebourg has joined #ruby
Photism has quit [Quit: Leaving]
tkuchiki has quit [Ping timeout: 245 seconds]
uptownhr has quit [Client Quit]
evanjs has joined #ruby
anaeem1 has quit [Ping timeout: 240 seconds]
ddd has joined #ruby
<avril14th> dojobo: seems like a overkill
fedalto has joined #ruby
<avril14th> dojobo: look at active_admin gem though, if your editing is plain is simple, it will ease your work by a ton
bronson has joined #ruby
<Timgauthier> you don't need to interface with the database directly, thus letting you be able to switch and upgrade things more easily! i love that part of rails
_tpavel has quit [Quit: Leaving]
jusmyth has quit [Quit: Leaving.]
^wald0 has joined #ruby
speaking1ode has joined #ruby
<dojobo> thanks guys
iwishiwerearobot has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 264 seconds]
Doow has quit [Quit: Leaving]
speakingcode has quit [Ping timeout: 264 seconds]
oivoodoo has joined #ruby
terlar has joined #ruby
Channel6 has quit [Quit: Leaving]
uptownhr has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
kapil__ has quit [Quit: Connection closed for inactivity]
thsig_ has quit [Remote host closed the connection]
Morkel has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
Meeh has joined #ruby
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
werelivinginthef has joined #ruby
Timgauthier is now known as timgauthier_away
timgauthier_away is now known as Timgauthier
<apeiros> thatslifeson: uh, the author seems to miss that dq-strings w/o interpolation only cost more at parse time
<apeiros> at run time, there's no difference
<thatslifeson> i was posting it for laughs
<thatslifeson> not because I agreed with it
<apeiros> I concur in his conclusion anyway
<apeiros> DQ/SQ diff is insignificant in probably every real world use case.
snath has joined #ruby
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
chipotle has quit [Quit: cheerio]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
treehug88 has joined #ruby
qulo has joined #ruby
ta has joined #ruby
evanjs has quit [Remote host closed the connection]
maletor has joined #ruby
Darryl___ has joined #ruby
nrsk|2 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
sanguisdex has left #ruby [#ruby]
yokel has joined #ruby
crueber has quit [Quit: Leaving.]
evanjs has joined #ruby
Hobogrammer has joined #ruby
msgodf has quit [Ping timeout: 252 seconds]
livathinos has quit []
giuseppesolinas has quit [Quit: This computer has gone to sleep]
ta has quit [Ping timeout: 272 seconds]
silkfox has quit [Ping timeout: 264 seconds]
giuseppesolinas has joined #ruby
silkfox has joined #ruby
rylev has joined #ruby
rbennacer has quit [Remote host closed the connection]
grn has joined #ruby
speaking1ode is now known as speakingcode
aswen has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
jimms has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rylev has quit []
mleung has joined #ruby
rajeshchawla has quit [Remote host closed the connection]
troubadour has quit [Quit: troubadour]
<shevy> ok who wants to be spanked
troubadour has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
rajeshchawla has joined #ruby
ferr has quit [Quit: Lost terminal]
<shevy> hmm one of you guys showed me how to put a random class into a specific module's namespace
baroquebobcat has joined #ruby
<shevy> module Foo; end; class Bar; end <--- how to put Bar into Foo at run-time again?
pandaant has joined #ruby
sambao21 has joined #ruby
<workmad3> shevy: class Fizz; end; module Foo; Bar = ::Fizz end
<workmad3> shevy: something like that?
<shevy> hmm
<shevy> that confuses me I think
<workmad3> shevy: you won't change the lexical scope of the class or module though
<shevy> you use three different constants?
zacstewart has quit [Remote host closed the connection]
troubadour has quit [Ping timeout: 245 seconds]
bashusr has quit [Ping timeout: 255 seconds]
<workmad3> shevy: well, I could have done 'class Bar; end; module Foo; Bar = ::Bar; end' ;)
maletor has quit [Quit: Computer has gone to sleep.]
<workmad3> shevy: but I figured the different constant would make it clearer :P
JURCZ91 has joined #ruby
<shevy> hehe
ta has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
ponga has quit [Quit: Leaving...]
bashusr has joined #ruby
<workmad3> shevy: but yeah... you can put an arbitrary class into an arbitrary namespace by simply assigning the constant... but it won't change the 'automatic' features, like the name of the class, or it's lexical scope
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<shevy> hmm
thiagovsk__ has joined #ruby
fgo has joined #ruby
<shevy> ok
<shevy> are Bar and Foo::Bar the same otherwise though? in the above example: class Bar; end; module Foo; Bar = ::Bar; end
<Xeago> shevy: you don't know for sure if it confuses you? Are you confused whether it confuses you?
<shevy> no I got it now
<shevy> the 3 constants tripped me up
<shevy> the example with the two constants is ok :)
<Xeago> but were you at least confused whether you were confused or not? :D
<shevy> I wondered where Bar came from in workmad3's first example
<Xeago> the level of indirection is more important than whether it persisted
<shevy> I am no longer confused right now
<Xeago> That does not answer the question! AAAH
startupality has quit [Quit: startupality]
<Xeago> it's vitally important to the discussion as to know whether you were confused about being confused!
<Xeago> :>
<shevy> I am trying to find out the difference between module Foo; class Bar ... and class Bar; end; module Foo; Bar = ::Bar; end
<shevy> obviously one difference is that class Bar in the second example will be available on the top scope
grn has quit [Remote host closed the connection]
<shevy> so I guess to be more equivalent, I would have to kill class Bar from the second example somehow
<shevy> (in the top scope)
<shevy> Bar = nil ?
<Xeago> It's supposedly a constant right?
<Xeago> and that would still leave it defined
thsig has joined #ruby
<Xeago> module Foo; Bar= Class.new("Bar") { }; end
bahamans has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Xeago> ?
roolo has quit [Remote host closed the connection]
<shevy> yeah
<shevy> I can remove the constant from the toplevel?
<shevy> and then it would be equivalent though? hmmm
<Xeago> I'm not sure if Class.new works like that
metadave has joined #ruby
<Xeago> but you could totally take it form yet another module :>
Morkel has quit [Quit: Morkel]
<Xeago> or embed it in some sneaky scope
mleung has quit [Quit: mleung]
fgo has quit [Ping timeout: 264 seconds]
patric100e99 has quit [Ping timeout: 252 seconds]
failshel_ has quit [Remote host closed the connection]
ta has quit [Ping timeout: 252 seconds]
patrick99e99 has joined #ruby
jerematic has quit [Ping timeout: 245 seconds]
oivoodoo has quit [Remote host closed the connection]
<shevy> hmm
GaryOak_ has joined #ruby
rkalfane has quit [Read error: Connection reset by peer]
rkalfane has joined #ruby
tesuji has quit [Ping timeout: 245 seconds]
znst` has joined #ruby
znst has quit [Read error: Connection reset by peer]
jerematic has joined #ruby
<shevy> oh I got another question
giuseppesolinas has joined #ruby
<shevy> say I have a method, and a block
leonshalimov has quit [Ping timeout: 246 seconds]
<shevy> foo { another_method_call_here() }
anaeem1 has joined #ruby
<shevy> is there a way to redirect the above method, to instead invoke it on some random object?
<shevy> "random" means that I know what object it will be actually
<avril14th> shevy: delegate?
g-nom3 has left #ruby [#ruby]
<shevy> yes
kl has quit [Ping timeout: 255 seconds]
kl__ has quit [Ping timeout: 244 seconds]
<avril14th> ActiveSupport has a delegation method
<avril14th> I suppose you could borrow that if you want no rails dependency
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> there must be a simpler way
<workmad3> shevy: instance_eval
<shevy> with yield we tap into the block's content... I think I need some way to not invoke methods
<shevy> or perhaps intercept the block somehow
rkalfane has quit [Ping timeout: 245 seconds]
rkalfane has joined #ruby
<workmad3> >> class Foo; def hi; puts "hi"; end; end; a = proc{hi}; Foo.new.instance_eval(&a)
<eval-in_> workmad3 => hi ... (https://eval.in/245351)
failshell has joined #ruby
<shevy> hmm
Aswebb_ has quit [Remote host closed the connection]
uptownhr has quit [Quit: uptownhr]
<workmad3> target.instance_eval(&some_proc) will change the context of the block to target
<shevy> oh?
gattie has joined #ruby
<workmad3> including implicit method calls and ivar accesses... local variable closures still function as normal
rajeshchawla has quit [Remote host closed the connection]
<shevy> hmmm
codecop has joined #ruby
booly-yam-4014 has joined #ruby
rkalfane has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 252 seconds]
cloaked1 has joined #ruby
cloaked1 has joined #ruby
devdazed has quit [Quit: Bye]
pushpak has joined #ruby
rdark has quit [Ping timeout: 264 seconds]
rajeshchawla has joined #ruby
joonty has quit [Quit: joonty]
dojobo has left #ruby ["Leaving"]
wald0 has joined #ruby
startupality has joined #ruby
rdark has joined #ruby
psy_ has quit [Quit: Leaving]
troyready has joined #ruby
devdazed has joined #ruby
deric_skibotn has joined #ruby
paulfm has joined #ruby
rajeshchawla has quit [Remote host closed the connection]
yokel has joined #ruby
SparkMasterTape has joined #ruby
rdark has quit [Client Quit]
fgo has joined #ruby
apeiros has joined #ruby
olivier_bK has quit [Ping timeout: 276 seconds]
qulo has quit [Quit: Leaving]
uptownhr has joined #ruby
mloveless has joined #ruby
cloaked1 has quit [Read error: Connection reset by peer]
failshell has quit [Remote host closed the connection]
cody-- has joined #ruby
<cody--> anyone know if there's a more popular gem for color manipulation than this: https://github.com/jfairbank/chroma
Hijiri has quit [Quit: WeeChat 1.0.1]
tkuchiki has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
JURCZ91 has quit [Quit: Leaving]
bricker has joined #ruby
yokel has quit [Ping timeout: 276 seconds]
liamkeily1 has quit [Quit: This computer has gone to sleep]
patrick99e99 has joined #ruby
fgo has quit [Ping timeout: 276 seconds]
kaspertidemann has joined #ruby
yokel has joined #ruby
CamonZ has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
allcentury has quit [Ping timeout: 245 seconds]
rebcabin has quit [Quit: Leaving.]
pietr0 has joined #ruby
fryguy9 has joined #ruby
banister has joined #ruby
leonshalimov has joined #ruby
wallerdev has joined #ruby
timonv^ has joined #ruby
timonv_ has quit [Ping timeout: 256 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
liamkeily1 has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
kaspertidemann has quit []
DaniG2k has quit [Quit: leaving]
brb3 has joined #ruby
davedev2_ has quit [Ping timeout: 245 seconds]
centrx has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby
Aswebb_ has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
JDiPierro has quit [Remote host closed the connection]
JDiPierro has joined #ruby
terlar has quit [Ping timeout: 264 seconds]
ta has joined #ruby
^wald0 has quit [Ping timeout: 264 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
sambao21 has quit [Quit: Computer has gone to sleep.]
asterite has joined #ruby
baroquebobcat has joined #ruby
giuseppesolinas has joined #ruby
gccostabr has quit [Quit: See you later!]
zarubin has quit [Remote host closed the connection]
commmmodo has quit [Quit: commmmodo]
blueOxigen has quit [Ping timeout: 264 seconds]
j0n3 has joined #ruby
rbennacer has quit [Remote host closed the connection]
davedev24_ has joined #ruby
chrishough has joined #ruby
sambao21 has joined #ruby
pancake-breakfas has joined #ruby
ta has quit [Ping timeout: 255 seconds]
zarubin has joined #ruby
<GaryOak_> cody--: https://github.com/mbleigh/colorist Here's another, not sure what you are looking for though
einarj has quit [Remote host closed the connection]
delianides has joined #ruby
havenwood has joined #ruby
sambao21 has quit [Client Quit]
alkoma has joined #ruby
asterite has quit [Read error: Connection reset by peer]
reset has joined #ruby
withnale__ has joined #ruby
alex88 has quit []
wallerdev has quit [Quit: wallerdev]
liamkeily1 has quit [Quit: This computer has gone to sleep]
lamasnik has quit [Ping timeout: 264 seconds]
pancake-breakfas has left #ruby ["Textual IRC Client: www.textualapp.com"]
rbennacer has joined #ruby
withnale_ has quit [Ping timeout: 276 seconds]
timonv_ has joined #ruby
withnale__ has quit [Ping timeout: 276 seconds]
rbennacer has quit [Remote host closed the connection]
mesamoo has joined #ruby
DrShoggoth has joined #ruby
reset has quit [Quit: Leaving...]
bluOxigen has joined #ruby
allcentury has joined #ruby
timonv^ has quit [Ping timeout: 272 seconds]
nanoyak has joined #ruby
sambao21 has joined #ruby
patrick99e99 has quit [Quit: Lost terminal]
thumpba has joined #ruby
rbennacer has joined #ruby
sambao21 has quit [Client Quit]
avahey91 has joined #ruby
Tricon has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
jmcharnes has quit [Quit: Textual IRC Client: www.textualapp.com]
rbennacer has quit [Remote host closed the connection]
thumpba_ has joined #ruby
tus has joined #ruby
terlar has joined #ruby
thumpba has quit [Remote host closed the connection]
bronson has joined #ruby
kenneth has joined #ruby
leafybasil has quit [Remote host closed the connection]
agjacome has joined #ruby
atmosx has joined #ruby
allcentury has quit [Ping timeout: 272 seconds]
thumpba_ has quit [Client Quit]
thumpba has joined #ruby
allcentury has joined #ruby
rbennacer has joined #ruby
ptrrr has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
Zai00 has quit [Quit: Zai00]
whoisjake has quit []
sambao21 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
sambao21 has quit [Client Quit]
tkuchiki has joined #ruby
wpp has quit [Quit: ZZZzzz…]
oivoodoo has joined #ruby
xewuvu has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
NivenHuH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
longfeet has joined #ruby
longfeet_ has joined #ruby
crueber has joined #ruby
uptownhr has quit [Quit: uptownhr]
asmodlol has joined #ruby
wallerdev has joined #ruby
oivoodoo has quit [Ping timeout: 255 seconds]
msgodf has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
martinium has quit [Remote host closed the connection]
josephnd1nton has joined #ruby
giuseppesolinas has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
revoohc has quit [Quit: revoohc]
sambao21 has joined #ruby
rbennacer has quit [Remote host closed the connection]
lamasnik has joined #ruby
RandyT has quit [Ping timeout: 240 seconds]
psy_ has joined #ruby
revoohc has joined #ruby
failshell has joined #ruby
rbennacer has joined #ruby
fgo has joined #ruby
blackmesa has joined #ruby
Ankhers has joined #ruby
rajeshchawla has joined #ruby
rbennacer has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
revoohc has quit [Client Quit]
cody-- has quit []
roshanavand has joined #ruby
dumdedum has quit [Quit: foo]
n008f4g_ has joined #ruby
rkalfane has joined #ruby
kl has joined #ruby
kl__ has joined #ruby
Hijiri has joined #ruby
larissa has joined #ruby
Tricon has joined #ruby
EminenceHC has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
Meeh has quit [Ping timeout: 272 seconds]
davidhq has joined #ruby
rbennacer has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
dkphenom has joined #ruby
grn has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Megtastique has joined #ruby
adamski2600 has joined #ruby
chthon has quit [Ping timeout: 264 seconds]
godd2 has quit [Remote host closed the connection]
muhendees has joined #ruby
<EminenceHC> I am looking for a command that when given date, rounds to the previous July 1st. For example: Date.new(2014,12,30).mystery_command >> 2014,07,01 What would I use to accomplish this?
josephnd1nton has quit [Ping timeout: 256 seconds]
giuseppesolinas has joined #ruby
|\|370 has joined #ruby
thatslifeson_ has joined #ruby
<jhass> don't think there's a premade method for that
grn has quit [Remote host closed the connection]
Meeh has joined #ruby
ranjib has joined #ruby
<jhass> I'd dig out the components and do manual checks, then reconstruct the date
<EminenceHC> jhass: I was thinking it would probably be a simple custom method but I am not sure how to go about it.
<GaryOak_> EminenceHC: It might be overkill but you could look at using https://github.com/seejohnrun/ice_cube
<jhass> get the year, month, check if month < 6, if so subtract one from year, reconstruct date with year and 6, 1
<ranjib> hi, anyone knows if theres a way to specify -- style free form arguments for sub commands in thor?
<EminenceHC> jhass: maybe use beginning_of_year, and then subtract the amount needed to get to july 1st?
michaeldeol has joined #ruby
<jhass> EminenceHC: beginning_of_year is an ActiveSupport method
kirun has joined #ruby
<ranjib> like how gem allows passing native flags with installing rubygems ( gem install nokogiri -- --with-xslt-dir=/home/foo/sw)
<jhass> EminenceHC: and I don't think that'll work
<EminenceHC> jhass ok
tyfighter has joined #ruby
Flcn has quit [Quit: Lingo: www.lingoirc.com]
thatslifeson has quit [Ping timeout: 264 seconds]
msgodf has quit [Remote host closed the connection]
LouisRoR has quit [Ping timeout: 264 seconds]
paulfm has quit [Quit: Zzzzz...]
yokel has quit [Ping timeout: 276 seconds]
<apeiros> EminenceHC: you'll have to check first whether this year's july 1st already passed
paulfm has joined #ruby
<centrx> FYI it's January
Pharaoh2 has quit [Ping timeout: 240 seconds]
<apeiros> or rather, the given date's
yokel has joined #ruby
srnty has joined #ruby
ta has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
cablanchard has quit []
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
roshanavand has quit [Ping timeout: 246 seconds]
SparkMasterTape is now known as DigitalDayTrader
Pharaoh2 has joined #ruby
<EminenceHC> aperios: That makes sense.
DigitalDayTrader is now known as SparkMasterTape
mikepack has quit [Remote host closed the connection]
ta has quit [Ping timeout: 272 seconds]
Sawbones_ has joined #ruby
kitofr has joined #ruby
failshell has quit []
ixti has quit [Ping timeout: 244 seconds]
TL has joined #ruby
djbkd has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
timonv_ has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
m8 has joined #ruby
mikepack has joined #ruby
josephnd1nton has joined #ruby
Porfirium has quit [Quit: Porfirium]
Sawbones_ has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
jenrzzz has quit [Ping timeout: 264 seconds]
iamninja has joined #ruby
recurrence has joined #ruby
giuseppesolinas has joined #ruby
<recurrence> Hello, I need to pass a class into a function. eg: do_something(StuffClass) . Then call StuffClass.create in the function. How would I go about doing that?
startupality has quit [Quit: startupality]
roshanavand has joined #ruby
silkfox has quit [Ping timeout: 276 seconds]
srnty has quit [Quit: srnty]
<recurrence> oh whoops, I had a different problem altogether. Fixed that and it’s working great, nevermind :)
SixiS has quit [Quit: SixiS]
wallerdev has quit [Quit: wallerdev]
liamkeily has joined #ruby
yokel has quit [Ping timeout: 252 seconds]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
govg has joined #ruby
giuseppesolinas has quit [Client Quit]
jhc76 has joined #ruby
yokel has joined #ruby
longfeet_ has quit [Quit: Leaving]
yokel has quit [Changing host]
yokel has joined #ruby
roshanavand has quit [Ping timeout: 265 seconds]
robertt_dex has quit [Remote host closed the connection]
ixti has joined #ruby
josephnd1nton has quit [Ping timeout: 256 seconds]
Lingo has joined #ruby
checkit has joined #ruby
djbkd has joined #ruby
towski_ has joined #ruby
wpp has joined #ruby
Lingo has quit [Read error: Connection reset by peer]
TL has quit [Ping timeout: 252 seconds]
towski_ has quit [Remote host closed the connection]
zacstewart has joined #ruby
Lingo has joined #ruby
samuel02 has joined #ruby
samuel02 has quit [Remote host closed the connection]
wallerdev has joined #ruby
MarkPaulFletcher has joined #ruby
Lingo has quit [Client Quit]
wald0 has quit [Quit: Lost terminal]
MarkPaulFletcher has quit [Client Quit]
reset has joined #ruby
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
liamkeily has quit [Quit: This computer has gone to sleep]
TL has joined #ruby
evanjs has quit [Remote host closed the connection]
marr has quit [Ping timeout: 245 seconds]
Xeago has quit [Ping timeout: 276 seconds]
silkfox has joined #ruby
seal has joined #ruby
JohnBat26 has joined #ruby
evanjs has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ranjib has quit [Ping timeout: 272 seconds]
leafybasil has joined #ruby
rkalfane has quit [Read error: Connection reset by peer]
andikr has quit [Remote host closed the connection]
rkalfane has joined #ruby
athan has joined #ruby
yokel has quit [Ping timeout: 255 seconds]
baweaver has joined #ruby
booly-yam-4014 has quit [Ping timeout: 276 seconds]
yokel has joined #ruby
ishikawa_ is now known as ishikawa
werelivinginthef has quit [Remote host closed the connection]
gfawcettpq1 has joined #ruby
martinium has joined #ruby
shazaum has joined #ruby
jenrzzz has joined #ruby
muhendees has quit [Quit: leaving]
jzigmund has quit [Ping timeout: 244 seconds]
leafybasil has quit [Ping timeout: 246 seconds]
lsmola has quit [Ping timeout: 255 seconds]
pdoherty has quit [Remote host closed the connection]
RandyT has joined #ruby
|\|370 has quit []
cpruitt has quit [Quit: cpruitt]
jzigmund has joined #ruby
cpruitt has joined #ruby
B1n4r10 has joined #ruby
Conner__ has joined #ruby
tyfighter has quit [Quit: tyfighter]
fgo has joined #ruby
towski_ has joined #ruby
uptownhr has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
Conner__ is now known as thatslifeson
thatslifeson_ has quit [Ping timeout: 245 seconds]
az7ar_away is now known as az7ar
fedalto has quit [Quit: leaving]
az7ar is now known as az7ar_away
az7ar_away is now known as az7ar
martinium has quit [Ping timeout: 252 seconds]
JBreit has joined #ruby
ranjib has joined #ruby
rkalfane has left #ruby ["Textual IRC Client: www.textualapp.com"]
az7ar is now known as az7ar_away
OrbitalKitten has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
<wallerdev> morning
leonshalimov has quit [Ping timeout: 265 seconds]
mattwildig has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 256 seconds]
blizzy has quit [Quit: Leaving]
blizzy has joined #ruby
ta has joined #ruby
diegoviola has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
crueber has quit [Quit: Leaving.]
crueber has joined #ruby
crueber has quit [Client Quit]
goshdarnyou has quit [Quit: Connection closed for inactivity]
baweaver has quit [Remote host closed the connection]
leonshalimov has joined #ruby
yfeldblum has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 245 seconds]
lsmola has joined #ruby
pietr0 has quit [Ping timeout: 264 seconds]
pietr0 has joined #ruby
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
commmmodo has joined #ruby
yokel has joined #ruby
ta has quit [Ping timeout: 276 seconds]
giuseppesolinas has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
Xeago has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
Xeago_ has joined #ruby
ndrei has joined #ruby
tyfighter has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gr33n7007h has joined #ruby
happyface has joined #ruby
<uptownhr> can someone breakdown this for me?
<uptownhr> looking at some code and trying to understand how the map portion works
<uptownhr> authorizations.map(&:allowed).flatten.uniq
<uptownhr> what would &:allowed do?
<centrx> &:allowed calls Symbol#to_proc on the :allowed Symbol
giuseppesolinas has quit [Client Quit]
<centrx> resulting in passing a block-equivalent "function" to map
<wallerdev> what would that code even do haha
<wallerdev> i imagine allowed would return a boolean
Xeago has quit [Ping timeout: 245 seconds]
<wallerdev> lol
giuseppesolinas has joined #ruby
jefus_ has joined #ruby
Ilyas has joined #ruby
delianid_ has joined #ruby
<uptownhr> what is to_proc?
<jhass> a method that's is called by the unary & operator
<wallerdev> lol i think you're just confusing him
<jhass> Symbol#to_proc returns a proc that basically looks like proc {|a| a.public_send(self) }
<uptownhr> :)
<wallerdev> authorizations.map(&:allowed) is basically the same as authorizations.map { |x| x.allowed }
<wallerdev> just a shorthand
<waxjar> uptownhr: map(&:allowed) behaves the same as map { |e| e.allowed }
<waxjar> >> :allowed.to_proc
<eval-in_> waxjar => #<Proc:0x422683f0> (https://eval.in/245378)
zacstewart has joined #ruby
larissa has quit [Quit: Leaving]
delianides has quit [Ping timeout: 244 seconds]
Megtastique has quit []
<uptownhr> thanks :)
<uptownhr> makes sense now
jefus has quit [Ping timeout: 244 seconds]
larissa has joined #ruby
last_staff has joined #ruby
lolmaus has joined #ruby
JimmyNeutron has joined #ruby
jespada has quit [Quit: Leaving]
Adran has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
icarus has joined #ruby
marco__ has joined #ruby
whoisjake has joined #ruby
bronson has joined #ruby
zacstewart has quit [Remote host closed the connection]
paulfm has quit [Read error: Connection reset by peer]
dc has joined #ruby
rbennacer has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
crack_user has joined #ruby
nanoyak has joined #ruby
<crack_user> hello guys
<crack_user> i am in trouble with charlock_holmes in osx
chuck_ has quit [Changing host]
chuck_ has joined #ruby
Zai00 has joined #ruby
chuck_ is now known as chuck
<crack_user> when I try install gem install charlock_holmes I get: "checking for main() in -licui18n... no"
Timgauthier has joined #ruby
<crack_user> and I already run "brew install icu4c"
<crack_user> any ideias?
Timgauthier is now known as timgauthier_away
timgauthier_away is now known as Timgauthier
PaulCapestany has quit []
zacstewart has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
dc has quit [Ping timeout: 252 seconds]
ta has joined #ruby
paulfm has joined #ruby
dc has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dc has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
PaulCapestany has joined #ruby
shazaum has quit [Quit: This computer has gone to sleep]
dc has joined #ruby
dc has quit [Remote host closed the connection]
mattwildig has joined #ruby
rbennacer has joined #ruby
defrang has joined #ruby
mikepack has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 245 seconds]
jefus_ is now known as jefus
dc has joined #ruby
<jenrzzz> crack_user: you have xcode command line tools installed?
dc has quit [Remote host closed the connection]
jefus has left #ruby ["Leaving"]
<crack_user> yep
thsig has quit []
PaulCapestany has quit [Client Quit]
rbennacer has quit [Remote host closed the connection]
dc has joined #ruby
dc has quit [Remote host closed the connection]
pdoherty has joined #ruby
CpuID has joined #ruby
dc has joined #ruby
dc has quit [Remote host closed the connection]
marco__ has quit [Quit: Leaving]
uptownhr has quit [Quit: uptownhr]
<jenrzzz> crack_user: is brew's icu4c linked into /usr/local or did you install it keg-only?
PaulCapestany has joined #ruby
kaspertidemann has joined #ruby
commmmodo has quit [Quit: commmmodo]
zB0hs has joined #ruby
PaulCapestany has quit [Client Quit]
josephnd1nton has joined #ruby
Zai00 has quit [Quit: Zai00]
dc has joined #ruby
ta has quit [Ping timeout: 276 seconds]
tkuchiki has joined #ruby
<crack_user> it is in /usr/local/opt/icu4c
PaulCapestany has joined #ruby
agjacome has quit [Quit: leaving]
timonv has joined #ruby
yfeldblum has joined #ruby
<jenrzzz> crack_user: did you try installing --with-icu-dir=/usr/local/opt/icu4c
<jenrzzz> bundle config build.charlock_holmes --with-icu-dir=/usr/local/opt/icu4c
zaza has joined #ruby
<crack_user> I tried to install the with "— --with-icu-dir=/usr/local/opt/icu4c" too
pmullin has joined #ruby
zaza has quit [Max SendQ exceeded]
workmad3 has joined #ruby
rodfersou has quit [Quit: leaving]
hdrv has quit [Quit: ZNC - http://znc.in]
<crack_user> yes, I did it
rbennacer has joined #ruby
gfawcettpq1 has quit [Ping timeout: 272 seconds]
Zai00 has joined #ruby
<jenrzzz> crack_user: huh. maybe try reinstalling icu4c then?
<jenrzzz> it sounds like it's finding the library but it's not what it expects
arup_r has quit [Quit: Leaving.]
recurrence has quit [Quit: recurrence]
startupality has joined #ruby
tkuchiki has quit [Ping timeout: 276 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
marr has joined #ruby
<crack_user> I tried reinstall too, and install with brew option —HEAD
<crack_user> but nothing work
daqo has joined #ruby
jheg has joined #ruby
JDiPierro has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 246 seconds]
pdoherty has quit [Remote host closed the connection]
JDiPierro has joined #ruby
<jheg> o/
<jheg> Is it possible to configure rvm so that when I go into an app dir it loads the ruby version and gemset and when I exit it returns to the default ruby and gemset?
workmad3 has quit [Ping timeout: 264 seconds]
SixiS has joined #ruby
rbennacer has quit [Ping timeout: 272 seconds]
n80_ has quit [Quit: n80_]
josephnd1nton has quit [Ping timeout: 276 seconds]
tyfighter has quit [Quit: tyfighter]
ndrei has joined #ruby
<jenrzzz> jheg: you can do that with `rbenv local` in rbenv... not sure if rvm does the same
anarang has joined #ruby
<crack_user> you can put put the .rvmrc file in your dir, or .ruby-version and .ruby-gemset
<jenrzzz> jheg: yeah, you can do rbenv with .ruby-version and .ruby-gemset
russt_ has joined #ruby
<jenrzzz> what crack_user said
LouisRoR has joined #ruby
russt has quit [Ping timeout: 264 seconds]
russt_ is now known as russt
pmullin has quit [Quit: Lingo: www.lingoirc.com]
<crack_user> any ideia about lib icu4c?
robbyoconnor has joined #ruby
<crack_user> my mkmf.log said "ld: library not found for -licui18n"
zacstewart has joined #ruby
<jheg> great thanks guys
fgo has joined #ruby
EminenceHC has quit [Remote host closed the connection]
red_horned_rihno has joined #ruby
yokel has quit [Ping timeout: 256 seconds]
claw has joined #ruby
pietr0_ has joined #ruby
ldnunes has quit [Quit: Leaving]
fryguy9 has quit [Read error: Connection reset by peer]
claw___ has quit [Ping timeout: 256 seconds]
fryguy9 has joined #ruby
thumpba has quit [Remote host closed the connection]
pietr0 has quit [Ping timeout: 272 seconds]
pietr0_ is now known as pietr0
yokel has joined #ruby
fgo has quit [Ping timeout: 256 seconds]
Peter__ has joined #ruby
timanema has quit [Quit: leaving]
Pharaoh2 has quit [Quit: Byebye]
dimaursu16 has quit [Ping timeout: 252 seconds]
timanema has joined #ruby
dblessing has joined #ruby
C1V0 has joined #ruby
evanjs has quit [Remote host closed the connection]
timanema has quit [Client Quit]
fdelacruz has joined #ruby
JBreit has left #ruby ["Leaving"]
wallerdev has quit [Quit: wallerdev]
mrogne has joined #ruby
ta has joined #ruby
ghr has joined #ruby
<crack_user> I solved my problem with "brew link --force icu4c"
Sawbones_ has joined #ruby
msgodf has joined #ruby
mrogne has left #ruby ["Textual IRC Client: www.textualapp.com"]
dfinning_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
evanjs has joined #ruby
fdelacruz has quit [Quit: ircII EPIC5-1.1.10 -- Are we there yet?]
pandaant has quit [Remote host closed the connection]
zacstewart has quit [Remote host closed the connection]
OrbitalKitten has quit [Read error: Connection reset by peer]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfinninger has quit [Ping timeout: 276 seconds]
OrbitalKitten has joined #ruby
mikepack has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 245 seconds]
yokel has joined #ruby
Sawbones_ has quit [Ping timeout: 252 seconds]
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
Ilyas has quit [Read error: Connection reset by peer]
pdoherty has joined #ruby
ta has quit [Ping timeout: 252 seconds]
whoisjake has quit []
msgodf has quit [Remote host closed the connection]
<shevy> I feel like breaking and shaking
jenrzzz has joined #ruby
antgel has joined #ruby
OrbitalKitten has quit [Ping timeout: 272 seconds]
dimaursu16 has joined #ruby
CpuID has quit [Client Quit]
baweaver has joined #ruby
giuseppesolinas has joined #ruby
commmmodo has joined #ruby
commmmodo has quit [Client Quit]
ascarter has joined #ruby
JDiPierro has quit [Read error: Connection reset by peer]
dseitz has joined #ruby
JDiPierro has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
commmmodo has joined #ruby
n1lo has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
bronson has joined #ruby
last_staff has quit [Remote host closed the connection]
tyfighter has joined #ruby
silkfox has quit [Ping timeout: 264 seconds]
chrishough has joined #ruby
goshdarnyou has joined #ruby
ghr has joined #ruby
tyfighter has quit [Client Quit]
baroquebobcat has joined #ruby
triple_b has joined #ruby
defrang has quit [Quit: defrang]
Megtastique has joined #ruby
silkfox has joined #ruby
defrang has joined #ruby
OrbitalKitten has joined #ruby
baweaver has quit [Remote host closed the connection]
govg has quit [Ping timeout: 264 seconds]
roshanavand has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
buzzer_ has joined #ruby
<buzzer_> anyone get this error ? /var/lib/gems/1.9.1/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout/unix.rb:337:in `kill': no implicit conversion from nil to integer (TypeError)
ghr has quit [Ping timeout: 244 seconds]
Peter__ is now known as PNDPO
<buzzer_> just updated mixlib::shellout from 1.4, but same problem....
giuseppesolinas has quit [Quit: This computer has gone to sleep]
govg has joined #ruby
OrbitalKitten has quit [Client Quit]
startupality has quit [Quit: startupality]
thumpba has joined #ruby
GaryOak_ has quit []
PNDPO has quit [Remote host closed the connection]
dfinning_ has quit [Remote host closed the connection]
dfinninger has joined #ruby
mloveless has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 245 seconds]
<shevy> hmm the beach boys sung wouldn't it be mice
defrang has quit [Quit: defrang]
hrs has joined #ruby
GaryOak_ has joined #ruby
SixiS has quit [Quit: SixiS]
delianid_ has quit [Remote host closed the connection]
reset has quit [Ping timeout: 255 seconds]
recurrence has joined #ruby
dfinninger has quit [Ping timeout: 255 seconds]
shime has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
wodla00 has joined #ruby
lamasnik has quit [Ping timeout: 272 seconds]
decoponio has quit [Quit: Leaving...]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
grubernaut has joined #ruby
n1lo has quit [Quit: Leaving]
tercenya has joined #ruby
TL has quit [Ping timeout: 265 seconds]
<grubernaut> hello LazyWeb... I need to stringify hash keys before dumping to yaml. Any good ways to do this other than mapping the keys to strings manually before dumping the new hash?
Spami has quit [Quit: This computer has gone to sleep]
martinium has joined #ruby
<grubernaut> new_hash = Hash[ myhash.map { |k, v| [ k.to_s, v.to_s ] } ]
<centrx> Who you calling LazyWeb!
claw_ has joined #ruby
<grubernaut> is what I have so far... And it works
<grubernaut> haha
<centrx> it looks like JSON already stringifies symbol keys? is this some other kind of key
claw has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
<apeiros> json? they said yaml, no?
<centrx> oh
<centrx> u guyz r smrt
<grubernaut> yeah, I'm parsing in YAML into a hash. This is done in a gem that's out of scope. So I have a local hash that is in the form of ":key => value" instead of "string" => "value"
<apeiros> grubernaut: if it's rails: hash.stringify_keys
<apeiros> if it's not rails: get the source of rails' stringify_keys
<grubernaut> apeiros: unfortunately not rails
kaspertidemann has quit []
<grubernaut> ah, stringify_keys calls transform_keys
<centrx> grubernaut, stringify_keys is in ActiveSupport, you can use the ActiveSupport gem separately from Rails, just add that to your project if you want
<grubernaut> hoping to not add any gems, as it's for remote hosts through TK
martinium has quit [Ping timeout: 240 seconds]
OrbitalKitten has joined #ruby
<apeiros> IMO hash.map { |k,v| [k.to_s, v.to_s] }.to_h is fine (or as you did with Hash[])
<grubernaut> ya, was just hoping for an "easier softer way"
<grubernaut> to_h is only avail on >2.0 I think
treehug88 has quit [Ping timeout: 244 seconds]
hyperdrive has joined #ruby
zacstewart has joined #ruby
hyperdrive has quit [Changing host]
hyperdrive has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fgo has joined #ruby
treehug88 has joined #ruby
vdamewood has joined #ruby
giuseppesolinas has joined #ruby
Urocyon is now known as sfiggins
commmmodo has quit [Quit: commmmodo]
kitofr has quit [Ping timeout: 244 seconds]
omosoj has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
djbkd has quit [Remote host closed the connection]
hrs has quit [Quit: Textual IRC Client: www.textualapp.com]
Lildirt has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
conniemj has joined #ruby
kitofr has joined #ruby
niftylettuce has quit [Quit: Connection closed for inactivity]
yokel has joined #ruby
blizzy has quit [Read error: Connection reset by peer]
blizzy has joined #ruby
PNDPO has joined #ruby
Sawbones_ has joined #ruby
lamasnik has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
pdoherty has quit [Remote host closed the connection]
paulfm has joined #ruby
<apeiros> grubernaut: yes. to_h is 2.0+. unless otherwise stated, I assume newest ruby.
uptownhr has joined #ruby
pdoherty_ has joined #ruby
n80_ has joined #ruby
reset has joined #ruby
OrbitalKitten has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 240 seconds]
OrbitalKitten has joined #ruby
hyperdrive is now known as hdrv
<claw_> anybody know a good gem for aggregating time series data ?
Sawbones_ has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
<uptownhr> anyoine know why my guard will not pick up new files?
<uptownhr> all the other files are being detected upon change but not new files
<uptownhr> i’ve tried restarting but no luck
dstarh has joined #ruby
PNDPO has quit [Remote host closed the connection]
CpuID has joined #ruby
CpuID has joined #ruby
<uptownhr> nvm
<uptownhr> had a naming convetion error
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
meschi has joined #ruby
maximski has quit []
Tricon has quit [Ping timeout: 272 seconds]
leafybasil has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 255 seconds]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
djbkd has joined #ruby
julio has joined #ruby
julio has quit [Client Quit]
mattwildig has quit []
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anarang has quit [Quit: Leaving]
zacstewart has quit [Remote host closed the connection]
PNDPO has joined #ruby
PNDPO has quit [Client Quit]
cpruitt has quit [Quit: cpruitt]
ByronJohnson has joined #ruby
ixti has joined #ruby
leonshalimov has quit [Ping timeout: 245 seconds]
olivier_bK has joined #ruby
Adran has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
OrbitalKitten has joined #ruby
<ByronJohnson> Hypothetical Ruby question: If module Mod has singleton methods (module Mod; class << self; def foo; ...), is it possible to include the module's *singleton methods* into another module, Foo? (In this hypothetical case, the singleton methods aren't moved into instance methods inside a module, e.g. with the ClassMethods idiom.)
yokel has quit [Ping timeout: 240 seconds]
Porfirium has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
defrang has joined #ruby
kaspertidemann has joined #ruby
Hijiri has quit [Ping timeout: 264 seconds]
<wallerdev> good question
asmodlol has quit [Quit: Leaving]
Hijiri has joined #ruby
alex88 has joined #ruby
<apeiros> ByronJohnson: no
<wallerdev> good answer
<wallerdev> lol
<apeiros> include/extend both only work on instance methods
leonshalimov has joined #ruby
<apeiros> well, and prepend
* apeiros keeps forgetting about that
workmad3 has joined #ruby
jerius has quit [Remote host closed the connection]
<apeiros> there's only one thing which can share singleton methods: classes, through inheritance.
jerius has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
DrCode has quit [Read error: Connection reset by peer]
St_Marx has quit [Write error: Connection reset by peer]
iamninja has quit [Read error: Connection reset by peer]
havenwood has quit [Read error: Connection reset by peer]
zwer_e has quit [Write error: Connection reset by peer]
Ankhers has quit [Write error: Connection reset by peer]
ishikawa has quit [Write error: Connection reset by peer]
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
icbm has quit [Quit: Computer sleeping]
maletor has joined #ruby
argoneus has joined #ruby
<argoneus> hello there gentlemen
<argoneus> is there anything like SDL for Ruby? something that'd let me draw to a canvas, I need to draw a small tilemap
nanoyak has quit [Quit: Computer has gone to sleep.]
liamkeily has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
buzzer_ has quit [Ping timeout: 246 seconds]
zwer has joined #ruby
<Cat_1> in a browser or client-side?
<wasamasa> argoneus: gosu wraps sdl
conniemj_ has joined #ruby
<argoneus> actually, it doesn't matter
<argoneus> I'm fine with both
workmad3 has quit [Ping timeout: 246 seconds]
<argoneus> maybe browser could be cool
<argoneus> but then I'd probably rather use javascript, no?
<argoneus> or is ruby viable as a front end language
conniemj has quit [Read error: Connection reset by peer]
orangerobot has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<argoneus> wasamasa: but that's a game engine
<argoneus> so it probably has things I don't need
<argoneus> but thanks, I'll check it out if there's nothing better
ta has joined #ruby
<wasamasa> generally, you'll probably find wrappers for sdl
<wasamasa> maybe cairo (which is a 2d drawing API with lots of backends supported)
<argoneus> oh, I can use Ruby/SDL
<argoneus> nice!
<argoneus> thanks
<argoneus> is there anything good for browser btw?
bronson has joined #ruby
DadoCe has joined #ruby
paulfm has quit [Quit: Goodbye]
jimmyhoughjr has joined #ruby
blackoperat has quit [Ping timeout: 264 seconds]
ishikawa has joined #ruby
Hijiri has quit [Ping timeout: 240 seconds]
soxet has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby
tkuchiki has joined #ruby
<orangerobot> Hello. I need something to define what parameters a class's constructor can take. I 've built a module called HashInit (where I define what attributes this constructor takes, whether or not they're required, what types they should be and so on) but I wonder whether there's something else in ruby that more people use. Any one got any suggestions?
C1V0 has quit []
zacstewart has joined #ruby
mrmargolis has quit [Read error: Connection reset by peer]
mrmargolis has joined #ruby
<wasamasa> argoneus: hmm, I've heard of opal
dkphenom has joined #ruby
dkphenom has quit [Client Quit]
bronson has quit [Ping timeout: 244 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kamilc__ has joined #ruby
kamilc__ has quit [Client Quit]
DadoCe has quit [Ping timeout: 264 seconds]
tyfighter has joined #ruby
mrmargolis has quit [Read error: Connection reset by peer]
spider-mario has quit [Read error: Connection reset by peer]
Porfirium has quit [Quit: Porfirium]
mrmargolis has joined #ruby
aclearman037 has quit [Quit: I'm out!]
evanjs has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 264 seconds]
<crack_user> hello guys
spyderman4g63 has quit [Ping timeout: 240 seconds]
iamninja has joined #ruby
Ankhers has joined #ruby
postmodern has joined #ruby
Prometheian has joined #ruby
<havenwood> Nice to see JRuby 9.0.0.0.pre1 released! \o/
icarus has quit [Remote host closed the connection]
nanoyak has joined #ruby
<havenwood> ruby-install jruby 9.0.0.0.pre1 --md5 d5c8b30648348aa883f893d464d46bf1
<crack_user> when I run bundle install I get "An error occurred while installing therubyracer (0.10.2), and Bundler cannot continue.
<crack_user> Make sure that `gem install therubyracer -v '0.10.2'` succeeds before bundling."
<crack_user> but when I run `gem install therubyracer -v '0.10.2'` it works
<crack_user> any ideia?
havenwood has quit []
znst` has quit [Ping timeout: 264 seconds]
silkfox has quit [Ping timeout: 272 seconds]
danman has joined #ruby
zacstewart has quit []
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JDiPierro has quit [Remote host closed the connection]
<orangerobot> crack_user: have you checked these links? http://lmgtfy.com/?q=an+error+occurred+while+installing+therubyracer
wpp has quit [Quit: ZZZzzz…]
arescorpio has joined #ruby
AFKGeek has joined #ruby
fgo has joined #ruby
St_Marx has joined #ruby
einarj has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<crack_user> every single one
<crack_user> thx for the help
soxet has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has joined #ruby
michaeldeol has joined #ruby
<crack_user> I did not know how to use google -_-
werelivinginthef has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mloveless has joined #ruby
<orangerobot> crack_user: you'd be surprised. I think the best option for you might to just use nodejs instead
<orangerobot> unless you have a strong reason to use that
totimkopf has joined #ruby
<crack_user> I actualy could install therubyrace with "gem install therubyracer -v '0.10.2"
<crack_user> but when I put in bundle with the same version it raise the error "Make sure that `gem install therubyracer -v '0.10.2'` succeeds before bundling."
DrCode has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
kitofr has quit [Ping timeout: 245 seconds]
<crack_user> for me it does not make much sense
thesheff17 has joined #ruby
<orangerobot> crack_user: replace it by nodejs
diegoviola has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
werelivinginthef has quit [Ping timeout: 245 seconds]
diegoviola has quit [Client Quit]
diegoviola has joined #ruby
recurrence has quit [Quit: recurrence]
odin22 has quit [Read error: Connection reset by peer]
PhilK_ is now known as PhilK
dc has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
totimkopf is now known as garbagepailkid
garbagepailkid is now known as GarbagePailKid
jerius has quit []
kitofr has joined #ruby
Joufflu has joined #ruby
odin22 has joined #ruby
n80_ has quit [Quit: n80_]
baweaver has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
Tricon has joined #ruby
nfk has quit [Quit: yawn]
it0a has quit [Quit: WeeChat 1.1]
<orangerobot> i need a gem that can help me parse arguments passed to a method via *args. I have a system in place but I've made it myself so I thought there could be a more stable version in a gem or something. Basically I want to do with method arguments the same that is done with command-line arguments with the various command line options parsers.
<orangerobot> For example, define what arguments are required, which are optional, what types they should be and so on. It's for a DSL.
<orangerobot> Has anyone got any ideas?
olivier_bK has quit [Ping timeout: 276 seconds]
recurrence has joined #ruby
danman has quit [Quit: danman]
martinium has joined #ruby
doodlehaus has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 264 seconds]
asteros has joined #ruby
AFKGeek has quit [Ping timeout: 244 seconds]
triple_b has quit [Ping timeout: 245 seconds]
<shortdudey123> orangerobot: ^^
ascarter has joined #ruby
workmad3 has joined #ruby
ascarter has quit [Max SendQ exceeded]
blackoperat has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has quit [Remote host closed the connection]
<orangerobot> shortdudey123: I know trollop but this project i'm working on is no CLI project. There are a few methods with undefined parameter lists (*args) and I need to parse whatever arguments are used in that method call
martinium has quit [Ping timeout: 256 seconds]
<shortdudey123> so an arg parser for internal code use?
<orangerobot> yes! shortdudey123
<shortdudey123> ah
kenneth has joined #ruby
<orangerobot> i can make my own but i wanted to see whether someone has come across this already
<jhass> why not define a proper API
<jhass> easier for both sides
<apeiros> +1
<shortdudey123> +1
thiagovsk__ has quit [Quit: Connection closed for inactivity]
shime has joined #ruby
<orangerobot> i think I'm too early in the project to cement things like that
<orangerobot> i'm still experimenting to see what are good parameters
brb3 has quit [Quit: <.<]
<shortdudey123> if you don't start early, its a pain to do later on when you have stuff already coded in :)
ali__ has joined #ruby
<jhass> defined != cemented
<jhass> you can always change stuff
<wallerdev> i just use *args for everything, very flexible
<wallerdev> :p
<jhass> and with a proper API you get errors messages in places you forgot to update as a bonus
<wallerdev> really your unit tests should verify that you pass the right parameters
byteoverfl0w has joined #ruby
elfuego has joined #ruby
ghr has joined #ruby
<elfuego> does ruby typically behave the same on mac os and ubuntu?
<wallerdev> yup
<orangerobot> yes but do you just do thi http://stackoverflow.com/questions/9649604/most-concise-elegant-appropriate-method-argument-parsing-in-ruby or have you built something more precise for your needs wallerdev
<wallerdev> windows is usually where you run into problems with gems and people assuming you are on a unix based system
leafybasil has joined #ruby
<wallerdev> well ruby has keyword arguments now if you want to use that strategy
<jhass> I think you worry about something there's nothing to worry about
<jhass> do what you need for the moment, expand as you go along, refactor and reiterate when you're done
d10n-work has quit [Quit: Connection closed for inactivity]
wei_au has quit []
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<orangerobot> hmmmm. well thanks any way jhass wallerdev shortdudey123 apeiros
djbkd has joined #ruby
ramfjord has joined #ruby
dc has joined #ruby
Prometheian has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
fryguy91 has joined #ruby
gigetoo has joined #ruby
tubuliferous has joined #ruby
fryguy9 has quit [Ping timeout: 255 seconds]
chipotle has joined #ruby
rbennacer has joined #ruby
alex88 has quit []
werelivinginthef has quit [Remote host closed the connection]
leafybasil has quit [Ping timeout: 272 seconds]
tyfighter has quit [Quit: tyfighter]
Megtastique has quit []
fedalto has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
daqo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
charliesome has joined #ruby
tsyn has joined #ruby
avahey91 has quit [Quit: Connection closed for inactivity]
lmickh has quit [Remote host closed the connection]
josephndenton has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
tsyn has left #ruby [#ruby]
ellisTAA has joined #ruby
<ellisTAA> i’ve got a small problem in my code but i can’t seem to make it work. anyone able to help me out??
leonshalimov has quit [Ping timeout: 264 seconds]
Zai00 has quit [Quit: Zai00]
leonshalimov has joined #ruby
greenbagels has joined #ruby
_2_gamer has joined #ruby
<_2_gamer> hi
_2_gamer has quit [Remote host closed the connection]
<jhass> ellisTAA: the last expression of a method is its return value
<jhass> in your case idx += 1
tzero has left #ruby ["WeeChat 0.4.3"]
<jhass> whatever that's doing there anyway
kitofr has quit [Ping timeout: 264 seconds]
<wallerdev> probably meant to put idx += 1 inside the map
<ellisTAA> jhass: that’s what i figured, i’m trying to get the idx variable to increment. do u know where i’m going wrong with this? thanks for taking the time to look at it
<jhass> I just said where you are going wrong
Eiam_ has joined #ruby
<ellisTAA> do u know where i’d put the idx += 1
djbkd has joined #ruby
<wallerdev> lol
byteoverfl0w has quit [Ping timeout: 244 seconds]
<ellisTAA> i tried several areas and got various error messages
daqo has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
<wallerdev> you understand the map do .. end is a loop right?
<wallerdev> it will run once per item in your list
monq has joined #ruby
crack_user has quit [Quit: Leaving.]
leonshalimov has quit [Ping timeout: 272 seconds]
<ellisTAA> yeah i understand it is a loop, but if i put idx += 1 after end.join(“ “) will it not see it until after?
pdoherty_ has quit [Remote host closed the connection]
mrmargolis has quit [Remote host closed the connection]
<wallerdev> yeah if you had 100 items in your list, map would run 100 times, then call join on the results, and then call idx += 1
devdazed has quit [Quit: Computer has gone to sleep.]
<ellisTAA> ah thanks …
n80_ has joined #ruby
<wallerdev> you might want to split it up into more lines of code while you figure out the concepts
<wallerdev> makes things simpler
charliesome has quit [Quit: zzz]
benlieb has joined #ruby
<vandemar> ellisTAA: wouldn't this work? http://paste.ubuntu.com/9799255/
monq has quit [Client Quit]
ARCADIVS has joined #ruby
<wallerdev> like books = @book.split(" "); capitalized_books = books.map do |x| ... end; result = capitalized_books.join(" ")
<wallerdev> vandemar: lol suggesting the opposite of what i suggested
x77686d has joined #ruby
<ellisTAA> vandemar: that returns a string of true false satements
<wallerdev> if someones learning theres no need to put so much code in such a compact way
<benlieb> Can anyone recommend a book about best practices for writing high performance code?
<ellisTAA> wallerdev: thanks
lampd1 has joined #ruby
djbkd has quit [Remote host closed the connection]
<wallerdev> benlieb: change languages haha
<benlieb> any language
<benlieb> will do I guess
<atmosx> Guys what do you think about this job posting: https://weworkremotely.com/jobs/1199
<wallerdev> just any book on data structures and algorithms
<benlieb> I was just asked a question in an interview to write an algorithm to calculate all elements which equal a number sum2([2,4,3,1,5,7],6) = [[2,4],[1,5]]
fgo has joined #ruby
<wallerdev> choosing the right data structure is where most performance gains come from
<vandemar> ellisTAA: yeah forgot parens sorry
<wallerdev> so learning those and when to apply them is best
djbkd has joined #ruby
<benlieb> The interviewer said I should use a hash to keep track of what numbers I had "seen", as that's faster than looking up values in an array.
<wallerdev> yeah storing things in hashes is pretty much the answer to 99% of interview questions
<wallerdev> lol
Sawbones_ has joined #ruby
<jhass> benlieb: just use Crystal :P
nanoyak has quit [Quit: Computer has gone to sleep.]
<wallerdev> dat O(1) lookup
<wallerdev> you could read up on memoization for problems like that though
defrang has quit [Quit: defrang]
<ellisTAA> i was going to buy this book: Cracking the Coding Interview: 150 Programming Questions and Solutions www.valorebooks.com/textbooks/cracking-the-coding-interview-150-programming-questions-and-solutions-5th-revised-enlargedth-edition/9780984782802#default=buy&utm_source=Froogle&utm_medium=referral&utm_campaign=Froogle&date=01/20/15
<wallerdev> ive read through some of that one i think
m8 has quit [Quit: Sto andando via]
<benlieb> ellisTAA: that sounds like a good thing to read
<wallerdev> yeah thats a good book
<wallerdev> especially all the nontechnical stuff it goes over
<wallerdev> really enjoyed reading through that to prep
omosoj has quit [Quit: leaving]
fgo has quit [Ping timeout: 264 seconds]
nanoyak has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sawbones_ has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
freerobby has quit [Quit: Leaving.]
oleo is now known as Guest88962
oleo__ has joined #ruby
freerobby has joined #ruby
djbkd has quit [Remote host closed the connection]
scripore has joined #ruby
charliesome has joined #ruby
nateberkopec has quit [Quit: Leaving...]
mac__ has joined #ruby
djbkd has joined #ruby
<ellisTAA> i’m trying to get my code to not capitalize articles unless they are the first word in a string. can anyone help me add this exception to my code?? https://gist.github.com/ellisTAA/10239726d030a474239d i can’t seem to figure it out
Guest88962 has quit [Ping timeout: 245 seconds]
scripore has quit [Client Quit]
mac__ has quit [Client Quit]
scripore has joined #ruby
freerobby has quit [Client Quit]
leafybasil has joined #ruby
codecop has quit [Remote host closed the connection]
marr has quit [Ping timeout: 245 seconds]
<wallerdev> ellisTAA: you were close before
<ellisTAA> ><
baweaver has joined #ruby
<wallerdev> try adding some puts statements in your method
<wallerdev> like output the value of idx inside map and things likethat
<ellisTAA> hmm ok
<wallerdev> youll get a good understanding of where things might be going wrong
<ellisTAA> thanks
LouisRoR has quit [Ping timeout: 245 seconds]
adamski2600 has quit []
<vandemar> ellisTAA: this one's actually half tested: http://paste.ubuntu.com/9799400/
Xeago_ has quit [Remote host closed the connection]
Ulrike_Rayne is now known as Ulrk_Ryn
evanjs has joined #ruby
Ulrk_Ryn is now known as Lrk_Ryn
hiyosi has joined #ruby
<ellisTAA> what do u mean half tested? like half passed?
Guest58270 is now known as bakis
Lrk_Ryn is now known as Ulrike_Rayne
zorak8 has joined #ruby
bakis has quit [Changing host]
bakis has joined #ruby
<wallerdev> vandemar: ???
_djbkd has joined #ruby
<wallerdev> what is line 6 doing
<wallerdev> lol
adriancb has quit [Remote host closed the connection]
ddd has quit [Quit: goddamn I hate dual booting sometimes. unclean windows fs, can't mount when I need it]
Xeago has joined #ruby
diegoviola has quit [Remote host closed the connection]
<vandemar> it's only redundant if it's not an article.
icebourg has quit []
djbkd has quit [Read error: Connection reset by peer]
evanjs has quit [Read error: Connection reset by peer]
<wallerdev> line 6 does nothing
evanjs has joined #ruby
<vandemar> sigh. capitalize!
Xeago has quit [Remote host closed the connection]
elfuego has quit [Quit: elfuego]
<wallerdev> lol
<wallerdev> dont use ! methods
kaspertidemann has quit []
<vandemar> well I haven't seen any other great ideas other than ugly use of indices
<wallerdev> .map.with_index would work
<wallerdev> simple enough
snath has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CpuID has joined #ruby
benlieb has joined #ruby
akas has joined #ruby
Tricon has quit [Ping timeout: 255 seconds]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
Joufflu has quit [Quit: Peace]
ghr has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
benlieb has quit [Quit: benlieb]
_djbkd has quit [Remote host closed the connection]
bronson has joined #ruby
<ellisTAA> how does with_index work?
ghr has quit [Ping timeout: 245 seconds]
scripore has quit [Quit: This computer has gone to sleep]
nuck has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
djbkd has joined #ruby
<otertore> >> articles = %w(to and in the of a an); "the man in the iron mask".split(' ').with_index.map{|w,i| i == 0 || !articles.include?(w) ? w.capitalize : w }
<eval-in_> otertore => undefined method `with_index' for ["the", "man", "in", "the", "iron", "mask"]:Array (NoMethodError) ... (https://eval.in/245461)
<wallerdev> close
<otertore> >> articles = %w(to and in the of a an); "the man in the iron mask".split(' ').map.with_index{|w,i| i == 0 || !articles.include?(w) ? w.capitalize : w }
<eval-in_> otertore => ["The", "Man", "in", "the", "Iron", "Mask"] (https://eval.in/245462)
<otertore> .join(' ')
<wallerdev> but he should be able to do it with idx = 0 etc
<wallerdev> not gonna learn anything copying and pasting a more advanced solution haha
<otertore> no, he's not
nuck has joined #ruby
<otertore> what ellisTAA needs to learn is the difference between mutating an object vs getting a new one in return
znst` has joined #ruby
<otertore> oh nm, he's got that figured out already
allcentury has joined #ruby
klmlfl has quit [Remote host closed the connection]
<ellisTAA> i just dont get why i can’t increment idx = 0 …
klmlfl has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
<wallerdev> add some "puts" statements to check the value of it after you increment it
<otertore> that's not the problem
<wallerdev> should be able to see why its not working
<otertore> the problem is with the boolean logic
<ellisTAA> wallerdev: not sure what u mean or how that would help
<wallerdev> puts "the value of idx right now is: " + idx.to_s
<wallerdev> if you put that in your first solution youll see that the value starts at 0
workmad3 has quit [Ping timeout: 244 seconds]
<wallerdev> and gets incremented to 1 at the end of the method
<wallerdev> which isnt what you want, you want it to increment multiple times
jheg has quit [Quit: jheg]
JDiPierro has joined #ruby
<wallerdev> so then you can add some more puts statements to figure out what part of your code runs multiple times
<wallerdev> then stick idx there
<wallerdev> idx += 1
delianides has joined #ruby
<wallerdev> just take it one step at a time
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ellisTAA> yeah i’m getting this effed up error message; https://gist.github.com/ellisTAA/10239726d030a474239d
orangerobot has quit [Quit: Page closed]
znst` has quit [Ping timeout: 245 seconds]
<wallerdev> what error message?
<vandemar> ellisTAA: you need () around articles.include? x
juanpablo_ has quit [Quit: (null)]
<ellisTAA> the error messages start on line 91 of gist
<wallerdev> it just says failures and lists the tests that are failing?
juanpablo_ has joined #ruby
einarj has quit [Remote host closed the connection]
<ellisTAA> ah. i guess i meant my code is producing those results instead of the expected outcome…
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> well run through your code in your head
<wallerdev> you should get the "got" result
<wallerdev> and reason from there what your algorithm is doing wrong
<ellisTAA> holy shit. by adding parentheses around articles.include? x my code passes all the tests … but why??
<atmosx> ellisTAA: wait
<wallerdev> oh lol
<wallerdev> yeah i guess it does parse that wrong
delianides has quit [Ping timeout: 245 seconds]
<wallerdev> articles.include?(x && idx > 0)
<ellisTAA> this code works: https://gist.github.com/ellisTAA/10239726d030a474239d … i just dont get wh
<ellisTAA> why*
greenbagels has quit [Quit: Leaving]
<wallerdev> when you left out the parenthesis it thought you were passing in what i listed
<ellisTAA> huh?
fedalto has quit [Quit: Leaving]
<vandemar> ellisTAA: operator precedence