NOISSUE - Fix lora-adapter Object decode

Signed-off-by: Manuel Imperiale<EMAIL_ADDRESS>

Codecov Report

Merging #610 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #610   +/-   ##
=======================================
  Coverage   87.11%   87.11%
=======================================
  Files          62       62
  Lines        3391     3391
=======================================
  Hits         2954     2954
  Misses        298      298
  Partials      139      139

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 1c09632...68352fb. Read the comment docs.

@manuio update please

No comments


Add TravisCI

As discused in issue #4 we should add Travis CI.

@mirage22 - is this something you'd like to do? Note that until v0.32.0 of opentracing-java is released, you need to first clone, and maven install the v0.32.0 branch of opentracing-java. As soon as 0.32.0 of OpenTracing is released, this is no longer necessary.

I've it already, as I've used jfr-tracer for a demonstration and the article.

Still, note that a pre-release of opentracing-java is needed for the next few weeks.

So, moved to a subproject. You can now put your Travis stuff in a separate folder.

I've created a pull request, I've also add Thread.sleep to the affected tests. It should be fixed by improving tests

we may close the issue as it is done


Copy text button for code blocks

Add a 'copy text to clipboard' button that displays on hover of a code-block.
I've chosen not to display the button on mobile phones because I don't think copying code is a useful on mobile phones. If you feel that's an incorrect assumption, then please comment, and I can enable the on mobile phones as well.

Adding cla: yes label, as the PR author is covered by CLA.


refactor: Improve library name and version tag usage

Updated a buffer check & added tsc-esm-fix package for fixing the issue with relative imports in nodejs.


TS typing error

While using with Angular 8, ts compiler thorws the error:

ERROR in node_modules/@bumble/storage/index.d.ts:31:23 - error TS2503: Cannot find namespace 'chrome'.

HI! check this out #4 pls

I think we've got this cleared up now, sorry to take so long to see this.


Support public domain icons from The Noun Project

I saw this release of public domain humanitarian icons today - some of them are pretty nice.
The Noun Project is interesting, and I have mixed feelings about it.
Most icons there do not match the style of the other icons that we use in iD, but occasionally there are some that might be useful.
They do have an API (docs) and it looks like it would allow us to do this:

