Re: [SLUG] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread Sridhar Dhanapalan
2009/4/2 Ben shadr...@gmail.com:
 2009/4/2 Erik de Castro Lopo mle+s...@mega-nerd.com:
 Ben wrote:

 GIMP and Inkscape can't do CMYK,

 Does this not do it for Gimp?

    http://my.opera.com/area42/blog/gimp-cmyk

 from that link:

 How its works:
 * Open your RGB image in Gimp via File  Open
 * Start Seperate+ Image Window  Image  Seperate  Seperate
 * Setup the profiles, may as source Adobe 1998 and as destination
 profile Euroscala V2
 * Press OK, an image with 4 layers is created
 * Each layer represents a color channel of CMYK
 * Now save the image as CMYK Tiff at Image Window  Image 
 Seperate  Save...

 ew...
 That is really, really not an acceptable implementation of CMYK. It's
 the kind of thing that could be applied as a filter afterwards. It
 doesn't let you work in CMYK with any kind of ease, you still work in
 RGB and then do some kind of hideous conversion that would be almost
 impossible to fine tune.

 The point of CMYK is that you create stuff in the appopriate colours:

 My printing recommends the following:
 * Black text: 100%K, 0% all others
 * Black backgrounds: 100%K, 30%C, 0% others

 RGB gets converted to CMY(Cyan, Magenta, Yellow)(with no K(Black) channel).

 This leads to imperfect blacks in printing, and 3x the ink being
 dumped to form black leads to smearing, drying issues etc.
 Text ends up with fuzzy colour speckles around it too.

 The GIMP plugin will not resolve these issues as every part of the
 image would have to be hand tuned after being created, which is really
 not practical.

GIMP does CMYK natively now:
http://en.wikipedia.org/wiki/The_gimp#Color_support



-- 
Bring choice back to your computer.
http://www.linux.org.au/linux
--
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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread david



Sridhar Dhanapalan wrote:

2009/4/2 Ben shadr...@gmail.com:

2009/4/2 Erik de Castro Lopo mle+s...@mega-nerd.com:

Ben wrote:


GIMP and Inkscape can't do CMYK,

Does this not do it for Gimp?

   http://my.opera.com/area42/blog/gimp-cmyk

from that link:

How its works:
* Open your RGB image in Gimp via File  Open
* Start Seperate+ Image Window  Image  Seperate  Seperate
* Setup the profiles, may as source Adobe 1998 and as destination
profile Euroscala V2
* Press OK, an image with 4 layers is created
* Each layer represents a color channel of CMYK
* Now save the image as CMYK Tiff at Image Window  Image 
Seperate  Save...

ew...
That is really, really not an acceptable implementation of CMYK. It's
the kind of thing that could be applied as a filter afterwards. It
doesn't let you work in CMYK with any kind of ease, you still work in
RGB and then do some kind of hideous conversion that would be almost
impossible to fine tune.

The point of CMYK is that you create stuff in the appopriate colours:

My printing recommends the following:
* Black text: 100%K, 0% all others
* Black backgrounds: 100%K, 30%C, 0% others

RGB gets converted to CMY(Cyan, Magenta, Yellow)(with no K(Black) channel).

This leads to imperfect blacks in printing, and 3x the ink being
dumped to form black leads to smearing, drying issues etc.
Text ends up with fuzzy colour speckles around it too.

The GIMP plugin will not resolve these issues as every part of the
image would have to be hand tuned after being created, which is really
not practical.


GIMP does CMYK natively now:
http://en.wikipedia.org/wiki/The_gimp#Color_support


quote
Color support

GIMP also has a palette with RGB, HSV, color wheel, CMYK, and mixing modes, plus 
tools to pick colors from the image with various averaging options. There is 
support for hexadecimal color codes (as used in HTML). CMYK colors are 
immediately translated into RGB when used; GIMP does not have any built-in 
support for CMYK mixtures that cannot be represented in RGB, such as rich 
blacks, though they can be simulated to a limited extent with third-party 
add-ons.[citation needed]

/quote

doesn't sound like native to me... I hope I'm wrong
--
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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread James Gray


On 17/05/2009, at 5:46 PM, Sridhar Dhanapalan wrote:


2009/4/2 Ben shadr...@gmail.com:

2009/4/2 Erik de Castro Lopo mle+s...@mega-nerd.com:

Ben wrote:


GIMP and Inkscape can't do CMYK,


Does this not do it for Gimp?

   http://my.opera.com/area42/blog/gimp-cmyk


--8-- snipped --8--


The point of CMYK is that you create stuff in the appopriate colours:

My printing recommends the following:
* Black text: 100%K, 0% all others
* Black backgrounds: 100%K, 30%C, 0% others

RGB gets converted to CMY(Cyan, Magenta, Yellow)(with no K(Black)  
channel).


This leads to imperfect blacks in printing, and 3x the ink being
dumped to form black leads to smearing, drying issues etc.
Text ends up with fuzzy colour speckles around it too.

