Quoting http://www.mongodb.org/display/DOCS/MapReduce#MapReduce-Parallelism
As of right now, MapReduce jobs on a
single mongod process are single
threaded
Without parallelism, what are the benefits of MapReduce compared to simpler or more traditional methods for queries and data aggregation?
To avoid confusion: the question is NOT "what are the benefits of document-oriented DB over traditional relational DB"
As so far i've "found" Yahoo UI library and it fully conforms to my requirements. Also there is jqGrid that i'm using right now. If there are any alternatives?
UPDATE:
Please suggest libraries and don't seek for matching all the requirements listed below. [i'll check it for myself]
My reqs are:
rows adding, deletinig
rows reoder (optionally with drag and drop)
rows selection
inline editing
json data over xhr
(optional) simple integration with backbone.js
disclaimer: there was almost the same question 2 years ago
Hello, given the following structure:
struct nmslist_elem_s {
nmptr data;
struct nmslist_elem_s *next;
};
typedef struct nmslist_elem_s nmslist_elem;
Where:
typedef void* nmptr;
Is it possible to write a MACRO that retrieves the data from the element and cast it to the right type:
MACRO(type, element) that expands to *((type*)element->data).
For example for int, i would need something like this: *((int*)(element->data)) .
I'm toying around with OCaml. The first thing I want to know how to do is build an OCaml project. Right now, I just want something stupidly simple since I'm just learning. Could anyone point me towards a build system along with a "hello world" type example for using that build system?
I'm a programmer for some time now yet I haven't found the right websites which offer me the information I'm interested in. I've looked at TechCrunch, Slashdot, etc. but there wasn't so much actually about programming.
When something urgently important happens in the programming world, where could I read it first?
What are some good sites/communities around programming?
For example I found great uml tool (http://www.architexa.com/start/pricing) that is free for 30 days. Can I use screenshots from it in open-source and commercial website? (I have mine open-source project, but Id also like to use it at work)
since its mine for 30 days, I should be able to do whatever I want with it, right?
I was wondering if anyone knows of a jQuery or MooTools script that will do the exact same thing as YOOcarousel (http://tools.yootheme.com/extensions/yoocarousel).
I'm looking to emulate the 'List Styling' setup they have where on the left you have the tabbed navigation and on the right it fades in/out thru each of the tabbed items as they are clicked.
Thanks,
Ryan
Is it possible to add other menu items to other pinned applications right click menu in the Windows 7 taskbar? I'm using .NET, but I will accept P/Invokes as well. I've been reading the documentation on the API, and can't seem to find a way to do this. I just thought I'd check here as a last ditch effort to find a way.
I am using html, tag:
<input type = "file" />
On android and on many cellulars I have the ability to get the file directly by taking a picture and save it.
How can I know (by javascript code) how did I get the picture (direcly by the camera, or by some files that on my cellular)?
I did some workarround, and found exif (http://www.nihilogic.dk/labs/exif/exif.js), but I didn't succeed using it, either I don't know whether exif is the right solution.
Thanks :)
I heard that using shorts on 32bit system is just more inefficient than using ints. Is this the same for ints on a 64bit system?
Python recently(?) basically merged ints with long and has basically a single datatype long, right? If you are sure that your app. will only run on 64bit then, is it even conceivable (potentially a good idea) to use long for everything in Java?
Does the standard specify the official C++ grammar?
I searched, but did not find it anywhere.
Also, I wish to read a bit about C++ grammar in detail, like which category of grammars it falls in, etc. Any links pointing me in the right direction would be helpful.
By category, I meant
When binding multiple variables value1 value2 value3 in the same text field, do I do this:
text="{some text value1 other text value2 and other text value3}"
or
text="some text {value1} other text {value2} and other text {value3}"
I noticed both work, but which is the right way to do it and will work all the time.
I'm deploying a small conversion tool on some systems, and want the users to be able to run it from the right click Open with menu. But I don't want to change the default program users have associated to this file type.
It is easy to associate a file extension/type to a program, but how to do it without changing the default program?
I am trying to write the following without using dot notation ...
[scrollView setMinimumZoomScale: scrollView.bounds.size.width / image.size.width];
Is this right?
[scrollView setMinimumZoomScale: [scrollView bounds].size.width / [image size].width];
cheers Gary.
From wiki: In computing, just-in-time compilation (JIT), also known as dynamic translation, is a technique for improving the runtime performance of a computer program.
So I guess JVM has another compiler, not javac, that only compiles bytecode to machine code at runtime, while javac compiles sources to bytecode,is that right?
I am trying to implement something that is similar to a faceted search. My data is a series of objects and relationships. The idea is that you click an object (in this case "95 Theses" and then the possibly relationships are displayed, in this case "author" and clicking the relationship shows the object that matches the relationship, in this case "Martin Luther".
My clicking of objects and relationsips (predicates) works fine. What I need to do is allow users to click an object or relationship and have all those that extend from it removed.
This is what I thought of adding when a object or relationship 'tag' is clicked (every time I add another object or relationship I increment the global attribute called 'level'):
if($(".objHolder,. preHolder").filter("[level>'"+level+"']").filter("[holderId='"+holderId+"']").length)
{ $(".objHolder,. preHolder").filter("[level>'"+level+"']").filter("[holderId='"+holderId+"']").remove(); }
<table border="0" cellpadding="4" cellspacing="2">
<tbody><tr>
<td class="objHolder" objid="1" holderid="1" level="1">
<table border="0" cellpadding="4" cellspacing="2">
<tbody><tr class="objItemRow" objid="1" holderid="1" level="1">
<td class="objItem" objid="1" holderid="1" level="2" bgcolor="#eeeeee" nowrap="nowrap">95 Theses</td>
</tr></tbody>
</table></td>
<td><img src="images/right.jpg" alt="" height="10" width="16"></td>
<td class="preHolder" level="2" holderid="1">
<table border="0" cellpadding="4" cellspacing="2"><tbody>
<tr><td class="preItem" level="3" subid="1" preid="1" holderid="1" bgcolor="#eeeeee" nowrap="nowrap">author</td></tr>
</tbody></table></td>
<td><img src="images/right.jpg" alt="" height="10" width="16"></td>
<td class="objHolder" level="3" holderid="1">
<table border="0" cellpadding="4" cellspacing="2"><tbody><tr><td class="objItem" level="4" objid="3" holderid="1" bgcolor="#eeeeee" nowrap="nowrap">Martin Luther</td></tr></tbody></table>
</td>
</tr></tbody>
</table>
Hi,
I have a small issue with jQuery on Safari (Mac OSX 10.6) - the page loads fine under Firefox (Mac) and Internet Explorer (Win) but has to be refreshed to work properly in Safari...
http://7souls.co.uk/store/index.php?dispatch=products.view&product_id=29788
If you hover over the image it is meant to show a magnified version to the right hand side - which works on the first page load on all browsers except Safari on the Mac.
You have to refresh the page to get it to work under safari.
Any Ideas,
MM
I'm getting this error in CodeIgniter when trying to load the email library:
Can't use method return value in write context
It's happening on line 827 of Loader.php in [codeigniter root]/system/libraries/Loader.php
include_once($filepath);
where $filepath equals "/var/www/system/libraries/Email.php"
I called it like this in another php file:
$this->load->library('email');
where $this is the CodeIgniter instance.
According to the CodeIgniter email doc page, I'm doing it right. But it's not working...
I have this file structure:
folderIWantStuffIn/
- old_stuff
Now I want to add some new stuff that is in a git repo. I'd like to be able to use git clone and git pull right in the directory and get this:
folderIWantStuffIn/
- old_stuff
- new_stuff
When I use git clone, I get this:
folderIWantStuffIn/
- old_stuff
- NewStuffFolder/
- new_stuff
Are there flags I can pass into git clone to get this behavior?
I want detailed explanations for bsd-socket options so that I can use them in the right manner. Can anybody please provide me some document or link from where I can refer?
Thanks,
Satinder Singh
[email protected]
I want to make 10 asynchronous http requests at once and only process the results when all have completed and in a single callback function. I also do not want to block any threads using WaitAll (it is my understanding that WaitAll blocks until all are complete). I think I want to make a custom IAsyncResult which will handle multiple calls. Am I on the right track? Are there any good resources or examples out there that describe handling this?
I am working on a google box, something like this,
http://mytwentyfive.com/blog/wp-content/uploads/byme/Google%20Search%20Appliances.jpg
I am pointing the crawler to a folder where there are html files. before the crawler was crawling the files and indexing them but right now it finds the pattern or the folder but not following any html files within the folder. I have tried everything I could and know but, can't think of anything else.
Can someone help?
thanks
I have created freemind maps using the tool, right now in the process of integrating the map with my web application.
I have some questions on the usage of freemind maps
1) Instead of using the freemindbrowser.html and the jar file to integrate a map with a website/ web app, can we do an export to Javascript from the tool and then integrate that exported file (.html) with the web site?
2) I want to be able to add javascript functions on events like node click, how do I do that?
Thanks in Advance
I want to run some scripts at system startup, so in ~/.profile file, I've added:
WORKSPACE="~/Development/workspace"
alias workspace="cd $WORKSPACE"
So I want this "workspace" alias to be available after the startup. Maybe it's not the right place to define these variables.