Giter VIP home page Giter VIP logo

Comments (18)

shannonrush avatar shannonrush commented on September 17, 2024

+1 spown

from spawnling.

alakra avatar alakra commented on September 17, 2024

+1 spork

from spawnling.

tra avatar tra commented on September 17, 2024

Genghis Khan had lots of offspring so how about "khan"? Do you have a "khan do" attitude?

from spawnling.

emptyflask avatar emptyflask commented on September 17, 2024

"Spark" is good, but also in use (though it appears to be a dead project)

It doesn't have quite the same meaning, but how about "respawn"?

Or to keep with the original theme, "roe" and "offspring" are both available.

from spawnling.

tra avatar tra commented on September 17, 2024

I've been giving it more thought and am considering keeping the name and, instead, changing the syntax to something like this:

Spawn.new do
  stuff
end

Or maybe,

Spawn.run do
  stuff
end

This sort of change would also make it easier to pull out of ActiveRecord so that you can run it anywhere.

from spawnling.

emptyflask avatar emptyflask commented on September 17, 2024

That would be much better!

from spawnling.

jackdesert avatar jackdesert commented on September 17, 2024

Spark +1

from spawnling.

drsharp avatar drsharp commented on September 17, 2024

I took this as an option to learn about forking, setting up a github repo, and making it a gem. So I did "Spawner".

But I also vote for the Spawn.new or Spawn.run, particularly as that's cleaner to understand what is happening. In my case, though, I'd make it: Spawner.new or Spawner.run

I like "Spawner" because it's the thing that spawns... i.e. a Driver drives... a Coder codes.

from spawnling.

jgarber avatar jgarber commented on September 17, 2024

I like Spawn.new or Spawn.run

from spawnling.

avitus avatar avitus commented on September 17, 2024

+1 for Spawn.run

Is the gem completely broken under Ruby 1.9? I tried to make the necessary name changes but couldn't seem to get it working ...

from spawnling.

asarig avatar asarig commented on September 17, 2024

whatever name it is, can it be implemented soon please? :-)
right now because of the name hijack, I get "wrong number of arguments" ...

from spawnling.

avitus avatar avitus commented on September 17, 2024

I tried to fork the 'edge' branch and change the name but I can't seem to get it to work. Has anyone else had any luck?

from spawnling.

tra avatar tra commented on September 17, 2024

I'm going with Spawn.run

from spawnling.

drsharp avatar drsharp commented on September 17, 2024

Good call, tra. +1 for Spawn.run

I look forward to seeing it work. :-)

from spawnling.

jagthedrummer avatar jagthedrummer commented on September 17, 2024

Is there an ETA on the change to Spawn.run? The gem seems to be completely broken under 1.9.2.

from spawnling.

tra avatar tra commented on September 17, 2024

ETA = whenever I stop being so damned lazy!

from spawnling.

drsharp avatar drsharp commented on September 17, 2024

tra, I posted a pull request for this, hopefully that'll make it easier on you. :-)

from spawnling.

tra avatar tra commented on September 17, 2024

Spawn.new is what I settled on. I chose that because it returns an object which you can use to monitor the spawned process. Unfortunately, the name "spawn" is already used in another gem which doesn't actually spawn anything. So the gem is called "spawn-block" for now. If that's too confusing I may go with a name change after all but we'll see how this goes.

from spawnling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.