Saturday, July 31, 2010

Firefox plug-in NoScript 2.0 released - The H Security: News and Features

Firefox plug-in NoScript 2.0 released

web-sites created with DocBook Website and the trolls all over

A few trolls get along in mailing lists, trying to bash me for the web-sites I created with DocBook Website.

I guess they are in the middle of their adolescence, but they let everybody know, that the HTML is shitty.
WTF do they care?
  • It looks impressive to ordinary people and potential customers.
  • It's trivially created for somebody with the right know-how and easily maintained, w/o a fat CMS underneath,
  • and a pimpled PHP programmer alongside.
Take this rule for serious:
Don't you let the cheap little creeps get at your nerves!!!
But still: they always attempt to steal your time and energy with their lousy behavior.

Update / 2010-08-02:
This discussion is quite similar to this one: high-order languages vs. assembly languages.
These guys, that are into assembly languages often argue, that hand-written machine code is so much nicer than the one generated by compilers from high-order language code.
WTF asks that question and who wants to know? Not me. So R.I.P.!

SUSE Studio: Plans for openSUSE 11.3 support

SUSE Studio: Plans for openSUSE 11.3 support

Wednesday, July 28, 2010

File Parade Software Downloads: Flash Downloader (Firefox) Kostenlos 1.4.2

File Parade Software Downloads: Flash Downloader (Firefox) Kostenlos 1.4.2

File Parade Software Downloads: SWF Catcher for IE - Kostenlos 3.3

File Parade Software Downloads: SWF Catcher for IE - Kostenlos 3.3

Reasons Why Perl Isn’t Dead Yet | Ask Rea Maor (dot) Com - Technology and Money Making at its best

Reasons Why Perl Isn’t Dead Yet | Ask Rea Maor (dot) Com

I love to see my (old) iPhone syncing my contacts and my calendar

updating my xmlresume CV to mention Shell more often

I applied for a contracting position, the recruiter likes my CV, but he wants to see the term Shell mentioned far more often. Alright then…

Actually it's always quite funny as well (updating the CV), as it's yet another nice XML document to edit in emacs with nxml-mode: it's in xmlresume.
A little typing, a lot of copy+paste until back to 1980, a few ruby rake tasks executed, exported the RTF from Open Office as Word file, uploaded, messaged the recruiter – done.

Yessssss!!! It's done. I spammed Ruby and P3rl MLs with my educational efforts

I am curious, who will chop my head off first.

(Extended) reviews of the latest books, "technical meetings", short courses, middle courses, long courses, *-camps / *-campouts:

In English, German. French and Hebrew to come…

Berlin and wherever.

Have mercy! I am "spamming" because I think people might be interested and it's worth it and not really that unjustified.

Update:
It was Tina Müller <tina.2003@tinita.de>, <Tina.Mueller@iconmobile.com> (and presumably Slaven Rezié <Slaven.Rezic@iconmobile.com>, <slaven@rezic.de>, <srezic@cpan.org>, the little man sitting in her ear) of the Berlin P3rl Mongers, who did chop off my head.
I started thinking about civil rights in Cyberland then, and that this kind of chopping off of somebody's head should get prosecuted by the jurisdictional system. Their attitude is simply false, quite awkward, and quite unacceptable as well. I don't think, people like them do have many friends in real life.

Nota bene:
Why do I write P3rl? For not to get in conflict with all the nice chaps at World P3rl Marketing.

Monday, July 26, 2010

mind mapping using Free Mind and emacs and its nXML-mode

I got my quick introduction to Free Mind by son#1 (13yrs) today. Of course I am a stressful student. Of course he is not an advanced user. But we are doing well together.

We didn't manage to get a cloud removed other then by undo. And of course you don't want to make use of undo, if the doing happing an eternity ago.

As expected Free Mind's file format is XML in its very own dialect.

So removing the cloud within the XML was an obvious option. Trang helped me to derive a RELAX-NG grammar from the example. The  compact version of that grammar for use with nXML-mode is not perfect, but improving it doesn't look difficult.

The first thing to do in emacs was obviously tidying the indentation. It was then, that the grammar showed, how imperfect it is. But easy to fix. And it was trival to remove the cloud.

Call of the Moose

Call of the Moose – the Moose blog

Perlbuzz's tweet pointed me here.

Sunday, July 25, 2010

intellectual property fraud


IP fraud has been a top for quite a while for me right now.

It started in the early 1990s with a rather cheeky and perky "Ph.D.-ish" colleague of mine, that rather didn't impose too much respect and esteem on my. Once in a couple of years I am quoting that case, and that's rather helpful for my spiritual life then.

Sometimes I'm rather confusing, who actually causes the fraud. I guess like last night. Somebody was quoting somebody else, and it wasn't quite clear at the 1st and also at the 2nd glance, who actually removed me on purpose from the literature list. Yes, I guess, I slapped the wrong guy last night, but he deserved it anyway. I mean, he easily could have added me to the other guy's literature list, as he must have been aware of my article on a blog, that he must be observing, because on the other hand that blog harvests that guy's blog in turn. This is the TF case. It actually didn't start as IP fraud case, but rather as a TP doesn't like JH / one rough Hun doesn't like the other rough Hun case.

That other guy from the early 1990s was a rather existential case, which eventually and after some slowly rising escalation chopped my young family in pieces, son#1 being the most concerned victim of that, which I rather regret. I regard myself as not very much vulnerable, but I guess everybody has that area, as Sigurd, the dragon killer, had it, where accidentally a leaf had covered his shoulder, and the dragon blood had not sealed his body; that's where he eventually got killed at. I don't think I let this little vulnerability carry me away as much, as it must have been able ages ago. Still it keeps sitting there like a little demon, and needs serious observation. As I said: I keep writing about this guy now and then, I wonder, whether I will find my peace on that during this lifetime. This is the MH case. I guess, this one actually did start as an IP fraud case. But effectively it evolved into a German style multi-front war. And it came to its then final and maximal escalation, when my then-wife preferred to go on yet another holiday to her home country; get me right: she has been keeping doing that for like 20 times a year. And that's rather beyond any reason. So I did miss her correction and blaming then in away. I don't think, she ever understood it that way. But I did so from the beginning of that story's peak.

