[SLUG] Sydney Python Social Meetup

2006-10-02 Thread Mary Gardiner
As per below.

- Forwarded message from Mark Rees <[EMAIL PROTECTED]> -

Date: Tue, 3 Oct 2006 13:28:27 +1000
From: Mark Rees <[EMAIL PROTECTED]>
To: Australasian Python Users <[EMAIL PROTECTED]>
Subject: [Python-au] Sydney Python Social Meetup

This Thursday October 5th from 6:30-8:30 pm, there will be a social
gathering of Sydney Python Users Group and any individuals interested
in discussing Python, Web, Ruby, Perl etc over drinks. Laptops, code
review etc allowed. We will meet on the mezzanine level between the
Nero Bar and P.J. O'Briens Pub at the Grace Hotel, corner of York and
King Streets.

As I am a paranoid individual and hate drinking on my own :-) can you
rsvp to me or at http://upcoming.org/event/110655.

Thanks.

Mark

-- 
python-au maillist  -  [EMAIL PROTECTED]
http://starship.python.net/mailman/listinfo/python-au


- End forwarded message -
-- 
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] SSHD / IPSec weirdness

2006-10-02 Thread Scott Ragen
[EMAIL PROTECTED] wrote on 02/10/2006 08:59:29 AM:

> I have one out of my many sites that is experiencing weird sshd/ipsec 
> behaviour.
> 
> I have an IPSec tunnel established between the site and my site.
> 
> I can ping over the tunnel and telnet to ports 25 and 80 over the 
> tunnel, but I cannot ssh over the tunnel.
> 
Hi Howard,
Just a guess, but have you tried overriding the MTU on the ipsec vpn?
To determine if this is the problem, try pinging the other side with a 
packet size of a little less then the ipsec0 mtu size. If you don't get 
replies, its most likely your problem.
If using openswan/freeswan/, use the overridemtu= in the setup section of ipsec.conf

Cheers,

Scott

-- 
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] database schema tools

2006-10-02 Thread Leon Kyneur





ashley maher wrote:

 >I'm working on a large database. I have the schema. Does anybody know
 >a good FOSS tool to take the schema text file (mysql) and produce a
 >nice diagramme from it?

DBDesigner is quite good.

http://fabforce.net/dbdesigner4/
--
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] database schema tools

2006-10-02 Thread Matthew Hannigan
 ashley maher wrote:
 >I'm working on a large database. I have the schema. Does anybody know
 >a good FOSS tool to take the schema text file (mysql) and produce a
 >nice diagramme from it?

Ashley,

You might try http://savage.net.au/Ron/html/graphing-database-schema.html

There's some good links there as well, in case you want to look around.


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] Rotating images according to exif data

2006-10-02 Thread Martin Pool
On  3 Oct 2006, Simon Males <[EMAIL PROTECTED]> wrote:
> 
> I have a stack of photo's from my digital camera and many of then need 
> to be rotated. Is there a tool that will go through a directory of 
> images dig up exif data (using say extract) and rotate it respectively 
> with imagemagik ?

jhead -autorot *.jpg

should do it.

-- 
Martin
-- 
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] Bad bad idea

2006-10-02 Thread James Gray

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/2006, at 2:34 PM, [EMAIL PROTECTED] wrote:


can anyone improve this to just a bad idea 
Following opinion in these pages, also because I wanted a wireless  
AP I got me

a wireless/router/modem in the form of a DLINK 604T.
That seemed a kewl idea, but not so: quite primitive/not working

Anyway my server: SMTP, WWW, OpenVPN, SSH all routed by the DLINK  
as Virtual

Servers to 192.168.5.254
My WWW has 1/2 doz named VHosts most with Gallery2.

Externally all VHosts work. Internally (192.168.5.xx) the CSS part  
of gallery

is missing, so all the Gallery VHosts are bare ugly HTML pages.
Any ideas on solutions. I prefer to not hack gallery.


Are you running your own DNS server?  If so, look at running two  
different VIEWS to answer queries based on the source address of the  
host making the request.  IOW, you'd have one view for your internal  
network hosts (192.168.0.0/16, or even 192.168.5.0/24) and a  
different view for external queries.


