2,439 reputation
4928
bio website none
location Copenhagen, Denmark
age 41
visits member for 2 years, 11 months
seen yesterday

Long-time Linux user (since 1994).


Jul
13
comment Can hardware be accessed directly from user space?
How are the devices accessed from the OS? E.g. are they PCI cards?
Jul
13
comment How to list sample of files from a directory
@invert actually, sorting a list of hundred thousands of files is probably not such a good idea. Maybe use ls -f| tail -n 1000 instead of just ls for the answer in the link
Jul
13
comment Iterate over n files?
@jw013 Your answer is really nice! I never took the effort to learn how arrays work in bash. Maybe I should.
Jul
12
revised Iterate over n files?
python version
Jul
12
comment Iterate over n files?
@jw013 +1 Yes, that's definitely a concern. However, his posting let me assume that he was using photos directly imported from a digital camera, which do not contain any special characters. How would you suggest to tackle that problem?
Jul
12
revised Iterate over n files?
added 105 characters in body
Jul
12
revised Iterate over n files?
for loop example
Jul
12
answered Iterate over n files?
Jul
12
comment Safely uninstall a package in Gentoo
Thanks, that was what I was looking for!
Jul
11
comment Does inotify fire a notification when a write is started or when it is completed?
You could use a pipe instead of a file. See man mknod
Jul
11
accepted Safely uninstall a package in Gentoo
Jul
11
comment Safely uninstall a package in Gentoo
Does that mean that emerge --depclean removes all packages that were installed using emerge --oneshot (unless those packages are needed by a package from world)?
Jul
11
revised Makefile compiles unchanged files
yet another bug in rule
Jul
11
comment Makefile compiles unchanged files
@EmanuelBerg oh, I forgot that you don't compile into ../src/. See my updated answer; the .cpp.o rule format doesn't work in that case.
Jul
11
revised Makefile compiles unchanged files
yet another bug in rule
Jul
11
comment Makefile compiles unchanged files
@UlrichDangel see my updated post. Hope that clears it up.
Jul
11
answered Safely uninstall a package in Gentoo
Jul
11
revised Makefile compiles unchanged files
explain why rule includes a dependency
Jul
11
comment linum auto-activation in .emacs fails
Is this copied verbatim from your init.el? Your double quotes are wrong, use ", not . Then it works for me (at least from my ~/.emacs file).
Jul
11
answered Makefile compiles unchanged files