Displaying 20 results from an estimated 3000 matches similar to: "Looking for recommendations for blocking hacking attempts"
2017 Aug 28
5
"Improvement with the R code"
Hello,
I am trying to implement a formula
aij= transition from state S_i to S_j/no of transition at state S_i
Code I have written is working with three state {1,2,3 }, but if the number
of states become={1,2,3,4,......n} then the code will not work, so can some
help me with this.
For and some rows of my data frame look like
2017 Aug 28
0
"Improvement with the R code"
Hi,
I think you overthought this one a little bit, I don't know if this is the
kind of code you are expecting but I came up with something like that:
generate_transition_matrix <- function(data, n_states) {
#To be sure I imagine you should check n_states is right at this point
transitions <- matrix(0, n_states, n_states)
#we could improve a little bit here because at
2012 Aug 14
2
igraph: Turn multiple edges into weights
Dear all,
I have some network data - about 300 vertices and several thousand edges. I
am looking for a way to turn multiple edges into weights of the edges. I
looked around and - surprisingly? - haven't found anything. Is there an
easy way to do this?
Best, Jonas
[[alternative HTML version deleted]]
2010 Jun 28
2
Stacked Histogram, multiple lines for dates of news stories?
Dear colleagues,
I have extracted the dates of several news stories from a newspaper
data base to chart coverage trends of an issue over time. They are in
a data frame that looks just like one generated by the reproducible
code below.
I can already generate a histogram of the dates with various intervals
(months, quarters, weeks years) using hist.Date. However, there are
two other
2007 Feb 20
1
Reshape (pivot) question
Hi R-users,
I have a data set like this (first ten rows):
id patient_id date code class eala ID1564262 1562 6.4.2006 12:00 5555 1
NA ID1564262 1562 6.4.2006 12:00 5555 1 NA ID1564264 1365 14.2.2006 14:35
5555 1 50 ID1564265 1342 7.4.2006 14:30 2222 2 50 ID1564266 1648 7.4.200614:30
2222 2 50 ID1564267 1263 10.2.2006 15:45 2222 2 10 ID1564267 1263
10.2.200615:45
3333 3 10 ID1564269 5646
2009 Jul 08
2
Window Server 2003 will not run as paravirtualized?
Hello:
According to the Red Hat Virtualization Guide,
Windows Server 2003 32-bit will only run as
a fully virtualized guest on an AMD64 system.
I thought I have seen a lot of discussion about
running paravirtualized Windows on CentOS. Is
that a bad idea?
Neil
--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber
2012 Jul 11
3
Subset based on multiple values
I'm stuck on a seemingly simple problem. I'm trying to subset the data by
several numbers and it cuts out half of the rows. Here is the sample code:
test <- as.matrix(c(1,1,1,1,3,3,7,7,7,7))
Count <- tapply(test[,1], test[,1], length) # count for each value
spp <- unique(test[,1])
Count1 <- as.data.frame(cbind(Count,spp))
Max <- max(Count)
Count1$sppMax <-
2001 Mar 16
1
combine dataset
Hi,
I have two data sets look like below:
==========================
state count1 percent1
CA 19 0.34
TX 22 0.35
FL 11 0.24
OR 34 0.42
GA 52 0.62
MN 12 0.17
NC 19 0.34
state count2 percent2
FL 22 0.35
MN 22 0.35
CA 11 0.24
TX 52 0.62
==========================
How to combine these two data set and make it look
like below?
2009 Sep 19
2
Counting observations of a combined factor
#I have a dataset with two factor. I want to combine those factors into
a single factor and count the number of data values for each new factor.
The following gives a comparable dataframe:
a <- rep(c("a", "b"), c(6,6))
b <- rep(c("c", "d"), c(6,6))
df <- data.frame(f1=a, f2=b, d=rnorm(12))
df
# I use the 'interaction' function to combine
2002 Jun 18
3
FINDNEXT problem, w2k and linux smbfs
I have inconsistent directory listing on share mounted on linux from windows 2k.
Some time not all files appear in the directory listing.
If reading directory listing multiple times (60-200 times) files listed originally would have one or two files missing in one of consecutive lists. The same problem appear as well if you are making backup of Windows files from multiple directories, there are
2009 Oct 29
1
operation with if/else on a dataframe
Hi to all,
I have this dataframe (I show the first six rows)
>head(table)
A R Fold.Change P.Value
Count1 Count2
1 ENSRNOE00000000002_at 0 1.13 0.60 1
1
2 ENSRNOE00000000009_at 0 -1.04 0.73 3
3
3 ENSRNOE00000000020_at 0 -1.08
2004 Jul 07
1
Histograms, density, and relative frequencies
R-users,
I have been using R for about 1 year, and I have run across a
couple of graphics problem that I am not quite sure how to address. I have
read up on the email threads regarding the differences between density and
relative frequencies (count/sum(count) on the R list, and I am hoping that
someone could provide me with some advice/comments concerning my
approach. I will admit
2002 Jun 12
4
WIndows 98 asking for a password
Hello:
I have a brother HL-1440 laser printer set-up and working fine on my
RedHat 7.3 Linux box. The printer queue is named brotherLaser.
I added a samba share for the printer with these options
in my smb.conf file:
[brotherLaser]
path = /var/spool/lpd/brotherLaser
writable = yes
comment = Brother Laser Printer
printable = yes
public = yes
I then went
2007 Jan 28
4
Use Microsoft shared fax printer?
Hello:
Is it possible to use Samba to send documents to
a Microsoft Shared Fax Printer?
How would I give it the phone number and other recipient
details that normally comes in the popup window when
I print to a shared fax printer from Windows?
Thanks,
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit
2009 Nov 02
8
Free or low cost online backup?
Hello:
Does anyone know a free or low cost online backup
system for CentOS?
Thanks,
Neil
--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
2009 Jun 25
2
Use 8GB RAM on Pentium D?
Hello:
I have a Supermicro SuperServer 5015P-TR.
It has a Pentium D and is running CentOS x86_64.
Can this machine use 8GB RAM?
I think it should because it is running a 64 bit
OS, but I am concerned because it is fundamentally
32 bit hardware.
Anyone have any experience in this area?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your
2005 Mar 23
2
Permission problems writing to Share from SQL Agent
Hello:
I have a client that is using MS SQL Server in a Windows 2003
server.
They have a Linux machine (Fedora Core 3) that is acting as a file
server using Samba.
We want to write backups from the SQL Agent for SQL Server to
one of the shares on the Samba server.
If I set the share to allow guest access, the SQL Agent
can write the backups just fine using \\Shares\SQLBackups\pubs.bak
but, if
2014 Aug 10
3
Centos 7 - iptables service failed to start
Hello all:
I did a fresh install of CentOS 7 on a new machine.
I wrote /usr/local/bin/firewall.stop to remove all the firewall rules.
It contains this code:
# Flush the rules
/usr/sbin/iptables -F
# Set the default policies to accept
/usr/sbin/iptables -P INPUT ACCEPT
/usr/sbin/iptables -P OUTPUT ACCEPT
/usr/sbin/iptables -P FORWARD ACCEPT
I wrote /usr/local/bin/firewall.start to set the
2006 Aug 30
3
No tcp wrappers, other ideas to help stop brute force attacks?
I'm looking for a way to deny access to dovecot from certain IP
addresses, basically to help prevent brute force attacks on the
server.
Right now I'm using denyhosts which scans /var/log/secure for
authentication failures which then can add an entry to
/etc/hosts.deny, but since dovecot doesn't have tcp wrappers support,
that doesn't do anything.
It doesn't look like I can
2003 Dec 30
1
Access denied, unable to connect to my printer
Hello:
I have a printer set-up and working correctly on my Linux machine
running Fedora Core 1. It is set up as a local printer called printer.
I set it up thru the graphical printer configuration utility.
I am trying to set it up as a network printer from my Windows XP machine
using Samba. Here are the lines in my smb.conf file:
[global]
encrypt passwords = yes
socket options