Threading Framework for Delphi 7 - any? [closed] - multithreading

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for some threading framework to avoid writing it from scratches. Especially the tasks queuing and synchronization are what I need.
I know OmniThreadLibrary which is great but is not compatible with D7.
Any recommendations?

So you want to stay with Delphi 7, and you want a good thread library, but don't want to write it from scratch.
One day you will upgrade, I'm sure. So why go for a poor threading library that you'll need to change when you do.
My recommendation would be to take OmniThreadLibrary, and try to port it to work with Delphi 7. Then you'll have an upgrade path.
Otherwise, try one of the recommendations in: How Do I Choose Between the Various Ways to do Threading in Delphi?

A threading framework could possibly save you months of work in the long run, so depending on how important it is for you to have one, maybe you can use this as a reason to upgrade. And anyone who suggests that TThread and other Windows synchronisation primitives are all you need obviously has not written much threaded code. I estimate that I have spent at least 3-6 months just to develop my own threading framework to make things easier, and it has easily "paid" for itself.

I'm not trolling when I say this, but how about TThread? Although not a framework, it certainly makes working with Windows threading far less painful. Seriously, it is very well done.
Here are some links to get you started:
Delphi, Threading by Example
Synchronizing Threads and GUI in Delphi application
Running Queries in Threads

Related

Is visual studio optimised for hyper-threaded microprocessors? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like to know whether the most common software development suits such as Microsoft visual studio its compilers are optimized for using the Hyper-Threading feature to the maximum extent? Is it worthy to go for a hyper-threaded processor for working with those softwares?
I have read many reviews that hyper threading is only useful for intensive multi threaded applications like video editors,etc..Some reviews says that softwares which are not optimized for using Hyper threading can suffer a decrease in performance and many people run their systems with hyper threading turned off.
As I am a novice programmer I would like to know whether those arguments and reviews stands true in the field of programming.
Again I am talking about the compilers and IDE and not the applications that I 'am going to create!(as if now I don't know how to create multi-threaded applications!!)
Since you have not made up your mind on what IDE/development platform to use then there may be other factors to consider besides threading. Most high level languages and compilers do support thread pooling, which is probably what you are looking for. I can't speak for compilers I have not used so I will leave a link to the article below:
.Net and hyper threading
It appears to be a bit dated, but the basic concepts are explained.

Running thousands of NodeJS apps [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I would like to start writing lots of tiny "utility" NodeJS-based apps -- things like stream filters, generators, and the like, that might be 30-40LOC each. Each one would consume nearly zero CPU, RAM, or bandwidth (when the overhead of NodeJS and OS processes are factored out). The point is, I want a simple way to run thousands of them.
What do I need? Are there any PaaS's that can run thousands of NodeJS apps for a reasonable price ($10/mo)? Is there some kind of middleware that can give me thousands of sandboxed "partitions" on top of one Node process? Or is there some binary that's made for this that I could put on a VPS?
You can use vm module for sandboxing javascript code. It is still in works, be sure to read the caveats.
Functions that you can use:
runInThisContext: runs code in a separate context (but has access to global vars, not local).
runInNewContext: takes a seperate set of global var for context.
runInContext: takes a Context object(previously defined), for running the code.

Microsoft Project opensource alternatives [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been recommended to use the Microsoft project as a project manager in my course. But being a opensource fan and linux user what will be the best opensource alternative to this.
I have seen this question: https://stackoverflow.com/questions/109579/open-source-alternative-to-microsoft-project, which suggests to use openproj. Openproj's last version was released 2 years back so I was thinking otherwise.
Also following the wiki project management softwares comparison, I found out there are lot of opensource alternatives. Some software in the list with maximum features I found out are:
Endevour
eGroupWare (web based)
Onepoint Project
Project.net
Project-Open
Redmine
web2project (web based)
Could anyone recommend what is the best (or most popular) alternative.
Update
Finally looking at the various project management softwares, I found out that deciding for one completely depends on your needs. The one thing that works everywhere is Pen and Paper as suggested in this answer.
Your list is missing my two favorites:
Pen and paper
.txt files
and I don't mean this in jest! They are simple tools - but they have certain advantages to them. They have limitations in what you can track with them, and hence you only track what is important. Take it as the minimalistic approach to project management if you will.
In general, I don't tend to think you can manage software development by GANTT or PERT and resources. Most software construction is creative and implements things which have not been tried before. Hence, the problems you are to solve have a high risk of failure where you have to retry the attempt. I find that GANTT and friends are best if you have a large number of well-known low-risk tasks to accomplish.
You may not believe this to be true, but then I implore you to at least take my standpoint into consideration when you track the project in detail. Especially if and when you suddenly have to update the GANTT chart due to slips.
Have a look at RationalPlan. It has different editions based on your needs:
http://www.rationalplan.com/download.php
http://www.openworkbench.org/ is what we are using
Another option is Gantt.
URL: http://www.ganttproject.biz/

Dreamweaver equivalent for Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for an equivalent software to Dreamweaver in Linux.
It is not an exact match but it is based out of Eclipse which means super cross platform funky java love.
http://www.aptana.com/
Aptana Studio is actually what I replaced Dreamweaver with since Adobe bought Macromedia, I use it on Windows and Linux without trouble. But for the suggestion you will also get my 2 cents about Wysiwtf... it is almost never what you get. Some of the best code I have ever done in my life was done in SciTE (also available in Linux), it supports multiple coding languages and offers enough features to be useful without becoming bloated.
If you want something reasonably non-technical, then perhaps Kompozer?
Or, if you want more technical stuff, then you probably want Aptana.
Another mention bluefish.
Depending on what desktop environment you use I can recommend Quanta+ to you. It's part of the KDE SC but can also be used in other DEs.
You could also use KompoZer, it seems to be nice as well. Didn't test this one though.
I've also researched this for myself, and the answer is that, in my opinion, there is nothing comparable.
Most people choose Dreamweaver for its WYSIWYG (as good as it can be with HTML), and the ease of use. If you're looking for database connectivity, PHP debugging and the like, then Elipse beats Dreamweaver by a lot, but chance is the original poster is looking for the ease-of-use, so neither Bluefish nor Eclipse is going to satisfy him.

Could you recommend an unstructured data indexing software? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am collecting logs from several custom made applications. Each application has it's own log format. What I'm looking for is a central tool which would allow me to search through all of my logs. This means the tool would have to be able to define a different regex (or alike) for each log file (marking where a record begins, ends, and what are the fields). I've been trying Splunk, but I'm not happy with it, since performance are slow, I'm limited (free version) with the amount of indexed data per-day, and it's not as flexible as I want it to be.
Could you recommend a software (preferably free or cheap) for the task?
You can try Lucene. It is free. It is written in Java, and it allows full-text search over large amount of data. It is not a complete application, but rather a library, so you have to write code that uses it to index and to search your logs. You may have to define different document types or at least different indexing functions for your logs, but then search works beautifully.
If you can use Windows, try out Microsoft's best tool ever, Logparser. I wish there was such a simple tool for Unix. But there isn't. And although I've kept wanting to get around to making a Unix version of Logparser, I just haven't had the time.
Note: This would be a great project for someone with time on their hands or for a grad-student somewhere!
http://www.splunk.com/
Never used it, but have heard of it.

Resources