I mean can I do something like this:
var client = new WebClient();
var result = client.DownloadString(string("http://example.com/add.php");
var result2 = client.DownloadString(string("http://example.com/notadd.php"));
in paralel like for 100 url's ?
This is not a technical question, but rather a social and methodical one. I am a computer sciences student and I usually have really tough programming assignments. I don`t know if it is only happening to me but sometimes, particularly when deadline is approaching, i find myself in a harsh situation. I cannot find my mistake in the code or come up…
hi,
it show me this error Incorrect syntax near the keyword 'Select' to make to clear Employee ID in this case is FK in the table (Attendance detail) and the other thing is i am using Data Grid View from another table(Employee information) to Show the list of the staff in my form. then i want to transfer each selected cell value from Data…
In my application i configured more than one datasource (for diff databases). Whenever user sends a request depends upon user category i need to look up for the respective datasource in the context and get a connection from that datasource to execute queries which are assigned to that user. Is it right way to achieve my requirement? I am…
i need to clear the data on serial port when i have read the data from it before i read the data again? i m using c/c++
how can i do so ?
thanx in advance.
A = "demo"
%.o:%.cpp
$(CC) -c $^ $(A) -o $@
default:$(all_objs)
game:A = $(shell read -p 'Enter game version: ' gv && echo $$gv)
game:$(all_objs)
Just a snippet makefile above. If I make game, main problem is each compilation of sources will expand $(A) and it will request user to input game version over and over. $(A) has…
You know how this
$(function() { ... });
will fire whether or not the "document ready" event has already occurred? I want to define an event like that.
That event is a special case in jQuery. I'm wondering if a custom event can behave in the same way, using only the standard event mechanisms.
Ideally, I'd like to be able to…
I have a private LinkedList in a Java class & will frequently need to retrieve the last element in the list. The lists need to scale, so I'm trying to decide whether I need to keep a reference to the last element when I make changes (to achieve O(1)) or if the LinkedList class does that already with the getLast() call.
What…
Based on sys/acct.h (V1, not V3) I need to gather some user usage statistics based on a parser that parser the acct file line by line. The parser will run and parse the entire file every N seconds and I need to gather user statistics accumulated since the last run (N seconds back). I'm not sure what will be the most appropriate…
Does anybody have tips for working with projects with very, very long compile times? The longest I have had to deal with is 20 minutes to compile and 5 to deploy. If anybody can suggest "coping mechanisms" for such an environment (e.g.: multiple workstations) I would be interested to hear.
Lets assume following classes definition:
public class A {
public final static String SOME_VALUE;
static {
SOME_VALUE = "some.value";
}
}
public class B {
private final String value = A.SOME_VALUE;
}
Assuming that the class A hasn't been loaded yet, what does happen when object of the class B is…
I'm sure there isn't really a way to do this, but figured it doesn't hurt to ask...
I use Eclipse a lot. I'm currently using it for both Java and Python (with PyDev). I often find that I have one project open, with lots of files, say in Java... And then for some reason I have to switch to a Python project for a bit. I want…
I have a division in which i'll be having dynamic numbers of colorful blocks(that too divisions) at various instances. On clicking the box, i want them to expand & cover whole screen. the problem is, while boxes are expanding, they are expanding at there own position & not shifting in the screen..
I used:
…
I'm trying to do some live streaming in Ubuntu 12.10, but I'm having some problems with audio. More specifically, the quality is complete garbage and it's at least 10 seconds out of sync with the video.
I'm using an excellent guide found here to set up my loopback devices so that I can combine the desktop audio…
Despite my previous blogs entries on SOA/BPM and Identity Management, the domain where I'm the most passionated is definitely the Extreme Transaction Processing, commonly called XTP.I came across XTP back to 2007 while I was still FMW Product Manager in EMEA. At that time Oracle acquired a company called…
I have a particular problem with subversion.
Environment: subversion (1.6.12dfsg-6), apache2 (2.2.16-6+squeeze7) + mod dav_svn.
I can't create a directory named "mysql" or "testmysql" or add and commit a file named "mysql.txt" in my repository.
There are many references to "subversion PROPSET 403…
Hi,
I want to compare the time used by our internal servers against time.microsoft.com. Is there an easy way to do this?
Basically a third party sends me messages stamped with a time that has been synced iwth time.microsoft.com, unfortunately our servers are using a different time server, so I…
Hi,
I am trying PING command on my Windows 7 PC after many months. While doing this, I notice the following result:
Ping using computer name:
D:\>ping amdwin764
Pinging AMDWIN764 [fe80::ac53:546f:a730:8bd6%11] with 32 bytes of data:
Reply from fe80::ac53:546f:a730:8bd6%11: time=1ms
Reply…
7-zip has a command line switch to set the compression method, -m followed by a number, e.g.
-m0=LZMA.
What does the number (0 in the example) mean? Different numbers produce slightly different compression results and performance:
time 7z -m0=LZMA -mx=9 -ms=on -mmt=off
real 0m2.292s
user …
I have a local network topology that is structured as follows:
three hosts and a switch in the middle.
I am using a switch that supports 10,100,1000 Mbit/s full/half duplex connection.
I have configured the hosts with a static ip 172.16.0.1-2-3/25.
This is the output of ifconfig
eth0 Link…
Situation:
There is ipv4 only router in network and every computer is connected to it (wifi or cable).
Server with ipv4 and ipv6 is connected to this router as well. Server has configured tunnelbrokers 6to4 tunnel and radvd. Clients in network has right prefix and can ping each other. But…