-1
votes
0answers
2 views

Why does my function return “undefined” on DWV web viewer?

i will create a custom button in DWV Web viewer, like reset zoom/pan but when click on, my function returned "undefined".`<button title="Rotate Right" id="ZoomReset"><span class="ui-icon ...
0
votes
0answers
2 views

how to use java server to server keep-alive with chunked?

I hava two server: s1 and s2. How to send chunkeds data from s1 to s2 with keep-alive? how to decode data when s2 get chunked data from s1 ? I studied for a long time, but did not have any ideas ...
0
votes
0answers
2 views

Mysql Like Operator to inner join query

I want to filter results of two joined tables using like operator in where case this is my query SELECT * FROM tbl_user INNER JOIN tbl_member ON tbl_user.user_sn = tbl_member.member_user_sn WHERE ...
0
votes
0answers
6 views

How do constant references work?

Recently I have been learning about good programming practice in C++ and found out that many programs pass objects to functions by reference so that multiple instances are not created. I have also ...
0
votes
0answers
2 views

Why gradient doesn't cover the whole width of the view

I'm trying to apply a gradient to a view which is constraint to the top, left and right of the main screen but for some reason the gradient doesn't cover the whole width of the view that is applied to ...
0
votes
0answers
2 views

winDBG command to list objects in GC generation wise

Is there any command in winDBG(with SOS extension loaded) to list the objects by Garbage collection generation in a .NET process dump. Basically want to see the list of objects in Generation 1. The ...
0
votes
0answers
2 views

How to use Hibernate JPA 2 Metamodel Generator?

    When I learned Hibernate JPA 2 Metamodel Generator according to http://docs.jboss.org/hibernate/stable/jpamodelgen/reference/en-US/html_single/, it is working all right. &...
0
votes
0answers
2 views

Please help me on AngularJS 3 level cascading dropdown select list population in sample CRUD application

I am a beginner in AngularJS using MVC4. I have created a sample application where CRUD operation, search everything is working fine. Only cascading 3 dropdown(select) is not working. Please help me ...
0
votes
0answers
3 views

Arduino function changes argument for no reason

I wrote a class for Aduino, for reading an ads124x, and I am having one major problem, I can't call a function defined by the class. Here is how it is structured: .ino calls functions using . ...
0
votes
0answers
5 views

advice for building a php frontend for a postgresql database

I have 1 postgresql db, I have php7, and a form which displays data from a table, a standard setup. What I would like to do is double click on a text field and allow editing of the contents. ...
0
votes
0answers
4 views

No option in a dynamic dependant drop-down list after form submission

So, I have a form which includes two drop-down lists: id="dd-1" & id="dd-2". The id="dd-2" options created from the database based on the id="dd-1" selection; I am using the onChange=getChildOf(...
0
votes
0answers
9 views

foreach is not a member of Int

Hi Below code is throwing me an error def sum(args: Int) = { var result = 0 for (arg <- args) result += arg result } "error : error: value foreach is not a member of Int for (arg <- ...
0
votes
0answers
7 views

Add a list of the most recent posts to sub menu

I want to display the most recent posts to the right in my drop down menu on wordpress. For each sub category I want the 2 most recent posts of that category to appear on the right side of my sub ...
0
votes
0answers
6 views

Disable input field via service: Angular2

I have a form with a text input field which I want to disable when the user makes an asynchronous call. The first and very basic approach is: <input type="text" disabled="someBooleanVar" /> ...
0
votes
0answers
7 views

Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\pizzasite\pizzabestellen.php on line 140

I keep it short. I am working on a project for ordering pizza as you may recognize in the code, it's dutch. I know this probably is not a very original question but I really can't find the code thats ...
0
votes
0answers
3 views

SQLAlchemy - specific algorithm for generating primary key

Let's say I have simple table with items. I would like to specify the algorithm for generating id, e.g. only even numbers (2, 4, 6, 8, ...). Is there any elegant way to do it in SQLAlchemy? Is there ...
0
votes
0answers
6 views

Emoji unicode doesn't seen on push notification

I'm able to show push notifications in textview(using UTF-8 encoding) but the same emoji appears as a unicode characters in push notifications. i-e : "\ud83d\ude0a" This is the code of SMILE EMOJI ...
0
votes
0answers
4 views

HTML5 CANVAS AS3 JAVASCRIPT go to the next frame movie clip inside a movie clip in animate cc

in my process to create a UI, I was stuck quite early by not being able to tell a movie clip inside a movie clip to go forward a single frame during a mouseover (over another, different symbol) ...
0
votes
0answers
2 views

MySQL - Windows Clean install and import SQL batch file failing

i have the following in a windows batch file to install mysql server and to setup the root password and import a sql file, the sql file has create database so i dont include database name in the ...
0
votes
0answers
9 views

How to use another promise in a function which returns a new promise?

I started learning Promises in JS and I am trying to replace my existing callback logic using promises. I wrote a function which returns a new promise, and also uses a promise of a database instance ...
0
votes
0answers
5 views

Is epsilon and empty set languages of NFA? (Nondeterministic Finite Automata)

I have NFA like this: enter image description here and the question is: are epsilon, and empty set, languages of this NFA?
-1
votes
0answers
7 views

TypeError: not all arguments converted during string formatting with MySQL

I guys, i am working in a code for insert in a table "noticias" information from a archive CSV, but its not work, when i debugging show this error: Connected to pydev debugger (build 171.4694.38) ...
0
votes
0answers
6 views

Is it possible to set width and height for different iPhone screens?

I'm working with my project on the storyboard and I have a problem with screen sizes. It looks simple to solve but not for me. I have an imageView, and its width and height are looking good for iPhone ...
0
votes
0answers
2 views

Deploying Django Project with apache2

Someone can help me why it doesn't work? (my project name is ikh) i'm using ubuntu 16.04 LTS, Apache2 , Python3 ServerAdmin webmaster@localhost DocumentRoot /var/www/ikh WSGIDaemonProcess ikh ...
0
votes
0answers
5 views

Visual studio 2017 cant find namespace System.Data.SqlClient;

i am student and i am busy with a school project in visualstudio 2017(RC) for c#. I am doing a database connection but after many search attempts i still cant find namespace System.Data.SqlClient to ...
0
votes
0answers
3 views

Mapping Google building Id's to Open Street Map building id's

I'm working on a mapping project that involves using Tangram (an awesome webgl mapping library) to visualize buildings on a map. The Tangram buildings come from Open Street Maps, and use OSM id's: As ...
-1
votes
0answers
3 views

junit crud web service

eu preciso da ajuda de vocês. eu tenho uma aplicação que utiliza web service e queria fazer o teste unitário (junit) para testar o crud porem eu não encontro nada que realmente me ajuda. alguém teria ...
0
votes
0answers
6 views

Redux with a large entities in a state

I have a redux application. In a first load (initial state) I get data from server and put it into the store. Application have entity with name "Task". If this tasks about 500 - app work perfectly (...
0
votes
1answer
5 views

Export PHP Variable Results To CSV

I am using php to run a SQL Query and populate a HTML Table. My question is, since I have the $query variable house the sql results, would it be possible to add a button to "Export To CSV" and if the ...
0
votes
1answer
15 views

CSS: How to configure an image and afterwards a table?

I have an html file which I'd like it to have a header image, spanning all over the screen width, but to have its original height. And following it a table. I struggle with the CSS settings. I am ...
-1
votes
0answers
18 views

Whats wrong with my program? (C++)

I am having some problems with my program that reads, finds words containing a phrase from a file and write the results to a file. Here is the whole program: #include <iostream> #include <...
0
votes
0answers
2 views

Selecting a certain value from dropdown using python with selenium

I've written a script to select certain field from a webpage using python with selenium. There is a dropdown on that page from which I want to select "All". However, i tried many different ways with ...
0
votes
1answer
26 views

Loop condition hasNext(), hasNextLine(), hasNextInt() and End of File

I have to write a programme that takes in a word, and 2 integers. The programme should stop when it reaches End Of File. The following is my initial code: import java.util.*; public class Test { ...
0
votes
2answers
20 views

python: how to generate multiple function names? [duplicate]

I have a number of functions called func_1, func_2, ... I'd like to call each of them in a for loop. I could do: for f in [func_1, func_2, func_3]: print f('foo', 'bar') but I'd like less ...
0
votes
0answers
2 views

what's means of the sysctl_apply in rpm's spec

rpm spec %post %sysctl_apply openstack-keystone.conf What is the meaning of sysctl_apply? Where can I find this document?
0
votes
0answers
5 views

Socket io “ReferenceError”

Server is running and after i open index.html, console gives me an error "connections is not defined". All of the modules i need are installed. Im using node 7.9. here is the console .html: <!...
0
votes
1answer
6 views

Facebook update without play store

I have seen many times that Facebook updates its app without updating from pkay store. E.g yesterday the icons were different and today I have noticed the icon's design have changed. So how does ...
0
votes
0answers
4 views

How to set title for nvd3 charts?

I've written this code, that generates a grouped bar chart: from nvd3 import multiBarChart import pandas as pd, numpy as np # Open File to write the D3 Graph output_file = open('test-nvd3.html', 'w')...
0
votes
0answers
11 views

Case insensitive query in PHP does not work

I have table: id, name(text, utf8_general_ci). Simple data into table: 1, LOlKek_228666 Trying PHP: $link = mysqli_connect($host, $user, $password, $database); mysqli_set_charset('utf8',$link); $q = ...
0
votes
0answers
3 views

Is there an analogue of GhostDoc in Visual Studio Code?

I'm looking something like GhostDoc for VS Code, but to no avail. Anyone knows anything?
0
votes
0answers
3 views

fastest xslt 1.0, and xslt 2.0 processors in terms of performance

which xslt processor you would suggest, for xslt 1.0 and xslt 2.0 respectively, in terms of performance? Say one has a huge xml file, and would like to make the conversion time faster. Does the ...
0
votes
0answers
8 views

MVC5/Entity framework binding data, how?

I'm completely new to MVC like 3 days. Moving from Webforms which I know inside and out I've got the basics and now trying to work with a database. I can send data to the view no problem but how do I ...
0
votes
0answers
5 views

How to set the document language in ODT?

Help needed for developing the pandoc tool, namely ODT generation -- https://github.com/jgm/pandoc/issues/1667#issuecomment-310770083: Does anyone know what needs to be done to set the document ...
-2
votes
0answers
19 views

Did Java change how string objects and literals behave?

I tried inputting the code from the top answer of this stackoverflow question: What is the difference between “text” and new String(“text”)? String s1 = "foobar"; String s2 = "foobar"; System.out....
0
votes
0answers
13 views

java eventHandler cannot be resolved to a type

i wanna ad an eventHandler but i it keeps giving me errors this is where i call the event handler gooi.addActionListener( new GooiHandler() ); and this is my eventHandler class GooiHandler ...
0
votes
0answers
4 views

How to specify include search path for PGI OpenAcc compiler (pgcc) on windows

I am just getting started with openacc with PGI community edition on windows (Never played with windows cmd before...). I'm playing with samples and I compiled the file with following command: pgcc -...
0
votes
0answers
4 views

How can I get the second layer UV in Unity?

I know that the second layer UV is used to map lightmap onto models in the scene. But how can I get the second layer UV? I baked the scene, and got these 6 files: The 6 files are: file1: ...
-1
votes
1answer
6 views

PHP PDO: Undefine variable

I have created a database class which is throwing an error of Undefined variable: options in C:path/ on line 21 and i cant seem to figure out why. class Db { private static $instance = null; ...
-1
votes
0answers
3 views

I want to send code url in £ligne[0] (onclick in détail i well redirect to http://localhost///auto/d%C3%A9tail.php and it show condidat détail

if($nbre != 0) { while($ligne = mysqli_fetch_array($resultats)) {echo "".$ligne[1]."".$ligne[2]."Le ".$ligne[3]." a ".$ligne[4]."".$ligne[5]."".$ligne[6].""; } } ?>enter code here
0
votes
0answers
8 views

System.OutOfMemoryException occurred in System.Drawing.dll with big quantity of picture

i have a probem i have a folder with hight quantity of geolocated file, i want to make a KML with the placemark. No problem for the XML(KML) document, but the image are big and i want create a thumb(1/...

15 30 50 per page