I need to choose right architecture model for my solution(client-server, web application, web services).
Can you please tell me what questions I must answer to make good decision?
thanks
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?
Hey there.
I am very unfamiliar with nginx, as a forewarning, and also can't find any actual references on the regex system they use. So right now it's a black box to me.
All I want to do is redirect a user trying to go to www.mydomain.com/mydirectory/X to www.myotherdomain.com/X .
Seems like I should be using the rewrite command but the syntax of the regex is eluding me.
Thanks in advance.
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 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?
element is upcoming cross browser standart for playing videos, while most videos out there right now are in flash format.
I am new to tag, so if it is possible a code sample of how to play flash movie with tag would be nice
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)) .
Can the xdpi and ydpi settings be relied upon to accurately represent the physical pixels in once inch of screen space? I need this to be accurate for some display code I'm writing. I realize the documention says that this is the case, but I need to know if individual handsets get this right MOST OF THE TIME.
I know I can alternately use "densitiy" which will give me 120, 160, 240 steps of DPI, but an exact dpi would be much better.
Thanks!
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>
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 list products on my homepage and on a company details page.
I use the exact same HTML, but for some reason the product appears different:
The productname is "Artikel 1".
Here the product is displayed correctly: http://www.zorgbeurs.nl/
Notice how the green price area is right below the product.
But here: http://www.zorgbeurs.nl/bedrijven/76/mymedical
the green price area is all the way at the bottom of the page.
Why?
Take the following code in C/C++, for example:
int foo[] = {0, 0, 0, 0};
No magic numbers, right?
Now, the Python "equivalent" of that would be:
foo = [0, 0, 0, 0]
Still no magic numbers.
However, in Python, that same thing can be written like this:
foo = [0] * 4
And now we DO have a magic number. Or do we?
I'm guessing this and other similar things are present on these and other languages.
I have a reference to call that may or may not be there. When I add the nullable option it still doing Inner Join when I want an Outer Left Join (show the left even if the right is null). Is this possible in the NH map?
References(x => x.DefaultCategory, "CATEGORY_ID")
.Nullable();
Hello,
How to make some of article when i click readmore the paragraph not show
to the bottom but to the right side...
here's the illustration picture
http://www.oymo.com/upload/uploads/collumn-artikel.jpg
thanks
Hello there,
I'm hoping someone could help me with a quick point in the right direction. ALL I NEED is the Outlook folder browser dialog call. I am developing some plugins for Outlook using C# and this is a crucial part for both plugins. Hopefully, it is like a standard DialogResult that passes back folder information (selected folder) so that I can use this info for further processing. Can anyone help me? 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.
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"
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
There's various activation functions: sigmoid, tanh, etc. And there's also a few initializer functions: Nguyen and Widrow, random, normalized, constant, zero, etc. So do these have much effect on the outcome of a neural network specialising in face detection? Right now I'm using the Tanh activation function and just randomising all the weights from -0.5 to 0.5. I have no idea if this is the best approach though, and with 4 hours to train the network each time, I'd rather ask on here than experiment!
Hi!
I'm about to replace my oldfashioned sessionbased server solutions with RESTful ones.
Where can I find information about design principles concerning security, authentication etc. when moving into this stateless domain?
I need to find solutions that work with different client platforms (Flex/Air, Browser, desktop and mobile apps etc.). Right now I work with php in the server end.
I would like to pass
{"parameter1":true, "parameter2":false, "parameter3":true}
To my action
public JsonResult Action(bool parameter1, bool parameter2, bool parameter3)
{
//...
}
Using JQueries ajax method using the JSON as the data parameter (data: {"parameter1...)
How do I accomplish this, right now my parameters aren't getting recognized on the server side.
I've used PPerl for deamon like processes.
This program turns ordinary perl
scripts into long running daemons,
making subsequent executions extremely
fast. It forks several processes for
each script, allowing many proceses to
call the script at once.
Does anyone know of something like this for ruby? Right now I am planing on using a wrapper around curl to call a REST WebService written in Sinatra running on JRuby. I'm hoping there is a simpler option.
Hey guys,
I'm working on tile collision. Currently, I just draw the tile map the normal way (two for loops) and there is no scrolling. Right now, to check if my player is over a tile, I use tileX = (int)person1v.X / 16;
tileY = (int)person1v.Y / 16;
However, I want to detect collision before I hit the tile so it could act as a wall. How do I detect collision before even making the move?
I don't know if it's very clear, but i'm trying to do something when the "next" (bottom right corner of the keyboard) is pressed, and i can't find its keycode.
I have tried to look for "next" or "enter" in the keycodes but nothing really relevant...
does anyone know?
(actually, i've found the enter keycode to be precise, but it does not do anything)