Displaying 20 results from an estimated 2000 matches similar to: "web2py and rails on Windows"
2008 Feb 05
1
web2py
I apologize in advance but I thought some of the rails users may be
interested in this...
I just released web2py 1.20
www.web2py.com
You can see 5 min tutorial here
http://www.youtube.com/watch?v=VBjja6N6IYk
and a 45min tutorial here:
http://www.vimeo.com/428474
New features include the inclusion of a web based testing framework -
a screenshot is here:
1999 Sep 22
1
dates screwed up, help!
Hi, the problem I am reporting relates to RH Linux 6.0
I have successfully mounted a disk from a windows NT server machine,
using smbmount as follows:
$ smbmount //machine/service -c 'mount /mnt/NTgroups -u local_owner' -U
remote_username
and everything looked fine. Now I have just noticed that when "touching"
or creating files everything behaves strangely, that is the date is
2000 Oct 31
1
Silhouette plot labels in package cluster
Hello everybody:
I have just started using R, specifically the clustering packages. Despite
the vastness of the functionality of the system, I have found it very
flexible and intuitive. It has been great fun to experiment with it.
Nevertheless, I am under tight time constraints to complete a cluster
analysis of some data and need to come up with a "quick" solution for the
following
2017 Nov 09
1
weighted average grouped by variables
Dear Massimo,
It seems straightforward to use weighted.mean() in a dplyr context
library(dplyr)
mydf %>%
group_by(date_time, type) %>%
summarise(vel = weighted.mean(speed, n_vehicles))
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team
2017 Nov 23
1
assign NA to rows by test on multiple columns of a data frame
yes, it works, even if I do not really get how and why it's working the combination of logical results (could you provide some insights for that?)
moreover, and most of all, I was hoping for a compact solution because I need to deal with MANY columns (more than 40) in data frame with the same basic structure as the simplified example I posted
thanks
m
----- Messaggio originale -----
Da:
2017 Nov 22
1
assign NA to rows by test on multiple columns of a data frame
...well, I don't think this is exactly the expected result (see my post)
to be noted that the columns affected should be "A" and "B"
thanks for the help
max
----- Messaggio originale -----
Da: "Rui Barradas" <ruipbarradas at sapo.pt>
A: "Massimo Bressan" <massimo.bressan at arpa.veneto.it>, "r-help" <r-help at
2012 May 09
1
Authorization to publish the Riello UPS protocols
(forwarding msg because of attachments too big)
@Massimo: prefer to send references instead of actual documents,
whenever you mail to the list.
We have a 40Kb limit, to not overload our readers.
Please also avoid Microsoft OpenXML (Ie, .xlsx, .docx, ...) and prefer
PDF or anything else that is actually inter-operable .
Thus I've converted the XLSX spreadsheet to PDF.
To all: I've added
2017 Nov 09
0
weighted average grouped by variables
Hello
an update about my question: I worked out the following solution (with the package "dplyr")
library(dplyr)
mydf%>%
mutate(speed_vehicles=n_vehicles*mydf$speed) %>%
group_by(date_time,type) %>%
summarise(
sum_n_times_speed=sum(speed_vehicles),
n_vehicles=sum(n_vehicles),
vel=sum(speed_vehicles)/sum(n_vehicles)
)
In fact I was hoping to manage everything in a
2017 Nov 22
0
assign NA to rows by test on multiple columns of a data frame
Hi *Massimo,*
*Try this.*
*a <- mydf==0mydf[a] <- NAHTHEK*
On Wed, Nov 22, 2017 at 5:34 AM, Massimo Bressan <
massimo.bressan at arpa.veneto.it> wrote:
>
>
> Given this data frame (a simplified, essential reproducible example)
>
>
>
>
> A<-c(8,7,10,1,5)
>
> A_flag<-c(10,0,1,0,2)
>
> B<-c(5,6,2,1,0)
>
> B_flag<-c(12,9,0,5,0)
>
2007 Mar 28
4
snmp ups Status: Not supported
Hi
I set up my ups with driver snmp-ups, and it get recognized as a AEC T2003.
In the nut-cgi upstats page input/output/load are displayed corectly, but the
Status field is marked as "Not supported".
Is "Status" important to initiate shutdown in case of low battery ? Will my
server shut down correctly ?
thanks
Massimo
I include "upsc snmp@localhost" output:
2015 Dec 31
2
[squid-users] squid3 / debian stable / please update to 3.4.14
> you are better off building the more up to date 3.5 version available
> from Stretch/Testing repository.
I disagree with this one, use SID and not testing, testing has a longer delay in security updates and coms after unstable.
See : https://www.debian.org/security/faq
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: squid-users [mailto:squid-users-bounces at
2017 Nov 22
1
assign NA to rows by test on multiple columns of a data frame
OPS,
Sorry i did not read the post carfully. Mine will not work if you have
zeros on columns A and B.. But you could modify it to work for specific
columns i believe.
EK
On Wed, Nov 22, 2017 at 8:37 AM, Ek Esawi <esawiek at gmail.com> wrote:
> Hi *Massimo,*
>
> *Try this.*
>
> *a <- mydf==0mydf[a] <- NAHTHEK*
>
> On Wed, Nov 22, 2017 at 5:34 AM, Massimo Bressan
2009 Oct 14
1
Bug on barriers for virtio_blk device - end_request: I/O error, dev vda, sector 0
Added CCs for the author of and people CCed on the patch.
The patch has been submitted twice (6 Aug, 3 Sept), the first time there
was one concern voiced which seems to have been addressed in replies. The
second time there were no reactions.
The patch seems to work for Massimo...
Massimo Cetra wrote:
> Massimo Cetra ha scritto:
>> Hello all,
>>
>> i ended up with some
2009 Oct 14
1
Bug on barriers for virtio_blk device - end_request: I/O error, dev vda, sector 0
Added CCs for the author of and people CCed on the patch.
The patch has been submitted twice (6 Aug, 3 Sept), the first time there
was one concern voiced which seems to have been addressed in replies. The
second time there were no reactions.
The patch seems to work for Massimo...
Massimo Cetra wrote:
> Massimo Cetra ha scritto:
>> Hello all,
>>
>> i ended up with some
2017 Nov 22
0
assign NA to rows by test on multiple columns of a data frame
Do you mean like this:
mydf <- within(mydf, {
is.na(A)<- !A_flag
is.na(B)<- !B_flag
}
)
> mydf
A A_flag B B_flag
1 8 10 5 12
2 NA 0 6 9
3 10 1 NA 0
4 NA 0 1 5
5 5 2 NA 0
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into
2017 Nov 09
1
weighted average grouped by variables
Hello,
Using base R only, the following seems to do what you want.
with(mydf, ave(speed, date_time, type, FUN = weighted.mean, w = n_vehicles))
Hope this helps,
Rui Barradas
Em 09-11-2017 13:16, Massimo Bressan escreveu:
> Hello
>
> an update about my question: I worked out the following solution (with the package "dplyr")
>
> library(dplyr)
>
> mydf%>%
>
2008 Aug 22
1
smbclient: tdb_fetch_uint32 failed
hi all,
I'm facing a problem with a brand new installation on fedora 9.
packages were updated right after the installation, so the samba
packages are of the latest available version (3.2.0-17.fc9).
at the first run were created all the tree of tdb files under
/var/lib/samba.
now I create a new user:
[root@barbara Scrivania]# smbpasswd -a barbara
New SMB password:
Retype new SMB password:
2008 Dec 26
2
CAP and performance problem
Hi,
my application is written in std C++ and it makes a matrix
multiplication: so it uses only CPU and memory (no i/o, no network).
I''m quite surprise that with CAP = 100% I got my results in about 600
seconds and with CAP = 50% I got my results in about 1800 seconds
(around 3 times longer).
For this kind of application I was expecting to get results in about
1200 seconds (2 times
2008 Apr 10
4
New Feature Request
Hi puppet masters,
while working on my site I came across a requirement that might be
helpful for others as well....
With the aim of confining human errors as much as possible, I
thought that it would be nice to have yum repositories disabled so that
specific repositories could be enabled for certain packages.
This is easily implementable via command-line, but I found that the
2015 Dec 29
2
[squid-users] squid3 / debian stable / please update to 3.4.14
Hai,
You can very easy upgrade to 3.5.12 on Jessie.
Add sid to your sources.list, or better in :
/etc/apt/sources.list.d/debian-sid.list
Only the deb-src line is needed.
Now apt-get update
# install dependecies.
apt-get build-dep squid
# get and build source.
apt-get source squid -b
if you missing something, get that package first, build it, install it and do above again.
!! thing to