Search Results: "eric"

23 July 2006

Mark Brown: Widescreen

Erich blogged that most TV these days is still shot in 4:3 rather than 16:9. At least in the English speaking world this is normally the case, especially for things intended for export. 4:3 would be a deliberate choice rather than the path of least resistance. TV stations can choose to buy and screen 4:3 versions (and will usually do this where they can’t broadcast 16:9) but that doesn’t mean that the production wasn’t done in 16:9. Of course, if there’s no sign that your national broadcasters are going to go to 16:9 this makes very little difference to you. As far as computers go I’ve been using a 16:9 screen for years - I find it useful in much the same way that people find multi-headed displays useful. You can get a bit more on screen at once than you would otherwise which makes it easier to keep an eye on some extra terminals, an IM client or web browser windows. Besides, my glasses mean that the world tends to have a definite widescreen frame to it for me.

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.

Erich Schubert: Students' Triathlon

Summary: Think, Bike, Dance. Best grade in final exam for my previous six years of life. Biked 20 km in 50 minutes in city after-work traffic. Partied 9:30 hours, dancing most of that. Biked 20 km back, in 55 minutes.

20 July 2006

Erich Schubert: Etch artwork

Dear etch-a-sketch-lovers. Or basically, anyone who cares about etch hopefully being released in december. If you aren't busy with fixing RC bugs, probably because you don't trust your own skills enough (or don't have upload privileges, or are taking a break of your favourite BSP) - how about working on Debian artwork? Ubuntu is working on their artwork for Edgy. I'd love Debian to have (optionally) some cool Debian look. I mean, we'll probably be never as polished as Ubuntu artwork-wise, but we sure could do a lot better than now. That is, do at least something... You don't need to be a DD to work on this. You can just use the existing linux theming web pages such as art.gnome.org, Gnome-look.org and KDE-look.org to share your artwork, and maybe use the Debian Wiki to coordinate your efforts. If enough people are interested, you probably can organize a mailing list, too. P.S. Although the release will be codenamed "etch", there is no need to make the default desktop look like an etch-a-sketch. Just make it something smooth... ;-) [Update: The EtchGNOME status page lists "update desktop-base" as work in progress. This is where the artwork will be "deployed". However, KDE and XFCE integration is still a bit lacking apparently.]

John Goerzen: Am I being scammed?

So today my auction for the tc1100 tablet PC ended. The winning bidder:



I replied to the buyer's e-mail giving shipping prices to Nigeria and Malaysia, and restating my policy of shipping to only PayPal Verified Addresses.

So what do you all think? Is this a scam?

I was shocked at the amount of scams that sellers on eBay are exposed to these days. I've never seen this before, even just a few months ago when I sold my last item on eBay. But with this one, spammers and scammers are using the "ask seller a question" interface. One person tried to get me to use an eBay phishing clone site. Quite a few tried to get me to sell to them off eBay, to people in China, using a non-reputable billpay service. And there was just some generic spam.

So all that, plus the fact that they want me to ship to Nigeria, plus the fact that the person just registered on eBay today, is making me nervous.

So it seems odd, but I can't quite work out how somebody would actually defraud me here. Also, I'm interested in what I should do if it is a scam.

19 July 2006

Erich Schubert: Stupid Israelis, stupid Hisbollah

Neither of them can win this war. It will only cause more hatred. Killing civilians has always and will always be a bad idea. So please stop this stupid war. The only way of winning by military means would be genocide. Or more likely, geocide, since you'd need to get rid of all relatives and friends of your opponents around the world... Not really an option, is it? The thing which bothers me is that the Israelis should know better. They've been trying this for years and it didn't help. Now why are they doing such a large military operation again? I mean, what is the true reason? Read a statement by UNICEF and the WHO.
The psychological impact is serious, as people, including children have witnessed the death or injury of loved ones and destruction of their homes and communities.
Guess what, these will probably devote their life now to attacking Israel. So no peace for Israel and the middle east for the next 20 years either... Apparently both the U.S. and Israel like to use the excuse of fighting "terrorists, and not countries" to not follow international humanitarian laws. Which doesn't make any sense; if you want to fight terrorism, you must go way beyond what humanitarian laws enforce.

