Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Milosz Tanski
    @mtanski
    Is there a way I can unpickle a Seq[T] from a streaming source
    like a multi-gig JSON array
    this is data coming from an external system so I don't have much control over it
    I've looked at github / docs but I wasn't able to find any kind of references to that
    nafg
    @nafg
    @mtanski then you probably don't want a Seq
    How is the streaming source done?
    Milosz Tanski
    @mtanski
    it's a file stream, but one I'm feed from the framework ... eg. no control over it
    nafg
    @nafg
    @mtanski so what's the API you're dealing with?
    Lior Harel
    @liorhar
    hi, is it possible to have a case class on two different apps (different projects) pickle it on one app and read it on the other app. it's the same case class on same package with the same members
    Stefan Kaufmann
    @staeff777
    When I use Pickler.generate for pPickler generation
    (sorry wrong button) ... should it automatically use other custom Picklers I defined? (I assume so, but it does not work)
    Stefan Kaufmann
    @staeff777
    Ok, I switched to 0.10.2-SNAPSHOT and use the abstract class AutoRegister for my own picker implementations. It seams to work.
    Stefan Kaufmann
    @staeff777
    Fast Forward to 0.11-M2, core/src/main/scala/scala/pickling/pickler/JavaBigInteger.scala is a good example for what I need
    (I think, even it's not final, the 0.11-M2 is still better than the current stable for beginners, because the 0.10.1 raises a lot of questions)
    Philipp Haller
    @phaller
    Good to hear you found what you needed. We should really try to get a stable 0.11 release out soon.
    Stefan Kaufmann
    @staeff777
    One more question: Is it possible to define @directSubclasses independently from the trait definition? e.g. to allow the serialization of third party traits and implementations.
    Or also to allow further extensions
    Stefan Kaufmann
    @staeff777
    I also learned, that the pickler needs to be generated "close" to the trait and not in another module . I wanted to define the picklers in a separate persistence object, so that my case classes are independent from them. But this seems to be a bad idea, for some reasons.
    Stefan Kaufmann
    @staeff777
    One more question: I'm currently using PicklerUnpickler.generate to generate picklers for my case classes to see if the pickling works. Unfortunately the generation ignores @transient, whereas the .pickle method respects it. Is this intended?
    Raam Rosh-Hai
    @raam86
    @liorhar it is very possible, I used it from scala to spark and back again
    You basically share the library where you have your picklers and you simply pickle,unpickle using that shared lib
    Zoltán Zvara
    @zzvara
    Hi! Is this project discontinued?
    Srepfler Srdan
    @schrepfler
    no, it’s just perfect
    :D
    Zoltán Zvara
    @zzvara
    :D
    Maybe I'm the one to blame here, but receiving byte-code errors, empty unpickled objects, PickleExceptions and other things all the way.
    Picked this project over Kryo, but totally confused where to go from here.
    Zoltán Zvara
    @zzvara
    Hi guys, after some time I've managed to get along with scala-pickling, without crazy issues.
    I've started to write a CouchbasePickleFormat, and the Builder works flawlessly for all of my types that I've been using.
    Unfortunately as I see the Reader requires FastTypeTags to be reconstructed from the stream - something that I can't do currently, as my documents are without $types in the database.
    Is there any other way to retrieve the FTTs for the Reader? Maybe hinting the result type while calling the unpickle?
    Ryan Wright
    @rrwright
    Anyone know if pickling/unpickling only the outer layer of nested pickles is supported? http://stackoverflow.com/questions/42184817/scala-pickling-deserialize-outermost-pickle-only-in-a-nested-pickle
    Z1kkurat
    @Z1kkurat
    Hey guys! I wonder if scala-pickling is avaliable for 2.12 or is in development? This is the only dependency that stops my team from moving from 2.11 to 2.12, because we have doubts about compatibility of scala 2.12 with scala-pickling_2.11
    Mike Allen
    @MichaelJAllen

    Hi! I've been using this excellent library occasionally over the past couple of years, and find it very simple and easy-to-use. To all involved, great job! Thank you!

    I'd like to use it a lot more, but it looks like it's become abandonware. The official web-site apparently hasn't been updated in some time (it still refers to version 0.8.0-SNAPSHOT as the current release - which is at least 3 years old), the last official release was made nearly two years ago, there have been no commits from the project team since around July last year, and no pull requests have been merged since October last year. The biggest issue I face is that it doesn't yet support Scala 2.12. And yet there's clearly still a lot of interest in it.

    I'm prepared to get involved and help out, but I'm curious why development has stalled. Are there any serious roadblocks? Alternative libraries that do a better job, etc.? Or did everyone just move on to other things? Who is the current lead for this project?

    Srepfler Srdan
    @schrepfler
    Mike Allen
    @MichaelJAllen
    Yes, I saw your comment. But where's the evidence?
    Philipp Haller
    @phaller
    Hi Mike, all!
    Speaking for myself, I've simply been busy with a lot of other things
    Srepfler Srdan
    @schrepfler
    https://github.com/scala/pickling/graphs/contributors this is the top list of comitters
    Philipp Haller
    @phaller
    I don't see any serious roadblocks
    Srepfler Srdan
    @schrepfler
    I guess we can ask @heathermiller and @xeno-by
    Philipp Haller
    @phaller
    I think it would be low-hanging fruit to simply do a release for 2.12
    however, medium-term, it would be better if there was a group of people interested in doing also some maintenance and development
    one of the unfinished parts is support for Scala.js, which I started in a branch
    Mike Allen
    @MichaelJAllen
    @phaller Hi Philipp! Thanks for your quick response. I had hoped that everyone was simply busy elsewhere. (It certainly beats having nothing to do, eh?) Are you aiming to release simultaneously for Scala and Scala.js? I agree that it would be best if there's a team willing to support the pickling library going forward. As I said, I'm willing to assist. I'll have a look at the current sources and see if there's anything I can add.
    Philipp Haller
    @phaller
    @MichaelJAllen I think a release for Scala.js would have to come a bit later. Good to hear about your interest!
    Daniel Gordon
    @DanielGGordon
    Does it make sense to use this library if I am doing something like reading from a .json file? I've seen serialization examples, but not deserialization
    Ryan Wright
    @rrwright
    Anyone know if this project has been abandoned? :-/ scala/pickling#452
    Hanns Holger Rutz
    @Sciss
    Hi there. I have some questions about spores, is this the right place to ask?
    Philipp Haller
    @phaller
    Hi @Sciss, I think scalacenter/spores would be the right channel for questions about spores.