Proudly debugging the system since 1981

Tag: programmazione Pagina 1 di 3


Contesto: classe Java, framework Wicket (ma non è significativo), IDE Intellij.

Quale sarà mai il motivo percui, un anonimo programmatore che mi ha preceduto, può aver pensato che avesse senso fare un metodo privato, che nel nome richiama l’idea di un factory method, che ritorna un campo della sua stessa classe?

E poi perchè commentarlo con // (5) ?

Leggi tutto


A lightweight powerful flow control component enabling reliability and monitoring for microservices. (轻量级的流量控制、熔断降级 Java 库) – alibaba/Sentinel

As distributed systems become increasingly popular, the reliability between services is becoming more important than ever before. Sentinel takes “flow” as breakthrough point, and works on multiple fields including flow control, circuit breaking and system adaptive protection, to guarantee reliability of microservices.

Sentinel has the following features:

  • Rich applicable scenarios: Sentinel has been wildly used in Alibaba, and has covered almost all the core-scenarios in Double-11 (11.11) Shopping Festivals in the past 10 years, such as “Second Kill” which needs to limit burst flow traffic to meet the system capacity, message peak clipping and valley fills, circuit breaking for unreliable downstream services, cluster flow control, etc. […]

Sorgente: alibaba/Sentinel

B4J – Modern “VB6 like” development tool for cross platform desktop, server and IoT solutions

Non sò se quello che segue è più genio o follia. Ma qualcuno ha pensato che il basic non meritasse la fine che gli ha fatto fare Microsoft e ha ricostruito un ecosistema intero.

B4J is a 100% free development tool for desktop, server and IoT solutions. With B4J you can easily create desktop applications (UI), console programs (non-UI) and server solutions. The compiled apps can run on Windows, Mac, Linux and ARM boards (such as Raspberry Pi).

Sorgente: B4J – Modern “VB6 like” development tool for cross platform desktop, server and IoT solutions

ABMaterial is a modern framework combining a tuned Materialize CSS with the free programming tool Basic4Java (B4J).

It allows creating WebApps that not only look great thanks to Googles Material Design, but can be programmed in an Object-Oriented way with the powerful free tool from Anywhere Software without any knowledge of HTML, JavaScript or CSS!

Sorgente: alwaysbusycorner

Tool per installare VB6 su una versione recente di Windows

Installare VB6 su Windows 10/8/7/Vista/2000,
32 bit / 64 bit, any edition (Home Premium, Professional, Ultimate, Enteprise).

(Eh si… può essere comunque utile…)


Impara RxJs

Clear examples, explanations, and resources for RxJS.


RxJS is one of the hottest libraries in web development today. Offering a powerful, functional approach for dealing with events and with integration points into a growing number of frameworks, libraries, and utilities, the case for learning Rx has never been more appealing. Couple this with the ability to utilize your knowledge across nearly any language, having a solid grasp on reactive programming and what it can offer seems like a no-brainer.


Learning RxJS and reactive programming is hard […]

Impara RxJs

ReactiveX – Operators

The Operators of ReactiveXThis page first lists what could be considered the “core” operators in ReactiveX, and links to pages that have more in-depth information on how these operators work and how particular language-specific ReactiveX versions have implemented these operators.Next is a “decision tree” that may help you choose the operator that is most appropriate to your use case.

ReactiveX – Operators

Observable | RxJS API Document

Tutto quello che si può fare con un Observable

Sorgente: Observable | RxJS API Document

CodingJam » Angular 2

Collezione di articoli su angular 2 (4 … 6… )

CodingJam » Angular 2


Electron Build cross platform desktop apps with web technologies


Mi ci è voluta più di qualche imprecazione per arrivare a questa implementazione :

fun Shop.getSetOfProductsOrderedByEveryCustomer(): Set<Product> {
    return customers.fold(allOrderedProducts, {
        orderedByAll, customer -> 
orderedByAll.minus( orderedByAll.filter { !customer.orderedProducts.contains(it) }) })

Salvo poi scoprire nelle soluzioni che esisteva il magico intersect

fun Shop.getSetOfProductsOrderedByEveryCustomer(): Set<Product> {
    // Return the set of products ordered by every customer
    return customers.fold(allOrderedProducts, {
        orderedByAll, customer ->

L’esercizio era questo : https://github.com/Kotlin/kotlin-koans/blob/master/src/ii_collections/_22_Fold_.kt

Comunque Kotlin è bellissimo.

Pagina 1 di 3

Powered by WordPress & Theme by Anders Norén