30
Aug 07

Old Spy Vs Spy Covers

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Old Spy Vs Spy Covers
Date: Thu, 30 Ago 07 05:05:21 GMT

Some old songs by nearly unknown bands that my
cover band Spy Vs Spy used to play when we rocked
Marques da Se, Ate’quenfim, News…

Ace Frehley – Into the Night
http://www.youtube.com/watch?v=_tj9Rg3-Arg

Jean Beauvoir – Feel The Heat
http://www.youtube.com/watch?v=EzgNjVXl9a8

Little Steven – Bitter Fruit
http://www.youtube.com/watch?v=G5FEXDPal_4

— MV


29
Aug 07

90s Bands That Grunge Killed

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: 90s Bands That Grunge Killed
Date: Wed, 29 Ago 07 00:35:21 GMT

So that you cant say that I only like 80s music,
here are some early 90s bands that were taking
rock and metal in a good direction. Until grunge,
Nirvana and Kurt come along and destroyed it all.

Terrorvision – Alice What’s The Matter
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=2027498430

Freak Of Nature – Rescue Me
http://www.youtube.com/watch?v=GaknfXHGYTQ

Warrior Soul – Love Destruction
http://www.youtube.com/watch?v=qG_WnXI7s1A

Silverchair – Freak
http://www.youtube.com/watch?v=xZ9kBQrZXOI

Clawfinger – The Truth
http://www.youtube.com/watch?v=Mqp1v1HutQk

Just in case you dont notice, there’s an underlying
theme of a personal nature for these 5 videos.

— MV


26
Aug 07

A Future Web Development Framework – Storage

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: A Future Web Development Framework – Storage
Date: Sun, 26 Aug 07 15:55:21 GMT

The way I see it, there are two problems regarding
storage in web frameworks that are orthogonal to
each other:

– one problem is the fact that we need storage at
each level of the 3-tier architecture and/or at
each component of the MVC pattern. We need to store
the presentation templates/views, to store the
logic/model and to store the data itself. Right now,
and this is one of the problems of current frameworks,
different types of storage are used at different levels.
Usually templates and code are stored using files at
filesystem level and data is stored using a relational
database.
This generates two subproblems: one is that you have
a disconnect between types of storage used (and dont
tell me that you could use the relational database to
store scripts and templates; you just look silly) which
gets even more ugly when the data you want to store is
not structured/relational (files? images? documents?).
If you suggest using blobs in the relational database
you wont just look silly but also stupid.
The second subproblem is the disconnect you get from
using a relational database to store the object oriented
models from the MVC pattern. The infamous object relational
impedance, usually solved by the use of OR-mappers (that
only go so far because they store objects properties but
not objects methods.

– the second major problem is the type of storage to
use, preferably at all levels of the 3-tier architecture.
As I said before, usually filesystem files are used for
templates and code and relational databases for data.
But this is just “legacy” thinking and it generates
impedance problems, not only between MVC/OO thinking
and relational storage but also between managing files
and managing tables.

What should or could be the way to tackle these two
problems? Well, I think that using a single uniform
storage would be the way to do it. You either decide
that you’re going to use files all the way, relational
database all the way or whatever other option all the
way.

I think that relational is out of the question. Not
only is it stupid to store templates and/or code in
this way, but you also get the OR impedance problem
and the “binary files in blobs” problem.

So its either filestorage for all or a second option.

Filestorage is quite atractive. Templates are already
there, code is there, easy to store documents/blobs…
The problem is structured data, usually stored in
relational databases.
One option to solve this would be to use a file level
abstraction of relational storage. Plan 9 stuff comes
to mind; an interesting option would be the use of
libferris, since that would also bring aditional file
abstraction views of several resources.

http://witme.sourceforge.net/libferris.web/

Doing “ferrisls -0 pg://localhost/xmldotcom2007/customers”
to get a listing of the Customers table in PostgreSQL is
quite cool…

Another option would be to use plain old files to
store data. This data could be stored formatted in XML
(as is now in fashion), although with current interest
in REST and JSON, it comes to mind that plain old RFC822
formatted files would fall in quite nicely (even the
separator ‘:’ is the same…).

For this option I can think of at least two tools
that might come in handy. APE and plain old IMAP/NNTP
storage…

http://hathawaymix.org/Software/Ape
http://deflexion.com/messaging/
http://pessoal.org/papercut/

Filestorage would have aditional benefits of not being
opaque, easily accessed by other tools. There would also
be the benefit of being able to use “normal” tools (like
vi) or more “advanced” ones (like versioning and backups)

The second option for storage: object oriented databases.

Their time is now more that due. Early ones had huge
performance problems and didnt have the SQL version du
jour. But there are now some OO databases that have quite
good performance, possibility of XML and document storage
and even SQL queries.

Some standard relational databases, like PostgreSQL,
already have the OO usage option.
Another possibility is the use of native XML databases
like eXist.
Finally, the way that my longtime favourite Zope has
chosen, the use of a native OO database (ZODB in Zope’s
case)

I can tell you that I’ve been a bigger fan of Zope/ZODB
in the past. At the end, the fact that ZODB is opaque (ie.
you can only get at your data using Python as tool)
actually becomes a problem. You get nice “things” like
acquisition, persistence, versioning, etc but you miss
out on accessibility (using vi, doing a grep on all your
code, etc). Unfortunately the development of APE and
related tools seems to have stopped, since that would seem
to be the perfect solution.

http://www.zope.org/Members/jdoyon/svnapezope

In conclusion: a future web framework would have to
have a single storage system for all its components. This
could either be a filesystem based system providing an
interface acceptable to the code level (SQL? XML?)
or an OO database with storage viewable as filesystem
objects. An important thing: the interface provided to
the code level could have SQL, SPARQL, XPath, whatever,
as options; but as time goes by its becoming clearer that
a REST interface is obligatory.

http://www.25hoursaday.com/weblog/2007/07/13/GoogleBaseDataAPIVsAstoriaTwoApproachesToSQLlikeQueriesInARESTfulProtocol.aspx
http://exist.sourceforge.net/devguide.html#N1021D
http://phprestsql.sourceforge.net/

— MV


26
Aug 07

Tricky

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Tricky
Date: Sun, 26 Ago 07 01:05:21 GMT

Trying to upgrade APE so that it works in Zope 2.10
(which now has ZClasses again, wheeeeeeeeeeeee!) is a
bit tricky.

http://hathawaymix.org/Software/Ape
http://www.zope.org/Members/d2m/links/Link.2006-04-02.5753

Tricky meaning that “your brain could explode”…

http://everything2.com/index.pl?node_id=1403111

— MV


24
Aug 07

Marios Valentes

Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Marios Valentes
Date: Fri, 24 Ago 07 02:05:21 GMT

-  Cruz Vermelha Núcleo de Fafe
   Morada: Urb. Eng. Mário Valente nº 60
   http://www.cm-fafe.pt/2141

   Não sou eu, é um tio meu, engenheiro civil

-  Clube de Pesca e Caça de Freamunde
   Rua Professor Francisco Valente 54 - Freamunde  
   http://www.lifecooler.com/edicoes/lifecooler/desenvReg.asp?reg=343816&catbn=375

   Não sou eu, é o meu avô, professor primário e juiz de paz,
   meu padrinho e de quem herdei o segundo nome

-  Categoria: 	Professor Associado
   Nome: 	Mário Jorge Valente Neves
   http://www.fe.up.pt/si/funcionarios_geral.FormView?P_CODIGO=207672

   Não sou eu, é um primo meu, engenheiro civil

-  Peritos Avaliadores
   MÁRIO ULISSES DA COSTA VALENTE, Eng. Civil
   http://www.trp.pt/index.php?option=com_content&task=view&id=39&Itemid=44

   Não sou eu, é um tio meu, engenheiro civil

-  APESB Órgãos sociais em 1987/1988
   Conselho Fiscal: Presidente: Eng.º Mário Aníbal da Costa Valente
   http://www.apesb.org/gca/index.php?id=79

   Não sou eu, é o meu pai, engenheiro civil

-  Nuggyland
   Mario José Valente (for you it.s Mr Nuggy.)
   http://clientes.netvisao.pt/marivale/bio.htm
   http://www.ferroefogo.soldigit.net/nuggy.htm

   Não sou eu, é o meu irmão, músico (baixista)

   Conclusão: eu e o meu irmão, à parte termos mantido a
 tradição familiar de sermos "Mários", somos as ovelhas
 negras da familia: não somos engenheiros civis.

   -- MV