All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Memory usage section on Safari when debugging iPhone on laptop is empty, how to populate?

I am trying to debug why my website is crashing on mobile (iPhone 13, iOS 17 something), so plugged in my phone to my MacBook laptop and opened Safari. I visit the page on my phone and can see the ...
Alien's user avatar
  • 73
0 votes
0 answers
1 view

Simulating IN clause for NoSQL database

So I want to simulate a SELECT * FROM TABLE WHERE ID IN {LIST_OF_IDS} I know Im using a NoSQL database (dynamoDB) but I have an index on the field for which I want to execute this query. So mainly I ...
David Backx's user avatar
0 votes
0 answers
2 views

pushing to GCP artificat, I gave service agent all artifact permission

In the past I have pushed to GCP Artificat. I deleted all my old images/repo and tried pushing to a new repo. it didn't work and gave "unauthorized: authentication failed". Once I changed ...
user1871528's user avatar
  • 1,735
0 votes
0 answers
1 view

Enable Checkbox "Expose Primary Key" with Geoserver RestAPI

Does not enable checkbox when using Hi, i have a python script which creates workspace, datastore and a layer in a dockerized geoserver when the container is up'ed with docker compose. The problem is,...
user27363897's user avatar
0 votes
0 answers
5 views

Polars group_by and make all groups the same size

I'm trying to make all groups for a given data frame have the same size. In Starting point below, I show an example of a data frame that I whish to transform. In Goal I try to demonstrate what I'm ...
rindis's user avatar
  • 971
0 votes
0 answers
2 views

python pycdlib-iso reader changes the filename

iso_file = "/path_to_iso" iso = pycdlib.PyCdlib() iso.open(iso_file) for dir in iso.walk(iso_path="/"): dir_name = dir[0] file_list = dir[2] print(dir_name) for ...
user1079065's user avatar
  • 2,195
0 votes
0 answers
6 views

problems with scanf input stream

I am trying to do a postfix evaluation using stack. The output is supposed to be in a format 2,3,4,+,-,# with # signifying the end of expression. The problem is negative numbers are allowed i.e 2,3,-...
Arka's user avatar
  • 1
0 votes
0 answers
4 views

How to get the latest id from a insert Java MariaDB

