boost threadpool - documentation and examples - boost

I'm looking for documentation on boost::threadpool. I downloaded the source and documentation zip files. The documentation directory is just about empty. It says to look at src/examples/mergesort.cpp. It ain't there. In fact, there is no src/examples directory.
Anyone know if there is a Roseta Stone, and if so where?

In the Boost Vault - Concurrent Programming there are a couple of libs, check async and boost.task. The documentation is included in the packages. Personally, I have used async and was pleased. Make sure you find the docs, there ARE there in the dir tree. afaik there are no more docs for threadpool.sourceforge.net

Related

How can I modify, compile and install tun.ko?

I've never compiled a single kernel module. I would like to understand how to change the source of a kernel module, compile and install it on Debian SO.
Can someone illustrate the steps or tell me a tutorial about it?
Thank you and everyone.
This question is a bit confusing since a .ko file represents a kernel object. In other words, it has already been compiled.
To edit the module you would need the source code, most likely tun.c and some related files.
StackOverflow is more meant for specific questions to be answered, not a tutorial site. Please do some research about Linux modules and make an attempt to install the module yourself. Some good sites for beginners:
kernel.org
https://www.oreilly.com/library/view/linux-device-drivers/0596005903/
http://derekmolloy.ie/writing-a-linux-kernel-module-part-1-introduction/
The last of these is the least comprehensive, but quickest to get you up and running. Once you get to the point where you have detailed questions, post them here and you will get better help.

Thunderbird gFolderTreeView documentation?

I'm struggling to learn how Thunderbird extension works but I'm stuck by the lack of documentation.
Inside an extension I found:
gFolderTreeView._modeNames...
...
gFolderTreeView.getFolderTreeMode(viewName);
Google gives no help in trying to understand something more about gFolderTreeView. I can only find examples where it is used but no API description. Where can I find the list of its methods, properties and a description of what they do ?
The only way I know would be to take a closer look at the Thunderbird source code.
gFolderTreeView is defined at https://dxr.mozilla.org/comm-central/source/mail/base/content/folderPane.js#129. The nsITreeView interface, which seems to be one of the thinks gFolderTreeView implements, is defined in https://dxr.mozilla.org/comm-central/source/mozilla/layout/xul/tree/nsITreeView.idl.
I found it by searching at https://dxr.mozilla.org/comm-central/ for id:gFolderTreeView and file:nsITreeView
Note that the links are to the latest sources. If you need to look at the sources for older Thunderbird versions, you need to switch the tree from comm-central to e.g. comm-esr45.
The Code that is used by both Thunderbird and Firefox is in the mozilla-central tree

List all aws-lambda pre-built libraries & modules for nodejs

aws documentation indicate that aws-sdk comes by default on all lambda runtimes (obviously) ... also, many post indicates that ImageMagick is also pre-built and ready to use, but this do not appears on the official documentation (or I didn't found it)
I was searching a lot but didn't found a list off all libraries /modules or extra functionalities included by dafault on Lambda so I do not need to build it by myself. do you know where i can find it?
Updated Answer:
ImageMagick (the static binaries) indeed seems to be available on Lambda. I guess image resizing is a very common use case such that they decided to include it on Lambda. They should update that doc page to make it official.
You still have to include the node.js package for interfacing with ImageMagick in your package.json though.
Original Answer:
When in doubt, always use Amazon's official documentation.
Lambda Execution Environment and Available Libraries
I don't think ImageMagick is included by default.

What do I need to know to create Xcode project templates?

I know some of the tutorials for creating Xcode project templates, for example this one here: http://robnapier.net/blog/project-templates-364
This is the best one I could find. All others basically repeat the same info, or are no longer up to date, or worse tell me that even they don't know what they're doing. Possibly useful tools that are linked to here and in other places are no longer available.
I keep running into roadblocks, and would like to gather as much information as possible on the process of creating Xcode project templates. Info that is most importantly up to date (at least it must be relevant for Xcode 3 or higher).
For example, what I'd like to see is:
a description of the
TemplateChooser.plist and similar
plist files and what these options do
(in my case, once I add a
TemplateChooser.plist, my project
disappears from the Xcode project
template list)
how to create a project template that references another .xcodeproj (when I do that, the other .xcodeproj appears in the project template list even though it doesn't use the special naming convention)
processes that can be applied, for example is it possible to run a script during the creating of a project from a template? This would be useful to unzip certain files into the newly created project.
If you have the answer or suggestions to any of the issues above, I'd appreciate that. Otherwise any link to good Xcode project template resources would be highly recommended. Especially if there is an official documentation from Apple - I haven't found one yet which seems to imply that project templates are undocumented.
Have you seen these:
http://www.sodeso.nl/?p=895
http://www.codeproject.com/KB/iPhone/CreatingXcodeProject.aspx
If you say you have searched, I'm pretty sure you've already seen the links but these are the best resources I could find with my 'googlabilities'
You might try contact this guy - http://linkedin.com/in/mottishneor he has some related messages around the web
The links suggested by FX are also not bad at all!
There is indeed little XCode template info out there. What I have found of interest are the following links (I documented myself on the topic, but haven't yet gone any further):
a Google Code search reveals a few examples, but not much
in particular, I found interesting to look at the code provided by Three20; they have some basic examples, like here
referencing another project worked for me, so maybe you could open a specific question about that giving more details?
there is information scattered on the Apple mailing-lists
there is no official documentation from Apple, as is evidenced by the lack of results to this query
I'm sorry if this is not a Enlighting, concise answer. As you said, it's not well documented, and sources are all over the place. I just hope I could highlight some places to find information that your own searches might not have reached :)
I don't have a Mac anymore, so this is as much as I can give you without testing this myself. As far as I can tell, Xcode templates are undocumented by Apple.
This guy has some guides for messing with Xcode templates but the info is pretty sparse. My suggestion for working with templateChooser.plist is to try to only edit that file in the interface builder.
This guide is a good example of how to add a reference to another .xcodeproj. For the reason you were having trouble adding a reference to your project we probably need more information.
If you scroll way down in this doc you can that each template already includes a script called myscript.sh. This script will show up in the scripts menu for projects built with that template. That isn't quite as convenient as running scripts automatically, but it's better than nothing.
In conclusion, Xcode template documentation is a nightmare. It looks like there are a lot of powerful features there, but they are obscured because of lack of user friendlyness and because documentation lags far behind Apples updates of Xcode. It just doesn't seem to be a priority for them. I hope this helps.
And yet another video link http://howtomakeiphoneapps.com/2010/10/how-to-make-custom-xcode-templates-with-video/

Boost documentation problem

I'm trying to view the boost documentation at their website: http://www.boost.org/doc/
But it says Forbidden.
Any way I can download the documentation, or get past this error?
I'm getting a similar error from the front page for the link to the docs. However I vaguely remember that if you download the boost libraries, the tarball/zip contains a copy of the docs.
We've had some hosting problems related to the Boost documentation. Things should get resolved really soon. In fact at least the docs for the latest 2 releases are already up again (for me), see http://www.boost.org/doc/.

Resources