Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alan Shaw
    @alanshaw
    Why are you dependency injecting core modules btw?
    Alex Potsides
    @achingbrain
    unit testing without proxyquire
    proxyquire makes me ick
    pretty sure it's all going to explode with node 0.12 too
    whenever that turns up
    Alan Shaw
    @alanshaw
    I see.
    Maybe they'll just node 1.0
    Alex Potsides
    @achingbrain
    doesn't that mean it's finished?
    Alan Shaw
    @alanshaw
    Ha, like, dead
    Yeah you're right, looking forward to streams 4
    "rivers"
    Alex Potsides
    @achingbrain
    have you ever seen problems with filename lengths for unix sockets with net.listen?
    just swapped out /tmp/foo for os.tmpdir() + '/foo' and all the boss integration tests broke
    os.tmpdir() is very long on my mac
    the dirs were os.tmpdir() + '/boss-test/' + uuid.v4() which ended up being 105 characters long
    swapped out uuid for shortid to get 77 char dirs and the tests start passing again
    weird
    they were failing with ENOENT trying to load socket files for processes
    the actual socket files appeared truncated
    e.g. the full path should have been: /var/folders/m1/8m_hh8996718p5dxsx2zw0840000gn/T/337b32ed-2b48-4f11-a6a7-814cc67caab9/run/processes/55768
    but on the filesystem was: /var/folders/m1/8m_hh8996718p5dxsx2zw0840000gn/T/337b32ed-2b48-4f11-a6a7-814cc67caab9/run/processes/557
    Oli Evans
    @olizilla
    your avatars are redundent in this thread
    can you please work together to solve this
    Alan Shaw
    @alanshaw
    Wat?
    Alan Shaw
    @alanshaw
    Boss went away
    I have a stacktrace this time. Was monitoring with boss web, shut my laptop and in the morning boss was gone, along with the processes.
    3 days uptime prior
    And I hadn't monitored with boss-web since the last time it went away
    Oli Evans
    @olizilla
    parp
    Alan Shaw
    @alanshaw
    @achingbrain ^^
    In other news, I’ve nearly finished the restart/stop multiple processes work
    bs restart 1234 1235 1236 and bs stop 1234 1235 1236 and also hopefully allow you to bs restart * to restart everything.
    if you can just stop changing everything from under me then that would be grand ;)
    Alex Potsides
    @achingbrain
    type faster!
    Oli Evans
    @olizilla
    I think we should dig out Max Headroom for our next full baud
    Alex Potsides
    @achingbrain
    i had the full series as mpegs once upon a time
    Oli Evans
    @olizilla
    so many spinning platters ago
    Alex Potsides
    @achingbrain
    aaah, i think the connection from dnode in boss to the client is timing out
    nice, thanks dnode
    Alex Potsides
    @achingbrain
    i've pushed a new version of the daemon that should allow you to put your laptop to sleep...
    Alan Shaw
    @alanshaw
    waaa
    nice one
    Alex Potsides
    @achingbrain
    i know - minimum viable, right?
    Alan Shaw
    @alanshaw
    @achingbrain having second thoughts about pushing this multi kill/restart into the daemon
    the beauty of connecting to the remote process is that it verifies the user has access to do the action
    we lose that knowledge telling the daemon to do it...
    sorry, took me a while to realise this!
    Alan Shaw
    @alanshaw
    @achingbrain quick question - bs useradd does there have to be an account with the same name on the machine you’re adding the user on?
    Alex Potsides
    @achingbrain
    yes