All Questions
0
votes
0answers
2 views
Animation Drawablwe on an Overalay surfaceview
I want to animate a sequence of image frame on an overlay SurfaceView in my application.
Here is what I have done:
<?XML version="1.0" encoding="utf-8"?>
<animation-list ...
0
votes
0answers
2 views
How To Translate Numbers Using PO File?
I'm trying to translate a WordPress theme to tibetan. Now, the issue is that Tibetan numbers are different than English numbers.
I can't put them straightaway as following:
msgid "1"
...
0
votes
0answers
2 views
In Node.js is there any way to print the \n \r on console?
Consider, the following code:
var myVar = 'This is my text.\nAnd other information.\rHow to console.log\n\r?';
console.log(myVar);
Output:
This is my text.
And other information.
How to ...
0
votes
0answers
6 views
jQuery and memory leak in IE
We have this Javascript function for repeatedly refreshing part of page:
function refreshScreen() {
var href = document.location.href;
var idx = href.indexOf('?');
...
0
votes
0answers
3 views
c++ winthreads relationship, block parrent
My question is made of a few parts.
If there is some relationship between threads. As I know, if thread A creates thread B and after some time thread A is terminated B still doing its job. I know ...
0
votes
0answers
2 views
Grouping is not working in when using footer AdvancedDataGrid?
I have a AdvancedDataGrid with price as one column .i want to display the price total at the bottom of Grid. It worked fine without grouping but when i use grouping it is not working I could not ...
0
votes
0answers
7 views
SharedPreferences for Initial User Setup
My application requires initial user setup, for the first time the app is opened by the user. He should be able to do some initial setup that will determine how the application is run. For this, I am ...
0
votes
0answers
4 views
Send an http response to another site
Noob
How should I send a single string variable to another site from my rails app? ie the outside service sends a get request to my controller/route and then the controller must respond with the ...
0
votes
0answers
3 views
LAMP stack in native OS X App
I'd like to build a Mac App that essentially runs my web app. A sort of PhoneGap for Mac OS X that includes the basic LAMP stack. Is there a tool out there that will allow me to do something like ...
0
votes
0answers
11 views
Converting double to float in C# giving wrong values
Question is real simple. I have a double which I want to convert to float.
double doubleValue = 0.00000000000000011102230246251565;
float floatValue = (float)doubleValue;
Now when I do this. Float ...
0
votes
0answers
5 views
How to handle the XML files in Perl?
I'm having the XML file and i need to get the child node data values using the Perl script
my code is as below
my $booklist = XMLin("d:/user/kavitha/perl/output1.xml");
foreach my $book ...
0
votes
0answers
6 views
What are the important factors for seo onsite optimisation?
i have been trying to learn SEO and would like to know what are the most important factors to be considered for onsite seo.
0
votes
0answers
2 views
Check if the selection is the last row with jqGrid
Is there a way to determine with jqGrid if the selected row is the last row in the grid view? I am writing a program that will allow a user to reorder the rows. One thing my algorithm has to check for ...
0
votes
0answers
22 views
How can i have multiple values to object?
Hi i am trying this piece of code that is used to insert into hashmap...i have assigned the multiple values to the Object[], but when i run the program i am getting these errors...
How can i solve ...
0
votes
0answers
14 views
C++ :- Use of new keyword
I am writing a program to sort a vector of office employees by using insertion-sort. I am facing a doubt while inserting the records of the employees. The doubts are:-
In comment#1, why am I using a ...
0
votes
0answers
9 views
Next step of kernel coding
I was following the barebones tutorial in OSdev Wiki, I completed that tutorial and the sub task they added in Moving forward.
What is the next step I can do in this project.? Any directions where i ...
0
votes
0answers
2 views
Visual Studio 2010 - Favour Size or Speed for optimization
I came across the option C/C++ -> General -> Favour Size or Speed.
I wanted to know if I choose the Speed option instead of size. Will their be any drawbacks to see other than the size. The default ...
-2
votes
0answers
10 views
The requested URL /xyz.php was not found on this serve in php
The requested URL /xyz.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
i created a new folder, and ...
0
votes
0answers
4 views
csv file couldnot download onclick
from this option of my drop down menu im trying to call javascript function gen(); my html table is 'horse_trainings' which is converted to cvs format; but it didnot download where as when i checked ...
0
votes
0answers
8 views
passing cridentials when accessing remoste server using C#
Im trying to access a remote server to read an XML file, but I must log in the server first using username/password.
I wrote this C# code to this, but still getting exception(invalid username or ...
0
votes
0answers
6 views
how to use ajax response back in your view page?
I have this as my view page
<html>
<head>
<script>
function submit_form()
{
$('#my_form').submit();
}
...
-1
votes
0answers
5 views
<JSP> Trouble in displaying monthly data in JSP
What i'm trying to display is data by month I select in JSP page.
Following is the relevant part:
<script>
$(document).ready(function() {
/* Calendar to select the date */
...
0
votes
0answers
3 views
Live api feed + manual feed integration across PHP directory driven website
Just looking for some clarification here.
I want to integrate a manual data file into a site to compliment a live api driven data feed for the purpose of enhanced data + increased filtering across ...
0
votes
0answers
5 views
python logging with multiple modules does not work
I created some Python files keeping my functions a bit seperated to ease working / fixing. All files are in one directory. The structure may get broken down to something like:
a.py (a class A with ...
0
votes
0answers
3 views
Can We Make ajax Modal popup responsive in asp.net? If Yes Can we Please Tell Me How?
I want Make Modal popup in asp.net website responsive..which contains a grid-view in it
0
votes
0answers
2 views
Youtube API Extend Token validity
I am using YouTube API v2.0 - OAuth 2.0 Authorization for uploading videos on youtube. i have developed one Windows service that upload the videos of multiple users. i have facing problem that YouTube ...
0
votes
0answers
6 views
Is Linq to Objects chaining where clause VS && performance hit is that insignificant?
following this question:
Should I use two “where” clauses or “&&” in my LINQ query?
Can or should I join two Where clauses together in a LINQ Query?
linq styling, chaining where clause vs and ...
0
votes
0answers
3 views
Windows 8 fresh install
I have recently got the Samsung series 7 ultra laptop and found a lot of bulkware with the pre-installed windows 8 so I did a fresh install of Windows 8. It went through successfully but I noticed my ...
0
votes
0answers
2 views
Cross compiling:/bin/bash: arm-eabi-gcc: command not found
Cross compiling
make CROSS_COMPILE=arm-eabi- distclean
Showing following (Cross compile not success)
" dirname: missing operand
Try `dirname --help' for more information.
/bin/bash: ...
0
votes
0answers
4 views
Best data structure for organizational chart
I want to use this script in my php application to build an organizational chart. I need to pass an array of chart's items from php to javascript file and parse that array to build the chart in ...
0
votes
0answers
9 views
javascript date format using dateFormat String
Hi I am working on javascript dates, i have one date which is in the form of '20 Jun 13', i
need to convert it into Date Object, I used Date.parse() which returns 1 June 2013.please
help me how ...
0
votes
0answers
7 views
Jquery Selecting different elements of the same class div
I have got these 3 divs:
http://puu.sh/3pmdt.png
which on click the view button changes the content:
http://puu.sh/3pmem.png
So, yeah, I am using the classes for selecting, so when I click any of ...
0
votes
0answers
2 views
can't update concrete5 add ons with this error: Unable to locate this add-on on concrete5.org"
I can't update all the add ons that I have installed, everytime I click that "update plugins" button, I got this error message: "Unable to locate this add-on on concrete5.org" on every plugins that i ...
0
votes
0answers
2 views
CherryPy static content from different paths
I have read some Q&A like load-static-content-with-cherrypy
However, I am unable to figure out how to do it to be shared by different paths.
I have the following Class:
class Root(Base):
...
0
votes
0answers
3 views
How can I open a high chart in a modal window when the chart is clicked on?
New to high charts and javascript and want to know how to open up a new modal window of that chart when per a click event?
0
votes
0answers
9 views
activity's life cycle is beyond its application process?
I got a main-activity, then it opened a new-activity. After putting it to background by clicking home button. If I killed the process using adb shell commands, then I reopen my app. The new-activity ...
1
vote
0answers
8 views
ListView Touch is disabled with button
**I am using custom listview when i placing the button in custome view it is disabling the item touch or itemlongpress listener ...
How to use button click and listview touch simultaneously
0
votes
0answers
4 views
Unable to read a PDF file using PDFBOX
I am trying to fill a PDF form, but when I tried to get the fields using the below code the list is empty.
PDDocument pdDoc = PDDocument.load(filename);
PDAcroForm pdform = ...
0
votes
0answers
3 views
Connecting to cassandra column families using thrift api java
I have a cassandra single node running with few keyspaces and few column families under it. I want to connect with them using JAVA - THRIFT API. I am successful upto describing ...
0
votes
0answers
3 views
no messages from node when mongodb is down and trying connect node webserver
I use node.js and mongodb as my session store. During testing, I brought the mongodb server down and then try to connect to my webserver thru browser.
At this point, the browser keeps "waiting to ...
0
votes
0answers
2 views
ksoap2 - request parameters is set null
I have a problem setting the params when I call my webservice function from Android, however in web it works fine.
private static String URL="http://1.2.3.4:8080/Servidor/servicioTraducir?wsdl";
...
0
votes
0answers
9 views
Invalid vector iterators
std::vector iterators can be implemented as pointers. A corollary is that if you add elements to the vector, outstanding iterators will obviously become invalid because in general the vector data will ...
0
votes
0answers
5 views
XDoclet for hibernate.one-to-one
I have two class A and B. They are same ID in database. A store B. Because I want B store some information of A and just be loaded if I need.
class A {
Long id;
String shortInfo;
B largeInfo;
/**
...
0
votes
0answers
4 views
Cassandra read latency high even with row caching, why?
I am testing cassandra performance with a simple model.
CREATE TABLE "NoCache" (
key ascii,
column1 ascii,
value ascii,
PRIMARY KEY (key, column1)
) WITH COMPACT STORAGE AND
...
0
votes
0answers
4 views
Rails fixtures don't seem to store values in Globalize3 translation tables
I have a Rails 3.2.7 project using Globalize3 0.3.0
It seems that if you make a fixture for a model with an attribute that is translated with Globalize3, the fixture will populate the model's table ...
1
vote
0answers
9 views
AppSettings from custom files
I am struggling with the configuration and setting classes in .NET 2.0
If the following is contaned in a file called app.config
<config>
<appSettings>
<add key="Foo" value="Hello ...
0
votes
0answers
11 views
why this program can't the right exception output?
the program below only output "0In finally", not output "0 In trans_func Caught a __try exception with SE_Exception In finally" as I expected
//
#include "stdafx.h"
// ...
0
votes
0answers
3 views
Redirect stdout to logcat
I'm running a shell script in a rooted Android device, and I'm trying to debug it by tracing the stdout output generated by the shell script(either by the commands or by echo). Is it possible to do ...
0
votes
0answers
2 views
Generate instance with different string parameters in verilog
When I was config pll_reconfig module in Quartus II, the generate for statement in design have to specify different string parameter (filenames) to different instances.
I have tried these code:
...
0
votes
0answers
3 views
Taking snapshot from rtsp live streaming
I am integrating the rtsp live streaming to my application for capturing pictures.I have used with vlc player for streaming its working, I want to take snapshot from rtsp live streaming using ...