Displaying 20 results from an estimated 500 matches similar to: "OSX R GUI visual interface tweak (PR#11318)"
2008 Mar 13
3
TaskBarIcon in OS X
Is the Wx:TaskBarIcon supported under OS X? I can''t seem to get it
working. My code works under Windows, but not OS X. I thought it was
something I was doing, so I tried the bigdemo.rb sample and that
doesnt'' seem to like OS X either.
I''m running OS X 10.5 with wxRuby 1.9.5 gem and ruby 1.8.6.
-dave
--
David Grandinetti
(315) 569 2594
2008 Apr 23
1
Validation dependent on unsaved parent
I''m having trouble with a validation that depends on an attribute of a
belongs_to parent. If the child is added to an unsaved parent
(parent.children << new child), the has_many collection
parent.children includes the unsaved child. However the belongs_to
attribute child.parent appears to be nil until the parent has been
saved. Without access to the parent attributes, the validation
2006 Mar 13
2
relationship woes
I have two tables:
class PgmUpdate < ActiveRecord::Base
has_many :pgm_visits, :foreign_key => ''pgm_update_fk''
...
and
class PgmVisit < ActiveRecord::Base
belongs_to :pgm_update, :foreign_key =>
''pgm_update_fk'', :dependent => true
...
According to the has_many docs (http://api.rubyonrails.org/classes/
2006 Mar 28
2
R crashes during 'eigen'
Hi all,
Hi,
When I want to compute the eigenvalues & eigenvectors of a specific
matrix, R crashes (i.e. it stops responding to any input). I've tried it
with different versions of R (2.1.1, 2.2.0, 2.2.1) - all with crashing
as result.
What I did before the crash was:
M <- as.matrix(read.table("thematrix",header=T))
eigen(M)
If, instead of eigen(M), I use eigen(M,
2003 Jun 03
3
Server overloaded? Or is it a bug?
Hi all!
I need your help.
My server doesn't respond any more. Everything crashed.
How can I find out if this is a bug or it is simply overloaded?
I don't have much running, just KDE with about 10 programs
on each of the 16 desktops, and a few background processes.
This seems much, but I often have much more stuff running,
and it is not even slow.
It does respond when I ping it, but
2005 Dec 27
4
How do you detect if ActiveRecord ''update'' fails?
So I''m updating multiple model objects in one go with something like
this in my controller:
=> Photo.update(params[:photo].keys, params[:photo].values)
When the update fails due to validation errors, how do I detect it?
The Rails API says:
"If the save fails under validations, the unsaved object is still
returned."
So I can''t simply do this:
=> if
2006 Jun 03
1
Can I tell if the associated record is new in a belongs_to save?
In a belongs_to association, is there a way to tell if the associated object
was newly created?
Hopefully this will explain my question:
A Firm class declares
has_many<http://api.rubyonrails.com/classes/ActiveRecord/Associations/ClassMethods.html#M000530>:clients
and a
client class declares
2005 Dec 27
1
How do you detect if ''update'' save fails?
So I''m updating multiple model objects in one go with something like
this in my controller:
=> Photo.update(params[:photo].keys, params[:photo].values)
When the update fails due to validation errors, how do I detect it?
The Rails API says:
"If the save fails under validations, the unsaved object is still
returned."
So I can''t simply do this:
=> if
2015 Mar 12
1
[PATCH] generator: small optimization of pod2text cache memoization
Instead of save every time there's a new element in the cache, batch the
saving to disk every 100 changes, saving the unsaved remainder at the
exit.
While not a big optimization, this reduces a bit the disk usage during
generator run.
---
generator/utils.ml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/generator/utils.ml b/generator/utils.ml
index
2019 Oct 12
1
Password issue
On Oct 11, 2019, at 7:26 PM, @lbutlr via dovecot <dovecot at dovecot.org> wrote:
>
> setting the explicit port for SMTP and.or IMAP advanced settings didn?t change the port it actually tried connecting go until I removed the account and re-added it.
I'm sure you tried this before deleting/re-adding, but just in case not: you do have to close out of the settings window (or switch
2002 Sep 10
1
print command %J (job name) problem
i'm setting up a samba pdf (virtual) printer. it all works, except that
i can't get the windows' job name, to give a readable (and consistent)
name to the generated pdf file. according to the manpage i can use %J to
get the job name, but it doesn't work. the clients are win98 boxes. i
tried to print either a test page, a unsaved word doc and a saved word
doc.
this is the
2009 Jul 23
3
bizarre firefox/X11 problem on centos 5.3
I set up a Centos5 box at work a week or two ago. Today I had this
bizarre, repeatable problem:
fire up firefox 3.5.1, browse to centos.org, go to the wiki, click the
HOWTO button at the top of the page, and either at that point, or a
moment later when clicking the link for the RAID documents, KABOOOOMMM!!!
X dies and you return to a login prompt. I did it at least three times.
Not nice when I
2006 May 20
10
HOW TO create a new record and its associated objects within the SAME PAGE
hi,
can''t find any good tutorial or advice to deal with the creation of a
new record and it''s associated objects within the same page.
do i have to use ajax just to add custom form fields that will be
handled by the controller for associated objects creation.?
do i have to use ajax to add associated objects to the unsaved but
allready in session parent object?
what''s
2009 Jul 31
2
MS Word document window disappearing in 2003 & 2007 versions
Hi
Regularily, I will 'lose' a Word document window. It happens when both single and multiple documents are opened. I will first explain the 2 document case.
If I open 2 documents, I can see this fact by looking at the 'window' menu; there, it will say that there are 2 documents open. I can see one document, on screen, but when I try to activate the document that is not seen,
2010 Apr 21
1
[LLVMdev] Proposal: stack/context switching within a thread
On Fri, Apr 16, 2010 at 9:30 PM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> On Sun, Apr 11, 2010 at 10:07 PM, Jeffrey Yasskin <jyasskin at google.com> wrote:
>> I'll forward your next draft back to the stackless folks, unless you
>> want to pick up the thread with them.
>
> Their reply: http://thread.gmane.org/gmane.comp.python.stackless/4464/focus=4475
2007 May 09
6
more_like_this
Hi,
I''m using acts_as_ferret in my rails application and I''d like to use
more_like_this to retrieve some ''similar'' item suggestions. I have a
class ''items'' which has a status field and I need to retrieve items that
only have one of the two possible statuses.
Looking at the more_like_this method indicates it supports an
:append_to_query
2007 Jun 11
2
Testing create in Rails controller
Hi All
So I am a first-time caller ;-) ... and have been trying to apply
RSpec to the depot example in Dave Thomas'' book as I build the
application.
I am having a problem testing the admin controller create method and
cannot quite see where I am going wrong so was hoping for a pointer :-)
My spec looks like:
describe AdminController do
before(:each) do
@product =
2015 Apr 20
4
[PATCH 00/18] virtio-blk: Support "VIRTIO_CONFIG_S_NEEDS_RESET"
On Fri, Apr 17, 2015 at 03:59:15PM +0800, Fam Zheng wrote:
> Currently, virtio code chooses to kill QEMU if the guest passes any invalid
> data with vring.
> That has drawbacks such as losing unsaved data (e.g. when
> guest user is writing a very long email), or possible denial of service in
> a nested vm use case where virtio device is passed through.
>
> virtio-1 has
2015 Apr 20
4
[PATCH 00/18] virtio-blk: Support "VIRTIO_CONFIG_S_NEEDS_RESET"
On Fri, Apr 17, 2015 at 03:59:15PM +0800, Fam Zheng wrote:
> Currently, virtio code chooses to kill QEMU if the guest passes any invalid
> data with vring.
> That has drawbacks such as losing unsaved data (e.g. when
> guest user is writing a very long email), or possible denial of service in
> a nested vm use case where virtio device is passed through.
>
> virtio-1 has
2015 Apr 21
2
[Qemu-devel] [PATCH 00/18] virtio-blk: Support "VIRTIO_CONFIG_S_NEEDS_RESET"
On Tue, Apr 21, 2015 at 10:37:00AM +0800, Fam Zheng wrote:
> On Mon, 04/20 19:36, Michael S. Tsirkin wrote:
> > On Fri, Apr 17, 2015 at 03:59:15PM +0800, Fam Zheng wrote:
> > > Currently, virtio code chooses to kill QEMU if the guest passes any invalid
> > > data with vring.
> > > That has drawbacks such as losing unsaved data (e.g. when
> > > guest