Jump to menu and information about this site.

Thursday·26·March·2020

Pictures in pure HTML with chafa and aha //at 05:55 //by abe

from the because-I-can dept.

I recently stumbled upon chafa, a tool to display pictures, especially color pictures on your ANSI text terminal, e.g. inside an xterm.

And I occasionally use aha, the Ansi HTML Adapter to convert a colorful terminal content into HTML to show off terminal screenshots without the requirement of a picture — so that it also works in e.g. text browsers or for blinds.

Combining chafa and aha: Examples

A moment ago I had the thought what would happen if I feed the output of chafa into aha and expected nothing really usable. But I was surprised by the quality of the outcome.

looks like this after chafa -w 9 -c full -s 160x50 DSCN4692.jpg | aha -n:






·
·
·
·

·

·










·
·





·





··




·

·
·



·

·

Checking the Look in Text Browsers

It even looks not that bad in elinks — as far as I know the only text browser which supports CSS and styles:

In Lynx and Links 2, the text composing the image is displayed only in black and white, but you at least can recognise the edges in the picture:

Same Functionality in One Tool?

I knew there was a tool which did this in one step. Seems to have been png2html.

Tried to play around with it, too, but neither really understood how to use it (seems to require a text file for the characters to be used — why?) nor did I really got it working. It always ran until I aborted it and it never filled the target file with any content.

Additionally, png2html insists on one character per pixel, requiring to first properly resize the image before converting to HTML.

The Keyboard in the Pictures

Oh, and btw., the displayed keyboard is my Zlant. The Zlant is a 40% uniform staggered mechanical keyboard. Currently, only Zlant PCBs are available at 1UP Keyboards (USA), i.e. no complete kits.

It is shown with the SA Vilebloom key cap set, currently available at MechSupply (UK).

Monday·18·September·2006

Goodbye Woody, Welcome Sarge (Penultimate Part) //at 16:17 //by abe

from the It's-time-to-say-goodbye dept.

Since security support for Woody ceased recently, and with Kazehakase I’ve found a reasonable successor in Sarge for Galeon 1.2.x, I’ve dist-upgraded my 10 years old Pentium I ThinkPad bijou to Sarge this weekend. Even the XFree86 4, which made so much hassles in Woody by not regcognising nor configuring the graphics card correctly, worked fine from scratch. Well, at least after installing xfonts-base and xfonts-75dpi — the -transcoded versions somehow gave only the error message “default font ‘fixed’ not found”.

So goodbye Galeon, goodbye GNU Emacs 20, goodbye XFree86 3.3. I hope, I won’t miss you. Only my desktop gsa at home still runs Woody, but will be dist-upgraded soon, too.

What though still stayed on my laptop from Woody is Siag Office, since there is no adequate replacement for such a nice office suite with such a low resource footprint.

But it has also an impact on the talks I hold. I held all talks with a patched version of lynx (e.g. with LSS support) as presentation tool on that laptop because initially I didn’t get X running on that box. What started as a makeshift became my hallmark…

But I didn’t manage to get Sarge’s lynx patched so that it gives me the same output as my old version did. So either I would have to reoptimise the layout of my talks for a new lynx version or just start with something new.

Madduck recently showed me python-docutils, which he uses for presentations. Maybe I’ll use that although I have a severe aversion against Python. So it may also be that I’ll stick with WML, but get some new ideas from python-docutils how to use HTML for presentations.

Update: Found out that the interesting part of his presentation technic wasn’t python-docutils but S5: A Simple Standards-Based Slide Show System which in entirely written in XHTML, CSS and JavaScript. S5 is really cool stuff, one of the first cases of useful use of JavaScript, and will surely be used for my next presentation — with Debian Sarge and Kazehakase on a Pentium I ThinkPad. ;-)

Saturday·11·March·2006

Blosxom Plugin Tagging Version 0.02: New Features //at 19:17 //by abe

from the featuritis dept.

