CircleCI: update image

See https://github.com/boostorg/boost/pull/802

Modifying image tag to the latest: "20.04-v4"

@ArtigasChristopher thank you.  It looks like image tag "20.04-v4" was merged. Closing the issue.


Best way to achieve isolated service instance use

I'm not sure what is the best way to achieve what I am trying to accomplish so let me give you an example.
I am using Azure Functions, which are stateless, with the following signature.
public static Task Run(Message message, ILogger logger)
{
    var controller = Main.Container.Resolve<CsoConsumerController>();

    // How can I attach the passed in logger instance so the rest of the services for the current flow re-use this instance?

    return controller.Execute(message);
}

As you can see, the azure function framework passes me an instance of the ILogger already configured and initialized for this function call ONLY.
I read through the documentation and I think I need a new scope here but I'm not sure. I only want this ILogger instance to be used during the async execution of this one method call. Each function call will use their own.
Any help would be great?

i tried to do something like this but i get the error "No current scope available"
Would this even work as I desire?
{
    public ILogger Logger { get; set; }

    public IDisposable BeginScope<TState>(TState state)
    {
        return Logger.BeginScope(state);
    }

    public bool IsEnabled(LogLevel logLevel)
    {
        return Logger.IsEnabled(logLevel);
    }

    public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
    {
        Logger.Log(logLevel, eventId, state, exception, formatter);
    }
}

public static Task Run(Message message, ILogger logger)
{
    var proxyLogger = Main.Container.Resolve<ProxyLogger>();

    proxyLogger.Logger = logger;

    var controller = Main.Container.Resolve<CsoConsumerController>();

    return controller.Execute(message);
}

i tried to do something like this but i get the error "No current scope available"

Would this even work as I desire?

There are too many questions here:

In order to resolve something with Reuse.Scoped yes, you need to OpenScope.
Why do you have two registrations of ProxyLogger implementations? Is this suppose to be different instances?

Answering on the previous question:

so using a scope here would not be the correct solution? is that because the instance has to be registered before the scope is created?

Generally, putting a run-time state (here is the logger parameter) into the container is a bad idea. For the sake of it, you may try to OpenScope and do container.UseInstance(logger), then resolve consumer service under the scope, then at the end Dispose of scope. So for the sake of passing the argument to the function, you introduce a shared state, then dispose of it, maybe with traces remaining in the container (cache) forever. That's why I am not encouraging the container.UseInstance. There are very little places where you need it - usually, those are integrations with other IoC/DI abstractions which were designed this way.
Therefore, if you can go without UseInstance or putting the state into the container, please do.
I would suggest using an approach with Func or passing args to Resolve.

Thank you for the detailed response. unfortunately that is how azure functions work, they are stateless and pass the logger into the function as a parameter.
also i do not believe the func callback will work because there are many services in the call execution that will need a reference to the ILogger not just the controller.
with that said and hopefully i explained the scenario better, async scope is required since the function returns a Task correction?

On Nov 6, 2018, at 1:16 AM, Maksim Volkau<EMAIL_ADDRESS>wrote:
i tried to do something like this but i get the error "No current scope available"
Would this even work as I desire?
There are too many questions here:
In order to resolve something with Reuse.Scoped yes, you need to OpenScope.
Why do you have two registrations of ProxyLogger implementations? Is this suppose to be different instances?
Answering on the previous question:
so using a scope here would not be the correct solution? is that because the instance has to be registered before the scope is created?
Generally, putting a run-time state (here is the logger parameter) into the container is a bad idea. For the sake of it, you may try to OpenScope and do container.UseInstance(logger), then resolve consumer service under the scope, then at the end Dispose of scope. So for the sake of passing the argument to the function, you introduce a shared state, then dispose of it, maybe with traces remaining in the container (cache) forever. That's why I am not encouraging the container.UseInstance. There are very little places where you need it - usually, those are integrations with other IoC/DI abstractions which were designed this way.
Therefore, if you can go without UseInstance or putting the state into the container, please do.
I would suggest using an approach with Func or passing args to Resolve.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Then you may try to "register" logger to scope via UseInstance.
// somewhere where you create a container, specify the ambient scope context to scope being propagated across async / await call boundaries
Container = new Container(scopeContext: new AsyncExecutionFlowScopeContext());

public static Task Run(Message message, ILogger logger)
{
    using (var scope = Main.Container.OpenScope())
    {
      scope.UseInstance(logger);
      var controller = scope.Resolve<CsoConsumerController>();
      return controller.Execute(message);
    }
}

Btw, I would still go with Func<> or Resolve(...args: ) - cause how many resolution roots (Resolve calls) you have? Ideally, it should be a single one (e.g. controller in your case). Then resolving controller as Func<ILogger, MyController,> then calling the Func with logger will pass the logger to all nested dependencies, not only controller itself. You don't need multiple Funcs or something.

Btw, I would still go with Func<> or Resolve(...args: ) - cause how many resolution roots (Resolve calls) you have? Ideally, it should be a single one (e.g. controller in your case). Then resolving controller as Func<ILogger, MyController,> then calling the Func with logger will pass the logger to all nested dependencies, not only controller itself. You don't need multiple Funcs or something.

I see what you mean now thanks makes sense!!


Feature

Description
This pull request introduces a new feature to the Multi-Tool in the Stirling-PDF application that allows users to add a blank page between existing pages. This functionality is particularly useful for users who need to insert separators or additional content between sections of their PDF documents. The addition of this feature enhances the flexibility and utility of the Multi-Tool, catering to a broader range of user needs.
The implementation includes updates to the user interface to provide an option for adding blank pages, as well as the necessary backend logic to process this action effectively. The user interface is intuitive, allowing users to easily select and add blank pages between any two pages in their document.
Closes #2194
Checklist

[✓] I have read the Contribution Guidelines
[✓] I have performed a self-review of my own code
[✓] I have attached images of the change if it is UI based (Not applicable in this case as the change is not UI-based)
[✓] I have commented my code, particularly in hard-to-understand areas
[✓] My changes generate no new warnings
[✓] I have read the section Add New Translation Tags (Not applicable in this case as no new translation tags were added)

Sorry to say but
This feature was already picked up by someone merged and closed ...
The functionality is already released

