Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Not just version 4.9 (Score 1) 739

But it's not. The language specification sets semi-deterministic rules for how the code must be converted to machine code. In this case the compiler was overstepping those bounds and generating machine code inconsistent with the source code and translation rules. Very inconsistent actually, given that the compiler was also ignoring the flags that imposed more stringent requirements on the translation than those in the language specification itself.

Comment Re:Or upgrade to llvm ... (Score 1) 739

Only for the 1% of your code that is the largest bottleneck, and even then a good modern compiler fed high-level source written with compiler optimizations in mind can often generate machine code that's as good or better than competent hand-coded ASM, due in part to the fact that it need not care about readability, maintainability, etc. Meanwhile assembly requires considerably more developer time to maintain than high-level source.

Good rule of thumb: stay away from assembly unless you've already:
- had a profiler pinpoint the code as a bottleneck area
- written the code with an eye towards being particularly compiler-optimzation friendly
- analyzed the compiler output and found significant bottlenecks that could be optimized away by hand, and aren't caused by sub-par input source
It's a pretty rare chunk of code that can make it past all three filters to be potentially worth rewriting in assembly. And those filters don't even consider the significant maintainability losses you typically get by introducing assembly.

Comment Re: I know you're trying to be funny, but... (Score 1) 739

So, he should cater to the personalities of the people that might theoretically contribute in the future, rather than to the personalities of those who have proven themselves by contributing for years or decades? Doesn't sound particularly effective to me. Perhaps it might be worth considering if the community were suffering from a shortage of contributors, but as far as I'm aware that hasn't been the case in decades.

Meanwhile, my sense is that Linus mostly only pulls out the abusive language in the face of gross incompetence - such as situations like this where major bugs make it into the release versions of critical infrastructure.

Comment Anti-SpaceX Propaganda Campaign (Score 3, Informative) 114

As this article indicates, United Launch Alliance, the principle competitor to SpaceX has hired Shockey Scofield Solutions to initiate a propaganda campaign against SpaceX. You can see ULA listed as a client in the website listed above. The campaign is indirectly mentioned in the following very informative article, just past the halfway point in the article. You will also notice another client to Shockey Scofield Solutions as Koch Industries, which is a company notorious for its deceptive propaganda campaigns against action on global warming.

Given this fact, I would tend to suspect many of the anti SpaceX comments as being part of an astroturfing campaign. To be honest, I really don't understand why an actual thinking person would have any problem with SpaceX. They build reliable rockets quickly and cheaply. What on Earth is the problem with that?

Comment Re:no problem (Score 1) 342

round != perfectly circular, and the Earth is a hell of a lot rounder than any circle you can draw by hand.

And if you're a pedant going with the mathematical definition of circle, then there isn't much at all in the universe that qualifies. Planetary orbits are probably about the closest approximations there are to a "perfect" ellipse, and the gravitational pertubations of other planets make sure they're far from perfect.

Comment Letter from Gaia to humanity on joy of expectation (Score 1) 342

Good point. Going even further, from something I wrote in 1992: https://groups.google.com/foru...
---
A letter from Gaia to humanity on the joy of expectation

Don't cry for me. When I let you evolve I knew it might cost the
rhino and the tiger. I knew the rain forests would be cut down. I
knew the rivers would be poisoned. I knew the ocean would turn to
filth. I knew it would cost most of the species that are me.

What is the death of most of my species to me? It is only sleep.
In ten million years I will have it all back again and more. This
has happened many times already. Complex and fragile species will
break along with the webs they are in. Robust and widespread
species will persist along with simpler webs. In time these
survivors will radiate to cover the globe in diversity again. Each
time I come back in beauty like a bush pruned and regrown.

Be happy for me. Over and over again I have tried to give birth to
more Gaias. Time and time again I have failed. With you I have
hope. I cannot tell you how happy I am.

Your minds, spacecraft, biospheres, and computers give me new realms
to evolve into. With your minds I evolve as ideas in inner space.
With your technology I can evolve into self replicating habitats in
outer space. Your computers and minds contain model Gaias I can
talk to; they are my first children. Your space craft and
biospheres are a step to spreading Gaias throughout the stars.

