Un nene ProjectGoogle Page Rank

 Un nene Project Un nene Project

este un blog personal, unde scriu cand am timp liber. Eu sunt un baiat care studiaza informatica si de obicei ma plictisesc.
RSS postsRSS comments



Kotlin Basics
The Unit return type declaration is optional for functions. The following codes are equivalent. Single-Expression functions:When a function returns a single expression, the curly braces can be omitted and the body is specified after = symbol [crayon-5e52642ae42c3281308967/] Explicitly declaring the return type is optional when this can be inferred by the compiler [crayon-5e52642ae42ca146338425/] String interpolation: […]
Kotlin Intro
Hello World Kotlin programs start at the main function. Here is an example of a simple Kotlin “Hello World” program: When compiled this code will be compiled into a file named after file name + 'Kt', if your file was named Main.kt, the compiled code will be in a file name MainKt. In the above […]
An Agile approach in software building
When writing software, it is important to keep you organized and focused, losing focus or vague understanding requirements will endup in a bad written system in the best case. If you have got a large body of work that needs to go into production there are lots potential thinks that can go wrong. When you […]
Retry mechanism in an event based architecture
In this article I would like to explain what kind of problems can we encounter when working with Apache Kafka and how we can address them. Apache Kafka is a distributed streaming platform, it is used for building real-time data pipelines, because of persistence of topics it can be used for processing historical message events; […]
S3Fuse Java
S3Fuse allows you to mount an S3 bucket to your local storage and interact with it like it was stored into your local storage. It is written in Java and it will be published to my github account soon. It allows to read data from S3 but it is not possible yet to write data […]
Hashing performance problem and how it was solved
Recently I run into a problem where hashing some data had a big impact on the application performance. There are few factors that influenced this but it required 2.5x more instances, imagine when you have 15 instances of you application in production and it requires 38 to serve the same traffic. In order to understand […]
Indexes – Choosing a good column order
The purpose of this article is to explain (mainly to myself) a technique for creating good indexes for mysql database. Before starting I would like to discuss about selectivity. Index selectivity is the ratio of number of distinct indexed values ( the cardinality) over the total numbers of rows in the table (#T), and ranges […]
Martin Fowler @ OOP2014 “Workflows of Refactoring”
Over the last decade or so, Refactoring has become a widely used technique to keep a high internal quality for a codebase. However most teams don’t make enough use of refactoring because they aren’t aware of the various workflows in which you can use it. In this keynote talk from OOP 2014 in Munich, Martin […]
Favor composition over inheritance
Inheritance is a powerful way to achieve code reuse, but it is not always the best tool for the job. Used inappropriately, it leads to fragile software. Unlike method invocation, inheritance violates encapsulation. In other words, a subclass depends on the implementation details of its superclass for its proper function. A class B should extend […]

Generat în 1.681 secunde.