The GIMP plugin will not resolve these issues as every part of the
image would have to be hand tuned after being created, which is  
really

not practical.


GIMP does CMYK natively now:
http://en.wikipedia.org/wiki/The_gimp#Color_support


Citing that exact link:
...GIMP does not have any built-in support for CMYK mixtures that  
cannot be represented in RGB, such as rich blacks, though they can be  
simulated to a limited extent with third-party add-ons.


I wouldn't call that CMYK natively - I'd consider that partial  
implementation.  They really need to offer a CMYK editing mode  
completely divorced of Gimp's RGB heritage.


--
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] HOT SWAPPING - back to the OP ;-)

2009-05-17 Thread david



Daniel Pittman wrote:

david da...@kenpro.com.au writes:

Daniel Pittman wrote:

david da...@kenpro.com.au writes:

Daniel Pittman wrote:

david da...@kenpro.com.au writes:


[...]


ChipDriver  NCQ DMA++   hotplug PMP
ICH7 family ata_piix, ahci  AHCIAHCIAHCIno

Since I still don't want to fry the drive, the question still remains
(for me at least, given that I'm not as erudite as some) Will this
hotplug??

Yes, if you are running it in AHCI mode.  Specifically, you have to be
in something other than compatibility mode in the BIOS, and it has to
identify as an AHCI controller during boot.


[...]


Nothing in dmesg. As far as I can see, nothing in BIOS :(


That sucks.  Sadly, it was the fashion for vendors to offer only the
compatibility mode of operation for a while.

You could try lsmod | egrep 'ahci|piix' and see what the output is.
If both are present, and both are in active use life is harder, but just
one present would be a start.



da...@david:~$ lsmod | egrep -i ahci|piix
ata_piix   24580  4
libata177312  3 pata_acpi,ata_generic,ata_piix

I found this:
http://linux-ata.org/driver-status.html
quote
2. Hardware support
Intel ICH IDE mode
Driver name: ata_piix

Summary: No TCQ/NCQ. Looks like a PATA controller, but with a few added, 
non-standard SATA port controls. Hardware does not support hotplug. Warmplug 
support is possible.


Update: ICH6/7/8 include support for addressing the SATA PHY registers. This is 
not yet supported in Linux, mainly because some BIOS do not fill in the 
necessary (PCI BAR) resources.


Update: Boot-time, probe-time issues continue to persist in some cases, related 
to the PCS register. The ata_piix driver in 2.6.18 and later provides a 
force_pcs module option to help users deal with this (values: 0=default, 
1=ignore PCS, 2=honor PCS). Play around with 'force_pcs' if you have device 
detection problems.

/quote

I wonder what warmplug means?



This seems to suggest that hot swapping this particular configuration
is a bad idea. And yet Gnome was telling me that I could remove the
media. Is this a bug?


Well, I have no idea, I fear.


Unfortunately, hardware specifications tend to tell you what a
BIOS/Controller/MB *has*, not what it doesn't have.


*nod*  Also, the operating mode is probably not going to be listed, so
even ICH7 SATA doesn't tell you everything you need to know.

[...]


Not being able to hot-swap for me is mostly an inconvenience rather
than a disaster, but I recently had an emergency situations where I
would REALLY liked to have been able to hot swap.


*nod*  Well, you /could/ test it: drop to single user mode, remount
critical filesystems read-only, sync, and pull the device.

Then look for error messages. ;)

Regards,
Daniel

--
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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread James Gray


On 17/05/2009, at 5:46 PM, Sridhar Dhanapalan wrote:


2009/4/2 Ben shadr...@gmail.com:

2009/4/2 Erik de Castro Lopo mle+s...@mega-nerd.com:

Ben wrote:


GIMP and Inkscape can't do CMYK,


Does this not do it for Gimp?

   http://my.opera.com/area42/blog/gimp-cmyk


--8-- snipped --8--


The point of CMYK is that you create stuff in the appopriate colours:

My printing recommends the following:
* Black text: 100%K, 0% all others
* Black backgrounds: 100%K, 30%C, 0% others

RGB gets converted to CMY(Cyan, Magenta, Yellow)(with no K(Black)  
channel).


This leads to imperfect blacks in printing, and 3x the ink being
dumped to form black leads to smearing, drying issues etc.
Text ends up with fuzzy colour speckles around it too.

The GIMP plugin will not resolve these issues as every part of the
image would have to be hand tuned after being created, which is  
really

not practical.


GIMP does CMYK natively now:
http://en.wikipedia.org/wiki/The_gimp#Color_support


Citing that exact link:
...GIMP does not have any built-in support for CMYK mixtures that  
cannot be represented in RGB, such as rich blacks, though they can be  
simulated to a limited extent with third-party add-ons.


I wouldn't call that CMYK natively - I'd consider that a partial  
implementation.  They really need to offer a CMYK editing mode  
completely divorced of Gimp's RGB heritage.

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


[SLUG] HTTP server recommendations?

2009-05-17 Thread Erik de Castro Lopo
Hi all,

I need a HTTP server running on Linux with:

  - easy setup
  - cgi
  - SSL

The server will not be at all heavily  loaded. Recommendations?

Apache, boa, lighttpd, something else?

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
-- 
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] HTTP server recommendations?

