[SLUG] Time to close down the coder's list?

2012-01-31 Thread Erik de Castro Lopo
Hi all,

I was one of the people who originally asked for the coder's list
and now I'd like to suggest that it is time to shut it down. The
reasons are:

  a) The list has almost no legitimate traffic (< 1 email a month).

  b) Moderating the list is a pain in the neck. I'm currently moderating
 3-5 spams a week on that list which is simply not worth the
 effort.

Committee, what is required for this to happen?

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] Re: Alternatives to Gnome3

2011-11-24 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Erik de Castro Lopo wrote:
> 
> > Although XMonad is known as tiling window manager it actually can be
> > configured as a (somewhat primitive) regular WM with over lapping
> > windows and window title bars etc.
> 
> I should also pimp bluetile:
> 
> http://bluetile.org/
> 
> which uses XMonad as a library and doesn't require the editing of Haskell
> code for configuration. Bluetile has both tiling and floating window
> configurations.

BTW, bluetile is available in debian testing and unstable.

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] Re: Alternatives to Gnome3

2011-11-24 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Although XMonad is known as tiling window manager it actually can be
> configured as a (somewhat primitive) regular WM with over lapping
> windows and window title bars etc.

I should also pimp bluetile:

http://bluetile.org/

which uses XMonad as a library and doesn't require the editing of Haskell
code for configuration. Bluetile has both tiling and floating window
configurations.

My mother-in-law and nmy father both run Ubuntu machines (currently
Lucid) and when it comes time to upgrade their machines to something
where Unity or Gnome3 are the only options, I will probably switch
them to Bluetile of some other Xmonad based WM.

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] Re: Alternatives to Gnome3

2011-11-23 Thread Erik de Castro Lopo
Rod Butcher wrote:

> Does this mean you see Gnome as dying ? I have had the feeling for a 
> while that the community supporting it has dropped below a sustainable 
> level.

Oh I hope so. AFAIAC it doesn't deserve to survuve.

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] Re: Alternatives to Gnome3

2011-11-23 Thread Erik de Castro Lopo
elliott-brennan wrote:

> Keep looking, Erik,
> 
> I'm curious as to what you finally settle on and why.

I seem to have settled on XMonad. I chose it is because it's highly
configurable and hackable. I also chose it because its written in
Haskell, a language I already know and like. In fact, even XMonad's
configuration is done by writing Haskell code.

Although XMonad is known as tiling window manager it actually can be
configured as a (somewhat primitive) regular WM with over lapping
windows and window title bars etc.

I am also currently running with gnome-session and gnome-panel (Debian
testing/unstable offers an Xmonad with gnome3-fallback option) to
provide somewhere for the network manager applet to live. I hope in
the near term to ditch as much as possible of the rest of the Gnome
because the gnome-fallback stuff is likely to disappear.

I also hope to hack/configure XMonad a little more so that it gets
a little more gloss and a few more of the features of Gnome2.

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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Erik de Castro Lopo wrote:
> 
> > Erik de Castro Lopo wrote:
> > 
> > > My issues with Gnome3:
> > > 
> > >  - When I try to start a second uxterm it brings the first
> > >one to the foreground. How do I disable this. I'm used to
> > >having multiple terminals. It makes sense for what I do.
> > > 
> > >  - I want to disable the stupid desktop search rubbish. How?
> > > 
> > >  - I want a constant predefined number of workspaces and
> > >want to switch between them with Ctl+Alt+Left/Right.
> > >Something like the old G2 workspace manager. Where is
> > >it?
> > > 
> > >  - I want to be able to set the background image from a
> > >command line program. How?
> > > 
> > >  - Where the hell is the configuration? 
> > 
> > 
> >   - I want to disable the Activities button/menu in the top left and
> > replace it with the Application menu. How?
> > 
> >   - How do I set up shortcuts? I would like buttons or a menu for the
> > stuff I want to get to quickly.
> > 
> > 
> >   - How do I change the colour and theming?
> 
> 
>   - There are 4 options for window title bar text size, Small, Normal
> etc. Small is too small, and normal too big? Why can't I set a 
> point size?

  - How do I get ride of the lame ass shadows around window? I really
don't feel like wasting CPU cycles on stupid crap like that.

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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Erik de Castro Lopo wrote:
> 
> > My issues with Gnome3:
> > 
> >  - When I try to start a second uxterm it brings the first
> >one to the foreground. How do I disable this. I'm used to
> >having multiple terminals. It makes sense for what I do.
> > 
> >  - I want to disable the stupid desktop search rubbish. How?
> > 
> >  - I want a constant predefined number of workspaces and
> >want to switch between them with Ctl+Alt+Left/Right.
> >Something like the old G2 workspace manager. Where is
> >it?
> > 
> >  - I want to be able to set the background image from a
> >command line program. How?
> > 
> >  - Where the hell is the configuration? 
> 
> 
>   - I want to disable the Activities button/menu in the top left and
> replace it with the Application menu. How?
> 
>   - How do I set up shortcuts? I would like buttons or a menu for the
> stuff I want to get to quickly.
> 
> 
>   - How do I change the colour and theming?


  - There are 4 options for window title bar text size, Small, Normal
etc. Small is too small, and normal too big? Why can't I set a 
point size?

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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> My issues with Gnome3:
> 
>  - When I try to start a second uxterm it brings the first
>one to the foreground. How do I disable this. I'm used to
>having multiple terminals. It makes sense for what I do.
> 
>  - I want to disable the stupid desktop search rubbish. How?
> 
>  - I want a constant predefined number of workspaces and
>want to switch between them with Ctl+Alt+Left/Right.
>Something like the old G2 workspace manager. Where is
>it?
> 
>  - I want to be able to set the background image from a
>command line program. How?
> 
>  - Where the hell is the configuration? 


  - I want to disable the Activities button/menu in the top left and
replace it with the Application menu. How?

  - How do I set up shortcuts? I would like buttons or a menu for the
stuff I want to get to quickly.


  - How do I change the colour and theming?

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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Jeremy Visser wrote:

> On 12/11/2011, at 22:21, Simon Rumble wrote:
> > Gnome and Ubuntu have totally lost the plot. They seem to think removing
> > options is the key to usability. At this point the Windows 7 GUI is looking
> > good by comparison!
> 
> Those who forget history are bound to repeat it. People
> complained the same way in the transition from GNOME 1
> to GNOME 2, and everyone eventually agreed it was better.

Well the transition from G1 to G2 broke all existing config
tweaks but the same functionality was basically there. The
breakage from G2 to G3 is far, far bigger and some of the
changes are just insane (eg having multiple terminal windows
is disabled by default).

My issues with Gnome3:

 - When I try to start a second uxterm it brings the first
   one to the foreground. How do I disable this. I'm used to
   having multiple terminals. It makes sense for what I do.

 - I want to disable the stupid desktop search rubbish. How?

 - I want a constant predefined number of workspaces and
   want to switch between them with Ctl+Alt+Left/Right.
   Something like the old G2 workspace manager. Where is
   it?

 - I want to be able to set the background image from a
   command line program. How?

 - Where the hell is the configuration? 
 
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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> I'm trying out XFCE now.

XFCE is just so ugly! t looks like WMs from the late 1990s.

So I try e17, which fails completely in style over usability.

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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Paul Dwerryhouse wrote:

> For what it's worth, I can't stand Gnome 3 either, however after trying out
> both XFCE and KDE,

I'm trying out XFCE now. After messing with it for some time I
still have the following problems with it:

 - Can't figure out how to remove panel at the bottom of the
   screen.

 - Can't figure out how to reduce the height of the top panel.

 - Can't find the GTK theme I used to use in Gnome2. That theme
   minimised the 3D drawing effects on buttones and widgets etc.


> I sat down and spent a lot of time with Gnome 3's classic mode,
> and have been able to make it almost identical to my former Gnome 2 setup.

