Opis 4 GC ktora sa dostepne w Java8
http://blog.takipi.com/garbage-collectors-serial-vs-parallel-vs-cms-vs-the-g1-and-whats-new-in-java-8/

Another beautiful optimization which was just out with Java 8 update 20 for is the G1 Collector String deduplication. Since strings (and their internal char[] arrays) takes much of our heap, a new optimization has been made that enables the G1 collector to identify strings which are duplicated more than once across your heap and correct them to point into the same internal
Fajnego bloga znalazłem, dopiero zaczyna, ale już mi się podobają prawie wszystkie posty tam, zacznijmy z weekendową lekturą.


1.Micro-monolith anti-pattern

It’s also transform an architecture in some kind of a rotten architecture which I call distributed monolith or micro-monolith anti-pattern. Symptoms of that anti-patter are following situations:


An implementation of a new feature requires changing of many services developed by many teams.

It’s impossible to deploy single service (it is required to
  • Odpowiedz
Using JDK 9 Memory Order Modes
http://gee.cs.oswego.edu/dl/html/j9mm.html

New Features Coming in PostgreSQL 10
http://rhaas.blogspot.nl/2017/04/new-features-coming-in-postgresql-10.html

Porównanie MySQL i Postgres
https://news.ycombinator.com/item?id=14070930

Electron is Flash for desktop
https://josephg.com/blog/electron-is-flash-for-the-desktop/

W ciągu ostatniego tygodnia opublikowane zostały dwie dość przełomowe informacje na temat AI:

Google pozwala na porzucenie scentralizowanej bazy ML
https://research.googleblog.com/2017/04/federated-learning-collaborative.html

OpenAI wstępnie pokazuje system który uczy się sam - bez człowieka poprawiającego jego wyniki
https://blog.openai.com/unsupervised-sentiment-neuron/

#interfacesmieci
Język programowania #kotlin rozstaje się z JVM, wyszedł kompilator Kotlin native. Można używać na rasbperry pi. IMO kotlin jest dużo lepiej zaprojektowanym językiem niż JS, a ma taki sam lub mniejszy próg wejścia dla programistów innych języków.
https://blog.jetbrains.com/kotlin/2017/04/kotlinnative-tech-preview-kotlin-without-a-vm/

Co nowego w porównaniu do Java8 wniesie Java9 dla programistów i managerów
https://www.romexsoft.com/blog/java-8-vs-java-9/

Jak jedną linijką kodu rozwalić sobie zabezpieczenia serwera
https://martinfowler.com/articles/session-secret.html

Dlaczego ten kod w #golang jest dużo szybszy od Javy?
http://www.boyter.org/2017/03/golang-solution-faster-equivalent-java-solution/

Modules
interface - Język programowania #kotlin rozstaje się z JVM, wyszedł kompilator Kotlin...
Ogólnie zazwyczaj z tego co widziałem i słyszałem to usprawniają serwer bo taniej niż zapłacić programistom ( ͡° ͜ʖ ͡°)


@Wyrewolwerowanyrewolwer: To w prawdziwym świecie, jeśli wiesz co robisz to optymalizacja zapytań jest miejscem gdzie można zyskać najwięcej. Mój rekord to przepisanie crona który leciał paręnaście godzin i robił tysiące zapytań na jeden porządny update który leciał 30 sekund, na dodatek przed poprawką pojawiały się błędne rekordy
  • Odpowiedz
4 JVM Web Frameworks in 40 Minutes by Joe Kutner


Play, Rails, Ratpack, and Immutant. These frameworks use alternative JVM languages -- Scala, JRuby, Groovy and Clojure -- to reimagine how we build web applications. But are they mature enough for production? Can they scale? Will they solve your problems or create new ones?

#interfacesmieci
#java
interface - >4 JVM Web Frameworks in 40 Minutes by Joe Kutner

Play, Rails, Ratpack...
  • Odpowiedz
Do you write enough tests? Even if the answer is yes, there might be some scenarios where you could add a few more to cover extra possibilities. But do you really want to go through the effort of having to write out another test for the extra inputs you are going to test? JUnitParams provides a solution to this, allowing you to write fewer individual tests while keeping the coverage the same.
  • Odpowiedz