2009-05-17 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

 Apache, boa, lighttpd, something else?

Rob Collins on irc suggested Apache so I installed that from an
Ubuntu Hardy package. The setup was much easier than I remember
it being. Standard HTTP and CGI worked out of the box.

I would still be interested in hearing about people using other
servers and their reasons.

Cheers,
Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
-- 
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] HTTP server recommendations?

2009-05-17 Thread peter
 Erik == Erik de Castro Lopo mle+s...@mega-nerd.com writes:

Erik Erik de Castro Lopo wrote:
 Apache, boa, lighttpd, something else?

Erik Rob Collins on irc suggested Apache so I installed that from an
Erik Ubuntu Hardy package. The setup was much easier than I remember
Erik it being. Standard HTTP and CGI worked out of the box.

Erik I would still be interested in hearing about people using other
Erik servers and their reasons.

I'm using Xitami on one of my (virtual) servers, because it is much
lighter weight than Apache for what I want.  And I generally install
boa when I want something that's GPL on an embedded system, because of
its low resource usage for static HTML and simple forms.

Peter C
-- 
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] HTTP server recommendations?

2009-05-17 Thread Daniel Bush
2009/5/17 Erik de Castro Lopo mle+s...@mega-nerd.commle%2bs...@mega-nerd.com


 Erik de Castro Lopo wrote:

  Apache, boa, lighttpd, something else?

 Rob Collins on irc suggested Apache so I installed that from an
 Ubuntu Hardy package. The setup was much easier than I remember
 it being. Standard HTTP and CGI worked out of the box.

 I would still be interested in hearing about people using other
 servers and their reasons.


I've always liked lighttpd.  I like the conf's.  I once got it to run rails
and mediawiki on a really small vps and it was a lot faster out of the box
than apache.  That being said I think there were issues with it and proxying
and with rails not that that would affect you with your stuff..

The other one I've used and liked is nginx.  It's fast and light and quite
capable and this is what I use for rails with reverse proxying to some
backend http app servers..However I'm looking at apache again for doing this
sort of stuff as well.

I should add that I haven't really been researching or trying anything new
lately so my views may be a little out of date on these things.


-- 
Daniel Bush

http://blog.web17.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] HTTP server recommendations?

2009-05-17 Thread Dean Hamstead
Apache is always a great choice. Apache 2 is extremely modular and allows
for some mind boggling configuration arrangements. The configuration is
somewhat intimidating, but debian has packaged it up to make it much
more convenient (and possibly less intimidating). If ubuntu has borrowed
this arrangement then the same will be true for ubuntu.

Its worth considering that lighttpd, boa etc have significantly less
features than apache (how many of these features are in the 80% commonly
used 20% rare ratio is of course debatable). So you may find yourself
setting up non-apache now, then finding yourself having to convert to
apache later, or implement something in an awkward way that apache would
do elegantly.

I would certainly advocate something like nginx as a load balancer or ssl
reverse proxy if the website warranted it.


Dean

On 5/17/2009, Erik de Castro Lopo mle+s...@mega-nerd.com wrote:

Erik de Castro Lopo wrote:

 Apache, boa, lighttpd, something else?

Rob Collins on irc suggested Apache so I installed that from an
Ubuntu Hardy package. The setup was much easier than I remember
it being. Standard HTTP and CGI worked out of the box.

I would still be interested in hearing about people using other
servers and their reasons.

Cheers,
Erik
--
--
Erik de Castro Lopo
http://www.mega-nerd.com/
--
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] HOT SWAPPING - back to the OP ;-)

2009-05-17 Thread Daniel Pittman
david da...@kenpro.com.au writes:
 Daniel Pittman wrote:
 david da...@kenpro.com.au writes:
 Daniel Pittman wrote:
 david da...@kenpro.com.au writes:
 Daniel Pittman wrote:
 david da...@kenpro.com.au writes:

[...]

 Nothing in dmesg. As far as I can see, nothing in BIOS :(

 That sucks.  Sadly, it was the fashion for vendors to offer only the
 compatibility mode of operation for a while.

 You could try lsmod | egrep 'ahci|piix' and see what the output is.
 If both are present, and both are in active use life is harder, but just
 one present would be a start.

 da...@david:~$ lsmod | egrep -i ahci|piix
 ata_piix   24580  4
 libata177312  3 pata_acpi,ata_generic,ata_piix

So, only the PIIX mode drivers.  Alas, unless your BIOS supports a
switch out of compatibility mode, or there is a newer BIOS, you are
probably not going to get real hotswap ... and the GNOME report is a
fib. :/

 I found this: http://linux-ata.org/driver-status.html

That is outdated by the wiki link, where the newer status updates have
migrated.  I wish the Linux SATA people would automatically redirect,
but such is life.

Regards,
Daniel
-- 
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] HTTP server recommendations?

