Displaying 20 results from an estimated 700 matches similar to: "Default value for arguments of a definition"
2009 Sep 28
1
help with lda function
I am having a problem understanding the lda package. I have a dataset here:
[,1] [,2] [,3]
[1,] 2.95 6.63 0
[2,] 2.53 7.79 0
[3,] 3.57 5.65 0
[4,] 3.16 5.47 0
[5,] 2.58 4.46 1
[6,] 2.16 6.22 1
[7,] 3.27 3.52 1
If I do the following;
"names(d)<-c("y","x1","x2")
d$x1 = d$x1 * 100
d$x2 = d$x2 * 100
g<-lda( y ~ x1 + x2, data=d)
v2
2006 Sep 21
4
CentOs 4.X and APF firewall issues
Hi,
We have 7 Dell 2850 servers with dual xeon 3 gig processors running the APF
firewall version 0.9.6 http://rfxnetworks.com/apf.php
They run fine for a day or two, then suddenly lock out all incoming
connections, other than the backend IP, sometimes restarting the firewall
resolves this, but occasionally we may have to leave it 10 mins or so before
restarting where it will actually
2009 Sep 29
1
help with lda function from MASS package
Thanks David,
Yes, I am talking about the MASS package.Thank you for pointing out that
these scale the same. My question is, how do I get from the V1 data:
V1
1 164.4283
2 166.2492
3 170.5232
4 156.5622
5 127.7540
6 136.7704
7 136.3436
to the other set of data:
+ 1 -2.3769280
+ 2 -2.7049437
+ 3 -3.4748309
+ 4 -0.9599825
+ 5 4.2293774
+ 6 2.6052193
+ 7 2.6820884
On Mon, Sep 28, 2009
2009 Dec 30
5
Find reason for heavy load
My Centos 5 server has seen the average load jumped through the roof
recently despite having no major additional clients placed on it.
Previously, I was looking at an average of less than 0.6 load, I had a
monitoring script that sends an email warning me if the current load stayed
above 0.6 for more than 2 minutes. This script used to trigger perhaps once
an hour during peak periods. Even so, I
2005 Jan 30
1
Kernel 2.6.10
Hello,
now on my box I have Shorewall 2.0.7 who work fine but I want upgrade
kernel to version 2.6.10 + Grsecurity, somebody have any problem with
shorewall on this kernel?
I read on one site that on this kernel APF don`t want work, APF users
must change MONOKERN="0" to MONOKERN="1"!
Shorewall?
Thanks
Sorry if my english bad!
--
Best regards,
Ratko
2017 Apr 21
2
[cfe-dev] FE_INEXACT being set for an exact conversion from float to unsigned long long
I think it’s generally true that whenever branches can reliably be predicted branching is faster than a cmov that involves speculative execution, and I would guess that your assessment regarding looping on input values is probably correct.
I believe the code that actually creates most of the transformation you’re interested in here is in SelectionDAGLegalize::ExpandNode() in LegalizeDAG.cpp. The
2017 May 11
3
FENV_ACCESS and floating point LibFunc calls
Thanks, Andy. I'm not sure how to solve that or my case given the DAG's
basic-block limit. Probably CodeGenPrepare or SelectionDAGBuilder...or we
wait until after isel and try to split it up in a machine instruction pass.
I filed my example here:
https://bugs.llvm.org/show_bug.cgi?id=33013
Feel free to comment there and/or open a new bug for the FP_TO_UINT case.
On Thu, May 11, 2017 at
2010 Oct 25
1
[LLVMdev] sprintf -> snprintf conversion
Hello, llvmdev!
I'm using LLVM on OpenBSD. This project proactively advocates usage
of 'secure' C apis, especially related to memory bounds checking.
Thus using functions like sprintf/strcpy/etc usually spits out a
linker warning in base toolchain like this one:
/home/proger/dev/llvm/Debug+Asserts/lib/libclangFrontend.a(DocumentXML.o) (.text+0xc65): In function
2006 Feb 13
11
ssh attack
Hi,
I get ssh connect attempts all the time, to my servers at home and at
work. I've noticed lately they come from a certain ip address, hitting
every 3 or 4 seconds, trying 50 or 100 different user names and
passwords. And I get these sweeps from 2 or 3 ip addresses a day. I
guess this is an automated attempt to guess a user/pass and break into a
system.
I tried to secure ssh better by
2006 Jan 31
2
Easy way to reject all incoming packets except from certain IPs?
Is there an easy way to reject all incoming packets except those that come
from certain IPs? I can't find any way via iptables or via the GUI provided
with CentOS (or another GUI for CentOS) without having to resort to
Shorewall. It's fine if the answer is "go with Shorewall". I just didn't
want to have to become a Shorewall expert for this really small task.
Any help/advice
2007 Jun 20
0
Firewall on AsteriskNow
hi,
Is it easy to add to the AsteriskNow system?
I am looking to use it to replace my older Asterisk box but I put my
asterisk box on the internet and restrict access to specific IP
addresses with APF firewall.. So it would be nice if I could install APF
on AsteriskNow..
Thanks..
2018 Jan 09
0
65534 rows & c.
I have a samba file server that I created about 20 years ago and in the
time I have done the little updates needes to new server (when I move to a
new server I copy config and adapt if needed).
It only do public file sharing.
Some week ago a client stopped to connect to the share.
Only this client (Win 10 updated to 1703 or 1709).
It can connect to other windows shares or linux samba shares,
2010 Jan 23
5
authentication failure
I noticed that my server has a lot ca. 1000x auth failure from
different alocated in China / Romania and Netherlands per day since 3
days
It looks to me like somebody was trying to get into server by guessing
my password by brute force.
what would be the best to stop this attack and how? the server running
apache mysql and ftp
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
443/tcp
2017 May 11
2
FENV_ACCESS and floating point LibFunc calls
Sounds like the select lowering issue is definitely separate from the FENV
work.
Is there a bug report with a C or IR example? You want to generate compare
and branch instead of a cmov for something like this?
int foo(float x) {
if (x < 42.0f)
return x;
return 12;
}
define i32 @foo(float %x) {
%cmp = fcmp olt float %x, 4.200000e+01
%conv = fptosi float %x to i32
%ret = select
2006 Mar 10
6
sshd hack
I'm not really a programmer and I recently came across this hack to
insert a short sleep statement into auth-passwd.c within sshd. It seems
to quickly confuse automated dictionary attacks. I've moved sshd to
higher ports but apparently the cretins are now scanning to look for
that and attacking on whatever port sshd shows up on.
Anyway, the link to the hack is here:
2018 Jan 13
2
65534 rows & c.
I have a samba file server that I created about 20 years ago and in the
time I have done the little updates needes to new server (when I move to a
new server I copy config and adapt if needed).
It only do public file sharing.
Some week ago a client stopped to connect to the share.
Only this client (Win 10 updated to 1703 or 1709).
It can connect to other windows shares or linux samba shares,
2006 Mar 26
9
Script to kill dictionary spam attacks
Does anyone have a script that will notice a Rumplestiltskin type spam
attack (where they try every name possible) and drop the sending into a
block list?
--
Chris Mason
NetConcepts
(264) 497-5670 Fax: (264) 497-8463
Int: (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271
Cell: 264-235-5670
Yahoo IM: netconcepts_anguilla@yahoo.com
--
This message has been scanned for viruses and
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2016 Jun 14
1
timestamp granularity
Apple File System Guide is released.
https://developer.apple.com/library/prerelease/content/documentation/FileManagement/Conceptual/APFS_Guide/GeneralCharacteristics/GeneralCharacteristics.html
>Nanosecond Timestamp Granularity
>
>APFS supports 1 nanosecond timestamp granularity, which improves
>upon the 1 second timestamp granularity of HFS+.
>Compatibility
>
>You can share
2012 Sep 27
1
CAM Target Layer and Linux (continued)
Hi All,
With the help of Chuck Tuffli, I'm now able to use CTL to export a zvol over FC to a Linux host:
LUN Backend Size (Blocks) BS Serial Number Device ID
0 block 4185915392 512 FBSDZFS001 ORA_ASM_01
lun_type=0
num_threads=14
file=/dev/zvol/tank/oracle_asm_01
1 block 4185915392 512 FBSDZFS002 ORA_ASM_02