Search Results: "Erich Schubert"

4 August 2006

Erich Schubert: E-Passports cracked

As reported on engadget, E-Passports have been hacked less than one month before they are to be deployed. Apparently "hackers" (well: scientists) were able to copy the electronic passport. So seems like after all, the physical properties of the passport are still the more secure part. Note that you don't need RFID for making passports fast to read. My passports have been featuring easily machine readable letters for ages. And of course there are bar codes, too. No benefits from wireless here. It's all about tracking. About cutting into your privacy. Other related articles: VeriChip VeryEasy to clone longer article on this "hack", on wired.com

3 August 2006

Erich Schubert: SELinux local module example

If you have some simple local modifications to your policy (not using many interfaces etc.), you can grab this local module example tarball, and make a proper SELinux module out of your changes. Maybe you can then avoid building your own policy. Notice that you can't use any macros with this standalone module source, making policy writing there a bit more difficult than necessary. :-( Based on the Fedora SELinux FAQ. I still wish we could get rid of the full M4 complexity for building the policy, and instead use something easier to reuse in such situations.

1 August 2006

Erich Schubert: Recently bought music

My latest music CDs (of course already ripped to my Ogg Vorbis player... CDs suck usability-wise, actually...): Sing when you're swinging
Sing when you're Swinging
Two CDs - the second is titled "(If you can't sing it) You'll have to swing it" - with recordings of the swing era. Some slow, some better for dancing. Rather cheap, and well worth the money unless you have many songs of that era already. Pop Swings
Pop swings
This CD is a mixed bag. It's swing covers of well-known songs of the 70s-90s. Some work great, others don't. A lot is personal taste, depending on the memories you have of the originals or how you liked them. If you didn't like the original, you might like the swing cover. If you loved the original, you'll likely hate the cover, just like any cover. The funniest thing is that one artist, Paul Anka, is on the CD in both roles, as cover artist (Smells like teen spirit) and as original artist (Diana). This is a CD you can't really listen to on-block (thats why CDs suck) or play on a party. You'll usually pick some specific songs. Perfect for parties
Perfect for parties
The full title is
Bear Family
"Perfect for parties
Highlight Album
This CD was the surprise CD. Very cheap, but very convincing. It's odd and fun at the same time. Actually it's probably as much country as it's rockability and swing. But who cares when you can have lots of fun with it? The song I like currently like best is "Burn that candle" by Charline Arthur. Note: above amazon.de links will earn me a tiny commission. It would be nice if you'd use them if you plan to order some of these CDs. Thanks. It will certainly never pay off, but when I set links I can as well set some that might allow me to buy myself a CD from it sometime later, too. ;-)

Erich Schubert: Speeding up Bittorrent

I've recently used bittorrent a bit. For example, I loaded the Ubuntu installer CD with it. For power users, I think rtorrent is a good client. I tried freeloader, but apart from some obvious bugs (it doesn't save the maximum bandwidth settings value), i'm lacking interesting information such as the number of peers or of distributed copies. When toying around with rtorrent and it's options I noticed a couple of interesting things. First of all, if you're firewalled, you'll be much slower. Allowing incoming connetions (and having a port forwarding in your router) makes a huge difference in the number of peers. My estimates are that 70% of peers are firewalled; if both of you are, you can't transfer data! The other thing is that apparently BitTorrent clients use some kind of "Tit for Tat" strategy. They request a packet, you request a packet. If you don't send them data, they'll stop sending you any. They'll still eventually retry (maybe you were overloaded), but largely your download speed will be related to your upload speed. I don't know how much peers (and seeds) trade information on who has which parts or is sharing how much upload speed. I guess they do somehow to deflect cheaters. Assuming that the illegal file sharing tools work similarly, this gives some interesting (theoretical?) ways to recude illegal file sharing:

31 July 2006

Erich Schubert: Microsoft PhotoSynth - Vapourware?

