Friday, September 26, 2008

Ganz ohne Excel Exceldateien erzeugen, öffnen, ändern, speichern...

Vorhandene Exceldatei bearbeiten? Hier - http://sheet.zoho.com/excelviewer - hochladen, im Browser editieren, mit "Export" wieder lokal speichern.

Neue Exceldatei? Leere Datei hier - http://sheet.zoho.com/scratch - öffnen, im Browser bearbeiten, mit "Export" abspeichern.

Für beides ist nicht mal ein Account erforderlich! Und dass die Spreadsheets bei Zoho auch VBA Makros (VBA? Ja, VBA!) und Pivot Tables können, habe ich das schon erwähnt? Ziemlich faszinierend, oder?

Thursday, September 11, 2008

Amsterdam

Christopher Alexander on Amsterdam:
"If we look at the evolution of traditional Amsterdam, we see how gradually the canals were formed, bridges were built to span (and thus enhance) the canals, edges were formed for the canals, houses were built one by one along the canals - all enhancing the canals - and slowly, over two or three hundred years, a wonderful living harmony was built.

And why did it work? Because, again, all or almost all the actions were structure-preserving, structure-enhancing. At every step, minute adaption was occurring. Everything fit perfectly into the whole.

What is remarkable is that the structure-preserving process which goes on in the large scale - as we see from the evolving plan of Amsterdam, the entire structure of sea, land, canals, and bridges - is accomplished by a parallel process which forms the streets and allows them to unfold. This, in turn, is followed, in parallel, by another process, in which the windows, doors, steps, buildings, flower boxes, and railings are unfolded too - all going forward in parallel - and leads, in the harmony which results, to the almost bursting joy we see in the skaters on the canal.

It is true, too, that the very largest and most imposing structures were built by the unfolding process. In the houses along the canals of Amsterdam, you can see the impact of time. Each board, window, step, was added in enough time for it to be fitted perfectly for use. Thus the whole governed the position and shape of each board as it was added. We can see and feel the underlying sequence of unfolding. Just to look at the resulting structure, we can feel the sequence of what it must have taken to make it.

Imagine a process in which, at each step, some new center is created (or intensified), and that this center is already present weakly in the previously existing wholeness. Under these conditions, what is done next always has a natural and comfortable relation to what existed before: it has a similar structure and never violates the previously existing structure."

Wednesday, July 09, 2008

Code Metrics

Hochinteressant! Netter Hinweis in Jeff Atwoods Blog Coding Horror auf spartanisches Programmieren:
Spartan programming is a programming discipline by which the programmer tries to minimize use of various elements of the programming language which may contribute to complexity. The main motivation of the discipline is that terser programs are easier to understand, and therefore tend to be more correct.
Genau! Gute Idee!

Tuesday, July 08, 2008

Ich will nichts recyceln, ich will löschen

Beim Löschen einer Page im Sharepoint Server bekomme ich eine Meldung, die mich etwas verwirrt und die ich so erstmal nicht recht deuten kann, und zwar ob ich die Seite "recyceln" möchte?! Wie, sollte das irgendetwas damit zu tun haben, dass ich die Seite gleich ganz löschen möchte (ohne sie in den Papierkorb zu tun)? Oder doch auch in den Papierkorb tun, um sie später wieder herstellen zu können? Quasi recyceln kann? Nein, nein, was mir scheinbar noch nie aufgefallen ist, dass der Papierkorb im Englischen eben Recycle Bin heißt, und der Vorgang etwas hinein zu tun dann eben scheinbar "to recycle". Was dann eigentlich löschen bedeutet. Beim Apple heißt das Ding übrigens ganz einfach und sinnvoll "Trash"!

Sunday, February 24, 2008

Ruby hat heute Geburtstag und wird 15!

Um das gleich mal festzuhalten, Ruby wird heute, am 24. Februar 2008, 15! Habe ich hier: Ruby Turns 15 and Other Important Stuff - O'Reilly FYI gelesen:

David Flanagan, author of many books including most recently The Ruby Programming Language
observed that this month marks Ruby’s 15th birthday. David
confirmed with Yukihiro “Matz” Matsumoto–creator of
Ruby and David’s coauthor on the aforementioned book–that,
indeed, Ruby was conceptualized and named on Feb. 24, 1993. Mark your
calendars.
Zum 10. Geburtstag gratulierte David A. Black: [ANN] Happy Birthday, Ruby, and an announcement....

