Rules not assigned by default, but very useful:
- https://rules.sonarsource.com/java/RSPEC-3749
Members of Spring components should be injected
- https://rules.sonarsource.com/java/RSPEC-4288
Spring components should use constructor injection
Rules not assigned by default, but very useful:
- https://rules.sonarsource.com/java/RSPEC-3749
Members of Spring components should be injected
- https://rules.sonarsource.com/java/RSPEC-4288
Spring components should use constructor injection
Buen post que explica como las conexiones de HikariCP son obtenidos y los posibles mensajes de error que son tirados.
https://medium.com/@rajchandak1993/understanding-hikaricps-connection-pooling-behaviour-467c5a1a1506
https://github.com/brettwooldridge/HikariCP/wiki/Bad-Behavior:-Handling-Database-Down
Technical Reviewer:
Dzejla Medjedovic, Emin Tahirovic, and Ines Dedovic
MEAP began July 2020 Publication in January 2022 (estimated)
ISBN 9781617298035 325 pages (estimated) printed in black & white
https://www.manning.com/books/algorithms-and-data-structures-for-massive-datasets
netcat
ncat
nc
-n : skip DNS lookups
-u : Use of UDP mode (instead of TCP)
-v : Extensive output
-w : timeout (seconds)
-z : Port scanner mode (zero I/O mode); only listening services are scanned (no data is sent)
Scan port 123 for NTP:
nc -z -v -u 0.us.pool.ntp.org 123
scan ports:
nc -w 2 -z 192.168.10.1 1-1024
nc -v -n 8.8.8.8 1-1000
Technical Reviewer:
© 2022
Practical C++ Design
From Programming to Architecture
Authors: Singer, Adam B.
https://www.apress.com/us/book/9781484274064
Technical Reviewer:
Alexander Granin
MEAP began July 2021 Publication in Early 2022 (estimated)
ISBN 9781617299612 575 pages (estimated)
https://www.manning.com/books/functional-design-and-architecture
A predecessor to Sudoku:
Emi Kasai bases on a Mutually Orthogonal Latin squares (MOLS)
https://en.wikipedia.org/wiki/Mutually_orthogonal_Latin_squares#Euler's_conjecture_and_disproof
http://martin-gardner.org/SciAm12.html
After 33 years:
COMPUTER RECREATIONS
A. K. Dewdney
Scientific American
Vol. 258, No. 5 (MAY 1988), pp. 118-121 (4 pages)
https://www.jstor.org/stable/24989094
SDLF is a peculiar framework developed by AWS as a Data Lake using their services.
It is interesting how it creates two pipelines where the data is parsed (reduced), process as a big ETL, where finally can be exploited by BI products.
https://github.com/awslabs/aws-serverless-data-lake-framework
Beta tester:
+ Technical Proofer. (September 2021)
Craig Walls
MEAP began May 2020 Publication in Early 2022 (estimated)
ISBN 9781617297571 520 pages (estimated)
https://www.manning.com/books/spring-in-action-sixth-edition
Cluster > Node > Pod > Container
There are two types of nodes:
A Control-plane-node type, which makes up the Control Plane, acts as the “brains” of the cluster.
A Worker-node type, which makes up the Data Plane, runs the actual container images (via pods).
Cluster > Node > Pod > Container
A container runs typically as a single Unix process
The simplest way to generate an AWS EKS
- install: awscli, eksctl, kubectl
1.
eksctl create cluster -f cluster.yml
(it takes several minutes, 20 mins?)
cluster.yml:
2.
eksctl delete cluster --region=us-west-1 --name=my-kube-config
3.
eksctl get cluster
4.
kubectl config view
5.
//mandatory? (yep!)
aws eks update-kubeconfig --name <cluster-name>
aws eks update-kubeconfig --name cobroqr-eks-RCXW8qM5
6.
kubectl create deployment hello-node --image=k8s.gcr.io/echoserver:1.4
7.
kubectl get deployment
8.
kubectl get pods
9.
kubectl expose deployment hello-node --type=LoadBalancer --port=8080
10.
kubectl get services
(aca deberia aparecer el service nuevo agregado arriba en "expose" como LoadBalancer).
aca sale tb el EXTERNAL-IP para poder probar
11.
kubectl exec --stdin --tty hello-node-7567d9fdc9-6lbx4 -- /bin/bash
(del kubectl get pods)
12.
kubectl delete deployment --all
deployment.apps "books-node" deleted
deployment.apps "hello-node" deleted
13.
eksctl delete cluster --name <cluster-name>
eksctl delete cluster --name my-kube-config.us-west-1.eksctl.io
---------------------------
more examples:
6.
kubectl create deployment books-node --image=091501399925.dkr.ecr.us-west-1.amazonaws.com/ecr-eks-sandbox:latest
(al ver get deployment y get pods, veo que hay 1 pod por deploy...
9.
kubectl expose deployment books-node --type=LoadBalancer --port=8080
curl http://af760c2d8e8ff40608558465fa4a4a4e-710530633.us-west-1.elb.amazonaws.com:8080/books
(se demora en publicar)
12.
kubectl delete deployment --all
1. adj. Gram. Emparentado morfológicamente.
En Portugues es Cognato, y tenemos muchos cognados falsos
Technical proofed/reviewed:
https://www.manning.com/bundles/develop-secure-java-applications-to-prevent-website-attacks
“Solution to double partition Alphametics”, Knuth Donald, The Art of Computer Programming, Pre-Fascicle 2b, Generating All Permutations, Addison-Wesley, 12 June 2004, p. 42. http://www-cs-faculty.stanford.edu/~knuth/taocp.html#vol4
From https://github.com/devwebcl/spring-samples
This simple sample to hash password using blowfish2a compatible with Postgres pgcrypto https://www.postgresql.org/docs/9.3/static/pgcrypto.html
It uses sample from http://docs.spring.io/spring-security/site/docs/current/apidocs/org/springframework/security/crypto/bcrypt/BCrypt.html
En gramática, una apócope (del griego apokopé < apokopto, "cortar") es un metaplasmo
donde se produce la pérdida o desaparición de uno o varios fonemas o
sílabas al final de algunas palabras. Cuando la pérdida se produce al
principio de la palabra se denomina aféresis, y si la pérdida tiene lugar en medio de la palabra se llama síncopa. Es una figura de dicción según la preceptiva tradicional.
Pasos swagger:
We need to have installed the following tools: swagger2markup and asciidoctor
$ cat index.adoc
:doctype: book
:toc: left
:toclevels: 3
:numbered:
:hardbreaks:
:sectlinks:
:sectanchors:
include::./overview.adoc[]
include::./paths.adoc[]
include::./security.adoc[]
include::./definitions.adoc[]
https://stackoverflow.com/questions/21981796/cannot-ping-aws-ec2-instance
Add a new EC2 security group inbound rule:
Technical proofed/reviewed:
https://www.manning.com/liveproject/create-an-open-banking-app-using-openapis-and-spring-boot
Sometimes we need to clone an object in Java, but not a reference (a junior developer may use). There are several ways to achieve this task; however, I recommend to use a copy-constructor (that comes from C++) and, in particular, using @Builder from Lombok (to avoid boilerplate code))