[SLUG] Ubuntu Menu Editor

2005-12-15 Thread john hedge
Hi,

I've just apt-get installed Gambas.

'Programming' doesn't appear in 'Applications' although it is a ticked item in Menu Editor and so is Gambas as a sub item.

Q. How do I get them both to appear in 'Applications', please? (Is this a permissions issue?)

TIA

John  
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Ubuntu Menu Editor

2005-12-15 Thread Phil Scarratt

john hedge wrote:

Hi,

I've just apt-get installed Gambas.

'Programming' doesn't appear in 'Applications' although it is a ticked 
item in Menu Editor and so is Gambas as a sub item.


Q. How do I get them both to appear in 'Applications', please? (Is this 
a permissions issue?)


TIA

John 



Normally they should appear. Have you tried logging out and then back in 
again?


Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OOPS .. contd.

2005-12-15 Thread Daniel Bush
On 12/15/05, Adam Felix Bogacki [EMAIL PROTECTED] wrote:
 Do you have an /etc/rc.d/rc.sysinit file or similar?Tux:/# find -name rc.sysinit -print./opt/ltsp/i386/etc/rc.sysinitI
should mention that rc.sysinit is very redhat-ish. With a
debian-like system you are more likely to have something like
/etc/rcS.d/set up scripts. Which looks like what you've
got. So I think I might be confusing you more with regional linux
differences. I really don't know about using the ltsp rc.sysinit
you mentioned; that's a thin-client software or something - it's not
part of your system proper. 

In general it sounds like there are some fundamentals going wrong with
your system (not least file permissions, mounts and partitions) which
is good in one sense, because the fix might not be too hard and might
get everything working properly all of a sudden. 

Sorry, I can't untangle it - too many things to track.

Daniel

ps with the old kernel, if you compiled it, you might find it wherever
you built it and it might have an 'x' in its name: vmlinux* -
presumably uncompressed.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Virtual Host

2005-12-15 Thread jam
Hi
any ideas or comments welcome:

Once upon a time I setup a host with two virtual hosts
   their product: http://www.edc.com.au
   their admin:   http://stm.com.au
The land was at peace ...

Then ... they installed a router and the server box became relegated to a 
192.168... and the router forwarded requests to TheBox which lost the ability 
to see the www part of a request and showed only 1 page.

Is there a solution? that will allow two pages via the router. I see lots of 
options but am devoid of inspiration.

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Virtual Host

2005-12-15 Thread Matthew Hannigan
On Thu, Dec 15, 2005 at 07:54:50PM +0800, [EMAIL PROTECTED] wrote:
 Once upon a time I setup a host with two virtual hosts
their product: http://www.edc.com.au
their admin:   http://stm.com.au
 The land was at peace ...
 
 Then ... they installed a router and the server box became relegated to a 
 192.168... and the router forwarded requests to TheBox which lost the ability 
 to see the www part of a request and showed only 1 page.
 
 Is there a solution? that will allow two pages via the router. I see lots of 
 options but am devoid of inspiration.

If you mean the box has only one address now, then yeah
you can use name based virtual hosting (rather than ip based
virtual hosting)

http://httpd.apache.org/docs/2.0/vhosts/name-based.html

Matt

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ipv6

2005-12-15 Thread Anand Kumria
On Tue, Dec 13, 2005 at 02:03:29PM +1100, Dean Hamstead wrote:
 im not sure if this is a chat topic or not

nah

 
 but anyway, is anyone here using ipv6? 

yes, in fact progsoc -- where slug.org.au is hosted -- is also using
IP6. While you can ping6 the slug box on 2001:388:c152:7::4 alas the
webserver is not listening via IPv6.

 i can just about guarentee that the linksys router,
 belkin and apple waps are also not ipv6 compatable

Some linksys routers are, for example,
http://www.research.earthlink.net/ipv6/
have an image for a WRT54G router that basically autoconfigures
everything.

 so, like i was saying. id like to hear from anyone running
 it at home or work etc (or using ?6bone?) especially with
 off the shelf appliance style hardware.

Since my work is my home, I'm running it at both places.

Anand

