All Questions
24,007,190
questions
0
votes
0
answers
3
views
how to add fallback to subroutines that are not available in some module versions?
I am working in a code that targets perl 5.12.2
I need to decode a base64 string, however it uses the schema for "URL applications", and in modern perl versions I can just use MIME::Base64::...
0
votes
0
answers
4
views
How can I preserve program reactivity inside a reactive function?
I am working on a python-based shiny app that serves to drive a fluid pump over a serial transmission line. After configuring a flow profile with set amplitudes and runtime, the serial transmission ...
0
votes
0
answers
3
views
How to use data object to upload data into AWS Athena table via javascript
I'd like to upload data into an Athena table using javascript.
As this document (https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/athena/command/StartQueryExecutionCommand/),
I should use ...
0
votes
0
answers
3
views
start command to simultaneously run next and yjs websocket in production
I implemented tldraw and yjs in nextjs and the command and the dev command I use to run it in development is
"concurrently "next" "HOST=localhost PORT=1234 npx y-websocket" --...
0
votes
0
answers
6
views
How can I print out the string of sentences using this method
@override
Widget build(BuildContext context) {
final AppStateManager manager = AppStateManager.of(context);
String textLetter = manager.appState.replacementsController.text;
String ...
0
votes
0
answers
5
views
Converting word document to Python-docx module
I want to create a word document using the python-docx module.
I'm seeing from the official documentation syntaxes like this:
from docx import Document
from docx.shared import Inches
document = ...
0
votes
0
answers
3
views
How to use ngx-guided-tour in parent-child component relation
Hi I am in situation where we have to use ngx-guided-tour library. Our project layout is like we have Parent component at left which has list of tiles on click of tile we are showing details of that ...
0
votes
0
answers
4
views
Installing Velero BackUp with Hetzner Cloud
I am trying to install velero on my kubernetes cluster on hetzner cloud provider,(btw i have no previous experience) I tried to go through velero docs but each time I got more confused and ended up ...
0
votes
0
answers
4
views
exception: "variable 's' of type 'clientRequest' referenced from scope '', but it is not defined"
I have a function to select a list of clients' requests from CRM by few conditions.
public static List<clientRequest> funcion(CrmContext crmContext, Guid year)
{
return (from s in crmContext....
0
votes
0
answers
3
views
Get Distinct Email Subjects to trigger Flow only for first message instead of all the messages
I have a flow , which is based on incoming emails in a shared email. I have to add a particular condition and it does not work as I might not be implementing it correctly.
Trigger : When a new email ...
0
votes
0
answers
4
views
Difference between Original Vision Transformer script and Keras code example Vistion Transformer script
I am a graduate student, and currently, I am attempting to test our team's dataset, which we analyzed with CNN pre-trained models using the Original Vision Transformer script.
Starting with the ...
0
votes
0
answers
8
views
cannot open header file <coff.h>
This is not a duplicate, because it related to the Visual Studio SDK, not a single header file.
I was building a COFF parser using Visual Studio SDK, but IDE says the header doesn't exist, e.g. "...
0
votes
0
answers
7
views
Finding 2 removed numbers from an array of all numbers 1-n, the array order is randomized AND no hashmaps are allowed
I was actually asked this and had no clue even though I got some hints
At the end I wasn't told the correct solution and I still have no clue
I would appreciate any and all help to do this in O(n) ...
0
votes
0
answers
3
views
How to run fsck for XFS volume in Kubernetes POD?
In our cluster, we want to use a POD to do volume health check, if the volume has problem, we will delete pvc and restart POD. for Volume health check, we want to run a fsck to get volume result. but ...
0
votes
0
answers
5
views
Upload all files from a local folder to S3
I have a python method to send one file that exist in a local folder to S3. I want modify the method to send all files that exist in the folder to S3.
My method is:
import boto3
from boto3 import ...
0
votes
0
answers
5
views
Implementing Middleware to Retrieve JWT Tokens from Header in a GraphQL Server with Node.js and Apollo
I'm trying to create a middleware to receive a token from the header, but it never seems to trigger, and I never see the 'hello' log message I inserted at the top of the middleware.
const jwt = ...
0
votes
1
answer
9
views
Laravel migration table created correctly but contact_list table returns an empty set
So, I am using Laravel 10.32.1, and I'm trying to migrate my laravel migration tables to my MariaDB server, and while the migration process does work, and the contact_list table does get created, ...
0
votes
0
answers
4
views
How to separate cumulative bars and graph in power bi?
I need to turn this:
Into this:
How I can do this?
(!!!) That is, raise the graph and normalize it and the columns so that the spread is not so large
I tried to expand the A range to get the second ...
0
votes
0
answers
3
views
Basic tests to create a new REST API with sprint boot that reads data from an existing spanner DB
I have been tasked with creating a new REST API with Spring Boot that connects to a GCP Spanner DB that has already been created.
Can someone please help me understand the initial steps that need to ...
0
votes
0
answers
9
views
How can I speed up posting to ServiceBus?
The following Azure Function is running on Azure (UK South) and posting messages to a Service Bus that is also in UK South.
This is taking 25 seconds, which means I am getting a rate of approximately ...
0
votes
0
answers
11
views
sprite creation shapes not showing in unity
I am unity 2019.4.28f1 I made a new 2d project and when I hover my mouse over sprites its not showing the basic shapes like square, capsule etc. I freshly installed this version of unity editor from ...
0
votes
0
answers
7
views
How can I decode the parameter Line (class <byte>) in Mambo DroneVision?
I want to capture and post process of the image in the front camera of mambo FPV in real time. But when I try to run the demo code try to streaming the video using ffmpeg way I face difficult. When ...
0
votes
0
answers
9
views
How to override Gyroscope and accelerometer sensors on android device
I created health tracking app for my school project. But I have faced a problem while testing the movements. I have to test them physically. But is there any way to overide my mobile device sensors to ...
0
votes
0
answers
9
views
Protects dbplyr against SQL injections?
I would like to use R-Shiny to develop a web app that accesses an SQL database with sensitive data.
So far I have written the database query as a pure SQL string.
However, this approach is very ...
0
votes
0
answers
10
views
Web server interprets URL as directory instead of .html page
I am making a website and I am facing a strange issue. So basically I have the .htaccess file setup to remove file extensions from the address bar and it is working completely fine except for one link....
1
vote
0
answers
6
views
Including a flutter aar into a flutter project (to obfuscate code)
I have dart library that I'm already distributing to clients as aar and xcframework binaries. Now I would like to distribute it to clients who would integrate it in their flutter app. To keep the code ...
0
votes
0
answers
7
views
In DDD can i call an Adapter from another Adapter through ports
Just like a service calling another service through use case, can an adapter call another adapter through ports?
0
votes
0
answers
2
views
MD.get_running_app().root.ids are empty in android but on pc it runs fine
I am making one app using kivymd. The app runs fine onto computer with python compiler but after i upload on android using adb install, it crashes.I have checked the logcat also. Actuallly the root....
0
votes
0
answers
6
views
How to refer to a column that is available in an API response?
I have a sharePoint solution, developed in c# code.
I need to set a condition to restrict a certain SP group users (Ex: Restricted_Users) from printing customer's data for all customers except ...
0
votes
0
answers
6
views
Powershell - [System.Security.Cryptography.ProtectedData]::Unprotect Fails
Im trying to encrypt and decrypt passwords, i've made 2 functions:
function VA-EncryptPassword {
param(
[Parameter(Mandatory=$true)]
[string]$PlainPassword
)
# Add assembly for security
Add-Type -...
-1
votes
0
answers
7
views
NativeImage/GraalVM: Statically linked executable throws UnsatisfiedLink Error
I have been trying to build an executable of my Spring Boot app. And it does work, when I generate a dynamically linked executable. However, now I want to build a statically linked executable, without ...
0
votes
0
answers
3
views
modifications are not supported in cue groups but i have 8 fields in one cue group and i have to divide it into two cue group 4-4 in each
I know modifications are not supported in cue groups but i have 8 fields in one cue group and i have to divide it into two cue group 4-4 in each. Is it possible in any way? Please tell.
i am a fresher ...
0
votes
0
answers
39
views
assign numbers to Ids
const randId = "comment_" + Math.floor(Math.random() * 1000);
const commentButton = document.createElement("section");
commentButton.id = randId;
commentButton.className = "...
0
votes
0
answers
5
views
Error with linking Boost::Filesystem with Conan and CMAKE? What to do?
Here's source code
#define BOOST_SYSTEM_DYN_LINK
#include <iostream>
#include <boost/filesystem.hpp>
#include <boost/asio.hpp>
#include <boost/regex.hpp>
#include <boost/...
0
votes
0
answers
7
views
MacOS Computer Systems: A Programmer's Perspective labs setup
I'm going to study this Computer Systems: A Programmer's Perspective, and do labs from http://csapp.cs.cmu.edu/3e/labs.html
But I can't figure out how to start, when I'm running "make" to ...
0
votes
0
answers
17
views
Notepad++ compare file using python
I am trying to generate a file which shows the differences between two files just like notepad ++ compare plugin generates with a view on left and a view on right with the differences between the two.
...
0
votes
0
answers
7
views
Flutter: Getx: How to load Dropdown widget after fetching values from Firestore database using Getx State Management
My issue is : I am trying to fetch values(studentName) from my Firestore database and load it onto the DropDown widget. The problem that I a facing is that I am able to retreive the data from the ...
0
votes
1
answer
12
views
Translate to SQL Failed Error in Entity Framework When Filtering on Nullable Navigation Property
Having issues with ef core failing to translate conditions on nullable navigation properties
I was writing a filter for an endpoint and noticed something strange.
var employeeOnServices = ...
0
votes
0
answers
7
views
label-line Not deleted recharts
hi i am try to give just to part of the pie label and when i no give label the label-line no deletei give example:
<Pie data={dataPie} label={renderLabel} cx="55%" cy="52%" ...
-3
votes
0
answers
20
views
Find products from csv via openai Chatgpt
I have created csv file for products of my store. Now I have created openai 'davinci' model . Its works fine . It gives me response as my prompt . But I don't need this exact prompt scenario. I just ...
-2
votes
0
answers
11
views
IE cannot read VBS content
I am trying to solve 1 issue. I am not really good with programming. Sorry. There is an issue in 1 environment where VBS file cannot be read in our application. The error is as below:
vbIsDate is a ...
0
votes
0
answers
5
views
How to remove multiple symbols from column in Biq Query?
I want to replace the symbols from below string,please suggest the solution.
"- , KALIRHAT, - , Bagribari, Jalpaiguri, West Bengal Kalirhat Kalirhat Bagribari DHUPGURI WEST BENGAL 735210"
...
-8
votes
0
answers
38
views
What is slicing in Python? [closed]
What is slicing in Python?
Slicing is used to access parts of sequences like lists, tuples, and strings. The syntax of slicing is-[start:end:step]. The step can be omitted as well. When we write [...
0
votes
0
answers
5
views
automatically change the orientation of a single page to landscape in quarto
In my quarto file, I have a large table that I would like to print on a landscape-oriented page. I followed this answer (option 1, since I still want to the footnote space not to rotate).
As it is, ...
0
votes
0
answers
5
views
postgres default list partition with many partitions
I am planning to reduce the number of LIST partitions on several tables by removing the physical partitions for partition keys that have no or few entries and use a default partition instead.
For ...
0
votes
0
answers
6
views
How can components be dynamically rendered inside another component in Nuxt 3 projects correctly?
I am unable to render icon components dynamically inside a navigation component.
I created a Dashboard icon inside components/icons directory
<script setup>
</script>
<template>
&...
-1
votes
0
answers
13
views
Regex match group multiple times with separator between, and before / after some character [duplicate]
I've tried for a while to figure this out, but I can't seem to find a solution anywhere.
Given the following input: 41 48 83 86 17 | 83 86 6 31 17 9 48 53
How can I write a pattern that will match ...
0
votes
0
answers
5
views
What's the difference between "import" and "Stream Components"? [Perforce]
guys!
Recently I tried to import some of the paths under the Depot Stream into the Stream view of another Depot, but I ran into performance issues and the whole server started to get abnormally stuck.
...
0
votes
0
answers
3
views
Running Issue on SEctractor
I got this bug while running SExtractor
`----- SExtractor 2.28.0 started on 2023-12-04 at 16:30:12 with 1 thread
Reading Neural Network Weights
Error: SOM file not found: default.som
`
But I didn't ...
0
votes
0
answers
4
views
Systemui keyguard window cannot perceive resume activity switching
There is an Activity A, which set showWhenLocked = "true". when it resume on foreground, android system will set keyguard occluded, then A requestDismissKeyguard finish itself, systemui will ...