also heavily not tested if it contains `;


The need for the app.js file

I don't know the need for the app.js file.
I want to configure index.js router and delete app.js, what's the problem?

There's no problem. app.js is like any other component, you can delete it and maybe write its content directly inside index.js. It's entirely up to you. Also you should be asking these kind of questions in stackoverflow or somewhere, not in the issues section.

@sanghogu Is this issue still actual or you have received the answer can you close it?

If you want to delete app.js it's ok you just have to import all components to the index.js

thanks :)
@PeterNelsonT  stackoverflow ok 👍


Add confirm dialog to End Session

Please add a confirmation dialog to the End Session to confirm or abort ending of session as this deletes the session.

This would be useful to ensure user understands what will happen.  Sometimes people end session when they really meant to leave.  Another great option might be to limit who can End Session to only the creator or project admin users or something like that to limit accidental session closure.


New shortcut to select all matching text

VSCode calls this "select all occurrences of find match", and the gist is that I'd like to be able to select a piece of text (usually a word, a function name, a variable name, etc.) hit the keyboard combo (e.g., Cmd-Ctrl-g) and have all occurrences being selected.
Right now the workaround I am using is to select the text and keep Cmd-d pressed until it selects all matching text.

Want

This would be a really nice way to do replaces in a single buffer - just grab all text and change it all at once.

Intellij provides somewhat enhanced functionality that allows to not only do "select all matches" thing, but also to add/remove such selections one by one, while searching.

This is the only thing keeping me with Sublime. Is there any way to know if this is considered and if there's a plan to add it?

Was just about to main Zed with some fixes I've been waiting for in v0.90.
However, I'm 10 minutes in and I don't know if I can live without this. I use it quite a bit.

I think VSCode's Cmd-Shift-L shortcut would be nice, instead of involving Ctrl

This comes with the 0.96.0 version.

@SomeoneToIgnore And works in the Editor context, not just the BufferSearchBar one, as mentioned in #1749, since I see they were referenced to each other and closed in the same version? 🙏

Wooo.. awesome.. Can't wait to try it out.. Is there a date for 0.96?

as long as the buffer search input is open

@SomeoneToIgnore  that is not cmd-shift-L (or ctrl-cmd-g in Sublime)
It should be like cmd-d except instead of Next it's All. There is no search buffer when doing this.

That is all very confusing, looks I was wrong indeed.
Let's reopen this issue

@SomeoneToIgnore
https://github.com/zed-industries/community/assets/2897340/6125532c-0af8-48b0-a268-7b6ff8738a06

@JosephTLyons this was re-opened but it's not in #52 anymore (just sayin 😅)

@JosephTLyons this was re-opened but it's not in #52 anymore (just sayin 😅)

Was it in #52 recently? It looks like the issue at the end of the list has 40 upvotes and this one has 25, so I dont think it has had enough votes to be there, at least not for a long time.

I could be wrong, I just saw this on this issue's timeline and assumed it used to be in there.

Wooo.. awesome.. Can't wait to try it out.. Is there a date for 0.96?

We ship a new minor version every Wednesday (unless its a crazy holiday time).  Right now, stable is at v0.94.  So v0.96 should go out the Wednesday after next (July 26th).

I could be wrong, I just saw this on this issue's timeline and assumed it used to be in there.

Maybe it had been grouped with other issue(s)... Sorry about the ping

Yeah you're right, I think it was on there a long time ago, when we first started getting upvotes and all issues were kind of in the top. It got booted off sometime after that as other issues were upvoted past it.

Every Wednesday I open up Zed and check the update and every Wednesday I sad.

Every Wednesday I open up Zed and check the update and every Wednesday I sad.

No reason to be sad this Wednesday @ryanwinchester, it will be going out today :)

Ok, so this is officially released, but we made a mistake and put in the wrong binding.  We used cmd-shift-d, which by default is duplicate line, so we're going to put out a patch to make it cmd-shift-l. Hang tight.

We also have a crash when the selection is empty - this will be fixed in the same patch.


[bug] : does not submit

works locally, but won't submit on server. Probably file issue

was a cache isse. It works now


Test with Python 3.7 & 3.8 in CI

We are no longer using Travis for CI. Have raised a JIRA to remove the Travis file from the repo.


Error downloading com.sksamuel.scapegoat:scalac-scapegoat-plugin_2.13.10:1.4.9

I've followed the repo's instructions to run scapegoat but I've being facing the next error
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.sksamuel.scapegoat:scalac-scapegoat-plugin_2.13.10:1.4.9
[error]   Not found
[error]   Not found
[error]   not found: C:\Users\pc\.ivy2\localcom.sksamuel.scapegoat\scalac-scapegoat-plugin_2.13.10\1.4.9\ivys\ivy.xml
[error]   not found: https://repo1.maven.org/maven2/com/sksamuel/scapegoat/scalac-scapegoat-plugin_2.13.10/1.4.9/scalac-scapegoat-plugin_2.13.10-1.4.9.pom
[error]   not found: https://repo.typesafe.com/typesafe/releases/com/sksamuel/scapegoat/scalac-scapegoat-plugin_2.13.10/1.4.9/scalac-scapegoat-plugin_2.13.10-1.4.9.pom

I've tried settings different versions for the plugging and scala version without any success. One thing i did realized is that even if i changed the version on my plugins.sbt and scala version the error keeps showing the same version as default and not the ones i specify.
sbt.version = 1.5.0
My plugings.sbt file:
logLevel := Level.Warn

resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.16")

//Tets coverage with jacoco
addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.4.0")

addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.1.1")

build.sbt (scapegoatVersion in ThisBuild := "1.4.9"( shows red as if not recognized)
lazy val `tambo` = (project in file("."))
  .enablePlugins(PlayService, PlayScala, PlayLayoutPlugin, Common, JavaServerAppPackaging, UniversalDeployPlugin)
  .settings(
    name := "tambo",
    scalaVersion := "2.13.6",
    libraryDependencies ++= Seq(
      guice,
      ws,
      "org.joda" % "joda-convert" % "2.2.1",
      "net.logstash.logback" % "logstash-logback-encoder" % "6.2",
      "io.lemonlabs" %% "scala-uri" % "1.5.1",
      "net.codingwell" %% "scala-guice" % "4.2.6",
      "org.reactivemongo" %% "play2-reactivemongo" % "1.0.1-play28",
      "com.github.jwt-scala" %% "jwt-play" % "9.0.4",
      "com.stripe" % "stripe-java" % "20.131.0",
      //testing
      "org.scalatestplus.play" %% "scalatestplus-play" % "5.1.0" % Test,
      "org.scalatestplus" %% "mockito-3-4" % "<IP_ADDRESS>" % Test
    ),
    scalacOptions ++= Seq(
      "-feature",
      "-deprecation",
      "-Xfatal-warnings"
    ),
    publishTo := Some(("Artifactory Realm" at "http://<IP_ADDRESS>:8081/artifactory/sbt-release").withAllowInsecureProtocol(true)),
    credentials += Credentials("Artifactory Realm", "<IP_ADDRESS>", "admin", "Hamilton1!@#$%"),
    Universal / packageName := s"${name.value}",
    scapegoatVersion in ThisBuild := "1.4.9"
  )

libraryDependencies ++= Seq(jdbc, ehcache, ws, specs2 % Test, guice)
play.sbt.routes.RoutesKeys.routesImport += "play.modules.reactivemongo.PathBindables._"
routesGenerator := InjectedRoutesGenerator

I'm having the same issue. Did you figure it out or get any help @DiegoJohnsonL?

I tried changing the version from 1.4.9 to  2.1.1 for scala-version 2.13.10. but the problem persists.

I tried changing the version from 1.4.9 to 2.1.1 for scala-version 2.13.10. but the problem persists.

Please be sure to use the ThisBuild / scapegoatVersion := "2.1.1"
The current version of the sbt plugin isn't all that flexible in how to configure the version of scapegoat.

If i try to use this, it isn't able to detect scapegoat , an error is thrown.

Could you share that log?

Cannot resolve symbol scapegoatVersion
Cannot resolve symbol :=
[warn] 	Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn] 		com.sksamuel.scapegoat:sbt-scapegoat:2.1.1 (sbtVersion=1.0, scalaVersion=2.12)
[warn]
[warn] 	Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.sksamuel.scapegoat:sbt-scapegoat;sbtVersion=1.0;scalaVersion=2.12:2.1.1
[error]   Not found
[error]   Not found
[error]   not found: https://repo1.maven.org/maven2/com/sksamuel/scapegoat/sbt-scapegoat_2.12_1.0/2.1.1/sbt-scapegoat-2.1.1.pom
[error]   not found: /home/knoldus/.ivy2/localcom.sksamuel.scapegoat/sbt-scapegoat/scala_2.12/sbt_1.0/2.1.1/ivys/ivy.xml
[error]   not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.sksamuel.scapegoat/sbt-scapegoat/scala_2.12/sbt_1.0/2.1.1/ivys/ivy.xml
[error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/com.sksamuel.scapegoat/sbt-scapegoat/scala_2.12/sbt_1.0/2.1.1/ivys/ivy.xml
[error] 	at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:344)
[error] 	at lmcoursier.CoursierDependencyResolution.$anonfun$update$38(CoursierDependencyResolution.scala:313)
[error] 	at scala.util.Either$LeftProjection.map(Either.scala:573)

Ah, the version numbers of the sbt plugin and scapegoat aren't aligned. They have their own releases.
For the plugin you still need version 1.1.1 (usually in plugins.sbt) and with the snippet I shared above (in your build.sbt) it will choose the "actual" scapegoat version.

[info] Defining Global / sbtStructureOptions, Global / sbtStructureOutputFile and 1 others.
[info] The new values will be used by cleanKeepGlobs
[info] 	Run last for details.
[info] Reapplying settings...
[info] set current project to Scala-KUP-Assessment (in build file:/home/knoldus/Desktop/Scala-KUP-Assessment/)
[info] Applying State transformations org.jetbrains.sbt.CreateTasks from /home/knoldus/.local/share/JetBrains/IdeaIC2023.2/Scala/repo/org/jetbrains/scala/sbt-structure-extractor_2.12_1.0/2023.1.0/sbt-structure-extractor-2023.1.0.jar
[info] Reapplying settings...
[info] set current project to Scala-KUP-Assessment (in build file:/home/knoldus/Desktop/Scala-KUP-Assessment/)
[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Global / dumpStructure
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn]
[warn] 	Note: Unresolved dependencies path:
[error] stack trace is suppressed; run 'last update' for the full output
[error] stack trace is suppressed; run 'last ModuleOne / update' for the full output
[error] stack trace is suppressed; run 'last ModuleTwo / update' for the full output
[error] stack trace is suppressed; run 'last ssExtractDependencies' for the full output
[error] stack trace is suppressed; run 'last ModuleOne / ssExtractDependencies' for the full output
[error] stack trace is suppressed; run 'last ModuleTwo / ssExtractDependencies' for the full output
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.sksamuel.scapegoat:scalac-scapegoat-plugin_2.13:1.0.0
[error]   Not found
[error]   Not found
[error]   not found: /home/knoldus/.ivy2/localcom.sksamuel.scapegoat/scalac-scapegoat-plugin_2.13/1.0.0/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/com/sksamuel/scapegoat/scalac-scapegoat-plugin_2.13/1.0.0/scalac-scapegoat-plugin_2.13-1.0.0.pom
[error]   not found: https://repo.typesafe.com/typesafe/maven-releases/com/sksamuel/scapegoat/scalac-scapegoat-plugin_2.13/1.0.0/scalac-scapegoat-plugin_2.13-1.0.0.pom
[error] (ModuleOne / update) sbt.librarymanagement.ResolveException: Error downloading com.sksamuel.scapegoat:scalac-scapegoat-plugin_2.13:1.0.0
[error]   Not found
addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.1.1")
this is what you meant???

Yes, but also add ThisBuild / scapegoatVersion := "2.1.1" to your root build.sbt.

Yes, the problem is it cannot resolve the scapegoatVersion and this line of code in  build.sbt shows an error.

In the earlier log with the cannot resolve symbol errors, it was actually failing to find them because it couldn't download sbt-scapegoat:2.1.1

Cannot resolve symbol scapegoatVersion
Cannot resolve symbol :=
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.sksamuel.scapegoat:sbt-scapegoat:2.1.1 (sbtVersion=1.0, scalaVersion=2.12)
[warn]
[warn] Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.sksamuel.scapegoat:sbt-scapegoat;sbtVersion=1.0;scalaVersion=2.12:2.1.1
[error] Not found
[error] Not found

Key line being:

Error downloading com.sksamuel.scapegoat:sbt-scapegoat;sbtVersion=1.0;scalaVersion=2.12:2.1.1

Now that you've fixed the  addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.1.1") in plugins.sbt the error is back too the scapegoat-compiler-plugin not being found.

[error] not found: https://repo1.maven.org/maven2/com/sksamuel/scapegoat/scalac-scapegoat-plugin_2.13/1.0.0/scalac-scapegoat-plugin_2.13-1.0.0.pom

The default version in sbt-scapegoat is still scapegoat 1.0.0 which it tries to download, but can't because it's not released for that scala version. But now that plugin is loaded correctly adding ThisBuild / scapegoatVersion := "2.1.1" again in your root build.sbt (not plugins.sbt !) it should find the symbols and change to pick scalac-scapegoat-plugin_2.13.10-2.1.1.

Yes i have tried doing that, and yes ofcourse ThisBuild / scapegoatVersion := "2.1.1" is mentioned in buil.sbt file and not in plugins.sbt. it is still unable to find it.

I tried to build with an error in my code and then it read the version from build.sbt file and error is gone. Thank you for helping me this far. Saves BigTime.


fix(node-io-stress): Add fix for node-io-stress

Signed-off-by: Udit Gaurav<EMAIL_ADDRESS>Issue

fixes: https://github.com/litmuschaos/litmus-go/issues/176

ChaosEngine:

Name:         nginx-chaos
Namespace:    default
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"litmuschaos.io/v1alpha1","kind":"ChaosEngine","metadata":{"annotations":{},"name":"nginx-chaos","namespace":"default"},"spe...
API Version:  litmuschaos.io/v1alpha1
Kind:         ChaosEngine
Metadata:
  Creation Timestamp:  2020-10-14T10:44:51Z
  Finalizers:
    chaosengine.litmuschaos.io/finalizer
  Generation:        39
  Resource Version:  21985867
  Self Link:         /apis/litmuschaos.io/v1alpha1/namespaces/default/chaosengines/nginx-chaos
  UID:               f8b120a4-6715-4f20-bc48-208798490a90
Spec:
  Annotation Check:  false
  Appinfo:
    Appkind:              deployment
    Applabel:             run=nginx
    Appns:                default
  Chaos Service Account:  node-io-stress-sa
  Components:
    Runner:
      Image:     uditgaurav/chaos-runner:v12
  Engine State:  stop
  Experiments:
    Name:  node-io-stress
    Spec:
      Components:
        Env:
          Name:   TOTAL_CHAOS_DURATION
          Value:  120
          Name:   FILESYSTEM_UTILIZATION_PERCENTAGE
          Value:  10
          Name:   APP_NODE
          Value:
        Resources:
        Status Check Timeouts:
      Rank:             0
  Job Clean Up Policy:  retain
Status:
  Engine Status:  completed
  Experiments:
    Experiment Pod:    node-io-stress-cjxmw8-l5tb8
    Last Update Time:  2020-10-14T10:50:04Z
    Name:              node-io-stress
    Runner:            nginx-chaos-runner
    Status:            Completed
    Verdict:           Pass
Events:
  Type     Reason                           Age                  From                         Message
  ----     ------                           ----                 ----                         -------
  Normal   ChaosEngineInitialized           5m37s                chaos-operator               nginx-chaos-runner created successfully
  Normal   ExperimentDependencyCheck        5m29s                nginx-chaos-runner           Experiment resources validated for Chaos Experiment: 'node-io-stress'
  Normal   ExperimentJobCreate              5m24s                nginx-chaos-runner           Experiment Job 'node-io-stress-76y42o' created for Chaos Experiment 'node-io-stress'
  Warning  ChaosContainerWatchNotPermitted  5m19s                nginx-chaos-runner           Experiment Job creation failed, skipping Chaos Experiment: 'node-io-stress'
  Normal   RestartInProgress                3m8s                 chaos-operator               Chaos Engine restarted, will re-create all chaos-resources
  Normal   ExperimentDependencyCheck        3m5s                 nginx-chaos-runner           Experiment resources validated for Chaos Experiment: 'node-io-stress'
  Normal   ExperimentJobCreate              3m                   nginx-chaos-runner           Experiment Job 'node-io-stress-cjxmw8' created for Chaos Experiment 'node-io-stress'
  Normal   ChaosInject                      2m50s                node-io-stress-cjxmw8-l5tb8  Injecting node-io-stress chaos on ip-172-31-24-159.us-east-2.compute.internal node
  Normal   PreChaosCheck                    2m50s                node-io-stress-cjxmw8-l5tb8  AUT: Running
  Normal   Summary                          31s                  node-io-stress-cjxmw8-l5tb8  node-io-stress experiment has been Passed
  Normal   PostChaosCheck                   31s                  node-io-stress-cjxmw8-l5tb8  AUT: Running
  Normal   ExperimentJobCleanUp             24s                  nginx-chaos-runner           Experiment Job 'node-io-stress-cjxmw8' will be retained
  Normal   ChaosEngineCompleted             18s (x2 over 5m14s)  chaos-operator               Chaos Engine completed, will delete or retain the resources according to jobCleanUpPolicy


sigsegv when trying to inspect a drawcall

Description
Crash while trying to inspect a vkCmdDrawIndexed.
~It's probably related to my program, though I'm not seeing any validation warning and wished to inspect the problem with renderdoc.~
I can use the pipeline inspection widget on the vkCmdEndRenderPass just after the draw call, ~although the vertices buffer seems completely off, and am not sure I should inspect there.~ Edit: I get the same behaviour with "vkcube".
Might be related to #554.
Repro steps
Open the provided capture, unfold "Colour Pass #1", click on "vkCmdDrawIndexed(6, 1)".
Environment

RenderDoc built from sources 10f83298beafe4b0390ddbd9ec749ea47b9b7977
Operating System: Fedora 30
mesa 19.0.6, kernel 5.1.15
API: Vulkan
vulkaninfo: https://gist.github.com/Jiboo/32f0ad6add5c26bf0b7b9873f6c697ce
Pretty sure the selected device by the application was the Vega20.
Sample frame capture that reproduce the crash: https://drive.google.com/file/d/1FLyOF-UKbYiM3RaOmhSn-82f-PE6O3nS/view?usp=sharing
~x64 linux version of the program to reproduce (any frame after the font is loaded would do), but probably not usable as is: https://drive.google.com/file/d/1x-W0Ym9qI45IvSW9DwkcNrbmJuydPzNV/view?usp=sharing~ edit: same behaviour with vkcube
valgrind log: https://gist.github.com/Jiboo/b109d2635622c7054593357f9269b5b6
gdb log: https://gist.github.com/Jiboo/53342c5de94dc489ce737bd64a36f8bb

Looks like this was a regression added at the end of last week, should be fixed with that commit.
In general if you don't need the latest code for something it's a good idea to stick with the stable versions since they get the most testing, bleeding edge branch tip can get broken sometimes.


[Backport 2.x] Bump commons-cli:commons-cli from 1.6.0 to 1.7.0, Bump jakarta.enterprise:jakarta.enterprise.cdi-api from 4.0.1 to 4.1.0

Description

Backports #13328, #13331  to 2.x

Related Issues
Resolves backport failures for #13328, #13331
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Needs https://github.com/opensearch-project/OpenSearch/pull/13360


Fix docstrings

it just factorizes code for n_jobs, seed and random_state docstrings

This n_jobs which ends up drving n in _get_n_epochs should be factorized aswell or not?
https://github.com/mne-tools/mne-python/blob/f4ff17015b4523675587f64cec94d8f5b783dc0b/mne/connectivity/effective.py#L89-L90
https://github.com/mne-tools/mne-python/blob/f4ff17015b4523675587f64cec94d8f5b783dc0b/mne/connectivity/spectral.py#L423-L434

@larsoner what is the difference to decorate using @verbose or @fill_doc?
I think we should add those things in the contributing guide. (or make developers guide with all those little things as a FAQ)

@verbose does what @fill_doc does, plus controls the verbosity level. Use verbose if the function has a verbose arg and fill_doc if it does not

I was going to tackle this today after all the RandomState nonsense that got wrapped into the tutorials PR. Thanks @agramfort for the head start.  I pushed a fix for broken cross-refs (that were my fault anyway) and a fix for duplicate random_state defs in the docdict.

rendered example of the new random_state template
rendered example of same, but with additional info tacked on.

thx @massich

I've 2 commits that didn't go in (I could not understand why they were breaking). I'll contribute them in a separate PR.


[azure-iot-sdk-c] Update sdk to 1.2.10 and update dependencies

new versions for azure-iot-sdk-c, azure-c-shared-utility, azure-uamqp-c, azure-umqtt-c, azure-uhttp-c

Thanks for the PR!


feat: allow users to select covariates for memento

Changes

Updated the cube builder to store the sum, sumsq, n_obs, and size_factors
Updated the diff_expr module to calculate mean and sem on the fly, performing the necessary aggregations along the user-selected covariates.
Removed n_features. All features will be selected.

Testing
The script was run with the following params:
"tissue_general_ontology_term_id in ['UBERON:0002048'] and cell_type_ontology_term_id in ['CL:0000786', 'CL:0000187']" cell_type_ontology_term_id ~/czi/cellxgene-census/memento-cube-2024-01-29 1 dataset_id,assay_ontology_term_id
The results were quickly sanity checked.

Just a heads up:
Because the cube is changing with this PR, after this is merged, you or I will need to update the estimator cube test fixture by using a the census test fixture and upload the new estimator cube test fixture to the repo:
https://github.com/chanzuckerberg/cellxgene-census/tree/atol/memento/epic/tools/models/memento/tests/fixtures
This will need to happen in subsequent PR.

I found it a little hard to get through the details because of the additional indexers being passed around. What we want is:
A. The in-memory estimator_df["obs_group_join_id"] to be replaced with the selected covariate group_ids
B. Pass these selected covariate group_ids down to compute_for_feature() with the name obs_group_join_ids
If I understand that correctly maybe it is easier to do the following (easier from the perspective of the reader):

Rename obs_groups_df_agg to covariate_groups_df everywhere
In compute_all() add a covariate_group_id column to obs_groups_df like so:

obs_groups_df['covariate_group_id'] = covarate_group_df.ngroup()

In query_estimators() add a covariate_group_id to estimator_df by joining with obs_groups_df on obs_group_joinid - this works because obs_group_joinid is unique index in obs_groups_df.Something like (maybe not the cleanest way to write it - my pandas knowledge is still not great):

estimator_df['covariate_group_id'] = estimator_df.join(obs_groups_df, on='obs_group_joinid').covariate_group_id

Aggregate estimator_df on ['feature_id', 'covariate_group_id'] and rename covariate_group_id to obs_group_joinid on estimator_df and drop the covariate_group_id column on estimator_df and obs_groups_df.

estimators_df = estimators_df.groupby(["feature_id", "covariate_group_id"]).sum().reset_index()

estimator_df['obs_group_joinid'] = estimator_df['covariate_group_id']

del estimator_df['covariate_group_id']
del obs_groups_df['covariate_group_id']

Delete all the obs_group_joinid_agg_series and obs_groups_df_agg_indexer logic

What do you think?

We need a mapping of original-to-new (post-aggregation) join IDs so that we can map the estimator df IDs to the new IDs. I'm not sure I understand if this is captured in your suggestions.
The verbosity of indexers/mappers being passed around to the functions seems to be an artifact of how the code was segmented, which imo was over-partitioned to enable granular profiling. I'll play around with the code structure a bit to see if we can land on something that is easier to read.

I found it a little hard to get through the details because of the additional indexers being passed around. What we want is:
A. The in-memory estimator_df["obs_group_join_id"] to be replaced with the selected covariate group_ids
B. Pass these selected covariate group_ids down to compute_for_feature() with the name obs_group_join_ids
If I understand that correctly maybe it is easier to do the following (easier from the perspective of the reader):

Rename obs_groups_df_agg to covariate_groups_df everywhere
In compute_all() add a covariate_group_id column to obs_groups_df like so:

obs_groups_df['covariate_group_id'] = covarate_group_df.ngroup()

In query_estimators() add a covariate_group_id to estimator_df by joining with obs_groups_df on obs_group_joinid - this works because obs_group_joinid is unique index in obs_groups_df.Something like (maybe not the cleanest way to write it - my pandas knowledge is still not great):

estimator_df['covariate_group_id'] = estimator_df.join(obs_groups_df, on='obs_group_joinid').covariate_group_id

Aggregate estimator_df on ['feature_id', 'covariate_group_id'] and rename covariate_group_id to obs_group_joinid on estimator_df and drop the covariate_group_id column on estimator_df and obs_groups_df.

estimators_df = estimators_df.groupby(["feature_id", "covariate_group_id"]).sum().reset_index()

estimator_df['obs_group_joinid'] = estimator_df['covariate_group_id']

del estimator_df['covariate_group_id']
del obs_groups_df['covariate_group_id']

Delete all the obs_group_joinid_agg_series and obs_groups_df_agg_indexer logic

What do you think?

We need a mapping of original-to-new (post-aggregation) join IDs so that we can map the estimator df IDs to the new IDs. I'm not sure I understand if this is captured in your suggestions.
The verbosity of indexers/mappers being passed around to the functions seems to be an artifact of how the code was segmented, which imo was over-partitioned to enable granular profiling. I'll play around with the code structure a bit to see if we can land on something that is easier to read.

I think the mapping is captured per step 2 by adding a column covariate_group_id to obs_groups_df. So:
# first group obs_groups_df by selected covariates

covariate_groups_df = obs_groups_df.groupby(variables)

> > I found it a little hard to get through the details because of the additional indexers being passed around. What we want is:
> > A. The _in-memory_ `estimator_df["obs_group_join_id"]` to be replaced with the _selected covariate group_ids_
> > B. Pass these _selected covariate group_ids_ down to `compute_for_feature()` with the name `obs_group_join_ids`
> > If I understand that correctly maybe it is easier to do the following (easier from the perspective of the reader):
> >
> > 1. Rename `obs_groups_df_agg` to `covariate_groups_df` everywhere
> > 2. In `compute_all()` add a `covariate_group_id` column to `obs_groups_df` like so:
> >
> > ```
> > obs_groups_df['covariate_group_id'] = covarate_group_df.ngroup()
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 3. In `query_estimators()` add a `covariate_group_id` to `estimator_df` by joining with `obs_groups_df` on `obs_group_joinid` - this works because `obs_group_joinid` is unique index in `obs_groups_df`.Something like (maybe not the cleanest way to write it - my pandas knowledge is still not great):
> >
> > ```
> > estimator_df['covariate_group_id'] = estimator_df.join(obs_groups_df, on='obs_group_joinid').covariate_group_id
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 4. Aggregate `estimator_df` on `['feature_id', 'covariate_group_id']` and rename `covariate_group_id` to `obs_group_joinid` on `estimator_df` and drop the `covariate_group_id` column on `estimator_df` and `obs_groups_df`.
> >
> > ```
> > estimators_df = estimators_df.groupby(["feature_id", "covariate_group_id"]).sum().reset_index()
> >
> > estimator_df['obs_group_joinid'] = estimator_df['covariate_group_id']
> >
> > del estimator_df['covariate_group_id']
> > del obs_groups_df['covariate_group_id']
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 5. Delete all the `obs_group_joinid_agg_series` and `obs_groups_df_agg_indexer` logic
> >
> > What do you think?
>
> We need a mapping of original-to-new (post-aggregation) join IDs so that we can map the estimator df IDs to the new IDs. I'm not sure I understand if this is captured in your suggestions.
>
> The verbosity of indexers/mappers being passed around to the functions seems to be an artifact of how the code was segmented, which imo was over-partitioned to enable granular profiling. I'll play around with the code structure a bit to see if we can land on something that is easier to read.

