Hi... I want to hire a programmer from Germany for some dev work. Are contracts binding in that country? What sort of pitfalls may I encounter with hiring a foreign programmer?
Heres the situation. Component B extends component A and overrides the init method to accept a different parameter. A also has a create method that calls init.
If i have an instance of B and i call create, its calling the wrong init - it calls init in B, where i need it to call init in A.
I dont want to call super.init() as there may not always be a super. Is there any way to specify to call the init in the parent component?
Hi Folks,
Firefox & IE's do have browser-settings where an user may allow those forbidden
cross domain calls.
My question: Is there a similar setting/option in Safari's and/or Chrome browsers?
Kind Regards
--Andy
Hi,
May I know what port is used by Java Web Start? If I want to connect a Java Web Start client to a Java Web Start server, what port I need to open at the server side so that the client can connect to it?
I want to set up a firewall in the server machine but I don't know which port I should open.
Thanks.
I am building an internet site, using my local machine as the development box (I have MOSS 2007 installed).
I have a custom master page, packaged in a WSP, so I may use STSADM on the production server to install it.
I have made some pages via SPD (on my local machine) and put them in the "Pages" gallery.
What is the recommended way to get these pages to production.
Also, is the process the same when I make edits to current pages?
I have a WCF service which I would like to access using ASP.NET. The binding used in the WCF service is basicHttpBinding. How may I do it? Any examples will be really appreciated.
how to allow user to edit their information after registration. And moreover how add new fields during editing information.
for ex: my primary registration holds name,email,picture(optional). I want to get additional information like state,city,... when they wants some customized service.
May any one suggest me a solution .
Possible Duplicate:
Protect .NET code from reverse engineering?
we just develop a application with C# winforms, is there any good encryption method to help us prevent from piracy ?
I saw some software may need hardware support to protect their software, how to implement that ?
Thanks in advance !
Is there any good link for lambda expression for learn?
If so kindly suggest me one.
In google in searched but may be my luck failed to get any suitable one.
Thanks
Default syntax for Header set Expires is
Header set Expires "Wed, 21 May 2010 20:00:00 GMT"
and default syntax for ExpiresDefault is
ExpiresDefault A2592000
OR
ExpiresByType image/gif A60
I want to use such a syntax for Header set Expires, that is I want to pass an expires time in seconds after access. how can i do this ?
I need a java program to get the current date without timestamp
Date d = new Date();
gives me date and timestamp
But i need only date, without timestamp. I use this date to compare with another date object that does not have timestamp.
on printing
System.out.println("Current Date : " + d)
of d it should print May 11 2010 - 00:00:00 .
I have the following SQL statement which returns a single record as expected:
select * from geodatasource_cities C,
geodatasource_countries D
where C.CC_FIPS = D.CC_FIPS
and D.CC_ISO='AU'
and UCASE(TRIM(C.FULL_NAME_ND)) LIKE '%JAN JUE%';
However, If I use the following SQL statement, no records are returned. I have only changed the LIKE clause to an equal to clause:
select * from geodatasource_cities C,
geodatasource_countries D
where C.CC_FIPS = D.CC_FIPS
and D.CC_ISO='AU'
and UCASE(TRIM(C.FULL_NAME_ND)) = 'JAN JUE';
Can anybody please help me understand why this may be happening?
I am building a system using NServiceBus and my DataLayer is using Linq 2 SQL.
The system is made up of 2 services.
Service1 receives messages from NSB.
It will query Table1 in my database
and inserts a record into Table1
If a certain condition is met a new NSB message is sent to the 2nd service
Service2 will update records also in Table1 when it receives messages from Service1 and it does some other non database related work.
Service2 is a long running process.
The problem I am having is the moment Service2 updates a record in Table1, the table is locked. The lock seems to be in place until Service2 has completed all it is processing.
i.e. The lock is not released after my datacontext is disposed.
This causes the query in Service1 to timeout.
Once Service2 completes processing, Service1 resumes processing again without problem.
So for example Service1 code may look like:
int x =0;
using (DataContext db = new DataContext())
{
x = (from dp in db.Table1 select dp).Count(); // this line will timeout while service2 is processing
Table1 t = new Table1();
t.Data = "test";
db.Table1.InsertOnSubmit(t);
db.SubmitChanges();
}
if(x % 50 == 0)
CallService2();
The code in service2 may look like:
using (DataContext db = new DataContext())
{
Table1 t = db.Table1.Where(t => t.id == myId);
t.Data = "updated";
db.SubmitChanges();
}
// I would have expected the lock to have been released at this point, but this is not the case.
DoSomeLongRunningTasks();
// lock will be released once service2 exits
I don't understand why the lock is not released when the datacontext is disposed in Service2.
To get around the problem I have been calling:
db.ExecuteCommand("SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED");
and this works, but I am not happy using it.
I want to solve this problem properly.
Has any one experienced this sort of problem before and does any one know how to solve it?
Why is the lock not released after the datacontext has been disposed?
Thanks in advance.
p.s. sorry for the extremely long post.
hello, I've got some problems with this snippet of the code
while(scanf("%d",&numOfPlayers)!=1){
printf("Please enter the right number of players");
}
my purpose is to take the number from the user but if number is not int, I must ask him one more time, when I check this snippet and print 'r' for example I receive eternal loop, what may be the problem, how can I improve it? thanks in advance
is it possible to be able Multiple select files when make browse file? any solution , may be flash. so on form one field type="file" but with it can be upload more then one file
i know that can be add on form more then one file field
I'm curious if their is some python magic I may not know to accomplish a bit of frivolity
given the line:
csvData.append(','.join([line.split(":").strip() for x in L]))
I'm attempting to split a line on :, trim whitespace around it, and join on ,
problem is, since the array is returned from line.split(":"), the
for x in L #<== L doesn't exist!
causes issues since I have no name for the array returned by line.split(":")
So I'm curious if there is a sexy piece of syntax I could use to accomplish this in one shot?
Cheers!
Expiration Month
var month = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec");
for (var m=0; m" +month[m]+ "");
}
Expiration Year
var year = new Date();
var year2 = year.getFullYear();
for (y=0; y" +(year2+y)+ "");
document.write("");
}
Hi all, I need to able to access controller methods from a model using the Kohana V2.3 framework. At the moment I'm passing the controller object (by ref.) to the model on creation which works perfectly fine but I can't help think there is a more "cleaner" way - does anybody have any suggestions? Would Kohana V3 resolve this with its HMVC pattern?
This may help: http://www.ifc0nfig.com/accessing-the-calling-controller-in-a-model-within-kohana/
Hi
I have this API - which I managed to carryout some API steps solely from the CLI without using their GUI.
Now I need to execute these CLI commands (i.e. for carrying out these API steps) in Java.
When surfing, I couldn't find a helpful link for sample code on how to deal with this.
May I know how to execute CLI commands using Java code (say in a Java class)
Appreciate any insight, suggestions or guidance.
Many thanks in advance
Hi..
Just wondering is there any drawbacks to publishing a ASP .NET web application by copying all the files in it? (That means all the .cs, .csproj files will be included in the published folder)
So far I can think that the published folder's total size may become a little bigger (but that a negligible issue for me).
I realize that this is probably a very niche question, but has anyone had experience with working with continuous neural networks? I'm specifically interested in what a continuous neural network may be useful for vs what you normally use discrete neural networks for.
Hello,
Does anyone one know of a CDN (Content Delivery Network) with true South American peering points or edge nodes? This seems to be quite rare. It seems that most CDNs serve Central and South America from Texas. However, our application requires low latency in Brazil, so this is not a good solution for us.
We would like to avoid having to set up servers in South America just for this piece of the application, but may end up doing that.
Thanks,
Bill
i designed one application which pulls data from DB once its stated,if all the clients pulls data at a time from server, there is a lot of bandwidth, and one more worse case is one client may close & open his application many time a days, so there is a lot of bandwidth consumption on serve...
Is there any database Sync technique to implement in AIR desktop application ?
Please if anybody know please let me know..plz dont suggest LCDS(this is bit cost)
Advance Thanking,
Cheers,
vasu
Hi,
I have a listbox inside another list box, in inner list box listboxitems height may grow or shrink. My problem is that when the inner items shrink the outer list box doesn't re-render its height. Thus - stays with the previous height before the inner list shrinked.
I have tried so many things here, among Invalidate of all types, selection and de-selection of the list box item that should be updated and more - nothing helps....
Can anyone pls help me with this?
Thanx,
Gili