Displaying 20 results from an estimated 10000 matches similar to: "FW: flow control"
2004 Jun 24
5
chan_capi problem - hangup???
Hi,
I installed Asterisk with CAPI support. Everything works fine while
starting Asterisk, but when a call comes in Asterisk hangsup the call
after two times of ringing.
The output is like:
Jun 24 22:19:49 NOTICE[1082178480]: chan_capi.c:1931 capi_handle_msg:
CONNECT_IND ID=002 #0x011d LEN=0048
Controller/PLCI/NCCI = 0x101
CIPValue = 0x10
2006 May 31
1
ActiveRecord: When / where to validate data? Tricky question
First of all, thanks for you time. I have kind of a tricky question and
wanted to see what you guys thought.
-------------------------------------------
Lets say I have this:
-------------------------------------------
class Purchase < ActiveRecord::Base
validates_numericality_of :some_number, :only_integer => true
end
-------------------------------------------
Then I do this:
2011 Oct 28
3
Is active record 3.1.1 supposed to be threadsafe?
Hi There
Is active record 3.1.1 supposed to be threadsafe?
In other words, should the following (concurrent access to a model)
work?
Thread.new do MyModel.where(some_condition).first end
Thread.new do MyModel.where(some_condition).first end
I ask because upon the answer, it depends which component should handle
synchronization, and in consequence, which component to patch/fix.
A bit of
2013 Mar 06
2
Refresh a partial onClick using ajax call in rails 3.x
Hi All,
I want to refresh a partial onClick, onClick i am making ajax call
and getting the data but i am unable to refresh the partial. here is the
code
IN views: home.html.erb
$(document).ready(function() {
var currentCellText;
$(".inline").click(function() {
currentCellText = $(this).text();
$.ajax({
type: ''GET'',
dataType: "json",
2015 Jan 08
9
[LLVMdev] Separating loop nests based on profile information?
I've been playing with approaches to getting better optimization of
loops which contain infrequently executed slow paths. I've gotten as
far as throwing together a proof of concept implementation of a profile
guided optimization to separate a single loop with multiple latches into
a loop nest, but I want to get feedback from interested parties before
investing much more effort.
The
2010 Oct 27
2
must .Call C functions return SEXP?
For using R's .Call interface to C functions, all the examples I've
seen have the C function return type SEXP. Why? What does R actually
do with this return type? What happens if I *don't* return a SEXP?
Reason I ask, is I've written some R code which allocates two long
lists, and then calls a C function with .Call. My C code writes to
those two pre-allocated lists, thus, I
2008 Jan 21
1
ActionController majic gone bad
Overriding method missing in ActionController destroys magic even when
passed back
ie.
def method_missing(method, *args)
if some_condition
do_something
else
#let rails handle it normally
super(method,args)
end
end
if I don''t over ride method missing then i can call a view without an
action
with the override i get a method missing error.
MAJIC
--
Posted via
2015 Jan 08
4
[LLVMdev] Separating loop nests based on profile information?
On 01/07/2015 05:33 PM, Chandler Carruth wrote:
>
> On Wed, Jan 7, 2015 at 5:19 PM, Philip Reames
> <listmail at philipreames.com <mailto:listmail at philipreames.com>> wrote:
>
> I've been playing with approaches to getting better optimization
> of loops which contain infrequently executed slow paths. I've
> gotten as far as throwing together
2012 Jun 19
1
seek(), skip by bits (not by bytes) in binary file
Hello,
Has a function been built that will skip to a certain bit in a binary file?
As of 2009 the answer was 'no':
http://r.789695.n4.nabble.com/read-binary-file-seek-td900847.html
https://stat.ethz.ch/pipermail/r-help/2009-May/199819.html
If you feel I don't need to (like in the links above), please provide some
help. (Note this is my first time working with binary files.)
I'm
2010 Jan 31
3
Append/Prepend to a template from controller method
I want a method in app/controllers/application.rb that can
prepend/append text to whatever template gets rendered. Of course I
can''t call render twice w/o getting a double render error, so is this
possible?
I want to redirect after a delay using a meta refresh. Here''s what I''ve
got:
app/controllers/application_controller.rb:
def redirect_after_delay (url, delay)
2006 Jun 03
1
NON-empty module, - but always 'received 0 names', 'recv_file_list_done', but always get 'total size is 0'?
hi, guys, as per subject. I've been working hard (searching hard,
trying hard, googling hard) at trying to find a solution to the
abovementioned problem, but nothing.
I have several non-empty modules, all of which have files inside -
NON-empty modules - but i have always failed to be able to rsync. Why?
This is the behaviour:
-----------
# rsync -vvv localhost::a .
opening tcp connection to
2007 Oct 03
1
FW: help with mclust
> No HTML this time. Sorry
Dear all,
I am attempting to model some one-dimensional data using Gaussian mixture model with mclust.? Generally, the data that I have have 3 overlapping populations (with one of them being the majority, and the other two combining to less than 15%) and for some reason, mclust consistently ignores the smaller peaks, giving me strange values for the means
2006 Jan 10
7
Can only render or redirect once per action - why?
I ran into this error message a quite a few times since my app requires
branching to different pages from the same action... say using a switch
statement. Ofcourse I found that you can use multiple redirects or renders
if you do
render :action => ''new'' and return false
I hate to code something I don''t understand fully. Any explanation of this
will be greatly
2006 Aug 22
1
Total (un)standardized effects in SEM?
Hi there,
as a student sociology, I'm starting to learn about SEM. The course I
follow is based on LISREL, but I want to use the SEM-package on R
parallel to it.
Using LISREL, I found it to be very usable to be able to see the
total direct and total indirect effects (standardized and
unstandardized) in the output. Can I create these effects using R? I
know how to calculate them
2003 Mar 19
4
FW: backupexec
If you can see the server, but not shares, you most likely have not published any directories. What version of the BE agent are you using? I've noticed 4.6 works well (the install actually works well and will walk you through the setup to publish the directories to be backed up). It's often easier to just publish root (but exclude /proc /tmp). Also, I've found out that in the hosts
2006 Mar 14
8
The RoR equivalent of out.write() in JSP?
All,
In JSP, I can output strings in the Web page by either
<%= foo %> //foo is a string or returns a string
or
<% out.write("test") %> //write directly to the output stream.
What is the method of "writing to the output stream" in RoR? Basically,
what is the equivalent of out.write()?
I have an if then statement that I want to put around a call to
h
2005 Sep 08
1
FW: Re: Doubt about nested aov output
Your response nicely clarifies a question that I've had for a long time,
but which I've dealt
with by giving each subject a unique label. Unless I'm missing something,
both techniques should
work as the toy example below gives exactly the same output in all 3 cases
below (forgetting
about the convergence problem). Would there be a reason to prefer
labeling the levels
one way or
2015 Jan 13
2
[LLVMdev] Separating loop nests based on profile information?
On Wed, Jan 7, 2015 at 5:33 PM, Chandler Carruth <chandlerc at google.com>
wrote:
>
> On Wed, Jan 7, 2015 at 5:19 PM, Philip Reames <listmail at philipreames.com>
> wrote:
>
>> I've been playing with approaches to getting better optimization of loops
>> which contain infrequently executed slow paths. I've gotten as far as
>> throwing together a
2012 Apr 09
1
Building Wine with multiple jobs
Hello!
As far as I know, the correct procedure to build Wine goes:
Code:
./configure [options]
make depend
make
When using a multicore CPU, to speed up the build, one can tell make to run more jobs, thus use all the cores. Now, the thing is: I have read [don't remember where exactly, it was quite long ago], that it is only OK to use it with the last step (make), but is an inherently bad
2024 Jul 09
1
[HELP] rsync recursive jumps across directories
The only explanation I can find for such behaviour is that
incremental recursion is being used, which leads me to deduce that the
lines with path outside of the directory "A/B/...", can only indicate
folder creation. But yet I cannot buy this explanation because why would
such "atypical folders" be created in the middle of the recursion
"A/B/...", rather than together