All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Exsport function with Api call then import it on another page and wait for data

I'm new to all this export, import, async so please bare with me. I have one file where I make API call and export that function so it can be used across other pages. Of course on other page when ...
0
votes
0answers
4 views

Azure DevOps Automated tests and Configuration

Is there any relationship between a configuration and an automated test? Example if I had a Test to click on a button on a webpage (automated) and wanted to run tests on Edge and Chrome. If I then ...
0
votes
0answers
4 views

Linq to sql, full join results in exception

I have a many-to-many relation between User and Course with a UserCourse join table. What I want is to get all the courses that the user attends and the ones that the user doesn't attend, for the ...
0
votes
0answers
2 views

Exception: The parameters (String,String,String)

Am trying to link a google sheet to a calendar, have gone through tutorials without a lot of success. I want to create a calendar that has full day event with information about it. i.e. A school ...
0
votes
0answers
2 views

Foreign Key Constraint Incorrectly Formed

I'm having an issue in which I can't create some tables because their foreign keys are "incorrectly formed." I don't know why I'm getting this error because the keys are of the same type and ...
0
votes
0answers
8 views

Java Hashmap - please explain if and how does it support a list of values per key?

I am currently preparing for interviews, Java in particular. A common question is to explain hash maps. Every explanation says that in case there is more than a single value per key, the values are ...
0
votes
0answers
8 views

Convert localStorage as string and remove specific element from it

What is the way to export the contents of localStorage as a string and remove specific key-value pairs from it? Namely, I need to preserve only those keys which values are like or dislike. Other keys ...
0
votes
0answers
3 views

Jenkins checkout scm: how to get tags?

In my Jenkinsfile, I have below, which seems to clone the latest version that triggered the Jenkins build. However, it did not fetch any tags. Is there a way to customize checkout scm to fetch all git ...
0
votes
0answers
4 views

how can I put a div inside of another div that is sitting next to a div that has a float: left property?

The question is confusing but I just want to put the 'signIn' css selector inside the 'headerRightPanel' selector and have it span that width. That is grow and shrink within it. now headerRightPanel ...
0
votes
0answers
9 views

In python using while loop calculate circumference and area

Write a program that will calculate the circumference and surface area of a circle. Create a table that prints the circumference and surface area for a radius from 1cm to 20 cm inclusive in increments ...
0
votes
0answers
2 views

Data update on Get.back () getx

Problem with updating data when going back. Transition scheme: ProfileView -> FollowingPersonalView -> ProfilePublicController -> FollowingPersonalView -> ProfilePublicController -> ...
0
votes
0answers
7 views

Error: assignment to expression with array type, sorting linked list alphabetically

I'm trying to sort a linked list alphabetically, I think I have the concept down but I'm getting a compilation error that says: function.c: error: assignment to expression with array type ...
0
votes
0answers
5 views

VS Code does not launch a web browser when starting Live Server or “npm start” with React

I'm using Visual Studio Code Insiders on Arch Linux (installed via snapstore), and whenever I try to "open with live server", no browser launches. I can manually go to the local domain ...
0
votes
0answers
7 views

The SQL Query is not picking up what's needing when using varchar datatypes

I have a 1st query with the following where clause: where ref <> '30' and ref2 < '40' This query picks up some of the following refs: 3P, 3A, 32 and etc... And I need also to pick up '03' ...
0
votes
0answers
5 views

How can I fix Django SQLite3 error on AWS?

I am trying to run a django project on an EC2 server, however, when I run python3 manage.py runserver, it returns this error, django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is ...
0
votes
0answers
5 views

Spring JAXWS Best practice with SimpleJaxWsServiceExporter - JaxWsPortProxyFactoryBean

I'm learning Spring from a book called "Spring 4 in action". I'm actually doing the webservice part; in particular "Publishing and consuming web services". Following the book, I've ...
0
votes
0answers
9 views

IMPLEMENTING SCROLLING CAMERA

I want to add a camera that follows my player I do not want everything to move I just want the player to move and the window follows that way I can add multiplayer to it please help me fix this ...
0
votes
1answer
9 views

