..."
sqlite,"Weird issue here, I am not getting all the results from the sqlite cli (and python prog).
If I convert the column to HEX, the values are identical, which lead me to believe there are no strange chars, ..."
"build,expo,package,build-error,eas","I'm working on a React Native mobile application for iOS and Android.
I've always been able to make development builds using the command:
eas build --profile development --platform android --clear-..."
dropwizard,i am in process of upgrading dropwizard version from 2.0.10 to 4.0.13. below error means it still somehow pointing to the old version of dropwizard as in the new DW version the AppenderFactory moved ...
"c++,linux,firewall,netfilter","Is there a library with which it is possible to edit the firewall rules without actually using system()?
The closest thing I was able to found is just directly editing the config file belonging to UFW
..."
"obsidian,obsidian-dataview","I've created a frontmatter only note in Obsidian like this:
Israel's Plan for Gaza Control
---
title: ""Israel's Plan for Gaza Control - AI Generated Summary""
summary: ""Israel's security ..."
"macos,kubectl,personal-access-token","I have to use kubelogin to connect to a remote Kubernetes cluster.
Mac OS with version 15.4.1.
Installed kubelogin with Homebrew (only this is available way for Mac):
brew install Azure/kubelogin/..."
"amazon-web-services,amazon-quicksight,quicksight-embedding","in quiksight, how to add filter value manually which should work as select all?"
"node.js,macos,vue.js,webpack","I have very strange problem. I have project on Vue 2.7 (Vue-cli), Node 20.11.0. This project works fine without any problem.
I created new another project on Vue 3.5/Vite and I upgraded node to 22.15...."
"single-sign-on,direct-line-botframework,power-platform,msal,microsoft-copilot-studio","I am using the following sample code to implement SSO login for a Copilot Studio agent, which is being called from an HTML page using MSAL in JavaScript. However, the API links for the token endpoint ..."
"c++,objective-c,objective-c++","I'm writing a rendering device interface for a game engine and I'm currently in the process of figuring out how to implement a Metal backend. My RHI is built around an abstract class RHIDevice, whom ..."
"sql,sql-server,t-sql","I have not seen this error before. It seems to happen when I add an additional column to the query.
User name not provided, either use -U to provide the user name or use -T for Trusted
Connection ..."
"c++,templates,visual-c++,subtype,c++-templates","I'm porting an old C++ code library that used to compile under VS2005, but is giving me trouble in VS2022. The library supports a kind of system to serialize objects to a stream, and to restore them ..."
"node.js,testing,fastify","When writing a test for my Fastify app, I'm trying to call the fastify.inject() with a POST method:
const response = await server.inject({
method: ""POST"",
url: ""/agents"",
..."
"python,langchain,langgraph","I’m using LangGraph to orchestrate workflows with a parent graph and a subgraph. The subgraph has its own checkpointing mechanism for state persistence, but I need it to retain memory of its own state ..."
"css,angular,sass,angular-material,angular19","I just created an angular 19 app from scratch. Now, I would like to add angular material, so I did:
$> npm install @angular/material
Next, I went to Custom Theming. The first code example on the ..."
"java,selenium-webdriver,microsoft-edge","I have a custom application that uses Selenium and Microsoft Edge to confirm successful logins to websites and send out a report on which websites were successful, which were not.
My set up is Java, ..."
"lme4,mixed-models","The two variables of my basic lmer() model...
lmer(SCPRE ~ LANGUAGE * ORDER + (1|PID) + (1 + |WORD), data = XP_DATA)
...have three levels each:
LANGUAGE: English, Italian, Spanish
ORDER: A, B, C
..."
"facebook,facebook-graph-api,instagram-graph-api,facebook-permissions","I'm building a social media management tool that allows users to schedule and publish posts to their Facebook Pages and Instagram accounts. For this, I need the following Graph API permissions:
..."
"sql,snowflake-cloud-data-platform","I have a table in SF as follows:
CREATE OR REPLACE TABLE objects_to_pivot (
row_id INT,
attributes OBJECT
);
-- Insert sample data
INSERT INTO objects_to_pivot (row_id, attributes)
SELECT 1, ..."
"sql,large-language-model,rag","I’m trying to build a Retrieval-Augmented Generation (RAG) system that generates SQL queries from natural language questions.
I think my code does part of the job, but I’m not sure what parts of RAG I’..."
"html,ruby-on-rails,datalist","I'm trying to replace awesomplete with straight HTML 5.0 using datalist.
I have the datalist generated by a partial that new/edit uses:
<%= tag.datalist( options_for_select(Client.order(:city)...."
"next.js,artificial-intelligence,google-gemini","I'm working on a project using Convex and I'm calling a function (SearchAI) via a custom action. However, I'm getting a server error with the following message in the console:
when i run my code in ..."
"python,python-3.x,icu","I was experiencing problems similar to well-known issues while installing PyICU. By following community hints I was able to succeed in installing the corresponding wheel. Finally, after doing so (i.e. ..."
"performance,conda,zsh","My Terminal windows are slow to start. I found that this chunk of my ~/.zshrc file is the culprit, taking up to 6 sec to execute:
# >>> conda initialize >>>
# !! Contents within this ..."
"ios,swift,xcode,swift-package-manager,xcframework","I have the swift package in the link below:
Revenuemore
My customer wants it as xcframework, not as SPM. How do I export as XCFramework?
I used:
swift package generate-xcodeproj
but an error ..."
"git,github,timeout,subtree",my team and I are trying to figure out how to incorporate git into our weird use cases. I'll explain what the use cases are and what we thought about handling it. Then I'll ask my question about the ...
"typescript,next.js,app-router,nextjs-middleware","I am trying to manage token based redirection using cookies.
Heres a sample code that should work on every route but it does not.
""middleware.ts"" file is inside the route directory.
No ..."
anylogic,"For my model, I have implemented a threshold system for a queue of trucks to be serviced in a seize block. When the queue reaches a lets say 4, adjusted from a slider then an additional forklift comes ..."
"memory,memory-management,instructions,6502","Every time I have a program that writes to $0200, the program crashes.
I'm trying to write a byte to memory address $0200.
I'm using a standard emulator (I've tried VICE for C64 and another generic ..."
"android,kotlin,android-jetpack-compose,kotlin-multiplatform","Can someone please help me in why Bar isn't recomposing with the new lambda instance?
In this example code, I am creating a new instance of onBarClick every time the state changes.
Since it's a new ..."
"matlab,ansys","I'm working with Lumerical FDTD and trying to access a specific field from the result of a far-field projection monitor. I retrieve the data using:
farfield = getresult(""monitor"", ""..."
"c#,twincat,twincat-hmi","We are working on a TwinCAT HMI server extension that is supposed to interact with PLC symbols which are not mapped. Reading values and calling methods works, but writing values only works for mapped ..."
"azure,azure-web-app-service,azure-managed-identity,azure-postgresql","Currently we have a webapp that connects to the DB with a username/password and the credentials are visible in the code repository.
I am struggling to find any specific documentation for this scenario ..."
"macos,emacs,copy-paste","I would like to:
Copy text from Emacs by highlighting it with a mouse (or copy from other applications with command+c).
Paste the copied text into Emacs with mouse middle click (or paste it into ..."
"http,maui,hybrid,maui-blazor","For development purpose i need to use my http image in blazor hybrid maui andoid, what are the way to this.
I have tried by using in AndroidManifest.xml with android:usesCleartextTraffic=""true&..."
"git,window,git-for-windows",This question is not a duplicate of this previous similar question --> The issue mentioned in this question was related to the use a script instead of builtin function for stash. This is not an ...
"c++,oop,openfoam","I am trying to compile a third-party solver written for openfoam7 by author Godino.
The solver is meant to do phase change using RPI wall boiling model and in this particular solver CHT has been ..."
"java,windows,batch-file,updates","I have a JavaFX application that I build with jpackage to create a .exe installer for Windows. This works fine, now I am looking towards a system to update the installed application, jpackage updates ..."
"php,laravel,authentication","My Laravel application all of a sudden stopped authenticating users even when credentials are correct. Here is the login function
public function login(Request $request)
{
$input = $..."
"python,numpy","I want to create a 2-dimensional numpy array object to store image data.
The way the image data will be constructed is by continually appending blocks of 2-dimensional data to this array.
I tried this ..."
"php,google-api-php-client","When login with Google and using Google API Client PHP, I exchange a code and obtain token and user_id. I save the token and user_id for that user.
App: ..."
"java,datetime","How do I get the duration between 2 dates spread across multiple units (years, months, days, hours, minutes, and seconds) while taking into account the time of the start and end dates.
**Additionally, ..."
swiftui,"Ok, I am going to post some sample code, and it is a very stripped down version, so I hope it doesnt hide the error, but basically I am downloading some data asynchronously and while it is downloading ..."
"search,solr","I am lost on the correct terminology here, please suggest clarifications.
I would like to allow users to build search ""facets"" on a solr-powered web application.
E.g. if they searched for
..."
"visual-studio-code,web-development-server,liveserver","I'm facing an issue with the Live Server extension in Visual Studio Code (VS Code). When I click ""Go Live"" in the status bar, it seems a port is assigned (e.g., Port: 5500 is displayed), but ..."
"reactjs,docker,docker-compose,node-modules","In the project root are located:
docker-compose.yml
folder docker
docker-compose.yml has the following content:
version: '3.8'
services:
frontend:
image: node:18-alpine
container_name: ..."
"flutter,image,dart","I'm building a simple dice roller app in Flutter. When I press the ""Roll the Dice"" button, I expect the dice image to change randomly between 1 and 6. However, the image stays the same even ..."
"c++,visual-studio,winapi,unresolved-external","I have trouble opening an external folder that has a c++ source and header files.
I tried accessing File>new>Project from existing code and created a new project from the existing external ..."
"haskell,rio",I'm trying to write a LogFunc (inside RIO) that stores all logging calls in a list (with a type of IOref [UTF8Builder]. My attempt was to create a LogFunc that does the storing and then calls the ...
phpmyadmin,"I'm having a problem inserting JSON into JSON columns. I'm trying to insert the basic ""{}"", but it gives a fatal error. Theoretically, I can insert JSON into a text data type, but this is a ..."
google-tag-manager,I'm running a digital marketing campaign and want to track how many users click on a specific CTA (Call-To-Action) button on my website. I'm using Google Tag Manager (GTM) and Google Analytics 4 (GA4)....
"c++,parallel-processing,mpi","I am currently writing a c++ MPI program to parallelize a certain computation. On Rank # 0, I have a priority queue of jobs. What I want to do is as follows. First, the highest priority item in the ..."
"installation,kali-linux","I try to install kali on a disk where Ubuntu is already installed (on sda). Erase all is ok.
When I boot on a usb device, I’ve the blue screen to install kali, and when I click on “graphical ..."
"c++,windows,winapi,rc","I am learning C++ and the Win32 API using w64devkit. I want to set the metadata of the .exe and I think I have to embeed a version.txt file in the .exe, but without a category, like ICON or MANIFEST.
..."
"c++,arrays,dynamic","I want to allocate an array of struct pointers, then initialize all the pointers. it is actually a 2D array, but I'm allocating a 1D array, and handling the offset manually. Here's what I have:
// ..."
powershell,"I tried to solve this issue many times, Copilot did not help me.
I need to run an automation according to certain conditions.
There are a few variables that represent errors, some of them should stop ..."
"calendar,timezone,icalendar","I have edited a .ics file, specifically to change the timezone from being EST to PST. This is made more difficult by the somewhat strange method that was used to convert the time in the file, being ..."
"c#,visual-studio-code",I am seeing some significant performance differences when running build through VS Code build tasks vs. from the terminal within VS Code. Is there anything that can be done to get it to perform the ...
"javascript,html,css,angular","This is the issue. The truncated text is replaced with ellipsis, but the highlight background is still applied.
This is due to that highlight is with the original text, not the truncated text. But I ..."
"laravel,laravel-12","I recently upgraded my Laravel version from 8 to 12.12. After the upgrade process, I started getting the following error in each create method:
PDO::prepare(): Argument #1 ($query) must be of type ..."
"r,shiny","Does anyone knows how to mirror r console logs to display in shiny dashboard real time? I mean parallel processing ui and backend at the same time.
Havent found any full proof method yet."
"javascript,textures,webgpu","What i'm trying to do is write to a storage texture in one render pass, and then read from this texture in a second pass, but value i get in the second pass is always the same, regardless of what i ..."
"arrays,dictionary,ansible,transform","In my playbook I have a list like this
users:
- readonly
- write
and I need to translate it to a list of objects/dictionaries
userDict:
- {'username': readonly, 'database': admin}
- {'..."
"python,telegram-bot,pyrogram",I have been trying to fetch the thread id from telegram using pyrogram so far I have been successful with fetching the chat ID itself but there are errors when i try to fetch the thread id (I am using ...
"django,digital-ocean","I'm trying to configure Django to upload media files to DigitalOcean Spaces when running in production. I've set up the following in my settings.py:
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3...."
"amazon-web-services,vue.js,amazon-cognito,aws-amplify",I have an AWS CloudFormation stack that sets up a Cognito user pool and user pool app. I created a simple Vue front end and I'm experimenting how to authenticate it using Cognito. I understand I can ...
"vim,vi,macvim","I certainly am not searching for this answer properly. It should be obvious.
Basically, enter goes to the start of the next line.
I want the opposite of enter. I want to go to the start of the ..."
"unity-game-engine,game-engine,maya,virtual-reality,fbx","I have a Maya Binary (.mb) file that is up to 3.5 GB in size, and I want to develop a VR game in Unity. However, when I export it to an FBX file, the resulting file is 2.5 GB, which doesn't seem like ..."
"java,reflection,java-17","In JDK 17, I encounter an issue while using fieldClass.getDeclaredFields() to get the field list in following sample code. The Field[] fields array returns empty even Field.class file for JDK17 has ..."
"android,push-notification,firebase-cloud-messaging","This issue is happening only with Android 15
Currently am using mipmap for smallIcon of notifications
and setting it programmatically
I have googled this problem, as well as the correct way of ..."
"visual-studio,.net-assembly,webassembly,using,resx","I've been trying for hours to get it work.
Trying to @inject IStringLocalizer Localizer
I cannot found a way to import that. I think that Microsoft is a bit laggy on this, Can you help ..."
"search,mariadb,escaping",I have a MariaDB database with a huge list of part numbers. But I need to be able to make search queries for the product where users might not use the right seperating characters. For example the part ...
"c#,sql-server,entity-framework-core,blazor-server-side","I am writing a simple online store application using a Blazor Server app. Nothing happens while saving the added items. The ""Save"" button is clicked, but the data is not sent to the database...."
sequelize.js,Is there a straightforward way to determine a model's existing associations? Somehow Sequelize is doing this internally to know how to query/build results. Rather than trying to piece together those ...
"docker,openai-api,ollama,nixpacks","I'm running Ollama locally on my machine with the llama3.2:latest model. I can confirm the model is up and running:
ollama ps
NAME
ID
SIZE
PROCESSOR
UNTIL
llama3.2:latest
a80c4f17acd5
4.0 GB
100% GPU
..."
"typescript,supabase,supabase-js","The code below tries to insert a row in the supabase database, which works fine. However, there seems to be a TypeScript error with the part .insert(body):
No overload matches this call.
Overload 1 ..."
"javascript,fabricjs","I am developing a web based application using Dancer2. I want to use Fabric.js to make an interactive drawing. However, I am unable to execute even the simplest drawing.
I can make a drawing as a ..."
"google-drive-api,google-cloud-run,google-workspace,google-cloud-iam,google-auth-library","I have developed an application using GCP- using python, and have tested it on local environtment and it was running successfully.
My apps access google drive API using local OAuth credentials.json ..."
"python,gremlin-server,gremlinpython","I’m trying to connect gremlin-python (v3.13.2) to a local Gremlin Server 3.7.3 on macOS 15.4.1 with Java 17, but every query fails with:
GremlinServerError: The traversal source [g] for alias [g] is ..."
"powershell,class,methods,types",I have created a module with a custom class that generates specific [Node] objects. The module has another class with an method that gets a single specific Node and also a method that gets a ...
azure-devops-extensions,"I am working with Azure DevOps Server 2020.1 using XML process. I have created custom fields where the user can enter different kinds of relationships.
E.g. one field is ""references"" and one ..."
"macos,swiftui,swiftui-texteditor","In SwiftUI macOS TextEditor I noticed a weird behaviour, the whole text is sometimes flickering if a word breaks to a new line. Unfortunately I could not find any fix as it appears in this simple ..."
"databricks,semantic-kernel,semantic-kernel-plugins","I am currently trying to use semantic kernel with databricks hosted sonnet-3.7 model. And I faced with the problem, that when creating an agent with the plugins, the plugins are not executed. It seems ..."
"javascript,livekit","I'm trying to integrate LiveKit (using LiveKit Cloud) into my web application (Python/Flask/SocketIO backend, plain JavaScript frontend), and I'm stuck on a persistent client-side error I can't seem ..."
"android,react-native,gradle","tl;dr: I restructured my projects file structure, and now it doesn't build anymore. Why?
I restructured my projects file structure. Before that, it looked like this:
root
all react-native files and ..."
"javascript,angular","Following this link I was able to load external js files as following:
import { Component, OnInit, Renderer2 } from ""@angular/core"";
import { ScriptService } from ""@app/element-types/..."
"c,window,x11,motif","I'm writing an Xt/Xm application and trying to emulate the effect of the Win32 ClipCursor on a widget.
However, the following fails to constrain the pointer to the specified widget area in confine_to
..."
"javascript,node.js,huggingface-transformers","To be clear, I am not looking for recommendations for software or libraries. I just can’t figure out how to get started so I am I am looking for sample code for calculating semantic similarity of ..."
"excel,excel-formula","I have an Excel file containing four columns: ""No"", ""Volume 1"", ""Volume 2"", and ""Average"".
The ""No"" column is located in cell A1 and contains ..."
"python,kivy,kivy-language,kivymd","Taking inspiration from the MDTabsCarousel example, I am trying to add tabs and content to the MDTabsPrimary and MDTabsCarousel at the runtime (KivyMD 2.0.1.dev0). More precisely, I am passing the ..."
"sockets,tcp,ipv6,raw","On my computer, I run a TCP server using a socket created with socket(socket.AF_INET6, socket.SOCK_STREAM).
On the client side, I use a RAW socket created with socket (PF_PACKET, SOCK_RAW, htons (..."
"php,laravel","I'm working on a login form in Laravel, but when I click the ""Login"" button, the page just refreshes without showing any error message, and I'm not redirected to the intended page (like the ..."
"docker,sockets,docker-compose","I have three containers configured via docker-compose. Each container needs to receive messages from the other containers. No other communication is required. I'm using sockets, which need an IPv4 ..."
rsocket,"I'm getting an SSL error when trying to hit a wss endpoint. I have the certificate but I don't know which keystore to install to.
Where should I install an SSL certificate for hitting a wss endpoint? ..."
"reactjs,recoiljs","I'm getting this error when using Recoil in my React app:
Uncaught TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'import_react.default...."
"wordpress,image,disable","In WordPress Betheme we have a lot of images sizes which fill our server but sometimes we don't need them.
for example I had 10 image sizes that I don't need them and they fill about 2 Megabyte of my ..."
"gtk,glib,gtk4,gobject","I create an test_object which contains a function _finalize.
G_DECLARE_FINAL_TYPE(TestObject, test_object, TEST, OBJECT, GObject)
....
void test_object_finalize(GObject* object)
{
GObjectClass *..."
android,"I am currently working with audiograms and found this available data type in Apple health connect ^1
Is there something similar available or planned for Google Health Connect?"
"sorting,gpgpu,radix-sort,gaussian-splatting",I want to implement a GPU based sorting algorithm using Vulkan from scratch for my library. This chapter on GPU based sorting in the GPU gems 2 (https://developer.nvidia.com/gpugems/gpugems2/part-vi-...
pine-script,"I added an array MacierzNr to add hhllNr values ( 11 10 01 00 corresponding to hhlltxt HH HL LH LL ). When I display an array it shows digits: 0 and 1 - I don't know why.
How is it possible that the 0 ..."
"python,pandas,dataframe,vectorization,boolean-logic","I'm working with a Pandas DataFrame where I need to track a boolean flag (in_position)
that becomes True after an entry_signal and resets to False only after an exit_signal.
This must be done ..."
"jenkins,jenkins-pipeline,jenkins-groovy","In my Jenkins pipeline, I would like to check an IP address (eg. 1.2.3.4) is reachable (based by ping is OK) or not. How can I achieve this? If there are a built in library for this, that would be the ..."
github-actions,"I'm trying to make preview deployments using the Github action rossjrw/pr-preview-action.
However, I'm getting a fatal error when the action runs:
fatal: not in a git directory
Error: There was an ..."
"c#,blazor,blazor-server-side","I am trying to show files in a list so that they can be selected by the user.
The Append method on Items of type MultiSelectedList is throwing an error: 'Value cannot be null'.
Which value is null? ..."
"flutter,firebase,dart,firebase-realtime-database","my flutter cant recieve data from firebase,instead it will highlight this code (late StreamController streamController;)
tried prompting in ai but still it didnt work.
is the problem within the code ..."
"python,python-typing,mypy,pyright","I am working with a generic class in python.
The corresponding TypeVar is restricted to a finite amount of (invariant) types.
Because it is of some importance what exact type it is at runtime, I ..."
"python,mysql","This is my table and I want to insert an image in it but I get the error ""Field 'storing' doesn't have a default value""
Mysql doc says that blob doesnt want a defaul value
mysql> show ..."
"c++,compiler-errors,packaging,unreal-engine5","I am making a new game based on the CitySample project by Epic Games in Unreal Engine 5.4.4, but when I try to package the game for Windows, the game throws an Unknown error with ExitCode=6 for ..."
"r,propensity-score-matching","I wanted to use Kernel matching as a method for Propensity Score Matching (PSM). In Stata, I can directly write ""kernel"" to continue, but I don't know how to do it in R. So I tried to write ..."
"hash,expo","I am using[email protected]Unable to resolve ""../native.node"" from ""node_modules\blake3\dist\node-native\native.js""
Any way to fix it? I am using it on an expo app
i tried to do npm ..."
"bash,curl,iot,esp32,tuya",Right now I'm trying to duplicate the function from postman to Arduino C++. With the postman I can get the access token with ease using the tuya cloud to cloud.json file. I tried to use AI since I'm ...
"javascript,reactjs,react-flow","I'm using React Flow with a custom collapsible tree structure inside a node. Each leaf node has a . The edge that was connected to that handle stays in its previous screen position, ..."
"javascript,adobe-indesign,extendscript","I want to write an ExtendScript program for InDesign which creates a TextFrame, and then fills the frame with paragraphs, styling the paragraphs as it goes. I.e., add a paragraph, apply a style to ..."
"python,ms-autogen,mcp","This is all running MCP server and I have also validated it via cloude desktop
from typing import Dict
from mcp.server.fastmcp import FastMCP
# Initialize the FastMCP server with a name
mcp = FastMCP(..."
visual-studio-code,"How do I properly build a deployable web version of VS Code (i.e. HTML/CSS/JS files that can be hosted on a web server)?
I have successfully built the Electron desktop version of VS Code following the ..."
"java,html,email,utf-8,gmail-api","Just converted my GCP cloud Java app to send email messages to Google Workspace via Gmail API rather than sendmail. In the past I was able to format HTML UTF-8 and send extended characters, but now it ..."
"javascript,tauri,tauri-2","Info
I want to press the the add color button and then the color should be added instantly to the color_list
HTML
and >) to implement a WebSocket client for the OKX exchange. In my destructor, I call async_close() to gracefully shut down the ..."
pine-script,"//@version=5
indicator(""Double"", overlay = true, max_bars_back = 500)
prd1 = 8
prd2 = 20
float ph1 = ta.highestbars(high[1], prd1) == 0 ? high : na
float pl1 = ta.lowestbars(low[1], prd1) == ..."
"angular,server-side-rendering","I am using an Angular 19 Workspace with SSR/SSG.
I have a service in a library, that uses an Injection Token (from the App):
Service in Library:
import { inject, Injectable } from '@angular/core';
..."
"github,changelog","I've got a public opensource project on github and want to use github-changelog-generator v0.0.12 for generating release notes.
Call: java -jar github-changelog-generator.jar ""0.9.0"" ..."
"c#,ocr,tesseract","I’m building a C# application that reads single numbers (1–13) from clean, binary‐style images using Tesseract OCR. Everything works perfectly except the number 11, which Tesseract consistently ..."
"azure,visual-studio-2022,publish,firewall","I am trying to publish an ASP.Net Core MVC application as an app service on my Azure Portal.
When I try to create a publish profile, click Azure for the target, then choose Azure App Service (Windows),..."
"spring-webflux,reactive,quartz","this is more of a theoreticall question as Im starting to learn reactive programming(kotlin, spring webflux), Im now wondering what are some good practices about writing scheduled jobs(in blocking aps ..."
"yahoo-api,yahoo-search","I’m building a Python client for the Yahoo Ads API v16 and need daily performance metrics (impressions, clicks, cost, etc.) for a campaign over a date range. According to the StatsService/get docs, I ..."
"unity-game-engine,spline,shader-graph","I’m making a multiplayer racing game which uses Splines to create roads, I also use some scripts from Splines Samples. When I’m in singleplayer, there’s no strange errors. But when I open second unity ..."
"neovim,netrw","I am trying to use neotree with the following config:
local map = vim.keymap.set
return function()
local toggle_cmd = vim.api.nvim_replace_termcodes(
""Neotree toggle ..."
"javascript,typescript,cloudflare,cloudflare-workers,itty-router","I'm trying to create a CloudFlare Worker using the itty-router. Following the guide on TypeScript we have to define the TypeScript types as in the code below.
The code works fine but there's a ..."
"excel,vba","Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 6 Then 'just only choose F column will be progress
Dim row As Long
row = Target.row
Dim ..."
"installation,pip,system,openstack","I have a problem installing OpenStack, here is the error messages when executing ./stack.sh:
File ""/opt/stack/requirements/.venv/lib/python3.10/site-packages/pbr/packaging.py"", line ..."
"python,large-language-model,huggingface,ollama,language-model","I'm trying to run a Python script that uses the ollama library to generate responses from a custom LLM model. My code attempts to call ollama.generate() using the following model name:
chosen_model = '..."
c,"this here is the code i wrote; it basically prints backs your name
#include
int main() {
char x[4];
printf(""name\n"");
scanf(""%s"", x);
printf(""..."
"jakarta-mail,apache-commons-email,javax.activation","I'm trying to send an email with an iCal attachment using Commons Email and Jakarta Mail.
org.apache.commons.mail2.jakarta.HtmlEmail email = new HtmlEmail();
email.setCharset(EmailConstants.UTF_8);
..."
"javascript,html,css,user-interface,scrollbar","Problem:
I'm designing a website where both the main content and the sidebar scroll together using a single scrollbar. Since the sidebar is shorter, I've used position: sticky with a negative top ..."
pycharm,"PyCharm has various colours of underlining, for example
How can I find out what these mean? If I hover the mouse over I don't get a tooltip or any other UI reaction. Right-clicking doesn't offer any ..."
"python,django","alvin@LAPTOP-B4OCSM17 MINGW64 ~/Desktop/Work/Projects/secondChoice (main)
$ gunicorn secondChoice.wsgi:application
Traceback (most recent call last):
File """", line 198, in ..."
"arrays,google-sheets,google-sheets-formula","I'm trying to embed a few separate arrays into a larger array at points where a true/false condition is met. I have a list of ""Basic Items"" which form the base of the array. Based on a true ..."
"excel,office365","I am trying to unprotect a worksheet, check that the selected cell is in Column C and has one of 3 strings (People's names) and then add a row two rows down and then reprotect the worksheet. I am ..."
"kotlin,debugging,android-jetpack-compose,back-stack,navcontroller","I have the following code:
@Composable
fun Navigation(parentNavController: NavHostController, sharedNavViewModel: SharedNavViewModel) {
val navController = rememberNavController()
// for each ..."
"reactjs,forms,material-ui,digital-signature,mui-x-data-grid","I'm working on a form using Material UI and React. I structured my form using a layout, and each input is wrapped inside a so they should take up the full width.
However, the inputs appear centered ..."
"python,django,download,fastapi,minio","I'm using Django (frontend) and FastAPI (backend) with MinIO as file storage. My setup:
FastAPI generates a presigned MinIO download_url for the file.
Django fetches metadata via FastAPI, then ..."
"assembly,arm,gnu-assembler,thumb","I am trying some CMSIS code for Cortex-M microcontroller.
The startup assembly code contains below snippet:
.text
.thumb
.thumb_func
.align 1
.globl Reset_Handler
.type ..."
c,"I am trying to make an Employee Management System that can register, delete, and display the data. Deleting the records was the only problem I have and it always deletes the last element of the array.
..."
"ios,react-native,expo",I am new to React Native (0.79.2) and I encountered a weird problem where updating a fixed-width text causes both the old and the new values to briefly show up on top of each other. It happens for at ...
"mobile,repair","I've accidentally broken my mobile screen (Redmi Note 5), and I'm planning to get it replaced. However, I'm very concerned about the safety of the personal data on it. Since the touchscreen is ..."
"c#,android,ios,.net,maui","I'm facing an issue with my .NET MAUI app (using .NET 9.0 SDK). When the Android keyboard appears, it overlaps the bottom input fields — especially Entry controls placed inside a CollectionView. I ..."
github-actions,"I've an action script that runs when I create a new release on github
Here is a snippet of the build steps:
jobs:
linux:
runs-on: ${{ matrix.platform.runner }}
strategy:
matrix:
..."
"sql,mariadb","In the following query I would like to know if CharacterID is present if ActLinked is 1, if so the result should be 1 otherwise 0. With this query I get a 1 if CharacterID is present if ActLinked is 1,..."
nexus,"We need to install the latest version of robrichards/xmlseclibs, which is version 3.1.3:
https://github.com/robrichards/xmlseclibs
https://packagist.org/packages/robrichards/xmlseclibs
But from some ..."
"html,css,vue.js,footer","I’m building a in Vue 2 + Vuetify where I have a flex-nowrap row of fixed‐width
v-col s that naturally overflow the dialog’s 95% width.
I want a footer with three cards (image, pricing, description) ..."
"gis,geospatial,geopandas,gdal","I'm reading a polygon file using geopandas:
import osgeo
import geopandas as gpd
polygon_path = ""F:\\data\\LPJP\\gwl2020_ch\\gwl_2020.shp""
polygon = gpd.read_file(polygon_path)
print(..."
"javascript,three.js,perspectivecamera","Take a took at the gif below, whenever I try to look at the scene from different perspective, the walls in the scene are wobbling (apparently z-index fighting issue)
Gif link : https://gifyu.com/image/..."
"python,request,python-imaging-library","I want to connect my python script to Bing or ChromeOs to search for extracting high Quality images but I have a problem and don't know how to get my
I used import
Import OS
Import request
From PIL
..."
"css,svelte,sveltekit","I have an issue when reloading page in dev and production mode breaks CSS. I see that first page load sets body to 60% width while after reloading it sets to 100%. It happens only in child pages.
My ..."
"kotlin,compiler-errors,sum,numbers","fun main() {
var numbers =(""1,2,3,4,5,6"")
val result = numbers . sum ()
println (""$result "")
}
I wanted to calculate these numbers with the sum function, but it ..."
"logging,fluent-bit","I am running Fluent Bit v3.2.10, which I am using to parse logs from .NET Containers in a locally running Kubernetes Cluster.
My .NET Containers returns logs formatted as JSON using an ESC-formatter. ..."
"flask,nginx,debian,streaming","Problem: Flask template_streaming does work in my Mac (dev) but not in Debian12.
The service for this project in Debian:
[Unit]
Description=Gunicorn instance to serve projectname
After=network.target
..."
"android,android-studio,android-layout","I'm using include layout in my layout resource, but when put it inside, the include layout cannot expend(the include layout view display normally, but the constraint of include layout seems not work, ..."
dockerfile,"What is the alternative to using systemctl in a Dockerfile, as I need to start the keepalived service inside the container? A simple Dockerfile is shown below. I tried with entryoint as well, unable ..."
"javascript,firebase,react-native,expo,expo-go","After updating Expo Go to SDK 53 on iOS, I encountered the following error when using Firebase Auth:
import { initializeAuth, getReactNativePersistence } from 'firebase/auth';
import AsyncStorage from ..."
"uml,use-case,use-case-diagram","I am wondering. In my book OCUP 2 Certification Guide, there is this following example about a use case generalization relationship.
Am I wrong that I do not see this as a generalization-relationship?..."
"ebpf,libbpf","To use global variables in eBPF, libbpf internally creates BPF maps.
I found that global variables are copied into memory during the open phase, before creating the BPF maps.
static int
..."
"javascript,node.js,http,fetch-api","Been getting back into programming after a pretty long while, I decided I would play around with http requests in javascript to build a web scraper later, I wrote this little guy to practice a bit:
..."
"rust,type-conversion","I have a bunch of structs that are versions of a certain data type:
struct V1 { /* V1 fields */ }
struct V2 { /* V2 fields */ }
struct V3 { /* V3 fields */ }
struct V4 { /* V4 fields */ }
enum ..."
"python,ubuntu,pip,windows-subsystem-for-linux,venv","I work in WSL Ubuntu. After instalation python3.13 dependencies from my previous projects stopped working. Venv with python 3.12 stopped activate in vscode interface. ErrorMessage:
An Invalid Python ..."
"c#,.net,wcf,corewcf","I have a very simple service class:
using System.Diagnostics;
var builder = WebApplication.CreateBuilder();
builder.Services.AddServiceModelServices();
builder.Services.AddServiceModelMetadata();
..."
"angular,typescript,signals,ngrx,ngrx-signal-store","I'm using a signal store as follows. It works as supposed to, except for the error handling. The initial load works correctly and communicates the error to the consuming component.
However, there ..."
"android,flutter,android-studio,flutter-plugin","I'm trying to run my Flutter app on an Android emulator, but I'm encountering the following Kotlin compilation errors related to the shared_preferences_android plugin:
Launching lib/main.dart on sdk ..."
"mysql,docker,phpmyadmin","I am new at docker. But I can open the phpmyadmin. The problem is that I have another mysql port in the docker-compose. How can I change the Port of the MYSQL Server for phpmyadmin, so it can connect ..."
"laravel,laravel-11","I have made a upgrade from laravel 10 to laravel 11 but suddenly the laravel-debugger does not show all the tabs.
To solve the problem I deleted the vendor map and composer.lock file and ran composer ..."
"react-native,expo,appwrite,expo-go,react-native-turbomodule","I have an app with React Native and Expo. I would like to continue developing with expo go, however since the new architecture is always enabled in expo go and hence the turbomodules are also always ..."
"c,windows,winapi,io","_read() and read() 3rd argument (_MaxCharCount) is unsigned int, which limits the read to 2GB, is there a version that uses a 64 bit third argument? because there is _lseeki64 so doesnt make sense why ..."
langgraph,"Currently Im using Gemini with Langgraph for a chatbot.
I made the mistake of pushing a bot sent (AIMessage) image without captions, which causes empty text parameter error. I went into pgadmin, found ..."
tron,"How to write a transaction on the tron chain with go. I can't find it that can be used for SDK, and there are always errors in building signatures by myself. Somebody write one for me!"
"tcl,io-redirection","I'm writing a Tcl 8.6 script that needs to be portable across both Windows and Linux.
We want to capture the content written to stderr by the rest of the program, and simultaneously write it to a file ..."
"r,apply","I am applying a function to a large matrix. Below is my example code
set.seed(1)
Mat = matrix(rnorm(1000000*20), 1000000, 20)
ExampleFn = function(x) sum(x) ### Just am example function to get the ..."
"reactjs,node.js,express,next.js,cookies","Trying to create a JWT cookie after login with google using oauth is not working.
The cookie is not being created in the frontend. The Frontend is NextJS and backend is express.
Tried setting sameSite:..."
"android,flutter,dart","I have a Flutter app that uses WorkManager to show a red overlay window for breaking news alerts via flutter_overlay_window. The overlay appears correctly and plays a sound, but it remains visible ..."
"ios,ipad,safari,wkwebview",I found that the code we use to get camera capture in ipad has different behavior and result in ipad9 generation. The simple code navigator.mediaDevices.getUserMedia() and show it in ...
"python,flask,subdomain,render.com","I'm stuck with an issue on how to properly set up subdomains in my Flask project. Here's a simple example of the code I'm working with:
from flask import Flask
app = Flask(__name__)
app.config['..."
"docker,flask,sqlalchemy,odbc,flask-sqlalchemy","I'm using SQLalchemy in Flask. When I run the server (through Docker) and let the server be inactive for some time, I get the following error after making a request on the page.
OperationalError
..."
"angular,rest,reverse-engineering","I'm working on an application written in Ionic 5 with Angular, and I'm having trouble using a third-party API.
This API freely uses the original Android application, as well as the original web client,..."
"linux,system-calls","I have observed a SYSCALL executing /usr/sbin/useradd and subj=system_u:system_r:useradd. Is it a normal activity ?
This looks like user has been added by command execution where the user observed is ..."
typescript,"In TypeScript, a generic class type parameter can be inferred from an argument to the constructor, and conditional types resolution can be influenced by the inferred type, like in this playground.
..."
"typescript,cypress","I want cypress to wait until a kubernetes resources has the correct status.
There for i created the task k8n_xy_status that get the status of the custom resource.
My only problem is to get cypress to ..."
"python,visual-studio-code,pip,python-imaging-library","I am making an image converter using pillow in VS Code, but when I run pip install pillow it installs in python 3.10 folder. How to fix it?"
haskell,"I'm working on a Haskell homework assignment where I need to implement a slice function with specific behavior for undefined inputs. The function should work like this:
slice :: Int -> Int -> [a]..."
"c,struct,malloc,dynamic-memory-allocation","I have a parent struct that has an array of child structs and the length of it, and within each child struct is an array of numbers and the length of it. all of the arrays are defined using pointers ..."
"nuxt.js,nuxt3.js,pinia","In an Nuxt application, using SPA, so SSR:false I have a stores/auth.ts that contains:
export const useAuthStore = defineStore('auth', () => {
const refresh_token = ref(..."
"python,google-drive-api","I am trying to delete google drive folders using the following code block:
from google.oauth2.service_account import Credentials
from googleapiclient.discovery import build
from google.oauth2 import ..."
"ubuntu,windows-10,bios","Ubuntu Installation Issue:
I used balenaEtcher to create a bootable USB with Ubuntu LTS and installed it on my laptop.
After the installation, I was prompted to restart the laptop and unplug the USB. ..."
"r,shiny,quarto,bslib","I'm building a Quarto dashboard with format: dashboard and server: shiny. I'm comparing value boxes that are:
written directly in the UI, versus
created dynamically using renderUI() in the server
The ..."
"node.js,filter,prisma","enter code here I'm trying to pass the filter with the typing in the decimalFilters fields through the route that is: Get {{baseUrl}} /products?price[lte]=20000, but neither the gte, nor the lte, or ..."
large-language-model,"When performing batch inference using vLLM, it is producing quite erroneous outputs than running a single inference. Is there any way to prevent such behaviour. Currently its taking me 6s for vqa on ..."
"java,jackson,deserialization,json-deserialization",I'm trying to deserialize JSON data into Animal.class and Dog.class which extends Animal.class using custom deserializer. The JSON data below is a simplified one and the real JSON data cannot be ...
google-bigquery,A junior data analyst working for a local news station and the team uses BigQuery to analyze weather trends. The station’s meteorologist has tasked me with understanding the relationship between wind ...
"c#,asp.net-core,dotnet-aspire","I am trying to integrate aspire in my development workflow, yet fail to connect the asp.net core application to the mysql database.
Here's the AppHost setup:
var mysql = builder.AddMySql(""db""..."
"c,operating-system,mutex,cpu,memory-barriers","I have been writing my own x86 32-bit operating system for the past month or so. My system uses just one core.
Anyway, I have been reading a lot about memory fences, CPU optimizations, and compiler ..."
"haskell,functional-programming,lazy-evaluation,short-circuiting","In the Examples section of foldr's documentation, I read that
Infinite structures
⚠️ Applying foldr to infinite structures usually doesn't terminate.
It may still terminate under one of the following ..."
"c++,cmake","Context
Full project source
I'm trying to setup a CMake project with clang-tidy. However, when transitively analyzing my includes it seems to go into external header files. For example:
CMakeLists...."
"reactjs,framer-motion","I'm working on a React project and trying to use Framer-Motion for animations. However, none of the animations seem to work — not the transitions, useScroll(), or motion components.
Here’s what I’ve ..."
"azure,snowflake-cloud-data-platform,power-automate","I'm encountering a perplexing issue when attempting to connect Power Automate directly to Snowflake using OAuth. I followed the official Snowflake community guide step-by-step, yet I keep running into ..."
"javascript,reactjs,node.js","I'm working on Part 2, Section 8 (""Overarching Project"") of the Designing and Building Scalable Web Applications course from Aalto University (https://fitech101.aalto.fi/en/courses/designing-..."
"ios,flutter,picture-in-picture","I want to create Picture in Picture notes app like this using Flutter
I've tried using this package but the PiP only appears inside the app
https://pub.dev/packages/pip_view
I also tried using ..."
"rest,spotify,spotipy","I created one playlist with one track as a test. I want to get a user's playlists (mine) using the Spotify API. I get the header information in the returned json, but the array of playlists is an ..."
rust,"Trying to run the following from the axum doc.
use axum::{
routing::{get, post},
http::StatusCode,
Json, Router,
};
use serde::{Deserialize, Serialize};
#[tokio::main]
async fn main() {
..."
"c++,exception,memory-leaks,binary-tree,binary-search-tree","I've been trying to diagnose memory leaks inside a created Binary Search Tree Tree class and Node class but I am just losing my mind. Any suggestions or obvious outliers anyone can provide?
#ifndef ..."
postgresql,"I have the below table
CREATE TABLE testing.base_table
(
a text,
b text,
c integer
);
and the below materialized view and unique index on (a,b)
CREATE MATERIALIZED VIEW testing...."
"c++,vtable,dead-code","If a derived class Sub overrides a virtual method foo from the base class, and there is no chance to invoke it during the brief phases of construction/destruction when the type of the partially ..."
"android,kotlin,android-jetpack-compose,compose",I want to know if there is a native way or a component that makes a list look like this or do we have to make it customized ourselves? I'm struggling with this because I don't want to customize every ...
"flutter,github,github-pages","Is it possible to change the page name? Its currently https//username.github.io/repository-name/ and I would like it to be 'Project Name'. I've updated my index.html, manifest.json, and MaterialApp in ..."
"ios,swift,wkwebview","I'm trying to generate a PDF from a WKWebView on iOS using UIPrintInteractionController. The goal is to create a PDF without any default margins (full-bleed content, if possible).
Here is my current ..."
"rust,rust-cargo","Can you please help me why my Rust code is allowing mutiple mutable borrowers here. Rust document says we cannot have mutiple mut borrowers of a variable
fn main() {
let mut s1 = String::from(&..."
"python,sqlite",I'm trying to find a way to check if there was a successful connection to a database in sqlite3 and Python. I'm doing this because I'm making a password manager and want to make sure that I'm actually ...
"python,tensorflow,nlp","I'm working on a text classification problem using TensorFlow and NLP. I'm using the Tokenizer and pad_sequences utilities from tensorflow.keras.preprocessing.text. However, I'm encountering issues ..."
"ruby-on-rails,ruby,adapter,actioncable","Rails 8.0.2 config.action_cable.adapter errors
undefined method `adapter=' for an instance of ActionCable::Server::Configuration (NoMethodError)
Developing an app using Rails 8.0.2 Ruby 3.3.0. (..."
"javascript,typescript,class,mixins,class-expression","I was learning about Mixins in JavaScript and decided to implement them in TypeScript. Everything works fine when I declare classes normally, but when I assign them to variables, I encounter ..."
"typescript,vscode-extensions,vscode-webview","VS Code Web Extension: Language Server Extension Works on Desktop but Fails Silently in Web (No Logs, No activate Call)
I'm working on converting a language server-based VS Code extension from desktop ..."
visual-studio,I have a VS solution which includes multiple folders I'm porting from the classic csproj to the new modern csproj style. One of my package references include some DLLs as part of its dependencies. I'm ...
"python,deployment,containers,arq","I've decided to offload some of the long-running tasks to a task queuing system. For this purpose, I've selected ARQ as the middleware for task management, with FastAPI serving as the frontend ..."
"python,python-3.x,list,boolean","I wrote a function that checks if every character on a given string is also present in an arbitrary list. The code works for most cases, but when the input is an empty string, the built-in function ..."
matplotlib,"I am currently facing a problem which ask me to plot the Earth's location over a very long time (over 10000 days).
I am using astroquery to get the location of Earth. I have decided to plot the ..."
"shopify-liquid,powerapps-portal","I have a configuration entity and am getting the string variable '20250504' (YYYYMMDD) and trying to convert to date format and add 30 days to it and change it back to YYYYMMDD format.
When I am ..."
"node.js,google-bigquery",I am new to bigquery and I have a question about the data insert. I want to insert data to bigquery from nodejs script daily. I want to delete the tables each time before inserting new data. But the ...
"c++,templates","There is a class that generates an event with variable-type data from time to time.
class A
{
void reportEvent(auto event);
};
I want to generalize this class and make it possible to assign ..."
"spring,spring-boot,spring-security",I have Spring microservice Instance enabled with JWT Token security and is working as expected when on single instance. Now i want make it multi instance. Multiple docker instance of same microservice ...
"spring-boot,docker,maven,graalvm-native-image,buildpack","I have configured POM according to spring boot documentation https://docs.spring.io/spring-boot/how-to/native-image/developing-your-first-application.html
GraalVM and native image is installed.
Docker ..."
codenameone,"I have gone through everything on the Internet for the last few years since Steve's ""PSD to App"" tutorial about modifying a form with CSS, trying to turn the TitleArea/StatusBars on my app ..."
"javascript,code-editor","I am attempting to learn JavaScript and am doing edabit challenges.
To help me work out whats going on I use codepen.io
I was using the following code and wanted to get the index of the second ..."
google-cloud-platform,"Followed documentation to connect a Cloud Run app to a Cloud SQL instance and getting:
Cloud SQL connection failed. Please see https://cloud.google.com/sql/docs/mysql/connect-run for additional ..."
"join,append,paste","I want to merge all files in a directory column wise and separate each file using a "","" as delimiter. I tried manually using paste command but it has limit of 10 files can be passed as once. ..."
"python,request,signature,aiohttp",I'm trying to integrate with the Bitunix API (https://openapidoc.bitunix.com/doc/common/introduction.html) using Python and aiohttp. I implemented authentication and signature generation as per the ...
visual-studio-code,"It really annoys me when I click to open a menu in vscode, and then it selects an item from the menu instead of keeping the menu open. I am used to clicking opening a menu. If I click and drag to a ..."
"pine-script,pine-script-v5,pine-script-v6","//@version=6
indicator(""TestADXRequestSecurity"", overlay = true)
[diPlus, diMinus, adx] = ta.dmi(14,14)
[tsladiplus, tsladiminus, tslaadx] = request.security(""NASDAQ:TSLA"" , ..."
"macos,security,macvim","This appears to be a Bug in a common programming tool on a common programming platform.
it is absolutely in scope of this programming question forum.
Text from the image: Apple could not verify ""..."
"docker,kubernetes,debugging,dockerfile,windows-subsystem-for-linux","I'm facing a recurring issue when using Docker Desktop on Windows 11 (version 22631.4890). Every time I try to launch Docker, I get the following error:
Docker Desktop - WSL distro terminated ..."
"json,integration,snmp,jslt","I'm working with SNMP Integrations and trying to extract the value of a specific OID (1.3.6.1.4.1.2312.13.1.1.2.1.5) from incoming SNMP trap payloads using JSLT.
The SNMP traps are deeply nested JSON ..."
"html,css,spring-boot,thymeleaf",I'm learning from the book “Spring Boot in Action” (Chapter 2). I'm following the steps to build the ReadingList project. Everything works fine except for one thing: my external style.css file is not ...
"c++,algorithm,c++11","In my current SRTF scheduling simulation, I'm encountering an issue regarding how CPU idle time is calculated.
When the last process begins its final I/O burst, the CPU becomes idle, and the idle_time ..."
"php,image,imagick,bit-depth","I have some images with different formats (jpg, webp, png, ...). I'm coding a script (in php) to gather some infos from these images (like dimensions, resolution, bit-depth and ...).
Since with php ..."
"c#,.net,nuget","I got errors:
5>Microsoft.Build.Msix.Packaging.targets(1616,5): Error APPX1101 :
Payload contains two or more files with the same destination path 'package-lock.json'. Source files: D:\..."
"javascript,html","I've been trying to run a function that adds an amount to a variable and then shows that new value using text but I can't seem to get it to work properly.
I made a element and then used ..."
"javascript,html5-audio","I'm trying to learn about the web audio API. I have a simple ""Recording.m4a"" file in my project directory, and I am attempting to load this file into an audio object and then play it on the ..."
google-chrome,"I've been trying to replicate a glassmorphism effect using examples from various websites designed to demonstrate it. However, I haven’t been able to reproduce the same result.
I observed a proper ..."
"html,css,next.js,webkit","This is HTML code inside NextJS.
This code runs fine on Chromium and Firefox.
but only looks abnormal on WebKit (iOS Chrome, safari).
When you first access it, the elements look elongated and not 1:1.
..."
"android,kotlin,google-play,in-app-billing,play-billing-library","fun checkPremiumStatus() {
billingClient.queryPurchasesAsync(
QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.SUBS).build()
) { billingResult, ..."
google-bigquery,"The query I am running is returning an error message, and I am looking to fix it, and change all zeroes in my data to null, and be able to run the query properly."
"sql,group-by,snowflake-cloud-data-platform,average","I'm having trouble creating a SQL query that returns an average number of time spent in meetings with clients in any given month. The method I'm trying times the averaging wrong, and creates an ..."
"r,http-status-code-403","My R package has several references to URLs, especially in its NEWS.md file.
These have never caused problems until now; but a recent R CMD check with my package had messages like this:
Found the ..."
"tidyverse,rstudio","My RStudio has spontaneously stopped working. When I first re-opened it a month ago, I was able to pick right up and play around with tidyverse/ggplot. But out of nowhere, RStudio stopped recognizing ..."
"typescript,finance,tradingview-api,alpha-vantage,orderbook","I'm working on a trading application that supports both Binance and Alpha Vantage as data sources.
For Binance, I'm already using their WebSocket API to get real-time order book depth (bid/ask levels),..."
"c++,conan-2","I am using Conan (version 2.15.1) to install Boost in a Debian Bullseye Docker container. I am able to do that successfully with the command conan install --build ""*"" . (build everything ..."
"vba,function,class",I am making several classes that derive information from eachother. I want my Class ObjClient to provide a way to see all of the ObjInvoices where the ObjClient.About.ClientId is the same as the ...
"go,timeout,golangci-lint","First the code I have:
for last < end {
// HERE the linter is complaining with:
// nested context in loop (fatcontext)
ctx, cancel = context.WithTimeout(..."
"typescript,zod","I'm trying to build a constant in TypeScript which limits the declared values within that constant. Specifically, I want a keyed map of IDs to zod schemas, and I want to prevent any contained schema ..."
"php,laravel,laravel-filament,filamentphp","I am using Filament admin panel in Laravel.
Filament v3.3.14, Laravel 12x
I have found this great little function to alternate my icons depending on the value (0 or 1).
Tables\Columns\..."
"javascript,node.js,typescript,vite,rollup","I was reading up on how to use Vite's library mode to produce an NPM package here and the common way to set the relevant package fields for a typescript library seems to be:
""main"": ""...."
"filter,power-automate","I have an array like this:
[
{
""Company-Last Name"": ""Alpha"",
""First Name"": ""One"",
""Category"": ""Cat""
},
{
..."
"database-migration,laravel-12","I have two Laravel migrations setting up two tables: brands and cars.
This is the content of the up function for the brands table migration (2025_05_04_002232_create_brands_table.php), it sets up a ..."
"javascript,html,css","let doc = document.getElementById('bar');
let doc2 = document.getElementById('mobile');
let clk = false;
doc.onclick = function(){
..."
"haskell,vscode-extensions","I'm using VS Code with the Haskell extension on Arch Linux. The Haskell extension tries to find a program called the ""Haskell language server"" by looking on a particular path. The language ..."
"macos,julia","I'm trying to install Julia via juliaup on an older MacOS system. This is MacOS 10.14.6 on x86_64 architecture and my shell is fish. No idea how to parse the error I'm getting, though perhaps it's in ..."
"javascript,python,android,frida","I have a Frida JS script inside a Python session, and I'm trying to pass an array of bytes (from a Bitmap image) from the JavaScript environment back to the Python environment. Here is my attempt:
..."
"android,linux,mobile,nas,fileserver","So I have just built a Linux (Rocky 9.5) Server and I want to keep all my data on it. My requirements are:
save, read and search data from Win 10/11 PCs, Android and iOS phones/tablets.
Data is: ..."
"javascript,node.js,mongodb,mongoose","I have the following function:
export const findCustomer = async (query?: FindCustomerParams) => {
try {
await database.connect();
} catch (err: any) {
throw new Error(""Could not ..."
"c#,dictionary,.net-4.5,mru","I found the following implementation of an MRUCache:
using System;
using System.Collections.Generic;
public class MRUCache
{
private readonly int _capacity;
private readonly ..."
"asp.net,asp.net-mvc,cookies,saml,httpcookie","I'm working in asp.net mvc
To achieve cross-domain re-auth I'm relying on AJAX call where I return response with repost url and then js send request to repost url
I modify Controller.Response.Cookies ..."
"python,pycharm,relative-import","What do I want?
Run my project1 package as follows:
(.venv) C:\Users\trg\Escritorio\project1> python -m src.project1.__main__
also understand once and for all how Python execution paths work.
Why ..."
"python,python-3.x,python-venv","A program I want to use makes use of python scripts. This program is siril, an astrophotography program. Running this script is described here.
The problem I'm having is that this fails immediately ..."
"algorithm,optimization,mpi,computational-geometry","I have been trying to write a program to do the following:
I have a function on a domain, D. The function is very complicated, but it is essentially zero in a significant part of the domain. Now, I ..."
"mongodb,bash,sed,grep,cat","Looking for a suggestion that would be much faster. I have a large (232GB) file. I want to take out only the April 24th lines and make a new file. The grep statement below works with ""cat"" ..."
"reactjs,react-router,react-router-dom",I'm using React Router to implement protected routes in my application. Everything works as expected in terms of redirecting unauthorized users — they get sent to the login or access-denied page ...
"python,json,kml","# importing required libraries
import requests
import simplekml
# defining important variables
kml = simplekml.Kml()
zip_codes = ['20130', '22602', '99123', '12abc', '39654', '20186']
# creating ..."
"python,pdb,uv","So the new hotness for scripts on your path in python is to use uv to create single file scripts.
These look like this:
#!/usr/bin/env -S uv run --script
# -*- mode: python -*-
# /// script
# ..."
"matlab,reinforcement-learning,q-learning","I wrote an approximate Q-learning algorithm. However, the quadrotor I am programming is still not following the intended path. I have been changing the reward function, alpha, gamma, and epsilon a ..."
"neovim,lazyvim","I have an error when installed neovim using lazyvim, once it finished compiled the nvim-treesitter I recieved this error and installed all the dependencies. It works on linux perfectly fine, but this ..."
flutter,"What do people do to stylize PopupMenuItems?
I'd like a simple Icon+Text and to be able to visibly distinguish between active and deactivated options. TextButton.icon does those things:
PopupMenuItem(
..."
"android-studio,gradle-kotlin-dsl,toml","H|
Sometimes when I use the Android Studio feature to convert a dependency implementation to version catalog like this:
it fails like this:
Any idea why?
(after pressing Sync Now, it's not red ..."
"c,assembly,memory-management,x86,vga","I'm writing a bootloader and simple kernel in x86 assembly and C. After switching to protected mode, my C code runs, but the VGA output is glitched. It seems like some messages overwrite others, or ..."
"excel,vba,google-chrome","Please note that you must open Google Chrome before running the following macro.
Public Sub Macro1()
'Please note that you must open Google Chrome before running this macro.
'Wait 5 ..."
"python,pycharm,ipython","I installed IPython with pip install ipython and I was able to install it. However PyCharm gives this error:
C:\Users\HP\PycharmProjects\CE475Exercises\CE475Project.py:150:
FutureWarning:
Passing ..."
"android,react-native,expo,sdk,metro-bundler",Due to upgrading to sdkVersion53 my project has collapsed tremendously. Unfortunately I do have a deadline coming up and have spent countless hours trying to get my project back. All of my packages/...
"python,keras,lstm,tensorflow2.0,h5py","I'm creating a lstm model that will detect ddos attack in a sdn environment and while saving the model in .h5 format I'm getting this error
ValueError: Unrecognized keyword arguments: ['batch_shape']
..."
"c,cmake,profiling,profiler,gprof",I have 2 projects in c. They both are configured with CMake using similar CMakeLists.txt. The first generates gmon.out file normally. It can be seen with gprof. The second generates barely empty gmon....
"python,data-analysis","I'm currently dealing with a numeric dataset to analyze the relationship between age and ADHD symptoms for example (Externalizing,Conduct_Problems,...).
Preprocessing Steps Taken:
Missing Values:
..."
yfinance,"This line:
data = yf.download('AAPL', start = some_start_date, end = some_end_date, auto_adjust=False, actions=False)
returns same values for adj close and close columns for the yfinance 0.2.58 as ..."
"postgresql,sequelize.js","Trying to establish a connection to my local PostgreSQL database via Sequelize. I have no trouble accessing it with pgAdmin, using postgres as the user and no password.
I am passing this into the ..."
"excel,vba","I am a new to VBA.
I will have many sheets in a workbook, for 300+ projects, and I wish to create a macro that is run when a project sheet is opened.
Each sheet in Row 4 has the months from 2017 to ..."
"rust,concurrency,actix-web","I'm hacking at an Actix API server, and I need to track objects in memory in a hashmap and pass them around between different threads. To do that, I'm passing in a Storage object to the app_data of ..."
"javascript,reactjs","I have this tsx file called AdminUsers. It's designed to show all the users for an administrator of an application, so they can perform operations on them. The tsx is as follows:
import React, { ..."
"python,python-3.x,user-defined-functions,python-nonlocal","I've two UDFs that are defined separately (not nested), and they cannot be defined while nested.
UDF #1
def varied_test(data, alg):
fit_data = []
alg(2, 4, 6)
return(fit_data)
UDF #2
def ..."
"c,matrix,glm-math","I'm using glm_project from cglm to project a 3D world position to screen space. The code mostly works, but when I rotate the camera, the projected screen position moves in the opposite direction.
Here'..."
html,I am new to coding and I am running into an issue with my first project. I am trying to add a table in my html doc and it is cutting off after line 53.It is not populating the table I have coded in. I ...
"reactjs,authentication,next.js,clerk","I installed the Clerk NextJS library and I’m trying to set up an email link-only signup.
My application’s credentials are correctly provided via the .env file. And in the Clerk application ..."
"dns,cloudflare,dkim","I am trying to fix my DKIM DNS record so I can get my email working. I think it is having a trouble because it is too long
avc ~/code/me/email-server main > dig +noall +answer TXT default...."
"typescript,testing,cloudflare,cloudflare-workers","I am trying to write an integration test for a Cloudflare Worker written in TypeScript. My entry point is src/ts/routes.ts. Specifically, I would like to load test data into my D1 (sqlite) database, ..."
"python,google-cloud-firestore","import firebase_admin
from firebase_admin import credentials, firestore
import google.auth
def reset(self, request_data):
db = firestore.client()
user_ref = db.collection('users')
..."
"urlencode,lighttpd","I have a lot of files named like foo.php?baz=123 or bar.php?barbaz=321. They contain HTML.
They are served with lighttpd.
If I visit my site at example.com/foo.php?baz=123 the server returns a 404. If ..."
esp32,"Всем привет! Я не могу начать работу с Esp32 CrowPanel 5 inch. Сразу уточню, я начинающий программист если меня вообще можно так назвать). я установил VSCode и расширение PlatformIO, язык ..."
"android,macos,apk,android-studio-3.0","I have an APK. My mac shows APK's size to be 35.4 MB. However, when I use Android Studio's App Analyzer, it shows APK size as 33.7 MB. Why this discrepancy?"
"python,python-3.x,multithreading,multiprocessing,python-multiprocessing","I'm encountering an issue where my Python script using multiprocessing.Pool hangs during startup, but only when launched via the debugpy debugger/launcher integrated with VS Code on Windows. When run ..."
"pytorch,cross-validation","I am trying to implement cross-validation with PyTorch;
I am used to Sklearn's cross_validation function which is much simpler to use (most likely because I did not fully understand what was happening ..."
"r,statistics,friedman-test","I have a big data set.
I'm trying to run Friedman's test since this is an appropriate transformation for my data for a two-way ranked measures ANOVA.
But I get unreplicated complete block design error ..."
"laravel,server-side-rendering,inertiajs","I enabled the SSR in InertiaJS and am now facing an issue on when the SSR returns app.blade.php without .tsx file content and then renders it the client side on. It causes the ""Hydration failed ..."
"css,svg,mathml,foreignobject","I'm trying to create a standalone SVG image with embedded MathML. I want the MathML to be centered both vertically and horizontally at a certain location, but can't figure out how to make that happen.
..."
"ios,xcode,react-native,expo,eas","I’m facing an unknown error when building my application made with React Native and Expo using the managed workflow. Everything was working fine during my previous builds until today, when I ..."
"r,r-forestplot","I am trying to make a stacked forest plot, and I want to do this by removing the highlighted estiamte scale in this image. The image has a hypothetical example using dat.bcg:
dat.bcg
dat <- escalc(..."
"typescript,tsc","I would like to compile the file lab.ts into lab.js.
When I call
tsc lab.ts
the file is compiled, but tsconfig is not applied and the result is a compilation to very old Javascript.
Is there a way to ..."
"php,wordpress,localhost,mamp","I feel as though I did everything that I possibly could to try to get this connection to work, but it's still not working and I don't know where the problem could be.
I am using MAMP and have been ..."
"qt,qt-creator","When I create a new project in Qt Creator it, by default, enables all Kits
then I uncheck all but debug, which is the only one I use most of the time.
But next time I create another project it ..."
"c#,mono","Before you do:
MonoDomain *domain = mono_jit_init(""MyDomain"");
apparently you must set the assembly_dir and config_dir by calling this:
// mono is not installed in default locations:
..."
"c,parsing,compiler-construction,abstract-syntax-tree","What I tried:
I wrote a lexer in C that tokenizes code into keywords, identifiers, numbers, strings, and symbols. I tested it with simple inputs like variable declarations, if statements, while loops, ..."
"node.js,docker,docker-compose,github-actions,puppeteer",I'm using Puppeteer to scrape data from a website and it works fine for a couple hours. But after some time it randomly stops working and I get the error below. I saw other posts and Stackoverflow ...
"javascript,whatsapp","I trying use the WhatsApp library for automated costume services. I used these 2 steps in the terminal:
npm install whatsapp-web.js
npm i qrcode-terminal
Then this code:
const { Client } = require('..."
apache-apisix,"Considering we have a ui calling an API backend, and apisix controlling access to the API with a route using oicd plugin with bearer-only=false, can we use a callback endpoint in the UI to get the ..."
"ubuntu,security,ids,ips","I am having issues with the EVE-NG machine and Ubuntu machines: when I make modifications (like running commands), they are not saved after shutting down and restarting the machine.
I have tried ..."
"text,fonts,google-workspace,google-slides-api","In Google slides the text font does not decrease below 12. Even if I select 6 or 7 or whatever number lower than 12, the text won’t shrink.
I tried to decrease the font but it does not work. I checked ..."
"python,or-tools,boolean-expression,cp-sat","I have the following excerpt from my Python code
For emp in employees:
Model.Add(d[emp] >= 25) .OnlyEnforceIf(d120[emp])
Model.Add(d[emp] < 25) .OnlyEnforceIf(d121[emp])
It is my ..."
"spring-boot,multithreading,service,eclipselink,entitymanager","I have a Java project, let's call it 'magical' which defines some JPA entities, and manipulates them vía some services using Eclipselink.
One of those entities is the entity User.java. So, the '..."
"c,gcc,clang,qsort,c23","My question is what happens when qsort in C can not allocate the space it needs to do its thing. The C standard presents qsort as nonerring, but in reality it must need to allocate space for any ..."
"css,reactjs,tailwind-css,tailwind-ui,tailwind-css-4","My table is actually so long that I want it to scroll horizontally so I applied Tailwind CSS and also took advice on ChatGPT but whatever it is it still isn't working.
My Code:
{
const url = value.map((file) => {
return {..."
"regex,unicode,common-lisp,cl-ppcre","I need to parse a word that contains combining diacritics, namely the #\COMBINING_ACUTE_ACCENT. The following string ""Changement de Régime"" contains 21 characters, since the 16th is the ..."
"django,postgresql,django-models","I am using Django and I wanted to change an app name from ""project"" to ""projects"" to make it cleaner and match the other models.
So i did the usual Django stuff. Change config ..."
"debugging,file-upload,multipartform-data,multer,video-upload","I get this error:
Error: Malformed part header
when making multipart/form-data request in Node.js - no code files visible in the error.
I'm encountering a ""Malformed part header"" error ..."
"linux,memory,reverse-engineering,objdump,ptrace","All, I've an Linux executable running on two different machines.
The Executable links to a .so library for some functionality.
The sayHello is the library function.
The goal is to find the GOT address ..."
"python,button,telegram,inline,telebot","Python 3.13.2,
pyTelegramBotAPI-4.27.0,
Windows 10
I have a problem with Python telebot inline buttons. It worked fine for a long time, without any problems. At some point it stopped to work. I did ..."
"r,ggplot2,timeserieschart","I have data collected over night with timestamps. I would like to plot this so that the x-axis runs from 9pm to 5am, but I can't figure out how to do it.
Here is some dummy data:
library(tidyverse)..."
mysql,"I have been trying to combine four separate queries into one query without success. what I have:
'SELECT SUM(students.Earned) AS Theory, QuizTitle from students WHERE students.QuizTitle LIKE '..."
"java,android-studio","How to update the activity, when such a change does not change the color of the top frame in the window (I use the standard view Navigation drawer activity).
This link for pic what element does't ..."
"java,gson","I'm a little stuck here.
I've got an ImmutableList of objects that contain ImmutableMap as a property.
// class containing ImmutableMap
class Example {
private ImmutableMap;
..."
"mongodb,symfony,ssl","I'm currently working on a Symfony project and I need some help. When I run the following command to install the MongoDB bundle with Composer:
composer require doctrine/mongodb-odm-bundle
I get this ..."
"php,jquery,ajax","The table have multiple items like (apple, mango, orange) i want to get the qty table data closest multiple input values on separate inputs. But i receive only single input value from it. So i can't ..."
"python,css,py-shiny","I am trying to build a Shiny for Python app that implements an interactive histogram plot using matplotlib and a slider. How do I get to change the default slider colour blue to some other colour, say ..."
"c++,inheritance,polymorphism,parameter-passing,value-type","I am designing a certain part of a library and considering whether or not to use polymorphic value types of some kind . If you don't know what those are and what the motivation for them might be, see ..."
"html,css","I'm building a component-based web layout where the size and shape of content elements vary significantly—such as cards that can have different text lengths, images, or buttons. Traditionally, I use ..."
"reactjs,spring,browser,setcookie","public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
return http
.csrf(csrf -> csrf.disable())
.cors(cors -> cors.configurationSource(..."
"javascript,docx",I am trying to upload a word document and I am trying to update my data on my online html form and then after the data have been input I want the word document data to change according what has been ...
"flutter,performance,gridview,flutter-getx","I have two grids of 16*16 displayed on my Page (I say this because GridView.builder helps when the grid items are not displayed).
the logic I want is whenever I tap a cell in the grid it paints with a ..."
"firebase,react-native,expo","I'm trying to build an Expo (SDK 53, with Expo's managed workflow) react native app with native firebase authentication, for Ios.
But I get this error:
Error: The ""Run fastlane"" step failed ..."
c#,"The return value is always return 0 rather than 0.03; here is my code:
double? priceChange = 0.00;
if(updateDeveloperInput.numberDeveloper > 1)
{
double percentage = (double)(..."
"java,docker,httpclient,docker-java",I'm trying to use the Docker-Java API. Following the instruction in https://github.com/docker-java/docker-java/blob/main/docs/getting_started.md I build a DockerClientConfig and try to build a ...
"docker,dockerfile,environment-variables","For the Docker container what is the actual way of injecting env variables declared with the Dockerfile ENV instructions.
I.e. as the image entry point is actually the very first process within the ..."
"azure,azure-machine-learning-service,azure-openai,azure-ai-foundry","I am trying to connect a non-Azure OpenAI embedding model in AI Foundry using Microsoft Entra ID.
I don't have an issue connecting to Azure OpenAI embedding models using Microsoft Entra ID.
After ..."
"vuejs3,quasar-framework","The intention here is to provide a generic LocalMenu component that can wrap a list of menu items (within its placeholder), some of which can open a dialog (through Quasar's Dialog ..."
"javascript,reactjs","I have this code:
import { useState } from ""react""
export default function TestRoute() {
const [response, setResponse] = useState>()
const sendRequest = ..."
"c++,boost,process",I need to convert my code from boost 1.85 (boost::process) to boost 1.88 (boost::process::v2). Unfortunately the boost::process documentation page is not found: (https://www.boost.org/doc/libs/1_88_0/...
"terraform,amazon-ecs,amazon-vpc,aws-fargate,amazon-ecr","I'am trying to set a private vpc endpoint for the ecr service.
When my ECR Fargate containers start, i got an error from them saying that they can't establish connection with ECR.
here is the error ..."
"jinja2,chatbot,large-language-model,llamacpp","I am trying to run the llama-cli tool in llama.cpp. However, I am encountering problems when talking to my model codellama-7b-instruct.Q5_K_M.gguf So I decided to use the conversation template. ..."
"php,wordpress,phpcs","I'm working on a WordPress plugin and keep getting a PHPCS warning that I can't seem to resolve. The warning is:
WARNING WordPress.DB.PreparedSQLPlaceholders.ReplacementsWrongNumber
Incorrect number ..."
"next.js,solidity,web3js,wagmi,remix-ide",I’m working on a Next.js application and using Wagmi to interact with a smart contract. The issue I'm facing is that when I call the getDoubledNumber() and number() functions from the frontend using ...
"r,iteration",I am attempting to decrease the values of the value column by 0.000001 for observations that are not in the first row into a new column called lagged.values. I then want to fill the NAs resulting from ...
"progress-bar,rich","I would like to hide the creation of a rich Progress() bars and associated tasks inside a class. I thought the following will work, but it doesn't. The progress bar doesn't render.
class Klass:
@..."
"java,gradle,minecraft,fabric,minecraft-fabric","I am currently working on a fabric 1.21.5 Minecraft mod while somewhat following a Youtube tutorial after making an item I run the client and after building it just crashes with 3 errors.
Caused by: ..."
"c#,google-cloud-pubsub","My one of C# client application was successfully published messages into GCP services Pub/Sub
Now I am trying to pull message from other C# applications.while pulling I am getting error Permission ..."
docker,"Unit sharing is not enabled. On the Settings screen in Docker Desktop, click Resources -> Shared Drives and select the drives or folders that contain your project files. For more information, see ..."
"reactjs,react-native,mapbox,rnmapbox-maps","I'm building a React native app and have this example below using the @rnmapbox/maps package. Is there a way to access the current MapState through the mapViewRef or cameraRef?
I know I can get it ..."
"java,spring,postgresql,transactions,sharding","I'm working on a very ""high loaded"" project (Java, Spring, PostgreSQL, K8s), and we needed to split our DB on partition, and then on shards. There is also a scheduler on each shard, and a ..."
"apache-spark,pyspark,databricks,databricks-unity-catalog","I have downloaded Unity Catalog via git; git clone https://github.com/unitycatalog/unitycatalog.git. When I run bash bin/start-uc-server, this error appears:
> bash bin/start-uc-server
find: ‘/mnt/..."
"python,regex,windows,sed","Problem
I was trying to get sed command to do the same thing I could do with Python regex flavour, but I encountered some problems
Python regex example: (tested it on regex101 and it was working fine)
..."
"google-sheets,google-apps-script,urlfetch","I’ve created a simple Google Apps Script web app that fetches a cryptocurrency price from the Binance API and returns it as plain text on a GET request.
Web App Deployment Settings:
Execute as: User ..."
"javascript,arrays,for-loop,console.log",I am relatively new to coding and working through a bootcamp right now. I will summarize the task at hand and then post the code below and my console result. If anyone can help me see what I'm doing ...
"typescript,amazon-web-services,aws-cdk","Going through a networking course and using the CDK to setup the infrastructure.
I can't seem to figure out how to add the following EC2 Instance Connect Endpoint VPC Endpoint to an EC2 Instance:
My ..."
"regex,text","First, thanks for your help.
I am working in a text editor using grep (BBEdit).
Here is an example of the pattern:
5th Ave Fitness - Brooklyn in Brooklyn, New York
I need to target the first word in ..."
"java,gradle,mapping,mapstruct","Why isn't my MapStruct mapper populating my entity objects correctly?
I believe I'm doing everything correctly, but for some reason, the mapping doesn't seem to work. Here are the details of my setup:
..."
"python,flask,session,flask-session",I am working with a Flask project with React as front-end. I just completed the authentication work. When i tried to access the user_id which i stored in session as 'user_data' from another route via ...
"usb,upgrade,solid-state-drive","I am charged with upgrading an older version of FreeNAS to the latest TrueNAS, and in the process moving from the USB boot device (as was then recommended) to a proper SSD boot drive in the latest ..."
"authentication,haskell,https,jwt","I want to get a JWT token from a server. My username and password are correct, because if I run:
curl --location 'https://enterprise.lemmy.ml/api/v3/user/login' \
--header 'Content-Type: application/..."
"c#,.net,azure,azure-sql-database,azure-webapps","I'm trying to deploy my ASP.NET Web API to Azure.
Long story short - it works on local machine - Azure SQL, but not on the cloud app (HTTP ERROR 500) using the same AZURE_SQL_CONNECTIONSTRING.
Is ..."
"sql-server,entity-framework,triggers","I have 2 tables with the cascade delete rule -
[dbo].[Invoices] and [dbo].[InvoiceRows]:
CREATE TABLE [dbo].[Invoices]
(
[InvoiceId] [int] IDENTITY(1,1) NOT NULL,
--other columns
..."
"azure,nginx,apache-superset","I've successfully set up my Apache Superset to authenticated users with Azure Entra ID 2-step verification. However, when I log out and try to log in again, I get the 502 bad gateway error and this ..."
"php,datetime,type-declaration",Natively PHP does not support overloading. It does however offer mixed and union types. Currently we are looking a situation where we need to handle date values as native \DateTime typed or string ...
"visual-studio-code,vscode-keybinding","I have the setting ""editor.autoSurround"": ""languageDefined"", in vscode.
I want to replace selected text instead of surrounding if I press *.
how can I do that?
I have tried:
{
&..."
"javascript,html,reactjs,svg,canvas","I am making a custom canvas editor using the open-source polotno sdk with react js, whcih also uses the konva framework. It is aimed at making heraldry blazons.
I am trying to implement a feature so ..."
"shell,inotifywait","So, first let me give some background.
I have some security cameras that trigger on motion detection and dump an .avi file via ftp to my server.
I currently have a cron job, running every minute, to ..."
"c,embedded,esp32,i2c","I'm working with ESP-IDF and a BMP280 sensor connected via I2C to an ESP32. I wrote a simple driver to initialize the I2C bus and configure the BMP280 by writing to its CTRL_MEAS register. However, ..."
"eigen,g-code","this is what I want
A-B or B-A
I have several (x,y)s and it will compose to A and B.
and I need get the A-B and B-A
many not cube and regular 3d .
thank you.
I do not know if I need to do it with ..."
"r,dataframe,ggplot2","I have a data frame set up as so
code section capacity enrollActual sem
1 1010 A01 100 51 F13
2 1010 A02 100 34 F13
3 1010 A03 80 ..."
"python,pyqt6,python-vlc","I'm trying to put a round button on top of a playing video (VLC video widget), using PyQt6.
The round button displays fine before the video is playing, but, once the video starts to play, Qt adds a ..."
python,"I've have a list of dicts:
d = [{'n': 1, 'v': 'one'}, {'n': 2, 'v': 'two'}, ...]
Update one dict's 'n' value, the rest of the list should reorder so that each 'n' is unique, and the associated 'v' ..."
"speech-recognition,pyautogui,voice-recognition,pyperclip,vosk","The code uses Vosk for speech recognition and is supposed to paste the transcribed text into the current input field using pyperclip.copy() and pyautogui.hotkey('ctrl', 'v'). The speech is recognized ..."
"c,multithreading,openmp","For a school assignment I need a precise definition of OpenMP. I find the Wikipedia and other sources defective.
Specificaly I need to understand what is the difference between OpenMP and OpenMP API.
..."
"css,svg,clip-path","I need to be able to create this element in such a way that the two coloured sections can be used as masks/clips for images, where these images can be set independently and always correctly display ..."
"javascript,model-view-controller","I'm trying to do an assignment where I have to create the card game Game of Hearts.
Here is an example game (scroll down for rules): https://cardgames.io/hearts/
Right now, I am trying to implement ..."
"python-3.x,variables,transform,f-string,octal","When using a backslash followed by three integers, Python interprets them as an octal value:
# A backslash followed by three integers will result in an octal value:
txt = ""\110\145\154\154\157&..."
"excel,vba,safearray",I've written a .dll that creates a 2D SafeArray of doubles (VT_R8) which I want to use in Excel (VBA). I'm passing the pointer to VBA and trying to access each element of the safearray to write into a ...
"reactjs,node.js,deployment","I have created a website using node.js and react. My website is working fine, but every time I or another user tries to enter the website, it stays loading and on the loading screen and the only way ..."
"migration,tailwind-css,vite,create-react-app","I recently migrated my project from Create React App (CRA) to Vite, and I’m running into an issue with Tailwind CSS. After making all the changes for the migration, I’m getting the following error:
..."
visual-studio-code,"How did you set it up in vscode?
Thanks in advance.
Stackoverflow: admin: What are you asking for?
Are you expecting that I answer the question myself?"
"google-slides,google-slides-api","I'm trying to export all slides from a public presentation so that I use them in my program.
I'm aware that I can simply use the URL
https://docs.google.com/presentation/d/{PRESENTATION_ID}/export/..."
"python,floating-point","I have a simple decorator to measure time of function in seconds
from functools import wraps
from time import time
def time_it(func):
@wraps(func)
def wrapper(*args, **kwargs):
..."
google-maps,"I am using google map to planning my tourist schedule, while I was operating in ""My Maps"" with but the ""Add Route"" icon does not have a floating effect, and nothing happens when I ..."
"encoding,hyperlink,reference","When I click a link in an answer on stackexchange, it opens in the same tab of the browser. This gets superimposed on the original page. I think it is better if the links always open in a new tab of ..."
"bash,lua,code-generation,treesitter","I created a bash script that automatically populates a lua config file with ssh-mux settings according to my input. The populated config file looks like this:
ssh_domains.lua
local M = {}
M...."
oracle-apex,"I need some help with handling Display image item in Oracle APEX.
I have a search bar on my page. Every time I search for a new thing, I want the image in my Display image item to change based on the ..."
python,I am trying to write some code that will generate all lists of a fixed length that have the property that the next integer in each list will either be same or an increment of the previous integer. All ...
"opengl,wgl","When creating an OpenGL context with WGL on a multi-GPU system, Windows decides what GPU to create the context for. But how can I create a context for a different GPU than the default one?
On Linux it ..."
reactjs,"Now I am tried to load jsx-runtime from esm.sh like this:
"
"java,spring-mvc,freemarker,spring-framework-beans","On a page when using springMacroRequestContext.getMessage text for en-us and it pulls from my messages-en-us.properties file, however in some cases I'd like to for a particular string to pull the text ..."
"javascript,jquery,tablesorter",Tablesorter's column filtering is behaving erratically because it is treating 'and' and 'or' as logical operators rather than just plain text. I've been reading the docs here and can't see how to ...
"python,python-3.x,pip,conda,anaconda3","conda: python or pip command gives error - The system cannot execute the specified program
I am trying to setup a new conda env in Anaconda3 on Windows.
C:\Users\raka>conda create --name ""..."
iis,"I created a WebAPI project, and then deployed it on 3 IIS servers, such as
a) Local IIS, Windows 11, Successful;
b) Server B, Windows Server 2019, Successful;
c) Server C, Windows Server 2019, Failed.
..."
"wpf,xaml","I'm developing a WPF application and in my App.xaml file I have the following:
=3.9,<4.0""
docutils = ""0.21.2""
loguru = ""0.7.3""
build = ""*""
..."
"tailwind-css,css-variables,shadcnui","I'm using Tailwind and shadCN UI. My theme needs my primary color to be in a css file and have this name:
:root {
--primary: oklch(0.205 0 0);
}
However instead of setting the color value directly ..."
"javascript,html,css,image,nuxt.js","I'm experiencing Cumulative Layout Shift (CLS) issues with images in my Nuxt 3 project using Tailwind CSS. Despite implementing aspect ratio containers and proper image dimensions, my images still ..."
"pdf,pdf-generation,acrobat,wcag","I'm creating a pdf file using my own library and I'm having an issue with the files I'm generating: copy+paste using Adobe Acrobat Reader gets the text copied as 1 line of text.
This issue occurs only ..."
"php,laravel,pdf,pdf-generation,barryvdh","By using the 'barryvdh/laravel-dompdf' i want to generate a pdf that looks a certain way.
However there is a difference in how the HTML looks like in page and the pdf generated.
HTML is quite basic
&..."
"c#,.net,dotnet-httpclient","The environment is a .net (.net7.0) service, running in a Linux-based Docker container. It needs to communicate with an external REST API, download a large-ish zipped file, unzip it and upload to an ..."
"embedded,lwip",I am using LWIP on an embedded device. I would like to create a MQTT application. LWIP supports this in the apps directory. But it seems that its not setup to compile this be default. I am unsure how ...
"php,session,php-ini","Is it normal to keep the same session parameters in php.ini and connect.php file for extra protection just incase? I dont start session_start automatically in php.ini, i explicitly start it only in ..."
"terraform,azure-functions","I am using Terraform to deploy both an Azure ""function app"" and ""function"" which is successful.
Now in terraform i now need to get the 'deafult key' of the function - this is what ..."
"html,css","I’m very new to CSS and HTML. I’m working on this practice project and have stumbled upon an issue I can’t resolve.
There is this inexplicable thin white line between two elements that I can’t get rid ..."
"python,square","The new square api versions 42+ have breaking changes. Im trying to upgrade to ver v42, and I am testing in a local dev environment.
I keep getting the following error:
*** square.core.api_error...."
mysql,"Étapes de réparation MySQL
Renommer ton dossier actuel de données
Va dans :
makefile
Copier
Modifier
C:\xampp\mysql
Renomme le dossier :
kotlin
Copier
Modifier
data → data_old
2. Créer un nouveau ..."
"android,react-native,gradle","I have an establish Android native app ProjectAndroid, and slowly trying to build a separate standalone react native application ProjectReactNative that will work on iOS and Android.
Trying to figure ..."
"python,numpy","In the following runnable Python program the arrays values and check_values contain different elements. On my machine the complete output is the following:
Received k = 0, generating value n = 0; 3k &..."
"python,mysql,mysql-connector","I am working on a project in Python tkinter for which I have chosen MySQL as my database. i have downloaded MySQL full version so i have tried to connect MySQL using Python mysql.connector
this code ..."
"division,point,fixed","From the books I learned that the result of a unsigned division follows the rules Qi1.f1/Qi2.f2 = Qi1 + f2.f1− f2
For a Q16.0 by Q4.12 division the resulting number would yield in a Q16+12.0-12 or Q28...."
"printing,bartender","on a Windows 10 64bit OS machine I installed printer drivers and tried to print from MS Word and it printed normally.
When I try to print from Bartender (11.4) nothing happens.
When I try print ..."
"c++,memory-leaks,cling","I'm building a C++ HTTP server that uses the cling::Interpreter (a C++ interpreter) to evaluate code dynamically. However, I'm noticing what appears to be a memory leak - the memory usage keeps ..."
"excel,powerquery,m","I'm attempting to setup a Spreadsheet that runs a find within a table that's built using SLQ in Excel's power query.
I'm attempting to set the SQL query to pull results from the year entered in Cell ..."
"oracle-database,clob,varchar2",i have an oracle table where a column is in CLOB format. I need do execute a SELECT (no PL/SQL) to extract some of the data inside it using SUBSTR and INSTR instructions. For SUBSTR and INSTR i'm ok ...
"mysql,debezium","I get this error from my debezium connector when the database host reboots
'trace':
'io.debezium.DebeziumException: Error reading MySQL variables: Communications link failure\n\nThe last packet sent ..."
machine-learning,"Which one of the following 2 methods is preferred?
To scale the entire dataset to make it into numpy array
To scale the dataset row by row in such a way that you get dataframe back but this time each ..."
"git,azure,devops,pipeline,wiki","I am trying to make an automatic process of updating the release notes we have in our Wiki Project through Azure Pipelines UI, but I'm having trouble with it. I have an extension for creating the ..."
"php,wordpress,woocommerce,hook-woocommerce,woocommerce-memberships",I'm trying to register a function to a Woocommerce Memberships filter hook but I'm not getting any results. I'm following the docs from here. More specifically wc_memberships_member_discount_message ...
"visual-studio-code,oracle12c,kerberos","I've been working on getting the Oracle VS Code extension set up. I have an Oracle client that uses Kerberos authentication (note that this is a company-managed laptop, I do not have admin access)
I'm ..."
banno-digital-toolkit,"I'm attempting to build a python script to pull data from the Admin API History Events Retrieval (Person Events) endpoint. Here is a simplified version of my code:
INSTITUTION_ID = ""XXXX""
..."
"winforms,jpeg,dicom","Sorry but I did not have any ""jpg/bmp file to dicom file source code"" yet.
Actually I think this implementation is so easy but I'm in trouble now.
A method
https://products.aspose.com/..."
"oracle-database,oracle19c,debug-symbols","I'm trying to debug a dump file in Visual Studio that involves Oracle's oraplc19.dll (from the Oracle Instant Client). While I have the required .dll files, I can't seem to find the corresponding .pdb ..."
"go,interface","We are working on a small project which utilizes this project
VFido -> https://github.com/bulwarkid/virtual-fido
in this project, when we jump to this file -> https://github.com/bulwarkid/..."
"python,pandas","My source dataframe:
Name
Source
Description
Value
John
A
Text1
1
John
B
Longer text
4
Bob
B
Text2
2
Alice
Z
Longer text
5
Alice
Y
The Longest text
3
Alice
X
Text3
6
I want to drop duplicates from ..."
"reactjs,laravel,websocket,socket.io,socket.io-client","Socket issue:
My Laravel backend is hosted on https://example001.com/, while my React app is hosted on https://example002.com/ React uses the 4.8.1 version of the socket.io client, and Laravel uses ..."
"reactjs,next.js,optimization,frontend,server-side-rendering","I’m working on a Next.js 13 project using the Pages Router, and my _app.tsx file has grown into a very large and overloaded entry point. It handles a lot of global logic, including:
A huge SEOConfig ..."
"android,android-api-levels",I have a very simple piece of code in an app that has been running fine for YEARS. I am updating to API 36 using Android Studio. I tested in a virtual Pixel 9 API 36 today and noticed that the BACK ...
"linux,ubuntu,apt","I was updating my apt packages. then when I put the upgrade command the error in the title. happened.
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state ..."
"c++,qt,qobject,std-variant,std-visit","I have the following code that does not compile with Qt 6.7.2 on Debian :
#include
#include
#include
class Foo : public QObject
{
..."
"asp.net-core,microsoft-yarp","I am using YARP for reverse proxying requests to upstream services. I just need to take the incoming host name and part of the path and replace it before forwarding it. However, since I am not using ..."
"tauri,tauri-2","I noticed that many native macOS apps with headers have their controls positioned differently. I would like to emulate this behaviour with Tauri.
Currently, I have a window with a titleBarStyle set ..."
"ssl,iis,smtp,umbraco",I get this error on IIS: There was an error while performing this operation. Details: Filename: \?\C\HostingSpaces\tasrestaurants\tasrestaurants.co.uk\wwwroot\web.config Line number: 118 Error: ...
"matlab,montecarlo,quantitative-finance,discretization,euler-path","I'm trying to replicate results from a published paper that prices call options under a three-factor stochastic model. The option price depends on stochastic volatility, a domestic short rate, and a ..."
"python,pandas,dataframe","I have this pandas dataframe :
df :
import pandas as pd
data = {
""function"": [""test1"",""test2"",""test3"",""test4"",""test5"",""test6"",&..."
"xml,xslt,descriptor","I have relatively simple xml/xsl but I am not getting the value of the email descriptor in my output. I have tried several versions of getting the descriptor. @wd:Descriptor, @*:Descriptor, wd:..."
"python,apache-kafka,confluent-kafka-python","Let's consider a following python snippet code:
from confluent_kafka import Consumer
conf = {
""bootstrap.servers"": ""servers"",
""group.id"": ""group_id"",
}
..."
"laravel,laravel-vapor","I've been trying to resolve an issue in our laravel application deployed with vapor for a few weeks now and haven't had any luck with it.
Our typical API response times are ~150ms but following each ..."
"c#,settings,type-safety","I currently have a class which contains some settings and every time any of those settings are changed I want to save these settings to disk.
To do that the SettingEntries class implements the ..."
"azure,devops,vpn,github-codespaces",I work with sensitive data stored in an Azure storage account. The storage account is set to encrypt data at rest and has secure transfer 'enabled'. I stream the data to a Github Codespace where I ...
typescript,"The following code gives me the error ""A parameter initializer is only allowed in a function or constructor implementation."":
function indented(input: string, level: number=1): string
..."
"flutter,flutterflow","I'm working on a Flutter project using FlutterFlow where I need to display various businesses on a Google Map. Each business belongs to a specific category (restaurants, bars, leisure, etc.), and I ..."
"swagger,openapi","Say an enum field named ""strategy"" has two choices: USE_FORMULA and DEFINE_VALUES.
If the user chooses USE_FORMULA, they need to set the value of a ""formula"" field.
IF they choose ..."
"google-sheets,google-sheets-formula","I want to check for duplicate values in column A across two sheets in the same Google Sheets document: sheet1 and sheet2.
The following is working when I only check for duplicates in sheet1:
=..."
"modeling,pde,fipy,fvm","Question
Is it better to use larger timesteps that necessitate more sweeps, or shorter timesteps that permit fewer sweeps? I define 'better' as meaning a better 'accuracy-to-computation' ratio.
..."
huggingface,"from sentence_transformers import SentenceTransformer
model = SentenceTransformer(""BAAI/bge-small-en-v1.5"")
sentences = [
""The weather is lovely today."",
""It's so sunny ..."
"sql,case","I'd like to pre face this with the following:
the data tables I'm going to describe are 3rd party I have no control over why they were created in such away
I don't have the power to dictate to other ..."
"javascript,typescript,frontend,formik,shadcnui","I have tried with children method and with component method, but in both cases onChange={field.onChange} or {...field} doesnt update the field on input.
{
options...."
"wordpress,wordpress-theming","I'm building a view counter for blog posts in WordPress, and I want each real user to increment the post view count only once, not every time they refresh the page.
I tried to handle this with cookies,..."
"unity-game-engine,transform,scrollrect","it's my first time asking something, I hope I'll do it right.
I am looking to fix the y position of an image in a scroll rect. I have done so on the x axis for another image, and it works perfectly. ..."
"godot,godot4","Please suggest a set of actions for renaming files outside the editor. The goal is to add obfuscation to the project.
My current actions:
Duplicating the entire project into a separate folder
..."
"ruby-on-rails,postgresql,activerecord","I get the following error on a query with PostgreSQL 16.8 on x86_64. It works fine on the other tables with the same query and unique index. I tried recreating the index multiple times, but no luck. ..."
"regex,performance,network-programming,benchmarking,dpdk","I've recently discovered that DPDK includes support for hardware-accelerated RegEx devices via the regexdev API. While it's clear that hardware offload has advantages, I'm trying to understand how it ..."
"flutter,dart","I'm working on integrating Google Maps into my Flutter app using Flutter version 3.29.3. The map does not show up correctly on a real Android device.
Here's the relevant widget code:
Expanded(
child:..."
"r,gt","I would like to expand/collapse some rows using gt package. I'm trying to replace the following code. Unfortunately, it doesn't work while having the latest version of the package:
library(gt)
..."
"ios,swift,xcode,ios-simulator,xcodebuild","I am trying to launch my iOS app on the simulator using command-line tools, likely for automated testing for Maestro. I can successfully build the app using xcodebuild and install it onto the target ..."
"reactjs,react-i18next,web-architecture","I'm in the process of internationalizing a large React application and would appreciate feedback on best practices, architectural decisions, and the correctness of my migration strategy.
Current Setup:..."
"generator,dialogflow-cx","I was using generators in Dialogflow CX and every output response has a ""\n"" in the end even after fine tuning the prompt and I even tried it with simple output generations instead of ..."
"data-structures,linux-kernel,operating-system,binary-search-tree","I need to know how to allow duplicates to be inserted in Niels' interval tree. Duplicates in my context means nodes having same (lo, hi) but different values for other fields and obviously different ..."
"python,gurobi","How can I retrieve the Mip-Gap of a multi-objective gurobi model?
model.setParam(GRB.Param.MultiObjMethod, 2)
model.setParam(GRB.Param.PoolSolutions, 10)
model.optimize()
Then I have tried the ..."
"machine-learning,artificial-intelligence,data-analysis,training-data","We have a small AI/ML model which is able to run on small dataset like say 10-20 classes with 2k images (like 10 imgs per class).
On running bulk data (10k classes, 100k imgages), we are running into ..."
"cmake,ninja","I want to generate srec file as an output and I chose ninja as build system.
Here is my CMake code:
set(UTIL_PATH ""${CMAKE_SOURCE_DIR}/Utils"")
set(CMAKE_TOOLCHAIN_FILE ""${UTIL_PATH}/..."
".net-core,entity-framework-core,.net-8.0",I have an issue with a BackgroundService where my dbcontext doesn't seem to be the same instance for my scope. My service inherits from BackgroundService and is meant to get and update entities in the ...
"css,vue.js,web-component",I want to convert a Vue component to a custom element using defineCustomElement. I got the component style working by turning the