Search Results: "bab"

23 July 2006

Martin F. Krafft: X cut-'n'-paste gripe

I sometimes wonder how amazingly b0rken the X window system is, and most of the time it's me swearing about cut-and-paste. Or is it by design that I open a terminal, select some text, close the terminal, and find the paste buffer to be empty? I can't imagine... I'll leave it at that for now and won't bitch about Firefox, OpenOffice.org, and most GTK apps with respect to pasting what I previously copied by selecting stuff with the mouse. Update: many people responded, pointing me to clipboard managers that work around the basic design limitation, because X "cut-n-paste" is actually more of a "drag-n-drop" implementation. Chris Siebenmann explained it best:
The short answer is 'by (bad) design'. The X people were reacting to the problem of not wanting to shove (potentially) large amounts of data into the X server and require the X server to hold onto things, so they designed cut & paste (the second time around) so that the program that created the cut had to hold onto the data.
The longer answer, with some history, is at
http://utcc.utoronto.ca/~cks/space/blog/sysadmin/XCutAndPasteHistory
In retrospect it's probably an over-engineered solution, and it does have the big flaw you ran into. (Arguably everything from that era of X is very complicated and overengineered.)
Other than that, I've also been pointed to the FreeDesktop ClipBoard standard. Somehow I doubt this will have any influence on Fluxbox in the short run.

Evan Prodromou: 4 Thermidor CCXIV

I finally got around to doing a kernel upgrade on this server for CVE-2006-3626, the recently-announced security vulnerability in the Linux kernel. I've been using the simple workarounds for a few days, but I got around to installing a patched kernel this morning, so I did a remote reboot to restart the server. Which, of course, hiccuped. I thought the server wasn't coming up and filed a SR with iWeb, my server host, but by the time they got to it, the server was up and running again. Sometimes it just takes time. I've got a theory that the probability of a server successfully power-cycling is inversely proportional to its physical distance from the operator. iWeb is only about 15 blocks away, so I guess I lucked out this time. tags:

WikiBios del.icio.us served up a tasty wiki treat today: WikiBios. No, it's not a project to code up a Basic Input Output System collaboratively using Wiki -- although that would be real cool. Rather, it's an effort to create biographies for every living person on Earth -- whether or not they're notable. wp:Paul Auster, in his book wp:Brooklyn Follies, described a plan for creating biographies for everyday people as a business. The idea being that people like to know about each others' lives -- their family, their friends. Memorializing someone in a biography keeps them alive and immortal in a way, yet only a tiny fraction of human beings have this privilege. I hope WikiBios takes off. It seems like a good idea. tags:

Limited single sign-on on Wikitravel So, after about a week of testing on our review site, I've rolled out a single sign-on system on Wikitravel. I'm starting with a very limited test: users of any of our language versions (English, German, French, Spanish, dot dot dot) can log in to our Wikitravel Shared repository with their account from their "home" wiki. The project uses OpenID, the URL-based SSO solution that's implemented on LiveJournal, Movable Type, Zooomr, and a few other systems. Although this trial is very limited, my hope is to allow sign-on between all the language versions of Wikitravel soon, and sign-on with external OpenID-enabled services soon after. Wikimedia, Wikia, and WikiHow admins have expressed interest in installing the [[$$vote abstain http://www.mediawiki.org/ extension that makes OpenID work on Wikitravel, so with luck we'll have some very nice Interwiki Interlogin very soon. tags:

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.

Junichi Uekawa: iSight probably working on MacBook.

Since there was a report on MacBook iSight working, I'd liketo make it into a Debian package.linux-uvc module withfirmware extractor. It should be doable pretty quickly.I've asked the upstream author to add necessary copyingstatement since it currently has nothing on it.I hope it'sresolved soon.Of course, it so happens that this particular gnome developer is also using SORBS to detect SPAM or whatever it is he thinks, and my mail bounces. Ouch.This SORBS thing is very annoying.

Andrew Pollock: [life] The wackiness continues and turns to general suckiness

So the flight to Sydney was relatively uneventful. I managed to get a reasonable amount of sleep, and with the assistance of some Coke, I've managed to stay awake and will probably last until a reasonable bed time for this time zone. The general suckiness is because they managed to lose my bag. I feel totally naked without a functional mobile phone. My work one isn't roaming for some reason (it seems to be the phone itself, and so I'm assuming it's a GSM900 thing), and my personal Australian one is in the lost bag. Then I discovered that United didn't take the I-94 out of my passport when I checked in, so that's probably going to cause me all sorts of immigration grief when I return to the United States.

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.]

