pacman: like, +1, upvote, digg, …

i have been a quite happy archlinux user for a few years now. one of the reasons is surely pacman and, today, i have turned a little bit happier about it.

quite often, when working on a project, i have to install several packages and libraries that, most certainly, i’ll never use again after the project is done, so i need to remember to remove them. what i usually did was:

  1. install the packages as dependencies (pacman -S –asdeps) and then,
  2. later, when project is done, check my database for all installed packages that depended on no other explicitly installed package (pacman -Qdt).

the thing is that, over time, and many simultaneous projects, the listing gets crowded, and mixed up with optional dependencies for packages that i use (i install them as dependencies so they get removed when i remove the main package (pacman -Rncs)).

what i needed was a feature to “mark this installation with a reason: this project”. no, pacman does not support that, afaik. but it does support something perhaps better: meta-packages! for example, for the odtone project (my thesis depends on), i created the odtone-meta package that depends on all the packages that are needed, and has no particular source! thus, all i need to do is install the package, all dependencies are managed automatically! the PKGBUILD:

pkgname=odtone-meta
pkgver=001
pkgrel=1
pkgdesc="This package depends on all necessary packages for odtone"
arch=('any')
url="http://helios.av.it.pt/embedded/odtone/index.html"
license=('LGPL')
depends=('boost' 'boost-libs' 'rasqal' 'raptor' 'redland' 'redland-storage-sqlite')

this way, when the project is finished, i just remove the odtone-meta package, and everything that isn’t a dependency for another package is just removed!

neat!!

unintended (dis)honesty

this morning i slipped to my boss/coordinator/teacher that i don’t have aspirations of going too far in my professional career. well, given some thought, that’s sort of a lie. what i usually mean by this is that i don’t want to be the head of something too large to handle on the nine to five schedule! for as long as i’ve known myself, i always felt great for being complimented. i often get that for being good at what i do, so i’ll keep trying!

for the next “year”, the big thesis road, my mind is more or less settled on working on top of odtone. maybe you laptop-owner-linux-user will read my name in a few manpages in the future! =)

my own hdr tutorial

in the past, before owning a camera, i’d seen some samples of hdr art. everyone likes it, there’s something about all that fake colors that makes us dream.

well, but it seemed a hard and tough result to achieve, i had read some tutorials for photoshop and gimp, and it looked like a pain in the arse. well, not anymore. i’m going to guide you through a few easy steps in order to achieve those amazing results! Continue reading

but not for long

it was just a few days ago that i complained about not being able to spend big to get big. well, it’s been about 6 years now, and i finally bought a real camera. browsing for prices this weekend i ended up on the mediamarkt.pt shitty website, which advertised a sale for today: no vat! i couldn’t resist, it had to be now. and it was. and i’m glad!

23%, thanks jose socrates, means that i bought the d7000 + 18-105mm kit, and get a few hundred bucks left. these will be spent there on a 35mm f/1.8, plus a memory card and we’ll see what else. probably a bag!

i didn’t want the 18-105 anyway, i don’t fancy the plastic bayonet, but no body-only option was available. i take it as a good thing, though, being forced to buy a general purpose zoom lens. buying just the 35mm could be a bad option since i don’t want to spend any more money on this any time soon. besides the card and the bag, i still need a polarizing and nd filter, and a tripod, and i’m done for years to come!

many thanks, unknowingly, go to ken rockwell and florian freundt! of course, dpreview as well.

stuck

for a long time i have assumed, as one of my most best kept qualities, that i’m capable of deferring gratification. well, i’m certainly capable of it, but i actually thought that it was an internal wiring of my decisions! :p

recently, though, i’ve come to think that this is perhaps not the case. i have something wired, but it no longer looks like delayed gratification.

it behaves more like a disappointment paralysis! Continue reading

all work, no play

i finally went around buying a new computer. i actually waited a couple of days to start writing this in the new laptop and, my god, this keyboard is an absolute delight to type on…

i scanned the market a lot, as always. at first i was hoping to buy a macbook pro. the pros were battery life, operating system, and good design/construction. the problem is that, more than that, i always look for a good performance/cost compromise. current 13” mbps aren’t the case, and i’d have to wait more than a couple more months for a then-outdated spec list. Continue reading

sign here, here, and here

a few days ago i sold my soul to the institute of telecommunications, here in aveiro. this means a couple of months of android, for starters. i remember saying something about how stupidly android handles applications, compared to bada. well, yesterday i was reading some stuff about it and, my god, this all makes a whole lot of sense to me. it’s a little different approach to the concept of applications. android might just be the next best thing to search, from google. it’s a shame that this is java (i’d still like to see some efficiency data compared to c++, or other real language) and google can’t sell (remember google wave? buzz, what’s that?).

inverse perspective mapping

one of this year’s projects, and also the subject of my mini-research scholarship, was automating the process of obtaining an inverse perspective map (ipm) for an autonomous driving robot.

autonomous driving robots frequently use cameras for object and road detection. after detecting such elements in an image it must be able to locate them in the real world, or else the image serves no purpose. that’s the ipm: a means of associating points in an image to points in the car coordinate system. to do obtain it, one only has to understand the transformations that occur when points are projected in an image and undo all those steps, for each point of the image, thus obtaining the real coordinates of each pixel.

Continue reading