Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gregory Flanagan
    @kaiserpelagic
    @runarorama bfs is working great!
    Timothy Perrett
    @timperrett
    @kaiserpelagic great!
    Rúnar
    @runarorama
    Awesome :)
    Suriyanto Lee
    @suriyanto
    hi all, i'm trying to pull in the library through sbt. is this hosted on public repo?
    Timothy Perrett
    @timperrett
    @suriyanto yes, its hosted on bintray
    Suriyanto Lee
    @suriyanto
    thanks very much, @timperrett . got it
    Timothy Perrett
    @timperrett
    np
    Mike (stew) O'Connor
    @stew
    Hmm I think I would use the UNode types all the time except we don't have a way to construct one
    a convenient way
    Rúnar
    @runarorama
    @stew add come conveniences :)
    Mike (stew) O'Connor
    @stew
    yeah, will do
    oh which reminds me of why I brought this up in the first place
    because I feel unconfortable when I start adding actual functionality to a package object
    but i'm not sure what the good alternative is
    and companions to type aliases are already problematic
    hmm, i guess we already have constructors like empty in the package object
    Rúnar
    @runarorama
    You think those should be on the Graph object?
    Zainab Ali
    @zainab-ali

    I'm trying to use sbt-rig to release via Travis CI. I'm guessing that quiver and knobs do this, since they use the rig plugin, so figured I'd look for some pointers over here.

    I'm confused about where to put my encrypted pgp credentials. I can't see these on the quiver github project. Are they in a Travis environment variable?

    Actually, looking at the commit history, is sbt-rig even used to release via Travis CI?
    Timothy Perrett
    @timperrett
    @zainab-ali you'd have to refer to the travis-ci docs on encrtypting files if you would like to encrypt and add your PGP key into the build sandbox
    Zainab Ali
    @zainab-ali
    According to the travis docs on file encryption, I should commit the encrypted files to the git repo. These don't seem to be in the quiver repo. Why is this?
    Timothy Perrett
    @timperrett
    @zainab-ali because we run releases from our own travis cluster
    the public and private repos are synced automatically
    so the code is the same, but the releasing from our own cluster is reliable, public travis is not so reliable or fast :-)
    Zainab Ali
    @zainab-ali
    @timperrett thanks! I've still got a few minor hiccups with pgp signing, but can sort those out myself. All in all, sbt-rig seems a breeze to use :smiley:
    It would be good to have a list of projects using it on the sbt-rig readme, if nothing else to show concrete examples. I might open an issue on that front after I get it integrated into my projects.
    Timothy Perrett
    @timperrett
    @zainab-ali sure, glad you're enjoying it - presumably you saw: http://timperrett.com/2016/10/02/continuous-delivery-for-scala-with-travisci/ - but yes, feel free to add a PR that enumerates some of the project usages
    Zainab Ali
    @zainab-ali
    @timperrett one more question - given that a release should be made every time the master branch is built, how should you increment major / minor versions? I know that sbt-release does this with releaseVersionBump set to major, minor or patch. But committing the change to releaseVersionBump will itself cause a build, won't it?
    Timothy Perrett
    @timperrett
    @zainab-ali it uses the travis build number
    Georgi Krastev
    @joroKr21
    Hi, I'm wondering if it would be a lot of work to fork an alternative version of quiver that uses cats instead of scalaz?
    Or cats is missing a Tree implementation?
    Timothy Perrett
    @timperrett
    @joroKr21 im not sure - perhaps someone more familiar with cats can answer
    Rob Fitzgerald
    @robfitzgerald
    hi all! i would like to try Quiver. all of the bintray links are failing for me.
    My intention is to load it via sbt into a Scala 2.11 project. Thanks in advance for any tips!
    Mike (stew) O'Connor
    @stew
    hmm, I no longer have access to the organization, but I seen in my bintray inbox that the account was limited due to overuse in december
    Oh, its on maven central
    Rob Fitzgerald
    @robfitzgerald
    sweet. thank you!
    Timothy Perrett
    @timperrett
    @robfitzgerald yeah everything was moved onto maven central some time ago. where did you find the bintray link?
    Rob Fitzgerald
    @robfitzgerald
    @timperrett sorry for missing your question. https://verizon.github.io/quiver/ > Getting Started
    Anirudh Vyas
    @AnirudhVyas
    I am trying to understand quiver basics - i still cannot wrap my head around this -
    A graph with one node identified as 1, labeled a:
    
    scala> import quiver._
    import quiver._
    
    scala> val a = nil & Context(Vector(), 1, 'a', Vector())
    a: quiver.Graph[Int,Char,Unit] = 1:a->[]
    my question is I have a task graph that I wanna model using quiver - task a ~> task b ~> task c ~> end - it is for now a DAG
    Timothy Perrett
    @timperrett
    @AnirudhVyas sorry for delay, we actually had a librariy that did exactly this kind of graph built atop quiver internally. Sadly it was never open-sourced but would be fairly easy to replicate.
    Anirudh Vyas
    @AnirudhVyas
    the "fairly" easy to replicate ones usually turn out to be not so trivial
    ;)
    My gripe with all these APIs is they do not give me capability to serialize stuff to JSON with reduction in boilerplate to what I can understand these libraries - that is the reason I started using scala-graph - which luckily does provide easy and fairly ok hooks to serialize graphs to send over the wire. That is important for my case because a graph is sent via a UI to me and I need to construct it to graph and then store it somehow - There's a lot of confusion on graph databases so I thought a simpler way is to store a serialized json with bunch of other attributes to track the task graph work progress