use the free tier up to 5000 calls/month
svg download available for public domain icons (the only ones we'd use anyway)

So I'm considering some limited support for using Noun Project icons as preset icons, as long as they are public domain, and we script occasional downloads into our repo.

This would be great to do for the next release in order to differentiate more presets. With the favorite preset buttons in #6010 the user has to hover over identical icons to see what the preset is.

This is awesome - Thanks @quincylvania  👏

@bhousel Yes! It's exciting to have a new icon source. Unfortunately, it looks like most icons on there aren't public-domain and there's no way to filter by license, which makes finding compatible icons difficult. Their API does have a search endpoint where you can filter by public domain, so we could theoretically build a search tool.
I was wondering if we could also use CCBY icons and put the attribution somewhere, but the API won't let you download those SVGs on a free account anyway so there's not much point in looking into it.


Issue with num_samples

When I run this script with an updated base.yaml:
python tools/train_experiment.py --config_file config/base.yaml --phase 'train'
Here is the issue /opt/conda/lib/python3.10/site-packages/transformers/utils/generic.py:311: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.   torch.utils._pytree._register_pytree_node( 2024-07-17 21:48:44     INFO    root base_experiment.py:174 - device:cuda:0, is_master:True, device_ids:[0], is_distributed:False Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. /opt/conda/lib/python3.10/site-packages/transformers/utils/generic.py:311: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.   torch.utils._pytree._register_pytree_node( 2024-07-17 21:48:48     INFO    root donut_experiment.py:145 - init weight from pretrained model:facebook/nougat-base 2024-07-17 21:48:48     INFO    root donut_experiment.py:152 - Number of parameter: 348.69M 0it [00:00, ?it/s] Traceback (most recent call last):   File "/home/ubuntu/nougat-latex-ocr/tools/train_experiment.py", line 53, in <module>     main(args)   File "/home/ubuntu/nougat-latex-ocr/tools/train_experiment.py", line 43, in main     experiment_instance = getattr(experiment, get_experiment_name(args.experiment_name))(config)   File "/home/ubuntu/nougat-latex-ocr/experiment/donut_experiment.py", line 30, in __init__     self.init_dataset(config)   File "/home/ubuntu/nougat-latex-ocr/experiment/donut_experiment.py", line 176, in init_dataset     self.train_data_loader = self._get_data_loader_from_dataset(self.train_dataset,   File "/home/ubuntu/nougat-latex-ocr/experiment/donut_experiment.py", line 220, in _get_data_loader_from_dataset     data_loader = DataLoader(dataset,   File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 350, in __init__     sampler = RandomSampler(dataset, generator=generator)  # type: ignore[arg-type]   File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/sampler.py", line 143, in __init__     raise ValueError(f"num_samples should be a positive integer value, but got num_samples={self.num_samples}") ValueError: num_samples should be a positive integer value, but got num_samples=0

Look like the dataloader cannot find any data for the given path. Please check the data path


Added additional Unit Tests to identify a bug on "Get-EnvFileVariable"

Added additional Unit Tests to identify a bug on "Get-EnvFileVariable"

Possible workaround: Always provide "-Path" parameter and ensure that you pass an absolute path value.
`$envFileAbsolutePath = $(Get-Item -Path ".env").FullName
$compose_project_name = Get-EnvFileVariable -Variable "COMPOSE_PROJECT_NAME" -Path $envFileAbsolutePath
$status = Invoke-RestMethod "http://localhost:8079/api/http/routers/cm-$compose_project_name-secure@docker"`


Jupyter Notebook not autosaving when closing during execution

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

i selected auto-save on vscode.
.ipynb script ran and froze
i could not wait and closed either the script or sometimes vscode
i lost most progress I made. it happened more than 5 times in the past 7 days so it is a persistent issue.

Actual behavior
most progress on the script was lost, even those made long before the last run
Expected behavior
keep at least the progress made before last run of script

Your Jupyter and/or Python environment
Please provide as much info as you readily know
For details of ver and env, please check out
https://github.com/microsoft/vscode/issues/100820

Jupyter server running: Local | Remote | N/A
Extension version: 20YY.MM.#####-xxx
VS Code version: #.##
Setting python.jediEnabled: true | false
Setting python.languageServer: Jedi | Microsoft | None
Python and/or Anaconda version: #.#.#
OS: Windows | Mac | Linux (distro):
Virtual environment: conda | venv | virtualenv | N/A | ...

Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

@zhangx306 thanks for reporting this, and sorry about the issue. A couple of quick questions to help us diagnose this:

What do you have your autoSave set to? afterDelay? or onFocus or onWindowChange?
When the freeze of the .ipynb happens could you go to Help->Toggle Developer Tools and then in that window right click on the console tab and save that log as a file. Then you can attach that file to a comment here. It has diagnostic info that can help us to figure this out.

@IanMatthewHuff I don't think we auto save the notebook as a result of execution.
Cuz that doesn't trigger edit changes.
Perhaps we need to write some manual code for this, if output changes we need to trigger notebook as being dirty.
Gets interesting with Custom Editor as well, as these aren't edits can can necessarily be undone, but marks it as being dirty.
@rchiodo /cc

That is how i auto-save (see attached picture).
I will try what @Ian suggested if I run into this issue again. Thanks guys!
Thanks,
Xing
On Tue, Jun 23, 2020 at 5:22 PM Don Jayamanne<EMAIL_ADDRESS>wrote:

@IanMatthewHuff https://github.com/IanMatthewHuff I don't think we auto
save the notebook as a result of execution.
Cuz that doesn't trigger edit changes.
Perhaps we need to write some manual code for this, if output changes we
need to trigger notebook as being dirty.
Gets interesting with Custom Editor as well, as these aren't edits can can
necessarily be undone, but marks it as being dirty.
@rchiodo https://github.com/rchiodo /cc
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/12514#issuecomment-648501312,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPRXAWEMRP3H4GOSUHMFD3RYFBLBANCNFSM4OF4L2ZA
.

Execution should cause a dirty flag change which should flag an auto save. This code right here:
https://github.com/microsoft/vscode-python/blob/bea5e97d3573b2492dc1699c2e3fd75d4c3766bd/src/client/datascience/interactive-ipynb/nativeEditorStorage.ts#L201
However that only fires when the execution is complete.
Dirty change should also obviously happen on edits as well.

So if the output is issued it won't be saved then.

I can't repro this. When auto save is set to every second, the notebook changes to dirty after every output already. Every second it saves itself.

If somebody can repro this, please provide a full console log and what your auto save setting is.
Mine is like so:

Console log can be found by going to Help | Toggle Developer Tools, clicking on the console tab, right click, save as and then dragging into this issue.
Thanks.

I ran into a similar issue again.
Can't get the log by following
*Console log can be found by going to Help | Toggle Developer Tools,
clicking on the console tab, right click (can't do this), save as and then
dragging into this issue.  *
The best I can do is get a screenshot for you guys.
[image: image.png]
On Thu, Jul 2, 2020 at 11:27 AM Rich Chiodo<EMAIL_ADDRESS>wrote:

If somebody can repro this, please provide a full console log and what
your auto save setting is.
Mine is like so:
[image: image]
https://user-images.githubusercontent.com/19672699/86396484-d8479280-bc56-11ea-82b2-28c42f5f4fe0.png
Console log can be found by going to Help | Toggle Developer Tools,
clicking on the console tab, right click, save as and then dragging into
this issue.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/12514#issuecomment-653158305,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPRXAVKEFMC2TWXLNWHKE3RZTGQFANCNFSM4OF4L2ZA
.

Your image isn't included if you reply in an e-mail.

Link to image
https://1drv.ms/u/s!AtpuuHkHC2R6gvF1Lciby5j4jxN2rw?e=8QQg4q

That's by design. The File Save menu is not supposed to work (it can't because VS code doesn't know we're an editor). However do you have auto-save with a delay enabled? That should have caused the file to save when ever you change anything.

And if you have auto save enalbed, @zhangx306 what happens when you right click on the console page? Does the context menu not come up? We really need the entire console log to see what the state of the app is.

https://1drv.ms/u/s!AtpuuHkHC2R6gvF4-96S5UrvTJd78w?e=MQQGaa
On Mon, Jul 6, 2020 at 11:20 AM Rich Chiodo<EMAIL_ADDRESS>wrote:

And if you have auto save enalbed, @zhangx306
https://github.com/zhangx306 what happens when you right click on the
console page? Does the context menu not come up? We really need the entire
console log to see what the state of the app is.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/12514#issuecomment-654392540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPRXAQ77ZXSLUCMZGEO4XDR2IIWRANCNFSM4OF4L2ZA
.

Sorry I meant click in the contents of the console tab. That should show this:

Thanks Rich. I will send you guys the log if I run into this issue again.
On Mon, Jul 6, 2020 at 12:16 PM Rich Chiodo<EMAIL_ADDRESS>wrote:

Sorry I meant click in the contents of the console tab. That should show
this:
[image: image]
https://user-images.githubusercontent.com/19672699/86631024-7783c700-bf82-11ea-8f4e-6547baae2bcd.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/12514#issuecomment-654417848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPRXAXB2NYHEVKESDCOPFDR2IPINANCNFSM4OF4L2ZA
.

+1.
I encountered similar issue several times. Delay-based Autosave + Notebook = sometime lose all the progress precisely from the notebook last opening.
Some extra thing I can find is, the failed-to-save notebook with autosave enabled won't either show the asterisk (unsaved warning) on the tab label, or block the window close/refresh. Given that sometime all the progress is lost, I doubt that the failure may happen way more earlier before user realizing something abnormal (like a freeze).


Enhance throw Method to Use Typed Closure in Response

This PR refines the throw method in the ClassName class by typing the $callback parameter as ?Closure.

Previous Implementation: The original throw method used func_get_args() to handle callback arguments flexibly but included redundant checks for callability and argument presence.
New Implementation: The updated method directly uses a ?Closure type hint for the $callback parameter and removes the extra is_callable() check. This results in cleaner and more readable code.

Changes Made:

Parameter Typing: The $callback parameter is now explicitly typed as ?Closure. This type hinting ensures that the parameter is either a Closure or null.
Simplified Callback Handling: Removed the redundant check for callability, as the type hint ensures the argument is either a valid closure or null.

Benefits:

Improved Clarity: Explicitly typing $callback as ?Closure simplifies the code by making the intended use clear and removing redundant checks.
Enhanced Readability: The code is cleaner and more readable without the extra callability checks.

we had a conversation about this pr in this page

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If applicable, please consider releasing your code as a package so that the community can still take advantage of your contributions!


add History

That looks good, I'll test it manually tonight.
You have a merge conflict, you need fetch upstream and rebuild :+1:


CONTRIBUTING.MD

hactoberfest

hactoberfest

Hacktoberfest is saying that this repo is excluded. What is that supposed
to mean?
On Fri, Oct 28, 2022 at 6:40 PM Anshul Kumar @.***>
wrote:

Merged #216 https://github.com/ianshulx/DSA-Hacktoberfest2022/pull/216
into main.
—
Reply to this email directly, view it on GitHub
https://github.com/ianshulx/DSA-Hacktoberfest2022/pull/216#event-7691812084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP6R3426SXBHP4K2KUPOW2TWFPJUDANCNFSM6AAAAAAROISGTA
.
You are receiving this because you authored the thread.Message ID:
@.***
com>


[feature] added support to pass a complex dict

https://github.com/GoogleCloudPlatform/terraform-python-testing-helper/issues/68
added support to pass a complex dict to the tf_vars parameter
Like that:
tf_vars = { "pep_spec": { "pep1": "test", "list": [ "item1", "item2" ] }, "list2": [ "item1", "item2" ] }

Can you add a test? If you're too busy let me know and I can add it, provided I can work on the fork.

@ludoo I can try, I'm not a python dev TBH :)

@ludoo I commited some tests

@ludoo Should I do something with the Linting?

@ludoo Should I do something with the Linting?

if you have time, linting we use is autopep with 2 spaces for tab stop, I can do it quickly as soon as I have 5 free minutes, let me try

Merging this, thanks a lot for your patience. I am going to release it on pypi ASAP

Thanks a lot!


Bug fixes to arcgisimage

fixed bugs with using cachedir in arcgisimage.
cachedir is no longer ignored if verbose is false
if a cached image is found, now correctly shows it using self.imshow()
changed to use os.path.join to join cachedir and filename, so a backslash is no longer required at the end of cachedir

Thanks, @nitram96! It is clear that your changes are correct, let's wait for the workflows to finish and I merge it.
Hopefully I will find some time to increase the coverage of the library. With more tests I would not have overlooked this bug.

@nitram96 Sorry for the delay, everything looks fine, but I would like to add a couple of unit tests before merging. I hope to find some time within the next 2 days, and then most likely I will tag as basemap release 1.4.1 after the merge, because having such method broken in the latest stable is not nice.

@nitram96 I took the opportunity that you opened the PR to fix a bit more the Basemap.arcgisimage method:

The method code is now compliant with the most basic flake8 and pylint requirements.
The docstring has been reformated so that it will get rendered correctly by Sphinx with the current furo theme.
The cache directory should be created on the fly if saving a cache image for the first time and cachedir is a string corresponding to a non-existing directory. This code block was located at the wrong place, so I moved it accordingly.
I added a couple of tests for Basemap.arcgisimage using the cachedir argument, one with an existing directory and another with a still non-existing directory.

All seems in order, so I am merging. Thanks again, @nitram96!


[WFLY-3290] Add cluster attribute to EJB3 subsystem remote element to allow specifying EJBClient cluster name.

For details, see: https://issues.jboss.org/browse/WFLY-3290
This issue is required for Wildfly tests which involve two clusters and remote EJB invocations.

Windows Build 2803 is now running using a merge of 4fd61687ca411ef78575d0da4f1b5c2146f5b6ee

Linux Build 7763 is now running using a merge of 4fd61687ca411ef78575d0da4f1b5c2146f5b6ee

Linux Build 7763 outcome was FAILURE using a merge of 4fd61687ca411ef78575d0da4f1b5c2146f5b6ee
Summary: Tests passed: 596, ignored: 199; compilation error: Compiler (new) Build time: 00:03:27

Windows Build 2803 outcome was FAILURE using a merge of f03a2f0442b90de547ed598b7377678511bfbdce
Summary: Tests passed: 596, ignored: 199; compilation error: Compiler (new) Build time: 00:04:55

Linux Build 7764 is now running using a merge of f03a2f0442b90de547ed598b7377678511bfbdce

Windows Build 2804 is now running using a merge of f03a2f0442b90de547ed598b7377678511bfbdce

Some changes I had made to cover the issues mentioned above were excluded from the commit. I have not re-added them.

Linux Build 7764 outcome was SUCCESS using a merge of f03a2f0442b90de547ed598b7377678511bfbdce
Summary: Tests passed: 3055, ignored: 358 Build time: 00:50:44

Windows Build 2804 outcome was SUCCESS using a merge of f03a2f0442b90de547ed598b7377678511bfbdce
Summary: Tests passed: 3055, ignored: 358 Build time: 00:51:37

Windows Build 2866 is now running using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1

Linux Build 7825 is now running using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1

Linux Build 7825 outcome was FAILURE using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1
Summary: Tests failed: 1 (1 new), passed: 3054, ignored: 358 Build time: 00:49:28
Failed tests
org.jboss.as.test.clustering.cluster.web.GranularWebFailoverTestCase(SYNC-tcp).testGracefulSimpleFailover: java.lang.AssertionError: expected:<200> but was:<500>
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:64)
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:54)
	at org.jboss.as.test.clustering.cluster.web.ClusteredWebFailoverAbstractCase.establishTopology(ClusteredWebFailoverAbstractCase.java:256)
	at org.jboss.as.test.clustering.cluster.web.ClusteredWebFailoverAbstractCase.testFailover(ClusteredWebFailoverAbstractCase.java:171)
	at org.jboss.as.test.clustering.cluster.web.ClusteredWebFailoverAbstractCase.testGracefulSimpleFailover(ClusteredWebFailoverAbstractCase.java:83)
------- Stdout: -------
21:40:07,022 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
21:40:07,023 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
21:40:07,023 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-0
&amp#27;[0m21:40:07,032 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/data/content/cf/b803b08101a2895667a812ef570a601f975dd8/content
&amp#27;[0m&amp#27;[0m21:40:07,034 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "granular-distributable.war" (runtime-name: "granular-distributable.war")
&amp#27;[0m&amp#27;[33m21:40:07,064 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.granular-distributable.war" is using a private module ("org.jboss.as.clustering.common:main") which may be changed or removed in future versions without notice.
&amp#27;[0m&amp#27;[33m21:40:07,065 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.granular-distributable.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.
&amp#27;[0m&amp#27;[33m21:40:07,065 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.granular-distributable.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice.
&amp#27;[0m&amp#27;[0m21:40:07,069 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment granular-distributable.war
&amp#27;[0m&amp#27;[0m21:40:07,072 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'TopologyChangeListenerBean' in deployment unit 'deployment "granular-distributable.war"' are as follows:

	java:global/granular-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:app/granular-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:module/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:jboss/exported/granular-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:global/granular-distributable/TopologyChangeListenerBean
	java:app/granular-distributable/TopologyChangeListenerBean
	java:module/TopologyChangeListenerBean

&amp#27;[0m&amp#27;[0m21:40:07,138 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0006: Starting Services for CDI deployment: granular-distributable.war
&amp#27;[0m&amp#27;[0m21:40:07,175 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0009: Starting weld service for deployment granular-distributable.war
&amp#27;[0m&amp#27;[33m21:40:07,212 WARNING [org.jgroups.protocols.MPING] (MPING) fb3c874b-8799-2dda-4acf-e6d0f9f8b8a4: discarding discovery request for cluster 'ee' from fb3c874b-8799-2dda-4acf-e6d0f9f8b8a4; our cluster name is 'activemq-cluster'. Please separate your clusters properly
&amp#27;[0m&amp#27;[0m21:40:10,221 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 13) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
&amp#27;[0m&amp#27;[0m21:40:10,222 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 13) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
&amp#27;[0m&amp#27;[0m21:40:10,226 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 13) ISPN000078: Starting JGroups channel ejb
&amp#27;[0m&amp#27;[0m21:40:10,227 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 13) ISPN000094: Received new cluster view for channel ejb: [node-0|0] (1) [node-0]
&amp#27;[0m&amp#27;[0m21:40:10,227 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 13) ISPN000079: Channel ejb local address is node-0, physical addresses are [0:0:0:0:0:0:0:1:7600]
&amp#27;[0m&amp#27;[0m21:40:10,228 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 28) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
&amp#27;[0m&amp#27;[0m21:40:10,228 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 28) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
&amp#27;[0m&amp#27;[0m21:40:10,228 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 24) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
&amp#27;[0m&amp#27;[0m21:40:10,229 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 24) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
&amp#27;[0m&amp#27;[0m21:40:10,235 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 24) ISPN000078: Starting JGroups channel web
&amp#27;[0m&amp#27;[0m21:40:10,235 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 24) ISPN000094: Received new cluster view for channel web: [node-0|0] (1) [node-0]
&amp#27;[0m&amp#27;[0m21:40:10,235 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 24) ISPN000079: Channel web local address is node-0, physical addresses are [0:0:0:0:0:0:0:1:7600]
&amp#27;[0m&amp#27;[0m21:40:10,262 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 13) WFLYCLINF0002: Started dist cache from ejb container
&amp#27;[0m&amp#27;[0m21:40:10,307 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 24) WFLYCLINF0002: Started granular-distributable.war cache from web container
&amp#27;[0m&amp#27;[0m21:40:10,322 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 28) WFLYCLINF0002: Started dist cache from web container
&amp#27;[0m&amp#27;[0m21:40:10,504 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 26) WFLYUT0021: Registered web context: /granular-distributable
&amp#27;[0m&amp#27;[0m21:40:10,514 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0010: Deployed "granular-distributable.war" (runtime-name : "granular-distributable.war")
&amp#27;[0m21:40:10,537 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-1
&amp#27;[0m21:40:10,556 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-1/standalone/data/content/9a/9b3f1612b930af2867d0defba70327139beec8/content
&amp#27;[0m&amp#27;[0m21:40:10,558 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "granular-distributable.war" (runtime-name: "granular-distributable.war")
&amp#27;[0m&amp#27;[33m21:40:10,572 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) WFLYSRV0018: Deployment "deployment.granular-distributable.war" is using a private module ("org.jboss.as.clustering.common:main") which may be changed or removed in future versions without notice.
&amp#27;[0m&amp#27;[33m21:40:10,572 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) WFLYSRV0018: Deployment "deployment.granular-distributable.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.

Windows Build 2866 outcome was SUCCESS using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1
Summary: Tests passed: 3055, ignored: 358 Build time: 00:53:22

Linux Build 7828 is now running using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1

Windows Build 2869 is now running using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1

Linux Build 7828 outcome was SUCCESS using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1
Summary: Tests passed: 3055, ignored: 358 Build time: 00:48:56

Windows Build 2869 outcome was SUCCESS using a merge of d3f11fa5f6454d562af4eb07e1b871105c4713f1
Summary: Tests passed: 3055, ignored: 358 Build time: 00:52:53

Linux Build 7902 is now running using a merge of 083ea8c9aeca10497fc923872e63db30e28349af

Windows Build 2943 is now running using a merge of 083ea8c9aeca10497fc923872e63db30e28349af

Linux Build 7902 outcome was SUCCESS using a merge of 083ea8c9aeca10497fc923872e63db30e28349af
Summary: Tests passed: 3056, ignored: 358 Build time: 00:48:52

Windows Build 2943 outcome was SUCCESS using a merge of 083ea8c9aeca10497fc923872e63db30e28349af
Summary: Tests passed: 3056, ignored: 358 Build time: 00:51:40

:+1: Looks good.

@rachmatowicz ejb3 lacks transformers for EAP 6.4 and this PR should also add transformers for that, I have added this at https://github.com/wildfly/wildfly/pull/8046, however since my PR does other stuff it cannot be merged until we have a core upgrade. If you prefer you can pull out my commit, and if this PR gets merged firsts I'll revise my PR

@kabir Any idea when the next core upgrade will take place?

@rachmatowicz Not sure, although bear in mind t hat the next is CR, so we should be feature complete by then. There are a few transformer related things needing a core upgrade before they can be merged, so I have asked for a window of a day or two between releasing core and full. But whether that will happen or not, I don't know.

OK. I'll remove your commit for the time being.

@rachmatowicz I will do a core Beta release tomorrow, and the full CR1 happens on Wednesday with a core CR1 release the day before

Re-based successfully.

Linux Build 8023 outcome was FAILURE using a merge of a60ea6d30c2cd1d335159fa51056de5abf8a561b
Summary: Tests failed: 1 (1 new), passed: 3080, ignored: 360 Build time: 00:47:47
Failed tests
org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredQueue: java.lang.AssertionError: null
	at org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.receiveMessage(ClusteredMessagingTestCase.java:218)
	at org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.receiveMessage(ClusteredMessagingTestCase.java:232)
	at org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredQueue(ClusteredMessagingTestCase.java:138)
------- Stdout: -------
00:01:39,153 WARNING [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Bundles path is deprecated and no longer used.
00:01:39,157 INFO  [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Starting container with: [/usr/java/latest/bin/java, -D[Standalone], -Xms64m, -Xmx512m, -Xmx512m, -Djava.net.preferIPv4Stack=true, -Djava.net.preferIPv4Stack=false, -Djava.awt.headless=true, -Djboss.modules.system.pkgs=org.jboss.byteman, -Djboss.dist=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/../../../dist/target/wildfly-10.0.0.CR1-SNAPSHOT, -Djboss.dist=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/../../../dist/target/wildfly-10.0.0.CR1-SNAPSHOT, -Djava.net.preferIPv6Addresses=true, -server, -Dts.timeout.factor=100, -Dnode0=::1, -Dnode1=::1, -Dmcast=ff13::1, -Dmcast.ttl=0, -Djbossas.ts.submodule.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering, -Djbossas.ts.integ.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/.., -Djbossas.ts.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/../.., -Djbossas.project.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/../../.., -Djboss.inst=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0, -Djboss.node.name=node-0, -Djboss.messaging.cluster.password=clusterpwd, -ea, -Djboss.home.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0, -Dorg.jboss.boot.log.file=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/log/server.log, -Dlogging.configuration=file:/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/configuration/logging.properties, -jar, /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/jboss-modules.jar, -mp, /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/modules:/opt/buildAgent/work/a31d203e70e89f90/dist/target/wildfly-10.0.0.CR1-SNAPSHOT/modules:/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/modules, org.jboss.as.standalone, -Djboss.home.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0, -Djboss.server.base.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone, -Djboss.server.log.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/log, -Djboss.server.config.dir=/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/configuration, -Dts.wildfly.version=10.0.0.CR1-SNAPSHOT, -c=standalone-full-ha.xml]
00:01:39,242 INFO  [org.xnio] (main) XNIO version 3.3.1.Final
00:01:39,295 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.3.1.Final
00:01:39,329 INFO  [org.jboss.remoting] (main) JBoss Remoting version 4.0.9.Final
 [0m00:01:39,709 INFO  [org.jboss.modules] (main) JBoss Modules version 1.4.4.Final
 [0m [0m00:01:39,903 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
 [0m [0m00:01:39,988 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Full 10.0.0.CR1-SNAPSHOT (WildFly Core 2.0.0.Beta6) starting
 [0m [33m00:01:41,444 WARN  [org.jboss.as.controller] (Controller Boot Thread) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [("interface" => "management")]
 [0m [33m00:01:41,444 WARN  [org.jboss.as.controller] (Controller Boot Thread) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [("interface" => "public")]
 [0m [33m00:01:41,445 WARN  [org.jboss.as.controller] (Controller Boot Thread) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [("interface" => "unsecure")]
 [0m [0m00:01:41,466 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 25) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
 [0m [33m00:01:41,477 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 27) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [
    ("subsystem" => "jgroups"),
    ("stack" => "udp"),
    ("transport" => "UDP")
]
 [0m [33m00:01:41,479 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 27) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [
    ("subsystem" => "jgroups"),
    ("stack" => "udp"),
    ("protocol" => "PING")
]
 [0m [33m00:01:41,479 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 27) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [
    ("subsystem" => "jgroups"),
    ("stack" => "udp"),
    ("protocol" => "MERGE3")
]
 [0m [33m00:01:41,480 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 27) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [
    ("subsystem" => "jgroups"),
    ("stack" => "udp"),
    ("protocol" => "FD_SOCK")
]
 [0m [33m00:01:41,480 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 27) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [
    ("subsystem" => "jgroups"),
    ("stack" => "udp"),
    ("protocol" => "FD_ALL")
]
 [0m [33m00:01:41,481 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 27) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [
    ("subsystem" => "jgroups"),
    ("stack" => "udp"),
    ("protocol" => "VERIFY_SUSPECT")
]
 [0m [33m00:01:41,481 WARN  [org.jboss.as.controller] (ServerService Thread Pool -- 27) Number of possible capabilities registered on resource and number of runtime capabilities don't match for path: [
    ("subsystem" => "jgroups"),
    ("stack" => "udp"),
    ("protocol" => "pbcast.NAKACK2")

Retest this please

Retest this please

retest this please

Linux Build 8061 outcome was FAILURE using a merge of ce71c20503f1f58fa0a2209af79a0da7c5409f0a
Summary: Tests failed: 1 (1 new), passed: 3118, ignored: 364 Build time: 00:53:31
Failed tests
org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase(SYNC-tcp).nestedBeanFailover: java.lang.AssertionError: expected:<20090909> but was:<20010101>
	at org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase.nestedBeanFailover(StatefulFailoverTestCase.java:298)
------- Stdout: -------
16:49:16,263 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
16:49:16,263 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
16:49:16,264 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-0
 [0m16:49:16,301 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/data/content/a6/0a24e9ca1b1c145265df34a4522ea4ed9cd219/content
 [0m [0m16:49:16,311 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "stateful-failover.war" (runtime-name: "stateful-failover.war")
 [0m [33m16:49:16,337 WARN  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0012: Warning while parsing vfs:/content/stateful-failover.war/WEB-INF/beans.xml:1 cvc-elt.1.a: Cannot find the declaration of element 'beans'.
 [0m [0m16:49:16,338 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for test
 [0m [0m16:49:16,383 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment stateful-failover.war
 [0m [0m16:49:16,388 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'TimeoutIncrementorBean' in deployment unit 'deployment "stateful-failover.war"' are as follows:

	java:global/stateful-failover/TimeoutIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/stateful-failover/TimeoutIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/TimeoutIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:global/stateful-failover/TimeoutIncrementorBean
	java:app/stateful-failover/TimeoutIncrementorBean
	java:module/TimeoutIncrementorBean

 [0m [0m16:49:16,389 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'SimpleIncrementorBean' in deployment unit 'deployment "stateful-failover.war"' are as follows:

	java:global/stateful-failover/SimpleIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/stateful-failover/SimpleIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/SimpleIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:global/stateful-failover/SimpleIncrementorBean
	java:app/stateful-failover/SimpleIncrementorBean
	java:module/SimpleIncrementorBean

 [0m [0m16:49:16,389 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'TimerIncrementorBean' in deployment unit 'deployment "stateful-failover.war"' are as follows:

	java:global/stateful-failover/TimerIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/stateful-failover/TimerIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/TimerIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:global/stateful-failover/TimerIncrementorBean
	java:app/stateful-failover/TimerIncrementorBean
	java:module/TimerIncrementorBean

 [0m [0m16:49:16,389 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'JDBCResourceManagerConnectionFactoryIncrementorBean' in deployment unit 'deployment "stateful-failover.war"' are as follows:

	java:global/stateful-failover/JDBCResourceManagerConnectionFactoryIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/stateful-failover/JDBCResourceManagerConnectionFactoryIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:module/JDBCResourceManagerConnectionFactoryIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:global/stateful-failover/JDBCResourceManagerConnectionFactoryIncrementorBean
	java:app/stateful-failover/JDBCResourceManagerConnectionFactoryIncrementorBean
	java:module/JDBCResourceManagerConnectionFactoryIncrementorBean

 [0m [0m16:49:16,389 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'PersistenceIncrementorBean' in deployment unit 'deployment "stateful-failover.war"' are as follows:

	java:global/stateful-failover/PersistenceIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor
	java:app/stateful-failover/PersistenceIncrementorBean!org.jboss.as.test.clustering.cluster.ejb.stateful.bean.Incrementor

Retest this please


Fix labelling in search page

Add Label and Label All features in search page were fixed.

Thanks!


Get performance counters per epoch of DNN train

I would like to get some help regarding the use of the Library public API of rocprofiler.
I am currently using the AMD Radeon Vega Frontier Edition to train machine learning models using the PyTorch framework. As part of my task, I need to get the output of the performance counters between each epoch of the train and get it while the model is training.
The pseudocode of the application is something like:
Init Program;
for epoch in range(1,10): {
Reset performance counters;
Train(); //Train one epoch of the model;
Output Performance counters value of epoch to file;
}
What is the best way to accomplish this? Since my framework is in python, I was thinking of creating a .so file with the API methods written in C++. Can I invocate APIs calls in my PyTorch script that interacts with the rocprof command-line tool?
Thank you for your help.
Setup:

ROCM 2.8
CentOS 7.5
Python 3.6
PyTorch 1.3

We don't provide Python wrapper for rocProfiler C API.
You can make a C library callable from Python by wrapping it with Cython<EMAIL_ADDRESS>So you can try to use Cython to call rocProfiler or your helper library which will use rocProfiler.

@TheEmbbededCoder seconding what @eshcherb said here from the PyTorch perspective. You can use both the event-based autograd profiler and the rocTX / emit_nvtx() functionality with PyTorch on ROCm. So while you can trace and get overall performance counters, per iteration counters are not currently supported.

Please check latest ROCm Documentation and ROCm 5.7.1 to see if your query has been resolved.  If resolved, please close the ticket.  Thanks.

Original ticket is more than a year old and the person that opened the ticket has not responded to the latest request.  If this is still an issue, please file a new ticket and we will investigate.  Thanks!


Missing metrics?

While researching the pusher and pushsync, I noticed that they have declared metrics.  Having stumbled across the /metrics debugAPI earlier, I wondered why I didn't notice the pusher metrics.  Well, they aren't there!
Tracing back to how items get added to the /metrics display (via prometheus), I found that node.go doesn't add pusher nor pushsync, and it also doesn't add puller nor pullsync.
Is there a reason that these implemented metrics are not included?

Thanks @ldeffenb, this is clearly missing, we will register these metrics in node.go.

Actually, @zbiljic already prepared the PR https://github.com/ethersphere/bee/pull/809.

Just saw this issue. I noticed same thing. Created PR #809.

Glad to know I was on the right track.


Customizable sort criteria

fzf lists the matches using the following sort criteria:

First by the sum of the lengths of matched substrings (plural because of extended-search mode)
Then by the length of the line
Lastly by line index (line number)

From my experience, this default scheme works pretty well for most of the cases, especially for files. I know there can be a wide variety of different needs but it is practically impossible to meet every requirement, and no, I'm not going to invent a DSL for unlimited customization. However, I think it's still desirable that we provide a small room for customization in sort criteria if it doesn't bring too much complication.
# Default scheme (line index is implied)
--sort-by=match,len

# When the length of the string doesn't matter
# (This I think is the #1 reason to want customization)
--sort-by=match

# It doesn't make sense to bring line index to the front,
# it effectively invalidates the ones that follow
# --sort-by=index,match,len

# We can think of another sort criterion. Distance from the front/back.
--sort-by=match,front
--sort-by=match,back

# Nobody would possibly want this
# --sort-by=-match

# Shorter names?
--sort-by=mf
--sort-by=mbl

# Are we ever going to NOT want "m"?
# If it's always the first criterion, we could simplify the option a bit:
# Just choose one from length, front, back, and index
--tiebreak=front

Unwanted side effects:

Complication (also from the user's perspective)
Increased memory footprint and performance overhead

Another idea:
It could take in a executable/function name that is passed the query string and matching line (and possibly other information like match lengths) and returns a key. This would allow total customization while keeping fzf itself as simple as possible.
This is probably prohibitively slow, of course, since it would have to call out to an external process on every line. Something like that would be pretty neat though.

@qiemem That's an interesting idea, thanks, and yeah, it's true that it'll be prohibitively slow. It should allow total customization, but at the same time, it'll be be much harder to user for ordinary users.
I'm leaning towards adding --tiebreak option. Simpler and does the job. Also no increase in memory footprint or sorting cost.

--tiebreak

length - Good default when the meaning of the input is not known
begin - Nice for columnar input. e.g. Chrome history / bookmark
end - Useful when searching for file names. File name > Dir name
index - history where the recency of the command is more important than the length of if


Is it possible to define several paths in same language for a page?

I want to know if it is possible to set several paths for a page to be accessed in an specific language, I'm usingin-componentrouting:
export default {
...
nuxtI18n: {
    paths: {
		es: "/empresas/plataforma", // But I want to access by /plataforma and /empresas/plataforma, same in English (/platform and /business/platform),
                 /*  es: [ "/plataforma", "/empresas/plataforma" ]  Maybe something like this?*/
	},
},
...
}

In documentation there's not reference for this kind of usage, I hope you understand what I need. Thanks.

Not possible right now.

This is still not possible, I suppose this could be achieved by adding support for localized aliases 🤔


Increase code coverage

In additional to #6

Coverage increased (+23.7%) to 100.0% when pulling 62dc96923cbaac69b01d1f1513144a15d240ce82 on coverage-increase into 4239d23fa824715d20c74127e4b21fb533e6d956 on master.

Coverage increased (+23.7%) to 100.0% when pulling 3c86e666155e90f016645d6cb5cc850f8776e1ea on coverage-increase into 4239d23fa824715d20c74127e4b21fb533e6d956 on master.

@rultor merge

@rultor merge

@valery1707 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@valery1707 Done! FYI, the full log is here (took me 2min)


Metastrategy N-03 [Unindexed events]

Issue description:
Consider indexing the VaultCore events to assist the task of off-chain services searching
and filtering for specific events.
Note:
I have not changed existing events to indexed. Would probably be confusing since events already emitted would have not shown up in the index.

Yes, good to not change the others. That would mess up our monitoring.
I don't think we need to make this change. Events like Transfer are good candidates for indexes, because a lot of the use of the events is from the "users" point of view. However here the use of this event all about config changes to this contract. I would rather keep consistency, and everything we use the event for is tracked based off the contract emitting the event.

Agreed, closing this one


R84: Home Page: The Software Home Page bar graph shall display recalls by notification type since 2004 along with the caption 'Recalls by Notification Type since 2004'

Tools: JQuery
Metadata: initial_firm_notification, recall_initiation_date

Completed.
SQA


Editing Tagged model concatenates tags into one by removing delimiter

e.g.
tag1, tag2, tag3 => tag1 tag2 tag3

Having same issue here when I upgraded to rails 4.2.
My temporary solution is using join(",") on array inside the view, to feed my tags-editor.

I'm on rails 4.2.3
For some reason TagList#to_s isn't called within the form object.
So <%= @object.tag_list %> works as expected but <%= f.input :tag_list %> doesn't.
A quick hack is to decorate your tag attribute :
class Book < AR
  def tag_list
    super.to_s
  end
end


Shutdown Mode

If Userbutton ist pressed longer then 5 seconds Show nice Logo in EPaper an go too deepest possoble sleep Mode that ist possible to wake up from user Button and Turn every supply of

implemented in d4b2b35e3f0da1f427423c646785ef09821669e5


[Release-1.28] - K3s docker image is missing user info for root

Backport fix for K3s docker image is missing user info for root

#9789

Validated on Version:
-$  k3s version v1.28.8+k3s-feb211d3 (feb211d3)

Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
SUSE Linux Enterprise Server 15 SP4
Cluster Configuration:

1 server

Steps to validate the fix

run k3s on docker and exec into it
Validate user infos

Reproduction Issue:

/k3s$ sudo docker exec -it k3s-server sh
/ # id
uid=0 gid=0 groups=0
/ # k3s -v
k3s version v1.28.8+k3s1 (653dd61a)
go version go1.21.8
/ # whoami
whoami: cannot find name for user ID 0: No such file or directory

Validation Results:

 ~ # whoami
root

~ # cat /etc/passwd /etc/group
root:x:0:0:root:/:/bin/sh
root:x:0:

~ # groups
root


[FIX #356] added html5 file format ( .ogg and .webm )

maybe it can help issues and correct

i wanna close it and make a new pr about that


App-specific user management

I'm converting my app from using the Parse backend to a more powerful and flexible solution on Azure. My iOS app has user registration provided through Parse, where the user picks a username and password which is stored in a Users table. The user login and registration is handled through native UITextField components in the app.
At first I thought I could use Active Directory as the user management solution, but it seems that is more geared towards organizations with a set number of users/employees and not a public-facing application. I don't see how I could register a new user from the app on AD, or how I could log in using native UI.
It seems like maybe I can do all user management in code, storage/hashing of passwords, password reset, and so on, but this is sensitive information and I would prefer that the service handle this for me. Is that my only other option?
I don't know the proper channel for requesting this, but I think a service that uses a connected database for user management would be a major plus for an application like mine. I would even pay a small monthly fee for a service like this. What are the odds that the Azure team is working on something like that?

One good channel for feedback like this is the Azure feedback site.
You are correct that AAD does not support this in the normal case - really it's not meant for registration actions at all. There is a new service in preview, AAD B2C, which provides some of the capabilities you are looking for. I don't think there is support right now for providing your own text boxes, though.
On the App Service side, we also provide mechanisms for doing sign-in with custom accounts, but it does require you to do the password management etc. in your own code. We're looking at some better integrations with framework solutions here (e.g., ASP.NET Identity), but you should be able to start with those, which would help a bit.
We're definitely aware that this is a needed scenario, and we will be working to improve the authentication experience. For now though, your best bet is to write it yourself, try AAD B2C, or integrate another 3rd-party auth solution.

Moving to -apps since it applies across all SDKs.


Update jsoniter-scala-core, ... to 2.28.2

About this PR
📦 Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.17.9 to 2.28.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.plokhotnyuk.jsoniter-scala" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #852.


Update Bump.sh description and new logo

Description

Updating the Bump.sh product description
Updating the Bump.sh logo to the new version

@ChristopheDujarric please check the DCO check (mandatory) and I'll merge asap

@yada thank you! Now fixed 👍

Deployment has been done on hub.microcks.io and logo and description are now updated. However, only the APIPackage logo has been updated - the Train Travel APIVersion still remains on older logo. Don't know if it's intended or not. If you want to apply the same update on Train Travel, you have to update the https://github.com/microcks/community-mocks/blob/master/artifacts/bump.sh/train-travel/1.0/train-travel.1.0.api.yml file.

Thank you! It was not intended, I'll update it right now.


Build env specific refreshLInk

@tatlax3636 close this PR, should not add server names. this PR to be deleted.


panic: sync: WaitGroup is reused before previous Wait has returned

panic: sync: WaitGroup is reused before previous Wait has returned

goroutine 94911 [running]:
sync.(*WaitGroup).Wait(0xc420157fc0)
	/home/lvzhuo/packages/go/src/sync/waitgroup.go:133 +0xd8
github.com/Shopify/sarama.(*asyncProducer).shutdown(0xc420157f80)
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/async_producer.go:810 +0x147
github.com/Shopify/sarama.(*asyncProducer).(github.com/Shopify/sarama.shutdown)-fm()
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/async_producer.go:223 +0x2a
github.com/Shopify/sarama.withRecover(0xc420ff8b70)
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/Shopify/sarama.(*asyncProducer).AsyncClose
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/async_producer.go:223 +0x7b
panic: sync: WaitGroup is reused before previous Wait has returned

goroutine 94912 [running]:
sync.(*WaitGroup).Wait(0xc420157fc0)
	/home/lvzhuo/packages/go/src/sync/waitgroup.go:133 +0xd8
github.com/Shopify/sarama.(*asyncProducer).shutdown(0xc420157f80)
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/async_producer.go:810 +0x147
github.com/Shopify/sarama.(*asyncProducer).(github.com/Shopify/sarama.shutdown)-fm()
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/async_producer.go:223 +0x2a
github.com/Shopify/sarama.withRecover(0xc420ff8ba0)
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/utils.go:46 +0x43
created by github.com/Shopify/sarama.(*asyncProducer).AsyncClose
	/data/lvzhuo/workspace/go/src/github.com/Shopify/sarama/async_producer.go:223 +0x7b

How to solve this?

Somewhere your app is making multiple simultaneous calls to AsyncClose. You can't do that.


Support inclusion of non-js/code files within a bridge NuGet package

We're using Bridge with React and would like to build NuGet packages for react components. Components can have styling (and fonts, images, css sprites) in addition to just code and we're evaluating options for the best way to be able to bundle these into a package. Since we may have a package-per-component it could be tedious work to pull in a NuGet package into the Bridge project and then have to do something additional to get the CSS/images/etc..
You already have a mechanism for embedding JS inside the DLL which the Bridge compiler pulls out; it might be a nice feature if we could ship other assets in there too and have them pulled out during compilation (eg. into another folder listed in bridge.json). Possibly these could live in a content folder to keep some parallel with the way these could be done in normal C#/NuGet-land.
I don't know how common this need is (most people probably edit all their CSS centrally and aren't trying to componentise things the way we are), but I thought it might be worth discussing.
(If you have other suggestions for achieving the same thing, they're welcome too!)

Hi @DanTup,
I would suggest using #1680 Resource embedding config options introduced in 15.0.
Basically, you can specify bridge.json resource setting to control what files you need to embed. It can be either file - Bridge generated output or your custom files. You can also combine several files into one resource and add a header into the resource or remark for each file being included into the resource.
For example, your library generates two files code1.js and code2.js. You need to combine the output files into one file myLibrary.js and include a custom css file - myStyle.css (located in folder ProjectRoot\Css). You would do this in your library's bridge.json:
  "resources": [
    {
      "name": "myLibrary.js",
      "header": "// {version} {author}",
      "remark": "// source @{name}\n",
      "files": [
        "Bridge/output/code1.js",
        "Bridge/output/code2.js"
      ]
    },
    {
      "name": "myStyle.css",
      "output": "Css/",
      "files": [ "Lib/myStyle.css" ]
    }
  ]

As a result, you would get  myLibrary.js (composed of the two files code1.js and code2.js) and myStyle.css embedded into your library assembly resources.
Referencing your library dll in another project (and actually using the library code to force .Net to "use" the assembly), the two files myLibrary.js and myStyle.css are outputted. The only thing is that they will be placed in the output folder all together. We will try to get a setting to control the resources output folder in 15.4.

I'm struggling to implement this. I may have understood what is and isn't possible, so here's what I'm trying to do:
I've created a project (a class library with Bridge.Min and Bridge.Html5) called "ExampleComponentWithBridgeResources" which has some C# that defines a component class and that has a "myStyle.css" file that I want to be used anywhere that the component is drawn.
Then I've created a project called "ExampleApplication" (again, a class library with Bridge.Min and Bridge.Html5) which references "ExampleComponentWithBridgeResources". This has a [Ready] method that will draw an instance of the component to Document.Body and has a "bridge.json" configuration file that will combine scripts and build to "../Host/Bridge/output".
Finally, I have a .NET web application project called "Host" that is used to load JavaScript and style sheets.
What I want is for the C# in "ExampleComponentWithBridgeResources" and "ExampleApplication" to be combined and put in "Host/Bridge/output". I also want the "myStyle.css" file from "ExampleComponentWithBridgeResources" to end in up the "Host" folder somewhere.
I added the following bridge.json file to the "ExampleComponentWithBridgeResources" project, which successfully includes the style sheet as a resource in the binary but it doesn't include the JavaScript for the component -
{
"resources": [
{
"name": "myStyle.css",
"output": "Css/",
"files": [ "myStyle.css" ]
}
]
}
It also injects that style sheet into the combined JavaScript file.
Do I need to specify a "resources" entry for the "ExampleComponentWithBridgeResources" JavaScript and another for "myStyle.css"?

By changing the bridge.json file in "ExampleComponentWithBridgeResources", I can get both the JavaScript and the style sheet included as resources in the binary -
{
  "resources": [
    {
      "name": "exampleComponentWithBridgeResources.js",
      "files": [ "bin/Debug/exampleComponentWithBridgeResources.js" ]
    },
    {
      "name": "myStyle.css",
      "output": "Css/",
      "files": [ "myStyle.css" ]
    }
  ]
}

.. but they are still both being included in the combined script output.
If I disable "combineScripts" then I can see that "myStyle.css" appear in the Host/Bridge/output folder - so I guess that the problem is with the "combineScripts" option? (That, presumably, it should only combine ".js" resources and keep any others separate?)

@ProductiveRage,
Yes, we will refine combineScripts option, thanks for pointing this out.
Using resources option, we can just combine the scripts to include bridge.js by:
{
  "combineScripts": false,
  "resources": [
    {
      "name": "exampleComponentWithBridgeResources.js",
      "files": [
          "your_output_folder/bridge.js"
          "your_output_folder/exampleComponentWithBridgeResources.js"
      ]
    },
    {
      "name": "myStyle.css",
      "files": [ "myStyle.css" ]
    }
  ]
}

I'm afraid that I don't quite follow your example - are you suggesting that that would be one way to workaround the problem? Would I change the bridge.json file in the "ExampleComponentWithBridgeResources" or the "ExampleApplication" project? If it would be in the "ExampleApplication" project then I guess that I'd need to keep track of every other project or dependency that it referenced, which wouldn't scale very easily.. unless there was a way to use wildcards in the "files" entries within resources, so I could just specify "*.js"?
If the "combineScripts" option is going to be refined for 15.4, then I'll just wait for that :) If you need any further clarification on how we'd like to use the feature then please let me know.

After playing around a bit, I've got the "ExampleComponentWithBridgeResources" bridge.json file to be the following:
{
  "resources": [
    {
      "name": "exampleComponentWithBridgeResources.js",
      "files": [ "bin/Debug/exampleComponentWithBridgeResources.js" ]
    },
    {
      "name": "myStyle.css",
      "files": [ "myStyle.css" ]
    }
  ]
}

and the "ExampleApplication" bridge.json to be
{
  "resources": [
    {
      "name": "exampleApplication.js",
      "output": "../Host/Bridge/output",
      "files": [
        "bin/Debug/bridge.js",
        "bin/Debug/bridge.react.js",
        "bin/Debug/productiveRage.immutable.js",
        "bin/Debug/productiveRage.immutable.extensions.js",
        "bin/Debug/cssInject.js",
        "bin/Debug/common.js",
        "bin/Debug/exampleComponent.js",
        "bin/Debug/exampleComponentWithBridgeResources.js",
        "bin/Debug/exampleApplication.js"
      ]
    },
    {
      "name": "myStyle.css",
      "output": "../Host/Bridge/stylesheets",
      "files": [ "bin/Debug/myStyle.css" ]
    }
  ]
}

This works, in that the "Host" web application gets a combined "exampleApplication.js" file in its "Bridge/output" folder and it gets the "myStyle.css" file in its "Bridge/stylesheets" folder.
However, as you can see, it's very unwieldy. It would be excellent if "myStyle.css" could be specified only in the "ExampleComponentWithBridgeResources" bridge.json and for the "ExampleApplication" bridge.json to not have to specify every file that is required.
I'm also wondering if I'm doing something wrong with including "bin/Debug" each time. What about when I want to build from "bin/Release"? Is it possible to include minified and non-minified versions?

Hi @ProductiveRage,
We discussed your bin/Debug/ configuration and we will be adding support for $(OutputPath) tokens. Same syntax that is used in .csproj and .targets files. Your files paths could then be updated to the following:
"$(OutputPath)bridge.js",

The goal is to have this available for the 15.4 release.

@ProductiveRage,
Regarding bin/Debug, as stated above we will support $(OutputPath) token.
Another option is to use to #1033 feature - bridge.Debug.json/bridge.Release.json.
And one more option would be trying to output and keep scripts in folders not depending on build configuration for all projects.

@ProductiveRage, we created a branch for this feature implementation. It would be great if you could look at its description, check out the code and provide a feedback. It is a current implementation, $(OutputPath) token is in progress.

I have tested the "combineScripts" fix and the change to the resource file specification (apart from the "$(OutputPath)", which I understand you to be saying is not ready yet).
My "ExampleComponentWithBridgeResources" bridge.json file looks like this:
{
  "resources": [
    {
      "name": "exampleComponentWithBridgeResources.js",
      "files": [ "bin/Debug/exampleComponentWithBridgeResources.js" ]
    },
    {
      "output":  "../stylesheets",
      "name": "MyOtherTextBox.less",
      "files": [ "MyOtherTextBox.less" ]
    }
  ]
}

and my "ExampleApplication" bridge.json file looks like this:
{
  "combineScripts": true,
  "output": "../Host/Bridge/output"
}

And it works!
The combined JavaScript from ExampleApplication (including the JavaScript from "ExampleComponentWithBridgeResources") appears in
/Host/Bridge/output
and the style sheet from "ExampleComponentWithBridgeResources" appears in
/Host/Bridge/stylesheets
which is exactly what I wanted! :)

@ProductiveRage, thank you for the detailed feedback (especially for a positive one!).

@ProductiveRage

Is it possible to include minified and non-minified versions?

Yes, you can include both minified and non-minified versions in ExampleComponentWithBridgeResources:

{
  "outputFormatting": "Both",
  "resources": [
    {
      "name": "exampleComponentWithBridgeResources.js",
      "files": [ "bin/Debug/exampleComponentWithBridgeResources.js" ]
    },
    {
      "name": "exampleComponentWithBridgeResources.min.js",
      "files": [ "bin/Debug/exampleComponentWithBridgeResources.min.js" ]
    }
  ]
}

Or, having embedded just non-minified output in ExampleComponentWithBridgeResources:

{
  "outputFormatting": "Formatted",
  "resources": [
    {
      "name": "exampleComponentWithBridgeResources.js",
      "files": [ "bin/Debug/exampleComponentWithBridgeResources.js" ]
    }
  ]
}

You can set "outputFormatting" to "Minified" or "Both" in ExampleApplication bridge.json:
{
  "outputFormatting": "Minified|Both"
  "combineScripts": true,
  "output": "../Host/Bridge/output"
}

Compiling ExampleApplication, it will minify ExampleComponentWithBridgeResources's embedded resource output as well (if "Both" option being used then it will output both minified and non-minified resources).

If only minified version required then in ExampleComponentWithBridgeResources use:

{
  "outputFormatting": "Minified",
  "resources": [
    {
      "name": "exampleComponentWithBridgeResources.min.js",
      "files": [ "bin/Debug/exampleComponentWithBridgeResources.min.js" ]
    }
  ]
}

Regardless of the "outputFormatting" option in ExampleApplication, it will have only minified resource version.

We created three separate issues to manage this request:

#2008 CombineScripts mixes up js and non-js output
#2009 Embedding resources output folder specification
#2010 OutputPath token for resources.files setting


"Prisăcani" is listed in the drop-down menu

Description:
"Prisăcani" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Prisăcani" in the search bar.

Expected results
The location is listed in the drop-down menu as "Prisăcani, Botoșani (Flămânzi)".

ATTENTION:
Request - "Prisăcani, Botoșani (Flămânzi)"
In dropbox, the request is displayed correctly. - "Prisăcani, Botoșani (Flămânzi)"
After you click on the text, what is displayed in the window this is different - "Prisăcani, Botoșani (FLĂMÂNZI)"


Feature/home page text

Changing the text at the top of the page

 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.:x: exnuke1972 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Change to the text at the top of the page


Add rolling version upgrade support for ignore_unmapped

Description

Adds in rolling version upgrade support for ignore_unmapped

Issues Resolved

N/A

Check List

[ ] New functionality includes testing.

[ ] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed as per the DCO using --signoff

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

@kotwanikunal thanks for raising the PR. Will wait for all BWC to gh actions to complete.

@kotwanikunal can you fix the failed GH actions?

Good finding, we should do same in other repos. Will approve once CI is fixed. Current error is from spotless, you can run spotlessApply

Pushed linting fixes in.

@kotwanikunal is there pending?

@kotwanikunal is there pending?

I had a rebase pending.
Updated the PR with latest references.


bug: "Allow User Location" shouldn't be synced.

Bug Report
Installation Method
Not relevant.
Environment

Open WebUI Version: v0.3.28

Operating System: macOS Sequoia & Windows 11

Browser (if applicable): Any. Tested with Arc and Safari.

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.
[x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
Being able to start a chat.
Actual Behavior:
"Uh-oh! There was an issue connecting to gpt-4o-mini-2024-07-18."
Description
Bug Summary:
If starting a chat on a browser where location access isn't enabled. A chat can't be started, even when location variables in system prompt is not present. This makes it impossible to use the same account on two different computers if location access is not allowed on any of them. Even when not using location data in the chat.
Reproduction Details
Steps to Reproduce:

Login to Open WebUI on computer A where location access is enabled for the browser (in my case macOS and Arc/Safari).
Login to Open WebUI on computer B where location access is not allowed (Windows Settings > Privacy and Security > Location). In my case Windows 11 and Arc.
Enable "Allow User Location" in Open WebUI settings on computer A.
Start a chat on computer A.
Continue the chat on computer B and see the error message.

Logs and Screenshots
Browser Console Logs:
Help.DrnJdJJD.js:147 submitPrompt
2UserMessage.svelte:85 UserMessage mounted
ResponseMessage.svelte:325 ResponseMessage mounted
Help.DrnJdJJD.js:147 modelId gpt-4o-mini-2024-07-18
Help.DrnJdJJD.js:148 null
index.ts:370 Error getting user location: GeolocationPositionError {code: 2, message: ''}
(anonymous) @ index.ts:370
Promise.catch
re @ index.ts:369
R @ index.ts:259
Kt @ Help.DrnJdJJD.js:154
await in Kt
(anonymous) @ Help.DrnJdJJD.js:148
await in (anonymous)
Ot @ Help.DrnJdJJD.js:147
await in Ot
Nt @ Help.DrnJdJJD.js:147
await in Nt
Kt @ Help.DrnJdJJD.js:47
Help.DrnJdJJD.js:158 GeolocationPositionError {code: 2, message: ''}code: 2message: ""[[Prototype]]: GeolocationPositionErrorPERMISSION_DENIED: 1POSITION_UNAVAILABLE: 2TIMEOUT: 3code: (...)message: (...)constructor: ƒ GeolocationPositionError()Symbol(Symbol.toStringTag): "GeolocationPositionError"get code: ƒ code()get message: ƒ message()[[Prototype]]: Object
_e @ Help.DrnJdJJD.js:158
Kt @ Help.DrnJdJJD.js:158
await in Kt
(anonymous) @ Help.DrnJdJJD.js:148
await in (anonymous)
Ot @ Help.DrnJdJJD.js:147
await in Ot
Nt @ Help.DrnJdJJD.js:147
await in Nt
Kt @ Help.DrnJdJJD.js:47
+layout.svelte:82 usage {models: Array(1)}
+layout.svelte:82 usage {models: Array(1)}
+layout.svelte:82 usage {models: Array(0)}

Docker Container Logs:

Screenshots/Screen Recordings (if applicable):

Additional Information

In my opinion, location access should be set locally in localStorage instead of being synced between all sessions. This way a user can have location access enabled on some devices and disabled on others.
If location variables are not used in slash prompts or system prompts location access shuldn't be checked by Open WebUI since it won't be used during the conversation.

Agreed, feel free to make a PR!

Agreed, feel free to make a PR!

Feel free to assign the issue to me, and I'll fix it when I have time!😊

Any updates on this? Should this issue be closed or is there any desire to fix this if necessary still?

Haven't had time to create a fix yet, but it's still on my todo list.

Respectfully disagree that a config option somehow needs not to be synced. That breaks the entire consistency of user config being in one place. There is no need in that.
What I would do instead:

Don't request browser location simply based on the setting if it was not requested in the prompt in the first place

If location was requested but not obtained, quietly replace the placeholder with {unknown} location rather then failing the chat entirely.

.. However, there is no reason for location access to be a user option inside open-webui. The browser should only ask for location access if a prompt requires it. The option is already made at the browser level.

For one, this is already the case. It is already only requesting location (setting-permitting) if the prompt requires it. My prompts do not, and browsers are not asking for a location.
Secondly, browser-level permit is typically given once and then the browsers make hard to to track its status. While the prompt may have given or removed the location part over time. You may have given it once and then forgot.  Or what's worse, for Safari, you can reject ("Decline for today") but it will keep buzzing you with a new request every day, etc.

.. However, there is no reason for location access to be a user option inside open-webui. The browser should only ask for location access if a prompt requires it. The option is already made at the browser level.

For one, this is already the case. It is already only requesting location (setting-permitting) if the prompt requires it. My prompts do not, and browsers are not asking for a location.
Secondly, browser-level permit is typically given once and then the browsers make hard to to track its status. While the prompt may have given or removed the location part over time. You may have given it once and then forgot. Or what's worse, for Safari, you can reject ("Decline for today") but it will keep buzzing you with a new request every day, etc.
So I think

The setting is justified to exist
The setting should be reworded as 'Send user location (when a prompt includes a location tag)" to avoid confusion
The settings should be stored server-side per user, not per-device

I really don't see the problem here.
First of all, the browser's per-site settings page for controlling location access is two clicks away (Chrome, Edge, Safari, Brave etc); it's not hard to track the current setting. Second, it makes sense for Safari to ask the user for access each time a prompt using location access is sent. If the user doesn't want to share location access, they shouldn't have the variable in the prompt. Third, I haven't seen a solution to the issue described on the first page. How would you solve this issue? The current behavior doesn't make sense.


UI freezes while the client sends messages.

Description:
When sending a message, the UI becomes unresponsive. This causes a poor user experience, and it would be better to handle this asynchronously.
Proposal:
To improve usability, consider implementing asynchronous processing for message sending.
Additional Context:
@ulyssa, I'm willing to work on fixing this issue myself. Could you please provide some guidance on which part of the codebase would be a good starting point?

I’ve noticed that the UI often freezes during various other interactions involving Iamb as well. It might be beneficial to refactor all I/O operations to be handled asynchronously or move them to a dedicated I/O thread.

Attempting to join a room or send a file can cause similar freezes. I'm happy to provide logs if that's of any help


Remove install_envs

Hi, nice to meet you.
Changes

Solve #2
Allow itamae version ~> 1.4

Thank you.

sorry please wait 2-3days...:bow::bow::bow:
my pc is broken now...:cry:

It confirmed!
thanks a lot :sparkles: :sparkles: :sparkles:


Master

Type of Change

[x ] Bug fix (non-breaking change, fixes #5875)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Make Get-DbaSchemaChangeHistory SQL code safe for case-sensitive collations.
Approach
Substitute case-sensitive column names in SQL code.
Commands to test
Screenshots
Learning

hey jared! almost. It looks like you branched off of master. please branch off of development. If you need some help, join #dbatools-dev on aka.ms/sqlslack and we'll help you out (not sure of how familiar you are with github)


Release tutorials 6 and 7

[ ] Add questions
[ ] Add further reading
[ ] Add concluding message with thumbs up emoji
[ ] Reduce image sizes using harmonise_image_sizes()
[ ] Spell check
[ ] Check all code in RStudio Server

This update should also fix #13.


SA1600 triggers for internal interfaces when documentInterfaces = true and documentInternalElements = false

SA1600 is mis-firing on internal interfaces when the stylecop.json documentationRules has
documentInterfaces = true and documentInternalElements = false
example
namespace Foo
{
    internal interface Bar // SA1600 fires for this when it shouldn't
    {
        void Baz();
    }
}

This is the intended behavior of the feature. Some projects find that documenting all internal code is overwhelming or unrealistic, and instead focuses on documenting the interfaces by which various subsystems communicate.

I'm confused, how is it by design that ignore the explicit setting that I don't care about docs on internal elements. How else can I make these warning go away. "Some people" isn't all people so the tool needs to have the flexibility to do what people intend and the current options are either broken or misleading.

documentInterfaces is evaluated before documentInternalElements. If you don't want warnings reported for internal interfaces, you should set it to false.

I would like, that only public interfaces have to be documented.
I currently have the settings:
"documentationRules": {
"documentInterfaces": false,
"documentExposedElements": true,
"documentInternalElements": false
}
With this setting, I get no warning when the public interface is not documented.
@sharwell : As you have written above documentInterfaces is evaluated before documentInternalElement, I think also before documentExposedElement
How can i achieve, that  only public interfaces have to be documented?

Yes - I agree with @zplan.
This is currently a blocker for us to switch from the legacy analyzers. We have many external interfaces, which must have documentation that adheres to all the StyleCop rules. However, for internal interfaces (of which we also have many), we don't care if any of the documentation is bad.
If we set documentInterfaces to false, then we lose all the diagnostics for public interfaces, which is not OK.

@zplan @RobSiklos since the current behavior matches what was originally intended when the feature was implemented, I'm going to resolve this issue as answered. It sounds like the design does not work well for your scenarios, so please feel free to open a new issue proposing a specific change to the current behavior, and make sure to account for existing users who may be happy with the current behavior (i.e. the new behavior should only be activated by a new setting so current settings do not change).

feel free to open a new issue proposing a specific change to the current behavior, and make sure to account for existing users who may be happy with the current behavior

@sharwell Done: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3100


patch.py now reminds users to run git push before release.py

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[x] a bug fix (Fix #698)

Description
patch.py now reminds users to push to master before running release.py
Testing
Required verification:

[ ] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[ ] I've verified that this change works as intended.

[ ] Downloads all relevant content.
[ ] Downloads content from multiple pages (as necessary or appropriate).
[ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[ ] I've added a unit test to cover my change.

The failed test has nothing to do with these changes


Changed IP, services not starting anymore

I'm running a rancher server and host on the same bare metal machine. My machine got a new IP and after restarting it it will no longer start most of the services. Most of the services are trying to connect to the old ip address.
I changed the ip address that the agent connects to but the support services haven't changed their ip address.
I see these in the logs:
19/04/2018 17:49:12time="2018-04-19T15:49:12Z" level=fatal msg="Failed to subscribeGet http://<IP_ADDRESS>:8080/v2-beta: dial tcp <IP_ADDRESS>:8080: getsockopt: no route to host"
19/04/2018 17:49:19time="2018-04-19T15:49:19Z" level=info msg="Subscribing to events"

What can I do?

You will need to delete the infrastructure containers to be re-created with the correct Rancher URL/IP. See https://github.com/rancher/rancher/issues/9307
Let me know if that doesn't solve your issue.


rainloop is not support let's encrypt ssl ca ?

I use let's encrypt ssl ca
postfix conf is
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = domain.com
myhostname = mail.domain.com
mynetworks = <IP_ADDRESS>/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name unkown
smtpd_client_restrictions = reject_rbl_client, permit
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_rhsbl_sender, permit
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_non_fqdn_sender, permit
smtpd_tls_CAfile = /etc/letsencrypt/live/domain.com/fullchain.pem
smtpd_tls_cert_file = /etc/letsencrypt/live/domain.com/cert.pem
smtpd_tls_key_file = /etc/letsencrypt/live/domain.com/privkey.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:500
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = domain.net
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox
virtual_minimum_uid = 1001
virtual_uid_maps = static:5000

dovecot  configuration is :
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-327.4.4.el7.x86_64 x86_64 CentOS Linux release 7.2.1511 (Core)
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
passdb {
  args = /etc/dovecot/virtual_passwd
  driver = passwd-file
}
passdb {
  driver = pam
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
}
ssl = required
ssl_cert = </etc/letsencrypt/live/domain.com/fullchain.pem
ssl_key = </etc/letsencrypt/live/domain.com/privkey.pem
userdb {
  driver = passwd
}
userdb {
  args = uid=vmail gid=vmail home=/home/vmail/%d/%n
  driver = static
}
userdb {
  driver = passwd
}

I setting domains  Secure setting none is ok  setting ssl/tls is message :
stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

mailog is:
imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=xx.xx.xx.xx, lip=xx.xx.xx, TLS handshaking: SSL_accept() failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca: SSL alert number 48, session=<FNmah8ApqgCjLJVu>

And I use other mail client( unibox, mac os email ) is ok not error. is rainloop not support let's encrypt?

RainLoop uses standard php functionality to work with ssl connections. So, you should setup ssl (let's encrypt ssl ca) somewhere in php.ini, I think.

I setting application.ini   verify_certificate = Off  is correctly loginin rainloop, is my ca error ?
but i see the mailog is:
dovecot: imap-login: Login: user=<edward>, method=PLAIN, rip=<IP_ADDRESS>, lip=<IP_ADDRESS>, mpid=18067, TLS, session=<7OqZVNspNgCjLJVu>

it use the tls protocol

Success running let's encrypt ssl ca  ,Before I install centos 7 php5.4version and I change to 5.6 update extension openssl  not error !
see the PHP 5.6 on CentOS/RHEL 7.1 and 6.7 via Yum
yum -y remove php
yum -y remove php-*
yum -y install php56w php56w-opcache php56w-common php56w-xml php56w-imap php56w-fpm php56w-mbstring
systemctl enable php-fpm
systemctl start php-fpm


Old topics need to be archived/redirected

There are several topics that our users get via Search (need to clarify here), that are no longer relevant. These topics need to be removed/archived, and redirected to whatever the current parallel topic is.
https://www.prisma.io/docs/guides/general-guides/database-workflows
See details in this Slack convo.

@nilubava , can we use a 410 http header to really show that we are deleting these, not just redirecting?

The guide seems to be gone now. I'll go ahead and close the issue.

That the old link is a 404 nicely shows how we failed at actually achieving the original goal.


Drop Target "Over" event does not fire over the original position of a list item

Say,I have a list similar to the sortable list example. I start dragging a list item, and I move it over another list item, however, I have noticed that if I try to move the item that I am dragging back to its original position, neither "Enter", "Over" or "Leave" events work for the drop target.
Hence, I am only able to move a list item to another position other than its original position.
How do I fix this problem?

Can you put up a project that reproduces it?
Also, since the sortable example works, you can try figuring out how your code differs from it.

This is the same problem as #138.
It is solved in v1.0.0-alpha that is already on NPM.
The final 1.0 will come within a week or so.
Closing.

This is fixed in the 1.0 that was just released.


Add more formal class for domain and effect managers

No external changes. This is just a general refactor to help make contributions easier.

This commit adds EffectEngine and DomainEngine classes to more
formally manage Effects and Domains.
Domains and Effects manage their own dispatch processes. Long term, I
could see using repo.domains.add and repo.effects.add instead of
the similar repo.addDomain and repo.addEffect. Before we do that,
we should figure out what more public access to repo.effects and
repo.domains might afford us.
Additionally:

Fix bug where castPath would return [''] when given '', instead of an empty array
Fixed deoptimization in get function that was really slowing things down

Codecov Report

Merging #263 into master will not change coverage.
The diff coverage is 100%.

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


Weighted mon selection

There are currently 20+ mons with a 100% selection rate (and likewise for 0% selection rate). We probably want to identify which of those are really the roundest/least round. Mons with similar selection rates should be paired more often than mons with different rates.

One possible selection procedure:

Order all mons by relative selection rate.
Pick a first mon at random.
Select a random number from a distribution weighted towards zero.
Add the number to the first mon's index to get the second mon.

It might be good to have a distribution such that there's a 1/2 chance of selecting the next mon, 1/4 for selecting the second next, and 1/2^n so forth. I suppose to calculate that, you can calculate log(n) for n in [0, 1) and scale it somehow

This sounds very reasonable.  Can abstract the current "pokemon fetcher" quick to make an easy entry point for anyone interested in taking this on
Only concern would be the significant raise in rows read per vote but 🤷 this is why we use Planetscale lol
Open to contributions if anyone is interested in this :)

Moved the pokemon pair fetching to a centralized backend function that will be easy to make changes to: https://github.com/TheoBr/roundest-mon/blob/main/src/backend/router/index.ts#L18


Procedures Stability Test Failure

When conducting stability tests by cyclically invoking Procedures through the "Main" Panel, the process stops after approximately 1000 cycles, with the following error messages appearing in the terminal.

Clicking the "run" button in the "new" Procedures separately also fails to execute, accompanied by the following message.

After numerous tests, it seems that the issue does not only occur with a specific component. Similar phenomena have been observed with the robotics_motion, sandbox, and variable_storage components. This suggests that the problem may be related to the stability of Robot Raconteur.

Hi @johnwason ,sorry for the inconvenience again. Even after fixing the deadlock issue with the RR components, stability testing using the "main" panel still fails. It seems that robotics_motion, sandbox, and variable_storage devices may unexpectedly stop working.
The issue persists with the method of quickly looping "move" and "print" tasks, resulting in a crash within a few minutes.

sorry to bother you again.

Your feedback is much appreciated!

Even after fixing the deadlock issue with the RR components, stability testing using the "main" panel still fails. The robotics_motion, sandbox, and variable_storage devices may unexpectedly stop working.

Ok, I will keep running duration tests to see if I can reproduce.

Hi @maxwelllls I am aware of this issue, and am fixing some features upstream in the core libraries that should help significantly with this type of stability problem. Thank you for your patience.

Appreciate your work on this issue. Eagerly awaiting the fix!

I believe I have fixed the errors you encountered, and the problem with variable_storage.
Please reinstall PyRI using the instructions at https://github.com/pyri-project/pyri-core/blob/master/README.md
Use a new venv if possible.
You may need to delete the contents of $HOME/.local/share/pyri-project to completely remove the old version.

Has this been resolved?

Has this been resolved?

Apologies for not providing timely feedback. After updating the program, I conducted a retest, running it for about 10 hours and several tens of thousands of cycles, and no errors occurred with pyri.
However, the realman_robot_driver that I developed myself currently has some stability issues and stops responding after about ten hours. At present, there is reason to believe that the stability issue with pyri has been resolved.
PS: @Lafatalite is our team’s new member, and he will be mainly responsible for the development of the teach pendant in the future.


define execute location

I am trying to use this plugin to debug a script that checks moves and deletes files. i have a test dir resembling the operational server. this project is located in a git dir and most paths used in the script are relative paths. this plugin wants to run my script in /home/$USER (this is confirmed by the pwd variable)
i would like to run it in /home/$USER/git/ProjectDir. how can i force this to happen? do i set this in launch.json?

Please try to create second script, that cd's to desired folder, then uses "source" bash builtin to include the original script. Debug that second script.

what worked best for me was to add a SCRIPT_ROOT variable and then assign all path variables like
PATH="$SCRIPT_ROOT"/path/to/dir that way i can easily change the location everything is run from.

Added "cwd" parameter to version 0.1.1 - please verify.

I think this is fixed, please re-open if needed...