User Interface design books/resources for programmers

I'm going to make my monthly trip to the bookstore soon and I'm kind of interested in learning some user interface and/or design stuff - mostly web related, what are some good books I should look...

Help with a python code

I'm reading this python book called "Python for software design" and it has the following exercise: Suppose the cover price of a book is $24.95, but the bookstores get a 40% discount. Shipping...

Combining base url with resultant href in scrapy

below is my spider code, class Blurb2Spider(BaseSpider): name = "blurb2" allowed_domains = ["www.domain.com"] def start_requests(self): yield...

Trying Gradle build - "Task 'build' not found in root project"

I just started to read "Pro Spring MVC with web flow" and it comes with a code sample that I want to follow. What I want - I want to build the applications as it's done in the book, using...

Free compiler + IDE for writing Windows App in C++ (for students)

I will be teaching middle school and high school students C++ over this summer vacation. I went to a bookstore, browsed through some of recommended C++ books such as C++ Primer, The C++...

(Kiss)XML xpath and default namespace

I am working on an iPhone project that needs to parse some xml. The xml may or may not include a default namespace. I need to know how to parse the xml in case it uses a default namespace. As I...

Expand/collapse code on XML Tree with JavaScript

I need some help on JavaScript, I have created a XML file, which I tried to display all the node names with JavaScript, and now I am trying to create a some special function to expand and collapse...

Intellij IDEA : How to validate XML SCHEMA 1

I am trying out XML SCHEMA 1.1 in IDEA 13.02 with JDK 7 This is an XML schema code I got from a tutorial. When I open this file in IntelliJ IDEA and click "Validate" , I get the following...

Fetching LDAP attribute memberof inside Grails Spring application

I am stuck possibly at a very stupid question, trying to implement LDAP role based authentication/authorization in a Grails application (bookstore) using spring-security-core and...

Cannot run npm run build or npm start

Whenever I try building my web-pack file or starting web-pack dev server I get an error. It was working, but I was messing around with eslint and broke something. This is the error package when...

Docker command not found in local Jenkins multi branch pipeline

I have BookStore Spring Boot project that needs to be deployed through Jenkins. Docker installed in my local machine (macOS) and Jenkinsfile created as follows pipeline { agent { ...

o.s.boot.SpringApplication : Application run failed

I am new in spring. I am getting this error. Here is my log: :: Spring Boot :: (v2.1.2.RELEASE) 2019-01-31 15:55:08.747 INFO 9396 --- [ main]...

How to get rid of unnecessary(?) code - adjusting to DRY principle

I was with the similiar topic some time ago. I'm looking at my app and I think it has a lot of unnecessary code. What I mean is I have service that is responsible for scraping data from different...

Struggling to save an entity in OneToMany/ManyToOne relation using NestJS/TypeORM

Bookstore exercise. A Book can be assigned a single Genre Trying to assign a new book with the genreId supplied in the DTO. BookRepository @EntityRepository(Book) export class...

listen EACCES: permission denied in windows

Everything was worked fine before today evening after i uninstalled vscode and installed again I'm facing this issue while try to run npm run app i have no clue how to fix this i tried to run vs...

How do I make spring boot RestTemplate client metrics not create a new tag for query parameters

I've got a spring boot application that is defining a RestTemplate bean as follows: @Bean public RestTemplate restTemplate(RestTemplateBuilder builder) { return builder.build(); } Also,...

How to create an online bookstore using bagisto laravel package?

Bagisto is awesome for single and multi-vendor e-commerce platform. I want to create an online bookstore using this laravel package. I just need to add "writer" as a new entity in this. How could...

java spring unable to set setcookie header with flags Samesite="None" and secure flag simultaneuosly

@Override public void doFilter ( ServletRequest request, ServletResponse response, FilterChain chain ) throws IOException, ServletException { ...

SwiftUI 2: the way to open view in new window

Lets imagine that I have an App var storeVM = BookStoreViewModel(bla1: bla1, bla2: bla2, bla3: bla3) @SceneBuilder var body: some Scene { WindowGroup { BookStoreView( model: storeVM...

C++/WinRT XAML controls bind to a property

I am attempting to expand the Bookstore example by introducing an other ViewModel to have Sections within the book store. I my case I am calling it 'Library'. I am having difficulty in getting the...

How to lazy load module based on some condition using useFactory in angular?

I have an angular project with large amount of modules and components in which, I want to show module's component based on some business logic. I want using angular's powerful feature i.e. lazy...

Some total newbie questions on NFT and Ethereum

I'm interested in the conceptual topic of creating rights managements systems on the the Ethereum block chain with digital assets represented by an NFT. I am just reading up on how to write...

Spring project with Hibernate and MySQL errors - Error executing DDL "alter table ____ drop foreign key"

My Spring Boot app is connected to a MySQL database, but the code will not run. In MySQL workbench I created a database schema called "bookstore" which is empty (as in, there are no existing...

Spring Boot: Create Custom Jsp Tag - Unable to find taglib

I want to add a custom Jsp tag to Spring boot. But I can't figure out project structure/URI for the taglib definition I tried searching for solutions, but they are too ... deprecated. Using...

For Transcoding HTTP/JSON to gRPC, how to specify query parameter for empty message?

I have a request message in our proto file with definition similar to below rpc GetBookUploadUrl (GetBookUploadUrlRequest) returns (GetBookUploadUrlResponse) { option (google.api.http) = { ...

How to fix this error Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login] not defined. in laravel 8?

i have one controller which contains three functions (register,login,forgotPassword).for login and registration it's working fine but when i try to hit an API in postman i am getting an...

Is there a better way to create a multi-column (Data table) List view in SwiftUI

EDIT Below I'm trying to present a JSON file as a data table, similar to what one would see in a database application. So far my best results have come from an HStack of Lists, however in doing...

Why indexOf() and contains() doesn't work as i intended in java?

// Objects for the bookstore I created BookStore bookStore = new BookStore("Subu's Book Store","Perambur"); bookStore.addItem(new Item("Animal Farm",20)); bookStore.addItem(new Item("Animal...

How to add foreign key in PostgreSQL

I created this first table named 'bookstore' where Primary Key is book_name: create table bookstore (book_name varchar primary key, author varchar, price decimal); I am trying to create a second...

Publish error: Found multiple publish output files with the same relative path

When I publish my ABP project I get the following error: C:\Program Files\dotnet\sdk\6.0.100-rc.1.21458.32\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): error...