Cry, yes. Cry for yourselves. I am sorry those alive now will not
live to see the splendor to come from what you have started. I am
sorry for all the suffering your species and others will endure.
You who live now will remember the tiger and the rain forest and
mourn for them and yourselves. You will know what was lost without
ever knowing what will be gained. I too mourn for them and you.

There is so much joy that awaits us. We must look up and forward.
We must go on to a future - my future, our future. After eons of
barrenness I am finally giving birth. Help me lest it all fall away
and take eons more before I get this close again to having the
children I always wanted.

(Paul D. Fernhout, Lindenhurst, NY 6/92)

===========

The preceeding is something I just scanned in from 1992, written while I was
in the SUNY Stony Brook Ecology and Evolution PhD program (where I had gone
to learn more towards simulating gardens and space habitats). I had learned
there that it took about 10 million years to regenerate lots of biodiversity
from a large asteroid impact event, and this had happened several times in
Earth's history.

The following is a related statement also just scanned in of what inspired
it written at the same time.

--Paul Fernhout (NY Adirondack Park, Oct 2008)

=================

If one accepted that modern industrial civilization has initiated
a great die-off of species comparable to the one sixty-five
million years ago, how should one feel about this?

Is overwhelming sadness and anger the best emotional response? On
the surface it may seem so. Apparently modern civilization and
the accompanying pollution and deforestation are pulling apart a
tapestry woven over billions of years. Anger at the short sighted
and narrow values driving industry may seem well placed.
Certainly feelings of joy and excitement would seem out of place.

Here are a few thoughts that may affect one's feelings. High
levels of biodiversity can be generated from very low ones in
about ten million years. On the time scales of the earth this may
not be a blink of an eye, but it is a short nap. To humans this
may mean a great loss, but Gaia might barely notice. It has after
all been only sixty-five million years since the last die off.

Not all species will be affected equally. A simplification will
occur where the more specialized creatures will be the most likely
to go extinct. Complex food webs will either loose species to
become simpler or they will be replaced entirely by new simpler
webs. This will create opportunities for generalists to move
into vacated niches. It will also produce more robust species and
food webs. In the long term this may make the biosphere healthier
in the same way pruning a bush makes it grow more.

New forms of life existing as ideas are now living and will likely
continue to expand. Language and culture and technology are
possible with humanity's growth. These allow new patterns to be
created and selected for, giving evolution a new canvas. Also
possible are new combinations of ideas and life as philosophies
evolve in combination with ecosystems.

A process that may well lead to the extinction of 30 to 99 percent
of all species has been initiated unintentionally. Conservation
of biodiversity should be done if only for aesthetic and spiritual
reasons. Anger and sadness should not overwhelm one and keep one
from making the best of the inevitable.- Paul D. Fernhout 6/22/92

Comment Blowback 9/11: Why some young Saudis hate the USA (Score 4, Informative) 125

It's called "Blowback". In order to prevent another 9/11/2001 or worse, it seems important to understand the motivations behind the first one (I'm using the year to distinguish from the US-supported 9/11/1973 coup in Chile). Like you, I also doubt the Saudi government had anything to do directly with funding that 9/11. In fact, that 9/11 seems more a protest against the Saudi government by Saudi citizens, but with the protest directed at the perceived source of funding for the Saudi government by the USA. Let's turn the political situation around hypothetically to try to understand the emotional aspect of it better, imagining what it might be like if the Saudi government was meddling directly in US affairs.

Here is a first cut at trying to understand the social/psychological dynamics of the situation from a different perspective. Imagine Saudi Arabia somehow was sending billions of dollars of campaign donations annually to the USA to keep in power an oppressive administration in the USA (passing laws forcing all US women to wear burkas, only allowing males with brown eyes to hold public office or get university degrees, and with capital punishment on suspicion of premarital sex or homosexuality). Also, imagine that there were millions of Saudi soldiers stationed in US states to ensure a flow of manufactured goods to Saudi Arabia despite strikes and other unrest in the USA and nearby countries. Also imagine that the Saudis were also funding Japanese people who, from fear of earthquakes and tsunamis in Japan, had moved to Canada, bought a lot of the land, claimed a right to govern all of Canada because some Japanese people had moved to Canada 10,000 years ago across the land bridge from Siberia, and then forced most non-Japanese Canadian citizens in all of Canada to flee to the USA and were killing non-Japanese Canadians who remained and resisted the Japanese occupation. If you are a US citizen in such a hypothetical world, would you be at all upset by such a situation whatever your eye color? Imagine that some very upset and frustrated young US citizens decide to protest this situation by attacking some big buildings in Saudi Arabia by hijacking airliners to show how unhappy they are with Saudi government foreign policy and to show how they felt their hopes and dreams for a good life in the USA had been thwarted by Saudi meddling in US government. Imagine this attack is then used by Saudi Arabia to justify invading Mexico (where some of the hypothetical American hijackers trained) and Brazil (because it is claimed by the Saudis to have WMDs that hypothetical young Americans might use against Saudis). Imagine the Saudis then start supplying "intelligence" to the US government from listening to all US telephone calls about specific US citizens who might be unhappy about the situation and perhaps plotting unrest in the USA or planning more blowback against the Saudis.

