-
lambdaj
Jan 23, 2011 · 1 min read ·
How many times have you read or written the same two or three lines of code that frequently seem to go together, and even though they operate on different objects, feel like the same thing? And how often these repetitions involve some sort of collections iteration or more generically manipulation? These repetitions in the code is something that developers eventually learn to filter out and ignore when reading code, once they figure out where the interesting parts are placed. But even if the developers get used to it, it slows them down. Code like that is clearly written for computers to execute, not for developers to read.
Integrate lambdaj in your software architect toolkit (italian link)lambdaj is designed to easily manipulate collections. Its features are intended to filter, convert, index and aggregate the items of a collection without explicitly iterate on it.
-
With typeface.js you can embed custom fonts in your web pages so you don’t have to render text to images.
via typeface.js – Rendering text with Javascript, , and VML.
With jsmath, this is another example of the power of CSS3 and Javascript.
Is the Web the true FUTURE of the desktop GUI?
-
Spesso capita di dover scaricare file al di fuori del browser: per esempio per installare software o per consentire ai propri programmi python/java/curl di effettuare delle azioni programmatiche
Se avete problemi con i proxy Microsoft (cosa abbastanza comune, vista la diffusione), su Internet trovate una soluzione:
Read More -
When using Axis to send data to a web service, you can set the logger level on org.apache.axis.transport.http.HTTPSender to DEBUG to see what’s going on.
Anyway be careful: the system will produce a lot of logs, so use it only in developement mode!
Here’s a sample in log4j.properties:
Read More -
Closure in Java: fast and nice!
Feb 26, 2010 · 4 min readprogramming_languages en evergreen lang · closure functional-java functional-programming html http java·I have decided to re-cook this subject, adding a my specialized Example also.
Let’s start!
Read More -
Book review by Stefano Fago: This book introduce one of most interesting language of new wave of functional programming. You will find a complete overview of clojure language focusing in functional paradigm that can be the real obstacle for a standard developer. The author try to follow you on learning different subject with a lot of examples but sometimes it need more reflection and time to master some arguments and a syntax that may seems obscure. The book is a good starting point to introduce you to a new way of programming but also to learn some particulars aspect of Java. To consider a complete but not easy reading. However a book to have!
-
Mastering clusters of Unix machines part2: the right tools
Oct 11, 2009 · 1 min read ·
After working with unix for years, we noticed it is difficult to get a very uniform approach to unix management.
Often different Linux distributions share very little, configuration is different every time. Worst, some good unix tools (like cron, syslog, etc) can be used in a distributed environment, but are very difficult to configure, very user unfriendly and so on.
Read More -
Welcome to Apache Rampart
via Apache Rampart .Rampart is the security module of Axis2. It secures SOAP messages according to specifications in the WS-Security stack.
-
Erlang Book Review
Jul 19, 2009 · 7 min readen erlang featured lang reviews software · books development erlang framework functional-programming guide http ideas internet java oreilly performance programming-languages·
After reading an interesting article on Erlang and Java interoperability, I have decided to dedicate my spare time to Erlang.
O’Reilly has just published a wonderful book on Erlang, so I decided to dive into it.
Read More -
Released on June 8, 2009 Jython 2.5RC4 is out!
We have followed Jython in the past months, and it seems promising looking at the jython newsletter.
-
As processors become faster and multiprocessor systems become cheaper, the need to take advantage of multithreading in order to achieve full hardware resource utilization only increases the importance of being able to incorporate concurrency in a wide variety of application categories.
In this article we are evaluting a new approach to the concurrency. In the last five years computers are becoming even more parallel. Intel is pushing multi-core achiteture also on commodity personal computers. Neverless the computing power is ofter not well used: one again, hardware is a step head of our day-by-day software development. Remember when the 80286 came into light. The 286 was able to provide a multi-programming architecture but without memory management protection. We had to wait 386 hardware to see software working on preemptive multi-tasking, because software cannot cope with unprotected memory. In one word, it costs too much to develop a operating system without the new features the 80386 bring to us. What about concurrent programming? Can we look similarities in the concurrency field?
Read More -
WinRun4j is a java launcher for windows. It is an alternative to javaw.exe and provides the following benefits:
-
Uses an INI file for specifying classpath, main class, vm args, program args.
-
Custom executable name that appears in task manager.
-
Additional JVM args for more flexible memory use.
Read More
-
-
Working for a very big customer, I found a very nasty interaction between Sun HttpClient (JDK 1.4) and Http Load Balancers.
In a complex network environment, sometimes you can experience low level TCP/IP comunication errors, because sometimes HttpClient get confused and hangs.
The bad behavior of Sun HttpClient is well known: some guys suggested me to use the Axis Web Client. Anyway you can solve the issue adding these three parameters to the JVM launch line
Read More -
Sometimes Eclipse Ganymede will not run if it is unable to find a jdk 1.5 or greater.
Sometimes Eclipse Ganymede hangs abruptly if you delete the jdk it was using and if you have set only a JDK 1.4 on your path (Eclipse needs a jdk 1.5 or greater…).
Read More -
=== JRecordBind ===
take al look to it at jrecordbind: Home. It is a very good library, I will suggest for solve these issues, because it has XML integration tooA tiny and super fast library that aims to
-
map fixed-length lines to bean instances, ready to be chewed by an import procedure (Unmarshaller)
-
and export record beans into a fixed-length file (Marshaller).
Read More -
