143 karma · joined Jun 8, 2009 (17y ago) · 43 submissions
comment 16y ago · link · parent
comment 17y ago · link · parent
5.
ARM launches Solution Center for Android(arm.com ↗)
1 points · by tamas · 17y ago · discuss
6.
Athens Wireless Metropolitan Network(reddit.com ↗)
1 points · by tamas · 17y ago · discuss
comment 17y ago · link · parent
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.
8.
Success in 'space elevator' competition (news.yahoo.com ↗)
1 points · by tamas · 17y ago · discuss
9.
Design of Graphite and the Polyhedral Compilation Package(gcc.gnu.org ↗)
1 points · by tamas · 17y ago · discuss
comment 17y ago · link · parent
That's how every scientific theory should be approached, as that's what sets them apart from dogmas.
comment 17y ago · link · parent
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.
comment 17y ago · link · parent
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.
comment 17y ago · link · parent
14.
A non-trivial example of Emacs D-Bus bindings (cmarcelo.org ↗)
2 points · by tamas · 17y ago · discuss
comment 17y ago · link · parent
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.
comment 17y ago · link · parent
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.
comment 17y ago · link · parent
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.
comment 17y ago · link · parent
comment 17y ago · link · parent
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.
comment 17y ago · link · parent
Either that, or consult with your milkman/gardener.
comment 17y ago · link · parent
comment 17y ago · link · parent
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.