2009-05-17 Thread Daniel Pittman
Erik de Castro Lopo mle+s...@mega-nerd.com writes:

 I need a HTTP server running on Linux with: easy setup, cgi, SSL
 The server will not be at all heavily  loaded. Recommendations?

 Apache, boa, lighttpd, something else?

Apache.  It still sees the most testing of any of the Linux options,
which means that it is the most likely to be secure, and the most likely
to be fixed first if it isn't.

I would recommend NGINX, but it doesn't do CGI, so doesn't meet your
needs.

Beyond that, base it on popularity: lighttpd is a good choice, because
it is fairly popular, but not at the same level as Apache.[1]

http://news.netcraft.com/archives/2009/01/16/january_2009_web_server_survey.html

Regards,
Daniel

Footnotes: 
[1]  Not popular enough to list as a distinct entry in the NetCraft
 surveys, however.

-- 
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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread Marghanita da Cruz

david wrote:



Sridhar Dhanapalan wrote:

2009/4/2 Ben shadr...@gmail.com:

2009/4/2 Erik de Castro Lopo mle+s...@mega-nerd.com:

Ben wrote:


GIMP and Inkscape can't do CMYK,

Does this not do it for Gimp?

   http://my.opera.com/area42/blog/gimp-cmyk

from that link:

How its works:
* Open your RGB image in Gimp via File  Open
* Start Seperate+ Image Window  Image  Seperate  Seperate
* Setup the profiles, may as source Adobe 1998 and as destination
profile Euroscala V2
* Press OK, an image with 4 layers is created
* Each layer represents a color channel of CMYK
* Now save the image as CMYK Tiff at Image Window  Image 
Seperate  Save...

ew...
That is really, really not an acceptable implementation of CMYK. It's
the kind of thing that could be applied as a filter afterwards. It
doesn't let you work in CMYK with any kind of ease, you still work in
RGB and then do some kind of hideous conversion that would be almost
impossible to fine tune.

The point of CMYK is that you create stuff in the appopriate colours:

My printing recommends the following:
* Black text: 100%K, 0% all others
* Black backgrounds: 100%K, 30%C, 0% others

RGB gets converted to CMY(Cyan, Magenta, Yellow)(with no K(Black) 
channel).


This leads to imperfect blacks in printing, and 3x the ink being
dumped to form black leads to smearing, drying issues etc.
Text ends up with fuzzy colour speckles around it too.

The GIMP plugin will not resolve these issues as every part of the
image would have to be hand tuned after being created, which is really
not practical.


GIMP does CMYK natively now:
http://en.wikipedia.org/wiki/The_gimp#Color_support


quote
Color support

GIMP also has a palette with RGB, HSV, color wheel, CMYK, and mixing 
modes, plus tools to pick colors from the image with various averaging 
options. There is support for hexadecimal color codes (as used in HTML). 
CMYK colors are immediately translated into RGB when used; GIMP does 
not have any built-in support for CMYK mixtures that cannot be 
represented in RGB, such as rich blacks, though they can be simulated to 
a limited extent with third-party add-ons.[citation needed]

/quote

doesn't sound like native to me... I hope I'm wrong


What is CMYK and what is it's significance for NSW Schools?

From what I can tell quick google it seems to be related to printing (and 
possibly PDF) ...this is not important (and possibly  the greatest obstacle), 
to Digital/Electronic literacy.


Fancy feature based comparisons of products is usually used as a counter example 
to disprove a case rather than build a case. Since 2004, Gimp has worked well 
for me - I routineley use it to manipulate JPG photos for publishing on the web 
and emailing! Feedback is how do I end up with such small photos fast, friendly 
webpages?


Marghanita
--
Marghanita da Cruz
http://www.ramin.com.au
Phone: (+61)0414 869202

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


[SLUG] Backup theory

2009-05-17 Thread david

I've got the following:

2 x servers - single small hard drives in each
1 x desktop - four hard drives including one removeable drive in a caddy 
intended solely for back up purposes.


I run Mondo on the two servers periodically with the intention of being able to 
do a disaster [1] recovery quickly. Mondo produces 2 DVD images for each server. 
I run rsync nightly (good enough for my purposes) for more volatile data such as 
email, databases etc. Everything is very tidy.


The desktop has about 350G of data and software. The software is unbelievably 
complicated because I use it to test server set-ups and odd bits of software 
etc. In other words, it's a dog's breakfast.


I would like to run Mondo or something similar on this machine too, but I fear 
it would not be practical. At the moment I run rsync for the most obvious data, 
but that doesn't help with all the complicated software, and I would like to be 
able to recover that too in the event of disaster [1].


What's the current best practice for back up in this kind of situation?

