Discord buttons position discord py

i need help on my code. Im trying to do buttons for my discord bot. I managed to do it but i want to add something new. As you can see b1 will always be on the left , b2 on the middle and b3 on the right. Is it possible to shuffle the buttons … Read more

NSwag typescript model generation fails after upgrading to dotnet 8

After upgrading from dotnet 7 to dotnet 8, nswag typescript model generation fails on my mac. The following packages are installed: <PackageReference Include=”NSwag.AspNetCore” Version=”14.0.1″ /> <PackageReference Include=”NSwag.MSBuild” Version=”14.0.1″> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> </PackageReference> nswag.json looks like this: { “runtime”: “Net80”, “documentGenerator”: { “webApiToOpenApi”: { “isAspNetCore”: true, “defaultPropertyNameHandling”: “CamelCase”, “defaultReferenceTypeNullHandling”: “NotNull”, “defaultEnumHandling”: “String”, … Read more

Bundle install is failing with gem nokogiri error

I’m running my app on ubuntu, ruby 2.7.8 using rbenv When I do bundle install I received error An error occurred while installing nokogiri (1.6.8.1), and Bundler cannot continue. Make sure that gem install nokogiri -v ‘1.6.8.1’ –source ‘https://rubygems.org/’ succeeds before bundling. Nokogiri installation attempt [all failed] gem install nokogiri -v ‘1.6.8.1’ –source ‘https://rubygems.org/’ gem … Read more

JDK Installation, Compressed Archive download file size is larger than its installer file? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a … Read more

Apache2 Reverse Proxy sending Http and Https traffic from a subdomain into the main domain

I am trying to use Apache2’s reverse proxy, and using different subdomains to configure different services. (example.com for an index page, gitea.example.com for a gitea instance, nc.example.com for a different service). However, the output that I am getting from this is both websites are being directed into example.com, and not the one for their domain. … Read more

Can a digital twin be valuable without real world data? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed yesterday. Improve this question A client wants me to make a Digital Twin of a Business Process without providing real world data, but instead generate data … Read more

Visual Studio 2022: session not created: This version of ChromeDriver only supports Chrome version 91

Does any one know how to fix the below error? My browser version is currently on: Version 120.0.6099.217. I don’t want to downgrade as I will loose all my settings. Message:  System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 91 Current browser version is 120.0.6099.217 with binary path C:\Program Files … Read more

Map XML repet tag to Java object

I have the next xml: <mensajeWS> <respuestaGetCabecerasType> <cabeceras> <cabecera> <id>1234</id> <tipoMensaje>3</tipoMensaje> <datos> <fechaEnvio>2023-12-13T00:05:00</fechaEnvio> <fechaEnvio>2023-12-14T00:05:00</fechaEnvio> </datos> </cabecera> </cabeceras> </respuestaGetCabecerasType> </mensajeWS> And I want to map their data into the following object: public class Cabecera implements Serializable { /** * */ private static final long serialVersionUID = -865317642824095952L; private int id; private int tipoMensaje; private DatosRecepcion datos; … Read more