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.
<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>
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.]
<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 "
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]
<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]
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]
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
<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
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
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]
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]
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.
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. ^
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
<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
<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 ?
<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
<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?
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?
<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 ?
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]
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]
<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
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]
<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]
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!]
<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.
<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]