-
Web service interoperability is a nightmare. But it is easy to understand what is going on: just enable debugging! On Axis2, you can do it with the folowing java options…
[bash] -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showdatetime=true -Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug -Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=debug [/bash]
-
After a bunch of time, I take back my Erlang Hammer from the sand of time.
The result is ErZauker v0.0.2 the first pure-Erlang implementation of a code indexer.
Er Zauker is a tiny but speedy search engine tailoring code searches. Zauker is backed by REDIS, the fastest RAM-based NoSQL engine you have never seen.
Read More -
Ready to study the Erlang?
Take a look to http://howistart.org/posts/erlang/1 for understanding how erlang releases works (and how to deal with them).
Erlang Maps are the next big thing and this article from Joe Amstong introduce you to them.
For some lengthly tutorial take a look to this http://learnyousomeerlang.com/maps
Read More -
A language that doesn’t affect the way you think about programming, is not worth knowing. Yale Professor Alan Perlis
In occasione dell’Elixir Conf siamo lieti di pubblicare una intervista con Francesco Cesarini. Nel 2009 abbiamo già recensito "Erlang Programming A Concurrent Approach to Software Development" scritto a quattro mani con Simon Thompson. Ora siamo lieti di ospitare una intervista ad ampio respiro con una delle colonne portati di Erlang Solutions.
Read More -
If you have an application with thousand of beans, you must do unit testing but…Spring testing is boring, belive me. A very complex Spring application usually have a lot of dependency: I had to manage over 3000 beans definitions in a production project right now. Sometimes you want only to test a bit of it, and setting up a complete Spring Context will drive you crazy. To avoid losing mind, my suggestion is to …cheat. Let’see how.
Read More -
Bash scripting has evolved a lot in the last ten years.
I get used to relay on bash for all normal “data domination” tasks (like file system refactorings, database extraction and reporting and so on) and switching to python/ruby/perl when the complexity gets bigger. I didn’t imagine bash is even more powerful :) This article by Robert Muth so you new nice tricks: I add here some other like mapfile and stress the most important one.
Update 2016 Last but not least,if you do now know about bash history, this link will teach you a huge set of tricks Updated 2019 Bash Bible will further extend the topic.
Read More -
After some year, we decided a new theme shake up..
The new PinPress theme spot article auto loading; more important, you get also auto artilce rearrange when you resize the window (try out).
We are planning some refinement on the newxt week so stai tuned and… we hope you enjoy the new style!
Read More -
La Intel ha commercializzato da poco i NUC, (Next Unit of Computing): si trattà di unità compatte dalle dimensioni di un palmo, con doppia uscite HDMI e diverse categorie di processori Intel.
Sono ottimi come media server, ma è possibile anche usarli come server, come vedremo
Read More -
Mio figlio ieri sera mi guarda disteso sul lettone e chiede: “Papà ma anche nella tua pancia c’è un bimbo?” Sto ingrassando….
Domenica mattina
Nel silenzio tombale, il figlio mio si sveglia assonnato, sciabatta verso la sala immersa nella luce mattutina, poi si gira verso di me (che lo seguo in stato semi comatoso) e mi chiede: “Forse forse…forse forse mamma va svegliata…”
E io gli rispondo: “tesoro è l’alba di domenica, sono le 7:00, oggi non si deve nemmeno andar a far spesa, la facciamo dormire un po’ la mamma?…”
“Nooooo, di giorno non si dorme!….”
Tu sei piccolo Mattia? “No, i bambini piccoli vanno al nido” e così facendo unisce il pollice e l’indice per farmi vedere quanto sono piccoli i bambini piccoli “I bambini piccoli piangono sempre” E tu sei grande mattia? “Nooo io non sono grande” e allarga le braccia per fare “grande”.
Oggi papà compie quarant’anni, e tu tra pochi giorni ne compi quattro figlio mio. Tuo papà ha dieci volte la tua età. E’ meno preoccupato per il tuo futuro rispetto a quindici anni fa, quando eravamo la barzelletta del mondo (ora siamo un po’ più rispettati, anche se non sapendoci prendere sul serio sembriamo sempre una Nazione di serie B).
Matteo Renzi ha l’età del tuo papà, ed è il primo premier non ottuagenario (oppure non ottuso) che abbiamo da decenni, forse da secoli. In europa Renzi è considerato un furbetto, ed in parte lo è. Ma non è bravo come Berlusconi, per cui ahimé per lui (e fortuna per noi) dovrà impegnarsi parecchio per tracciare un solco nella storia; questo vuol dire che dovrà attuare delle vere riforme sociali, e non potrà occuparsi degli affari suoi come fece un presidente del consiglio di qualche governo fa.
Read More -
Ciao a tutti, è venerdì! Se avete due minuti di tempo, volevo indicarvi un articolo su un algoritmo non banale, molto ben descritto qui:
http://research.swtch.com/sparse
This is the story of a clever trick that’s been around for at least 35 years, in which array values can be left uninitialized and then read during normal operations, yet the code behaves correctly no matter what garbage is sitting in the array.
Read More -
-
Ho chiesto a mio figlio:‘Sei permaloso?’, lui ha risposto sbattendo il pezzo di lego che aveva in mano per terra:‘No!’ ha gridato. Appunto
-
I stumbled upon a very brain-f**k error on Oracle 10g on these days.
Context: the following query [sql]SELECT * FROM (
SELECT TO_NUMBER(CUSTOMER_ID) AS SNDG FROM BAD_CODES_TABLE WHERE
AND I_LIKE=UPPER(‘STATIC_CONDITION’) AND CUSTOMER_ID NOT LIKE ‘%P%’ ) S WHERE TO_NUMBER(S.SNDG) >2000[/sql] could trigger a Invalid number if CUSTOMER_ID column contains invalid numbers.Why?
Well…if you ask to “explain plan”, you will get something like
- a table full scan
- Filter Predicates AND
- I_LIKE=UPPER('STATIC_CONDITION')
- TO_NUMBER(S.SNDG) >2000
- CUSTOMER_ID NOT LIKE '%P%'
- Filter Predicates AND
Read More - a table full scan
-
How I Structure My Flask Applications Flask has been my preferred web framework as of late. I think it has a great core feature set and Armin, the main author, has done well to keep its API minimal and easy to digest even for developers that are relatively new to Python. However, given that it is a rather minimal framework, it can be often difficult to decide on how to structure an application after it reaches a certain level of complexity. It tends to be a common question that comes up in the #pocoo IRC channel.In this article I intend to share how I structure Flask applications. To help support this article Ive written a very basic application that Ive arbitrarily named Overholt. If you plan on following along I recommend having the source code open in your browser or a code editor.
Read More