My main problem with that route is that firstly I can't figure
out how to enable it and second, I'm concerned that it may
disappear in some future release.

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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Simon Rumble wrote:

> +1 on this query. Awesome gets a lot of kudos,

Thats a tiling WM. I tried XMonad for a while but it was a pain
in the neck.

> surely a text-file-only configuration GUI is kinda missing the point?

I really like text file only config. Even the Gnome2/gconfig thing
was already pretty odious.

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] Alternatives to Gnome3

2011-11-12 Thread Erik de Castro Lopo
Hi all,

I just upgraded my debian testing laptop and found myself running
Gnome3. I was quite happy with Gnome2 (with a few minor tweaks)
but Gnome3 is completely abysmal.

Can anyone recommend an alternative? Something simple and minimal
without too much ugly. Sorry I can't stand tiling WMs either.

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] Unicode and Postscript

2011-11-02 Thread Erik de Castro Lopo
Maxim Zakharov wrote:

> Hi,
> 
> There is paps utility which reads UTF-8 encoded file and produces a
> PostScript file: http://paps.sourceforge.net/
> It's available as Ubuntu package.

Well done Maxim, that looks very promising.

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] Unicode and Postscript

2011-10-30 Thread Erik de Castro Lopo
Hi Peter,

I thought you might be an early responder on this issue :-).

pe...@chubb.wattle.id.au wrote:

> >>>>> "Erik" == Erik de Castro Lopo  writes:
> 
> Erik> Hi all, Years ago I had a need to add text dynamically to a
> Erik> template Postscript document. My solution was a small program
> Erik> that sucked in the Postscript template and then inserted
> Erik> Postscript commands to render the required additional text.
> 
> With UTF-8 it's a problem.

That's what I'm finding.

> My preferred solution would be to change
> to a XeLaTeX template, and generate PDF/PS from that. as XeLaTeX
> already understands UTF-8 and Unicode, and can import PDF graphics, or
> use a PDF file as a background over which to put imported text/grachics,

This would be a solution if it was something I was running in front
of me on my own machine. Unfortunately, this is being done to print
tickets in kiosk type devices administered remotely over the net.
It this situation I would prefer not to run LaTeX because a) it's
rather slow in comparison to what we have now and b) doing error
detecion/recovery is hard.

More research needed it seems.

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] Unicode and Postscript

2011-10-30 Thread Erik de Castro Lopo
Hi all,

Years ago I had a need to add text dynamically to a template Postscript
document. My solution was a small program that sucked in the Postscript
template and then inserted Postscript commands to render the required
additional text.

This has worked well for pure ASCII text, but I am now facing the problem
of how to extend this for UTF-8.

I have read the various Unicode and Postscript FAQs around the 'net
but those documents all seem to be pretty old and there doesn't seem
to be any easy solution.

Anybody have any clues on where to go from here?

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] Tutorial for a LaTeX package.

2011-09-26 Thread Erik de Castro Lopo
David Lyon wrote:

> why Latex in this modern age?

LateX gives you a number of things:

 a) Significanlty better layout and rendering.

 b) Better control of rendering and layout, particular of
things like mathematical formula.

 c) The ability to properly diff version of a document and
to put a document in revision control and have the revision
control system do sensible things with it.

 d) Improved ability to handle really large documents (ie
things like PhD theses or complete books).

 e) A better separation of actual content from layout
directives.

There is little change of any WYSIWYG documentation package
to ever catch up. I do however think there may be a LaTeX
replacement at some stage, but that will most likely work
much like LaTeX.

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] Addressbook and Calendar apps

2011-09-05 Thread Erik de Castro Lopo
pe...@chubb.wattle.id.au wrote:

> I don't want my private data to be held by a third party who are not
> even Australian.  I don't like Google's policies, and have not agreed
> to their terms and conditions (which, among other things, say that
> they can at any time remove your access to your data, do not have to
> explain why, and do not have to give it back).

Thats a very sensible position. What surprises me is that so many
people have no problems whatsoever handing over their data to 
google, facebook and whoever else asks for it.

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] Huawei E585 pocket-wifi on vodafone network?

2011-08-26 Thread Erik de Castro Lopo
David Lyon wrote:

> was 'usb-dev' tried?
> 
> on ubuntu I had a 3 modem, and once you do a "apt-get install usb-dev" it
> suddenly was recognised and came to life..

Err, there is no 'usb-dev' package.

There is a libusb-dev, package, but that is the development files
for the libusb library which is should not be related.

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] Huawei E585 pocket-wifi on vodafone network?

2011-08-26 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> I'm trying to set up a Huawei E585 pocket wifi device on Ubuntu 
> 11.04. The device has a USB pid/vid of 12d1:1446 and network-manager
> simply doesn't recognise it.

This device is rather confusing. When plugged into the machine
lsusb says:

   12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)

but printed on the actual case is Huawei E585.

By default it comes up as a USB mass storage device when plugged
in. It then needs some magic incantation send via usb_modeswitch
to actually switch it into modem mode.

Unfortunately, while I have found magic incantations[0] for other
modems, I have not been able to find any for this particular device.

I am therefore going to suggest to the own of said device that they
take it back to Vodafone and get it replaced with something that
actually works on Linux.

Erik

[0] http://www.blah-blah.ch/Mra/HuaweiUmts

-- 
----------
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] Huawei E585 pocket-wifi on vodafone network?

2011-08-21 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> I'm trying to set up a Huawei E585 pocket wifi device on Ubuntu 
> 11.04. The device has a USB pid/vid of 12d1:1446 and network-manager
> simply doesn't recognise it.
> 
> Alternatively if someone could point me to documentation on how
> to ge new $random_device working with NM that would also be
> appreciated.

Rob Collins pointed me to this:

https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/683996

Thanks Rob.

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] Huawei E585 pocket-wifi on vodafone network?

2011-08-19 Thread Erik de Castro Lopo
Hi all,

I'm trying to set up a Huawei E585 pocket wifi device on Ubuntu 
11.04. The device has a USB pid/vid of 12d1:1446 and network-manager
simply doesn't recognise it.

Alternatively if someone could point me to documentation on how
to ge new $random_device working with NM that would also be
appreciated.

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] search and replace multiple files?

2011-08-02 Thread Erik de Castro Lopo
Sonia Hamilton wrote:

> I'm looking for a GUI that allows me to search and replace in multiple
> files, then leaves open the files that have changed - any pointers?
> 
> For example, I want to replace "def fubar" with "def snafu" across 50
> files. I then want to close all the files that didn't have changes, so I
> can investigate the changed files in more detail (yes, I'm refactoring).
> 
> PS I know about sed, and how to edit multiple files in vim [1].

Assuming that you are keeping this in git, why not just do the
following:

  a) Make sure everything has been commited.

  b) Use sed/perl/python/whatever to do the changes on the command
 line.

  c) Use git with an external graphical diff program to review the
 changes.

For a graphical diff I use mgdiff (in Debian and Ubuntu at least)
and have two aliases:

  alias git-mgdiff='git diff '
  alias git-diff='git diff --no-ext-diff '

The external diff is set up in $HOME/.gitconfig using:

   [diff]
   external = /home/user/scripts/git-mgdiff-wrapper.sh

and the wrapper script is simply:

#!/bin/bash
mgdiff "$5" "$2"
    exit 0

HTH,
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] resolv.conf reset each reboot - static config - ubuntu server 10.04

2011-06-30 Thread Erik de Castro Lopo
Zenaan Harkness wrote:

> > There is a network configuration file in RHEL or Fedora.
> > /etc/sysconfig/network-scripts/ifcfg-eth0(for e.g.)
> 
> This is an ubuntu 10.04 server (as mentioned) and I can't find the
> file you are referring to.

The file /etc/sysconfig/network-scripts/ifcfg-eth0 is redhat
specific (possibly also suse).

