En
All English articles are marked under this category
-
Hi all,
I have released version 0.0.6 of org-mode-parser for nodejs
Org mode parser is a parser for reading org-mode files in nodejs.
It features more then 80 unit tests, and support also for :DRAWER: and archive tag.
The parser can query on the structure, extract subtrees, regenerate the original input via an handy toOrgString() method.
Read More -
This week, the nodejs community had a big flame.
All was started by this blog post, which tried to slap down node.js server because of its mono-thread nature. And node.js fight back knocking down the attacker. Let’see how.
Read More -
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.
Arduino Leonardo, a low cost Arduino board with the Atmega32u4. It has the same shape and connectors as the UNO but it has a simpler circuit. On the software side it has a nifty USB driver able to simulate a mouse , a keyboard, a serial port (with more drivers coming later). As usual for Arduino, everything will be released as open source (Core, Bootloader, Hardware).
Arduino Due, a major breakthrough for Arduino because we’re launching an Arduino board with a 32bit Cortex-M3 ARM processor on it. We’re using the SAM3U processor from ATMEL running at 96MHz with 256Kb of Flash, 50Kb of Sram, 5 SPI buses, 2 I2C interfaces, 5 UARTS, 16 Analog Inputs at 12Bit resolution and much more.
[…]
Arduino Wifi Shield. It adds Wi-Fi communication capabilities to any Arduino. Instead of using any of the classic WiFi modules on the market we wanted to have something that will provide the maximum level of hackability to the user. The shield is based on a wifi micro module made by H&D Wireless coupled with a powerful AVR32 processor that carries the full TCP-IP stack leaving room to add your own protocols and customisations.[…]
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]?
My own experience with virtualized hosting is that I/O performance can be very poor, and that it can be impossible to diagnose underlying I/O problems from within the virtual machine. For example, in early days of Pinboard we found ourselves hosted on a machine that needed to recover a RAID volume. This so crippled I/O that it forced the site onto a backup server for three days, and yet from the perspective of the virtual machine everything looked the same. The ‘physical’ device was still mostly idle, just a hundred times slower than it used to be. That and similar adventures cured me of any desire to host on a non-dedicated server.
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.
-
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
