Hi James,
When you cross-post a question (i.e., post it to multiple forums), say so and include links to the other posts. Otherwise (and I promise there are multiple users here that also...
Type: Posts; User: MK27
Hi James,
When you cross-post a question (i.e., post it to multiple forums), say so and include links to the other posts. Otherwise (and I promise there are multiple users here that also...
Yes, I realize my premise is not very startling. But: while I also know practically no one will bother to read this, millions will still sit and watch the same uncritical tripe over and over again...
I'm not a PHP fan, but I've done some work with a mediawiki based site (the software that runs Wikipedia), which mediawiki/Wikipedia is written in PHP and uses MySQL, and that involves quite a bit...
Whew! Just finished my SE exam :)
And thot I'd take a few minutes to return to this, lol, since this is a great example of something I thought most people around here were too smart to fall for...
I think that will be a little awkward, actually. What you have now is very clear; if it works, just leave it that way. Why do you think using the return value would represent an improvement?
It shouldn't take you that long; all you need is something that takes an address and port on the command line, then reads from stdin so you can pipe data into it. In C, that's <50 lines, and it...
Presuming there are no pointers in the struct, there are two issues:
1) The size of types such as int, which can vary. If you want to make sure the struct is portable, you need to use fixed size...
Don't get too excited!
WM: fvwm 2.6.2, custom theme and config
DE: none
Xfce Terminal 0.4.8
GKrellM 2.3.5
The distro is gentoo but that doesn't make any visible difference -- it looks exactly...
Right, because:
If every line contains the pattern, grep will just output the entire file. Of course, you would notice this if you simply tried it on the command line ;). Fortunately:
...
It is in the sense that perl is standard most (but not all) places bash is standard. It isn't in the sense that some people might call it heavy-handed.
This is a fairly easy thing to do if you...
You know, there is an (extremely active) kernel mailing list, and there is a very very good chance someone there knows the answer to this question.
The linux-kernel mailing list FAQ
Just...
Since you're interested in stuff like that, maybe the question you should be asking is "how can I benchmark small sections of code"?
WRT this particular issue though, I think unless you find some...
Now that is nuts. Don't feel sorry for the monster's friends, feel sorry for the guy who got his face chewed off. Think about who he gets to walk around as for the rest of his life.
You are...
Boo. Absolute worst kind of limpid mumbo-jumbo BS. Anyone who takes this kind of analysis seriously must be on drugs ;)
There are some very bad people in the world, and they occasionally do very...
I think that was pretty clear, maybe using something like "currently recognizable quantum mechanical matter" might have been a better term than atomic.
The point in the big bang I am referring to...
The problem is that in the reader, you are calling getline(), which clears the pipe that echo was waiting on, and then there is a basic "race condition" between the proceses: if the bash script...
Is it necessary to put the echo in the while loop or could you concatenate all the data there instead then and echo it all at once afterward?
mkfifo myfifo.fifo # you don't have to do that if it exists already
echo "hello world" > myfifo.fifo
The last line blocks, however; it won't return until another process reads from the pipe. ...
A path to a binary is a file path; a binary is a file. These are the same thing (note, the script must have a shebang indicating the interpreter and be marked as an executable, which shell scripts...
Hey gang:
#!/bin/bash
Shebang. Presuming the script starts with that (they usually do), you do not need to invoke "bash script.sh"; the shebang is not interpreted by the shell, it's...
Maybe I'm missing your point, but matter is quite commonly considered as waves, in duality with particles.[/quote]
My point was that it's atomic matter that is considered as waves and particles...
Hmm, I built gcc 4.7 a while ago on a dual core laptop and it couldn't have taken much more than an hour, I think, if that, including the standard libraries. For sure kernel builds on a contemporary...
:D What multi-disciplinary madness have I been missing?!??
I agree that the "existence of everything" is not observability, but it also does not define the present any more than a warehouse...
I am a big perl user, and I'll admit right off there is very little chance I'd be interested because I'm already mostly happy with perl OOP, but I'll try to comment without just completely poo-pooing...
There's a few things you don't understand here.
Strings are mutable in C, and while strcat() does return a pointer to the "new" string, it also adds a to b:
char a[256] = "hello ",
b[]...