Now flip this scenario around and back to reality (US funding Saudis and Israel and US troops in the Middle East) and does the fact the almost all of the 9/11 hijackers were frustrated young Saudi men make more sense?

Soon after 9/11 I saw an analysis in a magazine (maybe the Atlantic or New Yorker) of why the hijackers did what they did. I have not seen many such articles since. The point made there was that these were mostly young men whose hopes for significant advancement in Saudi society had seemed thwarted and they were led to blame the USA for that, because the USA was propping up the Saudi regime and otherwise meddling in the Middle East. Of course, being promised eternal bliss in "paradise" for becoming murderers can not be ignored as a related aspect of religious fundamentalism (including outrage about the occupation of Palestine), so there are layers of complexity here for that and other reasons. The motivations of the hijackers themselves may also be somewhat different than the motivations of the organizers at higher levels.

See also:
http://en.wikipedia.org/wiki/H...
"The hijackers in the September 11 attacks were 19 men affiliated with al-Qaeda, and 15 of the 19 were citizens of Saudi Arabia. ... "

And:
http://www.dailykos.com/story/...
"The 9-11 Commission held its twelfth and final public hearing June 16-17, 2004, in Washington, DC. On June 16 the Commission heard from several of the federal government's top law enforcement and intelligence experts on al Qaeda and the 9-11 plot. It was at this hearing that the question "What motivated them to do it?" was finally asked. Lee Hamilton, vice chair of the 9/11 Commission said, "I'm interested in the question of motivation of these hijackers, and my question is really directed to the agents. ... what have you found out about why these men did what they did? What motivated them to do it?" The agents looked at each other, apparently not eager to be the one to have to say it. FBI Special Agent Fitzgerald stepped up to the plate and laid out the facts, "I believe they feel a sense of outrage against the United States. They identify with the Palestinian problem, they identify with people who oppose repressive regimes and I believe they tend to focus their anger on the United States." But this testimony was kept out of the 9/11 Commission Report and no recommendation was given to address the main motive for the 9/11 attacks."

So, it was not so much that "they hate us because we were free" (although there were some religious aspects of that). It was more that "they hate us because we fund their oppressors". Granted, there are additional layers of complexity including from religion and economics, but that is part of the bigger picture.

To bring this back to the source original article, it says: "The report also notes the MOI's use of invasive surveillance targeted at political and religious dissidents. But as the State Department publicly catalogued those very abuses, the NSA worked to provide increased surveillance assistance to the ministry that perpetrated them."

So, the USA is left in a difficult situation. Saudi citizens who resent their oppression or other treatment by a government propped up by US support still have reason to dislike the US government. But, if the US government does not help the Saudis via the NSA identify and suppress dissenting Saudi young men, then another 9/11/2001 becomes more likely in the short term, even as such a disaster or much worse becomes more certain in the long term if the USA continues to support a repressive Saudi government and otherwise take sides in Middle Eastern politics. What is the morally and politically correct solution to this dilemma? What policies should a US citizen now support? It's the kind of situation best avoided (see George Washington's farewell address which warned to avoid entanglements in foreign affairs) but it is too late for that. Also, to get to a good resolution, we have to acknowledge the truths behind the conflicts, but often conflicts include suppressing or spinning relevant details like misleadingly claiming "they hate us because we are free".

