Questions: page 4

0 votes
0 replies
Angular IIS Deployment - ‘src’ attribute of <script> element is not a valid URI:
I am attempting to deploy an Angular 7 app to IIS. The app is in a subdirectory. I referenced this excellent article on the subject. While it app...
asked 1 month ago
0 votes
0 replies
SSIS call to SMO works in Visual Studio but fails when run from a SQL Agent Job on the server. Jobs not using SMO work fine
I wrote an SSIS 2017 package that uses SMO (sql server management ojects) to synch my disaster recovery (DR) server with my production server. B...
asked 1 month ago
0 votes
1 replies
ActiveRecord speed up `where.not` query
I have a query that is taking getting significantly slowed down when an not clause is added to the query. # query is 13.6ms FbGroupApplication....
asked 1 month ago
1 votes
2 replies
Is there a way to move an HTML object if the object is too close to the border of the window?
Context : When I hover on the tag image, a box shows up and it shows the artwork infos. My problem is, if the tag is too close to left or right b...
asked 1 month ago
0 votes
1 replies
Python3: Does a call to pymysql.rollback() require a commit?
I'm using python3.6 and pymysql 0.7.11. The call to rollback rolls a transaction back, according to the documentation. A call to commit finali...
asked 1 month ago
-1 votes
0 replies
How to change the syntax highlighting in VSCode to sublime text 3 default
I was using Sublime Text 3 and I really liked the default syntax highlighting of it. The thing is I want to use VSCode instead but I dont know h...
asked 1 month ago
0 votes
0 replies
Folder “node_modules” is being added by git even having a .gitignore file with a Node template
I have a Node App for which I added a .gitignore file with a template for Node. But even with the .gitignore file, the node_module folder keep be...
asked 1 month ago
-1 votes
2 replies
How to only select the SQL row with the MAX id in this join?
I need to get the record with the MAX id from this joined table, but I only need the top row to be joined with the main query on this subquery. H...
asked 1 month ago
0 votes
0 replies
Enormous tab and icon padding in Eclipse 4.11 on Ubuntu 19.04
When running a fresh install of a recent Eclipse on a fresh install of a recent Ubuntu, you'll see this: For reference, this much more compact...
0 votes
0 replies
uWSGI + nginx + Flask: Site can't be reached
About a month ago I finished setting up my AWS EC2 Ubuntu 18.04 server to run my Flask app. Since then, I have been developing and testing locall...
asked 1 month ago
0 votes
1 replies
React Native Maps - the Card View is not showing
The problem is the Card View is not showing. I tried to apply it with index and position but nothing works. I need other's perspective. Thank you...
0 votes
1 replies
Tensorflow: How to use Tensorflow's Dataset API to use TIFF images?
I'm currently using Tensorflow's Dataset API to load and preprocess images for training and testing. Here's a snipped of the code I'm using to do...
asked 1 month ago
-2 votes
0 replies
What is the most correct way to fully adapt this code to the MVVM pattern?
I have a DataGrid with a DataGridComboBoxColumn. Each ComboBox should have the same drop-down: the new values entered in the ComboBox (the ComboB...
asked 1 month ago
0 votes
0 replies
GeoSearch returns nothing
So I am working on migrating my geoSearch functionality from GeoFire to Algolia because there are more options as far as filtering, and many othe...
asked 1 month ago
0 votes
1 replies
Generic way to access class properties
I have been trying to read the value from the excel sheet, map it into a dataTable and then map the value to its class in C# using reflection. Th...
asked 1 month ago
0 votes
1 replies
Check a recursive JSON structure for matchinig numerical values in Set in Typescript Angular
I have a UI where initially a User has to check some checkboxes. The checkboxes have sequential IDs. The JSON Structure for it is as follows: {...
asked 1 month ago
0 votes
0 replies
How to fix Error cannot open connection on Ubuntu machine?
This might be a very trivial issue with R-related Ubuntu settings, but I'm pretty new to it and have no clue to solve this issue. I'm trying to...
asked 1 month ago
0 votes
0 replies
How do you create a new object and sort it by year, name and event? [duplicate]
I want to sort a data.frame by multiple columns. For example, with the data.frame below I would like to sort by column z (descending) then by col...
asked 1 month ago
2 votes
1 replies
`std::filesystem::path::operator/(/*args*/)` not working as expected
I have a class with an initialiser list in the constructor where one of the fields I'm initialising is a std::filesystem::path but it doesn't see...
asked 1 month ago
0 votes
1 replies
how to remove “:” of cmake TARGET_OBJECTS, and use it in custom command
I want to use objs in COMMAND ld, but I cannot remove ";" in objs. How can I remove ";"? or have any other method to fix it? CMakeLists.txt S...
asked 1 month ago
-4 votes
1 replies
Is there a way to make randint() less pseudo and more random? [closed]
I'm working on a lottery simulator and I'm not quiet happy with the draws generated by randint. Are there any tricks to make it more random?...
asked 1 month ago
-1 votes
0 replies
How to Mock django chained queries using python unittest
func_to_test.py from models import MyModel def myFunc(): #Query 1 queryset_exists = MyModel.objects.filter(id=0).exists()) #Query 2 que...
asked 1 month ago
2 votes
2 replies
Linq GroupBy Clause not including items with zero count
I have a query below which is supposed to group the result by Id, EntityName, DocType, Jurisdiction. For each group the query also returns the Pr...
asked 1 month ago
1 votes
1 replies
Getting a “Segmentation fault: 11” when finding number of inversions using mergesort in C++
I am writing a C++ program that finds the number of inversions in a vector using merge sort. An inversion happens when the i'th element is greate...
asked 1 month ago
0 votes
1 replies
Uploading to AWS s3 bucket in Laravel 5.8 gives me “Error retrieving credentials from the instance profile metadata server”
I have a Laravel 5.8 application that I am trying to configure my uploads to go to an Amazon s3 bucket, but everytime I try and save a Post with...