Displaying 20 results from an estimated 9000 matches similar to: "Best location for generic classes?"
2005 Nov 21
2
Multiple user_id columns
I have a table called ''users''. I have a second table called ''comments''.
The comments table is in need of _two_ columns that both reference
different user ids within the ''users'' table (one column for the user id
that originated the post, another column for the user id for which the
message is intended for.
Obviously I can''t create
2006 Jul 17
3
Plugins and Engines
I''m trying to work out how to use the functionality from a plugin in an
engine. It sounds weird, but it''s actually not so strange.
I assume I can''t just add a vendor directory to an Engine, so some
strategy for getting the plugin in the lib folder is probably necessary
(and then requiring the plugin, perhaps?).
-- Yehuda Katz
--
Posted via
2006 May 10
2
accessing uploaded file on filesystem question.
Hi,
I''m able to upload files onto my webserver filesystem but I had a question
regarding how I''d go about accessing them using the <img src="..." > tag.
If my files, i.e pictures, are being uploaded to
public/images/<dir>/filename.jpg, then should I store the entire path, or
just the picture name in my database table? I would imagine storing just
the
2005 Mar 04
5
Rails and SCM Best Practices
Hi all--
I''m starting a new Rails project and I''m preparing to import it into my
local Subversion repository. In the past, I''ve just imported the entire
set of files generated by ''rails'', but I''m starting to wonder if that is
the best way to approach things.
For instance, it makes sense to add the log/ directory, but probably not
the
2018 Dec 14
4
LLVM Backend for a platform with no (normal) stack
Thanks, no malloc or free equivalents either (no heap).
So, there are no others (to your knowledge) who have built an LLVM backend for a platform with no “normal” stack? I found a presentation about some FPGA work (using LLVM) but it doesn’t seem to apply to my platform. Perhaps someone else on the mailing list will have come across this rarity?
Thank you again for your time and
2005 Dec 25
2
How do I install user_engine & login_engine?
Hello,
I have a Mac & PC and want to install these plug-ins.
I do not understand the svn, what commands do I use?
Thanks
Frank
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the
README file. When I try to start WebBrick i get the following error:
./script/../config/../config/environment.rb:55: undefined method `config'' for
LoginEngine:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__''
from
2018 Dec 14
2
LLVM Backend for a platform with no (normal) stack
Thanks for your response. Please see below.
From: Bruce Hoult [mailto:brucehoult at sifive.com]
Sent: Thursday, December 13, 2018 5:58 PM
To: jjones at prc-hsv.com
Cc: LLVM Developers Mailing List <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] LLVM Backend for a platform with no (normal) stack
Do you have a register that you can store a memory address
>> yes
in and
2019 Feb 04
2
Variable names rule
Hi Tim,
Sorry, I'm not sure I follow. Are you maybe thinking that if the identifiers were tagged to specify scope, people would still be trying to use acronyms or single letters? So that, what in future code might be F, would instead be _f and that would be worse than f_ or s_f? I was thinking instead F would be (for new or modified code) _function or _fnctn or _func (as an object of type
2019 Feb 04
2
Variable names rule
If we're talking about member variables, just put an m in front of it,
problem solved. You already have one for s_, and I didn't see you mention
it but I assume you'd want g_ for globals, so m_ makes perfect sense for
member variables and there's no question about UB at that point.
On Mon, Feb 4, 2019 at 1:27 PM JD Jones via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
2011 Aug 23
2
How can I do these simulations with R code
1) The Pareto P(alfa) distribution is defined by its density f(x|alfa) =alfa*X^(-alfa-1) over (1 to infinity). Show that it can be generated as the -1/alfa power of a uniforme variate. Plot the histogram and the density.
2) The Poisson distribution P(lambda) is connected to the exponential distribution through the Poisson process in that it can be simulated by generating exponential random
2007 Sep 10
1
MLE Function
I am just trying to teach myself how to use the mle function in R because it is much better than what is provided in MATLAB. I am following tutorial material from the internet, however, it gives the following errors, does anybody know what is happening to cause such errors, or does anybody know any better tutorial material on this particular subject.
>
2018 Dec 17
2
LLVM Backend for a platform with no (normal) stack
Yes, thank you, specifically and all. On this platform, we call what I will use a "frame stack" (it's actually not a stack, but that's really not relevant). Special thanks to Mr. Mendell--I promise to make good use of the contents of lib/Transforms/Utils/PromoteMemoryToRegister.cpp.
To All, I'm sorry I wasn't clear in my original posting. In hindsight, it was clearly
2019 Feb 04
2
Variable names rule
If _<lowerCaseLetter> violates a standard, please say which one. It does not violate the C++11 standard:
•Reserved in any scope, including for use as implementation macros:
•identifiers beginning with an underscore followed immediately by an uppercase letter
•identifiers containing adjacent underscores (or "double underscore")
•Reserved in the global namespace: •identifiers
2008 May 08
3
MLE for noncentral t distribution
I have a data with 236 observations. After plotting the histogram, I found that it looks like non-central t distribution. I would like to get MLE for mu and df.
I found an example to find MLE for gamma distribution from "fitting distributions with R":
library(stats4) ## loading package stats4
ll<-function(lambda,alfa) {n<-200
x<-x.gam
2017 Jul 30
3
greek letters do not work in expression
Dear all,
I appreciate suggestions for following problem. I wrote to RStudio:
plot(c(1,20),c(1,20), xlab = expression(paste(alfa)))
or the same happen when I wrote:
plot(c(1,20),c(1,20), xlab = expression(alfa))
what happen is, that description under x label is exactly "alpha", not greek
letter alfa (?).
Please where should I search problem, or what information to sent to list for
2009 Sep 11
1
call Fortran from R
Dear R users,
I have to call fortran program from within R (R 2.8.1 on ubuntu 8.10
machine).
Suppose I have a fortran code like this (this is only a toy model, my
working model is far more complex, but input/output is similar)
DOUBLE PRECISION FUNCTION model(times, alfa, beta)
DOUBLE PRECISION alfa, beta, times
model=beta*sin(times)+alfa*cos(times)
END FUNCTION
which
2005 Oct 31
7
Downloading zip files
I have not had a great amount of success installing/updating packages
from the "Packages" menu of Rgui under Windows XL. (Except for
installing from loacal zip files.)
But I am not asking for help in using these facilities because I prefer
to keep a folder of package zip files. On the other hand I do find it
tedious having to right-click "Save link as" on every individual
2005 Sep 06
2
(no subject)
my problem actually arised with fitting the data to the weibulldistribution,
where it is hard to see, if the proposed parameterestimates make sense.
data1:2743;4678;21427;6194;10286;1505;12811;2161;6853;2625;14542;694;11491;
?? ?? ?? ?? ?? 14924;28640;17097;2136;5308;3477;91301;11488;3860;64114;14334
how am I supposed to know what starting values i have to take?
i get different
2006 Apr 28
2
entries that match a regexp
Hi all,
I am trying to filter the element of a df that start with "TF", like
this:
alfa =
c(123221,"TF13124",41243,"TF1234",32414,"TF13124","TF14333",2134123,"TF1234")
beta =