Some might have seen the videos of Microsoft PhotoSynth. That of course makes many people go all "ooooh, must, have!". Actually, the videos from University of Washingtons PhotoTour are much more impressive. And it actually tells you how it works. Read the PDF of the paper published at this years SigGRAPH, also linked from that site, for more details. The Microsoft video only shows the UI; while the Washington video gives a bit more information, but still doesn't really talk about the "backend requirements". You can get some facts from the published paper, though. Basically it's a smart combination of existing technologies, together with some good optimization (I guess). It uses SIFT feature extraction and matching (use also by panotools: autopano-sift, but unfortunately this is patent encumbered in the US; I doubt it's patentable in Germany because of it's very mathematic nature) and basically does the same as panorama tools, except in 3D - using "Structure from Motion" approaches. So you might wonder why I still call this vapourware, when there is a sigGRAPH paper backing it, and an interesting demo? Well, in the paper they mentioned their test machine to be a 3.4 GHz computer. And that the Notre Dame photoset took two week to process, and that 597 of the 2635 images were actually placed; the others maybe had too much other stuff on them, or didn't match properly. This yields the impression that for this to work you need
  1. lots of CPU time
  2. lots of well-suited images (clean projection, not too many moving people on it etc.)
  3. no gaps inbetween pictures, but a complete covering
I don't want to talk down the scientific work done here, but the Microsoft annoucement makes it sound (well, just look at who they imply in the video that their users are) like it would be a product for everyone to use within a year. It won't. Thats why I call it vapourware. It's good research, but not a realistic product. It will be very interesting for professionals, however. They can set their camera to a well-behaved angle (no fisheye; I don't expect the software to like fisheye artifacts much) and take tons of photos, trying to cover all of a building. The software will then eventually allow them to construct and texture a 3D model, with some weeks of computation. The viewer is still interesting, for data sets computed by someone with access to excess CPU power. E.g. for a company to offer virtual sightseeing.

Erich Schubert: Most of web 2.0 is not web 2.0

Have you noticed, that most of the web 2.0 "sites" aren't really worth being called "web 2.0"? Take for example friendster. Many people say that friendster is a web 2.0 thing. Sure, it's using Ajax. But apart from that? Where's the open API? Where is remixing? What is it really different from, lets say, geocities with the addition of some easier linking and search functionality (read: "social networking") And seriously, the profile pages there suck just as bad as the homepages people made with geocities. Especially social networking pages tend to sit on their data and keep it closed. No FOAF files available. That's so web 1.0ish... the web 2.0 is a lot about APIs and open data access. Can you imagine a blogging service not offering syndication (e.g. RSS)? So why a social networking without FOAF? One of the few "true web 2.0 services" remains Google Maps. Even though it doesn't have tag clouds or social networking. ;-) But Mashups adding all that. We should rename the term to "Web 2.0 beta" anyway. It's not released yet. Or use the proper term for it: "DotCom 2.0" Or we should just stop using it, because it's all marketing buzz. Talk about open APIs, remixing, mashups, semantic web, syndication, tagging instead. [Update: web 2.0 is officially just "beta" - see for yourself. It ain't a true web2.0 logo if it doesn't contain "beta"... - also check out this huge list of web 2.0 logo mockups for known brands, including FedExr, McDndld's and of course S.NY beta...]

30 July 2006

Erich Schubert: New ping of death for Windows?

According to this article on heise.de, there is new exploit code to crash Windows boxes remotely, like the famous "ping of death" in 199something. When you allow windows file sharing, you're vulnerable... Exploit code, as linked by heise. (Untested myself.) It's not yet clear whether a worm could use this vulnerability to spead; it certainly will not be as dangerous as the SQL server vulnerability, but it currently allows malicious users in your local network to crash your computer. Anyone at a lan party? ;-) On an unrelated note, watch this video (google) of a demo of Microsofts Voice Wreckognition technology in Vista. Very funny.

29 July 2006

Erich Schubert: Gentle introduction to SELinux (updated)

I've updated my gentle introduction to SELinux slides. I'm still improving them in numerous places, as well as writing more. Thanks for all the feedback I've received so far! (first announcement)

Erich Schubert: New ping of death for Windows?

According to this article on heise.de, there is new exploit code to crash Windows boxes remotely, like the famous "ping of death" in 199something. When you allow windows file sharing, you're vulnerable... Exploit code, as linked by heise. (Untested myself.) It's not yet clear whether a worm could use this vulnerability to spead; it certainly will not be as dangerous as the SQL server vulnerability, but it currently allows malicious users in your local network to crash your computer. Anyone at a lan party? ;-) On an unrelated note, watch this video (google) of a demo of Microsofts Voice Wreckognition technology in Vista. Very funny.

Erich Schubert: Web 2.0 is out. Here comes Web Twenny

Webtwenny.com is funny. Real Web 2.0 Captchas include non-Ascii characters. Maybe even non-Unicode. I also like the term "Web 2000". Because that is how new the "technologies" really are...

28 July 2006

Erich Schubert: On Amazon book scanning