Just hacked a few new features for my Blosxom plugin Tagging. It now shows you how many times you’ve used that tag. The number is always shown as title attribute to the link, but can optionally also be shown in parentheses behind the tag name or by the (CSS based) font size and/or color (start and end sizes/colors configurable). Also some default values changed (to my current configuration :-).

I saw that font size feature quite often during the last weeks and I liked it. I first tried to figure out, which system offers that feature and found that at least Serendipity’s freetag plugin offers it, but didn’t want to download Serendipity just for the plugin. So I decided, the algorithm for calculating the font sizes shouldn’t be that hard to find and coded it from scratch by my own. :-)

And while coding it I noticed that changing the color instead of the font size could be done the same way and that this feature isn’t much more difficult. So I implemented it, too.

Another new feature is that you now can configure the minimum number of postings a tag should have to show up in the list of tags.

The result can be seen in my blog on the right side under “Tag cloud”.

Now playing: Falco — Der Kommissar


Thursday·02·March·2006

Quiz’n’Meme time again: What’s your Perfect Major? //at 02:34 //by abe

from the oh-no-not-yet-another-meme dept.

Although the recent Inner European quiz meme is currently much more popular on Planet Debian, the following quiz somehow shows how the result of such a quiz should look like and what the quiz system, which the Inner European quiz used, misses: Having more than only bit-like answers. With answers like this, neither I would have had to change answers to see how close I was to different answer nor would have Christian Perrier had to do the quiz with worst fitting answers.

You scored as Engineering. You should be an Engineering major!

Engineering
100%
Philosophy
92%
Journalism
92%
Art
83%
Mathematics
75%
English
75%
Biology
75%
Chemistry
75%
Theater
75%
Psychology
67%
Sociology
67%
Linguistics
50%
Dance
42%
Anthropology
25%

What is your Perfect Major?
created with QuizFarm.com

Since I always saw computer science more as an engineering discipline than a derivative of mathematics (at least the way I studied and like it ;-), I seem to have taken the right major. But also most of the other highscorers aren’t that unfamiliar:

Philosophy
Well, if you see how much philosophy is behind open source or politics, being engaged in open source software and interested in politics doesn’t seem to be that wrong. ;-)
Journalism
I like journalism somehow and I sometimes think about if this could have also been (or even be) a nice profession for me, especially since I managed to combine journalism and computer science in being an editor at Symlink.ch, a Swiss based and German written news and discussion site all around Open Source, IT politics and privacy. Sure, it’s no professional journalism and also not classical journalism, since it’s built on the same ideas (and software) as Slashdot.
Art
If I would have more time and leisure, I probably would also try to draw, paint or sculpture more again as I did during my school time. And since my brother and my mother are both active artists I expect that the results wouldn’t be that bad either. ;-) On the other hand, I also like to design CSS styles which IMHO can also satisfy my artistic bone…
Mathematics
Although I see more the engineering than the mathematics in computer science, mathematics still was one of my two majors in school (the other was physics) and in comparison to many other people I can say that I like maths.
English
That’s the only thing IMHO not fitting in here in such a high position since I’m neither good at foreign languages (see my English in the blog… ;-) nor do I like studying languages. And even if I should see that as “Literature” or “German” (my mother tongue) instead, it just doesn’t seem to fit. (Ok, journalism also has to do with language(s)…)
Biology
Biology was the voluntary science course at school I took until I finished school. At university it became my minor subject. I wonder why it’s that deep down in the statistics?
Chemistry
That was my second voluntary science course at school, but I dropped it before I finished school.
Theater
Well, no, I don’t think that actor would be good idea for me…
Psychology
I’m not sure, if sometimes being glad not to understand how my brain works is a good base for diving into psychology. (On the other hand: Would I write so much text about this quiz, if I’m not at least a little bit interested in psychology? ;-)
Sociology
That’s again more interesting.
Linguistics
If this can include computer linguistics, than it’s definitely something interesting for me, since it usually involves artifical intelligence and I wrote my diploma thesis about an AI subject and our research group did work a lot in the area of computer linguistics.
Dance
No. I’m glad it’s that far down there. Just wonder how it got even 42%.
Anthropology
Well, that’s again an interesting subject, but probably not a subject I would work in. So being that far down is completely ok.