ValueError: could not convert string to float: '[108.62257164103005]'

I am trying to convert a list to a float so have first converted it into a string but when I try to convert the string into a float it doesn't work and gives me the error: ValueError: could not ...
0
votes
0answers
5 views

How do I set up multiple Firebase projects with the same bundle ID on Android?

I'm working on an Android app that uses Firebase for a few different functions. I'm currently trying to expand from a single Firebase project to 3 to represent development, staging, and production ...
0
votes
0answers
10 views

How to create random image generator?

I had an idea to do something, the problem is that I don't know how to do it, I explain what I need is something like this https://nekos.life/ a website that loads photos that I put randomly from a ...
0
votes
0answers
6 views

Detect if back button has been clicked using Perl

I have seen people post about this question online but they were either using JavaScript or a different language. Is there a way in Perl to detect if the user has clicked the back button? ...
0
votes
0answers
4 views

Python Docx picture orientation

im trying to insert pictures to a doc with run.add_picture, but the pictures come out in a different orientarion and i want to rotate them, i havent find the way to do it with python docx. parrafo = ...
0
votes
0answers
3 views

What is correct syntax for dvm inside when clause in xsl transformation?

I'm struggling managing a dvm inside a when clause in xsl transformation file: <xsl:for-each > xsl:choose <xsl:when test='dvm:lookupValue("mapping.dvm","MansioneId",bpws:...
0
votes
0answers
7 views

Comparing strings in Rust

I am new to rust, and I am trying to create a Celsius/Fahrenheit converter function. fn main(){ println!("{}", convert_temp("c", 100)); //Boiling point to F println!("{...
0
votes
1answer
6 views

ImportError: cannot import name 'User'

I created custom save method for my class User. Because I have to create DriverRegistration object when I create User object. When I added only method save i received an error the code works fine ...
0
votes
0answers
3 views

Scraping instagram photos link using Python and Selenium

I'm trying to scrape links of the photos for some hashtag. Intagram has never ending scrolling feed, so I wan't to scroll down five times and then scrape all links of the pictures I can see, but every ...
0
votes
0answers
3 views

How to build Nuget package with .NETFramework VS 2017?

I have been struggling over a week to create Nuget package. Most examples I researched use .NET Standard. However, I have to use .NETFramework since some of the Nuget packages build in-house are not ...
0
votes
0answers
3 views

How to edit the default colors on Styled mode pie - Highscharts?

I tried editing the pie slice colors but it is filling in the label line also. How to avoid this issue? https://codepen.io/jenfloods/pen/WNRELrP Also, how to apply the stroke color outside? I've gone ...
0
votes
0answers
3 views

Junit 5 ParameterizedTest annotation throw unexpected token error in Gralde

Recently trying to update my testcase to junit 5. But couldn't get the parametized annotation work. startup failed: MyGroovyTests.groovy: 181: unexpected token: @ @ line 181, column 5. @...
0
votes
0answers
7 views

ajax and php - my code is somehow duplicate the elements

i am new in ajax and i try to learn it. i got this code: <!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js">&...
1
vote
0answers
7 views

MKLocalSearch.start returning undocumented MKErrorGEOError

MKLocalSearch.start is giving me MKErrorGEOError=-8 which is not documented in MKError. This only happens in my CI machine! This only happens when running the tests, the app code works fine I tried ...
0
votes
0answers
5 views

Could you tell me what's wrong with my code: “Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value”?

I'm making an AR app where I place nodes all over the room until they're 25 and at the same time the player has to destroy those objects. I wanna track the time elapsed since the first node was ...
0
votes
0answers
5 views

how to use '&' symbol as string in android?

*** <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="bottom|center_horizontal" android:text="Calculator & ...
0
votes
0answers
7 views

Grouping the counts of two pandas columns into a dataframe

I have the following data frame: Sport AgeGroup Baseball 20s Football 20s Baseball 30s Baseball 20s Football 20s Football 20s Football 30s And the goal here is to get the counts between the ...
0
votes
0answers
5 views

How to write and read file paths to a binary file using Julia

I am trying to establish my own file format and I am using binary as a base for it. I have to write many things of many different data types to this file but I seem to be having trouble with reading ...
0
votes
0answers
5 views

KTOR DSL - how to nest templates?

I'm trying to use the KTOR DSL to nest HTML templates inside one another, it seems like it should be very straightforward but the documentation has led me nowhere and nothing I've tried has compiled ...
0
votes
0answers
3 views

How to hit post api with content-length and host using alamofire in swift

I am using an API to get token. I am able to get it successfully in postman, but unable to access in Alamofire code. My postman data is:- I used alamofire and my code is : - let params = ["...
0
votes
0answers
3 views

How can I copy formatted data instead of having to writeData() using the openxlsx package?

The openxlsx package allows for some great formatting of content destined for Excel with the writeData() function. I'd like to be able to write a function that includes the formatting arguments from ...
0
votes
0answers
3 views

How to use the do-notation to write a trampoline function in continuation passing style?

Mind the following function: range :: Int -> [Int] range 0 = [] range n = (n - 1) : range (n - 1) We can convert it to a trampoline CPS function: data Trampoline a = Done a | Wrap (() -> ...
0
votes
0answers
3 views

Celery Tasks for Flask App in Google Cloud Run

I have have two services deployed onto Cloud Run from docker containers. One is my python flask app using gunicorn. The other is my celery service. I have connected my celery service to a Google cloud ...
-1
votes
0answers
7 views

Is there any way to avoid install the PyQt5 on every project on PyCharm?

I use linux (ubuntu) and I installed the PyQt5 using pip and it works for example in jupyter notebook. But in Pycharm I have to install it from the Terminal inside the PyCharm for every project. ...
0
votes
0answers
5 views

What is the difference between update and save in GCP datastore with Node.js?

I currently have this basic JS code: //Set up key, id for datastore request const id = questionArray[q].id; const key = ds.key([kind, Number(id)]); //Create update entity const modifiedQuestion = { ...
0
votes
0answers
6 views

Android Studio Canary 2020.3.1: Apply Changes and Restart Activity (disabled: debug execution)

In current version of Android Studio Arctic Fox (2020.3.1 Canary 12) I always have toolbar button Apply Changes and Restart Activity in disabled state. Mouseover hint says: Apply Changes and Restart ...
0
votes
0answers
4 views

How can I sort lists in this specific way?

I would like to sort a list by alphabetical order. If the strings are the same, sort it by increasing number. (define players(list (list "Arnold" 66 ) (list "Butter&...
0
votes
0answers
6 views

How to sort Wordpress array with posts by own custom key

I'd like to sort an array with posts by own custom key 'expiration_date' function kursy_wg_daty() { $a = 0; $todayDate = date("Y-m-d"); echo "<ul>"; while($a ...
0
votes
0answers
17 views

Link error in Visual Studio Code with C++

I installed Visual Studio Code on Mac with Catalina in order to learn C++. Installed extensions C/C++, C/C++ Extension Pack, C++ Intellisense, CMake Tools and Code Runner. To test VSCode I tried ...
0
votes
0answers
6 views

Woocommerce api is not creating product and returning current products instead

I have tested my code on another website and it worked fine. The other website is HTTP only but this was only for test purposes. Once I run my code to connect with the other website (with https) I ...
-1
votes
0answers
6 views

fault/error generated by x86 on out of range memory reference

What fault/error get generated by x86 cpu in case application tried to access out of range memory reference? And how which code if Linux kernel handle it ? Thanks
0
votes
0answers
5 views

Efficient BigQuery'ing when selecting/extracting a JSON element

Alternative heading: Subsetting a table before extracting a JSON element I need to subset a very large table on BigQuery. The column that I will be filtering (joining) on to achieve this subsetting is ...
0
votes
0answers
8 views

Getting Assembly DeclaredProperties from External DLL

I must be making this harder than it is. I am using Assembly.LoadFile in the attempts of checking a single Property in the DLL I am loading. The gotcha, is that the property is actually part of the ...

15 30 50 per page
1
2 3 4 5
421663