Forgot your password?

typodupeerror

Comment: Re:I don't use anything but heap settings (Score 1) 158

by Raenex (#39086207) Attached to: Book Review: Java Performance

As to the grandparent post -- just because I started with Java 1.0 doesn't mean I assume that the JVM hasn't changed. I've been redoing my tests with each Java release that came out to see if my old assumptions still applied.

I'm a professional programmer, not some kid hacking code in a basement.

I expect a professional Java programmer to know that "Raw object allocation is EXPENSIVE" is WRONG and OLD information: http://www.ibm.com/developerworks/java/library/j-jtp01274/index.html

"Performance advice often has a short shelf life; while it was once true that allocation was expensive, it is now no longer the case. In fact, it is downright cheap, and with a few very compute-intensive exceptions, performance considerations are generally no longer a good reason to avoid allocation. Sun estimates allocation costs at approximately ten machine instructions. That's pretty much free -- certainly no reason to complicate the structure of your program or incur additional maintenance risks for the sake of eliminating a few object creations.

Of course, allocation is only half the story -- most objects that are allocated are eventually garbage collected, which also has costs. But there's good news there, too. The vast majority of objects in most Java applications become garbage before the next collection. The cost of a minor garbage collection is proportional to the number of live objects in the young generation, not the number of objects allocated since the last collection. Because so few young generation objects survive to the next collection, the amortized cost of collection per allocation is fairly small (and can be made even smaller by simply increasing the heap size, subject to the availability of enough memory)."

There are cases where it makes sense to use your own allocator, generally for big objects, but the blanket advice you gave will cause more harm than good.

Comment: Re:Lot's of possibilities (Score 1) 493

by Raenex (#39075165) Attached to: James Randi's Latest Debunking Operation

I should've explained that. Excluding the Mormon Church (I could be wrong about it since I've just really started learning about it in the past few months)

In other words, your "self explanatory" was a cover for your ignorance. The Mormon Church isn't any whackier than many other Christian sects. What really distinguishes it is that it is relatively recent (within the past 200 years), so many (especially mainstream Christians) still call it a cult, but most religions start out as cults, including the original Christianity.

Comment: Re:Fucking up a perfectly good hammer (Score 1) 645

by Raenex (#39035475) Attached to: GNOME 3: Beauty To the Bone?

The very fact that you can make it resemble GNOME 2 should amply demonstrate the fact that people are whining about nothing.

The very fact that people have to jump through a lot of hoops just to get back to where they were amply demonstrates that Gnome 3 broke things for people because they decided to blow up the world and rebuild from scratch when they had no need to. They could have added in compositing without fucking up everybody's settings, workflow, and muscle memory.

Comment: Re:Well (Score 1) 756

by Raenex (#38875163) Attached to: What If the Apollo Program Never Happened?

I'm not a nutter, I am a realist.

No, you're a nutter. Global warming is not going to destroy civilization, and super-volcanoes are survivable and happen on the frequency of hundreds of thousands of years. As for energy, even if we burned through all our oil, natural gas, coal, and nuclear reserves, there's still going to be the output of the sun for millions of years. There is no moral imperative to leave now.

In fact, it can be argued that spending large amounts of resources on crude technology that isn't self-sustainable is a waste. We can't even build a self-sustaining biodome here on Earth, let alone off-planet.

I'm gliding over a NUCLEAR WASTE DUMP near ATLANTA, Georgia!!

Working...