So in general, I think the quiz works mostly fine as well as I probably did choose the right subjects for me. *grin* Only thing I missed in this quiz was Physics as a possible result since I don’t think, it’s impossible (especially compared to the rest of the result) that I haven’t scored for anything typical for physicians.

Now Playing: Falco — Mutter, der Mann mit dem Koks ist da!

Back from Berlinux 2005 //at 02:27 //by abe

from the home-sweet-home dept.

I was at Berlinux 2005 this weekend and though the very chaotic — because understaffed — organisation it was interesting and also funny.

Thursday I arrived around 20:15 in Berlin, met Klaus Knopper and others at the train station, headed to Sven Guckes’ appartment for dropping all my luggage, then going back to meet with Klaus and the others for a theremin concert with Dorit Chrysler. No wonder that it sounded sometimes like one of my favourite musicians, Jean Michel Jarre, since — according to the Wikipedia theremin article — he also plays this instrument.

On Friday I held my talk about WML in front of a — for that topic — surprisingly high number of auditors (around 30, maybe 35). In comparision to my WML talk at OscomTag 2005 all people who asked questions had understood about what the talk was, so the questions were most time interesting and justified. As usual I held the talk using Lynx with LSS support (picture by Sven Guckes) on my nine year old Pentium 1 ThinkPad bijou running Debian GNU/Linux 3.0 aka Woody.

Before and after the talk I helped out at Werner Heuser’s xtops booth (another picture by Sven) and the booth of the Debian Project (yet another picture by Sven :-) directly beside Frank Ronneburg’s Debian powered model railway. (picture by you-know-who ;-) In the evening I was at the social event, hanging around with alphascorpii, Tolimar and Joey and being surprised that Joey studies biology — as I did as minor to computer science.

On Saturday I was on alphascorpii’s talk about why being a BOFH is not funny, hung around at the same booths as the day before, fixed the X configuration on my laptop after hints on a unknown Debian booth visitor. Before the exhibition closed I heard a very interesting talk about web accessibility held by Sebastian who is blind himself. Although or maybe because I’m interested in that subject, the talk opened my eyes regarding two things: First »Captchas are evil« and »Blind HTML tables aren’t as evil as all the priests of web accessibility are always preaching«. They are easier than frames for blinds and seem to have only little disadvantages against a CSS based layout for blinds nowadays if used the right way. Oh, and btw. — nested tables are still evil. :-)

Saturday evening I had dinner together with Stefan Gerdelbracht, Frank Hofmann, Klaus Knopper and Manfred Krejcik. Later Thomas Winde joined us. It was very interesting evening, especially talking with Klaus and Manfred.

On Sunday, after having brunch with Stefan and Manfred, we met with Sven (who was our host at Berlin, thanks again!) and shortly after that, Stefan left for visiting some other friends in Berlin. Sven, Manfred and I visited C-Base where Sven stumbled over a sound editing seminar while Manfred was preparing his zipFM show for Monday which mainly consisted of an interview with Klaus. After that we headed to a small but fine birthday party of a friend of Sven and were back home around 2:30.

My train left Monday morning at 8:56 and I was at home around 14:30. And on Friday I’ll go to Dresden for the Linux-Info-Tag by train just to go back to Berlin afterwards, where I meet my parents for a two week baltic sea holiday in Mecklenburg-Western Pomerania near Rügen. But due to the Systems fair at Munich and autumn holidays I have to stay at work this week.

And yes, I wrote this and the other postings posted today offline, so they’re dated quite close together. :-)

Tag Cloud

Current filter: »CSS« (Click tag to exclude it or click a conjunction to switch them.)

