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

javascript document.write

I've been looking on Google and I searched on SO for the answer, but I can't find anything. The document.write function seems pretty useless because it replaces the previous contents. Does it accept...

View Article


How to configure unity container to provide string constructor value?

This is my dad class public class Dad { public string Name { get;set; } public Dad(string name) { Name = name; } }This is my test methodpublic void TestDad() { UnityContainer DadContainer= new...

View Article


plpgsql Error: RETURN cannot have a parameter in function returning void

I am trying to extract the count of records corresponding to a specific date and user_id which do not have corresponding user_id for the next later date in the database. This is the way I am trying to...

View Article

Error while attempting Dynamic load of Oracle client library in AIX

I am working on a project and recently I have changed static linking of oracle client library to dynamic loading of library whenever it actually try to call a function from OCI (Oracle client library/...

View Article

run a subprocess in a loop

I have for loop in python in each iteration of the loop I want to run a bash script and after its termination continue the loop and again run the bash script:for batch in something: proc =...

View Article


How to use collections.deque most effectively (popleft vs. appendleft)

I have been learning queues as I study data structures in Python and wanted to ask a question regarding its use. I suppose there are two ways append/pop from a queue. First way would be to use...

View Article

Spring Boot Oauth2 Resource Server UserDetailsService

Trying to get a UserDetailsService working for an oauth2 resource server I set up. I'm able to successfully authenticate the jwt, but nothing I do seems to get it to call the loadUserByUsername method....

View Article

Using a custom certificate for the Kubernetes api server with minikube

I have been trying to find how to do this but so far have found nothing, I am quite new to Kubernetes so I might just have looked over it. I want to use my own certificate for the Kubernetes API...

View Article


Paypal: Orders API vs Payments API, and finding better documentation

I am completely lost among PayPal's API documentation. I have been working with the orders API and the PayPal Checkout SDK trying to set up payments for a project. In trying to decipher the Orders v2...

View Article


Env variable from AWS Secrets Manager in Kubernetes

In EKS I am trying to use SecretProviderClass to provide secrets as environment variables to containers. I can see the secret mounted inside the container but no combination of key/names is allowing me...

View Article

Issues with Pywinusb.hid in Python: Unable to Send Feature Reports

I'm working on a Python script using pywinusb.hid to interact with an HID device. I'm attempting to send feature reports to control the device, but I seem to be encountering issues. Here's a snippet of...

View Article

Using buildroot in a Linux container on macOS fails in file operations

I'm attempting to do a buildroot build in a Linux Docker container on macOS 14.3 (Sonoma).The build starts out ok, but fails when doing file operations like rsync. I thought it might be macOS's file...

View Article

Issues with hello world wxWidgets project in Code::Blocks

While I was building the "hello world" project from the official wxWidget site in Code::Blocks, I got the following error:||=== Build: Debug in wxTest2 (compiler: GNU GCC Compiler)...

View Article


How to write fold_left in CPS?

Even though it's already tail-recursive, It's still interesting to see a CPS version of it.Here's the standart fold_left:let rec myFoldLeft f acc list = match list with | [] -> acc | h :: tl ->...

View Article

Unable to Fetch Posts by Search Criteria in React Application Using Redux and...

I'm building a React application with Redux for state management and an Express.js backend for handling API requests. I'm trying to implement a search functionality to fetch posts based on search...

View Article


Number of contiguous subarrays that contains at least k pairs of duplicates

I just had an interview and was given this question:Given an array numbers, and a positive integer k, count the number of contiguous subarrays that contains at least k pairs of duplicatesThis is the...

View Article

Selecting all rows for names that satisfy condition

I always come across these kinds of SQL problems and find it confusing what to do. For example, suppose there is a table of : names, year, food.`CREATE TABLE t ( id SERIAL PRIMARY KEY, name...

View Article


Convert to hyperlink whenever enter filename in active cell google script

I have a sheet named "Source" which contains the below columns:A --> filename,B --> link.I would like to create a google script that whenever I insert filename into a cell of an active sheet, it...

View Article

Make every element different (no repeat) color from randomly generated list...

I have an array of colors and then I randomized them. I want to assign different color to each list item instead of having items with the same colors or having repeated colors.const myList =...

View Article

SASS @use issue? Works for variables but not mixins?

Basically I'm working on a project, and completely confused why my scss file is not importing a mixin from another scss file. I have read the documentation on Sass and I believe I have followed the...

View Article
Browsing all 12111 articles
Browse latest View live


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