Displaying 20 results from an estimated 10000 matches similar to: "Anybody know how works -> set_sequence_name?"
2010 Sep 27
0
problem with set_sequence_name please help
I''m building rails 3 with legacy oracle 10g db. which it''s sequence is
non rails convension.
I have try this.
class AdCourt < ActiveRecord::Base
set_sequence_name ''COURT_SEQ''
end
with rails console :
AdCourt.sequence_name I have got "COURT_SEQ" which look ok.
When
AdCourt.create!(:caption => ''AAAA'', :code =>
2001 Aug 23
2
help
> -----Mensaje original-----
> De: Alfredo Hurtado Pereda
> Enviado el: Jueves, 23 de Agosto de 2001 11:38 a.m.
> Para: 'wine-users-request@winehq.com'; Alfredo Hurtado Pereda
> Asunto: help
>
>
>
> Help me Please
>
>
> I have a Problem . I Install Sybase Opclient so i run the
> programs isql.exe this program put the Windows this say
2007 Sep 17
3
data frame
Hi everybody,
If I've a data frame like this:
dataframe a
X0 X2 X4 X6 X8 X10 X12 X14 X16
1957 0 0 0 0 0 0 0 0 0
1958 0 0 0 0 0 0 0 0 0
1959 831 0 0 0 0 0 0 0 0
1960 544 282 0 0 0 0 0 0 0
1961 446 365 0 0 0 0 0 0 0
1962 442 473 0 0 0 0 0 0 0
1963 595 468 0 0 0 0 0 0 0
1964
2007 Jan 23
7
ActiveRecord requires sequence numbers in Oracle join table
I am mapping ActiveRecord classes to an existing Oracle database. This
means I cannot change the database schema to fit ActiveRecord
conventions.
Predictably, I have gotten into trouble: I have several join tables
that do not have a primary key column, and therefore no number sequence
defined. ActiveRecord insists on requiring a sequence, and gets unhappy
when there is none to find.
Is there a
2012 May 15
1
Object-oriented programming (OOP)
Hello everybody, please excuse my bad English. I am Alfredo Naime and
I'm from to Venezuela.
I want to make a lib with tools for simulation (queues, inventories,
factory, etc.) using object-oriented programming (OOP).
You have any manuals on the handling of data types, classes,
inheritance, etc. in R with examples and how to make a R lib.
Thank you, very much.
Alfredo
2007 Mar 02
3
Upgrade dovecot - rpm or spec
His Friends,
I've been using dovecot-1.0.alpha5 for a long time, now i would like to
update to v.1.0.rc24 on my Red Hat ES 4 machine, so i need an rpm version
that i couldn't find on the web. Also now i can build the rpm package via
SPECS, which i don't have. Plis, anybody would help?
Thanks in advanced,
Alfredo
-------------- next part --------------
An HTML attachment was
2020 Jun 16
4
Centos7 and Vlan
Hi all.
I wonder if you can help me here.
I have centos7 with 1 network interface and on that IFwe have 2 vlan.
>From both vlan we'd like to reach the internet independently so basically
with 2 different gateways.
we tried with all the routes,rules etc but only on one vlan we are able to
ping 8.8.8.8 for instance.
Any suggestions/ideas?
Cheers
--
*/Alfredo*
2011 Mar 26
3
round number
Hi,
> a <- 4
> a*0.2
[1] 0.8
ok!!
Is there a method to obtain this:
> a*0.2
[1] 0.80
I need to round the number also with the zero.
Thanks in advance,
Alfredo
2008 Jun 18
4
inverse cumsum
I've a matrix like this:
1985 1.38 1.27 1.84 2.10 0.59 3.47
1986 1.05 1.13 1.21 1.54 0.21 2.14
1987 1.33 1.21 1.77 1.44 0.27 2.85
1988 1.86 1.06 2.33 2.14 0.55 1.40
1989 2.10 0.65 2.74 2.43 1.19 1.45
1990 1.55 0.00 1.59 1.94 0.99 2.14
1991 0.92
2011 May 04
3
join tables in R
I'd to match-merge 2 tables in such a manner that I keep all the rows in table 1, but not the rows that are in both table 1 and 2.
Thank you for your help,
Alfredo
> master <- data.frame(ID=2001:2011)
> train <- data.frame(ID=2004:2006)
> valid <- ???
in this example table valid should have the following
> str(valid)
Year: int 2001 2002 2003 2007 2008 2009 2010 2011
2008 Jun 19
3
colnames of a column
Hi,
With this data.frame:
> class(rwl)
[1] "data.frame"
>rwl
0028002F 0028013F 0028032F
1833 3.39 NA NA
1834 3.09 NA NA
1835 3.05 NA NA
1836 3.31 NA NA
1837 2.26 NA NA
> colnames(rwl)
[1] "0028002F" "0028013F" "0028032F"
Ok....
> colnames(rwl[,1])
NULL
why??
2007 Sep 13
2
loop function
Hi,
If I have this values:
21
23
14
58
26
....
How can I sum the values by a progression like this:
(21)
(21 + 23)
(21 + 23 + 14)
(21 + 23 + 14 + 58)
(21 + 23 + 14 + 58 + 26)
(21 + 23 + 14 + 58 + 26....)
I've try with the function "loop"....
Best Wishes,
Alfredo
[[alternative HTML version deleted]]
2015 Sep 10
4
Message moved to Spam folder mysteriously
Hi there,
How dovecot move the message to Spam without antispam plugin installed or sieve rule to move to this folder?
I have no configuration to do this.
My logs:
Sep 10 12:12:44 mda02 dovecot: imap(my.user at mydomain.com): Warning: Inotify instance limit for user 5000 (UID vmail) exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
Sep 10 12:12:45 mda02 dovecot: imap(my.user
2002 Mar 20
2
drbd + ext3 + interbase + data lost
Hello All,
Yesterday, one of our customer's cluster(2 box) server goes down after a
I/O error during the backup procedure. When we turn on the cluster
again, the 600M database file have been lost, disapear.
Now, I'm with one of the disks (the other was used to rebuild the
database server) and need to know how can I recover any piece of data
from the disk.
After the crash we mount the
2008 Jun 27
2
NA value
I'm trying to replace NA with 0 value...
I've write a loop, but don't work...
Where's the problem?
> cimfasy_rwl
1991 0.92 0.72 0.50 1.29 0.54 1.22
1992 2.15 1.28 1.23 2.26 1.22 3.17
1993 1.50 0.87 1.68 1.97 0.83 2.55
1994 0.69 0.00 0.76 1.89 0.60 0.87
1995 1.13 1.04
2006 Dec 29
4
Remote API passing in parameter named 'action', routing loses it
I''m working with a remote API that calls a URL in my app, passing in a
parameter named action. So the request would look like:
http://localhost/my_controller?action=foo
Routing correctly interprets the controller action as index. However,
it sets params[:action] to index as well. I know that''s how it''s
supposed to work...but it means I lose the action parameter
2008 Sep 11
2
count value
Hi,
I've this data.frame:
> dia
X1006109F X1006110F X1006111F X1006112F X1006113F X1006114F X1006115F
1 NA NA NA NA NA 45 NA
X1006116F X1006117F X1006118F X1006119F X1006120F X1006122F X1006123F
1 45 NA NA NA 40 NA NA
X1006124F X1006125F X1006126F X1006128F X1006203F X1006209F X1006210F
2011 Feb 11
3
Samba or NFS
Hello
Thinking of setup a backup process between two Centos systems.
One will backup to the other one. For those people out there with
Centos production severs what would you recommend to use
Samba or NFS
What is the most common and simple to use?
Many thanks in advance
Alfredo
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Nov 10
1
aggregate data.frame
Hi,
I've two data.frame: ind_comp and dati_area
> ind_comp
INDEX indice
1 1 0.3081856
2 2 0.1368007
3 3 0.1290952
4 4 0.2905484
5 5 0.2686706
6 6 0.1122784
7 7 0.4493264
8 8 0.1932665
9 9 0.1982783
10 11 0.3724666
> dati_area
X_COORD Y_COORD DBH AREA ID ind_comp
1 0.0000000 0.0000000 70.0 1 1 0
2
2004 Aug 06
5
MP3 decoding, fading and streaming at the same time
Hi There,
I have just ported to Linux a program that I wrote years ago in Prolog
under DOS to automate our Shortwave radio station. Back in 1990 the
original program used ADPCM coded audio files and a special board. Now I
can use MP3 files and a Soundblaster compatible card ;-) under Linux, and
it runs from a console without any fancy interface. I absolutely need to
fade-in and fade-out