Displaying 20 results from an estimated 221 matches for "1,14".
2006 Jan 18
3
legacy database on remote host
I''m getting this error in webrick then it crashes leaving nothing in the
log.
ruby: symbol lookup error:
/usr/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.so: undefined symbol:
mysql_sqlstate
Here is the standard query I would normally write to get the data.
select * from child,parent
where CONCAT(SUBSTRING(child.item_number,1,14,''00'') =
parent.order_number and parent.order_number = ''44444444...
2006 Jan 18
3
I need superman!
...can get
this too work. I''m going to post my sql dump to produce a very simple
database. If anyone can get rails to work with this THEY WILL BE MY
HERO!!.
This is the statment I would normally use to create the join.
"select * from parent,child where parent.number = ''2005121212121200'' and
CONCAT(SUBSTRING(child.item_number,1,14),''00'') = parent.number"
As you can see child.item_number is links to the parent with
CONCAT(SUBSTRING(child.item_number,1,14),''00'') = parent.number. The
last two digits of parent.number ar...
2006 Jan 17
15
legacy database and finder_sql nightmare!
...imary field named order_number. I have a name table
with a primary of item_number. These two tables are liked by the
item_number and the order_number, but not as you might think. If the
order_number is 2500, then each entry in the name table will have it''s
item number incremented by 1 (i.e. 2501,2501,2503). Here are my models
class Order < ActiveRecord::Base
set_table_name :order
set_primary_key :order_number
has_many :name, :finder_sql => ''SELECT * from name
where name.item_number like
CONCAT(SUBSTRING(#{order_number},...
2013 May 30
2
Re: libguestfs-1.22.1 compilation error
Yes i am using ArchLinux (what else is there ?)
and i hate/love (mixed feelings) when you have a valid point and give
such pointers!
indeed there is a diff between your perl and mine
[tmp]> diff -u rwm perl
--- rwm 2013-05-30 13:24:21.066286908 +0300
+++ perl 2013-05-30 13:26:27.149615793 +0300
@@ -1,14 +1,14 @@
- if ($t =~ /\G([^\n]{0,$ll})($break|\n+|\z)/xmgc) {
+ if ($t =~ /\G((?:(?=[^\n])\X){0,$ll})($break|\n+|\z)/xmgc) {
$r .= $unexpand
? unexpand($n...
2016 Sep 08
3
¿Cómo generar tabla apaisada salida PDF con RMarkdown?
...contré por ahí.
Pongo seguido un ejemplo para poner en un documento Rmd
---
title: "Tablas que no entran"
author: "Sandia Urlia"
date: ""
output: pdf_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r}
la.tabla.ancha <- cars[c(1:10),rep(1,14)]
knitr::kable(la.tabla.ancha, caption = "La tablaza")
```
```{r results='asis'}
options(xtable.comment = FALSE)
print(
xtable::xtable(
la.tabla.ancha, caption = "La-tablota",
floating = TRUE,
floating.environment = "si...
2005 Aug 30
0
No subject
Nothing has been defined <;0;3;(0,23)>
failure on
__vt_9type_info:G(0,65)=ar(12,3);0;3;(0,23) at ;0;3;(0,23)
Nothing has been defined
<;0;7;(0,11)>
failure on
__ti9type_info:G(0,66)=ar(12,3);0;7;(0,11) at ;0;7;(...
2016 Sep 09
2
¿Cómo generar tabla apaisada salida PDF con RMarkdown?
...a as:
|---||
||title: "Tablas que no entran"||
||author: "Sandia Urlia"||
||date: ""||
||output: ||
|| pdf_document:||
|| includes:||
|| in_header: header.tex ||
||---
|
La solucin que coment Carlos (la de:
http://stackoverflow.com/questions/25849814/rstudio-rmarkdown-both-portrait-and-landscape-layout-in-a-single-pdf)
tiene la ventaja de que permite girar tablas generadas con |kable()| sin
ms que poner tres lineas de cdigo tex. Importante dejar un espacio
despus de terminar el chunk y antes de |\elandscape|.
|
||\newpage||
||\blandscape||...
2013 Apr 11
1
Adding time series to time graphs
Hello: I have done this before but cannot figure out how to do it again.
I would like to graph campaign evolution of news stories on certain topics. The campaign time period is as follows:
campaign<-seq.Date(from=as.Date('2011-09-06'), to=as.Date('2011-10-5'), by=1)
I have a table of newspaper story frequencies containing a certain word that can be turned into a data.frame (or not). I'll reproduce it as a data.frame
plotdf<-data.frame(story.dates=seq.Date(as.Date('2011-09-17'),as.Date('2...
2013 May 30
0
Re: libguestfs-1.22.1 compilation error
On Thu, May 30, 2013 at 01:37:34PM +0300, Evaggelos Balaskas wrote:
> [tmp]> diff -u rwm perl
> --- rwm 2013-05-30 13:24:21.066286908 +0300
> +++ perl 2013-05-30 13:26:27.149615793 +0300
> @@ -1,14 +1,14 @@
> - if ($t =~ /\G([^\n]{0,$ll})($break|\n+|\z)/xmgc) {
> + if ($t =~ /\...
2012 Jan 20
1
nobs() and logLik()
...ts into account while
nobs.nls() does not. Admittedly, the help page of nobs() states that:
For 'lm' and 'glm' fits, observations with zero weight are not
included.
i.e. does not comment on what nls does.
But I wonder whether the following behaviour is desirable:
R> DNase1 <- subset(DNase, Run == 1)
R> fm3DNase2 <- nls(density ~ Asym/(1 + exp((xmid - log(conc))/scal)),
+ data = DNase1, weights=c(0,rep(1,14),0),
+ start = list(Asym = 3, xmid = 0, scal = 1))
R> nobs(fm3DNase2)
[1] 16
> logLik(fm3DNase2)
'log Lik.' 42.62777 (df=4...
2002 Oct 02
0
Directory Problemsw
...No debug information
in 32bit DLL 'F:\Mapper6.exe' (0x00400000)
No debug information in ELF 'wine'
(0x00000000)
Breakpoint 1 at 0x4000bd00
(Mapper6.exe..rsrc+0x3fa8ad00)
Loaded debug information from ELF
'/usr/lib/wine/libntdll.dll.so' (0x40031000)
No debug information in ELF '/...
2019 Feb 08
1
Re: [PATCH nbdkit] Add support for writing plugins in Rust.
On 2/8/19 5:55 AM, Richard W.M. Jones wrote:
> ---
> +* Consider supporting a more idiomatic style for writing Rust plugins.
> +
Considering I've written nothing in Rust, I'm no good at deciding what
forms idiomatic Rust plugins.
> +++ b/configure.ac
> @@ -545,6 +545,15 @@ AS_IF([t...
2009 Jul 24
2
[PATCH server] Add fallback message when flexchart is missing
Check filesystem to see if flexchart.swf is present. If not,
offer location of precompiled swf hosted at ovirt.org.
---
src/app/helpers/graph_helper.rb | 9 +++++++++
src/app/views/graph/history_graphs.rhtml | 7 +++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/app/helpers/graph_helper.rb b/src/app/helpers/graph_helper.rb
index bb1f05b..c57ddda 100644
--- a/src/app/helpers/graph_helper.rb
+++ b/src/app/helpers/graph_helper.rb
@@ -1,5 +1,14 @@
module GraphHelper
+ def swf_is_present
+ File.exist...
2008 Jun 17
2
R error using Survr function with gcmrec
...ges to do a power analysis on
simulated data. I'm receiving an error after using the Survr function
that all data must have a censoring time even after using the gcmrec
function: newdata<-addCenTime(olddata). My program is below. I'd
greatly appreciate any help!
id<-c(seq(1,288,by=1),seq(1,79,by=1),seq(1,11,by=1))
x<-c(rep(0,5),rep(1,6),rep(0,45),rep(1,23),rep(0,124),rep(1,85),
+rep(0,4),rep(1,1),rep(0,1),rep(1,5),rep(0,31),rep(1,14),rep(0,5),
+rep(1,18),rep(0,8),rep(1,3))
myrates<-((1-x)*0.0639 + (x)*0.0320)
y<-c(rexp(378,rate=myrates))
cen<-c(rexp(37...
2006 Jun 26
2
compare odds ratios
Hi there, is there any way to compare 2 odds ratios? I
have two tests that are supposed to detect a disease
presence. So for each test, I can compute an odds
ratio. My problem is how can I compare the 2 tests by
testing whether the 2 odds ratios are the same?
Appreciate
2008 Aug 04
0
[PATCH] stubdom: rename the ioemu-dm domain config file to domainname-dm
stubdom: rename the ioemu-dm domain config file to domainname-dm,
which is shorter, makes more sense, and sorts better.
diff -r c9b516a77927 stubdom/README
--- a/stubdom/README Mon Aug 04 11:29:45 2008 +0100
+++ b/stubdom/README Mon Aug 04 12:51:31 2008 +0100
@@ -10,6 +10,9 @@ of video memory for the HVM domain, you
of video memory for the HVM domain, you need to avoid the need for ballooning,
by using the hypervisor dom0_mem=...
2007 Apr 12
2
[PATCH] Make com32 printf obey width-restriction on %s
...tch is against 3.36. It lets the width-modifier to the
%s conversion specifier restrict the length of the formatted string as
well as expand it. In addition, it adds the strnlen function, which
only exists as a prototype today.
--
Arne.
--- syslinux-3.36/com32/lib/Makefile.orig 2007-02-10 21:47:07.000000000
+0100
+++ syslinux-3.36/com32/lib/Makefile 2007-04-12 12:06:07.000000000 +0200
@@ -11,7 +11,7 @@
perror.o printf.o puts.o qsort.o realloc.o seed48.o snprintf.o \
sprintf.o srand48.o sscanf.o stack.o strcasecmp.o strcat.o \
strchr.o strcmp.o strcpy.o strdup.o strerror.o...
2013 May 30
2
libguestfs-1.22.1 compilation error
...ospection=no \
--disable-lua \
--disable-erlang \
--disable-php \
--disable-haskell \
--disable-ruby \
--without-java \
--with-default-backend=direct
error msg
make[2]: Entering directory
`/opt/dnl/PKGBUILDs/kvm/libguestfs/src/libguestfs-1.22.1'
perl /home/ebal/dnl/PKGBUILDs/kvm/libguestfs/src/libguestfs-1.22.1/podwrapper.pl
\
--section 1 \
--man guestfs-release-notes.1 \
--text guestfs-release-notes.txt \
--html ./html/guestfs-release-notes.1.html \
--license GPLv2+ \
guestfs-release-notes.pod
podwrapper.pl: wrote gu...
2010 Apr 15
1
sum rows in a data.frame...solution
Found this solution. It is maybe not the most elegant way, but it does the
job.
> a=as.data.frame(substr(lme$DESCRIPTION,1,14))
> colnames(a)=c("DESCRIPTION")
> lme=as.data.frame(c(a,lme[,2:3]))
> lme
DESCRIPTION CLOSING.PRICE POSITION
1 PRIMARY NICKEL 25,755.7100 0
2 PRIMARY NICKEL 25,760.8600 0
3 PRM HGH GD ALU 2,415.9000 0
4 SPCL HIGH GRAD 2,420....
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
Commit-ID: 8858e8319655ef38398e0833b71d65b0e620a061
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8858e8319655ef38398e0833b71d65b0e620a061
Author: Steve Capper <steve.capper at linaro.org>
AuthorDate: Mon, 11 Nov 2013 17:04:11 +0000
Committer: H. Peter Anvin <hpa at zytor.com>
C...