All Questions
0
votes
0answers
2 views
Informix variable not declared error even when the variable is declared
I have the following procedure. It compiles fine. But when I execute it, I get 'Variable(lsomething) not defined'. You can see that I have defined lsomething variable. What is the problem with this ...
0
votes
0answers
3 views
Storing or using a reference to create a variable in perl
I am trying to store a reference in a variable to use it in a different context. Like this.
#!/usr/bin/perl
use strict;
use warnings;
use DateTime;
my $dt=DateTime->now(time_zone=>"local");
...
0
votes
0answers
3 views
Forming insert into query using rimapala in R
I am trying to execute insert into query on impala table using rimpala.query() function through R but I am getting an error. The query that I am executing is:
for(x in nrow)
{
sql <- ...
0
votes
0answers
2 views
Mac OSX: Basic example of how to use createMappingInTask()
Right now I am looking for a way to share a memory buffer from a user space application to a kernel driver.
Reading the book "OS X and iOS Kernel Programming" I found and interesting approach of how ...
0
votes
0answers
3 views
Embedding posts/pages in singe page website's template?
I'm currently trying to add the functionality to embed the body of posts/pages directly into my singe page website's index.php.
Right now I'm using this code in each "section" of my website where I ...
0
votes
0answers
4 views
Reducing Time Picket padding
I am using a TimePicker, which I have scaled down.
But there is a border of spacing around it.
Can someone tell me how to reduce the spacing.
I am trying to use -ve numbers in margin, but i am sure ...
0
votes
0answers
3 views
SQL trying to rename an item
Hello I am a beginner in sql. In my Visual Studio application I am using 2 different SQL Functions. Both functions have first name fields so my application can't tell the two apart. I also cannot ...
0
votes
0answers
3 views
datatables gives error if not defined columns
im following this guide,
http://www.ahmed-samy.com/php-codeigniter-full-featrued-jquery-datatables-part-1/
there script is
<script type="text/javascript">
$(document).ready(function () {
...
0
votes
0answers
4 views
Conversion from aware datetime to timestamp and back is gaining one hour?
I always get confused with datetimes and timezone conversion in Python, but now I'm experiencing a rather odd behavior. I suspect (strongly) that this is related to Daylight Saving Times, but I don't ...
0
votes
0answers
2 views
Exception “TransactionRequiredException”: No externally managed transaction is currently active for this thread - in my case
Inside my ControllerServlet class, for a doPost method, I have an action to remove a record from a table:
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response) ...
0
votes
0answers
5 views
Use local WIFI network Database from Android app
I want to read a .sqlite database that i have in my Windows Pc from my app and use it there. How can i do this?
Both devices are connected to the same network by WiFi.
My app is now taking the DB from ...
0
votes
0answers
2 views
HTML5 video autoplay function not working
my HTML5 video autoplay is not working.
<video preload="auto" autoplay="true" loop="loop" muted="muted" volume="0" id="myVideo">
I also tried without the ="true" value, and it doesn't work ...
0
votes
0answers
2 views
Passing config file to MSI as argument and need to use it by Custom action with Silent Installation
I have created Basic MSI Project for creating installer for my project in Install Shield 2014 and it is working fine. I have also created a custom action to execute my exe file while installing the ...
0
votes
0answers
3 views
PHP/Laravel & SendGrid Mailer - HTML Entities with mixed encoded & non-encoded entities - How to encode entities which are not tags
We are currently having an issue which relies on our inexperienced email coding team always inserting the correct HTML Entity for special characters and also an issue with Laravel 4.2 not being there ...
0
votes
0answers
6 views
Android App Custom ListView: Add new item in the most efficient way
I am using a custom ListView, in which I need to add a new item. Since there will be a lot of items needed to be added, I want to code it in the most efficient way so the smartphone is not loosing a ...
0
votes
0answers
2 views
Broke default easy_install on mac Python … how do i fix it?
I kind of deleted easy_install and I'm not sure how to re-install it:
-bash: /usr/bin/easy_install: No such file or directory
I'd like my default 2.7.5 mac python to work again. Thanks guys!
0
votes
0answers
3 views
Eclipse formatter should use CheckStyle
If I use a project related CheckStyle configuration in an XML file which uses:
<module name="LeftCurly">
<property name="option" value="nl"/>
</module>
I want the project ...
0
votes
0answers
11 views
If URL contians hash on inital page load
I need to run some functions on initial page load and also if the page is refreshed, if the url contains a particular hash.
As of now, I am able to get it working only on page refresh and not ...
0
votes
0answers
2 views
Word VBA Runtime Error 91 (Object Not Specified)
I am writing a macro for MS Word and there is this line that gives me a Runtime Error 91 (German error message: "Objektvariable oder With-Blockvariable nicht festgelegt" Object variable or With block ...
0
votes
0answers
3 views
Designing custom workflows
Need to design enterprise grade portal with security, roles based multi tenant system with custom workflows to review the uploaded content, verification workflows.
I'm exploring Adobe LiveCycle, ...
0
votes
0answers
3 views
is it possible to add any merchant account in google wallet android api?
I'm working on Android google wallet api, so here i want to know is this kind of flow/process is possible or not?
Also 1 more thing that i want to know is : where to set merchant account id in my ...
0
votes
0answers
7 views
Android Save video and continue recording
I am attempting to split a recording into 10 min movie clips while not interrupting the video recording. The application does not use any other activities to record, following the google tutorial for ...
0
votes
0answers
3 views
VBA Excel - Compile Error - Invalid Use of property
I'm brand new, my first script EVER. So thanks in advance for any help you can offer.
In a few days, I'm going to receive a set of surveys from 200+ affiliates of my company. The survey data is ...
0
votes
0answers
6 views
Deploying Ruby/JRuby on Rails to Tomcat without Installing Ruby/JRuby
I'm an enterprise Java developer looking into experimenting with Ruby/JRuby on Rails. I've gone so far as to go through the RoR tutorial on the website, but that's about where my experience ends.
It ...
1
vote
0answers
9 views
What is the difference between InputSource and InputStream ?
What is the difference between using InputSource and InputStream when I am parsing xml.
I saw both examples in some tutorials
without InputSource:
InputStream is;
...
0
votes
0answers
3 views
RadTimePicker display time from a Store Procedure value VB:net
On a VB.net website i run a SP that returns a datetime value and i need to pass this value in to a RadTimePicker for display, the format that i get back id the next:
'#5/1/2014 7:05:00 AM.# {Date}
...
0
votes
0answers
2 views
Component.defaults undefined on creating ractive js component
I'm trying to create a new ractive component in my project, just as a simple test case. However, when the section containing the component is rendered, I get an error in ractive.js saying that ...
0
votes
0answers
3 views
Logstash & logstash_forwarder, force reparse lo
We are using logstash with logstash_forwarder to centralize our logs.
We modified some filter rules in logstash and we would like to apply these modifications to the logs already sent by ...
0
votes
0answers
4 views
Error reading mail with ZF2
When I read with ZF2
$storage = new Zend\Mail\Storage\Pop3 ($config);
$temp = $storage->getMessage($_GET['Id']);
$mail=$temp->getContent();
gives me the following error:
--last ...
0
votes
1answer
17 views
how can I verify if the entered invoice number already exist is my sql table?
I have a function named InvoiceNumber_OnChange() where I am trying to implement some code that allow me to verify if the entered invoice number already exist is my sql table. Here is what I have so ...
0
votes
0answers
4 views
Display posts with most popular meta_value - Wordpress
i'm little confused. In my case I need to display custom post type based on most popular meta_value.
I have datepicker custom field and front-end form. User can vote for best event date.
But they ...
0
votes
0answers
9 views
iFrame PDF Scrolling Based on Content Height
<div id="iframeTestID"> //abritrarily set to 100% w/h
<iframe src="somePDFLink"></iframe> //I want the PDF loaded to scroll if it is longer than 100% of the screen
</div>
...
0
votes
1answer
8 views
dreamweaver template master.css is not on the local disk
I'm designing on dreamweaver. I have an html file and a css from which I have made a template. However, it seems that the css file has not been included in the template since ".dwt" file does not show ...
0
votes
0answers
4 views
Android: tips for master/detail flow (dual-pane) with just 1 activity
As reported by the Android guide, dual-pane can be achieved in two ways:
Multiple fragments, one activity
Multiple fragments, multiple activities
I am using the first case (the Android guide only ...
0
votes
0answers
5 views
Adding an <a> tag before the primary data element in the enter() section of a selection
Using d3.js, I'm working with a selection that use enter(), exit() and the default update selection.
The elements of my selection are sag:path elements. When I create them, I want to create them ...
0
votes
0answers
4 views
Using a bean in a selector of a JMS Listener
I'm currently hitting an issue when creating a jms listener container in spring 3.0. I need to use a bean to set a value within the selector, but it's not pulling the information from the bean. I ...
0
votes
0answers
2 views
Node.js Express Heroku, packages.json location
I've created my first little project in Node.js Express and deployed it on Heroku.
I created the project in a "myproject" folder, and the app in "myproject/myapp".
The Procfile is in the "myproject" ...
0
votes
1answer
26 views
Why automatic variable will contain garbage if it is not set?
In 'The C programming language' third edition and on p.32 I saw those lines which make me confused:
Because automatic variables come and go with function invocation, they
do not retain their ...
0
votes
0answers
2 views
How does clCreateBuffer use CL_MEM_*_HOST_PTR for kernel's output?
I tried an implicit way to read OpenCL kernel's results from device to host:
input_buffer = clCreateBuffer(context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, sizeof(int) * n, input_data, &_err);
...
0
votes
0answers
3 views
Cakephp bindModel save() in all tables
Trying to save data from form to associated tables and to individual tables with bindModel().
This is how im trying to do it:
$this->Dateintervall->create();
...
0
votes
0answers
19 views
How to layout text and Image correctly
I am trying to structure some text and images so that it will render correctly on a mobile device.
When viewing on a normal desktop browser it looks as it should - the top left corner has the name in ...
0
votes
0answers
4 views
Not sure what happens to my apps objects when using NSURLSession in background - what state is my app in?
More of a general question - I don't understand the workings of NSURLSession when using it in "background session mode". I will supply some simple contrived example code.
I have a database which ...
0
votes
0answers
3 views
JavaFX setting window Always on top with JNA lib, windows os
I have to put my application transparent window over the top of every application//not just within application < Im aware that i can set modality on stage and put it on top bud thats not what i ...
0
votes
0answers
11 views
How to refactor this code in Haskell
I made this simple code, that draw letters on the terminal.
How to refactor this code using mainly Prelude functions ?
Others libs can be used too, of course.
(It looks like your post is mostly code)
...
0
votes
0answers
2 views
parse out node and attribute XML::LibXML
I am trying to search for a value (xxxx01) of an attribute and return the node (0x100540) . Here is my xml:
<model-response-list error="EndOfResults" throttle="86" total-models="86" ...
0
votes
0answers
9 views
jQuery ajax json — viewing incorrect data returned
I am using the jQuery $.ajax({dataType: 'json'}) extensively in a client/server environment and it works great...when it works great. The problem is that when the server malfunctions, it does not ...
-2
votes
0answers
4 views
MATLAB coding for autonomous robot
I am currently pursuing my masters in automotive engineering and I have this project to make the joystick kuka omnimove robot to function autonomously with specified x and y direction using MATLAB, As ...
0
votes
0answers
4 views
WinDBG w3wp.exe x Crash dump WRONG_SYMBOLS
I am running an Asp MVC application using in IIS 6 on a windows 2003 32 bit server.
I recently updated the application from .net 3.5 to .net 4.0 and started getting application pool restarts.
The ...
0
votes
0answers
4 views
Thinking Sphinx sometimes search daemon is shutting down and can't start with ts:start
After a short period of usage thinking sphinx on the staging server I have found strange behavior. Every 2-3 days search on the website becomes unavailable because search daemon is down. When I try to ...
0
votes
0answers
2 views
Google Map disable new vertex button on editable polygon
I have a map and I am using the Drawing Library to draw on top of it.
Basically, after I create my shape, it is editable, but you can see in the image, I have circled the points that allow you to ...