All Questions
16,361,472 questions
0
votes
0answers
1 view
Storing a string of words in a data structure
I want to create a program which receives some input words from the user, stores the inputs in a data structure and then prints the data structure on a txt file.
Right now i only built the part ...
0
votes
0answers
2 views
Stripping SWF from a online flash game and exporting to FLA for editing
So, this game Adventure Quest Worlds is an online flash game. I've tried everything, I got the swf decompiled with Sothink full version decompiler and got the FLA with a bunch of .AS files and you ...
0
votes
0answers
2 views
Does the group footer scope not include detail row?
I have a Crystal report that I'm trying to convert to an SSRS report in Report Builder. In my my Crystal Report, I have 9 groups, some with displayed headers and footers, and a couple with extra ...
0
votes
0answers
3 views
how to read data from com port on server 2008 r2 vb.net using digiport server
im trying to create a service application that reads data from a specific com port in this case COM19 through a DigiServer. the component sends data through ethernet that is connected to a serial ...
0
votes
0answers
2 views
Bash: How do I show the name of a specific java -jar in Top command?
Note: this is not a java question. I'm asking about the Top Command in bash.
Often I am running several programs written in java at the same time. For example;
`java -jar [program] [options]`
I ...
0
votes
0answers
3 views
Unfortunately deleted all users in mysql.user table. How can i create new user
I am deleted all users in mysql.user table. Now I am unable to connect with mysql. How can I create a new user or how to restart mysql with out losing my data.
Thank you very much.
0
votes
0answers
3 views
Error in Numerical derivative
I am integrating a partial differential equation in which I have a fourth-order partial derivative in $x$ and the numerical integration in time is giving me absurd errors. The cause of the problem, I ...
0
votes
0answers
5 views
ES6 groupBy, partition, sort list of objects
I am trying to figure out an elegant way in ES6 to sort an array of objects based on specified values. Here's the scenario:
const list = [
{
"name": "john",
"lastName": "smith"
}, {
"name": "tony",
"...
0
votes
0answers
2 views
Issue to pass JSON string from fragment to adapter
I am a newbie to android Development, I was trying to implement a list view with items, by which when an item clicked it should display another list view with lists of specific items, I used JSON ...
0
votes
0answers
5 views
How can i user async on angularListObservable<any[]>
I am using angular6 for this project
My feed.component.ts File:
import { Component, OnInit, OnChanges } from '@angular/core';
import { ChatService } from '../services/chat.service';
import { ...
0
votes
0answers
5 views
AutoLayout : Needs constraints for Y position or height (trying to use views with content with dynamic heights)
I want to create a UITableViewCell with many UIViews, vertically stacked. Some of those UIViews are more complex, with many subviews inside for example.
I tried to create one for example. The first ...
0
votes
0answers
2 views
Dart animating MaterialApp home screen
I want to animate first screen that will show when user opens the app with fade effect.I tried wrapping my screen into AnimatedOpacity widget but without any effect.
MaterialApp{
home:...
0
votes
0answers
3 views
What do function deepDreamImage() actually do in Matlab? [Matlab]
The official document mentions that using deepDreamImage(net,layer,channels) we could visualize network features.
I am training VGG16 using Transfer Learning on a dataset of mine for three different ...
0
votes
1answer
2 views
SDF Deploy error: Partial Content
When I try to deploy a Suitecloud Development Framework project from Eclipse, I get the following error in the error log:
!MESSAGE The remote server returned an error:
https://system.netsuite.com:...
0
votes
0answers
4 views
function for finding primes
i have two functions which are identical
the function finds all the prime number up to a given number
def count_primes2(num):
primes = [2,3,]
x = 5
if num < 2:
return 0
while x <= num:
...
0
votes
0answers
2 views
Append coordinate to MapBox MGLPolyline
I am trying to append a coordinate to a line that I am annotating a MapBox map with.
MGLPpoyline has the following function for appending coordinates:
appendCoordinates(_ coords: UnsafePointer<...
0
votes
0answers
11 views
Scrape href not working with python
I have copies of this very code that I am trying to do and every time I copy it line by line it isn't working right. I am more than frustrated and can't seem to figure out where it is not working. ...
-1
votes
0answers
8 views
RSA Generate Public/Private Key By Using Master Key In C#
i'm trying to generate a public/private key for encryption by using a master key,
i mean by master key is the user enter some dummy password like "a$3@90fK92" and each time when he tried to generate a ...
0
votes
0answers
4 views
express js send html with assets to api gateway in a microservices architecture
I could not find any solutions that worked for me.
I am trying to create a simple microservices architecture with Node.js instances. The gateway microservice does not load the html with CSS, JS like ...
0
votes
0answers
2 views
Read Data Structure value binded to Bluetooth LE Descriptor in Android
I am writing an android app which reads the data sent from an arm processor over BLE (with characteristics and descriptors). in the hardware part I am using the function below :
tBleStatus ...
0
votes
0answers
4 views
Problems to connect to RabbitMq docker container
i am trying to use MQTT Lens plugin as a client to a container running RabbitMQ on a virtual machine. To start the container on the virtual machine i run this command:
docker container run -d --...
-5
votes
1answer
17 views
How to make a string in javascript become incasesensitive?
SOMEBODY help me out
Exercise: Write a function indexOfIgnoreCase, that accepts two strings and determines the first
occurrence of the second string in the first
string. The function should be case ...
0
votes
0answers
2 views
Is it possible to update the maximum event log file size of a remote system?
I've been searching a lot. Just wanted to know if by some way I can update the maximum log file size of a remote system.
I'm working on event log handling and windows API's. Can someone please tell ...
0
votes
0answers
2 views
TableView doesn't show my Data from Realm
i have one problem: my tableView doesn't show any data from realm database. But i guess the problem is in cell.
class ClientViewController: UITableViewController {
@IBOutlet var table: ...
0
votes
0answers
9 views
How to secure files behind session?
I have links to static files that people can access in my application. However they can access these files without logging in. I'd like the static files to be behind login. How can I achieve this? ...
1
vote
0answers
12 views
ValueError when trying to create a DF out of two lists with the same length [duplicate]
I have 2 different lists of lists A and B.
print(len(A))
288
print(len(B))
288
Making them flat:
flat_list = [item for sublist in A for item in sublist]
flat_list2 = [item for sublist in B for item ...
0
votes
0answers
3 views
Slack API - How to get bot_id when bot has no conversation history?
I am trying to get the bot_id value for a bot when it has no conversation history.
According to the documentation:
the bot_id fields appear in bot_message message event subtypes and in
the ...
0
votes
0answers
2 views
git svn authors duplicate error
I have to migrate our SVN repos to Git (FINALLY !). I don't know SVN very well, so maybe my lack of knowledge on this point is problem. Nevertheless, for now I plan to use git svn.
But I have a ...
0
votes
0answers
3 views
How to use Dagger2 in Android to inject activity objects easier?
On Android, When using Dagger2, I have to call the following line on every activities that uses apiService:
@Inject
public ApiService apiService;
@Override
protected void onCreate(Bundle ...
0
votes
0answers
5 views
Access specific page using time inserted in database
I was using this
$end = $row['EndPro'];
$email1= $_SESSION['Email'];
$stmt = $con -> prepare ("SELECT
*
FROM
users
WHERE
Email = '$...
0
votes
0answers
5 views
Mahhaps - Show Dialog from library class
I use IDialogCoordinator on ViewModel and everything works fine.
But if in viewmodel i have instance of other class, it doesn't work. I try to pass dialogCoordinator in constructor, but I've got a ...
0
votes
0answers
12 views
Need suggestion about the name of the class
There is some object say, ABC, which I get in different ways. I have added all these methods to get the object ABC in a separate class. Now my question is how should I name this class? I have named it ...
0
votes
0answers
4 views
How do I Add Azure Functions at Run Time
I have a class library with methods that I want to map and execute as Azure Functions.
How those methods should get mapped up (e.g. as timer, http trigger, what http verb or route to use, etc.) for ...
0
votes
0answers
2 views
Woocommerce disable code based on specific product in cart
In another post here:
max-number-of-items-in-a-cart
the following code works well
add_filter( 'woocommerce_add_to_cart_validation', 'only_four_items_allowed_add_to_cart', 10, 3 );
function ...
0
votes
0answers
4 views
Multiple actions within a NGRX effect
While learning Angular and NGRX, ran into what I thought would be simple example of common problem but having trouble understanding best way to accomplish the control logic with in the Redux store\...
-1
votes
0answers
6 views
Python Multiprocess calls a subprocess that reads from another subprocess, still blocking with demonize set to True [duplicate]
I have a video transmitting app written in python, and I have been struggling to make the "Transmit" button, non-blocking. After the tranmission starts, the transmit button is supposed to disable, ...
0
votes
0answers
2 views
Xcode: Atos does not provide symbol information for CoreMotion function
I am having troubles analyzing following crash report:
I am using atos with dSYM file from iTunes Connect (matching UUID) but I do not get symbol information for CoreMotion, and other symbols are ...
0
votes
0answers
2 views
Trouble connecting to team project in Visual Studio 2017
I'm following a tutorial on how to connect to my school's team server. However, there seem to be options missing for my version of Visual Studio.
In the video, they go to " team--->manage ...
0
votes
0answers
2 views
Loading Django static content from S3 giving “Unsafe attempt to load URL. Domains, protocols and ports must match.”
I have my static files on S3, and when a JS script tries to load a JS library I'm using:
Unsafe attempt to load URL <URL> from frame with URL <URL>.
Domains, protocols and ports must ...
-1
votes
0answers
5 views
Macro to filter table based on a criteria and copy/paste into a new sheet
I am new to Macros and VBA but I think I have a grasp of what to do but I have trouble writing the code.
I have a list of items in a table from Column A to G, I have to filter data based on Column A, ...
0
votes
0answers
10 views
Move chat arrow from the left side to the right
I am using this snippet from JSFiddle
And i'm having trouble moving the arrow from the left side to the right.
I tried modifying bubble:before and I got the arrow to switch to the right. But am having ...
0
votes
0answers
6 views
HTML autowrap autocenter charaters in pre tags
I wanted to put a box to accent some queries, just on the one page - not the whole website. So I put in an inline style to prototype the change. I had to trim the characters inside of the pre tags to ...
0
votes
0answers
4 views
ASP.NET List objects merging to bind into Dropdown
I am working on a project where I have two list objects and wou drop down list.
C# objects
List<CarsViewModel> CarsViewModelList = new List<CarsViewModelList>();
List<TrucksViewModel&...
0
votes
0answers
3 views
Oracle SQL Tuning Advisor with changing query
We have an C# app which will search the DB for activity in a couple of tables. The user can specify to search for certain criteria, which in turn build upon the base SQL query.
This query takes a ...
0
votes
0answers
11 views
How to show a if template element again when hiding a else template element Angular 5
My goal is to toggle the button with out running the contains pipe. It's a visual thing. The contains pipe checks if an element is a favourite. Now when the user clicks save fav the button should ...
0
votes
0answers
3 views
Docker macvlan can only ping gateway, cannot be pinged by other devices
What I'm trying to achieve
I need my container to be able to ping other devices in the network. Specifically, my nginx container that now has a static IP address through macvlan.
Setup
Server (NAS):...
0
votes
0answers
5 views
<input type=“file” pdf results in empty POST in the form's target file (jpg works fine)
//testSelect.php
<?php
$record_choice = 1090;
?>
<h1>test select</h1>
<form action="testRequest.php" method="post" enctype="multipart/form-data">
<b>Add a pdf ...
0
votes
0answers
4 views
Options available for cloud resource and DRM management for mobile app
As a straw man, consider a mobile car racing game (on iOS and Android). Each car could be a separate purchase. Each race track could be a separate purchase. Users could download or delete any of their ...
0
votes
0answers
2 views
Prevent flickering on camera preview update
I am using the frames that I receive from a USB camera (Using the UVCCamera library) and I apply a blur effect using RenderScript. The frame format is NV21. The blur effect created by RenderScript ...
0
votes
0answers
6 views
How do I check that a Rest call is successful in unix shell script?
I would like to invoke a rest Url from Unix shell and verify that call is successful based on return code.
If the call fails, I would like the details to be stored in a variable.
I have tried ...