To be continued…

starting a busy Sunday quite early with …

… brainstorming and sorting lots of ideas.

Actually I got up at like 07:00, because of an acute case of senile insomnia here on my side. I don't suffer from that too often, just like 2 or 3 times a year. I rather enjoy a heavenly sleep, I have to confess.

I had neglected my personal and company book keeping for weeks, and I couldn't delay that for yet another day.

I felt rather fresh after 2 hours of sleep, having enjoyed quite a good part of The Godfather II with son#1 last night. He fell asleep in the middle, and I decided I would be more productive w/o the movie destracting me; I only watched the movie yet another time because son#1 had sought my company for that, which I loved.
So I got up, started brewing lots of coffee, enjoyed the new shower gel, emptied the trash, and attempted to clear my mind with brainstorming and sorting lots of ideas.

Once I would be able to wake up son#1, I would let him teach me Computer Aided Mind Mapping and create my 1st ever computer mind map together with him. I have been rather looking forward to that since yesterday. Son#1 has grown quite a little and started being a man, sort of in a way. I am proud on him. Not that he and/or his mother let me contribute a lot, so clearly: I'm not proud on my contribution to raising him during the last couple of years, but rather just on him as my son. Whatever… – I hope: YKWIM.

A couple of minutes ago mother of son#2 called and they are going to show up here for joining us for Sunday morning breakfast, so my mind clearing time is coming to an end right now.

To be continued…

Thomas Fahle's article on App::perlbrew

I seriously find Thomas Fahle's article on his own blog (see the blog imprint!) on App::perlbrew a rather good piece of work.

I always appreciate, if authors have an extensive literature list, by which they show, from where they know, what they know.

I also find it rather interesting, that Thomas mentions, how important it is to use "hash -r", and I searched the articles, he mentioned in his literature list, but it wasn't mentioned there.
To be honest with you, I assumed I wouldn't find an article, where that is mentioned beforehand.
I can actually refer you to an article, where it got mentioned on 2010-07-02:
App::perlbrew - Manage perl installations in your $HOME or wherever you want
That article certainly showed up on ironman.enlightenedperl.org.

Of course I can't tell you, whether Thomas Fahle had read that article at all, and he just forget or missed to add it at the end of his literature list, and whether his advice comes out of his own professional expertise. But I just thought, I wouldn't easily let him easily get away with this bad attitude of his.

But you now have at least two articles, where you find this good advice – so don't you forget it!

Nota bene:
I do know for sure though, that Thomas Fahle doesn't really like the style of »the author« of that other article. You're not suggesting I should add a comment on Thomas Fahle's blog, telling him he might have missed an article in his literature list, are you? You might actually do so, if you think that's a good idea.

Getting carried away a little – leaving perl grounds…

Another nota bene:
I also do happen to know, that »the author« of that other article has made a similar experience back in the early 1990s: he had had a rather cheeky colleague then, calling himself a Ph.D. (gained in the U.S.S.R.). »That author« had used Finite State Machines within their company for the implementation of GUIs, not really making a secret of that. You are certainly right in that Finite State Machines are not rocket science, Finite State Machines for GUIs aren't rocket science either, but you will probably not be able to create a long literature list for Finite State Machines for GUIs. That's the issue.
All of a sudden then that U.S.S.R. Ph.D. mentioned Finite State Machines to their management and to their company board – and without giving any proper respect to »that author«. The name of that U.S.S.R. Ph.D. is Martin Hartwig. As usual within the GDR system than he was a very proper and very long-term member of the GDR communist party. Actually as proper, that he was able to organize a visit permit for a Western visitor to rather sacred places of the GDR research system. So presumably he wasn't quite an ordinary member of the communist party then. You shouldn't consider the GDR communist party as just a colorful shiver of younger European history, which didn't create too much harm to the GDR population. O, no! The GDR communist party did actually create a lot of harm then. But we don't want to go into detail on that here. Martin Hartwig always wanted to appear as a solid and trustworthy member of society. We doubt he is. A big "thank you!" to Thomas Fahle for giving us the opportunity to create this little shock to both these guys. It's all about bad attitudes.

Strange memories appearing at strange times. Together with more experiences of the bad kind they did cause nightmares and long lasting harsh difficulties once. And in the end they destroyed a family, and a boy grew up without a close father.

Pls excuse this author for getting carried away at times, but I guess you sort of enjoy it occasionally.

