En
All English articles are marked under this category
-
Org Mode parser for nodejs is here, right now!
Oct 4, 2011 · 1 min read ·If you love Emacs Org Mode, and you are looking for a JavaScript parser for it, you are in the right place!
I have just published an org-mode parser for Node.js, the Javascript based server a lot of guys talk about.
This first revision spot more then 20 non-regression tests, and it is ready for a prime time use. Anyway, production use is still discouraged because additional testing is needed. Feel free to email me or to leave a comment.
Read More -
So we are here again talking about Javascript. I have already wrote an article comparing a well known SmallTalk implementation to Javascript. If my ideas are right (at least a bit), you will see more and more javascript on the next months. In particular:
- JavaScript is the Ajax programming languge for the rest of us
- Mobile Framework like PhoneGap and Appcelerator, are all about javascript at the top
- Javascript is evolved, and it is used server side by projects like node.js
Getting Started
JavaScript is a language must be re-learned if you are old like me (i.e. born before 1982).This book will re teach you javascript in ten minutes or so on. A very nice and funny read, for 25 pages!A lot of the things you will read will be new to you, for sure.Studing good librabries is a must. JQuery is a very well written and commented library: grab the full sized source and start reading it.Getting your hands dirty
A good way of learning is trying to make your own errors :)QUnit is a unit-testing framework you can run in your browser, which will be very useful to you.If you prefer nodejs, vows is a continuous integration library which will save your days. I prefer vows in these days, because it can run from the command line, and it is easy to setup.Phase3: Evolving to the next step
Coffee Script is a very instructive language. Look how CoffeeScript renders its code in JavaScript:it will avoid you a lot of mistakes.And this bring us to a very sad rule: discipline in JavaScript is fundamental to avoid nasty bugs.
Read More -
Arduino rocks, you know. And we we are happy to announce a new set of goodies from the Arduino Italian crew!
And if you do not know what is arduino, we have a fix for that (TM)

For the second year in a row we decided to announce our new products at Maker Faire in NYC.
Arduino 1.0, we finally froze the Arduino API, the IDE and the layout of the boards. We’ve made some minor additions to the Arduino connectors to make them more flexible. Tomorrow you will be able to download the release candidate and in 1 month of frantic testing with the community, the platform will be ready and stable.
Read More -
And so you like JavaScript Html5 Web app, which can run on Safari iPhone, Nokia Windows Phone, Android web browser, Black Berry and so on? Are you on the mantra of multi platform mobile programming, aren’t you? Well, Google mega corporation will soon awake you in a new nightmare: a new programming language!
Read More -
Be strong young Jedi. This war will begin shortly. You can try to keep you jdk under your pillow, but the html5 will hit you in the middle of the night. And a knife in the dark will rise from shadow: JavaScript
Read More -
I am happy when I am not the only one with bad experience with virtual machines.
I like a lot stuff like Xen virtual machines but…sometimes they did not soleve problems, they generate them!
[...] While I was looking for hosting, I heard a couple of recurring questions from users and potential hosting companies:
Why not go with Linode/AWS/[other virtualized hosting]?
Read More -
This is the second article on functional programming. In the first one we talked about scala and the type inference system it brings in the Java Way of Life.
I played a bit with python functional howto, building a small game. Before starting I surfing for a bit of libraries and documentation.
Read More -
We talked about ”Web applIcation Service Provider” (WISP) in the past days. So what are the specification for a Service Provder wanting to be a WISP?
Let’try to sketch them together:
WISP Hypothesis
- A WISP must offer a set of XML-RPC API (WISP API) to configure the services. They must be simpler than SOAP, and must support at least two languages picked from Python,Ruby,Java,PHP, Perl.
- WISP API should be provided always in SSL way.
- WISP API specification will be provided on subsequent articles
- WISP must provide a minimal set of LAMP applications, like WebMail, CMS (i.e. Wordpress). Also WISP must provide at least one "dashboard" web interface to set up a dashboard for the WISP API
- For simplicity, the web application are deployed as two tiered: database tier and web tier. Anyway you can build complex system connecting a lot of 2-tier application
- On the database tier, WISP must give at least one Relational Database (like MySQL or PostgresSQL) and one NoSQL solution, altrought NoSQL forest is a bit tricky.
- About email, at least an IMAP server and SMTP server must be provided
- It should be possible to define "logical user" to segregate email mailboxes and web application
- The amount of RAM allowed to be consumed by application should be considered only on the application tier. Database and webmail will be offered on a "best effort" base, with clear defined limits. For special needs, a "private" database instance could be installed
- The Service Level Agreement (SLA) should be at least 99.99%
- WISP has the freedom to choose the underling Operating System. By the way, the web application should try to be agnostic (even if Linux is always the first choice for a LAMP stack)
- WISP must provide bandwidth and disk space in a very cheap way. For this reason, the "usage meter" should be easy to compute and very liberal on disk space, while very strong on single application memory usage
-
Archimedes (287 BC) said “give me a place to stand and I will move the earth”.
Apple, after decades of lack of decent garbage collection to Objective-C, seems to say “I will give an ARC to exit to the dark hand-made memory allocation”.
Let’see how.
Read More -
As you know, we at Gioorgi are not so Cloud-Computing enthusiastic.
Anyway, we watch every buzz-word, every good idea also if it born in an evil empire :) Cloud computing is SOA and huge. As software architect, Cloud computing is doomed to fail for some simple reasons:
Read More -
Do you like Arduino?
Do you like dynamic programming languages like ruby?
Well, the RAD is your Ruby Arduino Development!
We just find out that link on hacker news, which comments worth a read.
-
Functional Programming
Jul 17, 2011 · 4 min readen featured lang software · closure erlang functional-java functional-programming java programming-languages·
Because of the success of my article on java closure, I have decided to write another article on functional programming.
In the last year functional programming is waving back to us, for a lot of reason. Let’s summarize the facts:
Functional programming is based on the core concept of pure function. The main advantages of functional programming is the lack of side-effects, at least at the syntax-level of the language.
Read More -
In the past week I learned Flask, a very young and promising python framework. I have already learned Django, Cherrypy, Web2Py and TurboGears.
Anyway, if you are planning a medium sized project, I like to suggest you Flask, because of these feature:
Read More -
At Gioorgi.com we are not a true cloud fan, and reality is going on to collect proofs for us…
On June 20, 2011, Dropbox had a serious security bug. It was possible to login to an account with “a wrong password”. Like to say Dropbox account system was naked, because “a small number of users[…] could have logged into an account without the correct password”!
Read More -
Inversion of Control (IoC) is a very good idea.
But as the clever Joel Spolsky noted, sometimes you need to be a super-natural hero to use it:
… I try not to be judgemental (HAHA!), but I think that people who use IoC containers are (A) very smart and (B) lacking in empathy for people who aren't as smart as they are. Everything makes perfect sense to them, so they have trouble understanding that many ordinary programmers will find the concepts confusing. It's the curse of knowledge. The people who understand IoC containers have trouble believing that there are people who don't understand it. …
I have trouble using Spring in at least two projects. On the third, it was a disaster, because a single software-architect-guy keeps passing around the Spring context factory as method parameter, getting beans from it!
Read More