thanks,

David

[1] Disaster such as: earthquake, fire, pestilence, inappropriate rm.

PS: On a Mac,  you can usually take a hard drive out of one machine and put it 
in another and it will just work. How much tweaking to get the same result on 
linux/ubuntu?

--
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] Backup theory

2009-05-17 Thread david

Daniel Pittman wrote:

david da...@kenpro.com.au writes:


I've got the following:

2 x servers - single small hard drives in each
1 x desktop - four hard drives including one removeable drive in a caddy
intended solely for back up purposes.

I run Mondo on the two servers periodically with the intention of
being able to do a disaster [1] recovery quickly. Mondo produces 2 DVD
images for each server. I run rsync nightly (good enough for my
purposes) for more volatile data such as email, databases
etc. Everything is very tidy.

The desktop has about 350G of data and software. The software is
unbelievably complicated because I use it to test server set-ups and
odd bits of software etc. In other words, it's a dog's breakfast.

I would like to run Mondo or something similar on this machine too,
but I fear it would not be practical. At the moment I run rsync for
the most obvious data, but that doesn't help with all the complicated
software, and I would like to be able to recover that too in the event
of disaster [1].

What's the current best practice for back up in this kind of
situation?


It varies.  Personally, I take advantage of the fact that a Linux system
has no magic metadata, so a copy of all the files is enough to perform
a bare-metal restore.




So this suggests to me that I could make a # cp -a of my root/boot drive onto 
an empty drive which I then remove and take off-site, rsync'ing it periodically? 
Or is it necessary to use dd? Where does the MBR fit into this?


The problem with any back up system is that normally you only find out that it 
works for sure when you really *need* it to work.



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


[SLUG] Backup theory

2009-05-17 Thread David Andresen
David

I run a backup server using systemimager (see
http://wiki.systemimager.org/index.php/Main_Page )

It is a 'killer application' as far as I am concerned.

I sleep well every night knowing I have a my servers and my desktop hard
disks imaged.

Planning to test a couple of 1TB USB external hard disk running
systemimager. Boot from USB and swap to the second drive to have one off
site.

Two backups may be better for stuff you do not want lost.

Cheers
David Andresen



The only means of strengthening one's intellect is to make up one's
mind about nothing, to let the mind be a thoroughfare for all thoughts.
- John Keats

-- 
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] Backup theory

2009-05-17 Thread Daniel Pittman
david da...@kenpro.com.au writes:

 I've got the following:

 2 x servers - single small hard drives in each
 1 x desktop - four hard drives including one removeable drive in a caddy
 intended solely for back up purposes.

 I run Mondo on the two servers periodically with the intention of
 being able to do a disaster [1] recovery quickly. Mondo produces 2 DVD
 images for each server. I run rsync nightly (good enough for my
 purposes) for more volatile data such as email, databases
 etc. Everything is very tidy.

 The desktop has about 350G of data and software. The software is
 unbelievably complicated because I use it to test server set-ups and
 odd bits of software etc. In other words, it's a dog's breakfast.

 I would like to run Mondo or something similar on this machine too,
 but I fear it would not be practical. At the moment I run rsync for
 the most obvious data, but that doesn't help with all the complicated
 software, and I would like to be able to recover that too in the event
 of disaster [1].

 What's the current best practice for back up in this kind of
 situation?

It varies.  Personally, I take advantage of the fact that a Linux system
has no magic metadata, so a copy of all the files is enough to perform
a bare-metal restore.

I think use BackupPC[1] to provide me a space-efficient copy of all the
files.  In normal use the web interface is sufficient to recover from
most problems.

In a disaster I boot from a LiveCD, partition, format, etc, the disks,
and then use a combination of the command-line tar creation code in
BackupPC, netcat, and tar in the LiveCD to stream the data back over the
network.

This is reasonably easy to achieve, but requires a little low level
knowledge of how partitioning, etc, work under Linux.  Mondo does
capture that information much more nicely, I confess.

 PS: On a Mac, you can usually take a hard drive out of one machine and
 put it in another and it will just work. How much tweaking to get
 the same result on linux/ubuntu?

With a recent Debian or Ubuntu, zero.[2]  Getting X running again after
doing that /might/ take a bit of work, but not much, and the basic
system itself should be good.

If you use something less capable, like older RHEL systems, a fair bit
of work is required to get it booting, but the basic process is more or
less the same.

I don't know where Fedora sits, but I presume they have also moved more
to the Debian new-style ship all the drivers in initramfs, detect the
hardware strategy than the older RHEL ship exactly what is required
for the current machine, hard code everything model.

Regards,
Daniel

Footnotes: 
[1]  http://backuppc.sf.net/

[2]  Technically, you need to ensure the CPU architecture is compatible,
 so an x86_64 deployment will not run on an i386-only host, but
 otherwise you are good to go.

-- 
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] Backup theory

