Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Archive for the ‘Linux’ Category

Plain Text Justify and Hyphenate

Book scanning
Giving the more professional look to your text

THIS blog item revolves around a wonderful Perl script which can revolutionise the layout of your plain-text messages, giving them looks reminiscent of that found in professional literature. The tool is called the Paragraph Adjuster with Hyphenation and it is of course free.

To give an example of its use, a file I created in ~/Main/Programs/Scripts/indent.sh contains the following:

perl ~/Main/Programs/paradj/paradj.pl --width=74 -h -n -b
     ~/in > ~/out

kedit ~/out

The first command invokes the script from its path and passes it some arguments, which are personalised. The input come from the file in and output is sent to a reserved file (out) which acts as a common container and somewhat of a placeholder. The last command makes the output available to me (on screen) to copy and then paste, often to be used in newsgroups, mailing lists, and rarely in E-mail too.

The script is based on a Perl module that was inherited from TEX. The LATEX family is rather presentation-aware and smart in terms of its fragmentation decisions. It ‘knows’ when it is reasonable to hyphenate and where added spaces for justification are least distracting. Maybe the same applies to indentation. There are many options in the script, which control the tendencies, the priorities and thus the behaviour of the output.

The command example above hopefully illustrates how simple it is to use the script, as well as invoking it rapidly, without too much manual intervention and input/output ‘piping’. I have also set up a shortcut (CTRL+ALT+7) to convert in to out and then copy and paste onto the required place, so indent.sh need never be called from the command-line.

Example from my most recent use of the script:


The  short  answer:  Windows has  got  itself
trapped. Over the years it has adopted overly
permissive  and  lenient mechanisms that  ne-
glected security. Security seemed like a cost
hat  hindered functionality. Unauthorised in-
stallations and lacking verifications are one
example. ActiveX controllers are another.

Notice that all text lies within a rectangular block. This needs fixed-sized fonts, which cannot be guaranteed by all recipients or readers. If sent to a recipient and read by a mail client, feed reader, newsgroups reader, browser, etc., it may be displayed in whatever form the user prefers, even proportionally-differing font sets.

IBM Said to Challenge Microsoft the Most

Bill Gates
Not much to worry Bill Gates

ACCORDING to Reuters, Bill Gates states [enormous ASPURL‘] that IBM is the main rival to Microsoft. Google are Apple are said to be smaller factors of concern, which lies in contrary to some fairly recent memo and even a few urgent strategic moves.

IBM studies show that Linux TCO is 40% lower than that of the Windows equivalent. What happens when IBM begin to pull out the Windows equipment from their clients’ operations environment?

What I find most admirable about IBM is that, unlike Google and Microsoft, they give no compelling reason to be hated. They embrace and encourage standards. They cater for diversity where it seems suitable.

Linux Migrations in the Corporate World

Servers stack

FOR quite some time, companies with large budgets have feared the inclusion of free software in their server rooms. Cost was not an issue. Naturally, price was never assumed to lie orthogonally to quality either. Is there a fallacy? There certainly is and it is being perpetuated by those whose interests it serves.

I store about 1.5 GB of mail only to see great reliability. I also maintain Web spaces of roughly the same size and a continuously increased level of complexity. The Linux server and its Linux Web-based applications are both reliable and free. As seems as though the issue remains that in the wealthy working place, people have budgets that they need to make use of. Often they opt for Exchange servers and IIS. The expenditure due to acquisition of ‘premium’ solutions costs people their jobs. Cost cuts are more easily approached due to this. Pure and simple.

The same issues arise in a different context — the context of liability and job protection by sticking to brands. This pattern is an impediment in its own right. FUD continues to impede adoption, as does the norms and perceptions in people’s mind.

Related essay: Operating System Monoculture

Windows Munchkins

Money on keyboard

The use of money to skew real facts and lure customers

LINUX forums (including newsgroups) often encounter harassment by trolls that spread anti-Linux FUD. This puts off a few participants and adds noise to discussions that are largely Linux-oriented.

There is often a suspicion arising that this community sabotage ‘bubbles up’ to managerial roots. Some would suggest that disruptive involvement by trolls is actually paid for. Past evidence supports such suspicions and is echoed in this blog item which quotes John Dvorak.

“Some years back, Microsoft practiced a lot of dirty tricks using online mavens to go into forums and create Web sites extolling the virtues of Windows over OS/2. They were dubbed the Microsoft Munchkins, and it was obvious who they were and what they were up to. But their numbers and energy (and they way they joined forces with nonaligned dummies who liked to pile on) proved too much for IBM marketers, and Windows won the operating-system war through fifth-column tactics”

Mr Dvorak wonders if Microsoft is today using reverse-dirty-tricks to promote the Xbox 360: pay people to create Web sites that slam the gaming computer in order to provoke a barrage of defenders.

Last week I went to watch King Kong. There were no less than 3 Xbox 360 commercials before the film commenced. Microsoft sure know how to spend money. It is worth mentioning that Xbox 360 units are sold at a cost which accounts for a significant loss. Regardless, the Xbox fails to sell in Japan, despite the heavily-invested-in commotion.

Related item: Xbox 360 Off to a Slow Start in Japan, Microsoft-funded Benchmarks

Linux Distribution Screenshots

SuSE Linux beta, KDE

OSDIR.COM have published a large number of screenshot galleries today. They all come from different ‘flavours’ of Linux: from Arabian Linux to Mandriva and even the latest of SuSE (version 10.1, shown above).

What I generally find awkward are distributions of Linux that go by names such as Linux XP 2005, and yes! They look quite similar to Windows XP as well. I guess that Apple Mac crossovers are not any better. For each his/her own.

GNOME and KDE Audience Battle

K Desktop Environment GNOME

Earlier today (and/or yesterday), both the GNOME Web site and the KDE Web site published promotional essays, or pointed to them rather.

KDE – Why KDE Rules

I wrote this document to tell everybody why KDE is great, why it’s worth using (great functionality), supporting (great development platform) and hacking (great design) and why you can expect many other awesome features from KDE 4.

GNOME – Vive La Desktop Difference!

If you, dear reader, wrote in asking whether I think you should drive a Mini Cooper or a Hummer, how should I respond? My best bet is to offer no opinion. I know nothing of your preferences or your needs. Either vehicle will get you where you want to go. The difference will be in the experience of getting there. It’s the same deal with KDE and Gnome.

I do not believe this to be a coincidence given some news we have recently heard. KDE’s strengths have been pointed out by no-one other than Linus Torvalds.

Related items:

Open Source – A Positive Turning Point

Penguin animation

2005 may have marked a milestone for Open Source software. As previously mentioned, commercial software is truly facing a debacle. Below is are a few key sentences from comprehensive and encouraging article that BusinessWeek have published:

Open-source software isn’t a new phenomenon. It has been winding its way through the tech world for decades, starting with Richard Stallman’s Free Software movement in 1980s. But only in recent years have businesses warmed to the promise of low-cost, openly available software. In fact, open-source programs have become so popular, they now pose a legitimate threat to the established software giants.

Looking back, 2005 will likely be viewed as a turning point… According to a new study by consulting firm Opteros, 87% of organizations are now using open-source software, somewhere.

read on (via Yahoo! News)

Retrieval statistics: 21 queries taking a total of 0.090 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|