Trajan, all your files (and relation) only a click away in your browser
What is trajan: Trajan is a small http server, written with libsoup and tracker, that expose a small search engine, that permit you to search your data, see it and look at the relation between resources with your browser. This at the moment, in future can be used as feed reader, to look at your photos, contact and so on in a completely new way, using the power of sparql query language and tracker.
Why "trajan": The name was suggest by a madbob (my mentor, my "musa", and a good friend
), for it's assonance with "tracker" and in reference of the famous "trajan bridge", as a link beetween two very distance word, the web and the desktop.
The "Use Case": I have a small file server, i save there all my files, all my "really important" stuff.
Usually i don't keep file longer than necessary on my laptop, so i've a huge repository of file on my file server, and when i need something i've to remember where i put it, wich hierarchy system i have in my mind when i saved it.
I usually don't remember it, so i use find/grep for get my files. But it's a pain.
So here came tracker+trajan. Tracker are able to crawl my files and directory, index it and extract usefull metadata from my files. I can use also some different miner for fetching varius thing from the web, like rss, facebook message and so on.
All great, but... usually my file is on my file server, so i don't have nautilus integration, t-s-t or any fancy doc bar.
I can log with ssh, and use console tools but my girlfriend can't, and is not so exiting.
So i start writing trajan, a small http server, that expose a small search engine based on sparql and tracker, that allow me to search, find and view (and preview) my files, my data, and see the relation between them, and also browse semantically through linked resource. In future relevant metadata could be displayed in relevant way (geodata on maps, contact rich feautures page, and so on). Combining tracker, sparql, metadata and html 5 we can build exiting new things.
Actually the code is a bit messed up, and probably leaking here and there.
The code is here: http://gitorious.org/trajan
Screenshot:
- Search results: 
- Video preview: 
- Docs preview: 
- Metadata dump:
By the way: the fster mentioned in the images is another cool tracker-based project, look at this page for informations"
Complessi da editor
Ecco che oggi, in realtà da qualche giorno, si ripresenta il tragico dubbio che probabilmente affligge, prima o poi, qualunque programmatore: quale editor utilizzare?
Nel recente passato, ho utilizzato un po' di tutto, da nano a gedit, passando per Eclipse e i vari Zend Studio nella varie incarnazioni.
Gedit mi piaceva perchè era leggerino, ben integrato con gnome. Nano fa il suo dovere sempre e comunque, e quanto c'era da editare un qualcosa al volo in una sessione ssh era la scelta più ovvia. Eclipse è comodissimo e completo per lavorare in Java, è moderno, ha tutte le feautures che si possano desiderare, ma è lento, terribilmente lento, un macigno, anche con macchine di tutto rispetto. Lo Zend Studio, utilizzato per alcuni progetti abbastanza grossi in PHP si è rivelato un buon compagno di lavoro, ma le versioni < della 6 sono praticamente solo PHP oriented, mentre dalla 6 in poi, ovvero quelle basate su Eclipse, hanno ereditato tutte le note dolenti di quest'ultimo, anche se la quantità di opzioni e cose carine che mette a disposizione è veramente notevole. ( Ma un editor che non mi fa vedere in tempo reale ciò che scrivo causa lentezza è decisamente frustrante. ). Ieri ho dato un'occhiata anche a TextMate, potente, leggero, flessibile... ma indissolubilmente legato alla piattaforma e per essere sfruttato decentemente si devono imparare mille scorciatorie, piuttosto quindi punterei su emacs.
Da queste considerazioni nasce la volontà di trovare qualcosa, multipiattaforma, completo, funzionale e che vada bene per qualunque linguaggio stia utilizzano, per qualunque mole di lavoro, insomma un editor generico, ma funzionale, adattabile alle mie esigenze e a quelle di quel momento specifico, che sia possibilimente leggero ed efficiente.
In questi giorni sto per l'ennessima volta convincendomi che emacs sia forse la scelta migliore, anche se alcune comodità degli ide moderni (vedi tool di refactoring e simili) sono migliori altrove, ma la sua portabilità, personalizzabilità e complettezza ne fanno il miglior candidato. No, VI non lo digerisco
.
Consigli dal popolo della rete?
// fine delle pare, per oggi.







