Search Results: "uwe"

22 November 2006

Uwe Hermann: Tagesschau Video Podcast Archive?

Does anybody know about any archive of the Tagesschau Video Podcast (German TV news)? I'm collecting the videos, and I missed the shows from November 8th and November 13th, and they only provide 7 days of "backlog", after a week they seem to remove the videos (which sucks!)... Thanks in advance!

15 November 2006

Uwe Hermann: Google sponsors the LinuxBIOS project [Update]

Mainboard As announced yesterday, Google has sponsored some work on the LinuxBIOS project, a Free Software (GPL) BIOS/firmware implementation for various architectures (x86, PowerPC, Alpha, and others). LinuxBIOS currently supports more than 100 different mainboards from various vendors. A list of supported chipsets, CPUs, and Super I/O chips is also available, so you can easily estimate how hard it will be to add support for a new mainboard. Most of the mainboards currently supported are high-end server-type mainboards (e.g. from Tyan) and embedded boards. There are not too many cheap, mainstream motherboards supported, yet, but that is about to change soonish. I've been contributing for a while now to the LinuxBIOS project in various areas (e.g. adding support for a bunch of Super I/O chips, which are required if you want to get LinuxBIOS debug output over the serial port). But one of my personal main goals for the project is to support a reasonably high number of cheap, standard desktop mainboards, and I'll concentrate my efforts in this area in the future. Any help from further developers with experience in the hardware, embedded, or low-level firmware area is very appreciated! If you're interested, checkout the website and say hi on the mailling list. But I digress. The Google funding was used to create an automated, distributed test infrastructure, which will help...
...to significantly improve the project's Quality Assurance process by creating a completely automated and distributed testing environment. Every single commit results in BIOS images being built for all mainboards, and tested on real hardware located all over the world. So whenever you want to download a LinuxBIOS image, you can now know that it works on a reference machine before flashing it to your system. A per-revision overview is available, as are test results for specific revisions, and you can even get detailed reports that include extensive logs for each motherboard. Developers can also use the build and test system without checking their code into the LinuxBIOS repository. The automatic build client has an option to submit BIOS images to the test system manually; you can see an overview of manually triggered builds. Anyone with a spare board supported by LinuxBIOS is welcome to put it into the automated test system, thus helping the LinuxBIOS project increase their quality on your hardware.
LinuxBIOS QA 1
LinuxBIOS QA 2
This is a great thing, and something which not many projects out there can claim to have. Automated test-suites in the software development "scene" are used seldomly enough (which is bad), but in the low-level hardware/embedded area you're usually stuck... (See also Golem and Heise if you speak German) Update 2006-11-15: Ok, the site is slashdotted right now. Maybe you can try archive.org or the Google cache...

7 November 2006

Stefano Zacchiroli: editing latex the vim way

Editing LaTeX, the Vim way Uwe presented latexmk as its way of previewing LaTeX output while editing in Vim. While I don't know latexmk myself, I'm using quite a lot LaTeX recently (my Ph.D. thesis is getting huuuge) and I'm co-maintaining vim-latexsuite in Debian. With vim-latexsuite what he wants can be achieved quite easily too. I keep on editing in Vim and can exploit the following shortcuts (where <Leader> is usually mapped to backslash):
  1. <Leader>ll compile the current LaTeX source, the generated format depends on the value of g:Tex_DefaultTargetFormat (I use dvi, for a reason explained below);
  2. <Leader>lv fire up a viewer for the compiled format, in my case this runs xdvi;
  3. <Leader>ls move the DVI viewer to the point the cursor is currently at in Vim, highlighting (in xdvi) with a rectangle the current paragraph (believe me, this is amazing);
  4. CTRL+Mouse Click (this in xdvi) do the opposite of (3), i.e. move Vim to the point in the LaTeX source file corresponding to where we clicked in xdvi.
I don't really understand why Uwe want to see working previews in PDF format, to me PDF is just the final output. DVI is much better (especially for (3) and (4) above, but also because it takes less time to be generated). Oh, and of course vim-latexsuite is able to do a lot more, like deciding whether LaTeX needs to be run again to fix dangling references, use the quickfix window to jump to compilation error, and so on ... End of the SPAM :-) PS these are my latex-specific vim settings from my ~/.vim/after/ftplugin/tex.vim
setlocal tw=80
setlocal ts=8
setlocal sts=1
setlocal sw=1
setlocal iskeyword+=\\
setlocal makeprg=make
setlocal keywordprg=:help
"setlocal formatoptions+=a
setlocal spell
vmap ,b "zdi\textbf <C-R>z <ESC>
vmap ,e "zdi\emph <C-R>z <ESC>
vmap ,t "zdi\texttt <C-R>z <ESC>
  " Latex-Suite
