better

which is better to send mail on google-app-engine..

this: http://code.google.com/intl/en/appengine/docs/python/tools/devserver.html The web server can use an SMTP server, or it can use a local installation of Sendmail. i download the Sendmail lib,and find it is so big, and so many doc, i want to know which way is better, and if the Sendmail way is better, how to use it simplely, th...

TSQL -- Make it better

Hi All: I have following TSQL, 3 IDs (@EmpID, @DeptID and @CityID) are passed in and it could all have NULL or any one could be NULL. See following scenario: -- Very Narrow (all IDs are passed in) IF(@EmpID IS NOT NULL AND @DeptID IS NOT NULL AND @CityID IS NOT NULL) BEGIN SELECT e.EmpName ,d.DeptName ...

google-app-engine full-text-search ,which is better , "google custom search" or whoosh.

this is whoosh so ,did you know which is better ? thanks ...

Need a better code for this Ajax code

Hi all, Is there another code or a better one for this code: window.onload = refresh(); function refresh() { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } var url="mypage.php" xmlHttp.onreadystatechange=stateChanged xmlHttp.open("GET",url,true) xmlHttp.send(null) } fun...

What is a better way to fire delete queries in Rails Migration

Hi, I am kind of new to Rails and I want to write some self.down queries. Currently I am hardcoding the entire query. Is there a easier way to do it ? def self.down delete("delete from trigger_events where name = 'CHANGE_APPROVED'") delete("delete from notifications where trigger_event_id = 5") delete("delete from notific...

Is there a MySql binary dump format? Or anything better than plain text INSERT statement?

Is there anything better (faster or smaller) than pages of plain text CREATE TABLE and INSERT statements for dumping MySql databases? It seems awfully inefficient for large amounts of data. I realise that the underlying database files can be copied, but I assume they will only work in the same version of MySql that they come from. Is t...

Methods: What is better List or object?

While I was programming I came up with this question, What is better, having a method accept a single entity or a List of those entity's? For example I need a List of strings. I can either have: a method accepting a List and return a List of strings with the results. List<string> results = methodwithlist(List[objects]); or a m...