Re: [ilugd] [ilugb] Open Source Web Based Chat

2009-11-03 Thread Alok G. Singh
Mibbit [1] can be embedded into your website as a widget, if you are
looking for something quick.

Footnotes: 
[1]  http://www.mibbit.com/

-- 
Alok

Human beings were created by water to transport it uphill.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [Commercial] Migration to Ubuntu in Delhi

2009-10-27 Thread Alok G. Singh
Amit Sharma wrote:

> Just a question. Why Ubuntu? Why not openSUSE?

The Ubuntu community. I use Debian myself but I would not expect first
time users to be able to manage on debian-users. 

-- 
Alok


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [Commercial] Migration to Ubuntu in Delhi

2009-10-26 Thread Alok G. Singh
Oui, à la fois, monsieur :)

-- 
Alok

History tends to exaggerate.
-- Col. Green, "The Savage Curtain", stardate 5906.4


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


[ilugd] [Commercial] Migration to Ubuntu in Delhi

2009-10-26 Thread Alok G. Singh
We have an office in Delhi that we'd like to move to Ubuntu in stages. 5
desktops in the first stage. It's a non-profit book publishing
trust[1] and there's no one who knows about Ubuntu. 

We'd like to setup a local mirror (or caching proxy) and most
importantly have someone on hand to help with the initial teething
troubles. This is especially important as there are no geeks in the
office and telephone support doesn't work if the people aren't sure of
what they are doing.

As far as the scope of the migration goes, at this stage, it's just
getting people use Firefox instead of IE and Openoffice instead of MS
Office.

TIA.

Footnotes: 
[1]  http://prathambooks.org/home.htm

-- 
Alok


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] dedicated server - opteron or Core2quad

2009-06-02 Thread Alok G. Singh
Karanbir Singh wrote:

> however for this sort of a workload, the opterons at the same
> specification level as the Core2 would be a better performing setup.

Even the newest Xeons ? I thought differently. Would you have any
benchmarks to share ?

-- 
Alok


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [Fwd: Re: [TAG] Version control for /etc]

2008-02-12 Thread Alok G. Singh
On 12 Feb 2008, [EMAIL PROTECTED] wrote:

> I was looking at version control mechanisms to handle /etc
> on the machines here.

Personally, I use RCS to version /etc. No setup required and there's
Emacs integration as well.

-- 
Alok

The only thing worse than X Windows: (X Windows) - X


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Reading standard input in a bash script

2008-01-29 Thread Alok G. Singh
On 29 Jan 2008, [EMAIL PROTECTED] wrote:

> I am doing it this way now. I read whatever there is on the standard input
> into a variable :
>
> read -d "^d"  VAR

You could just read from stdin:

read -d "^d" <&1

See the I/O redirection [1] chapter of the Advanced bash scripting
guide for more details. It is even possible to do random access on a
file (probably not on stdin though).

Footnotes: 
[1]  http://tldp.org/LDP/abs/html/io-redirection.html

-- 
Alok

I don't understand you anymore.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] PHP and CSS editing using emacs

2008-01-28 Thread Alok G. Singh
On 26 Jan 2008, [EMAIL PROTECTED] wrote:

> I am having problems editing php and css files in emacs.

nxhtml-mode [1] is by far the most complete web development mode. You
need emacs 22 to use it though. If you are using Windows, use the
EmacsW32 [2] from ourcomments.org -- it has nxhtml packaged. Either way
it is easy to setup and use.

It also comes with MuMaMo [3] which will integrate with JSP, CSS and
PHP. 

HTH.

Footnotes: 
[1]  http://www.emacswiki.org/cgi-bin/wiki/NxhtmlMode
[2]  http://www.emacswiki.org/cgi-bin/wiki/EmacsW32
[3]  http://www.emacswiki.org/cgi-bin/wiki/MuMaMo

-- 
Alok

Too much of anything, even love, isn't necessarily a good thing.
-- Kirk, "The Trouble with Tribbles", stardate 4525.6


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] ps and grep

2008-01-21 Thread Alok G. Singh
On 17 Jan 2008, [EMAIL PROTECTED] wrote:

> Puneet> I tried ps -elo pid,args|grep "myprocess\\!(grep)"
>
> The argument of grep is a regular expression (type 3 language), and
> there is no way you can do this in a type 3 language. Even 'grep' also
> matches 'grep' text when you pass '-v grep' argument to 'grep' command
> line, and then only outputs unmatched lines.

I used two pipes to eliminates the extraneous grep, until some pointed
out that all you need to do it make the regexp different from the
matched string, viz.

$ ps -e | grep "[m]ysql"

Elegant, I thought.

-- 
Alok

Why won't sharks eat lawyers?   Professional courtesy.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] ICICI Netbanking and Firefox 2.0 (or where to get Firefox 1.5)

2007-12-30 Thread Alok G. Singh
On 31 Dec 2007, [EMAIL PROTECTED] wrote:

> Wow! Did you document it anywhere? If not, do you remember what the
> problem was and how you fixed it?

No, I didn't write it down anywhere and I have only the vaguest
recollection of the whole episode. But I do know that the problem was
what it usually is: depending on some ActiveX control and/or some
IE-only JS function. Either that, or some broken code which shouldn't
work at all but does on IE.

> I can try to write a small userscript to fix the error.

Apropos greasemonkey, do you have any active which are interfering with
the ICICI website ? I ask because my own personal experience and the 
experience of others on the list show that ICICI works fine with
FF/Iceweasel. Try again with a clean profile, with no extensions ?

-- 
Alok

Theory of Selective Supervision:
The one time in the day that you lean back and relax is
the one time the boss walks through the office.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] ICICI Netbanking and Firefox 2.0 (or where to get Firefox 1.5)

2007-12-30 Thread Alok G. Singh
On 31 Dec 2007, [EMAIL PROTECTED] wrote:

> Hmmm, interesting. Why is this happening with me? Consistently.

The last time I summonned up the energy to actually find out what was
wrong, I installed that iceweasel extension which allows you to see the
headers [1] and the webdeveloper extension. But the final insight only
came after grovelling through the Javascript code on the page.

It takes a reasonable amount of time and effort, but at the end of it
you usually know exactly what is wrong. For the record, I have
successfully used Iceweasel/Firefox 2.0 for both Netbanking and the
payment gateway. This was about a year ago. I no longer have an account
with them.

Also, firefox 1.5 is available from ftp://ftp.mozilla.org/pub/firefox/releases

Footnotes: 
[1]  I think it was called Live HTTP headers

-- 
Alok

Macho does not prove mucho.
-- Zsa Zsa Gabor


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22/23, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Slow tar

2007-10-26 Thread Alok G. Singh
On 26 Oct 2007, [EMAIL PROTECTED] wrote:

> How do we use tar with limited resources like some specific cycle of
> CPU to use e.g20% CPU, with specified I/O or bandwidth limit e.g
> 50MB/s

You can limit CPU usage with nice(1). While it sets no bounds on the
amount of CPU that is used, it ensure that the process will yield CPU
to higher priority tasks. I think this is more in tune with your
situation (indeed, most offline backups do use nice).

As for the IO throttling, I have no idea. I suspect that the solution
will be more involved, either fooling about with the I/O scheduler or
modifying tar's source code.

-- 
Alok

QOTD:
"It's hard to tell whether he has an ace up his sleeve or if
the ace is missing from his deck altogether."


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Firefox behaves differently on Linux?

2007-10-11 Thread Alok G. Singh
On 12 Oct 2007, [EMAIL PROTECTED] wrote:

> Is it just me or is it that the shortcut in Firefox for moving
> between tabs on Windows is Ctrl+Number Key while on Linux (Ubuntu)
> its Alt+Number Key.

See http://www.mozilla.org/support/firefox/keyboard

-- 
Alok

"Silent gratitude isn't very much use to anyone."
-- G. B. Stearn


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [OT] Firefox Already Running Problem

2007-10-09 Thread Alok G. Singh
On  9 Oct 2007, [EMAIL PROTECTED] wrote:

> Is there any way to get around this? Like opening this new page as a
> new Tab or something.

