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

Mongorestore not restoring data

I have an existing mongodump of a single collection that I am trying to restore. After running mongo restore, no errors show up and the data is not in the collection. Are there any known reasons how...

View Article


React JS Error: Invalid attempt to destructure non-iterable instance

I have a sort filter that takes an array to populate the options. Trying to see the option value equal to the text within the array but I get the error within the title: Invalid attempt to destructure...

View Article


What is a node extra technique in Collada?

I am parsing the 1.4.1 Collada(exported from Blender), and I have noticed under the library_visual_scenes section, some nodes have extratechnique sections.Looking online, its not really clear what...

View Article

Where can I find System.TeamProjectId for a project in Azure Devops

I need this Id upfront but I can't seem to find it anywhere online?The documentation only refers to it as a system variable.Context:I have multiple projects and I want to identify a project during CI...

View Article

How can I invoke a default subcommand with cobra?

Using cobra, if my app is invoked without a specific action (but arguments), I'd like to run a default command:// rootCmd represents the base command when called without any subcommandsvar rootCmd =...

View Article


Image may be NSFW.
Clik here to view.

Make specific parts of a text clickable in flutter [duplicate]

I want to make a part of a text tapable so I can call a function on it. Also I want to have control over the style of the tapable text. In the best case I can also increase the size of the tapable area...

View Article

Counting game discord js

Hewo everyone. I created my own bot I have a lot of great things like games etc.However, I want to do a couting game.I have a channel called "Counting"And i want to setup my bot do like:User 1: 456User...

View Article

How to edit and create data in SQLite

I am trying to be able to edit and create new data in a sqlite file using python.def save_updated_data(self, entry_values, update_window, current_row_data): updated_row_data = {} for entry, (label,...

View Article


Node throws an error " Cannot find type definition" only on few...

I recently took over a new project which is developed with strapi CMS.It's written on typescript and the developers who work on it have it run on their macbooks without any issue. However, When I tried...

View Article


Loading "llama-2" 8 bit quantized version onto the GPU

Based on this repo GitHub Link I am trying to build a system which answers users queries.I was able to run the model on a CPU with response time of ~60s, now I want to improve the response time, so I...

View Article

Visualizing NavisWorks Grids in Forge

I have a Navisworks model that contais some grids like below: NavisWorks GridsWhen I visualize this same model in the Forge viewer, I don't see the grids. Is there any way to fix this? enter image...

View Article

Table column styled with tailwindcss has wrong width in chrome and the...

In the following html snippet, using tailwindcss column widths work in firefox, but not in chrome. Chrome renders it all overlapped. Does anyone have any idea what is wrong?Columns should have minimal...

View Article

Sending functions as props to Shadcn UI Table

I am using a Data Table from Shadcn in a React project with Typescript. I wanted to an Actions menu with a Dropdown list as listed in the example."use client";import { ColumnDef } from...

View Article


Java all thread and gc thread all pause 10+s,how to find the reasons? [closed]

A sudden 10-second pause in both business and GC threads within a Spring Boot Java application that has been stably running for a year with daily restarts is indeed unusual.If GC logs show no Full GC...

View Article

Image may be NSFW.
Clik here to view.

How to read the input json using a schema file and populate default value if...

Input Dataframeval input_json="""[{"orderid":"111","customers":{"customerId":"123"},"Offers":[{"Offerid":"1"},{"Offerid":"2"}]}]""";val inputdataRdd = spark.sparkContext.parallelize(input_json ::...

View Article


Image may be NSFW.
Clik here to view.

Blazor Server: Can't change ASPNETCORE_ENVIRONMENT

I have a Blazor Server application with a set of custom environment variables, I am trying to set the environment into DevelopmentLocal on the web.config file, however It stays on the Development...

View Article

How to get a reference to another component

I have componentA which shows "hello world". I want to open it in componentB via a function using the id of componentA.Let's see the code:ComponentB.html:<app-A...

View Article


Image may be NSFW.
Clik here to view.

IF Nested IF Pandas

Hello everyone i will insert and fill columns "Mark" info dataframe with IF statement, but in row Duration(Mins) = "10.0" the result is None, dtypes collumns Duration(Mins) is float64, thansk for your...

View Article

Turn dataframe of events into sparse matrix

I have a dataset called transactions representing shopping carts that I've gotten into the following format: member Date V11 1000 15-03-2015 sausage,whole milk,semi-finished bread,yogurt 2 1000...

View Article

How to get signed in username, email address and user group details from...

I'm currently developing an word add-in task pane app. I am trying to retrieve the following information from the task pane app (Office Add-in) of the current signed in user information :username,...

View Article
Browsing all 12111 articles
Browse latest View live


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