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

Image may be NSFW.
Clik here to view.

How to Resolve White Space Gap Between Header and Body Content in Rendered...

I'm having a problem after I put together some components. There's this annoying gap of white space between the title at the top and the main content below it. It doesn't look right, and I really need...

View Article


Add attribute & value to element using JavaScript

I'm creating a dark / light theme toggle for my website. I'm using a Bootstrap Nav bar on my site. I'm using a JavaScript event listener to change the theme. I need to change the Bootstrap Nav bar to...

View Article


Capture first and third digits after lookbehind with PHP regex

I have some strings that begin with ABC123 (simplified example for demonstration - actual strings may not be numbers or letters). From each string, I want to capture the character after ABC (1) and the...

View Article

Why qualified path patterns accept constants, structs and enum variants even...

Path patterns are patterns that refer either to constant values or to structs or enum variants that have no fields.Unqualified path patterns can refer to:enum variants, structs, constants, associated...

View Article

Tekton Migrating From paketobuildpacks/builder:base To...

The Tekton pipeline was working fine until the migration to Jammy. The only pipeline code changed was the image builder name.On the "task-build-packs" the "prepare" step works fine and I can see the...

View Article


Creating multiple family trees

I have text file structure like this:NAME sonMOTHER motherFATHER fatherNAME fatherMOTHER grandmother NAME othersonFATHER otherfatherMOTHER other motherAs output I should get something like...

View Article

Viper failing to create default config when config doesn't exist

I am trying to create a default configuration file with viper if it doesn't already exist.However, I am at a loss because viper seems to need this file to already exist.I get the following error...

View Article

Path tracer fireflies

I'm trying to make a path tracer but I have no idea how do I solve fireflies problem when sampling from env map. Env maps usually contain really bright and small areas and when some ray hits that...

View Article


FAcing error cannot open source file "curl/curl.h"

#include <stdio.h>#include <curl/curl.h>int main(void) { CURL *curl; CURLcode res; // Initialize libcurl curl_global_init(CURL_GLOBAL_DEFAULT); // Create a curl handle curl =...

View Article


Persist state via URL query parameters while avoiding long strings

I'm persisting some state in my application via URL query parameters.The state is used to determine filters/sorts applied to a table.The issue is that the resulting string can get too long.I'm trying...

View Article

When does a distributed system need ZooKeeper

Why do some distributed systems like Solr or Kafka need ZooKeeper, but some distributed systems like Cassandra don't?

View Article

VS Code - space before function parentheses

Is there a way to disable removing space before parentheses when editing a function in VS Code?Lets say I have a functionfunction render () { // some code here}When I start editing it, VS Code removes...

View Article

Image may be NSFW.
Clik here to view.

Replace tokens during release in Azure DevOps

I have a release pipeline to deploy an ASP.NET Core web app. This was created from a simple ASP.NET web deploy template on Azure DevOps. The web deploy step just points to the .zip file of the artifact...

View Article


Aggregator transformation gives only one row

In aggregator transformation,I used max function. I am getting single row for each group. But multiple rows have maximum value. How to get the other rows details

View Article

Wordpress - how to get current category name inside functions.php?

how to get the current category name of the page inside functions.php?this is for adding a load more functionality based on a category per page.this is what my current code looks...

View Article


How to hide PAT in js file to host it at github Pages

I have a simple html page that connects with a js file and makes api calls to gihub api, Although it works very well in my local environment as soon as I push the repository to github my PAT(personal...

View Article

Which part of the server-side stack responds to HTTP requests?

Hopefully this question is appropriate for this site -- please let me know if not!I am reading a textbook on web development (Fundamentals of Web Development by Connolly and Hoar, 3e) and while I am...

View Article


Vectorized way to copy elements from pandas Series to python built-in array

Is there a vectorized way to copy elements from a pandas Series to a python built-in array? For example:from array import arrayimport pandas as pds = pd.Series(range(0, 10, 2)); s += 0.1a = array('d',...

View Article

Apollo Server v4 throws Cors issue

I am getting the typical CORS issue while accessing my backendHere is my backend codeconst app = express();const httpServer = http.createServer(app);const server = new ApolloServer({ typeDefs,...

View Article

PayPal API Billing Authentication Failure (Python Flask)

I'm encountering an authentication failure issue while using the PayPal API to create billing plans and handle subscriptions. Here's the error message I'm...

View Article
Browsing all 15461 articles
Browse latest View live


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