All Questions

0
votes
0answers
3 views

Finding and processing integers from a .txt file with both strings and integers in c++

I was given an exercise to make a program that reads and processes the scores from a .txt file. This is what my program should read (aka this is the .txt file): John Nash,80 Marcus Smith,50 Tom ...
0
votes
0answers
3 views

Laravel redirect login page after incorret login

I have a project. Login form in navbar (as dropdown menus). And user incorrect login , laravel redirect back page. I want to if user incorrect login , laravel redirect route("login") mean login ...
-1
votes
0answers
4 views

How to print out SQL Statements with Python

I have declared Variables that i got from tkinter Entrys and I work with MySql connector. Now I want to know how to make a SQL Statement and print it out. Thats what I have know: def suche(): ...
0
votes
0answers
4 views

Python access class variable from another class

I'm new to OOP,and I'm trying to make a GUI for myself. I want to make a simulator program. My question is: How can I return a class variable from class A(), to class B()? Sample code: class A(): ...
0
votes
0answers
4 views

How to aggregate on array of text without analysis in ElasticSearch 6.x

Say I have a product catalog with such items: { "tags": ["Children", "6 years old", "food"] } { "tags": ["Children", "12 years old", "toy"] } { "tags": ["Adult", "22 years old", "office"] } And I ...
0
votes
0answers
3 views

Error during Sync: Broken pipe issue in android studio Mac OS

Suddenly having this issue in android studio. Tried both in android studio 3.2 and 3.3 version the same issue. Application running properly in android emulator but not working for real android device. ...
0
votes
0answers
2 views

php long poll “killing” the server

I am developing online chat between users on my website. Chat is working properly, but nobody can enter the website if long poll connection is open. My code: while (true) { $sth = $db->...
0
votes
0answers
3 views

Android launch mode singleTask is behaving like singleTop

I am running into this problem on Android 8.0: For first time only, If my activity A(singleTask) is on top of stack and launcher app: 1. Through deep link launched A -> It stays on activity A (...
0
votes
0answers
4 views

how to solve Uncaught SyntaxError: Unexpected Identifier while passing a string to javascript function using onclick inside PHP echo

<script src="jquery/jquery-3.1.1.min.js"></script> <link rel="stylesheet" type="text/css" href="Clients.css"> <script> $(document).ready(function() { DisplayClients(); }); ...
0
votes
0answers
3 views

Rails dont send 1 field in mail

I am sending contact email with params from form that user fills. Controller looks like this: name = params[:contact][:name] email = params[:contact][:email] message = params[:contact][:...
0
votes
0answers
4 views

Initialize Cloudera Hive Docker Container With Data

I am running the Cloudera suite in a Docker Container using the image described here: https://hub.docker.com/r/cloudera/quickstart/ I have the following configuration: Dockerfile FROM cloudera/...
0
votes
0answers
4 views

how does a device keeps track of the time even when it is turned off?

How is our computer/smartphone or any other device which displays time keeps track of the time, even when it is turned off? Is there some kind of internal clock which keeps on ticking even when the ...
0
votes
0answers
9 views

Why is the output of print(“COMPUTER:”guess) not appearing on the console?

I am writing a program in python where you have to guess the number chosen by the computer. The number will be chosen between 0 and 10(inclusive of both the number). If the number guessed by the user ...
0
votes
0answers
5 views

Qt installation on macbook pro

I've posted this same issue/question on the Qt support forum, no answers yet: I had Qt 5.9 installed on my macBook Pro, I want to install version 5.11. I've tried several times using the qt-unified-...
0
votes
0answers
13 views

How to let the user input back to the former question

I write a code to let the user input cruise id first and then enter the ship name. At first, I want to detect whether the user input integer type, if not, the user has to re-enter the first question ...

15 30 50 per page