Amaya Rodrigo: In the news

Merc Molist interviewed me for El Pais, one of the biggest Spanish newspapers, which also happens to be my favourite one, in their weekly technology special, El CiberPais.

The interview, in Spanish, is here. Ugly pic of me wearing the Debian Women Tshirt in the printed version only.

I must say Merc made a great job out of a difficult subject, sexism in IT.

Update: Zobel provided me with a link to an Engrish version of it. Google 's Translation is not much better.


The ugly pic

19 July 2006

Alexis Sukrieh: Gimme bandwith and CPU!

I finally managed to get my new servers up-and-running (got all the worst issues you can imagine with my hardware provider), hosted in the french data-center “TeleHouse 2″. It’s a Dual Core AMD 64 that runs a “Debian 3.1 Sarge” system, rock on babe! Now, it’s time to move everything from nyx.sukria.net (my home-hosted box) to hypnos.sukria.net… (…and yeah, @backup-manager.org services are affected by these changes)

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: 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.

18 July 2006

Jordi Mallach: Seventy years of the Spanish Civil War and the Spanish Revolution

A few months ago I wrote about the 75th anniversary of the proclamation of the Second Spanish Republic which was celebrated throughout the state. That weekend I visited a fantastic exposition of Republican and Revolutionary war propaganda posters, in Segorbe.

Today, Spain remembers the beginning of the end. During the evening of the 17th of July and morning of the 18th, a group of generals of the Spanish regular army raised against the democratically elected left-wing government of the Republic. History says that the murdering of Calvo-Sotelo, a right-wing leader, was what finally provoked the conflict. It was no secret that the same right-wing and some elements in the army had been conspiring for weeks about an uprise. The only question was when, but the government was fooled by general Mola and didn't take really effective measures to prevent it.


Warning from sanitary authorities against venereal diseases Mola and Sanjurjo planned to start taking over official buildings and army quarters and quickly seize control of the major cities. During the first hours of their rebelion, they managed to take over most of the southern regions in Andalusia, Extremadura and parts of the Northwest, plus most of the islands and the Moroccan protectorate area. Meanwhile, the Republic did not manage to react quickly due to the weakness of the government, and in the first days of the crisis, the government changed a few times. Finally, the Republican parties decided that to defend the state they should give arms to the unions, and soon after many militia groups were getting organised in the cities, and columns sent off to liberate other towns.


Solidarity of Catalunya to the Basque front The insurrection was suffocated in Barcelona after some heavy fighting against the military in the Montju c castle; the Anarchists of the CNT grew strong in Catalunya and Arag n, and offered good resistance in those fronts. After the first days of the coupe d'etat, it was clear neither the legitimate government or the rebels calculated how things would go after the first days. The government was confident in being able to end the rebelion as they did four years before; the fascists thought they would have quickly brought down the government with a successful coup. But after the first week, the country was divided in two halves, and both sides of the conflict were keen on fighting, due to the big social fracture during the last months of the government. The Republic asked for help to the League of Nations, but the United Kingdom and France decided not to intervene, scared about the conflict trespassing the Spanish borders and becoming another bloody war in European fields. The only official external aid came from the USSR and the International Brigades, formed by volunteers of more than 50 nations. Some well-known personalities like Ernest Hemingway or George Orwell came to aid as well. Orwell wrote about his life-changing experience in a Barcelona immerse in the social revolution, where he joined the anti-stalinist socialist party POUM. Badly wounded in the neck, he left the front and went back to Barcelona, and witnessed the assault of the Telef nica by the communists against the anarchists, during the fets de maig, after which the POUM was declared illegal. Orwell captured his experiences in the frontline and Barcelona in his book Homage to Catalonia.


To defend Madrid is to defend Catalunya Franco and Mola, aided by the Northafrican troops and soon after by their fascist allies of Italy and Germany, didn't have big problems seizing the Basque Country and Asturies in the North, but not before making the town of Gernika disappear below the nazi Condor Legion bombing, in what would be a test for the massive aereal bombings of Word War II. The battle for Madrid was fierce, and the city wasn't occupied until the very last days of the war. The long defence of the capital made was immortalised in the famous phrase No pasar n.


Madrid's No pasar n During the war, anarchist groups controlling fields and towns in Arag n and Catalunya managed to bring a Social Revolution to the area. The people collectivised the land and industries, administered by local assemblies. This experience is regarded as the time when Libertarian Communism has been successful. The experience ended dramatically when the anarchists were treasoned and blocked by the communists, and eventually defeated by Franco at the front.