-- 
 `When any government, or any church for that matter, undertakes to say to
  its subjects, This you may not read, this you must not see, this you are
  forbidden to know, the end result is tyranny and oppression no matter how
  holy the motives' -- Robert A Heinlein, If this goes on --
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ipv6

2005-12-15 Thread Anand Kumria
On Tue, Dec 13, 2005 at 03:37:09PM +1100, Alexander Samad wrote:
 
 I also have 2 internet connections (1 static and 1 dynamic),  I onyl use the 
 ip6to4 addressing
 schema, which is a pain for the dhcp internet address cause I have to
 make changes to my internet dns, if memory serves me correctly you get a

If you have a static IPv4 address you can use either the AARNet IPv6
tunnel broker (reasonably okay) or 6to4 address (tends to have higher
latency due to dog-leg routing).

If you have a dynamic IPv4 you really want to be using the AARNet IPv6
broker.

One advantage 6to4 address has is that you can get your reverse DNS
setup (http://6to4.nro.net).

 /64 on the 6to4 address space to chop up how you want internally, also
 using fe80 for site addressing so I can use these addresses with out
 worring about the changing dhcp address and therefor a changing 6to4
 address

The site-local prefix (fe80) has been deprecated (rfc3879), instead you 
want IPv6 local addresses (rfc4193) which you can self-generate with
tools such as:
http://www.hznet.de/tools/generate-uniq-local-ipv6-unicast-addr.sh

 I routing my encapsulated traffic via ::192.231.212.5 (aus 4to6 gateway)
 and via the ::192.88.99.1 which is defined as a 4to6 gateway which is
 mean to be provided by your isp 

You mean 6to4, however the 6to4 anycast address (::192.88.99.1) is
normally provided by the topologically closest network -- at the moment
that is switzerland as neither AARNet nor Telstra advertise reachability
of their 6to4 service.

 had some fun setting it up and ip6tables, but now I have it running
 haven't played with it in a while.  Setup my proxy pack to try ipv6
 addresses first for some sites

Which proxy are you using? I was under the impression that Squid was
fundamentally broken w.r.t IPv6 -- I'm been meaning to look at Apache2
mod_proxy but, on my laptop, I'm using polipo with some success.

Anand

-- 
 `When any government, or any church for that matter, undertakes to say to
  its subjects, This you may not read, this you must not see, this you are
  forbidden to know, the end result is tyranny and oppression no matter how
  holy the motives' -- Robert A Heinlein, If this goes on --


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Help Me - C codes

2005-12-15 Thread Angus Lees
At Mon, 28 Nov 2005 05:53:24 +1100, Tess Snider wrote:
 On 11/27/05, Crossfire [EMAIL PROTECTED] wrote:
  This is a case of recursion.
 What's totally crazy is that once you've been programming a while, and
 really understand this recursion stuff well, you have to then learn to
 stop using it.  It's very sad, because recursion is good stuff, but
 the trouble is that, in C, arbitrarily large recursions make your
 stack the size of Godzilla.

I realise I'm a bit behind the times with continuing this thread, but
I'm surprised no-one mentioned that modern compilers are quite capable
of turning tail-recursion into in-place iteration.

As a silly example, just to make it obvious:

int recurse_forever(int n) {
  if (++n % 1 == 0) printf(n is %d\n, n);
  return recurse_forever(n);  /* n will wrap occasionally */
}

int main(int argc, char **argv) {
  recurse_forever(0);
  return 0;
}

Compile and run it without optimisation and it grows in memory and
segfaults.  Compile it with -O and it will happily run forever without
growing in memory.  Compare the assembly output from each and the
change is obvious - the recursive call is changed to a jmp since none
of the original state is actually needed after the recursed call
returns.

Scheme interpreters/compilers, as another example, *require* this
ability since tail-recursion is the only method of doing loops in
scheme.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ipv6

2005-12-15 Thread Alexander Samad
On Fri, Dec 16, 2005 at 01:00:32AM +1100, Anand Kumria wrote:
 On Tue, Dec 13, 2005 at 03:37:09PM +1100, Alexander Samad wrote:
  
  I also have 2 internet connections (1 static and 1 dynamic),  I onyl use 
  the ip6to4 addressing
  schema, which is a pain for the dhcp internet address cause I have to
  make changes to my internet dns, if memory serves me correctly you get a
 
 If you have a static IPv4 address you can use either the AARNet IPv6
 tunnel broker (reasonably okay) or 6to4 address (tends to have higher
 latency due to dog-leg routing).
 
 If you have a dynamic IPv4 you really want to be using the AARNet IPv6
 broker.

