Re: [SLUG] Re: turning off blog comments

2008-06-03 Thread Michael Chesterton


On 04/06/2008, at 10:12 AM, Rev Simon Rumble wrote:


Who says I want your comments?  I have a link to my contact form on my
blog posts.  If people want to talk to me, they can.



I don't know, who did say you want my comments? Wasn't me.


Your conception of a blog is different to mine, clearly.


My conception? I don't see it as a one way conversation. Especially
being on planets.


I have three wordpress plugins for comment spam.


Great, not one but three pieces of software to maintain.  Then I  
get to

moderate messages too.  Not like I've got anything better to do.


There's no maintenance except for updating the plugins when a new  
version
is released, which can be done with one click now. Anyway, my point  
is it's
not a big work load, since you wouldn't know, I thought I'd be  
friendly and

let you know how how I deal with it.

I've turned comments off on this reply, don't respond.

Michael Chesterton
http://chesterton.id.au/blog/
http://barrang.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


[SLUG] Re: turning off blog comments

2008-06-03 Thread Rev Simon Rumble
This one time, at band camp, Michael Chesterton wrote:

> A blog without comments is like posting to a list and not reading the 
> followups.

Who says I want your comments?  I have a link to my contact form on my 
blog posts.  If people want to talk to me, they can.

Your conception of a blog is different to mine, clearly.

> I have three wordpress plugins for comment spam.

Great, not one but three pieces of software to maintain.  Then I get to 
moderate messages too.  Not like I've got anything better to do.

-- 
Rev Simon Rumble <[EMAIL PROTECTED]>
www.rumble.net

The Tourist Engineer
Just because you're on holiday, doesn't mean you're not a geek.
http://engineer.openguides.org/

 Wavy Gravy once asked a Zen Roshi, "What happens after death?"
 The Roshi replied, "I don't know."
 Wavy protested, "But you're a Zen Master!"
 "Yes," the Roshi admitted, "but I'm not a dead Zen Master."
- From Robert Anton Wilson's blog
-- 
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: slug Digest, Vol 29, Issue 5

2008-06-03 Thread Michael Chesterton


On 02/06/2008, at 9:36 PM, Darryl Barlow wrote:


The compromise occurred over the Christmas/New Year period when I was
interstate.  The server had ssh access enabled via password entry  
and fell

victim to a brute force password attack.  Fortunately I had software
installed which alerted me to the problems. ...  (But I
also noted with interest the recent bug in Debian systems when  
generating

keys, which would have made even this method insecure on these boxes).


you rarely need to ssh into a box 120 times a minute, so I rate limit  
my ssh
connections to 2 a minute with iptables. This stops (dare i say) all  
automated
brute force attacks, when ssh starts timing out, the bots move on.  
Won't stop a

person, though will slow them down to a crawl.

There's other things like fail2ban, using a non standard port.  
Perhaps blocking
any ip that knocks on the standard port. But these measures will only  
stop bots.
If someone is determined, they will just change hosts/ip's and  
continue the attack.



Michael Chesterton
http://chesterton.id.au/blog/
http://barrang.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


[SLUG] turning off blog comments

2008-06-03 Thread Michael Chesterton


On 02/06/2008, at 2:10 PM, Rev Simon Rumble wrote:


Yet people regularly ask me why there's no comments on my blog.  This
and the fact I couldn't be bothered keeping it up-to-date with the
latest comment spam blocking hacks.


A blog without comments is like posting to a list and not reading the  
followups.


I have three wordpress plugins for comment spam.

bad behavior, I have no idea what it does, you just install it and it  
does its thing. I think it finger prints spambots on their access  
pattern. It blocks some, but some get through.


When they get though, there is reCAPTCHA, it blocks some, but some  
get through.


When they get through reCAPTCHA, Akismet blocks the rest.

First time posters get moderated, posts with links get moderated.  
Moderated posts sends me an email. The net result is I get emailed  
with legitimate comments which I manually approve for first time  
posters. I don't bother looking at the Akismet spam queue, that  
silently blocks spam, no need to act on them.


spam is a part of the internet atm, isolating yourself from the  
community to deal with it seems drastic to me. It's a slight chore,  
dealing with spam, but no biggy.


Another thing you can do is set nofollow on comment links, that way  
if a spam does get through, google won't index it.


Michael Chesterton
http://chesterton.id.au/blog/
http://barrang.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] editing a wav or mp3