Today was the first time I clicked on these buttons in Amazon that allow you to look at a few pages of a book. That is some Ajax application (which of course warned me first with some fancy schmancy Ajax popup, fading the window etc. that they only support Firefox, IE etc., ignoring the fact that Epiphanys rendering engine is, well, the same as Firefoxs'. I actually clicked the Ok button twice before it finally closed...) Anyway, what I want to share with you is a screenshot of some malfunction: Amazon look-inside disfunction So apparently they scanned the page word-by-word; often clipping the lower part (notice the missing parts of the p, g, y letters in most words). Some words have gone missing altogether (before "life"). However, the page appears to be a Jpeg image; you can see some compression artifacts around the words that are not my fault (you might need to zoom the image). So it seems like they disassemble the pages when scanning, then reassemble them to present them to the user. Sometimes messing up the background color, like in this example... interesting. Is there much data storage to be saved by merging word images and storing them only once? Are they reassembled on-demand?

Erich Schubert: On games

Lars, of course billard balls don't shoot back, if you hit them with a lame stick. Use some real weapons, and they'll probably shoot back. Try some rocket launcher. To me, the best shooter is the original QuakeWorld TeamFortress. Screw non-Linux-supporting modern stuff like counterstrike. It's boring. I think I never played any shooter beyond Quake3, actually. That one didn't care about being "realistic" (which sucks) but was about fun and arcade. Oh, make sure you don't install sgt-puzzles. Best make any local packages of yours (say... your self-compiled kernel with suspend2) conflict with it. It's just a couple of tiny games, with very simple rules. But they totally take over your mind.

27 July 2006

Erich Schubert: Gentle introduction to SELinux

I've been working on some introductory slides on SELinux. They're still far from finished. All I've written so far is some basic terminology, identities, roles, types. I also tried to show how this increases security, though that part is probably still hard to understand unless you know about common attack vectors. I havn't yet written about the actual policy, policy modules, all the fancy UI stuff available, reachability analysis etc. I probably will not do so: The goal of the slides is not to give an exact overview over how SELinux works, how to write good policy etc. I also don't claim to have all facts right - instead I want to provide an easy to understand overview over how SELinux works and why it is a good thing. I guess I won't even be flaming AppArmor. ;-) Thats why I picked the name "gentle introduction to SELinux". Remember, it's just a work in progress, "the best is yet to come". I really need your feedback (and encouragement -- there is still so much to be written). Get the slides as PDF here. Feedback is best via email -- erich AT debian DOT org. I intentionally do not have comments in my blog.

26 July 2006

Erich Schubert: Double your X5 battery lifetime

