All Questions
0
votes
0answers
2 views
xpages SSJS: cannot get rid of “com.ibm.xsp.acl.RedirectSignal” warnings in log
I am building a multilingual application and I am storing the value of the latest language used in a cookie.
When the user opens up the application, the sessionScope variable is not set and the code ...
0
votes
0answers
2 views
install4j: Verifying glibc on Linux platforms
I am trying to verify the version of glibc running on the client machine before installation begins.
So far, I have created an action Run executable or batch file just after Request Privileges. It is ...
0
votes
0answers
2 views
How to get two vagrant boxes to talk to each other?
Let's say I make two vagrant boxes, foo and bar:
$ for d in "foo\nbar"; do
for> mkdir -p $d
for> pushd $d
for> vagrant init hashicorp/precise32
for> vagrant up
for> popd
for> done
...
0
votes
0answers
2 views
Dropbox Image gallery
I am trying to make a image gallery in wordpress from Dropbox. In wordpres I installed the plugin "Cloud Folder Share" that read information from Dropbox specific folder. Problem is that it make a ...
0
votes
0answers
8 views
How can I reduce processing effectively using foreach inside another?
According to the following code, I have to set the value of objects from one list by getting the values from other objects. For the reason of reducing process, I'm deleting each object from the second ...
0
votes
0answers
2 views
Azure Web Test - Could not create SSL/TLS secure channel when using CloudFlare SSL
I have an Azure Website and have a continuous web test setup. The web test runs successfully for an entire hour, but then fails at the same time each hour (minute 3 to be exact) with the following ...
0
votes
0answers
5 views
Python XML: Reading in from multiple elements
I have an odd one. So I am writing a script that builds an object I created from a series of XML files. I was able to get basic information in but when I try to read in a type of data from the file it ...
0
votes
0answers
3 views
Save image field in view
I'm working in a django app and i'm creating an android apps info database. I want to save the app code, category and icon. I'm using the android-market-api-py tool for get this info and works ...
0
votes
0answers
2 views
immutant failing to add a cache to a web cache container
I have a heimdallr application that is deployed via wildfly. In this application I am using the cache functionality that is provided by the namespace immutant.caching.
The first time I deploy the ...
0
votes
0answers
3 views
Data Rate Limits for each API call for Cool , heat and Auto(Heat/Cool)
I am facing issue to change temperature with in minute, if we change temperature more than two time in minute, then data is not changing in Thermostat and showing Over limit of API calls. But if we ...
-1
votes
0answers
8 views
php image gallery loop randomly leaving out images
I have a gallery script that checks a directory and should dump all images from the directory to a table. However - it seems to randomly not display at least one image from the directory in the ...
1
vote
0answers
8 views
Backbone: How to render template to DOM?
I am new to Backbone and having difficulties with rendering a template.
The template itself is as unspectacular as this:
<script id="messageTemplate" type="text/template">
Message: <%= ...
0
votes
0answers
2 views
Struts 1 on weblogic 12
i'm have planning migrate a application. this uses Struts 1, and run on a server weblogic 10.
if migrate app to weblogic 12, it's possible it works fine?
Changing to Struts 2 will be best option?
...
0
votes
0answers
3 views
Use google maps objects in background thread IOS
I have to parse a very large geoJSON file into an array of objects which contain GMS objects to display on a map. I don't need to display them right away, so I was trying to use Grand Dispatch to ...
0
votes
0answers
6 views
Swift, Xcode - Increasing the size of a UISwitch
I am making my app 'universal' (used on iPhone and iPad) and I have found ways of increasing the size of everything except for UISwitches. Is there a way of doing so?
Any help is greatly appreciated.
...
0
votes
0answers
5 views
Arduino sprintf in println with F()
Helloo i am having problems with my C code , i am trying to println(F(VARIABLE)) but i am getting an error
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
...
0
votes
0answers
5 views
Remove duplicates excel - how to deal with blank cells
I am working in excel and I want to delete cells based on an ID number (which is one of the variables). However, when I use the 'remove duplicates' function, it will also delete in the case of blank ...
0
votes
0answers
4 views
How to get mounting url from router in Express.js
All:
I wonder if I define router, how to get which base url it is mount?
For example:
My question here is: for the full path is /user/welcome, how to get the base url: /user in user router
// ...
0
votes
0answers
3 views
Elasticsearch nested filter without results for specific attributed
I'm trying to apply a nested filter on a document but, for when I filter specifically by one of the nested attributes, I always get 0 results. For example, with a mapping like:
"PARTNER": {
...
0
votes
0answers
5 views
Classification in real time without prior knowledge of the number of classes
Is there an implemented algorithm (with python/R or java in preference) that can classify incoming data from an unknown generator with absolutely no prior knowledge or assumption?
0
votes
0answers
10 views
Error when segueing to view controller with Table View from Textfield in Swift
Okay let me explain the issue I had. In main.storyboard, I created a new tableView controller and added a navigation bar to the top. I created the segue to the new tableView controller, and everything ...
1
vote
0answers
3 views
Accessing filtered/clipped data from a dc.js chart
I'm new to dc.js.
I have some data:
var data =
[
{date: Date.UTC(2015, 4, 4), frame: "frame1" },
{date: Date.UTC(2015, 2, 1), frame: "frame2" },
{date: Date.UTC(2015, 2, 11), ...
0
votes
0answers
3 views
QtDesigner for Raspberry Pi
I am building a UI with QT Designer. I need this UI to run on a Raspberry Pi. What do I need to do to make the UI for the Pi? Does it have to be written in a specific language like python or can I ...
0
votes
0answers
3 views
Integrate Drive File Properties into Details Pane
Has anyone successfully accessed the Details Pane in Google Drive programmatically? I would like to incorporate the custom file properties in this area, or perhaps add a sidebar that will do the same ...
0
votes
0answers
6 views
How to use multiple isotope filter
How can I use multiple isotope filters?
my first filter: checkbox is checked=> hide all users with .no-avatar class!
$("#foto_filter").on("change",function(){
...
0
votes
0answers
4 views
How can I avoid a stack overflow when Fortran RESHAPE produces a large, internal, temporary array?
I have some Fortran code that calls RESHAPE to reorder a matrix such that the dimension that I am now about to loop over becomes the first varying dimension (Column-major order in Fortran).
This has ...
0
votes
0answers
3 views
A wordpress plugin calendar to be submitted with a form
I need a wordpress calendar widget plugin that I can include with a form that gets submitted via POST. The user clicks a date in the calendar widget and when form gets submitted the selected calendar ...
0
votes
0answers
4 views
Use of Facebook “user_photos” permission
We are currently working on a project which aims to minimize fraud in our e-commerce platform. In particular we seek to avoid fraud of users with multiple accounts (same human behind those accounts).
...
0
votes
0answers
14 views
Trouble linking css and js files in html head
I have been studying Web Development for the past couple months and have consistently had trouble with linking to both local and global files in html. I'm wondering if there is something I'm missing, ...
0
votes
1answer
7 views
SSH with Command and File in Java
I'd like to run SSH within Java but I haven't figured out how to run an SSH statement that includes a command and file. The command for example in a standard terminal:
ssh user@host 'upload' < ...
-1
votes
0answers
9 views
pulling commands from the system prompt in c directly to a buffer
I'm familiar with a few responses around here already where you take the command, and pipe it to a file with popen, or even navigating to the system file and using fopen to open a command.
Right now ...
2
votes
0answers
9 views
Matching and Counting Strings of Characters in R
I have an array of strings of characters made up of all the possible combinations of the 4 letters J, K, Q, Z. The entries in the array are made up of at least two letters and at most 4. For example: ...
1
vote
0answers
6 views
How to read PostgreSQL database dump with multiple tables into mySQL
I am fairly new to mySQL. Today, I practiced reading in .sql file using a tutorial (http://www.elated.com/articles/mysql-for-absolute-beginners/). The .sql file was called books.sql, and just ...
0
votes
2answers
11 views
Return rows where no match is found in another table
Couldn't find a question that had this exact problem.
I have 2 tables, I want to return the rows from one table where the row doesn't exist in the second table.
I will make an example to show.
The ...
0
votes
0answers
5 views
How to target a specific div by knockout js
here i am pasting a code which slide toggle a child div but if parent div contains many child div and each child div has unique id then how could slide toggle a specific div by id using knockout js.
...
0
votes
0answers
4 views
How can I protect my static website stack from DDoS attacks?
As a thought experiment, I am seeking to design an affordable static website stack that does not have single points of failure, is distributed, durable, secure, and very fast. My basic blueprint is as ...
0
votes
0answers
1 view
Use Google API to embed private google calendar
I've authenticated an account for a webapp and am able to add/manage events for my google calendar, but I cannot figure out how to view the user's private calendar without that calendar being set to ...
0
votes
0answers
2 views
Detach JPA entity, detaches associated entities?
Hy,
I have a JPA entity which I get from database and this entity has a few associations which are retrieved too from database; these associated entities are eager retrieved. My questions is:
If I ...
0
votes
0answers
7 views
Sql query: How change of table will leads to different result?
The database is:
Highschooler ( ID, name, grade ) English: There is a high school student with unique ID and a given first name in a certain grade.
Friend ( ID1, ID2 ) English: The student with ID1 ...
0
votes
0answers
7 views
scala pattern matching dilemma
i have the following program which contains a recursive fucntion with pattern matching.
This code works
def randomSelect(num:Int, lst:List[Symbol]):List[Symbol] = (num, lst) match{
/** ...
0
votes
0answers
3 views
How do I match an attribute that contains a string in XSL?
In this post, the user is looking to match nodes that have a certain substring in one of their attributes
I would like to match attributes that contains a certain substring (not the node), but have ...
1
vote
0answers
3 views
how to match chart data points with chart data points in a array
I am trying to remove data points from a chart series. the series is a array of arrays. I need to loop through it with javascript or linq.js, find the correct one and remove it from the series. I have ...
0
votes
0answers
2 views
Is it possible to publish to FTP after TFS Build Server succeded?
So my problem is that i can successfully make TFS Build server to build my solution, but when TFS are trying to push the built code to FTP i get this error :
C:\Program Files ...
0
votes
0answers
5 views
Xcode 6.3.2 convert to latest Swift syntax hangs
I upgraded to Xcode 6.3.2 and tried to run "Convert to latest Swift syntax" on my project, but it hangs.
The "Generating preview..." window appears and spins and spins, but never completes.
I tried ...
0
votes
1answer
13 views
How to ignore a folder that is being tracked by git?
I have a folder, ex: folder1, that is being tracked by git for a long time. If I inset a new file, ex: file1 inside it, git status show a change, as should be.
But now I do not want that folder1 to ...
0
votes
0answers
2 views
Linking with GHC
I am following this short tutorial
and trying to compile Webots application (written in C) using GHC (Glasgow Haskell Compiler, Version 7.10.1) with following command:
ghc --make -no-hs-main -optc-O ...
0
votes
0answers
4 views
Aggregation Framework Sort by Date issues with blanks
I am using the Aggregation Framework in MongoDB to sort a result set by a date field. The sort is working perfectly with the exception of the records with blank dates in the sort field. How can I move ...
0
votes
0answers
3 views
tinyxml2 XMLHandle not behaving as expected
I expect the following code to loop through each point in my xml file and load the data into a vector.
After the first iteration the node in the handle is the same as in the first so I stay in an ...
0
votes
0answers
4 views
Upload picture NO plugin NO activerecord
i want to create a function into my controller to save a picture uploaded by an admin. I don't want to use plugin or Activerecord, just a function to write the bytes of the picture into the directory ...
0
votes
0answers
3 views
Prestashop custom field in Product Feature not saving on Edit
I have created a custom field for Product Feature in my module override. Custom field for Feature is not saving in the database on edit. But on Add new feature it works fine. Here is the code for my ...