search for: datasourc

Displaying 20 results from an estimated 86 matches for "datasourc".

Did you mean: datasource
2014 Feb 02
1
Trouble implementing ov_callbacks, endless loop calling seek_func
...called endlessly. If the file is seekable, I should return 0, right? If any one can take a look at the following callback functions and see if they can spot what I'm doing wrong, it'd be much appreciated: size_t SourceFileImplOggVorbis::readFn( void *ptr, size_t size, size_t nmemb, void *datasource ) { auto sourceFile = (SourceFileImplOggVorbis *)datasource; size_t bytes = size * nmemb; sourceFile->mStream->readData( ptr, bytes ); return nmemb; } int SourceFileImplOggVorbis::seekFn( void *datasource, ogg_int64_t offset, int whence ) { auto sourceFile = (SourceFileImplOggVorbis *)dat...
2011 Nov 08
1
skip on error
...I have a different data sets and I am doing some calculations over time, For that every data set is split into junks based on the time stamps so one data set has like 10 timestamps. There is also the case that one data set has less than 10 timestamps. In my code I was doing the following lapply(Datasource,analysis_for_one_data_source) lapply(TimeFrames,analysis_for_one_data_source_and_one_time_frame) as you can imagine there are times where the second lapply will "explode" analysis_for_one_data_source_and_one_time_frame<- function( DataSource, TimeFrame,) {         return( do_anal...
2014 Feb 02
0
unsubscribe
...dlessly. If the file is seekable, I should return 0, right? If any one can take a look at the following callback functions and see if they can spot what I'm doing wrong, it'd be much appreciated: > > size_t SourceFileImplOggVorbis::readFn( void *ptr, size_t size, size_t nmemb, void *datasource ) > { > auto sourceFile = (SourceFileImplOggVorbis *)datasource; > > size_t bytes = size * nmemb; > sourceFile->mStream->readData( ptr, bytes ); > > return nmemb; > } > > int SourceFileImplOggVorbis::seekFn( void *datasource, ogg_int64_t offset, int whenc...
2010 Mar 15
1
inner join sqldf
..._sql_tsf.prochi") colnames(test_sql_psd) [1] "prochi" "prescribed_date" "dataMonth" "item_code" [5] "res_seqno" "quantity" "directions" "no_of_packs" [9] "datasource" "scan_ref_no" "name" "approved_name" [13] "formulation_code" "strength" "measure_code" "bnf_code" [17] "bnf_description" colnames(test_sql_tsf) [1] "prochi&q...
2012 Mar 16
3
Simple hiera-puppet usage
Hi all, I am trying to understand how does hiera puppet backend work, so I created the following example: hiera.yaml has only: --- :backends: - puppet --- And the node: node ''testnode'' { $variable = ''kk'' $thing = hiera ("variable") notify { "note: $thing": } } I don''t want to use the yaml backend for now, just want to
2004 Aug 05
1
Using pipe for input data
...d <- read.table( stdin(), header=F, dec='.', col.names=c("name","type"), na.strings=c("xxxx")) summary(d) and When I run this command cat my.dat | R CMD BATCH --vanilla --slave my.R I am expecting to see the summery report for the datasource my.dat But here is what I actually see in my.Rout > d <- read.table( stdin(), header=F, dec='.', col.names=c("name","type"), na.strings=c("xxxx")) 0: summary(d) 1: proc.time() 2: Error in scan(file = file, what = what, sep = sep, quote = quote, dec...
2008 Mar 03
0
Attempting to connect to an Empress RDBMS via RODBC 1.2-3 causes R 2.6.2.pat to segfault
...() to initiate the odbc connection causes R 2.6.2.pat to segfault. The odbcConnect call is CHANNEL <- odbcConnect("myEmpressDB", uid="myusername", pwd="mysecurepassword", believeNRows=FALSE) where "myEmpressDB" is an apparently correctly configured ODBC datasource pointing at the Empress RDBMS I wish to access on my system. The R version data for my system are platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, l...
2004 Jul 22
1
app_dbodbc URGENT
.../odbc.conf': Found > app_dbodbc: dsn is MySQL-asterisk > app_dbodbc: username is asterisk > app_dbodbc: password is [secret] > app_dbodbc: Error SQLConnect -1 Jul 22 13:15:18 ERROR[8192]: app_dbodbc.c:441 odbc_load_module: app_dbodbc: Unable to connect to datasource: MySQL-asterisk > app_dbodbc: Unable to connect to datasource: MySQL-asterisk == Registered application 'ODBCget' == Registered application 'ODBCput' == Registered application 'ODBCdel' == Registered application 'ODBCdeltree' My odbc.conf [global]...
2012 Apr 05
2
count() function
...to have something analogous to the =count function in Excel, but I can't find anything. I simply want to count the data for a given category. I've been using the ddply() function in the plyr package to summarize means and st dev of my data, with this code: ddply(NZ_Conifers,.(ElevCat, DataSource, SizeClass), summarise, avgDensity=mean(Density), sdDensity=sd(Density), n=sum(Density)) and that gives me results that look like this: ElevCat DataSource SizeClass avgDensity sdDensity n 1 Elev1 FIA Class1 38.67768 46.6673478 734.87598 2 Elev1 FIA...
2012 Oct 12
1
RTAQ - convert function: warning causes incorrect loading of data
Hello, I am closely following the RTAQ documentation in order to load my dataset into R, however I get this warning when running the convert function in the following way: convert(from="2010-11-01", to="2010-11-01",datasource=datasource, datadestination=datadestination,trades=T,quotes=T,ticker="BAC",dir=T, extention="csv", header=T, tradecolnames=c("SYMBOL", "DATE", "TIME", "PRICE", "SIZE", "G127", "CORR", "COND", "...
2004 Sep 06
1
Fixing libvorbisfile to handle largefiles
...re's the needed patch to accomplish this, based on source updated the weekend of 22.Aug: --- include/vorbis/vorbisfile.h-ORIG Sun Aug 22 20:49:53 2004 +++ include/vorbis/vorbisfile.h Fri Aug 27 00:39:56 2004 @@ -40,7 +40,7 @@ size_t (*read_func) (void *ptr, size_t size, size_t nmemb, void *datasource); int (*seek_func) (void *datasource, ogg_int64_t offset, int whence); int (*close_func) (void *datasource); - long (*tell_func) (void *datasource); + ogg_int64_t (*tell_func) (void *datasource); } ov_callbacks; #define NOTOPEN 0 I suspect there are a number of other...
2004 May 26
5
cdr_odbc with mysql on a remote server
...d is [secret] > cdr_odbc: Error SQLConnect -1 > cdr_odbc: Error Details: [MySQL][ODBC 3.51 Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 2004-05-26 18:13:54 ERROR[6151]: cdr_odbc.c:363 odbc_load_module: cdr_odbc: Unable to connect to datasource: AsteriskCDR > cdr_odbc: Unable to connect to datasource: AsteriskCDR So, the problem I am having is that the mysql odbc driver seems to want to use a local socket, but I am not running mysql locally on the asterisk machine. I want it to connect to a remote host. I don't see anythi...
2013 Jan 07
3
How manage xml elements as resources?
...to me to be a common problem already solved. Can anyone suggest the easiest way to do this? An example use case would look like something like this. Given xml file: <host> <server name="one"/> <server name="two"/> </host> I want to inject <datasource name="example"/> into server one resulting in. <host> <server name="one"> <datasource name="example"/> </server> <server name="two"/> </host> Of course puppet would still need to make sure datasource exam...
2005 Nov 05
1
Ogg files versus Ogg streams
...king the file like a data stream. Also, should this question be directed at the Tremor group instead since that is the codec I'm using? It seems like a generic Vorbis question, versus something specific to Tremor. My question is this: As far as ov_open_callbacks(..) is concerned, is the *datasource parameter expecting a pointer to part of an Ogg file (specifically, the beginning where I assume the Ogg identifying info is placed). And if this is the case, can I assume that bringing the Ogg file in piece-meal fashion only requires a change to the way ov_read(..) will handle not having eno...
2011 Nov 04
2
representing wind date using windrose
hello, i am new to R and want to use it for a small project to draw a wind data from a microclimate datasource, can someone give me an example of how i can represent this in a neat way? for example, i have: speed, direction 0.3,NNE 0.45,NNE 0.32,NE 0.28,N 0.30,NE how do i put this data to get a windrose graph? many thanks norman -- %>>> "".join( [ {'*':'@','^...
2018 Dec 07
2
cdr_odbc.c:174 odbc_log: Unable to retrieve database handle. CDR failed.
Hi, is cdr logging using odbc buggy? I'im only getting an error "cdr_odbc.c:174 odbc_log: Unable to retrieve database handle. CDR failed.". Connecting with isql to the datasource given in cdr_odbc.conf works just fine, and using the database for sippeers also works. The documentation[1] is confusing because it says freeTDS is required and that you must not use multiple database connectors and remains entirely unclear about whether odbc works at all for this and doesn...
2004 Jul 09
3
Can R read data from stdin?
Is there anyway I can write a script which feed input datasource from stdin and let R process it (maybe frequency report) then output the report to stdout? I can't seem to find much info on documentation or FAQ on this topic. Thanks! Soichi Hayashi ********************************************************************** The information contained i...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...-axis. --- src/flexchart/flexchart.mxml | 4 + src/flexchart/org/ovirt/Constants.as | 17 +++ src/flexchart/org/ovirt/charts/BarChart.as | 155 ++++++++++++++++-------- src/flexchart/org/ovirt/charts/HostChart.as | 42 ++++++- src/flexchart/org/ovirt/data/DataSource.as | 1 - src/flexchart/org/ovirt/elements/Scale.as | 9 +- src/flexchart/org/ovirt/elements/SingleBar.as | 62 +++++++++- src/flexchart/org/ovirt/elements/XAxisLabel.as | 2 + 8 files changed, 231 insertions(+), 61 deletions(-) diff --git a/src/flexchart/flexchart.mxml b/src...
2009 Aug 10
1
Building tomcat6, SRPM jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm fails to build
...3 was detected. prepare: compile: [mkdir] Created dir: /root/rpmbuild/BUILD/commons-dbcp-1.2.1/build/classes [javac] Compiling 39 source files to /root/rpmbuild/BUILD/commons-dbcp-1.2.1/build/classes [javac] /root/rpmbuild/BUILD/commons-dbcp-1.2.1/src/java/org/apache/commons/dbcp/BasicDataSource.java:43: org.apache.commons.dbcp.BasicDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper [javac] public class BasicDataSource implements DataSource { [javac] ^ [javac] /root/rpmbuild/BUILD/commons-dbcp-1.2....
2007 Feb 22
0
Problem with Cacti and CentOS 4.4
...ng on 1/1 pollers. ... (Repeat of above) Waiting on 1/1 pollers. Waiting on 1/1 pollers. 02/21/2007 12:09:16 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting. 02/21/2007 12:09:16 PM - SYSTEM STATS: Time:293.1932 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:114 RRDsProcessed:5 cacti.log 02/21/2007 12:09:14 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0" 02/21/2007 12:09:14 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_ou...