I had a Java developer new to PHP ask me this question the other day, so I thought I'd document the answer here.
Question: are PHP variables passed by value or by reference?
Instead of calculating the month and leap year to do this calculation. Is there any way to check using some Apple Internal APIs to do so?
I found that the Java have something like this:
calendar.getActualMaximum(calendar.DAY_OF_MONTH)
Is there any similar thing for Objective C? thz u.
How could a network of servers communicate with each other?
For example, if Client A connects to Server A, how would the other servers be informed of this? I'm guessing you would need a "central" server, but how would it be implemented?
I'm really dumbfounded on this, so any help would be nice :)
I have a WebMethod that recevives following types of parameters:
[WebMethod]
User(long userid,int number)
When Client send parameter with different types, I have to catch this error and write to database etc..
How can I solve this?
Thanks.
We are developing a very complex eCommerce portal using asp.net c# and the client asked us to make the documentation very similar (look & feel) with ebay api documentation http://developer.ebay.com/DevZone/shopping/docs/CallRef/GetSingleItem.html
Do you have any idea what kind of tool they are using and if not do you know anything that can be configured to produce a similar result ?
Thank you in advance !
Andrew
Hi,
does anyone know of a good profiling tool or library for Clojure?
I would prefer something that could be used from the REPL, along the lines of (with-profiling ...) in Allegro Common Lisp back in the day.
Is there anything along those lines?
Or do you have any experience with (non-commercial) Java profilers that work well with Clojure?
Hi
i use wshttpbinding in my service Config and message security. my app works fine but after 10 or 20 min when client call any method of service, an exception throw cuz my security token will be expired, and connection cant be work.
one solution is re_create connection to make new token (but i cant use this cuz my service contain datacontext and if i re_create service, datacontext will be new)
other solution is change security type from message to transport (i try this solution but nothing change cuz other exception throw)
I have a small rails app that has default scaffold generated routes eg. /stadia/1.xml. However I have to support legacy client app that can't construct such URLs correctly. What I need to do is to map URL in the form:
/stadia?id=1?format=xml to /stadia/1.xml
Or even something like:
/myApp?model=<model_name>?id=<id>?format=xml to /<model_name/<id>.xml
Is it possible to craft appropriate route in Rails?
Is there a plug-in like the java applet @ SQLinForm.com for MS SQL Server Management Studio 2008?
I tried SSMS tools based on someone's answer to my previous question but I don't find any functionality to format (beautify/tabify) SQL.
If somebody could please point out that in SSMS tools or suggest some other tool (preferably free)
Thanks :)
I am a web developer and usually use php/JS/mysql.
I have heard lot about python.
I have no idea where is python used and why it is used.
Just like
php/asp/cold fusion/.net/
are used to build websites
C, C++ , Java
are used to build software or desktop apps
Where does python stands from those langages
WHich is the thing whic can be done by python but not with those common languages
I am new to IntelliJ and to creating XSD files. In the "Create Project" wizard, there is no option to create an XML project. Do I create a Java project and then try to import the files?
firefox wont allow the javascript to save a file in client machine is the browser security policy
https://addons.mozilla.org/en-US/firefox/addon/1046
the above linked addon can save a file then why cant we save a file in the filesystem using javascript
how can i create method which return sqrt of given nunber? for example sqrt(16) returns 4
and sqrt(5) returns 2.3... please help i am using java and know Math.sqrt() API function but i need method itself
I have always liked the documentation on Java APIs, generally speaking, but I know some people consider them lacking. So I'm wondering, what do you consider a good example of API documentation?
Please, include a link or an actual example in any answer. I want to have references that I (and others, of course) can use to improve our own documents.
How can I return a java.util.concurrent.Future object with a Receipt object and only use the @javax.ejb.Asynchronous annotation?
And do I need any extra configuration to let Spring handle ejb annotations?
I don't want to write any concurrency logic myself.
Here's my attempt that doesn't work:
@Asynchronous
public Future<Receipt> execute(Job job) {
Receipt receipt = timeConsumingWork(job);
return receipt;
}
i am developing a SIP application for making and receiving a call and i want to add the G729 codec in my application.
currently i am doing analysis on open source project SipDroid. if i want to make that application to support G729 codec how to do that?
there is a different codecs configuration file in org.sipdroid.codecs package.how do create the this kind of .java file for G729 codec?
Any suggestion and response will be appreciated.
I am working on an iPhone app using a SQLite db. I have some French characters that are not rendering properly in the app - they are being displayed as squares.
The character set client is: utf8. Is there an easy fix for this?
How do you convert an existing project into an Android project in Eclipse?
In particular, I want to convert a plain old Java project into an Android Library project.
Thanks.
The desktop app should start the web server on launch and should shut it down on close.
Assuming that the desktop is the only client allowed to connect to the web server, what is the best way to write this?
How would you save this data on a database: An user can make phone calls (id, date, hour, duration, outcome).
The "outcome" can be, for example, to recall the client on another day (so I have to save the date, the hour, etc of this "future" call).
How would you manage this data on a db?
At the moment i have only a "Call" table.
hi_all()
I have a problem with parsing http response.. I try send some values to client
>>>>return HttpResponse(first=True,second=True)
when parsing:
$.post('get_values',"",function(data){
alert(data['first']); //The alert isn't shown!!!
});
what is the right way to extract values from httpresponse
maybe I make a mistake when create my response..
We need to implement a gallery feature for our client's new website. They had a similar feature on their last site, which used Smooth Gallery, which in turn was based on Moo Tools.
We could go ahead and do the same however, before we do, does anyone have any suggestions for alternatives and if so, please explain why you feel your choice is better.
I created simple wcf service with default functionality and hosted in IIS7. Its working fine and rendering data to the client. But when I try to click on wsdl link in the service its showing "Page cannot be displayed".Let me know what will be the problem.
I know I can use android.text.format.DateFormat.getDateFormat() to format my dates, and android.text.format.DateFormat.getTimeFormat to format my times, but how do I format a datetime? Similar to the getDateTimeInstance method from java.text.DateFormat.
I'm currently just concatenating the result of both the getDateFormat and getTimeFormat's formatters, but I don't know which way around the user prefers to have their dates and times shown.