Gilgamesh (; Akkadian cuneiform: , Gilgameš, often given the epithet of the King, also known as Bilgames in the earliest Sumerian texts) was the fifth king of Uruk, modern day Iraq (Early Dynastic II, first dynasty of Uruk), placing his reign ca. 2500 BC. According to the Sumerian king list he reigned for 126 years. In the Tummal Inscription, Gilgamesh, and his son Urlugal, rebuilt the sanctuary of the goddess Ninlil, in Tummal, a sacred quarter in her city of Nippur. Gilgamesh is the central character in the Epic of Gilgamesh, the greatest surviving work of early Mesopotamian liter...
The Epic of Gilgamesh, an epic poem from Mesopotamia, is amongst the earliest surviving works of literature. The literary history of Gilgamesh begins with five independent Sumerian poems about Gilgamesh, king of Uruk. Four of these were used as source material for a combined epic in Akkadian. This first, "Old Babylonian" version of the epic dates to the 18th century BC and is titled Shūtur eli sharrī ("Surpassing All Other Kings"). Only a few fragments of it survive. The later, Standard Babylonian version dates from the 13th to the tenth centuries and bears the title Sha naqba īmuru ("He...
I wanted add a Parabola to my Manipulate/Plot, that have the same length and the same hanging points as the Catenary, so that when I Manipulate(Modify) the position of the Points A and B of the Catenary, it will also modify the form of the Parabola. So I'm trying to interpose the Parabola of the ...
I'm also starting to doubt the value in micro-benchmarking as WReach once said; I am certain I tested Take versus Part in the same version of Mathematica I use now and found Part faster; now on a new machine I am finding Take faster.
@MrWizard I agree; I've often encountered this as well. On the other hand, the time between versions is ~2 years. That's about a whole iteration of Moore's law, so the comparatively minor differences between versions perhaps don't really matter.
@MrWizard Philosophical rant follows (beware): lately I am thinking that Mma is more a flexible experimentation platform than a number crunching product. Probably the finest expert aboard (Leonid) keeps posting java code to make magic happens. I believe that if some code is really important and time matters you should program it in some C variant after testing it in Mma
@OleksandrR Okay, the auto-regulation on these new CPUs makes this a bit more complicated. Since I cannot remember the BIOS settings I used CPU-z to check actual values. A single core runs at 4.6GHz and ~1.304v. Two cores take ~1.336v and also run at 4.6GHz. Four cores take ~1.336v and throttle to 4.1GHz. I didn't try 3 cores.
You are the victim of branch prediction fail.
What is Branch Prediction?
Consider a railroad junction:
Image by Mecanismo, from Wikimedia Commons: http://commons.wikimedia.org/wiki/File:Entroncamento_do_Transpraia.JPG
Now for the sake of argument, suppose this is back in the 1800s - before...
@MrWizard I don't have an i7 but if I did I'd probably go for 4.0-4.2 base clock, I guess, so the same as you. Currently I have a rack mount case, so it's not tall enough to fit a tower cooler; I just have a top cooler instead which isn't as efficient. But, as long as it doesn't get over 72°C running Intel LINPACK I don't mind.
@MrWizard for the more recent versions (of LINPACK), it should be, yes (Intel's LINPACK is pretty well optimized, as they provide it for people to produce TOP500 scores with). Problem with Prime95 is it's mostly FFTs, so you stress the cores (esp. vector units) but leave the cache and memory [controller] alone. I didn't find anything that runs hotter than LINPACK so far.
@RM that is an absurd number of views and rep points. Now I see why people on SO can get such extreme amounts of rep. But, the question and answer are quite nice.
Just a clarification
Although the previous answers are right whenever you try to spot the randomness of a pseudo-random variable or its multiplication, you should be aware that while Random() is usually uniformly distributed, Random() * Random() is not.
This is a uniform random distr...
@belisarius well, I think you made a point that needed making, in a clear and graphically intuitive way. The other answers are just rambling walls of text. Was this answer publicized on e.g. Reddit, or just popular?
@RM yes, just denying it made it worse. I should have known better, but I thought (foolishly) that a calm explanation would do it. But, alas I forgot the first rule of life: don't argue with stupid people, with the essential corollary: most people on the internet fall into that category.
I guess this is the only reasonable comment in that thread:
In these examples, Mathematica did not actually compute how to make the cut: that was done by the programmer and specifed as a few formulas. All mathematica did was render (or animate) a mathematically defined surface. It's nice that it can be done in a few lines of code (you could do the same in, say, Pov-Ray, but it wouldn't be as succinct) but it doesn't show any remarkable abilities of Mathematica.
In the case used in the code, I want to catch it, do something else, and rethrow. The method used in Leonid's answer involves a double Catch. Instead, I alter the behavior of Throw to always use a tag, then deal with the effects later.
I was just wondering if there is another way to do that, as I am not a fan of using Unprotect. Although, there are times where it is necessary.
Personally, I'd use a double Catch. Although I generally try to avoid interfering with other people's use of Throw. Although this leads me to think it's possible to cause a memory leak by using a poorly placed Throw in some of my code. Hmmm..... (I think this is mostly an academic possibility, and not likely to arise in practice.)
Mostly, I don't use Throw myself, but as this was meant to bullet proof the code a bit, I put it in there.
One issue with the double Catch is the difficulty in determining that something tagless was caught as Catch[expr, form, f] doesn't work with a tagless Throw. So, a flag is necessary if you want to know you've caught something.
Leonid predicted that, as the site became better known, we would get more newbie questions. Questions like this one. I don't think we have yet seen an avalanche of such questions, but inevitably we'll get a few each day.
In responding to these questions, I hope we never lose sight of what made u...
Why at the creation of Mathematica.SE the decision was taken to focus only on Mathematica rather than the whole field of symbolic computation ?
The beta seems to be successful so I can't really be critical, but I can't explain it either. Here are my arguments of the existence of SymbolicComputat...
@All I'm really happy this site is graduating. Some months ago I thought of Mathematica as only a fancy calculator. I started using MMA days before the private beta, just in time to commit to the proposal. I'm now hooked. The community is absolutely terrific, and the programming language I'm learning is great. Both contribute to my perception that practically anything can be done with MMA and the help from this community. Thank you, and I look forward to graduation.
LeapMotion is presently looking for developers for its product. I've filed a request, but considering I've started programming a couple of months ago, I don't have that big of a chance.
Would anyone be interested in filing a request, either in his/her name or in the name of the community? I woul...
I want to apologize to the mathematica.SE guys, especially nintegrated and wyldeling, and also to other reddditors, for my aggressive behaviour yesterday on this thread. I overreacted and didn't stop. I'll try not to be "that guy". I'm sorry. Edit: I deleted my comments, not a mod.
@alecco Hello alecco, I'm not one of the people mentioned - I'm not on reddit but I read the thread. I just wanted to say that I appreciate your coming here and apologising. Not many people are big enough to do that. The ones you were engaging with on reddit (who go by different names here) are presumably not near their computers at the moment but I'm sure they will be along soon.