@atarashansky - I _think_ the mapping from original to post-aggregation join IDs is captured in _step 2_ where I propose to add a `covariate_group_id` column to `obs_groups_df`. So, in more detail:

first group obs_groups_df by the selected covariates
covariate_groups_df = obs_groups_df.groupby(variables, observed=True).agg(agg_dict)
now create a new column, covariate_group_id, on obs_groups_df to create a mapping between original and new join IDs
obs_groups_df['covariate_group_id'] = covarate_groups_df.ngroup()

Now that `obs_groups_df` has this mapping, you should be able to do the same mapping on `estimator_df` by joining `estimator_df` with `obs_group_df` on `obs_group_joinid` and extracting `covariate_group_id`:

add covariate_group_id to estimator_df to create a mapping between original and new join IDs
remember that obs_groups_df has a unique index in obs_group_joinid so the join below can be an inner join
estimator_df['covariate_group_id'] = estimator_df.merge(obs_groups_df, on='obs_group_joinid')['covariate_group_id']

@prathapsridharan
I don't think this will work.
# first group obs_groups_df by the selected covariates
covariate_groups_df = obs_groups_df.groupby(variables, observed=True).agg(agg_dict)

# now create a new column, `covariate_group_id`, on `obs_groups_df` to create a mapping between original and new join IDs
obs_groups_df['covariate_group_id'] = covarate_groups_df.ngroup()

