Hi there,
I have an AJAX call that returns HTML content with some images.
Sometimes they load, but most of the time they don't.
Is there an issue I'm not aware of?
Thank you.
Can I make the spring service classes final? Is there any harm doing that? Nobody is going to extend the class. Is there any issue?
public final class MyService {
// Depedencies go here.
}
In non-ARC code retained properties handily take care of memory management for you using the self.property = syntax, so we were taught to use them for practically everything.
But now with ARC this memory management is no longer an issue, so does the reason for using properties evaporate? is there still any good reason (obviously other than providing public access to instance variables) to use properties anymore?
I am having an issue trying to work out how to use a function variable in a foreach loop so that I can do the following but its not working.
$var =
array(7) { [0]=> array(3) { ["listingId"]=> int(532712629) } [1]=> array(3) { ["listingId"]=> int(532712202) }
Works but not right:
foreach($var as $varr)
{
var_dump($varr['id']);
{
Goal - Having the array variable as the foreach value
foreach($var['id'] as $item)
{
if($item === $foo)
{
}
}
Hi all,
I'm trying to setup a parallel CMake-based build for my source tree, but when I issue
$ cmake .
$ make -j2
I get a jobserver unavailable: using -j1. Add '+' to parent make rule warning. Does anyone have an idea if it is possible to fix it somehow?
Hi all,
Wheter or not the meta keywords are very usefull i'm still tobbing with this issue:
I have some standard keywords to describe my site: tv,webtv,radio,watch,listen,live.
Now those keywords are shown on every of my 600+ pages as base-keywords, and then
I append page specific keywords after them. Is this right or wrong?
So should i have this:
tv,webtv,radio,watch,listen,live,cnn,international,stream
or
cnn,international,stream
For live example see seetor.com
Kind regards
Mark
Hi folks,
How can i look every user session variable on IIS Application Server.
This issue is to find a biggest session variable on my application to find a leak because my session timeout requirement is too high.
I have an issue with Webview to set the initial scroll position within it when first launched. By default it is left , I want it to scroll and show the view from center.
Or is it possible to resize the view to fit the screen width initially, instead of scroll bars.
I need this since the left part of the page I am loading is blank making user feel the page is not loaded.
Team,
I am facing some issue at the time of parsing the XML, but the same works in Java program... When I run the same code through android prgming its failing to parse...
InputStream byteArrayInputStream = new ByteArrayInputStream(
response.toString().getBytes());
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.parse(byteArrayInputStream, xmlHandler);
Facing the following error
DTD handlers aren't supported
Any help is greatly appreciated.
Thanks,
Ramesh
How to use getStartupArgs()
Since 0.9.1 it seems you can read the command line arguments issue #245 with the getStartupArgs() method (documentation)
But I do know how to use it, I've put it in in all the Griffon lifecycle, Controller, Service, and I get the exception
org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: [LifeCycle|Controller|Service].getStartupArgs() is applicable for argument types: () values: []
Caused by: groovy.lang.MissingMethodException: No signature of method: [LifeCycle|Controller|Service].getStartupArgs() is applicable for argument types: () values: [
]
One advantage that comes to my mind is, if you use Poco classes for Orm mapping, you can easily switch from one ORM to another, if both support Poco.
Having an ORM with no Poco support, e.g. mappings are done with attributes like the DataObjects.Net Orm, is not an issue for me, as also with Poco-supported Orms and theirs generated proxy entities, you have to be aware that entities are actually DAO objects bound to some context/session, e.g. serializing is a problem, etc..
I have followed these instructions exactly, yet I get a "Page cannot be found" 404 error
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
My PHP file is
<?php
phpinfo();
?>
I am running Windows Server 2003 and installed FastCGI and made sure everything is correct per those instructions. I can also create an HTML page and that serves no problem, so it must be an issue with PHP. Any help would be appreciated, thanks!
I have setup a catchall router on exim (used as last router):
catchall:
driver = redirect
domains = +local_domains
data = ${lookup{*@$domain}lsearch{/etc/aliases}}
retry_use_local_part
This works perfectly when sending emails locally. However, if I login to my GMail account and send an email to [email protected], then I get an "Unrouteable Address".
Thank you for any hints to solve this issue.
Hi. I am new to grails and jasper reports. Please help me with the issue.
I am trying one example on how to save in excel format the data that we display in grails. I am able to save as excel but not able to get anything inside excel sheet after opening it, not even columns. Refer the link http://www.wysmedia.com/2009/05/dance-with-dynamic-jasper-report/ for the example I am trying.
Many thanks.
In a url like the one below, I'd like to get the value of ProdId. The URL format will always be consistent, as will the parameter name, but the length of the value may change. It will always be numeric.
http://www.site.com/page.php?ProdId=2683322&xpage=2
Using PHP what's the fastest way to get it (I'll be processing 10,000's so speed is an issue) ?
I developed a web site, and we have to use impersonate property, the issue is that I have to capture the user that is using the app, but when I try to get the user using User.Identity.Name, I get the user that is on the web.config.
I would like to know if there is another way to get the user that opens the site
Thanks
Hi,
First of all, I am aware my issue is against the philosophy of Android, but I have no choice, this application will run on a embedded car gps and I need to bring an activity to prevent from car accident, for example, when it's happen around the user. I have to put other activity on the back and bring my alert pop up without user manipulation like notification on the front.
Is there a way to bring manually an activity to the front, by resuming it like when you click on the android task switcher?
I am calling this from ie8:
function verify_ssl()
{
window.open ("https://seal.godaddy.com/verifySeal?sealID=129275340046e2e09512711f05bc73f617fac022950185486622550",
"ssl-window","status=0,toolbar=0,menubar=0,resizable=0,width=540,height=435");
}
It says invalid argument, It works fine in FF and Chrome. Any idea what the issue is in IE?
I have a website project, that is working fine. However every once a while certain ajax pages (that make calls to a webservice) throw a "the server method xxx failed". I have ELMAH installed, however do not see any stacktrace or anything. The worst is that I can not reproduce the error locally. I just get an email notification from ELMAH. Does anybody know how I can fix this issue?
I am using Fluent NHibernate's (1.0 RTM) automapping feature to create my oracle database schema. My issue is that all the tables are using a single "hibernate-sequence", whereas I would prefer (and my boss would demand) a sequence generator for each table.
Any ideas?
Hi there,
I have a script to handle http requests. I'm trying to think of some of the security issues I might have with it. My biggest concern at the moment is how I can manage multiple requests from the same source over and over. For instance someone trying to shut down my system.
Do I need to be concerned or will Apache handling this issue. If not what is the best approach to take using php?
Thanks,
Is there any way in .NET for a thread to determine its 'parent', i.e. the thread that created it?
I'm diagnosing a timing issue with a black box third party API and would like to find out what custom code of mine it is executing on which thread.
What my cause a normal external script on my app to show up sometimes
in Firebug's NET panel as 'Aborted' and not being loaded?
Is this a server issue, or the browser going nuts?
I want to extract a word from a string column of a table.
description
===========================
abc order_id: 2 xxxx yyy aa
mmm order_id: 3 nn kk yw
Expected result set
order_id
===========================
2
3
Table will at most have 100 rows, text length is ~256 char and column always has one order_id present. So performance is not an issue.
In Oracle, I can use REGEXP_SUBSTR for this problem. How would I solve this in MySQL?