
The Blanka Cave
I’m hosting for free all blanka’s posts. Knowing him for years and concerned about his nervous behaviour tendance, I could not refuse when I received this email:
from: [email protected]
to: [email protected]
Blanka crushed you skull many times, but you are old friend of mine
Blanka wants internet hosting, Blanka wants to say his rage,
Blanka knows Markdown, Markdown is a friend of Blanka as well,
Blanka is waiting for a fast answer, otherwise Blanka will crush you skull!
Cheers, Blanka.
I was really happy to have some news from him. He may be in a good shape. He’s going well and he’s having professional and personal success in his life. It makes me feel good.
With this full of love message, I could not refuse! The next sections contain the posts of my old friend blanka.
Disclaimer : I’m not responsible of blanka’s thoughts and rough words.
Worst JAVA API collection of the World
Grrrraaaaarrrh !!!
Blanka lire tutorial horrible ici :
https://examples.javacodegeeks.com/java-tuple-example/
NDLR : je laisse le lien de Blanka, mais je vous en supplie de cliquez pas dessus !
API Java juste Horrible ! Blanka Très colère !
Humain étrange humain créer ça :
// Getting a value from a tuple and iterating it.
final Quartet<String, Integer, String, Double> quartet3 = Quartet.with("Abc", 30, "Pqr", 23000.5);
// Getting a value from the tuple.
System.out.println("Name= " + quartet3.getValue0());
System.out.println("Age= " + quartet3.getValue1());
System.out.println("Address= " + quartet3.getValue2());
System.out.println("Sal= " + quartet3.getValue3());
NDLR : je le redis, ne copier pas ce code, n’utilisez pas cette API !
BLAAAANKAAAA très grosse colère !
Dockerfile périmé
Maaaaaaaaaaaaarrrrrrrrrrhhh !
Blanka perdre heures cause gens mettre RUN wget <url>
dans script Dockerfile
qui retourne HTTP 404
!
Dockerfile devoir :
- utiliser
apt
ou autre gestionnaire de paquets - et/ou venir avec dépendances et utiliser
ADD
- et/ou pointer
wget
sur URL stables !
Grrrr !!!! Blanka envie de casser crânes !!!
Mot de passe en clair en base de données
BRRRRRRRRRRRAAAAAAAAAAAHhhhhhhhh !!! Grrr !
Gens doivent arrêter :
- concaténer SQL avec saisie utilisateur
- stocker mots de passe en clair en base de données !
Gens doivent :
- utiliser JDBC
PreparedStatement
ou JPQLsetParameter
- hasher avec BCRYPT + Salt
Blanka sympa, Blanka donner lien à lire : https://crackstation.net/hashing-security.htm
Float pour un Montant
Blanka très très très EN COLERREEEEEEE !
Blanka trouver encore trop de codes sources sur GitHub avec Float price;
ou Double montantTotal;
.
Gens pas connaitre IEEE-754 !!!!!
Blanka donner lien en anglais à lire par gens ! https://javarevisited.blogspot.com/2012/02/java-mistake-1-using-float-and-double.html
Blanka donner TL;DR : Gens devoir utiliser BigDecimal
avec constructeur String
!
Blanka prévenir : si Blanka trouver code source avec Float pour montant, Blanka casser Crâne !!!!!
Reactive programming
Blanka pas content encoRRREEEEE !
Blanka trouver que “reactive programming” buzzword pour pattern Observer/Observable
connu depuis 1994 !
Blanka pas aimer Buzzwords !
GWT, AngularJS, GoogleMaps, Kotlin
Blanka pas aimer quand Google rien avoir à faire des développeurs. Google casser API, Google arrêter API, Google faire payer API quand Google dire gratuit.
Blanka lister Google bad-habits :
- Google abandonner GWT -> Google créer GWT2
- Google abandonner GWT2 -> Google créér AngularJS
- Google abandonner AngularJS -> Google créer Angular2
- Google donner GoogleMaps -> Google faire payer GoogleMaps
- Google procès Java JVM -> Google encourager JavaScript (EcmaScript)
- Google procès Java API -> Google encourager Kotlin
Web Components
Blanka pas content du tout quand Blanka obligé écrire JavaScript + CSS + HTML dans même fichier !
Blanka trouve programmation gros crado :
<script src="node_modules/@webcomponents/webcomponents-bundle.js"></script>
<script type="module">
import {LitElement, html} from '@polymer/lit-element';
class MyElement extends LitElement {
static get properties() { return { mood: String }}
_render({mood}) {
return html`<style> .mood { color: green; } </style>
Web Components are <span class="mood">${mood}</span>!`;
}
}
customElements.define('my-element', MyElement);
</script>
<my-element mood="happy"></my-element>
Angular 2 et + / AngularJS
Blanka chercher documentation sur Angular 2+ !!! Google retourner trop exemples AngularJS inutiles !!!
ARRRRRRRGGGGGH !
Google devoir proposer meilleure recherche pour Angular 2+ !
XML / JSON
RGGGGHHHH ! Gens pas aimer XML, Gens préférer JSON + HTML …
HTML être XML aussi … (quand HTML bien écrit)
Gens créer tags avec Angular ou Web Components … Tags XML …
Gens bizarres …
Gens aimer HTTP aussi pour applications … Gens trop bizarres
EJB versus light
RGHHHH ! Gens pas aimer EJB et AppServers Java EE …
Gens préférer TOMCAT Leger …
Leger + Spring IoC + Spring Data + Hibernate + Spring REST = PAS LEGER !
Blanka préferer Thin Java EE War + MicroAppServer (Payara Micro)
Gens préférer TOMCAT car TOMCAT mouliner JSP ? TOMCAT pas léger non plus.