Each bullet for a target After the first and a half years, the fronts had stabilised in Madrid and the East of Andalusia, until early in 1939, Barcelona fell in Franco's hands, after the bloody Batalla de l'Ebre, being followed by Girona and the rest of Catalunya. The fate of the democratic state was clear. Two months later, Madrid fell and Val ncia and the small area still under Republican control surrended.


Robert Capa's Muerte de un miliciano Franco declared a totalitarian regime to, according to the fascists, reconcile the two Spains. In the first five years of the regime, up to 100.000 were executed in the franquist repression, including the Catalan president, Llu s Companys and many intellectuals. The dictatorship continued executing people until two months before Franco's death, 36 years later. Hundreds of thousands also had to exile in M xico, France and other destinations, leaving Spain in ashes, road gutters full of scattered bodies and the population facing famine. The cultural elite left the country, making the state's clock go back at least a decade. Their reconciliation really meant humiliation and repression. Many people were also murdered during the war behind republican and rebel lines, but the genocide of the aftermath had was unmatchable.


The Republic promoted education among the troups It is a bit late to restore the dignity of the victims, but not too late. Some associations have been fighting since the end of Franco's regime to get some kind of public recognition for their suffering, for their priceless fight for the legal and democratically elected Republic, for the people who didn't make it.


Excellent anarchist poster rejecting the politisation
of children by any of the three loyal groups Other people reject these efforts banning them of "revisionism". Not too surprisingly, these are the sons or grandsons of the people who won the war. The current government is about to pass a Historic Memory law which aims to give recognition to all these people who gave their lives for an ideal and freedom. Unfortunately, due to pressures from the right, it is probable that the text will be ammended to make it more acceptable by them. I fear it will end up not pleasing the victims at all. I have a passion for Spanish Civil War related matters, and in the last years I tried to use any opportunity to listen to my Catalan grandmother talk about war affairs in Barcelona, and my grandfather, from a town in the middle of the Republican side of the Teruel front, but born in a very catholic family, about how the war went on in Vall and the nearby mountains.


From the defensive No pasar n to the encouraging Pasaremos! I know my grandfather only told me the less compromising stories, like how he was sent to dig refuges until he was 16 and apt to fight in the Front, or how he was put in charge of hiding the church's valuable relics in a few barns. He never told me about how life was after the war in the small town. It is dramatic to see that all the people who were old enough to have a sense of what was going on at the time are so old that these unvaluable memories and stories will be mostly gone in ten years. (Most of the pictures are taken from the Sociedad Ben fica de Historiadores Aficionados y Creadores' website, which has a huge documented catalog)

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').

17 July 2006

Evan Prodromou: 29 Messidor CCXIV

