Displaying 20 results from an estimated 5968 matches for "expensive".
2006 Jul 12
1
Question re: Computing a field in a DB record
I''m just learning Rails and have encountered a problem trying to set
a field in a DB record based on the value of another form input
field. Using the scaffold code, the create works as expected and the
update (edit) also works. However, one of the DB fields (amount) is
supposed to be computer from another (units): if the category field
is "Mileage", amount= units *
2006 May 29
1
validation in a "subform"
I''ve been following the rails/osx tutorial at
http://developer.apple.com/tools/rubyonrails.html
This develops a simple application with expenses and accounts.
Near the end of the tutorial, there is a view which allows expenses to
be added to an account.
This view has the "parent" @account rendered, then iterates throught
@account.expenses to display the existing accounts,
2009 Nov 18
4
rails newbie : routing error
After much ado about the naming of model adn controllers...
model : Expense
controller : Expenses
route : map.resources :expenses
Here I am using mysql database and created a unique index, since
db:migrated created an id object and made it as primary key. Now in
the
def create
@expense = Expense.new(params[:expense])
if @expense.save
flash[:viola] = ''New expense saved.. be
2008 Mar 08
9
Newbie worries with "Developing Rails Applications on Max OSX Leopard"
Hello There,
As a new comer to RoR, I started to follow the article
http://developer.apple.com/tools/developonrailsleopard.html. In short
you create to entities and one one-to-many relation linking them.
Everything was good until the establishment of the relation. I am
unable to go any further than "Linking Models Together" : I can create
the "vendors" mentionned in the
2017 Dec 06
3
buildbot failure in LLVM on llvm-clang-x86_64-expensive-checks-win
I’ve had another look, and some of the failing tests don’t use temporary files, so I don’t think this is a case of tests having side-effects.
Instead, I’ve noticed that in the build log (http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/6552/steps/build-unified-tree/logs/stdio), llvm-tblgen.exe is built (my patch modified it), but the table-generation steps of the main build (importantly, ARMGenAsmMatcher.inc) do not appear to be running. I think this would explain the FileCheck output from those failing tests....
2006 Mar 31
14
[newbi] Create a Model
Hello All,
Yesterday i put RoR with Locomotive. I am very happy :p.
So I follow this tuto
(http://developer.apple.com/tools/rubyonrails.html). I used Sqlite.
my database.yml
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
# (on OS X: gem install mysql -- --include=/usr/local/lib)
# And be sure to use new-style password
2017 Apr 21
3
r300964 and the llvm-clang-x86_64-expensive-checks-win buildbot
...t happened otherwise.
בתאריך יום ו׳, 21 באפר׳ 2017 ב-18:29 מאת Simon Pilgrim via llvm-dev <
llvm-dev at lists.llvm.org>:
> For reasons I’m not sure about it needs a clean build every so often -
> I’ve forced a build at
> http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/1341
> and its gone green again.
>
> On 21 Apr 2017, at 15:17, Daniel Sanders via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
> One of my commits earlier today (r300964) is causing
> llvm-clang-x86_64-expensive-checks-win to fail with...
2008 May 13
6
[LLVMdev] Iterator protocols
...e end of the sequence is
reached. The Java style is to have a separate "hasNext" method on the
iterator object that says whether or not the sequence is finished.
So the question is, what's the trade-off. In most languages that support
exceptions, you tend to think of exceptions as expensive operations that
should only be thrown if something truly "exceptional" happens. OTOH,
the Java case is also made worse by the fact that a large part of the
time you'll be using the more expensive interface dispatching, rather
than simple vtable dispatching.
I would imagine that f...
2010 Jul 16
31
Added associations but don't see generated methods
Hi,
I''ve got a Rails app working that includes two two classes, etc.:
Expense & Vendor. I eventually learned that the mental concept I had
of their relationship should be express in Rails as:
class Expense < ActiveRecord::Base; belongs_to :vendor; end
class Vendor < ActiveRecord::Base; has_many :expenses; end
2017 Apr 21
2
r300964 and the llvm-clang-x86_64-expensive-checks-win buildbot
Hi,
One of my commits earlier today (r300964) is causing llvm-clang-x86_64-expensive-checks-win to fail with a compilation error (http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/1331 <http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/1331>) and I'm having trouble figuring out why. I had seen something similar b...
2009 Jun 09
1
Read only configuration.
Hi,
I currently I have a Samba share configured as follows:
[pub_fileshare]
comment = Public fileshare
path = /u02/pub
guest ok = Yes
writeable = Yes
There is a subfolder under /u02/pub called /u02/pub/expenses/hardware
that I need to make read only. How do I do this? I am new to using
Samba.
I configured the share /u02/pub/expenses/hardware using the
configuration below. This works as it is
2006 Apr 06
1
Look What 911 Will Cost in Canada
Check out the proposed prices when this is approved.
BELL CANADA REPORT
ON THE
ECONOMIC EVALUATION
FOR
THE TARIFF REVISION
OF
Bell Canada's Access Services Tariff Item 315 ? Zero-Dialed
Emergency Call Routing Service (0-ECRS)
*2 March 2006
TABLE OF CONTENTS
Page
1.0 GENERAL 3
1.1 Purpose of the Study 3
2.0 SERVICE DESCRIPTION 3
2.1 Service Characteristics 3
2.2
2014 Apr 24
2
Asterisk -rx, how expensive is it? Should you avoid "spamming" it?
Just like the subject sais - how expensive is it to execute a lot of these
commands to keep track of different things in asterisk?
I have avoided doing this because it feels a bit like a risk to spam the
asterisk CLI this way, but is it really?
CPU-wise it doesn't seem very expensive to do it 100 times a second (from a
simple test I d...
2009 Aug 10
2
ggplot: colours to geom_segments
Just as an exercise I am tying to add colours to a geom_segment command. I can get one colour but not a sequence of colours.
Can anyone suggest how I can get the green lines in the plot below to be different colours? I thought I could use a palatte of colours but that did not seem to work.
Thanks
=========================================================================
library(ggplot2)
xx
2016 Mar 26
2
Existing studies on the benefits of pointer analysis
...s entirely on your goal. In reality, often what you really want is
something to say "hey, i've got this pointer over here, and i really want
to hoist it up here. Do something, tell me if that is possible".
(This is actually why i'm a fan of CFL-AA. You can essentially make it as
expensive or not expensive as you want, and it still does really well in
pracftice in time)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160325/a8173694/attachment.html>
2010 Apr 14
35
Conditionally adding a link to a form -- how?
I''ve got two entities created by scaffolding: Expense & Vendor
In Expense#new there''s a form with a Vendors-drop-down and a NewVendor-
button.
The latter button brings up Vendor#new.
The Create button in Vendor#new brings up Vendor#show with Edit & Back
links.
I want to append a third link conditionally to Vendor#show: if the
Expense#new form led to the Vendor#show
2016 Mar 26
0
Existing studies on the benefits of pointer analysis
...Do something, tell me if that is
> possible".
>
And this is one motivation of my current research: how can various
precision dimensions of a pointer analysis be effectively driven by its
client.
> (This is actually why i'm a fan of CFL-AA. You can essentially make it
> as expensive or not expensive as you want, and it still does really
> well in pracftice in time)
>
Again, "making it as expensive or not expensive as you want" is not
something unique about cfl-aa. With the right tweak one can also do it
with a traditional solver. The real interesting questio...
2005 Dec 20
12
How to model "Expense Report" in Rails MVC
1st: I am a newbie to Rails & to pure OO.
Q: I want to use rails for creating a "master-detail" form. page layout
will allow users to type in an "expense report header" and as many
"expense report lines" as they need to. I understand how to wrap the
final submit action using "transaction" to ensure the inserts to the
database happen within the same
2004 Oct 06
4
SNAT is less expensive than MASQ
hi,
in the masq file''s documentation, there is a sentence:
"If you have a static IP on that interface, listing it here makes
processing of output packets a little less expensive for the firewall."
this realy means that SNAT to the primary address is less expensive than
a MASQ rules in the netfilter? is this documented anywhere in
iptables/netfilter?
thanks.
--
Levente "Si vis pacem para bellum!"
2003 Aug 05
2
Why are FXO so expensive?
Hi,
I've been browsing for FXO devices, and I'm really surprised at their costs.
Why such devices are so expensive and somehow hard to get ?
Samy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030805/a92ee327/attachment.htm