let g:Tex_CompileRule_dvi = 'latex -interaction=nonstopmode -src-specials $*'
if v:servername != ""
 let g:Tex_ViewRule_dvi = 'xdvi -editor "vim --servername ' . v:servername . ' --remote +\%l \%f"'
endif

6 November 2006

Alexander Schmehl: man xpdf

Uwe explains how he uses latexmk and xpdf when creating documents in LaTeX. I would like to add a small correction: You don't need to go back and forth one page to make xpdf reload the document. Just pressing the r key (like reload) does the same. Haven't looked at latexmk, yet, but perhaps you can tweak it, so it calls xpdf -remote -reload (or something like that) whenever you change your tex source? PS: Before we start a discussion about the death penalty, habe you seen 12 Angry Men? PPS: Does anyone know a pdf viewer, which has a loop option?

Uwe Hermann: Faster and more comfortable LaTeX editing and previewing with latexmk

When writing LaTeX documents I usually just edit the plain text in vim, and in another xterm I type make && xpdf foo.pdf to regenerate the PDF output and view it in xpdf. This is tedious and slow if you do it often. A much better way I found out about now, is to use latexmk. apt-get install latexmk This tool autogenerates a PDF or PostScript file out of your *.tex file(s), so it would make my Makefile obsolete. But the much better thing is that it has a preview mode: latexmk -pvc -pdfps foo.tex This generates a PDF out of foo.tex (and its dependencies, if any), and refreshes the PDF every time the foo.tex file gets updated (i.e., every time I type :w in vim). So I can now leave the xpdf instance open all the time, and it'll be refreshed automatically to show the latest version of my document. Caveat: in xpdf you have to press (for example) "next page" and then "previous page" (SPACE, BACKSPACE) to refresh the screen. Leaving out the "-pdfps" makes the regeneration process a bit faster and uses xdvi for previewing as dvi (instead of PDF) which does not require the above SPACE+BACKSPACE hack. But I like xpdf better than xdvi, so I'll stick with it.

2 November 2006

Thijs Kinkhorst: Voting computers and a wise decision

The controversy around voting computers has gained a lot of national attention in the past weeks, mostly thanks to the aptly named action group "We don't trust voting computers". Leading man Rop Gongrijp has made a clear (albeit late) case against these computers, up to the point where minister Nicola has ordered the ban of a specific type. Most interesting though is the decision of the action group to cancel their scheduled court case against the national government. Instead of radically continuing until their goal - a full paper trail - is reached, they decided that it would be better to not jeopardise smooth elections, less than three weeks from now. Afterall, good elections are what it's all about. A wise decision.

1 November 2006

Uwe Hermann: Famous Unsolved Codes and Ciphers

Here's a nice list of Famous Unsolved Codes and Ciphers. Makes an interesting read for a rainy day... Or if you want to give one of the codes a try and solve it, go ahead, and let us know the results :-) (via joatBlog)

24 October 2006

Uwe Hermann: Drupal vs. Joomla! - Code Metrics

The blog post Drupal vs. Joomla - Fight! pointed me to a discussion on the drupal-devel mailing list about the ohloh.net website which tries to gather some statistics/metrics about the code of Free Software projects. Their slogan:
Explore Open Source Mapping the open source world by collecting
objective information on open source projects.
You might want to read their Terms of Use, though, which don't sound very open... Anyway, their stats about Drupal and about Joomla! are flawed (for example) because they seem to include the whole contrib CVS tree of Drupal (not just the core Drupal), which is huuuge. But there's no need to use any fancy website anyway, there are Free Software tools out there which can produce some metrics, too. The following data is generated using David A. Wheeler's SLOCCount (for the respective tarballs of the current stable releases): Drupal 4.7.4
Total Physical Source Lines of Code (SLOC)                = 8,012
Development Effort Estimate, Person-Years (Person-Months) = 1.78 (21.34)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 0.67 (8.00)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 2.67
Total Estimated Cost to Develop                           = $ 240,198
 (average salary = $56,286/year, overhead = 2.40).
