Between Yahoo! UI Compressor, Dean Edwards Packer and jsmin, which produces better results, both in terms of resulting footprint and fewer errors when obfuscating.
My application has an MVC structure.
How should I structure my application to allow for maximum caching?
Is it sufficient to only cache the model objects that are passed to the JSP views?
Or will there be a significant performance boost from caching the results of the rendering of the JSP views too?
I'm sure this is an issue anyone who uses Stata for publications or reports has run into: how do you conveniently export your output to something that can be parsed by a scripting language or Excel?
There are a few ADO files that to this for specific commands (try findit tabout or findit outreg2). But what about exporting the output of the table command? Or the results of an anova?
I'd love to hear about how Stata users address this problem for either specific commands or in general.
I need to filter the build results of a job based on the description of the build in Hudson. I found a plugin that allows for filtering based on the job description, however I'm not sure how I would begin to do the same for builds.
Hi guys,
I am trying to get some results ordered by total votes (where client votes count 2 points and other people votes are 1 point).
tab_names:
+-----------+
| Name | id |
+------+----+
| John | 1 |
| Paul | 2 |
+------+----+
tab_votes:
+--------+-----------+
| idname | ip |
+--------+-----------+
| 2 | 127.0.0.1 |
| 2 | 127.0.0.1 |
| 2 | 82.23.5.1 |
| 1 | 127.0.0.1 |
+--------+-----------+
This is the MySQL query I've got but doesn't work:
SELECT *
COUNT(v.idname) AS totalvotes,
(SELECT COUNT(v.ip) FROM tab_votes WHERE v.ip LIKE '$ip') AS uservotes
FROM tab_names n
LEFT JOIN tab_votes v ON n.id = v.idname
GROUP BY n.name
ORDER BY uservotes DESC, totalvotes DESC
LIMIT 40
I know there are duplicate account numbers in this table, but this query returns no results.
SELECT [CARD NUMBER],[CUSTOMER NAME],[ACCT NBR 1],[ACCT NBR 2],
COUNT([ACCT NBR 1]) AS NumOccurences
FROM DebitCardData.dbo.['ATM Checking Accts - Active$']
GROUP BY [CARD NUMBER],[CUSTOMER NAME],[ACCT NBR 1],[ACCT NBR 2]
HAVING (COUNT([ACCT NBR 1])1)
I am using a UISearchDisplayController and SearchBar initialised from a nib. when the search is being run I get a flash of a small circle what looks like a "bullet" in the top left corner of the search results. [See attached screenshot]
It occurs in the simulator and on the device sporadically
I have looked through my nib and I am not adding any stray views and was wondering if anyone else had this issue or knows how to get rid of it?
thanks
@interface SearchTabViewController : UITableViewController
Hi,
I want to parse google and yandex search results for my little website analyzer utility.
so i should send hundreds requests per minute. What is good practice for this issue?
Is google search api a good way?
I'd like to be able to produce a HTML based report from the Results.trx and data.coverage files that MSTest creates. Ideally this would just list any failures, and show some basic coverage stats.
Does anyone know of a tool that does this?
Hello. Im doing a webpage about apples (the fruit), I want to include Google search results for apple recipes in the bottom of the page. How can I do this? If there is a copy-paste code in Google, I didn´t find it. Thanks
Is there a right way to add empty table text? For example, if you go to the simulator and open contacts, the table is empty and displays "No Contacts". Or searching that gives "no results".
I could do this via a label positioned and hidden at run time, but is the correct approach?
Thanks for your help
Im trying to order results ASCENDING from the current date
this is what im using now;
SELECT * FROM friends JOIN bdays
ON bdays.user = friends.friendname
WHERE username = $userid ORDER BY DATE_FORMAT(date, '%m %d')
any ideas?
I am using 7za command line
File dfat_clist.xls in directory 2010_05_07
The same dfat_clist.xls in directory 2010_05_08
Zips are created in the same directory where the xls files resides
string pars = "a -tzip \"" + Path.Combine( SourceDir,ZipName) + "\" \"" + Path.Combine( SourceDir, Mask ) + "\"" ;
Parameters given to 7za are full paths for zip and xls.
For some reason a couple of bytes are different A7 and A8 values for directories 2010_05_07 and 2010_05_8 respectively. How to achieve identical results and out of curiosity what causes this problem.
Forgive me if this is a particularly stupid question!
mysql_query($query)
returns a boolean, but you can also assign it to a variable
$results = mysql_query($query)
and then use the other mysql_ functions to extract data.
Out of curiosity, how does mysq_query($query) act as both a boolean and a data container at the same time? What's happening "under the hood" during these steps?
(yes, I am a n00b..., please be kind!)
I am using Spry to retrieve data from a SOAP webservice (received as XML).
I want to display these results in modal Dialog using the jquery dialog plugin.
I have an almost working solution, but the dialog shows the spry placeholders (i.e. the fieldnames surrounded by {}), not the actual retrieved data.
Any ideas how I might achieve what I want?
I've used this formula in Google Spreadsheets in the past to input the number of search results into a cell. The formula's not working anymore and I know I need to fix the xpath query.
any ideas?
Current formula:
=importXML("http://www.google.com/search?num=100&q="&A2,"//p[@id='resultStats']/b[3]")
Spreadsheet for public testing:
https://spreadsheets8.google.com/ccc?key=tJzmFllp7Sk1lt23cXSVXFw&authkey=CM625OUO#gid=0
how do you append an additional url parameter to a link in your google search results? is it possible to do this within the style sheet?
for example i have domain.com/result.htm - i want to change the link to domain.com/result.htm?param=1
thank you
My sql query gives the columns:
product_id (which is an integer)
pnl (which is float - can be negative)
I get more than 100 rows.
I want to filter out the top 40 rows based on abs(pnl).
But the results should be ordered by pnl column only and not by abs(pnl).
I want to do this for MSSQL 2005.
Is there a way to do this?
Hi all,
I need to redirect any results in command prompt to richtext box. Can any one provide me the necessary steps. This is how i start my command prompt.
ProcessStartInfo psi = new ProcessStartInfo
{
FileName = "cmd",
Arguments = @"/k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat""",
};
Process.Start(psi);
Can i change the format of the output result which is returned when i call the variable name in FSI windows?
I overrided the ToString() funcion in my object, but it does not affect the output results in FSI.
I want to provide for partial matching, so I am tacking on * to the end of search queries. What I've noticed is that a search query of gatorade will return 12 results whereas gatorade* returns 7. So * seems to be 1 or many as opposed to 0 or many ... how can I achieve this? Am I going about partial matching in Solr all wrong? Thanks.
Hi guys ..
I am trying to do the following
I have a dynamic table in my asp page
and I want to show the table in multi pages like google results
any useful suggestion please
note:
I don't to use gridview
so any another way ??
I have php class(simple example):
<?php class test{
public function __construct() {
//some code
}
public function __destruct() {
//some code
}
public function echo1 {
//some code
return 1;
}
public function echo2 {
//some code
return 2;
}
}
How could I return results of this two functions echo1 and echo2 in class in one row don't creating two new objects for each function?
I have 1000+ access files. Each file has a query named "overview" that has the same fields in each of the 1000 files. I need to import the results of these 1000+ overview queries into one single access db and append them into one table. Is there an automated way to do this? Thanks very much.
I have a project with a lot of tests failing, so it would be great for me to receive by email the number of failed tests compare from the latest build.
What i need is just the info that appears in the project's page by the test results link:
Latest Test Result (10 failures / -2)
Is this possible? I've already tried the email-ext plugin, but it is not telling me that info (I can have the list of failing tests with output etc., but I really just need that info above).
Any ideas?