2009-05-17 Thread Daniel Pittman
Dean Hamstead d...@fragfest.com.au writes:

 PS: On a Mac, you can usually take a hard drive out of one machine
 and put it in another and it will just work. How much tweaking to
 get the same result on linux/ubuntu?

 network cards and significantly different disk devices (ie pata, sata,
 some strange raid) are usually the only hurdle

Not so much, these days, if you are sensible.

[...]

 network cards are usually just a matter of changing the mac address,
 or some other minor changes

This is fair.  As a side note, under /etc/udev you will find the
configuration file that binds the persistent names (eth0, etc) to your
hardware, which you may need to alter if you want to change those
persistent names.

[...]

 hard disk games with /dev/hda /dev/sda /dev/cciss
 /dev/someotherraidthing are usually just a matter of editing the fstab
 and rebooting. in this instance setting init=/bin/bash in grub/lilo is
 your friend.

Actually, these days you would have to be kind of silly to use something
other than mount-by-LABEL or mount-by-UUID[1], given the fairly dynamic
nature of device discovery.

In that case you system will just work(tm) on the new hardware, because
it identifies what to mount based on the filesystem, not the hardware it
happens to be sitting on top of.

Regards,
Daniel

Footnotes: 
[1]  I prefer the later, because the chance of a conflict is zero, while
 the former is pretty high — especially with some distributions
 naming their root partition '/' uniformly.

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


nginx and boa thoughts [Was: [SLUG] HTTP server recommendations?]

2009-05-17 Thread Jeff Waugh
quote who=Erik de Castro Lopo

 Erik de Castro Lopo wrote:
 
  Apache, boa, lighttpd, something else?
 
 Rob Collins on irc suggested Apache so I installed that from an Ubuntu
 Hardy package. The setup was much easier than I remember it being.
 Standard HTTP and CGI worked out of the box.
 
 I would still be interested in hearing about people using other servers
 and their reasons.

In this case, given your requirements (CGI + SSL), Apache is probably the
easiest choice (particularly the Debian/Ubuntu packaging, which is nicely
set up and very helpful).

I've been playing with nginx in front of Apache recently, and aside from the
minor problem of nginx not doing keepalive to backends, it has been great.
Easy setup, really easy SSL, and for CGI I generally pass back to Apache or
boa (which is a lovely little server, particularly for embedded use cases --
but it won't do SSL for you).

nginx 0.7.x (which I track in my PPA) does front-end caching too, which is
very handy.

Just some thoughts. :-)

- Jeff

-- 
linux.conf.au 2010: Wellington, NZ   http://www.penguinsvisiting.org.nz/
 
 Toothpaste is the most important meal of the day.
-- 
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] HOT SWAPPING - back to the OP ;-)

2009-05-17 Thread Robert Collins
On Sun, 2009-05-17 at 18:48 +1000, david wrote:


 I wonder what warmplug means?

AIUI its 'suspend, attach device, resume'. So there is power on but no
activity during the attach/detach event.

-Rob


signature.asc
Description: This is a digitally signed message part
-- 
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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread david



Marghanita da Cruz wrote:

david wrote:



Sridhar Dhanapalan wrote:

2009/4/2 Ben shadr...@gmail.com:

2009/4/2 Erik de Castro Lopo mle+s...@mega-nerd.com:

Ben wrote:


GIMP and Inkscape can't do CMYK,

Does this not do it for Gimp?

   http://my.opera.com/area42/blog/gimp-cmyk

from that link:

How its works:
* Open your RGB image in Gimp via File  Open
* Start Seperate+ Image Window  Image  Seperate  Seperate
* Setup the profiles, may as source Adobe 1998 and as destination
profile Euroscala V2
* Press OK, an image with 4 layers is created
* Each layer represents a color channel of CMYK
* Now save the image as CMYK Tiff at Image Window  Image 
Seperate  Save...

ew...
That is really, really not an acceptable implementation of CMYK. It's
the kind of thing that could be applied as a filter afterwards. It
doesn't let you work in CMYK with any kind of ease, you still work in
RGB and then do some kind of hideous conversion that would be almost
impossible to fine tune.

The point of CMYK is that you create stuff in the appopriate colours:

My printing recommends the following:
* Black text: 100%K, 0% all others
* Black backgrounds: 100%K, 30%C, 0% others

RGB gets converted to CMY(Cyan, Magenta, Yellow)(with no K(Black) 
channel).


This leads to imperfect blacks in printing, and 3x the ink being
dumped to form black leads to smearing, drying issues etc.
Text ends up with fuzzy colour speckles around it too.

The GIMP plugin will not resolve these issues as every part of the
image would have to be hand tuned after being created, which is really
not practical.


GIMP does CMYK natively now:
http://en.wikipedia.org/wiki/The_gimp#Color_support


quote
Color support

