Questions tagged [specifications]

A specification (also commonly referred to as "spec") is a description of a defined technology and the resources it offers.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

rpmbuild -bs fails for Illegal character

I am trying to build RPM files for the first time ever. I have read through the procedures from RPM Packaging Guide The spec file giving me issues can be found here- AWX-RPM-V2 I setup my build tree ...
Jeremy Tourville's user avatar
0 votes
0 answers
57 views

How to join two results in Java specification

How to join two results in while using Criteriabuilder I am using CriteriaBuilder where I am using two table Student and StudentResult. When I am querying my API http://localhost:8080/student?query=...
David's user avatar
  • 4,291
-1 votes
0 answers
26 views

Complete list of illegal characters in HTML text content

The HTML specification states: In certain cases described in other sections, text may be mixed with character references. These can be used to escape characters that couldn't otherwise legally be ...
303's user avatar
  • 956
0 votes
0 answers
10 views

Dynamic query with Jpa Specification

I recently worked with Jpa Specification in Spring boot project i want to understand the difference between javax.persistence.criteria.Predicate and Predicate the functional interface also what is ...
Mokhtar Zouari's user avatar
0 votes
0 answers
62 views

JPA Specification to get multiple filtered result to be combined

I am working on spring boot project, in which some results list are to be displayed based on permissions of user. All data is kept at DB, for example : table : myModel modelName modelStatus modelDate ...
Neelam Sharma's user avatar
0 votes
1 answer
46 views

undefined method sign_in for rspec

I'm writing a simple controller test to ensure that we get a 200 status upon a GET request. Every answer I've encountered online says to make sure we are including the correct Devise helper in ...
Misha Krul's user avatar
1 vote
1 answer
64 views

Dynamic type not cleared when reassigning variable - is this a bug?

There's a well known quirk in Go where an interface holding a nil value does not equal nil. It's because under the hood the interface is a composite of dynamic type and value, and it is only nil if ...
Adam Shone's user avatar
0 votes
1 answer
33 views

Exclude id from GROUP BY in Jpa Specification

