143 karma · joined June 8, 2009
I would take the route of first order functions -> anonymous functions -> closures, but I think it is really a lost cause for the typical 9-5 programmers.
That's how every scientific theory should be approached, as that's what sets them apart from dogmas.
What I wanted to say is that it's hard to find an index that went down during Q3 so those hundreds of traders could actually manage to not lose money but only one day, so that post and the comments really seem to be... subjective and biased.
As your note of my "strategy" being a mistake, I'm actually fine with my results and I'll keep going long, thank you.
Of course I'm nowhere near Goldman Sachs in volume (about 6 trades a month on average), just telling that it is actually possible to achieve a "perfect score".
I know Goldman Sachs is not really popular right now among the people, and I have absolutely no intention to defend them, but this seems a bit like a witch hunt.
However, I do think it could be possible that the pagerank algorithm does not scales good enough for the growth of Web pages, and especially with the "SEOs" out there always trying to come up with new ways to game the system.
Shader language can be used to write raytracers running entirely on the GPU, rendering the output to merely two textured triangles streched over the screen.
However as we are talking about Clojure, not shader languages, an alternative way would be offloading some of the weight lifting to OpenGL, for example by calculating visibility using the videocard's z-buffers or creating shadow maps by rendering the scene from the lights' viewpoint into shadow buffers and using the results in the raytracer.
And then emails started to arrive to the address. Of course, lots of them were spam-spam-spam-spam. But there were also some personal letters. For a while I thought it was some mistake, and replied nicely to them pointing it out, and tried to inquire about what could be the reason behind the confusion, but never really figured out.
The mails kept coming, and I realized that they weren't even addressed to the same person. Up to now I have at least 30 alteregos, giving out my email address to their friends, relatives, and using it in an attempt to register on web sites. Most of them seem to be female, so I get many mails trying to hit on "me" after that talk on im or seeing my profile on some website, etc. Also pictures of nieces, invitations to bbqs, and questions about my iron and if I can bring it to "the club" next Tuesday.
I just hope I won't get sued one day.
You could do as much testing on your machine as you'd like, with your debugger of choice. And when you are sure you understood the algorithm and implemented it correctly, you can submit.
Either that, or consult with your milkman/gardener.
For example: Creating a temporary file and after some work deleting it would be done using try & finally sections in idiomatic Java, but in C++ an object would be used where the constructor contains the file creation and the destructor contains the deletion. This way the file lifetime is tied strictly to the object lifetime, which would be destroyed automatically when the code block is left.
However, the fact that object allocation on the heap is slow is mitigated by having the ability to create objects on the stack, which is probably even faster than Java or C#. And they are also managed automatically, so stack objects are always preferred if they are suitable.
While I think it is an apple-to-apple comparison, it is a microbenchmark, and as such probably irrelevant in most of the real-world cases.
Even if it has shelves, just by thinking about how one gets the jar of jelly out from the back of lowest shelf makes my back hurt.
2) Having a full duplex interaction. Talking AT people will make them only bored, but not smart. Watch for reactions, ask questions to force the student to explore the topic being discussed. If they can't answer, try to find out where their train of thought stalled, and elaborate. Of course this doesn't work very well in larger groups of students.
Usually, neither circumstances (smart teacher, small group of students) are given in compulsory education.