All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

SyntaxError: Unexpected token '.' Next JS site

I'm writing a jest test but it keeps failing when it interacts with a style module. I've added the identity-obj-proxy and installed the lib to my package.json file but the issue remains, I'm not sure ...
  • 121
0 votes
0 answers
2 views

Stuck in building state when create openstack instance

I'm newbie in cloud computing and now i'm working with OVN in openstack. I begin with this tutorial https://docs.ovn.org/en/latest/tutorials/ovn-openstack.html#setting-up-devstack. This tutorial is ...
0 votes
0 answers
3 views

Only highlight TEXT background & not the entire component(white spaces) in React Native

When I am applying backgroundColor: 'yellow; styling to the component of the 'Return' statement, extra white space is rendered around & in the empty lines of the text. I only want the text itself ...
  • 111
0 votes
0 answers
2 views

How to understand the lifetime annotation on impl?

I have a piece of Rust code. struct ImportantExcerpt<'a> { part: &'a str, } impl<'a> ImportantExcerpt<'a> { fn announce_and_return_part<'b, 'c>(&'c self, ...
  • 31
0 votes
0 answers
6 views

Can unique_ptr point to a normal pointer?

c++ primer says: Unlike shared_ptr,there is no library function comparable to make_shared that return a unique_ptr.Instead,when wo define a unique_ptr,we bind it to a pointer returned bu new. But ...
  • 335
0 votes
0 answers
3 views

Adding SVGs in HTML Elements using Javascript

I have an SVG that I want to add in every div displayed on the screen using a for loop. SVG: <div class='cart'> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/...
0 votes
0 answers
4 views

Run Java command from Python subprocces: Could not find or load main class

I can run a Java command from anywhere in my computer using: java -cp /home/path/to/my/program/jar/program.jar -Djava.security.egd=file:/dev/./urandom com.hasher.gen.Generator -gen SHA-256 But when I ...
  • 99
0 votes
0 answers
5 views

How to check mongoDB updateOne execution time

I have been using .explain("executionStats") to find the execution time for a get-call like below in mongoDB compass console sh: db.getCollection('Employee').find({"value.attendence&...
  • 2,918
0 votes
0 answers
4 views

Supertest port Already in use even after setting setting Jest to "runInBand"

I am new to unit testing. So, I am writing a node application and having issues testing the route. I am using Supertest and Jest and I have tried all answers I can find. I keep getting the error code: ...
0 votes
0 answers
3 views

Is it possible to recreate google calendar in compose (a LazyColumn with dynamically placed/anchored views)?

Basically, I'd like to recreate the day calendar screen in compose, but I can't figure out how to place the elements dynamically with them being able to overlap (and overlay the scrollable background ...
  • 37
-9 votes
0 answers
9 views

I want to invest in the stock market but I am at risk of getting drowned?

Through Capital Varsity Upon the web, all of us have already been trading the International exchange markets for far more than twenty five years. All of us now have already been an enthusiastic group ...
0 votes
0 answers
4 views

Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.The located

When we try to call a report from our application and download it in PDF format, we get the following error: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, ...
0 votes
0 answers
4 views

Create a database lock with DBeaver

I am looking for a way to create a lock in my Oracle database with DBeaver that I need for testing my application. A SELECT * FROM TBL WHERE ID=123 FOR UPDATE would do fine, but locks of course only ...
  • 1,127
0 votes
0 answers
5 views

Golang defer rollback function called even after transaction was commited

I am working on SQL Transactions and I am using the jackc/pgx package in Golang. In the following SignUp SQL Transaction, I am calling the Insert Query 3 times in my code with a context and the ...
  • 99
0 votes
0 answers
5 views

How to generate a dynamic OpenAPI specification?

I have a colors table (one field: color) in a database with rows: BLACK and WHITE. I want to generate an OpenAPI specification dynamically (and visualize it with swagger-ui) for my API with type Color ...
  • 111

15 30 50 per page
1
2 3 4 5
…
1572022