<bnagy>
so presumably logthing.some_log_meth `whatever`
Ox6abe has quit [Ping timeout: 268 seconds]
devyn has quit [Ping timeout: 240 seconds]
InFlames has joined #ruby
<atmosx>
doesn't work like that
<atmosx>
don't quite understand why though
<atmosx>
the cmd works fine, but logger doesn't record the output
<MrZYX>
stdout vs stderr maybe?
<atmosx>
no no I did something stupid
vlad_starkov has joined #ruby
<atmosx>
in the cmd I redirect the output to dev null
<atmosx>
not works fine
awarner_ has quit [Remote host closed the connection]
<atmosx>
Hmm I might re-write this to use the ruby rsync gem.
pel_daniel has left #ruby [#ruby]
capicue has joined #ruby
vlad_sta_ has joined #ruby
ghostjangles has joined #ruby
sepp2k has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 248 seconds]
Ox6abe has joined #ruby
Mars` has joined #ruby
m8 has quit [Quit: Sto andando via]
capicue has quit [Ping timeout: 245 seconds]
Ox6abe_ has joined #ruby
wesside_ has quit [Quit: Computer has gone to sleep.]
Ox6abe__ has joined #ruby
nfk has quit [Quit: yawn]
Ox6abe has quit [Ping timeout: 252 seconds]
Ox6abe_ has quit [Ping timeout: 245 seconds]
atmosx has quit [Quit: Lost in trance]
yfeldblum has quit [Remote host closed the connection]
justsee has joined #ruby
duggiefresh has quit [Ping timeout: 245 seconds]
jjbohn has quit [Quit: Leaving...]
EvanR has joined #ruby
postmodern has quit [Quit: Leaving]
iliketurtles has joined #ruby
EvanR is now known as Guest34343
diegoviola has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
Shidash has quit [Ping timeout: 264 seconds]
anderse has quit [Quit: anderse]
robustus has joined #ruby
jjbohn has joined #ruby
jibi has quit [Quit: .]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
simoz has joined #ruby
blotchy has joined #ruby
QKO has quit [Read error: Connection reset by peer]
QKO has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
dnyy has joined #ruby
myappleguy1 has joined #ruby
theoretick has joined #ruby
bricker`LA has quit [Read error: Connection reset by peer]
bricker`LA has joined #ruby
elux has quit [Quit: Leaving...]
zz_tsykoduk is now known as tsykoduk
Papierkorb has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
jjbohn has quit [Quit: Leaving...]
fgo has joined #ruby
simoz2 has joined #ruby
rjhunter has joined #ruby
<Papierkorb>
Hello, which is the easiest-to-embed ruby implementation available for C/C++? MRI isn't re-entrant, so that's a no go. mruby was confusing at best last time I checked...
<lupine>
mruby is really the one. rubinius might be an option
<Papierkorb>
yeah currently trying to find the docs of rubinius on embedding
<lupine>
never done it myself - I've been lucky :)
simoz has quit [Ping timeout: 248 seconds]
jjbohn has joined #ruby
neutrondude has joined #ruby
MrZYX is now known as MrZYX|off
<Papierkorb>
yeah well I have to ;) currently ruby looks like the most elegant scripting language to me to write glue code and things, though sadly there's no ready to use lib for that yet
<neutrondude>
i have ruby installed but it tells me that "gem" is not recognized as an internal or external command
jjbohn has quit [Client Quit]
<neutrondude>
when i try to use gems (i.e.gem install rubygems-update)
<lupine>
you probably didn't also install rubygems
<lupine>
especially in OS packaging setups, the two get separated out
jjbohn has joined #ruby
tylersmith has joined #ruby
myappleguy1 has quit [Ping timeout: 265 seconds]
thekkid has quit [Ping timeout: 245 seconds]
i_s has joined #ruby
<neutrondude>
i download the zip and ran setup.rb
<neutrondude>
but the gem command still doesnt work
tsykoduk is now known as zz_tsykoduk
mlpinit has joined #ruby
tylersmith has quit [Ping timeout: 248 seconds]
jjbohn has quit [Ping timeout: 245 seconds]
kobain_ has joined #ruby
ghostjangles has quit [Read error: Connection reset by peer]
i_s has quit [Ping timeout: 272 seconds]
kobain has quit [Remote host closed the connection]
zz_karupanerura has quit [Ping timeout: 256 seconds]
gstamp has quit [Ping timeout: 256 seconds]
eshy has quit [Ping timeout: 256 seconds]
fixl has quit [Ping timeout: 256 seconds]
cibs has quit [Ping timeout: 256 seconds]
eshy has joined #ruby
gstamp has joined #ruby
cibs has joined #ruby
<bnagy>
neutrondude: zip? setup.rb? Is this windows?
DrCode has quit [Ping timeout: 240 seconds]
zigomir has quit [Ping timeout: 245 seconds]
<bnagy>
if so, use an up-to-date installer from RubyInstaller
zz_karupanerura has joined #ruby
aspires has joined #ruby
zz_karupanerura is now known as karupanerura
fixl has joined #ruby
zz_scottstamp is now known as scottstamp
DrCode has joined #ruby
peterdecroos has joined #ruby
marr has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Ping timeout: 272 seconds]
aspires has quit [Client Quit]
bugsinlights has joined #ruby
fgo has quit [Remote host closed the connection]
Shidash has joined #ruby
fgo has joined #ruby
rjhunter has quit [Remote host closed the connection]
bugsinlights has quit [Read error: Connection reset by peer]
<ecksit>
hey, i have a json object that i need to search for a value that contains "test-suite-db-*" but i can't quite get it right. i have tried using include? and a regex but to no avail. here is the json object and the parsed object - https://gist.github.com/jacobbednarz/a8392631f7edda936fe9
sambao21 has joined #ruby
burlyscudd has joined #ruby
Monie has joined #ruby
simoz2 has quit [Ping timeout: 245 seconds]
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
iliketurtles has quit [Ping timeout: 245 seconds]
<bnagy>
what output do you want from that object?
<ecksit>
the matched value would is desirable.
<bnagy>
specifically, sorry.. MAGIC( response ) => what exactly?
burlyscudd has quit [Client Quit]
<ecksit>
i am using it to check if 'a' name exists in that response and then would like to return the match if possible.
<bnagy>
all of those names but one match that regex
<bnagy>
so again, what exactly do you want your magic to return?
<bnagy>
true? first match? all matches?
sailias has joined #ruby
<ecksit>
true if it finds it.
<ecksit>
let me grab the method i started for it.
<bnagy>
and * is supposed to be a regex I assume right?
<ecksit>
the idea is that the response is from an API that returns all db names and i need to run another action against one of those existing database names
<bnagy>
at random?
<ecksit>
but, it can only use the test-suite-db's/
<ecksit>
yep.
Asitha has joined #ruby
<bnagy>
ok well you should at least make sure it's one that matches your regex first, no?
<ecksit>
yep.
<bnagy>
so target_db = response.select {...}.sample
<nobitanobi>
lethjakman, it's a lil bit old, but I enjoyed a lot Rubyist 1.9 - The well grounded rubyist
<Asitha>
Hi there
zeeraw has quit [Quit: Computer has gone to sleep.]
<Asitha>
I'm learning Ruby at the moment and am trying to figure out what is causing an issue with the twitter api
<ecksit>
yes of course :p. took your example and didn't clean up.
zeeraw has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
cricri has left #ruby ["quassel-irc"]
<shevy>
Asitha hmm
<shevy>
the twitter gem does not have this error message
<nobitanobi>
shevy, is JSON::Parse
<nobitanobi>
he is trying to parse a string
duggiefresh has joined #ruby
petey has quit [Remote host closed the connection]
<nobitanobi>
I believe
<nobitanobi>
not valid JSON
<Asitha>
then yeah
<Asitha>
the JSON gem
<shevy>
from "gem install json"?
<Asitha>
yeah
<nobitanobi>
see u guys later
<shevy>
Fetching: json-1.8.1.gem
petey has joined #ruby
<Asitha>
If you refresh now
petey has quit [Remote host closed the connection]
<shevy>
I cant find the error message in this gem either
<Asitha>
I removed the json.parse
<Asitha>
and it's still the same thing
ewnd9 has quit [Ping timeout: 272 seconds]
<shevy>
Asitha and if you try to output this as string?
<shevy>
can you test something
<shevy>
can you simply add {} there
<shevy>
<%= tweet.text %>
iliketurtles has joined #ruby
<shevy>
<%= {} %>
<Asitha>
same thing happens
<shevy>
huh
<shevy>
how is that error possible
<shevy>
but I think I know why
<shevy>
unexpected token at '{"delete":{"status":{"id":395634523792494593,"user_id":447538400,"id_str":"395634523792494593","user_id_str":"447538400"}}}'
Ox6abe__ has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
Ox6abe has joined #ruby
<shevy>
yeah :(
<shevy>
the fate of many cool projects...
Ox6abe_ has joined #ruby
rickruby has quit [Ping timeout: 268 seconds]
mjs2600 has quit [Remote host closed the connection]
DonRichie has quit [Quit: Verlassend]
delinquentme has quit [Ping timeout: 245 seconds]
peterdec_ has joined #ruby
Ox6abe__ has joined #ruby
Ox6abe___ has joined #ruby
vlad_sta_ has joined #ruby
Ox6abe has quit [Ping timeout: 245 seconds]
peterdecroos has quit [Ping timeout: 272 seconds]
Ox6ab____ has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
Ox6abe_ has quit [Ping timeout: 272 seconds]
jlast_ has joined #ruby
Ox6abe_ has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
eka has quit [Quit: Computer has gone to sleep.]
Ox6abe__ has quit [Ping timeout: 265 seconds]
jlast has quit [Ping timeout: 272 seconds]
Ox6abe___ has quit [Ping timeout: 245 seconds]
dreamchaser has joined #ruby
dreamchaser has joined #ruby
dreamchaser has quit [Changing host]
Ox6abe__ has joined #ruby
huttan has quit [Ping timeout: 252 seconds]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
maletor has joined #ruby
ananthakumaran has joined #ruby
Asitha has quit [Ping timeout: 272 seconds]
jonathanwallace has joined #ruby
Ox6abe___ has joined #ruby
Ox6ab____ has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
maletor has quit [Client Quit]
Ox6abe_ has quit [Ping timeout: 272 seconds]
Ox6abe__ has quit [Ping timeout: 260 seconds]
vlad_sta_ has quit [Ping timeout: 272 seconds]
Ox6abe___ has quit [Ping timeout: 265 seconds]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
baroquebobcat has joined #ruby
baroquebobcat has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
delinquentme has joined #ruby
zoee has quit [Quit: This computer has gone to sleep]
nobitanobi has joined #ruby
agent_white has quit [Quit: bbl]
simoz has quit [Ping timeout: 265 seconds]
n4dir has joined #ruby
<nobitanobi>
hihi
iliketurtles has joined #ruby
n4dir has left #ruby [#ruby]
kcombs has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
dnyy has quit []
ananthakumaran has quit [Quit: Leaving.]
aapzak has quit [Ping timeout: 272 seconds]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
jjbohn has quit [Quit: Leaving...]
aapzak has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
javos has quit [Quit: Leaving...]
macmartine has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
mengu has joined #ruby
macmartine has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
vlad_starkov has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
delinquentme has quit [Quit: Leaving]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
baroquebobcat has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
<shevy>
nobitanobi will you expand your list of gem projects? :D
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
<nobitanobi>
shevy, I am currently working pretty hard on my own project
<nobitanobi>
:P
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
huttan has joined #ruby
ananthakumaran has joined #ruby
phinfone_ has quit [Quit: exitiing]
amacgregor_ has joined #ruby
kaldrenon has joined #ruby
mengu has quit [Ping timeout: 272 seconds]
<nobitanobi>
shevy, what about u? What do u work on?
amacgregor has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby
<shevy>
nobitanobi the biggest obstacle right now is rewriting some older projects
<nobitanobi>
:)
<shevy>
apparently the rewrite should be better than how the scripts were before
<shevy>
and somehow those rewrites take too much time away :(
cooldman224 has joined #ruby
<nobitanobi>
I hear you...
<nobitanobi>
shevy, how do you approach testing?
<nobitanobi>
do you do BDD/TDD or..?
<shevy>
nobitanobi real men don't test
<SirFunk>
Is there any simple way with keywoard arguments to use the default value on nil?
kaldrenon has quit [Ping timeout: 245 seconds]
<nobitanobi>
shevy, lol
huttan has quit [Ping timeout: 268 seconds]
<nobitanobi>
SirFunk, what do you mean?
<shevy>
nobitanobi most of the time, I have one class per .rb file, then I write my tests after "if __FILE__ == $PROGRAM_NAME"
<nobitanobi>
ok
<shevy>
for systematic testing of all .rb files I have not yet found a way that is appealing to me much at all
<SirFunk>
for example def foo(name: 'bar') {puts name} .. if i do something like foo(params[:name]) ... If params[:name] doesn't exist.. then it puts nil i want it to puts bar
intuxicated_ has quit [Ping timeout: 272 seconds]
tylersmith has quit [Ping timeout: 252 seconds]
<nobitanobi>
if params[:name].nil? puts bar?
<nobitanobi>
or... I might not be following what you are trying to do
<shevy>
where from does the block know that the name is name?
<SirFunk>
nobitanobi: well, yes that would fix the problem in that specific situation. However when passing params (in rails) you could potentially end up with lots of nils. I'd rather not have to check in every function
<shevy>
btw these are not keyword arguments or? that is a hash isn't it?
<nobitanobi>
SirFunk, I see...
<SirFunk>
shevy: they are keyword args
<SirFunk>
err.. i called it wrong above, it would be foo(name: params[:name])
<SirFunk>
but you get the idea
iliketurtles has quit [Ping timeout: 240 seconds]
n4dir1 has joined #ruby
n4dir1 has left #ruby [#ruby]
IceDragon has quit [Quit: Space~~~]
robbyoconnor has quit [Excess Flood]
devyn has joined #ruby
macmartine has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<newton>
is there a way, that if I have `r = /np (\S+)/` defined somewhere, I can easily have some code change it to /\\.np (\S+)/? (so kind of inject \\. to the front of the regex)?
macmartine has joined #ruby
myappleguy1 has joined #ruby
<bnagy>
newton: does /\\.#{old_regex}/ work?
fierycatnet has quit []
pagios has quit [Excess Flood]
mojjojo has quit [Quit: mojjojo]
sevenseacat has joined #ruby
mlpinit_ has quit [Remote host closed the connection]
pagioss has joined #ruby
mlpinit has joined #ruby
osvico has quit [Ping timeout: 268 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mlpinit has quit [Ping timeout: 265 seconds]
macmartine has quit [Remote host closed the connection]
dcope has quit [Changing host]
dcope has joined #ruby
Ox6abe has joined #ruby
petey has quit [Remote host closed the connection]
<newton>
bnagy: I guess that should have been obvious :P I think it would work - but testing, I think ruby adding the (?-mix:pattern) is messing stuff up
lukec has joined #ruby
neutrondude has quit []
Ox6abe has quit [Ping timeout: 252 seconds]
macmartine has joined #ruby
cooldman224 has quit [Remote host closed the connection]
decoponio has joined #ruby
nisstyre has quit [Quit: Leaving]
crucify_me has joined #ruby
<shevy>
dumdedum
<shevy>
code code code...
yacks has quit [Remote host closed the connection]
iliketurtles has joined #ruby
aspires has joined #ruby
ghostjangles has quit [Ping timeout: 245 seconds]
i_s has joined #ruby
bugsinlights has joined #ruby
peterdecroos has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
duggiefresh has quit [Ping timeout: 268 seconds]
peterdec_ has quit [Ping timeout: 252 seconds]
zz_tsykoduk is now known as tsykoduk
jjbohn has joined #ruby
Guest34343 has quit [Ping timeout: 252 seconds]
Mars` has quit [Ping timeout: 240 seconds]
GoodTimes has quit []
sayan has joined #ruby
jjbohn has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
vlad_starkov has quit [Read error: Connection reset by peer]
crucify_me has quit [Remote host closed the connection]
peterdecroos has quit [Remote host closed the connection]
peterdecroos has joined #ruby
RichardBaker has joined #ruby
<nobitanobi>
night guys!
nobitanobi has quit [Quit: Leaving]
tylersmith has joined #ruby
tsykoduk is now known as zz_tsykoduk
i_s has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 252 seconds]
peterdecroos has quit [Ping timeout: 252 seconds]
tylersmith has quit [Ping timeout: 240 seconds]
arietis has joined #ruby
sailias has joined #ruby
iliketurtles has quit [Ping timeout: 252 seconds]
EvanR_ has joined #ruby
Seich has joined #ruby
<ecksit>
anyone know what the irc channel is for ruby's vcr?
dross has quit [Ping timeout: 246 seconds]
dross has joined #ruby
<sevenseacat>
it doesnt have one.
sailias has quit [Ping timeout: 268 seconds]
Lewix has quit [Remote host closed the connection]
simoz has joined #ruby
krz has joined #ruby
<ecksit>
that's annoying :(
<sevenseacat>
why? ask in any ruby related roon
<sevenseacat>
room
funburn has joined #ruby
thesheff17 has quit [Ping timeout: 245 seconds]
<ecksit>
ok, so, i have a helper method that contains an API request to fetch all database names, which lives in my spec helper but outside of the vcr block.
<ecksit>
(because i need to dymanically pass in variables to the response as the content is dynamic)
<ecksit>
but i keep getting errors about the request method not throwing errors in vcr
crucify_me has joined #ruby
crucify_me has quit [Remote host closed the connection]
<existensil>
ecksit: sounds like you either need to stub out that API request, or have VCR record it, or have VCR ignore it
<ecksit>
i looked at ignoring it but i also use that endpoint to ensure it is delivered using json, returns a 200, etc.
<existensil>
huh? ignoring it should just allow the API request to happen as normal. not sure what the issue is.
funburn has quit [Quit: funburn]
<existensil>
might be more clear if you provided some more info about what errors exactly you are getting and what you are trying to accomplish with your test. your VCR config and test itself might also be useful.
BizarreCake has joined #ruby
ehaliewicz has joined #ruby
krz has quit [Read error: Connection reset by peer]
DropsOfSerenity has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
rickruby has joined #ruby
Mars` has joined #ruby
rickruby_ has joined #ruby
mlpinit has joined #ruby
funburn has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
rickruby has quit [Ping timeout: 248 seconds]
mlpinit has quit [Ping timeout: 272 seconds]
ecksit has quit [Quit: Laters.]
gr33n7007h has quit [Read error: No route to host]
duggiefresh has joined #ruby
petey has joined #ruby
vlad_starkov has joined #ruby
iliketurtles has joined #ruby
fridim_ has joined #ruby
sevenseacat has quit [Ping timeout: 248 seconds]
sergicles has joined #ruby
fivethreeo has joined #ruby
sayan has quit [Ping timeout: 272 seconds]
wmoxam has quit [Remote host closed the connection]
krz has quit [Quit: krz]
krz has joined #ruby
jwang has quit [Quit: Leaving]
krz has quit [Client Quit]
krz has joined #ruby
krz has quit [Client Quit]
thelorax123 has quit [Remote host closed the connection]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
aspiers has quit [Ping timeout: 272 seconds]
krz has joined #ruby
macmartine has quit [Remote host closed the connection]
thelorax123 has joined #ruby
huttan has joined #ruby
DropsOfSerenity has quit [Quit: Peace.]
petey has quit []
huttan has quit [Ping timeout: 252 seconds]
jjbohn has joined #ruby
zz_tsykoduk is now known as tsykoduk
banisterfiend has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
<shevy>
what is this in ruby?
<shevy>
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
<shevy>
it removes some characters, ansii escape sequences apparently
<shevy>
\x1B specifially I have no idea
Shidash has joined #ruby
platypine has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
platypine has joined #ruby
phansch has joined #ruby
joshi has joined #ruby
jjbohn has quit [Ping timeout: 260 seconds]
platypine has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
dross has quit [Ping timeout: 272 seconds]
dross has joined #ruby
xk_id has quit [Quit:
krz has quit [Quit: krz]
zeeraw has quit [Quit: Computer has gone to sleep.]
tsykoduk is now known as zz_tsykoduk
i_s has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
tesuji has joined #ruby
kobain_ has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
i_s has quit [Ping timeout: 264 seconds]
banghouse has quit [Remote host closed the connection]
hakunin has quit []
justsee has quit [Quit: leaving]
justsee has joined #ruby
justsee has quit [Client Quit]
vlad_starkov has quit [Read error: Connection reset by peer]
mcdougall has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 272 seconds]
Guest51543 has quit [Quit: leaving]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
zipper has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
cazenave has joined #ruby
agent_white has joined #ruby
<shevy>
hmm
<shevy>
[one or two numbers; one or two numbers]
<shevy>
I still don't get the \0x1B
<shevy>
in irb this is the same as "x1B"?
iliketurtles has quit [Ping timeout: 252 seconds]
d45h has joined #ruby
Solnse has quit [Quit: Leaving.]
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
xk_id has quit [Quit:
lethjakman has quit [Quit: WeeChat 0.4.0]
Aryasam has joined #ruby
peterdecroos has joined #ruby
JohnBat26 has joined #ruby
osvico has joined #ruby
JohnBat26 has quit [Client Quit]
JohnBat26 has joined #ruby
sophomorical has quit [Remote host closed the connection]
Dwarf has quit [Remote host closed the connection]
holderbaum has joined #ruby
eka has joined #ruby
Dwarf has joined #ruby
osvico has quit [Ping timeout: 268 seconds]
agent_white has quit [Read error: Connection reset by peer]
sophomorical has joined #ruby
Mars` has quit [Remote host closed the connection]
eka has quit [Quit: Computer has gone to sleep.]
Aryasam has quit [Ping timeout: 272 seconds]
21WABR5WA has quit [Read error: Connection reset by peer]
23LAAI7FC has quit [Read error: Connection reset by peer]
MrPot4to has joined #ruby
drumusician has joined #ruby
huttan has joined #ruby
MrPotato has joined #ruby
skaflem has joined #ruby
Aryasam has joined #ruby
forchunet has joined #ruby
<forchunet>
would anyone be willing to check a newbies code really quick?
vlad_starkov has joined #ruby
Mars` has joined #ruby
gianlucadv has joined #ruby
bluOxigen has joined #ruby
<forchunet>
My code is http://imgur.com/KTNXEnv I wrote the one on the top but the answer was the bottom. Are both the same? I was trying to copy the values less than 4 in the array stored in the source variable into the array in the destination variable.
zipper has quit [Ping timeout: 245 seconds]
huttan has quit [Ping timeout: 264 seconds]
zipper has joined #ruby
iliketurtles has joined #ruby
<forchunet>
anyone?
<jrobeson>
forchunet, you should use pastie.org or gist.github.com for code.. not screenshots
DanKnox is now known as DanKnox_away
<forchunet>
oh ok
ehaliewicz has quit [Ping timeout: 240 seconds]
Seich has quit [Ping timeout: 248 seconds]
<forchunet>
def array_copy(source) destination = [] source.each do |i| if i < 4 destination.push i end return destination end def array_copy(source) destination = [] for number in source destination << number if number < 4 end return destination end
agustinvinao has joined #ruby
<forchunet>
errr.... one sec
agustinvinao has quit [Remote host closed the connection]
<jrobeson>
no.. not here
<jrobeson>
but yes.. they look like they do the same to me
<jrobeson>
forchunet, i more told you about the pasting for future reference .. when you are trying to get other people to help you
jonathanwallace has quit [Ping timeout: 245 seconds]
gianlucadv has quit [Ping timeout: 260 seconds]
<forchunet>
i will keep that in mind
<jrobeson>
forchunet, also.. that still isn't quite the most optimal way of doing it :)
<jrobeson>
not sure what your actual goal is
Seich has joined #ruby
<forchunet>
yes, im aware that a lot of my code isn't optimal. Just trying to wrap my head around the basics for now
<jrobeson>
cool.. go ahead then
<jrobeson>
just make sure to read about select and map methods in the future
leonidlm has joined #ruby
peterdecroos has quit [Remote host closed the connection]
replay has quit [Ping timeout: 264 seconds]
zz_tsykoduk is now known as tsykoduk
Mars` has quit [Remote host closed the connection]
agustinvinao has joined #ruby
agustinvinao is now known as agustin34
<forchunet>
oh yeah. I know of map. For some reason the section I was on was getting me to use a for loop and my initial reaction was to do it the way I did for some reason
agustin34 has left #ruby [#ruby]
vlad_sta_ has joined #ruby
jjbohn has joined #ruby
<jrobeson>
forchunet, well doing it the way you did it is definitely more in line with most ruby users vs for
<jrobeson>
i still haven't seen a for in the wild myself
cazenave has quit [Remote host closed the connection]
<sevenseacat>
for shouldnt exist in ruby
simoz has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
<forchunet>
yeah, the tutorial was getting me to use it for some reason
<jrobeson>
that is likely a smell of a bad tutorial
<sevenseacat>
+1
<forchunet>
rubymonk
<jrobeson>
really?
<jrobeson>
hmm.. WHY? :(
<forchunet>
pretty good so far. it actually said in the section that for isn't used but heres a problem set anyway pretty much
<jrobeson>
color me suprised
ryba has joined #ruby
<jrobeson>
ah ok that's a bit better :)
DouweM has quit [Ping timeout: 272 seconds]
jjbohn has quit [Ping timeout: 245 seconds]
DanKnox_away is now known as DanKnox
ghostjangles has joined #ruby
kaldrenon has joined #ruby
banisterfiend has joined #ruby
wildroman has joined #ruby
tsykoduk is now known as zz_tsykoduk
tylersmith has joined #ruby
kaldrenon has quit [Ping timeout: 252 seconds]
ryba has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 240 seconds]
mweshi has joined #ruby
akonny has joined #ruby
dwellingh has joined #ruby
vlad_sta_ has quit [Read error: Connection reset by peer]
iliketurtles has quit [Ping timeout: 260 seconds]
shvelo has joined #ruby
shvelo has quit [Changing host]
shvelo has joined #ruby
<existensil>
forchunet: FYI, for reference, what you are trying to do can be accomplished in a single line: source.select{|i| i < 4 }
<forchunet>
thanks! I'll def. read up more on select and map
h0rrorvacui has quit [Quit: ZQ]
threesome has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
jenskarlsen has quit [Quit: jenskarlsen]
tvw has joined #ruby
nisstyre has quit [Quit: Leaving]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
ericx2x has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
wildroman has quit []
ner0x has quit [Quit: Leaving]
arietis has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby
vlad_starkov has joined #ruby
Davey has joined #ruby
Davey has quit [Remote host closed the connection]
lukec has quit [Quit: lukec]
Davey has joined #ruby
CalimeroTeknik has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
gasbakid has joined #ruby
Aryasam has quit [Ping timeout: 248 seconds]
zigomir has joined #ruby
jjbohn has joined #ruby
Aryasam has joined #ruby
iliketurtles has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Ping timeout: 245 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
zipper has quit [Ping timeout: 252 seconds]
zipper has joined #ruby
iliketurtles has quit [Ping timeout: 245 seconds]
brtdv has joined #ruby
<pagioss>
hi all i need some help writing to my serial port from 2 threads, heard i can do it using mutex.sunchronize but i am not able to achieve it.
<pagioss>
first thread needs to continously write on serial port and thread 2 neads to write at anytime (on demand)
ner0x has joined #ruby
theRoUS is now known as theRoUS|afk
Seich has quit [Ping timeout: 272 seconds]
DanKnox is now known as DanKnox_away
amacgregor has joined #ruby
amacgregor__ has joined #ruby
Seich has joined #ruby
amacgregor_ has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
watermel0n has joined #ruby
pagioss is now known as pagios
amacgregor has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Excess Flood]
relix has joined #ruby
robbyoconnor has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
arietis has joined #ruby
<existensil>
pagios: haven't done any serial port stuff. what does your implementation look like? what problems are you running into?
AlSquire has quit [Quit: This computer has gone to sleep]
nfk has joined #ruby
<existensil>
seems like if one thread needs to be in control it should have an interrupt mechanism. maybe thread 2 can write to an shared array that thread 1 checks after each of its writes?
<existensil>
then thread 1 sends whatever thread 2 queued up, and then continues whatever writing its doing
<apeiros>
existensil: if you need a queue shared between threads, you're better advised to use Queue than Array
<existensil>
yeah, true
<pagios>
existensil: i think another way is mutex
<existensil>
pagios: yeah, i suppose you could wrap the serial port write into a mutex and the threads could synchronize on it
<existensil>
are you having trouble with that?
aa47f8 has joined #ruby
<pagios>
apeiros: idea is i have a small screen connected via serial to my pc, now thread one is sending continous monitoring stuff to be displayed on the panel, at any point in time i want to send via a keypad (also serially connected) some instructions, and display the return value once on the display and resume with the monitoring of thread 1
<existensil>
i'd actually have a queue that both thread 1 and thread 2 write to and a thread 3 who's only job is to watch the queue and write
<apeiros>
popl: it's the most common indentation. there are some ruby styleguides. one being the one existensil linked.
olivier_bK has joined #ruby
<existensil>
that guide is very clear about indentation, and they follow the same rule apeiros is trying to enforce
iliketurtles has joined #ruby
<apeiros>
I'm not trying to enforce it, he can use whatever he wants. I just won't read his source-code then :)
mengu has quit [Remote host closed the connection]
<apeiros>
not being paid for helping, I can choose whom and under what conditions to help.
vlad_starkov has joined #ruby
<popl>
Thanks for the link existensil.
<popl>
When I was doing Java programming at school I was sort of browbeaten into using four spaces. So I tend to use that (I've already configured vim for it) except when I work on someone else's code that uses a different style.
<existensil>
i use 4 spaces for java. different languages, different styles
fridim_ has quit [Ping timeout: 272 seconds]
RichardBaker has quit [Quit: RichardBaker]
<pagios>
ok here is the final version with the while loop:
<apeiros>
ok, look pagios, line 11 and line 17 should have the same indent, for example. right now they're miles apart.
<existensil>
first, for syncrhonize to work, they need to be synchronizing on the *same code*
zz_tsykoduk is now known as tsykoduk
<apeiros>
then line 11 and 13 we have starts of deeper indentation which you ignore
<apeiros>
oh, line 10 too
<existensil>
your port.puts stuff should be in a method, that each thread calls
sevenseacat has joined #ruby
<existensil>
and within that method the call to port.puts should be synchronized
<pagios>
you mean i should have 2 threads , one for each condition and then inside each if statement call a method which does the serialization on the serial?
Tuxist has joined #ruby
<existensil>
but, not knowing how fast your loop is running, its quite possible your "STOPPED stream" is being sent, but then thread 1 is sending another message that overwrites it immediately after
<apeiros>
pagios: also ; are not needed in ruby
<existensil>
but, again, not super familiar with serial coding so not entirely sure when readline events fire, vs how fast your puts events are
<existensil>
thread 1 appers like it would write very aggressively
<apeiros>
but seriously pagios, learn to f'ing indent your code.
<existensil>
i still think having one writing thread makes the most sense, and it could either write your command response, then pause, or continuously write the status if no commands are queued
<apeiros>
IMO the code is still broken, since on ever 'start_stream' you spin up another infinitely running thread.
<apeiros>
*on every
ua has quit [Ping timeout: 264 seconds]
<apeiros>
oh, omitted a puts
<apeiros>
updated.
Astralum has joined #ruby
<jrobeson>
no.. i'll beat you with infinity times infinity
* jrobeson
bows
<apeiros>
that's still infinity
<jrobeson>
apeiros, that's the point .. it's meant to be ridiculous
<apeiros>
I'll beat you with an aleph1 infinity
<apeiros>
take that, with your silly aleph0 infinity :-p
<jrobeson>
:(
Nahra has quit [Ping timeout: 245 seconds]
<apeiros>
pagios: anyway, going to play some videogames. I think this code is already a good bit better, but still broken for stream_start (as mentioned above).
<pagios>
sleep 0.2 writeline(stream_status) seems to make thigns a bit better apeiros
amacgregor has joined #ruby
<bnagy>
XD
<bnagy>
this is called the 'magic sleep zone' of threaded code
<pagios>
huh
mojjojo has quit [Quit: mojjojo]
amacgregor__ has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
<bnagy>
when magic tiny sleeps start helping
beermouse has joined #ruby
gasbakid__ has joined #ruby
<bnagy>
basically it's just weird scheduler races that you're magicking, normally
<bnagy>
anyway, enjoy
mojjojo has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
gasbakid_ has quit [Ping timeout: 272 seconds]
jjbohn has quit [Ping timeout: 245 seconds]
<pagios>
forchunet: in your code, stream_stop is never called
tsykoduk is now known as zz_tsykoduk
Seich has joined #ruby
i_s has joined #ruby
tylersmith has joined #ruby
kirun has joined #ruby
mojjojo has quit [Quit: mojjojo]
Astralum has joined #ruby
Seich has quit [Ping timeout: 246 seconds]
ananthakumaran1 has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
Spami has joined #ruby
iliketurtles has quit [Ping timeout: 272 seconds]
huttan has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
i_s has quit [Ping timeout: 252 seconds]
aapzak has quit [Read error: Connection reset by peer]
aapzak has joined #ruby
<shvelo>
I'm selling these fine leather jackets
huttan has quit [Ping timeout: 272 seconds]
Astralum has quit [Read error: Operation timed out]
mojjojo has joined #ruby
newbiehacker has joined #ruby
tonni_ has joined #ruby
forchunet has quit [Ping timeout: 250 seconds]
tvw has quit [Ping timeout: 264 seconds]
tonni has quit [Ping timeout: 252 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
viuo has joined #ruby
MrPot4to has quit [Read error: Connection reset by peer]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
MrPot4to has joined #ruby
MrPotato has quit [Remote host closed the connection]
MrPot4to has quit [Read error: Connection reset by peer]
<pagios>
how can i kill a thread from another thread?
vlad_starkov has joined #ruby
<apeiros>
Thread#kill - but you should absolutely not. the behavior is largely undefined. it may kill your thread *anywhere*
<pagios>
apeiros: i want to kill thread1 and its childs when stream_stop is sent so nothing is output on the screen anymore
<pagios>
only when stream_start is sent i want to display the monitoring stuff
<apeiros>
threads don't have children
<apeiros>
threads are not hierarchical.
<pagios>
ok then kill all threads of type a
<apeiros>
set up mechanisms to tell the thread to stop. cf. my code - I set the loop to stop once @show_stats is true - the thread will end
<apeiros>
err, *to stop once @show_stats is *false*
marahin has quit [Remote host closed the connection]
jb41 has joined #ruby
<pagios>
i see a race ondition on the screen
vlad_starkov has quit [Read error: Connection reset by peer]
viuo has quit [Quit: viuo]
viuo has joined #ruby
<apeiros>
you won't make it better by killing a thread.
beermouse has quit [Ping timeout: 246 seconds]
Lewix has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
gasbakid__ has quit [Ping timeout: 240 seconds]
nari has joined #ruby
iliketurtles has joined #ruby
shvelo has quit [Ping timeout: 245 seconds]
javos has joined #ruby
javos_ has joined #ruby
javos- has joined #ruby
javos_ has quit [Read error: Connection reset by peer]
olivier_bK has quit [Ping timeout: 252 seconds]
viuo has quit [Quit: viuo]
javos has quit [Ping timeout: 252 seconds]
lkba has joined #ruby
gasbakid__ has joined #ruby
mklappstuhl has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
timonv has quit [Remote host closed the connection]
arietis has joined #ruby
jjbohn has joined #ruby
tesuji has quit [Ping timeout: 245 seconds]
relix has joined #ruby
davidcelis has quit [Ping timeout: 260 seconds]
davidcelis has joined #ruby
jjbohn has quit [Ping timeout: 246 seconds]
m8 has joined #ruby
MrZYX|off is now known as MrZYX
intuxicated_ has joined #ruby
brtdv has quit []
brtdv has joined #ruby
dzan has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
Seich has joined #ruby
dzan has joined #ruby
dhruvasa1ar has quit [Ping timeout: 272 seconds]
brtdv has quit [Client Quit]
nones has joined #ruby
nones has left #ruby ["Ухожу я от вас (xchat 2.4.5 или старше)"]
bluOxigen has quit []
_5kg has quit [Ping timeout: 252 seconds]
tylersmith has joined #ruby
_5kg has joined #ruby
Seich has quit [Ping timeout: 252 seconds]
osvico has joined #ruby
iliketurtles has quit [Ping timeout: 245 seconds]
rickruby has quit [Remote host closed the connection]
defrag has quit [Ping timeout: 264 seconds]
Thanatermesis has joined #ruby
hello_world has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Remote host closed the connection]
beermouse has joined #ruby
dhruvasagar has quit [Read error: Operation timed out]
germanstudent has quit [Quit: raus]
DonRichie has joined #ruby
mengu has joined #ruby
Lewix has quit [Remote host closed the connection]
Nahra has quit [Ping timeout: 265 seconds]
Nahra has joined #ruby
timonv has joined #ruby
beermouse has quit [Quit: beermouse]
jhaals has joined #ruby
sepp2k has quit [Ping timeout: 245 seconds]
germanstudent has joined #ruby
dr_bob has joined #ruby
Nahra has quit [Ping timeout: 240 seconds]
sevenseacat has joined #ruby
iliketurtles has joined #ruby
mengu has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
beermouse has joined #ruby
Nahra has joined #ruby
ringaroses has joined #ruby
Asher has quit [Quit: Leaving.]
ringaroses has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
s_kilk has joined #ruby
Nahra has quit [Client Quit]
Naoe-Kanno has joined #ruby
dhruvasagar has joined #ruby
SHyx0rmZ has quit [Ping timeout: 246 seconds]
timonv_ has joined #ruby
sepp2k has joined #ruby
tr4656 has quit [Ping timeout: 260 seconds]
tr4656 has joined #ruby
jhaals has quit [Ping timeout: 245 seconds]
banister has joined #ruby
banister is now known as r0bgleeson
r0bgleeson has quit [Changing host]
r0bgleeson has joined #ruby
zz_tsykoduk is now known as tsykoduk
banisterfiend has joined #ruby
NickiMinaj has quit [Ping timeout: 250 seconds]
colonolGron has joined #ruby
hello_world has quit [Ping timeout: 250 seconds]
jjbohn has joined #ruby
r0bgleeson has quit [Ping timeout: 265 seconds]
banister has joined #ruby
banisterfiend has quit [Ping timeout: 264 seconds]
mklappstuhl has joined #ruby
huttan has joined #ruby
jjbohn has quit [Ping timeout: 245 seconds]
tsykoduk is now known as zz_tsykoduk
jerius has joined #ruby
s_kilk has quit [Quit: Leaving]
endash has joined #ruby
jerius has quit [Client Quit]
bassclef has joined #ruby
huttan has quit [Ping timeout: 248 seconds]
Seich has joined #ruby
banister_ has joined #ruby
banister_ is now known as r0bgleeson
r0bgleeson has quit [Client Quit]
Ox6abe has joined #ruby
tylersmith has joined #ruby
iliketurtles has quit [Ping timeout: 240 seconds]
Seich has quit [Ping timeout: 248 seconds]
jhaals has joined #ruby
krz has quit [Read error: Connection reset by peer]
brian___ has joined #ruby
beermouse has quit [Quit: beermouse]
javos has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
beermouse has joined #ruby
javos- has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 264 seconds]
beermouse has quit [Client Quit]
hiroyuki has joined #ruby
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leonidlm has left #ruby ["Leaving"]
wald0 has joined #ruby
kofno has quit [Ping timeout: 264 seconds]
casheew_ has quit [Read error: Connection reset by peer]
casheew has joined #ruby
banister_ has joined #ruby
banister_ has quit [Changing host]
banister_ has joined #ruby
banister_ is now known as r0bgleeson
caveat- has quit [Ping timeout: 252 seconds]
mixel has joined #ruby
krz has joined #ruby
Hanmac1 has joined #ruby
sepp2k has quit [Quit: Leaving.]
Hanmac has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
Mon_Ouie has joined #ruby
z has quit [Read error: Operation timed out]
xcess_denied has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv has joined #ruby
Blue_Ice has quit [Ping timeout: 245 seconds]
Blue_Ice has joined #ruby
mklappst_ has joined #ruby
Hanmac1 is now known as Hanmac
timonv has quit [Ping timeout: 252 seconds]
beermouse has joined #ruby
mklappstuhl has quit [Ping timeout: 246 seconds]
hashpuppy has quit [Quit: Computer has gone to sleep.]
hashpuppy has joined #ruby
iliketurtles has joined #ruby
beermouse has quit [Client Quit]
jhaals has joined #ruby
blackmesa has joined #ruby
banister has quit [Read error: Connection reset by peer]
jjbohn has joined #ruby
wald0 has quit [Ping timeout: 245 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
jjbohn has quit [Client Quit]
contradictioned has joined #ruby
r0bgleeson has quit [Ping timeout: 246 seconds]
caveat- has joined #ruby
wald0 has joined #ruby
atmosx has joined #ruby
banister has joined #ruby
watermel0n has quit [Ping timeout: 248 seconds]
z has joined #ruby
jalcine has quit [Excess Flood]
atmosx has quit [Client Quit]
plotter has joined #ruby
plotter has joined #ruby
d45h has quit [Ping timeout: 265 seconds]
caveat- has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
d45h has joined #ruby
ewnd9 has quit [Ping timeout: 272 seconds]
caveat- has joined #ruby
dwellingh has quit [Remote host closed the connection]
ExCa|iBuR has joined #ruby
IceDragon has joined #ruby
Thanatermesis has quit [Read error: Connection reset by peer]
wald0 has quit [Read error: Connection reset by peer]
rogne has joined #ruby
dhruvasagar has joined #ruby
hashpuppy has quit [Quit: Computer has gone to sleep.]
tijmencc has joined #ruby
banister has quit [Ping timeout: 245 seconds]
mlpinit has joined #ruby
beermouse has joined #ruby
sepp2k has joined #ruby
wald0 has joined #ruby
phus1on has joined #ruby
z has quit [Ping timeout: 246 seconds]
mojjojo has quit [Quit: mojjojo]
kobain has joined #ruby
mojjojo has joined #ruby
randomnick_ has joined #ruby
tijmencc has quit [Client Quit]
Seich has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
beermouse has quit [Quit: beermouse]
jhaals has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mojjojo has quit [Client Quit]
mojjojo has joined #ruby
jonathanwallace has joined #ruby
randomnick_ has quit [Client Quit]
tylersmith has joined #ruby
iliketurtles has quit [Ping timeout: 240 seconds]
thelorax123 has quit [Remote host closed the connection]
Seich has quit [Ping timeout: 252 seconds]
defrag has joined #ruby
thelorax123 has joined #ruby
mojjojo has quit [Client Quit]
aryaching has joined #ruby
Thanatermesis has joined #ruby
caveat- has quit [Ping timeout: 246 seconds]
tylersmith has quit [Ping timeout: 252 seconds]
caveat- has joined #ruby
dhruvasagar has joined #ruby
noop has joined #ruby
Asher has joined #ruby
jalcine has joined #ruby
kofno has joined #ruby
raphaelivan has joined #ruby
beermouse has joined #ruby
<Hanmac>
apeiros: there is a ticket that makes Enumerable#to_a faster with allocatiing the entire size of the Array, so the Array does not need resizing, but the idea is not finish yet
fuleo has quit [Remote host closed the connection]
<Hoozt>
Hello people. I'm having troubles deploying a rails application on a debian machine with apache + passanger? I get an error message saying there's a syntax error in my Gemfile, beacuse of the hash syntax, like ":production". I guess it isn't using the right ruby? But In my apache config I have set "PassengerRuby /root/.rbenv/versions/2.0.0-p247/bin/ruby" and also "SetEnv GEM_PATH /root/.rbenv/versions/2.0.0-p247/lib/ruby/gems/
<rubydreamr>
that is closer, but its the lambda I need to generate, if 3 is passed in then the proc takes 3 args, 4, it takes 4 and the && is genrated
<MrZYX>
rubydreamr: see Hanmacs second construct
<rubydreamr>
that exampkle is hard coded to 3 segments
adambeynon has quit [Read error: Connection reset by peer]
<Papierkorb>
Hello, I have a mruby specific question, but #mruby is quite empty, so: I'm trying to embed mruby in my application. for this, I want to hold some mrb_value's. How can I tell the GC that it should not delete such values?
s2013 has joined #ruby
gazarsgo has joined #ruby
<MrZYX>
rubydreamr: let me highlight it for you: .select {|ary| aray.each_cons(2).all? {|a,b| a+1 == b } }
<Hanmac>
Hoozt: #rubyonrails ?
<s2013>
is ruby good for data analysis?
baroquebobcat has joined #ruby
<havenwood>
s2013: yes
<s2013>
any library you recommend?
<s2013>
like in python there is numpy, scipy etc
<gazarsgo>
if you are already familiar with numpy / scipy etc not sure why you'd dork around with ruby
<rubydreamr>
Hoozt: that shouldnt be a ruby issue, those are dsls not hashes
<s2013>
Hoozt, whats your question
<rubydreamr>
Hoozt: group :production do
<havenwood>
s2013: it is just getting started
<gazarsgo>
s2013: create data services rather than bake it all together
<rubydreamr>
Hoozt: that isnt a hash
<s2013>
gazarsgo, yeah i thought about doing that but i might as well try it in ruby first.. its nothing intensive
<gazarsgo>
if it's not rendering html it doesn't belong in rails imo
<rubydreamr>
Papierkorb: sorry, mruby lost me when they got stuck in 1.8 land
<s2013>
well gazarsgo basically im taking data set and outputting stuff in a web end using rails
<s2013>
i can use flask but im not as familiar with that as i am with rails
<Hoozt>
rubydeamr, symbol styntax? Sorry, I think you know what I mean.
<s2013>
Hoozt, ffs whats your question?
<Papierkorb>
rubydreamr: oh damn i forgot about that. any other more modern ruby lib available which is embedable?
<Hoozt>
s2013, Im trying to deploy a rails application on a debian with apache and passenger. Getting an error saying I have syntax errors in my Gemfile.
<rubydreamr>
s2013: I use ruby for functional data processing all the time, but it isnt #beginnerruby stuff
<Hoozt>
Due to lines like :production. Because of the ":"
<s2013>
Hoozt, paste your gemfile at gist.github.com
<s2013>
and the error
<rubydreamr>
Hoozt: on that machine do a ruby -v
<s2013>
also this is a question that belongs more on #ror
<rubydreamr>
just to be sure you are on the ruby you think you are
freezey has quit [Remote host closed the connection]
subbyyy has joined #ruby
<havenwood>
omg, a lambda dressing up as a proc!
<rubydreamr>
Hanmac: ugly but it works and it is functional, thanks for the eyeball on that find!
<Hoozt>
Um havenwood isn't that removing ruby completely?
VTLob has joined #ruby
<rubydreamr>
lol, a lambda IS a proc but marked as a lambda for closure
<rubydreamr>
ruby is a very confused girl, I like her that way
<havenwood>
Hoozt: well, it would remove the apt packaged ruby completely, but that would be the point
atno has quit [Ping timeout: 268 seconds]
jenskarlsen has joined #ruby
DanBoy has quit [Ping timeout: 240 seconds]
adambeynon has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
<havenwood>
Hoozt: You can install Ruby with apt, with a tool like ruby-install or ruby-build, or build it yourself
<havenwood>
Hoozt: Each functions on its own.
danshultz has joined #ruby
dr_bob has quit [Ping timeout: 248 seconds]
<rubydreamr>
Hoozt: rbenv or chruby
Seich has joined #ruby
DanBoy has joined #ruby
Hanmac1 is now known as Hanmac
rubydreamr has quit [Quit: Page closed]
<havenwood>
Hoozt: So 1) choose apt/update-alternatives, ruby-install/chruby, ruby-build/rbenv, or rvm, 2) git rid of the other options' Rubies (or not, you can leave system Ruby in place), 3) ???, 4) Profit.
<Hanmac>
rubydreamr: why not using .select {|ary| aray.each_cons(2).all? {|a,b| a+1 == b } } ?
mklappstuhl has quit [Remote host closed the connection]
bassclef is now known as axilla
axilla is now known as bassclef
skaflem has quit [Quit: Leaving]
xk_id has joined #ruby
brian___ has quit [Quit: brian___]
casheew has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has quit [Quit: Leaving.]
radic has quit [Read error: Connection reset by peer]
krnflake has quit [Read error: Connection reset by peer]
radic has joined #ruby
jjbohn has quit [Quit: Leaving...]
jibi has quit [Quit: .]
banghouse2 has joined #ruby
_serial_ has quit [Quit: Ex-Chat]
iliketurtles has joined #ruby
radic has quit [Remote host closed the connection]
randomnick_ has joined #ruby
Paradox has quit [Ping timeout: 240 seconds]
atno has joined #ruby
teedex has quit [Remote host closed the connection]
teedex has joined #ruby
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
Fire-Dragon-DoL has joined #ruby
Dwarf has quit [Ping timeout: 240 seconds]
valesk has joined #ruby
heath has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
blo has quit [Ping timeout: 240 seconds]
heath has joined #ruby
mjc_ has quit [Quit: No Ping reply in 180 seconds.]
TheShaun has quit [Ping timeout: 240 seconds]
soxet has quit [Ping timeout: 264 seconds]
niftylettuce has quit [Ping timeout: 240 seconds]
JoeTheGuest has quit [Ping timeout: 240 seconds]
seich- has quit [Ping timeout: 240 seconds]
dr_bob__ has quit [Quit: Tune in next week when you'll hear Dr. Bob say...]
crus` has joined #ruby
JoeTheGuest has joined #ruby
Dwarf has joined #ruby
teedex has quit [Ping timeout: 265 seconds]
radic has joined #ruby
Paradox has joined #ruby
radic has quit [Remote host closed the connection]
Y_Ichiro_ has joined #ruby
Y_Ichiro_ has quit [Changing host]
Y_Ichiro_ has joined #ruby
hashpuppy has joined #ruby
TheShaun has joined #ruby
casheew has joined #ruby
niftylettuce has joined #ruby
nonamehero has quit [Ping timeout: 240 seconds]
crus has quit [Ping timeout: 240 seconds]
blo has joined #ruby
Y_Ichiro has quit [Read error: Connection reset by peer]
Soda has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
phus1on has quit [Quit: .]
mjs2600 has joined #ruby
flops has joined #ruby
tylersmith has quit [Ping timeout: 265 seconds]
cafhacker has joined #ruby
sam113101 has quit [Quit: WeeChat 0.4.3-dev]
zarubin has quit [Quit: Leaving]
nfk has quit [Quit: yawn]
szarubin has quit []
zarubin has joined #ruby
MattStratton has joined #ruby
Lewix has quit [Remote host closed the connection]
jerius has quit [Quit: Computer has gone to sleep.]
theoretick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d45h has quit [Ping timeout: 272 seconds]
tiglog has quit [Ping timeout: 245 seconds]
beermouse has joined #ruby
Es0teric has joined #ruby
nbrosnahan has quit [Ping timeout: 248 seconds]
lkba has quit [Ping timeout: 264 seconds]
MattStratton has quit [Read error: Connection reset by peer]
MattStratton has joined #ruby
MattStratton has quit [Max SendQ exceeded]
ghostjangles has joined #ruby
Es0teric has quit [Remote host closed the connection]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
arif has joined #ruby
arif has left #ruby [#ruby]
ephemerian has joined #ruby
funburn has joined #ruby
<Hamled>
Is it always the case that a block of code passed to class_eval could be added directly into the class definition? I'm looking at a stack overflow questions and one of the answers suggests using class_eval with a block of bare statements
pragmatism has joined #ruby
<apeiros>
Hamled: almost
nbrosnahan has joined #ruby
<apeiros>
constant lookup happens from surrounding lexical context, not the receivers
Methylated has quit [Quit: Leaving.]
hello_world has quit [Ping timeout: 250 seconds]
Methylated has joined #ruby
<apeiros>
also the whole closer aspect of blocks is different
aa47f8 has quit [Read error: Connection reset by peer]
zero7 has quit [Ping timeout: 252 seconds]
brianpWins has joined #ruby
tekacs has quit [Ping timeout: 252 seconds]
tonni_ has quit [Ping timeout: 252 seconds]
Niamkik has quit [Read error: Connection reset by peer]
xerxas has quit [Ping timeout: 252 seconds]
lectrick has quit [Ping timeout: 252 seconds]
Sammael has quit [Ping timeout: 252 seconds]
derf- has quit [Ping timeout: 252 seconds]
ohcibi has quit [Ping timeout: 252 seconds]
krnflake has quit [Ping timeout: 252 seconds]
tommyblue has quit [Ping timeout: 252 seconds]
phrozen77 has quit [Ping timeout: 252 seconds]
[Neurotic] has quit [Ping timeout: 252 seconds]
percival__ has quit [Ping timeout: 252 seconds]
Lewix has joined #ruby
<platzhirsch>
just nil?
percival___ has joined #ruby
Niamkik_ has joined #ruby
<waxjar>
a Promise perhaps?
tylersmith has joined #ruby
Xiti` has joined #ruby
eliasp_ has joined #ruby
<platzhirsch>
exceptions seems not appropriate for a common case :)
colonolGron has joined #ruby
aa47f8_ has joined #ruby
crazysim_ has joined #ruby
<platzhirsch>
oh sweet, I have forgotten about future and promises
SirFunk has joined #ruby
<platzhirsch>
but since it's more for displaying a value in the end, it seems not so appropriate
<platzhirsch>
monsieur et madame of method contracts. What return value would you return for "has not been calculated yet" ?
sambao21 has joined #ruby
<waxjar>
or just have your method block until the value has actually been calculated
tonni has joined #ruby
zero7 has joined #ruby
tekmaster has joined #ruby
finges has joined #ruby
callum_ has joined #ruby
ohcibi has joined #ruby
xcess_denied has joined #ruby
lectrick_ has joined #ruby
kalleth_ has joined #ruby
sebastianb has joined #ruby
crazysim has quit [Excess Flood]
canderson has quit [Ping timeout: 252 seconds]
sebastianb has quit [Ping timeout: 252 seconds]
SirFunk has quit [Ping timeout: 252 seconds]
SJrX has quit [Ping timeout: 252 seconds]
eliasp has quit [Ping timeout: 252 seconds]
kalleth has quit [Ping timeout: 252 seconds]
Radar has quit [Ping timeout: 252 seconds]
mweshi has quit [Quit: mweshi]
zigomir has quit [Ping timeout: 246 seconds]
zxq9 has quit [Remote host closed the connection]
Nilium has quit [Ping timeout: 252 seconds]
sam113101 has quit [Quit: WeeChat 0.4.3-dev]
tylersmith has quit [Ping timeout: 272 seconds]
avelldiroll has quit [Ping timeout: 252 seconds]
sirecote has quit [Ping timeout: 252 seconds]
finges has quit [Ping timeout: 252 seconds]
havenwood has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 252 seconds]
edin has quit [Ping timeout: 252 seconds]
phrozen77 has joined #ruby
Radar has joined #ruby
Radar is now known as Guest13674
SJr has joined #ruby
krnflake has joined #ruby
sirecote has joined #ruby
tommyblue has joined #ruby
avelldiroll has joined #ruby
tomasso has left #ruby [#ruby]
d45h has joined #ruby
xerxas has joined #ruby
Nilium has joined #ruby
edin has joined #ruby
madb055 has joined #ruby
[Neurotic] has joined #ruby
i_s has joined #ruby
derf- has joined #ruby
subbyyy has quit [Ping timeout: 272 seconds]
sambao21 has quit [Ping timeout: 264 seconds]
mjs2600 has joined #ruby
atmosx has quit [Ping timeout: 246 seconds]
beermouse has quit [Quit: beermouse]
i_s has quit [Ping timeout: 240 seconds]
<nobitanobi>
shevy, wake up man
<shevy>
wat
<shevy>
I woke up an hour ago :)
<shevy>
but my joints are like frozen...
<Morrolan>
oO
<Morrolan>
Oh, those kind of joints.
xk_id has quit [Quit:
d45h has quit [Ping timeout: 272 seconds]
<shevy>
yeah, waking up at night sucks
mojjojo has quit [Quit: mojjojo]
Apane has joined #ruby
<nobitanobi>
I have a question here...
<nobitanobi>
I forked a project, which have a lots of PR waiting.
<nobitanobi>
I should always base my PR on master right? Not taking into account the PR that are waiting there.
beermouse has joined #ruby
nateberkopec has joined #ruby
mojjojo has joined #ruby
sam113101 has joined #ruby
mojjojo has quit [Client Quit]
psyl0n has joined #ruby
<bnagy>
yes, imho
beermouse has quit [Client Quit]
<bnagy>
it's easier for the maintainer to cherry-pick
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshultz has joined #ruby
iajrz_ has joined #ruby
iajrz_ is now known as iajrz
thelorax123 has quit [Remote host closed the connection]
mr`spock has joined #ruby
xcess_denied has quit [Quit: Leaving...]
freezey has joined #ruby
<mr`spock>
hi folks. i'm getting ready to prepare production environments for a rails 4 app.
watermel0n has quit []
<mr`spock>
i'm going with debian 7, and initially i setup rvm, but it's kind of a small pain with how rvm is so reliant upon proper environment setup
eeriegeek has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
thelorax123 has joined #ruby
<iajrz>
mr`spock: missin' libs?
psyprus has joined #ruby
Bira has joined #ruby
Guest13674 is now known as Radar
<mr`spock>
iajrz, i need to install a system-wide ruby 2.0.0-p247
<iajrz>
huh
<bnagy>
don't use rvm for production
<iajrz>
I haven't done systemwide
<bnagy>
in fact imho don't use any version manager for prod
emocakes has joined #ruby
danshultz has quit [Ping timeout: 246 seconds]
<mr`spock>
it's looking like i should be compiling 2.0.0-p247 and then using `update-alternative` to inform the system of a new place where ruby's installed?
<iajrz>
got a list of the (extra) libs you'd need to run rails on debian, though
<mr`spock>
and hopefully `ruby-switch` will understand it.
<mr`spock>
i already know what i need
<iajrz>
then I'm too much of a noob to be any use
* iajrz
lurks
<mr`spock>
hehe well thanks anyways. you echoed what everyone else has regarding not using rvm in production
akonny has quit [Quit: akonny]
* mr`spock
goes back to h4x0ring
* mr`spock
returns to science station
<iajrz>
why'd you want it to be system wide, though?
simoz has quit [Ping timeout: 246 seconds]
cafhacker has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<iajrz>
mr`spock ^
coffeina has quit [Quit: Wychodzi]
derebos has quit [Ping timeout: 272 seconds]
EvanR_ has quit [Ping timeout: 252 seconds]
<mr`spock>
have any other good way to tell unicorn and the system to find ruby in a certain directory?
<iajrz>
link in /usr/bin?
<mr`spock>
that's what update-alternatives + ruby-switch does
<mr`spock>
so i'm going to try that route now
<bnagy>
I never heard of ruby-switch
<iajrz>
g'luck
iliketurtles has joined #ruby
<bnagy>
why doesn't update-alternatives just work?
<mr`spock>
thanks. it's a debian package.
<mr`spock>
bnagy, it might. i don't know. i haven't taken a wack at that yet. just today i opened the source for `ruby-switch` to see how it was working internally; it piggybacks off update-alternatives
<shevy>
debian still doesn't offer its users to run multiple versions of programs side by side?
<mr`spock>
shevy, i think it does, which is update-alternatives
<mr`spock>
(if that's what you would qualify as side-by-side)
<shevy>
then why would use have to use rvm ...
osvico has quit [Ping timeout: 252 seconds]
simoz has joined #ruby
<bnagy>
shevy y u no scrollback??
<shevy>
what for
<iajrz>
lol, I think rvm and rbenv are good tools to install any version of ruby, even if it's just the one
vlad_starkov has joined #ruby
<shevy>
update-alternatives works for libraries too?
Sammael has joined #ruby
<mr`spock>
iajrz, but rvm doesn't work very well with non-login terminals
<shevy>
like if I want to try out gtk 2.24.0, 3.11 and 3.10.1 on debian
<bnagy>
rvm is a horrific tool period
<bnagy>
rbenv is basically just doing what update-alternatives does
<iajrz>
never tried rvm, and never run ruby in a non-login terminal ...
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy>
... then why do you have an opinion?
<bnagy>
sorry to be blunt
relix has joined #ruby
<iajrz>
'cause I never had to install ruby "by hand"
<iajrz>
just cause those guys exist
<mr`spock>
well i think i can tell update-alternatives that a new version of ruby exists in X directory, and then ruby-switch will see ruby2 in that directory and symlink all the correct libraries and binaries
<iajrz>
:) so, afaict, it's good to get up and running
<shevy>
huh
<shevy>
what is "ruby2"
mojjojo has joined #ruby
<iajrz>
don't worry 'bout bluntness, if I was wrong, I'd like to have it inequivocally pointed out ;)
vlad_starkov has quit [Read error: Connection reset by peer]
<shevy>
when ruby is compiled, the default name of the binary is "ruby"
<mr`spock>
ruby-2.0.0-p247 which i'll compile into a directory
* iajrz
goes back to the rails tutorial.
Apane has quit [Ping timeout: 240 seconds]
<mr`spock>
correct, it'll be `ruby` in a directory
<shevy>
mr`spock you mean you can compile by yourself and then still use update-alternatives?
nobitanobi has quit [Read error: Connection reset by peer]
<mr`spock>
shevy, i'm going to attempt that, i believe
<mr`spock>
i've tried many other things so far.
<shevy>
I see
<shevy>
I thought you meant in a debian-centric way
osvico has joined #ruby
<shevy>
last time I had a debian system, it installed stuff into /usr/local/lib
<shevy>
like, ruby was sitting at /usr/bin/ but the site dir was at /usr/local/lib/ruby*
<shevy>
right mr`spock but for symlinks to be changable, one needs to know their real locations, and I am wondering how debian allows that. where do they store those multiple libraries ;P
_honning_ has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
yacks has joined #ruby
fschuindt has joined #ruby
sambao21 has joined #ruby
fschuindt has quit [Client Quit]
codemiller has joined #ruby
Ox6abe has quit [Remote host closed the connection]
codemiller has left #ruby ["Leaving"]
kobain has quit [Ping timeout: 252 seconds]
tylersmith has quit [Ping timeout: 240 seconds]
rjhunter has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
farn has quit [Read error: No route to host]
Ox6abe has joined #ruby
havenwood has quit [Ping timeout: 245 seconds]
gazarsgo has joined #ruby
sambao21 has quit [Ping timeout: 252 seconds]
farn has joined #ruby
Apane has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
madb055 has quit [Ping timeout: 252 seconds]
flops has quit [Remote host closed the connection]
Ziarkaen has joined #ruby
simoz has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
<mr`spock>
dang it... so now what should i do? it seems installing ruby 2 and adding it to update-alternatives worked... but now gems are only installable by root.
RichardBaker has joined #ruby
apeiros has quit [Remote host closed the connection]
yano has joined #ruby
apeiros has joined #ruby
aa47f8_ has quit [Quit: aa47f8_]
claymore has quit [Quit: Leaving]
<bnagy>
I am trying not to say 'duh?'
<lupine>
specify a different GEM_HOME
<lupine>
job done
<lupine>
or whatever it's called. GEM_DIR ?
<mr`spock>
well in all seriousness, how would one configure a debian machine for production use?
Grantlyk has joined #ruby
<bnagy>
I would install gems as root
<mr`spock>
so my deploy user - specify a custom GEM_DIR and it should be fine?
<mr`spock>
so then run bundle as a separate user than the deploy user?
<lupine>
we turn our gems into .deb packages instead
<mr`spock>
(sounds like a GEM_DIR would be a better idea)
<lupine>
it's not for everyone
<bnagy>
why would you need bundle?
<mr`spock>
so i can type `bundle` ?
<bnagy>
I thought that was some craziness to lock versions or something ( never used it )
<bnagy>
for prod I would have presumed you know the gems and versions you need
<mr`spock>
i don't use it for that, although you can. to me bundle is a simple thing that makes sure the gems in my Gemfile are installed. that's all.
<mr`spock>
yes. so installing them manually or via bundle makes no difference.
Grantlyk has quit [Remote host closed the connection]
<mr`spock>
and when updates are rolled out, the updated gems and new gems need to be installed
platzhirsch has quit [Ping timeout: 246 seconds]
iajrz has quit [Ping timeout: 272 seconds]
mathrick has quit [Ping timeout: 245 seconds]
<bnagy>
*shrug* I would be pushing .gems directly via some automated thing
iliketurtles has joined #ruby
petey_ has quit [Remote host closed the connection]
iajrz_ has joined #ruby
<mr`spock>
or pull via some automated thing
petey_ has joined #ruby
<bnagy>
depends where you're pulling from
<bnagy>
Internet? NFW
jerius has quit [Quit: Computer has gone to sleep.]
tjaco has quit [Ping timeout: 248 seconds]
justsee has quit [Ping timeout: 252 seconds]
<mr`spock>
i'm planning on checking out gem-mirror (i think that's what it's called)
<bnagy>
and by the time you set up an internal gem server you may as well just roll out tested .gems, which are kind of like .debs anyway ( in some ways)
<mr`spock>
lol
<bnagy>
debs are better
petey__ has joined #ruby
sambao21 has joined #ruby
petey_ has quit [Read error: Connection reset by peer]
rjhunter has quit [Remote host closed the connection]
huttan_ has joined #ruby
mary5030 has joined #ruby
huttan has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby
snuffeluffegus has joined #ruby
justsee has joined #ruby
aspires has quit [Quit: sudo making a sandwich]
zz_tsykoduk is now known as tsykoduk
vlad_starkov has quit [Read error: Connection reset by peer]