Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 03 18:17

    gdamore on master

    Minor updates encouraging v2 an… (compare)

  • Nov 03 18:09

    gdamore on master

    Create FUNDING.yml (compare)

  • Aug 12 22:45
    grrtrr synchronize #348
  • Jun 28 02:58

    gdamore on master

    tls+tcp: enable TCP keep-alive … (compare)

  • Jun 28 02:58
    gdamore closed #349
  • Jun 28 02:57

    gdamore on master

    Note frozen state of mangos v1. (compare)

  • Jun 28 02:54
    gdamore closed #231
  • Jun 28 02:53
    gdamore transferred #297
  • Jun 28 02:52
    gdamore transferred #332
  • Jun 28 02:51
    gdamore transferred #339
  • Jun 28 02:50
    gdamore transferred #324
  • Jun 28 02:49
    gdamore transferred #312
  • Apr 12 21:01
    grrtrr edited #348
  • Apr 12 20:58
    grrtrr synchronize #348
  • Apr 12 20:57
    grrtrr opened #349
  • Apr 12 05:47
    gdamore labeled #58
  • Apr 12 05:47
    gdamore closed #58
  • Apr 12 05:45
    gdamore closed #345
  • Apr 12 05:45
    gdamore labeled #345
  • Apr 12 05:42
    gdamore labeled #348
Garrett D'Amore
@gdamore
It really solving go-specific problems. :-)
Louis Thibault
@lthibault
And yeah, I was thinking the same thing for the side-by-side comparison. Any ideas for a kind of simple service that could be written both ways?
Garrett D'Amore
@gdamore
Nothing off the top of my head.
Louis Thibault
@lthibault
Because the issue is that trivial programs are going to be best handled by channels (probably)
Garrett D'Amore
@gdamore
Maybe some kind of concurrent database thingy?
Or long running RPC?
Louis Thibault
@lthibault
Yeah, I was thinking of a caching type thing with redis and postgres
Garrett D'Amore
@gdamore
What about some kind of (ick) mining (coin) thing.
You could imagine running a few things in parallel, and using REQ/REP for actual math RPCs, and broadcast for notifications, etc.
Louis Thibault
@lthibault
Hmm that's not bad actually
Garrett D'Amore
@gdamore
I hate coin mining, but its not a bad example case here.
Louis Thibault
@lthibault
it's certainly riding the trend :D
Anyway, thanks for the input :) Much appreciated.
Garrett D'Amore
@gdamore
The approach would be applicable to other kinds of parallel processing problems… protein folding or astronomic image analysis, etc.
Sure.
Louis Thibault
@lthibault
Yeah, I have a bunch of fMRI processing scripts left over from my phd days, but that's a bit niche
Although there's some cool stuff to be done with that
Garrett D'Amore
@gdamore
Good luck. Can you please file an RFE for mangos to possibly merge your QUIC stuff? Include the URL so I don’t lose it. :-)
Louis Thibault
@lthibault
RFE?
Garrett D'Amore
@gdamore
request-for-enhancement… just an issue in this case.
Louis Thibault
@lthibault
Will do :thumbsup:
Garrett D'Amore
@gdamore
in my mind there are two kinds of issues — one that represents bugs in existing behavior (bug), and enhancment requests (rfe) for new behaviors.
Louis Thibault
@lthibault
If for whatever reason it doesn't get merged as an official transport, maybe it would be possible to link to it from the mangos readme?
Right -- makes sense
Garrett D'Amore
@gdamore
Definitely.
Louis Thibault
@lthibault
Nice! :)
Alright, I'll get right on that, and I'll look into the use of filepath across various platforms
Enjoy the rest of your weekend!
Garrett D'Amore
@gdamore
I want to look at this a bit… it will take some effort to structure the code for fitting into mangos directly I think.
Thanks.
Louis Thibault
@lthibault
Yeah totally -- no rush and no pressure
Louis Thibault
@lthibault
@gdamore go-mangos/mangos#308
Louis Thibault
@lthibault
Hello, my program is blocking unexpectedly on line 52. Any ideas as to what's wrong? https://play.golang.org/p/rW2g0158ZyF
Garrett D'Amore
@gdamore
the send from the bus is occurring before the connections are fully established. the connection process is asynchronous on the listener side. try adding a short delay after the last dial and before the first send
Louis Thibault
@lthibault
@gdamore oh, so the fact that Socket.Listen returned doesn't mean it's actually listening?
https://play.golang.org/p/YjZW_plHhUw I'm getting the same behavior with this version
Louis Thibault
@lthibault
Disregard my last. Stupid typos were responsible. Thanks for the help! (I think I need a screen break!)
Garrett D'Amore
@gdamore
So the the thing is the socket is listening, but even while it does so, the process of accepting a connection takes time and is asynchronous. It has to be.
Garrett D'Amore
@gdamore
Hey all… out of curiosity, do folks still need support for versions of go older than 1.8? There are some nice things in 1.8 that I’d like to start using (net.Buffers for example).
Garrett D'Amore
@gdamore
Does anyone using mangos use the old compat API?
Garrett D'Amore
@gdamore
FYI: The import path and git rep for mangos have moved… the old will still work, but please update to nanomsg.org/go-mangos in your imports.
delioda79
@delioda79
Silly me, just realised now that this specific channel for mangos exists. I was alwayis the nanomsg one.
Garrett D'Amore
@gdamore
Actually the nanomsg one is where I tend to hang out more, so its a better one. :-)
Garrett D'Amore
@gdamore
I’m pleased to announce mangos v2: https://github.com/nanomsg/mangos-v2
delioda79
@delioda79
Great, seen it of course :D
Philip
@philipwhiuk

@gdamore - When I try and build my code from v2 I get:

package nanomsg.org/go/mangos/v2/protocol/push: unrecognized import path "nanomsg.org/go/mangos/v2/protocol/push" (parse https://nanomsg.org/go/mangos/v2/protocol/push?go-get=1: no go-import meta tags)

Am I missing something?

Garrett D'Amore
@gdamore
You may need to use very recent go. What does go version report?
Philip
@philipwhiuk
@gdamore Hmm yeah, "go version go1.7 linux/amd64" that's probably an issue :D - Thanks for your help!
Garrett D'Amore
@gdamore
Ok, let me know if you still have problems.
Garrett D'Amore
@gdamore
All, I've moved to to discord. (Because gitter has turned into garbageware.)