Displaying 20 results from an estimated 800 matches similar to: "inexplicable undefined method errors"
2006 Jan 06
3
Where to place a global function
Hi all,
I have a little function called format_price(price) that simply formats the
argument as a dollar sign, dollar amount, dot and penny amount. Then, in
a .rhtml file, I could do this:
<%= format_price(item.unit_price * item.quantity) %>
But where do I put the format_price() function definition? The app couldn''t
find it in app/controllers/application.rb. Where do I put it
2005 May 04
0
its package: inexplicable date-shifting
please see also my posting on R-sig-finance
https://stat.ethz.ch/pipermail/r-sig-finance/2005q2/000290.html
Best regards,
Stefan
-------------------------------------------------------
Dr. Stefan Albrecht, CFA
Allianz Private Equity Partners GmbH
Giselastraße 4
D-80802 Munich, Germany
Phone: +49.89.38 00 - 18 317
Fax: +49.89.38 00 - 818 317
stefan.albrecht@allianz.com
www.apep.com
2017 Sep 19
0
Inexplicable missing permissions issue
Thanks for taking a look.
> this is owned by root, and it's complaining about
> /var/logmail/**mbox**/ncrosby
> and dovecot cannot create this because mbox is only writable by root
That's definitely not the issue. As I explained, I've played with
permissions through the entire /var/logmail tree (including the
/var/logmail/mbox directory).
Another configuration in which the
2017 Sep 20
0
Inexplicable missing permissions issue
On 19 Sep 2017, at 5.28, Nelson Crosby <nc at sourcecomb.com> wrote:
>
> I've tried letting Dovecot create this directory, I've tried creating this
> directory manually and giving it any permission I can think of, I've tried
> playing about with the permissions throughout the entire /var/logmail tree,
> but to no avail.
That usually means you've SELinux
2002 Oct 23
4
XP clients & inexplicable pauses
Hi folks,
I recently upgraded two client/server pairs to WinXP and Samba 2.2.6
(on Linux).
Browsing mounted shares causes hangs when right-clicking or double-clicking/
launching files -- about 15 seconds. During this, precious little network
activity is occuring. Something is hanging, locking, sleeping.
Appreciate any advice. Hope it's a simple fix. If not, I'd appreciate
advice on
2017 Sep 19
3
Inexplicable missing permissions issue
Greetings all.
I've been having great difficulty getting Dovecot working. I'm getting
stuck with using mbox directories outside of /home. Dovecot keeps giving
me this message:
imap(ncrosby): Namespace '': stat(/var/logmail/mbox/ncrosby) failed: Permis
sion denied (euid=1001(ncrosby) egid=1001(ncrosby) missing +w perm: /var/lo
gmail/mbox/ncrosby
2006 Jun 07
3
trouble wtih webstore schema, handling product variations
Hi Railers,
Does anyone have any guidance on setting up a simple way to handle
product variations (e.g garment size/color)? Initially, I had thought
that I would make a variation model which defined the extra bits, but it
seems quite inflexible especially so if a store were to sell
non-clothing items that also had variants of one flavor or another.
product
has_many variations
title
2006 May 14
3
Help with domain model/database design
Hi All,
I was wondering if I could get some comments on my approach to the
design of the domain model and database for my rails app. I don''t
have much experience in this so I am wondering if I am heading in the
right direction.
My app is an ecommerce site for my business which is a record label.
That might seem straight forward, but the one thing that might be
tricky is that
2013 Aug 29
2
Inexplicable rejection of credentials
I have a Windows home network with a bunch of Windows boxes and two Ubuntu
boxes. Everything can access shares on everything else, with one
exception: no one can get to the one share on the second Ubuntu box which
I just added to the system.
All my machines have one user account (admin privileges in Windows) with
the name "pauld" and the same password. In an effort to solve this problem
2006 Jul 13
1
From the Agile book, page 144 regarding a div tag helper
Hi. in the Rails Agile book here''s what was happening:
>>>
module StoreHelper
def hidden_div_if(condition, attributes = {})
if condition
attributes["style" ] = "display: none"
end
attrs = tag_options(attributes.stringify_keys)
"<div #{attrs}>"
end
# format_price method ...
end
Note that we cheated slightly here. We copied code from the Rails
2005 Apr 27
2
its package: inexplicable date-shifting ?!
Can someone please explain to me why
the dates get shifted by one day
when I create an its ( irregular time-series )
object from a matrix for which I've
assigned row names.
E.g. in the example run below,
why does the its object have dates
one-shifted from my original dates?
> install.packages('its')
> install.packages('Hmisc')
> require(its)
> m <-
2015 Nov 12
3
Inexplicable ASAN report. Code generation bug?
I'm struggling to explain an ASAN report I'm now getting that I didn't
get previously on the same code. In fact the report only happens with
-O2 and not when I remove the -O flags which makes it hard to debug
and makes me suspect it's dependent on exactly which instructions the
code generation decides to access the bytes involved. Afaict the C
code shouldn't be accessing the
2015 Nov 14
2
Inexplicable ASAN report. Code generation bug?
On Thu, Nov 12, 2015 at 8:42 PM, Kostya Serebryany <kcc at google.com> wrote:
> 2 questions:
> - Do you see this with the fresh llvm trunk?
> - Can you prepare a minimized example?
Pretty recent, I updated a couple days ago. I tried to minimize the
attached but at the same time I didn't want to lose too many unions
and casts in case it didn't trigger any more.
$ clang
2016 Apr 18
2
[cfe-dev] [libunwind] __ELF__ macro for arm-none-eabi
On 18 April 2016 at 16:33, Silviu Baranga <Silviu.Baranga at arm.com> wrote:
> Doing a grep "eabi" * -R | grep darwin in llvm I found the test divmod-eabi.ll
> which uses the triple armv7-apple-darwin-eabi. What format does that have?
Certainly not ELF. :)
But I didn't mean "has eabi on triple", but "is in none-eabi mode",
which may have to check a
2006 Jul 03
0
Page 129 of Agile Web Dev on Rails (or pg141 of pdf!)
Hi - another question, sorry....
I''m trying to get the highlighting effect to work on the current_item.
The page refreshes fine, and then I get an error as the highlighting
code is fired:
page[:current_item].visual_effect :highlight,
:startcolor => "#88ff88",
:endcolor => "#114411"
The error
2006 Aug 11
2
Array#chunk method, maybe someone will find this useful
class Array
# break an array up into <size> chunks
def chunk(size=1)
return self if self.empty?
raise ArgumentError if !size.kind_of? Integer
y = self.length.divmod(size)
rows = (y[1] > 0) ? y[0] + 1 : y[0]
arr = Array.new(rows)
(0...rows).each do |i|
arr[i] = self.slice(size*i, size)
end
(arr.last.length...size).each { |i| arr.last[i] = nil }
2006 Jun 15
2
AJAX form inside table - error
Hello,
I need to put an AJAX, form such that it is inside a table, and spans across
few rows.
But, what I am noticing is that, while submitting the form, the data in the
fields is not submitted.
If I move the form outside the table or inside a cell, things work OK, but not
when the form is inside the table and spans few rows. This problem is only
with AJAX forms, regular forms work perfect. I
2020 Jul 16
3
Selection DAG chain question
Re: Do they really need to be chained with each other or anything else
Yes. For 2 reasons. Our architecture lowers udivmem into something with 1
producer and 2 consumers. Reason 1) neither the producers nor the consumers
must get reordered. Reason 2) one of the consumers might be missing (either
the div or mod consumer might not be present. Yet we need to keep the
consuming instruction with side
2018 Dec 03
3
The builtins library of compiler-rt is a performance HOG^WKILLER
Hi @ll,
LLVM-7.0.0-win32.exe contains and installs
lib\clang\7.0.0\lib\windows\clang_rt.builtins-i386.lib
The implementation of (at least) the multiplication and division
routines __[u]{div,mod,divmod,mul}[sdt]i[34] shipped with this
libraries SUCKS: they are factors SLOWER than even Microsoft's
NOTORIOUS POOR implementation of 64-bit division shipped with
MSVC and Windows!
The reasons: 1.
2008 Mar 25
3
[LLVMdev] Whole-function isel
Chris,
Chris Lattner wrote:
> I would love to see any progress in this area. It is clearly an
> important thing to tackle, and it is blocking other interesting
> improvements in the code generator. It would also allow us to
> eliminate a significant amount of weirdness that exists to hack around
> this (e.g. switch lowering).
we've been working on a whole-function