Joomla 1.0.11
Total Physical Source Lines of Code (SLOC)                = 65,880
Development Effort Estimate, Person-Years (Person-Months) = 16.25 (194.94)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 1.54 (18.54)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 10.51
Total Estimated Cost to Develop                           = $ 2,194,486
 (average salary = $56,286/year, overhead = 2.40).
Not that I think these numbers mean anything ;-) Lines of Code is a very, very unreliable indicator for code quality (or anything else, for that matter)...

23 October 2006

Uwe Hermann: Now that's what I call a case mod!

A few days ago police in Poland arrested a 17 year old kid who ran a mini-farm of cannabis inside his PC. The PC was normally used but modded to contain a light source, and keep humidity and temperature at proper levels.
The kids these days... (via Boing Boing)

18 October 2006

Uwe Hermann: Freiheit statt Angst - Demo against the current Surveillance and Data Retention madness, October 20, Bielefeld, Germany



This demo is initiated and backed by a number of organizations in Germany, among others the Arbeitskreis Vorratsdatenspeicherung, Chaos Computer Club e.V., FoeBuD e.V., STOP1984, Attac AG Wissensallmende, Indymedia Germany, and the German Pirate Party. Place: Bielefeld, Germany (exact meeting place)
Time: 15:00 o'clock on Friday, October 20, 2006
Motto: Freiheit statt Angst (Freedom instead of fear) Goals and Demands Materials: Banners, flyers, mottos for transparents and more are available in the wiki of the site. Donations are possible and welcome, too. Demo participants can visit the Big Brother Awards 2006 right after the demo (for free). If you value your privacy and democracy in this country, now is the time to speak up and let the whole world (and especially the German politicians) know! This surveillance-madness has to stop!

16 October 2006

Uwe Hermann: NVIDIA Binary Graphics Driver Root Exploit