Today, February 24, 2003, is Ruby's 10th birthday.** Happy Birthday,Ruby! And congratz to Matz!
Und selbst in einem Kalenderblatt des bayerischen Rundfunks vom 24.02.2005 geht es um Ruby, das war dann wohl anlässlich des 12. Geburtstags.

Monday, February 11, 2008

XML People

In einem wunderbaren Artikel - XML People - beschreibt Tim Bray die Personen, die mit der ursprünglichen Entwicklung von XML zu tun hatten. Hat mich sehr fasziniert, wie er die Menschen hinter der Technologie lebendig werden lässt, ihr Aussehen, ihre Persönlichkeit, ihre Rolle und ihren Beitrag charakterisiert. Was mich wirklich neugierig machte und ich anfing Bilder von Ihnen im Internet zu suchen. Hier das Ergebnis, die Begründer und Erfinder von XML, jeweils kurz wie Tim Bray sie charakterisiert, und dazu ein Bild.
"Ted · Theodore Holm Nelson looks like Peter O’Toole, with a personal style similarly extravagant."




"TimBL - Tim Berners-Lee is thin, pale, and twitchy, a well-bred British baby-boomer who circumlocutes and temporizes and gets to the point slowly."




"Charles
· Charles F. Goldfarb is a Jew from New York who got a Harvard law degree and went to work for IBM.Charles, fiftyish now, is dark, burly, balding, bearded, Californian. (...) He wears Western-style string ties, talks energetically with a lot of hand movement and still a New York rasp."




"Yuri
· Yuri Rubinsky died in early 1996 (suddenly, of a heart attack) before our story really got started,...Yuri, a Canadian of Russian descent; was born in Beirut, Lebanon (a place we’ll hear from again) and, and while his family was Gentile as far as he knew, looked like a caricature of a mid-European Jewish intellectual.
"




"Jon
· Jon Bosak is a writer who escaped into high tech from the inspiring but stingy publishing world; not the first by any means.(...) Jon, another boomer, is shortish, and looks like the child that might have been born to John Lennon and a Kennedy."




"James
· James Clark is a computer programmer. (...) His ancestors made enough money that he, a GenXer, doesn’t really have to work. He is our story’s second Englishman, but is less polished and much more direct than TimBL."




"Tim
· This is me, a fortysomething Canadian raised mostly in Beirut (there it is again). (...) I’m average size, average weight, fair, largely bald, with a vaguely Mennonite look caused by wearing a beard sans mustache, and speak average toneless mid-North-American."




"Eve
· Eve Maler, a Honolulu-born boomer now in suburban New England, toiled for years, like Jon, in the techdoc mines. (...) Eve is buxom, curly-haired, full of smiles. Some people foolishly conclude that she is a technical lightweight and usually end up exposing their foolishness in public."




"Michael
· C. Michael Sperberg-McQueen has a name that is unusually long by any standard...Michael, about 8 feet tall, correspondingly broad-shouldered, and with a bit of middle-aged spread...He is at all times in strict conformance with the dress code of the Midwestern academic: tweeds, checks, scarf, cloth cap."




"Lauren
· Lauren Wood is a New Zealander whose adult life has been in Australia andGermany. (...) Lauren is smallish, slenderish, dark-haired, pale-skinned, large-eyed, and speaks with an Auckland lilt that can veer into complete opacity on
words with a strong “O”, such as “word” and “cold”. She is cheerful, patient, and very good company. (...) We were married in November 1996, just after XML was unleashed on the world."




"Jean
· Jean Paoli is a citizen of France but really Lebanese, a typical Levantine ethnic cocktail: dark, burly, hirsute, chubby-faced."




"Phil
· Phil Karlton died in 1997 (in an Italian auto accident while on vacation), so only takes a brief turn on this stage. (...) Phil was an ugly bald whiskery sweet man, with lots of rough edges and an
apparently-perfect 20-year marriage that, I think, intimidated many whose
relationships are more mundane and compromise-laden."



