Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 12111 articles
Browse latest View live
↧

Convert Raw SQL query to Laravel DB Query

I have the following raw SQL query:select a.id user_id, a.email_address, a.name_first, a.name_last, count(b.id) number_of_videos, sum(b.vimeo_duration) total_duration, sum(b.count_watched)...

View Article


Set admin role for an LDAP user in Hyperledger Fabric CA

I have a Hyperledger Fabric Blockchain using V1.4, I am connected through LDAP to my organization's Active Directory and I want to be able to change the roles of my users from my AD.Basically I need...

View Article


Image may be NSFW.
Clik here to view.

IBM SQL for data science course Peer-Graded Assignment

hi I'm on SQL for data science course, I have a problem to connect to IBM database. If you are a person who took this course, could you explain me how did you connect with this example :%sql...

View Article

Issue at loading word document with docx4j

I try to use docx4j to interact with word documents in my program (before I used Apache POI). But I meet an issue at the very beginning. I downloaded the last version of docx4j (11.4). Here is my...

View Article

Image may be NSFW.
Clik here to view.

Create a template for multiple figures using Plotly in Python

I am trying to create a template for a heatmap and a line chart using Plotly in Python. I want to use the combination of this template as well as the plotly_white.However, combining them remove the...

View Article


Variable set in MDC is not accessible in log4j2

I have a spring MVC project( not a springboot ). I am trying to use MDC to add traceId for logging(MDC.set("X_REQUEST_ID",uuid.randomuuid().tostring()). Now I have added the code to set a...

View Article

Problems with Terraform import blocks

I am currently trying to import some existing VPC Peerings into my Terraform state so that these are automatically managed by it.These VPC Peerings are created in the config with 'for each', thus the...

View Article

CannotResolveClassException:...

I have Jmeter 5.6.3 Installed on linux ubuntu using command line and need to use ConcurrencyThreadGroup. So I install the ConcurrencyThreadGroup.jar and move it to lib/ext folder, but when I run the...

View Article


PineconeConfigurationError: You haven't specified an Api-Key

## Vector Search DB In Pineconefrom pinecone import Pinecone, ServerlessSpecimport ospc = Pinecone(api_key='a561dac3-3246-4aff-97fb-1f648d2ce750')index_name = "text-embeddings"if index_name not in...

View Article


test for nested exception nestjs

I have a nested exception in my method which returns an error based on request (http or proto) and I'm writing tests for it with vitest. The problem I encounter with it is my tests pass successfully,...

View Article

Implementing Mutual TLS (mTLS) in FastAPI with Differing Certificate...

How can mTLS be implemented in FastAPI with a strategy where the server certificate(client-cert.pem) expires after 10 years, and the client certificate(client.p12) imported in the web browser expire...

View Article

Postgres Version 9.6 skips syntax error while 16.3 doesn't

UPDATE Image SET objectid=...

View Article

Concatenate sales month names in DAX

Using the AdventureWorks dataset, I need to create the following report in Power BI: First column has CustomerKey, second column Total Sales of this customer, and third column the distinct...

View Article


Image may be NSFW.
Clik here to view.

Placing annotations outside of a ggplot2 plot when the axis is categorical

I want to add two arrows with corresponding text to the outside of the Y axis in a ggplot2 plot, but the X axis is a categorical variable, and I have only found solutions (implemented below) when both...

View Article

Pairwise comparison of proportion with R

I am new to R. So here is my problem, I would like to perform a pairwise comparison of proportion. In my data, I have three sessions and time slots per session. I added the count per time slot knowing...

View Article


Image may be NSFW.
Clik here to view.

Failure to execute PHP codes on local hosts [closed]

VScode error:I am in the 'settings.json' righ now. becuse i can't find php.exe in /opt/lampp/PHPI must to find php.exe because I need to edit this in settings.jasonI need to edit the above code like...

View Article

jQuery serializeArray() into new JSON array with individual items

I am using jQuery serializeArray() and it successfully collects the engine form info. However, I need the info in an array so that each "engine" is an item in the new array. Engine 1, Engine 2 etc....

View Article


Looking for a script that can trigger alert if RSI cross upper bollinger band...

I'm looking for my TSA TDI indicator to only trigger when crossing the upper bollinger band when 50MA is going down // and to trigger when crossing the lower bollinger band when the 50MA is going...

View Article

Getting error when trying to configure SNS with AWS Cognito

I am trying to create a Cognito User Pool and I want it to be able to publish to an sns topic to send SMS messages. My main problem is that when I am trying to bound the resources on the sns topic...

View Article

Django stuck after running Docker command as subprocess

When I run this command:manim_command = f'sudo docker run --rm -v {base_dir}/manim/python_code_files:/mnt/code -v {base_dir}/media:/mnt/output manim-image manim -ql /mnt/code/user_code.py -o...

View Article
Browsing all 12111 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>