I don't know how this would translate to Windows, but to open stuff in
a new tab, I would use,

$ iceweasel -remote 'openURL(http://google.com,new-tab)'

Or, if you just want to ignore an already running browser,

$ iceweasel -no-remote http://google.com # Not on Debian

-- 
Alok

You will live to see your grandchildren.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Shell script help

2007-09-01 Thread Alok G. Singh
On  1 Sep 2007, [EMAIL PROTECTED] wrote:

> for f in *.cpp; do gc++ $f; done;
> mv *.cpp /data/jay/success
> mv *.out /data/jay/success

You would probably be better served by using a Makefile to compile
your code. I would certainly help when your programs are split over
more than one compilation unit (files).

You can start with 'info make'. 'Managing projects with GNU Make' is
an excellent book and is available online through O'Reilly's Safari
program. It's definately worth the price in dead-tree form as well.

-- 
Alok

You have a deep appreciation of the arts and music.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Google earth and open proj on XGL

2007-08-29 Thread Alok G. Singh
On 29 Aug 2007, [EMAIL PROTECTED] wrote:

> You could also try gcj instead of sun-java. I've had some (but not
> all) applications work with gcj-4.2.

It appears that you just need:

export AWT_TOOLKIT="MToolkit"

to fix your Java blank window problems with Sun Java.

-- 
Alok

Remember that there is an outside world to see and enjoy.
-- Hans Liepmann


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Google earth and open proj on XGL

2007-08-29 Thread Alok G. Singh
On 25 Aug 2007, [EMAIL PROTECTED] wrote:

>> Unless you have an ATI card, which is not supported by the FOSS
>> Radeon driver, you can stick with AIGLX itself.

> Time to get another laptop?

As suggested, use AIGLX. AFAIK, XGL is no longer being developed. You
could also try gcj instead of sun-java. I've had some (but not all)
applications work with gcj-4.2.

-- 
Alok

You humans are all alike.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Google earth and open proj on XGL

2007-08-28 Thread Alok G. Singh
On 25 Aug 2007, [EMAIL PROTECTED] wrote:

>> Unless you have an ATI card, which is not supported by the FOSS
>> Radeon driver, you can stick with AIGLX itself.

> Time to get another laptop?

As suggested, use AIGLX. AFAIK, XGL is no longer being developed. You
could also try gcj instead of sun-java. I've had some (but not all)
applications work with gcj-4.2.

-- 
Alok

There is no likelihood man can ever tap the power of the atom.
-- Robert Millikan, Nobel Prize in Physics, 1923


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


[ilugd] Emacs and Indic scripts (was: [Indlinux-hindi] Description of Hindi phonetic rules for aspell)

2007-07-22 Thread Alok G. Singh
On 22 Jul 2007, [EMAIL PROTECTED] wrote:

> For complex script rendering, see [1]. Cool, I'll soon compile
> "emacs-unicode-2". But does it work with only CDAC fonts, or also
> with free font like "Lohit Hindi", hmm... ?

TIAS, I guess. From the wiki page on complex script rendering, it
seems that all indic scripts require it. Since, the 4 scripts I have
tried work without a problem, I'd venture the possibility that GNU Emacs
(even emacs22) supports it.

The problem seems to be with the encoding of the font you are using, I
suppose there is a way to fix it, but I don't know how myself.

-- 
Alok

Say no, then negotiate.
-- Helga


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [Indlinux-hindi] Description of Hindi phonetic rules for aspell

2007-07-21 Thread Alok G. Singh

> The screenshot of Emacs rendering Devanagari text on my box is
> below: http://flickr.com/photos/wahjava/857367020/
>
> Do you get similar kind of rendering with CDAC fonts or better than
> this ?

Here is a an old screenshot [1] that I dug out. This is emacs-mtty,
but I don't think it matters much insofar as rendering is concerned. I
can see that the Hindi, Kannada, Malayalam and Tamil rendering as
correct. 

>> The emacswiki link cited above has a recipe for setting a fontset
>> in your .Xdefaults that worked for me.
>
> I don't have CDAC fonts, so I've tried setting following font set in
> my .Xdefaults:

