javajedi
Oct 12, 07:35 PM
ddtlm check this out, this may suprise you:
I ran the double precision test (sqtrt()) for the first time today as a c program. I compiled on the same machine as I ran the java version, with gcc version 2.95.3-5 (cygwin didn't come with 3.x).
Here are the parameters to gcc:
$ gcc -march=i686 -O3 -pipe -mpreferred-stack-boundary=2 -fforce-mem -fforce-addr -fexpensive-optimizations -funroll-loops -fomit-frame-pointer
Using this, the C program does it in 7.01 seconds. The same code, in java does it in 5.9. The javac, or the jvm seems to better be able to tear apart the loop. I think Java being "slow" is another common misconception that people have ;)
Oh well...
Meanwhile on the PPC side of things, I compiled the fp test against:
mcpu=7450 -O2 -pipe -fsigned-char -maltivec -mabi=altivec -mpowerpc-gfxopt -funroll-loops
Ofcourse this is running in 10.2, and I'm still stuck at around 90 seconds.
Is there anything else you think we can do aside from vectorizing it? Lastly, now that we're all on the same page now on how we are compiling this, I reran the silly single percision int test, and my powerbook looses out to the 750FX. Same platform, same code and everything, but heck?
I ran the double precision test (sqtrt()) for the first time today as a c program. I compiled on the same machine as I ran the java version, with gcc version 2.95.3-5 (cygwin didn't come with 3.x).
Here are the parameters to gcc:
$ gcc -march=i686 -O3 -pipe -mpreferred-stack-boundary=2 -fforce-mem -fforce-addr -fexpensive-optimizations -funroll-loops -fomit-frame-pointer
Using this, the C program does it in 7.01 seconds. The same code, in java does it in 5.9. The javac, or the jvm seems to better be able to tear apart the loop. I think Java being "slow" is another common misconception that people have ;)
Oh well...
Meanwhile on the PPC side of things, I compiled the fp test against:
mcpu=7450 -O2 -pipe -fsigned-char -maltivec -mabi=altivec -mpowerpc-gfxopt -funroll-loops
Ofcourse this is running in 10.2, and I'm still stuck at around 90 seconds.
Is there anything else you think we can do aside from vectorizing it? Lastly, now that we're all on the same page now on how we are compiling this, I reran the silly single percision int test, and my powerbook looses out to the 750FX. Same platform, same code and everything, but heck?
iStudentUK
Mar 13, 01:55 PM
I had not even been born when Chernobyl happened so I know very little about how it affected us. Like others have said, it's safe as long as it is used by responsible country. From what I've read, Chernobyl used ancient and much more vulnerable technology than today's plants use plus they were performing some kind of an experiment which fought against safety rules.
Yes, Chernobyl (a level 7 disaster) is the worst nuclear power disaster to date, but it was caused by massive negligence and using technology that was considered unsafe in the West. The incident in Japan was nothing like this at all.
A nuclear plant had what is classified as the International Nuclear Event Scale as a "level 4 accident" following an enormous earthquake and then a tsunami. The Japanese government have reacted swiftly and evacuated people. The levels of radiation released are nothing to panic about.
I'd love to see a world powered by wind, sun and rainbows but that isn't realistic yet. I'd much rather we move away from fossil fuels to nuclear and renewable, and slowly shifting the balance further towards renewables over time as technology improves.
Yes, Chernobyl (a level 7 disaster) is the worst nuclear power disaster to date, but it was caused by massive negligence and using technology that was considered unsafe in the West. The incident in Japan was nothing like this at all.
A nuclear plant had what is classified as the International Nuclear Event Scale as a "level 4 accident" following an enormous earthquake and then a tsunami. The Japanese government have reacted swiftly and evacuated people. The levels of radiation released are nothing to panic about.
I'd love to see a world powered by wind, sun and rainbows but that isn't realistic yet. I'd much rather we move away from fossil fuels to nuclear and renewable, and slowly shifting the balance further towards renewables over time as technology improves.
more...
desdomg
Mar 18, 03:30 PM
This is great news - by removing the DRM I can play my music on any device I like. It is my music after all. The music industry needs to get used to the idea that you should really only sell a track once to each user, not one track for each device the user wants to play that track on.
Apple and the music industry in general will continue to rake in the $$$ regardless of this development - the real threat to the industry was always P2P, not sales.
Apple and the music industry in general will continue to rake in the $$$ regardless of this development - the real threat to the industry was always P2P, not sales.
more...
Bill McEnaney
Mar 27, 07:10 AM
Compared to the alternative, it certainly seems to be.
[source: human history]
Compared to what alternative?
[source: human history]
Compared to what alternative?
more...
ezekielrage_99
Jul 11, 11:27 PM
I wonder I they put a Xeon in a Mac will it come with Intergrated graphics :confused: ;)
I sure hope Apple don't put intergrated graphics in the Mac Pros as ANY sort of an option......
I sure hope Apple don't put intergrated graphics in the Mac Pros as ANY sort of an option......
more...
macidiot
Jul 12, 05:24 PM
Dude, take a chill-pill. Why does it matter so much to you if he uses XP?
I don't really care if he uses xp. I've loaded boot camp on my mbp. If xp better suits your needs, go for it.
The point was that pretty much everything he said was bogus and flame bait. Sadly, I took the bait.
I don't really care if he uses xp. I've loaded boot camp on my mbp. If xp better suits your needs, go for it.
The point was that pretty much everything he said was bogus and flame bait. Sadly, I took the bait.
more...
amac4me
Jul 12, 08:58 AM
Oh yeah, these babies will fly. Looking to replace my 2004 PowerMac G5 Dual 2.5
Bring it on :D
Bring it on :D
more...
boncellis
Jul 12, 10:50 AM
...So IMO, while this low-end tower would fill a gap in apple's line up and be ideal for many on this board, I'm not sure it's a gap that many consumers fit in to, or that apple particularly cares about filling.
As much as I hate to say it, you're probably right. Apple seems to be doing rather well with their current lineup after all.
What gets me is why Apple wouldn't put Merom in the Mini? A redesigned Mini offering different processors might help close the gap for those who want a more robust solution than the current Mini but can't (or won't) shell out the money for the Mac Pro.
As much as I hate to say it, you're probably right. Apple seems to be doing rather well with their current lineup after all.
What gets me is why Apple wouldn't put Merom in the Mini? A redesigned Mini offering different processors might help close the gap for those who want a more robust solution than the current Mini but can't (or won't) shell out the money for the Mac Pro.
more...
darwen
Sep 20, 01:02 AM
Did I read Hard Dive? Yay for apple putting a DVR in it!
Oh..... you mean they didnt say there was also a DVR program.... well then. It is time to upgrade that Hard Drive and rewrite the OS so it can run EyeTV (haha - EYETV on iTV... That is funny).
Oh..... you mean they didnt say there was also a DVR program.... well then. It is time to upgrade that Hard Drive and rewrite the OS so it can run EyeTV (haha - EYETV on iTV... That is funny).
smiley
Mar 19, 11:07 AM
I appreciate what DVD Jon did to help Linux owners watch dvds, but this is going to far. I hope Apple come up with a fix for this, and soon.
How is this going farther than DeCSS for DVD's?
Last I checked, Linux users couldn't use iTunes DRM'd songs on Linux either. How is this different from the DVD cracker? Its purpose is to use digital files LEGALLY PURCHASED on a device of the purchaser's choice.
The only differences here are that 1) the offending company is Apple, and 2) The iTunes Music Store's terms of service agreement. By using Jon's tool, you KNOWINGLY and WILLINGLY are violating an agreement that you yourself agreed to.
I never signed away my rights to play a DVD on Linux when I bought it, for example, so DeCSS has a tiny bit more of a leg to stand on.
But, this certainly isn't "going too far"
YMAMV (Your moral ambiguity may vary)
more...
Top 10 Turkey Leftover Recipes
more...
3 leftover turkey recipes
more...
using leftover turkey (or
Dots: Best Leftover Turkey
of leftover turkey or ham
more...
Recipe: Turkey and Mashed
more...
Stir the turkey mixture.
more...
Leftover Turkey Recipe- Dairy
Post image for Leftover Turkey
more...
more...
more...
more...
How is this going farther than DeCSS for DVD's?
Last I checked, Linux users couldn't use iTunes DRM'd songs on Linux either. How is this different from the DVD cracker? Its purpose is to use digital files LEGALLY PURCHASED on a device of the purchaser's choice.
The only differences here are that 1) the offending company is Apple, and 2) The iTunes Music Store's terms of service agreement. By using Jon's tool, you KNOWINGLY and WILLINGLY are violating an agreement that you yourself agreed to.
I never signed away my rights to play a DVD on Linux when I bought it, for example, so DeCSS has a tiny bit more of a leg to stand on.
But, this certainly isn't "going too far"
YMAMV (Your moral ambiguity may vary)
more...
Iscariot
Mar 25, 01:28 PM
I did not miss the fact that you tried to expand the discussion point. ;)
Had a more conservative member of this board attempted to 'stretch' the original point
A conservative member of this board has already narrowed the discussion from "hate" to "specific acts of violence linked diretly to the catholic church".
.
I've already presented my views on why I think that speech is different from physical acts.
This is a thread on the Vatican's position regarding homosexuality and homosexual marriage, not violence, correct? Please correct me if that's not right.
Had a more conservative member of this board attempted to 'stretch' the original point
A conservative member of this board has already narrowed the discussion from "hate" to "specific acts of violence linked diretly to the catholic church".
.
I've already presented my views on why I think that speech is different from physical acts.
This is a thread on the Vatican's position regarding homosexuality and homosexual marriage, not violence, correct? Please correct me if that's not right.
more...
Gelfin
Mar 26, 01:50 AM
However it isn't tyranny because the government isn't actually depriving them of liberty, merely not supporting them.
You will say anything to rationalize your prejudice, won't you? I have trouble believing anyone is as dense as you pretend here.
Just in case, though, the government offers legal concessions to men and women who legally (not religiously) commit to a marriage. It refuses to extend those same concessions to same-sex couples, and can demonstrate no legitimate state interest in this discrimination. That is denial of equal treatment under the law, and is unconstitutional.
You will say anything to rationalize your prejudice, won't you? I have trouble believing anyone is as dense as you pretend here.
Just in case, though, the government offers legal concessions to men and women who legally (not religiously) commit to a marriage. It refuses to extend those same concessions to same-sex couples, and can demonstrate no legitimate state interest in this discrimination. That is denial of equal treatment under the law, and is unconstitutional.
more...
citizenzen
Apr 26, 07:36 PM
Munchies aside, miracle cures of old are likely misdiagnosis.
It's quite possible they are "miraculous" recoveries. "Miraculous' as in exceedingly rare. Gabrielle Giffords survived a point-blank gunshot to the head. Is that the work of divine intervention? Or is it simply a matter that if you shot a number of people in the head, a very small fraction would survive? Likewise, among the millions of people with cancer, it shouldn't come as a surprise to find a small fraction that beat the odds to make a remarkable recovery. If Purell kills 99.99% of bacteria, does that make the .01% of survivors "miracles"?
It's quite possible they are "miraculous" recoveries. "Miraculous' as in exceedingly rare. Gabrielle Giffords survived a point-blank gunshot to the head. Is that the work of divine intervention? Or is it simply a matter that if you shot a number of people in the head, a very small fraction would survive? Likewise, among the millions of people with cancer, it shouldn't come as a surprise to find a small fraction that beat the odds to make a remarkable recovery. If Purell kills 99.99% of bacteria, does that make the .01% of survivors "miracles"?
dontwalkhand
Apr 9, 12:49 AM
Why doesnt Apple allow you to plug a controller in the 30 pin adaptor? Wouldnt that be the best of both worlds?
Because they do not want games that only work if you buy the controller.
Because they do not want games that only work if you buy the controller.
citizenzen
Mar 14, 07:15 PM
Your English comprehension could be better. Calling Nuclear 'The only Green Solution' (or Choice) is NOT calling it Green. The opinion piece merely points out that hydrocarbon burning is LESS Green. See the difference?
Thank you for admonishing me on my reading comprehension. Perhaps you could make yourself available for private tutoring to help those of us who are disadvantaged.
Burning hydrocarbons may produce less CO2 than nuclear fission, however I would be interested in seeing the entire process quantified.
How much power does it take to provide and maintain storage of the waste, and to mine the uranium? What impact does the operation of the plant have on the environment? What is the cost to humans and the environment when these plants fail as they have?
All of these need to be taken into account when one considers how green nuclear power is.
Thank you for admonishing me on my reading comprehension. Perhaps you could make yourself available for private tutoring to help those of us who are disadvantaged.
Burning hydrocarbons may produce less CO2 than nuclear fission, however I would be interested in seeing the entire process quantified.
How much power does it take to provide and maintain storage of the waste, and to mine the uranium? What impact does the operation of the plant have on the environment? What is the cost to humans and the environment when these plants fail as they have?
All of these need to be taken into account when one considers how green nuclear power is.
more...
leekohler
Mar 25, 02:54 PM
Loving v. Virginia (1967)
(emphasis added)
Skunk already quoted the Universal Declaration of Human Rights Article 16, so I don't think I need to quote that again.
People also have to get gun licenses, but that is clearly a right under the Constitution.
Licenses do more than extend a privilege; they can also be helpful in administering the rights that we have.
Actually, you might depending on when and where you wanted to speak. Parades need permits and most large protests have to be cleared beforehand so that traffic can be allowed to flow around it. All of these are handled by licenses.
That isn't what's at issue in same-sex marriage. The issue is whether the criteria themselves are a violation of equal protection (which they unequivocally are).
It could, for example, be a requirement that in order to drive a Class C vehicle, one must be Buddhist. This requirement would deny others with the same ability to drive a license to drive and it would deny everyone who wasn't Buddhist equal protection under the law.
Similarly, a gay or lesbian couple is just as capable of producing a loving household with shared duties and responsibilities, and yet they are excluded from the rights of marriage based on nothing more than old fashioned prejudices.
Funny how they always run when proven wrong. Just once, I would like to see someone admit they were wrong in here. It sure would be nice. I've done it before, that's for sure.
(emphasis added)
Skunk already quoted the Universal Declaration of Human Rights Article 16, so I don't think I need to quote that again.
People also have to get gun licenses, but that is clearly a right under the Constitution.
Licenses do more than extend a privilege; they can also be helpful in administering the rights that we have.
Actually, you might depending on when and where you wanted to speak. Parades need permits and most large protests have to be cleared beforehand so that traffic can be allowed to flow around it. All of these are handled by licenses.
That isn't what's at issue in same-sex marriage. The issue is whether the criteria themselves are a violation of equal protection (which they unequivocally are).
It could, for example, be a requirement that in order to drive a Class C vehicle, one must be Buddhist. This requirement would deny others with the same ability to drive a license to drive and it would deny everyone who wasn't Buddhist equal protection under the law.
Similarly, a gay or lesbian couple is just as capable of producing a loving household with shared duties and responsibilities, and yet they are excluded from the rights of marriage based on nothing more than old fashioned prejudices.
Funny how they always run when proven wrong. Just once, I would like to see someone admit they were wrong in here. It sure would be nice. I've done it before, that's for sure.
more...
puma1552
Mar 11, 08:18 AM
Japanese police are reporting several hundred bodies on a beach near Sendai so it looks like as per the Indonesian tsunami the official toll will skyrocket once the water recedes.
Link?
To get an idea of how massive this one was, I am in Himeji, and just an hour east of me, in Osaka, buildings were swaying. Now if you look at a map of where the quake is and how far away Osaka is, my god.
Link?
To get an idea of how massive this one was, I am in Himeji, and just an hour east of me, in Osaka, buildings were swaying. Now if you look at a map of where the quake is and how far away Osaka is, my god.
more...
Apple OC
Apr 24, 11:57 AM
I believe religious people like that warm fuzzy feeling they get from "the eternal afterlife" ... convinced they will be re-united with past relatives ... living worry free for eternity.
They get so giddy about it that they feel a strong need to convince others that this must be what is in store after "their time on earth"
I personally find that theory just plain ridiculous ... I honestly believe many scientists do know the answers as to how life came to be ... the reason they do not present it as fact is ... religious people would hear none of it as they are so set on this warm fuzzy feeling they get for the afterlife ... they do not want that to ever end.
To set the record straight ... I find religious people to be quite likeable and enjoy their company just fine ... just keep your wild beliefs to yourself and if you want to pray for me ... do not tell me about it ... as I find it pathetic.
They get so giddy about it that they feel a strong need to convince others that this must be what is in store after "their time on earth"
I personally find that theory just plain ridiculous ... I honestly believe many scientists do know the answers as to how life came to be ... the reason they do not present it as fact is ... religious people would hear none of it as they are so set on this warm fuzzy feeling they get for the afterlife ... they do not want that to ever end.
To set the record straight ... I find religious people to be quite likeable and enjoy their company just fine ... just keep your wild beliefs to yourself and if you want to pray for me ... do not tell me about it ... as I find it pathetic.
TheRealTVGuy
Mar 18, 01:44 AM
Do napster and limewire even exist anymore?
Probably not, I just felt the need to rant...
Sorry.
Probably not, I just felt the need to rant...
Sorry.
more...
Ugg
Mar 13, 12:21 PM
What is the alternative to nuclear power? These green ways of producing electricity cost a lot more and what I've heard, they can't provide enough power. Plus they don't work everywhere (not enough sun or wind in here for example).
Whether it's a good move to build nuclear plants near tectonic plate joints, that's another question. We don't have seismic activity in here so such natural catastrophes aren't a concern.
Of course you would say that, Finland gets ~30% of its energy from nuclear. Olkiluoto isn't exactly coming in under budget, is it?
It's not just a matter whether it is safe in your country, it's also a matter of whether it's safe for your neighbors. If I remember correctly, y'all had to throw away a lot of caribou meat after Chernobyl.
Whether it's a good move to build nuclear plants near tectonic plate joints, that's another question. We don't have seismic activity in here so such natural catastrophes aren't a concern.
Of course you would say that, Finland gets ~30% of its energy from nuclear. Olkiluoto isn't exactly coming in under budget, is it?
It's not just a matter whether it is safe in your country, it's also a matter of whether it's safe for your neighbors. If I remember correctly, y'all had to throw away a lot of caribou meat after Chernobyl.
more...
Quobobo
Mar 18, 06:46 PM
It's almost like you were planning of going online to one of the illegal music sharing sites, documenting your activities, and then sending that information directly to the RIAA with your name and address with a note asking them to prosecute.
Except with one key difference: you're paying for the music. If you can buy a CD and rip it to any format you like, why should you have to have DRM on files you (legally) download? This is why I never use online download sites, I don't understand why I should pay for files that are inferiour to what I can download for free. When I pay for music, I'd rather buy a CD that doesn't have any DRM.
Except with one key difference: you're paying for the music. If you can buy a CD and rip it to any format you like, why should you have to have DRM on files you (legally) download? This is why I never use online download sites, I don't understand why I should pay for files that are inferiour to what I can download for free. When I pay for music, I'd rather buy a CD that doesn't have any DRM.
more...
eric_n_dfw
Mar 20, 08:15 PM
That's ok. I was responding to the hypothetical situation of a couple burning music cd's for their wedding and handing them out (thus breaking a copyright) to their guests which I said there was nothing wrong with.I really wish it was okay. But all it takes is for one of those guests to be a busy-body radio station employee or someone otherwise with record industry contacts to send an email to the RIAA or ASCAP or someone to put your videography business in court.
more...
unlinked
Apr 9, 03:58 PM
Why would I do that?
People who have issues with uncontracted negative questions have been known to display a wide range of linguistic disorders.
People who have issues with uncontracted negative questions have been known to display a wide range of linguistic disorders.
Apple OC
Apr 26, 10:16 PM
I invite you to demonstrate how Islam is a threat to freedom and democracy.
An Islamic Internet?
http://www.foxnews.com/world/2011/04/26/irans-plan-halal-internet-repressive-iranian-group-says/?test=latestnews
An Islamic Internet?
http://www.foxnews.com/world/2011/04/26/irans-plan-halal-internet-repressive-iranian-group-says/?test=latestnews
Комментариев нет:
Отправить комментарий