Aren't obs_groups_df and covariage_groups_df different shapes, now?

Aren't obs_groups_df and covariage_groups_df different shapes, now? Also, ngroup isn't a valid function for dataframes.

@atarashansky I see. How about this? I am looking at ngroup() documentation
# group obs_groups_df by covariates (creates DataFrameGroupby Object) and add `covariate_group_id` to obs_groups_df
temp_covariate_groupby_df = obs_groups_df.groupby(variables, observed=True)

# now create a new column, `covariate_group_id` to `obs_groups_df` which creates mapping of join IDs
# see pandas ngroup() documentation - https://pandas.pydata.org/docs/reference/api/pandas.core.groupby.DataFrameGroupBy.ngroup.html

obs_groups_df['covariate_group_id'] = temp_covariate_groupby_df.ngroup()

# now that the mapping has been created in obs_groups_df, apply aggregation functions on groups in temp_covariate_groupby_df
covariate_groups_df = temp_covariate_groupby_df.agg(agg_dict)


Investigate using strings: :copy to reduce memory pressure

Investigate using strings: :copy option to Jason.decode!(body) in PacketStream
Original discussion in #169

I'm not familiar with profiling with Elixir so much. I can help profiling it if you have some guidance. :)

I did some tests. The workload was editing large files and opening many files as I tried to hit the case then references to binary parts of big messages are kept in process memory. I wasn't able tot trigger memory leaks (at least on macOS in OTP 23). Binaries are only a small fraction of total used memory - Dialyzer process tends to be the biggest user. In fact :copy slightly increased memory usage.
strings: :reference

strings: :copy


updating zend-hydrator to 2.0 via composer oddity

Hi
I have come across a strangeness I can't explain and think is a bug. When updating zend-hydrator via composer to version 2 it reverts other Zend modules to earlier incompatible versions the output is:
Updating dependencies (including require-dev)
- Removing zendframework/zend-stdlib (2.7.4)
- Installing zendframework/zend-stdlib (2.6.0)
Loading from cache

- Removing zendframework/zend-hydrator (1.0.0)
- Installing zendframework/zend-hydrator (2.0.0)
Loading from cache

- Removing zendframework/zend-modulemanager (2.6.1)
- Installing zendframework/zend-modulemanager (2.5.3)
Loading from cache

- Removing zendframework/zend-form (2.6.0)
- Installing zendframework/zend-form (2.5.3)
Loading from cache

- Removing zendframework/zend-mvc (2.6.0)
- Installing zendframework/zend-mvc (2.5.3)
Loading from cache

- Removing zendframework/zend-db (2.6.2)
- Installing zendframework/zend-db (2.5.2)
Loading from cache

And when I change the zend-hyrator back to '1.*' it all goes back to the lastest '2.*' Zend modules
I am sure this can't be right, has anyone got any insights into this or am I the only one experiencing this?
Thanks inadvance

zend-hydrator v2.0 requires "zendframework/zend-stdlib": "^2.5.1" so it allows all above, but zendframework/zend-stdlib in version 2.7 was added zend-hydrator:^1.0 so it cannot be used and then it falls back to 2.6 where zend-hydrator didn't existed so it allows it.
I think that's why, but not sure how to fix it.
you could add zend-hydrator:2.1 with has "zendframework/zend-stdlib": "^3.0" if you really want it, but you will have to fix other dependencies also.

We've since changed things in 1.1 and 2.1; 2.1 requires zend-stdlib ^3.0, while 1.1 requires zend-stdlib ^2.7. Essentially, you can only update to zend-hydrator v2 if you can update to zend-stdlib v3. This is on purpose.
When separating the hydrator subcomponent out of zend-stdlib, we had to make the situation backwards compatible for existing users. As such, zend-stdlib (in the v2 series) still contains hydrator classes. We updated them to remove implementation and extend those from zend-hydrator. This posed a bit of a problem, however: several classes in zend-stdlib's hydrators were marked final, which meant that in zend-hydrator, they could not be marked final if we wanted the classes in zend-stdlib to extend from them.
(We marked the classes final because they had internal details that should not be overridden. By marking them final, we force end-users to create their own implementations if they really, really need different behavior, saving us the maintentance cost of extension points.)
The sole reason for v2.0.0 was to be able to re-mark those classes as final — and that has the side effect of making it incompatible with v2 versions of zend-stdlib if you are using the hydrators from zend-stdlib.
zend-stdlib v3 removes the hydrator subcomponent completely, making it compatible with zend-hydrator v2 again. As such, we marked zend-hydrator v2.1 as depending on zend-stdlib v3.
We're just about done with migration of the various components to make them forwards compatible with zend-stdlib v3, among others. Once that happens, you should be able to update.

Thanks for that detailed explaination. I will be staying on v1 for now. Thanks for your help and work with zend framework.


The Absence of Test Set Ground Truth

It seems that you haven't released the ground truth for the test set, and it's also marked as "hidden" on Hugging Face. Do you have any plans to release the ground truth?

Sorry, I just realized that you might be concerned about the test set data being leaked. No worries, I'll submit my results on your evaluation website. And this is really a good job!

Thanks so much for your interest! I just approved all your submissions :D


Verification limitations