Here [2] are the CDAC fonts. I am not sure about the distributability
of the fonts, but since _our_ government funded this, I think we have
a right to use them.

> -- begin .Xdefaults --
> Emacs.Fontset-0:-xos4-terminus-medium-r-normal-*-17-*-*-*-*-*-iso10646-1,
> \ chinese-gb2312:-*-fangsong
 [snipped]

I have only the haziest recollection of the loops that are required to
render Indic text correctly (afaik, it is still wrong for Kannada on
my Debian sid box for everything other than Emacs). 

> Does emacs-unicode-2 also has support for complex script rendering,
> hmm... ?

I don't understand what is meant by 'complex script rendering'. I am
using self-packaged versions of unicode-2 for my day-to-day work and
have yet to encounter a problem in either devanagari-itrans or
kannada-itrans.

CDAC has recently released a CD containing some software for Indian
languages and that CD has a bunch of TTF indic fonts. Most of them are
fugly (imho), but if you want I can put them up somewhere. Of course,
this means that you have to use unicode-2 as that is the only Emacs
that supports xft. More details here [3].

Footnotes: 
[1]  http://hcoop.net/~alephnull/Screenshot.png
[2]  http://hcoop.net/~alephnull/cdacfonts.tar.gz
[3]  http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs

-- 
Alok

His mind is like a steel trap: full of mice.
-- Foghorn Leghorn


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [Indlinux-hindi] Description of Hindi phonetic rules for aspell

2007-07-19 Thread Alok G. Singh
On 19 Jul 2007, [EMAIL PROTECTED] wrote:

> I'm able to get 'devanagari-itrans' input method working, with
> devanagari characters getting rendered in minibuffer, but the main
> editor buffer still shows boxes. Anybody has any idea how to make
> emacs render devanagari text ?

It's just a question of getting the right fonts. If you are using
emacs21 or emacs22, the only fonts I found that worked as advertised
were the (possibly non-free) CDAC fonts. 

The emacswiki link cited above has a recipe for setting a fontset in
your .Xdefaults that worked for me.

You would have a wider choice in fonts if you use emacs-unicode-2. All
the ttf fonts render just fine (at least for Hindi, other indic
languages have some small problems).

-- 
Alok

Van Roy's Law:
An unbreakable toy is useful for breaking other toys.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [X posted] Why DVD/CD fail

2007-04-04 Thread Alok G. Singh
On  3 Apr 2007, [EMAIL PROTECTED] wrote:

>> Any comments on "Indian" CD/DVD's behaviour as said in the article?
>> For data archiving this is important. Found the link from /.
>
> MoserBaer and mmore have been acceptable whenever I tried
> transferring files between machines (sneaker net).

That's about the most Moser Baer's CD can be used for. The only brand
I have found which last for more than a year without a problem is
TDK. 

Magnetic media (HDDs, tapes) are better suited to long-term storage,
imho. 

-- 
Alok

At the end of your life there'll be a good rest, and no further activities
are scheduled.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] calendar of foss events

2007-03-14 Thread Alok G. Singh
On 14 Mar 2007, [EMAIL PROTECTED] wrote:

>> Would it be possible to get a feed for this ? Or even a shared
>> Google calendar ?
>
> i will set up a feed when i find out how to do that - maybe now is  
> the time to tackle that oft postponed task. No idea what a google  
> calendar is

http://calendar.google.com. Ever since T. V. Raman announced[1] an
Emacs interface to the Google Data APIs, that service has become a lot
more attractive (to me atleast).

Footnotes: 
[1]  http://emacspeak.blogspot.com/2007/03/emacs-client-for-google-services.html

-- 
Alok

Let he who takes the plunge remember to return it by Tuesday.


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] calendar of foss events

2007-03-14 Thread Alok G. Singh
On 13 Mar 2007, [EMAIL PROTECTED] wrote:

> we have set up a calendar of foss events at

Would it be possible to get a feed for this ? Or even a shared Google
calendar ? 

-- 
Alok

We seldom repent talking too little, but very often talking too much.
-- Jean de la Bruyere


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/