> > I believe you can specify a nameserver in interfaces in 10.04
> > check out man resolvconf
> 
> Pretty sure I've done that already. I assume you're referring to
> /etc/network/interfaces

If you have defined your interface as static, why have you got
resolvconf installed? Remove it (ie purge it), then make sure
/etc/resolv.conf is not a symlink and then edit that file to
your liking. Or better yet, defined them in /etc/network/interfaces.

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] The 'nanny state' and freedom of choice

2011-06-29 Thread Erik de Castro Lopo
Marghanita da Cruz wrote:




This is offtopic. Please take it elsewhere like slug-chat.


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] Re: Article, Linux, APC

2011-06-23 Thread Erik de Castro Lopo
James Linder wrote:

> I agree but I wonder if the ethical argument does not transend reality ...

What? Ethical arguments are orthogonal to reality.

> To what extent do most users *know* that they are using linux? /proc
> /sys /dev/shm lmsensors come to mind, the rest is GNU or GPL.

There is about the same about of BSD and X11 license stuff as
GPL/LGPL in a normal Linux distro.

> I've had people - say my mother in law - using a desktop machine, here,
> completely oblivious to linux powering their way.

How does that contribute to any argument you are trying to make?
 
> I bought an iMac to run linux, linux ran terribly on it!

So why did you buy an iMac to begin with?

> I am now running OSX with my normal compliment of GNU/GPL apps
> and my desktop looks very similar to the dozen linux-only machines.

You paid money to Apple, the profit portion of which they will
use to further the cause of Apple. The cause of Apple is in
direct conflict with the causes of freedom, Linux and FOSS.

Eri
-- 
----------
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] Article, Linux, APC.

2011-06-22 Thread Erik de Castro Lopo
David Lyon wrote:

> It's not so much that Linux is dead, but rather it is perhaps finished.
> 
> The computers 'to-die-for' now, are no longer the Windows machines
> but the Android and Apple computers.
> 
> Clearly, they both are Linux derivates. So in a way, commercial Linux
> won out.
> 
> There's little that really can be done on an activism front. Because
> that is just appstore or whatever they call it.

The activisim actually needs to be stepped up.

The linux people like myself who fled windows in the mid 1990s did
so for reasons of Freedom.

Apple and its Apple appstore is an even more constrained and shackled
garden than windows ever was.

I'm using Linux instead of Apple because:

 a) I don't like the fact that hardware that runs Apple's OS is 
only available from one manufacturer. This sitution is bad
for consumers, because Apple can charge consumers however
much they like.

 b) Apple's move to control everything that runs on their hardware
is bad for software developers because Apple has control over
what software is and is not presented to Apple's customers.
That means the software developer has to toe Apples line or
face being removed from the appstore.

 c) Apple's move to control everything that runs on their hardware
is bad for a whole bunch of freedom related issues. Apple has
in the recent past blocked gay and lesbian ebook literature
from the appstore. Who the fsck made Apple the gate keepers
to what can and cannot be read?

Quite honestly anyone who runs Apple hardware and software should
take a really good think about the logical conclusions to Apples
rapidly increasing market share because there will come a time
where removing Apple from the top rank will be far, far harder than
the removal of Microsoft.

Erik

PS : Eben Moglen is well worth watching:
 http://www.youtube.com/watch?v=gORNmfpD0ak&feature=share
-- 
--
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] Subscription-based netfiltering (parentally speaking)

2011-06-20 Thread Erik de Castro Lopo
K L wrote:

> Hi All, 
> 
> does anyone know of any linux-based filtering software I can put in place to 
> protect him from himself? 
> 
> Requirements would be; 
> 
> Subscription-based; so, someone out there keeping the list of sites,
> keywords, extensions, etc. up to date.
> Ability for me to add to it for personal choice; - effectively contribute
> Ability to IP (or MAC) restrict it's use; - so it's only him and not us. 

I refer you to the Scunthorpe problem:

   https://secure.wikimedia.org/wikipedia/en/wiki/Scunthorpe_problem

one of the many unintended consquences of filtering:

   
https://secure.wikimedia.org/wikipedia/en/wiki/Swear_filter#Unintended_consequences

Furthermore, if your child is more than about 12 years old and at all
technically literate, they will figure out how to bypass it.

A better solution might be to put the computer in the living room
or somewhere else where there is a lot of regular family traffic.

Regards,
Erik (father of an 8 year old)
-- 
----------
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] Re: Virus Scanner

2011-04-04 Thread Erik de Castro Lopo
Jon and Hannah wrote:

> On Sun, 3 Apr 2011 09:36:07 pm you wrote:
> > I think it is going to come back and bite the Linux community if we go
> > via the line that we are immune to viruses, like Apple users have done
> > for many years.
> 
> Wasn't there a virus for unix systems a few years ago that slowed almost the 
> entire internet to an almost halt?

A reasonable telling of the history:

http://www.freerepublic.com/focus/f-chat/2634313/posts

That history lacks a telling of whether these were zero-day exploits
or exploits against old versions of software which could have easily
been prevented by keeping systems up-to-date.

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] Re: Virus Scanner

2011-04-03 Thread Erik de Castro Lopo

I am subscribed to this list. Please don't CC me when replying.

Morgan Storey wrote:

> Yes polymorphic viruses have been around a long time, but look at say
> the 100 biggest infectors at the moment, none of them I would say are
> polymorphic, all of them can be picked up by signatures.

And all of those are hitting machines that are either unpatched or
have vulnerabitlites that should have been patched.

> Not 100% safe, you can still have users doing things they shouldn't
> like giving a screensaver root privileges.

A user dumb enough to do this shouldn't have root privileges.

> Virus writers are as lazy as the rest of us

But as soon as virus scanners catch all non-polymorphic viruses
virus writers will stop writing non-polymorphic viruses.

My thesis is that continuing the virus arms race with virus scanners
results in a situtaion where the virus scanners are unable to detect
99% of all viruses. I think effort should be invested in heading all
viruses that exploit code rather than users off at the pass by fixing
the software bugs viruses exploit.

The user problem needs to be dealt with separately.

> 100% secure code is also nigh-on impossible to write if you want it to
> be flexible to the user.

I think the people here in Sydney who worked on the Sel4 project:

http://ertos.nicta.com.au/research/sel4/
http://www.sigops.org/sosp/sosp09/papers/klein-sosp09.pdf

would say that the level of difficulty is not "nigh-on impossible"
but is at the "phd research in compsci" level of difficulty.

Going by the experience of the Sel4 project, I would say that it
is currently not possible to economically write provably correct
code, but it possible. As more research goes on in the field of
provably correct code, the techniques will improve, become easier
to apply and become more widespread. Long term, that is the only
hope for secure computing.

> Most of the people on this list are not the average user, but my point
> still stands if we continue along the line that Linux is immune to
> viruses we will get bitten as Apple has, one day, and it will be
> harder than the gnome-look screensaver of the Proftpd compromise.

That was a user failure. Dumb users need to be locked down so they
can't compromise the systems they work on.

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] Re: Virus Scanner

2011-04-03 Thread Erik de Castro Lopo
Morgan Storey wrote:

> I think it is going to come back and bite the Linux community if we go
> via the line that we are immune to viruses,

Unfortunately, the alternative, virus scanners that look for
particular virus signatures is nothing more than security
theatre.

Firstly, inew viruses can be written so fast that the virus
detection engines have absolutely no way of keep up.

Secondly, self modifing polymorphic virses have been around for
at least a  decade. That means for an instruction set like x86,
for any set of 1000 instructions there are probably 10s of
thousands of ways to rewrite those 1000 instructions so they
behave the same but won't be detected by a scanner that detects
the original.

The *only* 100% safe way to guard against viruses to fix all the
security holes that viruses exploit. That means better coding 
practices.

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] linked in - please block

2010-12-13 Thread Erik de Castro Lopo
kfos...@tpg.com.au wrote:

> Can we please block all emails from   invitati...@linkedin.com
> 
> We should probably also moderate anything from @linkedin.com.

I would also suggest a permanent ban as well as tarring and
feathering for the offenders who sign up any mailing list
to linkedin.com/facebook.com/iamanidiot.com/etc.

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: XecureBrowser - looks like snake oil to me. (was Re: [SLUG] Browsers for banking)

2010-11-11 Thread Erik de Castro Lopo
Scott Finneran wrote:

> On 11/11/10 13:29, Erik de Castro Lopo wrote:
> 
> > One thing I like to do is use Firefox's profile manager to set up
> > a profile which I only use for web banking.
> 
> Nice idea. Do you do anything special on that profile or does it just provide 
> isolation?

The important thing about this profile is that there are no
extraneous plugins.

I also set this profile to "Never remember history", suggest
"Nothing" on the location bar in the Privacy settings and
"Never remember passwords" in the Security settings.

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: XecureBrowser - looks like snake oil to me. (was Re: [SLUG] Browsers for banking)

2010-11-10 Thread Erik de Castro Lopo
Daniel Pittman wrote:

> Mada R Perdhana  writes:
> 
> How interesting.  It looks pretty much like snake-oil, a scam intended to
> scare folks who don't know much about security, to me.

I agree.

One thing I like to do is use Firefox's profile manager to set up
a profile which I only use for web banking. I'm in Shelbyville
where they call firefox iceweasel and I launch my banking firefox
profile using:

/usr/bin/iceweasel -no-remote -P Banking 

If someone runs that and doesn't already have a banking profile it
will ask you to create one.

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] On buying a laptop.

2010-10-14 Thread Erik de Castro Lopo
Tony "H.G" Candito wrote:

> OK, so now that we've learn't what isn't safe. What is?

Until my current laptop, but usual approach was to buy whatever
Dell laptop and Ubuntu developer and Canonical employee (usually
Rob Collins) was using.

My experience with Dell was good, but i was usually buying something
near the top of the line.

The main reason I switched from Dell to HP was that I wasn't able
to get a Dell without paying for MS Window. The HP I bought through
Everything Linux came from the factory with FreeDOS installed. The
HP has been excellent.

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] CUPS and detection of printer presence

2010-10-14 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> So, my question is, can a printer that only requires a PPD file
> give me feedback like presence, paper status etc or do I need
> to write a CUPS backend driver to get those features.

Asking in the cups.development forum:

http://cups.org/newsgroups.php?s3895+gcups.development+v3913+T0

that proper feedback is possible from just a PPD file, but that
the USB backend on Linux lacks this feature.

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] CUPS and detection of printer presence

2010-10-13 Thread Erik de Castro Lopo
Zenaan Harkness wrote:

> From memory it
> told me ink levels and only required a t522.ppd.

Thanks that is a data point.

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] CUPS and detection of printer presence

2010-10-12 Thread Erik de Castro Lopo
Hi all,

For a couple of years now I've been using a small APS brand
printer that connects via serial port. In order to support this
printer, there is a binary executable (i have GPL sources as
well) that gets installed at /usr/lib/cups/backend/aps as will
as a Postscript Printer Description (PPD) file that gets installed
under /usr/share/cups/model/ (which gets copied to /etc/cups when
the printer is configured).

Working with this printer has been relatively straight forward
and from a program that uses the CUPS API I can detect if the
printer is present, whether it has paper, whether its nearly
out of paper etc.

I am now working with a new printer (by Zebra) which connects
via USB. All that this printer seems to require is a PPD file,
but using the PPD, the CUPS API can't even tell me if the
printer is connected.

So, my question is, can a printer that only requires a PPD file
give me feedback like presence, paper status etc or do I need
to write a CUPS backend driver to get those features.

TIA,
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] Bad sector's

2010-10-07 Thread Erik de Castro Lopo
Jeremy Visser wrote:

> Josh Smith said:
> > sda1= 150 bad sectors
> > sdb1= 392 bad sectors
> > sdc1= 238 bad sectors
> 
> Weird that you have bad sectors on each drive. Unless all three drives
> are really old and decrepit.

Faulty cabling or disk controller could explain why all three
disks are reporting problems.

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: R: Re: [SLUG] Ubuntu disk in Sydney

2010-10-06 Thread Erik de Castro Lopo
Marika Ercolani wrote:

> Erik de Castro Lopo wrote:
> 
> >Where in Sydney are you located? If you give a location there is a
> >good chance there will be a knowledgable Linux user in the same
> >area that can provide you with an ISO.
> 
> I live at 207 Chalmers St, Redfern.
> Any Linux user with a wonderful ISO in the neighbourhood?

I'm at Kings Cross/Potts Point, but I'm sure there's someone
closer to you.

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] Ubuntu disk in Sydney

2010-10-06 Thread Erik de Castro Lopo
Marika Ercolani wrote:

> I'm Italian, I arrived in Sydney 3 weeks ago.

Welcome.

> I am looking for a software developer job and I have already sent some CVs.
> Unfortunately in the apartment where I live I have a very very slow internet 
> connection and I can't download an ISO of Ubuntu.
> Does someone kwnow where I can get a copy of the Ubuntu CD?
> Or if is there a place in the city where I can have a broadband internet 
> access?

Where in Sydney are you located? If you give a location there is a
good chance there will be a knowledgable Linux user in the same
area that can provide you with an ISO.

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] Listing local wifi access points?

2010-10-04 Thread Erik de Castro Lopo
darrin hodges wrote:

> The aircrack-ng <http://www.aircrack-ng.org/> suit contains a utility that
> will list AP's.

Sorry, any program whose getting started tutorial [0] has a first
step of "Determine the chipset in your wireless card" is going in
the wrong direction.

I have absolutely no interest in cracking other peoples wifi. What
I'd like to do if figure out which channel in my local area is the
least congested so I can park my AP on that channel.

Erik

[0] http://www.aircrack-ng.org/doku.php?id=getting_started)

-- 
----------
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] Listing local wifi access points?

2010-10-03 Thread Erik de Castro Lopo
dave b wrote:

> On 3 October 2010 16:10, Erik de Castro Lopo  wrote:
> > Erik de Castro Lopo wrote:
> >
> >> Does anyone know tool to list all local wifi access points with their
> >> channel numbers and encryption types? Preferably command line (but I'm
> >> running Gnome with network manager on a Debian system if there is
> >> something that fits in with that).
> >
> > Thanks for ctd on #slug for applying the cluebat. Its simple:
> >
> >    iwlist $interface scan
> >
> 
> kismet is also fairly useful ;)

Execpt that it doesn't seem to support my wifi hardware.

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] Listing local wifi access points?

2010-10-02 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Does anyone know tool to list all local wifi access points with their
> channel numbers and encryption types? Preferably command line (but I'm
> running Gnome with network manager on a Debian system if there is
> something that fits in with that).

Thanks for ctd on #slug for applying the cluebat. Its simple:

iwlist $interface scan

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] Listing local wifi access points?

2010-10-02 Thread Erik de Castro Lopo
Hi all,

Does anyone know tool to list all local wifi access points with their
channel numbers and encryption types? Preferably command line (but I'm
running Gnome with network manager on a Debian system if there is
something that fits in with that).

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] Weird X/Gnome issue

2010-08-01 Thread Erik de Castro Lopo
Jeremy Visser wrote:

> Erik de Castro Lopo said:
> > When I power up the machine, the login screen comes up correctly at
> > 1280x800 resolution, but when I login it switches to 1024x767 for no
> > good reason.
> 
> $ rm .config/monitors.xml

You get a cookie!

Well done Jeremy, my set up is sane again.

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] Weird X/Gnome issue

2010-07-29 Thread Erik de Castro Lopo
Nick Andrew wrote:

> On Thu, Jul 29, 2010 at 08:23:49PM +1000, Erik de Castro Lopo wrote:
> > I have grepped $HOME/.gconf/ $HOME/.gnome2/ and $HOME/.gnome2_private/
> > for the string "1024" and found nothing display related.
> 
> Can you strace your Window Manager to find out what files it reads?

>From grepping I'm pretty sure its not reading it from a file.

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] Weird X/Gnome issue

2010-07-29 Thread Erik de Castro Lopo
Dean Hamstead wrote:

> Gnome display settings are perhaps overriding the x config.

Well this is the new Xorg (current Debian/Ubuntu) where resolution
is not really specified anywhere.

> If all else fails, try creating another user and logging in?

Tried this. The new account does the right thing and the old
one doesn't, with no idea what the difference is.

I have grepped $HOME/.gconf/ $HOME/.gnome2/ and $HOME/.gnome2_private/
for the string "1024" and found nothing display related.

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] Weird X/Gnome issue

2010-07-29 Thread Erik de Castro Lopo
Hi all,

I have an laptop with a native resolution of 1280x800 running Debian
testing with a Gnome desktop.

When I power up the machine, the login screen comes up correctly at
1280x800 resolution, but when I login it switches to 1024x767 for no
good reason. I have to run

xrandr -s 1280x800

Any clues to fixing this?

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] Reply-to address on SLUG posts

2010-07-26 Thread Erik de Castro Lopo
Michael Chesterton wrote:

> I hear you. I think it's possible, though, to filter direct mails
> into the list folder. Obviously not with the List-Id, but some
> other method (like your +slug address, for one example). 

Well my +slug address is used for a couple of slug related lists
which I like to keep separate.

I could check to see if the list address was in the To or CC
fields, but that would triple the size of the procmail filter
(which already has 150 entries) and will become a maintenance
issue (ie three procmail entries per mailing list).

> > The thing that appals me most, is that if reply-to munging was used
> > this wouldn't be a constant problem.
> 
> You set the reply-to and still got a direct mail.

Yes, but if reply-to munging was in place, noone would be tempted
to reply-to-all because the default behaviour would be correct.

> > Instead, there would be the
> > ocassional problem of a mail sent to the list when it was meant as
> > a private response. Yes, i have read the repy-to-munging-is-evil
> > thing but I choose to disagree.
> 
> And if Mail-Followup-To was used by everyone...

And if ponies farted rainbows .

I won't hold my breath :-)

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] Reply-to address on SLUG posts

2010-07-26 Thread Erik de Castro Lopo
Michael Chesterton wrote:

> Personally I find lists and people setting reply-to annoying. I mean
> how important are you that you can't be disturbed by an email in your
> in box.

Thats an extremely short-sighted view.

I am on a well over 50 mailing lists, some of which can have
high volumes (the kernel mailing list can peak at over 50 emails
an hour). Having that torrent end up in my inbox is completely out
of the question as I also receive emails directly to me that need
to be acted on at relatively short notice.

> There's also the option of filtering the direct emails so you never
> have to see them. 

I do this filtering using procmail triggered by the List-Id.

The problem is that if I send a email to this list and I set a
Reply-To (and no, Mail-Followup-To is not well supported) and
someone does a reply-to-all a two things can happen depending
on the list setup:

  a) I get two copies, the direct one and via the list software.
 The first ends up in my inbox, and the second in the correct
 folder.


  b) The list software recognises that I was CCed and doesn't send
 me a copy so I only get the direct copy, which ends up in my
 inbox.

For case a) I have to remember whether I can delete it for this
list or whether I should manually move it to the correct folder.

This whole problem becomes far worse if I get CCed a copy on 
discussion thread of hundreds of messages where everyone is
CC-ing me.

The thing that appals me most, is that if reply-to munging was used
this wouldn't be a constant problem. Instead, there would be the
ocassional problem of a mail sent to the list when it was meant as
a private response. Yes, i have read the repy-to-munging-is-evil
thing but I choose to disagree.

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] Simple web authoring tools?

2010-07-26 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Based on the output of the wdg-html-validator I should
> choose Kompozer, because the mercuryvideos site has
> fault-less valid HTML while the Yola generated site,
> techfriend, is full of validation errors.

Regardless of which, they are both attractive web sites :-).

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] Simple web authoring tools?

2010-07-26 Thread Erik de Castro Lopo

Note: I am subscribed to the list and I set my reply-to
to point to the list. Please don't CC me as well.

elliott-brennan wrote:

> I would agree with Xorprime (name???) about
> Kompozer. You can also look at browser based
> services like yola.com.
> 
> If you look at my sites listed below, the first
> was created using Yola and the second was created
> using Kompozer.

Based on the output of the wdg-html-validator I should
choose Kompozer, because the mercuryvideos site has
fault-less valid HTML while the Yola generated site,
techfriend, is full of validation errors.

On Debian/Ubuntu one can do:

 apt-get install wdg-html-validator 

and then run

 validate http://whereever/whatever/

which will validate the page. The validate program can of
course also be run on HTML pages on disk. Whenever I create
web pages I always run validate over them and fix all 
problems before pushing the page to the web server using
ssh.

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] Simple web authoring tools?

2010-07-25 Thread Erik de Castro Lopo
Hi all,

While I'm happy to create web pages in a text editor, my 7 year
old daughter has expressed an interest in creating some web pages
so I'm looking for a nice simple tool (on Linux of course).

There seem to be a number of them like Amaya and Bluefish. Does
anybody have any direct experience with any of these or others?

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] Hardware recommendations

2010-06-29 Thread Erik de Castro Lopo
Hi all,

My mother-in-law has been using a Shuttle style PC running Ubuntu for
a number of years and that machine has just died.

Anybody have any recommendations for a small form-factor machine 
(shuttle sized or even mac-mini style) that can be bought without
paying the windows tax? Sydney local preferred but open to other
options.

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] EFA defends itself in Hansard

2010-06-22 Thread Erik de Castro Lopo
Hi all,

In case anyone missed it, Electronic Fronteers Australia (EFA) yesterday
managed to get its rebuttal of Conroy's misleading statements about it
tabled in Hansard:

http://www.aph.gov.au/senate/committee/priv_ctte/report_145/e02.htm

I fyou agree with the work the EFA is doing I encourage you to donate
to this fine cause:

http://www.efa.org.au/

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] SLUG monthly meeting: 26 June 2010

2010-06-22 Thread Erik de Castro Lopo
Harrison Conlin wrote:

> Location
> Google Sydney - 48 Pirrama Road, Pyrmont
> 
> Summary
>   * Date: Friday June 28

Friday June 28th? Sorry, what year?

Subject line says 26th. Thats not right either.

I know, why don't we try Friday June 25th, 2010.

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] LD_PRELOAD

2010-06-12 Thread Erik de Castro Lopo
james wrote:

> I can't find any info on this, so it's prodly so obvious that only dumbkorfs 
> ask :-)
> 
> I have a program using a web cam. All is perfect except that I need to
> 
> export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
> 
> before running it.
> 
> How can I compile the links into the code, rather than a PRELOAD env setting?


You can't.

Instead, create a wrapper script containing:

#!/bin/bash
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
exec your-webcam-program

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] Postfix and PCRE filtering

2010-06-06 Thread Erik de Castro Lopo
Hi all,

I'm messing postfix-pcre version 2.6.5-3 from Debian testing. In the
/etc/postfix/pcre_table I have the following rule:

 /^Subject: .*(casino|nline pharmacy).*/i REJECT

I also have in /etc/postfix/main.sf I have:

 header_checks = pcre:/etc/postfix/pcre_table

to enable pcre checks.

If I send email from a gmail account with the word 'casino' in the
subject line, the email is rejected and the gmail account gets a
'Delivery Status Notification' message.

However, even with all the above, I'm still getting emails with
'casino' in the subject line.

Anybody have any idea why PCRE is only working with postfix some
of the time?

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] HTTPS Everywhere Firefox addon

2010-05-28 Thread Erik de Castro Lopo
Henare Degan wrote:

> On Fri, May 28, 2010 at 13:12, Erik de Castro Lopo
>  wrote:
> > Peter Eckersley of the EFF and Mike Perry of the Tor project have
> > written a Firefox addon to make it easier to use Google's SSL
> > search feature, among other mixed-mode SSL sites:
> >
> > https://www.eff.org/https-everywhere/
> 
> That is _brilliant_! Their warning about it not being public and being
> very alpha should be heeded though :)

Yes, I only saw that after I posted the link.

> >From the code comments in the rules...
> 
> "most google international sites look like "google.fr"...some look
> like "google.co.jp"...and some crazy ones like "google.com.au""

The really cool thing is that you can add your own rewrite rules. The
standard are in the Firefox profile directory as:

   ./extensions/https-everywh...@eff.org/chrome/content/rules

but there is also a directory for user rewrite rules under the
HTTPSEverywhereUserRules/ directory in the Firefox profile directory.
I added one for the DuckDuckGo search engine as:

  
http://duckduckgo.com/"; 
  to="https://duckduckgo.com"/>
  

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] HTTPS Everywhere Firefox addon

2010-05-27 Thread Erik de Castro Lopo
Hi all,

Thought this may be of interest for Freedom loving Linux users.

Peter Eckersley of the EFF and Mike Perry of the Tor project have
written a Firefox addon to make it easier to use Google's SSL
search feature, among other mixed-mode SSL sites:

https://www.eff.org/https-everywhere/

The addon is based on the NoScript STS/HTTPS forcing engine, with
improvements in how rules are specified. Rules for our addon are
specified as XML files that allow arbitrary URL rewrite substitution
via regular expressions and exclude patterns. This allows us to write
more complete and less error-prone rules than NoScript's
include/exclude model allows.

The eventual idea is to allow an Adblock Plus style model, where users
can submit and exchange rule files and eventually create subscriptions
for the sites they use that partially support SSL.

We also hope that NoScript will share our rule format and update
mechanisms, so that our rulesets will be interchangeable.

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] Skype submitting SILK codec to IETF

2010-03-21 Thread Erik de Castro Lopo
Glen Turner wrote:

> As stated on the web site, the use of the SILK codec for any other
> purpose than for your internal evaluation and testing requires an
> additional license to Skype IP.

Looks like open sores to me. Definitely not Open Source.

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] Joomla

2010-02-21 Thread Erik de Castro Lopo
Jeff Waugh wrote:

> Because no one has packaged it. Probably because no one loves it.

Or more accurately, because noone has packaged it for Debian.

The *vast* majority of stuff available for Ubuntu is available because
someone packaged it for Debian.

I have nothing against Ubuntu, i run it on my laptop and use it at work,
I'm just interested in seeing credit going to the people who deserve
it.

FWIW, my dissatisfaction with the state of the GHC compiler and Haskell
libraries in Ubuntu prompted me to join the debian-haskell-maintainers
group. The hard work of this group (mostly not me :-)) means that GHC
and Haskell libraries in Ubuntu 10.04 will likely be in a far better
state than they have ever been before.

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] removing samba

2010-02-18 Thread Erik de Castro Lopo
meryl wrote:

> I needed to do some file sharing recently and now that the task is
> finished so I want to remove the Samba service. I'm using Ubuntu 9.10.
> 
> in Synaptic > search: samba 
> 
> shows that the following items are installed;
> 
>samba
>samba-common
>samba-common-bin
>smbclient
>libpam-smbpass
>libsmbclient
>libwbclient0
>nautilus-share
>python-smbc
> 
> When I mark "samba" for removal no other files on this list are
> marked.

Samba is the samba server. Thats the one you want to remove.

Samba-common and samba-common-bin contain files and programs used
by both the samba server and samba client programs. You probably
don't want to remove these.

> But when I select "samba-common" to be removed, Synaptic notifies me
> of a list of other files that it will also remove with "samba-common"
> - one of them being "ubuntu-desktop".
> 
> I'm not so sure that I want ubuntu-desktop removed! 

Ubuntu-desktop is a meta-package, a package that contains no files itself,
but depends on a bunch of other things that would be useful to have if
you are running an ubuntu desktop machine. However, unless you really know
what you are doing, you should probably keep ubuntu-desktop installed.

Erik (who always uses the command line dpkg and apt-* tools)
-- 
--
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] 64 bit.

2010-02-08 Thread Erik de Castro Lopo
Ken Foskey wrote:

> Flash.  Flash is still buggy.

This has nothing to  do with 64 bit. Flash is just as buggy on 32
bit (I have and use both).

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] packages.medibuntu.org?

2010-01-06 Thread Erik de Castro Lopo
Peter Miller wrote:

> On Wed, 2010-01-06 at 20:31 +1100, Erik de Castro Lopo wrote:
> > Anyone know whats happened to the packages.medibuntu.org repository?
> 
> they work.

Indeed. Must have been transitory.

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] packages.medibuntu.org?

2010-01-06 Thread Erik de Castro Lopo
HI all,

Anyone know whats happened to the packages.medibuntu.org repository?

The root directory has an apache default "It works" page.

Eruj
-- 
------
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] R.I.P. Grant Parnell

2010-01-01 Thread Erik de Castro Lopo
DaZZa wrote:

> Sadly, after a short fight, I am sad to inform that Grant Parnell
> passed away at 08:30 this morning, 1/1/10 with friends and loved ones
> by his side.

Wow, terribly sorry to here this. Grant was a long term contributor
to SLUG was always friendly and level headed.

What happened?

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] Turn of ant-aliased font in Gedit?

2009-12-21 Thread Erik de Castro Lopo
Hi all,

Anyone know if its possible to turn off anti-aliased fonts in Gedit?

Thanks,
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] Google Chrome for Linux !!!

2009-12-14 Thread Erik de Castro Lopo
Terry Dawson wrote:

> I don't think "no change" was an option. How long do you realistically 
> wait? I suppose they figured that you hadn't logged in for two weeks you 
> probably didn't care. What if it had been twelve months, would that have 
> been better?

Well maybe it should have defaulted to a more restrictive scheme
rather than a less restrictive scheme.

If your ssh daemon can't validate a user with LDAP should the daemon
left them in anyway or deny the user entry?

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] Google Chrome for Linux !!!

2009-12-14 Thread Erik de Castro Lopo
Terry Dawson wrote:

> There is a difference between telling people something and ensuring that 
> they understand it. Frankly, ticking a checkbox means nothing more than 
> than the user has read the message. That's important, but it's no proof 
> of understanding.

What I was getting at was that Facebook sent a message but changed
things without ensuring that the message had be received by the
recipient. For recipients who they could not confirm receipt of
the messages there should have no change.

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] Google Chrome for Linux !!!

2009-12-14 Thread Erik de Castro Lopo
Terry Dawson wrote:

> Mike Andy wrote:
> > this is completely off topic but you'd know if you used facebook that
> > when those changes went through the users were prompted upon login
> > that security settings were changed. For the users that clicked
> > through those prompts without reading or customizing anything, they
> > got the defaults.
> > 
> > it's not as if Facebook changed the settings without telling the users.
> 
> .. and further, they nagged users about the fact that they were going to 
> do it for at least two weeks before-hand.

How? Messages when they logged into Facebook? Was there a tick box
that said "Yes, I understand the implications of these changes"?

What if someone wasn't able to log into Facebook between when the
warnings started and the change was made (sick on vacation, whatever)?
Did they send emails?  Did they require an acknowledgement email saying
"Yes, I understand the implications"?

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] Google Chrome for Linux !!!

2009-12-14 Thread Erik de Castro Lopo
Mike wrote:

> Maybe I'm a little hard nosed when it comes to stuff like that but  
> users should read the default security settings

The problem here is that Facebook changed the defaults and applied
the changed defaults to existing data.

I don't use Facebook.

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] Google Chrome for Linux !!!