GIMP also has a palette with RGB, HSV, color wheel, CMYK, and mixing 
modes, plus tools to pick colors from the image with various averaging 
options. There is support for hexadecimal color codes (as used in 
HTML). CMYK colors are immediately translated into RGB when used; 
GIMP does not have any built-in support for CMYK mixtures that cannot 
be represented in RGB, such as rich blacks, though they can be 
simulated to a limited extent with third-party add-ons.[citation needed]

/quote

doesn't sound like native to me... I hope I'm wrong


What is CMYK and what is it's significance for NSW Schools?

 From what I can tell quick google it seems to be related to printing 
(and possibly PDF) ...this is not important (and possibly  the greatest 
obstacle), to Digital/Electronic literacy.


Fancy feature based comparisons of products is usually used as a counter 
example to disprove a case rather than build a case. Since 2004, Gimp 
has worked well for me - I routineley use it to manipulate JPG photos 
for publishing on the web and emailing! Feedback is how do I end up 
with such small photos fast, friendly webpages?




I've been using GIMP for much longer and to great effect.. it's a terrific piece 
of software but fatally flawed if you want to print seriously. Even using 
Gutenprint it's a struggle to get the colour right. It's a great pity.


I'm not an expert but I believe that the lack of native CMYK is fundamental to 
the printing problems. It's rather more than a fancy feature. Printing photos 
and artwork is fundamental to a whole industry (or two).


There are other software with colour management (cinepaint comes to mind) but 
it's nowhere near as easy to use or as sophisticated as Photoshop. It's one area 
where FOSS has a way to go. I would love someone to tell me I'm wrong.

--
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] Backup theory

2009-05-17 Thread Dean Hamstead


PS: On a Mac,  you can usually take a hard drive out of one machine and 
put it in another and it will just work. How much tweaking to get the 
same result on linux/ubuntu?


network cards and significantly different disk devices (ie pata, sata, 
some strange raid) are usually the only hurdle, but also gfx card if you 
are using X.


network cards are usually just a matter of changing the mac address, or 
some other minor changes


gfx is usually just a matter of reconfiguring X, if you are using 
anything inside the nvidia range, you can change cards without much fuss.


hard disk games with /dev/hda /dev/sda /dev/cciss 
/dev/someotherraidthing are usually just a matter of editing the fstab 
and rebooting. in this instance setting init=/bin/bash in grub/lilo is 
your friend.




Dean
--
http://fragfest.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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread Marghanita da Cruz

david wrote:
snip


I'm not an expert but I believe that the lack of native CMYK is 
fundamental to the printing problems. It's rather more than a fancy 
feature. Printing photos and artwork is fundamental to a whole industry 
(or two).


There are other software with colour management (cinepaint comes to 
mind) but it's nowhere near as easy to use or as sophisticated as 
Photoshop. It's one area where FOSS has a way to go. I would love 
someone to tell me I'm wrong.




So, the school kids are being taught to develop content for four colour 
industrial printing, rather than websites?


Personally, I would think that school kids and FOSS developers time is better
spent improving tools and adding to content in the online world.
What really erks me, is that no doubt a PDF newsletters will be produced and
emailed around to be printed on home and school printers (no commercial printer
in sight). - Tell me I'm wrong.

Marghanita
--
Marghanita da Cruz
http://www.ramin.com.au
Phone: (+61)0414 869202


--
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] Backup theory

2009-05-17 Thread Daniel Pittman
david da...@kenpro.com.au writes:
 Daniel Pittman wrote:
 david da...@kenpro.com.au writes:

 I've got the following:

 2 x servers - single small hard drives in each
 1 x desktop - four hard drives including one removeable drive in a caddy
 intended solely for back up purposes.

[...]

 What's the current best practice for back up in this kind of
 situation?

 It varies.  Personally, I take advantage of the fact that a Linux system
 has no magic metadata, so a copy of all the files is enough to perform
 a bare-metal restore.

 So this suggests to me that I could make a # cp -a of my root/boot
 drive onto an empty drive which I then remove and take off-site,
 rsync'ing it periodically?

Yes, that would be sufficient to provide a bare metal recovery copy of
your system.

 Or is it necessary to use dd?

Absolutely not.

 Where does the MBR fit into this?

Ah.  Now, /that/ isn't part of the filesystem image, but is part of the
partition, etc part of the recovery process.

It is generally[1] sufficient to chroot into the restored system and
rerun the grub installer, or use the fix the boot setup option in your
rescue system.[2]


When I said that Mondo wrapped up some of this nicely, I meant that it
captures the partition map, LVM and MD configuration, and handles
reinstalling the boot loader after recovery.

None of that is strictly /hard/, but it is a set of things to learn how
to do, and something most people don't get a lot of practice in.

 The problem with any back up system is that normally you only find out
 that it works for sure when you really *need* it to work.

*nod*  You know the *really* good thing about the widespread
availability of virtual machine software?  Free bare metal to test
recovering systems to. :)

Regards,
Daniel

If you have a full copy of all your data, though, your worst case path
is install a new system, copy the data back, so you can't loose /too/
badly.

