Proudly debugging the system since 1981

Tag: java (Pagina 2 di 3)

Trove

The GNU Trove library has two objectives: Provide “free” (as in “free speech” and “free beer”), fast, lightweight implementations of the java.util Collections API. These implementations are designed to be pluggable replacements for their JDK equivalents. Whenever possible, provide the same collections support for primitive types. This gap in the JDK is often addressed by using the “wrapper” classes (java.lang.Integer, java.lang.Float, etc.) with Object-based collections. For most applications, however, collections which store primitives directly will require less space and yield significant performance gains.
http://trove.starlight-systems.com/overview

JetBrains’ Kotlin JVM language appeals to the Java faithful

Kotlin, a high-performance, statically typed “pragmatic language” that leverages the environment of Java Virtual Machine, has reached its official 1.0 release milestone. Created by IDE makers JetBrains, Kotlin — like many other non-Java languages that run on the JVM — is meant to run where Java runs and make use of the existing culture of Java libraries and tooling. Java, in turn, can use items built in Kotlin.
http://www.javaworld.com/article/3033798/java/jetbrains-kotlin-jvm-language-appeals-to-the-java-faithful.html#tk.rss_all

Sincronizzare i file con un drive esterno

Non ho mai trovato un programmino semplice e gratuito per mantenere aggiornata la copia di una directory su un disco esterno. Ci sono evoluti programmi commerciali che lo fanno, ma per una banalità del genere non voglio pagare. Ci sono i tools del sistema operativo ma richiedono troppa attenzione (no, se il file è già presente nella cartella di destinazione e ha la stessa data di ultima modifica non devi sovrascriverlo se no ci mettiamo una vita…). Ci sono ottimi tools open source, come rsync, ma che sono molto complessi e, nel caso di quest’ultimo ottimizzati per la sincronia tra due dispositivi intelligenti (2 pc, 2 server…) in modo da ridurre la banda utilizzata.

Per cui, vista la banalità della cosa, ho deciso di dedicare qualche ora a scriverne uno, invece che a provare l’ennesima cosa che non fa quello che voglio.

Requisiti che mi sono dato :

  • Sincronia unidirezionale da una cartella sorgente ad una di destinazione
  • Possibilità di scegliere se rimuovere o meno i file cancellati nella sorgente anche nella destinazione
  • Nessuna richiesta di conferma all’utente
  • Parametrizzazione da linea di comando, cosi si fa un bello script e non ci si pensa più
  • Resistenza all’errore. Se fallisce la copia di un file o l’esplorazione di una cartella si passa alla successiva

La versione molto alpha (ma che già fa tutto quello che voglio) è disponibile a questo indirizzo : https://bitbucket.org/sgalliani/mysync/downloads/20160131%20mySync.zip

JHipster home page

Our goal is to generate for you a complete and modern Web app, unifying: A high-performance and robust Java stack on the server side with Spring Boot A sleek, modern, mobile-first front-end with AngularJS and Bootstrap A powerful workflow to build your application with Yeoman, Bower, Grunt and Maven
https://jhipster.github.io/

« Articoli meno recenti Articoli più recenti »

© 2024 b0sh.net

Tema di Anders NorenSu ↑