text stringlengths 8 267k | meta dict |
|---|---|
Q: Jboss with UTC timezone We have setup our server timezone (Windows) UTC (coordinated universal time) , but when we start the JBoss I could see -5 hours from system time in the console as well as in the jboss log. For e.g., system is 0900 HRS jboss log and console shows as 0400 HRS.
Please throw some idea where we s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Disable input submit button with js in IE & FF doesnt' work I have a problem, with disabling a input button with javascript in a aspx document at ie.
The js look's like
<script language="javascript" type="text/javascript">
function SetButtonStatus(sender, target)
{
if (searchinput.value.length < 4)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: syntax error in mysql during tringger definition I'm trying to use a trigger defined as follows
-- the table
CREATE TABLE codici_ddt(
id_ordine VARCHAR(15) NOT NULL,
id_invoice VARCHAR(15) NOT NULL,
ddt_numero INT(8) NOT NULL,
fatturazione DATE NOT NULL,
ddt VARCHAR(20) NOT NULL,
FOREIGN KEY(id_ordine) REFERENCES or... | {
"language": "it",
"url": "https://stackoverflow.com/questions/7594852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to load master-details data(more than 2 hierarchy) using WCF RIA Services I'm trying to get my head around treeviews and am able to do two levels, but I'm stumped with adding the 3rd level. I assume you make a 3rd Hierarchical Template - but I'm not sure how this is loaded. I'm using the AdventureWorks databas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: writing and installing your own leiningen plugin I have been able to run a custom plugin from within my projects project.clj, and even leiningen/plugin.clj (ie just a private plugin) - but when I go to put this plugin in its own project - I am unable to get it to work at all.
Following the advice, I should create a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is MySQL breaking the standard by allowing selecting columns that are not part of the group by clause? I am used to Microsoft technologies including SQL Server. Today I ran across a Q&A where the following passage from the MySQL documentation was quoted:
Standard SQL would reject your query because you can not SELE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Scala version of Wicket I've read that there should be a (pure) Scala version of the Wicket web framework. But I can not find a project website or anything else about it. Where can I find it?
A: From the related discussion on the Forum for Wicket Core developers, it doesn't seem to have been released yet.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7594870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Perl Dancer after hook Is there a way in Dancer to execute a code after every request?
I tried with an after hook but it seems that it doesn't execute after a file request...
There is a hook called 'after_file_render' which is executed a decent number of times after each request but I am not sure what is its purpose... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: find tag inside text string I have an xml document (from a feed), which I'm extracting values from:
$(feed_data).find("item").each(function() {
if(count < 3) {
//Pull attributes out of the current item. $(this) is the current item.
var title = $(this).find("title").text();
var link = $(this)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dispatcher.Invoke() is not working for the application I am working on a project of my company in which they used Dispatcher.Invoke() in many places.If I am using BeginInvoke instead of Invoke then the Synchronisation between threads working fine but in case of Invoke the application is freezing and even not enterin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is the analyzer really trustworthy concerning the detection of memory leaks? In my app delegate I have the following code snippet:
...
@synthesize model = _model;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
...
// Allocate the model
se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: InstallShield 2011 error 7185 importing Japanese strings in the string table of basic MSI project I am trying to import Japanese strings inside my "Basic MSI" project, it use to work before without any issues but now when I try to import some Japanese strings from a text file then it throws following error (I have c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Implementing a CRC check within Android SMS Functionality I am fairly new to android , but I dont see how it is possible to implement a CRC check, or some kind of message integrity check for a SMS sent from one Android device to another. I'm busy looking at XOR Checksum computations , but I am not sure If I am movin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java: How can I disable clicking on a panel while showing dialog? I want to disable clicking on the background panel or frame while showing a dialogue. And I want the dialogue to appear on top of this panel or frame constantly until it is closed.
How can I do this?
A: Make Dialog/JDialog modal by calling dialog.se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: how to check each and every object of array in the userdefaults i am saving selected date from picker in array in userdefaults. So when i select a particular date and click on save that particular date is getting saved in userdefaults.This is done properly.But now i have problem.I need to compare each and every date... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extjs store filtering - include metachars I have a data store having a Note field (a textarea) and want to display all Notes satisfying a user input (even metacharacters).
I've written the following function to handle this:
function notefilter() {
var newfilter = Ext.getCmp('searchnote');
var searchStr = ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sandcastle: How to reference own (non-msdn) HTML documentation? We use sandcastle to build our internal help. We have multiple teams working on parts of our solutions independently we need to document those independently. So we have i.e. a team creating component 1 and the help for it, and another team creating comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: unzip unix command I have a zipped log file. However when I try to
unzip nameofFile.log.zip
I get the following error:
Archive: nameofFile.log.zip
error: cannot create nameofFile.log
what would be stopping it from creating the log?
A: No permission to write in current directory?
Directory of name nameofFile.log... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache Solr - OR in filter query Is it possible to search (with apache Solr) for items which are in one of few categories using filter query, e.g. items in category 'computers' OR 'phones'
When I want to search for items in category computers AND phones I type:
select/?q=...&fq=cat:computers&fq=cat:phones
but it is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Automatic ruby folding in vim Is there a way that I can setup vim to automatically fold ruby source files, but only fold at the method level regardless of the level that they are defined?
So it will fold when I have:
class MyClass
def method
...
end
end
but also when I have:
module FirstModule
module Sec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Pisa pdf converter is very slow with large tables I'm using Pisa to convert HTML to PDF (in a Django project).
It is very slow when handling tables that span over multiple pages:
a 200-rows table takes up to 150 seconds to be converted, while it takes 15 seconds if I split it into smaller tables.
Are there tips or b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: When converting to HTTPS canvas page is blank I have gone through the apparently needed process of purchasing SSL certs etc, and have now changed my URLs for the tabs to https.. however when accessing these there is nothing shown.. blank. Works fine with http.
Can anyone help me out please? Can't find any decent do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Entity Framework - Crash on Detaching list of objects I am working on a winform application with EF 4.0.
Below code, crashes with issue 'The object cannot be detached because it is not attached to the ObjectStateManager.' when it tries to detach the list from context.
public List<Users> FindUserList()
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best sorting algorithm to sort an array of small integers? As per question title, if the array is of an odd length and the array elements are numbered 1 - 10.
Example,
3 6 8 1 3 7 7 9 4 1
I was thinking of using heapsort? Since it is an array, merge sort and insertion sort requires shifting, and woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Iphone - Multiple Apps, Different App ID, Same Token From what I understand, if there are multiple apps with different App ID installed on a device, the tokens for push notification generated for each apps should be unique one to another.
In my case, I have several apps compiled with different provisioning profiles ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Prevent window from redrawing is it possible to prevent automatic redrawing of window? I want it to redraw only when I issue queue_draw().
Explanation:
I need this because I'm using a 3rd party commercial library for industrial graphics which I can tell when to redraw, but also it redraws when X tells it to and it i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Technical term for bit packing By bit packing I mean since int is of 4 bytes, and if we store 1 inside the int, remaining bits will be wasted.
So I'll be packing the next type e.g short's value 2, in the int variable (by right left shifts).
What is this technique called?
A: You said it yourself; Bit Packing.
If y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When does a Category come into effect I'm a little confused by something regarding Categories. If I have written a Category for ClassA called ClassA+Something, at what point does that category come into effect? I'm assuming a single import somewhere will cause the category to be applied to ClassA throughout the proj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Control event firing frequency though attaching/detaching to the event. Bad practice? Yesterday I provided an answer to the question How do you control event firing in C#? which, in short, asks the following:
"There is an event that fires whenever a new frame is received from the camera. However, this happens more... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Microsoft JScript runtime error: Object required -Javascript There are the javascript codes inside a web application which was developed with through Microsoft Visual Basic.When to run javascript code on my local machine,it doesn't working on Windows Server 2003.I'm getting the Microsoft JScript runtime error: Objec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find a value from Datatable compare with its max() value - LINQ Query thanks for helps.
Actually I have a datatable Invoice, having fields like invoice_no, Invoice_dt, material_name, unit_price, etc..
But I need to find the unit_price of the item which is the last date entry for that material {max(invoice_dt)} is it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bloom Filter: How to find k hash functions? A Bloom Filter needs k hash functions, which return a value between 0 and m (m is the length of the bit array).
I have to implement such a bloom filter and I already read some theoretical papers about those filter (how they work, how many hash functions you need, how the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you debug properly in visual studio while using WatiN framework? I have being trying to debug my program which is around couple of hundreds lines of code, I have been trying hard to debug the program properly,
each and every control of the program leaves blocks, starts from different point whenever I press f1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Better page load performance when loading multiple embedded Youtube videos? I have a page which displays multiple (usually 10) embedded videos. The videos use the new IFRAME embed code of youtube and apparently for every IFRAME there is a separate request when loading the page. Is there a way to defer loading the vi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Routing in Zend Framework of two modules I have created controller : module/default/index/login
I have added routing in main bootstrap
$router = Zend_Controller_Front::getInstance()->getRouter();
$route = new Zend_Controller_Router_Route(':action', array(
'module' => 'default',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WMI call to a different domain Is it possible to read registry key of a remote machine which belongs to a different domain using WMI calls?
A: Yes it's possible, only you must ensure to set the credentials of the connection according to the remote machine to access, and then use the StdRegProv wmi class which allo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Documentation for implementing a Java based Red5 RTMPClient? I'm investigating implementing an RTMP client in Java to do audio conferencing with Red5. There's an RTMPClient and related classes that look like they can be used. However, the implementation seems to be based on a delegate pattern with multiple other cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Language Oriented Programming Articles/Papers/Tutorials There is number of tools on the market like MPS, that promote Language Oriented Programming, which supposedly gives ability to programmer to design a (ideal?)language for task. This sounds interesting and boring at same time for some reason, so I was wondering ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: GDB with pthreads I have a C program where the main function creates threads and I have to debug one thread. I am using gdb for he same. However I cannot "break" or "watch" variables on specific C files of this program. For eg. my thread 6 is programmed and uses certain C files and I have to break at line 601 on say... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why is Eclipse and ADB not recognizing my Android Device? My device is Alcatel OneTouch 890 with Android 2.1. I configured in 51-android.rules in rules.d of /etc/udev folder.
My operation system is Ubuntu.
I enabled the usb debugging mode in my device.
HTC and Samsung devices are detecting, but not my Alcatel,
Here... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Using SignalR with ASP.NET MVC3 I'm attempting to use SignalR hubs in an application, but am having no luck currently. I've read through Scott Hanselman's article, and also looked at this blog post which shows how to implement it in MVC, basically doing the same thing. Unfortunately, I'm having no luck. On the clien... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Avoid separate function for commandLink action I would like to use a property of a form element instead of using an additional function to just return a certain value.
Current situation
XHTML file:
<h:commandLink action="#{menuBean.navigationAction(menuItem)}" ... >
Managed Bean behind it:
public function navigatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to use TFHpple in iphone i use this code for html file but it not working how to solve it some one help
it show this message /Users/pradeepyadav/Desktop/htmldemo/TestHtml.m:45:0 /Users/pradeepyadav/Desktop/htmldemo/TestHtml.m:45: warning: 'TFHpple' may not respond to '-search:'
- (void)viewDidLoad {
[super ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can I var scope a function? Prevent it from appearing in the global variables scope I'm cleaning up a large website's huge variables scope, normally when cleaning up these things I find the variables and var scope them.
Problem is; say I have a function declaration in a view(cfscript):
function myFunction(){
//d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to delete a child node using OmniXML? I'd like to delete the line with pathid="2" in the rowpath section...
<?xml version="1.0" encoding="utf-8"?>
<LostPath Condition="Active" Selected="train.exe" FullPathOfSelected="D:\mygames\arcade\train\" Selected="0">
<rowdir Name="train.exe" GamePath="D:\mygames\arcade... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Load Facebook friends information using Android In my application I am integrating with Facebook and I do:
Log in Facebook and get all information of friends and display it in a List View. It will take a time to do this if the user have a number of friends.
So, is there any way to get information of friend in fixed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does foreach use IEnumerator/IEnumerable for built-in types? Does the foreach loop use interfaces IEnumerator and IEnumerable only for iterating the objects of custom types (classes) or also for iterating the built-in types (behind the scenes)?
A: Foreach doesn't depend on IEnumerable as such. However, if a type i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: don't run PropertyChangedCallback in DependencyProperty I created a UserControl with a DependencyProperty. I set a value for this UserControl on FormLoad. But when I run the application no value is shown.
My code:
public static readonly DependencyProperty ValueProperty =
DependencyProperty.Register("Value", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7594999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: get session variable Array list into Display Tag Hi I have ArrayList get from session in jsp.
<%java.util.ArrayList<Organisation> OrganisationList1 =
(java.util.ArrayList<DAOrganisation>)
request.getSession().getAttribute("organisationArray");%>
Then I try to get this array ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C programming while #include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
int x=0;
int y=0;
while (x<15)y++,x+=++y;
printf ("%i %i",x, y);
getchar ();
getchar ();
return 0;
}
I don't know why x is 20 and y is 8 at the end.
Please explain it step by step.
A: while (x<15)y++,x+=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Error : "Cannot set commandtext while a datareader is active" with ExecuteNonQuery() I listen a data stream and store data as insert statements in a ConcurrentQueue and insert the data with bulk insertion using a System.Threading.Timer with an interval of 1000 . The whole scenario runs on a static class.
Here is the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: what does a c compiler do when doesn't find the matching function Consider the following code:
#include<stdio.h>
int f()
{
printf(" hey ");
return 5;
}
int main()
{
printf("hello there %d",f(4,5));
f(4,5);
return 0;
}
I expected something like too many arguments to function ‘... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: GlassFish, Java, Grizzly, WebSockets - how to get started? I am faced with the necessity to push some messages to the clients of my web-application in Java. After some reading up on the subject, i decided to use websockets as an emerging and a promicing technology, and to use GlassFish as the server. However, all th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Explanation of syntax in for loop? I was trying to do some of the problems on projecteuler, and I got to the one with the sum of squares and squares of sums. I didn't want to brute force it, so I looked up the solution, which was:
sum1 = 0
sum2 = 0
for i in ((x,x ** 2) for x in range(1,100+1)):
sum1 += i[0]
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The type 'NavigationWindow' does not support direct content I am trying to use NavigationWindow class instead of Window to allow navigation between windows in WPF application. But when adding content to the NavigationWindow in XAML, I am getting an error:
"The type 'NavigationWindow' does not support direct content"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: codeigniter model vs library which one to use there is a function get_user_group_ids($user_id), it returns all groups the user belongs.
this pings the batch table and gets all the batch_ids. ANd then pings group table and get group_ids corresponding to batch_ids
This is used in event, job and other libraries like eg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL SERVER 2008 , Nested procedures issue Considering the following example
Procedure1
..........
IF(@errorcode<>0) ROLLBACK TRANSACTION
ELSE COMMIT TRANSACTION
SELECT @errorcode
Procedure2
..........
WHILE [condition] BEGIN
EXEC @proc1result = Procedure1 [parameters]
IF(@proc1result=0) SET @totalresult=@tota... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find the dispatch id of an event generated by an ActiveX control I am writing a wrapper class for an activeX control using FireBreath.
The ActiveX container class has an event sink which listens to the events fired by ActiveX control.
In the code creating the event sink, in the SINK_ENTRY_INFO method one of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 401 Unauthorized returned on EndGetResponse. Apache Error log: cannot generate context I got a server with Apache running. Now I want to be able to read the contents of a folder there and for that this folder is configured in the Apache httpd.conf something like this:
Alias /folder "E:/Folder"
<Directory "E:/Folder... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is this declaration not allowed in Haskell? I know that Functor and Applicative should be superclasses of Monad, but aren't for historical reasons. However, why isn't is possible to declare Monad an instance of Functor? This would have roughly the same effect, but without having to modify existing code. If you'r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to use custom file instead of log4j.properties I'm using log4j in my java project. Instead of log4j.properties, i want to configure another file... Can anyone help me... Thanks in advance..
A: This is a FAQ.
Just use java -Dlog4j.configuration=your/file/path.properties. See http://logging.apache.org/log4j/1.2/m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Set Timeline Cover in Facebook? Suppose that I am able to upload a photo to user's album, how can it be set to as Timeline Cover. There are some apps who already doing that like myfbcovers.com and firstcovers.com.
A: Just like with the profile picture, apps are NOT allowed to set the cover picture (yet?). The websi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: regex tweaking advice needed I have this regex which some kind folks on SO helped me with yesterday. Anyway I have been editing it to do another match now and have almost got it. Basically in the following text I need it to match the space before the year and to append a pipe | to that match. I can get it to match b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exception starting filter struts2 java.lang.NullPointerException? The error "Exception starting filter struts2 java.lang.NullPointerException" is shown when i Try to run my application. I am programming in Eclipse 3.6 on Struts 2. part of my My Struts.xml looks like below:
<struts>
<!-- remove these constant... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mysql char search vs integer I have this query:
SELECT * FROM table WHERE field = 'abcd';
Table has lots of rows (1'000'000'000 or more)
If instead of field = 'abcd' i use something like
SELECT * FROM table WHERE field = 'abcd' AND other_field = 300;
, Where 300 is a number that depends on 'abcd' (f(abcd) => 300),... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delegates in Haxe Is there something like a delegate in Haxe?
This would come in handy when I use a anonymous function but still want to maintain the current class'es variable scope.
myObject.callback = function(param) { this.variable = param; };
As you can see this is not accessible from within the function body. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why can't I upload files asynchronously? After a whole-day's study && trying, i finally give up upload files by pure AJAX (ps: this post How can I upload files asynchronously with JQuery? buried my last hope)
My question may be a little meaningless, but i still wanna know why ajax(or XMLHttpRequest) can't handle thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Python - SqlAlchemy: Filter query by great circle distance? I am using Python and Sqlalchemy to store latitude and longitude values in a Sqlite database. I have created a hybrid method for my Location object,
@hybrid_method
def great_circle_distance(self, other):
"""
Tries to calculate the great circle dista... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Merge of two select queries I want to merge these two Select queries into single query. How can i do this?
SELECT link_id, COUNT(*) FROM Loc GROUP BY link_id
SELECT Slink.[xlink:Show],Loc.[xlink:show],
Slink.[xlink:actuate],Loc.[xlink:actuate] ,
href, Sem.SemRoleDescrip
FROM Sem JOIN Loc O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How identity constraint works? Could any one suggest me how can i make 10 as increment in the below statement.
create table Student1(SID int primary key identity(0,10),SName varchar(10))
A: the syntax is IDENTITY [ (seed , increment ) ]. You need to specify both or none. The default is (1, 1)
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7595054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cursor does not change to I-bar on mouseover JTextField Initially the cursor changes to i-bar on mouseover, but after clicking a button (which basically calls setEnabled(false) and then setEnabled(true) on the JTextField) , the cursor doe not change to i-bar on mouseover JTextField.
What could be the reason? Any he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best captcha service available for JSP forms apart from ReCaptcha? I want to secure my form from spambots by using a captcha service. I have tried ReCaptcha but it generates really hard words. Is there any other captcha service available which I can use. I have tried JCaptcha but it is also not very good... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Filtering elements from a ListBox via TextBox Hi have created a listbox which is bound to list of machines. As the number of machines may increase dramatically I need to somehow filter by name. For that reason I have provided a TextBox where users can introduce a string to filter out.
I have thought to create anothe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android : Downloading files from FTP Server using SimpleFtp? I've upload some files to my ftp server using simpleftp method. Now, i'm in need to download these files from my server using Simpleftp. Is this possible to download it using simpleftp. anyone knows the answer?
A: No, simpleftp is only made for uploading
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7595061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php stop shell exec on cancel When I cancel a PHP Script by pressing the browser's "Stop"-Button, it seems that an external binary run by exec(..) is not stopped. If the server is configured to not handle more then one script per user, that disables any user activity until the runned command is finished. How cann I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what is the use of ClientId in the activemq connectionfactory class Scenario :
private readonly IConnection connection;
this.connection = connectionFactory.CreateConnection();
this.connection.ClientId = clientId;
A: The client id is used to logically identify a connection for the purposes of durable subscriptions,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there any way to detect if there's a hardware keyboard on the phone? I've seen other questions like Hardware Keyboard Event
But not seen this for Mango... is there any way to find out if the phone has a hardware keyboard?
A: Use the DeviceStatus.IsKeyboardPresent Property
DeviceStatus.IsKeyboardPresent
Indica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to Block outgoing calls and Text SMS I am developing an App in which I need to block the teenager from
using mobile while driving, I need to block the call and
sms. please help . any small hints and clues will do. please help me!
A: This code will block your all call (INCOMING AND OUTGOING)
import java.lang.ref... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: GearmanManager Installation I am new to ubuntu and am trying to install gearmanmanager for gearman.
I have downloaded gearmanmanager tar.gz from this location: https://github.com/brianlmoon/Gearma...tarball/master
While trying to install it through install.sh, I got the following error.
Error: Detecting linux distr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jqgrid post request data json My grid data read is configured for use json format.
This is the configuration
url:"devitem.json",
mtype: "POST",
datatype: "json",
ajaxGridOptions: {
type : 'post',
async : false,
error : function() { alert('Something bad happened. Stopping');}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: if else nesting in stored procedures I have a stored procedure with if-else statements. i have a scenario where i need a need if else statement inside else statement. i have done this in c# but i need it in sql server since i'm pretty much new to stored procedures.
lemme provide a sample snippet for u ppl.
create pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Applying multiple jQuery plugins I have made two jquery plugins which both work in their own right.
If I call them using:
$('input').inputShrink();
$('input').fillForm();
then the two effects work. However, if I do:
$('input').inputShrink().fillForm();
then only the first one is applied. It was my understanding yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Transfer cookie from one domain to another on different servers
Possible Duplicate:
How do I use cookies across two different domains?
Can you please tell me what is the easiest way to transfer cookies from one domain to another on different servers?
I have a website and a forum on different servers and different... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: Inserting characters between other characters at random points For example:
str = 'Hello world. Hello world.'
Turns into:
list = ['!','-','=','~','|']
str = 'He!l-lo wor~ld|.- H~el=lo -w!or~ld.'
A: import random
lst = ['!','-','=','~','|']
string = 'Hello world. Hello world.'
print ''.join('%s%s' % (x,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Javascript nested switch statement inside if else statement Need some help with the following javascript problem that won't resolve. I'm a novice and doing my best to find a good solution so I can complete my thesis research. The code is designed to run inside an online survey program called Qualtrics. Each var repr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Generation of employee id I have form empdetails like this
EmpId:textbox Name:textbox
username:textbox Password:textbox
I need to generate empid and it start with 0001 and display it in the empid field and all other information will be entered employee and i have provided save button when the user cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add json callback to php file? Created a javascript widget. Had problems with same origin policy. I added the callback to the php file like this:
var jsonp_url = "http://www.example.com/widget/data.php?json_callback=?";
$.getJSON(jsonp_url, function(data) {
for (var i=0;i<data.length-1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What back end tech to use for a 2-player, turn based, ajax web game?: Python or Java, FastCGI or app server? I'm building a web based 2 player game, client side interface will all be done in an ajax manor with html/css/javascript. I want clients to be able to initiate games and join others, chat etc, but I'm stuck o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to optimize the receive loop for thousands of messages in Erlang? In the chapter "Programming Multicore CPUs" of the Programming Erlang book, Joe Armstrong gives a nice example of parallelization of a map function:
pmap(F, L) ->
S = self(),
%% make_ref() returns a unique reference
%% we'll match on t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Eclipse key binding for non-commands There are many useful menu items of third-party plugins that are not Eclipse commands. I.e. Team->Update to Head from Subversion plugin, Rerun the last test from TesNG plugin and many others.
Is there a way to add key bindings for them and/or add them on the tool bar without modi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: issue about Admob,Android Is there any chance to try Admob without paying a fee,all I want to display some ads in my app on Android.
Admob did ask me about my payment and local tax id and other info...
Please help and any comments are welcomed here
A: It didn't ask my payment. The local tax id field is optional but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: With JQuery is $(this).find(e.target) the same as $(e.target, this)
I've always thought it was until I got the above. Am I missing something?
The "input#header-login-email-input.initial-value" is not within "this".
Thanks
A: I assume e.target is the target property of an Event object, so it's a DOM element. When y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Chartbeat and Google Analytics We have Chartbeat installed in our app which gives us live coverage of users coming in. However, one thing that Chartbeat lacks is the ability to display the total number of views a page has had...
So I was thinking of integrating Google Analytics. Is it fine to have both tools install... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Play Multiple Audio Files? Though the question sounds basic and really simple to answer - but I have not found a complete answer either in any book/Forum/website.
Quick Background of My App:
I have a Dependent/Multiple UI Picker (2 UI Pickers - Lets call them P1 and P2), UITEXTVIEW and bar at bottom of the sc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: pkg-config glib-2.0 error on Mac OS X I've got some C code which won't compile.
The error message when I run "make" is:
gcc -Wall -Wno-pointer-sign -g `pkg-config --cflags glib-2.0 gconf-2.0`
\ -c main.c Package glib-2.0 was not found in the pkg-config search
path. Perhaps you should add the directory containi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Transaction demarcation/transaction borders in Spring JMS I have a chain of 3 Spring JMS listeners A, B and C implemented on DefaultMessageListenerContainer (DMLC). All DMLCs are deployed in one Java EE application.
A and C:
*
*have a transaction manager injected (the same one),
*they both receive and send mess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JBoss Seam - Dealing with large data returned from SQL I'm looking for techniques/best-practices to do deal with the way our web-based application works.
Currently when a user searches a field it can returns more than 10000 records at once which to me is a waste of bandwidth and memory.
Is there a way to limit the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python - Converting Hex to INT/CHAR I am having some difficulty changing a hex to an int/char (char preferably). Via the website;
http://home2.paulschou.net/tools/xlate/ I enter the hex of C0A80026 into the hex box, in the DEC / CHAR box it correctly outputs the IP I expected it to contain.
This data is being pulled... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: PostgreSQL Query precedence Here in the query when i am trying to execute the OR condition before AND conditions it gives wrong result..as web_filename_username_4hr_ts_201109 also gets included..
Wrong Result Query:
SELECT tablename FROM pg_tables
WHERE schemaname = 'public'
and (tablename like 'web%_4hr_ts_%'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reading text file line by line in SQL*Plus How to read a text file from Oracle SQL*plus?
If there is a way to read from a bat file and pass the variable as a single line of text file, and simultaneously called from SQL*plus sql file, this option is ok.
A: You can try to use Oracle External Tables.
For example, you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.