Hello, I've wanted to use mockserver for load-testing scenarios but it seems that I've hit some limits - e.g. I hit a configured expectation method 1000 times. When I use verify endpoint it returns 202 response only when I supply "atLeast" parameter less than ~600. I've also tried to use "/mockserver/retrieve?type=REQUESTS" url given the same configured matcher, but the maximum amount of results returned was only 666. I've found no documentation around any limitations, so not sure if this is an actual issue or I'm hitting some other technical limits.
For me it would be really helpful to have a simple way to get a number of how many times configured endpoint was called.

I think your issue is related to #656 which is now fixed.  I will make a new release in the next few weeks with this fix.  In the meantime, you could try using the SNAPSHOT version at http://mock-server.com/where/maven_central.html#sonatype_snapshot or https://hub.docker.com/layers/jamesdbloom/mockserver/mockserver-snapshot/images/sha256-7ae867cc1e137e1100629deeac04305c360fa66804448f4f78e506b8d1e0326e


minimalistic definition of a github-based gitflow process

To get started, we need to agree on how to use github as it was intended for the definition and maintenance of our process descriptions.
Most importantly, though, keep in mind the principles of YAGNI and DRY (that includes rewriting what is already documented elsewhere)!

@marcusvw I kept this issue open especially for your contributions. Please feel free to state goals for improvement to the "Process for changing the Process" here. When we both understand the goals for changing this "bootstrapping" process, we can decide if you or me shall make the modifications.

Okay, now that we have connected the two veh-engineering trackers, we should also add a few bullets to how we intend to use them in combination to our process description.
My minimal Conditions-of-Satisfaction (CoS) are:

strict use of trello-board order as prio, higher position means "take this first when you have a choice"
re-ordering of cards is done by a single person per column, otherwise we get confusion. I would say an agreement is enough, we don't need any actual tool restrictions
definition of "master" for content. Right now, the IFTTT does not synchronize content, so when there is a link to github, we shall use github's comments section and the ticket description is authoritative on github.

@marcusvw to practice our ability for team work, do you want to take the "STARTED" column under your supervision while I take the "TO DO (NOT STARTED)" column? :-)


Fix two minor errors/bugs

Hi there, I fixed two errors I encountered while running a model. I'm not sure how these pull requests work, so just wanted to let you guys know in case you wanted to fix it.
This commit also contains a small change to plotTraces for personal use, which is less relevant.
Commit summary:

fix divide by zero error in plotConn()
fix list index out of bounds error in plotTraces()
add option to plotTraces() to plot one figure per population per trace

Cheers,
Lucas.
PS: Great work on this module, it makes my life as a PhD student much easier :)

Lucas, thanks so much for your contribution and your comments.
Could you please make the PR into the Neurosim-lab:development branch? (all changes are made in that branch and then combined into master when a new version is released -- actually, by accident I merged your PR into the master and then had to revert it)
Also, could you please briefly let me know what you are using netpyne for? Not that many people are using the package yet so we like to keep track of users and get feedback from them. Btw, if you have any questions or requests feel free to add issues or ask me directly at<EMAIL_ADDRESS>thanks again for your support!
salva

Hi Salvador,
I made a new pull request into the development branch as requested. I am using Netpyne to model the Basal Ganglia network using biophysically detailed and simplified spiking models. I am going to look at the effect of pathological oscillations on task performance for motor tasks. One of the overarching goals of our group is to combine different models into a multi-scale model of Basal Ganglia, spinal chord and motor units in the muscles, so I may use Netpyne for that too.
I appreciate all the work that is made open source by your group. It helped me a lot while learning how to use the more advanced features of Neuron using Python.
All the best,
Lucas

Lucas, I merged your changes, thanks again.
And its fantastic that you are doing a BG model that might include spinal cord and motor units in the future. This matches very nicely with some of our previous and current work:

BG model: http://journal.frontiersin.org/article/10.3389/fncom.2013.00039/full
sensorimotor cortex model: http://journal.frontiersin.org/article/10.3389/fnbot.2015.00013/full
M1 model: http://neurosimlab.org/pdfs/M1NECO14.pdf, http://journal.frontiersin.org/article/10.3389/fphar.2016.00157/full,
http://bmcneurosci.biomedcentral.com/articles/10.1186/1471-2202-16-S1-P153

We are currently half way through a grant that aims to develop a detailed multiscale model of M1 (netpyne-based), so at some point in the future it might be interesting to combine your BG, spinal cord, motor units with the M1 model! Please email me at<EMAIL_ADDRESS>so I have your email for future contact.
Thanks
salva


Event quota information invalid

Ingress: Up to 1 MB per second or 1000 events per second (whichever comes first)
Egress: Up to 2 MB per second

This information suggests that there is no egress message quota. This is misleading, as there is a read limit of 2000 events per second.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 71adf8e4-a51b-d20d-39e1-fd7551bc94b9
Version Independent ID: 3d26fbc0-b6ae-e0ca-089f-e4966c19ef22
Content: Azure Event Hubs features overview
Content Source: articles/event-hubs/event-hubs-features.md
Service: event-hubs
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@BartoszPorebski Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@BartoszPorebski Thank you for pointing out this missing info. For egress, the throughput limit for 1 throughput unit (TU) is 4096 events per second. I will be sure to update the article to include this info. Thanks again!

@BartoszPorebski The article is updated, thank you again for the feedback. #please-close

Thank you for reply. In a few places I can still see invalid info. I leave it here in case other devs also need rapid egress and get confused:
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-faq
2000 events/s:
https://azure.microsoft.com/en-us/blog/event-hubs-auto-inflate-take-control-of-your-scale/
"Event Hubs capture does not impact egress rates for Event Hubs throughput units. You can still read at the full throughput unit rate of 2,000 events per second/2 MBps per throughput unit."
https://azure.microsoft.com/en-us/pricing/details/event-hubs/

@BartoszPorebski Thank you for pointing that out. The FAQ does not seem to list any limit at all. The blog post is not part of the technical documentation and could be incorrect or outdated. I have verified the 4096 events limit with the development team.


Add example usage to skip_batches

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Issues when trying to boot server and client Starter

Hello I try to start starter again today and....
I added GITHUB_CLIENT_ID to client .env
CLIENT_BASE_URL=http://localhost:5000/graphql
WEBSOCKET_API_URL=ws://localhost:5000/graphql
GA_ID:GA-
SENTRY_DSN:
BROWSER_API_ENDPOINT:http://localhost:5000/graphql
GITHUB_CLIENT_ID:7c85dd5920..........
CLIENT_DOMAIN:http://localhost:3000
REDDIT_CLIENT_ID:

and I added GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET to server .env
# Used to sign and verify JWTs, make sure you change it to something string, or use a public & private key
SIGNING_KEY=changeThis

CORS_ORIGIN=http://localhost:3000

SENTRY_DSN=

ENGINE_API_KEY=

GA_ID=

GITHUB_CLIENT_ID=7c85dd5920..........
GITHUB_CLIENT_SECRET=8bb72cc9f8266fa1429a16f520fcd7..........

REDDIT_APP_ID=
REDDIT_APP_SECRET=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

APOLLO_GRAPH_VARIANT=apollo.graphVariant

and started, but I can't use github oauth with starter

other issues is the missing http://localhost:3000/logo.png
and in client the required sentry, can this be optional, seems better
Sentry Logger [Warn]: No DSN provided, backend will not do anything.

and a client error in console devtools
Warning: Prop `className` did not match. Server: "css-didk8x bb-TopNavItem" Client: "css-e52yrk bb-TopNavItem"
    in a
    in li (created by ForwardRef(Box))
    in ForwardRef(Box)
    in Unknown (created by TopNav.Item)
    in TopNav.Item (at Navigation.tsx:64)
    in Link (at Navigation.tsx:63)
    in ul (created by ForwardRef(Box))
    in ForwardRef(Box)
    in Unknown (created by TopNav.Section)
    in TopNav.Section (at Navigation.tsx:62)
    in div (created by ForwardRef(Box))
    in ForwardRef(Box)
    in Unknown (created by TopNav)

thanks again

I can see in the GitHub URL that the client ID is undefined, somehow the id isn't getting through to the URL. Make sure you restart the server after updating the .env
As for missing the logo:
Add your logo file?
The sentry this is your preference, fork the repo and change it, or make a PR.
The Warning: Prop className did not match. Server: "css-didk8x bb-TopNavItem" Client: "css-e52yrk bb-TopNa... warning is because Next renders one class name on the server and another on the client. It's not an issue as far as I'm aware.

Thanks @tomanagle
I only see your answear today, I will try to follow tour tips to start project
thanks for everything

@tomanagle Make sure you restart the server after updating the .env
yes I restart server, I already double check it now, and get the same undefined in url github
seems the problem is in .env files we have : and not = and it gives some confusion, after setup everything, github and google oauth are setted and working, but when we are redirect to redirect_url, and we land in frontend nothing happens, we keep unlogged and I inspect cookies, storage etc and nothing
do you have any clue? thanks @tomanagle

So i did the GitHub auth and can see it's making a request to http://localhost:5000/graphql in the client. Make sure you set the GraphQL endpoint to your domain, in this case it will be https://dev.koakh.com

I fixed the .env.example in the client.
It's been a while since I've worked on this so I can't remember exactly how the auth works

No problem, I try to ser your .env maybe I can figure out whats happen
Thanks for your support :)
Mario
Em 14/07/2021, 01:01, em 01:01, Tom Nagle @.***> escreveu:

I fixed the .env.example in the client.
It's been a while since I've worked on this so I can't remember exactly
how the auth works
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/tomanagle/NextJS-NestJS-GraphQL-Starter/issues/260#issuecomment-879481256

I have the same problem as the person in the first question, I also substituted GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET and got an additional window in which the same buttons are located as on the main menu. And then nothing happens. I close the window and the menu reloads.

@tomanagle Hi! Can you please help me, when I run the docker-compose build client, I get an error related to web pack 5 inside next.config.js

Error link here: https://nextjs.org/docs/messages/webpack5


Encode Video for Live streaming

Hi,
It's not an issue, but I don't know anybody knows uwp, except you guys.
Recently I created a instagram client, I want to add live broadcasting via rtmp,
after sending 2 request to Instagram api, it will give an RTMP url.
But I don't know how to encode an live video stream to flv and keep sending this stream to RTMP Url.
Thanks.
@lukasf @mcosmin222

Hi,
You should be able to use this MediaStreamSource for transcoding. You will need to create a MediaEncodingProfile for your desired output and you should be ready to go.
As for the streaming part, my guess is that you need to open a socket to the URL address and start sending data. You should probably look for some nuget to do this.