The internal view has zone files that return INTERNAL addresses and  
allows recursion (make sure you have a forwarding DNS server, maybe  
your ISP?).  Similarly, the external zone should only return Internet- 
routable addresses and deny recursion.  Voila!  Now just configure  
DHCP to return the IP of your DNS server and I'd expect a lot of your  
problems to disappear.


Internally all access to tigger.ws gets the modem setup page. Can't  
find a way

to make the modem route internal queries to it's virtual server


I'd expect this is simply another symptom of wacky DNS resolutions.   
Internal host requests IP of "tigger.ws", query sent to Internet,  
some DNS server out there returns Internet address 1.2.3.4, internal  
host now tries to connect to internal web server via outside IP  
address.  Unless your swanky new router supports loop-back routing,  
the result is likely to be the router's setup page (default routing  
destination etc).  Just a thought.


This just a buy-this-not: I want to access my SSH server at a  
secret port (to
stop the world ...). DLINK won't work with my secret port, try  
another (which

does work, but irritating)


I know a number of people with t=low-end DLink gear that have it all  
humming and clicking just nice.  However, they all run their own DNS  
servers.


I want openvpn on port 1194 to be routed to the server. 1194 too  
does not

work.


Hrm - [EMAIL PROTECTED]

I'm really in a quandry. Toss in the towel? Try another router? Put  
network

masq DNS etc back on my server? Find a solution 


Sounds like a good idea.  Personally, I'd just run my own DNS  
internally and be happy :)  But you might not be quite so comfy with  
Bind...good luck James!


Cheers,

James (The other one)


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFIZCWwBHpdJO7b9ERAm8tAJ4uVggoNt7bddOgcT3crlKRWHgl+gCgkxye
+V0nmCRglzmqpObhXIjKrR8=
=8r+H
-END PGP 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] Rotating images according to exif data

2006-10-02 Thread Joseph Goncalves
On Tuesday 03 October 2006 09:07, Simon Males wrote:
> I have a stack of photo's from my digital camera and many of then
> need to be rotated. Is there a tool that will go through a directory
> of images dig up exif data (using say extract) and rotate it
> respectively with imagemagik ?
With Konqueror you can right click on an image, select 
Actions->Transform Image->Rotate Image. It works well when you have 
image previews as the file icons because you can easily see the images 
that need rotating and rotate all in one operation.

Regards
Joseph
-- 
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] Rotating images according to exif data

2006-10-02 Thread Penedo
On 03/10/06, Simon Males <[EMAIL PROTECTED]> wrote:
I have a stack of photo's from my digital camera and many of then needto be rotated. Is there a tool that will go through a directory ofimages dig up exif data (using say extract) and rotate it respectively
with imagemagik ?DigiKam does exactly that, and is just generally an excellent program for photo archiving.(I just mark all the new images I've downloaded from the camera and tell DigiKam "auto rotate" and it does the rest, no need even to manually pick which images should be worked on).
--P
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Rotating images according to exif data

2006-10-02 Thread Simon Males


I have a stack of photo's from my digital camera and many of then need 
to be rotated. Is there a tool that will go through a directory of 
images dig up exif data (using say extract) and rotate it respectively 
with imagemagik ?


--
Simon Males <[EMAIL PROTECTED]>
--
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] database schema tools

2006-10-02 Thread Michael Lake

ashley maher wrote:

I'm working on a large database. I have the schema. Does anybody know
a good FOSS tool to take the schema text file (mysql) and produce a
nice diagramme from it?

It would make getting my head around this thing a whole lot easier if
I could find something like that?


I had a play with this a few years ago. Wasn't exactly what I wanted as I wanted my 
schema as rectangles with lines between them, not a big round ball.


http://mkweb.bcgsc.ca/schemaball/

But it did work.

--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238



--
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] Contracting stuff: wrap it into a company or PAYE throughagency?

2006-10-02 Thread Adelle Hartley
Jacinta Richardson wrote:
> 
> Michael (Micksa) Slade wrote:
> 
> > But there are other advantages.  For example you can set up a bank 
> > account under the company's name.  Can't do that under a 
> sole trader.
> > I'm sure there are other little things that I don't know about too.

FYI
http://www.fairtrading.nsw.gov.au/business/businessnames/registeringabusines
sname.html

