apeiros changed the topic of #ruby to: Ruby 2.0.0-p353: http://ruby-lang.org (Ruby 1.9.3-p484) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
heidi has quit [Excess Flood]
Soliah has joined #ruby
Davey has joined #ruby
heidi has joined #ruby
heidi has quit [Client Quit]
froy has joined #ruby
heidi has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
magoo has joined #ruby
lfox has joined #ruby
<bnagy> don't use classes as data containers :<
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takehiro has quit [Ping timeout: 240 seconds]
Takehiro has joined #ruby
tharindu has quit [Read error: Operation timed out]
s2013 has joined #ruby
rickruby has joined #ruby
bklane_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
moneydouble has quit [Quit: Leaving.]
mojjojo has quit [Quit: mojjojo]
tharindu has joined #ruby
mojjojo has joined #ruby
dachi has joined #ruby
drag00n has quit [Ping timeout: 272 seconds]
Takehiro has quit [Remote host closed the connection]
pel_daniel has joined #ruby
Leighton has quit [Quit: leaving]
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
Monie has quit [Read error: Connection reset by peer]
<bricker`work> bnagy: How would you do structure this?
<bricker`work> bnagy: I guess I could just use instances of Feature, eh?
<Radar> Why not a hash?
b00stfr3ak has quit [Ping timeout: 245 seconds]
tsykoduk is now known as zz_tsykoduk
kofno_ has joined #ruby
<bricker`work> Radar: eh
nhhagen has quit [Ping timeout: 252 seconds]
<bricker`work> Radar: the data is a little to complex for that to be a better idea
<Radar> I don't know what you're even trying to do.
robbyoconnor has joined #ruby
<bricker`work> Radar: Doesn't matter, I'm using instances of Feature, all is good now
zerign has joined #ruby
<Radar> `ok
<bricker`work> thanks
pel_daniel has left #ruby [#ruby]
ravster has left #ruby [#ruby]
tedstrik_ has joined #ruby
ambushsabre has joined #ruby
fgo_ has joined #ruby
pleal has joined #ruby
cpruitt has quit [Quit: cpruitt]
<bnagy> how is it 'complex'?
<bnagy> if it doesn't have instance methods it shouldn't be a class
Mars` has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 246 seconds]
Cheos has quit [Read error: Connection reset by peer]
<bnagy> also, OpenStruct, if you really really want obj.whatever
VTLob has quit [Quit: VTLob]
blackmes1 has quit [Ping timeout: 240 seconds]
gyre007 has joined #ruby
vky has quit [Ping timeout: 245 seconds]
aspires has quit []
raar has joined #ruby
raar is now known as Guest64176
harrymoreno has quit [Quit: harrymoreno]
s2013 has quit [Remote host closed the connection]
heidi has quit [Quit: Leaving.]
sparrovv has joined #ruby
benwoody has quit [Quit: benwoody]
ephemerian has quit [Quit: Leaving.]
Kricir has quit [Ping timeout: 272 seconds]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vpretzel has quit [Quit: Adios!]
mojjojo has quit [Quit: mojjojo]
bklane has joined #ruby
weszlem has quit []
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
nisstyre has quit [Ping timeout: 240 seconds]
pedda has joined #ruby
mikeg has joined #ruby
mikeg has quit [Remote host closed the connection]
matheuscaceres has quit [Ping timeout: 272 seconds]
sleepee has joined #ruby
slacko25328 has joined #ruby
dachi has quit [Ping timeout: 250 seconds]
freerobby has quit [Ping timeout: 248 seconds]
slacko25328 has quit [Remote host closed the connection]
tharindu has quit [Ping timeout: 272 seconds]
theKayhan has joined #ruby
aspires has joined #ruby
s2013 has joined #ruby
gyre007 has quit [Remote host closed the connection]
Reach has quit [Remote host closed the connection]
moneydouble has joined #ruby
amacgregor has joined #ruby
jlast_ has quit [Remote host closed the connection]
predator117 has joined #ruby
jlast has joined #ruby
realDAB has quit [Quit: realDAB]
amacgregor_ has quit [Read error: Connection reset by peer]
mansi has joined #ruby
hogeo has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 272 seconds]
iajrz has left #ruby [#ruby]
ereslibre has joined #ruby
burlyscudd has quit [Quit: Leaving.]
nhhagen has joined #ruby
predator217 has quit [Ping timeout: 264 seconds]
moneydouble has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 246 seconds]
withnale has quit [Ping timeout: 272 seconds]
nisstyre has joined #ruby
MonsieurApple has quit [Ping timeout: 260 seconds]
moneydouble has joined #ruby
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
dachi has joined #ruby
ehc has left #ruby [#ruby]
jonahR has joined #ruby
alexparker has joined #ruby
moneydouble has quit [Ping timeout: 265 seconds]
deanrock has quit [Ping timeout: 246 seconds]
asteros has quit [Quit: asteros]
nhhagen has quit [Ping timeout: 272 seconds]
clevermatt has joined #ruby
reset has joined #ruby
havenwood has joined #ruby
Kricir has joined #ruby
petey has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
heidi has joined #ruby
harrymoreno has joined #ruby
asteros has joined #ruby
ambushsabre has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 248 seconds]
Kricir has quit [Ping timeout: 264 seconds]
athst has quit [Quit: athst]
robustus has joined #ruby
nari_ has quit [Ping timeout: 264 seconds]
lmickh has quit [Quit: lmickh]
Leighton has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
withnale has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scottstamp is now known as zz_scottstamp
monkegjinni has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 272 seconds]
<icy`> hm, how good is ruby2c
<icy`> hypothetically, could one write an OS in Ruby and then generate C and boot it up?
Nogbit has quit [Quit: Leaving.]
<bnagy> o_0
* rjhunter boggles.
sevenseacat has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
bugsinlights has joined #ruby
julian-delphiki has joined #ruby
<icy`> still all beta-mode... nvm
ukd1 has joined #ruby
<ukd1> does anyone know of a ruby lib to create image files and set pixels?
bean__ has joined #ruby
tkuchiki has joined #ruby
alexparker has quit [Quit: alexparker]
<rjhunter> ukd1: I'm not sure exactly what you're looking for, but the Ruby Toolbox is often helpful for browsing what's out there: https://www.ruby-toolbox.com/categories/image_processing
bean has quit [Ping timeout: 245 seconds]
tenjack has quit [Remote host closed the connection]
asteros has quit [Quit: asteros]
heidi has quit [Quit: Leaving.]
<ukd1> rjhunter, cool - will check it out. I want to visualize a queue over time, basically a pixel per minute per job. It's really simple, if I can find a nice lib :)
julian-delphiki has quit [Ping timeout: 272 seconds]
marr has quit [Ping timeout: 272 seconds]
sparrovv has quit [Quit: sparrovv]
bricker`1A is now known as bricker`LA
kevind has quit [Quit: kevind]
ner0x has joined #ruby
Takehiro has joined #ruby
xcess_denied has joined #ruby
freezey has quit [Remote host closed the connection]
ddd has quit [Quit: leaving]
blaxter_ has quit [Ping timeout: 252 seconds]
tenjack has joined #ruby
dachi has quit [Ping timeout: 250 seconds]
ddd has joined #ruby
ereslibre has quit [Ping timeout: 240 seconds]
<bricker`LA> ukd1: Check out ImageMagick. There is a ruby interface for it called RMagick
<ukd1> thanks dude - I've found chunky_png
<ukd1> which seems perfect
<ukd1> imagemagick is massive
<bricker`LA> Oh yeah, that one is good too
<bricker`LA> true dat
<ukd1> chunky_png is actually already in my deps
<ukd1> hehe
* ukd1 lol BTC ~$1k :( :)
iliketur_ has quit [Quit: zzzzz…..]
swingha has joined #ruby
xcess_denied has quit [Ping timeout: 272 seconds]
heidi has joined #ruby
nari_ has joined #ruby
capicue has quit [Quit: Leaving...]
salt_ has joined #ruby
Mapley has quit [Quit: bai!]
Davey has joined #ruby
Mapley has joined #ruby
<salt_> does anyone have any idea why my change counter can't deal with round numbers of pennies?
<salt_> I'm guessing it has to do with how a float is defined
jibi has quit [Quit: .]
laphlaw has quit [Quit: Computer has gone to sleep.]
iliketur_ has joined #ruby
laphlaw has joined #ruby
iliketur_ has quit [Client Quit]
i_s has quit []
ldnunes has quit [Quit: Leaving]
nowthatsamatt has joined #ruby
<pontiki> salt_: don't use floats for currency arithmetic
blaxter_ has joined #ruby
<salt_> ok, what is my other option?
thelorax123 has quit [Remote host closed the connection]
<existensil> BigDecimal
iliketur_ has joined #ruby
<salt_> ok, ill look into that
<salt_> thanks!
<existensil> or any other arbitrary precision mathematics tool
thelorax123 has joined #ruby
My_Hearing has joined #ruby
timonv has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
athst has joined #ruby
<existensil> floats are a binary representation of a decimal number. they are not exact. they should never be used for financial math, or even used to store financial values, as they will very often be plain wrong.
<existensil> >> [1.025, 1.035].map{|f| f.round(2) }
<eval-in> existensil => [1.02, 1.03] (https://eval.in/73646)
<existensil> ^ bad
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
fridim__ has joined #ruby
nobitanobi has quit [Ping timeout: 246 seconds]
nateberkopec has quit [Quit: Leaving...]
<existensil> >> BigDecimal.new("1.025").round(2)
<eval-in> existensil => uninitialized constant BigDecimal (NameError) ... (https://eval.in/73657)
<existensil> ha
<existensil> >> require 'bigdecimal'; BigDecimal.new("1.025").round(2)
<eval-in> existensil => (https://eval.in/73660)
MonsieurApple has joined #ruby
<existensil> i give up :-P
timonv has quit [Ping timeout: 245 seconds]
sharms has joined #ruby
<salt_> ha i got the idea though
<salt_> thanks
<salt_> so i actually have to call BigDecimal.new for each coin, huh?
<existensil> well, rails patches in Object#to_d, or at least I think that's where that comes from. also, any math with existing big decimals will obviously return big decimals
sergicles has quit [Quit: sergicles]
iliketur_ has quit [Quit: zzzzz…..]
saarinen has joined #ruby
thams has quit [Quit: thams]
<salt_> hmmm
randomnick_ has quit [Quit: Leaving]
<existensil> yeah, i'd make your COINS values be strings, then pass them through BigDecimal.new in your each block
<existensil> ideally "amount" would already be a bigdecimal
<salt_> ahhh yeah, theres the fix, thanks!
<salt_> yep
<salt_> oh cool, i can just specify the amount as big decimal and it works
<existensil> right, but if any floats are encountered along the way it could throw your math off
<existensil> if cost is 1.25 and its really a float with a value of 1.249999999 it could be an issue
pleal has quit [Remote host closed the connection]
<salt_> fair enough
duggiefresh has joined #ruby
bugsinlights has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
kofno_ has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby
magoo has quit [Ping timeout: 240 seconds]
nhhagen has joined #ruby
mwillhite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reset has joined #ruby
Takehiro has quit [Quit: Leaving...]
jlast has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
tenjack has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
nhhagen has quit [Ping timeout: 272 seconds]
jonathanwallace has joined #ruby
kofno_ has joined #ruby
Kricir has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
pwh has quit [Ping timeout: 246 seconds]
jlast has quit [Ping timeout: 246 seconds]
shevy has quit [Ping timeout: 252 seconds]
moneydouble has joined #ruby
zcreative has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
laphlaw has quit [Quit: Computer has gone to sleep.]
<existensil> salt_: I was bored and rewrote your gist: https://gist.github.com/carlzulauf/886b58e472efa8f372f2
My_Hearing is now known as Mon_Ouie
<existensil> i think its clearer, cleaner, and of course uses BigD
athst has quit [Quit: athst]
<salt_> your boredom is appreciated
moneydouble has quit [Ping timeout: 245 seconds]
_maes_ has joined #ruby
Solnse has quit [Quit: Leaving.]
kiba` is now known as kiba
<salt_> so .div does an to_i i take it?
kaldrenon has joined #ruby
rjhunter has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
tylersmith has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
petey has quit [Client Quit]
eka has quit [Quit: Computer has gone to sleep.]
<existensil> it returns only integers, so 20.div(21) is zero. 20.div(19) is 1.
<salt_> ok yeah, but i was just asking about the internal conversion, because you're calling it with two bigD's
<salt_> so id assume thats how it differs from the ./ method
<existensil> yeah
rjhunter has joined #ruby
zerign has quit [Read error: Connection reset by peer]
shevy has joined #ruby
<existensil> that way you don't have to loop. you are just looking for the largest whole number that will go into the change variable anyways
zerign has joined #ruby
mk_qi has joined #ruby
<salt_> yep, makes sense
kaldrenon has quit [Ping timeout: 272 seconds]
<salt_> I've got my first ever pairing interview next week
nazty has joined #ruby
<salt_> ive done fizz buzz, fibonacci, and this change counter
<salt_> do you know any other common ones?
<existensil> i've never done a pairing interview. i've done short term projects with a potential new company, but never actually had to code in an interview.
sergicles has joined #ruby
<rjhunter> It's a pity BigDecimal doesn't define `gcd` like Integer does
<salt_> very smart way of doing things
ereslibre has joined #ruby
<existensil> the project was real too, not mostly-useless trivia. it was a gem they were using in production that sucked. my job was to make it not suck.
hamakn has joined #ruby
Reach has joined #ruby
<existensil> they paid me either way. if things worked well i'd get paid for my contracting work *and* get a job offer
<salt_> god that would be terrifying
<ddd> hope they paid you something if you made it not suck but they didn't hire you
<existensil> that's currently where i'm working
<existensil> :-)
<ddd> ah cool
<salt_> did they at least 1099 during the time?
<existensil> yeah
browndawg has joined #ruby
zeade has quit [Quit: Leaving.]
<salt_> oh sweet
<ddd> thats not a bad setup then
<existensil> i got a good 1099 contracting rate for the work i did
nazty has quit [Client Quit]
michael_lee has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddd> get to see how and if you can code, you get to see what they want/need, and how the team works
<existensil> yeah, it made sense. was a good way for both the company and me to see if the fit was good on real actual work.
asteros has joined #ruby
<ddd> yeah, thats an interesting proposition. first i've heard a company do it on live data.
<ddd> but i like it
<ddd> did they see to fit you? (and you them)
galef0rce has joined #ruby
<ddd> err seem
<existensil> the gem was isolated and something they forked from a public repo, so if things hadn't worked out i'd have money and open source contributions to show off... plus, being isolated they didn't have to give me access to anything serious for me to have a real impact before day 1
<existensil> yeah, its a good fit. i like it here :-)
<existensil> 100% remote too. hope i'm not rubbing it in :-P
Galeforce has quit [Ping timeout: 248 seconds]
<ddd> hehe you are but thats ok ;)
<ddd> i prefer remote myself.
yfeldblum has joined #ruby
lyanchih has joined #ruby
ereslibre has quit [Ping timeout: 240 seconds]
<ddd> I worked on a couple projects that way (stopped whenthe upstream stopped paying who i was working with because they lost a bunch of their business places due to monster storms)
salt_ has quit [Quit: salt_]
<ddd> (not because of lack of work or bad code. just sheer dumb luck and mother nature)
petey has joined #ruby
Mr_Wharfsnort has joined #ruby
michael_lee has quit [Read error: Connection reset by peer]
<existensil> It will be hard to go back to an office if I ever have to. heh.
kaldrenon has joined #ruby
superscott[8] has joined #ruby
<ddd> how's the team? one thing i've run into on different projects is the lone cowboy coder that IS better than most but knows it, and feels threatened by *anyone* new coming in (like he'd lose his spot or something)
<ddd> breaks teams fast
brian___ has joined #ruby
<ddd> ah nice.
jamesaanderson has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
michael_lee has joined #ruby
<ddd> throw on a nice shirt and pad around in pj bottoms and socks! ;) not like they can see under the table if you have to cam
<existensil> its a really good team. they've done a good job hiring and the other 3 "full stack" rails/js devs are always doing great stuff of their own. Forces me to do better.
<ddd> nice! good work and a team that gently pushes to excel w/o drowning you.
<ddd> you lucked! :)
<existensil> yeah, i really did. it was luck too... i often feel i don't deserve it when i see the jobs some other developers have, or ones i've had in the past.
<ddd> yeah i'm the same. i always doubt my own skills because i'm totally self taught. took a few projects with me sweating bullets to gain the confidence that maybe i really did know what i was doing
Davey has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Ping timeout: 252 seconds]
<existensil> i'm self taught too. feel even luckier than i'm in this position with no degree. spent years as a hobbyist though convinced i wasn't good enough to be a "real" programmer. took a while.
<ddd> oh, and that what i didn't know, it wasn't a crime to admit and ask for guidance (usually because I pick things up quick, but always afraid people will be like well if you were worth a dime, you'd know it already)
<ddd> yeah exactly where i sit
Zesty has joined #ruby
<existensil> now i'm actually saving and thinking about eventually striking out on my own. it feels almost criminal that i'm looking for something even better than what i have some day :-P
<ddd> the hardest was having to backfill tests on a 99% written project. man that was rough because the specs called for taking the *concept* (isolated from the code) that the software was trying to do, then write tests to test for that that they cold called the software against
bean__ has quit [Changing host]
bean__ has joined #ruby
<ddd> naa, never be afraid to improve your situation.
Kricir has quit [Ping timeout: 248 seconds]
duggiefresh has quit [Remote host closed the connection]
fijimunkii has joined #ruby
<ddd> you have the right to look for more and better, everyone else does. conversely its up to you to make yourself worthy of that
<existensil> i don't know if starting my own thing will improve my situation any, but it will definitely be a new challenge and adventure, and i'll learn a lot
<ddd> which many do NOT do. they just want
<ddd> its what i did. i got out of the Army after getting hurt and had zero skillsets to fall back on. demolitions was my job in the army.
maletor has quit [Quit: Computer has gone to sleep.]
<ddd> not much call for that out here, plus i'd been hurt so holding a regular job was/is rough. needed something to do mentally, and something that i could work my life needs around
Davey has joined #ruby
nobitanobi has joined #ruby
<ddd> so i got into programming. i'm not a stupid man, i just lack experience. i've been gaining a lot of it, i've landed a few contracts, made some *good* money. got my name out in the community, etc.
<existensil> oh, are you freelance?
<Reach> ddd: how long does that take?
<ddd> i went the on-my-own route first only because life sort of mandated that
nateberkopec has joined #ruby
<ddd> yeah, i contract. usually on projects someone else landed, needs folks to help out (they code too, just they've the exposure I don't) and take me on.
mattp_ has joined #ruby
stringoO has joined #ruby
fuhgeddaboudit has joined #ruby
<ddd> Reach: hmm. it took me about 2 years.
Mr_Wharfsnort has quit [Quit: Mr_Wharfsnort]
<Reach> will it help if I already have a technical degree?
<ddd> i might have been able to do it sooner, but life steps in roughly at times, so i don't always have (or didn't always have) the time to dedicate like on-the-clock, 8-hours-a-day
<ddd> depends on the degree
duggiefresh has joined #ruby
<ddd> its really not that hard to program in the sense that if you can think logically, and extrapolate fairly well, even if you don't know the actual code, you can write tests for it and pick it up on the way
<ddd> the syntax does take awhile, but the more you do it the more it 'sticks'
<ddd> the BIGGEST thing I found is.. do NOT be afraid to fail.
<ddd> seriously. you're going to, a few times.
<bnagy> I think you might be generalised 'programming' a bit
<bnagy> a lot of it is, actually, really hard
<existensil> programming taught me patience. i am a much more patient person than i was before learning.
<ddd> bnagy: intimates sure
<Reach> as a mathematician, i hate programming.
xk_id has joined #ruby
<Reach> but ruby is fun
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
Kricir has joined #ruby
lfox has quit [Quit: ZZZzzz…]
<existensil> Reach: as a mathmetician i'd think you'd have extra respect for programming
<Reach> eh
<Reach> only if it's computing something i dont want to do by hand
<ddd> bnagy: i admit generalizing a bit. i don't think that detracts from the point i was making. some of what can be worked on is definitely hard. coding a solution aimed at clustered computing is definitely tough.
tenjack has joined #ruby
mothball has joined #ruby
<ddd> there are other problem domains that aren't anywhere near as hard, but are just as worthy (to throw out an example)
pwh has joined #ruby
mmitchell has quit []
<existensil> most developers are rarely, if ever, faced with seriously difficult problems. often, even when they are, they aren't recognized as such and a sloppy shortcut is used to mostly solve it anyways. heh.
<Reach> when you have a deadline i dont think it matters how elegant the solution is lol
<Reach> but im mostly reading Ruby Programming (pragmatic) and doing rubymonk.
<Reach> is this a good way to learn it?
<ddd> hehe, agreed. i've seen that along the way. bnagy is still correct. there are some really damned hard areas. i think i was trying to point out more that if you can think logically, and extrapolate fairly well, are able to peice apart a problem, you can usually solve it, then express it in code. it just takes effort and time
amacgregor has joined #ruby
JuncoJet has joined #ruby
<ddd> and there's always going to be semantics or something that you don't know but you can pick up as you see how others handle similar problems. stuff to learn from.
<existensil> Reach: seems like a reasonable approach. the best motivator for me, though, has always been building something I want with a tool I'm trying to learn.
iliketur_ has joined #ruby
endash has quit [Quit: endash]
axilla has quit [Ping timeout: 264 seconds]
<bnagy> exercises and books are just crutches to learn the very basic syntax
<Reach> Oh I definitely agree. It's how I learned matlab. I simply have no project for myself to do though. I'm learning it in case I can't get a more mathy job.
<ddd> my personal issue was and still is finding a project *worth* doing. that others might want
<bnagy> the only way to learn to program is to do it for a few thousand hours
<existensil> there is no substitute for trying to build something real
<ddd> bnagy: even you started with the crutches though
yfeldblum has quit [Remote host closed the connection]
<ddd> and you're right. throwing yourself into a problem and solving it and doing that over and over is the real meat
<ddd> and yea, its not going to happen in 40 hours :)
<existensil> i think when you're learning don't worry too much about whether the project is *worth* doing or the problem *worth* solving. find something that would be fun to solve, even if a better solution already exists.
JuncoJet has quit [Quit: Leaving.]
<ddd> existensil: but we're *always* learning. even if you've been doing this for 10 years
<existensil> ddd: that's true. i guess i meant for that early stage of learning, when you haven't yet done something real
<ddd> ah glossed that. my bad
<existensil> don't spend too much time trying to make your first few projects be facebook
ewnd9 has joined #ruby
<Reach> wouldn't want to :P
<existensil> yeah, PHP
* existensil shudders
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mephux has quit [Ping timeout: 246 seconds]
<Reach> i was trying to look for a good project to follow and read up on.
<ddd> yeah. i started out writing a modular test suite for RVM using ruby. my basic ideas got me rolling on other projects, and actually helped lead to a few contracts, even though i never finished the test suite
froy has left #ruby ["byebye"]
<Reach> i found the perfect one for python but i simply don't want to learn python
<existensil> lol
<ddd> but it opened the way for other things, taught me a lot, and gave me a better understanding of what was involved.
mephux has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
aspires has quit []
<Reach> oh!
<existensil> Reach: curious, what's a perfect project for python that wouldn't be good in ruby? I can actually think of a few (GTK apps, something that depends on SciPy, Drupal plugins, etc.) but curious what yours was.
<Reach> i found a good one for ruby
<ddd> oh and seriously, don't be afraid to annoy others when you're trying to learn, because you *will* annoy someone ;)
<Reach> existensil: i was just browsing projects and saw a computer algebra system written in python
<Reach> and i found one in ruby just now on github
nhhagen has joined #ruby
<ddd> just keep hammering at it. just don't annoy them and do nothing. if you're gonna annoy, they'd better see you're actually trying to learn not just trying to piss em off ;)
<Reach> i have quite a lot of experience in computer algebra systems so
<existensil> s/Drupal/Django ... always mix those up
<ddd> i've never messed with drupal. only sort of know what it is/does
ukd1 has quit [Ping timeout: 272 seconds]
<Reach> oh man
<Reach> i think this it!
<existensil> ^ the reaction i get to reading a lot of ruby gem READMEs
dukz has joined #ruby
<ddd> hahahaha
<ddd> if the READMEs actually exist ;)
eemgr has joined #ruby
dukz has quit [Remote host closed the connection]
<ddd> anyways, nuf from me. wife's calling
<eemgr> anyone know how I can resolve this? Its a cocoapods issue and i'm entirely unfamiliar with ruby. http://pastebin.com/kpWHK7hh
fuhgeddaboudit has quit [Read error: Operation timed out]
<eemgr> Not sure how to handle spaces, i guess.
nhhagen has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #ruby
dukz has joined #ruby
<existensil> is that first file your Podfile ?
duggiefresh has quit [Remote host closed the connection]
<eemgr> yeah
<existensil> one thing i seem to be seeing is the use of backticks and single quotes. only single quotes should be used.
<existensil> backticks will attempt to execute the contained string on the shell
mikepack has joined #ruby
<existensil> or maybe that's not backticks i'm seeing, but doesn't look like single quotes either
ner0x has quit [Quit: Leaving]
<eemgr> you're righ
<eemgr> i copied that from a github code line
<eemgr> must have copied incorrectly
<eemgr> so there isn't an issue with the space in the filename?
<eemgr> because i'm still getting that error
ewnd9 has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
<existensil> can you paste just the contents of your Podfile? with any corrections made to the quotes
<eemgr> sure, one second
tenjack has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
<existensil> '/Users/Matt/Documents/my-file-name_6/my file name.xcodeproj' should just be a single string. ruby doesn't care about spaces in your strings. the syntax error probably has to do with a string elsewhere not being closed or something.
reset has quit [Quit: Leaving...]
lyanchih has quit [Quit: lyanchih]
whunt has quit [Quit: Computer has gone to sleep.]
reset has joined #ruby
robbyoconnor has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
<eemgr> i got the version from the podspec
<eemgr> idk if its needed
<existensil> eemgr: you are still using ’ instead of '
yfeldblum has joined #ruby
<eemgr> '
<existensil> now you are just more consistently wrong
<eemgr> +1 for consistency?
<existensil> :-)
<eemgr> yeee, got it
<existensil> if its easier, just use " everywhere
capicue has joined #ruby
<eemgr> existensil: thanks
<existensil> double quotes are harder to mess up, though, with smart quotes and such, not impossible
<existensil> np
reset has quit [Ping timeout: 272 seconds]
<existensil> eemgr: you've debugged your first ruby. sounds like a good reason to learn more! :-)
<kure> Just out of curiosity, is there any performance issues when using " against '? Since the former can have expressions inside, when the latter would be evaluated easily?
<existensil> kure: slightly, but so small that if you are worried about it you probaly shouldn't be using ruby for what you are trying to solve
<kure> Other than that, I see no reason for the ruby style guide to suggest using ' instead of "
MrZYX is now known as MrZYX|off
dukz has quit [Remote host closed the connection]
dukz has joined #ruby
Bosox20051 has quit [Quit: Leaving]
Zesty has quit [Quit: Linkinus - http://linkinus.com]
duggiefresh has joined #ruby
jamesaanderson has joined #ruby
Kricir has quit [Remote host closed the connection]
<existensil> the github style guide prefers double quotes over single quotes
vlad_starkov has joined #ruby
QKO has quit [Ping timeout: 245 seconds]
jrhe has quit [Quit: jrhe]
asteros has quit [Quit: asteros]
stringoO has quit [Quit: stringoO]
robbyoconnor has quit [Ping timeout: 272 seconds]
polaco is now known as polaco_zZz
lyanchih has joined #ruby
dukz has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Operation timed out]
iamjarvo has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Remote host closed the connection]
<bnagy> I'm afraid to look
sergicles has quit [Quit: sergicles]
radic has joined #ruby
rickruby has quit [Remote host closed the connection]
timonv has joined #ruby
<bnagy> yep, shouldn't have looked
radic_ has quit [Ping timeout: 252 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
<existensil> the github ruby style guide? I like it. plus, it ends with: "Above all else: Follow your (heart)"
<existensil> cute
dukz has joined #ruby
<existensil> there are a few places i deviate but not too many
adkron has quit [Ping timeout: 264 seconds]
smathieu has quit [Remote host closed the connection]
<kiba> Hello folks
<kiba> still working on my survival analysis
fuhgeddaboudit has joined #ruby
dukz has quit [Remote host closed the connection]
smathieu has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
dukz has joined #ruby
nanashiRei has quit [Ping timeout: 264 seconds]
adkron has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<kiba> Gem::AvailableSet
varfoo has joined #ruby
<kiba> it's in the doc
<kiba> it's an uninitialized constant, though
dhruvasagar has quit [Ping timeout: 272 seconds]
smathieu has quit [Ping timeout: 265 seconds]
<existensil> require 'rubygems/available_set'
<existensil> i have no idea what that class does, but its initialized now :-)
<nobitanobi> hi guyz
eemgr has quit [Remote host closed the connection]
<kiba> existensil: I am trying to get all the specs
<kiba> gemspecs
<kiba> the documentation of the rubygems internal is poor
nateberkopec has quit [Quit: Leaving...]
myappleguy has quit [Ping timeout: 265 seconds]
adkron has quit [Ping timeout: 246 seconds]
<existensil> I don't disagree :-)
z0ite has joined #ruby
<kiba> well, whatever I see in available set yesterday isn't in there
<kiba> I want to get all the gemspec of all rubygems
<kiba> err
<kiba> gems
z0ite has quit [Client Quit]
<existensil> yeah, that sounds like it might take some deep diving in rubygems source
<existensil> i dunno. never done it.
hollyw00d has joined #ruby
<existensil> what are you going to do with all those specs?
kofno_ has quit [Ping timeout: 246 seconds]
sergicles has joined #ruby
<kiba> existensil: analyze them
kobain has quit []
Skylab has joined #ruby
Vivekananda has joined #ruby
bklane has quit [Remote host closed the connection]
dukz has quit [Remote host closed the connection]
Old_dev has quit [Quit: Leaving]
<kiba> I think the new route I went through doesn't make sense
danshultz has joined #ruby
<kiba> it's worth a try though
bklane has joined #ruby
<kiba> it could have made downloading much more efficient, but I see it as a dead end
vlad_starkov has joined #ruby
<kiba> err, data analysis much more efficient*
<kiba> my new route is to use the rubygems internal to gather data, but I have no idea what it does
bklane_ has joined #ruby
<existensil> if your analysis already involves downloading the gems, you could just stub out Gem::Specification yourself and capture all the gemspec details you want through your mock.
<kiba> So I am reverting 3 days worth of work and go back to simply downloading
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
<kiba> existensil: I don't care about the source code, just the metadetails
<kiba> but I don't know how to get that metadata
diegoviola has joined #ruby
thelorax123 has quit [Remote host closed the connection]
<existensil> yeah, i'm sure there is a way, but I don't know it eitehr
falood has joined #ruby
<kiba> existensil: and for all I know, if I optimize the download process, I could have gotten data way faster too
<kiba> and I already done the legwork
<kiba> It was a mistake that I didn't create an alternative branch for it. Now I have to go through my git log and revert it
thelorax123 has joined #ruby
bklane has quit [Ping timeout: 246 seconds]
<kiba> so: my fault
smathieu has joined #ruby
broaden has joined #ruby
luckyruby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
nhhagen has joined #ruby
<rjhunter> kiba: you can branch after the fact
capicue has quit [Quit: Leaving...]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
Skylab has quit [Quit: Skylab]
harrymoreno has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
harrymoreno has joined #ruby
<rjhunter> kiba: `git checkout -b my-new-old-direction master@{yesterday}` checks out a new branch based on yesterday's work
nhhagen has quit [Ping timeout: 246 seconds]
Skylab has joined #ruby
<kiba> hmm, I doubt I remember that, but I can google that later
<kiba> I feel like I am drowning in so much things to learn...
theKayhan has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Hobogrammer_ has quit [Ping timeout: 264 seconds]
varfoo has quit [Ping timeout: 252 seconds]
harrymoreno has quit [Ping timeout: 272 seconds]
hydrospell has joined #ruby
tenjack has joined #ruby
ambushsabre has joined #ruby
psyl0n has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 246 seconds]
harrymoreno has joined #ruby
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<kiba> is there a way I can make it faster?
<kiba> the download part in the retryable block
fijimunkii has quit [Ping timeout: 264 seconds]
Hobogrammer has joined #ruby
<existensil> absolutely. threading would probably help speed it up.
browndawg has left #ruby [#ruby]
Es0teric has quit [Quit: Computer has gone to sleep.]
<kiba> existensil: I prefer to add the data in sequence, though
zono has joined #ruby
thelorax123 has quit [Remote host closed the connection]
bootcoder has quit [Quit: Konversation terminated!]
bootcoder has joined #ruby
kofno_ has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
lyanchih has quit [Quit: lyanchih]
thelorax123 has joined #ruby
QKO has joined #ruby
<existensil> you could do threading and maintain sequence... though it would probably involve buffering the writes and would definitely make it a bit more complicated
amacgregor has quit [Ping timeout: 245 seconds]
vlad_starkov has quit []
harrymoreno has quit [Ping timeout: 246 seconds]
Kricir has joined #ruby
ereslibre has quit [Ping timeout: 245 seconds]
<kiba> Gems.info(g), Gems.versions(g), and Gems.dependencies(g) all involves doing network calls
<existensil> without parrallelizing the download, though, there is nothing you can really do to speed it up
cads has joined #ruby
<kiba> right
kitak has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
<existensil> you could use a threads or fibers to execute just those three downloads simultaneously, and keep the rest of the script syncrhonous
<kiba> existensil: ideally, all three calls would be happening at the same time
luckyruby has joined #ruby
braincrash has quit [Quit: bye bye]
bklane_ has quit [Quit: Leaving...]
harrymoreno has joined #ruby
varfoo has joined #ruby
jkhwan_ has quit [Remote host closed the connection]
jkhwan has joined #ruby
kofno_ has quit [Ping timeout: 246 seconds]
<kiba> I have no idea how to do it
<kiba> and I am hoping that the fibers raise an error if it have a problem
osvico has quit [Ping timeout: 252 seconds]
braincrash has joined #ruby
tenjack has quit [Remote host closed the connection]
sgnl has joined #ruby
<existensil> haven't tested, but theoretically something like this should work: https://gist.github.com/carlzulauf/7670553
digital-ghost has quit [Remote host closed the connection]
<kiba> thread versus fibers
<existensil> fibers are lighter weight and might actually be better here, but, honestly, i'm less familiar with them
dhruvasagar has joined #ruby
<existensil> probably doesn't matter too much for this kind of use case
<existensil> either way the performance improvement will likely be pretty small since its only a small amount of concurrency used
<kiba> why so?
<existensil> building a download queue a pool of threads grabs work from, and then a write queue where writes are bufferred would be able to work in a much more parallel fashion
jkhwan has quit [Ping timeout: 272 seconds]
<existensil> since there wouldn't be any joining until the end
<kiba> make sense
<kiba> I don't want to overload the server though
<existensil> you could have thread2 off downloading dependency 7 while a slow download on thread1 is still working on gem info # 2
<existensil> you just then have to deal with keep track of order
mercwithamouth has quit [Ping timeout: 252 seconds]
<kiba> more complicated, more risk
<existensil> and having your write buffer smart enough to only write when enough of the data is "filled in"
<kiba> right, I leave that for now
bradhe has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
<kiba> I'll try your suggestion first, to see how it do
falood has quit [Remote host closed the connection]
ppppaul has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
falood has joined #ruby
bradhe has joined #ruby
fijimunkii has joined #ruby
<existensil> concurrency is hard, and complicated... and so much fun :-)
bradhe has quit [Remote host closed the connection]
ereslibre has joined #ruby
saarinen has quit [Quit: saarinen]
ereslibre has quit [Changing host]
ereslibre has joined #ruby
<kiba> existensil: I am trying to do a survival analysis, not learn concurrency
* kiba has a problem though
ch0mskiii has joined #ruby
chomskiii has quit [Read error: Connection reset by peer]
falood has quit [Ping timeout: 246 seconds]
nobitanobi has quit [Ping timeout: 272 seconds]
ananthakumaran has quit [Quit: Leaving.]
jamesaanderson has joined #ruby
fuhgeddaboudit has joined #ruby
aspires has joined #ruby
coder_neo has quit [Ping timeout: 246 seconds]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
soba has joined #ruby
end_guy has quit [Ping timeout: 240 seconds]
end_guy has joined #ruby
alexparker has joined #ruby
Kabaka has joined #ruby
otherj has quit []
dhruvasagar has quit [Ping timeout: 272 seconds]
sgnl has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has quit [Remote host closed the connection]
bluOxigen has joined #ruby
smathieu_ has joined #ruby
<kiba> existensil: well, I made a mistake of not testing it
smathieu has quit [Read error: Connection reset by peer]
mansi has joined #ruby
<rjhunter> kiba: if you must do lots of back-and-forth requests in series, you'll find latency will make a huge difference to the overall time, and network distance makes a huge difference to latency
<rjhunter> kiba: so consider running your code somewhere close (network-wise) to the server you're communicating with
<kiba> ok
<kiba> rjhunter: I knew it was not downloading at blazing speed because of the network overhead
<rjhunter> because you're paying that networking overhead price many (many!) times in a row, you'll see a huge improvement from anything you can do to reduce the network overhead (like use a closer mirror, or run your code on an Amazon EC2 instance in the same region)
ringaroses has quit [Ping timeout: 272 seconds]
Kricir has quit [Ping timeout: 252 seconds]
mansi has quit [Ping timeout: 264 seconds]
<kiba> my origin master branch has diverged from my local
<kiba> because I did a git revert, but I have no idea how to reconsole
falood has joined #ruby
<rjhunter> kiba: ask in #git -- it'll be easy enough to fix
brunops has joined #ruby
zz_scottstamp is now known as scottstamp
havenwood has joined #ruby
<kiba> rjhunter: ok, looking into closer mirrors
rickruby has joined #ruby
OdNairy has joined #ruby
zz_N00D is now known as CripperZ
Spami has joined #ruby
<kiba> I googled for rubygem mirrors, but it doesn't seem that there is a list
<kiba> or at least what I googled so far
nhhagen has joined #ruby
ehaliewicz has joined #ruby
OdNairy has quit [Ping timeout: 252 seconds]
rickruby_ has joined #ruby
rickruby has quit [Ping timeout: 264 seconds]
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
KevinSjoberg has quit [Ping timeout: 245 seconds]
falten has quit [Ping timeout: 264 seconds]
kevinfagan has quit [Ping timeout: 272 seconds]
Kricir has joined #ruby
robbyoconnor has joined #ruby
<kiba> blah, I got nothing done today
falten has joined #ruby
nhhagen has quit [Ping timeout: 264 seconds]
naquad has quit [Ping timeout: 245 seconds]
KevinSjoberg has joined #ruby
<jle`> welcome to the club kiba
naquad has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
<kiba> jle`: despite working?
kevinfagan has joined #ruby
larissa has quit [Quit: Leaving]
kitak has joined #ruby
iliketur_ has joined #ruby
<jle`> well. half.
b00stfr3ak has joined #ruby
aspires has quit []
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
aspires has joined #ruby
diegoviola has quit [Ping timeout: 265 seconds]
Kricir has quit [Ping timeout: 240 seconds]
zcreative has joined #ruby
rjhunter has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 272 seconds]
roolo has joined #ruby
casheew_ has joined #ruby
rjhunter has joined #ruby
casheew has quit [Read error: Connection reset by peer]
alexparker has left #ruby [#ruby]
crazymykl has quit [Read error: Connection reset by peer]
crazymykl has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenjack has joined #ruby
Es0teric has joined #ruby
casheew_ has quit [Read error: Connection reset by peer]
lyanchih has joined #ruby
iamjarvo has quit [Quit: Leaving.]
rjhunter has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
casheew has joined #ruby
rjhunter has joined #ruby
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
Deele has joined #ruby
nanashiRei has joined #ruby
phansch has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Client Quit]
araujo has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
bradhe has joined #ruby
tenjack has quit [Remote host closed the connection]
jlast has joined #ruby
Vivekananda has quit [Ping timeout: 252 seconds]
jeffdb has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
<iliketur_> how would you make a range like (A..Z) but omit one specific letter
xpirator has joined #ruby
estebistec has joined #ruby
hakunin has joined #ruby
aspires has quit []
<iliketur_> >> ('a'..'e').reject{|x| x == 'c' }.to_a
<eval-in> iliketur_ => ["a", "b", "d", "e"] (https://eval.in/73681)
<iliketur_> something like this i guess?
bradhe has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
<bnagy> what do plan on using it for?
bradhe has joined #ruby
vlad_starkov has joined #ruby
hiyosi has joined #ruby
bradhe has quit [Remote host closed the connection]
<iliketur_> just an rspec test
yfeldblum has joined #ruby
rickruby_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
kitak_ has joined #ruby
cescalante is now known as ce_afk
ShinySides has quit [Read error: Operation timed out]
hiyosi has quit [Ping timeout: 272 seconds]
dzhulk has joined #ruby
timmow has quit [Ping timeout: 260 seconds]
KevinSjoberg has quit [Ping timeout: 246 seconds]
iamjarvo has quit [Ping timeout: 252 seconds]
naquad has quit [Ping timeout: 272 seconds]
andrewh has quit [Ping timeout: 245 seconds]
naquad has joined #ruby
KevinSjoberg has joined #ruby
Haegin has quit [Ping timeout: 245 seconds]
andrewh has joined #ruby
rickruby has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
timmow has joined #ruby
havenwood has joined #ruby
Vivekananda has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
brunops has joined #ruby
Jetchisel has joined #ruby
matt_ has joined #ruby
DanBoy has quit [Ping timeout: 240 seconds]
matt_ is now known as Guest5791
Guest5791 has quit [Client Quit]
abstractj has quit [Ping timeout: 272 seconds]
hollyw00d has quit [Quit: Textual IRC Client: www.textualapp.com]
OdNairy has joined #ruby
liamkeily has quit [Ping timeout: 245 seconds]
ShinySides has joined #ruby
Haegin_ has joined #ruby
dukz has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
abstractj has joined #ruby
abstractj has quit [Read error: Operation timed out]
naquad has quit [Read error: Operation timed out]
dukz has quit [Remote host closed the connection]
KevinSjoberg has quit [Ping timeout: 245 seconds]
naquad has joined #ruby
mothball has quit [Ping timeout: 272 seconds]
jkhwan has joined #ruby
KevinSjoberg has joined #ruby
dzhulk has quit [Quit: Leaving.]
bret has left #ruby ["Palaver http://palaverapp.com/"]
<iliketur_> in the %w{ } syntax, is there a way to include empty string? like %w{ a b c } => ['a', 'b', 'c', '']
phansch has quit [Quit: Leaving]
mj12albert has joined #ruby
mj12albert has quit [Max SendQ exceeded]
vlad_starkov has quit [Remote host closed the connection]
<existensil> no, that wouldn't make any sense
<existensil> you could of course do this:
ShinySides has quit [Ping timeout: 264 seconds]
<existensil> >> %w{ a b c } << ''
<eval-in> existensil => ["a", "b", "c", ""] (https://eval.in/73682)
martxel has quit [Ping timeout: 246 seconds]
abstractj has joined #ruby
brian___ has quit [Quit: brian___]
Lewix has quit [Remote host closed the connection]
KevinSjoberg has quit [Ping timeout: 264 seconds]
<rjhunter> >> 'a,b,c,,z'.split(',')
<eval-in> rjhunter => ["a", "b", "c", "", "z"] (https://eval.in/73683)
<jrobeson> efg
dhruvasagar has joined #ruby
nhhagen has joined #ruby
martxel has joined #ruby
ShinySides has joined #ruby
KevinSjoberg has joined #ruby
<iliketur_> yee
<iliketur_> thanks guy
<iliketur_> s
vlad_starkov has joined #ruby
martxel is now known as Guest83969
clevermatt has quit [Remote host closed the connection]
<rjhunter> or if you're really keen
<rjhunter> >> %W[a b c #{''} z]
<eval-in> rjhunter => ["a", "b", "c", "", "z"] (https://eval.in/73684)
clint_s has quit [Ping timeout: 252 seconds]
nhhagen_ has joined #ruby
<existensil> since that relies solely on %w (well, %W with interpolation), rjhunter wins
<existensil> that's clever
naquad has quit [Read error: Operation timed out]
<rjhunter> but seriously, if you want an empty string in an array, the whitespace-delimited array literal is probably not a good fit
<existensil> yeah
Reach has quit [Remote host closed the connection]
Guest83969 has quit [Ping timeout: 252 seconds]
nhhagen has quit [Ping timeout: 252 seconds]
<iliketur_> rjhunter: oh dang
<sevenseacat> thats cute
zeade has joined #ruby
aspires has joined #ruby
martxel_ has joined #ruby
nhhagen_ has quit [Ping timeout: 252 seconds]
martxel_ is now known as Guest97410
<sam113101> ◔ ◡ ◔
<sam113101> (◡‿◡✿)
blo has joined #ruby
crazymykl has quit [Remote host closed the connection]
<iliketur_> lol
crazymykl has joined #ruby
fomatin has joined #ruby
dhruvasagar has quit [Quit: leaving]
dhruvasagar has joined #ruby
<rjhunter> if you're willing to rely on (nil.to_s == ''), you can abbreviate:
<rjhunter> >> %W(a b c #{} z)
<eval-in> rjhunter => ["a", "b", "c", "", "z"] (https://eval.in/73685)
<rjhunter> >> def nil.to_s ; 'nil!' ; end ; %W(a b c #{} z)
<eval-in> rjhunter => ["a", "b", "c", "nil!", "z"] (https://eval.in/73686)
hogeo has quit [Remote host closed the connection]
stetho has joined #ruby
naquad has joined #ruby
<sevenseacat> i think we can classify that as a stupid ruby trick though
bean has joined #ruby
ananthakumaran has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
<iliketur_> :]
Arzaga has joined #ruby
fridim__ has quit [Ping timeout: 272 seconds]
danshultz has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
KevinSjoberg has quit [Ping timeout: 272 seconds]
xcess_denied has joined #ruby
<bnagy> >> [*('a'..'z'),'']
<eval-in> bnagy => ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", ""] (https://eval.in/73687)
amacgregor has joined #ruby
vlad_starkov has quit []
yfeldblum has quit [Remote host closed the connection]
ShinySides has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
aarkerio has quit [Ping timeout: 264 seconds]
<rjhunter> >> ['a', 'b', 'c', '', 'z']
<eval-in> rjhunter => ["a", "b", "c", "", "z"] (https://eval.in/73688)
<rjhunter> ^ my preferred option
iliketur_ has quit [Ping timeout: 240 seconds]
dallasm has joined #ruby
kofno_ has joined #ruby
estebistec has quit [Remote host closed the connection]
charliesome has joined #ruby
ShinySides has joined #ruby
estebistec has joined #ruby
KevinSjoberg has joined #ruby
iliketur_ has joined #ruby
Guest97410 has quit [Ping timeout: 264 seconds]
yacks has quit [Quit: Leaving]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crazymykl has quit [Remote host closed the connection]
Lewix has joined #ruby
dallasm has quit [Remote host closed the connection]
asteros has joined #ruby
crazymykl has joined #ruby
estebistec has quit [Ping timeout: 272 seconds]
kofno_ has quit [Ping timeout: 272 seconds]
KevinSjoberg has quit [Ping timeout: 264 seconds]
axl_ has joined #ruby
adkron has joined #ruby
tylersmith has quit [Remote host closed the connection]
KevinSjoberg has joined #ruby
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
wiak has quit [Excess Flood]
ShinySides has quit [Ping timeout: 272 seconds]
abstractj has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
wiak has joined #ruby
luckyruby has quit [Remote host closed the connection]
luckyruby has joined #ruby
ShinySides has joined #ruby
timmow has quit [Ping timeout: 260 seconds]
dzhulk has joined #ruby
clevermatt has joined #ruby
xcess_denied has quit [Quit: Leaving...]
timonv has joined #ruby
dukz has joined #ruby
ShinySides has quit [Read error: Operation timed out]
jgrevich has quit [Quit: jgrevich]
gstamp has quit [Quit: Computer has gone to sleep.]
noop has joined #ruby
smathieu_ has quit [Remote host closed the connection]
goganchic has joined #ruby
timmow has joined #ruby
smathieu has joined #ruby
abstractj has joined #ruby
dukz has quit [Remote host closed the connection]
xcess_denied has joined #ruby
hiyosi has joined #ruby
zoo-zed has quit [Quit: Leaving.]
aspires has quit []
Leighton has quit [Quit: leaving]
pranny has joined #ruby
smathieu has quit [Ping timeout: 252 seconds]
zipper has joined #ruby
bradhe has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
ShinySides has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dukz has joined #ruby
TigerWolf has quit [Quit: Textual IRC Client: www.textualapp.com]
<mr`spock> wow, you guys conceived so many ways to produce the same array. nice.
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
tagrudev has joined #ruby
crazymykl has quit [Remote host closed the connection]
<shevy> lol
nbrosnahan has joined #ruby
swingha has quit [Quit: WeeChat 0.4.2]
halfie has joined #ruby
zz_michael_mbp is now known as michael_mbp
dukz has quit [Remote host closed the connection]
rezzack has quit [Ping timeout: 240 seconds]
dukz has joined #ruby
hackeron_ has joined #ruby
sergicles has quit [Quit: sergicles]
apeiros has quit [Ping timeout: 264 seconds]
crazymykl has joined #ruby
adkron has quit [Ping timeout: 246 seconds]
hackeron has quit [Ping timeout: 245 seconds]
sergicles has joined #ruby
mansi has joined #ruby
LexicalScope has joined #ruby
clevermatt has quit [Ping timeout: 272 seconds]
jlast has quit [Remote host closed the connection]
ewnd9 has joined #ruby
pkrnj has joined #ruby
thams has joined #ruby
rjhunter has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
mansi has quit [Ping timeout: 240 seconds]
zeade has quit [Quit: Leaving.]
luckyruby has quit [Remote host closed the connection]
ereslibre has quit [Ping timeout: 240 seconds]
luckyruby has joined #ruby
hogeo has joined #ruby
tjad has quit [Ping timeout: 272 seconds]
mengu has joined #ruby
dukz has quit [Remote host closed the connection]
dhruvasagar has quit [Quit: Lost terminal]
dukz has joined #ruby
dhruvasagar has joined #ruby
axl_ has quit [Quit: axl_]
Kricir has joined #ruby
TaxmanBD has joined #ruby
dukz has quit [Remote host closed the connection]
gdifo_ has joined #ruby
axl_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
coder_neo has joined #ruby
amritanshu_RnD has joined #ruby
nhhagen has joined #ruby
thams has quit [Ping timeout: 240 seconds]
rjhunter has joined #ruby
timonv has quit [Remote host closed the connection]
smathieu has joined #ruby
gasbakid has joined #ruby
zipper has quit [Quit: Lost terminal]
nhhagen has quit [Ping timeout: 245 seconds]
ereslibre has joined #ruby
TaxmanBD has quit [Ping timeout: 252 seconds]
jkhwan has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 272 seconds]
fgo_ has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
zipper has joined #ruby
jlast has joined #ruby
osvico has joined #ruby
havenwood has joined #ruby
zipper has quit [Client Quit]
zipper has joined #ruby
jlast has quit [Ping timeout: 272 seconds]
osvico has quit [Ping timeout: 245 seconds]
Kricir has quit [Ping timeout: 245 seconds]
cina has joined #ruby
tjad has joined #ruby
<cina> is there a special variable for blocks to access items passed to it? e.g. instead of explicitly specifying item in items.each{|item| puts item} can I do something like this items.each{puts $0}
<cina> ?
<sevenseacat> no.
ppppaul has quit [Ping timeout: 252 seconds]
<mr`spock> of all silly things ruby has made easy, you apparently can't do that.
zigomir has joined #ruby
<rjhunter> cina: no, although there may be a different way to achieve what you want. ruby has lots of ... options
lsmola has joined #ruby
ppppaul has joined #ruby
fschuindt has joined #ruby
tylersmith has joined #ruby
<cina> I see. I didn't find anything here as well http://ruby.wikia.com/wiki/Special_variable
<cina> thanks guys.
lfox has joined #ruby
havenwood has quit [Remote host closed the connection]
LexicalScope has quit [Ping timeout: 252 seconds]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
Elhu has joined #ruby
havenwood has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
tylersmith has quit [Remote host closed the connection]
scottstamp is now known as zz_scottstamp
tylersmith has joined #ruby
clevermatt has joined #ruby
broaden has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
sputnik13 has joined #ruby
yugui_zzz is now known as yugui
<cina> rjhunter: btw, I would be interested to learn other ways, so I don't have to name the variable... I came up with this one [1,2,3].map{|_| _ * 2}
ereslibre has quit [Ping timeout: 246 seconds]
seyfarth has joined #ruby
<shevy> cina I'd like to have these too
<shevy> I would have proposed automatic _,__,___
havenwood has quit [Ping timeout: 272 seconds]
axl_ has joined #ruby
<shevy> but it's annoying if you must do |_,__,___|
<shevy> and even |a,b,c| would be shorter
<sevenseacat> what is the point, honestly, other than obfuscation
<shevy> shortcuts
<shevy> _ never has a name
fschuindt has quit [Quit: Computer has gone to sleep.]
<shevy> so where is the point in having to give anything a name that is of no relevance
clevermatt has quit [Ping timeout: 252 seconds]
<sevenseacat> for good reason, you're not supposed to care about what it is if you give it a _
dukz has joined #ruby
<sevenseacat> not really supposed to use it either, but hey
<shevy> the single _ I like and use often
<sevenseacat> i dont
<shevy> __ sucks
<sevenseacat> its absolutely meaningless
<shevy> so you give your local variables a name
<sevenseacat> yes
<shevy> what for
zono has quit [Quit: zono]
<sevenseacat> because i know what they are and i use them
user258467 has quit [Read error: Connection reset by peer]
stetho has quit [Read error: Operation timed out]
relix has joined #ruby
GreatSUN has joined #ruby
<GreatSUN> good morning
<cina> sevenseacat: I am for good variable names, but sometimes the iterator's name is enough to make it clear what items are passed to the block. Only in those conditions I would feel that a variable name could be redundant and too verbose.
<sevenseacat> keystrokes are cheap
<sevenseacat> especially in ruby which doesnt require many of them
dagobah has joined #ruby
user258467 has joined #ruby
<rjhunter> >> [1,2,3].each(&method(:puts))
<eval-in> rjhunter => 1 ... (https://eval.in/73700)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cina> rjhunter: interesting :)
<shevy> I know what _ does too
xcess_denied has quit [Quit: Leaving...]
<shevy> array = []
<shevy> _ = []
<rjhunter> ☃ = []
<sevenseacat> ‽ = '!?'
mansi has joined #ruby
falten has quit [Ping timeout: 264 seconds]
falten has joined #ruby
ce_afk is now known as cescalante
<shevy> I dont have this encoding :(
<ddd> looks like a cobra head to me
<shevy> ˜ ƒ
<shevy> I see only funny characters... and 98 and 83
KevinSjoberg has quit [Ping timeout: 272 seconds]
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
michael_alex has joined #ruby
mansi has quit [Ping timeout: 265 seconds]
user258467 has quit [Read error: Operation timed out]
dymv has joined #ruby
KevinSjoberg has joined #ruby
<ddd> grr, this notebook as the pgup/pgdwn keys right against the arrow keys and i keep hitting the damned pg* keys
threesome has joined #ruby
<rjhunter> ddd: if you don't use the pg* keys, you could re-bind them to arrows (or nothing)
<ddd> i do use them, only reason i haven't done it :/
<ddd> just annoying placement is all
varfoo has quit [Quit: WeeChat 0.4.0]
<ddd> i might swap the L/R for U/D
<ddd> err PgU/D
varfoo has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
dukz has quit []
asteros has quit [Quit: asteros]
Jetchisel has quit [Ping timeout: 260 seconds]
dzhulk has quit [Quit: Leaving.]
ddd has quit [Quit: Good Night to all!]
dzhulk has joined #ruby
gdifo_ has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jprovazn has joined #ruby
nhhagen has joined #ruby
Jetchisel has joined #ruby
claymore has joined #ruby
smathieu has joined #ruby
dzhulk has quit [Quit: Leaving.]
relix has joined #ruby
cina has quit [Remote host closed the connection]
skaflem has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
hogeo has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 264 seconds]
rdark has joined #ruby
smathieu has quit [Ping timeout: 272 seconds]
stkowski has quit [Quit: stkowski]
xcess_denied has joined #ruby
cina has joined #ruby
brunops has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
fomatin has quit [Quit: Computer has gone to sleep.]
tesuji has joined #ruby
browndawg has joined #ruby
sandeepk has joined #ruby
zigomir has quit [Ping timeout: 246 seconds]
brtdv has joined #ruby
h_kon has joined #ruby
nbrosnahan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest97410 has joined #ruby
ahawkins has joined #ruby
jlast has joined #ruby
kofno_ has joined #ruby
jlast_ has joined #ruby
jlast has quit [Read error: Connection reset by peer]
rjhunter has quit [Remote host closed the connection]
gtsiftsis has joined #ruby
rjhunter has joined #ruby
smathieu has joined #ruby
amacgregor_ has joined #ruby
seyfarth has quit [Remote host closed the connection]
gstamp has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
amacgregor has quit [Ping timeout: 246 seconds]
kofno_ has quit [Ping timeout: 264 seconds]
saven has joined #ruby
yeboot has joined #ruby
jlast_ has quit [Ping timeout: 272 seconds]
roolo has quit [Quit: Leaving...]
smathieu has quit [Ping timeout: 248 seconds]
bradhe has quit [Remote host closed the connection]
schaary has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
moneydouble has joined #ruby
dangerousdave has joined #ruby
AxonetBE has joined #ruby
clevermatt has joined #ruby
nisstyre has quit [Ping timeout: 252 seconds]
<hoyang> wow. nice day.
rjhunter has quit [Remote host closed the connection]
saven has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
rjhunter has joined #ruby
iliketur_ has joined #ruby
aganov has joined #ruby
Soda has quit [Read error: Connection reset by peer]
eutsler has joined #ruby
cina has quit [Quit: leaving]
echevemaster has quit [Quit: Leaving]
iliketur_ has quit [Client Quit]
marcgg has joined #ruby
jhaals has joined #ruby
rickruby has joined #ruby
clevermatt has quit [Ping timeout: 246 seconds]
hiyosi has joined #ruby
dzhulk has joined #ruby
Xeago has joined #ruby
lfox has quit [Quit: ZZZzzz…]
banghouse2 has quit [Remote host closed the connection]
harrymoreno has quit [Ping timeout: 252 seconds]
marcgg_ has quit [Ping timeout: 272 seconds]
ItSANgo has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
harrymoreno has joined #ruby
ItSANgo has joined #ruby
iliketur_ has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
jeffdb has quit [Quit: jeffdb]
einarj has joined #ruby
nbrosnahan has joined #ruby
rjhunter has quit [Remote host closed the connection]
tedstrik_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tobago has joined #ruby
nbrosnahan has quit [Client Quit]
iz has quit [Remote host closed the connection]
julweber has joined #ruby
h0rrorvacui has quit [Read error: Operation timed out]
rjhunter has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
bgy has left #ruby ["Leaving"]
vlad_starkov has joined #ruby
moneydouble has quit [Quit: Leaving.]
mansi has joined #ruby
nbrosnahan has joined #ruby
<shevy> hoyang hey
nbrosnahan has quit [Client Quit]
<shevy> here it is damn cold and snowing
nbrosnahan has joined #ruby
brunops has joined #ruby
moneydouble has joined #ruby
nisstyre has joined #ruby
reset has joined #ruby
michael_alex has quit [Quit: Ex-Chat]
mansi has quit [Ping timeout: 246 seconds]
brunops has quit [Ping timeout: 272 seconds]
iliketur_ has quit [Quit: zzzzz…..]
threesome has joined #ruby
tziOm has joined #ruby
rjhunter has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 264 seconds]
troessner has joined #ruby
rjhunter has joined #ruby
Xeago has quit [Read error: Operation timed out]
bradhe has joined #ruby
Xeago has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
vlad_starkov has quit [Ping timeout: 245 seconds]
olivier_bK has joined #ruby
harrymoreno has quit [Ping timeout: 245 seconds]
harrymoreno has joined #ruby
obs has joined #ruby
Arzaga has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Ping timeout: 252 seconds]
euclid_ has joined #ruby
bluOxigen has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
nvrch has joined #ruby
ehaliewicz has quit [Ping timeout: 252 seconds]
euclid_ is now known as Reach
user258467 has joined #ruby
harrymoreno has quit [Read error: Connection reset by peer]
phansch has joined #ruby
jeffdb has joined #ruby
rjhunter has quit [Remote host closed the connection]
aob has joined #ruby
andikr has joined #ruby
<aob> .
harrymoreno has joined #ruby
timonv has joined #ruby
Elhu has joined #ruby
<triptec> 'd like to do something like I18n.localize Time..now, format: "%A" and get localized day of week, do I need to get a {locale}.yml for that?
abstractj has quit [Changing host]
abstractj has joined #ruby
<aob> I'm running tailor against my code; it's suggesting I reduce line length; however the long lines are specs with chained matchers... expect(thing).to do_stuff.with(a bunch of things)
<aob> how can I shorten that? should I even bother?
deanrock0 has joined #ruby
mr`spock has quit [Quit: Leaving]
Reach has quit []
timonv has quit [Read error: Connection reset by peer]
harrymoreno has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
joonty has joined #ruby
blaxter_ is now known as blaxter
harrymoreno has joined #ruby
camilasan has joined #ruby
alup has joined #ruby
charliesome has joined #ruby
clint_s has joined #ruby
joonty_ has quit [Ping timeout: 272 seconds]
xcess_denied has quit [Quit: Leaving...]
jeffdb has quit [Quit: jeffdb]
timonv_ has joined #ruby
jlast has joined #ruby
pskosinski has joined #ruby
<shevy> when writing license field in a .gemspec
<shevy> would you rather do:
<shevy> .licenese = 'GPL2'
<shevy> or
<shevy> .license = 'GPL 2'
<shevy> first one would be *license too
<shevy> in other words, if you would add a ' ' or not
matti has quit [Quit: Oh dear...]
<shevy> aob not possible to shorten without losing information, right?
timonv has quit [Ping timeout: 264 seconds]
tjad has quit [Ping timeout: 246 seconds]
smathieu has joined #ruby
<pskosinski> I would do GPLv2
ephemerian has joined #ruby
<shevy> :(
zerign has quit [Read error: Connection reset by peer]
TheNumb has quit [Quit: ZNC - http://znc.sourceforge.net]
CripperZ is now known as N00D
matti has joined #ruby
zerign has joined #ruby
tjad has joined #ruby
rjhunter has joined #ruby
julweber has quit [Remote host closed the connection]
roolo has joined #ruby
jlast has quit [Ping timeout: 272 seconds]
smathieu has quit [Ping timeout: 252 seconds]
einarj has quit [Remote host closed the connection]
blackmes1 has joined #ruby
Astral__ has joined #ruby
xcess_denied has joined #ruby
mephux has quit [Ping timeout: 246 seconds]
AxonetBE has quit [Read error: Connection reset by peer]
clevermatt has joined #ruby
sevenseacat has quit [Quit: Leaving.]
mephux has joined #ruby
Astral_ has quit [Ping timeout: 246 seconds]
tziOm has quit [Remote host closed the connection]
TheNumb has joined #ruby
<shevy> pskosinski and if you would not be allowed to use a 'v' character, which one would you prefer from the above?
rjhunter has quit [Remote host closed the connection]
sandeepk has quit [Quit: Linkinus - http://linkinus.com]
tziOm has joined #ruby
b00stfr3ak has quit [Ping timeout: 252 seconds]
<pskosinski> shevy: Second but don't ask me, I'm noob ^^
Fire-Dragon-DoL has quit [Quit: Leaving.]
ffio has joined #ruby
clevermatt has quit [Ping timeout: 252 seconds]
sayan has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
sparrovv has joined #ruby
wallerdev has quit [Quit: wallerdev]
hiyosi has joined #ruby
rjhunter has joined #ruby
TheNumb has quit [Changing host]
TheNumb has joined #ruby
yjmsf20 has quit [Remote host closed the connection]
moneydouble has quit [Quit: Leaving.]
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
marr has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
goganchic has quit []
tesuji_ has joined #ruby
marcgg_ has joined #ruby
nbrosnahan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nari_ has quit [Ping timeout: 245 seconds]
drumusician has joined #ruby
F1skr has joined #ruby
TheNumb has quit [Quit: ZNC - http://znc.in]
TheNumb has joined #ruby
tesuji has quit [Ping timeout: 272 seconds]
dymv has quit [Ping timeout: 246 seconds]
timonv_ has quit [Remote host closed the connection]
nbrosnahan has joined #ruby
marcgg has quit [Ping timeout: 272 seconds]
mansi has joined #ruby
brunops has joined #ruby
TheNumb has quit [Client Quit]
zipper has quit [Ping timeout: 240 seconds]
TheNumb has joined #ruby
reset has quit [Quit: Leaving...]
tedstriker has joined #ruby
rjhunter has quit [Remote host closed the connection]
ereslibre has quit [Ping timeout: 245 seconds]
zipper has joined #ruby
<shevy> ok
<shevy> so we decide that both 'GPL 2' and 'GPLv2' win over 'GPL2'
mansi has quit [Ping timeout: 252 seconds]
bradhe has joined #ruby
harrymoreno has quit [Ping timeout: 245 seconds]
rjhunter has joined #ruby
<aob> shevy: I managed to shrink it;
yjmsf20 has joined #ruby
<shevy> by how many chars
coder_neo has quit [Quit: Leaving]
shaunbaker has joined #ruby
<aob> oh tonnes, I was able to put the contents of the with() onto the next lines
<aob> and in a 2nd case I made a variable instead of "very long string indeed"
liamkeily has joined #ruby
monkegjinni has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
<aob> i have 2 more to go; one of which is a long it .... line, where the verbosity is kinda useful
TMM has joined #ruby
TMM has joined #ruby
TMM has quit [Changing host]
harrymoreno has joined #ruby
workmad3 has joined #ruby
xk_id has quit [Quit:
brunops has quit [Ping timeout: 248 seconds]
mojjojo has joined #ruby
Astral__ has quit [Ping timeout: 252 seconds]
gasbakid_ has joined #ruby
vlad_starkov has joined #ruby
krz has joined #ruby
buscon has joined #ruby
harrymoreno has quit [Ping timeout: 272 seconds]
gasbakid has quit [Ping timeout: 272 seconds]
krz is now known as Guest64733
<Guest64733> i got an array [1,2] and a variable foo. if foo is 1, id like a hash: { left: true}. if foo is 2 { right: true }
<Guest64733> whats the best way to implement this
rjhunter has quit [Remote host closed the connection]
Guest64733 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rickruby has quit []
rjhunter has joined #ruby
timonv has joined #ruby
phansch has quit [Ping timeout: 252 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
xk_id has joined #ruby
Aryasam has joined #ruby
julweber has joined #ruby
nbrosnahan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nari has joined #ruby
mansi has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
Aryasam_ has joined #ruby
harrymoreno has joined #ruby
Aryasam_ has quit [Client Quit]
lyanchih has quit [Ping timeout: 252 seconds]
phansch has joined #ruby
movedx has left #ruby [#ruby]
kofno_ has joined #ruby
ghr has joined #ruby
rjhunter has quit [Remote host closed the connection]
Andrevan has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Ping timeout: 264 seconds]
amacgregor has joined #ruby
<joonty> Guest38577: how does the array come into this?
jlast has joined #ruby
tobago has quit [Ping timeout: 245 seconds]
zeeraw has joined #ruby
amacgregor__ has joined #ruby
mansi has quit [Remote host closed the connection]
amacgregor_ has quit [Ping timeout: 245 seconds]
smathieu has joined #ruby
mansi has joined #ruby
rjhunter has joined #ruby
kofno_ has quit [Ping timeout: 264 seconds]
Guest64176 has quit [Read error: Operation timed out]
jalcine has quit [Excess Flood]
tobago has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
klaut has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
ewnd9 has quit [Ping timeout: 245 seconds]
MrV_ has joined #ruby
charliesome has quit [Client Quit]
smathieu has quit [Ping timeout: 252 seconds]
mansi has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Ping timeout: 272 seconds]
aob has quit [Ping timeout: 252 seconds]
raar has joined #ruby
raar is now known as Guest85294
dhruvasagar has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
michael_lee has joined #ruby
psyl0n has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
clevermatt has joined #ruby
mengu has quit [Remote host closed the connection]
aryaching has joined #ruby
einarj has joined #ruby
jgoss has joined #ruby
mk_qi has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby
rjhunter has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 272 seconds]
buscon has quit [Remote host closed the connection]
zipper has joined #ruby
hiyosi has joined #ruby
tjad_ has joined #ruby
tjad has quit [Read error: Connection reset by peer]
rjhunter has joined #ruby
jgoss has quit [Quit: jgoss]
rickruby has joined #ruby
TaxmanBD has joined #ruby
Reach has joined #ruby
mk_qi has joined #ruby
julweber has quit [Remote host closed the connection]
hiyosi has quit [Read error: Operation timed out]
clevermatt has quit []
browndawg1 has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
amacgregor has joined #ruby
<shevy> that's another guest
derebos has joined #ruby
bradhe has joined #ruby
amacgregor__ has quit [Ping timeout: 246 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dhruvasagar has quit [Read error: Connection reset by peer]
xk_id has quit [Quit:
dhruvasagar has joined #ruby
jmeeuwen has quit [Ping timeout: 260 seconds]
harrymoreno has quit [Quit: harrymoreno]
bradhe has quit [Ping timeout: 265 seconds]
mk_qi has quit [Quit: mk_qi]
drumusician has quit [Ping timeout: 252 seconds]
zeeraw has joined #ruby
mansi has joined #ruby
mephux has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
ppppaul has quit [Ping timeout: 246 seconds]
mephux has joined #ruby
mojjojo has quit [Quit: mojjojo]
mklappstuhl has joined #ruby
mojjojo has joined #ruby
sheepman has joined #ruby
eka has joined #ruby
mojjojo has quit [Client Quit]
drumusician has joined #ruby
nomenkun has joined #ruby
xk_id has joined #ruby
postmodern has joined #ruby
sepp2k has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
hamakn has quit [Read error: Connection reset by peer]
ereslibre has joined #ruby
ereslibre has joined #ruby
JohnBat26 has joined #ruby
hamakn has joined #ruby
sivoais has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
mojjojo has joined #ruby
hamakn has joined #ruby
mengu has joined #ruby
zoo-zed has joined #ruby
FND has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
sayan has quit [Ping timeout: 265 seconds]
dhruvasagar has joined #ruby
<FND> hi - when using `CSV.read(filename, :encoding => "ISO-8859-1") { |row| ... }`, can I force `row[header]` to be UTF8-encoded without manually calling `.encode` every time?
jmeeuwen has joined #ruby
hamakn has quit [Ping timeout: 252 seconds]
zoo-zed has quit [Ping timeout: 246 seconds]
mojjojo has quit [Client Quit]
mojjojo has joined #ruby
amacgregor_ has joined #ruby
allsystemsarego has joined #ruby
larssmit has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
dEPy has joined #ruby
jlast has joined #ruby
nbrosnahan has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
michael_lee is now known as root_empire
smathieu has joined #ruby
shaunbak_ has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
aagdbl1 has joined #ruby
Kricir has joined #ruby
shaunbaker has quit [Ping timeout: 252 seconds]
aagdbl1 is now known as aagdbl
smathieu has quit [Read error: Operation timed out]
Kricir has quit [Read error: Connection reset by peer]
Kricir_ has joined #ruby
freerobby has quit [Ping timeout: 245 seconds]
axl_ has quit [Quit: axl_]
ldnunes has joined #ruby
MrV_ has quit [Quit: MrV_]
BizarreCake has joined #ruby
hogeo has quit [Remote host closed the connection]
Kricir_ has quit [Ping timeout: 272 seconds]
MrV_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
xk_id has quit [Quit:
rzsd has joined #ruby
hamakn has joined #ruby
Hoozt has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
hiyosi has joined #ruby
mklappstuhl has joined #ruby
hogeo has joined #ruby
otherj has joined #ruby
MrV_ has quit [Quit: MrV_]
zooz has joined #ruby
zooz has left #ruby ["Leaving"]
rickruby has quit [Remote host closed the connection]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
pskosinski has quit [Quit: Til rivido Idisti!]
bradhe has joined #ruby
otherj has quit [Client Quit]
hiyosi has quit [Ping timeout: 252 seconds]
drumusician has joined #ruby
jbpros has joined #ruby
nhhagen has joined #ruby
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
hogeo has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 246 seconds]
Squarepy has joined #ruby
banghouse2 has joined #ruby
axilla has joined #ruby
dymv has joined #ruby
dayepa has quit [Ping timeout: 264 seconds]
kodcuadam has joined #ruby
banghouse2 has quit [Ping timeout: 272 seconds]
colonolGron has joined #ruby
dayepa has joined #ruby
camilasan has quit [Read error: No route to host]
root_empire has quit [Quit: Ex-Chat]
camilasan has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
tvw has quit []
xcess_denied has quit [Quit: Leaving...]
himsin has joined #ruby
michael_lee has joined #ruby
mephux has quit [Ping timeout: 246 seconds]
amacgregor has joined #ruby
kiri has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
mephux has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
amacgregor_ has quit [Ping timeout: 246 seconds]
michael_lee has quit [Read error: Connection reset by peer]
Lindrian has quit [Changing host]
Lindrian has joined #ruby
michael_lee has joined #ruby
realDAB has joined #ruby
MrV_ has joined #ruby
kevinykchan has joined #ruby
MrV_ has quit [Client Quit]
varfoo has quit [Ping timeout: 272 seconds]
michael_lee has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
michael_lee has joined #ruby
timonv has quit [Remote host closed the connection]
Muz has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
kevinykchan has quit [Ping timeout: 246 seconds]
F1skr has quit [Ping timeout: 272 seconds]
hiall has joined #ruby
blackmes1 has joined #ruby
jprovazn has quit [Quit: Leaving]
sayan has joined #ruby
kevinykchan has joined #ruby
xcess_denied has joined #ruby
Lewix has quit [Remote host closed the connection]
fella6s has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 252 seconds]
aryaching_ has joined #ruby
TaxmanBD has quit [Ping timeout: 245 seconds]
yano has quit [Ping timeout: 600 seconds]
michael_lee has quit [Read error: Connection reset by peer]
michael_lee has joined #ruby
michael_lee0 has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
dhruvasagar has joined #ruby
matheuscaceres has joined #ruby
MrV_ has joined #ruby
ephemerian has quit [Ping timeout: 245 seconds]
michael_lee0 has quit [Read error: Connection reset by peer]
michael_lee has quit [Client Quit]
lkba has joined #ruby
zomgbie has joined #ruby
aryaching has quit [Ping timeout: 265 seconds]
F1skr has joined #ruby
michael_lee has joined #ruby
tonni_ has joined #ruby
michael_lee has quit [Client Quit]
noop has quit [Ping timeout: 246 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
RaCx has joined #ruby
nari has quit [Ping timeout: 264 seconds]
tonni has quit [Ping timeout: 252 seconds]
MrV_ has quit [Quit: MrV_]
<Sp4rKy> anyone using amqp gem ? I have issues with network error handling
varfoo has joined #ruby
<Sp4rKy> can't make it detect "hard" failure (power shutdown of broker for exemple)
MrV_ has joined #ruby
MrV_ has quit [Client Quit]
RaCx_ has joined #ruby
fedesilva has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
RaCx_ is now known as RaCx
timonv has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
Xeago has quit [Remote host closed the connection]
jlast has joined #ruby
sleepee has quit [Ping timeout: 246 seconds]
ffranz has joined #ruby
smathieu has joined #ruby
zomgbie has quit [Quit: leaving]
himsin has quit [Quit: himsin]
zomgbie has joined #ruby
mk_qi has joined #ruby
pleal has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
mk_qi has left #ruby [#ruby]
Kricir has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
smathieu has quit [Ping timeout: 272 seconds]
mojjojo has joined #ruby
mephux has quit [Ping timeout: 264 seconds]
FND has left #ruby [#ruby]
noop has joined #ruby
hiall has quit [Quit: hiall]
yfeldblum has joined #ruby
mephux has joined #ruby
<joelio> Any recommendations for UI components in gnome3?
Xeago has joined #ruby
mercwithamouth has joined #ruby
MrV_ has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
Xeago_ has joined #ruby
MrV_ has quit [Client Quit]
Xeago has quit [Read error: Connection reset by peer]
mklappstuhl has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 252 seconds]
justsee has joined #ruby
mklappstuhl has joined #ruby
brian___ has joined #ruby
xcess_denied has quit [Quit: Leaving...]
hiyosi has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
bradhe has quit [Ping timeout: 264 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
Beoran__ has joined #ruby
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
mephux has quit [Ping timeout: 245 seconds]
mklappstuhl has quit [Ping timeout: 252 seconds]
matheuscaceres has joined #ruby
inad922 has joined #ruby
<inad922> hello
gasbakid_ has quit [Remote host closed the connection]
osvico has joined #ruby
mephux has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
<inad922> Is there an alternative in capybara for find in a sense that I want to search for an element in a page with a css selector but not fail in the test if the element doesn't exist just return a false value?
Beoran_ has quit [Ping timeout: 272 seconds]
xcess_denied has joined #ruby
Xeago_ has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
vlad_starkov has joined #ruby
dzhulk has quit [Quit: Leaving.]
mansi has quit [Remote host closed the connection]
nari has joined #ruby
mansi has joined #ruby
RaCx has joined #ruby
mothball has joined #ruby
timonv_ has joined #ruby
<rjhunter> inad922: there certainly is. even find can do it. otherwise, you can use things like `page.has_css('h1 + p')`
timonv has quit [Ping timeout: 240 seconds]
ffranz has quit [Ping timeout: 245 seconds]
ffranz has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
dEPy has joined #ruby
hamakn has quit [Ping timeout: 245 seconds]
hamakn_ has joined #ruby
hogeo has joined #ruby
sivoais has joined #ruby
pskosinski has joined #ruby
fedesilva has quit [Read error: Connection reset by peer]
fedesilva has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
hogeo has quit [Ping timeout: 272 seconds]
larissa has joined #ruby
osvico has quit [Ping timeout: 272 seconds]
xcess_denied has quit [Quit: Leaving...]
varfoo has quit [Quit: WeeChat 0.4.0]
kiri has joined #ruby
realDAB has quit [Quit: realDAB]
mklappstuhl has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
RaCx has quit [Quit: Computer has gone to sleep.]
mklappstuhl has joined #ruby
sayan has quit [Read error: Connection reset by peer]
mothball has quit [Ping timeout: 272 seconds]
dEPy has quit [Quit: Computer has gone to sleep.]
tvw has joined #ruby
ahawkins has quit [Ping timeout: 252 seconds]
Squarepy has quit [Quit: Leaving]
RaCx has joined #ruby
postmodern has quit [Quit: Leaving]
monkegjinni has quit [Remote host closed the connection]
ahawkins has joined #ruby
jocke_ has joined #ruby
fgo has joined #ruby
zipper has quit [Ping timeout: 240 seconds]
<jocke_> does anybody know where i can get the peepcode play-by-play with ben orenstein? not available on pluralsight
monkegjinni has joined #ruby
Anarch has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
Muz has joined #ruby
mansi has joined #ruby
MrV_ has joined #ruby
dEPy has joined #ruby
varfoo has joined #ruby
zipper has joined #ruby
Squarepy has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
IceDragon has joined #ruby
jlast has joined #ruby
MrV_ has quit [Client Quit]
ziyadb has quit [Remote host closed the connection]
davidboy has quit [Remote host closed the connection]
Guest85414___ has quit [Remote host closed the connection]
percival__ has quit [Remote host closed the connection]
zero7 has quit [Remote host closed the connection]
pipecloud_ has quit [Remote host closed the connection]
lectrick has quit [Remote host closed the connection]
im0b has quit [Remote host closed the connection]
andrewstewart has quit [Remote host closed the connection]
dnyy has quit [Remote host closed the connection]
xerxas has quit [Remote host closed the connection]
bluehavana has quit [Remote host closed the connection]
kapowaz has quit [Remote host closed the connection]
mattyohe has quit [Remote host closed the connection]
keyvan has quit [Remote host closed the connection]
guilleiguaran has quit [Remote host closed the connection]
xpirator has quit [Remote host closed the connection]
mostlybadfly has quit [Remote host closed the connection]
priyam_ has quit [Remote host closed the connection]
jpinnix has quit [Remote host closed the connection]
robmozart has quit [Remote host closed the connection]
shaileshg__ has quit [Remote host closed the connection]
ggherdov has quit [Remote host closed the connection]
notbrent__ has quit [Remote host closed the connection]
[0x1a]_ has quit [Remote host closed the connection]
moeSeth has quit [Remote host closed the connection]
gazoombo has quit [Remote host closed the connection]
niftylettuce has quit [Remote host closed the connection]
nari has quit [Quit: Ex-Chat]
kofno has quit [Remote host closed the connection]
denysonique has quit [Remote host closed the connection]
alo1 has quit [Remote host closed the connection]
bjeanes has quit [Remote host closed the connection]
von_ has quit [Remote host closed the connection]
wpgreenway has quit [Remote host closed the connection]
antonishen has quit [Remote host closed the connection]
Bluemner has quit [Remote host closed the connection]
Tranquility has quit [Remote host closed the connection]
smathieu has joined #ruby
zensavona_ has quit [Remote host closed the connection]
mroth has quit [Remote host closed the connection]
[Neurotic] has quit [Remote host closed the connection]
dekz has quit [Remote host closed the connection]
karnowski has quit [Remote host closed the connection]
ckrailo has quit [Remote host closed the connection]
joshwines has quit [Remote host closed the connection]
octarine has quit [Remote host closed the connection]
blooberr_ has quit [Remote host closed the connection]
Zespre has quit [Remote host closed the connection]
dziga has quit [Remote host closed the connection]
JoeTheGuest has quit [Remote host closed the connection]
TheHodge has quit [Remote host closed the connection]
flowerhack has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
fijimunkii has quit [Ping timeout: 252 seconds]
jlast has quit [Ping timeout: 252 seconds]
<Hoozt> Hey I have a fresh new EC2 instance running Ubuntu 13. Should I go with RVM or rbenv? :/
robbyoconnor has quit [Ping timeout: 246 seconds]
percival__ has joined #ruby
Kricir has joined #ruby
reisl has joined #ruby
Guest85414___ has joined #ruby
smathieu has quit [Ping timeout: 246 seconds]
kapowaz has joined #ruby
rzsd has quit [Ping timeout: 252 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
noop has quit [Ping timeout: 246 seconds]
bradhe_ has joined #ruby
Guest48784 has joined #ruby
kiri has quit [Quit: Leaving]
RaCx has joined #ruby
larissa has quit [Ping timeout: 272 seconds]
von_ has joined #ruby
dekz has joined #ruby
moeSeth has joined #ruby
kiri has joined #ruby
Kricir has quit [Ping timeout: 265 seconds]
mroth has joined #ruby
sparrovv has quit [Quit: sparrovv]
kofno has joined #ruby
nonamehero has quit [Ping timeout: 240 seconds]
flops has joined #ruby
bradhe_ has quit [Ping timeout: 265 seconds]
dnyy has joined #ruby
timonv_ has quit [Remote host closed the connection]
breakingthings has joined #ruby
alo1 has joined #ruby
MrV_ has joined #ruby
diegoviola has joined #ruby
jpinnix has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
ckrailo has joined #ruby
havenwood has joined #ruby
soba has quit [Ping timeout: 246 seconds]
blackmes1 has quit [Remote host closed the connection]
bluehavana has joined #ruby
guilleiguaran has joined #ruby
falood has quit [Remote host closed the connection]
hiyosi has joined #ruby
Tranquility has joined #ruby
Bluemner has joined #ruby
davidboy has joined #ruby
antonishen has joined #ruby
xerxas has joined #ruby
lectrick has joined #ruby
niftylettuce has joined #ruby
ziyadb has joined #ruby
<inad922> rjhunter: Thanks, has_css seems like a good idea. I don't have to catch exceptions in this case
octarine has joined #ruby
noop has joined #ruby
wpgreenway has joined #ruby
pipecloud_ has joined #ruby
bjeanes has joined #ruby
yacks has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
mattyohe has joined #ruby
freezey has joined #ruby
im0b has joined #ruby
fschuindt has joined #ruby
notbrent__ has joined #ruby
TheHodge has joined #ruby
fschuindt has quit [Client Quit]
blooberr_ has joined #ruby
duggiefresh has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
hiyosi has quit [Ping timeout: 246 seconds]
gazoombo has joined #ruby
karnowski has joined #ruby
priyam_ has joined #ruby
Kricir has joined #ruby
aagdbl has quit [Quit: Leaving.]
flowerhack has joined #ruby
keyvan has joined #ruby
timonv has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
choobie has joined #ruby
[0x1a]_ has joined #ruby
blaskovicz has joined #ruby
geekbri has joined #ruby
mostlybadfly has joined #ruby
zensavona_ has joined #ruby
zero7 has joined #ruby
banghouse2 has joined #ruby
[Neurotic] has joined #ruby
joshwines has joined #ruby
<mojjojo> are constants in ruby classes public?
<Mon_Ouie> Unless you make them private, yes
<Mon_Ouie> (There's a private_constant method)
JoeTheGuest has joined #ruby
dziga has joined #ruby
polaco_zZz is now known as polaco
sarlalian has quit [Ping timeout: 272 seconds]
sailias has joined #ruby
fedesilva has quit [Remote host closed the connection]
mothball has joined #ruby
<mojjojo> if i have ERROR i am able to access it with XX.ERROR?
blackmesa has joined #ruby
mark_locklear has joined #ruby
<Mon_Ouie> XX::ERROR, XX.ERROR is a method call.
ggherdov has joined #ruby
Zespre has joined #ruby
stringoO has joined #ruby
banghouse2 has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
justsee has quit [Ping timeout: 264 seconds]
__LX__ has joined #ruby
andrewstewart has joined #ruby
xpirator has joined #ruby
noop has quit [Ping timeout: 248 seconds]
nonamehero has joined #ruby
shaileshg__ has joined #ruby
Guest85414___ has quit [Read error: Connection reset by peer]
robmozart has joined #ruby
Guest85414___ has joined #ruby
matheuscaceres has quit [Quit: matheuscaceres]
monkegjinni has joined #ruby
ch0mskiii has quit [Ping timeout: 272 seconds]
ananthakumaran has quit [Quit: Leaving.]
mmitchell has joined #ruby
pleal has quit [Remote host closed the connection]
adkron has joined #ruby
Ivo has quit [Quit: WeeChat 0.4.2]
fgo has quit [Remote host closed the connection]
mklappst_ has joined #ruby
synergy__ has joined #ruby
robbyoconnor has joined #ruby
dennus has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
tkuchiki has quit [Ping timeout: 264 seconds]
synergy_ has quit [Ping timeout: 245 seconds]
user258467 has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Ping timeout: 265 seconds]
user258467 has joined #ruby
pleal has joined #ruby
monkegji_ has joined #ruby
AlSquire has joined #ruby
Elhu has joined #ruby
asobrasil has joined #ruby
duggiefresh has quit [Remote host closed the connection]
havenwood has joined #ruby
jamesaanderson has joined #ruby
RaCx has joined #ruby
freerobby has joined #ruby
monkegjinni has quit [Ping timeout: 272 seconds]
Al_ has joined #ruby
<matti> Mon_Ouie: ;]
yeboot has quit [Ping timeout: 272 seconds]
japko has joined #ruby
japko has left #ruby [#ruby]
jkamenik has joined #ruby
yeboot has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
lfox has joined #ruby
zipper has quit [Ping timeout: 246 seconds]
dEPy_ has joined #ruby
freezey has quit [Remote host closed the connection]
zipper has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
VTLob has joined #ruby
eutsler has quit [Remote host closed the connection]
tkuchiki has joined #ruby
jlast has joined #ruby
adkron has quit [Ping timeout: 245 seconds]
elux has joined #ruby
apeiros has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
musha68k has joined #ruby
bradhe has joined #ruby
hiyosi has joined #ruby
freezey has joined #ruby
fijimunkii has joined #ruby
nowthatsamatt has joined #ruby
ananthakumaran has joined #ruby
larssmit has quit [Quit: Leaving.]
sheepman has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
smathieu has joined #ruby
sheepman has joined #ruby
vpretzel has joined #ruby
edin has left #ruby ["Leaving"]
jamesaanderson has joined #ruby
nbrosnahan has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mojjojo has quit [Quit: mojjojo]
jlast has quit [Ping timeout: 246 seconds]
jerius has joined #ruby
<shevy> matti: ;}
Kricir has joined #ruby
hydrospell has quit [Disconnected by services]
enebo has joined #ruby
siah has joined #ruby
ehc has joined #ruby
<matti> shevy: ;]
bradhe has quit [Ping timeout: 272 seconds]
<shevy> you look like an orc there matti
smathieu has quit [Ping timeout: 248 seconds]
thelorax123 has quit [Remote host closed the connection]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
colonolGron has quit [Quit: Lost terminal]
matheuscaceres has joined #ruby
monkegji_ has quit [Remote host closed the connection]
<rjhunter> zug zug
thelorax123 has joined #ruby
<shevy> mug hug
Meistarin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Meistarin has joined #ruby
strax has joined #ruby
blaxter has quit [Quit: foo]
misutowolf has joined #ruby
xue has joined #ruby
misutowolf has quit [Remote host closed the connection]
monkegjinni has joined #ruby
<gr33n7007h> Anyone here good with PacketFu
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
larssmit has joined #ruby
zeeraw has joined #ruby
ace_striker has joined #ruby
enebo has quit [Quit: enebo]
zipper has quit [Quit: leaving]
fella5s has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
Ox6abe has joined #ruby
monkegji_ has joined #ruby
xue has quit [Ping timeout: 245 seconds]
falood has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
ahawkins has quit [Read error: Connection reset by peer]
<shevy> I am quite good with kung fu
<shevy> panda style
gigetoo has quit [Remote host closed the connection]
Speed has joined #ruby
gigetoo has joined #ruby
hoyang has quit [Read error: Connection reset by peer]
<gr33n7007h> haha
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<zeroXten> any documentation on how to use rackup to run a webapp that is distributed as a gem?
psyl0n has quit [Remote host closed the connection]
ahawkins has joined #ruby
yfeldblum has joined #ruby
Xeago has joined #ruby
thelorax123 has quit [Read error: Connection reset by peer]
shaunbaker has joined #ruby
zipper has joined #ruby
mojjojo has joined #ruby
himsin has joined #ruby
himsin has quit [Client Quit]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby
shaunbak_ has quit [Ping timeout: 272 seconds]
endash has joined #ruby
adkron has joined #ruby
gwb3 has quit [Quit: leaving]
vlad_starkov has quit [Remote host closed the connection]
araujo has joined #ruby
hoyang has joined #ruby
nucatus has joined #ruby
yfeldblum has quit [Remote host closed the connection]
cescalante is now known as ce_afk
reisl is now known as larissa
flops has quit [Ping timeout: 272 seconds]
RichardBaker has joined #ruby
gyre007 has joined #ruby
gwb3 has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
Anarch has joined #ruby
mklappst_ has quit [Remote host closed the connection]
gwb3 has quit [Client Quit]
__main__ has joined #ruby
h_kon has quit [Remote host closed the connection]
dymv has quit []
baordog has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
psyl0n has joined #ruby
liamkeily has quit [Ping timeout: 272 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Ping timeout: 252 seconds]
julweber has joined #ruby
banister has joined #ruby
duggiefresh has joined #ruby
mklappstuhl has joined #ruby
jamesaanderson has joined #ruby
schaary is now known as schaary|afk
yano has joined #ruby
Mon_Ouie has quit [Ping timeout: 272 seconds]
kevind has joined #ruby
sevenseacat has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
zipper_ has joined #ruby
freezey has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
LexicalScope has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
zipper has quit [Ping timeout: 252 seconds]
falood has quit [Remote host closed the connection]
amritanshu_RnD has quit [Quit: Leaving]
fedesilva has joined #ruby
heftig has quit [Quit: Quitting]
sevenseacat has joined #ruby
ffranz1 has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
interactionjaxsn has joined #ruby
tobago has quit [Remote host closed the connection]
ffranz has quit [Ping timeout: 272 seconds]
spider-mario has joined #ruby
dhruvasagar has joined #ruby
asteros has joined #ruby
freezey has joined #ruby
schaary|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
pothibo has joined #ruby
Arzaga has joined #ruby
Xeago_ has joined #ruby
bradhe has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jgrevich has joined #ruby
zipper_ has quit [Quit: leaving]
zipper has joined #ruby
lmickh has joined #ruby
vlad_starkov has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
myappleguy has joined #ruby
zeeraw has joined #ruby
ffranz1 is now known as ffranz
vlad_starkov has quit [Read error: Connection reset by peer]
ringaroses has joined #ruby
zeeraw has quit [Client Quit]
Guest48784 has quit [Quit: Connection closed for inactivity]
ringaroses has quit [Read error: Connection reset by peer]
ffranz1 has joined #ruby
smathieu has joined #ruby
kaspergrubbe has joined #ruby
ffranz has quit [Quit: Leaving]
adambeynon has joined #ruby
jonahR has joined #ruby
ffranz1 is now known as ffranz
johnnyfuchs has joined #ruby
adkron has quit [Ping timeout: 265 seconds]
Kricir has joined #ruby
kcombs has joined #ruby
johnnyfuchs has quit [Client Quit]
yeboot has quit [Ping timeout: 272 seconds]
smathieu has quit [Ping timeout: 272 seconds]
tannerburson has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
sevenseacat has quit [Ping timeout: 251 seconds]
michael_lee has joined #ruby
phansch has quit [Ping timeout: 272 seconds]
johnnyfuchs has joined #ruby
ambushsabre has joined #ruby
flops has joined #ruby
dennus has quit []
zcreative has joined #ruby
bluehavana has quit [Quit: Connection closed for inactivity]
Kneferilis has quit [Quit: Leaving]
guilleiguaran has quit [Quit: Connection closed for inactivity]
Ox6abe has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
rjhunter has quit [Remote host closed the connection]
sarlalian has joined #ruby
adambeynon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adambeynon has joined #ruby
pixelgremlins has joined #ruby
blackmesa has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
schaary has joined #ruby
michael_lee has joined #ruby
tesuji_ has quit [Ping timeout: 240 seconds]
joshwines has quit [Quit: Connection closed for inactivity]
inad922 has quit [Ping timeout: 260 seconds]
dEPy_ has quit [Quit: Computer has gone to sleep.]
banghouse2 has joined #ruby
larssmit has quit [Quit: Leaving.]
shaileshg__ has quit [Quit: Connection closed for inactivity]
hamakn_ has quit [Remote host closed the connection]
closures999 has joined #ruby
inad922 has joined #ruby
phansch has joined #ruby
xpirator has quit [Quit: Connection closed for inactivity]
zipper has quit [Quit: leaving]
Kruppe has quit [Quit: ZNC - http://znc.in]
ziyadb has quit [Quit: Connection closed for inactivity]
gtsiftsis has quit [Quit: Leaving]
Kruppe has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banghouse2 has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
nwertman has joined #ruby
vlad_starkov has joined #ruby
Kneferilis has joined #ruby
freezey has quit [Remote host closed the connection]
flowerhack has quit [Quit: Connection closed for inactivity]
enebo has joined #ruby
_maes_ has joined #ruby
benwoody has joined #ruby
_maes_ has quit [Client Quit]
bean has joined #ruby
yfeldblum has joined #ruby
_maes_ has joined #ruby
Xeago has quit [Remote host closed the connection]
mikepack has joined #ruby
b00stfr3ak has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
adambeynon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fuhgeddaboudit has joined #ruby
arthurnn has joined #ruby
jonahR has quit [Quit: jonahR]
flowerhack_ has joined #ruby
vise890 has joined #ruby
pranny has quit [Quit: Leaving.]
Kricir has quit [Ping timeout: 264 seconds]
zeeraw has joined #ruby
ahawkins has quit [Quit: leaving]
jbpros has quit [Quit: jbpros]
blooberr_ has quit [Quit: Connection closed for inactivity]
volty has joined #ruby
RaCx has joined #ruby
LexicalScope has quit [Ping timeout: 252 seconds]
derebos has quit [Remote host closed the connection]
vise890 has quit [Quit: Leaving]
freezey has joined #ruby
<shevy> huh
<shevy> is sqlite integrated into ruby?
mercwithamouth has joined #ruby
julweber has quit [Remote host closed the connection]
rippa has joined #ruby
percival__ has quit [Quit: Connection closed for inactivity]
sethetter has joined #ruby
<olivier_bK> what do you mean ,
shaunbaker has quit [Remote host closed the connection]
<sethetter> If a gem fails to install, does it have an error return code?
<olivier_bK> ?
<olivier_bK> you need a gem for sqlite as mysql
shaunbaker has joined #ruby
<olivier_bK> sethetter, normaly yes
<olivier_bK> why ?
<sethetter> olivier_bK: Seeing if I can test for a return code 0 reliably meaning successful install
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> sethetter: Returns en exit status of 2 if not found and 0 if found.
monkegji_ has quit [Ping timeout: 246 seconds]
monkegjinni has joined #ruby
<havenwood> sethetter: Try it yourself: gem install nope; echo $?
<sethetter> havenwood: Thanks
sarlalian has quit [Read error: Operation timed out]
danshult_ has joined #ruby
jlebrech has joined #ruby
<shevy> olivier_bK yeah I was not sure, I started irb and: require 'sqlite' worked
<shevy> perhaps rails installed it for me
<havenwood> shevy: You have the gem installed, yeah.
<sethetter> havenwood: Great, thanks again
RichardBaker has quit [Quit: RichardBaker]
sethetter has left #ruby [#ruby]
camilasan has quit [Remote host closed the connection]
<shevy> ok time to create the nope gem :>
<havenwood> shevy: >.>
camilasan has joined #ruby
sarlalian has joined #ruby
<havenwood> shevy: my example is then a 0, i'm unscathed!
iamjarvo has joined #ruby
<shevy> cool
<shevy> gem install 0
<shevy> ERROR: Could not find a valid gem '0' (>= 0) in any repository
bradhe has joined #ruby
<havenwood> set, oh he left, oh well - was gunna link exit code portion of RubyGems: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/commands/install_command.rb#L217-236
rjhunter has joined #ruby
<havenwood> 0 for success, 1 for install error, and 2 for gem not found
<havenwood> TL;DR ^
danshultz has quit [Ping timeout: 272 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
<havenwood> (According my staff researchers and elves agree.)
<olivier_bK> how i can pass a variable in another script ?
freerobby has quit [Quit: Leaving.]
ewnd9 has joined #ruby
<shevy> olivier_bK 2 ruby scripts?
<olivier_bK> yes
<volty> to another script? by IPC or by arguments
<shevy> volty! play the violin for me
<olivier_bK> arguments
<volty> shevy: :)
freerobby has joined #ruby
<shevy> olivier_bK not sure this is easily possible. system() should work though
<havenwood> olivier_bK: Expose your variable via a class or module and require then include/extend/inherit that class or module.
digital-ghost has joined #ruby
AffiliateOwnz has joined #ruby
<volty> eh? are we about required files or about inter process exchange ? ???
<havenwood> volty: good question
momomomomo has quit [Quit: momomomomo]
rjhunter has quit [Ping timeout: 245 seconds]
bradhe has quit [Ping timeout: 272 seconds]
g0bl1n has joined #ruby
<AffiliateOwnz> **Earn 0.25$ Per Lead **. For Details:http://www.StillRemember.Net/Affiliate.htm
AffiliateOwnz has quit [Killed (idoru (Spam is off topic on freenode.))]
burlyscudd has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
burlyscudd has quit [Client Quit]
<havenwood> olivier_bK: Do you need two scripts that are both daemonized is separate processes to share state?
kure has quit [Ping timeout: 272 seconds]
mojjojo has quit [Quit: mojjojo]
<olivier_bK> yes i need it
<havenwood> Have you considered DRb?
<shevy> Dr. B
<shevy> rapping in da house
f0ster has quit [Ping timeout: 240 seconds]
catphish has joined #ruby
<catphish> http://www.therubygame.com/ is back :)
freezey has quit [Remote host closed the connection]
<havenwood> olivier_bK: You can serialize to JSON/YAML/Marshal/MsgPack and pass data back and forth over interprocess communication (IPC) via a Unix Socket or Redis or whatever. Or use RabbitMQ or 0MQ, but DRb is the Ruby-specific solution that is quite nice.
<shevy> what is that catphish
freezey has joined #ruby
<catphish> shevy: is a game of ruby, code golf type challenges
<havenwood> olivier_bK: TL;DR, use DRb if both scripts are Ruby or use 0MQ if one isn't Ruby.
<olivier_bK> havenwood, thanks
zeeraw has joined #ruby
zensavona_ has quit [Quit: Connection closed for inactivity]
b00stfr3ak has quit [Remote host closed the connection]
DouweM has joined #ruby
AffiliateOwnz has joined #ruby
benzrf has joined #ruby
<benzrf> hello
<benzrf> im going to write a sinatra app for heroku
<benzrf> should i use bundler or rvm?
<havenwood> olivier_bK: np, if you want a nice example of IPC over a channel in Ruby: https://github.com/robgleeson/ichannel#readme
jibi has joined #ruby
dhruvasagar has joined #ruby
smathieu has joined #ruby
JoeTheGuest has quit [Quit: Connection closed for inactivity]
mikepack has quit [Remote host closed the connection]
freezey_ has joined #ruby
_maes_ has quit [Ping timeout: 264 seconds]
<havenwood> benzrf: use ruby-install to install your Rubies, chruby to select the current one, chgems to isolate gems to the project dir, and bundler/gem to resolve gem deps.
<benzrf> wat
<AffiliateOwnz> **Earn 0.25$ Per Lead **. For Details:http://www.StillRemember.Net/Affiliate.htm
AffiliateOwnz has quit [Killed (idoru (Spam is off topic on freenode.))]
Kricir has joined #ruby
banghouse2 has joined #ruby
<benzrf> how do i get those things
<catphish> benzrf: you should always use bundler, rvm solves a different problem (installing ruby itself)
threesome has quit [Ping timeout: 264 seconds]
<havenwood> apeiros: Banhammer needed for AffiliateOwnz advert spammage. ^
<benzrf> catphish: ok
<havenwood> benzrf: what platform are you on?
<benzrf> loonix
<apeiros> already gone
sbos99 has joined #ruby
<catphish> he was klined within about 0.5 seconds
<havenwood> apeiros: oops, sry to both - thx!! :)
<apeiros> hm, but repeatedly…
<havenwood> gorilla warfare
freezey has quit [Ping timeout: 252 seconds]
OdNairy has joined #ruby
danshult_ has quit [Read error: Connection reset by peer]
<apeiros> banwall.
danshultz has joined #ruby
smathieu has quit [Ping timeout: 272 seconds]
bluOxigen has quit [Remote host closed the connection]
jedimind has joined #ruby
browndawg1 has left #ruby [#ruby]
forced_request has quit [Ping timeout: 246 seconds]
<jedimind> i know this is a long shot, but anyone interested in doing an open source project w/ me ?
<benzrf> jedimind: go on...
aspires has joined #ruby
bluOxigen has joined #ruby
<benzrf> but we have to call it FLOSS instead of open source if im in
<benzrf> :D
<jedimind> haha
<havenwood> benzrf: Or yeah, if you want to do less reading RVM is a popular option. I like the small, simple tools personally. You can read the code yourself and know exactly what is happening (an endeavor not for the faint of heart with RVM).
<jedimind> there's an existing open source initiative that's effectively a github-based ticket tracker / agile development structure
<jedimind> written in ruby
iamjarvo has quit [Remote host closed the connection]
<benzrf> i think ill just use bundler
<benzrf> :|
<jedimind> it hasnt been touched in months, and im interested in carrying on the torch
Kricir has quit [Ping timeout: 264 seconds]
<jedimind> building out some new features and a new interface for it
<jedimind> im a seasoned front end developer
<havenwood> benzrf: bundler resolves Gemfile dependencies ext, it does not and will never install or select the Ruby you're using.
<catphish> jedimind: i'd explain what it is first :)
iamjarvo has joined #ruby
<havenwood> benzrf: just different tools, not for the same purpose
<benzrf> havenwood: well i was asking about what i should use
<benzrf> honestly i probably dont need anything more
<jedimind> its huboard.com
<benzrf> o:
<timmow> is there a nicer way to do this - `#{string}` - where string is a shell cmd?
<catphish> jedimind: unfortunately i already own a competing product
<jedimind> catphish what is it ?
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<havenwood> benzrf: if you don't need to 1) install Ruby, 2) select the current Ruby, 3) isolate gems, then you don't need rvm (1, 2 & 3) or ruby-install (1)/chruby (2)/chgems (3).
<jedimind> interesting
<jedimind> this idea was born out of a necessity for a tool, i used huboard for a bit, but it lacks some serious functionality
alup has quit [Quit: Leaving]
<catphish> there are plenty of good project management / internal ticketing tools
<jedimind> catphish from what i can see there's nothing that codebasehq does specific to github issue api ?
<benzrf> havenwood: id like to isolate gems but cant i use bundle exec for that
<catphish> but i wanted to bring that together with code hosting
<benzrf> jedimind: i might be able to do something to help but be warned that im:
<benzrf> a) p. new to ruby
<catphish> jedimind: codebase provides its own code and ticket hosting, so doesn't use github
<benzrf> b) a terrible cowboy coder
<jedimind> catphish right
<benzrf> c) 16 years old
<benzrf> :p
mengu has quit []
<jedimind> catphish do you have any agile-specific tools/ from what i can see your ticket tracking is more waterfall based
<havenwood> benzrf: yeah, you can bundle your gems - you might want to look at rubygems-bundler to avoid hassle with `bundle exec` if you go that route: https://github.com/mpapis/rubygems-bundler#readme
<jedimind> and linear issue / ticket tracking
F1skr has quit [Quit: WeeChat 0.4.2]
<catphish> jedimind: we have agile tools in beta that turn our ticket lists into sprints etc
<kiba> vacaation week fo rme
psyl0n has quit [Remote host closed the connection]
<jedimind> neat
vktrsalles has joined #ruby
<jedimind> benzrf im not opposed to giving someone a shot, but its not my ideal scenario
* kiba 's goal is to work as minimal as possible
tesuji has joined #ruby
<benzrf> heh
kaspergrubbe has quit [Remote host closed the connection]
<kiba> but I still work, because I have to study and do chores :/
<kiba> anybody have a recommended fiber tutorial I can play with?
RichardBaker has joined #ruby
<kiba> I am thinking of writing a new downloader that's much more efficient in gathering data.
<shevy> someone explain fiber to me
<shevy> or better
<shevy> why I need fibers when I have threads
<benzrf> ha
<kiba> fibers is lightweight compared to threads
<jedimind> fiber is great in the morning as part of your breakfast
<shevy> I dont feel the weight of threads
<jedimind> it gets your innards working well
<shevy> lol jedimind
<kiba> shevy: weights add up
<kiba> it's like pennys
<shevy> ok if I write the next twitter
<kiba> a few penny is nothing
<shevy> but if not
<kiba> but a shitton of penny is heavy!
kaspergrubbe has joined #ruby
<shevy> I hate penny
ddd has joined #ruby
kevind_ has joined #ruby
<shevy> a shitton of penny is a lot to hate
<benzrf> bbl
benzrf is now known as benzrf\at
avril14th has quit [Remote host closed the connection]
matheuscaceres has quit [Quit: matheuscaceres]
<kiba> hating pennys, it's what the shevy people do
dhruvasagar has quit [Ping timeout: 252 seconds]
<shevy> really
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> what is useful that you can buy with pennys
<jedimind> i like you cats
<jedimind> do cool people call each other "cats" still ?
ffranz has quit [Quit: Leaving]
<kiba> shevy: bitcoin
<lupine> penny sweets
<lupine> mind you
<lupine> penny sweets cost > 1p these days
phansch has quit [Ping timeout: 246 seconds]
<shevy> bitcoin
kevind has quit [Ping timeout: 272 seconds]
kevind_ is now known as kevind
<ddd> anyone remember the old squirrel nuts candy? penny candy
<shevy> that's worth less than a penny
<shevy> squirrel nuts?
<ddd> little retangular soft candy made of carmel and chopped up peanuts
<ddd> they were called squirrel nuts
<ddd> they gotta be like 30 years ago now
g0bl1n has quit [Quit: Ex-Chat]
<ddd> (I'm 43 so remembering from when I was a kid hehe)
ffranz has joined #ruby
<jedimind> damn i thought i was old at 33
<ddd> byte me
<jedimind> you're practically old enough to
<jedimind> be my older brother
<ddd> hehe
<ddd> mind is in its mid to late 20s. body not so much :)
asteros has quit [Quit: asteros]
kobain has joined #ruby
hoyang_ has joined #ruby
tesuji has quit [Ping timeout: 246 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kiba> ddd: always keep your mind young and learning
pleal has quit [Read error: Connection reset by peer]
<kiba> never coast!
h0rrorvacui has joined #ruby
johnnyfuchs has left #ruby [#ruby]
<ddd> yep!
adambeynon has joined #ruby
<kiba> ddd: what you do for learning?
pleal has joined #ruby
<jedimind> lots of drugs
mwagner has joined #ruby
<ddd> i'm back in college, and i spend most of my time when not in school on the internet, watching training videos, reading books, stuff like that
pixelgremlins has quit [Ping timeout: 248 seconds]
<ddd> plus i like to lurk in channels like this. always something i didn't know being discussed, or new ways of looking at things
<kiba> I dropped out of college because of poor study habits
matheuscaceres has joined #ruby
<kiba> now I care more about learning
hoyang has quit [Ping timeout: 248 seconds]
RaCx has quit [Ping timeout: 272 seconds]
<jedimind> i dropped out of highschool
<kiba> than when I was in college
pskosinski has joined #ruby
<kiba> Now, I studied with anki for 30 minutes a day
<kiba> trying to cram thousand of cards into my head
adkron has joined #ruby
pixelgremlins has joined #ruby
<ddd> i live in rural Kentucky, so computers are kind of a non thing here. So I am in school to be a diesel mechanic. Getting an Associates in Diesel Technology (I work on the big 18 wheeler rigs and heavy construction machinery)
<ddd> at night, I study my passion which is computers
<kiba> I studied 1.4K cards thus far
moeSeth has quit [Quit: Connection closed for inactivity]
<kiba> I still have like 1.5K cards that are unreviewed
<volty> RFC: learning haskell now (though i had previous experience with fp), and i have a strange feeling: more and more i go on with it more and more I like it, and but at the same time more and more I like and appreciate ruby
<ddd> someone had told me about a couple flashcard programs for linux, just never checked them out
Nogbit has joined #ruby
<ddd> how well do they work?
vlad_starkov has joined #ruby
<ddd> volty: no reason you can't learn both
<kiba> ddd: anything that doesn't use spaced repetition is not worth your time
robonerd has quit [Ping timeout: 248 seconds]
<kiba> and you have to learn how to create good cards to get anything out of it
<kiba> I used anki
<ddd> as in a certain time dlay before showing next card, but showing the same ones over and over?
<kiba> it's not the best program in the world, but it does the job
<kiba> ddd: time delay, yes
<ddd> i'd have a hard time sitting still for that.
<ddd> i'd get bored fast
<shevy> ddd what are you learning in college?
<kiba> ddd: I get like 150 cards everyday
<kiba> it's fast
<ddd> shevy: getting an Associates in Diesel Technology. Basically learning everything about diesel
<shevy> hmm
<kiba> the time interval are days, rather than hours or minutes
<shevy> is that engineering?
<ddd> yeah. its an engineering program
<jedimind> ... why?
<kiba> ddd: and it's not suitable for college work
<jedimind> out of curiosity
<shevy> math always scared me away from engineering :(
<kiba> unless you plan to retian what you have learned
<kiba> anki is good for that
<kiba> you could use anki to study with cramming, but that is not what it's designed for
<volty> ddd: 'learning' is too a general term, i distinguish between 'being knowledge' and 'being able' --- e.g. one thing is to learn the german language but another one is to THINK in german
<ddd> jedimind: because as I said, I live in rural Kentucky. there's no real call for computers around here. So, its not something I can really put to use to make money to feed the family
<ddd> diesel work is
<jedimind> move?
<jedimind> lol
<jedimind> sorry
<kiba> spaced repetition is about retaining information for long term storage
<jedimind> also you can do web development remotely
vlad_starkov has quit [Read error: Connection reset by peer]
asteros has joined #ruby
<kiba> ddd: you have an advantage in some ways
<ddd> they start you out doing mechanic work. you become a certified diesel mechanic. But the 2nd year, you start the deeper engineering (how does a diesel engine operate from an engineering pov, how to design them etc)
<kiba> rural means that the cost of living is cheap, if you can get job over the internet, you might be able to earn a lot of money
<ddd> jedimind: no way. I hate the big cities
<shevy> cool
<ddd> I'm very uncomfortable in citiesa
robonerd has joined #ruby
<shevy> so you could even build diesel engines
<ddd> err s/sa/s/
<kiba> ddd: too crowded?
<ddd> shevy: yes
<ddd> kiba: yeah
<kiba> shevy: a cool skill but it's getting outdated, I suspect
mojjojo has joined #ruby
<jedimind> i would hope its going to be outdated soon
<shevy> dunno, why would it
<jedimind> not because of ddd
<kiba> might last for decades until everything is replaced with electric vechicles
jkhwan has joined #ruby
<jedimind> shevy combustion engines are on the way out
<jedimind> hopefully
<shevy> I mean can't he just switch any other fuel easily
<ddd> diesel will be around a long long time
<kiba> jedimind: will probably takes decade
<jedimind> he's doing diesel specifically
<shevy> whether it's gasoline or corn syrup :)
<ddd> more than half the transportation pipeline and shipping fleets use diesel
<jedimind> yeah but they probably shouldnt
s2013 has joined #ruby
brtdv has quit []
nobitanobi has joined #ruby
<ddd> what they shouldn't and what they are are totally different
<jedimind> i mean when it starts raining fire in a couple of years
<ddd> so, until they stop, I have the potential to find work
<jedimind> people will say "wait hold the fuck up"
<jedimind> :)
<kiba> ddd: I imaigne some of the thing you learned in disel engineering is transferable to other engineering discipline
obs has quit [Remote host closed the connection]
<ddd> the problem is electric engines can't generate the force-pounds needed for construction (heavy construction) whereas diesel is more efficient than gasoline engines and generate more power for less work
<ddd> so its going to be quite some time before diesel goes byebye
<ddd> kiba: yeah it shoiuld
<ddd> err should
xcess_denied has joined #ruby
schaary has quit [Quit: Textual IRC Client: www.textualapp.com]
<jedimind> dont get me wrong, i mean my jbo is probably goign to be obsolete way before diesel engines are
<jedimind> im just thinking out loud
pothibo has joined #ruby
<jedimind> i mean im a front end developer with focus on UX/UI and technologies pertaining to web stuff on desktops and phones
<apeiros> ddd: hm, friend of mine (who works in engineering and is right now tasked with a related project) says otherwise. iirc he said force-wise electric engines beat diesel hands-down
<jedimind> in 10 years when its all implanted in our eyeballs
<jedimind> my job is useless
<apeiros> ddd: his problem was power supply
<kiba> creative destruction
<kiba> people don't like it
<apeiros> (another might probably be price - didn't talk about that)
<ddd> apeiros: it depends on the problem domain. for say transport of rock, coal, and for deepwell digging, diesel all the way
<kiba> even though it will be better in the long run
mark_locklear has quit [Quit: Leaving]
obs has joined #ruby
<ddd> for repetative continious operations like say for drilling, electrical is better
<apeiros> ddd: I'm not sure what the proper english term is - he's retrofitting a "bucket digger"(?) from diesel to electrict
<apeiros> -t
<ddd> bucket loader
<apeiros> no, not loader
psyl0n has joined #ruby
<shevy> say the german word
<ddd> conveyer belt with the buckets attached? for say lifting coal from deep mines?
<shevy> wait... YMCA clothing???
<volty> why diesel? where's the difference between producing electricity with diesel and moving things with diesel ?
<shevy> ohhhh a Schaufelbagger!!
ArchBeOS-work has joined #ruby
<apeiros> not sure I remember correctly, though
<ddd> volty: haven;t gotten all the gory details. I'm only just ending my 1st semester
<apeiros> I'll ask him :)
zigomir has joined #ruby
<workmad3> apeiros: I just call that a 'digger' :D
<ddd> apeiros: YEAH DO
<ddd> oops sorry. caps lock
nobitanobi has quit [Ping timeout: 248 seconds]
<volty> ok, do not forget to come here after the next semesters :)
<ddd> hehe
nobitanobi has joined #ruby
<ddd> ask shevy and apeiros. I'm a fixture to this channel
tvw has quit []
<apeiros> I know you?
iamjarvo has quit [Remote host closed the connection]
<ddd> not going anywhere. might disappear for a bit as life happens, but i'm always back
<apeiros> j/k ;-p
<ddd> apeiros: umm, ddd from RVM project
<ddd> oh, you scared me for a sec
<apeiros> hehe
<workmad3> ddd: nah, doesn't ring any bells...
<ddd> thought you got hit in the head or something ;)
<banister> ddd you're the guy who's DTF right?
<ddd> workmad3: damn it!
<ddd> banister: right
<jedimind> lol
iamjarvo has joined #ruby
<apeiros> DTF?
<ddd> Deryl's Testing Framework
<banister> apeiros down to f*ck
<nobitanobi> moorning boyz and girls
vpretzel has quit [Ping timeout: 252 seconds]
<shevy> hi samurai
cads has quit [Ping timeout: 272 seconds]
<ddd> its a modular testing framework I was building for developing testing harnesses with reporting for RVM test runs
<nobitanobi> hola shevy!
<workmad3> DTF - DDD's Toe Fetish...
* apeiros off for commute
<ddd> lol
<ddd> later apeiros
apeiros has quit [Remote host closed the connection]
freezey_ has quit [Remote host closed the connection]
<volty> there are fuckers and there are fuckables --- always been and always will be ... :)
<ddd> doh
mojjojo has quit [Quit: mojjojo]
<workmad3> Deryl's Taxidermy Fixtures?
<nobitanobi> what's the contrast of an image for you guys?
iamjarvo has quit [Remote host closed the connection]
<olivier_bK> the name of my script is BackupMysql.rb and in my script delete_instance.rb i say require 'BackupMysql'
iamjarvo has joined #ruby
apeiros has joined #ruby
<olivier_bK> but i execute my script delete_instance i get no such file to load -- BackupMysql (LoadError)
<workmad3> apeiros: short commute...
vktrsalles has quit [Quit: Leaving]
<olivier_bK> they are in the same directory
vpretzel has joined #ruby
blaskovicz has quit [Quit: Leaving.]
<ddd> Apocalypse: btw, yeah thats a version of a bucket loader.
<ddd> err apeiros even
julweber has joined #ruby
vlad_starkov has joined #ruby
<ddd> an *actual* (or the original 'bucket loader' is also called a front end loader
Xeago_ has quit [Remote host closed the connection]
<ddd> damn it hold on
drumusician has quit [Ping timeout: 272 seconds]
Voodoofish430 has joined #ruby
pranny has joined #ruby
arietis has joined #ruby
yfeldblum has quit [Quit: Leaving...]
RaCx has joined #ruby
asteros has quit [Quit: asteros]
freezey has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
<olivier_bK> nobody ?
pranny has quit [Client Quit]
<ddd> anyways, time to go help stuff the thanksgiving turkey
_br_ has quit [Ping timeout: 245 seconds]
s2013 has quit [Remote host closed the connection]
Kabaka has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby
iliketur_ has joined #ruby
Buccolo has joined #ruby
Buccolo has left #ruby [#ruby]
xcess_denied has quit [Ping timeout: 272 seconds]
epscy has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
<platzhirsch> http://www.atdot.net/~ko1/activities/toruby05-ko1.pdf What's new in Ruby 2.1
_br_ has joined #ruby
Muz has quit [Ping timeout: 272 seconds]
julweber has quit [Remote host closed the connection]
gyre008 has joined #ruby
Muz has joined #ruby
enebo has quit [Quit: enebo]
phansch has joined #ruby
threesome has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
gyre007 has quit [Ping timeout: 248 seconds]
Spami has quit [Quit: This computer has gone to sleep]
tannerburson has quit [Quit: tannerburson]
dallasm has joined #ruby
<platzhirsch> 1/2r for float
IceDragon has quit [Ping timeout: 248 seconds]
IcyDragon has joined #ruby
dhruvasagar has joined #ruby
blackmesa has joined #ruby
julweber has joined #ruby
xcess_denied has joined #ruby
RaCx_ has joined #ruby
maletor has joined #ruby
epscy has joined #ruby
aarkerio has joined #ruby
niftylettuce has quit [Quit: Connection closed for inactivity]
dhruvasagar has quit [Read error: Connection reset by peer]
carraroj has joined #ruby
<olivier_bK> the name of my script is BackupMysql.rb and in my script delete_instance.rb i say require 'BackupMysql'
<olivier_bK> but i execute my script delete_instance i get no such file to load -- BackupMysql (LoadError)
jmeeuwen has quit [Read error: No route to host]
<olivier_bK> some one know why ?
RaCx has quit [Ping timeout: 272 seconds]
RaCx_ is now known as RaCx
jmeeuwen has joined #ruby
bradhe has joined #ruby
benzrf\at has left #ruby [#ruby]
ssvo has joined #ruby
Kabaka has joined #ruby
alse has joined #ruby
TMM has quit [Quit: Ex-Chat]
parduse has quit []
drumusician has joined #ruby
monkegjinni has quit [Remote host closed the connection]
adambeynon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nomenkun has quit [Ping timeout: 252 seconds]
alse has quit [Client Quit]
alx- has joined #ruby
Squarepy has quit [Quit: Leaving]
parduse has joined #ruby
Lewix has joined #ruby
Pola_ has joined #ruby
<Pola_> hi
roolo has quit [Remote host closed the connection]
<volty> because ruby cannot find your script -- wrong name or wrong directory (or directory isn't in $:)
s2013 has joined #ruby
platzhirsch has left #ruby [#ruby]
pel_daniel has joined #ruby
smathieu has joined #ruby
xcess_denied has quit [Quit: Leaving...]
Kricir has joined #ruby
drumusician has quit [Ping timeout: 240 seconds]
arthurnn has quit [Ping timeout: 248 seconds]
<Pola_> just a question I have something like this: g.unpack('H*') ---> ["180002000"] and I want to change the third byte to 04 (to get ["180004000"]
<Pola_> what is the best way to do that ?
__LX__ has quit [Quit: Leaving]
chomskiii has joined #ruby
blaskovicz has joined #ruby
b00stfr3ak has joined #ruby
<Pola_> I got it :D
julweber has quit [Remote host closed the connection]
ewnd9 has quit [Remote host closed the connection]
DaZ has joined #ruby
carraroj has quit [Ping timeout: 246 seconds]
carraroj has joined #ruby
Hoozt has quit [Ping timeout: 252 seconds]
mmitchell has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
nwertman has quit [Ping timeout: 264 seconds]
mmitchell has joined #ruby
mmitchell has quit [Read error: Connection reset by peer]
mmitchell has joined #ruby
<shevy> olivier_bK try require '/BackupMysql.rb' or require_relative 'BackupMysql' or even better, install it like a gem, then it will work
terrellt has quit [Read error: Connection reset by peer]
<shevy> and use a namespace for your project
terrellt has joined #ruby
phansch has quit [Remote host closed the connection]
adambeynon has joined #ruby
Princip has joined #ruby
volty has quit [Quit: Konversation terminated!]
nvrch has quit [Quit: nvrch]
zipper has joined #ruby
dagobah has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
aganov has quit [Remote host closed the connection]
dallasm has quit [Remote host closed the connection]
benzrf\at has joined #ruby
<benzrf\at> ok im confused how does sinatra work
benzrf\at is now known as benzrf
iamjarvo_ has joined #ruby
tenjack has joined #ruby
<benzrf> how can you require it & set up routes and it works without having to invoke a run method??
<workmad3> benzrf: with magick!!!
<benzrf> gah
kaspergrubbe has quit [Remote host closed the connection]
<benzrf> but seriously what
inad922 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 25.0.1/20131112160018]]
psyl0n has quit [Remote host closed the connection]
<olivier_bK> with require_relative that's work
<olivier_bK> :)
fgo has joined #ruby
<benzrf> whats require_relative
zomgbie has quit [Read error: Connection reset by peer]
zomgbie has joined #ruby
<spike|spiegel> at_exit { Application.run! if $!.nil? && Application.run? } --> that's how.
<workmad3> benzrf: that's how :)
xerxas has quit [Quit: Connection closed for inactivity]
<havenwood> Pola_: How's you decide to do it, just curious?
<spike|spiegel> anymore abuse of at_exit will make me nuke a lot of things.
brtdv has joined #ruby
<benzrf> i dont understand
<benzrf> oh it is at_exit?
<workmad3> benzrf: yup
<benzrf> if that is the case why does it when i irb it doesnt when i exit nothing
<workmad3> benzrf: it registers an at_exit proc that runs the app...
<benzrf> ^grammar
iamjarvo has quit [Ping timeout: 265 seconds]
Pola_ has quit [Ping timeout: 272 seconds]
kaspergrubbe has joined #ruby
jl_2 has joined #ruby
<workmad3> benzrf: because of this: set :run, Proc.new { File.expand_path($0) == File.expand_path(app_file) }
<benzrf> hmm ok
randomnick_ has joined #ruby
<benzrf> ah i cout
<benzrf> *c
ghr has quit [Quit: Computer has gone to sleep.]
bklane has joined #ruby
parduse has quit []
<workmad3> benzrf: see, it's all perfectly understandable magick ;)
<benzrf> fie
<benzrf> fie i say
timonv has quit [Remote host closed the connection]
<benzrf> why cant we go the flask route
<benzrf> |:<
<shevy> at_exit even leaks around
<havenwood> >> "\x18\x00\x02\x00\x00".bytes.rotate(3)[0..-2].<<(4).rotate(-3).map(&:chr).join
<eval-in> havenwood => "\x18\0\x04\0\0" (https://eval.in/73879)
MrV_ has quit [Quit: MrV_]
<benzrf> u wot
<havenwood> just for a silly solution ^ :P
camilasan has quit []
<benzrf> >> "\x18\x00\x02\x00\x00"
<eval-in> benzrf => "\u0018\0\u0002\0\0" (https://eval.in/73880)
<benzrf> ?
<shevy> what are you doing today benzrf
<havenwood> >> "\x18\x00\x02\x00\x00".each_byte.with_index.map { |byte, index| index == 2 ? 4 : byte }.map(&:chr).join
<eval-in> havenwood => "\x18\0\x04\0\0" (https://eval.in/73881)
fgo has quit [Remote host closed the connection]
<workmad3> benzrf: what's 'the flask route'?
RaCx has quit [Quit: Computer has gone to sleep.]
<benzrf> you manually make an obj & call run on it
parduse has joined #ruby
<benzrf> or at LEAST manually call run
<benzrf> shevy: i made a shitty tiny lisp in haskell
<benzrf> :-D
<benzrf> wanna try it
<havenwood> benzrf: Just the bytes from Pola_'s example, no clue.
<workmad3> benzrf: ah, that's what you normally do with a config.ru file
<havenwood> Rackup!
<benzrf> workmad3: what is .ru
<workmad3> benzrf: sinatra is just trying to be 'helpful and easy'
<workmad3> benzrf: a rackup file for Rack
<workmad3> benzrf: which is the ruby version of python's wsgi :)
<havenwood> benzrf: i answered before you could ask, muahaha!
apeiros has joined #ruby
<benzrf> i know what rack is kthx
<benzrf> what is a rackup file tho
kaspergrubbe has quit [Remote host closed the connection]
<olivier_bK> when i try to gem-ruby-1.8.7-p374 install net-ssh
<olivier_bK> i get
<olivier_bK> to much argumetn
<olivier_bK> ?
<havenwood> benzrf: http://bit.ly/18HF72j
RaCx has joined #ruby
<benzrf> havenwood: smart ass
bradhe has quit [Remote host closed the connection]
Kricir has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
Czupa has joined #ruby
zeeraw has joined #ruby
wildroman2 has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<havenwood> olivier_bK: First 1.8.7, nooo! It is past end of life with a known security vulnerability. Update to 2.0.0. :) Normally you don't putt all that cruft, just: gem install net-ssh
<havenwood> benzrf: >.>
arthurnn has joined #ruby
epscy has quit [Ping timeout: 246 seconds]
laphlaw has joined #ruby
yfeldblum has joined #ruby
rdark_ has joined #ruby
heftig has joined #ruby
wallerdev has joined #ruby
adambeynon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcess_denied has joined #ruby
rdark has quit [Ping timeout: 246 seconds]
adambeynon has joined #ruby
brtdv has quit []
<havenwood> benzrf: Just a convention for Rack applications, so a Ruby webserver like Unicorn can be run with just `unicorn` and it knows to look for a config.ru to find the Rack app. Here's a nice article that shows using one for Rack, Sinatra, Ramaze or Camping as quick examples: https://devcenter.heroku.com/articles/rack
geekbri_ has joined #ruby
mikepack has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
anonymuse has joined #ruby
<anonymuse> Hi all, i'm trying to run this: https://github.com/sensu/sensu-community-plugins/blob/master/plugins/system/check-cpu.rb and getting this: http://pastebin.com/gBPgqn8s error. I'm successfully running the CPU check on a rhel6, but it's failing on a rhel5. I assume it's due to differences in how ruby is scraping the information in /proc/stat, but i don't know how to diagnose further
<benzrf> neat
matheuscaceres has quit [Quit: matheuscaceres]
vlad_starkov has quit [Remote host closed the connection]
<olivier_bK> havenwood, it's for my compagny not for me
geekbri has quit [Ping timeout: 272 seconds]
shekibobo has joined #ruby
<havenwood> olivier_bK: can you at least update RubyGems?: gem update --system
<havenwood> olivier_bK: what version of gem are you on?: gem -v
RaCx has quit [Quit: Computer has gone to sleep.]
<benzrf> hmm
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
<benzrf> so would it be ok to have my app just run the .rb which require's sinatra, or should I set up a config.ru ?
<benzrf> is the former bad practice for stuff in production
peta_ has joined #ruby
<havenwood> anonymuse: Just tried #get_cpu_stats on a CentOS 5 box with this result: [5404450.0, 824985.0, 2848193.0, 1280253659.0, 414329400.0, 0.0, 0.0, 170757.0]
<havenwood> anonymuse: I dunno. I can't think of anything.
mikepack has quit [Remote host closed the connection]
<havenwood> benzrf: A very small config.ru to go with a Sinatra app might look like: require './app'; run Sinatra::Application
<havenwood> benzrf: Yeah, it goes into production and all.
brtdv has joined #ruby
closures999 has quit []
obs has quit [Quit: Saliendo]
<havenwood> benzrf: oh yeah, just like that article has it >.>
varfoo has quit [Quit: WeeChat 0.4.0]
<havenwood> benzrf: i wasn't sure
esing has joined #ruby
<olivier_bK> havenwood, the version is 1.3.7
DaZ has quit [Ping timeout: 252 seconds]
<havenwood> benzrf: Every Rails app comes with a config.ru out of the box.
<havenwood> benzrf: Since it too of course is a Rack-based app.
einarj has quit [Remote host closed the connection]
matheuscaceres has joined #ruby
catphish has quit [Quit: Leaving]
<benzrf> hrm
thejoecarroll has quit [Ping timeout: 260 seconds]
einarj has joined #ruby
<benzrf> well the page on making a ruby app for heroku suggests just running the sinatra file straight up
<benzrf> :?
<PPH> Hi, I didn't use ruby since a week and now it's not working. I get : ERROR: RVM Ruby not used, run `rvm use ruby` first. But when I do it I get: ruby: error while loading shared libraries: libruby.so.2.0: cannot open shared object file: No such file or directory
shaunbaker has quit [Remote host closed the connection]
<PPH> any idea why?
<benzrf> while the python one suggests using gunicorn instead of the flask dev server..
shaunbaker has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
magoo has joined #ruby
epscy has joined #ruby
lalala_oops has joined #ruby
<havenwood> benzrf: Using unicorn is popular (what gunicorn copied) as well.
<benzrf> mhm
thejoecarroll has joined #ruby
<havenwood> benzrf: Just that particular article may be too old, or not aimed at performance or whatev.
<PPH> nvm I got it
<havenwood> benzrf: Thin is popular on lolroku as well as unicorn.
<anonymuse> havenwood: thanks
<PPH> I changed my linux username... must have a link to this
<havenwood> benzrf: Though i think a lot of folk on heroku are runing webrick and not realizing they are (but it performs fine, so they don't notice)
timonv has joined #ruby
N00D is now known as zz_N00D
mklappstuhl has quit [Remote host closed the connection]
duggiefresh has quit [Remote host closed the connection]
ffio has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 272 seconds]
kodcuadam has quit [Quit: Leaving]
s2013 has quit [Ping timeout: 264 seconds]
jkhwan has quit [Remote host closed the connection]
shaunbaker has quit [Ping timeout: 272 seconds]
iliketur_ has quit [Quit: zzzzz…..]
<havenwood> olivier_bK: that is frighteningly ancient, can you update it to latest?
psyl0n has joined #ruby
jkhwan has joined #ruby
epscy has quit [Ping timeout: 272 seconds]
asteros has joined #ruby
kofno_ has joined #ruby
DaZ has joined #ruby
f0ster has joined #ruby
<havenwood> olivier_bK: are you allowed to update gems?: gem update --system
nucatus has quit []
RaCx has joined #ruby
brtdv has quit []
rjhunter has joined #ruby
olivier_bK has quit [Ping timeout: 245 seconds]
epscy has joined #ruby
zoo-zed has joined #ruby
smathieu has joined #ruby
stringoO has quit [Remote host closed the connection]
kure has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
gyre008 has quit [Remote host closed the connection]
brtdv has joined #ruby
gyre007 has joined #ruby
parduse has quit []
zz_scottstamp is now known as scottstamp
jkhwan has joined #ruby
stringoO has joined #ruby
rjhunter has quit [Ping timeout: 246 seconds]
jonathanwallace has quit [Ping timeout: 252 seconds]
mando has joined #ruby
parduse has joined #ruby
pleal has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
dEPy_ has joined #ruby
klaut has quit [Remote host closed the connection]
pleal has joined #ruby
esing has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
dEPy_ has quit [Client Quit]
ffranz has quit [Quit: Leaving]
freezey has quit [Remote host closed the connection]
epscy has quit [Ping timeout: 246 seconds]
zeade has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
brian___ has quit [Quit: brian___]
jbsnake has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
nhhagen_ has joined #ruby
RaCx has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
DaZ has quit [Ping timeout: 272 seconds]
ffranz has joined #ruby
blackmes1 has joined #ruby
iliketur_ has joined #ruby
saarinen has joined #ruby
DaZ has joined #ruby
grzywacz has joined #ruby
jkhwan_ has joined #ruby
jl_2 has left #ruby ["Leaving"]
Gwyxx has joined #ruby
carraroj has quit [Ping timeout: 252 seconds]
wildroman2 has quit [Remote host closed the connection]
whunt has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Gwyxx is now known as SL-RHanson
jkhwan has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 252 seconds]
enebo has joined #ruby
Sc0rp10n has joined #ruby
epscy has joined #ruby
depesz has joined #ruby
carraroj has joined #ruby
<depesz> hi. i've read some tutorials, but I can't find: how can I call method from another method?
bradhe has joined #ruby
<nobitanobi> depesz, show some code?
troessner has quit [Quit: Leaving]
athst has joined #ruby
<depesz> simply by "method_name" or by something like "self.method" / "this.method"?
<depesz> nobitanobi: i don't have any code. I'm learning.
<nobitanobi> if you do method_name, is like you are doing self.method_name
<nobitanobi> all the methods are send to an Object in Ruby
<depesz> which is better? ruby-wise?
freezey has joined #ruby
<nobitanobi> if no object is specified, by default is 'self'
<jle`> don't do self/this
<depesz> ok.
<depesz> thanks.
nbrosnahan has joined #ruby
keyvan has quit [Quit: Connection closed for inactivity]
drumusician has joined #ruby
mikepack has quit [Remote host closed the connection]
laphlaw has quit [Quit: Lingo - http://www.lingoirc.com]
crazymykl has quit [Remote host closed the connection]
mikepack has joined #ruby
crazymykl has joined #ruby
apeiros has quit []
kleinerdrache has joined #ruby
asteros has quit [Quit: asteros]
smathieu_ has joined #ruby
asteros has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
OdNairy has joined #ruby
vky has joined #ruby
vky has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
RaCx_ has joined #ruby
apeiros has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
parduse has quit []
YaNakilon has joined #ruby
RaCx has quit [Read error: Connection reset by peer]
RaCx_ is now known as RaCx
mpereira has joined #ruby
YaNakilon has left #ruby [#ruby]
wildroman2 has joined #ruby
guilleiguaran has joined #ruby
johnnyfuchs has joined #ruby
johnnyfuchs has left #ruby [#ruby]
phansch has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
rdark_ has quit [Quit: leaving]
snath has quit [Read error: Operation timed out]
duggiefresh has joined #ruby
parduse has joined #ruby
sambao21 has joined #ruby
Al_ has quit [Quit: Al_]
julweber has joined #ruby
capicue has joined #ruby
angelixd_ is now known as angelixd
timonv has quit [Remote host closed the connection]
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
drumusician has quit [Ping timeout: 264 seconds]
zoo-zed has quit [Quit: Leaving.]
zoo-zed has joined #ruby
jonathanwallace has joined #ruby
julweber has quit [Ping timeout: 240 seconds]
smathieu_ has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
maroloccio has joined #ruby
luckyruby has quit [Remote host closed the connection]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zoo-zed> Anyone seen any buffer-size limits using Open3.popen3? The docs don't mention them, but I'm seeing some verbose-ish STDOUT responses from a spawned app disappear into who knows where.
<benzrf> what exactly does rackup do?
<benzrf> do you specify a server in config.ru & rackup runs it
kevinykchan has quit [Ping timeout: 272 seconds]
justsee has joined #ruby
<benzrf> is it a server itself
<benzrf> ??
beneggett has joined #ruby
<zoo-zed> Running the debugger and stepping down to popen3 shows the returned stream only contains a portion of what it should have.
<benlieb> how can I get `gem` to show me the location of the gems it's finding?
<zoo-zed> gem env
RaCx has quit [Quit: Computer has gone to sleep.]
jlebrech has quit [Quit: Konversation terminated!]
<benlieb> zoo-zed: that won't do what I want
<benlieb> I want basically gem list,
Monie has joined #ruby
<benlieb> but with with the dir it's finding each gem in
duggiefresh has quit [Ping timeout: 265 seconds]
<zoo-zed> they'll all be in a subdirectory of what the "GEM PATHS" reports
carraroj has quit [Read error: Operation timed out]
<benlieb> zoo-zed: that's what I'm trying to troubleshoot.
geekbri_ has quit []
<benlieb> when I do bundle install, it says using x,y,z, and doesn't install the gems
Spami has joined #ruby
<benlieb> when I do gem list, I only see 2 out of 17 gems
zipper has quit [Ping timeout: 252 seconds]
<benlieb> that's a problem
<zoo-zed> How about "gem list -d name_of_gem"
<benlieb> where is bundler thinking these gems are, and why doesn't gem see them? Where's the disconnect?
sbos99 has quit [Ping timeout: 248 seconds]
zipper has joined #ruby
<zoo-zed> or just "gem list -d" if you want them all
mklappstuhl has joined #ruby
smathieu has joined #ruby
<benlieb> zoo-zed: gem isn't finding the gems that bundle seems to think are already installed.
ExCa|iBuR has joined #ruby
<benlieb> I get nothing when I do gem list -d 'gemname' (for one that gem doesn't see)
DaZ has quit [Read error: Connection reset by peer]
jonathanwallace has quit [Ping timeout: 272 seconds]
dEPy_ has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jkhwan_ has quit [Remote host closed the connection]
jkhwan has joined #ruby
roolo has joined #ruby
<zoo-zed> did you specify a particular directory for bundler to use when it retrieves the gems?
RaCx has joined #ruby
axl_ has joined #ruby
<zoo-zed> what does "bundle show name_of_gem" show?
carraroj has joined #ruby
luckyruby has joined #ruby
iamjarvo_ has quit [Remote host closed the connection]
<benlieb> zoo-zed: just discovered that bundler isn't using my GEM_HOME / _PATH info, but is installing to: /Users/benlieb/.bundle/ruby/1.8/gems
<zoo-zed> ah
dEPy_ has quit [Ping timeout: 248 seconds]
zeeraw has joined #ruby
<zoo-zed> that'd affect Rubygems from seeing it
amoli has joined #ruby
tedstriker has quit [Quit: Anti-Fraping status set.]
reset has joined #ruby
amoli has quit []
momomomomo has quit [Quit: momomomomo]
amoli has joined #ruby
kaspergrubbe has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
zeeraw has quit [Client Quit]
depesz has left #ruby [#ruby]
heidi has quit [Quit: Leaving.]
<benlieb> Your link says with bundler that gems will be installed in $GEM_HOME, but that's not what's happening. :( grr
luckyruby has quit [Remote host closed the connection]
luckyruby has joined #ruby
RaCx has quit [Ping timeout: 252 seconds]
heidi has joined #ruby
<zoo-zed> it says they'll be installed in gem_home OR wherever Bundler is explicitly told to use.
<benlieb> is there a command to give bundler where it shows you the dir it WOULD install into?
<benlieb> zoo-zed: but I didn't explicitly tell it otherwise.
jeebster has joined #ruby
DaZ has joined #ruby
<zoo-zed> it must think you did.
nobitanobi has quit [Ping timeout: 272 seconds]
<jeebster> does anyone know of any web literature for explanation of common computer science algorithms using ruby as examples of implementation?
octaplus has joined #ruby
svennidal has joined #ruby
fedesilva has quit [Ping timeout: 252 seconds]
zeeraw has joined #ruby
rezzack has joined #ruby
jocke_ has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 252 seconds]
vky has joined #ruby
nisstyre has quit [Quit: Leaving]
michael_mbp is now known as zz_michael_mbp
jkhwan has joined #ruby
Advocation has joined #ruby
madhatter has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zoo-zed_ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
zipper has quit [Ping timeout: 265 seconds]
duggiefresh has joined #ruby
pwh has quit []
MrZYX|off is now known as MrZYX
bklane has quit [Quit: Leaving...]
<benlieb> zoo-zed: changed versions of bundler, and all seems better.
Mon_Ouie has quit [Read error: Operation timed out]
jonathanwallace has joined #ruby
zipper has joined #ruby
xcess_denied has quit [Read error: Connection reset by peer]
ravster has joined #ruby
s2013 has joined #ruby
<zoo-zed_> Good.
zoo-zed has quit [Ping timeout: 272 seconds]
zoo-zed_ is now known as zoo-zed
iamjarvo has joined #ruby
skaflem has quit [Quit: Leaving]
hukl has joined #ruby
kevinykchan has joined #ruby
rjhunter has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
smathieu has quit [Read error: Connection reset by peer]
shredding has joined #ruby
smathieu has joined #ruby
pleal has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 264 seconds]
divi_ has joined #ruby
axl_ has quit [Quit: axl_]
zoo-zed has quit [Remote host closed the connection]
zoo-zed has joined #ruby
pushpak has joined #ruby
divi_ has quit [Client Quit]
grzywacz has quit [Quit: :wq]
divi_ has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
Soda has joined #ruby
smathieu has joined #ruby
rjhunter has quit [Ping timeout: 272 seconds]
Advocation has quit [Quit: Advocation]
aarkerio has quit [Quit: Verlassend]
Nogbit has quit [Ping timeout: 252 seconds]
zoo-zed has quit [Remote host closed the connection]
brtdv has quit []
iliketur_ has quit [Quit: zzzzz…..]
subbyyy has joined #ruby
<benzrf> hmm
<benzrf> im about to start a sinatra app
<benzrf> whats the best way to do simple persistence?
<benzrf> i dont really feel like doing manual SQL...
scottstamp is now known as zz_scottstamp
ambushsabre has joined #ruby
kcombs has quit [Remote host closed the connection]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jrobeson> benzrf, any ORM
<benzrf> hmm
<jrobeson> if you really just want simple persistence you could use redis..
<benzrf> well im using heroku free for hosting
zipper has quit [Ping timeout: 248 seconds]
<jrobeson> then postgres it is
<benzrf> right
<jrobeson> so yeah ORM .. pick your favorite
zoo-zed has joined #ruby
<benzrf> whats a super simple ORM without a ton of fancy features?
<benzrf> again i am pretty new to ruby
xiphias has joined #ruby
parduse has quit []
<jrobeson> see what they recommend with padrino
rurban has quit [Remote host closed the connection]
<jrobeson> which is a framework on top of sinatra
<benzrf> ok
soulcake has quit [Read error: Connection reset by peer]
<zoo-zed> benzrf: I really like using Sequel.
Nogbit has joined #ruby
<benzrf> eh maybe ill just use raw sql
<benzrf> ._.
<jrobeson> i have a raisl app so i just went with activerecord
<zoo-zed> It's very flexible and gets out of the way when you want to do things in pure SQL
soulcake has joined #ruby
<jrobeson> benzrf, i wouldn't recommend that
<zoo-zed> Don't use raw SQL.
<benzrf> yeah?
<jrobeson> i'm just waiting for rom-rb to be finished
<jrobeson> that'll be my ORM of choice
<benzrf> hmm
<jrobeson> aka datamapper 2
<zoo-zed> A good ORM generates very good SQL, and isn't difficult to learn.
<benzrf> what does require 'rubygems' do
<jrobeson> requires the rubygems library
parduse has joined #ruby
<jrobeson> stuff that makes it easier to work with installed gems
<benzrf> ooh sequel looks p. nice
<benzrf> i know
xiphias has quit [Client Quit]
<popl> Does Ruby have anything like Perl's DBI?
<zoo-zed> it is nice. We use it all the time in production to talk to MySQL and PostgreSQL
xiphias has joined #ruby
<zoo-zed> Ugh. WHY?
<shevy> popl what is perl's DBI doing
<zoo-zed> Ruby has a DBI but that's like poking yourself in the eye.
kevind has quit [Quit: kevind]
s2013 has quit [Ping timeout: 248 seconds]
<jrobeson> lol
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dEPy_ has joined #ruby
<jrobeson> perl's dbi means you don't ever explicitly load the pg gem or mysql gem to work with either.. let dbi handle it
<zoo-zed> I used to use Perl's DBI for years, and was SO relieved to discover Sequel when I switched to Ruby
<jrobeson> i just want a real datamapper ORM..
sepp2k has quit [Quit: Konversation terminated!]
Opola has joined #ruby
<Opola> hi
<zoo-zed> Then you might be interested in: "Sequel has restored my faith in Ruby. It's really amazing. The O/RM I've been hoping for for years." -- Sam Smoot, creator of DataMapper"
<benzrf> bluh
<benzrf> maybe i should just bite the bullet and embrace rails
<jrobeson> zoo-zed, nope.. it doesn't use a real datamapper pattern
<benzrf> ;_p;
<jrobeson> rom-rb does
<Opola> I have a hexadecimal value as string -> "09fe" How can I get the hexadecimal value ?
<popl> shevy: It's a database-agnostic interface
<benzrf> Opola: like this:
<benzrf> >> "0x09f3".to_i 16
<eval-in> benzrf => 2547 (https://eval.in/73895)
<zoo-zed> Sequel is database-agnostic
<jrobeson> datamapper v1 wasn't quite the same thing
<Opola> benzrf: thank you
<Opola> let me try it
<benzrf> the 0x is not needed fwiw
<popl> shevy: DBIx::Class provides an ORM
<benzrf> >> "A".to_i
<eval-in> benzrf => 0 (https://eval.in/73897)
<benzrf> hm
<benzrf> >> "0xA".to_i
<eval-in> benzrf => 0 (https://eval.in/73898)
<benzrf> k
zeeraw has joined #ruby
<yxhuvud> >> "0xA".to_i(16)
<eval-in> yxhuvud => 10 (https://eval.in/73899)
<Opola> benzrf: sorry I didn't explain well
<zoo-zed> "0x09f3".hex
snath has joined #ruby
<Opola> I have "09fe" and I want to get 09fe
dEPy_ has quit [Ping timeout: 252 seconds]
<Opola> the value itself is the hex value I want
harrymoreno has joined #ruby
jle` has quit [Quit: WeeChat 0.4.2]
<zoo-zed> "0x09f3".hex.to_s(16) # => "9f3"
<Opola> zoo-zed: let me try it
kirun has joined #ruby
jle` has joined #ruby
<benzrf> Opola: what is that supposed to mean?
<benzrf> >I have "09fe" and I want to get 09fe
<benzrf> you already have 09fe...
Shidash has joined #ruby
<zoo-zed> 09fe = 2547
<Opola> ok ok yes 2547 is ok for me
enebo has quit [Quit: enebo]
<Opola> yea! you're right
<zoo-zed> it's all the same internally
<Opola> thank you benzrf / zoo-zed
<Opola> yes
<benzrf> so you want to_i(16)...
<benzrf> ;P
jle` has quit [Client Quit]
<zoo-zed> that's the same as .hex
Arzaga has quit [Quit: Computer has gone to sleep.]
jle` has joined #ruby
Czupa has quit [Remote host closed the connection]
justinxreese has quit [Ping timeout: 246 seconds]
justinxreese has joined #ruby
lnormous has joined #ruby
robonerd has quit [Ping timeout: 245 seconds]
<Opola> thanks :)
Opola has quit [Quit: leaving]
matheuscaceres has quit [Quit: matheuscaceres]
Fire-Dragon-DoL has joined #ruby
myappleguy has quit [Ping timeout: 265 seconds]
nobitanobi has joined #ruby
athst has quit [Quit: athst]
xiphias has quit [Quit: leaving]
xiphias has joined #ruby
timonv has joined #ruby
robonerd has joined #ruby
ExCa|iBuR has quit [Ping timeout: 245 seconds]
icy` has quit [Ping timeout: 272 seconds]
banghouse2 is now known as banghouse
banghouse is now known as Guest24960
SHyx0rmZ has joined #ruby
myappleguy has joined #ruby
shredding has quit [Quit: shredding]
pskosinski has joined #ruby
heidi has quit [Ping timeout: 240 seconds]
Guest24960 is now known as banghouse
s2013 has joined #ruby
nbrosnahan has quit [Ping timeout: 246 seconds]
ace_striker has quit [Ping timeout: 250 seconds]
heidi has joined #ruby
athst has joined #ruby
nbrosnahan has joined #ruby
robonerd has quit [Excess Flood]
robonerd has joined #ruby
zoo-zed has left #ruby [#ruby]
zoo-zed has joined #ruby
Guest60630 has quit [Remote host closed the connection]
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
zoo-zed has quit [Quit: Leaving.]
zoo-zed has joined #ruby
jhaals has joined #ruby
snath has quit [Ping timeout: 246 seconds]
enebo has joined #ruby
iliketur_ has joined #ruby
rurban has joined #ruby
olivier_bK has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
timonv has quit [Remote host closed the connection]
smathieu has quit [Ping timeout: 272 seconds]
root has joined #ruby
billy_ran_away has quit [Quit: ZNC - http://znc.in]
root is now known as Guest63872
drumusician has joined #ruby
freezey_ has joined #ruby
cmarques has joined #ruby
intuxicated has joined #ruby
freezey has quit [Read error: No route to host]
jenskarlsen has quit [Quit: jenskarlsen]
brtdv has joined #ruby
pleal has joined #ruby
davidcollom has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
hiyosi has quit [Ping timeout: 245 seconds]
zoo-zed has quit [Quit: Leaving.]
zoo-zed has joined #ruby
svennidal has quit [Remote host closed the connection]
coder_neo has joined #ruby
zoo-zed has quit [Read error: Connection reset by peer]
jibi has quit [Quit: .]
nobitanobi has quit [Read error: Operation timed out]
decoponio has quit [Quit: Leaving...]
zoo-zed has joined #ruby
xiphias has quit [Quit: leaving]
xiphias has joined #ruby
niklasb has joined #ruby
timonv has joined #ruby
brtdv has quit []
ffranz has quit [Quit: Leaving]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaldrenon has quit [Remote host closed the connection]
shekibobo has quit [Remote host closed the connection]
kaldrenon has joined #ruby
jlast has quit [Remote host closed the connection]
ffranz has joined #ruby
mjs2600 has joined #ruby
SaraDT has joined #ruby
coder_neo has quit [Quit: This computer has gone to sleep]
coder_neo has joined #ruby
vaicine has joined #ruby
Es0teric has joined #ruby
brtdv has joined #ruby
kaldrenon has quit [Ping timeout: 246 seconds]
sheepman has quit [Remote host closed the connection]
BizarreCake has quit [Quit: Leaving]
theKayhan has joined #ruby
[0x1a]_ has quit [Quit: Connection closed for inactivity]
sheepman has joined #ruby
benwoody has quit [Quit: benwoody]
alvaro_o has joined #ruby
Jetchisel has joined #ruby
RaCx has joined #ruby
Nogbit has quit [Quit: Leaving.]
nobitanobi has joined #ruby
bondar has joined #ruby
coder_neo has quit [Client Quit]
rjhunter has joined #ruby
includex has joined #ruby
coder_neo has joined #ruby
monkegjinni has joined #ruby
coder_neo has quit [Remote host closed the connection]
coder_neo has joined #ruby
ArchBeOS-work has quit [Quit: Leaving]
brtdv has quit []
iliketur_ has joined #ruby
colonolGron has joined #ruby
iliketur_ has quit [Client Quit]
Hanmac has joined #ruby
<Hanmac> shevy: http://i.imgur.com/Dky4YLB.png << look we are having termits
coder_neo has quit [Read error: Connection reset by peer]
neo__ has joined #ruby
blueOxigen has joined #ruby
athst has quit [Quit: athst]
workmad3 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
RichardBaker has quit [Quit: RichardBaker]
bondar has quit [Ping timeout: 272 seconds]
rjhunter has quit [Ping timeout: 245 seconds]
aspires has quit []
psyl0n has quit [Remote host closed the connection]
dEPy_ has joined #ruby
mjs2600 has quit [Remote host closed the connection]
wildroman3 has joined #ruby
wildroman3 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
bluOxigen has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
lnormous has quit [Ping timeout: 246 seconds]
endash has quit [Quit: endash]
hiyosi has joined #ruby
MrZYX is now known as MrZYX|off
zoo-zed has quit [Quit: Leaving.]
heftig has quit [Quit: Quitting]
ldnunes has quit [Quit: Leaving]
Advocation has joined #ruby
lfox has quit [Quit: ZZZzzz…]
hiyosi has quit [Ping timeout: 264 seconds]
benlieb has quit [Quit: benlieb]
endash has joined #ruby
preller has quit [Ping timeout: 246 seconds]
myappleguy has quit [Ping timeout: 240 seconds]
Hanmac1 has joined #ruby
endash has quit [Client Quit]
Tamal has joined #ruby
nisstyre has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mikepack has quit [Remote host closed the connection]
capicue has quit [Quit: Leaving...]
Hanmac has joined #ruby
preller has joined #ruby
julweber has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
hadees has joined #ruby
p4tux_ is now known as p4tux
justsee has quit [Ping timeout: 264 seconds]
Jetchisel has quit [Ping timeout: 260 seconds]
parduse has quit []
dtcrshr has joined #ruby
parduse has joined #ruby
Jetchisel has joined #ruby
preller has quit [Ping timeout: 272 seconds]
heftig has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
sepp2k has joined #ruby
RichardBaker has joined #ruby
kaspergrubbe has joined #ruby
buscon has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bedouin has joined #ruby
jbpros has joined #ruby
nobitanobi has quit [Ping timeout: 265 seconds]
nobitanobi has joined #ruby
preller has joined #ruby
vky has quit [Ping timeout: 272 seconds]
nateberkopec has joined #ruby
buscon has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
zeeraw has joined #ruby
delqn has joined #ruby
tenjack has quit [Remote host closed the connection]
brunosanches has joined #ruby
brunosanches is now known as brunops
brunops has quit [Changing host]
brunops has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
jbpros has quit [Ping timeout: 265 seconds]
divi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Monie has joined #ruby
DrShoggoth has joined #ruby
benwoody has joined #ruby
iamjarvo has quit [Remote host closed the connection]
ffranz has quit [Quit: Leaving]
fijimunkii has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
rubyracer has joined #ruby
nomenkun has joined #ruby
iamjarvo_ has joined #ruby
divi_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
highbass has joined #ruby
<highbass> Hey Guys i have an erb file at (http://pastebin.com/tj7PjUNs) .. i just created this for test ... and my whitelist file that being opened is (http://pastebin.com/s7V927Gh) pretty much currently i get white spaces in the output for some reason and i only whant test1 test2 etc.. to be the output.. the regex is not working... could someone kindly explain what im doing wrong
<benzrf> if i do "require './foo'", '.' will always mean the dir that the file is in right
fijimunkii has joined #ruby
ssvo has quit [Quit: Lost terminal]
<benzrf> so if I have that line in ~/ruby/bar.rb, then i do 'cd ~/ruby; ruby ruby/bar.rb'
<benzrf> it'll work right?
Hanmac1 has joined #ruby
Reach has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Ping timeout: 260 seconds]
ciampix has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
carraroj has quit [Quit: Konversation terminated!]
arthurnn has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
mikepack has joined #ruby
julweber has quit [Remote host closed the connection]
lsmola has quit [Ping timeout: 246 seconds]
duggiefresh has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 246 seconds]
Hanmac1 has quit [Ping timeout: 248 seconds]
bklane has joined #ruby
<bklane> Would paperclip work for uploading any file type?
jbpros has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
includex has quit [Quit: Textual IRC Client: www.textualapp.com]
kaspergrubbe has joined #ruby
havenwood has quit [Remote host closed the connection]
Reach has joined #ruby
nomenkun has quit [Quit: Leaving...]
divi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has joined #ruby
mikepack has quit [Ping timeout: 246 seconds]
octaplus has quit [Ping timeout: 272 seconds]
Snaury has quit [Read error: Connection reset by peer]
dEPy_ has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
SaraDT has quit [Quit: Leaving]
phansch has quit [Quit: Leaving]
MrZYX|off is now known as MrZYX
Snaury has joined #ruby
divi_ has joined #ruby
dEPy has joined #ruby
moneydouble has joined #ruby
fedesilva has joined #ruby
rjhunter has joined #ruby
<Hanmac> ping shevy
smathieu has joined #ruby
<benzrf> did you mean /ping sheepman
<benzrf> *shevy
b00stfr3ak has quit [Ping timeout: 246 seconds]
pskosinski_ has joined #ruby
pskosinski_ has quit [Remote host closed the connection]
<benzrf> shevy: get up its time for your daily dose of haskell
snuffeluffegus has joined #ruby
<Hanmac> benzrf: i found something again for scaring shevy ;P
reset has quit [Quit: Leaving...]
axl_ has joined #ruby
bier has quit [Quit: ZNC - http://znc.sourceforge.net]
theKayhan has quit [Ping timeout: 272 seconds]
bier has joined #ruby
Hanmac1 has joined #ruby
<benzrf> go on
<Hanmac1> benzrf: was her face like this? http://i.imgur.com/5QW6ZrC.png ;P
DropsOfSerenity has joined #ruby
<benzrf> wwwwhat??
<benzrf> whose face?
<Hanmac1> thats an old yokai gag
<benzrf> ???
<benzrf> anyway i wrote a Shitty Tiny Lisp in haskell
<benzrf> :-D
Kricir has quit [Remote host closed the connection]
<Hanmac1> benzrf: in this scene: "hey sister what are you doing there?" "you think i am your sister? does your sister had a face like THIS?" ;P
<benzrf> it was kind of fun
andikr has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 264 seconds]
klaut has joined #ruby
theKayhan has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
Hanmac1 is now known as Hanmac
iamjarvo_ has quit [Remote host closed the connection]
hiyosi has joined #ruby
Tamal has left #ruby ["Textual IRC Client: www.textualapp.com"]
mdel has joined #ruby
klaut has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
arefaslani has joined #ruby
pleal has quit [Remote host closed the connection]
moneydouble has quit [Quit: Leaving.]
iliketur_ has joined #ruby
ringaroses has joined #ruby
<arefaslani> Hello folks. Assume thatI have a thread with 10 lines of code. there are 3 lines in it that should run together, means that the os should not stop the thread before executing all or non of these 3 line
<arefaslani> How can I do this?
iliketur_ has quit [Client Quit]
billy_ran_away has joined #ruby
mengu has quit [Remote host closed the connection]
Voodoofish430 has quit [Quit: Leaving.]
Mon_Ouie has joined #ruby
iamjarvo has quit [Ping timeout: 260 seconds]
b00stfr3ak has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
Advocation has quit [Quit: Advocation]
Nogbit has joined #ruby
mansi has quit [Remote host closed the connection]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has joined #ruby
hiyosi has joined #ruby
Bosox20051 has joined #ruby
mklappstuhl has joined #ruby
lnormous has joined #ruby
capicue has joined #ruby
bradhe has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
abstractj has quit [Ping timeout: 248 seconds]
reset has joined #ruby
relix has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
b00stfr3ak has quit [Ping timeout: 272 seconds]
Kneferilis has quit [Ping timeout: 272 seconds]
mansi has joined #ruby
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
mklappstuhl has quit [Ping timeout: 265 seconds]
iliketur_ has joined #ruby
RDash has quit [Disconnected by services]
evilRDash has joined #ruby
chuk has joined #ruby
realDAB has joined #ruby
evilRDash has quit [Disconnected by services]
evilRDash has joined #ruby
carraroj has joined #ruby
mklappstuhl has joined #ruby
justsee has quit [Ping timeout: 272 seconds]
<MrZYX> arefaslani: with a mutex
evilRDash has quit [Client Quit]
vky has joined #ruby
<havenwood> arefaslani: or depending on what your doing, maybe a condition variable as well as mutex: http://ruby-doc.org/stdlib-1.9.3/libdoc/thread/rdoc/ConditionVariable.html
capicue has quit [Quit: Leaving...]
Xeago has joined #ruby
zigomir has quit [Ping timeout: 272 seconds]
<havenwood> oops, linked 1.9.3 docs >.>
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
heath has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
_jesse__ is now known as _jesse_
mklappstuhl has quit [Ping timeout: 252 seconds]
pixelgremlins has quit [Ping timeout: 272 seconds]
<benzrf> _jesse_: why not make it __jesse__ for maximum python points
<benzrf> :D
diosmiux has joined #ruby
bklane has left #ruby ["Leaving..."]
moneydouble has joined #ruby
<mdel> hey, whats a good way to pull gems into my project to work on patches?
<mdel> i see that bundler has `bundle package` which vendors the gems
mansi has quit [Ping timeout: 248 seconds]
<MrZYX> if you're using bundler config --local
RaCx has quit [Quit: Computer has gone to sleep.]
forced_request has joined #ruby
greenrose has quit []
<MrZYX> that only works if you pull in the dep as a git repo though
<MrZYX> er, bundle config local.gem_name ~/path was the syntax
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac1 has joined #ruby
endash has joined #ruby
mmcdaris has joined #ruby
aryaching_ has quit [Ping timeout: 272 seconds]
<mdel> ok that makes sense MrZYX, thanks
wildroman2 has quit [Read error: Operation timed out]
kleinerdrache has quit [Quit: Ex-Chat]
b00stfr3ak has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
petey_ has joined #ruby
asobrasil has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 246 seconds]
divi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mando_ has joined #ruby
capicue has joined #ruby
_HolyCow has left #ruby [#ruby]
blaskovicz has quit [Quit: Leaving.]
carraroj has quit [Quit: Konversation terminated!]
Elhu has joined #ruby
petey has quit [Ping timeout: 246 seconds]
Guedes0 has joined #ruby
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jamesaanderson has joined #ruby
mando has quit [Ping timeout: 272 seconds]
mando__ has joined #ruby
mando_ has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
jkamenik has quit [Quit: Leaving.]
b00stfr3ak has quit [Read error: Connection reset by peer]
pwh has joined #ruby
mwagner has quit [Quit: Leaving]
timonv has quit [Remote host closed the connection]
nisstyre has quit [Quit: Leaving]
jibi has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
tnk1 has quit [Ping timeout: 245 seconds]
moneydouble has quit [Quit: Leaving.]
Hanmac has joined #ruby
brunops has quit [Ping timeout: 240 seconds]
moneydouble has joined #ruby
moneydouble has quit [Max SendQ exceeded]
moneydouble has joined #ruby
lolmaus has joined #ruby
Nogbit has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
pwh has quit [Ping timeout: 246 seconds]
leeurooi has joined #ruby
wald0 has joined #ruby
justsee has joined #ruby
<benzrf> hi is there a listing of all of ruby
<benzrf> 's weird syntaxes
<benzrf> syntacies?
<olivier_bK> what do you mean ?
brunops has joined #ruby
<MrZYX> benzrf: http://www.ruby-doc.org/core-2.0.0/ have a look at the *.rdoc files
<benzrf> i.e. &:foo, the various literals
carraroj has joined #ruby
s2013 has joined #ruby
leeurooi has quit [Client Quit]
arefaslani has quit [Remote host closed the connection]
timonv has quit [Read error: Operation timed out]
<benzrf> like i'd never heard of %r{foo}
<bnagy> the quickref has quite a lot
tenjack has joined #ruby
<benzrf> thanks
pwh has joined #ruby
axl_ has quit [Quit: axl_]
<benzrf> >> 1_2_
<eval-in> benzrf => /tmp/execpad-46e4bb12b0f4/source-46e4bb12b0f4:2: trailing `_' in number (https://eval.in/73936)
<benzrf> ??
ddd has quit [Quit: rebooting to fix something]
<benzrf> in my irb that's a nop
<benzrf> oh wait nvm
ignoch has joined #ruby
Guedes0 has left #ruby ["Saindo"]
carraroj has quit [Client Quit]
<benzrf> >> %q_foo_
<eval-in> benzrf => "foo" (https://eval.in/73937)
<benzrf> huh
<benzrf> >> %q1foo1
<eval-in> benzrf => /tmp/execpad-afc9cac1068f/source-afc9cac1068f:2: unknown type of %string ... (https://eval.in/73938)
<benzrf> >> %qafooa
<eval-in> benzrf => /tmp/execpad-e38f18eca5fa/source-e38f18eca5fa:2: unknown type of %string ... (https://eval.in/73939)
<benzrf> nope
greenrose has joined #ruby
<MrZYX> "You may use most other non-alphanumeric characters for percent string delimiters"
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
anonymuse has quit [Remote host closed the connection]
<benzrf> ohcibi:
<benzrf> *oh
nisstyre has joined #ruby
luckyruby has quit [Remote host closed the connection]
relix has joined #ruby
<benzrf> will require './foo' work if the script is invoked from another dir
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
<benzrf> i.e. will it load foo from the dir the script is in
<MrZYX> no
<benzrf> :|
<MrZYX> best option is to properly setup $LOAD_PATH but if you have no other option use require_relative
chuk has quit [Quit: Leaving]
<benzrf> k
<bnagy> require_relative is better than messing with load path
<bnagy> like, that's the whole reason it was introduced
ehc has quit [Quit: ehc]
preller has quit [Ping timeout: 260 seconds]
<MrZYX> I thought require_relative got introduce to get rid of require './xxx' and require File.expand_path('../foo.rb', __FILE__)
<bnagy> and $: << '.'
sparrovv has joined #ruby
<MrZYX> sure, that's a horrible idea
mzdravkov has joined #ruby
julweber has joined #ruby
rjhunter has joined #ruby
<MrZYX> properly setting up $LOAD_PATH includes only adding absolute paths for me ;)
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<bnagy> which makes your code nonportable
<MrZYX> not hardcoded absolute paths
moneydouble has quit [Ping timeout: 248 seconds]
dev1x has quit [Ping timeout: 264 seconds]
ciampix has quit [Ping timeout: 272 seconds]
Nogbit has joined #ruby
lalala_oops has quit [Quit: Konversation terminated!]
<MrZYX> rather stuff utilizing __FILE__/__dir__ and File.expand_path
Dreamer3 has joined #ruby
Hanmac1 has joined #ruby
tnk1 has joined #ruby
<bnagy> how is that different to '.'?
<benzrf> i get LoadError: cannot infer basepath
<Hanmac1> MrZYX: it seems it needs to bee an ascii char too ... like ÷ does not work as delimitter
TaxmanBD has joined #ruby
<bnagy> benzrf: require_relative doesn't work in irb
<MrZYX> Hanmac1: "most" ;D
<Hanmac1> benzrf: '.' does not work in irb
<benzrf> lame
<MrZYX> bnagy: it's different in that it's relative to the file rather than the current working directory
harrymoreno has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
<bnagy> yeah I didn't mean literally.. look nevermind. require_relative is the correct way to do relative requires
harrymoreno has joined #ruby
<bnagy> otherwise package stuff as a gem etc
guilund has joined #ruby
julweber has quit [Ping timeout: 252 seconds]
<guilund> hey guys
rjhunter has quit [Ping timeout: 240 seconds]
<guilund> can someone could give me a help understanding the inject method?
jkhwan has quit [Remote host closed the connection]
<MrZYX> sure, what's troubling you?
<guilund> i need to merge duplicated keys in a hash
jkhwan has joined #ruby
<guilund> i think its using the inject method
sarlalian has quit [Ping timeout: 245 seconds]
<guilund> but i dont know how can achieve that
dtcrshr has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 252 seconds]
<bnagy> hashes don't have duplicate keys
<benzrf> how can a hash have duplicated keys
<guilund> maybe my code is shitty :(
<guilund> take a look and see if you understand mu problem
petey_ has quit [Remote host closed the connection]
preller has joined #ruby
<bnagy> try group_by
bradhe has quit [Remote host closed the connection]
<guilund> group_by('string') ?
<bnagy> it'll still need minor tweaking, but I think group_by will get you 95%
jedimind has quit [Quit: home time!]
hadees has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
zomgbie has quit [Ping timeout: 272 seconds]
<guilund> i think im getting it
<guilund> but i think my hashmap need a tweaking
zastern has joined #ruby
<bnagy> ohhh sorry my bad...each one is nested :/
Mon_Ouie has quit [Ping timeout: 246 seconds]
<guilund> @tabela = @tabela.group_by { |c| c[0] }
petey has joined #ruby
Deciphered has joined #ruby
nbrosnahan has quit [Ping timeout: 246 seconds]
<Hanmac1> bnagy i think Hash needs a better grep method ;P
mercwithamouth has quit [Ping timeout: 264 seconds]
<guilund> i just wanted to 'design' a multidimensional hash, to iterate on it with @tabela[level1][level2][data] you know
<guilund> am i missing something? is this hard to do? :/
Kricir has joined #ruby
<guilund> theres any other workaround to solve a problem like this?
<bnagy> it's just an irritating initial hash
abstractj has joined #ruby
abstractj has quit [Changing host]
abstractj has joined #ruby
<Hanmac1> guilund: that line may help you a bit
<Hanmac1> >> d={"vgv"=>1, "rl"=>1, 'bla' => 4};@colunas = ['vgv', 'rl'];d.select{|i|@colunas.include?(i)}
<eval-in> Hanmac1 => {"vgv"=>1, "rl"=>1} (https://eval.in/73941)
jbpros has quit [Quit: jbpros]
<Deciphered> Hi. I'm working on building a Synology package for GitLab which requires some rubygems. One of which doesn't compile on the NAS itself, likely due to dependencies. I was wondering if rubygems can be pre-compilled on an alternate machine? Anyone know, or able to help?
monkegjinni has quit [Remote host closed the connection]
pskosinski_ has joined #ruby
pskosinski has quit [Disconnected by services]
hukl has quit [Quit: Leaving...]
pskosinski_ is now known as pskosinski
<guilund> Hanmac1: let me see
nbrosnahan has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
<Hanmac1> Deciphered: yes and no, depends, you need the exact Achitecture, and if possble the exaclty ruby version and the OS should be similar enough ... but it would be better to make that it works on the NAS
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has joined #ruby
<Deciphered> Hanmac1: There's a beta package for the NAS that provides ruby 2.0.0-p2##, I have updated the package to 2.0.0-p353. All packages are generally built with the architecture defined. I was hoping that the rubygems could also be built by specifying the architecture as well, or if they are architecture agnostic.
realDAB has quit [Quit: realDAB]
interactionjaxsn has quit [Remote host closed the connection]
s2013 has joined #ruby
<Hanmac1> there should be a reason why it does not work on NAS .. i think its easier to fix that instead
<bnagy> guilund: h.flatten.inject(Hash.new{{}}) {|h,(k,v)| k.each {|k,v| h[k]=h[k].merge(v)}; h}
<bnagy> but I hate it
kaspergrubbe has quit [Remote host closed the connection]
myappleguy has joined #ruby
whunt has quit [Quit: Computer has gone to sleep.]
jbpros has joined #ruby
<guilund> bnagy, let me see
<guilund> im almost there with injection
<guilund> let me try yours
mansi has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
mercwithamouth has joined #ruby
<Deciphered> Hanmac1: Most likely dependencies, but the thing is, if I require said dependencies to be installed I'm adding a huge barrier of entry. If I could pre-compile the gems then it would make installation a lot quicker and easier.
zastern has quit [Quit: leaving]
Hanmac has joined #ruby
coca_rails has joined #ruby
<guilund> bnagy: HOLY SHIT MAN IT WORKS
<guilund> bnagy: :D
<Hanmac> bnagy why not each_with_object?
neo__ has quit [Quit: This computer has gone to sleep]
<bnagy> it should be rewritten without inject ( or each_with_object )
kofno_ has quit [Ping timeout: 272 seconds]
<bnagy> guilund: create the final hash explicitly ( final = Hash.new {|h,k| h[k] = {} } ) and do the iteration much the same way
stringoO has quit [Quit: stringoO]
<bnagy> except on multiple lines and with better block vars
claymore has quit [Quit: Leaving]
Hanmac1 has quit [Ping timeout: 272 seconds]
alvaro_o has quit [Quit: Ex-Chat]
relix has joined #ruby
Mon_Ouie has joined #ruby
<bnagy> Hanmac: this actually _is_ a reduction, so it's not completely awful to use inject
duggiefresh has joined #ruby
Hanmac1 has joined #ruby
intuxicated_ has joined #ruby
nisstyre has quit [Quit: Leaving]
<Hanmac1> bnagy: and your sample shadows a local variable, so beware
Hanmac has quit [Ping timeout: 260 seconds]
<bnagy> your reading skills are pretty sharp tonight, man
<bnagy> 06:27 < bnagy> except on multiple lines and with better block vars
<Hanmac1> as you may noticed something had kicked me out at this time
Hanmac1 is now known as Hanmac
<bnagy> oh. No I don't see quits and joins, sry - way too noisy otherwise
<bnagy> you are forgiven!
* bnagy waves wand
<bnagy> basically, that line has absolutely nothing going for it, apart from the fact that it works
intuxicated has quit [Ping timeout: 248 seconds]
Nogbit has quit [Ping timeout: 252 seconds]
<bnagy> it may be possible to write worse code, but I would have to really try
alvaro_o has joined #ruby
mdel has quit [Ping timeout: 245 seconds]
fedesilv_ has joined #ruby
TaxmanBD has quit [Ping timeout: 252 seconds]
olivier_bK has quit [Ping timeout: 252 seconds]
apeiros has quit [Remote host closed the connection]
TigerWolf has joined #ruby
apeiros has joined #ruby
zastern has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fedesilva has quit [Ping timeout: 260 seconds]
fedesil__ has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
fedesilv_ has quit [Read error: Connection reset by peer]
spider-mario has quit [Read error: Connection reset by peer]
kofno_ has joined #ruby
mklappstuhl has joined #ruby
mmitchell has quit []
liamkeily has joined #ruby
jerius has quit [Ping timeout: 245 seconds]
danshultz has quit [Remote host closed the connection]
fedesil__ has quit [Remote host closed the connection]
danshultz has joined #ruby
duggiefresh has quit [Remote host closed the connection]
mklappstuhl has quit [Ping timeout: 245 seconds]
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
wildroman2 has joined #ruby
snath has joined #ruby
kofno_ has quit [Ping timeout: 252 seconds]
snuffeluffegus has quit [Remote host closed the connection]
freezey_ has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
danshultz has quit [Ping timeout: 245 seconds]
Kricir has joined #ruby
adkron has quit [Ping timeout: 265 seconds]
wildroman2 has quit [Ping timeout: 272 seconds]
vky has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0a2/20131127004001]]
tonni_ has quit [Ping timeout: 240 seconds]
fijimunkii has quit [Ping timeout: 246 seconds]
fijimunkii has joined #ruby
joshwines has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
jalcine has joined #ruby
jalcine has quit [Excess Flood]
Nogbit has joined #ruby
<benzrf> ok im reading sinatra
<benzrf> what exactly does condition do?
<pontiki> <3 sinatra
tjbiddle has quit [Quit: tjbiddle]
<pontiki> hi, all
monkegjinni has joined #ruby
<benzrf> ueah
kaspergrubbe has joined #ruby
<benzrf> im reading about sinatra on their page
<benzrf> and so far it looks even better than flask
<benzrf> like
echevemaster has joined #ruby
<benzrf> almost my ideal web framework
<benzrf> :D
advorak has joined #ruby
<pontiki> not familiar with flask?
Hanmac1 has joined #ruby
<benzrf> it is basically like sinatra
<benzrf> but for python
<benzrf> notice that the hello world looks almost like sinatra's
mando__ has quit [Remote host closed the connection]
<pontiki> ah
`MArceLL` has joined #ruby
<benzrf> except more verbose cuz its python
mando has joined #ruby
<benzrf> & you have to explicitly create an app object & explicitly run it
Hanmac has quit [Ping timeout: 252 seconds]
kaspergrubbe has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
Hanmac has joined #ruby
<pontiki> i do that with sinatra anyway
<pontiki> but i don't know python
jbpros has quit [Quit: jbpros]
sparrovv has quit [Quit: sparrovv]
sailias has quit [Ping timeout: 246 seconds]
<pontiki> but yeah, <3 sinatra
dgfdgf has quit [Ping timeout: 246 seconds]
<benzrf> pythons pretty nice
<benzrf> frankly i prefer it in most ways to ruby except one or two really significant ones
<benzrf> mostly the whole 'everything is an expression' and blocks
<benzrf> if python had those id probably never even look at ruby
<benzrf> as it is im trying to switch over
nobitanobi has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
musl has quit [Quit: WeeChat 0.4.1]
tjad_ has quit [Read error: Operation timed out]
musl has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
mando has quit [Ping timeout: 252 seconds]
Speed has joined #ruby
<sam113101> test
rjhunter has joined #ruby
charliesome has joined #ruby
<benzrf> python's decorators are nearly as good as blocks for things like flask where you're just using them for callback registration and each func is fairly long
<benzrf> but for almost anything else they really aren't even close to equivalent
jalcine has joined #ruby
kcombs has joined #ruby
<benzrf> i guess you can do something like normal decorator usage with methods from blocks
jalcine has quit [Excess Flood]
rjhunter has quit [Ping timeout: 252 seconds]
Speed has left #ruby ["WeeChat 0.4.2"]
vxxr has joined #ruby
sparrovv has joined #ruby
roolo has quit [Quit: Leaving...]
nateberkopec has joined #ruby
JJMalina has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
dEPy has quit [Quit: Computer has gone to sleep.]
baordog has quit [Remote host closed the connection]
nemesit|znc has quit [Ping timeout: 245 seconds]
Davey has joined #ruby
advorak has quit [Ping timeout: 260 seconds]
fijimunkii has quit [Ping timeout: 246 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mojjojo has joined #ruby
nemesit|znc has joined #ruby
synergy__ is now known as doIevenLift
nateberkopec has joined #ruby
JJMalina has quit [Ping timeout: 272 seconds]
allsystemsarego has quit [Quit: Leaving]
jkhwan has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.1]
jkhwan has joined #ruby
harrymoreno has quit [Ping timeout: 252 seconds]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
maroloccio has joined #ruby
harrymoreno has joined #ruby
Kricir has joined #ruby
relix has joined #ruby
kiwi_25183 has joined #ruby
devdazed has quit [Quit: Bye]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kiwi_25183 has quit [Read error: Connection reset by peer]
lukec has joined #ruby
duggiefresh has joined #ruby
colonolGron has quit [Quit: Lost terminal]
matchaw_ has joined #ruby
volty has joined #ruby
relix has quit [Client Quit]
MrZYX is now known as MrZYX|off
jalcine_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
harrymoreno has quit [Ping timeout: 252 seconds]
elux has quit [Quit: Bye!]
jalcine_ has quit [Excess Flood]
harrymoreno has joined #ruby
mdel has joined #ruby
Davey has joined #ruby
mdel has quit [Changing host]
mdel has joined #ruby
workmad3 has joined #ruby
jalcine_ has joined #ruby
jalcine_ has quit [Excess Flood]
justsee has quit [Ping timeout: 248 seconds]
mojjojo has quit [Quit: mojjojo]
sailias has joined #ruby
nateberkopec has quit [Quit: Leaving...]
kirun has quit [Quit: Client exiting]
timonv has quit [Ping timeout: 252 seconds]
vxxr has quit [Ping timeout: 272 seconds]
benzrf is now known as benzrf|afk
mojjojo has joined #ruby
osvico has joined #ruby
coca_rails has quit [Remote host closed the connection]
julweber has joined #ruby
harrymoreno_ has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
justsee has joined #ruby
<sam113101> can someone remind me of why it is wrong to install ruby using the system package manager?
harrymoreno has quit [Ping timeout: 245 seconds]
harrymoreno_ is now known as harrymoreno
<havenwood> sam113101: It isn't always wrong. Depends on whether that package manager did a good job, has the latest Ruby, and whether you need more than one Ruby.
<terrellt> Usually wrong.
mgorbach has quit [Ping timeout: 240 seconds]
<terrellt> Because usually did not do a good job.
rubyracer has quit [Quit: Konversation terminated!]
tkuchiki has joined #ruby
<sam113101> 2.0.0.247 on fedora
benzrf|afk has left #ruby [#ruby]
<havenwood> sam113101: Fedora did a good job packaging, and 2.0.0-p247 is only missing one security patch: https://www.ruby-lang.org/en/news/2013/11/22/ruby-2-0-0-p353-is-released/
<sam113101> going to keep it then, less troublesome ◔ ◡ ◔
<havenwood> sam113101: If you end up wanting other Rubies, a nice tool to install them is ruby-install, and chruby leaves your system Ruby as default but can easily swap to the ruby-install installed Rubies.
dayepa has quit [Ping timeout: 265 seconds]
Skylab has quit [Quit: Skylab]
<havenwood> sam113101: But yeah, i think sane to use Fedora 19+'s yum installed Ruby. :)
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Quit: saarinen]
Xeago has quit [Remote host closed the connection]
dayepa has joined #ruby
Skylab has joined #ruby
Jetchisel has joined #ruby
flops has quit [Ping timeout: 252 seconds]
kcombs has quit [Ping timeout: 252 seconds]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
vxxr has joined #ruby
myappleguy has quit [Ping timeout: 272 seconds]
noob101 has joined #ruby
Hoozt has joined #ruby
coca_rails has joined #ruby
<sam113101> what does 2.0.0-p247 mean? I thought it was major.minor.patch, yet I think p stands for patch
Hanmac has quit [Ping timeout: 245 seconds]
ignoch has quit [Quit: Leaving]
sepp2k has quit [Quit: Leaving.]
advorak has joined #ruby
breakingthings has quit []
<yan_> is there a rake target or a bundler command that would let me turn my bundler-generated gem into a .gem archive that includes all its dependencies?
advorak has quit [Client Quit]
Bira has joined #ruby
lmickh has quit [Quit: lmickh]
osvico has quit [Read error: Connection reset by peer]