A security advisory was released today which warns about a severe security issue in the binary-only NVIDIA drivers:
The NVIDIA Binary Graphics Driver for Linux is vulnerable to a
buffer overflow that allows an attacker to run arbitrary code as
root. This bug can be exploited both locally or remotely (via
a remote X client or an X client which visits a malicious web page).
A working proof-of-concept root exploit is included with this
advisory.
The only possible solution (as NVIDIA still hasn't fixed the issue, although they know about it since 2004):
Disable the binary blob driver and use the open-source "nv" driver that is included by default with X.
Yes, you won't have 3D acceleration any more if you do that. Yes, that sucks. Complain to NVIDIA that they don't provide documentation so that free drivers can be written. Luckily I stopped using the NVIDIA binary-blob quite a while ago, and I don't intend to ever use it again. This exploit clearly shows me that that's a good decision. For now, I'll have to live with the fact that I must use software-rendering for 3D (which is slow). When I buy my next computer it won't have an NVIDIA card, that's for sure. But maybe there's hope. Maybe, just maybe, NVIDIA releases proper documentation one day (but don't hold your breath). Alternatively, I just learned about the nouveau project: a project which aims at producing Open Source 3D drivers for nVidia cards. I don't know what the current status is and whether it's usable already, but this is definately a project which is worth trying out and worth supporting! (via Kerneltrap)

Uwe Hermann: Project Censored: Top 25 stories ignored by media in past year

Ok, this list should be pretty old news by now, but — by definition — the content of it is not. Because... it's simply not in the news: The Top 25 stories ignored by media in past year (via Project Censored): Full list with more details here... (via Boing Boing)

13 October 2006

Uwe Hermann: Bluetooth and WLAN Security Issues

A while ago, in my Towards a moderately paranoid Debian laptop setup article, I said things like
Disconnect your laptop from any kinds of networks. Pull all ethernet cables. Disable WLAN (via hardware killswitch). Disable Bluetooth. Disable/remove Firewire, USB, serial, whatever.
What might sound either paranoid, stupid, or funny to many people, was actually not a joke. Especially wireless technologies should be a security concern to everybody, as any flaws in the technology can be exploited... well, wireless, i.e. from remote. Recent examples of such flaws have been reported in Apple AirPort drivers, Intel Centrino wireless drivers (for Windows), and just today new problems were announced in Toshiba's BlueTooth stack for Windows (which is used in many places, e.g. Dell computers, Sony Vaio, ASUS computers). Granted, so far none of the flaws I know about affect the Linux drivers, but it's just a matter of time until such problems are found there, too. Hence, if you don't currently use any of the technologies, disable them. Only enable them on-demand, then turn them off again. Also, keep up with recent kernel/driver updates which might fix security issues...

10 October 2006

Zak B. Elep: Cladestine Programming Considered Harmful at Work

Something is definitely wrong with this line. Thanks, Uwe.

Uwe Hermann: You know something is wrong with this world...

... when people get fired for coding Perl scripts instead of watching porn. Hilarious.

8 October 2006

Uwe Hermann: Unmaintained GNU packages need new maintainer: a2ps, fontutils, thales

I stumbled over this page on gnu.org yesterday, which says that the a2ps, fontutils, and thales packages are in need of new maintainers. Especially a2ps has often been very useful to me, so I instantly added it to the Unmaintained Free Software wiki (the other two will follow soon). It would be nice if someone could take over these packages, fix some bugs, and generally keep them in shape. I don't like seeing such useful programs die.

27 September 2006

Jesus Climent: Blah!

Some random thoughts:

Uwe Hermann: Towards a moderately paranoid Debian laptop setup [Update]

I was planning to set up my laptop from scratch for a while now... so I did. Preparation BIOS Installation / Setting up full-disk encryption using dm-crypt
  • Enable shadow passwords. Allow login as root (I feel confident that I won't do stupid things as root).
  • Choose a good root password, and a (different) good user password. Don't enter a full name for the user.
  • Choose the latest kernel (old kernels might have security issues). Do not participate in popcon.
  • Do not install any tasks (no "desktop", no "base system"). We want the smallest installation possible, and add only the packages we really need. Fewer packages means fewer security issues (statistically).
  • That's it. Eject the CD-ROM, reboot, change the BIOS to only allow booting from hard drive.
  • Post-installation tasks Networking, Upgrading and Apt-secure SELinux Now install and set up SELinux. This section is based on notes from Erich Schubert (thanks!), and will soon appear in the SELinuxSetup wiki page, too. Behaviour Further ideas That's it. You can take off that stupid tin-foil hat now. Update 2006-09-29: Fixed typos. Mentioned sxid. Added two-factor authentication.

    Uwe Hermann: Towards a moderately paranoid Debian laptop setup

    I was planning to set up my laptop from scratch for a while now... so I did. Preparation BIOS Installation / Setting up full-disk encryption
  • Enable shadow passwords. Allow login as root (I feel confident that I won't do stupid things as root).
  • Choose a good root password, and a (different) good user password. Don't enter a full name for the user.
  • Choose the latest kernel (old kernels might have security issues). Do not participate in popcon.
  • Do not install any tasks (no "desktop", no "base system"). We want the smallest installation possible, and add only the packages we really need. Fewer packages means fewer security issues (statistically).
  • That's it. Eject the CD-ROM, reboot, change the BIOS to only allow booting from hard drive.
  • Post-installation tasks Networking, Upgrading and Apt-secure SELinux Now install and set up SELinux. This section is based on notes from Erich Schubert (thanks!), and will soon appear in the SELinuxSetup wiki page, too. Behaviour Further ideas That's it. You can take off that stupid tin-foil hat now.

    25 September 2006

    Wouter Verhelst: Command frequency

    nice one-liner to find out what the highest number of commands is that you use. For me, the output is:
    wouter@country:~$ history awk ' print $2 ' awk 'BEGIN  FS=" "   print $1 ' sort uniq -c sort -rn head 10
         98 ls
         71 cd
         25 mutt
         24 sudo
         18 ssh
         18 killall
         17 xine
         17 apt-cache
         11 less
         10 man
    
    Having ls be number one isn't something that surprises me, at all. I have this silly habit of typing "ls" in my terminal window when I forget what I was about to do. Obviously that doesn't help me remember, and sometimes I do it two or three times in the same terminal window without anything in between—as if anything would've changed... However, having killall in the top ten is something that does surprise me. It appears I tend to get pretty impatient when things don't do what I expect them to... Then again, the output of 'history' doesn't seem to be very complete, having only 500 entries...

    Next.

    Previous.