All Questions

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

Higher order derivatives w.r.t. singular feature map in CNN architecture using PyTorch

im trying to implement XAI methods for a CNN and for that would like to acess higher order derivatives of the output w.r.t. to each feature map produced by the convolutional layers. PyTorch provides a ...
Get It right's user avatar
0 votes
0 answers
4 views

My training function ends unexpectedly after only a few steps

I am trying to run Pix2Pix, however my training function suddenly stops during the first 1k steps with no errors. I have used PyTorch for creating the discriminator and the generator. Below is the ...
Khaled Al Hariri's user avatar
0 votes
0 answers
4 views

How to export data from Odoo to RStudio

My company has just started using Odoo services and I'm also quite new to it and I've seen that it uses alot of Python and Javascript (which im not too familiar with). I use RStudio for a lot of my ...
Abdu Kikhia's user avatar
0 votes
0 answers
3 views

SwiftUI VisionOS the NavigationStack doesn't work inside Ornament

I want to implement navigation in the left ornament, but I have an issue. The NavigationStack is not working there. It broke something in the app itself. The app structure looks like this: The first ...
Kanstantsin Bucha's user avatar
0 votes
0 answers
6 views

What is the difference between ^tablespace_name and :tablespace_name in Oracle sql code?

what is the difference between these 2? alter table CDMM_CUST add constraint CDMM_CUSTM_EXTEN_UK unique (CUST_ID) using index TABLESPACE ^TS_INX; alter table CDMM_CUST add constraint ...
Vijay Manakawad's user avatar
0 votes
0 answers
7 views

Cypress: make fixtures ready for commands before hook