Wednesday, January 09, 2008

Heise Full Content News Feed mit Yahoo Pipes

Problem? Der Newsfeed von Heise heise online News enthält lediglich die Titel der News, aber keinerlei Newsinhalt. Wie könnte man sich einen Newsfeed basteln, der Titel und gesamten Inhalt der News liefert?

Ich hatte Yahoo Pipes schon fast wieder vergessen, was können die nochmal?

Like Unix pipes, simple commands can be combined together to create output that meets your needs:

  • combine many feeds into one, then sort, filter and translate it.
  • geocode your favorite feeds and browse the items on an interactive map.
  • power widgets/badges on your web site.
  • grab the output of any Pipes as RSS, JSON, KML, and other formats.

Sounds good? Learn more....

Und ob das gut klingt! Es hat dann zwar nicht gleich auf Anhieb ganz so wunderbar funktioniert, letztendlich aber doch: Wie funktionierts? Eigentlich recht übersichtlich:
  • "Fetch Feed" Modul holt den vorhandenen Heise Newsfeed (er wird in eine interne Struktur von "Items" geparsed, auf die man dann z.B. mit item.summary oder item.title Zugriff hat)
  • "Truncate" entnimmt nur die ersten 10 Einträge
  • "Loop" ruft für jeden Eintrag
    • "Fetch Page" auf, die Seite des Newsbeitrags selber wird geholt und durch Angabe eines Von- und Bis-Strings der Nachrichtentext herausgeschnitten
    • der Ausschnitt wird im Item (item.content) abgelegt
  • "Rename" benennt item.content.content dann noch in "description" um. (Für RSS Feeds muss das "description" heißen)
  • "Pipe Output" gibt das Ergebnis aus
Fazit? Irgendwie schon faszinierend. Und dafür dass man das mit einem graphischen Tool im Webbrowser zusammenklickt/schiebt/konfiguriert (kann man da Programmieren dazu sagen? Immerhin ist eine Loop dabei?), kann man scheinbar doch ganz faszinierende Funktionalitäten kreieren. Und wenn man sich überlegt, dass es mehr solcher Tools im Internet gibt, siehe z.B. sowas wie Dapper: The Data Mapper (kann auch Webseiten parsen) und dass man die mit einem Tool wie Yahoo Pipes ja alle irgendwie zusammenbinden kann ohne lokal auch nur irgendetwas installieren zu müssen, ja, das ist schon faszinierend.

Irgendwer noch andere Ideen, was man mit Yahoo Pipes probieren könnte?

Kann ScribeFire schönen Sourcecode?

Jetzt bin ich auf das Firefox Plugin ScribeFire :: Firefox Add-ons gestoßen, auch ein Blog Editor, was macht der mit Sourcecode? D.h. was macht der mit Text, der in <pre>-Tags enthalten ist?
class Klass
def method
end
end

Ansonsten würde mir das Teil schon ganz gut gefallen. Vor allem weil es sehr "integriert" ist, oben kann man die Seiten, über die man schreibt, öffnen, im unteren Teil schreibt man im Editor.

Hoppala: Sobald man einmal mit Blogger selber speichert, sind die führenden Blanks natürlich wieder weg. Omeiomei.

Friday, January 04, 2008

Ich will "schönen" Sourcecode!

Das hat mich jetzt schon so lange genervt, dass ich bei Blogger Sourcecode nicht anständig eingerückt anzeigen konnte, weil führende Blanks einfach weggelassen wurden, erst schaut der Code in einem <pre>-Bereich gut aus, dann speichert man - und zack- weg sind die Blanks. Klappt das jetzt eigentlich besser? Schaumamal...

class Klass
def method
end
end


Na ja, scheinbar. Und zwar mache ich das jetzt so: Erstmal erstelle ich den Eintrag mit Windows Live Writer, ein kostenloses Desktop-Tool von Microsoft zum Schreiben und dann Hochladen, und zum zweiten formatiere ich den Sourcecode mit dem Tool Format My Source Code for Blogging.



Schaumamal, ob ich jetzt mehr Lust habe, hier Sourcecode reinzuschreiben...



.lwl .post-body br {

  display: none;


}


.lwl .post-body pre br {


  display: block;


}