Hi
I'd just like to know what the number '64' represents in mysql connection error message:
Can't connect to MySQL server on '127.0.0.1' (64) in /var/www/test.php
Thank you.
i have windows 2008 server with Mail Enable Free edition with plesk 9.5.
what i want is: to limit each domain with total number of emails per hour / per day to avoid spam.
i know its possible in Mail Enable Ent Version which is not free.( i don't want to pay right now)
is this possible or i have to use any other script.
is this possible in hMail server?
Thanks
i have windows 2008 server with Mail Enable Free edition with plesk 9.5.
what i want is: to limit each domain with total number of emails per hour / per day to avoid spam.
i know its possible in Mail Enable Ent Version which is not free.( i don't want to pay right now)
is this possible or i have to use any other script.
is this possible in hMail server?
Thanks
I found some articles that explain how to increase number of connections in IE,
"max connections per server", and "max connections per 1_0 server", I wondering if it will be works with a proxy server.
thanks,
Dani
I found some articles that explain how to increase number of connections in IE,
"max connections per server", and "max connections per 1_0 server", I wondering if it will be works with a proxy
My IT department has a bunch of older 160/320GB Drives. I'd like to use them in a build-your-own NAS device. What limitations exist in regards to the maximum number of drives that can be connected to typical commodity hardware that might be used in a situation like this?
EDIT
okay I like to specify my question is
what to search for to find a storage controller which can handle many drives. I simply cannot find the right search terms.
I have time values entered in Excel as a custom number h:mm. I would like to convert these to a format (still displayed as h:mm) which will allow me to perform calculations using the data. Any ideas?
Every now and then I need to delete a folder containing something like 500k files from an NTFS volume. I do this with Windows Explorer.
Since NTFS journals all the service data changes each deletion is carried out serially and so the whole 500k files deletion takes ages. I remember when I did the same in FAT32 it ran uncomparably faster.
Is there any way to speed up deletion of large number of files on NTFS volumes?
I have rows of data all separated with commas. How can I replace the last numbers after the last commas with the number 5 in NotePad++?
For example: How do I replace 9, 17 and 124 with 5 in the below data? I have millions of rows though of data and Excel doesn't have enough rows for all the data.
Sample data:
2009.10.21,05:31,1.49312,1.49312,1.49306,1.49306,9
2009.10.21,05:32,1.49306,1.49308,1.49303,1.49305,17
2009.10.21,05:33,1.49305,1.4931,1.49305,1.49309,124
Thank you for your help.
I am using the CUPS print server on a MAC to manage printing, I would like to know the number of pages that are printed by any user for any job, however the column for pages writes unknown for each printing job.
How can I go about this
I am sure I am not the only one that asked this question.
we have a daily conf call that tanks place in a foreign country. too early to attend so I decided to use skype and record it automatically.
I use Task Scheduler
"c:\Program Files (x86)\Skype\Phone\Skype.exe"/callto:+XXXXXXXXXX,,,125
the dialer is supposed to dial the XX number and wait a few seconds (the ",") then dial the 125 access code.
Unfortunatly Skype doesnt accept the "," pause
Any solution ?
thank you
I have a Windows Server 2008 R2 running and I am able to connect to it using 2 different users via Remote Desktop Connection. Since a colleague and me are working on the server almost all the time and another colleague also wants to connect there is always the need to disconnect one user which is bad.
Is there a possibility to increase the number of allowed users? On another server there are more than 2 users allowed. What is different there?
I have a Windows Server 2008 R2 running and I am able to connect to it using 2 different users via Remote Desktop Connection. Since a colleague and me are working on the server almost all the time and another colleague also wants to connect there is always the need to disconnect one user which is bad.
Is there a possibility to increase the number of allowed users? On another server there are more than 2 users allowed. What is different there?
Hi all,
In linux ( fedora ) , is there any limit on the number of instances of the same program that can be run simultaneously ? I am using libsvm , and want to run ./svm-train simultaneously for 9 different files < in 9 different terminals .. Will this cause any problem ?
I want to set up a system with (9) monitors arranged in a 3x3 grid.
Is this configuration possible with Windows 7? Does it max out at a set number of monitors?
Any suggestions about known working hardware combinations would be much appreciated. Currently considering (3) nVidia Quadro NVS420 cards to drive the array.
Hi there
If I have my windows vista serial number, how can I know which version is it for (x86, x64, basic, etc).
Also, Can I download for free that windows version and use my serial to authenticate ? I have the serial on the back of my laptop.
I have one VPS server with
40GB hard drive
centos 5
two IP address
748MB RAM
Is there any limit on number of website i can host on it.
I am currently hosting 20 sites .
All using one IP.
Other ip is free.
Why i need more ip adress. I am hosting all sites under one IP.
Is that can be problem
Any limit or drawbacks of hosting sites one one IP
Question source
Problem: Your company has been assigned the following IP address:
192.112.136.0 /27 Your group has been assigned the fourth subnet.
Question 5: How many useable subnets are available for assignment?
Why the answer is 6? I would shoot it's 8 , because 255/32 = 8.
More generally - what is an correct algorithm to compute the number of available subnetworks for the same mask?
im looking to setup a site with 49 edge switches connected by fiber to a central switch. 3 VLANs will be setup to handle data, telephony, and streaming media. each edge switch should have provision for 2 SFP modules for failover, and the core switch needs to have the provision to handle this failover.
i'm getting lost on the Cisco site with their specs and recommendations.
if anyone could suggest a suitable model number for the core switch and the edge switch, it would be really appreciated.
Hello,
I am using Flex 3 and make a call through a RemoteObject to a Java 1.6 method and exposed with BlazeDS and Spring 2.5.5 Integration over a SecureAMFChannel. The ActionScript is as follows (this code is an example of the real thing which is on a separate dev network);
import com.adobe.cairngorm.business.ServiceLocator;
import mx.collections.ArrayCollection;
import mx.rpc.remoting.RemoteObject;
import mx.rpc.IResponder;
public class MyClass implements IResponder
{
private var service:RemoteObject = ServiceLocator.getInstance().getRemoteOjbect("mySerivce");
public MyClass()
{
[ArrayElementType("Number")]
private var myArray:ArrayCollection;
var id1:Number = 1;
var id2:Number = 2;
var id3:Number = 3;
myArray = new ArrayCollection([id1, id2, id3]);
getData(myArray);
}
public function getData(myArrayParam:ArrayCollection):void
{
var token:AsyncToken = service.getData(myArrayParam);
token.addResponder(this.responder); //Assume responder implementation method exists and works
}
}
This will make a call, once created to the service Java class which is exposed through BlazeDS (assume the mechanics work because they do for all other calls not involving Collection parameters). My Java service class looks like this;
public class MySerivce {
public Collection<DataObjectPOJO> getData(Collection<Long> myArrayParam) {
//The following line is never executed and throws an exception
for (Long l : myArrayParam) {
System.out.println(l);
}
}
}
The exception that is thrown is a ClassCastException saying that a java.lang.Integer cannot be cast to a java.lang.Long. I worked around this issue by looping through the collection using Object instead, checking to see if it is an Integer, cast it to one, then do a .longValue() on it then add it to a temp ArraList. Yuk.
The big problem is my application is supposed to handle records in the billions from a DB and the id will overflow the 2.147 billion limit of an integer. I would love to have BlazeDS or the JavaAdapter in it, translate the ActionScript Number to a Long as specified in the method. I hate that even though I use the generic the underlying element type of the collection is an Integer. If this was straight Java, it wouldn't compile.
Any ideas are appreciated. Solutions are even better! :)
Hi all.
I was once looking for getting the HDD serial number without using WMI, and I found it. The code I found and posted on StackOverFlow.com works very well on 32 bit Windows, both XP and Vista. The trouble only begins when I try to get the serail number on 64 bit OSs (Vista Ultimate 64, specifically). The code returns String.Empty, or a Space all the time.
Anyone got an idea how to fix this?
EDIT:
I used the tools Dave Cluderay suggested, with interesting results:
Here is the output from DiskId32, on Windows XP SP2 32-bit:
To get all details use "diskid32 /d"
Trying to read the drive IDs using physical access with admin rights
Drive 0 - Primary Controller - - Master drive
Drive Model Number________________: [MAXTOR STM3160215AS]
Drive Serial Number_______________: [ 6RA26XK3]
Drive Controller Revision Number__: [3.AAD]
Controller Buffer Size on Drive___: 2097152 bytes
Drive Type________________________: Fixed
Drive Size________________________: 160041885696 bytes
Trying to read the drive IDs using the SCSI back door
Drive 4 - Tertiary Controller - - Master drive
Drive Model Number________________: [MAXTOR STM3160215AS]
Drive Serial Number_______________: [ 6RA26XK3]
Drive Controller Revision Number__: [3.AAD]
Controller Buffer Size on Drive___: 2097152 bytes
Drive Type________________________: Fixed
Drive Size________________________: 160041885696 bytes
Trying to read the drive IDs using physical access with zero rights
**** STORAGE_DEVICE_DESCRIPTOR for drive 0 ****
Vendor Id = []
Product Id = [MAXTOR STM3160215AS]
Product Revision = [3.AAD]
Serial Number = []
**** DISK_GEOMETRY_EX for drive 0 ****
Disk is fixed
DiskSize = 160041885696
Trying to read the drive IDs using Smart
Drive 0 - Primary Controller - - Master drive
Drive Model Number________________: [MAXTOR STM3160215AS]
Drive Serial Number_______________: [ 6RA26XK3]
Drive Controller Revision Number__: [3.AAD]
Controller Buffer Size on Drive___: 2097152 bytes
Drive Type________________________: Fixed
Drive Size________________________: 160041885696 bytes
Hard Drive Serial Number__________: 6RA26XK3
Hard Drive Model Number___________: MAXTOR STM3160215AS
And DiskId32 run on Windows Vista Ultimate 64-bit:
To get all details use "diskid32 /d"
Trying to read the drive IDs using physical access with admin rights
Trying to read the drive IDs using the SCSI back door
Trying to read the drive IDs using physical access with zero rights
**** STORAGE_DEVICE_DESCRIPTOR for drive 0 ****
Vendor Id = [MAXTOR S]
Product Id = [TM3160215AS]
Product Revision = [3.AA]
Serial Number = []
**** DISK_GEOMETRY_EX for drive 0 ****
Disk is fixed
DiskSize = 160041885696
Trying to read the drive IDs using Smart
Hard Drive Serial Number__________:
Hard Drive Model Number___________:
Notice how much lesser the information is on Vista, and how the Serial Number is not returned. Also the other tool, EnumDisk, refers to my hard disks on Vista as "SCSI" as opposed to "ATA" on Windows XP.
Any ideas?
EDIT 2:
I'm posting the results from EnumDisks:
On Windows XP SP2 32-bit:
Properties for Device 1
Device ID: IDE\DiskMAXTOR_STM3160215AS_____________________3.AAD___
Adapter Properties
------------------
Bus Type : ATA
Max. Tr. Length: 0x20000
Max. Phy. Pages: 0xffffffff
Alignment Mask : 0x1
Device Properties
-----------------
Device Type : Direct Access Device (0x0)
Removable Media : No
Product ID : MAXTOR STM3160215AS
Product Revision: 3.AAD
Inquiry Data from Pass Through
------------------------------
Device Type: Direct Access Device (0x0)
Vendor ID : MAXTOR S
Product ID : TM3160215AS
Product Rev: 3.AA
Vendor Str :
*** End of Device List
I want to reiterate the fact that I am not asking for direct code to my problem rather than wanting information on how to reach that solution.
I asked a problem earlier about counting specific integers in binary code. Now I would like to ask how one comes about counting the maximum block length within binary code.
I honestly just want to know where to get started and what exactly the question means by writing code to figure out the "Maximum block length" of an inputted integers binary representation.
Ex: Input 456 Output: 111001000
Number of 1's: 4
Maximum Block Length: ?
Here is my code so far for reference if you need to see where I'm coming from.
#include <stdio.h>
int main(void)
{
int integer; // number to be entered by user
int i, b, n;
unsigned int ones;
printf("Please type in a decimal integer\n"); // prompt
fflush(stdout);
scanf("%d", &integer); // read an integer
if(integer < 0)
{
printf("Input value is negative!"); // if integer is less than
fflush(stdout);
return; // zero, print statement
}
else{
printf("Binary Representation:\n", integer);
fflush(stdout);} //if integer is greater than zero, print statement
for(i = 31; i >= 0; --i) //code to convert inputted integer to binary form
{
b = integer >> i;
if(b&1){
printf("1");
fflush(stdout);
}
else{
printf("0");
fflush(stdout);
}
}
printf("\n");
fflush(stdout);
ones = 0; //empty value to store how many 1's are in binary code
while(integer) //while loop to count number of 1's within binary code
{
++ones;
integer &= integer - 1;
}
printf("Number of 1's in Binary Representation: %d\n", ones); // prints number
fflush(stdout); //of ones in binary code
printf("Maximum Block Length: \n");
fflush(stdout);
printf("\n");
fflush(stdout);
return 0;
}//end function main