One thing I feel strongly is that given the increasing power of WMDs including bioweapons, the margin for political error grows smaller and smaller. Given that increasing risk, oppression does not seem like a good long-term strategy to ensure peace and prosperity in the 21st century. So, I feel we need to move instead towards some sort of transcendence of these 20th century (and earlier) conflicts. That included rethinking security to be mutual and intrinsic, like I mention here:
http://www.pdfernhout.net/reco...

But others have been saying similar things for a long time:
http://en.wikipedia.org/wiki/R...
http://pugwash.org/
http://christianity.about.com/...

And maybe we could create better software tools to help resolve such conflicts in a healthy way? As I suggested three years ago:
http://pcast.ideascale.com/a/d...
"This suggestion is about how civilians could benefit by have access to the sorts of "sensemaking" tools the intelligence community (as well as corporations) aspire to have, in order to design more joyful, secure, and healthy civilian communities (including through creating a more sustainable and resilient open manufacturing infrastructure for such communities). It outlines (including at a linked elaboration) why the intelligence community should consider funding the creation of such free and open source software (FOSS) "dual use" intelligence applications as a way to reduce global tensions through increased local prosperity, health, and with intrinsic mutual security."

Comment Re:Not news (Score 1) 342

The Americas were pretty ecologically lush when the Europeans first arrived, despite being pretty thoroughly settled for 5-10,000 years at that point. In fact the population was so dense that the journals of early European explorers report that the smoke from their cook fires was visible for a week before the land itself came into view. Now, a scarce 500 years later, the vast hardwood forests have been exterminated and the great plains have expanded from the Mississippi all the way to the Appalachians and are gradually turning into desert.

There's something to be said for actually paying attention to the ecosystem around you and considering the long-term consequences of your actions. from Wikipedia

"In every deliberation, we must consider the impact on the seventh generation... even if it requires having skin as thick as the bark of a pine." This is an often repeated saying, and most who use it claim that it comes from “The Constitution of the Iroquois Nations: The Great Binding Law.”

We might have been better off if we had incorporated a bit more of their constitution into our own.

Comment Take care of your yard? (Score 4, Interesting) 342

I imagine it's closer to "Invasive species are a danger to the entire ecosystem, including, eventually, themselves." When dealing with such the usual solutions are extermination (generally ineffective), or introducing a predator capable of keeping them in check without further destabilizing the ecosystem. Assuming we wish to do neither, nor suffer global ecosystem collapse, it would behoove us to start learning to co-exist with our ecosystem rather than strip-mining it.

And it's not like that is some sort of knee-jerk hippie "let's all live in mud huts" bullshit. As one example consider the gradually increasing numbers of oceanic "wildlife preserves" where all fishing and other destructive exploitation is banned - Not only does the protected area begin returning to pre-exploitation lushness, but so do the surrounding waters. Fishing yields around the protected zone reverse the global trend and begin to increase dramatically, greatly benefiting even the fishermen who were initially opposed to banning fishing in the richest waters. Given half a chance nature can be extremely bountiful, we just need to give the ecosystems a chance to stay healthy rather than maximizing short-term profits at the expense of long-term desertification.

Comment Re:no problem (Score 5, Interesting) 342

Very true. A few years ago I was tutoring at a community college and actually met a man who didn't realize the Earth went around the sun. At first I assumed he was pulling my leg, how could an American in this day an age not know that?!? But he was fascinated by the idea, and we had a long conversation about the basics of orbital mechanics and how they shape tides, the seasons, etc.

Comment Re:Correction (Score 1) 97

I reserve my opinion on the number of gods until I see evidence for or against their existence. Certainly many have possessed metaphorical existence, with their priests wielding massive sociological powers in their name, and I have seen enough first-hand evidence of intentional phenomena that stretch the limits of plausibility that I'm willing to entertain the possibility that it might be possible that at least some manner of beings capable of discretely playing the part exist. (Ever read American Gods by Neil Gaiman? A rather amusing take on the possibility that gods exist, and were created by man) Personally though I lean more towards the Tao - I've seen plenty of direct evidence for that, and am still not sure whether it's an actual "thing" or just a very apt metaphorical construct to describe the synergies in a chaotic system. Or even whether there's any meaningful distinction between the two positions.

Slashdot Top Deals

"May your future be limited only by your dreams." -- Christa McAuliffe

Working...