We had a great trip to wt:Mauricie this weekend. It was quite an adventure -- we took off from Montreal on Saturday in the middle of a downpour, with no idea if it was going to clear before we got to the R serve faunique de St.-Maurice. But the rain slowed as we passed through wt:Yamachiche and by the time we were in wt:Shawinigan it was clear. Driving up the beautiful St.-Maurice River is real pleasure, especially when it's freshly-rained-on. The river is wide and slow (I think because of the hydro plant at Shawinigan) and sailboats and houseboats run up and down it. We got to the welcome center for the park too late -- it was closed -- so we had to go across the $12 (!) toll bridge into the reserve on faith alone. Which took a lot, since it's all dirt roads on the other side. It was a beautiful ride, but about 30 bone-jarring kilometers to our final campsite. We entertained the baby by making long aaaaaaaaaah sounds over the grading bumps -- by the end of the ride she was doing it herself. We saw a huge black bear on the way up -- maybe twice my size, long and lanky, loping across the road like it owned the place. Maj's face dropped when she saw it -- she'd never seen a bear before. It was an impressive animal, and it looked like Amita straight-leg crawling. We had a little hassle at the front gate of the Lac Normand campground, but we got settled down OK, put the baby in an insect-proof playpen, and Maj made a great pasta dinner while I put up the tent. I finished up the dishes and Maj and Amita walked down to the beach ("one of the best in Quebec", gushes S paq, and I'm inclined to believe them), and I was just starting a campfire when another storm hit. So we played in the tent for a while and went to sleep. Sunday we had a quick breakfast and headed down to la plage. The lake was beautiful, with a 4-5km sand beach ringing it on the north side. All three of us went for a swim in the water; Amita held onto Maj's back and made motorboat noises. On the drive out we tried to cut across the Parc de la Mauricie and the R serve faunique de Mastigouche to get to wt:Saint-Michel-des-Saints, which is a town in wt:Lanaudi re that I've wanted to visit for a while. But we took a wrong turn at poorly-marked crossroads, and ended up at the safe and sane exit instead. How often does that happen? Drive home was nice, and we had sushi from the Sushi Shop on Mont Royal. The cats were mad, but they always are. tags:

Kerblog Norsola Johnson passed along a link to Mazen Kerbaj's difficult Kerblog. Kerbaj is a expatriate Lebanese musician and comics artist caught in Beirut by the blockade and the destruction of the airport there. Stuck in the city under bombardment, he took the opportunity to start a comics blog. tags:

S3 I wrote about Amazon's crazy S3 (Simple Storage Service), which provides a Web interface for data storage. I was interested to see that Om Malik had an entry about it: StartUps Embracing Amazon S3. I guess it's a cheap and easy way to get a lot of storage when you don't have a lot of time to work on things like getting storage. Does it mean I've gone bad if I read Om Malik? He was a speaker at the Mesh Conference a couple of months ago, and I didn't like his talk. Now, I read his blog daily. Gar. tags:

Oh No Robot I just caught up with the latest Spamusement comic, and saw a "Transcribe This Comic!" link at the bottom. It goes to the fine Oh No Robot comics search and transcription service. I guess the idea is that readers transcribe comics into searchable text. A great idea, and a nice example of user-generated metadata. tags:

MicroID So, when ClaimID asked me to embed a MicroID into my home page to verify it, I thought they were nuts. But I did it anyways. Now, I'm trying to wrap my head around MicroID, and I'm starting to think it's very clever. I dunno... maybe a MediaWiki extension is in order... tags:

A couple of hours later... I dicked around a bit more with MicroID, and made my own MicroID verifier in Python. You're welcome to use it; see Software/Python/MicroID. tags:

Moon language From sneakums on #tron: I cannot speak your crazy moon language from Maciej Ceglowski a nice story about language and life in Montreal. tags:

16 July 2006

Jordi Mallach: New SMS received

Message 1
I am in Spain!
What a fine country.
+1310XXXXXXX
2006/07/16 18:10:18
Dear sender,
I'm happy about you being so enthusiastic about your visit to Spain. I would probably be able to share the moment with you if I had the slightest clue about your identity.
Have a great night at nearly 30 C,
Jordi

Uwe Hermann: Anonymous Google Earth over Tor

I'm probably not the first one to notice this, but you can actually use Google Earth anonymously (upon first glance at least) over Tor. It seems all the traffic (downloads of maps and textures etc.) goes over port 80 (http) and 443 (https), which can easily be anonymized with Tor (read an older post of mine for details on Tor). Just type
export http_proxy=http://127.0.0.1:8118/
export HTTP_PROXY=http://127.0.0.1:8118/
and set up Privoxy and Tor correctly, then start Google Earth in the same xterm and you're done. I haven't looked closely at the protocol Google Earth uses (any articles available on that?) but upon a quick glance in Ethereal / Wireshark all traffic is torified, not even DNS requests are leaked. Technical explanation: the Google Earth binary uses libcurl internally, which honors the http_proxy environment variable. However, that's not a guarantee that you're 100% anonymous, as Goole Earth could send some unique identifier (e.g. MAC address, hard drive ID etc.) to their servers which would spoil your anonymity. Btw, I actually discovered this accidentally because I have the above HTTP_PROXY lines in my .bashrc, so most of my HTTP traffic is anonymized by default...

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...)

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).

14 July 2006

Erich Schubert: Apropos english words in the german language...

Martin F. Krafft mentions the trend of (ab-) using english words in german product names, and even constructions like "downgeloadet" (i.e. using english words with german grammar). What I'm most annoyed by is that many people (especially techs...) think that these words are actually the proper terms. That this is actually "more correct" than "heruntergeladen". Just because that is the only way we've been using the term doesn't make it the proper word. To a native speaker, many of these words might sound rather odd, and they are just being used because there is no better match in the english language. So if there is one in the german language, we should be using them... for example "to indent". I guess for many people here this will solely apply to text formatting in editors. But I assume that for native speakers, this always will bring up "dents", too. Something negative, some slight damage. The german word, "einrücken" however doesn't have such a meaning. I still believe that to regular native speakers, terms such as "bump mapping" have a very funny sound. And that it's just us techs that probably learned the "bump mapping" term first, and "speed bumps" second, that this sounds "good".

Next.

Previous.