I use this when I want to get all the instances of a specific regex. For instance, to find all the C++ mangled names in some output, I do: > grep -o '_Z[A-Za-z0-9_]*' The power of regular expressions is that you don't need to know exactly the string you're going to match.
All of us cursed GNU creeping featurism in the commandline utilities Funny. I tend to curse the lack of features in non-GNU utilities. For instance, grep -o.
I thought the government wasn't allowed to hold a copyright. Not quite right. It cannot create copyrighted works, but can have a copyright assigned to it, e.g. in case of a work for hire.
or a Neo1973 Heh. I missed that part. Note that the Neo1973 (and its successor the Freerunner) *were* built from the ground up to be open source, to the extent possible. Unfortunately that extent can be fairly limited.
So how open is the Openmoko hardware? The best reference I could find was wikipedia's entry: http://en.wikipedia.org/wiki/Openmoko#Openmoko_hardware Well, as I've already indicated, the GSM chip / firmware are not open, for legal reasons (at least). Also, the specs for the graphics chip ("Glamo") are protected by an NDA, although the NDA doesn't prevent writing open source drivers. http://wiki.openmoko.org/wiki/Smedia_Glamo_3362
GP meant exactly what he said, but I'd say it's much clearer with the boolean flag Let's agree to disagree;). Also, using a goto is more efficient, unless the compiler is smart enough to get rid of the boolean flag (which I'm not sure it is in general) You were confused How so?
> If you're breaking out of a loop, you should use 'break'. If you're continuing a loop, 'continue'. What if you're breaking out of / continuing an outer loop? e.g. (pseudocode)
I often use this. I like it better than adding a boolean flag. I think it's actually clearer that way. Admittedly the inner loop could be made into a function, but if it relies on a lot of context, that's pretty painful.
But C has a lot more loops and pointers, which makes verification a lot harder (I work on a static analysis tool for C/C++, and it's also very expensive;) )
which I hear is very hard, but still easier in comparison since you are given both the description of the program AND the finite input! In case you don't know, solving the halting problem is not just very hard, it's impossible.
No damages are a civil tool to compensate one person when another has injured them (or their assets) in some way. Well, that's compensatory damages, but then there's punitive damages (which I don't understand why they're paid to the plaintiff (and their lawyer) instead of being a fine to be paid to the state)
So? There's still only one president. Why should he listen more (on a per-person basis) to Iowans than to Californians, just because there are more Californians? What you may be arguing for is a limit to the reach of federal power, which is a separate issue. I don't see how the way the president is elected indicates what kind of power he/she does or doesn't have.
Are you saying that an overhead of about 1% is going to cause an internet meltdown? And that would be assuming that TCP has no overhead, which is clearly wrong.
There's a chip which translates the Java opcodes to native ARM intructions without any delay or slowdown whatsoever. Given the difference in level of abstraction between the java bytecode and the typical CPU instruction set, I highly doubt this is possible. You might be thinking of a JIT (which, as others pointed out, doesn't even exist), but a JIT takes time to compile the bytecode down to native code (this usually means startup is slow)
How do you turn EM waves into audio waves by heterodyning though? (besides the fact that you'd have to decrease the frequency by at least 10^4, which would require a lot of precision)
Apophis is likely to be 100,000 times brighter
(300 / 7)^2 = about 1,800, which is not very close to 100,000
I use this when I want to get all the instances of a specific regex.
For instance, to find all the C++ mangled names in some output, I do:
> grep -o '_Z[A-Za-z0-9_]*'
The power of regular expressions is that you don't need to know exactly the string you're going to match.
All of us cursed GNU creeping featurism in the commandline utilities
Funny. I tend to curse the lack of features in non-GNU utilities. For instance, grep -o.
I would have thought they meant 2-digit percentage, i.e. at least +10%.
I thought the government wasn't allowed to hold a copyright.
Not quite right. It cannot create copyrighted works, but can have a copyright assigned to it, e.g. in case of a work for hire.
I had heard of it as thermal depolymerization.
or a Neo1973
Heh. I missed that part. Note that the Neo1973 (and its successor the Freerunner) *were* built from the ground up to be open source, to the extent possible. Unfortunately that extent can be fairly limited.
So how open is the Openmoko hardware? The best reference I could find was wikipedia's entry: http://en.wikipedia.org/wiki/Openmoko#Openmoko_hardware
Well, as I've already indicated, the GSM chip / firmware are not open, for legal reasons (at least). Also, the specs for the graphics chip ("Glamo") are protected by an NDA, although the NDA doesn't prevent writing open source drivers.
http://wiki.openmoko.org/wiki/Smedia_Glamo_3362
We need an Open Source mobile phone
Err... There's already one (I have one).
It doesn't work all that well unfortunately.
http://openmoko.com/
GP meant exactly what he said, but I'd say it's much clearer with the boolean flag ;). Also, using a goto is more efficient, unless the compiler is smart enough to get rid of the boolean flag (which I'm not sure it is in general)
Let's agree to disagree
You were confused
How so?
> If you're breaking out of a loop, you should use 'break'. If you're continuing a loop, 'continue'.
What if you're breaking out of / continuing an outer loop?
e.g. (pseudocode)
foreach(i) { // continue outer loop
foreach (i->j) {
if(failtest(j)) {
goto nexti;
}
}
foo(i);
nexti:;
}
I often use this. I like it better than adding a boolean flag. I think it's actually clearer that way.
Admittedly the inner loop could be made into a function, but if it relies on a lot of context, that's pretty painful.
I guess in hardware static analysis is easier, and dynamic analysis is harder.
The link I saw seemed to indicate static analysis.
C doesn't have voltage or current leaks.
But C has a lot more loops and pointers, which makes verification a lot harder (I work on a static analysis tool for C/C++, and it's also very expensive ;) )
Have you ever seen a microSD card?
which I hear is very hard, but still easier in comparison since you are given both the description of the program AND the finite input!
In case you don't know, solving the halting problem is not just very hard, it's impossible.
No damages are a civil tool to compensate one person when another has injured them (or their assets) in some way.
Well, that's compensatory damages, but then there's punitive damages (which I don't understand why they're paid to the plaintiff (and their lawyer) instead of being a fine to be paid to the state)
So?
There's still only one president. Why should he listen more (on a per-person basis) to Iowans than to Californians, just because there are more Californians?
What you may be arguing for is a limit to the reach of federal power, which is a separate issue. I don't see how the way the president is elected indicates what kind of power he/she does or doesn't have.
Or, more appropriately, shell syntax
{ba,c,tc,k,}sh
So given that Pu-239 is more stable, it would have *increased* in purity over the years...
Are you saying that an overhead of about 1% is going to cause an internet meltdown? And that would be assuming that TCP has no overhead, which is clearly wrong.
There's a chip which translates the Java opcodes to native ARM intructions without any delay or slowdown whatsoever.
Given the difference in level of abstraction between the java bytecode and the typical CPU instruction set, I highly doubt this is possible.
You might be thinking of a JIT (which, as others pointed out, doesn't even exist), but a JIT takes time to compile the bytecode down to native code (this usually means startup is slow)
Show me one-way curtains and I'll agree with you. I mostly use curtains to control the amount of light coming in, not out.
This may be impossible in our current universe
Well, we already have something that beats this computer, so it seems possible in this universe
How do you turn EM waves into audio waves by heterodyning though? (besides the fact that you'd have to decrease the frequency by at least 10^4, which would require a lot of precision)
Energy is sold in kWh (not kW/h). /. would understand that ;)
That's why I was suggesting Wh/h. 1 kWh/h = 1 kW. I think people on