All Questions
24,001,909
questions
0
votes
0
answers
5
views
How to Display and Protect PDFs on a Website Like Scribd (No Direct Downloads)
I'm looking to implement a feature on my website similar to what Scribd offers for PDF documents. The goal is to allow users to view and search within PDFs but prevent them from directly downloading ...
0
votes
1
answer
22
views
Python Pandas keyError when passing a column list
Let's say I have a dataframe that has 4 columns A,B,C,D. and I want to check if column A,B have duplicate records.
column_list=['A','B']
#I tried:
output_df=df[df.duplicated(column_list)]
#and:
...
0
votes
1
answer
18
views
R for loop to modify a list of dataframes
I'm terrible at for loops in R. My typical use case is modifying many dataframes in the same way. In the following example, I am trying to add rownames to each dataframe in a list. It's writing to a ...
0
votes
0
answers
8
views
Unix Socket Connections Refused On Docker Volume
I seem to be hitting some sort of permissions issue while trying to use unix sockets between my host and a Docker container.
Within a running container, I have a server listening to a unix socket on a ...
0
votes
0
answers
8
views
terraform plugin that enfoces the existence of a resource
I'm developing a terraform plugin using the plugin framework. I have defined my resources, and users can add and remove them and things are working. However, there's one resource that's required. I ...
0
votes
0
answers
9
views
Can I use C++ Dynamyc Link Library ARM build dll in Windows ARM OS in .NET x32/x64 application application?
The article https://learn.microsoft.com/en-us/windows/arm/overview states that running x86 and x64 apps in ARM based Windows OS versions is possible. But it is unclear how to use C++ native dll (...
0
votes
0
answers
6
views
Easy to use online form that pulls information form Google sheet
I'm looking for an online service that allow me to publish a form on my website that allows you to full-up information from a Google Sheet spreedsheet.
Basically, the same thing this other user asked ...
-2
votes
0
answers
12
views
Create Regex JavaScript for input tags [duplicate]
I need to create a regular expression to check the format of the text entered by the user.
I expect text in the format "#tag1 #tag2 #tag3" or "#tag1" or empty ""
Tried ...
0
votes
1
answer
10
views
OpenEdge JSON with a extent propertry
I'm having trouble reading a JSON that has a extent[6] data property.
This is the JSON:
{
"SalesRep": [
{
"SalesRep": "BBB",
&...
0
votes
0
answers
5
views
how can i dynamically add new routes/pages?
i am trying to add new pages with a press of a button.
i thought adding new routes and navigating to them after a press of a button is the way to go, but it didn't seem to work, plus, i am not sure if ...
0
votes
1
answer
19
views
How do I "manually" set the most significant (32nd) bit of int32 number type?
I'm trying to learn how bits, bytes and memory work and right now I want to directly (manually) set the most significant (32nd) bit of an int32 number to 1 and display the given number. What I expect ...
0
votes
0
answers
5
views
Unity: import video file without using a VideoPlayer
I'm trying to load an .mp4 video file at runtime via script in order to have frame textures used by a shader. I have absolutely no need for video playback, thus I am looking for a way to load the ...
0
votes
0
answers
10
views
Update SSIS packages in SSMS jobs
I'm working in a system made by someone else who left and left no documentation. He used SSIS packages that run automated in jobs to get data from various sources and put it in our data warehouse. ...
0
votes
0
answers
12
views
Assign code to multiple commandbuttons via loop
I am currently working on a vocabulary programm. That includes choosing which chapters (1-35) should be checked. I have a userform with 35 checkboxes. I have assigned the properties for the checkboxes ...
0
votes
0
answers
4
views
Both USB Host and charging on android device
I'm looking a way to achieve simultaneous OTG and charging on Android device. How does the device detect this?
My goal is to connect a self-powered custom Arduino-based board to an Android device, ...
0
votes
0
answers
4
views
How do i loop through multiple nodes in xslt bpel
I have multiple shipment item structure, i need to loop through each and write into the record.
<oa:ShipmentItem>
<oa:ID>100-0000</oa:ID>
<oa:RevisionID/>
-<oa:ItemIDSet ...
-2
votes
0
answers
10
views
How to download the page data of a URL through C#?
I am trying to download the data from a web page programatically to retrieve the banner content. The URL is a USPS tracking page.
If I go to the page and do control S and save, it downloads correctly. ...
0
votes
0
answers
5
views
ADF Lookup Activity Row Limitation
We have to fetch records 10k+ records from source by using ADF Lookup activities but there is limitation for Lookup activity is only allow 5000 records at a time to fetch from source system. in this ...
0
votes
0
answers
5
views
From Etabs Model With Excel Vba Get Hinge Results
I want to get hinge results with excel vba from my etabs model. I can't find any examples from CSI API ETABS v1 files. I can connect excel vba and etabs model. How can I get hinge results (fiber ...
0
votes
0
answers
5
views
how can i solve python questions
git command is not reutring any value in makefile
im just want answer I’m sorry to hear that you’re having trouble with your makefile. Based on my research, it seems that the error is due to the ...
0
votes
0
answers
4
views
how to renew Oauth token when claims change
So I have a working app using oauth (using okta) and I have an issue.
When I change my claims in the authorization server the app does not see this until the token expires or I logoff and login again.
...
0
votes
0
answers
8
views
Error resolution for R Error, "Error: protect(): protection stack overflow"?
I am trying to run a LASSO model in RStudio on proteomics data. We have data from 3000 proteins, and I am trying to load all proteins with our outcome into a formula as below:
mod.spec_adj <- as....
0
votes
0
answers
8
views
Following FastAPI Tutorial - Poetry install failing on Greenlet
I'm currently attempting to learn to use FastAPI using the tutorial found here: https://christophergs.com/tutorials/ultimate-fastapi-tutorial-pt-7-sqlalchemy-database-setup/
Each step comes with it's ...
-1
votes
0
answers
10
views
how to play a audio from a audio stream url using python (don't want to use vlc)
I have a audio url, It can be simply played from a browser and python-vlc library but I want another way to play the audio using requests and libs like pydub, playsound etc,..
I don't use python-vlc ...
0
votes
0
answers
20
views
Why is overriding necessary for the clone() method in the class if we are calling the clone() on the instance of the class in some other class? [duplicate]
class Cat {
int j;
Cat(int j) {
this.j = j;
}
}
class Dog implements Cloneable {
int i;
Cat c;
Dog(Cat c, int i) {
this.c = c;
this.i = i;
}
...
0
votes
0
answers
10
views
IntelliJ doesn't find classes in the nearest package
I do simple Java project (educational). Can't understand why class Client in package "client" doesn't see other classes from root "src".
How can I import class Connection to class ...
0
votes
1
answer
18
views
NoClassDefFoundError: javax/servlet/Filter when compiling maven project
I have recently started my first maven project and after creating a file which uses spring security it doesn't launch anymore due to "ClassNotFoundException: javax.servlet.Filter".
I have ...
0
votes
0
answers
6
views
Issues when creating test using vitest
I created a next.js app using typescript, prisma and trpc using, So far i have integrated auth0 so users can log in. I am using the new next.js app router
I'm experiencing errors when i run tests ...
0
votes
1
answer
11
views
JavaScript intercept access to array-like class
I have a class that provides access to an array, along with some other methods. I would like to use an array of indices to intercept the access to the underlying array (& the array's length) but ...
0
votes
0
answers
7
views
SQL Function pagination - One to Many Relationship
I am writing a Supabase Database function using SQL. I have 2 tables one is Product and Other is Inventory. One product can have multiple inventory entries so Product table does have one to many ...
0
votes
0
answers
3
views
Azure login using Javascript in zabbix server. its using duktape javascript implementation
i need to login to Azure from Zabbix server that is located in Azure
i enabled identity on the server
now i need to login to azure using the identity within a javascript item
i saw that in need to ...
0
votes
0
answers
3
views
python pyproject.toml enclose files in package dir
repo package directory:
report:
report.py
template.dat
template_testline.dat
and in pyproject.toml I have:
[tool.setuptools]
packages = [ "report" ]
but when I install the program ...
0
votes
0
answers
12
views
Recreating a figure from an article
I know this is poor form, but I really don't know where to start. I'm trying to re-create this figure but I don't even know what it's called. The article doesn't mention what the figure is called.
The ...
0
votes
0
answers
9
views
Grails project on file change restarts tomcat flushes out session data
Grails project with embedded tomcat on intellij ide : on file change tomcat is restarted but session persistent is not working. User is forced to re-login everytime a change is made in any file
Even ...
0
votes
0
answers
4
views
How to enable a table of a B2C tenant using the azure CLI?
I tried to enable a table (to be queried with KQL) using the Azure CLI running in gitbash on windows. My intention is to enable the SignIn logs for an AzureB2C tenant.
az monitor diagnostic-settings ...
0
votes
1
answer
8
views
How to unpivot data from multiple tab into one tab using app script?
I just tried this lo unpivot automatically from 1 sheets to another and it worked perfectly. however, i have to unpivot the others tab into 1 sheets and i have no idea how to unpivot data from ...
0
votes
0
answers
10
views
Issue with Kotlin code while trying to fetch data from SQL Server
I'm trying to fetch data from a table in SQL Server using Android Studio with Kotlin code and then insert to same table.
First am trying to fetch largest value in RegistrationID column from ...
2
votes
0
answers
21
views
Numpy eig/eigh high memory usage
Let me start with a disclaimer that I am not as experienced in Python as one might want to be, so it could be that this is being caused by something I had caused myself.
Disclaimer aside, I've noticed ...
0
votes
0
answers
6
views
How to decompress .xz files, .tar.gz, .tar.bz2 files to specific directory?
I need to decompress .xz file to a specific directory with a single command in Ubuntu, the same with .tar.gz and .tar.bz2 files. The key problem is in that specific directory, default is the current ...
0
votes
0
answers
10
views
Android : How to observe three different sql queries and get multiple different results using RXJava
I want to observe three different sql queries which return three different kind of result. For this I have tried the below code.
var searchTicketsObservable = ticketHoldersRepository.getSearhTickets(...
0
votes
0
answers
5
views
RubyMine issue: turbo-rails completion not working
I have the latest RubyMine, rails and ruby versions. Suggestions like "turbo_frame_tag" don't autocomplete and the error "Cannot find 'turbo_frame_tag" pops up.
Have you ...
0
votes
0
answers
7
views
How to retrieve the percentage of people who selected something in the application from Cloud Firebase
I am a beginner programmer, I am creating a mobile application that simulates the course of the European football championship where the user completes the results of the group stage matches one by ...
0
votes
0
answers
4
views
Searching for pyplot.streamplot integration size, step or smoothing factor
I would like to know what the integration step, which apparently depend on the density parameter choice, of the pyplot.streamplot function. Indeed, my vector field is very noisy, and yet, the ...
1
vote
0
answers
12
views
SFTP Connection through IdentityFile in Java
I'm developing a Java application that has to store data inside an SFTP.
The test environment has a password authentication, meanwhile the production environment has an authorized RSA key used as ...
0
votes
0
answers
7
views
How to programmatically change the icon in Android?
I am making an Android app using Java. I would like to change the icon of the app programmatically like how the Calendar app does. I used following code in the manifest:
<activity-alias android:...
0
votes
0
answers
10
views
Chart.js `mousemove` event doesn't register properly if mouse is moved too quickly
I'm using Chart.js 4.4.0 to create a chart with a crosshair effect similar to that of the Flot.js crosshair plugin. Following this YouTube guide, I've produced the following example code:
<html>...
0
votes
0
answers
6
views
Verification of payload against the signature after signing payload
I am creating a utility that generates a token but for my testing purposes, I want to know if it is working fine.
R9861622CN-1875501052-...
0
votes
0
answers
16
views
Trying to open by VBA a ".docx" word document based on a ".dotm" template will launch a temporary file with security message even in trusted folder
Sorry I asked the same question in an Access World post, but I could not found a solution.
In an Access form or in an Excel userform, I have a text box and a button. In the text box the user will ...
0
votes
0
answers
7
views
Generating unique vectors using randi
I want to randomly generate 6 vectors using randi, but I want to add specific parameters for what can be generated. First, I don't want any vectors to be duplicates. What can I add to make them unique?...
0
votes
1
answer
21
views
How to access the conf package?
! pip3 install conf
! pip3 install boltiot
import speech_recognition as sr
import os
import webbrowser
import pyttsx3
import time
import conf
from boltiot import Bolt
import todaydate
import ...