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

Image may be NSFW.
Clik here to view.

Why database update is not adding the table in SQL Server?

I am trying to add a model (table) to a SQL Server database, but I am getting an error.Here is what I tried - in program.cs:builder.Services.AddDbContext<DataContext>(options =>...

View Article


Big Size Image is not rendering properly in WkWebView for iOS , Its getting...

<Style>img { padding-top:20px; padding-bottom:20px; margin:-50px 0 0 -50px; display:block; height:auto; width:auto; max-width:100%; }</Style>For solving this issue I’v adde above css code...

View Article


Reusability of Layers in Tensorflow Subclassing for Model Creation

So I'm currently learning how to create a model in Tensorflow using subclassing. According to the tutorial, the following snippet of code should run perfectly:#Defining the classclass...

View Article

I/O dispatcher thread locked/stuck

A few days ago, we encountered an issue with a client where numerous I/O dispatcher threads appeared to be locked. Although the thread state indicated they were running, they seemed to be stuck, as...

View Article

How do I make a custom class that's serializable with dataclasses.asdict()?

I'm trying to use a dataclass as a (more strongly typed) dictionary in my application, and found this strange behavior when using a custom type within the dataclass. I'm using Python 3.11.3 on...

View Article


What to do if distinct() command is removing unique project IDs that it...

I tried to run a distinct() command on my dataset to get rid of duplicated respondents, but when I do that it also gets rid of unique project IDs that I need. It is ok for there to be duplicated IDs...

View Article

Failed to load resource: the server responded with a status of 404?*?)?

Good afternoon everyone, I'm having this error.I have a problem with the page loading...How to solve?Using devtools, in the console it indicates: "Failed to load resource: the server responded with a...

View Article

6/49 Lotto Ticket Simulation in R Studio

I am working on a project for college which models a 6/49 Lotto luck game.A ticket is created by choosing 6 different numbers from 1 to 49.I have to simulate 10^6 tickets and compare it with a lucky...

View Article


Combining filters between multiple columns

How to sum filter using conditions in multiple columns A B C D Ben 1 Tom 1 Joe 3 Ben 4 Tom 2 Ben 1I want to get the sum of B,D where A,C does not equal Joe...basically get everyone's hours except...

View Article


Unable to install python in VS code

I am getting following error in log. How to fix it.[error] Unable to read file 'c:\Users\abc.vscode\extensions\ms-python.vscode-pylance-2023.12.1\package.json' (Error: Unable to resolve nonexistent...

View Article

'Google Workspace Business Starter’. Using a service account that...

In a Google Workspace Business Starter edition.If I use a service account that impersonates a user,can I create a message in a chat space thathas the impersonated user as a member while the service...

View Article

How does loss work when I have multiple outputs?

When I have multiple outputs o1,o2,o3 is the loss on all of them added together and backpropagated from the last layer?total_loss=l1+l2+l3 (and total_loss is back propagted through the last layer)Or is...

View Article

python while loop if all conditions are equal then do another random choice...

This is my python code:import secretsfrom time import sleepids = [{'id': number} for number in range(1, 20+1)]rand1 = secrets.choice(ids)rand2 = secrets.choice(ids)rand3 = secrets.choice(ids)n = 0while...

View Article


the kernel appears to have died. it will restart automatically in jupyter

word_count= count_dict(sentence)only when i run this code I am getting the kernel has died error and all other codes are executing fineI tried ruuning the above code but it doesnt work even after...

View Article

How to send Javascript Blob to SingleR hub?

I added a javascript page that would allow the user to record voice using their microphone.I want to send the recording to a SignalR hubHere is the javascript code that does the recording and then when...

View Article


How to save logs from Theia output channel to a file

VSCode output channels generate log files by default for each output channel created. Need the log file creation part for my Theia application. Is there a way to implement the same in a Theia based...

View Article

C#: Regex.replace

I have a string that I would like to apply regex pattern and replace a part of it. I am able to accomplish some part of what I would like to do. My code is:var str = "license plate matching AMC1";var...

View Article


Drawer Navigation isn't working in Stack Navigation

I can't see draw navigation's horizontal line and it isn't open on application. FoodOverviewScreen component is trial component. I will use it in stack navigation but I wrote there to try. I couldn't...

View Article

Get a client secret when the amount is zero

I use the Payment Element to allow people to sign up for my service. I create an intent like this:const subscription = await stripe.subscriptions.create({ customer: customer.id, items: [{ price }], //...

View Article

Get Object for all world countries with country name and country code in Vue 3

I want an Object like below, containing all world countries with name and code, without typing manually, any API or library suggestions?const countries = reactive([ { name: 'Australia', code: 'AU' }, {...

View Article
Browsing all 11661 articles
Browse latest View live