Sorry. wrong thread (that replay I deleted :) )

Hi, @mcosmin222  Thanks for reply.
I can work with the part of MediaEncodingProfile and MediaStreamSource.
the problem is I didn't find anything to sending bytes/stream to that rtmp upload url.
if you can give me a code,link, todo.
thanks.

I think you can use stream sockets for that. I'd expect the data package you send must have a specific format.
You can find the protocol specs here
https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol
and here
https://www.adobe.com/devnet/rtmp.html
I also found this, which is .net core.
https://github.com/hinaria/rtmp-sharp
Sadly, I don't think there is anything UWP specific. You will probably have to hack things apart and then sew them back together for it to work.

Closing this, since it is not a lib problem, @mcosmin222 gave some links for you to follow....


type in a route number and will display line

eg start typing 27... drop down will say, "274: Three Kings to Britomart"; "277: Waikowhai to Britomart"
can click either and will display map at full zoom out, with line of route and with all stops marked

maybe also if you click on the route number at a station it will bring up the route

New in V1


Forget&Reset Password Functionality for Brand and Influencers Added

Description
This includes frontend and backend changes. Forgot and reset password for both brand and influencer is completed.
Issue
Issue Link resolve #37

@Kajol-Kumari  @RohitGupta1237  can you please check.


mbed-os-example-blinky breaks on NRF52_DK when NDEBUG macro set

Both online compiler (using Compile Macros -> NDEBUG) and MBED-CLI (mbed_app.json) causes application freeze in blinky with NRF52_DK as target. I have not tested it for other targets.

@saedelman Thanks for reporting this. Could you please report this at https://github.com/ARMmbed/mbed-os? Could also include the version of mbed-os or the commit hash of the blinky example you're using when you report it there? Thanks!

@saedelman I think this is a linked issue https://github.com/ARMmbed/mbed-os/issues/2467. As @bridadan suggested, please raise an issue against https://github.com/ARMmbed/mbed-os so the Nordic engineering team have visibility on this.

@bridadan @screamerbg Done. https://github.com/ARMmbed/mbed-os/issues/4621

Thanks!


Wicked time picker->> on clicking arrows, it increments/decrements by 2

I've experienced the same issue.  I'm working on a laptop, and when I click by tapping the touchpad, the hour/minute increments by 2.  When I click using the mouse buttons, I don't experience this.
I think the time between a mousedown event and a mouseup event when tapping the touchpad is the main issue.  These are being misinterpreted as a "long press" and both the code for a click event and for a long press gets executed.  I have two potential solutions.
First, in wickedpicker.js, line 463, within function HandleTimeAdjustments:
$(this.up).add(this.down).off('mousedown click touchstart').on('mousedown click', {
change to:
$(this.up).add(this.down).off('mousedown click touchstart').on('click', {
This is a (half-assed) way to disable the long-press that lets you scroll through the values quickly.
Alternatively, on a long press, add a delay before changing the value.
In wickedpicker.js, line 470, replace the 'if' block with:
if (event.type == 'mousedown') {                     var delay = 2; //the number of intervals to ignore before changing value                     timeOut = setInterval($.proxy(function (args) {                         if (delay == 0) {                             args.Wickedpicker.changeValue(operator, args.input, this);                         }                         else {                             delay--;                         }                     }, this, { 'Wickedpicker': passedData.Wickedpicker, 'input': passedData.input }), 200);                 } else {                     passedData.Wickedpicker.changeValue(operator, passedData.input, this);                 }
This adds a 400ms delay before registering a long press.
Disclaimer, I've barely tested this, use at your own risk, I'm not responsible for blowing up anyone's project, etc.


SELF HOST

Hi,
Could you give me more information regarding this line of code ?
new UniVoiceAirPeerNetwork("ws://<IP_ADDRESS>:11000").
I was wondering how I could host the signalingServer on my own server instead of using this.
Thanks

Hi,
Yes you can run. Refer to the airsignal repository.


⚠ Garbage Collector has degraded performance

In e311f80, Garbage Collector (https://gc.fef.moe/login) experienced degraded performance:

HTTP code: 200
Response time: 18513 ms

Resolved: Garbage Collector performance has improved in b703dad.


Add k8s ClusterConfig and KubeClient

This will be useful for plugins wanting to create resources on remote clusters
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Closing as I'll be moving this to flyteplugins


mutex crash

Some function in my application will crash occasionally, specifically on the use of mutex. The general structure of the function is as follows:
func test() {
	var chMutex sync.Mutex

	for _, node ;= range nodeList {
		go func() {
			chMutex.Lock()
			……
			chMutex.Unlock()
		}
	}

	chMutex.Lock()
	……
	chMutex.Unlock()

	// maybe exit earlier than go routine
}

Occasionally it crashes：
panic: runtime error: invalid memory address or nil pointer dereference
sync.(*Mutex).Lock(0x1) C:/Go/src/sync/mutex.go:74 +0x1d
I've tried many versions of golang, and this is a problem. But it's not easy to reproduce.
I wonder if this problem is caused by the fact that chMutex is a local variable and test() exits early while goroutine continues to execute？

What happens when you run your program under the race detector?

I wonder if this problem is caused by the fact that chMutex is a local variable and test() exits early while goroutine continues to execute？

That in itself would not be a problem. chMutex will be allocated on the heap and will survive beyond the lifetime of test's stack frame.

It's hard to reproduce. It comes out once in a while. You can see this kind of crash on Windows, but not on android.

I used the win10 system

Hi @caleb-letsgo - could you please answer @bcmills' question here ? Thanks.

Oddly, when I ran the go run-race test.go, there was no output of any race content. I've tested it many times.
`
ch := make(chan infRes, scount)
chClosed := false
var chMutex sync.Mutex

header := http.Header{}
// ....header setting

for _, node := range nodeList {
	go func(node Node, scheme, path string) {
		//...
		r, e := f.requestINF(urlStr, header, ctx)
		if e == nil {
			chMutex.Lock()
			if !chClosed {
				ch <- infRes{node, r}
			}
			chMutex.Unlock()
		} else {
			if r != nil {
				chMutex.Lock()
				if !chClosed {
					ch <- infRes{node, r}
				}
				chMutex.Unlock()
			} else {
				chMutex.Lock()
				if !chClosed {
					ch <- infRes{node, nil}
				}
				chMutex.Unlock()
				if r != nil {
					r.Body.Close()
				}
			}
		}
	}(node, scheme, path)
}

// Wait response
for i := 0; i < scount; i++ {
	select {
	case res := <-ch:
		r := res.res
		if r == nil {
			err = ErrINFTimeout
			continue
		}

		// The server has responsed, let's anaylys the status code
		switch r.StatusCode {
		case http.StatusSwitchingProtocols:
			//.....
			r.Body.Close()
			chMutex.Lock()
			close(ch)
			chClosed = true
			chMutex.Unlock()
			return
		case http.StatusMovedPermanently:
			//....
			r.Body.Close()
			chMutex.Lock()
			close(ch)
			chClosed = true
			chMutex.Unlock()
			return
		case http.StatusUnauthorized:
			//.....
			r.Body.Close()
			chMutex.Lock()
			close(ch)
			chClosed = true
			chMutex.Unlock()
			return
		case http.StatusNotFound:
			err = ErrHTTP404
			r.Body.Close()
			chMutex.Lock()
			close(ch)
			chClosed = true
			chMutex.Unlock()
			return
		//.....
		}
		r.Body.Close()
	case <-time.After(time.Second * 4):
		//.....
		chMutex.Lock()
		close(ch)
		chClosed = true
		chMutex.Unlock()
		return
	}
}

close(ch)
return

`

What version of Windows, and what version of Go?
cc @alexbrainman @aclements
@gopherbot add OS-Windows

It has appeared on the Windows 7 Ultimate and Windows 10 home versions.

I tried Go 1.14 for about a week and the problem never came up.


[RFD] LANL Security Pillars

LANL HPC Security Pillars
LANL systems face significant security threats, both insider and outsider. I'm hoping to state the basic considerations for a shared HPC resource and allow others to revise and extend.
Management/Compute isolation
Compute nodes, ideally, will never need to initiate communication with the management plane (comprising the image servers, service nodes, fabric managers, orchestration, etc that allow the HPC system to work as an ensemble). If such communication is unavoidable, it must be strictly separated from any endpoint that could allow an attacker to escalate privileges and act as a domain administrator.
Rapid Updates
Updating regularly for security hygiene or rapidly when vulnerabilities are detected are central to good security in general, and to LANL operations in particular. Any aspect of the HPC environment that prevents rapid testing and rollout of patches to packages or kernel components should be minimized, noted, and eliminated as soon as possible.
Verification
Red-team testing of specialized (small-community) management software, networks, filesystem projection software, and other components that don't get attention from large vendors or communities should be regularly red-teamed by knowledgable internal developers with an assumption of root access on user-facing nodes.

What else do we need in here?

This was per Alex's request last week.


Database Documentation

Updated the documentation page to include creation, set up, and migrations. That should be all that we need to document.


TAJO-1561: Query which contains join condition in "OR" clause does not finish.

I added a new query rewriting rule. I've also tested the TPC-DS query reported at Jira.

The patch looks straightforward. Here is my +1.

Thanks for the review!


Stress score not etimated for activity repaired file

Firstly, I love your plugin. Genuinely prefer it to other platforms because of the estimated stress scores. This is a great feature, very clever.

Plugin version: 6.4.1
Chrome/Opera/Chromium version: Chrome, see OS
Chrome OS version: Version 67.0.3396.99 (Official Build) (64-bit)

I recently had to record a ride partly on garmin 510, partly on an android phone due to battery exhaustion. I combined the files here: https://gotoes.org/strava/Combine_GPX_TCX_FIT_Files.php
Stravistix can't seem to estimate a stress score for the activity
https://www.strava.com/activities/1719183608
(no HR or power data recorded)
Steps to reproduce:

Record on multiple devices
Combine gpx/tcx at https://gotoes.org/strava/Combine_GPX_TCX_FIT_Files.php
Upload to strava

Performing a delete/full sync had no effect. Nor did re-uploading the activity as a gpx or tcx. I also tried making the activity private, then public again with no effect.
Actual Behavior:
No errors showing in script

Thanks heaps if you are able to look at this!!

Thanks for the response. I do have my ftp and weight set up and get
estimates whenever I ride without power and hr. This ride was just an
anomaly and I thought you might be curious to see why the plug-in had not
calculated for this one instance when otherwise operating as intended.
Cheers and again, great work.
On Fri, Aug 10, 2018, 10:20 PM Thomas Champagne<EMAIL_ADDRESS>wrote:

@nickjburke https://github.com/nickjburke Unfortunatly It's not
possible to get stress score if your activty has no HR data or no estimated
power data. As written in plugin, you must set your weight in strava
settings to have power estimated on next rides
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thomaschampagne/stravistix/issues/638#issuecomment-412065909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Anx-Fj0yVmZXDwH9QaZwNuUbpls4dVv4ks5uPXqlgaJpZM4VhFl3
.


Create a noJS functional fallback using :hover state

Fixed with https://github.com/cferdinandi/drop/pull/42


grpc: 1.28.1 -> 1.29.0

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Not sure how to test these, but built for me.


bugfix: release the connection of fence log

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Fence表使用的 connection 没有被 release
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #4428 (17e7faa) into develop (4c88984) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

:exclamation: Current head 17e7faa differs from pull request most recent head dc9e137. Consider uploading reports for the commit dc9e137 to get more accurate results

@@              Coverage Diff              @@
##             develop    #4428      +/-   ##
=============================================
- Coverage      48.67%   48.48%   -0.20%
+ Complexity      3973     3966       -7
=============================================
  Files            733      733
  Lines          25155    25164       +9
  Branches        3085     3085
=============================================
- Hits           12245    12201      -44
- Misses         11596    11646      +50
- Partials        1314     1317       +3

Impacted Files
Coverage Δ

...src/main/java/io/seata/rm/tcc/TCCFenceHandler.java
0.00% <0.00%> (ø)

...java/io/seata/server/metrics/MeterIdConstants.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/io/seata/server/metrics/MetricsSubscriber.java
18.98% <0.00%> (-44.31%)
:arrow_down:

...n/src/main/java/io/seata/common/util/IdWorker.java
77.08% <0.00%> (-6.25%)
:arrow_down:

...r/console/impl/file/GlobalLockFileServiceImpl.java
94.87% <0.00%> (-2.57%)
:arrow_down:

...in/java/io/seata/server/session/SessionHelper.java
72.41% <0.00%> (-2.30%)
:arrow_down:

...in/java/io/seata/server/session/SessionHolder.java
50.00% <0.00%> (-1.45%)
:arrow_down:

...in/java/io/seata/server/session/GlobalSession.java
80.24% <0.00%> (+0.40%)
:arrow_up:

...tasource/sql/struct/cache/MysqlTableMetaCache.java
81.60% <0.00%> (+1.14%)
:arrow_up:

... and 3 more


Added Czech translation

Hi, a few weeks ago I was looking for exactly such an application (GPG + libAdwaita) and I see that someone has finally created it! So I decided to make a Czech translation of it for better localization. But I couldn't run the "just translate" command without errors, so I copied the files manually. I hope this is not a problem.

You might want to consider adding yourself to the Czech translation credits.
You can translate the string translator-credits:
Name <Email>

If you just want to mention your name (or username), that's possible too. Just leave out the <Email> part.


Unit Tests should not use InModuleScope

Unit tests use old test template (which contained InModuleScope section). It has been removed from new templates so we should update the tests here as well.
See: https://github.com/PowerShell/DscResources/issues/166

Closing, duplicate of https://github.com/PowerShell/xNetworking/issues/132


Loading Icon takes up the whole window

The loading icon is positioned in the top left of the whole window instead of the top left of just the Codebook window.

The team thought that this should be fixed since this will be problematic once codebook is in RhoMAP.

Tested and passed in all browsers.


osm2pgsql: fix build

Description of changes
Use fmt_9 (https://github.com/NixOS/nixpkgs/pull/233330#issuecomment-1610746384)
https://hydra.nixos.org/build/227867921
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 245244 run on x86_64-linux 1

1 package built:

osm2pgsql

Would you mind adding this patch instead?
--- a/pkgs/tools/misc/osm2pgsql/default.nix
+++ b/pkgs/tools/misc/osm2pgsql/default.nix
@@ -2,6 +2,7 @@
 , fetchFromGitHub
 , cmake
 , expat
+, fetchpatch
 , fmt
 , proj
 , bzip2
@@ -27,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: {
     hash = "sha256-8Jefd8dfoh/an7wd+8iTM0uOKA4UiUo8t2WzZs4r/Ck=";
   };

+  patches = [
+    # Fix compatiblity with fmt 10.0. Remove with the next release
+    (fetchpatch {
+      url = "https://github.com/openstreetmap/osm2pgsql/commit/37aae6c874b58cd5cd27e70b2b433d6624fd7498.patch";
+      hash = "sha256-Fv2zPqhRDoJXlqB1Q9q5iskn28iqq3TYPcdqfu/pvD4=";
+    })
+  ];
+
   postPatch = ''

Besides that, LGTM


I can't use Multiverse Core in 1.15.2 Server.

I have installed the latest version of Multiverse Core found on the Bukkit Page and I can't use it.
**

org.bukkit.command.CommandException: Cannot execute command 'mv' in plugin Multiverse-Core v4.1.0-b775 - plugin is disabled.
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[patched_1.15.2.jar:git-Paper-126]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.15.2.jar:git-Paper-126]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:742) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1825) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1633) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils$$Lambda$3998.0000000038120140.run(Unknown Source) ~[?:?]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1038) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1031) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1015) ~[patched_1.15.2.jar:git-Paper-126]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:938) ~[patched_1.15.2.jar:git-Paper-126]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_232]

