Displaying 20 results from an estimated 400 matches similar to: "Oracle & Ruby on Rails"
2005 Jul 27
7
Oracle OCI8, or "am I going crazy?"
All of a sudden, on three different systems, the "server_ip_address/sid_name"
syntax in database.yml has stopped working for me.
I can''t even do a OCI8.new(blah blah blah) statement from an IRB shell.
I get "ORA-12541: TNS:no listener", or some variant, depending on how I phrase it.
On systems where I have a real deal client installed, and OCI can find the
tnsnames
2006 Mar 28
2
Rails Oracle connection
I''m using the following configuration in the database.yml to connect to
Oracle,
however I could not connect while the settings seems to be correct:
development_oracle:
adapter: oci
host: 127.0.0.1:8080/XE
username: rubydb
password: rubyrails
What is wrong here?
Can anyonbe help me?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 16
1
[PATCH] acts_as_taggable plugin
hi,
I started today to use the acts as taggable plugin and it''s working as
expected.
I added a method find_tagged_with_all since I needed to find the
elements tagged with all the items in a list while find_tagged_with
finds all the elements tagged with any of the list terms.
Attached to this mail there''s a patch which adds the
find_tagged_with_all method and which solves a
2006 Feb 17
1
acts_as_taggable plugin and multi word tags
I decided to play with the plugin acts_as_taggable based on Chad
Fowler''s book Rails Recipes. Is it just me or can tags only be one
word? If not can you explain to me how to assign multi-word tags
using the acts_as_taggable plugin.
Thanks :-)
John Kopanas
http://www.kopanas.com
=====================================================================
http://www.soen.info - source
2006 Feb 21
4
Multi-page forms
I''m curious to see how others are dealing with the construction of
multi-page forms. I can see a couple of ways to do this, each with
their own advantages/disadvantates.
Approach 1:
* define one table with columns for each form entry.
* define a method/view for each page, which only displays a subset of
the fields.
* submitting a page saves the data and moves on to the next page.
2015 Dec 29
2
[HCL] NHS Laser Senoidal 5000VA supported by gamatronic
Device Manufacturer: NHS
Device Name: Laser Senoidal 5000VA
upsc output when the UPS is in normal condition:
battery.charge: 100
battery.current: 0.4
battery.date: 12292015
battery.runtime: 00000
battery.runtime.low: 59940
battery.temperature: 00
battery.voltage: 163.4
device.mfr: NHS Sistemas de Energia
device.model: Laser Senoidal 5000VA
device.type: ups
driver.name: gamatronic
2003 Jul 05
1
Samba 2.2.8 + Printers (UFMG)
Hi.
I'm admin at a computer lab. Just started here, and I'm trying to set samba up. I'm having the following problem:
The server (FreeBSD 4.7) has a HP LaserJet 6MP installed on it. So far so good, works great. When installing this printer on network computers, I have no problem, even printing, but someone installed the wrong driver (fortunatelly its a PS driver).
When I try to
2012 Dec 19
0
Oracle listner with port forwarding issue
> bundle exec rails s
=> Booting WEBrick
=> Rails 3.1.5 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Warning: NLS_LANG is not set. fallback to US-ASCII.
[2012-12-19 12:17:10] INFO WEBrick 1.3.1
[2012-12-19 12:17:10] INFO ruby 1.9.3 (2012-10-12) [x86_64-linux]
[2012-12-19 12:17:10] INFO WEBrick::HTTPServer#start:
2014 Nov 12
2
[HCL] NHS Expert C Online 6000 supported by gamatronic
Device Manufacturer: NHS
Device Name: Expert C Online 6000
upsc output:
battery.charge: 100
battery.current: 0.6
battery.date: 01012014
battery.runtime: 00000
battery.runtime.low: 59940
battery.temperature: 29
battery.voltage: 210.5
device.mfr: NHS Sistemas de Energia
device.model: EXPERT GIII 8kVA
device.type: ups
driver.name: gamatronic
driver.parameter.pollinterval: 20
2014 Nov 17
0
[HCL] NHS Expert C Online 6000 supported by gamatronic
On Nov 12, 2014, at 5:46 AM, Thiago Wiezbicki <thiagowzb at gmail.com> wrote:
>
>
> Device Manufacturer: NHS
> Device Name: Expert C Online 6000
>
> upsc output:
>
> battery.charge: 100
> battery.current: 0.6
> battery.date: 01012014
> battery.runtime: 00000
Quick question: does "battery.runtime" update when the device is on battery, or is this
2016 Jan 08
2
[HCL] NHS Laser Senoidal 5000VA supported by gamatronic
Below the answers:
> This is the same as https://github.com/networkupstools/nut/issues/254 , right?
Yes, this UPS is the same.
> Does battery.runtime only get updated when on battery power, or is this with a different load?
> battery.runtime.low: 59940
> battery.temperature: 00
Yes, this time time is updated on battery power, This is a dynamic counter that changes with a different
2009 Oct 22
1
Help regarding removing Inf from dataframe, creating new dataframe with selected variables, count function
Following is my query:
1. Removing Inf from one column of dataframe.
2. out of 10 available dates, count how many times a security is present. (repeat for each security)
3. Out of dates, the security is present, I want to read latest status of market cap.
4. Change in market cap represent by 0/1 so even if market cap status changed once, take value 1.
5. create output file containing some already
2018 Oct 16
4
Problema de memoria de R
Buenas tardes,
Solicito por favor ayuda con este error:
Error: OutOfMemoryError (Java): Java heap space
Estoy trabajando con matrices de grandes dimensiones y el programa no logra completarse porque dice le falta memoria.
Gracias
[unnamed]
Sara Suarez Zapata
Estudiante en práctica - Unidad Gestion Bolsa de Energia.
Tel: (574) 380 61 18
Correo: sara.suarez en
2010 Apr 06
1
approx function wierd result
Dear R-list members,
I am calculating the linear extrapolation for a data set, using the function
found in Hmisc.
x=c(0.0265,-0.0003,0.0142,0.0263,0.0634,0.1145,0.2504)
y=c(58,107,152,239,362,512,724)
x1=0.0393216
approxExtrap(x,y,x1, method="linear")
approx(x,y,x1)
#to see what is happening:
plot(x, y, typ="o")
abline(v=x1, col=8)
Which gives x=0.03 and y=163, instead of
2006 Mar 01
2
Oracle auto_increment ??? & Rails
To make a new istance of an Oracle table with Rails, i need that this
table had a column named ''id''. This ''id'' must be Primary Key &
auto_increment;.
How Can I modify the ''id'' properties to do it Auto_increment in Oracle?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it:
invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id,
telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611)
where ago.prova_stats is the table used by me and that have only the
columns ''cognome'',''nome'' and ''telefono''.
My table hasn''t the column
2004 Mar 05
1
time-series
Dear R helpers
I have a daily rainfall dataset of 5 stations, but the time-series are
of different lengths. Three stations measured precipitation from 1917 to
2004, one from 1930 to 1979, and other from 1975 to 1998. I'd like to
know how to analyse if rainfall is similiar at all stations. Is it
possible to compare time-series like these?
Best Regards!
2006 Jul 24
1
Memory exceeding for split
Hi R-users
I'm working with a data.frame of 40000 x 10, for which I need to apply the
"split" function. The result is very long and cannot be stored in a variable
due to memory exceeding. I've tried to send the result directly to a file
through sink(filename) function, but the problem still occurs. Does anyone
have an idea to solve this issue?
> dim(dados)
[1] 40000 10
2012 Jun 10
3
SNMP agent for NUT
Hello guys,
I was some years ago when I sent something to this list.
NUT is a great tool but lacks SNMP management. It can access a device using SNMP
but I found no way to read NUT values using SNMP. It would be very
useful in order to integrate with
network management software based on SNMP. As I did not find a
solution, I wrote it myself.
I wrote a MIB file and a SNMP agent for net-snmp
2012 Jun 10
3
SNMP agent for NUT
Hello guys,
I was some years ago when I sent something to this list.
NUT is a great tool but lacks SNMP management. It can access a device using SNMP
but I found no way to read NUT values using SNMP. It would be very
useful in order to integrate with
network management software based on SNMP. As I did not find a
solution, I wrote it myself.
I wrote a MIB file and a SNMP agent for net-snmp