Update / 2010-07-26:
A furious commentator confused members of the GDR communist party with Russian spies. I'm not sure, whether that's just because of a low IQ (but then low IQ guys don't follow the ironman blog or this one) or is that out of lack of basic political education?

Saturday, July 24, 2010

THE industry calls the iPad the porn-pad, why would that be???

THE industry loves the iPad, iPad owners make THE industry's economical figures explode.

A few git tips you didn't know about

A few git tips you didn't know about

Emerging Languages camp - day 2 | Ola Bini: Programming Language Synchronicity

Emerging Languages camp - day 2 | Ola Bini: Programming Language Synchronicity

What I learned at the Emerging Languages Camp

journal.stuffwithstuff.com » Blog Archive » What I learned at the Emerging Languages Camp

Re-shared from a tweet from Matz, who in turn ...

Amos Wenger (ooc)

Any domain has two levels of knowledge: the core ideas for the domain, and the cultural wisdom around those ideas. The first tells you how to do stuff. The latter often tells you which stuff not to do. Any well-versed programming language person can tell you about both recursive-descent parsers and generated parsers. They'll also tell that generated parsers are the "right" way to do that.

Most of the time that advice will save you from wasted effort, but sometimes I think it keeps people from going down paths that may actually be fruitful. Sometimes the thing that everyone knows is true isn't. (For example, every language I know of with a lot of real-world users actually does use a hand-written parser.)

Amos is a young French iconoclast. If he'd been born in a different time, I expect he'd be a brick-tossing anarchist. One advantage that attitude gives him is that he and the others working on ooc pour features into the language while the rest of us are still sitting around fretting about minutia. I think a lot of us could use some of that "let's just fucking do it" spirit.

The Fault Tolerant Shell

The Fault Tolerant Shell

Found this through one of Yukihiro Matsumoto's tweets.
You know him as  the co-author for The Programming Language Ruby and also as the inventor of the language itself.

son#1 teaches me mind mapping - I'm so proud!!!

During my last conversation with my lawyer (she is cute and pretty tough, I hope she is not going to take too much money, but we are going to see; she e-mails with me and she sends me the communication with the other party as PDFs, I am amazed!!! she is a digital native!!!), I asked myself, how often I would have to explain her that situation. Afterwards it came to my mind, I should have created a mind map together with her, and just for fun I did a little research and I also involved her there. And you know what: she told me the names of the software, she has already been using. I was embarrassed, at least a little. Alright I installed Free Mind, and I am a little stuck with it.
Weekend comes, son#1 shows up again, ..., I ask him, whether he know the term Mind Mapping, and yes, he knows it, I am kidding with him, asking, whether he can show me (and teach me), how to do it, and you know what: he said: yes. Yes, he will do it. That was last night or so, around our watching Godfather I.
Now today I set up an account for him on my MacBook Pro running Snow Leopard (and of course he loves that, who wouldn't, it is a hot Mac!!!), I dragged Chrome in his dock, removed a lot of the unnessary stuff there, explained him, how to use the "right mouse button" with the mouse pad and how to scroll with the mouse pad, a few things. And now he gets into that, and I am looking forward to son#1 teaching me mind mapping. I am really amazed. That will be good for the two of us.
I'll keep you updated, watch this location!

Update / 2010-07-24 18:28:
Although son#1 and son#2 are actually hard to confuse, this is actually about son#1.
Son#1 is 13 years old (he learned mind mapping at school, I guess with a teache from SW Germany as well), son#2 is 3.9 years old, I am >40.
And another thing I should add:
Whenever they started calling that sort of stuff mind mapping: one of my teachers on high-school actually taught us that sort of stuff ages ago. And I guess they also did at the Agora of Alexandria.
What a luck, this sort of stuff cannot get copyrighted!!!

Parrot – everything we have heard so far seems wrong

Emerging Languages camp - day 1 | Ola Bini: Programming Language Synchronicity

Allison Randall gave a talk about what’s currently happening with Parrot. It seems they are going for a new rewrite of most of the subsystems. One of the changes is going from a CISC style op code system to a RISC style. Parrot apparently has over 1200 op codes at this point, and they want to scale back everything to about 20-30 bytecodes instead. As a preparation for this, they have ripped out the JIT and will revisit most of the subsystems in Parrot to see what can be done. Allison also gave the audience the distinct impression that Parrot is still quite slow for user programs.

It looks like everything we have heard so far and what we told others seems wrong. Isn't that embarrassing?

SourceForge.net: Expect great script automation from expect-lite

SourceForge.net: Expect great script automation from expect-lite

Beginning Perl Programing with Emacs

Beginning Perl Programing with Emacs :

bash Pocket Reference - O'Reilly Media

bash Pocket Reference - O'Reilly Media

What Are Syndication Feeds - O'Reilly Media

What Are Syndication Feeds - O'Reilly Media

Developing Feeds with RSS and Atom - O'Reilly Media

Developing Feeds with RSS and Atom - O'Reilly Media

GENIVI chooses MeeGo for in-car infotainment systems

GENIVI chooses MeeGo for in-car infotainment systems - The H Open Source: News and Features

Friday, July 23, 2010

Perl creator hints at imminent release of long-awaited Perl 6

Perl creator hints at imminent release of long-awaited Perl 6 | Open Source - InfoWorld

This might evolve into an emerging feedback loop.
So better don't keep resharing it too long!

peeking and poking Google Chrome

Is there an "ordinary way" to get the "extensions" listed, or is this pseudo-URL "the ordinary way": chrome://extensions/?
(Now, that I wrote of it here, I can finally close that tab, as I was really worried to forget it again. BTW: of course also this list is made far nicer then everything (at least) I can compare. Did you notice, what they do, if you delete a bookmark folder? That's just awesome IMO, if I had not to do a lot of work, I could keep doing that all through the night.)
Oooo, it's under that wrench icon as Extensions. And there is also Downloads. Good, that I found that!
And now I also know, how to underline using the Blogger article editor. Well, switch to "Edit HTML" – you know the rest of the story. It's that simple.

And do you know, how to make the wrench icon appear on OS X Chrome?
Chrome / Preferences / Basics / Toolbar / Show Page and Tools menus.

Have you come across the Task Manager below Developer yet?

And did you dare clicking on Stats for nerds?

How bad, that I can't use Chrome on my Linux notebook, as it keeps negatively interacting with the window manager or so, which after a while locks up.
Well, they are going to solve that issue sooner or later.

Matz’s guiding philosophy for the design of Ruby

Ruby is designed to make programmers happy.

Apache FOP gets a 1.0 release - The H Open Source: News and Features

Apache FOP gets a 1.0 release - The H Open Source: News and Features

That's funny: A couple of hours ago I downloaded it for the machine, that I used for creating HTML and PDF from DocBook Slides, here is a rather impressive DocBook Slides example. And I didn't know, it's that brandnew. I just needed some working version, and the last download on another machine was 0.93.

Thursday, July 22, 2010

"The Ruby Programming Language" – THE book on Ruby by Matz

The book is co-authored by a 1st-class author this time: David Flanagan.
And the book follows the lines of a classic book of the Unix universe: The C Programming Language by Brian Kernighan and Dennis Ritchie.

what's the right Unix-ish software and hardware in 2010?

In 1994 I had no doubt: it's a PC with some Linux distro on it. And changing my mind was out of the question until not so long ago.
Now in 2010 I am doing things on a Samsung 17" notebook running some openSUSE Linux, and I am doing things on a MacBook Pro with a 17" screen.
I don't want miss either of them. Well, the Samsung thingie's resolution could be way better, but after my Sony thingie broke during my Leopard 2 main battle tank project, I couldn't afford anything better than that, and the decision and the purchase had to happen within minutes rather than within days. Terrible pressure and no mercy with Linux folks over there at defense.
But now I do many, many things on that Snow Leopard thingie, and I terribly enjoy it and it honestly improved the quality of my life a lot. That's what I wanted to state here and now.

Wednesday, July 21, 2010

how to make a rectangle image a square image using GIMP


I like reusing profile pictures from the web in my Google Mail Contacts aka address book.
On Xing or LinkedIn these pictures not necessarily are square, but on Google Mail Contacts you have to choose a sub-square. So maybe you want to resize the picture appropriately, so you don't cut it, where you don't want to cut it. Here is, how to proceed:
  • Image / Canvas Size: disconnect the coupling between width and height,
  • then make both the same, preferredly the larger one,
  • then center
  • and resize!
  • Last not least: save the file with the highest quality!
BTW my designer mate doesn't like GIMP, he prefers Photoshop. I gave GIMP a try for this purpose, and it did, what I expected it to do, in a perfect way, every try a perfect hit!

How to Build an RSS 2.0 Feed - O'Reilly Media

How to Build an RSS 2.0 Feed - O'Reilly Media

Wonderful little helper from O'Reilly.

Monday, July 19, 2010

weird error messages during the DocBook Website compilation batch…

Sometimes you really didn't change anything crucial, and you find the new error messages just too obscure, then do this:
$ make clean
$ make realclean
And most of the time the error messages ar gone. That worked at least for me.

"Perl Best Practices" as a useful good night story

"Perl Best Practices" - O'Reilly Media


I really like reading good night stories for my sons late in the evening, but I hate reading "Spiderman fights Hulk", absolutely. Really!
Now, I actually found out years ago, that it doesn't really matter to the kids, what you read, but that you like, what you read to them.
Last night I selected a book, which didn't come into operation then, but with one day delay today it actually did so.
Pls find the title attached! (This referred to, when this article was a Google Buzz and there was even a picture attached. I do love Google Buzz, but the number of followers is rather depressing, I actually prefer not to know, how many usually read my blogs. And last week's Google presentation of the Buzz API at Berlin.Betahaus.de with finest catering and unlimited free drinks even encouraged me to love it more.)
Now you may understand, what I referred to by: "it doesn't really matter to the kids…"
You may even think, I am a bad father. I seriously don't agree. Well, the useless social workers of the "youth welfare office" at Berlin might agree with you. But then, I don't care.
Son#2 literally slept within minutes, which is otherwise never easy to achieve. (He can easily fought 2 hours against his sleepiness.)
Now this either has to do with the quality of the book, or simply with my son liking my voice. Choose yourself!
Son#2 actually started sleeping deeply in the middle of the preface, but I insisted on completing the preface, of course w/o even touching the acknowledgements. Sorry for that. Maybe I will browse them silently another day. I do find names interesting, and after 30 years in IT you do know a few ones.

After that I decided to get the PDF for $5 from O'Reilly's, and I immediately went for it. That PDF is now on my disk. I even think parts of this book will make good presentation material at future Berlin Technical Perl Meetings, well, maybe Stuttgart Technical Perl Meetings, if the Berlin Perl Mongers are lucky enough resp. not lucky enough. Decide yourself, which way it's meant!

This book looks like entertaining but educative literature, just the way I considered Larry Wall' classical Camel Book almost 20 years ago. But I read it then in the Berlin Underground on my way to work or back home.

Pls have mercy and excuse my Bad Simple English!

Sunday, July 18, 2010

"Judaism deals better with sex than Christianity", says Swedish prof

Interesting article in a way, but then: we are in the 21st century – WTF^H^H^H who cares for Stone Age books and their ancient morals?

Saturday, July 17, 2010

3rd party Facebook applications – use with caution!


Right now there was yet another Internet service with a big Facebook button…
When you press this button, and they ask you in a very tiny print, whether you allow them to pull your friendlist on Facebook, then press
Stop without further hesitating! They are simply bad. You don't want get your friends dragged into your experiments, right? Sometimes they also say: "Let's find you some friends?" That's about the same. Don't! Just don't!

I am waiting for the day …

… when somebody contacts me, asking whether I would have a little time now and then publishing a few lines not to badly pair for his magazine. I wonder, whether this is going to happen in this life or the next.

learning from others – a temporary home-worker's experience

I really enjoyed working with my design profession mate yesterday. He brought his MacBook with him, and I also learned from him, what the MacBook substitute for the scroll-wheel is: a two-finger wiping over the touchpad.

"the right tool for your job"

I thought, I should cross-post / sort of "retweet" this article "the right tool for your job" from the rails to the perl world. Of course, the words are different, and also the tools, but the professional researcher attitude is the same, I think. Maybe someone picks the article up and translates it into the perl world.
I particularly like, what he says in the end:

Use what works
Use the best tool for the job, don’t be afraid to look outside your main language or to push outside your comfort levels. Don’t hesitate to make a switch to another plugin or gem if the one you are using doesn’t seem to fit your needs. Most of all, just take some time to really examine what you are using - it can go a long way.
According to my experience you can't share this attitude with most employers or clients, but as a professional researcher software developer I fully agree.

using SVG for graphics within HTML generated from DocBook Website

I learned the hard way, that SVG graphics must get referenced via EMBED, not via IMG. I do that now.
But still…
I created a "generic logo". It's white on a transparent background, the real background determined by the context. That's the idea. But I found this on the web – now I am confused:
How do I set the background color of an SVG image?
Sadly, SVG does not support directly specifying an image background color. With aiSee, however, you can easily work around this drawback by artificially enlarging the layout plane as follows: Open the SVG file with a text editor and manually adjust the four values of the viewBox attribute. This attribute is to be found in the third line of the SVG file.
The idea is to share this logo with the DocBook community. So far all new DocBook Websites are branded NM like Norman Walsh, that's because he started that software. I asked him for the sources of the logos a couple of days ago, but he couldn't find them, and they were GIMP XFC anyway, and not scalable as SVG. SVG is the hit IMO.

I thought I should mention this: I am using O'Reilly's SVG Essentials, that's IMO a great book, and you can read and print it for free on their O'Reilly Commons wiki.

editing XML documents in emacs using nxml-mode / cont'd

I was suffering for many weeks now with emacs on Snow Leopard, as I had forgotten that nice customizable variable nxml-sexp-element-flag. Setting that one to t (Lisp, yes!!!) really gives XML editing a boost. Now you can "move" forwards and backwards beyond entire tags enclosing huge amounts of text. I had been too lazy digging into that thing the first time, I noticed XML editing on my Snow Leopard MacBook is harder than on my openSUSE Linux ASUS notebook. I do confess that. Being lazy is always bad.

Wednesday, July 14, 2010

this was a rather good day DocBookWebsite'ing

Migrated all relevant web-sites to DocBook Website. Simple HTML from DocBook documents looks quite a little different and not so appealing. I can only recommend using DocBook Website.That's another good reason, why I want to spread the good word of DocBook in Berlin. Have a look at the block "my most exciting web-sites" in the right column here!
Update / 2010-07-15:
If goals are easy to achieve, you don't delay them for very long, you just do them. With DocBook Website things are easy to achieve, and I keep simplifying, improving, and renovating my web-site(s). I guess, the need to change will saturate rather sooner than later.
Hayek.name is now as short and as nice, as it has never been before.
BTW: Now I removed xmllint'ing my documents from my Makefile, as it kept spitting out weird messages. Alright, I agree, that sounds rather silly, but … I use nxml-mode, and that constantly validates my documents, so I assume, I am on the safe side.

The next step:
Continuous Integration. That means, each web-sites gets recompiled, as soon as its sources got modified. Pretty cool stuff, serious!
For now I am using the Unix batch command. Pretty neat as well, of course, but not as neat as Continuous Integration, that's for sure.

Tuesday, July 13, 2010

no more Reactions and Ratings on my blog posts

Nobody ever made use of them, so I rather remove them, so that the entire thing loads faster.

Of course, you can always leave your comments, that's for sure – so far ;-)

an article on railsfreak.com: the right tool for your job

My second thing to do this morning might me digging into this tweet by rubyflow, the twitterer:
The right tool for your job
A tweet pointing to an article on railsfreak.com.

an interview with Stevan Little about Moose

Starting my day with an interview with Stevan Little about Moose, an idea I picked up from a tweet from perlbuzz, the twitterer.


(Do I really have to keep in mind, that this will be picked up by ironman.enlightenedperl.org? BTW it's bad, that they even match "perl" within words of my blog-articles, even if that does not have anything to do with perl as a programming language.)



Listening to the "perlcast",
reading the text at the same time

(keep in mind: I am not a native English speaker/reader/listener, so that helps!!),
drinking my breakfast coffee …

»Audrey coined the term “O-fun,” optimized for fun.«
"O-fun" – I think I will use this term a lot from now on.

»We’re hoping that Moore’s Law will catch up, and we’ll have a break.«

»I didn’t want it to have “feature-itis”«

»It’ll probably be a good idea to let people know where to go to get started if they wanted to learn about Mouse. …«
»… Yes, we have the Moose.Perl.org domain. …
The IRC channel has Moose on IRC.Perl.org. …
And the mailing list.
The mailing list has been getting a lot of traffic lately,
which I’m very happy about
because that means we have a lot of indexed content in there.«



(wow, I am still learning how to make better use of my Mac keyboard.
what do you think, where are these "guillemet" quotation characters hidden?
at q like quotation, of course … .
have a good laugh: at some stage, when I tried using that, I confused the Alt and the Cmd key, and … ;-( my browser shut down,
but luckily enough it restarted with all the right places.)


that perlcast was a very good thing to start my day with.
it boosted my motivation to use Moose.

this article was actually first "prepared" as a Google Buzz.
follow me there, if you want!
I would welcome that very much.

DocBook Website

All the relevant pointers in one place:
  • Norman Walsh's example on SourceForge – enjoy it!
    (IIRC he says, you shouldn't regard the information contained in there as up-to-date)
  • the example within the Website release on SourceForge is slightly more extensive
  • the release notes for the current release on SourceForge
  • Bob Stayton's book DocBook XSL: The Complete Guide, chapter 31. Website
    (I do own the dead tree version of it, and if I got a bundle price for the PDF, I would go for it)
  • searching Bob Stayton's book: "site:www.sagehill.net sitemap"
  • Dave Pawson's article How to use the DocBook Website system
  • searching Dave Pawson's article: "site:www.dpawson.co.uk website sitemap"
DocBook, The Definitive Guide (the book) (I honestly do own various versions of it):
  • http://docbook.org/tdg/ – the book's website
  • http://docbook.org/tdg5/ – the new book's website (DocBook 5, The Definitive Guide)
  • http://docbook.org/tdg5/en/html/docbook.html – the new book as HTML
  • http://docbook.org/tdg51/en/html/docbook.html – the book in progress as HTML
  • http://docbook.org/tdg51/en/html/variants.html#s.variants – Website only gets mentioned there
General pointers:
  • http://wiki.docbook.org
Update / 2010-07-24:
I found the mailing list docbook-apps hosted on oasis-open.org very, very valuable.
I read the mailing list archive via my newsreader at news.gmane.org.
Not that you want to know that, but my newsreader is Gnus.

Monday, July 12, 2010

how to answer the phone in Portuguese?

I subscribed for a phone number in Brasília recently, that's because my SO stays there for the summer, and that makes communication easier.
Looks like an important person has had the number before for quite a while, and I keep getting calls from strangers.
I don't get away with explaining in my pidgeon Portuguese, that I am Jochen from Berlin, and that I prefer talking in English or German.
So in the tradition of my early social bookmarking customs, I will list here a couple of phrases mainly of interest for myself, but maybe also for you.
  • who is talking? = quem está falando?
  • this is Jochen speaking = Jochen está falando aqui
  • how can I help you? = como posso ajudá-lo?
  • I assume you dialed the wrong number = suponho que você discou o número errado
  • I am a software developer = eu sou um desenvolvedor de software
  • may I develop some great software for you? = posso desenvolver um software excelente para você?
  • may I set up an amazing web-site for you? = posso criar um incrível web-site para você?
  • do you speak English, German, French, Hebrew or Esperanto? = você fala Inglês, Alemão, Francês, Hebraico ou Esperanto?
If they steal my time, I can just as well have some fun with them, right?
Luckily enough I can pronounce and also understand these phrases quite properly. Son#2 and quite a big part of my social context keep speaking Portuguese, and finally I have start practicing Portuguese after all these expensive courses – if not with friends and family, then with strangers. Exciting, I tell you.

There should be a button, helping me to redirect them from simple VoIP to Skype videophoning – that could be even bigger fun, I mean at least with one half of the Brazilian population ;-) But to be honest with you: Like 95% of the callers are male. I still have to achieve that somehow!!! Maybe like that:
  • shall we talk over Skype? = vamos falar pelo Skype?
  • do you have a webcam? = você tem uma webcam?
  • my Skype ID is J-o-c-h-e-n-_-H-a-y-e-k = meu ID Skype é J-o-c-h-e-n-_-H-a-y-e-k
    (I will have to remember, how to spell the names of the letters properly;
    Google Translate actually also speaks that for me, but that's way to fast)




Update:
I am very grateful to my 1st commentator, who corrected my Google Translate provided initial phrases. I incorporated his suggestions here immediately.


Update:
You may regard this as bragging, and it may be that, but I hope you also enjoyed reading these lines and I also hope you had a very good laugh, that's supposed to be healthy. Maybe my SO or her daughters will pick this up. OMG! I deserver, what I deserve.

Ruby 1.9.2 gets a second release candidate - The H Open Source: News and Features

Ruby 1.9.2 gets a second release candidate - The H Open Source: News and Features

… According to the developers, the final version is expected to arrive in August …

defunct Ethernet cables because of broken "thingie"

Over the last many years quite some of my Ethernet cables got defunct because of that broken "thingie", which should in theory make the plug stay in the jack. If you don't replace the plug yourself (which looks quite difficult to me), you can just through the entire cable away. No shop offers a service to fix that. Why should they? They earn more money selling you new cables. Does anyone know of such a service anyhow?
And if you tell me the proper name for that "thingie", I will happily use it from now on.

this seems to be a "LinkedIn Day"

There are calm days, and there are awfully calm days, this one is not – like half a dozen of "friends" today confirmed my add for them resp. requested me to confirm their add.

Mac OS X screen lock image – how to replace?

I have no idea, how to achieve that. Anybody any idea?

Sunday, July 11, 2010

DocBook Berlin – created the Google Group for the 1st regional DocBook User Group

I am very excited about this.

There is an exploding number of web views on that Google Group.
Keep your fingers crossed, that there will be frequent activities soon.

DocBook Website is going to revolutionise the activities necessary to set up static and almost static web-sites, it will not stay the gold mine for a few – it will be affordable for the many.

DocBook Slides is the new way to create slides, forget everything before!

Tell everybody about this user group in Berlin! Join "us" for learning and helping each others!

Saturday, July 10, 2010

how to browse music?

Today resp. just now I found "yet another time …", that browsing my music library in iTunes / on the iPod / on the iPhone "by genre" is much more fun, then browsing by name on my file system – what a surprise!
Yet I still insist, that my music library has to be kept "by name" on the file system. Quite a contradiction, isn't it?!? But browsing a huge amount of music, with lots of covers included, that definitely is fun. Have a nice weekend, all of you out there …

editing XML documents in emacs using nxml-mode

One good reason for not not authoring in XML is not having a suitable editor or IDE. I personally use and recommend emacs and James Clark's nxml-modeI create and modify all sorts of XML documents this way. If you supply nxml-mode with the right schema for your document, nxml-mode can even help you with tag completion and document validation. nxml-mode makes use of schemas in RELAX-NG, co-created by James Clark. RELAX-NG schemas are rather easily created, if not yet just available, as for DocBook, DocBook Website, DocBook Slides, and many, many other XMLs.

"Trang" is your tool for creating a RELAX-NG schema:
  • if you want to convert a DTD into a RELAX-NG schema,
  • if you want to derive a RELAX-NG schema from a couple of XML files of a specific kind,
I have done that a dozen times, it does work.

Here you find nxml-mode's manual page.

Your mileage may vary …

DocBook Slides


  • If you really are into XML,
  • if you even write your documents in XML ie. DocBook,
  • then you will love DocBook Slides
The Slides Document Type is an XML vocabulary derived from DocBook. It is used to create presentations (slides, foils, whatever you call them) in HTML or print.
Presentations are by nature visual and the Slides stylesheets provide a wide range of options to control how the transformation from XML to HTML is performed.


One good reason for not not authoring in XML is not having a suitable editor or IDE.
I personally use and recommend emacs together with James Clark's nxml-mode. Your mileage may vary though …

Friday, July 9, 2010

want to get signalled, when a command line job on your computer is done?

I have a long list of cpanm jobs,
don't want to put them in a batch all toghether,
and want  to get signalled, when each of them is done:
$ while true; do beep; done
In my case the beep is acutally just the flashing of an xterm window.

Update:
Yes, notify-send is far, far, far superiour, growlnotify on OS X.
Thanks for the pointers!

GNU Coreutils "seq"

the manual page.

Why do I keep forgetting the name of this wonderful little helper?


seq prints a sequence of numbers to standard output. Synopses:
     seq [option]... last
     seq [option]... first last
     seq [option]... first increment last
seq prints the numbers from first to last by increment. By default, each number is printed on a separate line. When increment is not specified, it defaults to ‘1’, even when first is larger than lastfirst also defaults to ‘1’. So seq 1 prints ‘1’, but seq 0 and seq 10 5 produce no output. Floating-point numbers may be specified (using a period before any fractional digits).

best practices in shell script programming – colons

My snipplet for an if/then/else in shell scripts looks like this:
if true
then :
else :
fi
The colons make that code syntactically complete, w/o the colons you run into a syntax error. The colon is the "null op" of (Bourne) shell scripting.
And the colons usually remain there for the remainder of the life of that code.
Have you noticed, that the youngsters, that talk about snipplets nowadays seriously think, they invented them? True, I guess, they created the term. Just the term.

best practices in shell script programming – double quotes


You do know the result of this:
a=A; echo $a
But are you just as sure here?
a=A; b=B; echo $a.$b
That depends on the shell, you are using. So I suggest you better write it this way:

a=A; b=B; echo ${a}.${b}
Enclosing variable names in curly braces is quite often a good idea.

Look at the following piece of code:
case $var in
  x*)
    echo var starts with x
    ;;
  *)
    echo var starts with something else
    ;;
esac
Looks alright, doesn't it?
No, it's does not. If that variable had not been assigned a value before or is of zero length, you will see an ugly syntax error occur.
Therefore enclose the variable in double quotes like here:
case "$var" in
  x*)
    echo var starts with x
    ;;
  *)
    echo var starts with something else
    ;;
esac
There is no good excuse for not doing it anywhere. It may look ugly and unnecessary, but it will help. That's the way shell scripting is. I learned this from Jürgen Gulbins around 1987, when I enjoyed working for him. This series of articles is dedicated to him. I owe him a lot.

best practices in shell script programming

You do know the result of this:
a=A; echo $a
But are you just as sure here?

a=A; b=B; echo $a.$b
That depends on the shell, you are using. So I suggest you better write it this way:


a=A; b=B; echo ${a}.${b}
Enclosing variable names in curly braces is quite often a good idea.

Thursday, July 8, 2010

Task::Kensho – "A Glimpse at an Enlightened Perl"

See its manual page at CPAN!
  • The installations with/for my self-brewn perl-5.12.1 on openSUSE-11.2 as well as on OS X Snow Leopard have a problem with Task::Kensho's TryCatch, I skip that, and all the remainder seems to be fine.
  • The installation with/for my self-brewn perl-5.10.1 on openSUSE-11.2 runs straight through.
  • The installation with/for the "native" perl-5.10.0 on my openSUSE-11.2 runs straight through.








App::cpanminus – a new CPAN installer

How to …:
$ perlbrew switch stable # resp.
$ perlbrew switch perl-5.12.1
$ cpan  App::cpanminus
$ cpanm App::cpanminus 

$ perlbrew install-cpanm # remove the previous suggestions?


$ perlbrew switch perl-5.10.1
$ cpan  App::cpanminus
$ cpanm App::cpanminus

$ perlbrew install-cpanm # remove the previous suggestions?

To be continued ...

cookie hell …

sites w/o general admission so far:
  • xing.com
  • Google Calendar
exceptions:
  • draft.blogger.com
  • www.twitter.com 
  • www.blogger.com 
  • mail.google.com
  • www.facebook.com 
  • chrome.google.com
  • www.inkedin.com
  • www.google.com
  • fritz.box – my multi-functional router
  • oreilly.com
I would love to be able to not give further general admissions to cookie senders.
Cookies kill me, sort of.

AdBlock …


Ads are actually BLOCKED FROM DOWNLOADING now, instead of just being removed after the fact!
One of these milksops told me "the other day", that wouldn't be true, and I couldn't prove him wrong then. It hurts having trusted yet another shameless lie.

If you notice Google Chrome as a tag here, that means, there is now AdBlock for Google Chrome.

Wednesday, July 7, 2010

created more wiki web profiles …

MoinMoin offers a web GUI, but not for Google Chrome.
Both are very nice wiki systems with pretty comfortable markdown.

Credos written as profiles.

creating my 1st DocBook Website web-sites

I have the DocBook XSL book in front of me (opened at "Chapter 31. Website"), asking myself and the world (irc://irc.freenode.net#docbook) silly questions, like the ones, you can find as my recent articles on this blog.

I want to change a couple of pretty raw vanilla DocBook web sites to pretty raw but neat vanilla DocBook Website web sites during the next couple of hours. There is other work to complete pretty soon, so I rather complete this thing now.

I am using docbook-website-2.6.0/example from Sourceforge (look around here!! ((FIXME))) (of course as example-JH-0, so I can always diff to the origin).
Their Makefile-example.txt is now my Makefile, I just had to adapt DOCBOOK_WEBSITE and XSLT:
  • DOCBOOK_WEBSITE=/usr/local/docbook-website-2.6.0
  • XSLT=xsltproc
...
Try this:
$ make clean
$ make realclean
$ make depends
$ make

...

Update / 2010-07-14:
I have made pretty good progress during the last couple of days.
I converted a couple of plain DocBook web-sites (HTML!!) to DocBook Website, and I rather sense some satisfaction there. You can find those web-sites right here in the right column listed as my most exciting web-sites. Sorry for the bragging, but the Website guys did a rather good job, so even me cannot spoil that a lot.
Right, and a web-designer mate of mine will show up on Friday, and we are going to discuss the replacement logos for all the NDW-logos around there. And a very big "thank you!!!" here to Norman for all his good work!!!

DocBook Website - where to get the Relax-NG schema from?

I found it at SourceForge.
I really love editing XML in Emacs's nxml-mode. I did mention that at my DocBook Wiki home page already.

DocBook XSL, the book - where can I download the samples from?

I have a copy of that book (paper so far), and I am tempted to use certain smples. Other publishers supply you with TAR balls, that you can download from their web-sites, so that you can play with the samples. I didn't find that mentioned in that book, but to be honest with you: I haven't yet read this book all through, I rather assume I will only look up certain things occasionally, and actually this is just my "thank you!" to Bob Stayton, the brave DocBook warrior.

Looks like you can only copy+paste the code from the PDF (purchase it!)  or from the free HTML.

Tuesday, July 6, 2010

Google Chrome, my 2nd experiences

On openSUSE-11.2 Google Chrome 5.0.375.99 beta makes my X-Windows freeze after running for a while. If I "killall chrome", this drags my X display down, only restarting the XDM or so helps.
On Snow Leopard Google Chrome 5.0.375.99 runs quite nicely. Yes, it's fast as lightning, but of course, there's not adblocker, and there is no such thing as NoScript running on it.
Of course it's rather nice to edit your blogs with such a fast thing.

DocBook XSL, the book – incorrect IRC channel

DocBook XSL: The Complete Guide - 4th Edition, Chapter 1. Introduction,  Online resources for finding solutions to problems (the paper book and the online version as well) says, that the IRC channel of DocBook would be at irc://irc.openprojects.net#docbook, but it actually is at irc://irc.freenode.net#docbook.

http://www.docbook.org/help had the right information.

This is not on their Errata yet, and I told webmaster(AT)sagehill.net about this problem in the meantime. I only wondered for a very, very short time, whether anybody will ever come back to me.
Bob Stayton (himself) answered at 2010-07-06 22:12:18 (my time at Berlin, ie. only an hour or so later):

Apparently it changed since that was written.
I'll put the new address in the next edition and add to the Errata.
Thanks for the report.

As I said, I will update this here, once I will notice their update.

NoScript, XSS risks, flattr, Firefox

I really loved to use NoScript, the plugin for Firefox. But after I decorated my blogs with these flattr buttons, I started having to much hassle.
Adding an exception rule didn't lead to the expected result.
I have got no further time to fix that, I switched of NoScript. R.I.P.

I really felt a lot safer with NoScript running and surverying my surfing activities.

unit tests for my procmailrc

I love adding procmail rules, as getting my incoming e-mail almost perfectly sorted eases my life in such a tremendous way – but sometimes that really frightens me.
I just thought, if I ever get around "to it", I will write unit tests for my procmailrc.

Monday, July 5, 2010

Catalyst based CMSs

According to cms.wikia.com/wiki/Impl these are the current Catalyst (so esp. implemented in perl)
 based CMSs:
Can anybody help me selecting "the right one"?

O, what do I want to use it for?
I got a few web-sites, most of them more or less plain text (HTML!), generated from DocBook, and I want them to look a little more spicy, maybe with a left and a right column and all that.
Alright, coming from DocBook maybe I should also have a look at DocBook website, a variant of DocBook for dealing with websites. But I want to consider the alternatives.

Polish court to decide on Brodsky

Polish authorities may deport alleged Israeli spy Uri Brodsky to Germany this week. … The Brodsky affair has caused friction with two of Israel’s most important European partners. According to media reports in Germany, Israel has turned the diplomatic screws on Poland and Germany to prevent an extradition of Brodsky to Germany.
A Polish diplomat told the Warsaw-based Rzeczpospolita daily in June: “If we extradite him, we will anger the Israelis. If we release him, we will anger the Germans. When we discovered this man... we should have pretended that we had not seen him. But now it is too late.” The federal prosecutor told The Jerusalem Post in June that the matter is based on the forgery of a German passport and illicit secret service activity in the Federal Republic. He insisted that the pursuit of the alleged secret service agent is purely a legal matter, and would not identify the agent as Israeli. …

Friday, July 2, 2010

App::perlbrew - Manage perl installations in your $HOME or wherever you want

Prerequisites:
  • $ zypper install patch
  • $ zypper install gcc
Caveat:
  • yes, "perlbrew install" occasionally and too often  needs "--force" and even "--notest", don't be too surprised! my "5.14.2" and also my "5.16.1" needed it

Main links:

$ export PERLBREW_ROOT=/opt/perlbrew
$ curl -kL http://install.perlbrew.pl | bash
# or maybe like this:
$ perlbrew self-upgrade


The developer/maintainer does not have in mind this use case as the main use case!! But it is my main use case.
What to do after installing a new perl, that you consider your new stable perl?
$ perlbrew alias create perl-RELEASE stable 
# resp.
$ perlbrew alias -f create perl-RELEASE stable
# use this shebang line with $PERLBREW_ROOT expanded [Link]:
#! $PERLBREW_ROOT/perls/stable/bin/perl

$ perlbrew switch stable # this will be our usual starting point!!!
 
# but "perlbrew list-modules" does not work on such an alias, so "perlbrew use" to a non-alias before!


  • Have a serious look at "$ perlbrew help" once in a while!!!



I decided to make use of $PERLBREW_ROOT, as I want to keep my home $HOME minimial, just data and scripts, no big files, they all go to other disks. And right, my home directory is on an encrypted partition, and this sort of stuff certainly does not get encrypted.
$ export PERLBREW_ROOT=/usr/local/perlbrew
Therefore my perlbrew is installed as:
/usr/local/perlbrew/bin/perlbrew
They suggest, that my $HOME/.bashrc should "source" their .../etc/bashrc, but for the time being I let my $HOME/.profile do this, as IMHO this is right place.
So actually this is according to best practices for shell programming the right way (for me) to do it, and now this code is of course included in my $HOME/.profile:


# for perl's App::perlbrew :
export          PERLBREW_ROOT=/usr/local/perlbrew # on my Linux boxes
export          PERLBREW_ROOT=/sw/perlbrew # on my Mac box(es)
source         $PERLBREW_ROOT/etc/bashrc
##export  PATH=$PERLBREW_ROOT/bin:$PERLBREW_ROOT/perls/current/bin:${PATH}
path_prepend   $PERLBREW_ROOT
path_prepend   $PERLBREW_ROOT/perls/current


BTW: always "$ hash -r" after switching, so you avoid getting certain perl resp. perlbrew related error messages like this one and a few others (confusion of the right installation directory):
bash: …: No such file or directory
I successfully brewed 5.10.1 and 5.12.1 on openSUSE-11.2, but on OS X Snow Leopard I only brewed 5.12.1 successfully, brewing 5.10.1 failed.


To be continued …


Update 2011-10-16:
On my Mac running Lion I was able to perlbrew these releases of perl


  • perl-5.15.3 and
  • perl-5.14.2
  • but not perl-5.12.4, 5.10.1, 5.8.9, 5.6.2

but that seems more than sufficient to me.

Looks like OS X got targeted as a serious platform for perl development only rather recently.


Update 2012-10-07: A historic note: I first looked into perlbrew in the context of "biz-JG".