Equivalent in other states can be found here:
http://www.business.vic.gov.au/BUSVIC.1048748/STANDARD//pc=PC_50024.html

As of 5 October 2004, business name registration is not a requirement for
NSW "businesses that trade exclusively over the internet".

However, it might help with opening a bank account in the name of the
business.

Adelle.

-- 
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] Contracting stuff: wrap it into a company or PAYE through agency?

2006-10-02 Thread Jacinta Richardson
Michael (Micksa) Slade wrote:

> But there are other advantages.  For example you can set up a bank
> account under the company's name.  Can't do that under a sole trader. 
> I'm sure there are other little things that I don't know about too.

Are you sure?

I expect that you are correct, semantically.  However this isn't necessarily as
bad as could be read from your comments.  We had a bank account under the name
of "Paul Fenwick trading as Perl Training Australia" for some years.  I
regularly banked cheques to "Perl Training Australia" into that account without
any comment from the bank employees.

All the best,

J

-- 
   ("`-''-/").___..--''"`-._  |  Jacinta Richardson |
`6_ 6  )   `-.  ( ).`-.__.`)  |  Perl Training Australia|
(_Y_.)'  ._   )  `._ `. ``-..-'   |  +61 3 9354 6001|
  _..`--'_..-_/  /--'_.' ,'   | [EMAIL PROTECTED] |
 (il),-''  (li),'  ((!.-' |   www.perltraining.com.au   |
-- 
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] My system can't find Java tools

2006-10-02 Thread Daniel Bush

Hi Andrew,

There seem to be quite a lot of resources on the web for shell.  Shell
is a programming language with conditionals and loops; you could for
instance write a webserver in it if you really wanted to.
You could start with
http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html which looks
quite good.

Worth checking out the original classic book "The Unix Programming
Environment" - if you ever see it.  It's quite expensive but gives you
an idea of unix and the shell and how it all came about.

On 01/10/06, Andrew Dunkin <[EMAIL PROTECTED]> wrote:

If you have time, could you possibly explain what the change to
/etc/bashrc/ that you suggested did and why it fixed the problem.


The original line said PATH=.
We changed it to PATH=$PATH:.
By including $PATH, we preserve what was already in PATH before this
line is executed by the shell.  Failing to preserve what was in PATH
prior to the execution in this line is what caused you a problem.
The line is badly written.  The line inside java.sh is relatively
well-written.

(You have to append a variable name with '$' when used on the RHS of
the above example; this tells the shell to insert the value of PATH
into the RHS; similarly you say "echo $PATH" to view the value of
PATH)


You made a comment earlier in this exchange of emails as follows;
"It still wouldn't do what you wanted because it would be setting the
PATH variable of a subshell running off the shell you logged in to and
NOT the shell you are typing into."
This made little sense to me as I do not understand how shells and
subshells work.


That was badly worded.


Could you briefly explain what your comment meant. Even if I don't
understand your response, it will guide me in further research.


To start with, you have shell.  This allows you to interact with the
linux system (the kernel)  to run commands and access files etc.

The shell has at least 2 major modes - interactive and "batch-file" mode.

When you login to the command line, you are using bash interactively.
It displays a prompt and you type names of programs in it, hit return
and  it then gets the system to execute.  eg "ls" to list directory
contents.  So the shell mediates between you and the os.

You can also write shell scripts like your java.sh and store these in
files on your system.
To execute these, you have to invoke another shell and you do this
from your existing interactive shell
eg  % bash java.sh
'bash' is a new shell; it's a new, separate instance of the same
program as the interactive shell you logged in to; because you are
running it from your shell, it is referred to as a subshell.  It is
not interactive because it has been given 'java.sh' to execute.  It
will execute this and return its status to the interactive shell.

That is why 'bash java.sh' or 'sh java.sh' does not work as intended.
It only modifies the the subshell executing java.sh.

The use of 'export' in java.sh is significant; it puts the shell
variable into the execution environments for processes which are
executed by the shell executing java.sh.  In the case of 'bash
java.sh', 'export' is only working with respect to the subshell and
any processes it executes not your interactive shell.

When you're reading up on this be aware of environment variables vs
shell variables (use of 'export' , 'set' , 'printenv' , 'env'';
subshells vs using '.'; special shell variables like PATH etc

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