olecom's blog

me and flower.upol.cz are going down

Submitted by olecom
on June 20, 2008 - 7:01pm

Feel free to e-m@il me on any stuff i might have useful.

"Stable" kernel 2.6.25.7 released debate on LWN.net

Submitted by olecom
on June 17, 2008 - 2:49pm

Posted Jun 17, 2008 18:33 UTC (Tue) by olecom (guest, #42886) [Link]
IT bubble days are over. Linux kernel (almost the only useful FOSS thing left) tries to not loose it's volume.

Developers do what they do on limited resources, using dumb tools or no tools at all, saving buzz-hype using PR fuzz. It is a social and economical problem, not a technical and/or ethical one.

OK, finally my stone to "The art of thinking in `make` and C". Hope, it's constructive.

Submitted by olecom
on June 15, 2008 - 1:31pm
From: "Oleg Verych" <olecom@gmail.com>
Date: Sun, 15 Jun 2008 17:56:57 +0100
To: Jamie Lokier
Subject: Re: about size optimizations (Re: Not as much ccache win as I expected)
Cc: David Woodhouse, linux-embedded, linux-kbuild, segher

> You can do this without changin the Makefile, if you provide suitable
> scripts on $PATH for the make.

about size optimizations (Re: Not as much ccache win as I expected)

Submitted by olecom
on June 13, 2008 - 6:00pm
From: "Oleg Verych" <olecom@gmail.com>
To: linux-embedded <linux-embedded@vger.kernel>, linux-kbuild@vger.kernel
Message-ID: <8499950a0806131452j5dc9574dk336e9e06ee9e1785@mail.gmail.com>
Date: Fri, 13 Jun 2008 22:52:52 +0100
Subject: about size optimizations (Re: Not as much ccache win as I expected)

em@il simply, no NIH required, Re: The [LWN] Grumpy Editor reviews Claws Mail

Submitted by olecom
on June 6, 2008 - 8:32am

your editor and any other may just look onto smtp<>nntp<>news_reader. Yes this is not `apt-get install foo` stuff, but exim4<>inn<>slrn for private mail or gmane<>slrn for lists is the most productive, flexible and stable environment i've ever had.

electricity, physics, education, economy, government, corruption...

Submitted by olecom
on June 1, 2008 - 4:42pm

This post is in russian aimed for my close communication cycle. But i want to share it in my search for collegues in general and on consciousness in particular.

stupid functional extention keys; back to flexible UI and keyboard in the first place

Submitted by olecom
on May 26, 2008 - 5:04pm

ACPI-fied or driverized extention keys on keyboard on laptop are just stupid. There are 100 keys, they need even more and ugly.

'Fn' on laptops. Why all extentions: backlight, sound volume, etc. cannot be done for one hand: Fn+1 Fn+2.. Fn+q Fn+w.. Fn+a Fn+s?

I doubt this frozen 'Fn' thing is even needed at all. Again, more flexible UI and keyboard in the first place are needed! EOF

Ordinary headphones (e.g. with long cable) and simple user control of playback.

Submitted by olecom
on May 26, 2008 - 12:07am

Ordinary headphones with volume potentiometer. What if i need just next/prev song and stop/start playback commands? By sensing resistance of the load/output current on amplifier all can be acheived (by two buttons):

* either left or right resistance is high (no volume, small current) -- prev./next
* both are high -- stop if playing, play if stoped (or on/off chain + application decides)

Cort Dougan: Good Programmers are not Lazy. unpublished draft.

Submitted by olecom
on May 23, 2008 - 9:04pm


http://hq.fsmlabs.com/~cort/papers/lazy/lazy.nohead.html
Abstract:
In this article I provide a practical analysis of programming practices and education. The phrase ``Good programmers are lazy'' is very often offered to students as a guide to good programming. This statement is very wrong and reflects some of the problems with attitudes in computer science today.

sed howto: stripping slack from webserver files, per-line block transformations and speed optimizations

Submitted by olecom
on May 23, 2008 - 1:37pm

I claim to be a `sed` lover, not guru (generally bad term), not geek. Since seders is closed private group (stupid, huh), i'd like to post something interesting and useful here.

Tutorials, i know, and could find in google all have silly examples and suck. Let's do a HOWTO for real-life stuff.

to ccurtis about text user interaface

Submitted by olecom
on May 22, 2008 - 11:25pm

> Would this make for a better links than elinks?

Run Borland Pascal 7.0 in dosbox to see what Turbo Vision was. Help system there is a nice browser, nither of today's lynx, links or elinks or whole www has. Pictures and flash are mostly spam, many don't know how to turn off.

dialog -> ncurses -> |stdout(ESC) -> tty -> vga_console |-> video RAM/frame buffer

fidi: file/directory choosing widget (not that much but something); moving to text editor

Submitted by olecom
on May 21, 2008 - 10:46am
shown concepts:
o `sh && sed && stty && dd` flexible patterns and no `find`, built-in `dd`
  are needed; mc, ncurses, readline are not
o key-vectors (tab is fixed origin)
o +,-,[,] keys - flexible UI config.
* tty backend needed: true windowing (move, overlap), stack-based coloring
  (easy multi-context highlighting).

#!/bin/sh: command modifiers: CPU affinity, ASLR, lightweight exec, capabilities

Submitted by olecom
on May 19, 2008 - 7:37pm
sed '' << 'EOF'
http://thread.gmane.org/gmane.comp.shells.dash/73
Let's listen to silence again now...

Update:
`set -F[rnd:$(read_ethernet_now)]` -- another choice
( # if there's no that much network activity:
wget ftp://ftp.kernel.org/another_kernel.tar.bz2 &
sleep "$seed"
set -F[rnd:$(read_ethernet_now)]
kill $!)
EOF

web surfing with `sh && nc && sed` and watching flash TV news in text mode.

Submitted by olecom
on May 19, 2008 - 4:03pm
flv=`sed -n '
/xmlfile/{
s-.*e=http://\([^/]*\)-url="nc \1 80" ; -
s_\(/[^"]*\)".*$_\
http="GET \1 HTTP/1.0\\r\\n\\r\\n"\n\
printf %b "$http" | $url | sed -n "/^<FLV/{s-<[^>]*>--g;p;q}"_p
q
}' "${1-/tmp/1tv}"`
$mplayer `eval "$flv"`