Saturday, February 2, 2013

European Transport Research and Innovation Portal

http://www.transport-research.info/web/index.cfm
The Transport Research & Innovation Portal (TRIP) gives you an overview of research activities at European and national level.

Drunk Rats Could Overturn Neurological Orthodoxy

http://neuroskeptic.blogspot.pt/2013/01/drunk-rats-could-overturn-neurological.html
A form of brain abnormality long regarded as permanent is, in fact, sometimes reversible, according to an unassuming little paper with big implications.

Here's the key data: some rats were given a lot of alcohol for four days (the "binge"), and then allowed to sober up for a week. Before, during and after their rodent Spring Break, they had brain scans. And these revealed something remarkable - the size of the rats' lateral ventricles increased during the binge, but later returned to normal.

This is really pretty surprising. The ventricles are simply fluid-filled holes in the brain. Increased ventricular size is generally regarded as a sign that the brain is shrinking - less brain, bigger holes - and if the brain is shrinking that must be because cells are dying or at least getting smaller. So bigger ventricles is bad. Or so we thought... but this study shows that it might not always be true: alcohol reversibly increases ventricular volume over a timescale of days. It does so, the authors say, essentially by drying brain tissue out; like most things, if you dry the brain out, it gets smaller (and the ventricles get bigger) but when the water comes back to the tissues, it expands again.

125 Years of National Geographic

http://www.boston.com/bigpicture/2013/01/125_years_of_national_geograph.html

Spring Data JPA Tutorials

http://www.petrikainulainen.net/spring-data-jpa-tutorial/
The goal of the Spring Data JPA is to make the implementation of data access layer easier and faster. (...) This tutorial is based on Spring Data JPA 1.0.2 (...)

Part One: Configuration describes how you can get the required dependencies with Maven and configure your application.
Part Two: CRUD helps you to implement a simple CRUD application by using Spring Data JPA.
Part Three: Custom Queries with Query Methods describes how you can create custom queries by adding query methods to your repository interfaces.
Part Four: JPA Criteria Queries teaches you to create dynamic queries by using the JPA Criteria API.
Part Five: Querydsl describes how you can create custom queries with Querydsl and Spring Data JPA.
Part Six: Sorting describes how you can sort your query results.
Part Seven: Pagination helps you to paginate your query results.
Part Eight: Adding Functionality to a Repository describes how you can add custom functions to a single repository.
Part Nine: Conclusions evaluates the usefulness of Spring Data JPA, gives recommendations about its usage and provides links to useful resources.


http://blog.springsource.org/2011/02/10/getting-started-with-spring-data-jpa/
In the course of this blog post we have reduced the amount of code to be written for repositories to two interfaces with 3 methods and a single line of XML. We have type safe CRUD methods, query execution and pagination built right in. The cool thing is that this is not only working for JPA based repositories but also for non-relational databases.


http://blog.jeroenreijn.com/2011/07/getting-started-with-mongodb-and-spring.html
MongoDB is as they describe it on their website: A scalable, high-performance, open source, document-oriented database.

Spring Data makes it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services as well as provide improved support for relational database technologies. Spring Data is an umbrella open source project which contains many subprojects that are specific to a given database.

c:forEach vs ui:repeat in Facelets

http://www.ninthavenue.com.au/blog/c:foreach-vs-ui:repeat-in-facelets
The most important thing to understand about the jstl tags in Facelets is that they do not represent components and never become a part of the component tree once the view has been built. Rather, they are tags which are actually responsible for building the tree in the first place. Once they have done their job they expire, are no more, cease to be, etc etc.

Thursday, January 21, 2010

A Razão e a Fé

“A meio caminho entre a fé e a crítica está a estalagem da razão. A razão é a fé no que se pode compreender sem fé; mas é uma fé ainda, porque compreender envolve pressupor que há qualquer coisa compreensível”

Fernando Pessoa, “Livro do Desassossego”

Tuesday, December 8, 2009

Monday, December 7, 2009

Fogo-fátuo


fogo-fátuo
s. m.
1. Labareda ténue e fugidia produzida pela combustão espontânea do metano e de outros gases inflamáveis que se evola dos pântanos e dos lugares onde se encontram matérias animais em decomposição.
2. Fig. Brilho transitório; prazer ou glória de pouca duração.

Tuesday, July 21, 2009

TXT Island

Um pequeno filme de animação filmado em stop motion.