Latest Questions

GraphQl federation server that supports subscriptions

I'm currently evaluating different GraphQl servers in order to find one that supports subscriptions on a federated schema. Apollo and HotChocolate don't support

Why does my Xamarin.Mac application crash when I enable the Hardened Runtime in order to notarize it?

I am developping an app using .NET Framework 4.5.2 under Visual Studio for Mac. Apple has added security features to their latest Mac versions, so I'd like to n

Determ if a System Tray is expanded

is it possible to determ if the Windows Systems tray is expanded or alternativly if a click on the expand icon (small arrow) is happend? I could not found anyth

SwiftUI: trigger redraw when NSManagedObject (not part of fetch request) bool property changes?

I have the following @SectionedFetchRequest installed on my SwiftUI view: @SectionedFetchRequest(entity: Car.entity(), sectionIdentifier:

Google Sheets- How to Clear, Zero Out, or Replace Specific Cells Efficiently Via Script

This is three similar actions needed in one sheet. Hopefully this ends up being a useful question in general. I have a script that copies the values of arbitrar

Issues with word2vec

I'm wondering why this program only creates a py plot of letters rather than words. Am I giving it the wrong kind of data for word2vec? The program runs just fi

"Error: ENOENT: no such file or directory, lstat" for dist folder

I am using Angular 13 and the command "ng add ngx-bootstrap" installed the following: "bootstrap": "^5.1.3", "ngx-bootstrap": "^8.0.0", Now it fails to find the

How to get 2 filepond instance with 2 different settings

I want to be able to upload a profile picture as well as a banner picture on the same page. When I configure filepond in 2 separate elements it adds the options

CSS Grid and Flex - Content going beyond the specified columns

I'm trying to create a page using css grid and flex. I have defined the grid areas and positioned them. When I'm adding content to blog-post-list section conten

Datatables Row Grouping not working with Ajax

I have a datatable for roles that is supposed to order it by row using the rowgrouping extension from datatables official site but it is not grouping and I see

How To Cycle Through Images on Button Click

So I have spent an embarrassing amount of time on this and I come to ask you to save my sanity. I am building an app to conduct evaluations on my blind and visu

How to make adding controls in a WPF application faster

I'm working on a WPF app that lets users edit data records. For a test, I'm adding 50 rows to a tree view and this takes ~200ms. This creates noticable stutter

Why styles.css file doesn't apply to the page

I'm moved styles.css file to every location in my project and tried to link it in html file. I moved it even in the same folder where html files are, href auto

How do I use pandas to compare a list of numbers to a column in an excel document?

I have this simple script that creates a list by taking the values out of the column of excel_1 and compares it to the values of a column in excel_2. I want it

Firebase Authentication with custom domain

I have a question about Firebase Authentication for custom domains. I added the dns record and tried to verify the email after 24 hours, but when I click the li

remove decorator from stack trace

I want to write a function decorator that removes itself from the stack trace when an exception occurs (outside the logic specific to the decorator itself), for

how to use paginate in laravel

The following retrieves json data from the api and passed it to the loop to list and display the data gathered Controller code: class pagesController extends Co

NGXS global state's slices emit on every navigation

After tracking down unexpected requests being made I've found that my app's global user state's slices emit upon every navigation. What are potential causes of

Unable to Extend HttpContent Class

There seems to be something I am missing when trying to extend HttpContent so can anyone let me know if they have been successful in the past at doing this? The

Authentication 502 Bad Gateway nginx

I'm trying to install simple login selfhosted. But when I get to the registration part I get stuck. I do not receive the email. Please see the error of nginx:

Unity New Input system click UI elements

My game is a 3D shooter, and the player can shoot if left mouse button is clicked. The problem is that I have also an UI Menu with buttons to restart the game,

TF-Agents _action_spec: how to define the correct shape for discrete action space?

Scenario 1 My custom environment has the following _action_spec: self._action_spec = array_spec.BoundedArraySpec( shape=(highestIndex+1,), dtype=np.

how to render a json from a dataframe in fastAPI

I have a csv file that i want to render in a fastAPI app. I only managed to render te csv in json format like following: def transform_question_format(csv_file_

trying to figure these project errors

I'm stuck in my project, tried about anything, but can't solve this, getting errors, and testers are not working as well. airport class is the one making troubl

Searching buffer string using Nodejs

I have an Revit .rvt file (which is a .7z file under the hood), which I know contains a specific phrase within the first 30,000 bytes. I've attempted to use Nod

How can I validate a Solana wallet address with web3js?

I'm trying to validate that the input text I get from a user is a valid Solana address. According to the web3.js documentation, the method .isOnCurve() does tha

CASE statement in a temp table to format a decimal value SQL --> Syntax error

I am trying to use a case select for a $ pay field. If the field is 0.00 then i want the decimal formatted as a blank fill of length 10 0's else give me the dec

Is this possible to host your own DNS?

I want to host my own DNS, so I could make domains for projects and everyone could access them without editing any files (like hosts). Is this even possible? Af

jmx monitoring of java containers on same physical host

As per official Java documentation, the JMX client can use attach API to manage and monitor live java processes on the same host as the JMX client. Now let's tr

When i fetch Heroku deployed a link, there is an error 500 (Internal Server Error)

If i used http://localhost:5000/login everything is working. When i used live link https://auto-shoroom.herokuapp.com/login there's the error POST https://auto-