Reputation
1,224
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 14
Newest
 Yearling
Impact
~35k people reached

  • 0 posts edited
  • 0 helpful flags
  • 161 votes cast
Feb
24
comment F# performance vs Erlang performance, is there proof the Erlang's VM is faster?
@JonHarrop Thanks for the links. Really useful.
Feb
24
comment F# performance vs Erlang performance, is there proof the Erlang's VM is faster?
@JonHarrop Your info on Feynman diagrams is new to me and thanks for the input (would be better and helpful if you could provide me references for FP in HPC). FFTW looks to be in C(I checked at fftw.org). Your suspicion is right. I believe FP must be in its place (pure functions based on lambda calculus) and others in theirs. You can mix both paradigms to make great software but I generally don't like the notion of function with classes. Your suspicion is right.
Feb
24
comment F# performance vs Erlang performance, is there proof the Erlang's VM is faster?
@afuzzyllama For simple simulations, you can get up and running with garlicsim and simpy (python) if you want to learn simulation. As a long-term option your selection of Erlang is superb and you can better do message-parsing in Erlang and number-crunching in other languages by having a lot of tiny actors. This is a long-term solution and I believe its tough but you can do it with your perseverance.
Feb
24
comment F# performance vs Erlang performance, is there proof the Erlang's VM is faster?
@JonHarrop The logic with FP is what needs to be done. How it is to done is determined by the underlying FP machine. In case of C/C++, you specify what and how to do and the compiler turns into assembly code. So you can optimize code(the same can be done in FP but it just defeats its very purpose of elegant problem solving). Also, contiguous memory layout is the preferred way for huge number-crunching. FP is really great but for number crunching a few functions need to be optimized and the percentage of FP in HPC being relatively low, IMHO, it needs to pick up
Feb
23
comment F# performance vs Erlang performance, is there proof the Erlang's VM is faster?
@afuzzyllama Number-crunching don't go well with functional programming (I don't believe it) due their evaluation model. In FP, you specify what is to be done and not how it is to be done. So it is always slower than imperative languages. Yet, Erlang is a real good choice (I am also learning it for a simulation application along with Python) for parallel processing and it does provide backports to C,C++. And going by your question, it looks you are going to create pure functions for simulations that could be run in parallel and results get aggregated at the master node. Am I right?
Feb
23
comment F# performance vs Erlang performance, is there proof the Erlang's VM is faster?
@afuzzyllama Can you just stress more on your application. just like the general purpose, size of the data, number of iterations, real-time or deferred, processing time on a normal desktop for a task.If its intended to be a numerical crunching tool, then it would be really slower in Erlang (not sure about F#) when compared to C,C++. You can still connect to C,C++ from Erlang to speed up code. Erlang is at its best in message parsing involving lot of agents.
Feb
23
comment Under which circumstances will development advance faster with many contributors compared to few?
Software involving research, multi-disciplinary studies, government undertakings, huge data analysis are large projects that require a few hundred programmers working in tandem. And IMO, software gets complex with the purpose rather than people
Feb
21
comment Transforming theoretical knowledge into practical knowledge
And those 10000 hours must be with different tasks and at different levels
Feb
20
comment How do you create interest in your projects?
If you want to stay with the same technology, join an open source project or create your own. If you want to stay in the same domain, read advanced books and research articles pertaining to your domain. If you want to be really interested for your whole lifetime, start learning new languages, concepts and paradigms. Start with HASKELL, Intelligent Systems and Concurrent Programming. You would just be on your toes.
Feb
20
comment Getting and maintaining data from a large number of sources on the web
If you just want a database to store and retrieve information, use MongoDB, its simple and supports JSON in storage and search. But be sure to convert XML to JSON to store it in MongoDB (you can store XML too but can't search it if stored as text)
Feb
17
comment Is there a difference between the terms “Open Source” and “Open Source Software”?
Better than my answer.
Feb
17
answered Is there a difference between the terms “Open Source” and “Open Source Software”?
Feb
15
comment Why did Google develop a cross-compiler from Java to JavaScript?
I honestly believe Google must answer it. Be specific with the question.
Feb
1
comment I feel stuck in the center of Python, How to get past beginner
@Isov5 Are you stuck with Python or programming. If you are sure that you stuck with the former, try a simple concept with a other language. If you see a problem with the latter, read some books on programming (Pragmatic Programmer is really good)
Jan
31
awarded  Critic
Jan
24
comment
@Great gesture Morons.
Jan
24
comment
Would definitely support atleast for spamming chats for blogs plus you are always there
Jan
21
comment Handling invoices with timestamps
This is a case of recurring invoices. So instead of isinvoiced, we would keep an integer field that increments every time an invoice is made. So if a customer has subscribed on 1st JAN 2012 and his billing cycle is monthly, then after 3 months he must have been invoiced thrice and our count should show 3. If it shows a lesser count, then it must be invoiced. When a customer, changes his billing cycle, then the product timestamp must be changed. An ideal solution would be to create a table of invoices to keep references. Hope you would have done it, else older invoices can't be tracked
Jan
21
comment Handling invoices with timestamps
It shouldn't be reset unless the invoice is canceled. Why should it be invoiced at the next due date? Its already invoiced and it stands due for payment. There must only be one invoice for one product
Jan
21
comment Handling invoices with timestamps
@Fabian Not exactly. The cron would fail in the following scenario: Assume the cron isn't run for 10 days then the timestamp wouldn't be in the future since the latest time would be greater than the timestamp and invoices wouldn't be generated. It may seem to be rather unlikely but in if invoices are to be generated only 2 days in advance, then there is every chance this could happen.