All Questions
23,926,430
questions
0
votes
0
answers
2
views
Passport - Spatie Roles and Permissions "role not found"
I'm trying to use Laravel Passport, therefore I have to handle the set-up differently.
What I've tried so far:
Inside User.php:
protected $guard_name = 'web'; // this works, but not while trying to ...
41
votes
3
answers
70k
views
How to make bootstrap tooltip remain visible till the link is clicked
I have a link which I am going to use as notification when a user has some new notification I am going to notify the user by showing a tooltip(twitter bootstrap tooltip). What I want to achieve is, ...
3
votes
2
answers
3k
views
Problem configuring Flutter "sign_in_with_apple" for android
I am trying to set up the Flutter sign_in_with_apple package but run into problems with the android side.
What I have done so far, following the package README to the letter:
Set up the glitch.me ...
10
votes
2
answers
3k
views
How to implement soft hyphen in Android w/ React Native Text
<Text>
Aufmerksamkeits{'\u00AD'}defizit
</Text>
This leads iOS to
Aufmerksamkeits-
defizit
But on Android to
Aufmerksamkeitsd
efizit
So it seems that Android ignores the given soft ...
1
vote
1
answer
46
views
Node.js Packaged Modules security concern
I am learning Node.js and I understand it has been trusted by big companies. But for many web developers including me I don’t have resources or even full knowledge to do security auditing on every ...
1
vote
2
answers
60
views
How is "T" declared in R?
In R, the "T" is a variable that represents TRUE. However, when I examined the memory addresses of both "T" and "TRUE", they were distinct.
library(lobstr)
obj_addr(T)
[1]...
0
votes
0
answers
10
views
b-pagination in Vue in Laravel doesn't look good in whole project
my b-pagination was working good on all tables, but one day it just started to look wrong on every table in my whole project, I don't know where is root of style of pagination and what could I change. ...
7
votes
2
answers
2k
views
Is it safe to use MongoDB ClientSessions & Transactions in C# async code?
From the docs Read isolation consistency - Sessions (emphasis mine)
To provide causal consistency, MongoDB 3.6 enables causal consistency in client sessions. A causally consistent session denotes ...
0
votes
0
answers
4
views
How to see all functions in a Module
julia> using LinearAlgebra;
a = [b; for b in names(LinearAlgebra)]
131-element Vector{Symbol}:
:/
:Adjoint
:BLAS
:Bidiagonal
:...
0
votes
0
answers
8
views
Styling images differently as props
I want to create a card section for my portfolio website. I added images with those cards. Now I want to style images in React JS. Specifically, I want to use transform scale style for those images ...
26
votes
8
answers
14k
views
Duplicate class androidx.lifecycle.ViewModelLazy found in modules lifecycle-viewmodel-2.5.0-runtime
I'm using Android Studio Chipmunk | 2021.2.1 Patch 2.
I get the following error when I use the implementation 'androidx.appcompat:appcompat:1.5.0' version.
Duplicate class androidx.lifecycle....
0
votes
0
answers
6
views
How to use CloudConvert in Javascript
I am trying to insert API of CloudConvert but I didn't run it. I have got a 401 error.
I have a function that create a excel (.xlsx) but when I click this function, I want to convert to .pdf format. ...
0
votes
1
answer
18
views
Traefik persistent volumes with docker compose
I want to setup a docker compose environment running a backend, frontend, and a Traefik image. The Traefik environment should use a persistent volume to store the certificates. Otherwise, Traefik will ...
7
votes
3
answers
6k
views
Koin 2.2.1 : I cannot use "by viewModel" in Activity
Cannot use "by viewModel" from Activity
I want to inject a ViewModel for an Activity, so I tried this. But it was failed, Android Studio cannot find reference of it.
private val ...
0
votes
2
answers
17
views
Pandas read_csv with seperators in header names
i've got a text file similar to this:
@ some comment
@ some comment
@ [...]
@ some comment
* NAME S BX BY
bla foo bar foo
"ACF" 1 2 3
"BGB" 4 5 6
"CSD" 7 8 ...
0
votes
2
answers
27
views
FCM message being receive from Firebase messaging but not from the cloud function
I am using a cloud functions to send a fcm message to the admins phone every time the bookings collection has a new document here:
const functions = require("firebase-functions");
const ...
0
votes
1
answer
7
views
index runtime field is emitting 101 values while the maximum number of values allowed is 100
Getting error while loading logs in Kibana dashboard.
"index runtime field is emitting 101 values while the maximum number of values allowed is 100"
Stack used:
Telegraf to send application ...
0
votes
0
answers
5
views
Summarize data frame by multiple columns in R but don't change number of rows
In the following example, I got this data:
x = c("a", "a", "a", "a", "b", "b")
y = c("s", "s", "t", "t&...
0
votes
1
answer
73
views
How to use custom font with PDFBox
I am using PDFBox to fill a pdf which contains text form. At one form I have to use a custom font.
I used below code to load a custom font. Even though path is correct It it is failing with the error
...
1
vote
2
answers
3k
views
How to Increase Firefox Sidebar Width
I coded a sidebar for Firefox like the History and Bookmarks sidebar. In a fresh profile, if I install my add-on and open up the sidebar, the sidebar width gets 216px as default value. But if I grip ...
1
vote
0
answers
5
views
How can I expose the name of a pod as hostname using a headless service?
I have a headless kubernetes service.
apiVersion: v1
kind: Service
metadata:
name: api-server-headless
labels:
{{- include "api-server.labels" . | nindent 4 }}
app.kubernetes.io/...
1
vote
0
answers
47
views
VS.net reports conflict between "System.Text.Json, Version=7.0.0.0" and "System.Text.Json, Version=7.0.0.3" (SOLVED)
I have troubles understanding what Visual Studio tries to tell me:
There was a conflict between "System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" and &...
0
votes
0
answers
11
views
Setting a note on google sheet with editor user's name
I'm trying get user email and replace it with Custom name. But on log i'm getting correct answer. It shows with name. But I'm trying set a note on google sheet's cell with current editor name
function ...
1
vote
1
answer
48
views
How can I return an immovable object from a C++ coroutine?
As of C++17, normal functions can return non-movable non-copyable values. Silly example:
std::lock_guard<std::mutex> silly() {
return std::lock_guard<std::mutex>(my_mutex);
}
What must ...
0
votes
2
answers
209
views
Runner crashing on iOS 17 or XCode 15
I updated my simulator to iOS 17 and it seems like ably_flutter plugin is causing the app to crash.
Translated Report (Full Report Below)
Incident Identifier: C0BCD28B-3A18-4C4B-B256-A59CA67A1FE9
...
0
votes
0
answers
16
views
Xcode 15 Cycle in dependencies detected
Recently updated my Xcode to 15.0 public release version and getting the following error.
error: Cycle in dependencies detected, but could not be parsed. Please
file a bug report with the build ...
0
votes
1
answer
7
views
How can I obtain the details of Kubernetes events that occurred 15 days ago, including deployment information?
I want see aws eks cluster using Kubernetes events pod that occurred 15 days ago, including deployment information?
How to check this ?
Could you please help this.
0
votes
0
answers
23
views
Is there a R function to compute the blau index for gender diversity in a team?
I have a team-level data, comprising data of individual team members. I would need to compute the gender diversity in each team. The recommended formula is to use the Blau's index. Does anyone know ...
1
vote
1
answer
34
views
How to pass multiple embedded layers into TFDF using Keras?
In the Keras tutorial it shows how to embed a text field and pass it to TFDF in this tutorial.
sentence_encoder_layer = hub.KerasLayer(
"https://tfhub.dev/google/universal-sentence-encoder/4&...
1
vote
1
answer
32
views
How to take the previous number if it is 0 then take the previous month's number using LAG syntax
Source Data :
Account Period Amount
AC100 January 100
AC100 February 0
AC100 March 0
AC100 April 0
AC100 May 0
AC100 June 600
AC100 July 700
AC100 August 0
AC100 ...
0
votes
0
answers
6
views
HTTP request sending old JSON even after removing attribute
I'm using Postman to test my Go Chi server. When I send data with JSON in the request body, I first add an attribute "name", after I make the request and remove "name" and send the ...
-3
votes
0
answers
19
views
Use REGEX to extract string from middle of string [closed]
I'm building a view in New Relic. I want to filter useful data from log messages. I would like to get a part of text from the middle of a line.
The logs like this...
1 BACKUP failed to complete the ...
0
votes
0
answers
4
views
Azure Maps map rotation aligned label on top of extruded polygon
Is it possible to create an elevated non-rotating label on top of an extruded polygon inside Azure Maps?
For context, labels can either rotate together with the camera view (picture 1; rotation ...
25
votes
4
answers
8k
views
Firestore DB - documents shown in italics
Can someone explain this to me. I am working with node-firestore-backup-restore-master backup script for Firestore from github. Got it working but it only reads one document of the list of documents ...
-1
votes
0
answers
9
views
Delete Duplicate Rows in a huge Django DB with condition
There are several questions similar to mine but none are satisfactory. I would like to be able to remove duplicates from a DB having more than 26 million lines, therefore in the most efficient way ...
0
votes
1
answer
34
views
Failed to construct 'FormData' parameter 1 is not of type 'HTMLFormElement
When I write text into the inputbox and click the send button, I get such an error.
register.js:27 Uncaught TypeError: Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.
...
0
votes
0
answers
6
views
NoSuchMethodError: 'org.apache.xmlbeans.XmlOptions org.apache.xmlbeans.XmlOptions.setDisallowDocTypeDeclaration(boolean)'
`I am currently writing a program to convert Excel files into XML files, but I have encountered some errors from IDEA that prompt me:
***Exception in thread "main" java.lang....
0
votes
0
answers
20
views
Updating the table nulls with values from another table with a priority rank
Please help me writing an Teardata SQL query to to update NULL values in Table1 with Store from Table 2 , however it should be in order as per ran
The final result as per the expected output in the ...
0
votes
1
answer
20
views
Transitive routing between two expressroute circuit with azure firewall between them
I'm trying to find a way to be able to do transitive routing between two expressroute circuits with an zure firewall controlling flows between them.
The two express route circuits are not in the same ...
1
vote
1
answer
200
views
Tensorflowjs TypeError: Unknown op 'SimpleMLCreateModelResource'
I am having an issue with tensoflowjs where it looks like everything loads properly, but when I go to make a prediction it throws an error. This is a decision forest that was trained in python using &...
0
votes
1
answer
10
views
Azure DevOps: When does Build.Repository.LocalPath change?
I had a pipeline that was running for several month, the local path (Build.Repository.LocalPath) was /agent/_work/2/s/DP/tests/integration.
Suddenly, the local path is /agent/_work/4/s/DP/tests/...
0
votes
0
answers
5
views
how to pull the value from the header and insert it into the link using JS Elementor
How to pull the value from the header and insert it into the button link.
<script>
$('document').ready(function(){
$('#btn1').click(function(){
let prop= 'https://...
0
votes
0
answers
7
views
SyntaxError when building SvelteKit: The requested module 'intl-messageformat' is a CommonJS module
I'm getting the following error when building for production. Here's the output of npm run build running on Node v16.20.1
npm run build
> fpv-[email protected] build
> vite build
vite v4.4.9 ...
0
votes
1
answer
39
views
Converting ResultSet map to HTML table for email
I am building a Spring Boot application that runs SQL select queries. I have managed to save the output and display it. Now I want to convert this output to an table in HTML and send it via an email.
...
0
votes
1
answer
10
views
Getting an error using react router after clicking back to previous page
i am designing user dashboard in react and make an sidebar. when go to appoinment page and going deeper to another page like (appointment> form appointment page), i am getting error when trying to ...
0
votes
0
answers
3
views
How to define a unique index in Prisma where one of the constraints is an enum value
Using Prisma's unique indexes: https://www.prisma.io/docs/concepts/components/prisma-schema/data-model#defining-a-unique-field
Is it possible to do something like the following (pseudo):
model Foo {
...
1
vote
1
answer
31
views
What is the proper way of autoincrementing non primary key column?
I have a table which has an integer field which is supposed to be unique and autoincremented.
After doing some research I came up with two different approaches:
<-------1-------->
...
5
votes
4
answers
14k
views
Woocommerce Show default variation price
I'm using Woocommerce and product variations and all my variations have a default variation defined.
How I can find the default variation and display its price?
This is the code I got so far, but it ...
0
votes
0
answers
13
views
make 2 divs follow each other
Imagine one of the divs is mouse and the other one is cat, I want the cat to follow the mouse and if the cat reaches the mouse, they stop moving and print a message on screen.
I would appreciate if ...
3
votes
2
answers
8k
views
Class init and arguments [duplicate]
I know that this is super basic Python stuff, but the concept doesn't get into my mind.
I miss the fundamental reason and the structure to instantate an object under __init__()
This is a basic ...