533 reputation
67
bio website se.linkedin.com/pub/…
location Hörby, Sweden
age 41
visits member for 3 years, 7 months
seen Jun 2 at 11:03

Former PhD-student in Artificial Intelligence, with extensive knowledge of programming, LaTeX (and friends) and font technology. I'm also fairly well versed in cognitive science.

Apart from knowledge in computers and programming, I'm a sceptic (and a Bright). I'm also well-read in dinosaur palaeontology (although strictly as an amateur with no practical experience).

My current day-job is as SysAdmin at the European Spallation Source. Running mostly OS X (incuding Server) but some Windows and Linuxes as well. Currently (as of may 2012) I am on loan to the Integrated Controls Group as a software developer.

Avid Gamer, Role-player and SciFi-fan.


May
21
awarded  Scholar
May
21
accepted Using a zsh function in find?
May
21
awarded  Student
May
21
comment Using a zsh function in find?
Ok, thanks. I was just thinking that, since find is executing in zsh, it should be able to get the definition (or the shell replacing it with a temporary script or something). And you are right, spawning a new shell for each file is ridiculously expensive. As I said, I'll just rewrite it as a script instead. Your last suggestion does not work, by the way, most "packages" (which has nothing to do with software distribution in OS X) are defined via metadata so (apart from a handful of known extensions) you need to query mdlsto know if it is a package.
May
21
asked Using a zsh function in find?
Jun
13
awarded  Guru
Feb
12
awarded  Yearling
Oct
21
awarded  Supporter
Feb
12
awarded  Yearling
Apr
28
awarded  Enlightened
Mar
23
awarded  Enthusiast
Mar
10
comment Does grep use a cache to speed up the searches?
@pboin Ok, I took a small shortcut. Of course it is the part of the kernel that handles the filesystem that does the caching not the filesystem (on the disk) in itself. Pedantic but true. :)
Mar
10
awarded  Good Answer
Mar
9
awarded  Mortarboard
Mar
9
awarded  Nice Answer
Mar
9
awarded  Teacher
Mar
9
answered Does grep use a cache to speed up the searches?
Feb
12
awarded  Autobiographer