Favour Tracer API above ElasticApmTracer API in plugins and add additional seperation

Is your feature request related to a problem?
I would like to piggyback on Elastic's agent for non-APM-tracing, but at various points, the agent is bound to implementation details of Elastic's agent. This is mainly with regards to the use of ElasticApmTracer being requested from various places. However, this does not seem necessary for the most parts, the method missing from the Tracer API are getConfig() and getObjectPoolFactory() with few exceptions.
Describe the solution you'd like
By adding only a few methods to the tracer API, the direct bounds to Elastic's APM can be removed from almost all plugins. This way it becomes possible to implement a custom agent whilst still using the comprehensive infrastructure that is offered by the Elastic agent and its plugins.
Describe alternatives you've considered
Forking the repository and implementing a copy with individual customization, but that is of course not a good long-term strategy and hinders collaboration on the main repository.
Additional context
Open Telementry offers a generic agent for implementing a blue print agent. Unfortunately, the agent does not support as many plugins as the Elastic agent and is not equally well maintained. It would be great if the Elastic agent could evolve in a direction where it would be possible to use it for other tracing purposes. As an ideal result, this would trigger additional contributions on the long run and help the Elastic agent to grow its standing in the field. To begin with, I would want to make some binary-compatible changes that improve the pluggability, but at some point one could even better differentiate the plugin SPI from the core agent API.

I created a repo where I tried a POV to see if this is feasible and it seems like a small change which already separates the APIs much more. https://github.com/raphw/apm-agent-java/commit/53e70e0b5f50ada526930962bbbb006a18ba6918


Allow hidden items in the input-model

Allow the option to have the hidden items in the in the input array.
We will need to define the extra parameter 'hiddenProperty' (true/false). It will help us to avoid to pass the filtered array to the multiselect (and keep 2 copies of input array) or use filtering (which is running each digest cycle and affect the performance).

Could you explain a little bit further? How exactly do you want this feature to work?
Let's say you have the following structure:
A
    B
    C <--- hidden
    D
E
    F
    G <--- hidden
H
I <-- hidden
J

What should be shown in the select? What should the output model contain if I select A?

Select should show this:

A
    B
    D
E
    F
H
J

If you select A, the output model will be the same as now (only no without 'C')


add hint about proguard to installation instructions

see #357

Yes it would be better if it works automatically. Have to try it out.

Feel free to reopen if you have an update on this


Use capital letters consistently for every header in docs

Currently we have:
"Writing your first test"
but also
"The Test Contract"

Hello @cptartur
I'd love to work on this issue.
Is it available to work on?
I anticipate your response

Sure! Assigning you to this one.

Hey, @Oyinbayode pinging to check up on the issue status: Are you still planning to work on this one? Thanks!

@Oyinbayode unassigning you to not block this issue for others, will assign you if you open a PR

@piotmag769 is this issue free?
I'll love to work on it.

@piotmag769 is this issue free? I'll love to work on it.

Sure, assigning you.

@Etimfon007 are you still working on this one?

Yep. I'll submit a PR at the end of the week! 🙂


Tinting BitmapText characters separately not working after setting anchor

Basically what in the title is. You can tint a BitmapText's characters separately, but if you set anchor (or maybe some other properties too), the tinting is not working on per character. I guess the engine overwrites all the children elements (the characters) tint values with the BitmapText's tint value.
Here is a small example demonstrating the problem:
http://icedevel.com/phaser-bug/character-tinting/index.html
My opinion is that the children elements should retain tint values if the BitmapText's tint value is not modified.
And the code:
var game;

function preload() {
	this.game.load.bitmapFont("font", "font_simple.png", "font_simple.fnt");
}

function create() {
	var txt1 = this.game.add.bitmapText(50, 50, "font", "012345", 28);
	txt1.children[0].tint = 0xFF0000;
	txt1.children[1].tint = 0xFFFF00;
	txt1.children[2].tint = 0xFF00FF;
	txt1.children[3].tint = 0x0000FF;
	txt1.children[4].tint = 0x00FFFF;
	txt1.children[5].tint = 0xFF0FF0;

	var txt2 = this.game.add.bitmapText(50, 250, "font", "012345", 28);
	txt2.anchor.setTo(0, 1);
	txt2.children[0].tint = 0xFF0000;
	txt2.children[1].tint = 0xFFFF00;
	txt2.children[2].tint = 0xFF00FF;
	txt2.children[3].tint = 0x0000FF;
	txt2.children[4].tint = 0x00FFFF;
	txt2.children[5].tint = 0xFF0FF0;

}

function update() {
}

window.onload = function(){
	var config = {
		width: 800,
		height: 600,
		renderer: Phaser.AUTO,
		antialias: true,
		state: {
			preload: preload,
			create: create,
			update: update
		}
	}
	game = new Phaser.Game(config);
};

Tested it on Phaser 2.8.0

So removing txt2.anchor.setTo(0, 1) eliminates the problem?

It looks like an anchor change triggers BitmapText#updateText.


Add xtensor-zarr

Trigger CI

It looks like the failures are due to the grid overhanging the edge of the array space, e.g. chunk 5.5.0 with shape (100, 100, 1) has unused data since only the slice (:12, :12, :1) is relevant. xtensor-zarr doesn't store the unused data, which looks like a bug.

One point for zarr_implementations! 🎉 Really excited to have xtensor added here, @davidbrochart.

Indeed Josh, this exercise was useful! We have a fix coming :smile:

Yes, I think we can merge this PR and I'll open another one for reading other zarr data with xtensor-zarr.

I tried extending the data generation program to also generate an xtensor_zarr.zr3 v3 format file as well, but haven't succeeded yet. I opened an issue regarding it at xtensor-stack/xtensor-zarr#38


Scala.js adds the ExposedJSMember annotation to NoSymbol

As seen in https://github.com/sbt/zinc/issues/718#issuecomment-645841132 and worked around in Zinc in https://github.com/sbt/zinc/pull/798.
Calls to sym.addAnnnotation should be guarded with sym != NoSymbol. Ideally the compiler would drop the added annotations or give a hard error, but right now it leaves all this up to the caller.

Ouch. That's terrible. :( Thanks for the report!
It might already be fixed in master because of #4056. I will investigate.

Apparently this bug has been there since the very beginning:
https://github.com/scala-js/scala-js/blob/81c3cad759dfe0d03beba9adc4f7451a00a73439/compiler/src/main/scala/org/scalajs/core/compiler/PrepJSInterop.scala#L486-L494
part of 81c3cad759dfe0d03beba9adc4f7451a00a73439, the commit that added Scala.js-defined JS classes in the first place in v0.6.5. At that time, the latest Scala version we had in our CI was 2.12.0-M2. Not sure whether the fields phase was already there in M2.

Another edge cases for Symbol.accessed
The accessed field of an accessor can be in a superclass (perhaps separately compiled) when parameter aliasing elides a field:
scala> val D_a = typeOf[C].decl(TermName("a"))
D_a: $r.intp.global.Symbol = value a

scala> assert(D_a.isAccessor); D_a.accessed.owner
res10: $r.intp.global.Symbol = class C

You might want to restrict addition of annotation to fields in the same class as the owner.

Hum, but if I continue your example, D_a itself is already in C:
scala> D_a.owner
val res6: $r.intp.global.Symbol = class C

So we wouldn't encounter it, would we?

Oh there was a typo in your example. It was looking up a in typeOf[C] instead of typeOf[D]. With that fixed, it seems that D.a is in fact not an accessor:
scala> val D_a = typeOf[D].decl(TermName("a"))
val D_a: $r.intp.global.Symbol = value a

scala> D_a.owner
val res7: $r.intp.global.Symbol = class D

scala> assert(D_a.isAccessor); D_a.accessed.owner
       ^
       warning: method assert in class SymbolTable is deprecated (since 2.12.5): consider supplying an explanatory message
java.lang.AssertionError: assertion failed:

     while compiling: <synthetic>
        during phase: globalPhase=terminal, enteringPhase=typer
     library version: version 2.13.2
    compiler version: version 2.13.2
  reconstructed args: -deprecation -feature -Wconf:cat=feature:w -Wconf:cat=deprecation:w -Wconf:cat=deprecation:ws -Wconf:cat=feature:ws -Wconf:cat=optimizer:ws

  last tree to typer: TypeTree(class Byte)
       tree position: line 5 of <synthetic>
            tree tpe: Byte
              symbol: (final abstract) class Byte in package scala
   symbol definition: final abstract class Byte extends AnyVal (a ClassSymbol)
      symbol package: scala
       symbol owners: class Byte
           call site: constructor $eval in object $eval in package $line43

