Displaying 20 results from an estimated 5000 matches similar to: "Display Time benchmark on page"
2007 Oct 23
2
[PATCH][cpufreq] Xen support for the ondemand governor [2/2] (linux)
Modify the cpufreq ondemand governor so that it can get idle and
total ticks from the Xen hypervisor. Linux and Xen have different
ideas of what an idle tick is, so the Xen values for both have to
be returned in the same platform hypercall. Otherwise, use
basically the same scheme as native Linux.
Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
iff -r 9bf1ddd0f6bf
2007 Oct 23
6
[PATCH][cpufreq] Xen support for the ondemand governor [1/2] (hypervisor code)
Modify the cpufreq ondemand governor so that it can get idle and
total ticks from the Xen hypervisor. Linux and Xen have different
ideas of what an idle tick is, so the Xen values for both have to
be returned in the same platform hypercall.
Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
diff -r b4278beaf354 xen/arch/x86/platform_hypercall.c
--- a/xen/arch/x86/platform_hypercall.c
2007 Jan 19
4
Newbie question: Statistical functions (e.g., mean, sd) in a "transform" statement?
Greetings listeRs -
Given a data frame such as
times
time1 time2 time3 time4
1 70.408543 48.92378 7.399605 95.93050
2 17.231940 27.48530 82.962916 10.20619
3 20.279220 10.33575 66.209290 30.71846
4 NA 53.31993 12.398237 35.65782
5 9.295965 NA 48.929201 NA
6 63.966518 42.16304 1.777342 NA
one can use "transform" to
2007 Sep 19
1
Speex Questions <./Configure %install make [-enable-fixed-point] setting> and Encoding Times etc...
Hi, Speex-dev
I've been able to get Speex to compile on SM400M(MIPSII) with problems.
------ Rebuild All started: Project: speexenc, Configuration: Debug SM400M
(MIPSII) ------
Deleting intermediate and output files for project 'speexenc', configuration
'Debug|SM400M (MIPSII)'
Compiling...
getopt.c
getopt1.c
skeleton.c
speexenc.c
.\speexenc.c(501) : warning
2010 Apr 14
7
display optional db data
ive got a few models that may or may not have some data: urls / phone
numbers / dates / times / etc
whats the best way to test and format this data for displaying on a
webpage?
the way im thinking of doing it would be a few lines of code to:
- test if not null
- format properly
- display in proper div / ul container
and then do that for each thing
is there a cleaner way to do this?
--
Posted
2005 Apr 01
1
optim problem, nls regression
Hi,
I try to fit a non linear regression by minimising the sum of the sum of
squares.
The model is number[2]-(x/number[1])^number[3]
Number [2] and number [1] change as the data changes but for all the set of
data number[3] must be identical.
I have 3 set of data (x1,y1), (x2,y2), (x3,y3).
x_a<-c(0,0.5,1,1.5,2,3,4,6)
y_a<-c(5.4,5,4.84,4.3,4,2,1.56,1.3)
2003 Sep 05
4
app_queue input needed...
A friend and I have recently added the ability to announce the callers
position in the call queue every x seconds.. or even just inject an
anouncement every x seconds. All setup in queues.conf and can be setup
per queue.
My next project is to add the ability to announce the callers estimated
wait time. I want some feedback to see whats the best method to calculate
that? What do you want just
2007 Jun 15
0
Question with nlm
Hi,
I would really appreciate if I could get some help here. I'm using nlm to minimize my negative log likelihood function. What I did is as follows:
My log likelihood function (it returns negative log likelihood) with 'gradient' attribute defined inside as follows:
# ==========Method definition======================
logLikFunc3 <- function(sigma, object, totalTime) {
y <-
2013 Jan 27
2
Help displaying text
Apologies in advance ...this may be a really dumb question but here
goes.
@formatted_question[:a] contains text with HTML markup. I want to
display it in a field so I can control its vertical and horizontal size
on the page. When it is displayed on the page now, rather than
interpreting the HTML, it is output into the text field as a string with
all HTML tags showing. What am I doing wrong??
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
[With apologies for cross-posting at http://railsforum.com/viewtopic.php?id=39587]
Hi all,
I''m following the edge ''getting started'' guide at
http://guides.rails.info/getting_started.html, running ROR 3. I''m
running Ruby 1.9.2 (as instructed by the guide), installed using RVM.
I get an error when following "4.3 Setting the Application Home
Page".
2005 Feb 24
1
Adding up intervals by activity
Hello all,
I have a data frame with the following columns: timestamp, activity,
interval.
Each row contains information about an activity that occured over a time
interval. "Timestamp" is when the interval ended, "Activity" is a factor
that represents the type of activity, and "Interval" is a double which
represents an interval in time. The data frame is sorted
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working
fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat
I get "We''re sorry, but something went wrong on Tomcat".
The problem is that production.log only shows:
# Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00
The file permission and directory are 777.
Any idea how I can
2010 Aug 14
10
Redirecting after logging in
Hey everybody,
I''m trying to make an example of a small networking site, and when I log
in a user, it should redirect and show his profile, but I get the
following error:
NoMethodError in User#index
Showing app/views/user/index.html.erb where line #5 raised:
undefined method `screen_name'' for nil:NilClass
Extracted source (around line #5):
2: Your basic information
3:
2007 Feb 23
0
Formatting difftime objects
I like the new difftime functionality. Here's a dataframe of 5k run times:
> r5k
race date totaltime pace mile
1 RUDOLPH 2004-12-03 19:00:00 27.76667 mins 8.937224 mins 3.106856
2 RUDOLPH 2005-12-02 18:30:00 25.28333 mins 8.137916 mins 3.106856
3 FROSTBITE 2005-12-10 07:00:00 24.75000 mins 7.966253 mins 3.106856
4 JUDICATA 2006-03-04
2010 Mar 07
8
Parsing XML file with no style info with Hpricot
Hello,
I''ve been trying for hours to parse an XML using Hpricot. Usually it''s
not a problem. Here''s my simple code:
#This works and outputs the proper xml data
@url1 = ''http://www.sportingnews.com/stories/sportingnews/MLB/rss.xml''
@page1 = Hpricot(open(@url1))
<%= @page 1 %>
#This does not work, and I''m scratching my head
@url1 =
2010 Sep 16
6
acts_as_solr plugin fate?
Just wanted to see if I was using the latest acts_as_solr plugin, but
the URL <http://acts_as_solr.railsfreaks.com/> takes me to a GoDaddy
domain parking page.
Anyone know what''s happened to railsfreaks, and more particularly
this plugin?
--
Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
twitter: @hassan
--
You received this
2012 Jul 07
18
Problem processing text file after uploading
I''ve got a web-app currently partially working. The user uploads a .txt,
.docx or .doc file to the server.
Currently the model handles those files, saves some metadata (the
extention and orig filename) then saves the file to the hard drive. Next
it converts the doc and docx files to plain text and saves the output to
a txt file.
My problem is I want to copy the plain text contents of
2009 Apr 05
5
Use a value from a different model
Hello,
I cannot find the issue and it drives me crazy :(
let''s simplify. I have 2 models: saving and purchase_type
a *saving* corresponds to a *purchase_type* e.g. new sourcing or
renegotiation
a saving has exactly one purchase_type and a purchase_type has many
savings.
when I try to display the list of savings and their purchase type
(name, not Id), i get the dreaded "You have a
2009 Oct 23
10
Rspec Tutorial
Hi Everybody,
Greetings!!
I want to use rspec for my applications. Please guide me with the Rspec
tutorial.
I want a good example to start with.
Please help me by providing good tutorials on Rspec to start with.
I actually followed the example from http://rspec.info
Please guide me on more examples.
Waiting for your reply.
--~--~---------~--~----~------------~-------~--~----~
You received
2009 Oct 22
11
UFT8 String looks great in MySql, garbage in browser
Hi,
I have some seed data in MySql which contains non-ASCII characters (as
you''d imagine as these are worldwide placenames that I''m storing). In
MySql on the command line they look great, they''re all formatted
perfectly, including Arabic and Chinese characters and they look great.
However, when I ask my Rails model for one of these fields, and render
that in the