**

The interesting question would be why the plugin is disabled. Can you post the full logfile?

Seems like another plugin disabled it? Do you have plugman or any other plugin manager?
It's best (way faster as we use GitHub to track bugs/suggestions) to receive support on the Multiverse Discord.


Change beta naming

Beta naming needs to be changed
From: npm install<EMAIL_ADDRESS>To: npm install<EMAIL_ADDRESS>where the last 5 are the end of the comment sha

This has been completed in PR


doc: update user guide structure & content

Scope

[x] Documentation

Type of change

[x] Chore

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.68%. Comparing base (5992043) to head (d5a81c4).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #161   +/-   ##
=======================================
  Coverage   81.68%   81.68%
=======================================
  Files          32       32
  Lines        4537     4537
=======================================
  Hits         3706     3706
  Misses        831      831

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ingest new transportation data for 2023 update

motivations

part of #312
new transportation data was shared by Housing on 3/13

changes

add new transportation data
edit access_subway_and_access_ADA.py to process new data
add read_from_excel to ingestion_helpers.py
add test_ingestion_helpers.py
trigger tests on changes to ingest/**.py
don't install R in dev container

tests

PR tests passing
exported categories to edm-publishing on this branch. action runs:

quality_of_life

Commenting for posterity - motivation to move this from getting this file from S3 vs local excel is that most of this repo reads in from local files, so mainly for sake of internal consistency.
I still think in a bit, we should maybe move all sources to data library/s3. I get that it's a little annoying if they're all things we grab quite manually as it's just an extra step to put it in s3 and then grab it back, but long term I'd still prefer consistency across projects and getting all source files in edm-recipes in the same manner, rather than having some stored in github
@mbh329 I'm gonna go ahead and merge this


Center Mode snaps into place.

Is there a fix/workaround for preventing the slider from snapping into place, when using Center Mode?

same here.


How to use Cache::set('key', 'test'); with CACHE_DRIVER=file?

How to use Cache::set('key', 'test'); with CACHE_DRIVER=file?
I change to /tmp/ , no errors, but the cache function seems not work. each trigger always fetch from DB.
        'file' => [
            'driver' => 'file',
            'path' => storage_path('framework/cache/data'),
        ],

==>
        'file' => [
            'driver' => 'file',
            'path' => '/tmp/framework/cache/data',
        ],

thanks.

Hey. I don't know what is Cache::set. Generally, only /tmp folder is writable. You can test it with pure file_get_contents/file_put_contents.


Insulet bugfixes #1 (wizard-building, basal schedule names)

Fixes two bugs in Insulet data processing:

at the beginning of the PDM's data records, a bolus record may refer to a wizard record that does not exist in the PDM's memory (presumably out of space); in such cases we stop trying to find and build such a non-existent wizard record
. and $ are illegal characters in object keys for mongo's serialized JSON (BSON), but they can occur in the basal schedule names for Insulet, so we replace the former with - and the latter with an empty string (actually I don't know if you can add a $ via the Insulet PDM interface but both those characters are illegal, so it seemed prudent to deal with both)

One user was experiencing both of these issues, hence covering both in the same PR, because I was trying to get that data to upload.

Updated this as discussed @kentquirk
The new logic (checking for empty wiz.detail) covers both cases of weird wizard record retrieval I've seen in real data.

OK, I think I addressed your concerns @kentquirk - thanks for the catch on the sortBy...

LGTM now.


Crash on startup with 'Mixin apply failed apotheosis.mixins.json:AnvilMenuMixin' 7.0.5, 1.20.1 NF 47.1.79

Might be incompatibility with some other mod. 1.20.1 (NeoForge 47.1.79), apoth 7.0.5.
Crash log: https://pastebin.com/wLfDxBg2
EDIT: replaced with pastebin link.

Removing vanillafix-1.0.0-forge-beta.jar fixed the problem. Seems like Apotheosis is not compatible with https://www.curseforge.com/minecraft/mc-mods/vanillaicecreamfix by @repletsin5
(https://github.com/repletsin5/VanillaIcecreamFix).

Yeah they're shipping a cursed @Overwrite of the entire anvil update method.
https://github.com/repletsin5/VanillaIcecreamFix/blob/forge/forge/src/main/java/me/replet/client/other/AnvilScreenHandlerMixin.java#L42
Closing as mod conflict.


[$500] Video - Play&Pause buttons don't function in preview mode if expanded the video before

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.43-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:
Action Performed:
Prerequisites: The user should be logged in and a video exist in the chat

Go to prerequisite chat
Play&Pause the video
Tap on the expand button on the video preview
Play&Pause the video
Exit from the attachment view via clicking X button top right
Try to Play&Pause the video in preview mode

Expected Result:
Play&Pause buttons function correctly
Actual Result:
Play&Pause buttons don't function in preview mode and console error occurs
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/ae83af82-c96f-44c4-b93b-2e182fd878d2

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013093a3e364e94fed
Upwork Job ID:<PHONE_NUMBER>125061120
Last Price Increase: 2024-02-20

We think that this bug might be related to #vip-vsb
CC @quinthar

This looks related to https://github.com/Expensify/App/pull/30829
cc @francoisl @Skalakid @akinwale

Proposal
Please re-state the problem that we are trying to solve in this issue.
The play/pause button doesn't work after expanding and closing the video modal.
What is the root cause of that problem?
From the video, we can see there is a console error. The error indicates that the video player is not ready yet and it's because the video player element/ref doesn't exist anymore.
We have a useEffect here that is responsible for setting the video player ref.
https://github.com/Expensify/App/blob/7430c5f93df630ed20c80caffcd5a7f05289c98c/src/components/VideoPlayer/BaseVideoPlayer.js#L139-L143
Let's say we play a video A from the video preview. The video player ref is first set to the video preview A. Then, we press the expand button to see the video in the attachment modal. Currently, the video player ref is updated to the video player in the attachment modal (this is wrong). After we close the attachment modal, the video player doesn't exist anymore, so it always throws an error.
However, the expected result is, when we expand the video to view it in the attachment modal, the ref shouldn't be updated because we early return if shouldUseSharedVideoElement is true.
https://github.com/Expensify/App/blob/7430c5f93df630ed20c80caffcd5a7f05289c98c/src/components/VideoPlayer/BaseVideoPlayer.js#L139-L143
And shouldUseSharedVideoElement is true if it's used in the carousel.
https://github.com/Expensify/App/blob/7430c5f93df630ed20c80caffcd5a7f05289c98c/src/components/Attachments/AttachmentView/index.js#L208
shouldUseSharedVideoElement basically shares the video player between components. So, the video player state between video preview and video in the carousel.
However, isUsedInCarousel is always false because we never pass it.
What changes do you think we should make in order to solve the problem?

Pass isUsedInCarousel from CarouselItem.
https://github.com/Expensify/App/blob/7430c5f93df630ed20c80caffcd5a7f05289c98c/src/components/Attachments/AttachmentCarousel/CarouselItem.js#L102-L111

The solution for this issue is the same this one and @tienifr proposed this issue before. I think we should handle this issue in https://github.com/Expensify/App/issues/36634

@lakchote @Puneet-here This deploy blocker has the same solution with another issue that was created before, @tienifr proposed the correct proposal first and I also reviewed it before this deploy blocker is created. Now both these issues are waiting for an official assignment from the internal engineer. I think we should close one of them and move forward with the remaining one.

Maybe let's just have whoever can raise the PR fastest raise it. @tienifr @bernhardoj are either of you able to do that now? And we can share the bounty between everyone.

@puneetlath Considering this issue has same RCA and solution as an earlier issue, I think this issue should be considered a dupe and closed. We can raise the PR on the original issue which already has the assignment: https://github.com/Expensify/App/issues/36634

Ok closing as we're handling in https://github.com/Expensify/App/issues/36634.

@DylanDylann @puneetlath the problem is more complex and probably has a different root cause than https://github.com/Expensify/App/issues/36634. During video player feature development we had the same problem with Play&Pause buttons as in this issue. It was fixed and it works properly on the video-player branch. Probably some other PRs or merging with the main broke it.
The root of the problem is that whole video sharing functionality doesn't work now. And after exiting modal strange things may appear with the player. I think the fix will be similar as before so I will create PR.

@Skalakid  Yes, I agree with you. Because @ishpaul777 approved the proposal, at that time I didn't test the solution carefully for this issue. While implementing PR, we see that this issue is more complicated (more detail here). @puneetlath I also think we should fix this issue separately to avoid blocking this PR

Ah ok, shall we reopen this issue then @Skalakid?

@puneetlath Oh sorry, I think is shouldn't be a deploy blocker. I don't know why melvin marked it as blocker after I commented about this issue 😅 Also I think we can close this issue since the fix was merged :D

@ishpaul777 Yes, I'm investigating the issue right now

@ishpaul777 @aimane-chnaif I created a follow-up draft PR with the fix for Play&Pause button that enables video sharing feature once again. On Monday I add last changes and test my changes on all platforms so I can give it to review.
The main problem that will be fixed in m PR is the fact that when entering full-screen mode, the whole app rerenders due to useWindowDimensions() hook that checks windowWidth and windowHeight. Because of that many bugs appear. In my PR I've added dimension locking, so every time user enters fullscreen mode app dimensions won't change.
Because of that, we will be able to use the shared video feature and also handle screen rotation on all native devices

@ishpaul777 I opened the PR for review

i dont think the regression was from the initial PR directly, the RC was much complex than initially expected, also the only a small part was reverted from the first PR so i feel there shouldn't a penalty in this case, @lakchote can you please help with evaluation here as assigned engineer

Even though the RC was complex to fix, this comes directly from the initial PR related to the video player and files concerned (BaseVideoPlayer for instance). This case should have been identified and fixed from the beginning, even from just a functional standpoint.
That's why, since it's a regression, I think 50% payment seems fair to me.

Paid 250 via upwork to @ishpaul777 - thank you all


feat: container expected state

Codecov Report
Attention: 139 lines in your changes are missing coverage. Please review.

Comparison is base (77b17e1) 26.11% compared to head (808538a) 25.64%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #891      +/-   ##
===========================================
- Coverage    26.11%   25.64%   -0.48%
===========================================
  Files           71       71
  Lines         7583     7722     +139
===========================================
  Hits          1980     1980
- Misses        5440     5578     +138
- Partials       163      164       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Please fill out the pull request description.


New package: RTLSDR v0.0.1

Registering package: RTLSDR
Repository: https://github.com/dressel/RTLSDR.jl
Created by: @dressel
Version: v0.0.1
Commit: 6632642f9693685067a201a98106f0eb50579e52
Reviewed by: @dressel
Reference: https://github.com/dressel/RTLSDR.jl/commit/6632642f9693685067a201a98106f0eb50579e52#commitcomment-35248244

Needs a [compat] section in Project.toml with at least an entry for julia itself, e.g.:
[compat]
julia = "1"

would mean that the package is compatible with Julia versions [1.0.0, 2.0.0).


How to Show Icons beside overflow menu items

I am trying to add icons beside the overflow menu items and the another thing is that the background color of overflow menu is always black I want it white help

Version 2.1.0 will have a method getCurrentMenuItems() that will return the current menu items, so that they can be customized.


[Feature Request] Star Rail Graphic Settings

Not sure if I'm allowed to request features for Star Rail already
But I was wondering if you could add Quick Settings for Star Rail in which you can configure your graphic settings and possibly also enable 120fps.
There has been a couple standalone tools released the last few days, I have been using this one for example: https://github.com/NickTheHuy/HSR_FpsTool_GUI
Would be neat to have inside the settings for Star Rail. :)

Hi @Slightlyxz,
Thank you for the suggestion.
We are currently working on this feature in this PR: #120 and to be expected to come in the next stable release (1.70.x)

Feature Request Tracking
Honkai: Star Rail - Game Settings
Working tree
https://github.com/bagusnl/Collapse/tree/hsr-settings
Backend

[ ] GameSettings Classes

[x] BGMVolume
[x] MasterVolume
[x] Model (Graphics Settings)

[ ] FPS (find a way to limit only 3 choices: 30, 60, 120)
[ ] VSync
[ ] RenderScale (double precision value, limit to only 5 options: 0.6, 0.8, 1.0, 1.2, 1.4)
[ ] ResolutionQuality
[x] ShadowQuality
[x] LightQuality
[x] ReflectionQuality
[x] BloomQuality
[x] AAMode (Anti-Aliasing)

[x] PCResolution (Resolution and Fullscreen)
[x] SFXVolume
[x] VOVolume
[ ] Context (waiting for all above to finish)
[ ] Settings (waiting for all above to finish)

[ ] UI (StarRailGameSettings.Ext.cs)

[ ] Graphics

[x] Resolutions + Fullscreen
[ ] FPS
[ ] VSync
[ ] Render Scale
[ ] Resolution Quality
[x] Shadow Quality
[x] Light Quality
[x] Reflection Quality
[x] Bloom Quality
[x] Anti Aliasing Mode

[ ] Audio

[ ] Main Volume
[ ] BGM Volume
[ ] SFX Volume
[ ] VO Volume

Frontend

[ ] UI  (StarRailGameSettings.xaml//xaml.cs)

[ ] Graphics

[x] Resolutions + Fullscreen
[ ] FPS
[ ] VSync
[ ] Render Scale
[ ] Resolution Quality
[ ] Shadow Quality
[ ] Light Quality
[ ] Reflection Quality
[ ] Bloom Quality
[ ] Anti Aliasing Mode

[ ] Audio

[ ] Main Volume
[ ] BGM Volume
[ ] SFX Volume
[ ] VO Volume

[ ] Localization

[ ] English
[ ] Notify everyone else on localization team

Finalization

[ ] Rebase
[ ] Bug Checks
[ ] PR

This feature will ship as part of our next mainline release. Please stay tuned in the coming days! Will close issue once version 1.70.X will drop.


Fix hyperlinks in rust docs

URLs must be wrapped in angle brackets (<>) to become clickable links in the docs.
Also, for IdentifierIssuer, there are two links that are supposed to be on separate lines. In Rustdoc's CommonMark, two spaces at the end of a line is needed to make a line break.
e.g.: https://rust.didkit.dev/ssi/urdna2015/

LGTM

LGTM


Restructures HTML in view + adds very limited styling

One main thing: Now the session that is "up-next" is no longer separated
from the other entries in the Queue. It is listed directly in the ol list
in the queue, and the first entry now simply receives a special styling
with CSS.
This also adds a first CSS layout + very lightweight styling:

make the sessions look like post-ITs (set a max-width, post-IT like colors, & box-shadow)
basic CSS layout for the page
add horizontal scrolling container around the table so that it doesn't
expand past the viewport on mobile devices
very minimal styling for the header + nav links

I originally intended to use named CSS colors for the prototype, but they
just aren't very pretty. Instead, I've taken the colors from Tailwind CSS.

Looks great. It's fantastic that the bulk of the functionality is still there with JavaScript disabled.