text stringlengths 8 267k | meta dict |
|---|---|
Q: Free the memory of a std::vector C++ I have a vector as below.
std::vector<std::string> exportNameList;
I am adding elements to this by using push_back method. But I am getting a debug assertion as "
"Windows has triggered a breakpoint in AxCent.exe.This may be due to a corruption of the heap, which indicates a bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get or set the Database character encoding when using PHP ODBC Functions? If I use odbc functions to connect to a database in PHP, How can I get or set the database character encoding? is there a function in PHP that I can use to do that?
An example of the odbc functions used in php script
<?php
//Connecting... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't import javax.servlet.annotation.WebServlet I have started to write app that can run on Google App Engine.
But when I wanted to use my code from Netbeans to Eclipse I had an errors on:
import javax.servlet.annotation.WebServlet;
and
@WebServlet(name = "MyServlet", urlPatterns = {"/MyServlet"})
the errors are:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Coded UI Testing of Silverlight in Sharepoint 2010 I am creating a Coded UI test for our system which runs on Sharepoint 2010. Part of the test sequence is creating a site; Sharepoint's UI for creating sites runs on Silverlight. Therefore, I need to create a Coded UI test for a Silverlight component which is part of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: asp.net data binding in literal Lets say we have the following in the default.aspx file
<asp:Literal runat="server" Text="<%= TestMethod() %>" />
What needs to be defined in the default.aspx.cs file to make this work?
I tried to add a method called TestMethod to the _Default class which simply returned the string T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Downloading files in background with Python I have got a working web application in Python that downloads a file into the web server upon a user's request. This works fine for small file downloads but when the user requests a larger file, the connection times out. So, I think I need to process the download in the ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: AppEngine datastore design advice required I am building a distributed accounting system.
In terms of the DB structure and requirements, it's probably easiest to describe the app as a Twitter-like app, but with a hierarchical DB structure of 14 tables.
A company that uses the app may have 1 and more users, all shari... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending data from windows service to WCF - MaxArrayLength Error I've had a problem sending data from a local service to a web service for a while now, and I've tried many articles, but they all dont seem to help...
When I run the app I get the following error:
"The maximum array length quota (16384) has been exceede... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress Custom Registration Form I have a client that needs a custom registration form.
*
*I need to make a custom design on this page
*I need to add custom fields like First Name, Company, Phone, etc.
Someone can help me with this?
A: A better place to ask WordPress questions is probably on WordPress Answe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to denied all requests except some in Magento The question is not enough clear, so I will explain more.
My client has a requirement in mobile1 about the users all SHOULD not visit all request2
For example:
The users SHOULD: only visit some in below list:
*
*mydomain.com/catalog/product/view
*mydomain.com/cuso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to count in a join statement I have got table post: int post_id, varchar title, text content
And table comment:int comment_id, int post_id, varchar content where post_id is a foreign key references table post.
How do i get the post_id and sum of comments of each post order by comments count. Thank you.
A: If yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Server table result to array in SQL Server 2005 Hi and thanks in advance.
First off, I do not mean I want to convert an array into a table. I can do that. Easy :)
I would like to do the opposite.
I have a row with n rows related to it in another table. I wish to output the row and then within a single column of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does cache mechanism of Orbeon 3.9 PE feature works I implemented the following code in all my static instances. I was expecting the browser to hold these readonly instances in client side cache but its fetching those readonly instance from server for each request.
Please confirm my understanding on xxforms:read... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot fix the cell width in a HTML table I would have thought that the CSS below would work;
table#ScheduledLeaveCalendar
{
table-layout:fixed;
}
/* Calendar that shows annual leave */
#ScheduledLeaveCalendar
{
border-collapse:collapse;
}
#ScheduledLeaveCalendar td, #ScheduledLeaveCalendar th
{
font-size:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get Facebook UserID Using Facebook's new Open Graph technologies launched just recently at their F8 Conference, how do I retrieve the facebook user id when a facebook user hits my open graph object? Is this even possible at all?
As per this video:
http://developers.facebook.com/blog/post/564/
I've created the objec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: InterfaceOrientation issues when popping a ViewController off the stack I have the beginnings of my app working pretty well but I have one small issue that I can't figure out how to fix.
It's a view based app and I have a NavigationController in my appDelegate file which is pushing various ViewControllers as require... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symfony - module template not loading withing layout specified in view.yml file I inherited these symfony source files from a site previously hosted on a linux box, and developed by someone else.
I'm developing on a Windows XP machine and am trying to make this site work on localhost.
I've made sure that in /apps/f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeError (can't convert nil into Integer) paperclip I am using paperclip while creating new object for saving in database i am facing
can't convert nil into Integer paperclip error
This is what i have written in my function.
def create
@asset = Asset.new(params[:snap]) #here i am facing the above error.
@asse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to show Multiple Pins on mkmapview I want to show multiple pin annotations on a mapview.
I am getting multiple hotel location lat long from server and i have store them in NSMutableArray, now I want to show these lat long value on my mapview.
A: Every thing you need is here: MKMApView and here MKAnnotations
Som... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to show sqlite datas in a textview? My name is NipinVarma,I would want to know about some errors in my iphone application.I am doing a bible application for a client,i almost complete the functionality s of the application,like authentication ,UI etc etc.sqlite is used for the database of the bible,i want to dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Center positioning for my popup dialog box I have used a dialog box in my application which is causing trouble with it's alignment as my page has grown in content.
Till my page was short and had less content , it used to popup up nicely at the center of my page . But , now my page has grown vertically , and once I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Speed of HttpWebRequest/HttpWebResponse Is there any quicker alternative to the code below to get a http response into a string?
string req = "http://someaddress.com";
Stopwatch timer = new Stopwatch();
timer.Start();
using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
{
using (Stream dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Exceptions handling guidelines for C++ I understand benefits of using exceptions handling in C++ and I'm aware that it may be tricky. One of rule says, that every function may throw. Ok, but there are situations, where we want to make sure, that function does not throw. I'm looking for any well-known practices or gu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I check if the user is the new user or not in Facebook? <?php
$facebook = new Facebook(array("appId"=>'xxxxxx', "secret"=> 'xxxxxxxx'));
$user = $facebook->getUser();
if (!$user) {
$loginUrl = $facebook->getLoginUrl(array(
'redirect_uri'=>'apps.facebook.com/abc/'));
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: RMI Client and Server programms I implemented a client and server programms using RMI. I wrote this both server and client classes in same project. But now I want to run this client and server programms separately (as two projects). So how can I do this?
A: Split your application into three artifacts/projects/JARs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making unopened boxes un-clickable until larger opened box is closed I am currently playing about with jQuery Isotope. I love it but it is way above my very very basic jQuery knowledge. So far with help from other people I am slowly getting to my end goal. My question today is to see whether it is possible to make t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How would one make a unit converter in objective c? I was wondering how, in objective c, one would go about making a unit converter, in particular one specific point: would you need a new block of code for each unit to be converted to every other unit. e.g.
meters - feet
meters - centimeters
meters - inches
etc then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How should comment authentication work? Open discussion? Or Registered Users only? I'm building my CMS and am up to the comment authentication part of it. I am wondering what type of commenting I will allow. To give you an insight into my target audience, I will be targeting a range of people specific in their field... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: XSLT transform function failing due to special characters I have an XSLT function which is selecting data from a C# data table. If the column name of the table happens to contain special characters such as brackets then it’s causing the XSLT to fail as it I guess it thinks it’s calling a new function. If I put singl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Application crashes on simulator 5.0 before reaching main.m
Possible Duplicate:
iOS App crashing before entering main() with Xcode 4.2 & iOS 5
I am working on an app that works fine on simulator 4.3 but when I try it on simulator 5.0 it crashes before even reaching the main method. I get no informations, only gdb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: JSTL Format Number in million I have a number like, 48371000000 i need to display it like 48371.
Using JSTL, I tried like
<fmt:formatNumber var="salesFormat" type="currency" currencyCode="USD" value="48371000000"/>
Output: $48,371,000,000.00
Do I need to use any pattern?
Please Help, Thank in advance...
A: Ok, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how can I mix objective-c objects (i.e UITextView) with pure c++ UI like DooleJump leadboard How can I mix objective-c objects (i.e UITextView) with pure c++ UI like DooleJump leadboard, which is scrollable and the text in it is from system`font. Can somebody help me ..thanks...
A: I can't see the relation between ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Post ajax requests parameters are sometimes sent in the wrong format to rails My problem is so weird:
*
*I have this form:
<form id="my-form" method="post" action="/password_reset/update/<%= @user.perishable_token %>" charset="utf-8" autocomplete="off">
<input type="password" name="user[password]" class="requir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use asp variable in JavaScript? I have stored text box value in JavaScript variable
var strline1side1 = document.frmartwork.side1textbox1.value;
and then saved that value in JavaScript cookie
document.cookie="lineside1="+strline1side1+";path=/;";
now I want to save this cookie in asp variable.
I tried t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery rotating image banner first image issue I have created an rotating image banner module for an in house CMS. I did not write all the jquery for this and that's why I'm a little confused.
Basically the problem is the first image displayed in the banner after a page reload does not fade out like the rest of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: zend_form decorator on whole form not each individual element Custom HTML Output on Zend Form Checkbox setLabel Property
In adition to this question.
I want to apply this to all my form_elements without adding it to each individual form_element
class my_form extends Zend_Form
{
public function init()
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which design pattern should I use to write an ASP.net page that persists to a DB? Is there a design pattern I can use in asp.net pages that will help me program pages more effieciently? In particular its when I have to save something to a database and then set up some page controls etc...
A: Microsoft would tell yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: checkbox checked or unchecked function Check_Clickd_li(objRef) {
var btn1 = $find("<%= RadButton1.ClientID %>");
var btn2 = $find("<%= RadButton2.ClientID %>");
if (objRef.checked = true) {
btn1.set_enabled(true);
btn2.set_enabled(true);
alert("Enable");
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Windows Explorer plugin DLL in 32 and 64 bits I am currently working on a DLL for Windows Explorer, which provides various features like information and thumbnails for certain types of files. So far it works fine on Windows x64, and I am now working on the 32/64 bits issue and on the registration process (this proce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I prevent users from downloading MP3s directly I'm building a web-radio like service, in which the user authenticates to the services, gets a cookie and a Flash-based app plays mp3s from the server. The server only delivers if the client is allowed for that particular mp3.
If a user opens a HTTP logger (lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get Registration ID from C2DM Servers? I am very new to Android. I developed my project in android. Now I would like to add notification for my application. So I planned to use C2DM. I register to C2DM and i have received a mail. but i not yet receive registration ID from gmail. How can i receive from gmail r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: write the content of the mac os terminal to a file in java I am new to mac os. I have used the following code in java to get the system details. It opens a terminal to display the result of that command. I need to get those details in a file. How can I get it.
String[] command = {"/usr/bin/open", "/Applications/Util... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I make my Android ContentObserver for detect changed contact detail (added, updated or deleted)? I can catch the event when contact is modified. But I want to catch that modified contact details like CONTACT_ID, name, etc... Please can you help me to do that. my code is follow.
public class TestContentObserve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to upload multipart Image data in json request Android? I have to upload image data in multipart post using json request so can anyone help me out here.
Here is my json string request to send server (I am able to create JSON request in string but how to send that code is required)
{
"Request": {
"data": {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ruby check if a thread is "free" I want to have an array of threads[] such that if a thread is "free" or not working on any program then it will be assigned a new task.
Is there anyway to check if a thread in ruby is "free". Currently I used
if (threads[thread_id].nil? || !threads[thread_id].status)
# yes thread... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What does each sc-win32-status code indicate? In my IIS log I see many instances of sc-bytes=0.
The time-taken for these entries are generally higher than average.
I can see various values of sc-win32-status like 64, 22, 121, 1236 etc.
Most of them have sc-status 200. Few have sc-win32-status 400.
Now I want to anal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: SELECT Column1 FROM tablename in Django Okay I know this is really stupid.But how to i write SELECT Column1 FROM tablename
I know i can use Court.objects.all()[0] to get just one row.But how do I get one column only(the whole column values).Am I missing something?
Also in Court.objects.all()[0] isn't it first retrie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: :hover not fired for element when parent has CSS3 perspective In the following example I created on jsfiddle try to hover on gray boxes. You can see each "Box" inside the first container gets ":hover" but for the second one items located on "the right half of the container" don't get :hover!
(move your mouse over gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I create a pthread inside a pthread, which is already created by the main? Will I run into an error if I create a pthread_create inside a pthread, which is created by the main function. If, I can then what all things I should take care of???
Important....:I am doing a socket programming, where I have opened 5 th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Intermittent JDBC error two-task conversion routine I am intermittently getting the following jdbc error with my oracle db (in remote linux machine)
java.sql.SQLException: ORA-03120: two-task conversion routine: integer overflow
The query that mostly breaks(not the only one!) looks like this, note that I am using G... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Django form field label translations I have a baseform with over 20 fields. Then I have about 15 other forms inheriting from that form, passing in a parameter called fields which the baseform uses to delete all other fields. Best explain via example:
class BaseForm(forms.Form):
reportid = forms.HiddenInput()
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Grid rows custom formatting How can I apply custom fomratting to some ExtJS grid rows? To be more concrete, I need to change font color of some rows.
EDIT:
Model contains state field. I want to change for color of every row, where state = 1, for exemple.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7595968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OmniAuth: redirect to page which requires authentication instead of the one which user came from There are some pages in my app which require authentication with linked in. I use before filter to redirect user to /auth/linked_in if s/he is not already authenticated. I want that after authentication user should be re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple C pointer issue It's been a long (long...) time since I've done any C programming and I'm stuck on what should be a really simple issue. I have a simple function that's calling another function that is allocating some memory on the heap, populating it with a structure and returning a pointer back. Everything ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SharedObject for Arrays of Object. Can't get correct data when restart flash I have an array that stored some Object with its data, and I try to store it in my computer.
If I try to load for the data after I've save the data, I could get a correct data.
Exp: [Object Player]
But if I restart the flash, the data seems... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: calling a child page component from parent page component in wicket I have a problem which I tried to explained in the Image.I hope that will help all to understand what I need.
My Base Page is like this (menuNavPanel is the tree panel):
<div class="colContainer">
<div class="leftColumn" >
<div wicket:i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Node.js service chokes and dies once a day Everyday this week I've been beginning my workday with restarting our node service.
And everytime it has simply exited with the following message:
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ETIMEDOUT, Connection timed out
at Soc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: COLLADA: Inverse bind pose in the wrong space? I'm working on writing my own COLLADA importer. I've gotten pretty far, loading meshes and materials and such. But I've hit a snag on animation, specifically: joint rotations.
The formula I'm using for skinning my meshes is straight-forward:
weighted;
for (i = 0; i < jo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Dojo loading unnecessary files (shape.js & path.js) I am using customized Dojo library. When I load my client application, Dojo load the below two files after loading the "dojox/gfx/svg.js" file.
1. dojox/gfx/shape.js
2. dojox/gfx/path.js
Even though I have included these two files in to my Dojo Custom build, sti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I test the Facebook "Like" button on localhost? It is possible to test "Like" button on localhost?
A: Not really; facebook has to crawl your site to pull in the title, description, and thumbnail. It can't get to your site if it's on localhost.
A: Dave's answer is correct, however, I just discovered a worka... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: How to click an object with Panel.ZIndex low than another in wpf? In wpf, i have to click on an image with Panel.ZIndex="1", but this image is "under" another image with a Panel.ZIndex="2". The event MouseDown fail. How to do that?
Thanks in advance,
M.
<Grid >
<Image Name="Image_1"
Panel.ZIndex="1" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is it possible to customize size of listview item for simple_list_item1 Is it possible to change the list item's height and text size for the listview that used as simple_list_item1? Any help is really appreciated and thanks in advance...
A: You can't change the List Item's height and test size if you are using sim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Catching the abort in a WebMethod when calling XHR.abort() Summary: I would like to be able to catch the XHR.abort() in a WebMethod to stop executing server-side code as soon as possible.
I have a webmethod, similar as follows:
[WebMethod]
public static string GetHello()
{
System.Threading.Thread.Sleep(5000);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7595993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Slugify an Acronym List with XSLT Have a requirement to create slugs from XML content.
I was navigating to create Slugs from Titles and found the below ones listed.
*
*Creating Slugs from Titles?
*Java code/library for generating slugs (for use in pretty URLs)
*and similar others.
I was looking for perfect so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: To parse an xml having attributes <content type="xhtml">
<apxh:div>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
</apxh:div>
</content>
I am able to get the "xhtml" present ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Search Bar Controller - Crash When Searching for Results I am implementing a search bar controller to search a table view. The below method code which performs the search is crashing with the error "-[__NSArrayM rangeOfString:options:]: unrecognized selector sent to instance 0x65558e0'
The locationInfo array is an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Batik's animation and heavy cpu load we are using Apache Batik in a project for displaying SVG graphics in a Swing application. When we use the animation tag of SVG, it results in heavy cpu load.
I know there are methods to limit the fps or cpu utilization, but why is Batik taking so much cpu power?
Since release 1.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Clean way to cancel object creation I'm wondering how to stop/cancel the creation of an object, risen by new(). Maybe if some preconditions fail and the object isn't needed.
*
*Check before new?
*Check within constructor, returning null or something special, don't know how to handle ...
*Check after new was suc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Sms Application Android develop I need to develop an android application which when receive a message reply automatically
to the sender of the message(without pressing any button) with a predefined text like(thank you for contacting we will contact you soon).
Any links,suggestions most welcome.
If anybody explain in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to cut the picture into equal parts? I have images on my android app. How cut this picture into 9 or 12 equal parts and add these parts an array?
A: This will work:
ArrayList<Bitmap> bs= new ArrayList<Bitmap>();
Bitmap b= BitmapFactory.decodeResource(getResources(),R.drawable.photo1);
divideImages(b);
private ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Perl Tk: confusion with updating a text window I have a small Perl Tk app with a text window that I want to be updated in a non buffered way like I have with my log files but I can't get it to work due to my poor understanding of everything to do with Perl.
The app reads an xml index, parses it then loads each id fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Initialising Arrays and Objects: using brackets or 'new'? When initialising Arrays and Objects in JavaScript, is there any difference between these two statements:
var a = [];
var a = new Array();
or between these two statements:
var b = {};
var b = new Object();
If there is a difference, which is to be preferre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Access Ticker stream is there anyway I can access Ticker in my app? If so how can I do it? A quick example would be amazing.
Btw, my app is for iOS
A: There isn't currently an api endpoint for accessing the ticker. I'm guessing/hoping one will be released eventually
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7596031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Visual Studio 2010 creates folder in current working directory on launch Every time I launch Visual Studio 2010, it creates a directory called "Visual Studio 2010" in the current working directory at the time I launched it. It just started doing this at the same time that it forgot all of my toolbar settings and so ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: vector class throwing an error after publishing the FLA for generating .ipa from flash cs5 I am creating a flash game for iPhone using Flash CS5, Everything runs smoothly when creating swf via Ctrl+Enter. But when i am attaching .p12 and provisioning profile files and publish the FLA for generating .ipa there is an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy the contents of an ImageField to a new file path in Django I have a Django model object that has a few normal attributes, and it has a ImageField for the logo. I want to write a method that'll copy this object to a new object. It's easy enough to instanciate the new object, then loop over all the attributes and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to get value before last forward slash using Jquery I ha got these types of hrefs
http://localhost:8080/en/reservations/tours-and-safaris-booking-enquiry-form/dubai/index.aspx
http://localhost:8080/en/reservations/tours-and-safaris-booking-enquiry-form/muscat/index.aspx
Now I need to write a function which will... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Video within a JQuery Slider I am just starting development on a JQuery Slider that will start with a video, and when the video is done the slider will begin. I'd like for the site to be able to work on both IE9 and lower, and the iPhone, which I assume will require an HTML5 option and a Flash option. I would like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exposing and then using OnTextChange Event handler Related Question: Adding custom OnTextChange event handler on custom TextBox
In the related question I asked how I could expose OnTextChange in my custom textbox control and we resolved it by:
public event EventHandler TextChanged
{
add { customTextBox.TextChang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: generically parsing String to date I'm communication with a web service and it the json response has dates in it. the problem is those dates are in different formats. is there a generic way to parse these strings?
A: You should probably have an ordered list of formats to try (ideally using Joda Time as a far better... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: developing Android on Eclipse which eclipse version I should Download to start developing on Android ?
From This Site :http://www.eclipse.org/downloads/
Thanks
A: Eclipse Classic 3.7.1. Anyway, it's already said on Android Developer page anyway: http://developer.android.com/sdk/installing.html
The "Eclipse Classi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache POI extracting value as it looks in Excel I have Excel file and some contents, coming from external source(database, file, whatever).
I've encountered problems with numeric cells in Excel -getNumericValue returns double value for any cell, no matter how value is formatted in it.
External source returns string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WkHtmlToXSharp How to add Headers and Footers? I'm building an HTML to PDF converter with the WkHtmlToXSharp (QT webkit) library, and was wondering if someone knows how to add headers and footers to the document? I've seen a few questions about this library here, but couldn't find anything about the headers and foot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Pass a parameter to the ApplicationBarIconButton.Click *Hi everyone,
I'm new in WP7 dev. (i'm used to work on android) and there is a basic thing i don't know how to do.
I create programmatically a list of ApplicationBarIconButton with this:
for (int i=0; i<menus.Count(); i++)
{
ApplicationBarIconButton butt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why isn't this C program for calculating the area of a triangle working for all inputs? The following is the source code of a program which calculates the area of a triangle when the sides are given.
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int a,b,c;
float s,area;
clrscr();
printf("Enter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Select from one table where not in another I'm trying to find the rows that are in one table but not another, both tables are in different databases and also have different column names on the column that I'm using to match.
I've got a query, code below, and I think it probably works but it's way too slow:
SELECT `p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: How to check if iPhone supports CDMA or GSM Is there any way to identify if iPhone supports CDMA or GSM network. Any Apple API in Objective-C which can provide this information.
A: You might examine model id with the function (credits):
#include <sys/types.h>
#include <sys/sysctl.h>
NSString* machine () {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ruby Hash.has_key? returning false for the first key on Windows I'm having a weird issue with Ruby hashes on windows. I'm loading the following YAML file and parsing it as a hash:
tasks:
- clone_skeleton, <skeleton_path>
- summit_capify, <skeleton_path>
I'm using YAML.load() to load the file into a hash. If I p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ruby string representation i have in database a string like \303\255 which represents í .
How can i convert that 8 chars representation in í ?
I could replace them all, but isn't there any other way ?
A: It's not really 8 characters in the string, it's 2 bytes. I'm not sure where you want \303\255 to show up as í b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to upgrade a Facebook app on iOS to OAuth 2.0 and HTTPS I have just received an email from Facebook:
Reminder: Upgrade Your App to OAuth 2.0 and HTTPS by October 1st
Some of my app use Facebook API on iOS. Please help me because I don't know what I have to do. If I use the last SDK for iOS, what do I have to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to disable dojox.grid.DataGrid How can I disable dojox.grid.DataGrid. By disable I mean the whole widget should be disabled and not just some aspect of it (sorting,cell selection etc)
A: You may try with a dojox.widget.Standby as explained here: Loading indicator with dojo XHR requests .
I have never used it on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dynamically import a package from a directory I am making a server that listens on a socket. Whenever a new request comes in, the server spawns a new instance of handle_request. Each instance of handle_request.py imports the relevant handler from request_handlers.
server.py
handle_request.py
request_handlers
|_handl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: htaccess of virtual subdomain with subfolders currently i have achieved
www.username.domain.com to redirect to domain.com/folder1/folder2/index.php?id=username
with my current .htacceess
RewriteCond %{HTTP_HOST} !^www\.domain\.com$
RewriteCond %{HTTP_HOST} ^www\.(.*)\.domain\.com$
RewriteRule ^$ http://domain.com/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving images from web I am new to IOS development. I am developing an app in which i am viewing some images in my app that are stored on a server. The thing is that, i want an image from the server to store in my photo gallery. anyone know the procedure?
Thanks for every help;
A: You will have implement web servic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting list element's Attribute I have two list.
List1 contain objects and each object has node1 property.
List2 contain lists of node which are the properties of objects stored in list1.
I want to create separate list which contain list of objects whose node present in list2. I want to create this list without usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Insert? insert data from one to another Firstly please understand that SQL is not one of my strong areas at the moment and i am a little unsure why i cannot get the query to-do this, it seems possible.
we are running a mysql server v5.1
i have a filenotes table that i need to insert a single record into for a li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery persistent sortable objects in Drupal? I'm working on a project in drupal that allows me to have visual bookmark screenshots (think zootool.com). I have each screenshot in a grid that is using jQuery to be sortable. This all works correctly and I can sort all the images into whatever order I wish. The only pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mysql Query does not work as expected i'm having problems with a MySql query:
I have 2 tables as this:
Ips:
ID
timestamp
user_id
ip
dns
Blacklisted users:
timestamp
user_id
mod_id moderator
What I want to do is to get the number of user blacklisted with ips related to an specific user. My quer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery ajaxStart/ajaxStop not working i have very simple code that i making partial postback by jquery and i use ajaxStart/ajaxStop for doing some work. but it is not working. i just could not understand why it is not working.
here is my code
$("#imgHolder").ajaxStart(function () {
$('div#content').block({
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jpa result-set-mapping throw NPE I can't map query result to POJO.
JPA executes query ok (it trace in logs) but in mapping process throws a NPE.
What is wrong?
NPE:
java.lang.NullPointerException
at org.eclipse.persistence.queries.EntityResult.getValueFromRecord(EntityResult.java:147)
at org.eclipse.persistence.quer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7596134",
"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.