2009-12-13 Thread Erik de Castro Lopo
Martin Visser wrote:

> In my opinion most of the articles that highlight how much Google (or
> Facebook or Yahoo) know about us are really only amplifying what most people
> already know.

It would probably help all us common folk it something like this:

http://news.yahoo.com/s/nf/20091212/tc_nf/70579

happened to all of the executives of Google/MS/Yahoo/Facebook/MySpace/whatever.

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] Asset Tracking / Inventory Management

2009-11-10 Thread Erik de Castro Lopo
Dean Hamstead wrote:

> try racktables.org

Sorry, I don't want to be a bastard about this, but don't you think
it would be nice to say what basis you are recommended this on?

The response you gave could mean anything from:

  "Try it because I did, and it was difficult to set up, didn't do
   what I wanted, was buggy as hell and it ate every single nice
   fluffy kitten within a 10km radius of our server room."

through to:

  "This is the most awesome piece of software I have ever used and
   when I asked for a feature, the author coded it up in 10 minutes
   emailed me a new version and the new feature worked perfectly."

with:

   "I came across it on freshmeat.net but I don't know if its any
good."

somewhere in the middle.

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] Help -- I cannot boot into Ubuntu..

2009-11-02 Thread Erik de Castro Lopo
Scott Waller wrote:

> Thanks for the quick response.  I went through the syslog file and 
> couldn't find anything weird.  Upon searching through other forums I 
> found that in the /etc/fstab file a tag had been added:
> 
> UUID=147ae6d1-e380-42cd-9471-66882c374580 /   ext3
> relatime,errors=remount-rw  0   1
> 
> So I just took out the errors=remount-rw and it works a treat.

I think it should have been "errors=remount-ro". If it was in fact
the right value then your filesystems was having errors and unless
you're ok with loosing data, you should probably figure whats wrong
and get it fixed.

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] Invitation for BALWOIS 2010 Conference

2009-10-13 Thread Erik de Castro Lopo
BALWOIS 2010 Secretariat wrote:

> You are invited to participate at  BALWOIS 2010 Conference on Water
> Observation and Information Systems for Decision Support which will
> be held from 25 to 29 May in Ohrid, Republic of Macedonia.


Dear Secretariat,

You are invited to please  fuck off!

-- 
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] Any suggestions for places to do Personal Sprints in Sydney

2009-10-10 Thread Erik de Castro Lopo
On Sat, 10 Oct 2009 13:35:23 +1100 Adam Kennedy wrote:

> But where would people recommend as places to go for this kind of thing?

I have used the downstairs study area of the State Library on Macquarie
St with great success.

> 1. Must be reasonably reachable by public transport, some use of taxis
> is acceptable.

Check. 2 Min walk from Martin Place Rwy station, 10 min from Townhall.

> 2. Must have electricity, buying 10 hours of extra battery time is
> probably not reasonable, extension cords are allowable.

Check. Last time I was there they had at least a dozen study 
desks with a power point.

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] Any suggestions for places to do Personal Sprints in Sydney

2009-10-10 Thread Erik de Castro Lopo
On Sat, 10 Oct 2009 13:35:23 +1100
Adam Kennedy  wrote:

> But where would people recommend as places to go for this kind of thing?

I have used the downstairs study area of the State Library on Macquarie
St with great success.

> 1. Must be reasonably reachable by public transport, some use of taxis
> is acceptable.

Check. 2 Min walk from Martin Place Rwy station, 10 min from Townhall.

> 2. Must have electricity, buying 10 hours of extra battery time is
> probably not reasonable, extension cords are allowable.

Check. Last time I was there they had at least a dozen study 
desks with a power point.

Erik
-- 
=======
erik de castro lopo
senior design engineer

bCODE
level 2, 2a glen street
milsons point
sydney nsw 2061
australia

tel +61 (0)2 9954 4411
fax +61 (0)2 9954 4422
www.bcode.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] CodeCon 2009

2009-10-06 Thread Erik de Castro Lopo
Peter Miller wrote:

> It's that time of year again, and I'm running another CodeCon.

Awesome!!

> That's coding and camping, for the uninitiated.

I'm initiated!!!

> (Btw, who has blog entries for previous CodeCons?  I'd like to link.)

I have these two:

http://www.mega-nerd.com/erikd/Blog/codecon06.html
http://www.mega-nerd.com/erikd/Blog/codecon08.html

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] VPS hosting

2009-10-01 Thread Erik de Castro Lopo
Jeff Waugh wrote:

> Linode is WONDERFUL, and I recommend it wholeheartedly.

I'll back  that up as well.

The thing that impressed me was that I was able to do an upgrade from
Hardy -> Intrepid -> Jaunty and the whole process to about 15 minutes.

I've never seen an upgrade go that fast on real hardware even with a
local deb mirror.

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] "Send Link" in Firefox?

2009-09-30 Thread Erik de Castro Lopo
Heracles wrote:

> It may be a problem in Firefox 3.5 perhaps.

Confirmed. "Send Link" works with firefox 3.0 and doesn't work with 3.5.
 
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] "Send Link" in Firefox?

2009-09-29 Thread Erik de Castro Lopo
Heracles wrote:

> It works fine on my setup. I have Thunderbird for mail on Ubuntu 9.04
> and Firefox is 3.0.14.

Are you using Gnome?

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] "Send Link" in Firefox?

2009-09-29 Thread Erik de Castro Lopo
Hi  all,

Does anyone have a the "File -> Send Link" menu item in Firefox working?

I'm running Firefox 3.5 on Ubuntu Jaunty and Karmic. My preferred mail
client is Sylpheed.

TIA,
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] BBC News: 40 Years of Unix

2009-08-23 Thread Erik de Castro Lopo
Jeremy Visser wrote:

> Oh, whoops. Sorry, you also need to download and compile FLVStreamer,
> and place the resulting executable somewhere within $PATH (/usr/local).
> 
> Linky: http://savannah.nongnu.org/projects/flvstreamer/
> 
> Sid now has FLVStreamer packaged. Might work on various *buntus as well.
> Give it a try here: http://packages.debian.org/sid/flvstreamer

Ah, ok, I installed that on my ubuntu 9.04 from the Sid deb source
package and now its working.

As as a programming tip, you should trap or detect errors like that
and give a decent explanation of whats gone wrong rather than just
give a python backtrace :-).

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] BBC News: 40 Years of Unix

2009-08-23 Thread Erik de Castro Lopo
Jeremy Visser wrote:

> On Sat, 2009-08-22 at 15:51 +1000, Amos Shapira wrote:
> > As Firefox 3.5 says after it crashed - "Well, this is embarrasing" -
> > whenever I manage to press the "Watch Program" button on that page,
> > Firefox crashes.
> > 
> > Has anyone managed to get it to play?
> 
> Shameless plug, I know, but that is the exact reason why I wrote
> this app:
> 
> $ bzr branch http://dev.sunriseroad.net/bzr/jeremy/python-iview/
> $ cd python-iview/
> $ ./iview-cli --download catch_up/webwarriors_09_xx_xx

That looks interesting, but:

e...@mingus > ./iview-cli --download catch_up/webwarriors_09_xx_xx
Traceback (most recent call last):
  File "./iview-cli", line 56, in 
download(a)
  File "./iview-cli", line 38, in download
iview.fetch_program(url, execvp=True)
  File "/home/erik/Bzr/python-iview/iview/fetch.py", line 33, in 
fetch_program
execvp
  File "/home/erik/Bzr/python-iview/iview/fetch.py", line 18, in 
flvstreamer_x86
os.execvp(args[0], args)
  File "/usr/lib/python2.6/os.py", line 344, in execvp
_execvpe(file, args)
  File "/usr/lib/python2.6/os.py", line 380, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] No such file or directory

I also tried webwarriors_09_21_08 and webwarriors_09_08_21 instead of
webwarriors_09_xx_xx.

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] firefox 3.5.2 on linux

