All Questions
24,196,039
questions
0
votes
0
answers
8
views
Using rgl's extrude3d() function to make a 3D mesh from polygons in R
I'm trying to make a 3D OBJ file using R. My initial data is a Geopackage with multiple polygons. And I want to 'extrude' each polygon to make them 3d. The extrude amount should be determined by the ...
0
votes
0
answers
5
views
R Synthpop - Unable to write rules to ensure float1 <= float2 <= float3
I have been banging my head against synthpop rules for a few days now and I can't quite understand the documentation for defining rules. I needed float columns to obey these rules: float1 <= ...
1
vote
0
answers
20
views
Using previously set fields when initializing structure with compound literals
What is the expected behavior of referring to previously set fields, when declaring initial values for a struct using compound literal: Specifically is it ok to: struct foo v = { .v1 = ..., .v2 = .v1+...
0
votes
5
answers
32
views
How to sort by second value and match found sort by first value alphabetical - python
I have a scenario where i stuck not getting how do i need to implement.
I have string need to find count of each letter -> ('a',2). Sort by second value which is count and order by first if same ...
0
votes
0
answers
10
views
Using sub rules via Jquery Validation data-rule attributes
Referenece: https://github.com/pes10k/jquery.validate.file/blob/master/jquery.validate.file.js
$("#upload_form").validate({
rules: {
example_file: {
...
0
votes
1
answer
15
views
How to a return generic type in go
I'm very new to go, still in the phase of learning and couldn't find any answers matching to my issue, so please don't downvote.
I have this generic interface which can be instantiated by two type ...
0
votes
0
answers
7
views
How to scroll down the child widgets of a Scaffold in Flutter?
What I am trying to achieve:
Create a floating button on the screen. When user clicks on it, make a screenshot, then try to scroll down on the page and any scrollable widget in the view port, one by ...
0
votes
0
answers
10
views
Enable GPIO Sysfs interface on yocto mickledore
I'm trying to get my application to run on a new Yocto Mickledore Image I created. My application is failing to interface to the GPIO's and upon some research I found it is because GPIO sysfs ...
0
votes
0
answers
9
views
Set full background color bottom tabs in android , I write app using React native expo
Help me, I want backgroupcolor full bottom tabs in React Native expo, I run it device android
I want to fully adjust the color of the tab below. It's currently missing color at the bottom, you see it ...
0
votes
0
answers
6
views
No docker-desktop-data distribution fount in wsl2
I have an issue with docker management in wsl2 when I run command wsl --list -v I get answer that only docker-desktop is there with the state running and wsl version is 2.
The issue is that there is ...
-6
votes
0
answers
88
views
Please suggest me a code for this problem statement [closed]
Count the sequential key press
Count the sequence of key presses for characters in the given string by comparing it with the row-wise character (alphabet/digit) arrangements on a computer keyboard (...
0
votes
1
answer
9
views
How do I uncondense a table in SAS
I’m trying to figure out how to take one table and break it out to two separate tables. In the below example I would want Jim and Steve to be in one table and Joy and Nancy to be in another one. I ...
0
votes
0
answers
8
views
marketwatch symbols loop condition for trading decisions
objective of this code
place all available symbols in marketwatch in mt4 in an array
loop through the array to heck buy/sell condition
take new position only in the symbol which does not exist in ...
0
votes
0
answers
5
views
Redisearch not working with wildcard prefix
I am trying to understand why index_test works but index_test_wildcard does not work. The index created in the latter does not match to the records created within the function despite respecting the ...
0
votes
1
answer
9
views
making a dynamic proxy in node.js
I am trying to make a dynamic proxy that I can control with a web UI
the goal is to be able to proxy traffic going to http://localhost/server_a to something as well as http://localhost/server_b. ...
0
votes
0
answers
2
views
Scala Fs2: Aggregate computation on infinite streams
I cant seem to understand how to perform aggregate computations on infinite streams. Taking an infinite stream of elements and performing a computation on each one individually is easy, but collecting ...
0
votes
0
answers
7
views
flutter deep links not working with go router
I'm using go router in my flutter app to respond to deeplinks.
The flutter dev tool tells me that my deeplink are valid and when I run adb to manually activate a deep link i see:
adb shell am start -a ...
0
votes
0
answers
6
views
Real time predictive maintenance
I am continuously predicting the next 8 timesteps, with each prediction spaced 1 second apart as new data arrives. To manage this, my dataset maintains a fixed size of 100 values. Whenever 8 new ...
0
votes
0
answers
3
views
How a consumer able to get all messages from a particular partition of a topic?
I was going the Kafka tutorials and lead to one confusion. A topic is distributed in multiple partitions. A producer message goes only into one partition not all partition of a topic. When a consumer ...
0
votes
0
answers
19
views
Repeated short identical parallel jobs
I have an algorithm that requires many parallel reruns of the same code. The code is short and finishes in less than a microsecond. This will be run millions of times which creates some problems when ...
0
votes
0
answers
11
views
I'm getting 401 Unauthorized when accessing protected routes using http only cookies in Laravel with axios
I'm working on a Laravel application with JWT authentication, and I'm trying to use http-only cookies for authentication. Despite setting the cookie correctly on login, I'm still receiving a 401 ...
0
votes
0
answers
61
views
How to executing code before a process is launched?
I am currently working on a project where I need to execute some code before a certain process is launched.
I am not sure how to approach this problem and I was hoping someone could provide some ...
-1
votes
0
answers
13
views
Initialization issue of FMU from openmodelica on ADEVS
I use ADEVS(A Discrete EVent System simulator) to simulate fmu model, but after I have compiled the file with cmake, I run the generated executable file main, which runs the adevs_fmi.h function "...
0
votes
0
answers
6
views
shadcn storing state in searchParam queries and nextjs 14
i have a shadcn form component that has Dialog, inside is is a form with Select,input, textArea, updloadPicture ( with uploadthing) and Switch. in another component i set a query to call a my api ...
0
votes
0
answers
25
views
Issue with HttpClient cookies in Blazor
I built a Blazor web app and now I am trying to implement authentication. I created a controller API and I used HttpClient to send requests to the API controller, but for some reason, when I call ...
0
votes
1
answer
17
views
overflow is not working to hide translated element
I am trying to hide the translated element using overflow: hidden but it is not working.
The CSS overflow property hides content exceeding an element's boundaries. When elements are translated (e.g., ...
0
votes
0
answers
5
views
logto.io | get a jwt token on login to access my api
I'm using logto.io to manage my app authentication with React.
When I only authenticate using the frontend, everything is fine as described on the docs.
Let's say this is my AuthProvider component, ...
0
votes
0
answers
9
views
Why is my CSS !important property not working? [closed]
enter image description hereli:first-child {
color: blue;
}
.details,
.price {
color: red !important;
}
The red property is set as important in the class selector, so supposedly it should ...
-4
votes
0
answers
11
views
Phone is blocked and data is corrupt how to reset and Install safe os [closed]
Please help tec I'm tec stupid and all information is being logged and possibly used
No idea where to start
I'm a victim of ignorance I need help please
Where can I learn. Needed information for ...
0
votes
0
answers
7
views
Svelte head components NOT rendered from Svelte-Kit server
Components inside <svelte:head> is not rendered by SSR.
Steps to Reproduce
Set up a basic svelte app using the following steps:
npm create svelte@latest my-app
cd my-app
npm install
npm run ...
0
votes
1
answer
13
views
Stop a Program from Running using a Character Without pressing Enter key in Python 3.x
I have tried some solutions that I could get from the other threads here but still no luck. My issue is that the program can recognize the character I've entered but does not execute to stop the ...
0
votes
0
answers
16
views
Fixed Button doubles, when moved on hover
I am making a website using Vue js and want to add a button for bot assistant in the bottom right. But as long as it's a button I want it to react somehow, so in hover, I wrote this:
.bot:hover {
...
0
votes
0
answers
14
views
How to change from readonly to not readonly of input in ASP.NET Core
MODAL
<div class="modal fade" id="residentModal" tabindex="-1" role="dialog" aria-labelledby="residentModalLabel" aria-hidden="true">
...
1
vote
0
answers
18
views
How to achieve conditional rendering in Angular
I have this code and I want to display speakers whose role is SPEAKER in different section on the same page and those whose role is MODERATOR, and ORGANIZER in different sections on the same page ...
-1
votes
0
answers
11
views
Flutter and dart board eating all ram and make windows crash [closed]
I have the latest flutter and dart version on my system, I don't know when the problem get started, but recently for every command related to flutter and dart, vscode or command prompt or dart.exe ...
0
votes
0
answers
8
views
FluentInputFile, Microsoft.JSInterop.JSException: Cannot read properties of undefined
I have tried the example and it works.
The example code below
The blazor code
@page "/file-upload-4"
@inject IJSRuntime JS
<h1>File Upload Example</h1>
<InputFile @ref="...
0
votes
0
answers
16
views
I tried overwriting an element with a confirmation notification, I tried to remove this notification on confirmation but it returns 'NaN'
I created a div element with two buttons in it:
<div class="js-button-container">
<button class="reset-score-btn js-reset-score-btn">Reset `indent`Score</...
0
votes
0
answers
6
views
Issue with Upgrading @nuxt/image Module in Nuxt 3
I'm encountering an issue while upgrading from @nuxt/image-edge to the latest stable @nuxt/image in my Nuxt 3 project. My current setup includes:
• Nuxt version: "^3.1.1"
• Vue version:...
0
votes
1
answer
18
views
Getting 401 Unauthorized Error on Login in React Web App
Whenever I click the login button of my web page built with vite-react(frontend:5173), express(server 5000, to handle cookies httpOnly) and Django(backend:8080). the console logs an error of (GET http:...
0
votes
0
answers
3
views
How to use OpenSeaMap via MapsUI in Maui App
I have a big problem try to render and use OpenSeaMap in may Maui App.
I use MapsUI and Brutile to try rendering OpenSeaMap inside my App written in Maui but without success.
I don’t know why, I ...
0
votes
0
answers
8
views
Showing nothing in api-docs while creating Swagger API documentation
The problem is that api-docs is being generated when I don't add .type() and .outType() but the format of the post request is not there. After adding them just like in the below statement api-docs is ...
0
votes
1
answer
7
views
How to merge or combine statechart and process flow in AnyLogic
My intention is to measure the queue, facility utilization and time in system. I have a statechart in Person agent tab, people start from home location, moving to facility (pharmacy) and return to ...
0
votes
0
answers
7
views
Smoothly show resizing of DataGridView
When resizing columns/rows, the dgv doesn't visually update until you finish. It also doesn't show the regular "resizing bar" across the cells to show where it will end up.
Is there a way ...
0
votes
0
answers
9
views
Importing typescript modules within Google Apps Script
I would like to import modules written in typescript for Google Apps Script.
Currently, in my actions/action.ts I have:
import {Foo} from "../module.ts";`
Unfortunately, when using clasp ...
0
votes
3
answers
47
views
Why using else if instead of if here when building a binary tree?
When building the insertion function in binary tree, I use two if statement to track the node( if the value is smaller than the current node,go left;if bigger,go right) .
I know the difference between ...
-2
votes
0
answers
27
views
Are STL containers assigned by copy? [duplicate]
Recently I have encountered some problems when reading the source code of MSVC STL thread, I am very confused about how thread implements parameter copy, he clearly uses a perfect forward, and perfect ...
1
vote
0
answers
14
views
Error 404 redirect not working in Django and static files not showing in edge
I am developing a single page webapp where I am trying to configure the error page if page not found so I have added proper settings but still my redirect not working on error page.
Here is my ...
0
votes
0
answers
12
views
Remote exec error while executing a remote exec in Terraform
I'm encountering an SSH handshake error while executing a remote exec in Terraform. The strange thing is that I can SSH manually using the same key file. Can anyone assist me with this issue?
...
0
votes
0
answers
11
views
Group Voice chat application
I am building a project that features group voice chat, allowing a group of people to audio chat with each other in real-time. I am using the MERN stack for development and using Socket.IO on the ...
0
votes
0
answers
9
views
Can we get small answers in azure ai search index and demo application?
I have a azure ai search service created as cente***dataservice1. In this search service, I have taken basic tier package. There are multiple things that I have done while creating index. First, I ...