2CV, aha, Apache, APT, aptitude, ASUS, Automobiles, autossh, Berlin, bijou, Blogging, Blosxom, Blosxom Plugin, Browser, BSD, CDU, Chemnitz, Citroën, CLI, CLT, Conkeror, CSS, CX, deb, Debian, Doofe Parteien, E-Mail, eBay, EeePC, Emacs, Epiphany, Etch, ETH Zürich, Events, Experimental, Firefox, Fläsch, FreeBSD, Freitagstexter, FVWM, Galeon, Gecko, git, GitHub, GNOME, GNU, GNU Coreutils, GNU Screen, Google, GPL, grep, grml, gzip, Hackerfunk, Hacks, Hardware, Heise, HTML, identi.ca, IRC, irssi, Jabber, JavaShit, Kazehakase, Lenny, Liferea, Linux, LinuxTag, LUGS, Lynx, maol, Meme, Microsoft, Mozilla, Music, mutt, Myon, München, nemo, Nokia, nuggets, Open Source, OpenSSH, Opera, packaging, Pentium I, Perl, Planet Debian, Planet Symlink, Quiz, Rant, ratpoison, Religion, RIP, Sarcasm, Sarge, Schweiz, screen, Shell, Sid, Spam, Squeeze, SSH, Stoeckchen, Stöckchen, SuSE, Symlink, Symlink-Artikel, Tagging, Talk, taz, Text Mode, ThinkPad, Ubuntu, USA, USB, UUUCO, UUUT, VCFe, Ventilator, Vintage, Wahlen, WAP, Wheezy, Wikipedia, Windows, WML, Woody, WTF, X, Xen, zsh, Zürich, ÖPNV

Calendar

← 2025 →
Months
SepOct Nov Dec
← September →
Mo Tu We Th Fr Sa Su
7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Tattletale Statistics

Blog postings by posting time
Blog posting times this month



Search


Advanced Search


Categories


Recent Postings

13 most recent of 289 postings total shown.


Recent Comments

Hackergotchi of Axel Beckert

About...

This is the blog or weblog of Axel Stefan Beckert (aka abe or XTaran) who thought, he would never start blogging... (He also once thought, that there is no reason to switch to this new ugly Netscape thing because Mosaïc works fine. That was about 1996.) Well, times change...

He was born 1975 at Villingen-Schwenningen, made his Abitur at Schwäbisch Hall, studied Computer Science with minor Biology at University of Saarland at Saarbrücken (Germany) and now lives in Zürich (Switzerland), working at the Network Security Group (NSG) of the Central IT Services (Informatikdienste) at ETH Zurich.

Links to internal pages are orange, links to related pages are blue, links to external resources are green and links to Wikipedia articles, Internet Movie Database (IMDb) entries or similar resources are bordeaux. Times are CET respective CEST (which means GMT +0100 respective +0200).


RSS Feeds


Identity Archipelago


Picture Gallery


Button Futility

Valid XHTML Valid CSS
Valid RSS Any Browser
This content is licensed under a Creative Commons License (SA 3.0 DE). Some rights reserved. Hacker Emblem
Get Mozilla Firefox! Powered by Linux!
Typed with GNU Emacs Listed at Tux Mobil
XFN Friendly Button Maker

Blogroll

People I know personally


Other blogs I like or read


Independent News


Interesting Planets


Web comics I like and read

Stalled Web comics I liked


Blogging Software

Blosxom Plugins I use

Bedside Reading

Just read

  • Bastian Sick: Der Dativ ist dem Genitiv sein Tod (Teile 1-3)
  • Neil Gaiman and Terry Pratchett: Good Omens (borrowed from Ermel)

Currently Reading

  • Douglas R. Hofstadter: Gödel, Escher, Bach
  • Neil Gaiman: Keine Panik (borrowed from Ermel)

Yet to read

  • Neil Stephenson: Cryptonomicon (borrowed from Ermel)

Always a good snack

  • Wolfgang Stoffels: Lokomotivbau und Dampftechnik (borrowed from Ermel)
  • Beverly Cole: Trains — The Early Years (getty images)

Postponed