<jdecuirm>
here! for example the challenge says: "Given the definition of my_each in the main text, how would you use it in an implementation of my_times?"
lsegal has joined #ruby-lang
<jdecuirm>
So, if you can give me ideas about this challenge womble i will appreciate it a lot!
Asher has joined #ruby-lang
ericwood_ is now known as ericwood
swapneel has quit []
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
<womble>
jdecuirm: The solution that I'd use involves generating a new Array with the values 0..n-1
goodcodeguy has joined #ruby-lang
<jdecuirm>
so where will you use my_times
<womble>
Which is just Array.new(c) { |i| i }
yfeldblu_ has quit [Ping timeout: 260 seconds]
<womble>
Then you can use #my_each on that to give you my_times
<jdecuirm>
for example
<womble>
Which would look something like def my_times(c) Array.new(c) { |i| i }.my_each { |i| yield i }; end
<jdecuirm>
this is what the text says
<jdecuirm>
oh ok
tenderlove has quit [Remote host closed the connection]
<jdecuirm>
thanks womble, i'll try to implement it
<womble>
Personally, I think it's a bit wally to implement #times in terms of #each; it'd be better to do it the other way around.
aquatty has quit [Ping timeout: 245 seconds]
SuMo_D has quit [Remote host closed the connection]
<jdecuirm>
yeah in fact i used the times
<jdecuirm>
to implement each
SuMo_D has joined #ruby-lang
<jdecuirm>
just to save code with the counter
<jdecuirm>
with the size of the array.times do and yield etc
<jdecuirm>
but with the code you give me, there's no sense to have integer.times
<jdecuirm>
cuz' well, it has an argument
<jdecuirm>
i tried this, correct me if i'm wrong please!
<jdecuirm>
5.my_times(3){|i|puts "hello #{i}"}
fragamus has quit [Quit: Computer has gone to sleep.]
kfpratt has joined #ruby-lang
jimbach has joined #ruby-lang
matp has joined #ruby-lang
jimbach has quit [Ping timeout: 245 seconds]
<jdecuirm>
so i did not see the point lol
justinmburrous has quit [Remote host closed the connection]
aquatty has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
aquatty has quit [Ping timeout: 265 seconds]
aquatty has joined #ruby-lang
fuhgeddaboudit has quit [Quit: Ex-Chat]
tylersmith has quit []
kith_ has joined #ruby-lang
Lewix has quit [Quit: Leaving...]
spuk has quit [Ping timeout: 258 seconds]
kith has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
gix has quit [Ping timeout: 246 seconds]
musl_ has quit [Quit: WeeChat 0.4.3]
musl has joined #ruby-lang
justinmburrous has joined #ruby-lang
imperator has joined #ruby-lang
gix has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
justinmb_ has joined #ruby-lang
justinmburrous has quit [Ping timeout: 255 seconds]
sMecKs has quit [Read error: Connection reset by peer]
arBmind has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
michd is now known as MichD
<tbuehlmann>
moin
realDAB has joined #ruby-lang
boris has quit [Ping timeout: 246 seconds]
justinmburrous has joined #ruby-lang
Keltia_ has joined #ruby-lang
kyb3r_ has joined #ruby-lang
realDAB has quit [Client Quit]
arBmind has quit [Quit: Leaving.]
boris has joined #ruby-lang
justinmburrous has quit [Ping timeout: 244 seconds]
IZUHU has quit [Read error: Connection reset by peer]
jimbach has joined #ruby-lang
rahul_j has joined #ruby-lang
jimbach has quit [Ping timeout: 272 seconds]
JohnBat26 has joined #ruby-lang
arBmind has joined #ruby-lang
havenwood has joined #ruby-lang
Eising has joined #ruby-lang
<ljarvis>
moin
<Eising>
hi there. I need a good idea from you guys. I need to write a wrapper to an external program. I need the wrapper to run the external program, and read/manipulate its stdout. What library would best help me do that? open3/4?
<Eising>
the external program might run for several minutes
<yorickpeterse>
open3 is your friend
chussenot has quit [Quit: chussenot]
<Eising>
yorickpeterse: thanks, I'll try that
kwd_ has joined #ruby-lang
kwd has quit [Read error: Connection reset by peer]
<Eising>
yorickpeterse: will open3 allow me to get stdout whenever the external program writes to it?
ta has quit [Ping timeout: 240 seconds]
<yorickpeterse>
euh, I believe so
postmodern has quit [Quit: Leaving]
quimrstorres has joined #ruby-lang
ta has joined #ruby-lang
charliesome has quit [Quit: zzz]
Atttwww has joined #ruby-lang
charliesome has joined #ruby-lang
jimbach has joined #ruby-lang
justinmburrous has joined #ruby-lang
boris has quit [Quit: Page closed]
ruby-lang431 has joined #ruby-lang
ruby-lang431 has quit [Client Quit]
koos303 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jimbach has quit [Ping timeout: 265 seconds]
justinmburrous has quit [Ping timeout: 260 seconds]
GBrawl has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
workmad3 has joined #ruby-lang
chussenot has joined #ruby-lang
dagda1 has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
gss has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
AKASkip has quit [Ping timeout: 250 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
hellangel7 has joined #ruby-lang
GBrawl has quit [Quit: (null)]
AKASkip has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby-lang
kalleth_ is now known as kalleth
skade has joined #ruby-lang
fragamus has joined #ruby-lang
hackeron has quit [Ping timeout: 258 seconds]
hackeron has joined #ruby-lang
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 250 seconds]
jimbach has joined #ruby-lang
stamina has joined #ruby-lang
jimbach has quit [Ping timeout: 246 seconds]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Ping timeout: 255 seconds]
tkuchiki has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
karamazov has joined #ruby-lang
ledestin has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
rahul_j has quit [Client Quit]
rahul_j has joined #ruby-lang
ikrima has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.0.1]
charliesome has quit [Quit: zzz]
rahul_j has quit [Client Quit]
haraoka has quit [Ping timeout: 258 seconds]
mkaesz has joined #ruby-lang
benlovell has quit [Ping timeout: 250 seconds]
danijoo has quit [Remote host closed the connection]
danijoo has joined #ruby-lang
mskaesz has quit [Ping timeout: 265 seconds]
jimbach has joined #ruby-lang
chussenot has quit [Quit: chussenot]
charliesome has joined #ruby-lang
mirageglobe has joined #ruby-lang
mirageglobe has quit [Client Quit]
jimbach has quit [Ping timeout: 272 seconds]
chills42 has joined #ruby-lang
miqui has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Ping timeout: 246 seconds]
jimbach has joined #ruby-lang
<yorickpeterse>
4 months of work almost all in production
quimrstorres has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
<abdias>
You know some IRC for Gosu gem?
mskaesz has joined #ruby-lang
<tbuehlmann>
the website says it's #gosu
quimrstorres has joined #ruby-lang
mkaesz has quit [Ping timeout: 260 seconds]
taylorrf has joined #ruby-lang
workmad3 is now known as wm3|away
ldnunes has joined #ruby-lang
scampbell has joined #ruby-lang
taylorrf has quit [Ping timeout: 255 seconds]
<maloik>
Anyone here toyed with Go? Any good resources for it?
koos303 has quit [Quit: Connection closed for inactivity]
* yorickpeterse
likes slapping people and randomly picks maloik to slap
SuMo_D has joined #ruby-lang
<yorickpeterse>
don't tell me your app is performing "slow" and you think Go will solve that
<yorickpeterse>
but their website has pretty decent docs btw
<maloik>
hahaha :-) no
sarkyniin has joined #ruby-lang
<maloik>
remember that security tool I briefly mentioned? I just realized it'd make more sense to write it in Go rather than having people install ruby on their servers
<yorickpeterse>
security tool?
<maloik>
basically something that checks your installed packages against CVE's
<maloik>
a debsecan clone but with a proper library built around it
<maloik>
or well not "around it", but you know
<yorickpeterse>
You can make it piss easy to install Ruby
<yorickpeterse>
sudo apt-get your-tool-here # done, no manual bundle crap
<yorickpeterse>
I think that's the argument I hate the most: "omg Ruby is so hard to deploy" - bullshit
<yorickpeterse>
If the target OS has a package manager you can solve that problem
<yorickpeterse>
For just deploying I wouldn't bother with any compiled language tbh
<maloik>
when would you bother then?
<yorickpeterse>
When you're either operating at Twotter scale, embedded systems, or when dynamic languages just don't cut it performance wise (after having tried everything else)
<yorickpeterse>
Or for low level things such as a VM, compiler, etc
<yorickpeterse>
e.g. if you're building some chat service that has to scale to omgwtfbbq amounts of data, I'd probably use Erlang or a compiler language (though probably just Erlang)
<yorickpeterse>
s/compiler/compiled
<yorickpeterse>
(I know Erlang isn't compiled)
<yorickpeterse>
I believe Google wrote Go as a replacement for their C/C++ stack, for that it serves its purpose
kalehv has joined #ruby-lang
<maloik>
well it doesn't really matter, it's just a play project anyway, and I've been meaning to try Go
skade has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
meh if it's a play/hobby thing just knock yourself out
<chris2>
as if debian had reasonable ruby packaging ;)
dwknoxy has joined #ruby-lang
havenwood has joined #ruby-lang
<yorickpeterse>
chris2: see, the beauty of packaging on your own is that you can tell the Debian people to shove their policies up their ass
<yorickpeterse>
or any other distro
<chris2>
so you put ruby into your own deb or what?
<maloik>
into the gems I imagine
danijoo has quit [Remote host closed the connection]
<yorickpeterse>
chris2: No, you depend on whatever sane ruby-2.1 package there is somewhere
<yorickpeterse>
or smack that on your own mirror
<yorickpeterse>
Gems would go in your own package, all pre-built
danijoo has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
<yorickpeterse>
or you build it yourself based on the files used for the Jessie package
<yorickpeterse>
(and host it yourself)
<chris2>
see, easy deployment
<chris2>
vs slapping a binary around
GBrawl has joined #ruby-lang
<yorickpeterse>
it's not more complicated that 1) learning a new language 2) dealing with the pain of compiled languages 3) still having to package it somehow, host it and distribute it
SuMo_D has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
rcvalle has joined #ruby-lang
thoolihan has quit [Quit: out]
<waxjar>
if your program is not too fancy you might be able to compile it with mruby and distribute it that way, maybe?
justinmburrous has quit [Ping timeout: 240 seconds]
<waxjar>
dunno how feasible that is
<yorickpeterse>
waxjar: mruby != ruby
<waxjar>
that's why your program can't be too fancy :p
ikrima has quit [Ping timeout: 240 seconds]
<abdias>
some valid way to run a ruby/gl game in a mobile device (iphone/android) ?
wolves_cs has joined #ruby-lang
abdias has quit [Quit: Saindo]
thoolihan has joined #ruby-lang
abdias has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
<yorickpeterse>
everything now on 2.1.3 \0/
<yorickpeterse>
now to wait and see how much better the memory usage is
<yorickpeterse>
and if it still stays decent once I remove my tweaks
miqui has joined #ruby-lang
goodcodeguy has joined #ruby-lang
jgpawletko has joined #ruby-lang
wm3|away has quit [Ping timeout: 272 seconds]
shinnya has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
naquad has left #ruby-lang [#ruby-lang]
Hanmac has quit [Ping timeout: 272 seconds]
klmlfl has joined #ruby-lang
rikki has joined #ruby-lang
<rikki>
hey guys, is it possible to do a dynamic comparison in Ruby? For example:
kalopsian has joined #ruby-lang
<rikki>
1 comparator 2 = ? where comparator is "=", "!=" etc
wm3|away has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
<DefV>
rikki: I don't know what you're asking
<rikki>
hi DefV
<rikki>
what I mean is a variable holds the type of comparison I want to conduct on 2 variables (e.g. equals, does not equal, less then, greater than etc)
<rikki>
then evalaute the expression safely
<rikki>
maybe a switch statement is better... check what the comparator is then do the math and return the result
fragamus has quit [Quit: Computer has gone to sleep.]
malconis_ has joined #ruby-lang
malconis has quit [Ping timeout: 260 seconds]
loincloth has quit [Remote host closed the connection]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
emmesswhy has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
ta has quit [Ping timeout: 240 seconds]
centrx has quit [Ping timeout: 246 seconds]
dwknoxy has joined #ruby-lang
sepp2k has quit [Quit: Konversation terminated!]
banister has quit [Ping timeout: 240 seconds]
malconis_ is now known as malconis
sepp2k has joined #ruby-lang
djbkd has joined #ruby-lang
maciellvm has joined #ruby-lang
centrx has joined #ruby-lang
centrx has quit [Client Quit]
chills42 has joined #ruby-lang
<Sephyros>
clear
<yorickpeterse>
dagda1 has joined #ruby-lang
<Sephyros>
Hello, i having problems to download and install gems in my machine (Linux Mint 17 32bit), i am behind a authenticated proxy
<abdias>
some error message?
<Sephyros>
All time i get 403, i already set proxy settings in /etc/bash.bashrc, /etc/apt/apt.conf, ~/.bashrc, ~/.gemrc
chills42 has quit [Ping timeout: 245 seconds]
<Sephyros>
oh, and ~/.curlrc
AngryEgret has quit [Ping timeout: 246 seconds]
samuelkadolph has quit [Ping timeout: 246 seconds]
yatish27 has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
carraroj has joined #ruby-lang
Mellett68 has quit [Ping timeout: 246 seconds]
jeff_r has joined #ruby-lang
chouhoul_ has joined #ruby-lang
michael_mbp has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby-lang
kaiza has quit [Ping timeout: 246 seconds]
zenspider has quit [Ping timeout: 246 seconds]
karamazo_ has joined #ruby-lang
tenderlo_ has joined #ruby-lang
kalopsia1 has joined #ruby-lang
kalopsian has quit [Ping timeout: 246 seconds]
jeff_r has quit [Remote host closed the connection]
masterkorp has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby-lang
tenderlove has quit [Ping timeout: 246 seconds]
jeff_r has joined #ruby-lang
kirin` has quit [Ping timeout: 246 seconds]
karamazov has quit [Ping timeout: 246 seconds]
Eising has quit [Ping timeout: 246 seconds]
funnel has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
tommylommykins has quit [Ping timeout: 246 seconds]
ged has quit [Ping timeout: 246 seconds]
ikrima has joined #ruby-lang
bhaak has quit [Ping timeout: 246 seconds]
Bwild has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby-lang
Kero has quit [Ping timeout: 246 seconds]
jamo_ has quit [Ping timeout: 246 seconds]
<Sephyros>
Hello, i having problems to download and install gems in my machine (Linux Mint 17 32bit), i am behind a authenticated proxy. All time i get 403, i already set proxy settings in /etc/bash.bashrc, /etc/apt/apt.conf, ~/.bashrc, ~/.gemrc, ~/.curlrc. Any suggestions?
AngryEgret has joined #ruby-lang
bhaak has joined #ruby-lang
Mellett68 has joined #ruby-lang
jamo_ has joined #ruby-lang
funnel has joined #ruby-lang
Eising has joined #ruby-lang
kirin` has joined #ruby-lang
marr has joined #ruby-lang
zenspider has joined #ruby-lang
Kero has joined #ruby-lang
Bwild has joined #ruby-lang
samuelkadolph has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
ged has joined #ruby-lang
Kero is now known as Guest95518
<yorickpeterse>
Sephyros: yes you already asked that 8 minutes ago
kaiza has joined #ruby-lang
<yorickpeterse>
Asking the same question that quickly wont get you answers any faster
<yorickpeterse>
Typically no answer means either 1) nobody knows 2) nobody is around
<Sephyros>
because the #2 i repeated
<Sephyros>
many people have joined, and leave, and joined
<yorickpeterse>
...you waited 8 minutes
<Sephyros>
i tried again
<yorickpeterse>
People here join/part all the time
<yorickpeterse>
Either way, try without a proxy, and make sure your RubyGems settings are actually correct
loincloth has joined #ruby-lang
<yorickpeterse>
and make sure said proxy doesn't block anything
<Sephyros>
i am using RVm too, i forgot to say
kirin` has quit [Ping timeout: 260 seconds]
<Sephyros>
RubyGems settings?
tommylommykins has joined #ruby-lang
<Sephyros>
oh, ok i will check
<yorickpeterse>
RVM shouldn't matter, it sounds more like your settings in ~/.gemrc aren't correct
Sephyros has quit [Remote host closed the connection]
Sephyros has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
masterkorp has joined #ruby-lang
ewolfynna has joined #ruby-lang
matp has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
skade has joined #ruby-lang
ta has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
ewolfynna has quit [Quit: Page closed]
holdsworth has joined #ruby-lang
workmad3 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
skade has quit [Ping timeout: 272 seconds]
gjaldon has quit []
Lewix has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
yatish27 has quit [Remote host closed the connection]
workmad3 has quit [Quit: Lost terminal]
emmesswhy has quit [Quit: This computer has gone to sleep]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ikrima has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
cornerma1 has joined #ruby-lang
djbkd has joined #ruby-lang
cornerman has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
cornerma1 is now known as cornerman
djbkd has joined #ruby-lang
isale-eko has joined #ruby-lang
emmesswhy has joined #ruby-lang
cmhobbs has joined #ruby-lang
banister is now known as banisterfiend
AngryEgret has quit [Ping timeout: 272 seconds]
gianlucadv has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
AngryEgret has joined #ruby-lang
abdias has quit [Quit: Leaving]
fragamus has joined #ruby-lang
<matled>
let's say I've got %w(: a b : x z z : t n s : f t t). I'd like to get [%w(: a b), %W(: x z z), %w(: t n s), %w(: f t t)] from that. what is a good way to do that? obviously more generic than array of strings, but rather I've got a predicate (in this case "e == ':') and would like to have all elements that are following it until the next time the predicate is true.
diegoviola has joined #ruby-lang
bradcliffe has joined #ruby-lang
<matled>
I could probably build something with inject, adding a new array each time I see a matching element and appending to the last array in that array
<whitequark>
source.each_with_object([]) { |item, target| if predicate?(item) then target << [item] else target.last << item end }
<rkowalick>
I saw your issue and was thinking "Ruby's Enumerable is big, this has to be in there"
<rkowalick>
Search around the docs, I found that
goodcodeguy has joined #ruby-lang
nathanstitt has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
mistym has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
fragamus has joined #ruby-lang
ikrima has joined #ruby-lang
fragamus has quit [Client Quit]
arBmind has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
fragamus has joined #ruby-lang
fragamus has quit [Read error: Connection reset by peer]
fragamus has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
loincloth has joined #ruby-lang
bradcliffe has joined #ruby-lang
chouhoul_ has quit [Ping timeout: 255 seconds]
chills42 has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
miqui has quit [Remote host closed the connection]
allcentu1 has quit [Ping timeout: 260 seconds]
sepp2k has quit [Quit: Konversation terminated!]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
havenwood has joined #ruby-lang
nem has joined #ruby-lang
<nem>
is ruby's default logger known to be inconsistent? IE I am not always seeing logging happen. Especially when used hand in hand with Benchmark.bm .
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbardin has joined #ruby-lang
wallerdev has joined #ruby-lang
wallerdev has quit [Ping timeout: 255 seconds]
bin7me has quit [Remote host closed the connection]
jeff_r has quit []
dagda1 has joined #ruby-lang
sepp2k has joined #ruby-lang
_whitelogger__ has quit [Ping timeout: 260 seconds]
_whitelogger__ has joined #ruby-lang
yatish27 has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
tstrokes has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
fusillicode has quit [Ping timeout: 255 seconds]
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
hramrach_ has quit [Ping timeout: 264 seconds]
softaco_s has joined #ruby-lang
_ht has quit [Remote host closed the connection]
imperator has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse>
nem: Ruby's Logger class should be fine, sounds more like something in your code is not working right
foucist has joined #ruby-lang
<foucist>
anyone know if there's a good way to take in say 10 similar files and generate a base/template file, and 14 files with the differences as variables
<imperator>
foucist, sounds like a job for erb templates
<foucist>
yeah that's what i'm talking about
<imperator>
ok, not sure what you mean by "take in"
wallerdev has quit [Quit: wallerdev]
<foucist>
basically generate an erb template & variable files for the differences or w/e
Lewix has quit [Remote host closed the connection]
* imperator
may not understand the full context of the problem, however
<imperator>
if you can't have a pre-built template already, then it sounds like you would need to parse one (or more) of the files, and generate an initial template
__butch__ has quit [Quit: Leaving.]
_whitelogger__ has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
hramrach_ has joined #ruby-lang
kfpratt has quit [Ping timeout: 240 seconds]
bradcliffe has joined #ruby-lang
djbkd has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
nem_ has joined #ruby-lang
nem has quit [Ping timeout: 246 seconds]
<nem_>
?
<nem_>
browser crash did anyone respond to the logger question
<yorickpeterse>
nem_: yes
<yorickpeterse>
nem_: 21:24:39 yorickpeterse | nem: Ruby's Logger class should be fine, sounds more like something in your code is not working right
<nem_>
ok thanks
kfpratt has joined #ruby-lang
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
<imperator>
yorickpeterse, perhaps it performed another chainsaw infanticide maneuver :-P
yatish27 has joined #ruby-lang
ikrima has quit [Ping timeout: 244 seconds]
<yorickpeterse>
wat
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
<imperator>
i guess that was before your time
ikrima has joined #ruby-lang
<imperator>
old zed shaw rant
rkowalick has quit [Ping timeout: 272 seconds]
_whitelogger__ has joined #ruby-lang
<imperator>
_whitelogger__, problems?
<yorickpeterse>
oh, you mean the famous one?
<imperator>
yep
<yorickpeterse>
and yeah it was, I didn't start Rubby until....2011-something
Lewix has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
nem_ has quit [Ping timeout: 246 seconds]
cmhobbs has quit [Remote host closed the connection]
<imperator>
oh, it's a bot
klmlfl has quit [Ping timeout: 260 seconds]
<foucist>
imperator: yeah i want to parse the 14 files, extract the most common parts, i.e. n-way merge/diff kind of thing, but keep the unique stuff per file for the variable part essentially
<foucist>
probably can't use a 2-way diff/merge process because that wouldn't give very good results
amsi has quit [Ping timeout: 272 seconds]
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
crunk_bear has joined #ruby-lang
flute_booth has quit [Read error: Connection reset by peer]
crunk_bear has quit [Client Quit]
<imperator>
i'd probably look to a 3rd party gem for help
amsi has joined #ruby-lang
ikrima has quit [Ping timeout: 244 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
nofxx has quit [Ping timeout: 250 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
imkmf has quit [Ping timeout: 255 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lektricity has joined #ruby-lang
_whitelogger__ has joined #ruby-lang
ur5us_ has joined #ruby-lang
jxpx777 has quit [Quit: Leaving...]
ur5us has quit [Read error: Connection reset by peer]
<foucist>
imperator: no idea what to search for ;)
<imperator>
i'd probably start with gem search -r -d diff and see if that turns up anything useful
Lewix has quit [Remote host closed the connection]
_whitelogger__ has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.91 [Firefox 33.0/20141011015303]]
jordsmi has joined #ruby-lang
|jemc| has quit [Ping timeout: 255 seconds]
amsi has joined #ruby-lang
Lewix has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
xvq17 has quit [Ping timeout: 245 seconds]
aquatty has quit [Ping timeout: 244 seconds]
xvq17 has joined #ruby-lang
aquatty has joined #ruby-lang
jo__ has quit [Quit: Connection closed for inactivity]
marr has quit [Ping timeout: 272 seconds]
amsi has quit [Ping timeout: 260 seconds]
amsi has joined #ruby-lang
mikecmpbll has quit [Quit: ciao.]
tallgirltaadaa has joined #ruby-lang
<tallgirltaadaa>
hello
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
<tallgirltaadaa>
i have just recently posted a question on stack overflow about has_many parameters... and would really love it.. if someone wouldnt mind taking a look
sharpmac_ has quit [Remote host closed the connection]