vasya | it 's vasya , what more would you want to know | Automation library
kandi X-RAY | vasya Summary
kandi X-RAY | vasya Summary
it's vasya, what more would you want to know
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vasya
vasya Key Features
vasya Examples and Code Snippets
Community Discussions
Trending Discussions on vasya
QUESTION
I have String like this:
...ANSWER
Answered 2022-Jan-28 at 18:22Thymeleaf is the most widely used view/template engine with Spring Boot and can handle your loop requirement. Spring MVC enables you to manage your app behavior and define the data bound to HTML pages (views). You will need a database and there are lots of options. Check out Spring Data which makes it easy to work with all major database technologies.
QUESTION
I create a collection of objects
...ANSWER
Answered 2022-Jan-02 at 11:44Your user object doesn't have the field you specified on the index
QUESTION
I have some family tree and want to get granfather from that tree via defrule. Also would be perfect if we can get brother-in-law.
...ANSWER
Answered 2021-Dec-09 at 19:21Assuming that you're treating half-brothers as brothers, there are two issues with your existing Brother rule. First, it's requiring that a brother have a male sibling, so Masha and Natasha are not identified as having brothers. Second, half-brothers can also share mothers, not just fathers.
Modify your person deftemplate to include a mother and change the wife slot to a spouse:
QUESTION
All, I have a non-trivial assignment.
Due to DB structure change I need to split full names, which are sitting in one field usr_name
, to 3 fields usr_firstname,usr_middlename, usr_middlename
.
So far it looks easy, I can do something like this:
...ANSWER
Answered 2021-Sep-16 at 20:52The split_part
function returns an empty string if the requested part doesn't exist, so assuming it's just the middle name that's optional you can simply use a case expression
to test:
QUESTION
Question - The translation from the Berland language into the Birland language is not an easy task. Those languages are very similar: a berlandish word differs from a birlandish word with the same meaning a little: it is spelled (and pronounced) reversely. For example, a Berlandish word code corresponds to a Birlandish word edoc. However, it's easy to make a mistake during the «translation». Vasya translated word s from Berlandish into Birlandish as t. Help him: find out if he translated the word correctly.
Input - The first line contains word s, the second line contains word t. The words consist of lowercase Latin letters. The input data do not consist unnecessary spaces. The words are not empty and their lengths do not exceed 100 symbols.
Output - If the word t is a word s, written reversely, print YES, otherwise print NO.
When I write this code, the output is wrong -
...ANSWER
Answered 2021-Mar-21 at 18:25Remember that arrays naturally decay to pointers to their first elements, and it's such pointers that you are comparing.
In short, what you're really doing is:
QUESTION
I got a homework to do in csharp:
The new "Avengers" movie has just been released! There are a lot of people at the cinema box office standing in a huge line. Each of them has a single 100, 50 or 25 dollar bill. An "Avengers" ticket costs 25 dollars.
Vasya is currently working as a clerk. He wants to sell a ticket to every single person in this line. Can Vasya sell a ticket to every person and give change if he initially has no money and sells the tickets strictly in the order people queue?
Return YES, if Vasya can sell a ticket to every person and give change with the bills he has at hand at that moment. Otherwise return NO.
My code so far is
...ANSWER
Answered 2020-Oct-23 at 09:08change your second if else condition
to tf >=1 && f >=1
this will check if you have one twenty five or more and fifty one or more
QUESTION
I have an index of jBPM usertasks. Each usertask has id
, actualOwner
and actualOwner.keyword
, potentialOwners
and potentialOwners.keyword
, and processId
fields.
I need this aggregation: count of usertasks per process for some user. User task belongs to user if it's actualOwner
or potentialOwner
is that user. And in some statuses.
Seems that is very easy query, but I cannot write it. I try this:
...ANSWER
Answered 2020-Oct-17 at 07:56If you don't need to sort your data by score of relevancy, it would be better to use filter
. Besides, if you just need to use data from aggregation part, it is wise to set size:0
to make elasticsearch to not to return any posts, and just return the aggs result. in my view the below query can have better performance for you:
QUESTION
Example of a POST request that I will make to add a user: Vasya, Petrenko,910382741, vasya@mail.ru, ADMIN
the first 4 attributes work, but I don't understand how to make a field for a role.
Is my database built correctly? I use Json to send a request to add a user, the user's relationship to the role is many to many. I don't understand how to send the role, I need another attribute in the user?
...ANSWER
Answered 2020-Sep-25 at 21:55The problem is that you're setting roles = null
and then make a method call on it. You first need to fetch the role object by calling valueOf
. If the role does not exist it should be null. The following should work.
QUESTION
I can't make a request via postman, I checked everything, my email is represented as varchar(255) in my database. I use postgresql. Error: Required String parameter 'email' is not present. I used response and set it like this: @RequestParam(value = "params", required = false) String params
for each received value, but this didn't help, as the program reported that we didn't send anything. What does this have to do with? The request is correct, as well as the accepted parameters are correct.
What the request looks like:
...ANSWER
Answered 2020-Sep-25 at 17:38This controller seems to be incorrect.
QUESTION
Good day.
I want to make a web service for processing an HTTP request. The request has:
...ANSWER
Answered 2020-Aug-11 at 08:33Form data is plain flat key-value.
I created a little example server code based on your description:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vasya
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page