I start bash on Cygwin and type:
dd if=/dev/zero | cat /dev/null
It finishes instantly. When I type:
dd if=/dev/zero > /dev/null
it runs as expected and I can issue
killall -USR1 dd
to see the progress. Why does the former invocation finishes instantly? Is it the same on a Linux box?
* Explanation why I asked such stupid question and…
When using HTTP/1.1 Pipelining what does the standard say about issuing multiple requests without waiting for each request to complete? What do servers do in practice?
I ask because I once tried writing a client which would issue a batch of GET requests for multiple files and remember getting errors. I wasn't sure if it was due to me…
Currently the my team is considering splitting our single CI build process into a more streamlined multi-stage process to speed up basic build feedback and isolate different ci concerns. The idea we had was to have each stage exist in Hudson as a different build with the correct maven goal or maven plugin execution, then chain them…
I'm trying to figure out how to use HTTPClient (org.eclipse.jetty.client.HttpClient) so it will pipeline HTTP Request.
I've tried to create some HttpExchange instances and applying the send() method for each, in an asynchronous mode, but each HTTP request has waited for it response before the next request was sent.
Can you please…
Hi:
I have a question about the behavior of a browser( especially Firefox ) tackling with persistent connections:
Must all the requests sent in one pipelined persistent connection direct to the same server? What about a request specified by user from address bar -- may it reuse an already established persistent connection to…
Suppose we want to apply a series of transformations, int f1(int), int f2(int), int f3(int), to a list of objects. A naive way would be
SourceContainer source;
TempContainer1 temp1;
transform(source.begin(), source.end(), back_inserter(temp1), f1);
TempContainer2 temp2;
transform(temp1.begin(), temp1.end(),…
I'm trying to make a simple PowerShell function to have a Linux-style ssh command. Such as:
ssh username@url
I'm using plink to do this, and this is the function I have written:
function ssh {
param($usernameAndServer)
$myArray = $usernameAndServer.Split("@")
$myArray[0] | C:\plink.exe -ssh…
This is perhaps more of a discussion question, but I thought stackoverflow could be the right place to ask it. I am studying the concept of instruction pipelining. I have been taught that a pipeline's instruction throughput is increased once the number of pipeline stages is increased, but in some cases,…
In F#, given the following class:
type Foo() =
member this.Bar<'t> (arg0:string) = ignore()
Why does the following compile:
let f = new Foo()
f.Bar<Int32> "string"
While the following won't compile:
let f = new Foo()
"string" |> f.Bar<Int32> //The compiler returns the…
Hey guys,
My fist question here on Stackoverflow: What should I need to do so that the SSH SOCKS 5 Proxy (SSH2) will allow multiple connections?
What I have noticed, is that when I load a page in Firefox (already configured to use the SOCKS 5 proxy), it loads everything one by one. It can be…
Hi, I am doing a sendMail Servlet with JavaMail. I have javax.mail.AuthenticationFailedException on my output. Can anyone please help me out? Thanks.
sendMailServlet code:
try {
String host = "smtp.gmail.com";
String from = "my@gmail.com";
String pass = "pass";
…
Does this description fit what's usually included in a computer architecture class?
Computer Organization and Assembly Language
An introduction to the hardware organization and assembly language of the Intel processor. Topics include memory hierarchy and design- CPU design- pipelining-…
I have issue with yahoo.co.uk
if I send a mail from within the yahoo webconsole the mail arrives in my inbox on the exchange server
If I send mail from Iphone configure to send via mail box configure with yahoo setting mail is dropped.
It is not the phone I can send perfectly fine…
Has anyone seen JavaMail not sending proper MimeMessages to an SMTP server, depending on how the JVM in started? At the end of the day, I can't send JavaMail SMTP messages with Subject: or From: fields, and it appears other headers are missing, only when running the app as a war.
The…
When I run the sendmail -bs command as root, I get the expected output:
$ sudo sendmail -bs
220 mydomain.com ESMTP Postfix
ehlo localhost
250-mydomain.com
250-PIPELINING
250-SIZE 15728640
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
But when I run the same command without…
I use the following commands
pdf2ps input.pdf - | psnup -pA4 -4 >> output.ps
ps2pdf output.ps output.pdf
rm output.ps
to merge multiple pages (in this case 4) from input file to one sheet in outupt file.
How can I modify pipelining so that I won't have to use 2 commands,…
Let's say I'm setting up a worker pool based game engine with pipelining. Let's say I have 4 stages in my pipeline as such:
Stage 1: Physics
Stage 2: AI/Input
Stage 3: Game Logic
Stage 4: Rendering
Now let's say that the physics detects a collision between a bullet and a…
I'm working on a Play 2.2 application, and things have gone a bit south on me since I've tried adding my DB layer.
Below are my build.sbt dependencies. As you can see I use mysql-connector-java and play-slick:
libraryDependencies ++= Seq(
jdbc,
anorm,
cache,
…
I can understand why network apps would use multiplexing (to not create too many threads), and why programs would use async calls for pipelining (more efficient). But I don't understand the purpose of AsynchronousFileChannel.
Any ideas?
I am developing a distributed processing API in Java, Erlang and Ruby. What basic commands can I include from which I can build mapreduce, pipelining, and all the most used parallell algorithms on top of it.
We recently installed an Exchange 2010 Server and we are having some problems sending emails to certain domains. Email is stuck in the queue with 421 4.2.2 Connection dropped due to SocketError.
Any Suggestion?
The below is the message when using telnet command:
…
Windows Copying is a real mess ever since Windows Vista. Even Microsoft claims they've improved the performance, from a user perspective, it's not quite visible. Even with single file the copying window appears too much time for 'Calculating' and then finishing the…
Im currently experiencing the following issue with postfix over ssl (smtps)
Apr 7 13:43:55 server88-208-248-147 postfix/smtpd[5777]: connect from xxxxxxxxxxxxxxx[xxx.xxx.xxx.xxx]
Apr 7 13:45:09 server88-208-248-147 postfix/smtpd[5777]: lost connection after…
One of my clients is using a cPanel-based Virtual Dedicated Server that appears to allow unauthenticated SMTP:
bash$ echo EHLO | nc mail.clientscompany.com 25
...
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
It therefore…