Todd A. Jacobs | 3 Jun 2010 11:04
Favicon

Re: shell script - resque

On Mon, May 31, 2010 at 06:56:03PM +0530, Kaushal Shriyan wrote:

> The below init scripts work fine while running it by hand but does not
> come up after booting up. I have ran update-rc.d resque defaults on

If the script works when you run if from the shell, but not from your
init scripts, then it's not a programming question. That makes it a
distro question, which you'll get better answers for on your distro's
mailing list. 

Good luck!

--

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"
Todd A. Jacobs | 3 Jun 2010 15:50
Favicon

Permutations that include sub-arrays in ruby?

Ruby has a terrific implementation of single-valued permutations, but it
doesn't yield the results I expected when using arrays of arrays. For
example:

    [[1, 2], [2, 3]].permutation.to_a.include? [2, 1]
    => false

The reason is that there's no permutation of the sub-arrays, just of the
top-level array elements. Does anyone know how to implement a more
exhaustive permutation?

--

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"
Todd A. Jacobs | 3 Jun 2010 18:26
Favicon

Rubyism explained?

I ran across this today:

    6.downto(1).inject(:*)

which seems to be a great idiom for returning a factorial. However, I
haven't run across ":*" before. What exactly is this rubyism expressing?

--

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"
Todd A. Jacobs | 25 Jun 2010 18:15
Favicon

List servers?

The server that is hosting this mailing list is being decommissioned in
the near future. I'm trying to figure out whether it's worth migrating
the list to a new server in-house, or to switch to a hosted service like
Google or Yahoo! Groups.

I *don't* like the fact that Google Groups requires you to have a Google
account to access the lists. Other than that, though, I have a vast
amount of ignorance regarding the pros and cons of outside list
services.

Can anyone think of some reasons why keeping the list in-house is
necessary? If not, what outside list services do people think well of,
and why?

--

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"
Juha Saarinen | 26 Jun 2010 00:06
Gravatar

Re: List servers?


On 26/06/2010, at 4:15 AM, Todd A. Jacobs wrote:

> The server that is hosting this mailing list is being decommissioned in
> the near future. I'm trying to figure out whether it's worth migrating
> the list to a new server in-house, or to switch to a hosted service like
> Google or Yahoo! Groups.
> 
> I *don't* like the fact that Google Groups requires you to have a Google
> account to access the lists. Other than that, though, I have a vast
> amount of ignorance regarding the pros and cons of outside list
> services.
> 
> Can anyone think of some reasons why keeping the list in-house is
> necessary? If not, what outside list services do people think well of,
> and why?

All I can say is, stay clear of Yahoo Groups. I moderate a journalists' one and really, really, really wish I
had the mandate to move it away from that morass of bad user experience and hoop-jumping hell that no sane
person can deal with.

--

-- 
Juha Saarinen
juha@...
twitter: juhasaarinen
http://www.geekzone.co.nz/juha | http://www.techsploder.com
Todd A. Jacobs | 30 Jun 2010 19:05
Favicon

Still a need for this list?

I haven't really had much feedback on the issue of what to do with the list.
I'm in the process of moving data centers, and the server hosting the list
is being gently put to sleep. As a result, I'm really trying to figure out
if there's enough interest in the list to migrate it.

As a general rule, the bandwidth consumed fighting spammers is higher than
the bandwidth used for legitimate email, so there's a genuine cost
consideration involved in maintaining the service as I move to a metered
data center.

Would anyone else like to host the list for a while, or offer an opinion on
public list servers that provide the level of archiving and spam control
that I've been able to provide? The easiest thing would be to pull the plug,
but I'd rather not do that unless there's a general indifference to
continuing the list.

I have less than a week to make a final determination, so please speak up.
If we decide to keep things going, we need more than a day or two for any
transition, so we need to move quickly.

--

-- 
"Oh, look: rocks!"
       -- Doctor Who, "Destiny of the Daleks"
R P Herrold | 1 Jul 2010 06:25
Favicon
Gravatar

Still a need for this list?

On Wed, 30 Jun 2010, Todd A. Jacobs wrote:

> Would anyone else like to host the list for a while, or offer an opinion on
> public list servers that provide the level of archiving and spam control
> that I've been able to provide? The easiest thing would be to pull the plug,
> but I'd rather not do that unless there's a general indifference to
> continuing the list.

I offer to attend to this

As I say, I will attend to hosting and running mailman 
anti-spam.  I do not however 'release' held mail from 
non-subscribed persons when I host a mailing list, as if a 
person cannot be bothered to subscribe, or read a 'hold' 
notice about the fact that they are not subscribed, then I 
figure I cannot bother to wade through spam sewage to find and 
release their post.

I can transfer existing archives as well, and would 'site' the 
list on an existing mailman server used by a local lug and 
several other FOSS oritented mailing lists.

-- Russ herrold
Charles Galpin | 1 Jul 2010 14:29
Favicon

Re: Still a need for this list?

I'll just throw in a vote to see it continue (but have no time to host it myself right now). Thanks for stepping
up Russ.

thanks,
charles

On Jul 1, 2010, at 12:25 AM, R P Herrold wrote:

> On Wed, 30 Jun 2010, Todd A. Jacobs wrote:
> 
>> Would anyone else like to host the list for a while, or offer an opinion on
>> public list servers that provide the level of archiving and spam control
>> that I've been able to provide? The easiest thing would be to pull the plug,
>> but I'd rather not do that unless there's a general indifference to
>> continuing the list.
> 
> I offer to attend to this
> 
> As I say, I will attend to hosting and running mailman anti-spam.  I do not however 'release' held mail from
non-subscribed persons when I host a mailing list, as if a person cannot be bothered to subscribe, or read a
'hold' notice about the fact that they are not subscribed, then I figure I cannot bother to wade through
spam sewage to find and release their post.
> 
> I can transfer existing archives as well, and would 'site' the list on an existing mailman server used by a
local lug and several other FOSS oritented mailing lists.
> 
> -- Russ herrold
Todd A. Jacobs | 1 Jul 2010 16:23
Favicon

Google Group created

I just sent out invitations to join the new Google Group. If you lose the
invitation, or are reading this on gmane or usenet, you can sign up via web
at:

    http://groups.google.com/group/foss-scripting

or via email at:

    foss-scripting+subscribe@...<foss-scripting%2Bsubscribe@...>

I hope to see you all there!

--

-- 
"Oh, look: rocks!"
       -- Doctor Who, "Destiny of the Daleks"

Gmane