Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 12:18
    adamgfraser opened #11852
  • 10:50
    som-snytt synchronize #8598
  • 10:11
    som-snytt edited #8598
  • 10:09
    som-snytt synchronize #8598
  • 08:01
    som-snytt commented #8477
  • 07:14
    som-snytt synchronize #8598
  • 06:21
    som-snytt commented #8641
  • 04:25
    steven-barnes commented #11839
  • 03:30
    SethTisue demilestoned #11823
  • 03:30
    SethTisue milestoned #11823
  • 02:40

    SethTisue on 2.13.x

    unfreeze http4s (by adding cats… (compare)

  • 02:40
    SethTisue closed #1052
  • 02:39
    SethTisue commented #1052
  • 02:39

    SethTisue on 2.13.x

    2.11: new Scala SHA (#1037) 2.12: advance project SHAs (#10… bump sbt to 1.3.7 (was 1.3.6) (… and 7 more (compare)

  • 02:39
    SethTisue closed #1053
  • 02:39
    SethTisue commented #1053
  • 02:38

    SethTisue on 2.13.x

    run github4s tests again (#1054… (compare)

  • 02:38
    SethTisue closed #1054
  • 00:58
    som-snytt synchronize #8598
  • Jan 17 20:12
    joroKr21 commented #1047
Ara Adkins
@iamrecursion
Hm. Then perhaps my entire approach is misguided.
Fabio Labella
@SystemFw
(at least in scala 2, since there is no other way to get a hold of the type member of GraphInfo due to lack of multiple implicit parameter lists)
Ara Adkins
@iamrecursion
Shockingly, this compiles
  final class GraphDataRepro[G <: Graph]()(
    implicit val info: GraphInfoRepro[G]
  ) {
    type OpaqueTypes <: HList
    implicit val test: GraphInfoRepro.Aux[G, OpaqueTypes] = ???
    implicit val ev: MapsOfRepro[OpaqueTypes] = ???

    val opaqueData = MapsOfRepro[OpaqueTypes]
  }
Fabio Labella
@SystemFw
why shockingly?
Ara Adkins
@iamrecursion
Because it's shocking code
Laughs
Fabio Labella
@SystemFw
what you could do is make GraphInfo contain the Map
Ara Adkins
@iamrecursion
Which is really not where it should be, but it may be the only way
Fabio Labella
@SystemFw
so that when you get a GraphInfo instance you have the Map already without needing another search
it doesn't that the whole MapsOf derivation needs to be merged with GraphInfo
Ara Adkins
@iamrecursion
Come again?
Fabio Labella
@SystemFw
just that the trait needs to have the Map, and the instances for GraphInfo grab a MapOf and put it there
but I don't know without seeing the whole thing, it may break somewhere else
which is the whole problem with typelevel programming really, it's quite brittle (in all non-dependently typed langs, imho)
Ara Adkins
@iamrecursion
Don't I know it.
It's likely to break somewhere else. Hm. I'm starting to think that the whole approach is a bit misguided.
som-snytt
@som-snytt
@mrdziuban macro impl has to be in a separate run; and trees must typecheck before and after expansion.
Matt Dziuban
@mrdziuban
do you mean the tree passed into the macro?
if so that would explain my issue, my code doesn't typecheck before expansion because it uses things that need to be imported from Foo
som-snytt
@som-snytt
in'n'out like the burger joint
It's not a syntax macro.
Matt Dziuban
@mrdziuban
oh well, thanks for the help
som-snytt
@som-snytt
som-snytt
@som-snytt
Weather report says: "There’s this perception it has been raining a lot," said Null. "It has been raining, but the amounts have been paltry." Null due to lack of previous reference.
Billzabob
@Billzabob
Is there a good Scala wrapper for Quartz or and alternative task scheduling library? We need it to use a database to work consistently even across multiple instances of a service or if services are restarted.
Rob Norris
@tpolecat
what do you mean? all the services will need to read their scheduling information from a central database?
I set up cron to poke my services with curl. This is 100% the correct way to do it. One of the best decisions I ever made.
som-snytt
@som-snytt
@tpolecat what if your VMs aren't set up correctly to keep wall clock time? I wound up using the DB as a time server.
Rob Norris
@tpolecat
Clock only needs to be right on the machine that's running cron, but yeah I do kind of assume everyone has the same general idea of what time it is.
som-snytt
@som-snytt
Our clock jumps forwards and backwards, we want an app to fetch time indexed data. The best part is cron running a job twice because "10:00" happened twice. You can't hear me laughing, or the quality of my pain.
Dermot Haughey
@hderms
does it have to happen as close to the scheduled time as possible?
I feel like that's an important part of the equation
Rob Norris
@tpolecat
cron deals with clock changes in a reasonably sane way
sane enough for me anyway
finlaydotb
@finlaydotb
Hi all...do any one by chance know how to get the dependency tree using sbt?
Something like mvn dependency:tree for maven
finlaydotb
@finlaydotb
lol...I was just finding that page just now!
Thanks!
Find it subpar though, that this is not baked in into sbt
finlaydotb
@finlaydotb

ok...it is not resolving. According to here https://mvnrepository.com/artifact/net.virtual-void/sbt-dependency-graph/0.9.2 version 0.9.2 is the version available on maven central.

On the readme 0.10.0-RC1 is listed.

None of these are resolving!

I think I am calling it a day now :)

My foray into the Scala development sphere has been truly exhilarating! and fulfilling!

Perfected the art of making easy things hard, and hard things harder! Just as it should be! :)

Martijn Hoekstra
@martijnhoekstra
Okay, good luck tomorrow!
finlaydotb
@finlaydotb
Thank you!
Kemal Emre Colak
@controlmachine
Hello, what are the suggested visualization libraries for Scala? I researched but don't know which ones are deprecated, which one is mostly suggested?
Rob Norris
@tpolecat
@finlaydotb works for me
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")
goes in ./project/plugins.sbt
Brian Maso
@bmaso
@hderms cron is great for most applications. If you need guaranteed, just-once notification there's several ways to do it on AWS that are reliable and don't have a single point of failure. I use this when there are multiple endpoints to notify, especially if the list of endpoints varies over time. (Actually, I wrote my own thingy to post messages to a Kafka queue on a schedule when I got sick of dealing w/ AWS for such a seemingly simple service, but the point is that AWS is relatively simple and easy to get working quickly when you outgrow cron + curl.)