Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 29 23:43

    darkfrog26 on 3.0

    Added transaction support (compare)

  • Nov 13 20:34

    darkfrog26 on 3.0

    Continued work (compare)

  • Nov 13 19:09

    darkfrog26 on 3.0

    Added generic type for results (compare)

  • Nov 13 17:15

    darkfrog26 on 3.0

    Continued refactoring (compare)

  • Nov 03 00:13

    darkfrog26 on 3.0

    Began working on new GraphSpec (compare)

  • Sep 19 00:34

    darkfrog26 on scalatest-3.2.9

    (compare)

  • Sep 19 00:34
    darkfrog26 closed #29
  • Sep 19 00:34
    darkfrog26 commented #29
  • Sep 19 00:34
    darkfrog26 opened #34
  • Sep 19 00:33

    darkfrog26 on scalatest-3.2.10

    Update scalatest to 3.2.10 (compare)

  • Sep 19 00:33
    darkfrog26 opened #33
  • Sep 19 00:33

    darkfrog26 on scala-compiler-2.12.15

    Update scala-compiler, scala-li… (compare)

  • Aug 29 00:33

    darkfrog26 on sbt-sonatype-3.9.9

    (compare)

  • Aug 29 00:33
    darkfrog26 closed #31
  • Aug 29 00:33
    darkfrog26 commented #31
  • Aug 29 00:33
    darkfrog26 opened #32
  • Aug 29 00:33

    darkfrog26 on sbt-sonatype-3.9.10

    Update sbt-sonatype to 3.9.10 (compare)

  • Aug 15 00:31
    darkfrog26 opened #31
  • Aug 15 00:31

    darkfrog26 on sbt-sonatype-3.9.9

    Update sbt-sonatype to 3.9.9 (compare)

  • Aug 09 01:16

    darkfrog26 on 3.0

    Migrated core functionality to … (compare)

elyphas
@elyphas
although that was my first tried add the dependency explicitly over scribe
elyphas
@elyphas
same problem.
Matt Hicks
@darkfrog26
Scarango has a dependency on Scribe 3.0.4
2.7.13
I will try to send a PR to mycelium
Matt Hicks
@darkfrog26
yeah, I bet that's your problem
I'll try to get Scarango updated to the latest version of Scribe
elyphas
@elyphas
and sorry, because I didn't find the dependency on scarango over scribe I didn't make a good seek
thank you very much, :)
Matt Hicks
@darkfrog26
no problem
Scribe has gone through some breaking changes in the last few releases and that appears to be the cause
elyphas
@elyphas
ah ok,
Matt Hicks
@darkfrog26
I believe it's fairly stable now though, and I do my best to avoid breaking changes
elyphas
@elyphas
great, :)
elyphas
@elyphas
@darkfrog26 ; it was the scribe 's version
Matt Hicks
@darkfrog26
FYI, youi has a better communication layer for talking over WebSockets than the lib you're using. :-p
instead of creating request / response classes, you simply create a trait that is shared that defines the methods representing the end-points
drastically reduces the number of adhoc classes
Also, if you're interested in contributing to a prototype database that is FAR faster than ArangoDB: https://github.com/outr/lightdb/blob/master/all/src/test/scala/spec/SimpleSpec.scala
elyphas
@elyphas
@darkfrog26 , thank you, i will try, :)
elyphas
@elyphas
And yes i am interesting i will try my best
elyphas
@elyphas
Wow, scala instead of c++
elyphas
@elyphas

Hi, Suddenly I am getting this error:

[error] java.lang.NoSuchMethodError: 'scala.concurrent.Future moduload.Moduload$.load(scala.concurrent.ExecutionContext)'
[error] profig.ProfigJVMSupport.initProfig(ProfigJVMSupport.scala:41)
[error] profig.ProfigJVMSupport.initProfig$(ProfigJVMSupport.scala:39)
[error] profig.package$.initProfig(package.scala:1)
[error] profig.Profig$.init(Profig.scala:97)
[error] profig.ProfigPathJVM$.initConfiguration$extension(ProfigPathJVM.scala:49)
[error] profig.ProfigPathJVM$.initConfigurationBlocking$extension(ProfigPathJVM.scala:38)
[error] com.outr.arango.AQLMacros$.process(AQLMacros.scala:99)
[error] com.outr.arango.AQLMacros$.aqlu(AQLMacros.scala:21)

any idea? please

Matt Hicks
@darkfrog26
Another dependency issue
Scarango depends on an older version of Profig which depends on an older version of Moduload
you need to figure out what dependency is pulling in a newer version of Profig
elyphas
@elyphas
@darkfrog26 ; thank you.
I thought Profig was a file
Matt Hicks
@darkfrog26
it's a configuration library like typesafe-config or Pureconfig
elyphas
@elyphas
@darkfrog26 ; thank you, I am searching for the problem, :)
elyphas
@elyphas
ok, I think I made a mistake
You told the version and the problem
but I didn't realize that I use a more recent version on mycelium
I am compiling mycelium with the version that scarango use of scribe
elyphas
@elyphas
problem solved
sorry, I just took the version that was on the page of scribe and didn't confirm with the version you gave me,
Matt Hicks
@darkfrog26
@elyphas nice, glad you got it figured out
elyphas
@elyphas

@darkfrog26 ; Hi, Would You give any idea to process this?, Please.
I had not used circe before and I have some troubles to make it work my project.
I have this error:

could not find implicit value for parameter e: io.circe.Encoder[types_scarango.Recipe]
ompile / compileIncremental 4s
[error]     override val serialization: Serialization[Recipe] = Serialization.auto[Recipe]

I tried some implicits but didn worked because I think is related to java.util.Date.
this is the code: code

Matt Hicks
@darkfrog26
yeah, probably need to create an implicit encoder for Date in that class above serialization
elyphas
@elyphas
@darkfrog26 ; sorry, I tried this didn't worked
import io.circe._
import io.circe.generic.auto._
import io.circe.syntax._

case class Recipe ( fiscal_period: Int, folio: String,
      date: Date,  id_area: Option[String],  area: Option[String],
      servicio: Option[String],  id_patient: Option[String], patient_name: Option[String],
      file_id: Option[String], physician_name: Option[String], diagnostic: Option[String],
      recomendation: Option[String], observation: Option[String] ) extends Document[Recipe]

object Recipe extends DocumentModel[Recipe] {

    implicit val dateEncoder: Encoder[Date] = Encoder.instance( a => "01/01/2021".asJson )
    implicit val dateDencoder: Decoder[Date] = Decoder.instance( a => a.as[Long].map(new Date(_)))

    override def indexes: List[Index] = Nil

    override val collectionName: String = "tblrecipe"
    override val serialization: Serialization[Recipe] = Serialization.auto[Recipe]
}
Matt Hicks
@darkfrog26
try removing Date and see if it compiles then?
elyphas
@elyphas
@darkfrog26 ; yes I tried String it compiles
Matt Hicks
@darkfrog26
Honestly, I wouldn't use Date anyway in the object...I always just use Long as it's lighter-weight and better represents time since a date can reflect timezone
but, if you want the above to work, I don't see why it shouldn't...are you getting the same compile error?
elyphas
@elyphas
not
but maybe I could try to use Long
Matt Hicks
@darkfrog26
you could always make a lazy val date: Date = Date(timestamp) if you really need to use a date object
personally, I never ever use Date object anymore as it's a pretty useless class
elyphas
@elyphas
well I need Date for a component on js