search for: lookback

Displaying 6 results from an estimated 6 matches for "lookback".

2009 Sep 18
1
lapply - value changes as parameters to function?
Hi, I'm trying to get better at things like lapply but it still stumps me. I have a function I've written, tested and debugged using individual calls to the function, ala: ResultList5 = DoAvgCalcs(IndexData, Lookback=5, SampleSize=TestSamples , Iterations=TestIterations ) ResultList8 = DoAvgCalcs(IndexData, Lookback=8, SampleSize=TestSamples , Iterations=TestIterations ) ResultList13 = DoAvgCalcs(IndexData, Lookback=13, SampleSize=TestSamples , Iterations=TestIterations ) ResultList21 = DoAvgCalcs(IndexData, L...
2006 May 02
4
ordering after a inject
...command: count = result.inject({}) { |hsh, row| hsh[row[''name'']] = row[''count''].to_i; hsh } Why? Here are more specifics: My complete method is this (based off of acts_as_taggable code - not'' DHHs, but the original one): def self.sql_to_count_plays(lookback) sql = ["SELECT t.name as name, COUNT(*) as count FROM histories h, tags t WHERE h.tag_id = t.id AND created_on > ? GROUP BY tag_id ORDER BY name", lookback] result = find_by_sql(sql)...
2012 Oct 27
8
RFH: loopback & blktap(2) and CDROM
...w some questions: 4. I read somewhere that "mixing loobback with tapdisk is a bad idea", but I can''t find that again, so I''m wondering if that (wrong) claim got somehow stuck in my memory. I can only imagin two scenarios a) one domU accessing two disk images, one with lookback, the other one with blktap. That looks okay. b) two domUs accessing the same disk image, one with lookback, the other one with blktap. That looks broken but neither would I expect that to work (shared disk semantics aside) 5. While experimenting with a Linux domU I noticed that the boot process...
2015 May 15
6
[LLVMdev] Proposal: change LNT’s regression detection algorithm and how it is used to reduce false positives
...sane way. Ideas: -Try and get more samples in as many places as possible. Maybe —multisample=4 should be the default? Make bots run more often (I have already done this on green dragon). - Use recent past run information to enhance single sample regression detection. I think we should add a lookback window, and model the recent past. I tired a technique suggested by Mikhail Zolotukhin of computing delta as the smallest difference between current and all the previous samples. It was far more effective. Alternately we could try a confidence interval generated from previous, though that may no...
2007 Sep 06
6
Build your own "appliance" concept
I've been working on this the past few days and thought I would put it out there to see if anyone else has interest in it. It really has nothing to do with the Digium appliance, I've just been looking for some mass produced solid state hardware to run small branch offices off of for awhile now and I think I've finally landed on something I like. Basically I've taken an HP thin
2015 May 18
2
[LLVMdev] Proposal: change LNT’s regression detection algorithm and how it is used to reduce false positives
...benchmarks (see http://llvm.org/perf/db_default/v4/nts/machine/39 <http://llvm.org/perf/db_default/v4/nts/machine/39>). > BTW, what is "green dragon"? > >> - Use recent past run information to enhance single sample regression >> detection. I think we should add a lookback window, and model the >> recent past. I tired a technique suggested by Mikhail Zolotukhin of >> computing delta as the smallest difference between current and all the >> previous samples. It was far more effective. Alternately we could try >> a confidence interval generat...