... at least when running rockbox. ;-) [Update: 15 hours, my > 1 year old regular X5, starting at a measured level of 91%, but which increased to 94% first ;-) So the battery lifetime gain is pretty much the factor 2.5] [Update: the X5 is sold as having 14 hours of runtime; which usually is a too high value, and measured with 128 kbit mp3 - I'm using lots of oggs, and mp3 up to 320 kbit; so I think the rockbox firmware actually uses less power than the official one!] So far, the biggest drawback of using the opensource Rockbox firmware on the iAudio X5 was battery life. I got only about 6 hours out of my X5. However, current CVS versions include a patch to solve this - apparently it powers down the USB OnTheGo chip and maybe the radio chip, too. Saving huge amounts of power. The unit also doesn't get warm anymore. My battery benchmark is still running (somewhere around 12 hours now I think); and in the forums, users have reported battery lifetime of 30 hours for the X5L version. So if you are already using rockbox you might want to upgrade; if you have been kept back by the bad battery performance - it's time to switch to rockbox now, and get all the goodies you've been missing for so long! That is: gapless playback, crossfading, album art, next song information, bookmarks, quicker startup, playback resumes where you powered off etc. I think I read about some audioscrobbler/last.fm plugin, too. Apparetly most iPod models are also supported, and rockbox has Ogg Vorbis support... one of the reasons I bought the X5 was vorbis, back then.

Erich Schubert: Fun with spam

Sometimes, spam can be entertaining:
latest .linux kernel involves
HALVES HIV/AIDS
location
Literally. From my "spammy" folder, with mails that score between 2 and 4 in my Spamassassin. Thats where most of my spam goes to. Another spam that would most likely have been blocked by greylisting - but it was forwarded via another mail box not being protected by greylisting. :-( Btw, I think greylisting could help reducing the load on master.debian.org, since it's really cheap on the CPU and disk. On my server it cut down email numbers to be handled by a huge amount. I don't have numbers on how well it works for larger mail servers though. I guess a pure sender-IP greylisting won't be too helpful, but a senderIP+destination greylisting (maybe just first 8 chars of destination, that should handle any +extensions etc.) should still work well.

25 July 2006

Erich Schubert: Will Linux profit from the AMD ATI merger?

As asked on the debian-curiosa list, what effect will the AMD ATI merger have for the Linux community? Will AMD realize that Intel has a lead in the Linux field because of them making e.g. specifications for their graphics products available? Will AMD counter this by having ATI release some specifications to the community? (Or at least allowing the distribution of the already-written r500 2D graphics driver held back by a NDA? Apparently they havn't yet made up their mind after 4 months now...) As for me, I'm currently planning to buy my next Laptop with Intel graphics (and thus Intel CPU, I guess) because of the better driver support. (My current laptops ATI Mobility card is not supported by ATI...)

24 July 2006

Erich Schubert: 3D desktop prototype

This 3D Desktop prototype sure looks cool, the animations are very fluent, and the interaction possibilities are numerous. But: Would you actually use it? To me, this would only make sense if you'd abolish folders. It seems to be much slower than traditional sorting into folders. And when I have the files in folders I can work much better with them. It's not as if I'm moving icons around on my desktop all day! Actually, I've disabled icons on my desktop, because I'm keeping windows full-screen all the time anyway. Just about everyone I've seen so far had a huge mess on his desktop, so that was an easy choice - why engage in something so pointless? Usually I keep files in a well defined context; so I never would have to "push" them around, shuffle them, whatever. They're just where they belong. And in folders I can apply my shell magic to them, and mass process them. In the shell, I can access my "pdf" files much easier than with any UI. With all that fancy bells and whistles (XGL etc.) - where is the productivity gain? To me, it's just a waste of CPU power, decreasing battery performance and slowing me in getting the actual work done.

Erich Schubert: Sorry for breaking planet...

... thats what you get for not using proper XML. I've been planning for a long time to switch to a blogging tool which has proper XML handling. That will at least make sure it's not my fault when planet breaks again. ;-) - a few times I've broken planet before, however, it was actually a bug in the planet software. If I'd do a planet rewrite, I wouldn't bother to make a tolerant feed parser, but I'd just skip any blog posts that aren't valid. Then people will hopefully switch to software that actually uses XML writers and not print()... (Yes, this post was also written to make planet realize I've fixed my feed ;-)

23 July 2006

Erich Schubert: No, 16:9 screens are not larger.

Dear Mark, why do you think you can get a bit more on with a 16:9 screen? Doesn't that depend on the actual number of pixels and the panel size, instead of the ratio? Mathematically speaking, a 16:9 screen is not larger than a 4:3 screen. And I'm not aware of any manufacturing reasons that allow you to make larger 16:9 screens (or larger 15" 16:9 screens ;-)) than you can do with 4:3. That doesn't mean there aren't - e.g. backlight might be easier with wide screens. As for "organizing your apps on your screen more efficiently", I don't see any reason why this should be easier with 16:9. Sure, you can now probably put your favourite IM window besides your word processor at the same time; but is that actually better? I prefer keeping stuff on different virtual screens anyway; and actually on my 4:3 screen I could already do that pretty well (it has 135 dpi; I can just read a typical A4 paper at this resolution, and I could have my IM window next to that of course. Having a wide screen just makes web pages look bad. ;-) Oh, and my glasses are pretty close to 4:3 ;-) but with round corners.

22 July 2006

Erich Schubert: Why has everything to be 16:9 nowadays?

Our TV set was broken, and when my dad went to have it repaired, he was first suggested to buy a new one instead. The sales clerk basically told him that it's outdated anyway, not being 16:9. Fortunately, my dad doesn't let people talk him into buying stuff that easily. We got out (100 Hz, 4:3) TV set repaired at a different place, and cheaper. Actually most TV productions are still at 4:3, so IMHO it doesn't make much sense to buy a 16:9 screen, unless you are a cineast and watching DVDs every day. I don't. Where 16:9 strikes me as even worse is with computers. Why would you want a 16:9 screen unless you are watching DVDs on it all the time? For most people, the relevant sizes are 4:3 (photos) and their paper size (e.g. A4). So if you are using word processors a lot, a 16:9 screen is just stupid. You'd probably be better off with a 9:16 screen, which could contain a full page and the edit toolbars. However, such a screen on a laptop would look odd, and probably be not too stable. But 4:3 works, and is better than 16:9.

Next.

Previous.