2009-08-18 Thread Erik de Castro Lopo
Daniel Bush wrote:

> Just curious, does anyone else use firefox 3.5.2 on linux?

Yep, 3.5.2 on Ubuntu 9.04 from the Ubuntu repo.

> I followed the prompt recently and got upgraded only to discover it's a bit
> half-baked when it comes to handling css backgrounds and possibly other bits
> of css.

Hadn't noticed.

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] Chinese intruder yesterday

2009-08-13 Thread Erik de Castro Lopo
Jim Donovan wrote:

> I had port 22 open for a few hours yesterday but closed it when I
> noticed the following.

An open port 22 can be made safe. There are numerous articles available
on the net like the following:

http://www.linuxjournal.com/article/8759
http://www.debian-administration.org/articles/573

For the particular issue you had, probably the best option is to use
the AllowGroups option in sshd_config to restrict ssh access to users
of a specific group. On my machine I have

 AllowGroups sshlogin

and then add any specific users to that group.

Running SSH on a non standard port also helps.

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] Slow booting from a degraded raid1

2009-08-03 Thread Erik de Castro Lopo
Dave Kempe wrote:

> Make sure you have the updated mdadm, grub and other packages that
> fix the boot degraded raid array bugs in hardy.
> They also change the timings. you can also dpkg-reconfigure mdadm
> or edit the relevant scripts in /etc/initramfs/ for mdadm.

I upgraded to Jaunty and now the degraded raid1 boots after a 20-30
second delay which is more than acceptable.

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] Slow booting from a degraded raid1

2009-08-02 Thread Erik de Castro Lopo
Hi all,

I have an Ubunt Hardy system which has a two disk raid1 (mdadm) root
partition. With both disks, it boots quite quickly.

When testing booting with a single disk, I found that booting stalls
for about 5 minutes and then completes properly. The stall happens
around the time of the message "Reading files needed to boot".

Is there any way of reducing the duration of this stall?

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] Re: White noise at the end of a WAV file that only Audacity can't see

2009-07-21 Thread Erik de Castro Lopo
Mary Gardiner wrote:

> So it looks like the problem is that there really *is* white-noise at
> the end of the WAV file

That does indeed seem to be the cause.

> (Audacity does show it, finally, when I zoom in
> enough), rather than that some metadata is being misinterpreted. That
> would mean the problem is in the Open implementations of ALAC decoders.

Yes.
 
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] White noise at the end of a WAV file that only Audacity can't see

2009-07-20 Thread Erik de Castro Lopo
Mary Gardiner wrote:

> 2. Listen to the WAV files using any of the following tools:
>- totem
>- Squeezebox/Squeezecenter
>- Rhythmbox
> 
>All of them render about 1/4 second or so of white noise at the very
>end of the playback. Further, this is preserved by "flac" when I
>convert the WAV file to FLAC.

Most audio files have a header which contains file metadata like sample
rate, number of channels etc. WAV (and AIFF among others) also allow
metadata to be placed at the end of the file (I think its was a huge
mistake to allow this).

I suspect that totem and the others are incorrectly treating this
end-of-file metadata as audio data. Audacity (which uses libsndfile)
however does the right thing and displays only the audio data.

It you post the output of:

sndfile-info 

I can confirm this. sndfile-info is in the sndfile-programs package
in Debian derived distros.

> So I am out of ideas: does anyone know what the white noise is, why
> Audacity can't see it and thus let me edit it off but still renders it,
> or any tools that will allow me to produce FLAC files without a very
> annoying burst of static at the end?

Recent versions of sndfile-convert (>= 1.0.18 I think) will correctly
read the WAV file and create a flac file by doing:

   sndfile-convert a.wav a.flac.

HTH,
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] apt-get public key problem

2009-07-02 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Then if you decide to trust the key do:
> 
>gpg --export A0DEA09F895F7630 | sudo apt-get add -

And then do 'apt-get update' again.


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] apt-get public key problem

2009-07-02 Thread Erik de Castro Lopo
david wrote:

> da...@david:~$ sudo apt-get install ubuntu-keyring
> [sudo] password for david:
> da...@david:~$ sudo apt-get install ubuntu-keyring
> [sudo] password for david:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> ubuntu-keyring is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Ah, hang on, the key you're looking for A0DEA09F895F7630 is not
a regular Ubuntu key, but rather is this:

gpg: key 895F7630: public key "Launchpad PPA for Rawstudio"

which is proably due to this part of your sources.list file:

deb http://fileserver:3142/ppa.launchpad.net/rawstudio/ppa/ubuntu intrepid 
main
deb http://fileserver:3142/ppa.launchpad.net/mscore-ubuntu/ppa/ubuntu 
intrepid main

The solution here is to grab the key using gpg:

   gpg --recv A0DEA09F895F7630

which resulted in the following output:

gpg: requesting key 895F7630 from hkp server wwwkeys.pgp.net
gpg: key 895F7630: public key "Launchpad PPA for Rawstudio" imported
gpg: Total number processed: 1
gpg:   imported: 1  (RSA: 1)

Then if you decide to trust the key do:

   gpg --export A0DEA09F895F7630 | sudo apt-get add -


HTH,
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] apt-get public key problem

2009-07-02 Thread Erik de Castro Lopo
david wrote:

> I've seen this message before when adding repositories without a
> key, but I can't figure out what  is specifically
> referring to.

This is referring to the GPG signed Release file that tells the apt-get
client what is in the release.

Usually this can be solved by doing :

   sudo apt-get update
   sudo apt-get install ubuntu-keyring

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] aptitude removal problem - no space left on device

2009-06-01 Thread Erik de Castro Lopo
Denis Crowdy wrote:

> When I try
> and "aptitude remove" said package, it thrashes for ages copying
> files, then runs out of space.  Have tried with 5Gb to 20Gb of free
> space, and the same occurs each time, leaving a crapped out package
> situation so new packages can't be installed.

5Gb and its still not enough space

Try 'apt-get clean' which clears out all the debs in
/var/cache/apt/archive.

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] /proc and /sys

2009-05-21 Thread Erik de Castro Lopo
david wrote:

> # rsync -a --exclude=/media/backupdrive / /media/backupdrive

> Does the -x switch solve this problem too?

If /media/backupdrive is a separate disk or partition, then yes.

> It might sound naive, but I 
> understood the file system to be everything below /

You have many filesystems. Run 'mount' in a terminal and you will
get a list of your separate file systems. On my machine it looks
like:

/dev/sda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.24-23-generic/volatile type tmpfs (rw)
/dev/sda3 on /home type ext3 (rw)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
tmpfs on /lib/modules/2.6.24-24-generic/volatile type tmpfs (rw,mode=0755)

Most of those are virtual, with only /dev/sda1 and /dev/sda3 being
real filesystems. On my machine if I did rsync -x / it would not
include /home which is on /dev/sda3, but would include everything
on /dev/sda1.

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] Laptops with Linux pre-installed?

2009-05-18 Thread Erik de Castro Lopo
Andrew Cowie wrote:

> In any case, the idea was navigate to the corporate audience side of
> their web site, rather than the generic home consumer side.

Well  I went to the small business side of their Australian website
[0]. I searched around and found that every single machine in the laptop
section (I didn't look at netbooks) was windows. I also found that
HP's site seemed to offer far less customisation of the machine than
Dell. Obviously their sales models are different.

I also searched for Linux and every search seemed to direct to Dell US.

> I haven't yet put this to the test yet, I'm afraid, but he was [as ever]
> extremely helpful, and I'm going to go with HP for my next system, I
> suspect.

I suspect that  mine will not be a Dell or a HP.

Erik

[0] HP's website is abysmal; it makes the pretty rancid Dell site look
like the site of some hot new web 2.99 startup.

-- 
----------
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


[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


  1   2   3   4   5   6   7   8   9   >