I have a bunch of script run to update dyndns, ipsec and a few other
things, so just tacked on a bit to update the ipv6 address associated
with the dynamic

 
 One advantage 6to4 address has is that you can get your reverse DNS
 setup (http://6to4.nro.net).
 
  /64 on the 6to4 address space to chop up how you want internally, also
  using fe80 for site addressing so I can use these addresses with out
  worring about the changing dhcp address and therefor a changing 6to4
  address
 
 The site-local prefix (fe80) has been deprecated (rfc3879), instead you 
 want IPv6 local addresses (rfc4193) which you can self-generate with
 tools such as:
   http://www.hznet.de/tools/generate-uniq-local-ipv6-unicast-addr.sh
So much reading to do and so little time, just to save me time reading
the rfc's can I still use those address, i will get around to it, but
haven't had a need to follow up in ipv6, but maybe now I do 8)

 
  I routing my encapsulated traffic via ::192.231.212.5 (aus 4to6 gateway)
  and via the ::192.88.99.1 which is defined as a 4to6 gateway which is
  mean to be provided by your isp 
 
 You mean 6to4, however the 6to4 anycast address (::192.88.99.1) is
 normally provided by the topologically closest network -- at the moment
 that is switzerland as neither AARNet nor Telstra advertise reachability
 of their 6to4 service.
yep, I found one through japan as well, I use it as a fall back

 
  had some fun setting it up and ip6tables, but now I have it running
  haven't played with it in a while.  Setup my proxy pack to try ipv6
  addresses first for some sites
 
 Which proxy are you using? I was under the impression that Squid was
 fundamentally broken w.r.t IPv6 -- I'm been meaning to look at Apache2
 mod_proxy but, on my laptop, I'm using polipo with some success.

Proxy pac tell my browser to by pass for certain ipv6 address, just to
make sure it was working and all that

 
 Anand

Sounds like you have been playing with it for while ? for work or fun

 
 -- 
  `When any government, or any church for that matter, undertakes to say to
   its subjects, This you may not read, this you must not see, this you are
   forbidden to know, the end result is tyranny and oppression no matter how
   holy the motives' -- Robert A Heinlein, If this goes on --



 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: Fw: Re: [SLUG] Enlightenment

2005-12-15 Thread Kevin Saenz
Gentoo seems to have a better package system called emerge ;)The only problem is the cvs server seems to be overloaded. So far I have updated half the packages :(
Michael Lake wrote: E is great. I'm running e16 on Apple PowerBook 15 laptop now via the Debian package. I tried once to get e17 by compiling the many many e-specific libraries that raster invented.
 Alas it was all too complicated. It may have been easier on an Intel platform. I'd like e17 to materialise one day in a form that I can install relatively easily on my PB.Err, magic script to pull it out of CVS and build it:
 http://www.rasterman.com/files/get_e.shIt can be a little slow since the CVS server is the one at sf.net.Erik
--+---+Erik de Castro Lopo+---+You don't have make it your sole purpose in life, but could you at
least sacrifice a rubber chicken upon the altar of literacy? -- TackHead on Slashdot--SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/Subscription info and FAQs: 
http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Help Me - C codes

2005-12-15 Thread Matthew Hannigan
On Tue, Dec 13, 2005 at 11:11:01PM +, Angus Lees wrote:
 
 I realise I'm a bit behind the times with continuing this thread, but
 I'm surprised no-one mentioned that modern compilers are quite capable
 of turning tail-recursion into in-place iteration.
  [ nice example ]

I was going to mention it, but I didn't know the specifics
with respect to gcc.  nice!

I was going to mention it as part of saying that the usual
fibonacci example of recursion is a spectacularly bad
example for recursion (without tail recursion elimination)
because the stack grows exponentially  -- there being two
recursive calls for every call.


--
Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html