I try to use Jpa Specification to build query with Group by. It looks like this: Specification<AggregatedData> spec = (Specification<AggregatedData>) (root, criteriaQuery, cb) -> { ...
danny's user avatar
  • 4,667
0 votes
0 answers
36 views

clientHeight and scrollHeight calculation

Having this DOM structure, I am trying to get dimensions of the outer div ($0). The values I am getting are: $0.getBoundingClientRect().height // 14.35 $0.clientHeight // 14 $0.scrollHeight // 15 ...
gmlt.A's user avatar
  • 337
0 votes
0 answers
21 views

filter list of entities using spring specification

can I use spring specification to filter list of entities beside the retrived entities form the database I have a static class that has all the specifications that i use to filter @AllArgsConstructor ...
joseph shokry's user avatar
0 votes
0 answers
24 views

SQL Server FREETEXT function with Specification and Criteria API in Spring

How do I correctly use the FREETEXT function from SQL Server in Spring using Specification and the Criteria API? I can't directly use native query because I have other conditions that are dynamically ...
Eduardo Augusto's user avatar
1 vote
1 answer
54 views

What is the value of a WebAssembly local that has not been set?

If I use local.get to access the value of a WebAssembly local which I have not already set via local.set or local.tee, am I guaranteed to get a specific default value, or is this undefined behavior? ...
Sam Estep's user avatar
  • 13k
0 votes
0 answers
16 views

JPA Criteria: Is there any way to create a specification for exact match with list?

For example, I have a class user like class User{ private String id; private List<Company> companies; } And a class company class Company{ private String id; } Both are entities and Im ...
OzuSkywalker's user avatar
0 votes
0 answers
43 views

Can we use both spring data specification and spring data projection ? Does spring boot support this?

Can we use both spring data specification and spring data projection ? Does spring boot support this? I want to use specification for filtering and selecting only the columns I needed from the table. ...
Stryker's user avatar
1 vote
1 answer
60 views

C++20: A question about dynamic exception specification [duplicate]

Reference: Dynamic exception specification (until C++17) I am writing some test code and would like to specify a throw exception of type std::bad_alloc (std::bad_alloc) for a template function, which ...
Vinod's user avatar
  • 1,041
2 votes
1 answer
61 views

Is structure self-assignment defined to be safe in C? Especially if one side is a pointer to the structure?

In the C language, is self-assignment of values well defined for structures? struct Foo { char value[4096]; }; struct Foo foo = {0}; struct Foo *p_foo = &foo; foo = *p_foo; Is the value of foo ...
DonGar's user avatar
  • 7,424
0 votes
1 answer
18 views

JPA Specification like fails

I have the following code to do the search for the consedoc field, but I see that it does not search but rather tells me the number of records public static Specification<Solicitud>likeConsedoc(...
Javier Aguilar's user avatar
0 votes
0 answers
34 views

JPA Specification filter within an interval while ignoring days of month

I have table paysheet that contains monthYear values in this format : 08/2023 06/2023 05/2023 they're stored as strings in the database, i'm tasked to implement filtering using JPA specifications, i ...
Abdou's user avatar
  • 143
1 vote
1 answer
50 views

How to see the history of the HTML spec?

HTML Standard is a living standard, which is more or less constantly updated. https://html.spec.whatwg.org/multipage I want to do some research on how things have changed in the spec during time. How ...
Janghou's user avatar
  • 1,673
0 votes
1 answer
404 views

How to Include Parentheses in Spring JPA Specification's WHERE Clause

How can I use Spring JPA Specification for the WHERE condition in the following ways: Where cond1 AND (cond2 OR cond3) or Where (cond1 AND cond2) OR cond3. I have defined the Specification code as ...
Sidaoui Majdi's user avatar
0 votes
0 answers
24 views

Why `spec-ARCHIVED.md` is removed from TypeScript repo?

The doc/spec-ARCHIVED.md is removed in the https://github.com/microsoft/TypeScript/pull/51791, but I think the doc is very useful, sad for this and wanna know why... I want to refer the doc in my own ...
Yu HUANG's user avatar
0 votes
0 answers
41 views

Conditional Formatting Columns in Power Bi by multiple values with tolerances

I am trying to create a report in Power Bi. My initial table is currently populated with values and I want to conditionally format this table with very specific rules and add a tolerance. Table ...
Devin Melo's user avatar
0 votes
1 answer
187 views

Permissions-Policy autoplay

Docs mention that we can allow autoplay for videos by setting Permissions-Policy header for the document. I tried testing this, but it's still raising the the same error: Uncaught (in promise) ...
Appaji Chintimi's user avatar
0 votes
0 answers
47 views

I have a question for my project by opensource

I downloaded the project from https://github.com/ju1ce/Mediapipe-VR-Fullbody-Tracking and tried to create an executable (exe) file using PyInstaller without making any modifications to the '...
Kook San's user avatar
1 vote
1 answer
39 views

Understanding the relationship between an image and its content box

If we have an image with intrinsic dimensions of 300px by 300px, the image's content box is also 300px by 300px. If we change the image dimension via CSS to, say, 300px by 200px, the image will appear ...
ralph.m's user avatar
  • 13.9k
0 votes
0 answers
34 views

How to run electron's unit tests without compiling electron's source code

I need a tool to check the compatibility of electron on our platform. Because our operating system and hardware is quite complex and we have all kinds of hardware. I found a test case for your ...
wugaosheng's user avatar
0 votes
1 answer
91 views

Can an abstract class be used as a functional specification

I'm working on a toy project with my teammate for the purpose of learning new technics like object pool. Then I find it complicated when it comes to referencing other scripts like the example below. ...
김강산's user avatar
0 votes
1 answer
25 views

Specification<T> used for filtering join table with relationship @ManyToOne

!(https://i.stack.imgur.com/p5Tjt.png) { "country_code":["IT", "FR", "EG"] } In this way I can filter all cities for specific country_code here ...
Michele Genchi's user avatar
0 votes
0 answers
32 views

How do I use spring data jpa to query json column in MYSQL using Specification?

i wanna get field pattern from json structure using JPA Specification. I use database MYSQL. that's what I wrote, but it doesn't work: public static Specification<GameConfig> ...
Настя's user avatar
2 votes
1 answer
62 views

JPA Specification equivalent of a raw SQL

I am trying to use Specification to build an SQL which "should" be very similar to this query below: select p1_0.* from plans p1_0 inner join plans_vehicle_models p2_0 on p2_0.plan_id = p1_0....
Oluwaseun Peter's user avatar
0 votes
0 answers
22 views

JPA Specification with subquery

I have some issues to create a Specification for this case. I have two entities that are not related with foreign key: Truck Long id String name Long id Route Long id String name Long truckId (refers ...
Roberto Perata's user avatar
-2 votes
2 answers
154 views

Why are CSS @page properties not working?

According to the specifications for CSS Paged Media, it should be possible to do something like @media print { @page { size: a4; background: green; } } Evidence for such statement are the ...
Franc's user avatar
  • 102
2 votes
0 answers
30 views

In the JVMS, what is the ClassSignature for java.lang.Object, given that SuperclassSignature is non-optional?

Section 4.7.9.1 of the Java Virtual Machine Specification concerns signatures. One of the kinds of signatures is a ClassSignature. The grammar involved in this production indicates that a ...
Laird Nelson's user avatar
  • 15.6k
0 votes
0 answers
53 views

Performance issue migrating spring boot 2.1.1 with java 8 to spring boot 3.0.2 with java 17

No Performance issue with java 8 with spring boot 2.1.1 but getting performance issue in java 17 with spring boot 3.0.2 please help me what's the happening here here is the code below using to get ...
Nayaz JH's user avatar
0 votes
1 answer
24 views

Is there a standard for OIDC to modify and add actions to the user journey when it logs in?

I just wanted to now if there is an OIDC standard (or from other foundation), RFC or others (in draft, complete or incomplete) regarding integrating extra steps in an authentication flow (ex. "...
piraces's user avatar
  • 1,330
0 votes
1 answer
110 views

Where can I find a public version of the XFS specification document for ATM cash dispensers?

I am working on a software that interacts with the cash dispenser of an ATM. I was referred to an XFS specification document, but the link is broken. I have tried checking the Google archives and ...
Goutam02's user avatar
0 votes
1 answer
192 views

Cannot invoke "org.springframework.data.domain.Page.getContent()" for Junit Test with the usage of Specification in Spring Boot

I tried to use specification instead of using findAllByAnything in my Spring Boot. When I tried to implement a test method with the usage of Specification for JUnit, I got an error shown below. How ...
S.N's user avatar
  • 1
0 votes
1 answer
731 views

Spring Data JPA Specification With Projection

I am trying to use Specification with Projection but I get an error: Caused by: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [com....
Nidhi Kaushal's user avatar
1 vote
1 answer
61 views

Validation should stop with the first condition violation

I have specification and I want to stop validation with first false result. at now check all validation and then return result. ISpecification: public interface ISpecification<T> { ...
Soheil's user avatar
  • 190
0 votes
1 answer
60 views

Is there any valid reason why JAX RS 3.0 suggests to throw a 404 in an obvious case of bad request?

The specification specifies this A WebApplicationException thrown during construction of field or property values using any of the 5 steps listed above is processed directly as described in ...
Yassin Hajaj's user avatar
  • 21.4k
0 votes
0 answers
32 views

Search Value in array of string column posgres java

I have one column which is of string array in db. @Type(type = "com.here.tao.ctaas.jpa.entity.CustomStringArrayType") @Column(columnDefinition = "text[]") private String[] tags; In ...
sushil sinha's user avatar
1 vote
0 answers
29 views

Check is Postgres jsonb contain value via Specification

I have jsonb field in Entity, that actually List<Long>. How to determine is List contain value? I'm found "jsonb_array_elements_set" function, but stacked. private static Specification&...
Khilarian's user avatar
  • 249
0 votes
1 answer
163 views

Does YAML specification restricts the Kind for Custom Tags?

The YAML specification declares that a Tag must have an "expected" kind (link): YAML tags are used to associate meta information with each node. In particular, each tag must specify the ...
Cocktail's user avatar
0 votes
3 answers
110 views

Where I can find a rule, specified that tag <div> inside tag <p>?

I am doing a task, where I need to correct given HTML file with some content and write a reason for this correction. And there are lines of code that I know must be corrected, but I can't find any ...
codingForCode's user avatar
0 votes
0 answers
34 views

I get the problem Mapping Error: mapping types: entityqueryable to ienumerable

When I use Specification Pattern and try to compare Enum Properties from class with string from parameters I get this exception: Translation of method 'object.ToString' failed. If this method can be ...
Tkach Yevhenii's user avatar
0 votes
0 answers
22 views

How to fetch the attributes of Joined Column parameter in the Entity class

I am kind new to Spring Boot and trying to how JPA and hibernate works to make my filters and pagination work. Here is my Entity class: @Entity @Table(name="V_BOOK") @Getter @Setter public ...
Prachi Singh's user avatar
0 votes
0 answers
26 views

Need website that has project ideas and documentation/requirements

Are there any websites that have project ideas and full specifications / documentation of how to develop the project? e.g Hotel Management Systems I don't know how the hotel works. By reading doc/...
Pranay's user avatar
  • 1
0 votes
0 answers
40 views

Will swagger use default values passed in default keyword?

I am using the below spec definition for one of my request paylods: Request: properties: tag: type: string id: type: string default: test ...
bhargavi bharu's user avatar
0 votes
0 answers
26 views

error to show image while spec edit (python to exe )

I have convert my python code to exe with pyinstaller and it doesnt show me my image and i edit my spec and covert it to exe but also my image doesnt show in new exe file too . my code to convert py ...
Arshia Moftakharihajimirzaei's user avatar
2 votes
2 answers
1k views

Ln command error "target not a directory"

I have the following code inside a spec file: mkdir -p %{buildroot}%{_qt6_bindir} pushd %{buildroot}%{_qt6_bindir} for i in * ; do case "${i}" in qdbuscpp2xml|qdbusxml2cpp|qtpaths) ...
Ahmed Moselhi's user avatar

1
2 3 4 5
35