Erich Schubert: Google and the semantic web

Worth reading: article on Googles Peter Norvig and Tim Berners-Lee over the Semantic Web. While Google is obviously right about "millions of web masters" who will have trouble adopting to these new standards - thats why we're writing software. The days when you were hand-writing HTML code will be over some day. Already now - as Google acknowledged - many people fail to write proper HTML. But HTML isn't becoming easier to write. In fact, it gets much more complex with different character encodings, new CSS versions, raised bars for layouting, more dynamic web pages, Ajax, ... More and more people won't write HTML themselves anymore, but use some software. People used to write bad HTML; now people use tools such as Wordpress which are at least expected to produce valid markup. They start using visual editors, which will eventually stop using tags such as <i /> and use the "more semantic" <em /> instead. Without actually being aware of that. And their blog software also does generate RSS for them. How many people have ever written RSS by hand? So it's mostly a matter of the tools we offer them; with better tools we can push the use of better ("semantic") formats which then make data reuseable for others as well. For example, tons of people hope that friendster, openbc, linkedin and all these will help them in one way or another to keep contact with some people, sell some products, find new jobs. What these web pages basically collect is FOAF data. (And, btw, if any of these web sites were true Web 2.0, they would actually export FOAF files via some API!) They have a UI people understand; now all they would need to do is share their data, and we'd have a large body of "semantic web ready" FOAF data. Similar things apply to other "semantic" formats. Think calendards. Ical is pretty much the standard and widely used. Almost noone uses web pages which are only readable by humans. The semantic web isn't dead or anything. It just takes some time to be widely adopted, but that was to be expected. And having tools to generate semantic data that are maybe even easier to use than non-semantic tools - after all, the computer should be able to assist you more with semantic data - is the key thing to success. I'm also looking forward to Semantic wikis such as IkeWiki, that try hard to make entering semantic data as easy as editing a non-semantic wiki page. In large wikis such as Wikipedia, making useful links is not as easy as typing [MagicWord], because you first have to look up the magic word. A semantic wiki can assist you by suggesting appropriate links based on the information you've already entered. (e.g. if you mark a page as biology, it won't suggest you it might be a computer part).

Erich Schubert: Do you remember Google Pages?

Back in february, Google launched it's page creator. Still the best Ajax web page editor I've seen so far. Still barely anyone knows it. After the initial hype (during which it was temporarily unavailable), noone talked about it any more. Actually it's a shame; this is probably the easiest way to setup a web page. It will be interesting to see what Google's strategy is with respect to products such as this. Let it die? Make some marketing campaign? Do some cross marketing (e.g. adding it to the "Mail / Calendar / More" bar you have at the top of mail and calendar pages)? Actually, there are tons of Google apps very few people know; only a few have been a big success (search, mail, maps, earth, news). They certainly could use some marketing. But maybe they have a reason to wait. Imagine Google starting a marketing campaign with all their cool products ("out of beta now") just a few weeks before Vista is released...

Erich Schubert: live.com is slooooow

live.com, Microsoft's latest branding experiment (read: their new Passport+MSN+whatever) features a new version of their search engine. Some time ago they promised they'll be the leading search engine this year... It's unuseable. They've packed it with so much AJAX that it's so slow I can't really use it on my computer (which has 1.8 GHz). I'll remain a Google user. Without even looking at your results, just because I can't really use your fancy schmansy scrolling CPU-eating thingy. Some fun from March, Reuters (original article no longer available):
"What we're saying is that in six months' time we'll be more relevant in the U.S. market place than Google," said Neil Holloway, Microsoft president for Europe, Middle East and Africa.
More relevant with Vista users that is, probably. ;-) If you want to see an AJAX-using search engine which is useable and useful, try Exalead. They have thumbnails, clustering, and still a pretty nice interface.