Footnotes: 
[1]  As in, on any sane, modern platform, which definitely includes
 current Debian and Ubuntu, but doesn't include RHEL 4 and, IIRC, 5
 series systems.  Unless your hardware is absolutely identical.

[2]  I keep a grub boot CD in my rescue kit, since it can also be used
 to reinstall the system, and it can read the existing menu.lst file.

-- 
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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread Adrian Chadd
On Mon, May 18, 2009, Marghanita da Cruz wrote:

 So, the school kids are being taught to develop content for four colour 
 industrial printing, rather than websites?
 
 Personally, I would think that school kids and FOSS developers time is 
 better
 spent improving tools and adding to content in the online world.
 What really erks me, is that no doubt a PDF newsletters will be produced and
 emailed around to be printed on home and school printers (no commercial 
 printer
 in sight). - Tell me I'm wrong.

I'd rather they'd be taught the difference between the two, so hopefully
those who are smart enough to get it will have the oppertunity to.

Don't dumb stuff down. Kids are smarter than you'd think. And god knows
that FOSS developers could do with being exposed to stuff -outside-
of the cool+hip FOSS environment(s) today.



Adrian

-- 
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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread Phil Scarratt
Marghanita da Cruz wrote:
 david wrote:
 snip

 I'm not an expert but I believe that the lack of native CMYK is
 fundamental to the printing problems. It's rather more than a fancy
 feature. Printing photos and artwork is fundamental to a whole
 industry (or two).

 There are other software with colour management (cinepaint comes to
 mind) but it's nowhere near as easy to use or as sophisticated as
 Photoshop. It's one area where FOSS has a way to go. I would love
 someone to tell me I'm wrong.

 
 So, the school kids are being taught to develop content for four colour
 industrial printing, rather than websites?
 
 Personally, I would think that school kids and FOSS developers time is
 better
 spent improving tools and adding to content in the online world.
 What really erks me, is that no doubt a PDF newsletters will be produced
 and
 emailed around to be printed on home and school printers (no commercial
 printer
 in sight). - Tell me I'm wrong.

No no - printed on black and white printers :) - colour printing is
still too expensive for most schools apart from the mid to high fee
range private schools.

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] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-05-17 Thread Marghanita da Cruz

Adrian Chadd wrote:

On Mon, May 18, 2009, Marghanita da Cruz wrote:

So, the school kids are being taught to develop content for four colour 
industrial printing, rather than websites?


Personally, I would think that school kids and FOSS developers time is 
better

spent improving tools and adding to content in the online world.
What really erks me, is that no doubt a PDF newsletters will be produced and
emailed around to be printed on home and school printers (no commercial 
printer

in sight). - Tell me I'm wrong.


I'd rather they'd be taught the difference between the two, so hopefully
those who are smart enough to get it will have the oppertunity to.

Don't dumb stuff down. Kids are smarter than you'd think. And god knows
that FOSS developers could do with being exposed to stuff -outside-
of the cool+hip FOSS environment(s) today.



Far from limiting the kids chances, I was hoping for the opposite. There is far
too much PDF/proprietary and Desktop published content/designed for the
printed page, on the web and not enough open accessible (HTML) web content.

If the kids are going to be provided with education on all the different 
formats, discussion about appropriate communication mediums etc, then fine but



Comparison with RGB

Comparisons between RGB displays and CMYK prints can be difficult, since the 

color reproduction technologies and properties are so different. A laser or
ink-jet printer prints in dots per inch (dpi) which is very different from a
computer screen, which displays graphics in pixels per inch (ppi). A computer
screen mixes shades of red, green, and blue to create color pictures. A CMYK
printer must compete with the many shades of RGB with only one shade each of
cyan, magenta and yellow, which it will mix using dithering, halftoning or some
other optical technique; this dithering produces a lower level of detail than
the printer's dpi suggests.



http://en.wikipedia.org/wiki/CMYK

It would also appear introducing CMYK images to the web adds further problems
... see the discussion here:
http://newsgroups.derkeiler.com/Archive/Comp/comp.graphics.apps.photoshop/2006-03/msg00067.html

Perhaps, in 12 months time we could do a survey and see how many kids laptops
have the gimp on them  or whether the school websites are full of PDF
documents.

I know, I might be a lone voice here, but I see it as atonement for once
recommending standisation on MSOffice in 1989 because it was the most
userfriendly - at the time, it wasn't as good as ?? for footnotes, or as good as
?? for table of contents and Excel just couldn't handle the data that Lotus123
could.

On the other hand, I was never a fan of Lotus Notes...and it would seem that's
been given away now

Welcome to OpenNTF.org

OpenNTF is devoted to enabling groups of individuals all over the world to 
collaborate on IBM Lotus Notes/Domino applications and release them as open 
source.

http://www.openntf.org/Internal/home.nsf

Marghanita
--
Marghanita da Cruz
http://www.ramin.com.au
Phone: (+61)0414 869202


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