[XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex

2010-12-24 Thread R (Chandra) Chandrasekhar

Dear Folks,

With this minimal example:

---
\documentclass[a4paper,12pt]{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmathfont{Asana Math}
\begin{document}
$\frac{2\pi r}{r} = 2\pi$
\end{document
---

I am unable to get the horizontal bar or vinculum for the fraction on 
the left when I compile the file with xelatex, although I can get it 
when compiled with lualatex.


FYI, I am using TeXLive 2010 on Kubuntu 10.04 and the relevant versions are:

XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

unicode-math.sty2010/09/27 v0.5b Unicode maths in XeLaTeX and LuaLaTeX

ASsana Math Version 000.928

Can someone please suggest how to compile the file correctly with xelatex?

Many thanks.

Chandra


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex

2010-12-24 Thread R (Chandra) Chandrasekhar

On Friday 24 December 2010 11:53 PM, Peter Dyballa wrote:


Am 24.12.2010 um 18:27 schrieb R (Chandra) Chandrasekhar:


10c10
 l3tl.sty 2010/11/17 v2084 L3 Experimental Token Lists
---
 l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists
28c28
 l3fp.sty 2010/11/25 v2092 L3 Experimental floating-point operations
---
 l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations


After updating to

l3tl.sty 2010/12/18 v2103 L3 Experimental Token Lists
l3fp.sty 2010/12/18 v2104 L3 Experimental floating-point operations

I still get the correct output, with vinculum.


That is indeed worrisome. I wonder whether it is machine specific: I am 
on an AMD 64 machine running Kubuntu Linux 10.04 with TeXLive 2010.


I don't know whether this list allows attachments, but I have attached a 
cropped PDF file of my output to this reply in case it helps solve the 
problem.


Chandra


test-frac-crop.pdf
Description: Adobe PDF document


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex

2010-12-24 Thread R (Chandra) Chandrasekhar
On Saturday 25 December 2010 12:37 AM, Philip Taylor (Webmaster, Ret'd) 
wrote:

As a point of interest, Chandra, what do you get for :

\documentclass[a4paper,12pt]{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmathfont{Asana Math}
\begin{document}
${2\pi r \over r} = 2\pi$
\end{document}

Philip Taylor


I have compiled the above file with xelatex, but unfortunately with the 
same results as before.


Chandra


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Latex+Tamil

2010-12-10 Thread R (Chandra) Chandrasekhar

On Saturday 11 December 2010 01:05 AM, Herbert Schulz wrote:


On Dec 10, 2010, at 11:58 AM, R (Chandra) Chandrasekhar wrote:


\begin{document} The following text is in Tamil script: \tam{தமிழ்
எழுத்து}. \end{document}


Howdy,

I believe that should be {\tam தமிழ் எழுத்து} since \tam is not a
command but rather a declaration that changes the font for everything
that follows in that group.


Touché! You are correct.

Thanks.

Chandra



--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


[Rails] Need to add path to routes.rb

2010-12-07 Thread Nandakumar Chandrasekhar
Dear Folks,

I am Web developer and have experience mainly with the Django Web
framework for Python and wish to learn ROR.

I am currently using Rails 3.0.3 and was getting a routing error
whenever I added a view to a controller until I found out I had to add
the path to the routes.rb file under the config directory.

Is this new in Rails 3? I am asking this because I was following the
example in Agile Web Development with Rails 3rd Edition which uses
Rails 2 and getting the routing error.

I also find that if use the rails generate command the routes.rb file
is automatically updated. Does this mean that the proper way to create
views and controllers is to use the above command.

If so how do I create a view function in an existing controller without
having it being overwritten or is the manual way the only way to do
this?

I hope that is clear.

Thanks.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Bug 183492] Re: [needs-packaging] Open Komodo Edit

2010-12-01 Thread R (Chandra) Chandrasekhar
Many thanks Michael Lustfield. Would you be kind enough to point us to a
ppa or other source when the package is ready?

-- 
[needs-packaging] Open Komodo Edit
https://bugs.launchpad.net/bugs/183492
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [tw] Featured Spaces

2010-10-29 Thread Raji Chandrasekhar
Dear Sir, Jeremy,

Thank You very much sir. By creating this wonderful thing you have done a
very great thing for the world.

Also we are planning to use Tiddlyspace in schools for teaching-learning
process.

One doubt, why don't you put an easy editor with new tiddlers.

Sree Tobias created a space for the technical illiterants like me about
formatting.

Thanking you again,
Raji Chandrasekhar

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: may be the first tiddlyspace in an Indian language

2010-10-27 Thread Raji Chandrasekhar
Dear Sir

thank You for your valuable information.

I will go through them.

As teacher I would like to use -iddlyspace in my teaching-learning process.

!. A dictionary Hind-English-Malayalam
2. A hindi Grammar space
3. MyLearningSpace in Malayalam and Hindi

I will discuss it later in detail.

thanking you
RajiChandrasekhar


On Wed, Oct 27, 2010 at 12:48 PM, passingby passingby...@gmail.com wrote:

 Namaste Raji sir,

 Tiddlywiki has already made inroads into some Indian languages like
 Punjabi and Hindi. Possibly others too.
 There is already a Tiddlywiki in Punjabi on tiddlyspot [1] which
 intends to make punjabi learning tutorials available to english
 speaking learners. These are based upon grammer-teaching method. The
 document is still under construction.
 Another TW [2] although mainly in english would have Sikh gurus'
 verses as main reference points, hence would have a lot of punjabi
 again.This document, again, is still under construction.
 Tiddlywiki has entered Hindi world too. I personally know a Hindi
 Lecturer in Chandigarh, who on my suggestion started using Tiddlywiki
 for her personal writing(offline). Since I am not on active contact
 with her and since she was still a newcomer to internet (this was last
 year), I am sure nobody yet taught her the technicals of tiddlyspot or
 tiddlyspace hosting.

 Tiddlywiki is also known to some other south Indian users (I cant find
 the thread in which this came up).

 Tiddlywiki world welcomes Malayalam, the rich south Indian language.

 -passingby
 [1] http://punjabi.tiddlyspot.com/
 [2] http://sikhism.tiddlyspot.com/

 On Oct 26, 10:45 pm, Raji Chandrasekhar rajichandrasek...@gmail.com
 wrote:
  I am a teacher in a Government secondary School, of Kerala, India. I
  created the space
  rajichandrasekharhttp://rajichandrasekhar.tiddlyspace.com in our
  regional language Malayalam for publishing and distributing my
  Malayalam poems among the readers of Malayalam poetry throughout the
  world freely.
 
  I have a blog rahasyalokamhttp://rahasyalokam.blogspot.com, but
  after finding tiddlyspacehttp://tiddlyspace.com I realized that
  this is my exact media to work with.
 
  In the starting I used the default theme, later I got the tbthemefull
  http://tbthemefull.tiddlyspace.com/ created by Tobias Beerhttp://
  tobibeer.tiddlyspace.com/#Welcome. He helped me to modify
  rajichandrasekharhttp://rajichandrasekhar.tiddlyspace.com.
 
  I invite all of you to visit my space, rajichandrasekharhttp://
  rajichandrasekhar.tiddlyspace.com. (may be the first tiddlyspace
  in an Indian language) and give me your valuable suggestions to make
  it a most feature-full space.
 
  Thanking You with Great Gratitude,
  Raji Chandrasekhar

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To post to this group, send email to tiddlyw...@googlegroups.com.
 To unsubscribe from this group, send email to
 tiddlywiki+unsubscr...@googlegroups.comtiddlywiki%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/tiddlywiki?hl=en.




-- 
http://rahasyalokam.blogspot.com
http://rajichandrasekhar.tiddlyspace.com

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: Is it possible to make TW to read info on CD/DVD?

2010-10-25 Thread Raji Chandrasekhar
Dear Toby

I tried ur theme in mylearningspace
http://mylearningspace.tiddlyspace.com. It was great.

I removed the float pluggin.

But i don't know, how to remove the search box.

If i can print the tiddler without the search box, then my printouts of
poems will be looking good.

twyp is also working fine. Plz check
mylearningspacehttp://mylearningspace.tiddlyspace.com/and give
suggestions to improve its look and feel

I want some more explanations on

1. Following and followers
2. comments

Thanking You
Raji Chandrasekhar

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: Featured Spaces

2010-10-23 Thread Raji Chandrasekhar
Dear Cdent

Thank you Very much.

1. I created an anlytic account. I hope it will work well.

2. Is there any method to know the number of downloads of my space..

Thanking You again,

Raji Chandrasekhar

On Sat, Oct 23, 2010 at 3:11 PM, cd...@peermore.com chris.d...@gmail.comwrote:

 On Oct 22, 6:10 pm, Raji Chandrasekhar rajichandrasek...@gmail.com
 wrote:

  5. hit counter .

 If you are familiar with google analytics, you can use that as a hit
 counter for your tiddlyspace by setting up google analytics for your
 domain and then including the ganalytics space:
 http://ganalytics.tiddlyspace.com/

 Once the google side of things it set up, it will provide you with a
 tracker id which you put in a tiddler (described in the ganalytics
 space).

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To post to this group, send email to tiddlyw...@googlegroups.com.
 To unsubscribe from this group, send email to
 tiddlywiki+unsubscr...@googlegroups.comtiddlywiki%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/tiddlywiki?hl=en.




-- 
http://rahasyalokam.blogspot.com
http://mahalakshmiashtakam.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Featured Spaces

2010-10-22 Thread Raji Chandrasekhar
Dear Friends,

I am Raji Chandrasekhar from Kerala, India. I am woking as a Teacher
in Secondary School, in Government sector. I am blogging in our
regional language, Malayalam, since 2006.

 Recently I came to know about T.S. and I created some spaces and
included them in another space http://rajichandrasekhar.tiddlyspace.com/
Here I am publishing my complete literary works in Malayalam.

As I am a novice in programing terminology and technology, I would
like to get your support, guidance and support.

Please visit  http://rajichandrasekhar.tiddlyspace.com/and include
it in your featured section. Also please note that all my literary
works are in Malayalam.

How can I add other features of a blog to my space, such as

1. Formatting the text
2. Inserting Files
3. Creating a table
4. Comment area
5. hit counter .

Give me some suggestion to grasp programing so that I can do something
with tiddlyspace.

Thanking You.

Your
Raji Chandrasekhar


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[NTG-context] Feedback on draft manual

2010-10-08 Thread R (Chandra) Chandrasekhar

How does one provide feedback on the current draft manual at:

http://pmrb.free.fr/contextref.pdf

Thanks.

Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Example Gallery

2010-10-07 Thread R (Chandra) Chandrasekhar

Dear Folks,

When I first started learning to use TikZ-PGF, I was aided a great deal 
by the varied examples available at:


http://www.texample.net/tikz/

Is there any such example gallery for ConTeXt?

Thank you.

Chandra
07 Oct 10
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 03:33 PM, Mojca Miklavec wrote:

On Wed, Oct 6, 2010 at 04:07, R (Chandra) Chandrasekhar wrote:


If I wanted to fix my broken TeXLive, should I just re-install ConTeXt from
the TeXLive 2010 DVD or should I do a full re-install of the full scheme?


You have two options:
a) finish what you started
b) reinstall

In case of reinstall, it should be enough if you reinstall context and
luatex, I guess that can be done with:
 tlmgr install --reinstall context luatex



You will have some leftovers (extra files), but that should in general
not be a problem. (You can try to delete (= first move to some other
place) texmf-dist/tex/context before reinstalling if tmlgr won't
complain too much about missing files that cannot be removed.)


Before I saw your reply I did the following:

1. mv /usr/local/texlive/2010/texmf-dist/tex/context /tmp

2. Installed the ConteXt scheme from the TeXLive 2010 DVD along with the 
following further customizations, just in case they had been altered:


Extra Fonts
Recommended Fonts
TeX and Outline Fonts
Extra Formats
LuaTeX packages

3. tlmgr update --self --all

4. luatools --generate
   context --make

The context from TeXLive 2010 works fine but texexec fails with this 
message:


---
ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int: english/english

system  : cont-new loaded
(/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!
--


If something goes very bad, you can of course always reinstall
everything, but if the above works, there's no reason to worry.


It looks like that :-(


If you want to finish what you have just started, you need to also
sync mtxrun and fetch texmfcnf.lua from minimals and fix it according
to TL structure. (That's slightly more non-trivial.) I almost forgot
about that file when I said that one should also update mtxrun.


Wanting to have both context minimals and TeXLive 2010--modified only by 
tlmgr--coexisting, I tried to install the minimals in a directory called


~/local-context

using the following commands:

rsync -av rsync://contextgarden.net/minimals/current/context/current/ \
 ~/local-context/

rsync -av --include 'mtxrun' --include 'luatools' \
  rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
~/local-context/bin/

I then set the following environment variables:

PATH=~/local-context/bin:$PATH; export PATH
OSFONTDIR=/usr/local/share/fonts:/usr/local/texlive/2010/texmf/fonts:$HOME/.fonts; 
export OSFONTDIR


Finally, I ran

luatools --generate
context --make
context --make cont-en
mtxrun --script fonts --reload

But I got errors about some files not being resolved and context was 
broken. So, I unset the environment variables, and just to be doubly 
sure, repeated steps 1 to 4 above, to get a working context (but not 
texexec) from TeXLive 2010.


If there is a complete error-free algorithm/script in future for making 
TeXLive 2010 and the context-minmals coexist independently I will 
appreciate knowing about it.


Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh.

Thanks to everyone for all the explanations and help.

Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-06 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 11:39 PM, Mojca Miklavec wrote:

On Wed, Oct 6, 2010 at 19:19, R (Chandra) Chandrasekhar
chyav...@gmail.com  wrote:


ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int: english/english

system  : cont-new loaded
(/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!


Usually running
 (for the whole system)
 sudo fmtutil-sys --all
or
 fmtutil-sys --all
or
 texexec --make en
should help. If not, try to figure out where an additional copy of
cont-en.fmt resides, delete it and run any of commands above.

You don't need to reinstall anything.


Thank you very much. I did the following:

1. Deleted

/localhost/texlive/2010/texmf-var/web2c/xetex/cont-en.fmt
./localhost/texlive/2010/texmf-var/web2c/pdftex/cont-en.fmt

2. Ran

fmtutil-sys --all

3. Ran

texexec --make en

All three steps were needed to get both texexec and context working 
under TeXLive 2010, and now they do. I have verified by looking at 
generator field of the PDF file properties.



Wanting to have both context minimals and TeXLive 2010--modified only by
tlmgr--coexisting, I tried to install the minimals in a directory called

~/local-context

using the following commands:

rsync -av rsync://contextgarden.net/minimals/current/context/current/ \
  ~/local-context/

rsync -av --include 'mtxrun' --include 'luatools' \
  rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
~/local-context/bin/


No, no, no. You could go to http://minimals.contextgarden.net/setup/
and follow those instructions.


Thanks for the link.


You can do:
   cd ~/local-context
   rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
   ./first-setup.sh
and then use
 . ~/local-context/tex/setuptex
when you want to switch. The method you use won't simply work for
various reasons.


If there is a complete error-free algorithm/script in future for making
TeXLive 2010 and the context-minmals coexist independently I will appreciate
knowing about it.


The are able to coexist independently as long as you don't clone the
instructions from wiki (now already removed fro wiki).


Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh.


No, you just need to remake the formats.

Mojca


Thank you.

Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

Dear Folks,

I am a LaTeX user trying out ConTeXt for the first time. I am running 
TeXLive 2010 (full scheme) on a x86_64-linux platform. I have visited


http://wiki.contextgarden.net/Running_Mark_IV

and put the instructions there into an executable file:

---
#! /bin/bash
#
# Manual update for ConTeXt in TeXLive 2010 as suggested at
#
# http://wiki.contextgarden.net/Running_Mark_IV
#

# Update ConTeXt

rsync -av rsync://contextgarden.net/minimals/current/context/current/ 
/usr/local/texlive/2010/texmf-dist/


# Update LuaTeX

rsync -av 
rsync://contextgarden.net/minimals/current/bin/luatex/linux-64/bin/luatex 
/usr/local/texlive/2010/bin/x86_64-linux/


# Run equivalent mktexlsr

luatools --generate
context --make
context --make cont-en
---

The last output lines after running this file are:

---
LuaTools | runtime: 1.610 seconds
.../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to 
call upvalue 'make_mkiv_format' (a nil value)
.../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to 
call upvalue 'make_mkiv_format' (a nil value)

---

When I compiled a trivial file called first.tex using

texexec first

I got in the output, inter alia,
---
ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int:
english/english
---

Why am I not seeing Mk-IV yet?

I have used LuaLaTeX with fontspec quite successfully and would like to 
try ConTeXt with LuaTeX support in Mk-IV to compare ease of 
customization and use.


I am happy to furnish more information if necessary.

Sorry if my query sounds elementary, but I am new to ConTeXt.

Thanks in advance.

Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Tuesday 05 October 2010 11:02 PM, David Rogers wrote:


texexec gives MkII; context gives MkIV. I think this may need to be
documented somewhere easier to find for those new to ConTeXt.


Thank you for that.

When I do

context first

I get, again among other output, the following at the head and tail of 
output respectively:


---
MTXrun | warning: engine mismatch (luv:This is LuaTeX, Version 
beta-0.60.2-2010071218 (TeX Live 2010) (rev 3736)  bin:This is LuaTeX, 
Version beta-0.63.0-2010090921), forcing remake

---snip---
.../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to 
call upvalue 'make_mkiv_format' (a nil value)

---

Moreover,

context first | grep -i Mk

again gives the tail-end output:
---
.../2010/texmf-dist/scripts/context/lua/mtx-context.lua:985: attempt to 
call upvalue 'make_mkiv_format' (a nil value)

---

Can this be ignored or is it a cause for concern? If the latter, how can 
it be fixed?


Thank you.

Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Tuesday 05 October 2010 11:15 PM, Florian Wobbe wrote:


I used to update TeXLive 2009 successfully with this method, however
I ran into the same error when updating TeXLive 2010. As I did not
succeed and could not figure out what caused the error I installed
minimals without problems. I suggest you install minimals and point
the environment variable OSFONTDIR to your TeXLive tree. This adds
only about 200MiB to your disk which is rather neglectable compared
to the 2.7GiB of a full TeXLive.


I trust that minimals is what I was updating using with rsync and that 
it is a cut-down version of the ConTeXt distribution that came with 
TeXLive 2010.


Can I put minimals in $TEXMFHOME which is ~/texmf on my system? That 
seems to be the place where I can keep stuff newer than TeXLive 2010 
without conflict. Can minimals function standalone, though, or will I 
run into mismatches with TeXLive 2010 again?


Also, should OSFONTDIR then point to /usr/local/texlive/2010/texmf/ or 
to something else?



see
http://archive.contextgarden.net/message/20101003.061025.ee87f16c.en.html


Thank you. That email was very helpful.

Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 12:36 AM, Aditya Mahajan wrote:

Does mtxrun --selfupdate help?


No, it did not for me.
I got the same error after running it.


The last time I tried, context runs sucessfully out of the box in TL.
You only need to do the rsync stuff if you want the latest beta.


If I wanted to fix my broken TeXLive, should I just re-install ConTeXt 
from the TeXLive 2010 DVD or should I do a full re-install of the full 
scheme?


Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Running Mk-IV using TeXLive 2010

2010-10-05 Thread R (Chandra) Chandrasekhar

On Wednesday 06 October 2010 12:33 AM, Mojca Miklavec wrote:


Thank you. I was searching for that piece of information on the wiki,
but wasn't able to find the right page. I have removed it now to avoid
any further confusion. The instructions were necessary back in 2009
since ConTeXt was seriously broken in TL, but now that ConTeXt at
least runs, even if outdated, it might be better to have a parallel
installation of minimals, or to update it via tlmgr.


Are you saying that re-installing ConTeXt from the TeXLive 2010 DVD and 
periodically running


tlmgr update --self --all

should take care of any context updates?

In any case, if I wished to use the minimals installation, can I set it 
up in my TEXMFHOME directory at ~/texmf by modifying the rsync target so:


rsync -av rsync://contextgarden.net/minimals/current/context/current/
 ~/texmf/

rsync -av 
rsync://contextgarden.net/minimals/current/bin/luatex/linux-64/bin/luatex ~/texmf


Or would I be better advised to stay with what TeXLive 2010 provides for 
now?



In the meantime, since you probably need to fix the installation at
least, you may try to run
 rsync -av --include 'mtxrun' --include 'luatools' \
 rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
 /usr/local/texlive/2010/bin/x86-64-linux/
in order to at least get the two scripts back in a working condition.


I did that and got the same error as reported previously.


In a very short time (probably at the first current release of
ConTeXt) one should be able to update it in TeX Live in a clean way.


This seems the most convenient solution for me. When is this likely to 
happen and will a tlmgr update be all that I need then?


Thank you.

Chandra
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [Open64-devel] WHIRL question

2010-09-29 Thread Chandrasekhar Murthy
I think it might have been done to handle the case where i is volatile.
It might also be needed for code dealing with auto decrement coupled with 
pointer dereferencing and the computing of pointer involves an expression 
having side effects.

Murthy

-Original Message-
From: Gilmore, Doug [mailto:doug.gilm...@amd.com] 
Sent: Wednesday, September 29, 2010 10:39 AM
To: C. Bergström; open64-devel
Subject: Re: [Open64-devel] WHIRL question

I suspect that the translation is done in a way that that ensures correctness.

The temp is not needed in your example, but it is needed for:

j = i-- + i--

Doug
 -Original Message-
 From: C. Bergström [mailto:cbergst...@pathscale.com]
 Sent: Wednesday, September 29, 2010 7:15 AM
 To: open64-devel
 Subject: [Open64-devel] WHIRL question
 
 (forwarding this question)
 
 This code
 j = --i + i--;
 
 Is transformed into this (pseudo)WHIRL:
 
 STID(i) - ADD - LDID(i) ; this is the side
   \ INTCONST(-1); effect of the --i
 expression
 
 STID(preg_I4) - LDID(i)   ; storage of the 
 previous
   ; i value
 
 STID(i) - ADD - LDID(i) ; this is the side
   \ INTCONST(-1); effect of the i--
 expression
 
 STID(j) - ADD - LDID(preg_I4)   ; the actual
   \ LDID(i) ; j =  expression
 
 what is the advantage of this WHIRL instead of
 
 STID(i) - ADD - LDID(i) ; this is the side
   \ INTCONST(-1); effect of the --i
 expression
 
 STID(j) - ADD - LDID(i) ; the actual
   \ LDID(i) ; j =  expression
 
 STID(i) - ADD - LDID(i) ; this is the side
   \ INTCONST(-1); effect of the --i
 expression
 
 
 the first version just uses one more WHIRL node and one more variable.
 why is it used? is it because it's easier to rewrite C - WHIRL in that
 way?
 
 
 ---
 ---
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Open64-devel mailing list
 Open64-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/open64-devel



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel


[XeTeX] Navigation links not active with beamer and xelatex

2010-09-18 Thread R (Chandra) Chandrasekhar

Dear Folks,

This is a beamer-xelatex question on a problem that arises with xelatex 
but not with pdflatex, and is hence likely to be xelatex-related.


The following is a minimal test file:

---
\documentclass{beamer}
%\usepackage{fontspec} % Comment out this line for compilation with pdflatex
%
\begin{document}
\begin{frame}{Slide One}
  Contents of Slide One
\end{frame}
\begin{frame}{Slide Two}
  Contents of Slide Two
\end{frame}
\begin{frame}{Slide Three}
  Contents of Slide Three
\end{frame}
\end{document}
---

If the second line is commented out as shown and the file compiled with 
pdflatex, the navigation links at the bottom of each slide are active.


If the second line is uncommented and the file compiled with xelatex, 
the navigation links still show up but are neither active nor functional.


FYI, I am on a Kubuntu system running the Ubuntu texlive-2009 packages 
but using the latest pgf and beamer bundles from CTAN. fontspec is 
2008/08/09 v1.18.


I am grateful for any suggestion to overcome this problem and am willing 
to upgrade to TeXLive 2010 if this will solve my problem.


Many thanks.

Chandra


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Thanks and Minor Bug Report

2010-09-18 Thread R (Chandra) Chandrasekhar

On Saturday 18 September 2010 06:31 PM, Marc van Dongen wrote:


You may find the result of the efforts at
  http://csweb.ucc.ie/~dongen/LaTeX-and-Friends-print.pdf.


Congratulations on a magnificent labour of love!

--
Chandra


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] virtual keyboard question

2010-09-18 Thread R (Chandra) Chandrasekhar

On Sunday 19 September 2010 12:01 AM, Manfred Lotz wrote:

Hi there,
A friend of mine wants to use a bunch of different languages aka. fonts
in a single document, like for instance: Devanagari, Greek, Coptic,
Cyrillic, IPA, Arabic and Hebrew. Main language is German.


The exact solution depends on the operating system and also on what 
exactly is meant by a virtual keyboard.


On K/Ubuntu Linux, I have found the ibus input framework

http://code.google.com/p/ibus/

to be both comprehensive and functional, especially when used with m17n

http://www.m17n.org/m17n-lib-en/

language packages.

--
Chandra


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


[Bug 358654] Re: udevadm trigger is not permitted while udev is unconfigured

2010-09-02 Thread R (Chandra) Chandrasekhar
LL Phillips: You might want to see

http://ubuntuforums.org/showpost.php?p=9796852postcount=10

 for StewartM's step-by-step solution if you have previous kernel images
that you can reboot from.

If you do not have a previously working kernel, you might have to do
what Andrux101 has suggested at

http://ohioloco.ubuntuforums.org/showpost.php?p=8079302postcount=12

and what Aymeric Mansoux has also suggested above. Be sure to prepend
sudo to the relevant commands.

In any case, here is what I did:

1. Boot from Live CD. Go into console mode [Ctrl-Alt-F1] or fire up a
terminal.

2. sudo mkdir /media/newroot

3. sudo mount /dev/sda1 /media/newroot

(My root partition is at /dev/sda1; change /dev/sda1 to suit your case.)

4. sudo chroot /media/newroot

5. sudo update-initramfs -u -k all

(the all argument is a bit of bravado since I did not know what
exactly it would do. If in doubt, try 2.6.32-24-generic instead of
all.)

6. Reboot without Live CD.

It is a great shame that this bug has resurfaced after a kernel image
update.

FWIW, my most recent kernels are:

2.6.32-24-generic

and

2.6.32-24-preempt

in case it is one and not the other theta has triggered this problem.

I appeal for an early closure of this problem.  Thanks.

-- 
udevadm trigger is not permitted while udev is unconfigured
https://bugs.launchpad.net/bugs/358654
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 522814] Re: ibus does not install itself as an option for the all_ALL quasi-locale

2010-07-25 Thread R (Chandra) Chandrasekhar
I can confirm the reported behaviour for ibus on a fresh CD install of
Kubuntu Lucid Lynx 10.04 on an AMD 64 system.

One consequent problem is that if I launch the KDE kate text editor
version 3.4.5 for KDE 4.4.5 from the launchpad pparepos, I still get a
No Input Window message from the ibus system tray icon. So, input
method switching is not available in kate launched from an icon.

However, if I lauch kate from a KDE konsole terminal by typing

kate 

then I am able to access in kate the different languages I need through
ibus.

FWIW, I think this is because my personal ~/.bashrc has the lines

export GTK_IM_MODULE=ibus
export xmodifie...@im=ibus
export QT_IM_MODULE=ibus

but the non-availability of the system-wide alternatives as noted above
make the ibus language options unavailable to kate launched from an
icon.

-- 
ibus does not install itself as an option for the all_ALL quasi-locale
https://bugs.launchpad.net/bugs/522814
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [XeTeX] Hyphenating Tamil

2010-06-26 Thread R (Chandra) Chandrasekhar

On Saturday 26 June 2010 07:15 PM, Shrisha Rao wrote:


Ubuntu has been well-known to include an out-of-date TeX Live (I
think 2007!) with many long-resolved issues.  It is also problematic
to install TeX Live or some parts of it separately if one has already
installed the TeX packages made available by the distro, as all sorts
of things break (or will suddenly break when there is some package
update).  The tlmgr utility also conflicts with the distro's own
package update feature so is typically unavailable.


On K/Ubuntu 10.04 (Lucid Lynx) I can trivially install via gui or 
command line texlive packages currently bearing version number 
2009-7ubuntu3.


FWIW, maintaining two separate TeXLive distributions, one from the 
K/Ubuntu packages and another from the CTAN TeXLive repository is likely 
to be problem prone. After installing the K/Ubuntu packages, one simply 
updates and upgrades them with apt-get rather than running tlmgr.


Your comments above do not come within the ambit of my experience.

--
Chandra


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


need help

2010-05-02 Thread chandrasekhar reddy
hi all,

i am new to cake php can any 1 help me plz,


1).. $rsProfile = pg_exec($conn,SELECT strprofilename FROM tblmusicprofiles
WHERE lngprofile = $PROFILE_ID);


$rsProfile = $this-Tblmusicprofiles-find(
'all',
array(
 'conditions' = array(
 'Tblmusicprofiles.lngprofile' = $PROFILE_ID
 ),
 'fields' = array(
   'Tblmusicprofiles.strprofilename'
 )
)
);


2).  $intProfileCnt = pg_numrows($rsProfile);


$rsProfile = $this-set('rsProfile', $rsProfile);

$intProfileCnt = $this-Tblmusicprofiles-find(
 'count',
 array('conditions' = array(
   'Tblmusicprofiles.lngprofile' = $PROFILE_ID
  ),
  'fields' = array(
'Tblmusicprofiles.strprofilename'
  )
 )
);

 i am trying the above two statements , i got the out put of first , but i
am unable to find out the number of rows in a particular table with
particular colom . as write the above 2nd statement.


plz help out

thanks in advance,

regards,
chandu

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


plz help me out

2010-04-28 Thread chandrasekhar reddy
I am new for cakephp plz help me out . below statements are correct or wrong
. idontknow


While converting this sql query into cakephp for result set and count

1.  Result set

$rsProfile = pg_exec($conn,SELECT strprofilename FROM tblmusicprofiles
WHERE lngprofile = $PROFILE_ID);



var $rsProfile = $this-tblmusicprofiles-find('all', array('conditions' =
array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
 'fields' = array('tblmusicprofiles.strprofilename')));




2. count

 $intProfileCnt = pg_numrows($rsProfile);


var $intProfileCnt = $this-tblmusicprofiles-find('count',
array('conditions' = array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
   'fields' = array('tblmusicprofiles.strprofilename')));

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


plz help me out

2010-04-28 Thread chandrasekhar reddy
I am new for cakephp plz help me out . below statement are correct or wrong
. idontknow


While converting this sql query into cakephp for result set and count

$intProfileCnt = pg_numrows($rsProfile);


var $intProfileCnt = $this-tblmusicprofiles-find('count',
array('conditions' = array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
   'fields' = array('tblmusicprofiles.strprofilename')));

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


plz help me out

2010-04-28 Thread chandrasekhar reddy
can i use stripslashes in cakephp directly in cakephp like php .is it work ?


$txtProfileName = stripslashes($txtProfileName);

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: plz help me out

2010-04-28 Thread chandrasekhar reddy
ok tahnk you


On Wed, Apr 28, 2010 at 4:08 PM, Jeremy Burns jeremybu...@me.com wrote:

 You haven't changed the table names to model names as I suggested in my
 last response - change them from tblmusicprofiles to Tblmusicprofile. Then
 run it again and post back any errors.

 Jeremy Burns
 jeremybu...@me.com jeremybu...@mac.com


 On 28 Apr 2010, at 11:34, chandrasekhar reddy wrote:


 I am new for cakephp plz help me out . below statement are correct or wrong
 . idontknow


 While converting this sql query into cakephp for result set and count

 $intProfileCnt = pg_numrows($rsProfile);


 var $intProfileCnt = $this-tblmusicprofiles-find('count',
 array('conditions' = array('tblmusicprofiles.lngprofile' = '$PROFILE_ID'),
'fields' = array('tblmusicprofiles.strprofilename')));


 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php?hl=en


  Check out the new CakePHP Questions site http://cakeqs.org and help
 others with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


How can u write the order and unorder list

2010-04-23 Thread chandrasekhar reddy
Hi friends i am new to cake php. sorry for asking simple queries also

how to write order and unordered list cakephp .

i my coding they are mentioned  like this. I don`tknow how to write in cake
php ?
 can any one plz help me. thats is more help for me.


*My Store Groups*



   - *Admin Store Group http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
  - 3741BethlehemSupermarketNorthern Cape and O.F.S Division
  - 2543BluffSupermarketNatal Division


   - *Gauteng Division http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
  - 5436Germiston Family StoreFamily StoreGauteng Division


   - *Group http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
  - 5436Germiston Family StoreFamily StoreGauteng Division
  - 9283UitenhageSupermarketEastern Cape Division


   - *My Group http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9989Boston Family Store ( Family store )Family StoreWestern Cape
  Division
  - 2663Brackenfell Family StoreFamily StoreWestern Cape Division
  - 5552La LuciaSupermarketNatal Division


   - *rakesh http://192.168.1.155/zapop/index.php#*

  *Branch Code**Store Name**Store Type**Division*
  - 9644AlbertonFamily StoreGauteng Division
   -

thank you very much.

regards,
chandu.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: CMS

2010-04-22 Thread chandrasekhar reddy
Thank you very much

On Thu, Apr 22, 2010 at 2:11 PM, keymaster ad...@optionosophy.com wrote:


 At this point croogo is pretty much the front contender, way ahead of
 the pack. It also seems very well thought out.

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


CMS

2010-04-21 Thread chandrasekhar reddy
Hi friends,
 I need some information Regarding CMS(Content Management System). Is There
any CMS was Related to cakephp  (Like joomla,drupal ( for php))

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


need

2010-04-19 Thread chandrasekhar reddy
A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
SRC=../images/wizard/new_profile.png BORDER=0 onMouseDown=this.src =
'../images/wizard/new_profile_down.png'; onMouseUp=this.src =
'../images/wizard/new_profile.png';/A



How can i write this phpcode into cakephp

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: need

2010-04-19 Thread chandrasekhar reddy
?php
 echo $html-link($html-image('new_profile.png' , array('border' = '0',
'onMouseDown' = 'new_profile_down.png',
 'onMouseUp' = 'new_profile.png')), 'shownewprofile1', '?' =
array('intAction' = '2', 'MODE' = '1'), null);
?



On Mon, Apr 19, 2010 at 5:15 PM, John Andersen j.andersen...@gmail.comwrote:

 In your view file, use the html helper for the link part!
 Use the html helper for the image part with additional information to
 support your onMouseDown/Up options.
 When you have done that, please show us the code, so that we may
 assist you further.
 Enjoy,
   John

 On Apr 19, 1:26 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
  A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
  SRC=../images/wizard/new_profile.png BORDER=0 onMouseDown=this.src =
  '../images/wizard/new_profile_down.png'; onMouseUp=this.src =
  '../images/wizard/new_profile.png';/A
 
  How can i write this phpcode into cakephp
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
 with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google Groups
 CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Running Cake in subfolder

2010-04-19 Thread chandrasekhar reddy
Whts the erroe its getting.tell me clearly then i will try to solve ur
query.

On Mon, Apr 19, 2010 at 1:31 PM, Andrei Mita andrei.m...@gmail.com wrote:

 Hello,

 I'm probably the 1000th guy who asks this question but I didn't manage to
 find the answer on the group. I found some, but didn't apply to me.

 I'm developing small apps using cake in order to get my head around it.
 Every single time I start with a fresh copy by putting and renaming the
 downloaded folder in my www root dir.

 I have /var/www/blog, /var/www/tasks, /var/www/todo etc. Some of this
 copies don't render the css files. I've tried altering the .htaccess to no
 result.

 Any idea why and how to solve this? The official manual says it should work
 right away.

 Thanks,
 Andrei

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


cookbook for CAKEPHP

2010-04-19 Thread chandrasekhar reddy
if anybody want to download the cookbook of cake php

plz click on below link then u can download easily.

http://www.ibonette.com/cakephp-1-2-manual-for-print-out/

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: need

2010-04-19 Thread chandrasekhar reddy
?php
 echo $html-link($html-image('new_
profile.png' , array('border' = '0',  'onMouseDown' =
'new_profile_down.png',
 'onMouseUp' = 'new_profile.png')), 'shownewprofile1', '?' =
array('intAction' = '2', 'MODE' = '1'), null);
?


i tryed this one but its getting error


On Mon, Apr 19, 2010 at 5:15 PM, John Andersen j.andersen...@gmail.comwrote:

 In your view file, use the html helper for the link part!
 Use the html helper for the image part with additional information to
 support your onMouseDown/Up options.
 When you have done that, please show us the code, so that we may
 assist you further.
 Enjoy,
   John

 On Apr 19, 1:26 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
  A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
  SRC=../images/wizard/new_profile.png BORDER=0 onMouseDown=this.src =
  '../images/wizard/new_profile_down.png'; onMouseUp=this.src =
  '../images/wizard/new_profile.png';/A
 
  How can i write this phpcode into cakephp
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
 with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google Groups
 CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: need

2010-04-19 Thread chandrasekhar reddy
?php echo $html-
   image(
'new_profile_down.png',
 array(
'border' = 0,
'width'=56,
'height'=52,
'url' =
 array(
  'action' =
  'profiles', '?' =
array('intAction' = '2', 'MODE' = '1')
 )
 )
   );
?

i tryed this one its working i dontknow its working correct or not.

On Mon, Apr 19, 2010 at 6:05 PM, John Andersen j.andersen...@gmail.comwrote:

 To me it looks like you are trying to have a link with an image, which
 is to work like a button, that is, the image must change on mouse down
 and up.

 I would assume that the onMouseDown/Up events should either contain a
 reference to a javascript function or javascript itself, not just the
 filename of the image to use.

 Also the last parameter to the html-link method should be false, so
 that the html helper will not convert the image html into html
 entities!

 When you try to run the code, does it give any errors or surprises?
 Enjoy,
   John

 On Apr 19, 2:50 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
  ?php
   echo $html-link($html-image('new_profile.png' , array('border' = '0',
  'onMouseDown' = 'new_profile_down.png',
   'onMouseUp' = 'new_profile.png')), 'shownewprofile1', '?' =
  array('intAction' = '2', 'MODE' = '1'), null);
  ?
 
  On Mon, Apr 19, 2010 at 5:15 PM, John Andersen j.andersen...@gmail.com
 wrote:
 
 
 
   In your view file, use the html helper for the link part!
   Use the html helper for the image part with additional information to
   support your onMouseDown/Up options.
   When you have done that, please show us the code, so that we may
   assist you further.
   Enjoy,
 John
 
   On Apr 19, 1:26 pm, chandrasekhar reddy chanduc...@gmail.com wrote:
A HREF=?=$PHP_SELF;??intAction=2MODE=1IMG
SRC=../images/wizard/new_profile.png BORDER=0
 onMouseDown=this.src =
'../images/wizard/new_profile_down.png'; onMouseUp=this.src =
'../images/wizard/new_profile.png';/A
 
How can i write this phpcode into cakephp
 
Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
 others
   with their CakePHP related questions.
 
You received this message because you are subscribed to the Google
 Groups
   CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group athttp://
   groups.google.com/group/cake-php?hl=en
 
   Check out the new CakePHP Questions sitehttp://cakeqs.organd help
 others
   with their CakePHP related questions.
 
   You received this message because you are subscribed to the Google
 Groups
   CakePHP group.
   To post to this group, send email to cake-php@googlegroups.com
   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group at
  http://groups.google.com/group/cake-php?hl=en
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
 with their CakePHP related questions.
 
  You received this message because you are subscribed to the Google Groups
 CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed

javascript validation

2010-04-16 Thread chandrasekhar reddy
hi frns can any one help me how to validate javascript from clint side and
how to pass the variables through javascript.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


[STUMP] Crash in VLC Open File dialog

2010-02-26 Thread Adlai Chandrasekhar

Backtrace at http://paste.lisp.org/display/95662

I had VLC open, and then went to the Open File dialog. Then, while the dialog 
was still open, I hit C-t C-t to switch windows, and poof.

Some thoughts that simias and I had in #stumpwm:

 - Things seem doomed at (7F5B5001EA10) : 11 (TRANSIENTS-OF NIL) 69

 - #'shadows-of relies on #'window-by-id to return something that's a valid 
argument to #'transients-of; however, #'window-by-id fails silently when given 
nil as an argument.

I'm not familiar with this corner of the X protocol (nor with any other 
corner), but the silent failure in #'window-by-id seems odd. Any suggestions?

Adlai


___
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel


Re: Is automatic reload of a module available in Python?

2010-02-18 Thread R (Chandra) Chandrasekhar

Arnaud Delobelle wrote:

Here is a very simple way to improve what you do, which won't require
you to change the way you work or to learn a new paradigm:

Instead of testing your functions interactively, put your testing code
in a file, e.g. 'program_tests.py'.  Your can then type

python program_tests.py

at the shell interactive prompt.  To perform the tests again, just
re-execute that file.  If your tests are divided into
different units, you can put these in functions:

def test_frobz():
#testing code for frobzation of klops

def test_frizz():
#testing code for frizzment of frobzied klops

# etc..

So if you want to keep doing interactive tests, you can import
program_tests and call whichever testing functions you want.  You may
even have arguments to those functions to test them with different
parameters.

I know some people will point at more 'pro' ways of testing but this has
the merit of being very straightforward.  Then when you move on to more
sophisticated techniques, I think you will understand better the
motivations behind them.


It took me some time to cotton on to exactly what you were saying, but 
once I grasped it and tried it out, I found it very effective and 
time-saving.


Thank you very much Arnaud.

--
Chandra
--
http://mail.python.org/mailman/listinfo/python-list


Replacement for e.message() in python 2.6

2010-02-17 Thread Nandakumar Chandrasekhar

Dear Folks,

In previous versions of Python I used to use e.message() to print out 
the error message of an exception like so:


try:
result = x / y
except ZeroDivisionError, e:
print e.message()

Unfortunately in Python 2.6 the message method is deprecated.

Is there any replacement for the message method in Python 2.6 or is 
there any best practice that should be used in Python from now on?


Thank you.

Yours sincerely,
Nanda
--
http://mail.python.org/mailman/listinfo/python-list


Is automatic reload of a module available in Python?

2010-02-17 Thread R (Chandra) Chandrasekhar

Dear Folks,

I am currently developing a python program, let us call it generic.py, 
and I am testing out the functions therein by testing them out 
interactively in the python interpreter by invoking python and doing


import generic

Once I hit an error, I need to revise my file and reload the module using

reload(generic)

The difference in syntax between invoking import and reload is really 
costing me time and patience.


Therefore, I would like to ask:

1. Is there a method of auto-reloading a module while developing it and 
testing it with the interactive python interpreter?


2. Is there a better way of developing a program?

Thank you.

Chandra
--
http://mail.python.org/mailman/listinfo/python-list


Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar

Dear Folks,

I want to execute a command from within python using the subprocess module.

Coming from a Perl background, I thought I could use variable 
interpolation in strings, but found that this is neither supported nor 
the Python way. Accordingly, I am a little at sea about how to 
accomplish it.


I have stated what I am trying to do in the minimal example below:

---
import subprocess

width = 5
height = 30
colors = ['#abcdef]', '#456789']
filename = /tmp/image.png

# I want to get the equivalent of variable interpolation in Perl
# so that the command
#
# convert -size 5x30 gradient:#abcdef-#456789 /tmp/image.png
#
# is derived from the variables above
# and executed by subprocess.call() or subprocess.Popen()
# from within Python
#
# Note that the command convert is from the ImageMagick suite
# It exists and is executable by the shell;
# the remaining values are arguments.
# The command has been confirmed to execute correctly.
---

Thanks in advance.

Chandra
--
http://mail.python.org/mailman/listinfo/python-list


Re: Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar

Peter Otten wrote:


import subprocess

def convert(width=5, height=30, colors=['#abcdef', '#456789'],
filename=tmp/image with space in its name.png):
lookup = locals()
assert all(\n not in str(s) for s in lookup.values())
subprocess.call(\
convert
-size
{width}x{height}
gradient:{colors[0]}-{colors[1]}
{filename}.format(**lookup).splitlines())

convert()

Peter


Thank you. It works. Now I need to understand why and am able to follow 
what you are doing part of the way:


1. Assign default values in the function definition.

2. Store the variables existing in the local namespace in the list lookup.

3. Assert that there are no newlines in the values in lookup converted 
to strings. (Why? Is this because of splitlines() later on?)


4. Assemble a string (array?) for the subprocess.call argument using the 
 format string syntax (section 8.1.3 et seq. of the Python 
documentation for 2.6.4). Your example works with  default option of 
shell=False for subprocess.call().


5. I am unable to decipher how you got to format(**lookup).splitlines())
especially the **prefix part, although I guess that splitlines() is 
dishing out the arguments one by one from each line in the 
subprocess.call argument.


Any correction of (1) to (4) and an explanation of (5) would be most 
appreciated.


All in all, your code is a magnificent example of wrapping the function 
within python. This is the first time I have seen something like this.


Thank you very much.

Chandra
--
http://mail.python.org/mailman/listinfo/python-list


Re: Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar

Peter Otten wrote:

import subprocess

def convert(width=5, height=30, colors=['#abcdef', '#456789'],
filename=tmp/image with space in its name.png):
lookup = locals()
assert all(\n not in str(s) for s in lookup.values())
subprocess.call(\
convert
-size
{width}x{height}
gradient:{colors[0]}-{colors[1]}
{filename}.format(**lookup).splitlines())

convert()

Peter


One other question I forgot to ask is this why is there a terminal 
backslash in



subprocess.call(\


Removing the backslash makes the function fail.

I wonder why, because  is supposed to allow multi-line strings. I am 
sorry if this sounds obtuse but that backslash baffles me.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar

Alf P. Steinbach wrote:

* R (Chandra) Chandrasekhar:


width = 5
height = 30
colors = ['#abcdef]', '#456789']
filename = /tmp/image.png

# I want to get the equivalent of variable interpolation in Perl
# so that the command
#
# convert -size 5x30 gradient:#abcdef-#456789 /tmp/image.png
#
# is derived from the variables above


Assuming that the extra right square bracket in 'colors' is a typo, 
here's one way:


s = convert -size {w}x{h} gradient:{g1}-{g2} {f}.format(
w = width, h = height, g1 = colors[0], g2 = colors[1], f = filename
)


Cheers  hth.,

- ALf


Thanks, Alf. It works if I use it so:

subprocess.call(s, shell=True)

and I think that is because s is a single string assembled in almost the 
variable interpolation fashion of Perl. It does not work with the 
default shell=False argument, presumably because the arguments are not 
split into separate strings (something that was horrible to do by hand 
using the %s and %() syntax that I had tried out previously).


I think that you and Peter have, between you, shown me two ways of using 
subprocess.call(): one with shell=True and the other with shell = False.


Thanks.

Chandra
--
http://mail.python.org/mailman/listinfo/python-list


Re: Sorting a list of lists

2010-02-13 Thread R (Chandra) Chandrasekhar

MRAB wrote:


You'd have to post an example of that, but you could try deleting some
of the entries before sorting so see whether you can still reproduce the
problem with a smaller list.


John Posner wrote:
Please cut-and-paste the exact error message (or other evidence of 
failure) into a message.


Thank you both. It appears that the problem was in the way the data were 
being read in from a file, than in the sorting itself. Once I fixed 
that, the results are as expected.


Chandra
--
http://mail.python.org/mailman/listinfo/python-list


Sorting a list of lists

2010-02-12 Thread R (Chandra) Chandrasekhar

Dear Folks,

I have lines of values like so:

14, [25, 105, 104]
10, [107, 106, 162]
21, [26, 116, 165]

I need to sort them in two ways:

(a) By the numeric value of the first column; and

(b) by the sum of the elements of the second item in each list, which is 
a list in itself.


At present, I have appended each line into a list L so that I for teh 
above minimal data, I have a list of lists thus:


[[14, [25, 105, 104]], [10, [107, 106, 162]], [21, [26, 116, 165]]]

I have tried using

(a) sorted(L, key = lambda x:(x[0]))

and

(b) sorted(L, key = lambda x:(sum(x[1])))

and get the anticipated results for (a) and (b0, at least with the above 
minimal data set.


Is this a sensible way to go about the sorting, or are there better ways 
of doing it in Python?


Also, I am baffled because the above fails obviously when len(L) is 
about a hundred and I can't figure out why.


TIA

Chandra
--
http://mail.python.org/mailman/listinfo/python-list


Dynamic variable names

2010-02-07 Thread R (Chandra) Chandrasekhar

Dear Folks,

I have read that one should use a dictionary in python to accommodate 
dynamic variable names. Yet, I am puzzled how to achieve that in my 
case. Here is what I want to do:


1. The user inputs a number of six-digit hex numbers as a 
comma-separated list. These numbers represent colours, but the number of 
colours is not known beforehand.


2. Using these colours in pairs, I am generating image files whose names 
must be unique. I could use the respective hex numbers for this, but 
would like to explore generating filenames like


colour_1-colour_2.jpg

Because I do not know how many colours there would be in advance, I need 
to generate the colour_n names on the fly.


So, my two questions are:

1. How do I do this properly in python?

2. If there is a better scheme than what I have outlined, can someone 
please point me to a Web link?


Thank you.

Chandra
--
http://mail.python.org/mailman/listinfo/python-list


[Bug 514170] [NEW] Klipper middle mouse select and paste fails sometimes

2010-01-29 Thread R (Chandra) Chandrasekhar
Public bug reported:

In Kubuntu 9.10 using KDE 4.3.5 the middle mouse select and paste
function fails in kate or kile. This seems to happen randomly and is
very frustrating. Klipper has been configures to synchronize contents fo
clipboard and selection, and yet this synchronization is absent. There
are tell-tale blank lines in the clipboard when this happens.

Other information:

apt-cache policy klipper
klipper:
  Installed: 4:4.3.5-0ubuntu1~karmic1
  Candidate: 4:4.3.5-0ubuntu1~karmic1
  Version table:
 *** 4:4.3.5-0ubuntu1~karmic1 0
500 http://ftp.iinet.net.au karmic-backports/main Packages
100 /var/lib/dpkg/status
 4:4.3.2-0ubuntu7.1 0
500 http://ftp.iinet.net.au karmic-updates/main Packages
 4:4.3.2-0ubuntu7 0
500 http://ftp.iinet.net.au karmic/main Packages

ProblemType: Bug
Architecture: amd64
Date: Fri Jan 29 16:10:16 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kdeinit4
NonfreeKernelModules: fglrx
Package: kdelibs-bin 4:4.3.5-0ubuntu1~karmic1
ProcEnviron:
 LANGUAGE=en_AU:en
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: kde4libs
Uname: Linux 2.6.31-17-generic x86_64

** Affects: kde4libs (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug

-- 
Klipper middle mouse select and paste fails sometimes
https://bugs.launchpad.net/bugs/514170
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 514170] Re: Klipper middle mouse select and paste fails sometimes

2010-01-29 Thread R (Chandra) Chandrasekhar

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/38519309/Dependencies.txt

** Attachment added: ProcMaps.txt
   http://launchpadlibrarian.net/38519310/ProcMaps.txt

** Attachment added: ProcStatus.txt
   http://launchpadlibrarian.net/38519311/ProcStatus.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/38519312/XsessionErrors.txt

-- 
Klipper middle mouse select and paste fails sometimes
https://bugs.launchpad.net/bugs/514170
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 514170] [NEW] Klipper middle mouse select and paste fails sometimes

2010-01-29 Thread R (Chandra) Chandrasekhar
Public bug reported:

In Kubuntu 9.10 using KDE 4.3.5 the middle mouse select and paste
function fails in kate or kile. This seems to happen randomly and is
very frustrating. Klipper has been configures to synchronize contents fo
clipboard and selection, and yet this synchronization is absent. There
are tell-tale blank lines in the clipboard when this happens.

Other information:

apt-cache policy klipper
klipper:
  Installed: 4:4.3.5-0ubuntu1~karmic1
  Candidate: 4:4.3.5-0ubuntu1~karmic1
  Version table:
 *** 4:4.3.5-0ubuntu1~karmic1 0
500 http://ftp.iinet.net.au karmic-backports/main Packages
100 /var/lib/dpkg/status
 4:4.3.2-0ubuntu7.1 0
500 http://ftp.iinet.net.au karmic-updates/main Packages
 4:4.3.2-0ubuntu7 0
500 http://ftp.iinet.net.au karmic/main Packages

ProblemType: Bug
Architecture: amd64
Date: Fri Jan 29 16:10:16 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kdeinit4
NonfreeKernelModules: fglrx
Package: kdelibs-bin 4:4.3.5-0ubuntu1~karmic1
ProcEnviron:
 LANGUAGE=en_AU:en
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: kde4libs
Uname: Linux 2.6.31-17-generic x86_64

** Affects: kde4libs (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug

-- 
Klipper middle mouse select and paste fails sometimes
https://bugs.launchpad.net/bugs/514170
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 514170] Re: Klipper middle mouse select and paste fails sometimes

2010-01-29 Thread R (Chandra) Chandrasekhar

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/38519309/Dependencies.txt

** Attachment added: ProcMaps.txt
   http://launchpadlibrarian.net/38519310/ProcMaps.txt

** Attachment added: ProcStatus.txt
   http://launchpadlibrarian.net/38519311/ProcStatus.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/38519312/XsessionErrors.txt

-- 
Klipper middle mouse select and paste fails sometimes
https://bugs.launchpad.net/bugs/514170
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[jira] Updated: (HIVE-1060) disable SELECT * FROM a JOIN b ON key

2010-01-26 Thread Vikram Chandrasekhar (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vikram Chandrasekhar updated HIVE-1060:
---

Affects Version/s: 0.6.0
   0.5.0
   Status: Patch Available  (was: Open)

Checks for join condition being just a single un-prefixed column of either 
primitive or complex type

 disable SELECT * FROM a JOIN b ON key
 -

 Key: HIVE-1060
 URL: https://issues.apache.org/jira/browse/HIVE-1060
 Project: Hadoop Hive
  Issue Type: Bug
Affects Versions: 0.5.0, 0.6.0
Reporter: Zheng Shao
 Attachments: HIVE-1060.1.patch


 In some SQL dialect, we support this kind of syntax as a shortcut of a.key = 
 b.key.
 We should output an error for this. Currently we are allowing this because we 
 might have implicit type conversion from String to Boolean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1060) disable SELECT * FROM a JOIN b ON key

2010-01-26 Thread Vikram Chandrasekhar (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vikram Chandrasekhar updated HIVE-1060:
---

Attachment: HIVE-1060.1.patch

 disable SELECT * FROM a JOIN b ON key
 -

 Key: HIVE-1060
 URL: https://issues.apache.org/jira/browse/HIVE-1060
 Project: Hadoop Hive
  Issue Type: Bug
Affects Versions: 0.5.0, 0.6.0
Reporter: Zheng Shao
 Attachments: HIVE-1060.1.patch


 In some SQL dialect, we support this kind of syntax as a shortcut of a.key = 
 b.key.
 We should output an error for this. Currently we are allowing this because we 
 might have implicit type conversion from String to Boolean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[Bug 424249] Re: locks when trying to save as PDF

2010-01-25 Thread R (Chandra) Chandrasekhar
It works in Kubuntu 9.10 with

gscan2pdf  0.9.29-1ubuntu1~9.10prevu1
imagemagick  7:6.5.8.3-1~9.10prevu1

both combined from source packages using prevu.

One curious observation though: there is no warning before an existing
file is overwritten by a new scanned file, saved as a PDF.

Thank you.

-- 
locks when trying to save as PDF
https://bugs.launchpad.net/bugs/424249
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 424249] Re: locks when trying to save as PDF

2010-01-25 Thread R (Chandra) Chandrasekhar
It works in Kubuntu 9.10 with

gscan2pdf  0.9.29-1ubuntu1~9.10prevu1
imagemagick  7:6.5.8.3-1~9.10prevu1

both combined from source packages using prevu.

One curious observation though: there is no warning before an existing
file is overwritten by a new scanned file, saved as a PDF.

Thank you.

-- 
locks when trying to save as PDF
https://bugs.launchpad.net/bugs/424249
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 183492] Re: [needs-packaging] Open Komodo Edit

2010-01-24 Thread R (Chandra) Chandrasekhar
Any progress on packaging a .deb?

Thanks.

-- 
[needs-packaging] Open Komodo Edit
https://bugs.launchpad.net/bugs/183492
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 424249] Re: locks when trying to save as PDF

2010-01-12 Thread R (Chandra) Chandrasekhar
I have experienced the same problems as noted above.

Here is what I did to work around.

1. I installed the imagemagick-6.5.8.3 source package, generated the
.deb using prevu, and installed the resulting package on Karmic Koala on
an amd-64 PC. My packages have version number 6.5.8.3-1~9.10prevu1.

2. I ran gscan2pdf with the new package and experienced the same hanging
at 50% on saving to PDF.

3. I deleted my ~/.gscan2pdf file and re-ran gscan2pdf. This time, I was
able to save successfully to PDF. Interestingly, the progress dialog on
saving still hung at 50% but then very rapidly concluded the action and
disappeared.

4. Note: on scanning lineart, there is no compression and indeed no
choice for compression other than none. On scanning grayscale, I chose
no compression again.

In sum, changing the imagemagick suite to the latest on the
Debian/Ubuntu source repositories and removing the old ~/.gscan2pdf file
did the trick.

I am happy to provide more information if I am told what to send. I
would love to see this bug squashed: gscan2pdf is such a good package.

Thank you for your efforts.

-- 
locks when trying to save as PDF
https://bugs.launchpad.net/bugs/424249
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 424249] Re: locks when trying to save as PDF

2010-01-12 Thread R (Chandra) Chandrasekhar
I have experienced the same problems as noted above.

Here is what I did to work around.

1. I installed the imagemagick-6.5.8.3 source package, generated the
.deb using prevu, and installed the resulting package on Karmic Koala on
an amd-64 PC. My packages have version number 6.5.8.3-1~9.10prevu1.

2. I ran gscan2pdf with the new package and experienced the same hanging
at 50% on saving to PDF.

3. I deleted my ~/.gscan2pdf file and re-ran gscan2pdf. This time, I was
able to save successfully to PDF. Interestingly, the progress dialog on
saving still hung at 50% but then very rapidly concluded the action and
disappeared.

4. Note: on scanning lineart, there is no compression and indeed no
choice for compression other than none. On scanning grayscale, I chose
no compression again.

In sum, changing the imagemagick suite to the latest on the
Debian/Ubuntu source repositories and removing the old ~/.gscan2pdf file
did the trick.

I am happy to provide more information if I am told what to send. I
would love to see this bug squashed: gscan2pdf is such a good package.

Thank you for your efforts.

-- 
locks when trying to save as PDF
https://bugs.launchpad.net/bugs/424249
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[STUMP] [PATCH 1/4] Fixing make-image.lisp for CCL

2009-12-26 Thread Adlai Chandrasekhar
CCL:SAVE-APPLICATION by default just dumps a heap image, which is
used with the CCL kernel (this kernel/image division is found in
other lisps too, such as SBCL). This image can't be run without
the separate kernel file.

To get CCL to dump an executable image, you can request that the
kernel be prepended to the image.
---
 make-image.lisp.in |4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/make-image.lisp.in b/make-image.lisp.in
index 9f0d882..03fdbe4 100644
--- a/make-image.lisp.in
+++ b/make-image.lisp.in
@@ -44,9 +44,7 @@
   (asdf:oos 'asdf:load-op 'stumpwm))
 #+openmcl
 (progn
-  (ccl:save-application stumpwm :toplevel-function (lambda ()
-  (stumpwm:stumpwm)
-  (ccl:quit
+  (ccl:save-application stumpwm :prepend-kernel t :toplevel-function 
#'stumpwm:stumpwm))
 
 ;;; ECL
 
-- 
1.6.6



___
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel


[STUMP] [PATCH 2/4] Updating the README

2009-12-26 Thread Adlai Chandrasekhar
 - CCL is now listed as a supported platform
 - `make install' is mentioned
 - There's also a little warning about CCL's thirst for VIRT.
---
 README |   29 +
 1 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/README b/README
index 33040d6..ef39fa2 100644
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ The Stump Window Manager
 Stumpwm is a window manager written entirely in Common Lisp. It
 attempts to be highly customizable while relying entirely on the
 keyboard for input. You will not find buttons, icons, title bars, tool
-bars, or any of the other conventional GUI widgets. 
+bars, or any of the other conventional GUI widgets.
 
 These design decisions reflect the growing popularity of productive,
 customizable lisp based systems.
@@ -15,14 +15,14 @@ Build  Start Stumpwm
 Prerequisites
 =
 
-* a common lisp distribution. clisp and SBCL both work.
+* a common lisp distribution. CCL, CLISP, and SBCL all work.
 * clx
 * cl-ppcre
 
-If you intend to use sbcl you need to install portable-clx. If you're
-using clisp, make sure you use at least version 2.42 and that clisp is
-compiled with new-clx. As of clisp 2.42, new-clx works fine with
-stumpwm. Any version before that is too buggy to run stumpwm.
+If you intend to use SBCL or CCL you need to install portable-clx. If
+you're using clisp, make sure you use at least version 2.42 and that
+clisp is compiled with new-clx. As of clisp 2.42, new-clx works fine
+with stumpwm. Any version before that is too buggy to run stumpwm.
 
 You can use asdf-install to install lisp libraries:
   $ sbcl
@@ -45,6 +45,8 @@ If using clisp, you'll need to install asdf first to use 
asdf-install.
 * (asdf:operate 'asdf:load-op 'asdf-install)
 * (asdf-install:install :cl-ppcre)
 
+CCL has asdf built in, but you will need to get asdf-install like with clisp.
+
 Your operating system distribution may also have these libraries
 available.
 
@@ -74,7 +76,10 @@ $ make
 
 If all goes well, you should have a stumpwm binary now. Sorry there's
 no install yet. Just copy the binary wherever you want or run it out
-of the stumpwm/ directory.
+of the stumpwm/ directory. If autoconf worked properly, you can
+install the binary, along with the .info documentation with:
+
+$ make install
 
 Now that you have a binary, call it from your ~/.xinitrc file:
 
@@ -91,13 +96,21 @@ common is sluggishness. It may also cause stumpwm to become
 unresponsive. If you use SBCL, consider using a version built without
 threads.
 
+CCL And Virtual Memory
+--
+
+On 64bit platforms, CCL reserves a very large amount of virtual
+memory. If this bothers you for some reason, you can pass the -R or
+--heap-reserve option to the binary in your ~/.xinitrc file. See
+http://ccl.clozure.com/manual/chapter15.1.html for an explanation.
+
 Help
 
 
 There's a texinfo manual, stumpwm.texi. the build scripts generate an
 info file you can read in emacs or with the `info' program.
 
-For other stuff visit the stumpwm wiki: 
+For other stuff visit the stumpwm wiki:
 
 http://stumpwm.antidesktop.net/
 
-- 
1.6.6



___
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel


[STUMP] [PATCH 4/4] Eliminating compilation warnings on CCL

2009-12-26 Thread Adlai Chandrasekhar
---
 floating-group.lisp |1 +
 help.lisp   |1 +
 version.lisp.in |1 +
 wrappers.lisp   |2 ++
 4 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/floating-group.lisp b/floating-group.lisp
index 7526dba..b6cfc70 100644
--- a/floating-group.lisp
+++ b/floating-group.lisp
@@ -186,6 +186,7 @@
(xlib:drawable-y (window-xwin window)
(multiple-value-bind (relx rely same-screen-p child state-mask)
(xlib:query-pointer (window-parent window))
+ (declare (ignore same-screen-p child))
  (let ((initial-width (xlib:drawable-width (slot-value window 
'parent)))
(initial-height (xlib:drawable-height (slot-value window 
'parent
(labels ((move-window-event-handler (rest event-slots key 
event-key allow-other-keys)
diff --git a/help.lisp b/help.lisp
index cb07492..ade6f00 100644
--- a/help.lisp
+++ b/help.lisp
@@ -64,6 +64,7 @@
 (columnize data cols
 
 (defcommand commands () ()
+List all available commands.
   (let* ((screen (current-screen))
  (data (all-commands))
  (cols (ceiling (length data)
diff --git a/version.lisp.in b/version.lisp.in
index 695c6b5..959b9af 100644
--- a/version.lisp.in
+++ b/version.lisp.in
@@ -37,6 +37,7 @@
 *time-format-string-default*)))
 
 (defcommand version () ()
+Print version information and compilation date.
   (message *version*))
 
 ;; End of file
diff --git a/wrappers.lisp b/wrappers.lisp
index f95599a..f813bf8 100644
--- a/wrappers.lisp
+++ b/wrappers.lisp
@@ -176,6 +176,7 @@
 (find-symbol UNIX-FILE-KIND :sb-unix
 (defun pathname-is-executable-p (pathname)
   Return T if the pathname describes an executable file.
+  (declare (ignorable pathname))
   #+sbcl
   (let ((filename (coerce (sb-ext:native-namestring pathname) 
'base-string)))
 (and (eq (funcall file-kind-fun filename) :file)
@@ -370,6 +371,7 @@ regarding files in sysfs. Data is read in chunks of 
BLOCKSIZE bytes.
   (error unimplemented))
 
 (defun execv (program rest arguments)
+  (declare (ignorable program arguments))
   ;; FIXME: seems like there should be a way to do this in sbcl the way it's 
done in clisp. -sabetts
   #+sbcl
   (sb-alien:with-alien ((prg sb-alien:c-string program)
-- 
1.6.6



___
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel


[Bug 368053] Re: Jaunty fails to recognize USB-connected cell phone as device

2009-11-21 Thread R (Chandra) Chandrasekhar
On Kubuntu Karmic 9.10 I have the same problem with an Sony Ericsson
K750i mobile phone.

Here is what I did to get around the problem:

1. sudo apt-get install usbmount pmount

2. Create /etc/udev/rules.d/75-mobile-phone.rules with this content:

SUBSYSTEM!=usb_device, ACTION!=add, GOTO=mobile_phone_rules_end

# Sony Ericsson K750i mobile phone
SYSFS{idVendor}==0fce, SYSFS{idProduct}==d016, GROUP=plugdev, MODE=0660

LABEL=mobile_phone_rules_end

3. Check that dmesg | tail had something like this:

[ 9833.932132] scsi 15:0:0:0: Direct-Access Sony Eri Memory Stick  
PQ: 0 ANSI: 0
[ 9833.933302] sd 15:0:0:0: Attached scsi generic sg3 type 0
[ 9833.972064] sd 15:0:0:0: [sdc] 124416 512-byte logical blocks: (63.7 MB/60.7 
MiB)
[ 9833.982224] sd 15:0:0:0: [sdc] Write Protect is off
[ 9833.982235] sd 15:0:0:0: [sdc] Mode Sense: 00 6a 00 00
[ 9833.982242] sd 15:0:0:0: [sdc] Assuming drive cache: write through
[ 9834.015020] sd 15:0:0:0: [sdc] Assuming drive cache: write through
[ 9834.015029]  sdc: sdc1
[ 9834.055064] sd 15:0:0:0: [sdc] Assuming drive cache: write through
[ 9834.055076] sd 15:0:0:0: [sdc] Attached SCSI removable disk

4. pmount /dev/sdc1 /media/usb0

5. cd /media/usb0

to access the mobile phone as a mass storage device.

6. cd ~/; pumount /media/usb0

to unmount the device.

This workaround was suggested by

http://ubuntuforums.org/showpost.php?p=6204815postcount=13

I do not understand the intricacies of how this works or whether it will
always work, but it enabled me to download the images from my mobile
phone in Karmic, something that I was able to do in previous releases
but not in Karmic.

-- 
Jaunty fails to recognize USB-connected cell phone as device
https://bugs.launchpad.net/bugs/368053
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [STUMP] Patch to STUMPWM::FORMAT-EXPANDER in primitives.lisp

2009-10-25 Thread Adlai Chandrasekhar

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 25 Oct 2009, Ben Spencer wrote:

On Sat, Oct 24, 2009 at 09:33:48AM +0200, Adlai Chandrasekhar wrote:

I've written a little patch for a friend, that enables the use of ^
after a number in a format expansion string (such as
*SCREEN-MODE-LINE-FORMAT* or *WINDOW-FORMAT*) to trim from the left,
instead of the right.


While reviewing this patch, I noticed what appears to be a
pre-existing bug.  Unless I'm missing something, the (format t %~a
len) in format-expand should actually be appending onto the output
(since the idea is to add the literal string if there's no format
char).


That looks like a bug to me too... I guess one solution would be to wrap
it with (setf output (concatenate 'string output (format nil ...))).


The patch itself has a minor bug in that from-left-p is referred to as
from-end-p at one point (only just spotted that thanks to a compile
warning).  Other than that it looks fine (although I think the
function as a whole could do with a cleanup, especially if we add more
stuff like this), and I'll push it shortly if nobody else has comments
to make.


Thank you for catching that bug. I'll try cleaning up that function as a 
whole (once you've pushed my fix, to avoid merge conflicts...), does 
anybody have any suggestions? I think a good approach would be to use 
WITH-OUTPUT-TO-STRING rather than the current approach.


Happy Tiling,

Adlai
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Topal (http://freshmeat.net/projects/topal)

iQEcBAEBAgAGBQJK5JnXAAoJEEQDvZxQqpedKFoIAK9BIEwMvteuHIptTeTDm6NA
UACzhavnbEs5essTk3nIAGajNt2Xr03F27VCkfBy4y89sS1R+D51zBXRMbOeWFtV
0L4ojig5nQKy1vQGqfokjH50uStoaBNa+doOIULvjI78ogd0JkqLVFd16ybJkkpW
AVOP28+EfF+Zw0JSKf+NtraYYxIwC8K8muiqW2XjNwWTqoR3hzRjBM+bPwXRuC0a
Va2vDMJ5HvfpogdePwiLyL+fbXaaPbIAzeVSyU9jnHx1+nGjCV+p/nDhoBgIFO5M
4T9G6DlnAejbcnO+pPFc7nfoIjkp5VuRXc5nfJDBqj28ni9o9wmFxlYNiI1WiZI=
=QVE3
-END PGP SIGNATURE-


___
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel


[STUMP] Patch to STUMPWM::FORMAT-EXPANDER in primitives.lisp

2009-10-24 Thread Adlai Chandrasekhar

Greetings, fellow tilers of windows!

I've written a little patch for a friend, that enables the use of ^ after 
a number in a format expansion string (such as *SCREEN-MODE-LINE-FORMAT* 
or *WINDOW-FORMAT*) to trim from the left, instead of the right.


I picked the #\^ character because it's fairly standard for an 
end-of-string anchor, because of its use in perl-compatible regex. I 
considered using one of the FORMAT modify characters, but since format 
expansion strings aren't format strings, I ended up settling with this.


Thoughts? Comments? Cookies? Flames? Patch attached.

The patch was made against commit 95c420e6214908d96e08eeed27bb7a1ee0d103bf 
from the official git repo. I've made a commit in my local repo, so I 
could push this myself if that's more convenient.


Happy Hacking,
AdlaiFrom 7e833c6aa927d9cb4222c215aa0369b2cbfbf4e8 Mon Sep 17 00:00:00 2001
From: Adlai Chandrasekhar munchk...@gmail.com
Date: Sat, 24 Oct 2009 09:07:13 +0200
Subject: [PATCH] Added left trim option for format-expand strings

---
 primitives.lisp |   15 ++-
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/primitives.lisp b/primitives.lisp
index 4fd7e41..b0f9224 100644
--- a/primitives.lisp
+++ b/primitives.lisp
@@ -706,9 +706,11 @@ do:
 (setf cur (cdr cur))
 (let* ((tmp (loop while (and cur (char= #\0 (car cur) #\9))
   collect (pop cur)))
-   (len (and tmp (parse-integer (coerce tmp 'string)
+   (len (and tmp (parse-integer (coerce tmp 'string
+   ;; So that eg %25^t will trim from the left
+   (from-left-p (when (char= #\^ (car cur)) (pop cur
   (if (null cur)
-  (format t %~a len)
+  (format t %...@[~a~] len from-end-p)
   (let* ((fmt (cadr (assoc (car cur) fmt-alist :test 'char=)))
  (str (cond (fmt
  ;; it can return any type, not jut as 
string.
@@ -718,9 +720,12 @@ do:
 (t
  (concatenate 'string (string #\%) (string 
(car cur)))
 ;; crop string if needed
-(setf output (concatenate 'string output (if len
- (subseq str 0 
(min len (length str)))
- str)))
+(setf output (concatenate 'string output
+  (cond ((null len) str)
+((not from-left-p) ; 
Default behavior
+ (subseq str 0 (min len 
(length str
+;; New behavior -- trim 
from the left
+(t (subseq str (max 0 (- 
(length str) len)))
 (setf cur (cdr cur))
(t
 (setf output (concatenate 'string output (string (car cur)))
-- 
1.6.5.1

___
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/stumpwm-devel


Re: [Bug 392898] Re: prevu error: No space left on device

2009-10-20 Thread R (Chandra) Chandrasekhar
Dimitrios Symeonidis wrote:
 chandra, is this still an issue for you?
 
 ** Changed in: prevu (Ubuntu)
Status: New = Incomplete
 

I cannot say for sure, but the next time I tried compiling kate source 
using prevu, I got a different error.

In any case, I hope that karmic fixes the problem with kate that I was 
trying to solve by compiling source with prevu.

HTH.

Chandra
20 Oct 09
-- 
--
R (Chandra) Chandrasekhar
Perth, Western Australia
email: chyav...@gmail.com
--

-- 
prevu error: No space left on device
https://bugs.launchpad.net/bugs/392898
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


Re: [Bug 392898] Re: prevu error: No space left on device

2009-10-20 Thread R (Chandra) Chandrasekhar
Dimitrios Symeonidis wrote:
 chandra, is this still an issue for you?
 
 ** Changed in: prevu (Ubuntu)
Status: New = Incomplete
 

I cannot say for sure, but the next time I tried compiling kate source 
using prevu, I got a different error.

In any case, I hope that karmic fixes the problem with kate that I was 
trying to solve by compiling source with prevu.

HTH.

Chandra
20 Oct 09
-- 
--
R (Chandra) Chandrasekhar
Perth, Western Australia
email: chyav...@gmail.com
--

-- 
prevu error: No space left on device
https://bugs.launchpad.net/bugs/392898
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: Announcing Google Code Jam 2009

2009-07-21 Thread Chandrasekhar
Its time to practice. Lets all njoy programming. All the best for
everyone... :)

On Tue, Jul 21, 2009 at 1:53 AM, Wonka Ricky ai8...@gmail.com wrote:

 Cool

 The GCJ 2009 is finally showed up. Let's go for it!!!  [?]

 Hope for the best plan for the worst !!!


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
google-codejam group.
To post to this group, send email to google-code@googlegroups.com
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en
-~--~~~~--~~--~--~---

inline: 1E3.gif

[bug-inetutils] RE: Developer wanted for GNU Internet Utilities

2009-07-20 Thread chandrasekhar annamaneni
Hello..

I'm interested in contributing to the GNU inetutils project as a developer.

I have over 12 years experience as a programmer, mostly in various unices
and C.
I have written networking code including code around TCP/IP. I'm sure I can
learn IPV6.

Looking forward to hearing from you.

regards
Chandra


[Bug 392898] [NEW] prevu error: No space left on device

2009-06-27 Thread R (Chandra) Chandrasekhar
Public bug reported:

Binary package hint: prevu

I am trying to compile kate from Karmic source using prevu on a Jaunty
machine with lots of hard disk space on all partitions. I have confirmed
that no partition is even close to maxing out. The highest usage is on
my root (/) partition at 59.6% with almost 8 GB free.

The build of qt4-x11-4.5.1 proceeds successfully until almost the end
when it fails with the message:

---
cp: writing `debian/libqt4-qt3support//usr/lib/libQt3Support.so.4.5.1': No 
space left on device
dh_install: command returned error code 256
make: *** [binary-install/libqt4-qt3support] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status2
---

Other relevant information:

1. lsb_release -rd
Description:Ubuntu 9.04
Release:9.04

2. apt-cache policy prevu
revu:
  Installed: 1:0.5.2-0ubuntu1
  Candidate: 1:0.5.2-0ubuntu1
  Version table:
 *** 1:0.5.2-0ubuntu1 0
500 http://ftp.iinet.net.au jaunty/universe Packages
100 /var/lib/dpkg/status

3. What you expected to happen
I expected the prevu compilation from source to complete as there was no other 
error before this.

4. What happened instead
Compilation/installation aborted with the error message given above.

I have two questions:

(a) Why does this error occur?

(b) How can I work around it?

Many thanks.
P.S. Perhaps the problem is with an underlying python script or another package 
but I have encountered the error in prevu.

** Affects: prevu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
prevu error: No space left on device
https://bugs.launchpad.net/bugs/392898
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 392898] [NEW] prevu error: No space left on device

2009-06-27 Thread R (Chandra) Chandrasekhar
Public bug reported:

Binary package hint: prevu

I am trying to compile kate from Karmic source using prevu on a Jaunty
machine with lots of hard disk space on all partitions. I have confirmed
that no partition is even close to maxing out. The highest usage is on
my root (/) partition at 59.6% with almost 8 GB free.

The build of qt4-x11-4.5.1 proceeds successfully until almost the end
when it fails with the message:

---
cp: writing `debian/libqt4-qt3support//usr/lib/libQt3Support.so.4.5.1': No 
space left on device
dh_install: command returned error code 256
make: *** [binary-install/libqt4-qt3support] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status2
---

Other relevant information:

1. lsb_release -rd
Description:Ubuntu 9.04
Release:9.04

2. apt-cache policy prevu
revu:
  Installed: 1:0.5.2-0ubuntu1
  Candidate: 1:0.5.2-0ubuntu1
  Version table:
 *** 1:0.5.2-0ubuntu1 0
500 http://ftp.iinet.net.au jaunty/universe Packages
100 /var/lib/dpkg/status

3. What you expected to happen
I expected the prevu compilation from source to complete as there was no other 
error before this.

4. What happened instead
Compilation/installation aborted with the error message given above.

I have two questions:

(a) Why does this error occur?

(b) How can I work around it?

Many thanks.
P.S. Perhaps the problem is with an underlying python script or another package 
but I have encountered the error in prevu.

** Affects: prevu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
prevu error: No space left on device
https://bugs.launchpad.net/bugs/392898
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 220957] Re: Fails to see blank CD/DVDs for writing

2009-06-21 Thread R (Chandra) Chandrasekhar
I used to experience this problem with my previous i386 PC which had a
Pioneer DVD reader-writer. The problem never went away.

I am now on an AMD 64 machine with an ASUS DVD reader-writer and am
running Jaunty. There is no problem now.

It would perhaps be useful if you stated your brand and model of DVD
reader-writer. I think that this problem arises with certain brand/model
combinations of CD/DVD reader-writers and their device-level
interactions with the kernel.

-- 
Fails to see blank CD/DVDs for writing
https://bugs.launchpad.net/bugs/220957
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus-cd-burner in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 220957] Re: Fails to see blank CD/DVDs for writing

2009-06-21 Thread R (Chandra) Chandrasekhar
I used to experience this problem with my previous i386 PC which had a
Pioneer DVD reader-writer. The problem never went away.

I am now on an AMD 64 machine with an ASUS DVD reader-writer and am
running Jaunty. There is no problem now.

It would perhaps be useful if you stated your brand and model of DVD
reader-writer. I think that this problem arises with certain brand/model
combinations of CD/DVD reader-writers and their device-level
interactions with the kernel.

-- 
Fails to see blank CD/DVDs for writing
https://bugs.launchpad.net/bugs/220957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362186] Re: Spurious lines on print outs

2009-06-03 Thread R (Chandra) Chandrasekhar
I replaced /usr/lib/cups/filter/pdftops with the new Poppler-based
pdftops filter and changed its permissions to 755 as advised at
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/362186/comments/43
above.

Now, the job does not get printed although it shows up in the printer
queue. The printer light does not flash to show a pending job either.
Could it be missing an end-of-file marker?

Reverting to the original  /usr/lib/cups/filter/pdftops reactivates
printing but with the original problem. So the non-printing is a direct
result of using the new filter.

-- 
Spurious lines on print outs
https://bugs.launchpad.net/bugs/362186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362186] Re: Spurious lines on print outs

2009-06-03 Thread R (Chandra) Chandrasekhar
I tried

apport-collect 362186

and went as far as the Almost finished ... stage but did not know how
to go back to the application window in which you started the process
and inform it that you have done your part of the process. This seems
arcane for a CLI. What does one type in on a terminal that is obviously
not accepting input?

I also tried

ubuntu-bug cups

but do not know how to link the information it collected to this bug-
report.

Any advice for further action on either option is much appreciated.

The error log is attached.

** Attachment added: Contents of /var/log/cups/error_log
   http://launchpadlibrarian.net/27459830/error_log

-- 
Spurious lines on print outs
https://bugs.launchpad.net/bugs/362186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362186] Re: Spurious lines on print outs

2009-06-03 Thread R (Chandra) Chandrasekhar
I have re-installed poppler-utils and used the latest Improved Poppler-
based pdftops and printed the PDF. I can report the following:

1. The small piece of the lower border of each letter [being] added to
the upper border problem has now gone. Thank you very much for that.

2. When I superimposed this printout with one of the same page printed
on the same printer from another PC running Intrepid, I find the
following differences on the new printout:

(a) Header is moved down by 4 mm
(b) Footer is moved up by 7mm
(c) Left margin is moved inward by 4mm
(d) The same line occupies a shorter length

I wonder whether these result from different default paper size settings
and scale to fit options on the two PCs.

I will re-install the printer on the Jaunty machine and report back if
these differences still exist.

Thank you.

-- 
Spurious lines on print outs
https://bugs.launchpad.net/bugs/362186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362186] Re: Spurious lines on print outs

2009-06-03 Thread R (Chandra) Chandrasekhar
After re-installing the printer on the Jaunty PC, the new printout is
raised by 2 mm for the whole page. Once the pages are so aligned, if a
light is shone through the two pages, the printout appears as one. This
is sufficient for me.

I think the problem has been solved.

My deep gratitude to Till Kamppeter for solving this.

-- 
Spurious lines on print outs
https://bugs.launchpad.net/bugs/362186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362186] Re: Spurious lines on print outs

2009-05-29 Thread R (Chandra) Chandrasekhar
I can confirm the same problems  as reported above, with PDF documents
written with Adobe Minion Pro and Wranock Pro on Kubuntu 9.04 on an AMD
64 PC.

However, a PDF embodying Linux Libertine OTF, Lohit Tamil, and Lohit
Hindi fonts does not suffer from the small piece of the lower border of
each letter [being] added to the upper border noted by Till Kamppeter
above.

My workaround thus far has been to print affected documents from a Hardy
Heron PC, but I eagerly await a speedy resolution to this problem on
Intrepid.

Thanks.

-- 
Spurious lines on print outs
https://bugs.launchpad.net/bugs/362186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Polish thief flees to ... poolice headquarters

2009-05-25 Thread Chandrasekhar
patristical.jpg___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

[Mrbs-commits] Polish thief flees to ... poolice headquarters

2009-05-25 Thread Chandrasekhar
patristical.jpg--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
Mrbs-commits mailing list
Mrbs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-commits


[Bug 306002] Re: /etc/mysql/my.cnf cannot be read

2009-05-16 Thread R (Chandra) Chandrasekhar
Jerod D. Klink, you might wish to look at:

http://www.jemmatzan.com/2009/02/the-default-ubuntu-mycnf-for-mysql-
50x.html

-- 
 /etc/mysql/my.cnf cannot be read
https://bugs.launchpad.net/bugs/306002
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 306002] Re: /etc/mysql/my.cnf cannot be read

2009-05-16 Thread R (Chandra) Chandrasekhar
Jerod D. Klink, you might wish to look at:

http://www.jemmatzan.com/2009/02/the-default-ubuntu-mycnf-for-mysql-
50x.html

-- 
 /etc/mysql/my.cnf cannot be read
https://bugs.launchpad.net/bugs/306002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 267399] Re: Intrepid: K3B fails to rip to MP3

2009-04-26 Thread R (Chandra) Chandrasekhar
Thank you so much Ralf Jung. I did what you suggested and it now works!

Because it is not obvious how to do it, I have recorded below my
sequence of steps:

Settings - Configure K3b - Plugins - Audio Encoder - External Audio
Encoder - Configure - Mp3 Lame - Edit

Tick the checkboxes for Swap Byte Order and Write Wave Header in the
popup.

Then Apply - OK twice and you are good to go.

Once more, many thanks for the workaround.

-- 
Intrepid: K3B fails to rip to MP3
https://bugs.launchpad.net/bugs/267399
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 289699] Re: Kate crashed and caused the signal 11 (SIGSEGV)

2009-04-26 Thread R (Chandra) Chandrasekhar
This problem still persists in Kubuntu Jaunty on an AMD 64.

Backtrace is attached.

** Attachment added: kate.kcrash
   http://launchpadlibrarian.net/26001782/kate.kcrash

-- 
Kate crashed and caused the signal 11 (SIGSEGV)
https://bugs.launchpad.net/bugs/289699
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 41651] Re: Created file doesn't appear on Open recent list unless opened through konqueror

2009-04-25 Thread R (Chandra) Chandrasekhar
I can confirm this kate bug on  Kununtu Jaunty upgraded from Intrepid.
Please fix this anomaly; kile does not suffer from it.

-- 
Created file doesn't appear on Open recent list unless opened through 
konqueror
https://bugs.launchpad.net/bugs/41651
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 267399] Re: Intrepid: K3B fails to rip to MP3

2009-04-25 Thread R (Chandra) Chandrasekhar
I have upgraded Intrepid to Jaunty on Kubuntu and I still have the
problem. The elegant workaround at

https://bugs.launchpad.net/ubuntu/+source/k3b/+bug/267399/comments/15

does not work for me either.

For the record, although I am running KDE 4.2.2, K3b is 1.0.5 on KDE
3.5.10.

dpkg -l lame gives

ii  lame   3.98-0.0   LAME Ain't an MP3 Encoder

Kindly solve this issue.

Thanks.

-- 
Intrepid: K3B fails to rip to MP3
https://bugs.launchpad.net/bugs/267399
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 229745] Re: after fix for #215728 - Committing to urlclassifier3.sqlite still causes excessive CPU usage and disk I/O (the 2nd)

2009-04-02 Thread R (Chandra) Chandrasekhar
Arthur wrote:
 This was Firefox idle? Without flash movies, Ajax applications etc.?
 Mine only shows low one digit kb/s values when using it actively.
 Nothing when not using it.
 

Nothing more than a few open tabs and normal browsing. No flash, 
Googlemap, etc.

Ever since FF 3.0.5 beta, I have had this type of problem. It then 
decreased and receded into the background when an interim fox with 
xulrunner was issued. Now it has suddenly re-emerged into the foreground 
as a distraction after the latest security fix in 3.0.8.

-- 
after fix for #215728 - Committing to urlclassifier3.sqlite still causes 
excessive CPU usage and disk I/O (the 2nd)
https://bugs.launchpad.net/bugs/229745
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[oXygen-user] File Your Income-tax return in 3 easy steps - myITreturn.com

2009-04-01 Thread chandrasekhar . revuri
Title: Untitled Document
  			 	  Income-tax filing - easy!(File your IT return in 5 minutes)Skorydov   myITreturn makes filing simple (and easy).	  Start FREE by creating a user...Using the e-filing application is FREE. You need to pay only once you are confirming for e-filing. Get started nowe-filing is easy, secure and takes minutes to file.myITreturn assures that application is secure, fast and extremely easy to use. You will not need to submit any paper proof of TDS, earnings, deductions etc. Maximum Refund Guaranteed (yes!) myITreturn has been tested by experts and used by thousands to file their IT return with maximum refund.  Thats   all for now. So create your login now!  and benefit from myITreturn.com. You should also invite your family and   friends to e-file their IT return.   About myITreturn.com   Website address https://myITreturn.com  About: myITreturn.com is a web based Income-tax return filing solution for Individuals. myITreturn.com is a project built on the idea to make the ever increasing tax filing headache a thing of the past. You should find this website very easy to use and very intuitive to use. Pricing:Rs. 199/- onlyTo start filing click the link below:https://myitreturn.com   	  Skorydov myITreturn.com - Go green. File your tax returns electronically.							*This   message and any attachment is confidential and may be privileged or otherwise   protected from disclosure. If you are not an intended recipient, please   notify the sender and delete this message and any attachment immediately.   If you are not an intended recipient you must not copy this message or attachment   or disclose the contents to any other person. Unless otherwise specifically   stated no legally binding commitments are created by this email. Any opinions   expressed in this message are those of the author and do not necessarily   reflect the opinions of any one else. Please   do not reply to this message. [Published on 10/05/2008]  
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
http://www.oxygenxml.com/mailman/listinfo/oxygen-user


[Bug 229745] Re: after fix for #215728 - Committing to urlclassifier3.sqlite still causes excessive CPU usage and disk I/O (the 2nd)

2009-04-01 Thread R (Chandra) Chandrasekhar
On Intrepid on an AMD 64 running firefox 3.0.8 this is a grep of all
firefox related processes when I did

pidstat -d 2 at different times:

Linux 2.6.27-14-generic (hostname) 02/04/09_x86_64_
===
09:08:05  PID   kB_rd/s   kB_wr/s kB_ccwr/s  Command
09:08:23 9140  0.00 12.00  4.00  firefox
09:08:25 9140  0.00 22.00  0.00  firefox
09:08:27 9140108.00102.00 10.00  firefox
09:08:29 9140  0.00  6.00  4.00  firefox
09:08:31 9140  0.00  3.96  3.96  firefox
09:08:33 9140  0.00 22.22  6.06  firefox
09:08:35 9140  0.00 26.00 18.00  firefox
09:08:37 9140  0.00 44.00  0.00  firefox
09:08:39 9140  0.00  4.00  4.00  firefox
09:08:41 9140  0.00 16.00 14.00  firefox
09:08:43 9140  0.00 14.00  6.00  firefox
09:08:45 9140  0.00 16.00  4.00  firefox
09:08:47 9140  6.00 76.00  4.00  firefox
09:08:49 9140  0.00  4.00  4.00  firefox
09:08:51 9140  0.00 26.00  4.00  firefox
09:08:53 9140  0.00 12.00 10.00  firefox
09:08:55 9140  0.00  8.00  6.00  firefox
09:08:57 9140  2.00 16.00  0.00  firefox
09:09:03 9140  0.00  6.00  0.00  firefox
09:09:05 9140  0.00 18.00  4.00  firefox
09:09:07 9140  4.00126.00 12.00  firefox
09:09:09 9140  0.00  6.00  4.00  firefox
09:09:11 9140  0.00  8.00  2.00  firefox
09:09:13 9140  0.00 10.00 10.00  firefox
09:09:15 9140  0.00 10.00  6.00  firefox
09:28:18 9140  0.00345.10  0.00  firefox
09:28:20 9140  0.00352.00  0.00  firefox
09:28:22 9140  0.00368.00  0.00  firefox
09:28:24 9140  0.00384.00  0.00  firefox
09:28:26 9140  0.00418.00  0.00  firefox
09:28:28 9140  0.00416.00  0.00  firefox
09:28:30 9140  0.00432.00  0.00  firefox
09:28:32 9140  0.00448.00  0.00  firefox
09:28:34 9140  0.00480.00  0.00  firefox
09:28:36 9140  0.00464.00  0.00  firefox
09:28:38 9140  0.00512.00  0.00  firefox
09:28:40 9140  0.00512.00  0.00  firefox
09:28:42 9140  0.00528.00  0.00  firefox
09:28:44 9140  0.00544.00  0.00  firefox
===

If this will not be fixed here but only in jaunty, please ensure that
this behaviour does not propagate into janunty as well.

Thanks.

-- 
after fix for #215728 - Committing to urlclassifier3.sqlite still causes 
excessive CPU usage and disk I/O (the 2nd)
https://bugs.launchpad.net/bugs/229745
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 136526] Re: Indic scripts not displayed properly (again)

2009-03-22 Thread R (Chandra) Chandrasekhar
John Vivirito wrote:
 This should have been fixed in 3.0. I am unable to reproduce this bug.
 Can you please try running firefox in safe-mode and try a new profile to
 see if it helps if you are able to reproduce it again
 
 ** Changed in: firefox-3.0 (Ubuntu)
Status: Incomplete = Invalid
 
 ** Changed in: firefox-3.0 (Ubuntu)
 Sourcepackagename: firefox = firefox-3.0
 

I can confirm that this has indeed been fixed in FF 3.0.7 in Intrepid.

Thanks.

Chandra
23 Mar 09

-- 
Indic scripts not displayed properly (again)
https://bugs.launchpad.net/bugs/136526
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 229745] Re: after fix for #215728 - Committing to urlclassifier3.sqlite still causes excessive CPU usage and disk I/O (the 2nd)

2009-03-22 Thread R (Chandra) Chandrasekhar
Alexander Sack wrote:
 in anycase, if you still have an issue in jaunty you could also
 test ext4 filesystem which should help to make the filesystem access
 done by firefox less IO hungry.

Thanks for that hint. I need clarification on the ext4 filesystem:

1. Will it be an option in jaunty?

2. Is it enough for the root partition / to be ext4 or should the /home 
partition also be ext4?

Thank you.

-- 
after fix for #215728 - Committing to urlclassifier3.sqlite still causes 
excessive CPU usage and disk I/O (the 2nd)
https://bugs.launchpad.net/bugs/229745
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[sage-devel] Corrections to tutorial

2009-03-16 Thread R (Chandra) Chandrasekhar

Dear Folks,

I am working my way through the Sage 3.4 Tutorial from my local copy of 
it, with sage running in a terminal.

I have encountered some pitfalls., some typographic errors, and some 
mystifying errors. I am collating these into a text file. But before I 
put in too much effort into it, I would like to ask what would be the 
best way for me to communicate these suggested changes, as simply 
appending a text file of changes in an email would clutter this mailing 
list.

Thank you.

Chandra

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Error in solving system of non-linear equations

2009-03-14 Thread R (Chandra) Chandrasekhar

Jason Grout wrote:
 R (Chandra) Chandrasekhar wrote:
 Would you recommend that I compile from the source tarball instead?
 
 
 Personally, that's what I recommend.  Sage development moves at a nice 
 pace, and you're already missing out on a lot of very nice features and 
 a lot of bugfixes because the debian package hasn't kept up.  The Sage 
 that you download is self-contained in one directory, which you can 
 delete or move around, so it is trivial to have multiple versions of 
 Sage installed in parallel in your home directory, for example.

Thank you. I have downloaded, compiled and installed sage-3.4 from the 
source tarball on my Kubuntu Intrepid PC. It has been packaged really 
well because there were no hiccups. I only did two things after that.

1. On the first invocation of sage after installation, with

sudo sage

I ran

install_scripts('/usr/local/bin')

at the sage: prompt.

2. I also symlinked the sage script so:

sudo ln -sf /path-to-untarred-sage/sage-3.4/sage /usr/local/bin/sage

After that, things have been running smoothly and the problem with 
solving non-linear equations that originally prompted this thread has gone.

 Does running sage -maxima 
 run maxima?  Can you solve simpler equations?

This time, on running sage -maxima I get:

---
Maxima 5.16.3 http://maxima.sourceforge.net
Using Lisp CLISP 2.46 (2008-07-02)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
---

For the benefit of the debian-sage team, the result for the Debian 
package was

---
 Maxima 5.13.0 http://maxima.sourceforge.net
 Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
 Distributed under the GNU Public License. See the file COPYING.
 Dedicated to the memory of William Schelter.
 This is a development version of Maxima. The function bug_report()
 provides bug reporting information.
---

Perhaps the differences between these two versions, including the type 
of Lisp, (plus other possible differences) contributed to the error I 
originally saw with the Debian package.

Cheers!

Chandra

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Error in solving system of non-linear equations

2009-03-13 Thread R (Chandra) Chandrasekhar

Dear Folks,

Pardon for the double-posting since I am unsure which list is more 
appropriate.

In section 2.4.1 of the Sage Tutorial, there is a non-linear equation 
example from Jason Grout that I tried out, but it failed. Details follow.

My version is built from the Ubuntu jaunty package source and runs on a 
Kubuntu Intrepid AMD 64 PC. The startup banner is

-- 

| SAGE Version 3.0.5, Release Date: 2008-07-11   | 

| Type notebook() for the GUI, and license() for information.| 

--

When I load the file with these contents for the example:
===
var('x y p q')
(x, y, p, q)
eq1 = p+q==9
eq2 = q*y+p*x==-6
eq3 = q*y^2+p*x^2==24
solve([eq1,eq2,eq3,p==1],p,q,x,y)
===

I get this error (with directory paths anonymized):
--- 

ValueErrorTraceback (most recent call 
last)

/Path-To-File_non_linear_eq_sage_0.py in module() 

   8 eq2 = q*y+p*x==-Integer(6) 

   9 eq3 = q*y**Integer(2)+p*x**Integer(2)==Integer(24) 

--- 10 solve([eq1,eq2,eq3,p==Integer(1)],p,q,x,y) 11
  12

/usr/lib/python2.5/site-packages/sage/calculus/equations.pyc in solve(f, 
*args, **kwds)
1386 s = m.solve(args)
1387 except:
- 1388 raise ValueError, Unable to solve %s for %s%(f, args)
1389 a = repr(s)
1390 sol_list = string_to_list_of_solutions(a)

ValueError: Unable to solve [q + p == 9, q*y + p*x == -6, q*y^2 + p*x^2 
== 24, p == 1] for (p, q, x, y)
WARNING: Failure executing file: Path-To-File_non_linear_eq_sage_0.py
---

The version of the tutorial that I am using came with the version of 
Sage installed. So, I do not think it is a version incmpatibility problem.

Can someone tell me what the workaround is, or whether I need to file a 
bug report.

Thank you.

Chandra

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Error in solving system of non-linear equations

2009-03-13 Thread R (Chandra) Chandrasekhar

Jason Grout wrote:

 I'm not sure what is going on here.  Version 3.0.5 is from quite a while 
 ago, at least in Sage terms.  The calculation works great in the current 
 version of Sage (version 3.4, just released yesterday, as tested on 
 http://www.sagenb.org.)  Did you say that this was from the jaunty 
 source, as in the debian packaging of Sage?  

Yes. It is from the prospective Ubuntu 9.04 (April 2009) Jaunty release 
built from Debian packages that might be customized for Ubuntu.

Would you recommend that I compile from the source tarball instead?

 Does running sage -maxima 
 run maxima?  Can you solve simpler equations?

I am unfamiliar with maxima and its syntax, but typing

sage -maxima

gives
---
Maxima 5.13.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1)
---

I was able to solve the preceding equations on that tutorial page 
without error. I think I saw a maxima crash and then a message saying 
automatically restarted but have not been able to replicate it. In any 
case I remember I got the correct answer without any manual intervention.

I am copying this reply to the debian-sage mailing list as well if it 
might help in the solution.

Thank you.

Chandra

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



<    1   2   3   4   5   6   7   8   >