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

django authenticate error with DJANGO_SETTINGS_MODULE

im new to django . I was doing some things to figure out how the code works. I did some part of the tutorial. I have an app folder named polls and the standard mysite folder where there is the...

View Article


Python Polars read database command giving error

I am running the simple query from python lambda code.Query needs to run on postgres database . Getting errors while using the where clause . This is not sqlalchemy connection.A simple query is running...

View Article


Why the client does not have permission to join group in Azure Web PubSub?

Dear AzureWebPubSub users, I was following this document to fetch the client access token for Azure WebPubSub and it returned me a JWT token and on decoding it was:-{"alg": "HS256","kid":...

View Article

Image may be NSFW.
Clik here to view.

Extra padding-right in shadcn-ui dropdown component

I am making a fun project using NextJS with shadcn-ui, and stuck in this issue while using a dropdown menu.I checked the dropdown-menu.tsx file created using CLI and everything seems padding seem to...

View Article

code works on its own - but not inside function

Would anyone please be able to help me?The code I wrote is not working when I put it into a function. The directions of this project are to use a function called playRound that takes two parameters,...

View Article


Substitution a value in a SQL Select

I have a co-worker with a problem I don't know if there is a solution to.Here is gist of her code:Select A, B, CfromXtableWhere values are (X, Y, Z);The values of 'A' are shown in a drop-down list in...

View Article

ssh, scp -O works, but sftp dont (255 error code)

When there was authentication by password, there was an error code 125 like. when I set up authentication by keys, it became 255ssh -p 8022 root@192.168.100.8 works.But sftp -P 8022 root@192.168.100.8...

View Article

Jupyter Lab shortcut problem on MacBook | problem to display "["

I have a problem when I want to display "[" and "{".Indeed,On my Mac, to display "[", I have to press Alt + Shift + 5 or Option + Shift + 5, and the effect is to hide the right sidebar as shown in the...

View Article


id obtained through output in an insert query needs to be passed to another...

Until this lineEXEC sp_executesql @InsertQuery, N'@product_id BIGINT OUTPUT', @product_id OUTPUTI managed to obtain the product_id correctly, the problem is when inserting in the @InsertQuery2, it...

View Article


Edit the final part of large(1.5gb) text file in NodeJS

My tool appends little json blocks with comma at their end into a txt file which initially has [ as the first character, in order to create a whole JSON format text file, like below,{data: text1},and...

View Article

How do I manually retain in Swift with ARC?

I'm using Swift 3 with ARC in an iOS app, and I want to manually retain an object.I tried object.retain() but Xcode says that it's unavailable in ARC mode. Is there an alternative way to do this, to...

View Article

WCF client binding configuration for TLS 1.2 with .NET framework 4.5

.NET framework 4.5 supports TLS 1.2, but doesn't default to it. This means that a WCF web service client fails to connect to an endpoint that requires TLS 1.2 (and it should require 1.2 - earlier...

View Article

Ansible Playbook keeps adding ^M to my files

I have the below ansible playbook where i am identifying a string in a file and replacing it with another ---- name: Ansible Playbook hosts: webserver1 remote_user: user45 tasks: - name: Replacing...

View Article


What is difference between nn.Module and nn.Sequential

I am just learning to use PyTorch as a beginner. If anyone is familiar with PyTorch, would you tell me the difference between nn.Module and nn.Sequential?My questions areWhat is the advantage to use...

View Article

Image may be NSFW.
Clik here to view.

Storybook.js returning 'TypeError: Failed to fetch dynamically imported...

I am attempting to import .svg files for a storybook project and am running into an module import error. I have tried a few alternative solutions but have made no progress. It's throwing an error...

View Article


In OpenXava how do you prevent a link to an entity to be included in the main...

In OpenXava, the menu is typically auto-generated to include all entities with @Entity annotations unless explicitly configured otherwise. I understand that this is relatively easy to do in XavaPro....

View Article

Finding blank data in table

I have a tbl with data as follows:print(Plate_Number)# A tibble: 513 × 4 Plate Row Column Count<int> <chr> <int> <int> 1 1 A 1 6 2 1 A 2 5 3 1 A 3 20 4 1 A 4 11 5 1 A 5 5 6 1 A...

View Article


godot how to spawn 2d bullet and sync it for multiplayer

for godot I am trying to spawn bullets, the bullet spawning works right but I can't figure out how to network it, I tried spawning it as sibling and child of the player but I can't get it to show up...

View Article

Image may be NSFW.
Clik here to view.

OpenLayer: Extent of KML lost and turned to [Infinity, Infinity, -Infinity,...

I am trying to retrieve the extent of a KML layer I am bringing into OpenLayer.When I open the KML layer in QGIS, I see there is extent information attached to it that I would like to use inside...

View Article

Some advanced analytics on a hierarchical SQL query

I have this little schema. The my_item_lab table represents items with their denomination in English and French.drop table my_item_lib;create table my_item_lib( id_item number, lib_fr varchar2(100),...

View Article
Browsing all 12111 articles
Browse latest View live