Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
764 views

Some events has default action. For example - clicking on a checkbox will check/uncheck it. This can be prevented by the event.preventDefault() method. While looking for the errorEvent default action, ...
yuval.bl's user avatar
  • 5,084
0 votes
1 answer
81 views

Giving the code instanly: setTimeout(() => console.log("next macro")); /// next macro Promise.resolve().then(() => gen.next()) /// microtask inside, #2 const gen = (function*(){ console....
MaximPro's user avatar
  • 556
0 votes
1 answer
438 views

My Python script executes perfectly in a virtual environment which has python 3.9.2 but when i create an exe using pyinstaller the exe doesn.t work, i get tracebacks of certain modules missing but ...
sohail22b's user avatar
0 votes
0 answers
43 views

I am writing out a use case specification for my use case diagrams and I am unsure whether include or extend relationships should be part of the use case specification or if it should stick to the ...
Snoken's user avatar
  • 11
4 votes
1 answer
6k views

I am using Jest to test my Redux actions, sometimes it happens that a test does something which conflicts with what other tests do. For example, I test an action called add a user so it increases the ...
Amir M. Mohamadi's user avatar
2 votes
2 answers
3k views

I want to be able to define functions with parameters and return type for my JavaScript object specification. I am hoping to be able to do this using JSONSchema. But, I can't seem to figure out how to ...
reselbob's user avatar
  • 417
2 votes
2 answers
311 views

I was very surprised to see the following behavior in Node 14.18.0: > {}?.fun(); Uncaught TypeError: b?.fun is not a function > undefined?.fun(); undefined I understand why the first statement ...
OpenAI was the last straw's user avatar
0 votes
2 answers
2k views

I've been trying to wrap my head around working with JPA Specifications but I cannot figure out how to convert this query: select employees.* from employees left join qualification_assignments on ...
danstooamerican's user avatar
0 votes
1 answer
132 views

My code is currently working using the query below and I am converting the query to JPA Specification. @Query("SELECT DISTINCT h, SUM(m.annualIncome) " + "FROM Household h LEFT ...
Issac Liu's user avatar
0 votes
1 answer
2k views

I am trying to avoid in-memory pagination and N+1 while using Spring Data JPA Specification. To be specific, I'm using the below method provided by the framework. Page<T> findAll(@Nullable ...
infD's user avatar
  • 63
4 votes
1 answer
5k views

I just realized while using VK_MAKE_VERSION that it has been deprecated. The deprecation message recommends using VK_MAKE_API_VERSION instead. The only difference between them is that the latter has ...
janekb04's user avatar
  • 5,085
0 votes
1 answer
153 views

I faced such a code: template <int = 42> struct Foo{ int x; }; Does it have sense, or it's complete nonsense?
Max Popov's user avatar
  • 407
1 vote
1 answer
107 views

The OpenGL 4.5 doc and spec mentions the existence of parameter names GL_TEXTURE_RED_TYPE, GL_TEXTURE_GREEN_TYPE, GL_TEXTURE_BLUE_TYPE, GL_TEXTURE_ALPHA_TYPE, GL_TEXTURE_DEPTH_TYPE for ...
Matrefeytontias's user avatar
2 votes
1 answer
281 views

The javascript: in URLs has from my reading on the internet been around for a very long time while not being an actual standard. The protocol is currently part of the HTML spec. When was this ...
qwr's user avatar
  • 11.5k
0 votes
1 answer
3k views

Let's say i have two static methods : public static Specification<SomeEntity> isSomeValue() { return (root, query, builder) -> { Join<SomeEntity, JoinEntity> join = root....
Anto's user avatar
  • 125
-2 votes
1 answer
46 views

if anybody can explain how this api work or take the paramaters when u search for a product . how this product status ,category id reflects . seproduct/api/products?status.equals=Published&...
alita2199's user avatar
0 votes
1 answer
108 views

Here is a GIF containing just one image, 75 pixels wide. The image has an Image Descriptor with an Image Left Position of 25. So the leftmost 25 pixels of the image are not covered. Since the GIF ...
radarhere's user avatar
  • 1,039
2 votes
1 answer
1k views

I'm trying to use the css clip-path property with a path. But I'm failing to construct a path that's defined in a relative way, similar to for example clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 ...
panepeter's user avatar
  • 4,342
1 vote
0 answers
41 views

If I have two WeakMaps in javascript: /** * @type {WeakMap.<Function, Provider>} */ const providerFtn = new WeakMap(); /** * @type {WeakMap.<Provider, Function>} */ const provider = ...
DWoldrich's user avatar
  • 4,067
1 vote
1 answer
1k views

As MDN web docs states : "flex property is a shorthand for the "flex-grow", "flex-shrink", "flex-basis". One-value syntax: the value must be one of: a <number>...
S.B's user avatar
  • 17k
5 votes
2 answers
3k views

Using OpenAPI 3.0.3, I am defining an API spec which accepts two input query parameters. - name: land_area_llimit in: query description: Lower limit for land area comparison required: false ...
Harsha N Hegde's user avatar
0 votes
1 answer
525 views

/usr/local/bin/python3: Error while finding module specification for 'system.__main__' (ImportError: cannot import name 'LANG' from partially initialized module 'system' (most likely due to a circular ...
Poxsis YT's user avatar
2 votes
3 answers
124 views

From my research, these were the only guarantees that I could find about these built-in integer data types: char will not be smaller than 8 bits short will not be smaller than 16 bits short will not ...
Alex Riveron's user avatar
4 votes
0 answers
995 views

I am trying to filter some data from the table shown below. I have successfully done that using native query. But some how the requirement got changed and now i want to do it using JPA Criteria ...
raghuveer's user avatar
  • 123
6 votes
2 answers
181 views

According the CSS Level 3 specification, for parsing the start of an identifier, you: Check if three code points would start an identifier Look at the first code point: If the first character is -, ...
Alex Huszagh's user avatar
  • 14.8k

1
3 4
5
6 7
36