Archive for December, 2008
Giver: little util for sharing folders
Wednesday, December 31st, 2008 | desktop, english, utilities | Comments Off
While searching for different options to share files among different computers in a local LAN I found via Planet Ubuntu giver a little util which uses avahi/zeroconf to publish shared folders or files. It is a easy tool, that works and that serve well its purpose.
But its development has stopped some time ago, and that means that nobody has cared to port it to Windows, where it would be an
interesting tool to avoid the need of using windows network to share folders, which in an ad-hoc network tends to work problematically.
These little gems should receive more care from freedesktop.org, GNOME Foundation, Canonical, Novell, … as are the utils that make a difference in desktop expecience. Having a nice visual effects is not enough to attract people to free destops, but having tools that make everyday life is.
git tips
Thursday, December 25th, 2008 | english, utilities | 4 Comments
Git is becoming my main utility for Debian packaging, as I am using it to keep my work on packages I maintain alone or in a team by using git.debian.org facilities. I am not still using tools like TopGit to keep patches, by I also intend to do so in a near future.
What does git give me over svn? Basically two things: branches and having the whole source code at hand. The first is obvious, I can easily create branches to experiment without having to change anything in the way the package is, so if a new upstream release occurs in the time it takes me to implement some change (and that usually happens) I can upload it straight, not affecting my undergoing changes.
Also I appreciate having the whole source code. This could have been also done using svn, but we preferred not to do so, and most packages only have debian dir in their svn repositories. This makes harder work with upstream sources, where they need to be patched. Git provides me the way to have always an upstream source code copy at hand, and the branch power can also be applied to it.
But I wanted to write about a couple of git tips that I found. Seems that they have already appeared on Planet Debian before, but I think that is not a bad idea to remember them (from damog’s blog):
1. Changing into a directory that contains a repo and shows you on PS1 what branch you are standing on:
On .bashrc I have:
GITPS1='$(__git_ps1 ":%s ")'
export PS1=”${GREEN}\w${RS} ${YELLOW}${GITPS1}${RS}\\$ ”
But what I didn’t want to lose was the code that was posted to paste.bin after in a comment someone pointed out that this trick was a bit annoying if your home dir were also a git repo. This is one solution:
__maybe_git_ps1 () {
local BRANCH=”$(__git_ps1 ‘%s’)”
case “$BRANCH” in
master)
# silent
;;
”)
# not a git repo? -> silent
;;
*)
if [ -n "$1" ]; then
printf “$1″ “$BRANCH”
else
printf ” (%s)” “$BRANCH”
fi
;;
esac
}
2. An alias I like to use on repos that are personal for quick tracking:
[alias]
…
log1 = log –pretty=oneline –abbrev-commit
Thanks damog for these tips!
NAS adapter
Sunday, December 14th, 2008 | english, gadgets | Comments Off
I have been always desiring to have a NAS adapter and printer server so I can easily share and use both my USB printer and a USB hard disk from every corner in the house. I was doing that when I had a home server, but when it died I losed that functionality. Once of the main reasons to buy a new one was to have this option again, but today I have discovered in Xataka a little device: Addonics NAS Adapter.
This is just what I wanted: NAS adapter, little size, can power 2.5 inch. HDD directly, and USB print server. Files are shared by Samba or FTP client, and can act also as DHCP server. As a bonus it has a little bittorrent client which can track 4 torrents at a time, and download them to attached USB device. The only thing I would like to know if is using an USB hub both a printer and a HDD can be attached at the same time. If that can be done, then for only $55 we have a winner.
The only last wish… that it uses Linux in their core (probably).
¿Quiénes son los piratas?
Sunday, December 7th, 2008 | actualidad | Comments Off
Leo en elmundo.es que la SGAE ha sido multada con 60.000€ por la Agencia de Protección de Datos debido a la grabación ilegal realizada en una boda de Sevilla para demostrar que en el salón de bodas se empleaba música en el baile y que no se pagaba el impuesto revolucionario también conocido como canon.
Es decir, estos personajes, en defensa de su impuesto mafioso se creen en la libertad de poder saltarse la privacidad de las personas, y entrar en una boda a grabar lo que les de la gana. Yo les digo entonces que en aplicación del principio de reciprocidad, no sé por qué ven mal que los usuarios grabemos discos y películas, cuando además no afectan la privacidad de las personas. Por suerte que hay una agencia como la de protección de datos que se toma totalmente en serio su tarea y que no cae en amiguismos ni partidismos. Creo que tal y como están actuando los datos de los españoles están medianamente seguros.
Fanatics did it again
Wednesday, December 3rd, 2008 | english | 1 Comment
Once again, a person died today murdered by terrorists in Spain. He was a businessman, who had a construction company in his town (Azpeitia) at Basque Country region. Close his house, he was murdered by gunshots. Just because his company was a contractor in the construction of AVE infraestructure in Basque Country, which will connect it with Madrid and France.
Once again, a family has been hit forever.
I was going to include a black strip with the article, but it’s better to see an image.