My table is like that: users (id, name, email, age) id is autoincrement name varchar email varchar age decimal I have a SQL Like this: INSERT INTO users (name, email, age) VALUES ('Alice', 'alice@...
orochi's user avatar
  • 1,226
0 votes
0 answers
2 views

Swift: Guard let propertyName else {return}?

I am new to swift. I have a class which has an optional property called name. In one of the class function, I want to unwrapped it using guard. I initially thought about this: guard let name = self....
Youruo's user avatar
  • 1
0 votes
0 answers
5 views

What is the generated html element for ag-grid tool tip?

Is it possible to get the ag-grid tool tip html elements / values from the DOM? I'm successfully using cypress to select (from the web page) the rows and cells html elements generated by ag-grid (we'...
Bill Metazone's user avatar
0 votes
0 answers
3 views

Authlib JWT 'NoneType' object has no attribute 'startswith' error when fetching public key from JWKS

I'm working on a Django application that uses Authlib for JWT authentication, with Auth0 as the identity provider. I'm fetching the public key from the JWKS endpoint provided by Auth0 to validate the ...
Gent Bytyqi's user avatar
0 votes
0 answers
2 views

Dataflow Job Running Successfully, but No DAG is Created in Cloud Dataflow Console

I’m currently working with Apache Beam and Google Cloud Dataflow, and I’ve encountered an issue where my Dataflow job is executing successfully, but no Directed Acyclic Graph (DAG) is visible in the ...
Lokesh K V's user avatar
0 votes
0 answers
1 view

Cannot change read-only flag after establishing a connection

My application having Micronaut 4 + Micronaut Data + Micronaut Hikari + Sqlite is giving error when hitting curl --location 'http://localhost:8080/books' the error is { "_links": { ...
josephjacobmorris's user avatar
0 votes
0 answers
4 views

How to Deploy Nextjs 14.2.4 in cPanel ? with Application mode = production

When I deploy my app on cPanel, the code is successfully deployed in development mode. However, after some time, I encounter a 404 error in the network tab indicating that certain chunk and CSS files ...
Vrushik's user avatar
  • 11
0 votes
0 answers
4 views

Google Map Tiles not loading

Google maps initialized with a map but without ui and does not update tile when pan/zoom. When I pan the map, the network only says GetViewPortInfo and does not refresh the tile. At initialization, my ...
learner23's user avatar
0 votes
0 answers
3 views

d3js pie chart with different patterns for the segments

I am experimenting with different styles for charts - and I am wondering how to create these kind of pattern textures charts for the different segments. https://codesandbox.io/p/sandbox/magical-wiles-...
The Old County's user avatar
0 votes
0 answers
3 views

Multi-level generic type conversion does not work as expected

I want to keep the key part of the original object when I pass typeof obj to the generic type, and return a converted value type. As you see the below code example, the changed variable should not ...
Songhyeon Jun's user avatar
0 votes
0 answers
3 views

Why doesn't this ActionCable broadcast work in test?

I'm trying to improve the tests for my ActionCable system but I'm having a hard time. In test, it seems like my stream_from("something") { ... } handlers aren't actually called. I was trying ...
rmosolgo's user avatar
  • 1,874
0 votes
0 answers
1 view

Setting up Google Enhanced Conversion Tracking with React and GA4

I'm trying to setup Enhanced Conversion Tracking as per the instructions here: https://support.google.com/google-ads/answer/13258081 I am using React-GA4, and have the following code. For ...
Josh's user avatar
  • 1
0 votes
0 answers
5 views

Custom StringCollectionEditor is not visible to Winforms Designer

This didn't seem like such a big ask, but I'm having issues showing a custom editor for the Items property of my custom control. [DesignerSerializationVisibility(DesignerSerializationVisibility....
IV.'s user avatar
  • 7,815
0 votes
0 answers
2 views

I'm trying to pass the dispatch() function of asyncThunk as an argument, but I can't figure out the correct type

I have a hook like this import { PayloadAction } from '@reduxjs/toolkit'; import { useEffect, useState } from 'react'; export const useOptimistic = ({ initialState, createAction, deleteAction, ...
Stoble's user avatar
  • 11
0 votes
0 answers
1 view

Obfuscar Obfuscation Error: Unable to Find Assembly After Successful Build in .NET MAUI Project

I'm using Obfuscar to obfuscate a .NET MAUI project. After successfully building the project and running command: Obfuscar.Console.exe obfuscar.xml, I'm encountering an error when trying to obfuscate ...
Nazarii Balyshyn's user avatar
0 votes
0 answers
1 view

I'm trying to install transformers==4.27.1, but I'm encountering an error during the compilation of the tokenizers package

The use of chatglm-6b requires the installation of transformers==4.27.1. I'm trying to install transformers==4.27.1, but I'm encountering an error during the compilation of the tokenizers package, ...
DragonFang's user avatar
0 votes
0 answers
3 views

Python NetCDF Prime Meridian Line blank

I am trying to draw climatology map of GPCC precipitation. But I found out there is a blank (data cut) in Prime Meridian Line. How can I fix the problem? I can use CDO, NCO, Python. I also share the ...
Mincheol's user avatar
0 votes
0 answers
6 views

How to create custom Control Rig class in c++?

How do I create a new custom c++ class which inherits from ControlRig? Such that when I use the editor to create a new Control Rig and it asks for a parent rig my custom control rig shows up: I'm ...
cak3_lover's user avatar
  • 1,854
0 votes
0 answers
4 views

List of tables with count of records present in those tables from sysibm in DB2

Is there a way to determine the total number of records of all the persistent tables from sysibm. I tried the below query however CARD does not match the total count of that particular table. SELECT ...
max092012's user avatar
  • 385
0 votes
0 answers
6 views

Can't configure Python interpreter on Eclipse/Pydev on a Mac

I am trying to configure the python interpreter on a Mac for an Eclipse project using Eclipse/PyDev without success. When I create a simple project (Hello World) to test things out, PyDev wants me to ...
dnessett's user avatar
0 votes
0 answers
4 views

How to select Articles that contain a specific string in the title or description or is tagged with a tag that contains the same string in Rails

I am working on a Rails application. ruby: ruby-3.2.2 rails: 7.1.0 Postgresql: 16 As the title suggests, I am looking to retrieve from the database a series of articles through a search API. To ...
Stainz42's user avatar
  • 993
0 votes
0 answers
4 views

Laravel 8+, pass request into route manually, is it possible?

I have a Laravel 8 project. I have a route: Route::get('/route-path', 'Client\SomeController@someMethod')->name('MyRouteName'); And it's implementation in SomeController public function someMethod(...
mpaw's user avatar
  • 1
0 votes
0 answers
6 views

Execute Access VBA function from Excel VBA (without opening access db)

I am trying to execute a VBA function in an Access DB from an Excel VBA module. Now I can happily do this if I use the 'access' object, but this opens the DB which means when the code closes the DB my ...
reddwarfcrew's user avatar
0 votes
0 answers
2 views

I can't use service neither repository inside subscriber page (Nest js)

Here is my service @Injectable() export class ReviewService { constructor( @InjectRepository(Review) private Review: Repository<Review>, @InjectRepository(Driver) private Driver: ...
Mohamed Ibrahim mostafa's user avatar
0 votes
0 answers
5 views

Python Jenkins CICD pipeline setup module error

I was trying to setup a Python Jenkins CICD pipeline and understand how it works. Then deploy the same on docker for practice on End-to-End deployment. I get the following error when trying to do ...
Abeish's user avatar
  • 1
-1 votes
1 answer
17 views

Return the index of a date match in python

I'm drawing a blank even though it seems straightforward. I have a list of dates in an index: book_df.index Out[44]: DatetimeIndex(['2023-08-13 15:10:47.284558', '2023-08-13 15:10:48.005322', ...
Chris's user avatar
  • 1,636
0 votes
2 answers
17 views

why are 2 strings returning false in react typescript

I am creating a react project where I want to grab the users name from my firestore database and I encountered an error while querying. I found when comparing the 2 strings passed to the function and ...
user25945742's user avatar
0 votes
0 answers
4 views

Matplotlib/Seaborn - Different x labels on top and bottom

I am doing a plot using python Seaborn: import seaborn as sns import matplotlib.pyplot as plt import pandas as pd import matplotlib.colors as c from matplotlib.patches import Patch from matplotlib....
user1064285's user avatar
0 votes
0 answers
2 views

Firebase functions imports in firebase functions 6.0.1

In firebase-functions 3.13.2 I was able to import using typescript: import * as functions from 'firebase-functions'; import { UserRecord } from 'firebase-functions/lib/providers/auth'; These import ...
jmc42's user avatar
  • 405
0 votes
0 answers
2 views

No module named 'awscli_plugin_execute_api'

I'm trying to use aws cli in Mac M3 but I'm having a hard time getting it to work. ➜ ~ which aws /usr/local/bin/aws ➜ ~ aws --version No module named 'awscli_plugin_execute_api'
Luiz Henrique Guerra's user avatar
-3 votes
0 answers
32 views

Is there a better way to write this Python function? [closed]

I need to know if there's a more concise way of writing this function, it seems like there should be a better way of doing this. The function adapts to the size of the grid, and you can use boolean ...
Kai B.'s user avatar
  • 1
0 votes
0 answers
2 views

How can i run a GTK4 Rust application in a Yocto image?

I'm currently building a GTK4 application in Rust and would like to have it run on a Raspberry Pi 5. I was wondering if it were possible to compile the application with the Pi's system as the target, ...
Éloïk Rousseau's user avatar
0 votes
0 answers
5 views

A Single API being deployed as multiple APIs on a single instance of Azure APIM to save costs of infrastructure set up. Is this a good practice

Consider the image as an example where I have an API that I want to deploy on an Azure APIM with its policies in place. The policies in Azure APIM also have namedvalues and backends configured. I want ...
santosh vatsavai's user avatar
-1 votes
0 answers
14 views

Cast to map a complex string python

I have an string with the following structure in python, I want to cast it to a json or dict: [{ 'attribute1': array([{ 'id': 'id1', 'type': 'CASH', 'active': True, 'date_created': datetime.datetime(...
Juan Olivares's user avatar
0 votes
0 answers
5 views

How to express ownership release in Swift 6 for pipeline of process

I have a heavily multi-threaded app that runs perfectly in Swift 5. I want to switch to Swift 6, and I got very few errors, but there is still this one I get and can't get rid of. The code is ...
AirXygène's user avatar
  • 2,801
-2 votes
0 answers
5 views

How to build the Luabind project in Visual Studio 2022

I am working with an old C++ project, and I am converting it and using Visual Studio 2022 (C++ 14) for development. I have some old libraries: boost_1_34_1 lua-5.0.2 luabind 0.7 I have created a ...
RomCoca's user avatar
  • 21
0 votes
0 answers
6 views

.NET MAUI Navigation Service and FlyoutPage

I inherited a Xamarin project that has to be migrated to .Net MAUI. My current issue is that the hamburger icon is not visible. I can drag the menu from the left hand side, and works fine. It's built ...
Agus's user avatar
  • 1
0 votes
0 answers
21 views

Is it possible to override the default Allocator in C++ with out manualy specifying it in each constructor

C++ standard library containers such as std::vector accept an optional template parameter that lets you specify an alternate allocator. The examples I can find show this happening at each object ...
TaylorE's user avatar
  • 169
0 votes
0 answers
4 views

Unable to pass icon, channel_id, data after migrating to v1 FCM from legacy

As per Firebase, I have migrated my FCM to new FCM V1. But Everything is not perfectly worked as expected RequestQueue requestQueue = Volley.newRequestQueue(fcmModal.getmActivity()); ...
Rj Stha's user avatar
  • 25
0 votes
0 answers
9 views

When to forward reference a class and when to include a header file? [duplicate]

I have been learning about OOPs in C++ and I am not sure when should I forward reference a class and when should I include a header file. I understand that forward reference is useful when there can ...
Sarthak Kale's user avatar
0 votes
0 answers
2 views

Using the streamly-process library to run GHCi in background

I'm trying to use streamly-process to communicate with some GHCi instance running in the background. I came up with the following code : import Data.Word import qualified Streamly.Data.Stream.Prelude ...
141592653's user avatar
  • 689
0 votes
0 answers
8 views

Hide/Unhide rows with "0" value in specific range across different sheets

I have a workbook that i'd like to hide rows on specific sheets which is triggered by changing a drop down selection. [Sheet "Trainee Details" K11 would be the trigger: This would trigger ...
Kevin Colton's user avatar
0 votes
0 answers
4 views

Database switching is not working in GridFsTemplate in spring-data-mongodb-4.2.5

I was trying to have switch between multiple databases at runtime by GridFsTemplate seems to take the database name only once and using it by default in other threads my spring boot version is 3.2.5 ...
Divakar V's user avatar

15 30 50 per page
1
2 3 4 5
484513