search for: some_numbers

Displaying 9 results from an estimated 9 matches for "some_numbers".

Did you mean: some_number
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:
2009 Mar 04
2
FW: flow control
Hi all, I need a little help with flow control in R. What I'd like to do is to advance a for loop by changing its counter. However, what seems obvious to me does not yield the proper results. An example of my problem is for (i in seq(1, some_number, some_increment)){ <some stuff> if (some_condition == T) i <- i + 2; #want to advance the loop by 2 } Whenever the counter goes
2010 Jan 18
8
Comment syntax and strange partial rendering
Using rails 2.3.2 I have a partial _foo.rhtml that begins with a comment as follows: <% # here is a comment %> <li><%= foo %></li> When I render the partial from a view in the traditional way, e.g. <% some_numbers = [1, 2, 3, 4, 5] %> <ul> <%= render :partial => "foo", :collection => some_numbers %> </ul> I found that the <li> and </li> tags are not rendered. However, I can solve this problem by fixing _foo.rhtml to eliminate the space between &l...
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
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
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
2012 Jun 17
1
Missing voicemail prompt beginning
Hello, I am using the voicemail module of asterisk. When I did some test calls from my mobile phone, sometimes the beginning of the prompt was missing, e.g. instead of something like "number 12345 not available" I was only hearing "345 not available". Verbose level 5 on the asterisk console didn't give me any hint on this, it only shows that playback of the prompt started
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i type again it is not working. i got this error [2012-02-09 16:19:54] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already in use - bind(2) (Errno::EADDRINUSE) from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'' from