Erich Schubert: nofollow followup.

Micah Dubinko blogs on rel="nofollow" being a failure. I have to agree that this doesn't really stop comment spammers currently. I still believe that it will help on the long run, since most blog software will now use it by default. And people have to upgrade from time to time due to the lastest PHP security issue... However, I would like Google or other search engines to offer some "spam submission". It would be best if they had a common submission server. Then we could use the moderation tools of our blogs to submit these bad URLs to Google, who in turn could take measures to strip them off their index (e.g. by moderating indexing for these URLs, reducing their pagerank, freezing their ranking for some weeks etc.) I'm of course aware of abuse possibilities (e.g. spam with your competitors URL); but most comment spam I've seen so far uses new sites anyway. I think you can detect these by charcteristical URLs, site contents, incoming links etc. As for myself, I've never enabled comments on my blog for the very reason that I'm not willing to moderate all that spam. In my guestbook (which is mostly to reduce the number of emails I get because of certain popular contents of my german web page; people will happily post in my guestbook instead of sending me an email now), I've recently enabled a very simple filter. It will just reject any entry which contains http:// anywhere. My users don't need that, and it has reduced spam to 0 again. And I don't care for the entries there anyway. ;-)

18 July 2006

Erich Schubert: Use CSS folds

/me too hates folded blogs. It's like "I'd like to know that I've blogged, but I don't want you to actually read it"... *rant* Now for some constructive things: Add "max-height: 30em; overflow: auto" to the CSS file, and overly long entries (such as Enricos recent posts) will not take over planet as much. (Pick an appropriate 30em). Untested for vertical limits; I've however been using this for clipping overly wide <pre/> sections before. With next to no drawbacks to the readers that is. Folds suck. But if you are actually using a web browser to read planet, you'll be able to use the scroll bars I guess. Otherwise contribute a Javascript to un-limit the blog postings size. Should be a one-liner. [Updated: overflow auto is better, since otherwise you'd always have scroll bars. Also increased to 30em. Thanks Daniel Silverstone for testing. See his blog entry on how to do this client-side with mozilla based browsers]

Ross Burton: EDS and Berkeley DB

