Displaying 20 results from an estimated 600 matches similar to: "Conditional Float Precision"
2008 Jan 26
2
empty Model creates DangerousAttributeError and connection is defined by ActiveRecord
Dear list,
The following situation drives me crazy.
I have one model called AlumniMember and one AlumniData. Both filled
with code. I developed both on Rails 1.2.3. Now I update the App to
Rails 2.0.2. Now the following happens, always when I call
AlumniData.new I get the DangerousAttributeError.
First I cleaned out the Model, the only line I left is
"has_one :alumni_member". Same
2010 Jun 03
7
Scheduled tasks in Rails: Cron + wget = Best solution?
Hi there,
do you agree that for having scheduled tasks in Rails, the leanest
solution is the following?
- Create a controller with an action for each task
- Implement the logic of the task as controller code
- Set up a cron job at the OS level that uses wget to invoke the URL of
this controller/action at the appropriate time intervals
Advantages:
1) full access to all your Rails objects just as
2004 Apr 06
20
Off topic
Hello,
I''m going to be helping a friend setup Shorewall in place of his Cisco
router on his home network. Shorewall will be acting as the router/firewall
gateway for internet access for his home LAN. His connection to the ISP is
via PPPOE. Nothing unfamiliar here to me. It will be a standard 2 interface
setup.
My curiosity was peaked when he said that he is going to be installing
2011 Jan 27
2
Extrapolating values from a glm fit
Dear R-help,
I have fitted a glm logistic function to dichotomous forced choices
responses varying according to time interval between two stimulus. x values
are time separation in miliseconds, and the y values are proportion
responses for one of the stimulus. Now I am trying to extrapolate x values
for the y value (proportion) at .25, .5, and .75. I have tried several
predict parameters, and they
2009 Mar 12
0
assert_xhtml - test your HTML by example
Rubies:
My quest to get the maximum coverage & diagnostics from the leanest possible
tests has reached a new level.
This is a Rails functional test on an HTML form:
user = users(:Moses)
get :edit_user, :id => user.id
assert_xhtml do
form :action => ''/users'' do
fieldset do
legend ''Personal Information''
2002 Feb 28
2
how to disable homedirs?
Hi,
how can i disable the homedir?
I have a Domain login configuration, but do not want server based
profiles. After I add a workstation to the domain, the user profiles,
created during the first login of a domain user, on that machine are
always server based. Sure, I can change this profile to a local profile,
but I think I can change this it in the samba configuration, that all
profiles are
2008 Oct 05
3
Software Raid Expert Needed
Hello all,
I have 2 x 250GB sata disks (sda and sdb).
# fdisk -l /dev/sda
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 14939 119997486 fd Linux raid
autodetect
/dev/sda2 14940 29878
2008 Mar 17
4
VNC authentication failures to windows HVM
I''ve set xend service properties as follows:
config/vnc-listen astring \''0.0.0.0\''
config/vncpasswd astring \''vnc\''
config/default-nic astring ''nge1''
but I get an authentication error whenever I try to connect to the
console with
''vncviewer :0'' - I''m on the xvm host itself.
other relevant data:
SunOS
2009 Feb 04
4
5.1p1 and X11 forwarding failing
I'm really scratching my head on this one. The server
is running OpenSSH 5.1p1 on Solaris 9. The authentication
is via PAM if that matters.
# grep X11 sshd_config | sed '/^#/D'
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
#
Now I attach to my 'master' sshd and follow all children
to look for any evidence of "DISPLAY":
# truss -f -a -e -p 14923
2008 Jun 22
2
HVM-WindowsXP DomU freezes 10 second while RDP-client try to connect to
i installed an HVM WinXP-SP2 (english) on a xen-3.2.1 @ fedora-core8.
if I try to connect to the RDP-port, the winxp-DomU freeze for about 10 seconds (can''t make any action on the vnc-viewer, all running programs do not update there view (e.g. windows clock does not run) and the "xm top" shows me 100% CPU load on this domain.
After this 10 seconds, I got the normal rdp-login
2001 Mar 19
4
SecurID
When comparing SSH 1.2.27 with OpenSSH 2.5.1 I see that the SecurID
code/patch is not in OpenSSH 2.5.1.
I'm not sure how or why that happened.
Upon looking through the OpenSSH 2.5.1 source, I think I could fairly
easily provide a 'SecurID Authentication Method' patch (which would
rely on -DHAVE_SECURID, -I/blah/securid/include, and
-L/blah/securid/lib... /blah/securid being a
2008 Oct 12
3
blue screen: clock interrupt win2008
Hi,
when installing windows server 2008 Std hvm I get always a blue screen
telling me:
''a clock interrupt was not received on a secondary processor within the
allocated time interval''
I googled around and found, that this occured with vista as well:
http://lists.xensource.com/archives/html/xen-changelog/2007-01/msg00170.html
Config is:
+ virt-install --name=win2008ss
2008 Feb 04
9
Mouse problems running windows xp as a virtual console in opensolaris B81
Hi all,
The mouse is not really useful in the virtual machine.
The actual mouse is like miles away and in order to click on the buttons it is very frustrating to push the buttons.
Does anybody have a solution for this.
thanks in advance
Filip
This message posted from opensolaris.org
2011 Jan 04
1
log level = 20 not showing auth, etc...
Samba 3.5.6
I must be really misunderstanding 'log level' somehow. I have
tried all of the following and cannot get my logs to show
anything related to authentication or share accesses at all:
log level = 20
log level = all:20
log lovel = 3 auth:20
If I access one of the server's shares successfully, not a
single thing shows up in the log. Yes, I am looking at the
2008 Jan 31
5
Solaris DomU HVM Network issues
Hi,
I''m running Nevada 75a configured as dom0. I added a domU HVM running
Nevada 75a, on a Sun X4600 with 8 ADM Dual cores. I can get the domU
installed and configured, however, I can not get any network
connectivity. I followed the steps accoding to documents on Open
Solaris. I also followed some of the threads of the list to verify the
configuration, but I can not fix the
2008 Mar 25
11
Failure to instal S10U4 HVM at SNV85 Dom0
System config:-
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2
inet 192.168.1.53 netmask ffffff00 broadcast 192.168.1.255
ether 0:1e:8c:25:cc:a5
lo0:
2003 Nov 12
1
really clean install?
Good evening, I was finish the FreeBSD4.9 installation from CD, and only do some edit with the /etc/rc.firewall, /etc/rc.conf, /boot/defaults/loader.conf, and recompiling the kernel to support my ext2 backup harddisk, with sndcard support too.
This's a old laptop (ibm380z), i have chkrootkit warning after all finished, i attached my uname -a, dmesg, pkg_info and chkrootkit result, please
2008 Mar 04
2
Mount a dvd image...?
Hi all,
just wanted to ask if it''s possible to mount a dvd image under a domU win as a "cd-rom"?
The "usual" notation
(''file:/export/winxp/winxp.iso,hda:cdrom,r'' becomes ''file:/other/path/whateverDVD.iso,hdf:cdrom,r'') does not seem to work (in the .py file); when I start the xp domU, it simply ignores it, no drive is shown.
I tried
2007 Nov 21
1
OpenSolaris not booting
I finally managed to tar the kernel and install it but it doesn’t boot the system and now I get the following error: -
Failed to get ramdisk from boot
Unexpected trap
Error code, optional 0x0
Code segment 0x28
Flags register 0x10046
Retyrn %rsp 0xc0cfd0
Return %ss 0x8
There is no stack trace and I get a similar error right below the one above when the system tries to backtrace and it says
2005 Nov 21
2
--with-zlib vs. --with-ssl-dir
Unnecessarily different, right? Why not pick one form or
the other consistently?
--with-something-dir (makes much more sense)
or
--with-something (looks like a package enabler)