I want to load my fixtures file once and make it available for all other project files. So, I wrote the following fixtures.js file: let fixturesData; export const loadFixturesData = () => { cy....
dushkin's user avatar
  • 1,967
0 votes
0 answers
6 views

How to start GCP?

I'm starting to work with multiple projects on GCP and finding it challenging to manage the different configurations. I'm currently using a combination of environment variables, Terraform, and manual ...
Aryan Agrawal's user avatar
0 votes
0 answers
5 views

No errors: Blank page on my React App after running create-react-app

` import React from 'react'; import ReactDOM from 'react-dom/client'; import { createRoot } from "react-dom/client"; import './index.css'; import App from './App'; import reducer, { ...
Meghavi Jadav's user avatar
0 votes
0 answers
5 views

Multiple selection LazyColumn recompose issue

I encountered a recomposition issue when implementing a multi selection on Android Jetpack Compose. I have a working solution but some tricky with @Immutable annotation of class. Perhaps someone will ...
h8leet's user avatar
  • 31
0 votes
0 answers
4 views

How to set the charset on a recursive AWS upload with aws s3 cp?

I'm uploading a large directory of files to S3 which I know to all be UTF-8 encoded. However when these are rendered in a browser via cloudfront some characters are getting scrambled because the ...
Philip Couling's user avatar
0 votes
0 answers
11 views

MySQL get rows from table that include a BIGINT specified in a passed-in array

I have recently struck an issue with mysql using serverless-mysql in TypeScript where potentially my query is incorrect? I am using the following to create the query: export default async function ...
danw0001's user avatar
0 votes
0 answers
6 views

Keras image_dataset_from_directory not working for a specific image

Keras newbie here I am using image_dataset = tf.keras.utils.image_dataset_from_directory(directory=classes_dir) For example with 1 directory and 1 image "Found 1 files belonging to 1 classes.&...
dimButTries's user avatar
0 votes
0 answers
6 views

Fetch lazy initialized list from database via Spring JPA inside ThreadPoolTaskScheduler scheduled task

i got some problems while fetching some lazy data from database with JPA and Spring. I got to schedule some database operations for the future, but when they were actually running, I got a ...
TomHalo's user avatar
  • 65
0 votes
0 answers
4 views

Odoo and postgres multinstance using docker compose or docker run

Using dockercompose or docker run, I'm trying to run container 1 with odoo17 on 8069 connected to container postgres1 exposing port 5432 and container 2 with odoo17 on 8070 connected to container ...
Néo SONDI's user avatar
0 votes
0 answers
12 views

which() equivalent inside ggplot2

Let's use the mtcars df and say we want to plot gseq density by cyl group (I don't know what these things mean). I could use: ggplot(mtcars, aes(x=qsec, group=cyl, fill=as.factor(cyl))) + ...
grace.cutler's user avatar
0 votes
0 answers
6 views

PHP shell_exec 'sudo mount -t ntfs-3g' fails for www-data despite proper permissions. Yet same command succeeds on manual terminal run . Why?

I'm attempting to mount NTFS devices read-only via PHP using shell_exec() but I'm facing with the following error. ntfs-3g-mount: mount failed: Device or resource busy Despite confirming that no ...
Y.Gökalp's user avatar
0 votes
0 answers
5 views

Open a file with java application on macOS

I have a Java project that I compile both into an exe with launch4j and a mac app with universalJavaApplicationStub. On Windows I can open a file with the exe (right-click→open with) and it will be ...
Hans's user avatar
  • 2,364
0 votes
0 answers
4 views

Is there a way to check the token info in HSM?

My Luna HSM 7 was imported with new certificates now and then when I try to encrypt the file I get the below error, what does this mean? 7:47:09,909 [main] INFO 2023-12-06 com.cgi.crypto.s1sm.cli....
Arun Praveen's user avatar
0 votes
0 answers
8 views

NET8 Blazor components and render mode

I'm creating a Blazor component to have a NuGet package of the design. So, I can use it in different projects. I have a Razor called TopNavBar that displays the header of the page. <div class="...
Enrico's user avatar
  • 3,920
0 votes
0 answers
3 views

How to pass data to shader constant buffer register bN (N > 15)

[Environment] DirectX11 (FeatureLevel 11.0) HLSL Shader Version vs_5_0/ps_5_0 I defined common constant buffers in my code (named Common.hlsli) float4x4 g_VS_Test0 : register( b0 ); float4x4 ...
RoXusNeXus's user avatar
0 votes
0 answers
8 views

nodejs auth into ADFS using SAML

I am new to ADFS system, the application that I built uses a microservice architecture, in the login process service 1 sends a request via body to service 2 for validation then sends a response ...
ebco dev's user avatar
0 votes
0 answers
6 views

Google calender event link not using colorId parameter

I want to dynamically generate links for adding events to a google calendar. The example I am using looks like this: https://www.google.com/calendar/render?action=TEMPLATE&text=Test&location=...
Symlink's user avatar
  • 393
0 votes
0 answers
11 views

Convert Python script to Robot Framework

I have the python code which needs to be converted to Robot Framework. client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(...
QA Engineer's user avatar
0 votes
0 answers
5 views

Firebase Realtime Db: device cache strategy for large piece of data

My big task in general looks like this: I have timeline data in Realtime DB, splitted to upcoming days. There are 5 upcoming days, include current day. Each day timeline takes about 50MB. The ...
Konstantin Konopko's user avatar
0 votes
0 answers
7 views

Combining execution time from different methods to one log using AspectJ in Java

I have searchAll() method. This method contains two others search1() and search2 and then combines the results. My goal is to measure exectution time of each of those methods and combine them into one ...
lolos's user avatar
  • 37
0 votes
0 answers
7 views

The parameters for knitting a parent document containing child documents that have loaded external scripts

there are two script(test1.R & test2.R) [test1.R] # ---- attribution ---- input_params <- list(headline = "性", attribution = "sex") # ---- testA ---- data <- ...
ă?›ă?Ťă??ă?ˇ's user avatar
0 votes
1 answer
4 views

FFmpeg filter_complex to merge audio from two files fails without an error due to album cover PNG stream

When you run FFmpeg filter_complex command to process two mp3 files and merge them into one, the command runs successfully, the output mp3 file is generated. No errors are reported. But the output ...
kaushal's user avatar
  • 49
0 votes
0 answers
9 views

Cypress cannot find elements in the page

I'm trying to test a web application using Cypress. It's going on fine until I click a button in an iframe. Then a new page is loaded within the same iframe as the clicked button was. After this new ...
zoe's user avatar
  • 65
0 votes
0 answers
3 views

DMS CDC Replication Task from RDS MariaDb is not failing but records are not appearing in Kinesis

I'm trying to CDC data from RDS MariaDb to a Kinesis Stream. The DMS Replication Task itself is successful. I also see no errors in the logs. However, no records actually arrive at the Kinesis Stream. ...
doublethink13's user avatar
-1 votes
1 answer
11 views

Error while writing to file: throw new ERR_INVALID_ARG_TYPE(name, 'Function', value); Node.js

` const fs = require('fs'); fs.readFile("datafile.txt", "utf-8", function(err, data){ let newData = "Some string to write in file"; fs.writeFile("datafile....
Ankur Rangi's user avatar
-1 votes
0 answers
16 views

Write Javascript Regex to check very specific password criteria [duplicate]

I am struggling to solve a Javascript kata proposing VERY robust password criteria. Any password must include 'n' and 'c' (upper or lowercase) and must end with '1'. I have been asked to design this ...
hyuxn's user avatar
  • 1
0 votes
0 answers
5 views

Refused to execute script because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled

I have a map on this page https://www.americansouthwest.net/area-map.shtml which has just in the last week or so stopped displaying the overlay elements, because of this error: Refused to execute ...
John Crossley's user avatar
0 votes
0 answers
9 views

Basic question on WPF, XAML data context binding

I'm creating a XAML, called "DisplayViews.xaml", containing a TextBox, having a data binding to the DisplayView.xaml.cs value_Doel_Pallet property. Although I believe everything is well ...
Dominique's user avatar
  • 16.3k
-1 votes
0 answers
8 views

How to get list of all validators of Angular FormControl?

I have a component with custom Form Control. And in this component I need to get list of validators from parent component. I use Reactive forms everywhere, so I don't need to inject NG_VALIDATORS, I ...
alena's user avatar
  • 1
0 votes
0 answers
8 views

ionic react Error - I cant scroll, input anything or click on anything on other pages

I am currently working on a project (a logbook app) with Ionic React. Unfortunately, there are some errors that I cannot fix. One major issue is that when I open a different page (other than the first ...
kathi's user avatar
  • 1
0 votes
0 answers
7 views

_mysql.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_mysql_affected_rows'

from flask_mysqldb import MySQL server = Flask(__name__) mysql = MySQL(server) server.config["MYSQL_HOST"] = os.environ.get("MYSQL_HOST") Flask==2.0.2, Flask-MySQLdb==0.2.0 ...
Mohd Arshad's user avatar
0 votes
0 answers
9 views

Issue running an Azure Function from a package

I have a .NET 8 Azure Function (Windows, not Linux) that is triggered by a CRON timer. I published it to a Local Folder: Configuration : Release Target Framework : net8.0 Target Runtime : win-x64 ...
DrGriff's user avatar
  • 4,524
0 votes
0 answers
6 views

How to use an Sqlite database in a memory mapped drive which is asynchronously backed up?

I have a c# API app (.Net v8) in which I want to use an Sqlite memory database (for speed, obviously) for SQL operations, but this is limited to accesses by a single process. So I propose to create ...
John R Ramsden's user avatar
0 votes
0 answers
10 views

How To Generate the Data for missing Dates till current date in SQL

I have a use case, where the data/orders from source comes everyday also may not on few days. I want to generate the data for all the dates till today as below |Sales|Order_Qunty|Date| ----------------...
TalendDeveloper's user avatar
0 votes
0 answers
4 views

Matrox Imaging library with JNI hangs during buffer read

I had the following code to get an array in JNI. jfloat *ptr = (*env)->GetFloatArrayElements(env, array, 0); To copy MIL buffer to User array used the below matrox api with above *ptr(as ...
user3164187's user avatar
  • 1,388
0 votes
0 answers
27 views

Casting a pointer to pointer to virtual base

I need to cast a pointer to pointer of derived type to a pointer to pointer of virtual base type. Why isn't this working and how can create the pointer? struct A { virtual void f () { printf ("A::...
Matti Jokipii's user avatar
0 votes
1 answer
6 views

How to preload fonts in nuxt 3?

In nuxt 2 we added this in nuxt.config.js link: [ { rel: 'preload', type: 'font/woff2', href: '/fonts/font.woff2', as: 'font', crossorigin: true ...
uiHellen's user avatar
0 votes
0 answers
13 views

Is null value considered in for loop i java? [duplicate]

public static void main(String[] args) { List<Integer> l1= new ArrayList<>(Arrays.asList(1, 2, null, 3, 4)); for(Integer l:l1) { System.out.println(l); System....
Debarshi Bhattacharyya's user avatar
0 votes
0 answers
17 views

How to get started with a neural network?

I have no experience with tensorflow but want to solve a problem with it and don't know, where to start. ChatGPT couldn't solve my problem either. My Problem: I got a data set, that looks like this: ...
Agent00111's user avatar
0 votes
0 answers
7 views

CORBA Connection failure

So I have a server and client program (Java) that communicates through CORBA for a finals project in my university. I have started the orbd in my server and client terminal but when I run the client ...
CARL KENDRICK PASCUA's user avatar
0 votes
0 answers
4 views

The execution is not entering 'onload' function

Through the below code, I want to import an excel file into my grid and append it to the grid. For example, if I have 2 rows in the excel sheet and 4 in the grid, then after importing, the grid should ...
Shivani's user avatar
0 votes
0 answers
6 views

Socket closes after sending a message, thus making receiving message impossible

i have a server handler class in my android app that reads and write messages in the Socket, the socket gets passed to it by the ClientController which runs this socket in AsyncTask. connection to the ...
Abdou's user avatar
  • 1
0 votes
0 answers
2 views

Opensearch flat_object aggregations

I am unable to generate term aggregations on flat_object fields. here is how to reproduce it. I have an index with the following mappings : "mappings": { "properties": { ...
nemi's user avatar
  • 183
0 votes
0 answers
15 views

Why doesn't TypeScript show a type mismatch error here in this example?

I recently started using React with TypeScript, and this is how I defined my types: type CardInfo = { cardIndex: null | number; title: string; note: string; _id: string; from: string; ...
Max Vhanamane's user avatar
0 votes
0 answers
7 views

How can localhost and 127.0.0.1 share the same request in Django/Vue?

In my Django application, I'm authenticating a user on the backend, with port 8000. Upon success, the user is redirected to the frontend on port 5173. After configuring CORS and CSRF correctly, I was ...
PyShah's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
…
480219