2008-06-03 Thread david
On Tue, 2008-06-03 at 20:57 +1000, Erik de Castro Lopo wrote:
> david wrote:
> 
> > I've got a .wav voice file recorded on a JNC mp3 player.
> 
> Thats probably MP3 audio data inside a WAV container (much
> like you can have vorbis, speex or flac data inside an Ogg
> conatiner).
> 
> > I can play it in mplayer, amarok, vlc media player and others, but
> > Audacity and Sweep don't like it, and I need to edit it.
> 
> Audacity and sweep both use libsndfile which sees a WAV file header,
> but isn't able to read the MP3 data [0].
> 
> > After some googling, I discovered that by changing *.wav to *.mp3, other
> > programs (banshee for instance) will now play the file as an mp3 file,
> > so it seems the JNC plays strange tricks. However sweep and audacity
> > still don't like it :(
> > 
> > I need to import the file into an editor. Any suggestions?
> 
> Use mplayer to export it to a standard PCM WAV file and then
> edit it in Sweep or Audacity. When you are done editing it, you
> can re-encode it as Ogg (or even mp3).
> 
> Erik

Thanks heaps Eric

$ mplayer -ao pcm test.mp3

produced an output file generically called  which then
opened in audacity.

Reading  is like reading the tax act. You know it's doing
you good... but.  I never did figure out the right options from the
man page.

Based on your email I googled and found:
http://www.linuxtutorialblog.com/post/tutorial-playing-around-with-mplayer
which was also a big help.

David.

-- 
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] editing a wav or mp3

2008-06-03 Thread david
On Tue, 2008-06-03 at 19:50 +1000, James Purser wrote:
> On Tue, 2008-06-03 at 19:02 +1000, david wrote:
> > I've got a .wav voice file recorded on a JNC mp3 player. 
> > 
> > I can play it in mplayer, amarok, vlc media player and others, but
> > Audacity and Sweep don't like it, and I need to edit it.
> > 
> > After some googling, I discovered that by changing *.wav to *.mp3, other
> > programs (banshee for instance) will now play the file as an mp3 file,
> > so it seems the JNC plays strange tricks. However sweep and audacity
> > still don't like it :(
> > 
> > I need to import the file into an editor. Any suggestions?
> > 
> 
> What does $:file [FILE] give you?

[EMAIL PROTECTED]:~/Desktop/wav $ file test.mp3 
test.mp3: RIFF (little-endian) data, WAVE audio, IMA ADPCM, mono 8000 Hz
[EMAIL PROTECTED]:~/Desktop/wav $ file REC14.080603.1000.wav 
REC14.080603.1000.wav: RIFF (little-endian) data, WAVE audio, IMA ADPCM,
mono 8000 Hz


-- 
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] editing a wav or mp3

2008-06-03 Thread Erik de Castro Lopo
david wrote:

> I've got a .wav voice file recorded on a JNC mp3 player.

Thats probably MP3 audio data inside a WAV container (much
like you can have vorbis, speex or flac data inside an Ogg
conatiner).

> I can play it in mplayer, amarok, vlc media player and others, but
> Audacity and Sweep don't like it, and I need to edit it.

Audacity and sweep both use libsndfile which sees a WAV file header,
but isn't able to read the MP3 data [0].

> After some googling, I discovered that by changing *.wav to *.mp3, other
> programs (banshee for instance) will now play the file as an mp3 file,
> so it seems the JNC plays strange tricks. However sweep and audacity
> still don't like it :(
> 
> I need to import the file into an editor. Any suggestions?

Use mplayer to export it to a standard PCM WAV file and then
edit it in Sweep or Audacity. When you are done editing it, you
can re-encode it as Ogg (or even mp3).

Erik

[0] http://www.mega-nerd.com/libsndfile/FAQ.html#Q020
-- 
-
Erik de Castro Lopo
-
"Having a firewall that allows NFS to the Internet is like having a
seat belt that lets your head touch the dashboard." -- Marcus Ranum
-- 
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] editing a wav or mp3

2008-06-03 Thread James Purser
On Tue, 2008-06-03 at 19:02 +1000, david wrote:
> I've got a .wav voice file recorded on a JNC mp3 player. 
> 
> I can play it in mplayer, amarok, vlc media player and others, but
> Audacity and Sweep don't like it, and I need to edit it.
> 
> After some googling, I discovered that by changing *.wav to *.mp3, other
> programs (banshee for instance) will now play the file as an mp3 file,
> so it seems the JNC plays strange tricks. However sweep and audacity
> still don't like it :(
> 
> I need to import the file into an editor. Any suggestions?
> 

What does $:file [FILE] give you?
-- 
James Purser <[EMAIL PROTECTED]>


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

[SLUG] editing a wav or mp3

2008-06-03 Thread david
I've got a .wav voice file recorded on a JNC mp3 player. 

I can play it in mplayer, amarok, vlc media player and others, but
Audacity and Sweep don't like it, and I need to edit it.

After some googling, I discovered that by changing *.wav to *.mp3, other
programs (banshee for instance) will now play the file as an mp3 file,
so it seems the JNC plays strange tricks. However sweep and audacity
still don't like it :(

I need to import the file into an editor. Any suggestions?

thanks

David

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