Displaying 20 results from an estimated 3000 matches similar to: "Rails Community Site Hacked"
2004 Dec 27
4
Found security expliot in port phpBB 2.0.8 FreeBSD4.10
I think, there is a neat exploit in the phpbb2.0.8 because I found my home
page defaced one dark morning. The patch for phpBB is here.
http://www.phpbb.com/downloads.php
The excerpt of the log is attached.
I believe the link to the described exploit is here.
http://secunia.com/advisories/13239
The defacement braggen page is here filter to show the exploited FreeBSD
machines that aneurysm.inc
2005 Mar 26
2
Problem with GEM
I try the following command:
gem cleanup
and I get this:
C:\Ruby\bin>"c:\Ruby\bin\ruby.exe" "c:\Ruby\bin\gem" cleanup
ERROR: While executing gem ... (RuntimeError)
Unknown command cleanup
Even if I try:
gem cleanup rails
I get the same thing.
Anyone know what I am doing wrong?
Thanks,
Chad
2005 Sep 14
9
Sending Emails via Cron
I''m developing an application using RoR that will generate enough email
notifications that I don''t want them in the actual web application. So, I''m
thinking about having an outgoing queue that a cron job would pick up and
deliver. My question is if this is possible with a ruby script that uses
ActiveRecord and ActiveMailer?
2005 Jun 06
14
Handling Images And Rails
On my website people will be able to upload images of themselves. I
was wondering how people are presently handling uploading, resizing
and optimizing images in Rails? Do you use a specific piece of
software to do it? What would you guys recommend? Any code from
RailsDay? :-)
Also, do you guys store the images in the DB or just as files? What
do you suggest? What are the pros and
2004 Nov 23
6
Weibull survival regression
Dear R users,
Please can you help me with a relatively straightforward problem that I
am struggling with? I am simply trying to plot a baseline survivor and
hazard function for a simple data set of lung cancer survival where
`futime' is follow up time in months and status is 1=dead and 0=alive.
Using the survival package:
lung.wbs <- survreg( Surv(futime, status)~ 1, data=lung,
2012 Oct 13
4
Problems with coxph and survfit in a stratified model with interactions
I?m trying to set up proportional hazard model that is stratified with
respect to covariate 1 and has an interaction between covariate 1 and
another variable, covariate 2. Both variables are categorical. In the
following, I try to illustrate the two problems that I?ve encountered, using
the lung dataset.
The first problem is the warning:
To me, it seems that there are too many dummies
2005 May 24
2
Deleting from a 'has_many' collection doesn't set the foreign key to NULL
Hi all,
I have an Active Record problem. Having this classes declaration.
class Sale < ActiveRecord::Base
has_many :sale_line_items, :class_name ''SaleLineItem''
...
end
class SaleLineItem < ActiveRecord::Base
...
end
When I try to delete an item in a Sale class method from sale_line_items
(sale_line_items.delete(li)), it extracts ''li'' from
2012 Oct 14
1
Problems with coxph and survfit in a stratified model, with interactions
First, here is your message as it appears on R-help.
On 10/14/2012 05:00 AM, r-help-request@r-project.org wrote:
> I?m trying to set up proportional hazard model that is stratified with
> respect to covariate 1 and has an interaction between covariate 1 and
> another variable, covariate 2. Both variables are categorical. In the
> following, I try to illustrate the two problems that
2020 Oct 24
3
Issue with data() function
I found an issue with the data() command this evening when working on the survival package.
1. I have a lot of data sets in the package, almost all used in at least one vignette,
help file, or test.? As a space saving measure, I have bundled many of them together,
i.e., the file data/cancer.rda contains 19 data sets, many of them small. The resulting
file (using xz compression) is quite a bit
2010 May 23
3
"order" issue
Hi everybody, this is a real dummy thing.
I sorted a matrix based on a given column, and what I get is right, until it comes to columns of negative and positive values; than, "order" orders everything from max to min in the negative values, and then AGAIN from max to min in the positive values!!!
Why isn't everything order from max to min, and that's it?
Thank you!!!
Attached
2008 Nov 26
1
survreg and pweibull
Dear all -
I have followed the thread the reply to which was lead by Thomas
Lumley about using pweibull to generate fitted survival curves for
survreg models.
http://tolstoy.newcastle.edu.au/R/help/04/11/7766.html
Using the lung data set,
data(lung)
lung.wbs <- survreg( Surv(time, status)~ 1, data=lung, dist='weibull')
curve(pweibull(x, scale=exp(coef(lung.wbs)),
2009 Sep 08
1
Obtaining value of median survival for survfit function to use in calculation
Hi,
I'm sure this should be simple but I can't figure it out! I want to get the median survival calculated by the survfit function and use the value rather than just be able to print it. Something like this:
library(survival)
data(lung)
lung.byPS = survfit(Surv (time, status) ~ ph.ecog, data=lung)
# lung.byPS
Call: survfit(formula = Surv(time, status) ~ ph.ecog, data = lung)
1
2006 Sep 28
3
configuration tools
Hi,
I was looking around for configuration tools for compiz. I don't really need
anything special, but situation seems a bit problematic at the moment:
- gset-compiz: Used it in the past, website is dead.
- compiztools: Never seen it, but from what I read seems ok, but website
defaced and download dead
- csm: doesn't work with vanilla compiz
So: Is there any tool atm to set the compiz
2009 Jan 30
3
paste together object names to pass it on to a function
Hello,
I have a maybe trivial question, but I simply don't understand well
enought how to work with text/strings:
I have a rather compelx data structure, a big list with several
sub-lists/dataframes and for certain calculations (which I do in
loops), I only need a certain group of sub-lists/dataframes, which I
want to specify with a name vector and paste together the object name
and pass it
2010 Jan 29
1
help on drawing right colors within a grouped xyplot (Lattice)
Hi,
I've lost my mind on it... I have to scatterplot two vectors, grouped by a third variable, with two different dimensions according to whether each cell line in the plot is sensitive or resistant to a given drug, and with a different color for each of 9 tissues of origin.
Here's what I've done:
2004 Nov 24
2
confidence interval of a average...
I have a sample of lung capacities from a population measured against
height. I need to know the 95% CI of the lung capacity of a person of
average height.
I have fitted a regression line.
How do I get a minimum and maximum values of the 95% CI?
My thinking was that this has something to do with covariance, but how?
My other thinking was that I could derive the 0.975 (sqrt 0.95) CI for the
2005 Dec 14
4
find_by_ issue
In the Agile RoR book, page 219 (softcover version) they talk about the
fact you can use the methods: find_by_ and find_all_by_ and fill in the
last piece with a valid column name.
So I have a database table called "parts" and the following columns:
id
partname
partnumber
vendor
I do the following:
(connection to DB already established)
class Part < ActiveRecord::Base
end
2002 Sep 10
2
loading printers
I just configured a server to use the CUPS printing system and have all
my printers shared out by Samba. I made all the necessary changes to
the smb.conf file but don't want to restart samba in the middle of the
day since it is a high traffic server and don't want to break
connections. Is there a way to just have samba load all these printers
without restarting the service????
2005 Dec 15
10
.rpdf ?
I haven''t delved into the wonderful world of PDF::Writer yet, nor have I
run across a need.. but I just had an idea I wanted to throw out there
how hard would it be to create a .rpdf template plugin for rails?
could be neat ;]
2005 Jun 29
3
Smbd processes out of control
In the past few months we have seen a couple of our production servers
crash that are running samba-3.0.14a-1. What seems to happen is the
smbd pid's seem to grow and grow until an out of memory error occurs and
the smbd process just hangs. A simple restart does not even clear out
the pid's. I end up rebooting to just clear it all out and start
fresh. It probably has happened at