Maybe not their teacher, but certainly their boss. And it happens more than people here might like to admit. It's not unusual at all to get a superstar coder, but they're an unacceptable business liability because nobody can actually interact with them.
Funny, I watched that movie just yesterday evening. I'm sticking my debian machine in a cupboard and hopefully getting a mac mini on 26th. It'll be my first new computer in about 10 years, after countless cobbled-together win/lin dual-booters.
It's a bit annoying at first; This stereotypical machead spends about 15 minutes telling you about the super new transparent bar. But after that he's doing stuff that just made my jaw drop. Time machine in particular just left me in awe. Sure, I can setup an rsync job in cron and all that crap, but Time Machine made it ridiculously easy.
I urge anybody who thinks that Apples are overpriced to watch the movie. Just sit through the first ten minutes and try to ignore the nausiatingly mac-ish presenter, it's worth it.
But what I wrote is not purposefully breaking the system, it's just forgetting to release a resource. That was the point I was trying to give an example of. Java falsely claims that you don't have to worry about releasing resources any more because the garbage collector will get it in the end. That claim only holds for resources such as memory, that are so plentiful that you don't need to immediately return them to the system. The Java example I gave is clean, it compiles, the error would more than likely be missed by most peer reviews. Even if I had closed the inputstream just before it went out of scope, an exception (or a badly placed return or continue) would bring us out of the scope before the Close() function was called. RAII gaurantees that resources are cleaned up no matter how you exit the scope.
Mainly that it's an action that takes place at uncontrolled intervals and takes an unbounded amount of time to complete.
Indeed. That's why I love C++'s RAII.
Try this: Crash.java
import java.io.*;
class Crash {
public static void main (String [] args) throws java.io.IOException
{
while (true)
{
FileInputStream in = new FileInputStream ("Crash.java");
}
} }
Then:
$ javac Crash.java
$ time java Crash.java
Exception in thread "main" java.io.FileNotFoundException: Crash.java (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at Crash.main(Crash.java:12)
real 0m0.259s user 0m0.148s sys 0m0.048s
Second opinion.
on
Halo 3 Review
·
· Score: 4, Funny
3) Because it's interesting to somebody who likes seeing how compilers work. "simple, fast and understandable".
TFA makes no claim about it 'going up against' gcc in any way (apart from an observation about speed of compilation). Compilers are intersting things to some people, that's all.
Your linux distribution quite possibly comes with tcc anyway. Is that a problem?
Realistic physics is EASY, you just do what the textbook says. Fun physics on the other hand involves an enormous amount of playtesting, analysis and fine tuning.
Seconded I have used some form of Unix (Solaris/BSD/Linux) every working day since October 1998, but I have no idea what Ctrl-K does. Everybody knows what Delete does.
Left click does nothing, middle click brings up an error box saying "The URL is not valid and cannot be loaded" and right click brings up the same menu as if I'd clicked on any other non-link part of the page.
a couple of years ago researchers found that overweight people have a lower death rate than people with a normal weight
Incredible. I thought it was a steady 100% for everybody.
Maybe not their teacher, but certainly their boss. And it happens more than people here might like to admit. It's not unusual at all to get a superstar coder, but they're an unacceptable business liability because nobody can actually interact with them.
There's an interesting article looking at the correlation between review scores and sales here: http://www.dreamdawn.com/sh/features/sales_vs_score.php
You're pissing into the wind.
Funny, I watched that movie just yesterday evening. I'm sticking my debian machine in a cupboard and hopefully getting a mac mini on 26th. It'll be my first new computer in about 10 years, after countless cobbled-together win/lin dual-booters.
It's a bit annoying at first; This stereotypical machead spends about 15 minutes telling you about the super new transparent bar. But after that he's doing stuff that just made my jaw drop. Time machine in particular just left me in awe. Sure, I can setup an rsync job in cron and all that crap, but Time Machine made it ridiculously easy.
I urge anybody who thinks that Apples are overpriced to watch the movie. Just sit through the first ten minutes and try to ignore the nausiatingly mac-ish presenter, it's worth it.
I actually fell off the toilet laughing the first time I read that
But what I wrote is not purposefully breaking the system, it's just forgetting to release a resource. That was the point I was trying to give an example of. Java falsely claims that you don't have to worry about releasing resources any more because the garbage collector will get it in the end. That claim only holds for resources such as memory, that are so plentiful that you don't need to immediately return them to the system. The Java example I gave is clean, it compiles, the error would more than likely be missed by most peer reviews. Even if I had closed the inputstream just before it went out of scope, an exception (or a badly placed return or continue) would bring us out of the scope before the Close() function was called. RAII gaurantees that resources are cleaned up no matter how you exit the scope.
Mainly that it's an action that takes place at uncontrolled intervals and takes an unbounded amount of time to complete.
Indeed. That's why I love C++'s RAII.
Try this:
Crash.java
import java.io.*;
class Crash
{
public static void main (String [] args) throws java.io.IOException
{
while (true)
{
FileInputStream in = new FileInputStream ("Crash.java");
}
}
}
Then:
$ javac Crash.java
$ time java Crash.java
Exception in thread "main" java.io.FileNotFoundException: Crash.java (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at Crash.main(Crash.java:12)
real 0m0.259s
user 0m0.148s
sys 0m0.048s
UK Resistance has another review here
After all, more people die in China than any other country.
3) Because it's interesting to somebody who likes seeing how compilers work. "simple, fast and understandable".
TFA makes no claim about it 'going up against' gcc in any way (apart from an observation about speed of compilation). Compilers are intersting things to some people, that's all.
Your linux distribution quite possibly comes with tcc anyway. Is that a problem?
Spot on.
Realistic physics is EASY, you just do what the textbook says. Fun physics on the other hand involves an enormous amount of playtesting, analysis and fine tuning.
Sorry, I was just typing stupid stuff and accidentally hit submit :(
I can't see what's wrong with basic layout of the program
You probably just need to set your $DISPLAY environment variable.
That would be a lot more interesting if it was true.
Seconded I have used some form of Unix (Solaris/BSD/Linux) every working day since October 1998, but I have no idea what Ctrl-K does. Everybody knows what Delete does.
I couldn't believe anybody could be so pedantic when I finally discovered you have to press shift-= to zoom in.
It could help stop you forgetting to close your 'i' tag too! :p
one could argue that thus wirting code under BSD licence is stupid in the first place.
It would only be stupid if you were unhappy about your code being used in a commercial project. In that case, you would have chosen the wrong licence.
If however you were happy with the concept, then it wouldn't be stupid at all.
It's not a program in itself, but Lua is wonderfully slim.
I just compiled liblua.a using gcc on cygwin. It was 204392 bytes at -O2, 170764 bytes at -Os.
He says it, but is it actually true? Are there any embedded system engineers reading this who can give an informed opinion?
yes.
d =14070720
http://yro.slashdot.org/comments.pl?sid=168794&ci
Not for me (FF 2.0.0.6 on Debian Etch)
Left click does nothing, middle click brings up an error box saying "The URL is not valid and cannot be loaded" and right click brings up the same menu as if I'd clicked on any other non-link part of the page.
Maybe the GP is talking about something like tor.