Back in the good old days of Evolution 0.9, Evolution depended on Berkeley DB being installed. At the time Berkerley DB ("BDB") was undergoing a some major changes so it wasn't uncommon to upgrade your distribution and find that the new BDB can't read your addressbook. This was solved by Evolution embedding a copy of BDB into the source code. and statically linking it into the relevant addressbook backend. Problem solved. Over time Evolution was refactored, split into Evolution and Evolution Data Server, and so on. Then BDB was statically linked into not only the addressbook backend but also libedataserver, which contains some generic caches based on BDB. Now BDB isn't exactly a small library (it adds ~600K to a .so), so the second static linking started to irritate people. Not only does EDS have a private copy of a library, meaning extra work when BDB has security bugs, but there is 1.2M of code that could be shared. This led to various distributions patching EDS to use a system copy of BDB, a patch that has finally made it upstream, but not everyone is using it: by default EDS uses it's private copy. Now fast-forward to today. I did a full build of EDS from CVS using the system BDB (it's also a lot faster to build that way) and hit build failures from code demanding the static BDB to be built. Fixing these was trivial, but when I checked in the patch it worked fine... I investigated and discovered that BDB is now used in four places inside EDS: Now, BDB is approximately 600K when statically linked, and a typical EDS build statically links it four times. The server process will load both backends and both libraries, so it contains all four copies of BDB at once. This is getting silly. Please, all packagers, if you support multiple versions of BDB in your distribution, use --with-libdb=/usr to dynamically link to BDB. As a fallback I'm about to create a patch that installed the private BDB into a private library directory, to avoid all of this static linking. NP: Neighbour Radio, Last.fm (via Last Exit)

John Goerzen: Reactions to Israel and Lebanon

I was surprised by the reactions to my story Saturday on Israel and Lebanon. Several pro-Israel posters are apparently in complete denial about what the Israeli military forces are doing.

Today, the American network ABC reported that Israel had bombed a Kleenex manufacturer, numerous farms, and all the major roads out of Lebanon. And they showed pictures of all of these during their evening newscast.

I find it highly unlikely that ABC is making this up.

One person asked, essentially, "do you really think a democracy could do this?" Yes. It's happened many times before. The United States and Britain did this sort of thing when they destroyed tens of thousands of homes and killed over 25,000 people, most of them civilians, in the bombing of Dresden. The United States also was responsible for the nuclear bombs dropped over japan, killing 140,000 people instantly and countless more due to the effects of the atomic weapon.

Being a democracy is no guarantee against extremism. Some Israel supporters need to take a hard look at what their military is doing.

As I explained, none of this is to defend the attacks against Israel, which of course are also terrible.

But I think Israel's strategy is going to wind up costing them -- they are creating huge numbers of angry Lebanese, that perhaps didn't have the motivation to attack Israel before, but now do. (Of course, the same error could be attributed to their enemy)

And both sides are catching innocent civilians more than military targets.

It's very sad.

Erich Schubert: Flow oriented programming?

I've been preparing on my exam on programming and modeling languages. The usual classification of imperative, functional, oop and logic programming is kind of inconsequent, since there are e.g. functional oop languages. To me, oop is more of a software engineering thing, usually applied to imperative programming with a load of syntactic sugar. The usual OOP examples suck. They're so basic that all the OOP and modeling stuff is just a complete waste of time. So I was considering more complex examples, and ended up at common design patterns. A couple of design patterns in OOP seem like workarounds to me; a new language (well, maybe C# has addressed some of these, I don't know) could probably add some more syntactic sugar to ease their use. I hate UML diagrams. To me they just emphasize all the obvious stuff, while they quickly get too complex to be of use for "seeing" the important things. Even UML activity diagrams in my opinion don't properly depict the flow of information/data in the program, which is what I really care about. Activity diagrams basically show you a sequence of methods are being called. But often you'll have a method being called thousands of times, with the actual relevant information being in the parameters passed. And some stuff might be done asynchronously, too. For certain problems (well, not for stuff like e.g. the train door used in OOP examples), it could be much more useful to abstract away from the involved classes - which are often just wrappers for data, "records", "datagrams", tcp packets - and instead model flows of data. Think of drawing conveyor belts transporting data, filtering it, duplicating it, ... The gstreamer framework seems to employ such a model for audio and video processing. You build pipelines by placing e.g. sources and sinks there. But you can interpret dozens of code examples with this model. SAX transform a stream of charaters into a stream of XML nodes. UI mainloops are basically a stream of UI events. Network data obviously is easy to model as a data flow; the "obvious" mapping into "packet objects" however often useless. Even when doing a select on a database, the result has an obvious representation as a data flow (a flow of records in this case). You probably only need a couple of "primitives". Sources and sinks, obviously. Filters, Y and Tee modules. Queues and Caches could be interesting, too. Note that data flows can work in two ways: push and pull. Maybe sometimes the same code could be used for pull and push operations, too. When push and pull driven flows meet you often need threads to connect. For example, a SAX parser usually will pull character data from a stream and push a stream of XML nodes as output. One way to get a pull-able output stream out of this (I'm ignoring e.g. the existing XMLpull API for this example) is to use a cache (which will eventuall contain the whole document as Nodes), another is to use two threads and just block the SAX thread until the other pulling thread has requested another node. Of course you can do all this in existing languages (you know, this doesn't give you anything new beyond turing completeness) - just like you could do OOP in assembler. You can, but it would be nice if the compilers offer you an easier syntax. Also it would be nice if I wouldn't have to write different code for pull-driven and push-driven operation. Also note that push type operation is rather typical for imperative programming languages - for i in range(0,10): print i - whereas pull type operations are typical for "lazy" functional languages - take 3 (repeat 'a').

16 July 2006

Erich Schubert: On programming contests (ACM ICPC etc.)

Bart Massey and Mike Vanier talk about programming contests such as the ACM International Collegiate Programming Competition. Well, since I'm being told that I love ranting, I have to join this one. ;-) I never participated in a contest except the Bundeswettbewerb Informatik back in (pre-university) school. In my opinion that contest was quite different for a number of reasons: most of the participants didn't have any IT classes at school. And noone "trained" for that contest. Also the contest isn't a speed contest, but you have a couple of months to solve a number of problems that most of us would find rather easy - for pupils aged 15-18 with no real CS classes they aren't that easy. Even in the later rounds, time isn't the main constriction - you have several weeks - and the programs are also judged by their code quality, documentation and design. I think you were allowed to participate in teams during the first and maybe second round. A friend of mine pointed out the ACM chellege to me; but we never really managed to form a team since everybody was too busy. We never actually did a training session (though I myself solved a couple of the valladoloid online judge problems), and we didn't submit our participitation. Though we would have automatically won our local contest, since I'm not aware of any teams by our universities here (despite them being top-ranked universities). In general, Germany isn't very much involved in this contest, despite being an "international" contest. This has various reasons. On one hand, CS teaching in germany is not much about just writing code. You'll of course learn the basics, but even when they've finished their degree, most will be really slow in writing code. Instead, the focus is on modeling and the theoretical background. In my opinion, that is very good. You'll always be able to improve your "basic" code writing skills later; that is mostly experience and routine. But you won't be learning much theoretical background in your job later on. Having worked on a number of the old, archived, training problem sets, I'm not convinced that this contest makes much sense. To succeed with the problem sets you need to be able to I agree with the others that I don't think team-play is of much value in this contest; nor will you be doing much creative work. In my opinion it's all about reducing the given problem to one of the known problems (e.g. longest common subsequence, shortest path, maximum flow), then adopting an algorithm to it. I'd call that reproductive work. In my opinion, they're rather boring. Basically you're expected to solve them using a certain algorithm. You aren't judged by good or smart solutions either. Just by speed. The (high-school) programming contest mentioned earlier was more interesting. For example there was the task of navigating a robot on a factory floor without any state information, and only a limited view. The robot was not allowed to keep any information. Such as "I need to go out of this dead end" or "that is a dead end". It would easily walk into a path just to notice after a few steps (it had a limited view!) that this is a dead end, then try to walk out - just to walk in again, having forgotten that it's a dead end. You of course can't judge solutions without inspecting the code. Smart programmers found a few ways to "cheat" here - and got extra credit here. For example one robot, when noticing that it's in a dead end it might forget, would step up to the wall. And whenever it was close to a wall, it would follow it, and thus walk out of the dead end. Some heuristics making it step away from the wall again made it much more successful than others. Another "cheat" involved calculating "remaining steps allowed - distance to destination mod 2". It then could be programmed with two alternating behaviours and switch between them by just not moving for one turn. I don't think there is any room for such great ideas in the ACM contest.

Biella Coleman: Perma-adaptor

I am in the Zurich airport en route to South Africa. I was thrilled that I had the right plug-adaptor to use because I have a long lay over. But when I wanted to pop it out to leave and explore the city, I found a very stuck adaptor. Very. 2 British guys assisted but to no avail. It may stay here forever so fellow Americans, you will always have a perma-adaptor in the Zurich airport. It is in the “Pearl: Bar” across from Bur Erry.. Just look and you will find.

15 July 2006

Erich Schubert: Extra exploit protection - SELinux

Apparently (as analyzed by Joshua Brindle), SELinux with the commonly used policies prevents the latest exploit (the one using a race condition on /proc/self/environ). Another way of preventing this would have been to mount /proc with "noexec, nosuid". I wonder why that isn't the default anyway? It would be good to have more people work on Debian SELinux. Currently, I'm not aware of anyone working actively on Debian SELinux. So although it was called a "pet release goal" earlier, this seems very utopic to me right now. The SELinux toolchain has received some important fixes/features (modular policy linking should finally be working!) but these are not yet in unstable, nor has the reference policy package been updated recently. Running SELinux on the main Debian servers probably is some work... there will be custom policy that needs to be written. It would however increase our security a lot, especially for boxes such as gluck that probably are our weakest point (because all developers need to be able to log in). Sometimes I have the impression that I'm the only one running a Debian system with SELinux and the reference policy... and I'm still busy with my exams, and I don't know yet if I'll have more time afterwards (a 6-month thesis is next after the exams, and I'm actually thinking about some business opportunities, too...)

Steve Kemp: On the second day I brought her a flower

My Apache module for filtering incoming HTTP requests, mod_ifier, has had a lot of loving. Yesterday I reworked the structure of the code to make it more generic and extensible. Taking advantage of the cleanup I added a new match-target. In addition to matching Referers, User-Agents, headers, Paths, and CGI parameters/values it will now also allow you to match on the HTTP Request method. (ie. GET POST OPTIONS PROPFIND SEARCH TRACE). I’ve made a 0.5 release, and a new package will be uploaded to unstable shortly. There was a tiny bugfix too - parsing/matching of CGI POST variables will work 100% correctly! ObAudit: I looked over the Debian Mentors Website and reported an XSS attack against it. Package names/descriptions were not filtered before being displayed so anybody with a mentors.debian.net account could upload a package causing an XSS attack - stealing the login session of any user who viewed the package details.

Eric Dorland: The Damage So Far

So I've spent the last 8 days at Fantasia, neglecting friends, family, my health and Debian work. Probably a good time to look back at what I've seen so the memories don't melt away has they have other years. So only 8 movies left to see. So far it's been pretty good.

Erich Schubert: JSP-like C++ webpages

TNTnet, just uploaded to Debian, looks interesting. Basically it offers JSP-/PHP-like embedding of C++ code into web pages (or the other way round). Well, if you want to be precise, the syntax is actually much closer to HTML::Mason, a perl-based web application framework I've used some years ago. You can bet that these pages, compiled into native code, are hard to beat speed-wise... Think of compiling your website into your webserver. It's obviously not suited for wide audiences - you can have your users upload PHP files, but you probably won't allow them to upload C++ code - but more for high-performance sites with specialized applications. I have, however, one major gripe with it: The syntax is not XML. I wish they would have picked true XML as data format, instead on basically using string processing. I hate how many people treat webpages as mere character strings with some special characters instead of structured data serialized in some way or another. I don't want to be stuck using a line-based editor for structured data forever. I'm still using vim, and I'll probably continue for a while, but for XML I'm actually just waiting for an editor with a true understanding of XML and the power and speed-of-use of vim... KID remains my favourite way of generating web pages. It's templating transparently embedded in a XHTML file using a separate XML namespace. And it's actually compiling the templates into python modules. P.S. if your ever need the Dummy 16 and Dummy17 functions, get them from microsoft (excel) now! No need to write them yourself anymore! (Dummy 1-15 are apparently discontinued.) P.P.S. I just wanted to point out, that I'm convinced that embedding much code into a layout file is a bad idea (one of the reasons why I despise PHP). Keep logics and layout separate. KID for example is quite good at that. In my DNSoupdate tool for example, all the template contains is loop constructs and simple case disinctions. This also brings me to my biggest gripe with KID: it depends on python. I don't see a way of using the same template with a different language. So maybe I'll actually go back to some TAL solution or so that is a bit more portable templating-wise (and still perfectly reuseable XML).

Next.

Previous.