== Source file context for tree position ==

     2 package $line43 {
     3 object $eval {
     4   lazy val $result = res8
     5   lazy val $print: _root_.java.lang.String = $r.phased.atCurrent {
     6     $iw
     7
     8 val sb = new _root_.scala.StringBuilder
  at scala.reflect.internal.SymbolTable.throwAssertionError(SymbolTable.scala:170)
  at scala.reflect.internal.SymbolTable.assert(SymbolTable.scala:156)
  ... 42 elided

scala> D_a.isAccessor
val res9: Boolean = false

scala> D_a.isPrivate
val res10: Boolean = true

not to mention it is private, so shouldBeExposed will return false.


TableView enhancements

What changes are proposed in this pull request?

Add support for highlighting cells, rows, and columns
Add support for handling click even on cells, rows, and columns
Add support for row actions
Add support for rounding numeric data across the entire table
Add support for less-redundant data format for table

How is this patch tested? If it is not, please explain why.
Using an example python panel
class IMSnippet(foo.Panel):
    @property
    def config(self):
        return foo.PanelConfig(name="im_snippet", label="IM: Snippet")

    def on_load(self, ctx):
        table_data_new = {
            "rows": [
                ["Jon", "Snow", 1.0453],
                ["Arya", "Stark", 1.0453],
                ["Daenerys", "Targaryen", 1.0453],
            ],
            "columns": ["first_name", "last_name", "time"],
            "selected_cells": [[0, 0]],
            "selected_rows": [2],
            "selected_columns": [1],
        }
        ctx.panel.set_data("table", table_data_new)

    def on_click_row(self, ctx):
        print(f"on_click_row - Row: {ctx.params.get('row')}")

    def on_click_cell(self, ctx):
        print(f"on_click_cell - Row: {ctx.params.get('row')}, Column: {ctx.params.get('column')}")

    def on_click_column(self, ctx):
        print(f"on_click_column - Column: {ctx.params.get('column')}")

    def on_delete_row(self, ctx):
        print(f"on_delete_row - Delete row: {ctx.params.get('row')}")

    def on_edit_row(self, ctx):
        print(f"on_edit_row - Edit row: {ctx.params.get('row')}")

    def render(self, ctx):
        panel = types.Object()
        table_view = types.TableView(
            on_click_cell=self.on_click_cell,
            round=2,
            on_click_row=self.on_click_row,
            on_click_column=self.on_click_column,
        )
        table_view.add_column("first_name", label="First Name")
        table_view.add_column("last_name", label="Last Name")
        table_view.add_column("time", label="Time")
        table_view.add_row_action(
            "delete", self.on_delete_row, label="Delete", icon="delete"
        )
        table_view.add_row_action("edit", self.on_edit_row, label="Edit", icon="edit")
        panel.list("table", types.Object(), view=table_view)
        return types.Property(
            panel,
            view=types.GridView(
                height=100,
                width=100,
                align_x="center",
                align_y="center",
            ),
        )

Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[ ] No. You can skip the rest of this section.
[x] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[x] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[ ] Other

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Introduced an ActionsMenu component for better action management, allowing inline display or dropdown for additional actions.
Enhanced TableView component to support row actions, improving interactivity with selection states and new action capabilities.

Improvements

Updated TableView to handle structured props and provide visual feedback for selected rows and cells.
Added functionality for formatting cell values based on schema specifications.

Also I think this new tableview might be backward incompatible; previously this is how we set the data state to the Table:
summary_table = types.TableView()
summary_table.add_column("Field Name", label="Field Name")

panel.list(
    "summary_field_table",
    types.Object(),
    view=summary_table,
    label=f"Summary fields for dataset: {ctx.dataset.name}",
)

And then we set the data state in another section:
summary_fields = self._get_summary_fields(ctx)
summary_table = []
for name in sorted(summary_fields):
    summary_table.append(
        {
            "Field Name": name,
        }
    )
ctx.panel.state.summary_field_table = summary_table


Disable on floating

Really nice plugin. I would like to disable it for all floating windows. Is there any way I can achieve this?
E.g. I don't want to disable it for all terminals, just for floating terms.

Please try https://github.com/nvim-focus/focus.nvim/tree/refactor
Take a look at the Disabling Focus section:
https://github.com/nvim-focus/focus.nvim/tree/refactor#disabling-focus

Fixed in current master/main.


Tests for PR # 19123: daemon option (--storage-opt dm.basesize) for increasing the base device size on daemon restart

Signed-off-by: Shishir Mahajan<EMAIL_ADDRESS>

adding milestone 1.10 since the relative PR is in the milestone as well

No need to have it in the milestone, since it only adds tests :grin:
Thanks @shishir-a412ed!

Regarding comment https://github.com/docker/docker/pull/19661#discussion_r50701205
I discussed it with @runcom . In order to use HTTP GET request for /info endpoint, s.d.sock() needs to be binded to the daemon object, which currently is not binded.
@calavera what do you think. you okay using docker -H s.d.sock() info|grep Base Device Size to extract the base device size or you want to use the HTTP GET request to extract that information ?
@runcom said he can make that change if we go for the latter option.

@calavera @runcom
Any updates on this one ?
Shishir

Job: Docker-PRs-gccgo FAILED
Here are what we parsed from the logs at https://jenkins.dockerproject.org/job/Docker-PRs-gccgo/1667/consoleText as the failures:

---
###################### 100.0%
######################################################################## 100.0%

Download of images into 'bundles/1.11.0-dev/test-integration-cli/frozen-images' complete.
Use something like the following to load the result into a Docker daemon:
  tar -cC 'bundles/1.11.0-dev/test-integration-cli/frozen-images' . | docker load
++++ tar -cC bundles/1.11.0-dev/test-integration-cli/frozen-images .
++++ docker load
++++ set +x
Untagged: hello-world:latest
---> Making bundle: .ensure-httpserver (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .ensure-syscall-test (in bundles/1.11.0-dev/test-integration-cli)
+ go test -test.timeout=180m -check.v github.com/docker/docker/integration-cli
# github.com/docker/docker/integration-cli
./docker_cli_daemon_test.go:190:38: error: argument 1 has incompatible type (cannot use type int64 as type int)
  newBasesize, err := convertBasesize(newBasesizeBytes)
                                      ^
FAIL	github.com/docker/docker/integration-cli [build failed]
---> Making bundle: .integration-daemon-stop (in bundles/1.11.0-dev/test-integration-cli)
+++++ cat bundles/1.11.0-dev/test-integration-cli/docker.pid
++++ kill 5313
++++ /etc/init.d/apparmor stop
Clearing AppArmor profiles cache:.
All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.

To set a process to complain mode, use the command line tool
'aa-complain'. To really tear down all profiles, run the init script
with the 'teardown' option."
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-gccgo] $ /bin/sh -xe /tmp/hudson8010305953727496379.sh
+ set +x

---
Now starting POST-BUILD steps
---

Error response from daemon: no such id: docker-pr-gccgo1667
Error: failed to remove containers: [docker-pr-gccgo1667]
Notifying endpoint 'HTTP:https://leeroy.dockerproject.org/notifi
---

Job: Docker-PRs FAILED
Here are what we parsed from the logs at https://jenkins.dockerproject.org/job/Docker-PRs/23548/consoleText as the failures:

---
t-integration-cli/docker.pid --userland-proxy=true
.
---> Making bundle: .integration-daemon-setup (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .detect-daemon-osarch (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .ensure-emptyfs (in bundles/1.11.0-dev/test-integration-cli)
++++ tar -cC bundles/1.11.0-dev/test-integration-cli/emptyfs .
++++ docker load
---> Making bundle: .ensure-frozen-images (in bundles/1.11.0-dev/test-integration-cli)
++++ docker load
++++ tar -cC /docker-frozen-images .
++++ set +x
Untagged: hello-world:latest
---> Making bundle: .ensure-httpserver (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .ensure-syscall-test (in bundles/1.11.0-dev/test-integration-cli)
+ go test -test.timeout=120m -check.v github.com/docker/docker/integration-cli
# github.com/docker/docker/integration-cli
./docker_cli_daemon_test.go:190: cannot use newBasesizeBytes (type int64) as type int in argument to convertBasesize
FAIL	github.com/docker/docker/integration-cli [build failed]
---> Making bundle: .integration-daemon-stop (in bundles/1.11.0-dev/test-integration-cli)
+++++ cat bundles/1.11.0-dev/test-integration-cli/docker.pid
++++ kill 11743
++++ /etc/init.d/apparmor stop
 * Clearing AppArmor profiles cache
   ...done.
All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.

To set a process to complain mode, use the command line tool
'aa-complain'. To really tear down all profiles, run the init script
with the 'teardown' option."
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs] $ /bin/sh -xe /tmp/hudson6737962152095294132.sh
+ set +x

---
Now starting POST-BUILD steps
---

Error response from daemon: no such id: docker-pr23548
Error: failed to remove containers: [docker-pr23548]
Notifying endpoint 'HTTP:https://leeroy.dockerproject.org/notific
---

Job: Docker-PRs-userns FAILED
Here are what we parsed from the logs at https://jenkins.dockerproject.org/job/Docker-PRs-userns/5986/consoleText as the failures:

---
xy=true --userns-remap default
.
---> Making bundle: .integration-daemon-setup (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .detect-daemon-osarch (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .ensure-emptyfs (in bundles/1.11.0-dev/test-integration-cli)
++++ tar -cC bundles/1.11.0-dev/test-integration-cli/emptyfs .
++++ docker load
---> Making bundle: .ensure-frozen-images (in bundles/1.11.0-dev/test-integration-cli)
++++ tar -cC /docker-frozen-images .
++++ docker load
++++ set +x
Untagged: hello-world:latest
---> Making bundle: .ensure-httpserver (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .ensure-syscall-test (in bundles/1.11.0-dev/test-integration-cli)
+ go test -check.f DockerSuite -test.timeout=90m -check.v github.com/docker/docker/integration-cli
# github.com/docker/docker/integration-cli
./docker_cli_daemon_test.go:190: cannot use newBasesizeBytes (type int64) as type int in argument to convertBasesize
FAIL	github.com/docker/docker/integration-cli [build failed]
---> Making bundle: .integration-daemon-stop (in bundles/1.11.0-dev/test-integration-cli)
+++++ cat bundles/1.11.0-dev/test-integration-cli/docker.pid
++++ kill 1877
++++ /etc/init.d/apparmor stop
 * Clearing AppArmor profiles cache
   ...done.
All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.

To set a process to complain mode, use the command line tool
'aa-complain'. To really tear down all profiles, run the init script
with the 'teardown' option."
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-userns] $ /bin/sh -xe /tmp/hudson2062880679473999281.sh
+ set +x

---
Now starting POST-BUILD steps
---

Error response from daemon: no such id: docker-pr-userns5986
Error: failed to remove containers: [docker-pr-userns5986]
Notifying endpoint 'HTTP:https://leeroy.dockerp
---

Job: Docker-PRs-experimental FAILED
Here are what we parsed from the logs at https://jenkins.dockerproject.org/job/Docker-PRs-experimental/14759/consoleText as the failures:

---
t-integration-cli/docker.pid --userland-proxy=true
.
---> Making bundle: .integration-daemon-setup (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .detect-daemon-osarch (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .ensure-emptyfs (in bundles/1.11.0-dev/test-integration-cli)
++++ tar -cC bundles/1.11.0-dev/test-integration-cli/emptyfs .
++++ docker load
---> Making bundle: .ensure-frozen-images (in bundles/1.11.0-dev/test-integration-cli)
++++ tar -cC /docker-frozen-images .
++++ docker load
++++ set +x
Untagged: hello-world:latest
---> Making bundle: .ensure-httpserver (in bundles/1.11.0-dev/test-integration-cli)
---> Making bundle: .ensure-syscall-test (in bundles/1.11.0-dev/test-integration-cli)
+ go test -test.timeout=120m -check.v github.com/docker/docker/integration-cli
# github.com/docker/docker/integration-cli
./docker_cli_daemon_test.go:190: cannot use newBasesizeBytes (type int64) as type int in argument to convertBasesize
FAIL	github.com/docker/docker/integration-cli [build failed]
---> Making bundle: .integration-daemon-stop (in bundles/1.11.0-dev/test-integration-cli)
+++++ cat bundles/1.11.0-dev/test-integration-cli/docker.pid
++++ kill 11841
++++ /etc/init.d/apparmor stop
 * Clearing AppArmor profiles cache
   ...done.
All profile caches have been cleared, but no profiles have been unloaded.
Unloading profiles will leave already running processes permanently
unconfined, which can lead to unexpected situations.

To set a process to complain mode, use the command line tool
'aa-complain'. To really tear down all profiles, run the init script
with the 'teardown' option."
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson3119123093371460816.sh
+ set +x

---
Now starting POST-BUILD steps
---

Error response from daemon: no such id: docker-pr-exp14759
Error: failed to remove containers: [docker-pr-exp14759]
Notifying endpoint 'HTTP:https://leeroy.dock
---

Job: Docker-PRs-WoW-TP4 FAILED
Here are what we parsed from the logs at https://jenkins.dockerproject.org/job/Docker-PRs-WoW-TP4/743/consoleText as the failures:

---
nary; \
	ec=$?; \
	if [ $ec -eq 0 ]; then \
		robocopy /c/go/src/github.com/docker/docker/bundles/$(cat VERSION)/binary /c/target/binary; \
	fi; \
	exit $ec'
C:\Windows\system32\docker.exe: Error response from daemon: Cannot start container 1ecba47c04674314366090458c43a076b4f567e53dbbfb2fec682dbe49caf208: HCSShim::StartComputeSystem- Win32 API call returned error r1=0x800710d8 err=The object identifier does not represent a valid object.id=1ecba47c04674314366090458c43a076b4f567e53dbbfb2fec682dbe49caf208.
+ ec=125
+ set +x

----------------------------------
ERROR: Failed to build test binary
----------------------------------

-----------------------------------------------
ERROR: Failed with exitcode 125 at Mon Feb  8 17:01:09 CUT 2016.
-----------------------------------------------

INFO: Tidying up at end of run
INFO: Nuking /d/CI
INFO: Zapped successfully
INFO: End of cleanup
INFO: Ended at Mon Feb  8 17:01:10 CUT 2016 (1m 1s)
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[docker] $ sh -xe D:\temp\hudson4246578261094461909.sh
+ set +e
+ set +x
INFO: End of cleanup
Notifying endpoint 'HTTP:https://leeroy.dockerproject.org/notification/jenkins'
---

Job: Docker-PRs FAILED:

---
ix_test.go:713: DockerSuite.TestRunSeccompProfileDenyUnshare	12.302s
PASS: docker_cli_run_unix_test.go:770: DockerSuite.TestRunSeccompProfileDenyUnshareUserns	3.317s
PASS: docker_cli_run_unix_test.go:819: DockerSuite.TestRunSeccompUnconfinedCloneUserns	50.030s
PASS: docker_cli_run_test.go:2674: DockerSuite.TestRunSetDefaultRestartPolicy	1.790s
PASS: docker_cli_run_test.go:2003: DockerSuite.TestRunSetMacAddress	2.062s

----------------------------------------------------------------------
FAIL: docker_cli_run_test.go:2267: DockerSuite.TestRunSlowStdoutConsumer

docker_cli_run_test.go:2288:
    c.Fatalf("Expected %d, got %d", expected, n)
... Error: Expected 4096000, got 3421918

----------------------------------------------------------------------
PASS: docker_cli_run_test.go:1616: DockerSuite.TestRunState	1.114s
PASS: docker_cli_run_test.go:3840: DockerSuite.TestRunStdinBlockedAfterContainerExit	0.480s
PASS: docker_cli_run_test.go:87: DockerSuite.TestRunStdinPipe	0.694s
SKIP: docker_cli_run_unix_test.go:599: DockerSuite.TestRunSwapLessTh
---

LGTM

LGTM waiting on janky


set setBufferedLogFilter to help reduce memory usage

Although we call setConsoleFilter, we are not setting setBufferedLogFilter.
This may be leading to lots of debug messages building up in RAM. Let's set it and see what difference it makes.
Here's where it should be set in Simple SOCKS:
https://github.com/uProxy/uproxy-networking/blob/dev/src/simple-socks/freedom-module.ts#L13

So, I just performed some quick tests on RAM usage with and without calling this, and I couldn't find any noticeable difference. What I did:

Start Simple SOCKS.
Start top.
Download a medium-sized (~64M) file from a nice fast server (curl -O -C - --limit-rate 50k -x socks5h://localhost:9999 http://mirrors.xmission.com/ubuntu-cd/14.04.1/ubuntu-14.04.2-server-amd64.template).
Look at the RSS of the busiest process.
See how far that grows before the file is finished downloading.

I really couldn't spot any difference with and without calls to setBufferedLogFilter. This can probably be explained by two things:

default level is E
limit is 1000 lines

See here:
https://github.com/uProxy/uproxy-lib/blob/dev/src/loggingprovider/loggingprovider.ts#L87


Minor changes to pytest wrapper

Made some minor changes to the pytest wrapper.

Current dependencies on/for this PR:

main

PR #5   👈

This comment was auto-generated by Graphite.

⏳ This pull request is set to merge as part of a Graphite merge job
Job ID: YUp7xde2Ygb2iPE6ELZl.
See details on graphite.dev


WIP: Converts HashEntry to using KeyValuePairs and implicit converts to Redis types

Closes #4
Many of the Redis types such as HashEntryand NameValueEntry allow for implicit converts to those types via a KeyValuePair. This changes the internal implementation to use KeyValuePairs and implicit converts so this can support more types than only HashEntry.

Ready for review

Thanks for the contribution!


Browser randomly closes

Not 100% sure if this is an issue with TileBoard, or something else. I run the latest version on HA running in a docker container.
I then have  a wall mounted iPad displaying TileBoard - since the 0.102 version of HA - the browser on the iPad just closes completely, ending up back at the home screen?
Is there something obvious I can check, or a log that'll tell me what/why it happens? I have a very basic layout at this stage. Couple of switches/lights, camera view, weather, and single media player.

Try using inspect tools in chrome by clicking CTRL + SHIFT + I. Go to the console and you will see logs in there. Did this happen on chrome too? Which app are you using?

It's quite frequent on the iPad, say every 2 hours randomly.
I've actually had TileBoard open on chrome this morning, hasn't closed yet - and no errors from the console. It's why I was hoping there'd be some way of turning on logging.
Not sure what you mean by which app?

App as an browser. Some apps when they encounter am error just close the app and other like chrome just refresh the page. The logs for tile board are found by using Dev tools on the browser in chrome you press CRTL + SHIFT + I  to go to the dev tools. Then there will be a tab near the top called console. There you will see logs of tile board and any error that's occuring. Do you have screensaver enabled?

Ah - sorry - using safari on the iPad - and no screensaver - its always up as a dashboard, and was fine until the latest version of HA, also - nothing new, or changed on the iPad.
I've had the console open on Chrome on my laptop since this morning - but - no errors yet.

So from what I understand the whole safari closes when tile board is running. Try using this method to see where happening on safari https://medium.com/@mattcroak718/debugging-your-iphone-mobile-web-app-using-safari-development-tools-71240657c487

Yes - that's exactly what happens.
Don't use Apple at all - so the above link will help quite a bit, thanks.

There is also an app called kiosk pro lite. It uses the full screen instead of showing the headers and other navigation buttons

I'll give that a try as well - maybe it behaves.
I currently achieve the same (no headers, etc) - by saving the bookmark to the homescreen, when opened from there, it doesn't display navigation

If it just closes it could be it's running out of memory. Maybe there is a leak in the new version of TileBoard.
It would be hard to debug something that is just closing so I'm not sure suggestions above would help you with that.

Finally found the cause, when ever I use the camera thumbnail - it closes Safari after while.
This is the code, was running fine:
{
  position: [1, 1],
  id: 'camera.driveway_cam',
  type: TYPES.CAMERA_THUMBNAIL,
  bgSize: 'cover',
  width: 1,
  state: false,
  fullscreen: {
     type: TYPES.CAMERA,
     refresh: 1500, // can be number in milliseconds
     bgSize: 'contain'
  },
  refresh: function () { // can also be a function
     return 3000 + Math.random() * 1000
  }
}

can you mark the issue closed, please?

To be fair, we could still try to figure out if TileBoard can do something for that issue.
As far as I can see by looking at the code, all TileBoard does it re-creates an element with new background image on each refresh. It looks like it properly cleans up old element so there doesn't seem to be any leak there.
If the browser has some bug that causes it to leak then that would explain the crash but nothing we could do about it. Is that up-to-date Safari version or something ancient?

It seems to be something with Tileboard + Safari browser + the above Camera Thumbnail. I did notice a red "SYSTEM ERROR" popup on Tileboard once or twice, but it didn't force close the browser.
On Chrome on my laptop - the window stays open with no errors.
If there's no apparent fix - I can close the issue?

Hi there, I have encountered this issue as well, so it might be a good idea to reopen?

Hi there, I have encountered this issue as well, so it might be a good idea to reopen?

We don't have enough information to reproduce so it wouldn't make sense to reopen if we can't do anything about it.
If you can figure out what causes it and if it's specific to certain tiles then we can reopen and try to fix it then.

We don't have enough information to reproduce so it wouldn't make sense to reopen if we can't do anything about it.
If you can figure out what causes it and if it's specific to certain tiles then we can reopen and try to fix it then.

Well, If you have one page with a camera_thumbnail on IOS 9.3.5 safari, the browser will crash at some point in time.
This is reproducable.
I have remove the tile from my dashboard and have to wait and see if indeed this tile is the issue.
If that does not crash the browser, I think the issue is in the refresh part due to adding and removing a div in the appendImage function. I saw you can disable the refresh and then it does not call that function.
So, my next step when removing the camera_thumbail does not crash the browser anymore is to disable the refresh.
Also, in my opinion the disability to solve it does not make it a non-issue. The original topic is browser randomly closes, which is still an issue.
Do you know if there is a specific reason do remove and add the div inside the refresh function?

Well, If you have one page with a camera_thumbnail on IOS 9.3.5 safari, the browser will crash at some point in time.
This is reproducable.
I have remove the tile from my dashboard and have to wait and see if indeed this tile is the issue.
If that does not crash the browser, I think the issue is in the refresh part due to adding and removing a div in the appendImage function. I saw you can disable the refresh and then it does not call that function.
So, my next step when removing the camera_thumbail does not crash the browser anymore is to disable the refresh.
Also, in my opinion the disability to solve it does not make it a non-issue. The original topic is browser randomly closes, which is still an issue.
Do you know if there is a specific reason do remove and add the div inside the refresh function?

Well, If you have one page with a camera_thumbnail on IOS 9.3.5 safari, the browser will crash at some point in time.

This is with the latest TileBoard version?
In the latest version, the CAMERA_THUMBNAIL tile is removed and automatically mapped to CAMERA so I wonder if we are talking about the same code.
CAMERA tile also adds and removes div on each refresh.
It could be that there is some bug in that old Safari version that causes a leak so if that's the case, we'd need a workaround of some sort.

Well, If you have one page with a camera_thumbnail on IOS 9.3.5 safari, the browser will crash at some point in time.

This is with the latest TileBoard version?
In the latest version, the CAMERA_THUMBNAIL tile is removed and automatically mapped to CAMERA so I wonder if we are talking about the same code.
CAMERA tile also adds and removes div on each refresh.
It could be that there is some bug in that old Safari version that causes a leak so if that's the case, we'd need a workaround of some sort.

Hmm, I have missed that release indeed.
I will try it with the CAMERA tile and see if that issue is also occuring with that tile. Refresh interval was set to 2000 (2 seconds)
Point of actions for me:

wait a day to see if indeed the (old) caused the crashes.
change CAMERA_THUMBAIL to CAMERA with a refresh and see if the browser crashes. If not, all is ok. If it does, check without refresh set.

I see an opacity transition indeed. If the issue still occurs in the CAMERA tile, maybe I can find some sort of workaround :)

Hmm, I have missed that release indeed.
I will try it with the CAMERA tile and see if that issue is also occuring with that tile. Refresh interval was set to 2000 (2 seconds)
Point of actions for me:

wait a day to see if indeed the (old) caused the crashes.
change CAMERA_THUMBAIL to CAMERA with a refresh and see if the browser crashes. If not, all is ok. If it does, check without refresh set.

I see an opacity transition indeed. If the issue still occurs in the CAMERA tile, maybe I can find some sort of workaround :)

I can confirm that a tileboard with only 3 light tiles works properly. It ran without issue for 2 days.
Now I will add a CAMERA without a refresh (refresh: false)


Fixed orientation-related render error in Android Studio preview

Added two if statements to ensure that orientation detection checks aren’t performed in edit mode. Fixes #76

Bundled this change into new PR also containing the fix for #99.


Errors are being swallowed again, due to #3227

What is the current behavior?
If my form's onSubmit handler returns a promise, and the onSubmit handler is passed as a form option, than the promise returned is rejected, that rejection is swallowed and I never see the error.
What is the expected behavior?
The error thrown is passed up to the browser console.
Sandbox Link
https://codesandbox.io/s/5w7Gmk6Z
Note how pressing Submit logs no error.
What's your environment?
Using 7.0.2.
Other information
Possibly related to https://github.com/erikras/redux-form/issues/3179.
I tried to debug this and I believe the problem is listenToSubmit: https://github.com/erikras/redux-form/blob/171ed689cf998774c39bcd435d73dd8228cb7e02/src/createReduxForm.js#L657
It seems this was  introduced recently in https://github.com/erikras/redux-form/pull/3227, because before that submitFailed was throwing the error.

The problem with the #3227 (issue #1297) was about the handleSubmit method mustn't throw any errors as it doesn't handle the errors anyhow. As a result the uncaught error appears and falls down the rest of the JS.
Don't know why do you want to have the uncaught error in your case (seems you used to integrate the bug into your logic).
If you need to catch the error, there is a onSubmitFailed method:
export default reduxForm({
  form: 'submitValidation', // a unique identifier for this form
  onSubmit: async () => {
      throw "test";
  },
  onSubmitFail: (errors, dispatch, submitError, props) => {
    console.log(submitError);
  }
})(SubmitValidationForm);

I don't want the error. It's a bug in my onSubmit logic (say I call a relay mutation but the import is wrong and the function undefined).As it stands, I don't have any indication that something is wrong, and I don't see an error it a stack trace, so I don't know where the problem is precisely. In my code I actually call handleSubmit myself and the fact that I can get error values back just like a successful return value is an added complication, but not the main issue.I think onSubmitFail might be a workaround, but I don't know that we shouldn't view it as a bug that such errors are swallowed out of the box. On Aug 9, 2017 9:41 PM, Roman Maksimov<EMAIL_ADDRESS>wrote:The problem with the #3227 (issue #1297) was about the handleSubmit method mustn't throw any errors as it doesn't handle the errors anyhow. As a result the uncaught error appears and falls down the rest of the JS.
Don't know why do you want to have the uncaught error in your case (seems you used to integrate the bug into your logic).
If you need to catch the error, there is a onSubmitFailed method:
export default reduxForm({
form: 'submitValidation', // a unique identifier for this form
onSubmit: async () => {
throw "test";
},
onSubmitFail: (errors, dispatch, submitError, props) => {
console.log(submitError);
}
})(SubmitValidationForm);
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

@erikras  @Roman-Maksimov I'm with @miracle2k on this. It's very misleading to consumers of redux-form to be converting any error rejected from the onSubmit to a resolved promise.
As a solution to #1297 - this a far worse compromise.


Add Vectara templates to marketplace

This PR adds a Vectara templates to the Flowise marketplace, a template for uploading docs and a template for loading from existing documents. The template looks like this:

IMO, I feel this not required as this is very similar towards Conversational Retrieval QA Chain.
Previously you added the Vectara documentation is enough to guide them on setting up.

thanks @3eif for the templates! I think we can use one of the templates here, maybe the upsert one. since there are already multiple templates in marketplace that has similar flows

Done!


Tips disabling doesn't work in 1.78

Disable tips

"workbench.tips.enabled": false,

Reaload editor
Hotkeys are still visible

Version: 1.78.0
Commit: 252e5463d60e63238250799aef7375787f68b4ee
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.78.0 Chrome/108.0.5359.215 Electron/22.4.8 Safari/537.36

Oddly enough, when I toggle this setting on/off within a VSCode session, the tips seem to disappear as expected.
However, once VSCode is closed and reopened, the disabled tips appear again.


Link to generators in README from doc-comment

Wondering if we should instead copy over some of the docs to each of the generators. Oh well, this is an improvement anyway, so thanks!

That would probably help too, I just went with the easy change :)


Updated documentation link in README

Issue link

Follow on from #435
What changes have been made

Updated the documentation link in  README to point to the correct folder.
Verification steps

Click the link in the README under Full documentation can be found here and the docs should appear in browser
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[x] Testing is not required for this change

/lgtm
/approve


Add support for extra hugo fields to be setup by extra bibtex fields.

Hey,
Bacisally the url_XXX fields from hugo could be filled directly by corresponding hugo_url_XXX fields in the bibtex. Recall that bibtex allows for any field to be defined.
Moreover, this will not stop the bib file to be used for any other purposes as those filds would simply be ignored by reference managers that do not know them.

Closing as it appears to be a duplicate of the existing issue #48 . Feel free to contribute to that issue. First we need to decide a strategy for mapping attributes. E.g. how would you represent nested page options like image > caption.


add metrics: request failed

fix downstream closed without status code record in the request info

Codecov Report

Merging #861 into stable will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           stable     #861      +/-   ##
==========================================
+ Coverage   55.69%   55.69%   +<.01%
==========================================
  Files         234      234
  Lines       23771    23781      +10
==========================================
+ Hits        13239    13246       +7
- Misses       9321     9322       +1
- Partials     1211     1213       +2

Impacted Files
Coverage Δ

pkg/metrics/downstream.go
0% <ø> (ø)
:arrow_up:

pkg/proxy/downstream.go
34.81% <100%> (+0.82%)
:arrow_up:

pkg/proxy/stats.go
100% <100%> (ø)
:arrow_up:

pkg/stream/stream.go
46.66% <0%> (-13.34%)
:arrow_down:

pkg/network/connection.go
34.24% <0%> (-0.37%)
:arrow_down:

pkg/module/http2/frame.go
84.17% <0%> (-0.31%)
:arrow_down:

pkg/module/http2/server.go
81.77% <0%> (+0.07%)
:arrow_up:

pkg/module/http2/transport.go
78.73% <0%> (+0.29%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a309d92...0cd408f. Read the comment docs.


Unable to use ?video behind haproxy

Everything is ok when I browse server_ip:6080/#/?video but when I put it behind haproxy and try to browse it via server_ip/#/?video it goes through a loop in this urls (following is /var/log/nginx/access.log):
<IP_ADDRESS> - - [09/Mar/2019:10:37:05 +0000] "GET /api/live.flv HTTP/1.1" 200 5 "http://server_ip/static/video.html?width=1853&height=581&base=server_ip" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0"
<IP_ADDRESS> - - [09/Mar/2019:10:37:05 +0000] "GET /static/video.html?width=1853&height=581&base=server_ip HTTP/1.1" 200 1005 "http://server_ip/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0"
<IP_ADDRESS> - - [09/Mar/2019:10:37:05 +0000] "GET /static/scripts/flv.min.js HTTP/1.1" 200 170443 "http://server_ip/static/video.html?width=1853&height=581&base=server_ip" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0"
<IP_ADDRESS> - - [09/Mar/2019:10:37:05 +0000] "GET /static/scripts/jquery-3.3.1.min.js HTTP/1.1" 200 86927 "http://server_ip/static/video.html?width=1853&height=581&base=server_ip" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0"

My haproxy configuration is nothing complicated and goes as follows:
global
    log         <IP_ADDRESS> local0

    chroot	/var/lib/haproxy
    pidfile     /var/run/haproxy.pid
    maxconn     4000
    user        haproxy
    group	haproxy
    daemon

defaults
    mode                    http
    log                     global
    option                  httplog
    option                  dontlognull
#    option http-server-close
    option forwardfor       except <IP_ADDRESS>/8
    option                  redispatch
    retries                 3
    timeout http-request    10s
    timeout queue           1m
    timeout connect         10s
    timeout client          1m
    timeout server          1m
    timeout http-keep-alive 10s
    timeout check           10s
    maxconn                 3000

frontend vnc_front
        bind *:80
        default_backend vnc_back

backend vnc_back
        server vnc <IP_ADDRESS>:6080 check

Also if anyone has any opinion about routing / to #/?video in haproxy it would be so much appreciated.

As it happens problem is something else and I can't browse server_ip:6080/#/?video as well.

Problem was resolved by executing apt update && apt upgrade -y in docker image.

The problem still exists from time to time when I try to open ?video. Contents of /var/log/web.log are constantly increasing by this when I browse ?video:
2019-03-09 11:50:30,877 INFO command: /usr/local/ffmpeg/ffmpeg -f alsa -i hw:2,1 -video_size 1852x884 -framerate 20 -f x11grab -draw_mouse 1 -i :1 -r 20 -g 20 -flags:v +global_header -vcodec libx264 -preset ultrafast -b_strategy 0 -pix_fmt yuv420p -bsf:v dump_extra=freq=e -maxrate 6177k -bufsize 2059k -ar 44100 -c:a mp3 -tune zerolatency -f flv pipe:1
2019-03-09 11:50:30,891 INFO exiting
2019-03-09 11:50:30,891 INFO exited
2019-03-09 11:50:31,099 INFO command: /usr/local/ffmpeg/ffmpeg -f alsa -i hw:2,1 -video_size 1852x884 -framerate 20 -f x11grab -draw_mouse 1 -i :1 -r 20 -g 20 -flags:v +global_header -vcodec libx264 -preset ultrafast -b_strategy 0 -pix_fmt yuv420p -bsf:v dump_extra=freq=e -maxrate 6177k -bufsize 2059k -ar 44100 -c:a mp3 -tune zerolatency -f flv pipe:1
2019-03-09 11:50:31,112 INFO exiting
2019-03-09 11:50:31,112 INFO exited

The problem happens because sudo modprobe snd-aloop index=2 has to be executed on every reboot of the host and load the module again. So I guess it's not an issue anymore.


Controlled input value is not working

Steps to reproduce

Give value="1234" as props to <MaskedTextInput>

Expected behaviour
The displayed value should be controlled by the value prop if present, like regular TextInput.
My use case is that I have a button that will increase the amount displayed in  when pressed.
Actual behaviour
The value prop is completely ignored..
Environment

React Native version: Expo 42
React Native platform + platform version: iOS 15.0

react-native-mask-text
Version: ^0.6.0

Not sure if control value prop will be good, because if you literally change the value, how you will get the masked value?
Thinking of some solution about it, maybe changing the value with a reference can be an option if we implement it? like ref.changeValue(123)?
Other options:
You can use a normal TextInput from react-native and try to use the mask and unMask function from react-native-mask-text. https://github.com/akinncar/react-native-mask-text#usage-mask-function

Changing the value with a reference sounds very good if that would work.
I tried the mask and unMask function but couldn't figure out how I can implement the options objects with decimalSeparator, groupSeparator and precision.
But maybe I could use the MaskedText with an invisible MaskedTextInput and the children props in MaskedText would come from MaskedTextInput onChangeText?

Same issue, only thing I could do was to clear the input using ref
xyzRef.current?.clear();

Same problem here. I'd like to use mask to edit a form, but I need to be able to set the value for each field.

You can use defaultValue prop to set your initial value to the field.
I understand it is a bit different from what you are trying to achieve with standard controlled field but might work if you are using useForm Hook or Formik.
If you need an example of that I can post it here.

Thanks for your response. Yes, please, I d like you to post an example.
Em qui., 10 de mar. de 2022 às 15:49, Nikola Milutinovic <
@.***> escreveu:

You can use defaultValue prop to set your initial value to the field.
I understand it is a bit different from what you are trying to achieve
with standard controlled field but might work if you are using useForm Hook
or Formik.
If you need an example of that I can post it here.
—
Reply to this email directly, view it on GitHub
https://github.com/akinncar/react-native-mask-text/issues/51#issuecomment-1064382526,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPCXMLMQ6DYMX6TJLJLHQLU7I72NANCNFSM5KCHCCOA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

--
Fabio Zarvos
@.***
Av. Angélica 2529 – Sala 103
Bela Vista, São Paulo, SP 01227-200
Brasil
cel. +55(11) 99425-8359
tel.: +55(11) 4780-9785
www.snapsystems.com.br

using prop "defaultValue" for initial value and "value" for normal updates worked for me

Same issue here

As far as I can tell, this bug is still present (or it regressed). Here's a repro with version 0.13.1: https://codesandbox.io/s/little-cookies-1wcbko?file=/src/App.js


Loading Images

Follow the Vulkan tutorial and get texture mapping/loading of images working.
Use an Image resource to load in the image from a file and make the data accessible to the renderer.
Use the stb image loading library

Loading an image is done, just need to setup the Vk buffers for it

Resolved with https://github.com/flingengine/FlingEngine/commit/e083f6e462c17dcd099390d7a08f91b5b697c04f


API everywhere in AS

This module will scan the deployed web app into the application server and build API and create it into the API Publisher.

Closing this as this feature is no longer valid w.r.t AS.


New column clipboard

WHY
I need a be able to copy the content of the column to the clipboard. Basically is a text column with an icon and on click the span copy the content to the clipboard.
Maybe this can be and optional parameter on the basic column text buy for now i created a separated column.
Using a column this can be used in lists and in show view.
On click show a Noty to the user to report whether it was able to be copied or not

HOW
How did you achieve that, in technical terms?
Use javascript to copy text to clipboard using await navigator.clipboard.writeText(text);
Is it a breaking change?
No
How can we test the before & after?
Note: on localhost only show the error message. To work need https otherwise the browser will block the action.
  [
        'name'  => 'name',
        'label' => trans('backpack.name'),
        'type' => 'clipboard',
  ],

Hey @adriallongarriu Thanks for coming up with this cool little useful feature. I appreciate your effort & the idea.
Hey @tabacitu @pxpm
How do find the implementation?

Thanks @adriallongarriu for the PR 🙏
I like the copy feature. I've need it myself, and as @o15a3d4l11s2 showed, he also probably needed it in other contexts.
I am just not sure about the implementation. Should we add this as a new column, or add the copy ability to existing columns ?
I think the later is the most appropriate, as for example you can have a date column with a specific format, and when you copy you expect to copy the formatted date. Or in an upload copy the asset url, not only the displayed text.
I am postponing this decision to v7.
Cheers

Hi,
I think this copy feature should be an option for all columns and fields.
Think about a date field or a dropdown field, it's not possible to copy the text inside.
Cheers!

Hi,
I think this copy feature should be an option for all columns and fields. Think about a date field or a dropdown field, it's not possible to copy the text inside.
Cheers!

Sure it is, all the columns have a "display value" and the "original value". For example a dropdown, the value would be "1" (the key), but the display value would be "My Article With Id 1".
We just need to store in all the columns, something like data-copy-to-clipboard="My Article With Id 1".
But this raises many questions, for example, what would you copy in a text column where the text is truncated ? "My Article Wi..." Copy the truncated text, or the original?
And when you add prefix or suffix, should that be copied too ?
We didn't get out of the text column, and we have already so many questions and some of them are tricky.
This seems like a "simple" thing, but to make it general there are some use cases and caveats in specific fields that require a lot of thought.
I think after we decide on how we are going to tackle all the problems we can foresee, the implementation will be rather "easy" I think. I like this idea, I think it will not be very difficult to implement, the difficulty is in "writting the feature spec", that's why I keep this open as I think we should work on something like this... in the next version. 🙏

But this raises many questions, for example, what would you copy in a text column where the text is truncated ? "My Article Wi..." Copy the truncated text, or the original?
And when you add prefix or suffix, should that be copied too ?

If the text is truncated, copy the original.
If the column has prefix and/or suffix, copy with those included.
If the developers wants to change any of these behaviors, he can set something like 'clipboardValue' => fn($entry, $column) => 'copy me'
For the first version of this feature i think is ok to build something that will cover the simple use cases and then build from there.

Sure, I can review a PR for CRUD columns if you are willing to work on this now.
I see this atm to be something like this:
// no copy
CRUD::column('title');

 // copy with our defaults
CRUD::column('title')->copy(true);

// copy what developer wants
CRUD::column('title')
    ->copy(fn($entry, $column, $columnProcessedValue, $columnOriginalValue) => strtoupper($columnProcessedValue));

Probably create a inc/copy_column.blade.php with the js logic etc. and do a @includeWhen(isset($column['copy']) && $column['copy'] !== false) in the column files.
I am sure even in crud some columns will be tricky by the way they are built but if you are willing to give it a shot, go ahead 🙏
Cheers


Updating e2e documentation-ongoing updation

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind bug
/kind cleanup
/kind design
kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
This PR updates the documentation
Which issue(s) this PR fixes:

Fixes #4
Special notes for your reviewer:
More steps to be added for running tests suites
Release note:
action: review

/ok-to-test

/lgtm
/approve


Enable debug in request?

https://github.com/request/request#debugging
Would be nice to be able to do WebRequest.defaults({debug: true});

Added ability to do WebRequest.debug(true); in 1.0.4.


Update to keycloak 11.0.2

Thanks Thomas for this PR.
New release is currently underway and will hopefully be publicly available in the next few hours at Maven Central.


Typo in secret-keywords.txt

Discovery/Variables/secret-keywords.txt
Line 49-50:
private_key
private_key

Might be:
private-key
private_key

Feel free to open up a PR!


Accept addresses rather than ports in add_port

This is coming out of me having a deeper understanding of what #537 is all about.

Python is green.


Add "No. Of Days since last positive" by district/state in main grid

Adding number of days since last positive for each district will give insights on how districts are performing about handling COVID situation.

It's in the pipeline. Refer #1496


reuse ssh connection for single host

CLOUDBLD-10702

Signed-off-by: Harsh Modi<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] Python type annotations added to new code
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

code looks good, but please change commit message
as this takes care only about using multiple ssh connections for 'available_slots'
there will still be few connections to the same host, but should be quite reduced now


Ability to use UUID instead of long value when expanding

Hi, i've been using your recyclerview, it's very nice, but it would be nice to be able to expand by using UUID instead long, some of my data have unique id's using UUID.

Changing the type is unfortunately not an option. InboxRecyclerView uses whatever type RecyclerView.Adapter#getId() enforces us to use. When you supply an ID to expandItem(Long), it is later uses to fetch the item's information from the adapter. This is also why you're required to override getItemId() and call setHasStableIds(true) on your adapter.
Using IDs of type other than longs is a general practice and you'll have to find to construct Longs out of them.

Closing this due to inactivity. Feel free to re-open this.


Add stale issue manager to GH actions

Issue #, if available:
Description of changes:
Add GH workflow to mark and auto close stale issues. Can easily be extended to apply to PRs as well
Testing (if applicable):
Tested on my fork and works as expected
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I think we may need remove-issue-stale-when-updated to remove the stale tag if there is a comment or update to the issue:
https://github.com/actions/stale#remove-issue-stale-when-updated

Thanks @drewvanstone. I don't think we need it. That's the override for issues only vs PRs & issues, presumably to set it to false, since the default is already set to true.
When I tested the current configuation on my fork it removed the stale label if there was a comment. See example here

I changed the execution to every day, to have more frequent un-stales if people comment, instead of waiting a week and pinging us asking to remove the label.

/approve


Navbar blocking content from pages.

The Navigation bar component is a fixed position component. When the website is displayed on a Mobile device, with screen width less than 70em, the content is cut off. This means the user cannot see all of the content on a webpage.
Padding needs to be added to each content page so that each page can easily be read across multiple device screen widths.
Alternatively, we could make the navigation bar autohide. It could only show up when the user scrolls the screen.

The following CSS code snippet can be used to fix pages with a navigation bar fixed to the top of the page.
body {
  padding-top: 60px;
}
@media (max-width: 979px) {
  body {
    padding-top: 0px;
  }
}

We simply change this to padding-bottom, then each of our pages displays the content properly.
https://stackoverflow.com/questions/10336194/top-nav-bar-blocking-top-content-of-the-page

The following CSS code snippet can be used to fix pages with a navigation bar fixed to the top of the page.
body {
  padding-top: 60px;
}
@media (max-width: 979px) {
  body {
    padding-top: 0px;
  }
}

We simply change this to padding-bottom, then each of our pages displays the content properly.
https://stackoverflow.com/questions/10336194/top-nav-bar-blocking-top-content-of-the-page

No longer has this issue.


REST-service for getting userrankings for the gui

@MrBlaTi & @kev007 please choose an assignee for this one.


incompatible with pnpm and possibly yarn

https://github.com/pnpm/pnpm/issues/3566

So what's the fix for this? To re-export the jest binary somehow?
Feel free to test and create a PR. I don't use pnpm, yarn or even bs-jest at the moment, so it's not particularly high on my list of priorities, to be honest.

re-exporting sounds good. Or maybe Jest should be a peer dependency of bs-jest

Thanks! I'd say re-exporting is the path of least surprise then. Would you try that @kswope?

Know know what?  screw it.  I just confirmed that npm and yarn are doing the exact same thing, its only pnpm that has unexpected (but proper) behavior.
When you start a new project and install just bs-jest, both npm and yarn fill up node_modules/.bin with all kinds of good stuff, and pnpm doesn't even create the .bin directory.
I think somebody would have noticed if jest, reasonml, and yarn weren't working together :)


REGISTER request should also contain the display name in To field

Currently, SIP.js REGISTER request looks like this:
REGISTER sip:domain.com SIP/2.0
Via: SIP/2.0/WS <IP_ADDRESS>;branch=z9hG4bK5696513
Max-Forwards: 70
To<EMAIL_ADDRESS>From: "user name" <sip:username@domain.com>;tag=t9a358bps2
Call-ID: 2ehc6n13ee2vs34phrlm4a
CSeq: 84 REGISTER
Contact: <sip:dlnqqpfq@<IP_ADDRESS>;transport=ws>;reg-id=1;+sip.instance="<urn:uuid:ac545210-918c-4971-b316-a85910f7b65b>";expires=600
Allow: ACK,CANCEL,BYE,OPTIONS,INFO,NOTIFY,INVITE
Supported: path,gruu,outbound
User-Agent: SIP.js/0.7.1
Content-Length: 0

While according to RFC 3261:

\5. The registrar extracts the address-of-record from the To header
field of the request.

So it's not always possible to register with a display name, even if a server implementation adheres to RFC.

I'm not sure that 'address of record' typically includes the display name.  Again from the RFC (Definitions):

Address-of-Record: An address-of-record (AOR) is a SIP or SIPS URI
that points to a domain with a location service that can map
the URI to another URI where the user might be available.
Typically, the location service is populated through
registrations.  An AOR is frequently thought of as the "public
address" of the user.

In other places, it references examples such as<EMAIL_ADDRESS>

On the other hand, it looks like the To/From headers of a REGISTER are generally supposed to be "the same", depending on how Section 10.2 is interpreted:

  From: The From header field contains the address-of-record of the

       person responsible for the registration.  The value is the
       same as the To header field unless the request is a third-
       party registration.

One example of registration shows a display name in the To header, so it seems reasonable for sip.js to do this as well.

@wakamoleguy my point is that by RFC the registrar is not obligated to even look into From field.

Hi everybody,
SIP server usually works with To header of REGISTER request accordingly to RFC. Display name and Address-of-Record should be in To header. From header can be different to To header in case when somebody else try to register your AOR.

I looked into this a bit more and I think I've found the relevant section of the code: https://github.com/onsip/SIP.js/blob/8d6ac90169307768e24a99f7de01db264150e5ed/src/SIPMessage.js#L100-L120
Notice how ua.configuration.displayName is the fallback value for the From display name (lines 112-114), but is not considered when constructing the To display name (line 102). It wouldn't make sense to have the same fallback behavior here, as that would also affect non-REGISTER requests, but I think that having RegisterContext set params.to_displayName here would achieve the desired effect.
Pull Request coming shortly :)


Compatibility with other react-native modules

One of the challenges migrating to react-native-controllers is that a lot of the other extensions stop working, because they assume the root controller never changes (and is the top one in the window hierarchy).
To fix I had to change every single dependency to lazily fetch the root controller, and call presentedViewController on it, like:
-(UIViewController *)getRootController
{
  id<UIApplicationDelegate> appDelegate = [UIApplication sharedApplication].delegate;
  return appDelegate.window.rootViewController.presentedViewController;
}

Is there any way we can fix this more broadly from react-native-controllers itself? Or any suggestions of upstream changes that would allow this to coexist with other extensions?
Thanks!

Can you give some examples of extensions that stopped working?

I ran into this issue when trying to combine react-native-maps with react-native-navigation on a small side project. Admittedly, I don't have a ton of experience in fixing the native level linkings, so I was unable to get a fix myself in the time I had to work on it.
I was working on the Android side linking issue and tried following both the "manual" linking instructions and running the react-native link command.

This issue will be addressed in react-native-navigation #242


Refactor Code with instanceof Pattern Variable

In some cases, we currently use the traditional instanceof checks followed by explicit type casting. With the introduction of Pattern Matching in recent Java versions, we can refactor these checks to make the code more concise and readable.

Thanks that's merged.


*: add table option: pre_split_resions

What problem does this PR solve?
This is for pre-split region when create table with shard_row_id_bits.
What is changed and how it works?
Check List
Tests

Unit test

Code changes
Side effects

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Improve pwa.js testing

Added more tests for lib/pwa.js (for #63)

@ithinkihaveacat fixed comments.


protocal/derivation: specify the reason why fill 127 bytes at once

the reason why use 4 elements here confusing me for a long time, and specify the reason why fill 127 bytes at once is a good explanation for time saving

Issue with line-length in markdown lint check.


Add support for multi-arch builds and for generating a basic idrac.yml if not present

we build this like:
docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag holoplot/idrac-exporter:1.2.1 .

Hi, can we talk about merging this please?

I think it's generally useful beyond my work use case. Shouldn't include a breaking change.

I haven't had time to test it out yet, but it looks fine.
However, in your entrypoint, is the auth config something that is auto-populated in your environment, or something people is expected to mount into the containers themselves?
auth_file=/authconfig/$NODE_NAME

In my environment, this is provided via a Kubernetes secret which is partially mounted into each container, according to the node it’s running on
It shouldn’t be a problem to release the helm chart that drives this at our end.
We wouldn’t be keen to put them in the idrac-exporter repository, simply so that we could have a rapid turnaround on fixes to the charts if necessary. Unless you would like to make us co-maintainers of idrac-exporter?

On 28. Jun 2023, at 14:36, Martin Hansen @.***> wrote:
I haven't had time to test it out yet, but it looks fine.
However, in your entrypoint, is the auth config something that is auto-populated in your environment, or something people is expected to mount into the containers themselves?
auth_file=/authconfig/$NODE_NAME
—
Reply to this email directly, view it on GitHub https://github.com/mrlhansen/idrac_exporter/pull/30#issuecomment-1611428735, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7DMX4DRC4QJBHSIYAQTT4LXNQXONANCNFSM6AAAAAAZJKRTWA.
You are receiving this because you authored the thread.

--
http://holoplot.com/?utm_source=email&utm_medium=sg&utm_campaign=Holoplot_Signature+
HOLOPLOT GmbH - Headquarters
Ringbahnstr. 12 (10-14) / A2
12099
Berlin, Germany
+49 (0) 30 40745812
HOLOPLOT GmbH - Manufacturing
Alboinstr. 17-23 / Hall 12
12103 Berlin, Germany
+49 (0) 30 959988740
www.holoplot.com https://holoplot.com/
Follow us on
https://www.facebook.com/OriginalHOLOPLOT/?utm_source=email&utm_medium=sg&utm_campaign=Holoplot_Signature+
LinkedIn
https://www.linkedin.com/company/holoplot-gmbh?utm_source=email&utm_medium=sg&utm_campaign=Holoplot_Signature+.
Roman Sick – CEO | HRB183974B, Register Court Charlottenburg, Germany |
EU Tax-Registration No. DE277000701 This e-mail contains confidential
and/or privileged information. If you are not the intended recipient (or
have received this e-mail in error) please notify the sender immediately
and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the information in this e-mail is strictly forbidden.

I merged it now.
I do not really want to add too much environment specific stuff to the repository, so there is no need to add the Helm charts, it was mostly just for my own understanding.


Test out polling systems

Just for CI :)
Tries out:

https://github.com/typelevel/cats-effect/pull/3332
https://github.com/typelevel/fs2/pull/3240

Codecov Report

Merging #902 (a708cdf) into series/0.6.x (aad202b) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           series/0.6.x     #902   +/-   ##
=============================================
  Coverage         83.89%   83.89%
=============================================
  Files               126      126
  Lines              1757     1757
  Branches            154      154
=============================================
  Hits               1474     1474
  Misses              283      283


[Bug]Save-DBAKbUpdate is not downloading files.

Environmental information

PowerShell Version        : 5.1.18362.752
dbatools latest installed : 1.0.115
Culture of OS             : en-US
SQL Server:
/* REPLACE WITH output of @@VERSION */

Microsoft SQL Server 2012 (SP4-GDR) (KB4532098) - 11.0.7493.4 (X64)
Dec 24 2019 19:33:24
Copyright (c) Microsoft Corporation
Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3  (Build 9600: ) (Hypervisor)
/* REPLACE WITH output of @@LANGUAGE */
 us_english
### Report

<!--
Things to consider:
- Errors received are not related to permissions?
- Have you tried the same command using powershell.exe instead of a hosted powershell instance like ISE or VS Code?
- If this refers to Copy-DbaDatabase can you replace the problem with Backup-DbaDatabase and Restore-DbaDatabase?
- Copy-DbaDatabase will not work in every environment and every situation. Instead, we try to ensure Backup & Restore work in your environment.
-->

#### Host used

- [ ] powershell.exe
- [x] ISE
- [ ] VS Code
- [ ] Other (please specify)

If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe

- [x] Still buggy in powershell.exe

#### Errors Received

<!--
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
Provide the full error stack, you can obtain this by duplicating the error and then immediately running this command: `$error[0] | select *`
No errors reported
-->

#### Steps to Reproduce

$version = '2016'

$path = "\\loe.corp\ex\Departments\dba\SQL SPs"
$DownloadPath = "\\loe.corp\ex\Departments\dba\SQL SPs\SQL $version";

$patches = Test-DbaBuild -SqlInstance MDDBAMPQA03 -MaxBehind 0CU -Update | Where-Object { !$_.Compliant }

$upgradelist = $patches | where-object { $PSItem.NameLevel -eq $version} | select-object SqlInstance

$BuildTargets = Test-DbaBuild -SqlInstance MDDBAMPQA03 -MaxBehind 0CU -Update | Where-Object { !$PSItem.Compliant } | Select-Object -ExpandProperty BuildTarget -Unique;
$Build =  Get-DbaBuildReference -Build $BuildTargets

$KB = $Build.KBLevel

$filter = "SQLServer$Version*-KB$KB-*x64*.exe"

Save-DbaKBUpdate -Path $DownloadPath -Name $KB

<!--
If you have confirmed this issue can be reproduced, please provide the exact steps (T-SQL, PowerShell, ext)
-->

#### Expected Behavior
Update file downloaded
<!--
What did you expect to happen?
-->

#### Actual Behavior
Nothing
<!--
What happened?
-->

Please edit the issue by including information required by the issue template.

template updated

What is the value of $KB in your case?
Also, are you behind a proxy?

$KB = 4564903. And not behind a proxy.
On Thu, Aug 20, 2020 at 4:09 PM Kirill Kravtsov<EMAIL_ADDRESS>wrote:

What is the value of $KB in your case?
Also, are you behind a proxy?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/6745#issuecomment-677877853,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVA7UG73WSZRYSQTOJTRODSBV7HZANCNFSM4QDZK27A
.
--
Thanks,

Gordon

Any errors show up once you run the command? Anything in
$error[0]|select *

after you ran the command?

No errors at all.
On Thu, Aug 20, 2020 at 4:25 PM Kirill Kravtsov<EMAIL_ADDRESS>wrote:

Any errors show up once you run the command? Anything in
$error[0]|select *
after you ran the command?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/6745#issuecomment-677885145,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVA7UH4MEQFSP7E4TYSDHDSBWBDHANCNFSM4QDZK27A
.
--
Thanks,

Gordon

Please run
Save-DbaKbUpdate -Name 4564903 -verbose

Also, does it work if you don't specify the -Path?

I just tried a few things and found a curious item.  If I run
Save-DBAKbUpdate -Name 4564903 alone, it runs fine.  But my original script
was still not working.  I figured out the issue was the $filter variable in
my script.  If I removed $filter, or set $filter = '', the script runs
fine.  But with the value in my script, no file is returned.  Looking at
the function code, it does appear that the variable $Filter is used in the
function but is not assigned a value in the functions scope.  This caused
the odd side effect.
Thank you,
Gordon
On Thu, Aug 20, 2020 at 4:35 PM Kirill Kravtsov<EMAIL_ADDRESS>wrote:

Also, does it work if you don't specify the -Path?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/6745#issuecomment-677890101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVA7UGUK5BOU7ZE2IWHD4LSBWCJVANCNFSM4QDZK27A
.

I'm not sure if you're talking about Save-DbaKbUpdate code here, but if you do, where do you see $Filter being used in that function?
https://github.com/sqlcollaborative/dbatools/blob/development/functions/Save-DbaKbUpdate.ps1

Actually, it is used in Get-DbaKbUpdate.
On Thu, Aug 20, 2020 at 7:29 PM Kirill Kravtsov<EMAIL_ADDRESS>wrote:

I'm not sure if you're talking about Save-DbaKbUpdate code here, but if
you do, where do you see $Filter being used in that function?
https://github.com/sqlcollaborative/dbatools/blob/development/functions/Save-DbaKbUpdate.ps1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/6745#issuecomment-677955816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVA7UGZUH6J57GEVR3D7RDSBWWVRANCNFSM4QDZK27A
.
--
Thanks,

Gordon

Yup, that's definitely a bug, gonna update the issue.

Glad I could help. By the way, DBATOOLS ROCKS!
On Thu, Aug 20, 2020 at 8:30 PM Kirill Kravtsov<EMAIL_ADDRESS>wrote:

Yup, that's definitely a bug, gonna update the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/6745#issuecomment-677972412,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVA7UDHTKFZVTCWN2CHAXTSBW5Y3ANCNFSM4QDZK27A
.
--
Thanks,

Gordon

hey @potatoqualitee
what was the purpose of the $Filter in here?
https://github.com/sqlcollaborative/dbatools/blob/development/functions/Get-DbaKbUpdate.ps1#L137
Was it supposed to become a parameter at some point? It's getting value from outside of the function scope now.


New tag for bulk @method / @property

can we add a way to add methods from a class that is not extended
example
/**
 * @inhert-methods Parent
 */
class Child {
    protected $parent;

    public function __class($name, $arguments) {
        return call_user_func_array([$this->parent, $name], $arguments);
    }
}

This sounds a lot like the @mixin proposition: https://github.com/phpDocumentor/fig-standards/issues/35, does that seem applicable to you?

Thanks I wasn't quite sure where to find this
just had a quick read
from my understanding @mixin brings everything in, including public properties on the Parent class which in my example would not be relevant / misdocumented


Error: Invalid PPS index

ffmpeg -i DV.mkv -c copy video.hevc
ffmpeg -i HDR10Plus.mkv -c copy -bsf hevc_mp4toannexb -f hevc - | hdr10plus_tool extract -o metadata.json -
hdr10plus_tool inject -i video.hevc -j metadata.json -o video_hdr10plus.hevc

You're gonna have to provide a sample file for video.hevc because I can't reproduce the issue.

Turns out I messed up because as an experiment I did
ffmpeg -i dv.mkv -bsf "noise=drop=between(n\,0\,23)" -c copy -y video.hevc

to try to cut those frames out and hdr10plus_tool didn't like that. I did a fresh extract and it works now. Will duplicate those frames in metadata.json instead of cutting the video (like you suggested in #41). Sorry for the noise.


Add a GENERIC target for 64bit MIPS

Using "make TARGET=GENERIC" on loongson platform will get the following
error messages:
"make[1]: *** No rule to make target 'sgemm_incopy.o', needed by 'libs'"
Add kernel/mips64/KERNEL.generic to slove the problem.

Thanks. I've changed the title as the problem is not specific to Loongson. The unrelated build failure is from issue 2444 - strange that it still happens here while I cannot reproduce it in my build.

Thanks.


Wildcards for building Win32 APIs don't work in latest git

If I depend on windows = "0.8.0" then I can generate bindings like this:
fn main() {
    windows::build!(
        Windows::Win32::Direct3D12::*,
    );
}

If I depend on windows = { git = "https://github.com/microsoft/windows-rs" } then I get the following error:
error: proc macro panicked
 --> build.rs:2:5
  |
2 | /     windows::build!(
3 | |         Windows::Win32::Direct3D12::*,
4 | |     );
  | |______^
  |
  = help: message: Could not find type def `Windows.Win32.WinRT.IInspectable`

Should I expect this to work?

Ah that's a regression introduced with #719 - I'll get a fix (and test) our shortly.


Why did you remove the normalize option?

I was using normalize to better see signals of low intensity. Is there another option which does the same thing?

Hi David,
I'll restore it in the next minor release. Please stay tuned.


Fix multiple enum packages import in proto file.

Remove hardcode index for enumName call in file template.

We did this to "solve" the problem for multiple enums that have different go packages which is what happens with Google proposed type like packages: https://github.com/saltosystems/protoc-gen-validate/commit/3c7727c793a93b331c0c850a204b5987f7a11aef.


chore: add @IgorMinar and @jculvey to codeowners for cloudflare files

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

thanks @pi0!


decreased pancreatic acinar cell zymogen granule number

Please add:
decreased pancreatic acinar cell zymogen granule number
DEF: fewer than the expected number of membrane-bounded, cytoplasmic secretory granules found in pancreatic acinar cells that contain inactive digestive enzyme precursors
SYN: reduced pancreatic acinar cell zymogen granule number
J:84450
Thanks
Anna
Reported by: anna_anagnos
Original Ticket: obo/mammalian-phenotype-requests/2072

New term added:
decreased pancreatic acinar cell zymogen granule number  MP:0014095


The value of assets on the upper-left seems unstable

Please check how to get the value.

Seems good on mainnet edition.


cacu http requests

Should the http request the cacu sends to the vesssim scenario as part of its scenario be executed as a thread to not fall behind the simulation time?

yes but we want to recreate the data from your paper. Now in your notebook there is no delay for setting the power mode. However, there is in the real cacu as of now. Should the cacu wait until the power mode is set in the VES or continue, i.e. the power mode request is executed as a thread?

=> 60s for each "step". Determine a time delta for the step execution time and then  time.sleep(60 - delta)


Update sbt-paradox to 0.10.2

Updates com.lightbend.paradox:sbt-paradox from 0.9.2 to 0.10.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.9.2).
You might want to review and update them manually.
build.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lightbend.paradox", artifactId = "sbt-paradox" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.lightbend.paradox", artifactId = "sbt-paradox" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-minor, old-version-remains, commit-count:1

Looks like we need a JVM upgrade on this one.

[error] (docs / Compile / paradoxProcessor) java.lang.UnsupportedClassVersionError: org/parboiled/trees/GraphNode has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

I can help with that!

Thoughts on moving to sbt-typelevel-settings?


chooseNextEvent Bugfix

-Resolves #44
Simulation class:
-upated chooseNextEvent function by adding a comparison case to the min_element lambda comparison function that correctly indicates that any valid event pointer is less than a nullptr, so that chooseNextEvent always chooses a real event ptr over a nullptr if possible

Pull Request Test Coverage Report for Build 68

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.174%

Totals

Change from base Build 65:
0.0%

Covered Lines:
840

Relevant Lines:
847

💛  - Coveralls


When can we support w8a8 fp8 quantization and sparse2:4 llm compress and adapt it on vllm?

This is something we are actively working on supporting end-to-end.
In vllm, we currently support 2:4 sparsity with w4A16 and w8a16. We need to add inference kernels to support w8a8 fp8 with sparse 2:4. We are collaborating the cutlass teams on this.

v

cx

A quick update: We hope to have end-to-end support and a model launch within the next few weeks!

Closing since we will have updates on 2:4 in next release.


Correctly represent namespace separators in the search box

The search box represents nested packages with forward slashes rather than :: namespace separators.
For example, searching for AdHoc presents X/AdHoc rather than X::AdHoc as the first hit.
More problematically: searching for x::adhoc (note the casing) results in no matches; X::AdHoc and x/adhoc both match.

Definitely needed for the search-bar update. The search candidate currently may be

the name of a file (where X::Y is represented as X/Y because that is where source files are located) as mentioned in another issue,
the text of a heading
the name of a routine/method/infix etc

We could changing the search candidate data so that X/Y becomes X::Y, but then we loose X/Y, unless we duplicate the entry - increasing the amount of data transferred.
Searching should be done on Uppercasing the search chars. So, not clear why there is a casing issue. Exact matches are favoured over close matches.

@cfa please test the new UI here is an online preview.
The first adhoc yields the ::, as well as / versions.
Case sensitive searching is dependent on the filter function.

This issue has been resolved.
@coke please review for closing the issue

the main issue of showing X::Adhoc is fixed.
However, the remaining items are for pages like https://new-raku.finanalyst.org/routine/from-slurpy#type/X/AdHocroutinemethod
IMO, those /type links should not be part of the search results - they are just fragments of that primary page.

@coke lets close this issue then. I cant see the 'remaing items' you mentioned. Are they in another issue?
The URL you cite is a Composite page, and it relates to the way the documentation suite was first set up. There are lots of questions about Composite pages, but - I think - they deserve a discussion / issue of their own. Not this specific issue.

No, the remaining items in the search results. search for "adhoc" and you'll see 4 results, and the last 3 should be excluded. Sorry I wasn't clear.

@coke I see the problem. When a composite file is created, the file name is put into a Heading, and from the Heading it is put as another data point in the search engine. This needs to be prevented.

@coke I have modified the 'options-search' plugin on new-raku so that headings are not included in the search data if they are in a Composite file.
Please look at new-raku because it eliminates the three 'adhoc' references.

As I was testing this (verified the change), I found another issue: Looks like the JS is running asynchronously and if I type
adhoc
The search results are almost always returned in order: a, ad, adh, adho, adhoc, but my first attempt ended up showing the a results last. Having dealt with this in the past, I recommend having a dumb number to go along with each request that increases, and if an older number result comes back with the data, it's ignored because we know there's a newer set of results due. I don't think this is a blocker for merging the current set, but if not, let's log it as a separate issue.

The main issue here is closed. I have only ever had the async issue happen to me once. Anyone else sees it, we'll open a ticket.


CompileString - stat .: permission denied

Using CompileString can result in errors if run in a container environment without a readable working directory, when the URL passed is not absolute.
I understand the reason for trying to resolve the URL, but I did not expect a panic when loading an embed schema from a string that is known to be a valid. It's an easy enough error to correct (pass an absolute URL,) but detecting it requires running the code in an esoteric environment, so it's easy to accidentally make this error and only discover it at a bad time.

EXPECTED_BAHAVIOR
this is the expected behaviour. if you pass non-absolute url to CompileString it converts to file based absolute path.
passing absolute url to CompileString should work fine without working directory set


Staging setup

Summary

Update GitHub Action workflow to run database migration on two triggers: push to main and (re)open of PRs.

Migrations will be applied to the production db when there is a push to the main branch.
Migrations will be applied to the staging db when a PR is (re)opened.
(i.e. Upon merge, database migrations will start running for every PR opens and commits to main!)

Update render.yaml to enable staging env for the merkle tree cron job (more on this below).

Staging db is now populated with test data and is connected to Vercel preview environments: https://nym-l058sqy90-personaelabs.vercel.app/
Staging env for the frontend

Previews will point to a single staging db, and prod deployments will point to the prod db. We do so by setting the env var DATABASE_URL as:

Staging env for the Merkle tree cron job
Since we're running the cron job on Render, we use the Preview Environment of Render to set up an environment per PR for the cron job. Using the singleton staging db as in the frontend is possible, but it's more straightforward to use Preview Environments (which spawns a db per PR) than to point to a single staging db.

@DanTehrani Looks great! super useful and straightforward for our use cases.
My one question: what is our flow for inspecting the output for a migration, especially in the case where we have to manually resolve a conflict?

@DanTehrani One other question: Do the migrations run on every push to the pull request branch? Or just when it's opened?

lgtm!


How client render tilemap image ?

Hi Guy,
I am new about Maputnik. As i know, Maputnik read a source geojson which hosted in http://localhost:3000/geojson.json, and map style json. So i wonder how client request maptile images from  server
I expected Maputnik can render maptile images or MBTile
Thank you for reading

Hi @phainv88,
I'm not sure what you mean. You are able to select the Source Type here:

Does this answer your question?

Thank you for your fast reply. My question is how can i export maptile after finish styling

Maputnik is a visual editor for Mapbox GL styles, so you are able to export the style but not the sources.

Thanks, but i have some problems, pls help me

I have shapefile data, how can i use it in Mapuknit ?
After finish styling, what next i do for rendering maptiles?

Hey @phainv88 the docs at https://github.com/maputnik/editor/wiki might help

There hasn't been any activity in this ticket for a while, so closing the issue. If you need further help, add a command and we'll reopen the issue.


What is the relationship between this open source and dpdk? Thank you

Hi,
OFP can be used with ODP (https://github.com/OpenDataPlane/odp with a Linux generic) or ODP-DPDK(https://github.com/OpenDataPlane/odp-dpdk with boards that have DPDK support).
The short answer is that it isn't a direct relationship.
Valentin Radulescu

On your open source basis, can I run nginx like a standard Linux kernel? No need to change any code?

Hi,
You can use https://github.com/OpenFastPath/nginx_ofp for dpdk. For Linux generic you could use the ofp_netwrap_crt example - https://github.com/OpenFastPath/ofp/tree/master/example/ofp_netwrap_crt as a starting point.
Valentin Radulescu


Add .whole_chunks_mut()

Fix bug in .whole_chunks() for IxDyn (did not check chunk dimensionality)
Add macro for implementing NdProducer based on an array view
Add .whole_chunks_mut() producer and intoiterator
Show memory layout descriptor in Debug fmt (it's a bit incomplete).

cc @Robbepop
This is related to #276, but just the mutable corresponding thing to whole chunks.


fix: adjust node test cases

Signed-off-by: cmyscoups<EMAIL_ADDRESS>

Codecov Report

Merging #305 (b806075) into release-1.3 (62decc3) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           release-1.3     #305   +/-   ##
============================================
  Coverage        46.20%   46.20%
============================================
  Files                7        7
  Lines              606      606
  Branches           171      171
============================================
  Hits               280      280
  Misses             252      252
  Partials            74       74


Cannot run 'npm run dev' on Linux

Case

BUG

Issue
Trying to execute npm run dev and getting an error message. Tried to clone from the original repository and I'm getting the same error.
Info

Operating System: Linux (Ubuntu 16.04.3)
Node-Version: 8.9.0

Reproduce
0 info it worked if it ends with ok
1 verbose cli [ '/home/gabrielcs/.nvm/versions/node/v8.9.0/bin/node',
1 verbose cli   '/home/gabrielcs/.nvm/versions/node/v8.9.0/bin/npm',
1 verbose cli   'run',
1 verbose cli   'dev' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
7 verbose lifecycle<EMAIL_ADDRESS>PATH: /home/gabrielcs/.nvm/versions/node/v8.9.0/lib/node_modules/npm/bin/node-gyp-bin:/home/gabrielcs/Documentos/WebSites/awesome-cv-creator/node_modules/.bin:/home/gabrielcs/.nvm/versions/node/v8.9.0/bin:/home/gabrielcs/bin:/home/gabrielcs/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
8 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/gabrielcs/Documentos/WebSites/awesome-cv-creator
9 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'check-node-version --node ">= 8.0.0"' ]
10 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
11 info lifecycle<EMAIL_ADDRESS>Failed to exec predev script
12 verbose stack Error<EMAIL_ADDRESS>predev: `check-node-version --node ">= 8.0.0"`
12 verbose stack Exit status 1
12 verbose stack     at EventEmitter.<anonymous> (/home/gabrielcs/.nvm/versions/node/v8.9.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
12 verbose stack     at emitTwo (events.js:126:13)
12 verbose stack     at EventEmitter.emit (events.js:214:7)
12 verbose stack     at ChildProcess.<anonymous> (/home/gabrielcs/.nvm/versions/node/v8.9.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
12 verbose stack     at emitTwo (events.js:126:13)
12 verbose stack     at ChildProcess.emit (events.js:214:7)
12 verbose stack     at maybeClose (internal/child_process.js:925:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
13 verbose pkgid<EMAIL_ADDRESS>14 verbose cwd /home/gabrielcs/Documentos/WebSites/awesome-cv-creator/resume
15 verbose Linux 4.10.0-38-generic
16 verbose argv "/home/gabrielcs/.nvm/versions/node/v8.9.0/bin/node" "/home/gabrielcs/.nvm/versions/node/v8.9.0/bin/npm" "run" "dev"
17 verbose node v8.9.0
18 verbose npm  v5.5.1
19 error code ELIFECYCLE
20 error errno 1
21 error<EMAIL_ADDRESS>predev: `check-node-version --node ">= 8.0.0"`
21 error Exit status 1
22 error Failed at the<EMAIL_ADDRESS>predev script.
22 error This is probably not a problem with npm. There is likely additional logging output above.
23 verbose exit [ 1, true ]

check-node-version --node ">= 8.0.0" fails which indicates your node-version is too low. Are you sur that you have node version 8.9.0 and installed all dependencies?

I'm sure. My node Version is 8.9.0.
Doing all the steps on README file and still getting the same error.

Almost two weeks later and still getting the same error.
Even with the latest commits. :cry:

broken@broken-HP-Compaq-dc7800-Small-Form-Factor:~$ npm run dev
npm ERR! Linux 4.10.0-38-generic
npm ERR! argv "/home/broken/.nvm/versions/node/v6.0.0/bin/node" "/home/broken/.nvm/versions/node/v6.0.0/bin/npm" "run" "dev"
npm ERR! node v6.0.0
npm ERR! npm  v3.8.6
npm ERR! path /home/broken/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/broken/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/broken/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR!     /home/broken/npm-debug.log

How to fixed this

Closing this.
@nesar11 I'm sorry but your description does not help.
@GabrielCoelho  I don't think there is a chance that I can reproduce this.


Expose Account Deletion

This is generally useful, but it will be very helpful to us when we want to test account creation workflows (e.g., we will want to delete accounts so we can re-test email verification).

I exposed a simple delete page here: https://homestead.test/delete_account.
@neckberg, hoping you can turn this into something better from the frontend perspective.
One caveat: you can currently only delete the accounts of users who aren't part of any election.  Otherwise, DB foreign key constraints are violated.  I'm working on fixing that.

I modified the DB constraint.  If you delete a user account, any elections created by that user are also deleted, so simple user deletion is possible.  I think this is done on the backend, so I removed myself from the assignees.