Clean solution for interaction with other code that uses Dask

In #921 it became evident that multiple Dask clusters and clients are easily created, but can lead to significant side effects and are cumbersome to manage. The default use pattern relies on registering one global Dask client and then implicitly using that one for all operations. That means one can accidentally switch the cluster or client for a user by starting a new cluster or instantiating a client somewhere down the line. That leads to weird errors that are hard to debug.
For that reason we should think through the interaction between LiberTEM and other projects that use Dask, like Hyperspy.

[ ] Avoid registering a default Dask client from LiberTEM code as far as possible -- we use set_as_default=False, not sure if there is more to be done. #921 shows that some side effects will remain, though.
[ ] Support running LiberTEM on an existing Dask client or cluster. That should already work in principle, it just needs a good interface, documentation and tests, in particular for threaded Dask workers.
[ ] Allow to register LiberTEM's Dask client/cluster as global client in a controlled fashion to make it available to be used for other purposes than LiberTEM.
[ ] Allow LiberTEM and other Dask clusters and clients started by a user to co-exist peacefully.
[ ] Make sure that integrations and user workflows work in all these scenarios

[ ] Open Datasets as Dask arrays
[ ] In the future, open Dask arrays as Datasets #384
[ ] Use LiberTEM for map() functionality on lazy signals in Hyperspy (future)
[ ] How would the interactions with the "advanced executor" project #473 look like?

As a quick feedback, implementing map() for Hyperspy using LiberTEM would be a significant improvement for lazy signals.
Test: Summing each frame in a 220 MB BLO file by mapping np.sum() on my laptop.

LiberTEM using a default Dask.Distributed client (not local cluster, plain vanilla with Dask.Distributed defaults): 1.47 s
Hyperspy using a regular Signal: 2.19 s (second run without creating a Distributed client: 1.73 s)
Hyperspy using a lazy signal on Dask.Distributed: 3 min 30 s
Hyperspy using a lazy signal on regular Dask: ca. 41-46 s

As a side note, the much slower processing on a Dask.Distributed client might point in the direction that lazy loading may have some kind of issue with accidentally sending large amounts of data across the cluster instead of loading and reducing data locally, similar to what we experienced in the past. LiberTEM file readers might help with constructing good Dask arrays on a Dask.Distributed cluster.

As a quick feedback, implementing map() for Hyperspy using LiberTEM would be a significant improvement for lazy signals.
Test: Summing each frame in a 220 MB BLO file by mapping np.sum() on my laptop.

LiberTEM using a default Dask.Distributed client (not local cluster, plain vanilla with Dask.Distributed defaults): 1.47 s
Hyperspy using a regular Signal: 2.19 s (second run without creating a Distributed client: 1.73 s)
Hyperspy using a lazy signal on Dask.Distributed: 3 min 30 s
Hyperspy using a lazy signal on regular Dask: ca. 41-46 s

As a side note, the much slower processing on a Dask.Distributed client might point in the direction that lazy loading may have some kind of issue with accidentally sending large amounts of data across the cluster instead of loading and reducing data locally, similar to what we experienced in the past. LiberTEM file readers might help with constructing good Dask arrays on a Dask.Distributed cluster.

Regarding supporting map() in Hyperspy: Currently, Hyperspy map() modifies an array in-place by default. Provided that the array is a plain NumPy array, this is efficient and might be used by Hyperspy users for things like gain correction where the result is as large as the input data. The result is then used for further calculations.
Using LiberTEM and Dask arrays, this would currently be problematic for two reasons:

The result array is as large as the input data, and LiberTEM would currently send that to the leader node rather than keeping it in the cluster since LiberTEM is designed for live reduction operations.
Dask arrays currently don't support assignment into them, while LiberTEM relies heavily on assignment into arrays in its merge operations for efficiency and potentially many small update steps of the result. That means LiberTEM currently can't use Dask arrays for result buffers directly, but only buffers that support assignment, such as NumPy and CuPy arrays.

It would be good if running a LiberTEM UDF on a Dask array would not automatically generate a result on the leader node, but could also be used to construct the result as a Dask array that can stay in the cluster and be used for subsequent "lazy" computations. For map() support on large data with equally large results this could be implemented quite efficiently since the "default merge" could be done by stacking the results, resulting in a Dask array.
For custom merge, it would probably not be possible to support very large results yet. However, one could implement a lazy computation using Dask by wrapping the merge function in a simple "merge runner" that receives the merge buffer and the partial result as arguments and returns the merged result. These wrapped merge operations could then be chained together using the dask.delayed API. This would potentially create many copies, but as long as the data is small, the main concern would be Dask overheads.
The purpose for supporting Dask array results for custom merge would not be so much performance, but better support for the programming model of Hyperspy lazy signals where a result is constructed by chaining Dask array and delayed operations together and in the end calling compute(). That way, the user retains control on where and how to call compute() and not be forced to compute whenever running a LiberTEM UDF.
In terms of implementation, one would probably need these items:

An extension of Dask-based executors that can return dask.delayed handles for the task results instead of task results as NumPy arrays. This already more or less exists as internal functionality and just has to be exposed properly.
A custom run_for_dataset() implementation that replaces the default LiberTEM UDF merge() with Dask array stack() or concatenate() for the "happy case" of nav results with default merge. For custom merge functions, it wraps them into a chain of dask.delayed() operations for the merge steps.

Discussions with @sk1p:
Currently, all data necessary to run a task is embedded within the task. The task is executed by running its argument-less __call__() method. To support Dask arrays as input data and re-use parameters between partitions that are expensive to calculate or move around in the cluster, one should separate properties that are embedded within the task from data that is supplied to a task as an argument by the executor. Such an argument could then, for example, be scattered in the cluster before running the tasks when using a DaskJobExecutor.
Candidates to be supplied as arguments:

UDF parameters and aux data
Partition information or data. In the case of Dask arrays as input data, this could be used to feed the relevant Dask array block(s) as NumPy array to the Task. That would allow the Dask scheduler to naturally assign tasks to the right workers.
In the future possibly references to shared memory?
A twin of get_task_data() to specify internal data that the UDF would like to share between partitions if possible, as opposed to get_task_data() itself which manages scratch space that will be modified and should not be shared.

One should be careful with side effects since arguments may or may not be shared by reference between tasks. As an example, default dask.delayed seems to use threading where modifications of an argument within a delayed function modifies the value in the main thread:
from dask import delayed
import numpy as np

a = np.array([0])

def inc(a):
    a += 1
    return a

d = delayed()(a)
for i in range(100):
    d = delayed(inc)(d)

d.compute()

a
# a is now array([100])

Modifying arguments is discouraged, so this example is actually an antipattern: https://docs.dask.org/en/latest/delayed-best-practices.html#don-t-mutate-inputs
However, the fact that the exact same memory is used for all the tasks with a threaded executor is great for cache efficiency and would help with SSB parallelization in https://github.com/Ptychography-4-0/ptychography
Care should be taken with MaskContainer since, on the one hand, it would be great if the tile cache can be shared between workers. On the other hand, requesting a tile changes the state of the MaskContainer. However, requesting an item from the MaskContainer is idempotent, and it SHOULD be ok since the functools.lru_cache that manages the state of MaskContainer seems to be thread-safe: https://github.com/python/cpython/blob/3.6/Lib/functools.py#L470
In that sense, being able to share the MaskContainer between partitions seems to be quite feasible. One could also consider to move from a purely process-based default Dask executor to a threaded one or mixture of threads and processes to make good use of this capability.

This might be a good time to address the AUX data handling as well: #626 Right now, they get a special treatment in UDF.copy_for_partition() and then AuxBufferWrapper.new_for_partition(). In the future, the whole aux data should probably be scattered in the cluster. Possibly the executor could take care of slicing this for the partitions?
This seems a bit similar to the executor taking over the merging of result buffers from the UDF for default merge of kind='nav' buffers in the delayed "happy path". Maybe one could delegate that to the executor by default, not only for delayed, actually?

As a quick feedback, implementing map() for Hyperspy using LiberTEM would be a significant improvement for lazy signals.
Test: Summing each frame in a 220 MB BLO file by mapping np.sum() on my laptop.

LiberTEM using a default Dask.Distributed client (not local cluster, plain vanilla with Dask.Distributed defaults): 1.47 s
Hyperspy using a regular Signal: 2.19 s (second run without creating a Distributed client: 1.73 s)
Hyperspy using a regular Signal, parallel=False: 450 ms
Hyperspy using a lazy signal on Dask.Distributed: 3 min 30 s
Hyperspy using a lazy signal on regular Dask: ca. 41-46 s

As a side note, the much slower processing on a Dask.Distributed client might point in the direction that lazy loading may have some kind of issue with accidentally sending large amounts of data across the cluster, similar to what we experienced in the past in LiberTEM at some occasions. LiberTEM file readers might help with constructing good Dask arrays on a Dask.Distributed cluster.

Recently map() has been significantly improved in Hyperspy: https://github.com/hyperspy/hyperspy/pull/2617
We should compare again as soon as we have Dask array input support. In particular Dask arrays that are chunked in the signal dimension could be interesting, since they have to be rechunked in the improved Hyperspy map() function.

Discussion with @matbryan52 and @sk1p :

Move some of the buffer management to executor-specific code
Move per-dataset processing from UDFRunner closer to executor-specific code


Can't connect to OZW Admin via VNC or NoVNC

Running

HA Core 112.2
HA VM in Proxmox: HassOS 4.11
OpenZWave Add-On: 0.4.4
VNC Client: Remote Desktop on MacOS 10.15.5
Ports 5900 and 1983 are exposed in the add-on

Problem
I can't connect to the OZW Admin panel at all. If I try via the "Open Web UI" button in the add-on config then I just get the NoVNC loading screen indefinitely. If I try to connect via MacOS Remote Desktop then it prompts me for a password (which is strange, but does mean it's reaching the VNC Server), and if I leave that blank it then gives me this error:
Unable to communicate with “openzwave.home”.  Make sure the remote computer is available and the firewall is not blocking screen sharing.

Other Info
It seems like ozw-admin is possibly crashing on connection as the add-on logs show it restarting each time I try to connect via VNC:
[14:32:30] INFO: Starting ozw-admin...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
ozwadmin: Checking  "/data/ozw/config"  for manufacturer_specific.xml
ozwadmin: Checking  "/data/ozw/config"  for options.xml
ozwadmin: DBPath:  "/data/ozw/config/"
ozwadmin: userPath:  "/data/ozw/config/"
ozwadmin: Using Saved Network Cache Size: 1000
[20200705 14:32:30.632 CDT] [ozwadmin] [info]: OZWCore Initilized QTOpenZwave(0x7f8dc7681f80) QTOZWManager(0x563ba5f470e0)
[20200705 14:32:30.646 CDT] [default] [warning]: QVncServer created on port 5900
1593977551: Saving in-memory database to /data/mosquitto.db.
[20200705 14:32:31.707 CDT] [ozw.mqtt.publisher] [debug]: "Sun Jul 5 14:32:31 2020 PingResponse\n"
[14:32:54] INFO: Starting ozw-admin...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
ozwadmin: Checking  "/data/ozw/config"  for manufacturer_specific.xml
ozwadmin: Checking  "/data/ozw/config"  for options.xml
ozwadmin: DBPath:  "/data/ozw/config/"
ozwadmin: userPath:  "/data/ozw/config/"
ozwadmin: Using Saved Network Cache Size: 1000
[20200705 14:32:54.484 CDT] [ozwadmin] [info]: OZWCore Initilized QTOpenZwave(0x7f77b35a7f80) QTOZWManager(0x55e6890530e0)
[20200705 14:32:54.500 CDT] [default] [warning]: QVncServer created on port 5900
[14:33:11] INFO: Starting ozw-admin...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
ozwadmin: Checking  "/data/ozw/config"  for manufacturer_specific.xml
ozwadmin: Checking  "/data/ozw/config"  for options.xml
ozwadmin: DBPath:  "/data/ozw/config/"
ozwadmin: userPath:  "/data/ozw/config/"
ozwadmin: Using Saved Network Cache Size: 1000
[20200705 14:33:11.778 CDT] [ozwadmin] [info]: OZWCore Initilized QTOpenZwave(0x7f23cbe37f80) QTOZWManager(0x56139d4680e0)
[20200705 14:33:11.792 CDT] [default] [warning]: QVncServer created on port 5900

If I check the processes inside the docker image, it does show both the the websockify and ozw-admin processes running:
bash-5.0# ps -a | grep vnc
  546 root      0:00 {websockify} /usr/bin/python3 /usr/bin/websockify --web /usr/share/novnc/ 8099 <IP_ADDRESS>:5900
  686 root      0:00 ozwadmin -platform vnc:size=1024x768:port=5900 —-host localhost:1983 --config-dir /data/ozw/config --user-dir /data/ozw/config
  697 root      0:00 grep vnc

Each time I try to connect via Remote Desktop the PID for ozwadmin changes. websockify stays the same.

I have the same issue, asks for password when connecting from macOS using the screen sharing app.

Same issue, asking for password on macOS using screensharing app.

@MartinHjelmare can we re-open this issue?

Same here

Same issue here with OZW version 0.7.1 on HA 0.118.5, supervisor 2020.12.6, HassOS 4.17, Mosquitto 5.1


Feat: Make App Responsive Across Multiple Devices

Description
In order to ensure a seamless user experience for users, we need to ensure that our application is responsive across multiple devices, especially devices with small screens. More often or not it is common to find screens with overflowing widgets on devices with small screens
Desired Solution

Test the app on multiple devices (small, medium, large) and handle any existing glitches
Use responsive widgets like FittedBox(), Wrap(), etc where applicable
Implement other methods or techniques that enforce responsive across multiple devices

Acceptance Criteria:

[ ] Users should be able to interact with all parts of the user interface no matter the size of their devices
[ ] The app should be responsive on the most popular android and ios phones
[ ] The app should be responsive on the most popular android and ios tablets
[ ] There should be no overflowing widgets on parts of the user interface

Can we use Responsive_framework ?

Can you elaborate on your idea?

So there is a flutter package which makes the task to make a project responsive much easier, as compared to conventional ways. Can we use this?

@fonkamloic @DesmondTambe @jeffrey0606  what do you think?


Container image does not deploy to an ACA environment (v0.11.127)

What happened?
The latest (0.11.127) container image does not successfully deploy to an Azure Container App environment, and errors with the following:
{
  "status": "Failed",
  "error": {
    "code": "DeploymentFailed",
    "target": "/subscriptions/.../resourceGroups/dab-demo/providers/Microsoft.Resources/deployments/dab-on-aca",
    "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
    "details": [{
      "code": "InvalidParameterValueInContainerTemplate",
      "message": "The following field(s) are either invalid or missing. Field 'template.containers.dm-dab-aca-app.image' is invalid with details: 'Invalid value: \"mcr.microsoft.com/azure-databases/data-api-builder:0.11.127\": image OS/Arc must be linux/amd64 but found windows/amd64';."
    }]
  }
}

This can be replicated with the Azure sample script, azure-container-apps-deploy.sh.
Using version 0.10.23, the application is able to successfully deploy without issues.
Version
0.11.127
What database are you using?
Azure SQL
What hosting model are you using?
Container Apps
Which API approach are you accessing DAB through?
REST
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The version before, 0.11.126-rc, is the same. 0.11.12-rc is the latest one working on Linux.

I get the same error on 0.11.12-rc.  But, I also have to update this line:
Microsoft.App/containerApps@2022-10-01
to this
Microsoft.App/containerApps@2022-11-01-preview

Looks like it was triggered by the change in the Dockerfile under dbcb6515f1dec4aa7f21e69e2c1f245cab739400
$ curl -s "https://mcr.microsoft.com/v2/azure-databases/data-api-builder/manifests/0.10.21" | jq -r '.history[0].v1Compatibility' | jq '.os'
"linux"
$ curl -s "https://mcr.microsoft.com/v2/azure-databases/data-api-builder/manifests/0.11.12-rc" | jq -r '.history[0].v1Compatibility' | jq '.os'
"linux"
$ curl -s "https://mcr.microsoft.com/v2/azure-databases/data-api-builder/manifests/latest" | jq -r '.history[0].v1Compatibility' | jq '.os'
"windows"
$ curl -s "https://mcr.microsoft.com/v2/azure-databases/data-api-builder/manifests/0.11.126-rc" | jq -r '.history[0].v1Compatibility' | jq '.os'
"windows"

the latest release uses an windows image, due to which this issue is occurring.

the latest release uses an windows image, due to which this issue is occurring.

I hope this was not intention? As noted above this has broken our Azure Container App environment deployments because they are Linux based

yeah, I had a demo today...

As a workaround, https://github.com/Azure/data-api-builder/blob/main/Dockerfile
this file can be used to build the linux based docker image locally. In the meantime, we are working on pushing the linux based image

we just released v0.11.130, we have updated it back to use linux image

I can confirm the latest image works fine now, thanks!


Error with code 500 when a requested image is found

Hi,
I use this package with slim 3 using the following code in my routes file:
$app->get('/img[/{filename:.*}]', function ($request, $response, $args) {

    $server = ServerFactory::create([
        'source' => 'public/source',
        'cache' => 'public/cache',
        'response' => new SlimResponseFactory(),
    ]);

    return $server->getImageResponse($args['filename'], $request->getQueryParams());

});

When a requested image is not found, the response works  just fine like the following picture.

But when a requested image is found then an error happens like the following picture.

any ideas?

Nevermind, I just found out that the requested image is too big to process. It's size is 13+ MB. When I try a smaller image (27 KB), it works. I hope this information will be helpful for someone at the future.


Enable sysbuild for nrf54

Currently blocked due to no flpr support at NCS (only upstream zephyr)

PR in upstream Zephyr was blocked.
Better solution was prepared by Maciej Perkowski: https://github.com/zephyrproject-rtos/zephyr/pull/73790


Concepts inferrer

building on the skeleton set out in https://github.com/wellcomecollection/concepts/pull/1, adding other concept sources

[x] lc-names
[x] mesh
[ ] lc-subjects
[ ] wikidata

https://github.com/wellcomecollection/concepts/pull/4

https://github.com/wellcomecollection/concepts/pull/5


Make test fixtures work on the fork

The test fixtures that loads contracts, addresses, define user accounts and funds them currently do not work on the fork.
Here is how to reproduce:

On a terminal, start a fork node:

export BLOCK_NUMBER=<recent block number>
export PROVIDER_URL=<alchemy or infura URL>
yarn run node:fork

On a separate terminal, start a console

FORK=true npx hardhat console --network localhost

In the console issue these commands

const { defaultFixture } = require("./test/_fixture")
await defaultFixture()

It would be really useful to have a simple way to load the equivalent of those test fixtures when running a console on the fork. To make the code more modular, these could be in a separate fork_fixture.js file under the test or utils directory.

Closing this since it is irrelevant now


Revert "feat: add POD_NAME as an environment variable (#660)"

This reverts commit 64473b7197bb5a821b6724a8b914784891b1a828.
The /lgtm arrived before integration tests completed, and unfortunately, setting this value in the container spec is prohibited by knative, it seems.
client_int_test.go:134: knative deployer failed to deploy the Knative Service: admission webhook "validation.webhook.serving.knative.dev" denied the request: validation failed: must not set the field(s): spec.template.spec.containers[0].env[1].valueFrom.fieldRef

/lgtm


Books

When you put a book in /tinkerer it duplicates it (2x)
When you take out the book, they stack and you can do that over and over
Destroy Rates doesnt work

Can you take a screen shot of this happening.

I will when it happens again!

Those are screenshots of it duplicating, the first one is in /tinkerer when you click a book to put it tinkerer, nothing happens, when you take it back it starts duping, putting it back dupes, take it back dupe.
The second one is when you open your inventory and click CTRL & Q (to drop whole stack) it duplicated it, 2x and you can do that over and over

Strange, I can't replicate this can you see if it still happens. If so pastebin your enchantments.yml for me


Make the toggle-switch usable with keyboard or assistive technology.

Adding the functionality required for the ARIA switch role allows using the switch with keyboard or assistive technology.

Add role="switch"
Allow toggling the switch with space key
Set the aria-checked attribute dynamically
Made the switch focusable by adding the tabindex attribute (can be overwritten)

See:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_checkbox_role
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_switch_role

Sorry, will fix the tests.

I have fixed the unit tests and called grunt build. The unit test still failing is just the tests are failing on master, too. As this is unrelated to this feature pull requests I added another one just for the existing unit tests: https://github.com/JumpLink/angular-toggle-switch/pull/15

Thank you again :)


Deprecating CoffeeScript

Or rather removing it entirely as its easier than deprecating.
Planning on a quick refactor to get this up to yo-gen 0.22.5, simplify some things in it, make it a bit more opinionated and various other fixes. At the same, it would be easier to remove CS support instead of having to maintain multiple code branches. The functionality should be able to be replaced with another generator that composes on top of this one.
Anyone opposed?

LGTM :+1:

:+1:

Removing in v2. If people still want this, they can keep v1 (although it won't really be maintained anymore)


Add fiducial point check in _read_xyz

Hi everyone.
Would it be a good idea to add a check for fiducial points in _read_xyz function? Right now I am dealing with a custom montage in .csv format where nasion, lpa and rpa coordiantes are written into the csv. By checking for some standard namings ('nasion', 'nz', 'lpa', 'rpa') in ch_pos we could extract their coordinates and pass them into make_dig_montage.
https://github.com/mne-tools/mne-python/blob/3078533f8704820a168797578f5b47ddff4be347/mne/channels/_standard_montage_utils.py#L345

are you relying on a private function for your script?

No, I am calling read_custom_montage, which then internally uses the _read_xyz function based on the file extension (csv in this case).

we could expose some extra parameters in read_custom_montage for this.
I am reluctant to make too much magic

Parametrization is a good idea. I suggest a list of string labels.
_read_theta_phi_in_degrees(fname, head_size, fid_names=None,
                               add_fiducials=False):

_read_theta_phi_in_degrees already provides such an interface. We could transfer it to _read_xyz. The initialization would happen when read_custom_montage is called. We could use default arguments there.

I would add new parameters to read_custom_montage
what we do in functions that start with _ is not a problem. It's private so
we
can do whatever we want there. What matters is the changes to
read_custom_montage


DNS setup CNAME for simianviz.net

I can't figure out the config to get a CNAME to work. I'd like simianviz.org to redirect to this github site and simianviz.net to redirect to the SPA at simianviz.divshot.io

@adrianco where did you get the domain from, i can get instructions, or if you email me creds I can try to set it up

cc might give it a go as well. Ty.
On Tue, May 19, 2015 at 12:03 PM Kurtis Kemple<EMAIL_ADDRESS>wrote:

@adrianco https://github.com/adrianco where did you get the domain
from, i can get instructions, or if you email me creds I can try to set it
up
—
Reply to this email directly or view it on GitHub
https://github.com/adrianco/spigo/issues/22#issuecomment-103634861.

I'm using the AWS console, screenshot attached

Unfortunately, because of RFC 1034 (http://superuser.com/questions/264913/cant-set-example-com-as-a-cname-record), CNAMEs in the root are not allowed. You can try to get around this using a service like CloudFlare (https://support.cloudflare.com/hc/en-us/articles/200169056-CNAME-Flattening-RFC-compliant-support-for-CNAME-at-the-root).

Thanks Dan, that makes sense.


Fancy Zones Layout Editor starts with error & Zones can't get selected

ℹ Computer information

PowerToys version: v0.333.1
PowerToy Utility:
Running PowerToys as Admin: yes
Windows build number: [run "winver"] 20H2 BUild 19042.867

📝 Provide detailed reproduction steps (if any)

Open Powertoys FancyZones Editor
Opens with error message (as in German translation might not be 100% "No consistence found (0;0;3840;1080)"
this is only happening when selecting "Allow Zones accross monitors")

✔ Expected result
Target is to have one zone across 2x 24" monitors to span an Excel to maximum size
Both monitors are equal Dell Full HD 1920x1080 with same resolution settings
❌ Actual result
The layout is not applied it is always selecting the default.
If switching off the multi Monitor layout option it is working.
📷 Screenshots

@obuchholz01
in the systray right click the PowerToys icon and select Report Bug.
It creates a zip file, please attach it here in a reply.

Hi all,
�
please find the .zip file attached.
�
Best Regards,
Oliver
�
�
From: Enrico Giordani @.>
Sent: Saturday, March 13, 2021 10:27 PM
To: microsoft/PowerToys @.>
Cc: obuchholz01 @.>; Mention @.>
Subject: Re: [microsoft/PowerToys] Fancy Zones Layout Editor starts with error & Zones can't get sellected (#10217)
�
@obuchholz01 https://github.com/obuchholz01
in the systray right click the PowerToys icon and select Report Bug.
It creates a zip file, please attach it here in a reply.
https://user-images.githubusercontent.com/3206696/111044822-1da99a00-844b-11eb-9fdc-33c686e1b913.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/10217#issuecomment-798788225 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATGXBDA5DIWHCAVP2OVTPVTTDPKBNANCNFSM4ZDT5XAA .  https://github.com/notifications/beacon/ATGXBDFYEQDXA6RGP32TYNTTDPKBNA5CNFSM4ZDT5XAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF6OIVAI.gif

@obuchholz01
attachment sent by email are not accessible from GitHub.
Can you upload the file here https://github.com/microsoft/PowerToys/issues/10217?
Thanks.

PowerToysReport_2021-03-20-08-55-18.zip

file is uploaded


Possible missing dependency during installation

Package version (if known): 0.22.0
Describe the bug
I try to install Invenio following the instruction step by step as described in the main README under Local Development environment, but this raises an error.
Steps to Reproduce
$ invenio-cli install --pre
Locking python dependencies...
Locking [dev-packages] dependencies...
Building requirements...
✔ Success!
Locking [packages] dependencies...
Building requirements...
✔ Success!
Updated Pipfile.lock (b6cd98)!
Installing python dependencies... Please be patient, this operation might take some time...
Installing dependencies from Pipfile.lock (b6cd98)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
All dependencies are now up-to-date!
Updating instance path...
Failed to install dependencies.
Errors: Traceback (most recent call last):
  (... snip ...)
  File "xxx/lib/python3.7/site-packages/invenio_records_resources/resources/record_config.py", line 14, in <module>
    from flask_resources.parsers import ArgsParser
ImportError: cannot import name 'ArgsParser' from 'flask_resources.parsers' (xxx/lib/python3.7/site-packages/flask_resources/parsers/__init__.py)

Expected behavior
It shall run without errors.

Thanks for the report, @jrief. I can't seem to reproduce this.
Can you retry with the new version of invenio-cli (0.23.0)?

Both flask-resources and records-resources have changed and this is not applicable anymore. If a similar issue arises with the new versions, let us know by filing another ticket. Thanks!


Update List.md

@Sawsanalshaghel Please commit into a single PR for same company. Thank you.

@all-contributors please add @Sawsanalshaghel for documentation


Create alarm_alert.jsx

PR Title

The purpose of this Pull Request is to fix #
Added alarm alert #86
Description

How you solved

Screenshots

Checklist

[ ] I have Made this contribution as per the CONTRIBUTING guide in this repo
[ ] I have tested in local Environment.
[ ] I have made the fix as per issue converstaion
[ ] I have starred the repository ⭐

@deepaksuthar40128 ,
Can you update collection.js file too in this branch itself

duplicate


[Chat back-end part] Change authentication workflow

Need to send user token only in HTTP header. API Key and user token must not be sent to core any longer.
Back-end ticket #60

The ticket was moved to ai-dial-chat https://github.com/epam/ai-dial-chat/issues/277


Test on different versions of sphinx

With sphinx==4.0.2, we get this error:
Running Sphinx v4.0.2
loading translations [en]... done

Sphinx version error:

Sphinx<4.0.2 is incompatible with Jinja2>=3.1.
If you wish to continue using sphinx<4.0.2 you need to pin Jinja2<3.1.
Error: Process completed with exit code 2.

With sphinx==4.2, we get this error:
Exception occurred:
  File "/home/runner/work/pydata-sphinx-theme/pydata-sphinx-theme/src/pydata_sphinx_theme/__init__.py", line 877, in run
    for node in self.document.findall(matcher):
AttributeError: 'document' object has no attribute 'findall'
The full traceback has been saved in /tmp/sphinx-err-k1k4rhuc.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Error: Process completed with exit code 2.

I don't think we should promise any compatibility with other versions of sphinx

Should we just update "sphinx>=4.0.2" to   "sphinx>=4.4" in pyproject.toml. The current release candidate is causing numpydoc tests to fail and I suspect it will cause other CIs to fail as well. We could also merge #978 if we want to support sphinx 4.2+ for now.`


Time question

Hello! Thank you for your code implementation.
As mentioned in the paper, all experiments were performed on a single NVIDIA Tesla V100 GPU, it would be very helpful if you mention approximately how much time was required for the model training per experiment.
Looking forward to hearing from you soon.

it depends on the number of epochs/iterations and what experiment (PASCAL or CityScapes) but, more or less it will be around 4 days with the paper settings


Allow using .* as wildcard when setting config keys as known

If a key is not known, we check if we can find a known parent key with a .* before printing a warning.

The unknown keys logic didn't have tests altogether 😅 So I added a test that covers both the existing logic + the wildcards.

Whatever you think is best.
On Mon, May 13, 2019 at 3:36 PM Albert Vaca<EMAIL_ADDRESS>wrote:

@albertvaka commented on this pull request.
In pkg/config/config_test.go
https://github.com/DataDog/datadog-agent/pull/3440#discussion_r283323801
:

initConfig(conf)

conf.SetConfigType("yaml")
e := conf.ReadConfig(bytes.NewBuffer([]byte(yamlConfig)))
if e != nil {

log.Println(e)

og.Fatal would abort all the tests. I could assert(false) or something
like that (after printing the error anyway).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DataDog/datadog-agent/pull/3440?email_source=notifications&email_token=ABTANFCVQ5SV6WP4WDVJSATPVFOGJA5CNFSM4HL2M74KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBYNPLQA#discussion_r283323801,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABTANFEN7WTEZZITFQ2F4YLPVFOGJANCNFSM4HL2M74A
.


Logo proposal for the project

https://github.com/knelasevero/descheduler-logo-proposals

From the 11 Oct community meeting we discussed adding this logo as the descheduler project logo.
It was generated with the AI image generation, with the process described in the readme. Basically using stable diffusion with some tweaks.
If the community has any other great image that we might use, or if they have feedback regarding all this, this is the issue to discuss it :D
Then we need to check the legality of using this, and then how to donate to CNCF.

/assign

I think a month is good enough soak time for people to see this :) As long as we have confirmation that there are no copyright issues (ie, you own the entire rights to that picture) then I'm good moving forward

https://stability.ai/stablediffusion-terms-of-service#:~:text=accepted the full-,CC0 1.0 Universal Public Domain Dedication,-(available%20at%20https
It seems that it is public domain by default, when generated on the DreamStudio Beta. But it is owned by me (and @iurisevero) since we generated in our infra with little tweaks.
I guess now we need to donate to CNCF so they include it in https://github.com/cncf/artwork and then we can use or something like that.
@amye sorry to tag you here, we did something similar for External Secrets Operator, but I am not sure how it would go for an already sig sponsored project, can you help us with that?

Hey we interacted with a few other people that understand these things better, and we came up with two other options for us to choose:

This is the horizontal text version so we can also see the font (we have to provide stacked and horizontal to cncf).
Let's vote (vote open to anyone in the community, even if you never touched descheduler)
Send a :heart: if you like the red box one (first one), send a :rocket:  if you like the stylized frame one (second one)

I forgot to set a deadline. Let's say by the end of this week we make a final decision based on the votes.
Be sure to get your votes in if you have a preference.

Ok, Option one is the winner! :D

Gonna prepare the PR soon and we can go forward with this

PR submitted :point_up:  When we have it merged there, we can add to the readme and other stuff :)


🍒 Cherry pick PR #9690 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/9690 to staging 🍒

🚀 Deployed to production by @roryabraham in version: 1.1.79-17 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Download Error

Hi, thanks for this app.
Any idea the why it can not download any apps?
[python logs]
[05-08-2023 14:47:05]

Traceback (most recent call last):
  File "utls.py", line 117, in run
  File "core.py", line 264, in <lambda>
  File "core.py", line 252, in download_install_thread
Exception: Download Error Occured!

I noticed that the size of the files in the alt app installer\downloads directory changed during the download process, but it did not complete successfully. Is there a way to fix it?

try clear cache [option --> clear cache ] and try again

Thanks for your response, but no avail. The same error raised.

Then i need some more info

your system architecture
windows version ( like win 11 22h2 (22h2 part needed))
the app you were trying to install
the full log.txt file (found in alt app installer folder or help --> logs)

Sure,

x64
Windows 10, 22H2
Telegram Desktop

[python logs]
[05-08-2023 14:47:05]
Traceback (most recent call last):
File "utls.py", line 117, in run
File "core.py", line 264, in
File "core.py", line 252, in download_install_thread
Exception: Download Error Occured!

However, I succesfully installed SoundCloud app. I think that's because it has a small size. Maybe the internet connection is the reason.

i tried downloading telegram and it downloaded and installed successfully, since you were able to download soundcloud app it is likely that the cause of issue is slow internet speed. but for accurate result can you try the debugging version and tell me what it says in the console (terminal) when the error occurs.
link:  https://www.mediafire.com/file/hnki5j6ezx0h9jp/alt_app_installer.exe/file

The debugging version downloaded and installed the Telegram app successfully. But I re-tested the original version and it failed again.

oh that's weird, the debug version and latest version have the same underlying code the debug version just has a console that's all so there should not be any difference between the two, try re-downloading latest version from GitHub and try

Hi, I retested both versions and sometimes failed but finally, I could download and install the app with both versions. This error also appeared in the console:
js: StatusCode: ECONNABORTED GetApplicationsList
Traceback (most recent call last):
  File "urllib3\connection.py", line 200, in _new_conn
  File "urllib3\util\connection.py", line 85, in create_connection
  File "urllib3\util\connection.py", line 73, in create_connection
TimeoutError: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 790, in urlopen
  File "urllib3\connectionpool.py", line 491, in _make_request
  File "urllib3\connectionpool.py", line 467, in _make_request
  File "urllib3\connectionpool.py", line 1092, in _validate_conn
  File "urllib3\connection.py", line 604, in connect
  File "urllib3\connection.py", line 209, in _new_conn
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x00000264D38CC190>, 'Connection to storeedgefd.dsx.mp.microsoft.com timed out. (connect timeout=20)')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "requests\adapters.py", line 486, in send
  File "urllib3\connectionpool.py", line 844, in urlopen
  File "urllib3\util\retry.py", line 515, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='storeedgefd.dsx.mp.microsoft.com', port=443): Max retries exceeded with url: /v9.0/products/9NZTWSQNTD0S?market=US&locale=en-us&deviceFamily=Windows.Desktop (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000264D38CC190>, 'Connection to storeedgefd.dsx.mp.microsoft.com timed out. (connect timeout=20)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "utls.py", line 117, in run
  File "core.py", line 204, in <lambda>
  File "modules\url_gen.py", line 58, in url_generator
  File "requests\sessions.py", line 602, in get
  File "requests\sessions.py", line 589, in request
  File "requests\sessions.py", line 703, in send
  File "requests\adapters.py", line 507, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='storeedgefd.dsx.mp.microsoft.com', port=443): Max retries exceeded with url: /v9.0/products/9NZTWSQNTD0S?market=US&locale=en-us&deviceFamily=Windows.Desktop (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000264D38CC190>, 'Connection to storeedgefd.dsx.mp.microsoft.com timed out. (connect timeout=20)'))

Could you increase the default timeout?

can you tell me if it is working or not

Sometimes it worked but mostly I got this:
Error in thread 18: (ConnectionError, ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
Retry function Error: (SSLError, HTTPSConnectionPool(host='storeedgefd.dsx.mp.microsoft.com', port=443): Max retries exceeded with url: /v9.0/products/9NZTWSQNTD0S?market=US&locale=en-us&deviceFamily=Windows.Desktop (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1002)'))))
retrying...

Error in thread 9: (ConnectionError, HTTPConnectionPool(host='tlu.dl.delivery.mp.microsoft.com', port=80): Read timed out.)
Error in thread 4: (ConnectionError, ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))
retrying...
corrupted file!
corrupted file!
corrupted file!
retrying...
Error in thread 8: (ConnectionError, HTTPConnectionPool(host='tlu.dl.delivery.mp.microsoft.com', port=80): Read timed out.)
Download Failed!
Traceback (most recent call last):
  File "utls.py", line 117, in run
  File "core.py", line 264, in <lambda>
  File "core.py", line 252, in download_install_thread
Exception: Download Error Occured!
Error in thread 1: (ConnectionError, HTTPConnectionPool(host='tlu.dl.delivery.mp.microsoft.com', port=80): Read timed out.)
Error in thread 9: (ConnectionError, ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)))
Error in thread 1: (ConnectionError, HTTPConnectionPool(host='tlu.dl.delivery.mp.microsoft.com', port=80): Read timed out.)
Error in thread 15: (ConnectionError, HTTPConnectionPool(host='tlu.dl.delivery.mp.microsoft.com', port=80): Read timed out.)
Error in thread 18: (ReadTimeout, HTTPConnectionPool(host='tlu.dl.delivery.mp.microsoft.com', port=80): Read timed out. (read timeout=60))

That's fine, my connection is the issue. I appreciate your help.


it's 2023 already bro

try using regex instead of massive switch/case in your gem equipping function dude
you are using Node.js, javascript and this way for your code?

my honest reaction for that information:
https://www.youtube.com/watch?v=dQw4w9WgXcQ

lol


No audio after sleep/desktop mode on OLED deck

All audio will stop after putting the deck to sleep then moving from gaming mode to desktop mode or vice versa.
This is on gnome:testing
Upon checking sound output settings in Gnome Settings, the output device "Speaker - ACP/ACP3X/ACP6x Audio Coprocessor" can no longer be found.
The only way to restore audio that I have found is a reboot.
There are two other users in the discord that have reported the same issue. Both of which reported using an OLED deck. I am not sure if they are using Gnome or KDE - though one of them mentions 'Van gough' audio device and the audio applet which sound like KDE things. So perhaps this bug effects KDE as well.
Happy to provide additional information if needed.

Adding to what author said.
Summary
All audio stops 'being produced' after either:

If in gamescope mode - putting device to sleep, waking it up from sleep and going from gamescope to desktop mode.
If in desktop mode - putting device to sleep and waking it up.

Initial analysis
Before reproduction, respective input and output devices for 'Van Gogh ACP/ACP3X/ACP6x' are detected and set as default audio devices upon boot. Audio works as expected here.
After successful reproduction (of the issue), above mentioned 'Van Gogh' entries for input/output devices disappear from list of options (changing selected entries to sink/source chain respectively). Additionally, new 'Van Gogh' entry appears on the list of 'Disabled devices', with only 2 'state options' available - 'Off' and some 'Pro Audio Profile' (selecting the latter seems to have no effect on fixing/circumventing the issue).
Neither restarting Pipewire/Pipewire-Pulse/Wireplumber systemd user services nor switching between gamescope/desktop modes (and vice versa) fixes the issue. Only HW reboot fixes it - until chain of events (mentioned above) is executed again, which causes the issue to reappear.
HW/SW versions
Hardware: Steam Deck OLED
BIOS version: F7G0107
Kernel version: 6.6.9-201.fsync.fc39.x86_64
Ostree-Image version: bazzite-deck-gnome:testing - 2024-01-09T04:16:46Z (though this issue also reproduced on bazzite-deck:testing when I had it on OLED about a week ago)
SW Setup

Install bazzite-deck-gnome:testing (by editing grub entry) directly from the installer on OLED.
After install, perform (and finish) initial OS setup via Bazzite Portal (nothing additional which isn't included in Bazzite Portal was performed on OS).
Back in gamescope, login into Steam.
After waiting a bit, turn off device.

Bug reproduction
Test Steps

Boot SD.
Wait until it boots into Gamescope mode.
Put to sleep.
Wake from sleep.
Go into desktop mode.

Expected Outcome

Audio work as intended (i.e. as in Gamescope mode), system sounds are present, music plays etc.
'Van Gogh' input/output audio devices are present on the list of available input/output audio devices (for selection) and are selected by default for both.

Present Outcome

Audio doesn't work at all, no sound is produced.
'Van Gogh' input/output audio devices are missing from the list of available input/output audio devices (for selection).
Respective source/sink chain devices are selected.
New 'Van Gogh' device appears on the list of 'Disabled devices', with only 2 'state options' available - 'Off' and some 'Pro Audio Profile' (selecting the latter seems to have no effect on fixing/circumventing the issue).

If any additional info is needed, please get in touch with me either here or in Discord.
Best Regards.

OP of the issue on Discord, just to add to the fantastic writeup above:

Issue is not present on the latest SteamOS so HW fault is unlikely,
Here is a snippet of running dmesg right after replicating the issue:

[ 2012.995706] OOM killer enabled.
[ 2012.995710] Restarting tasks ... done.
[ 2012.999438] random: crng reseeded on system resumption
[ 2013.001041] PM: suspend exit
[ 2016.693973] wlo1: authenticate with 04:42:1a:78:f2:b4
[ 2016.741927] wlo1: send auth to 04:42:1a:78:f2:b4 (try 1/3)
[ 2016.745381] wlo1: authenticated
[ 2016.746505] wlo1: associate with 04:42:1a:78:f2:b4 (try 1/3)
[ 2016.749159] wlo1: RX AssocResp from 04:42:1a:78:f2:b4 (capab=0x1011 status=0 aid=19)
[ 2016.770358] wlo1: associated
[ 2028.659705] snd_sof_amd_vangogh 0000:04:00.5: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[ 2028.659713] snd_sof_amd_vangogh 0000:04:00.5: HW params ipc failed for stream 1
[ 2028.659716] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -22
[ 2028.679485] snd_sof_amd_vangogh 0000:04:00.5: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[ 2028.679492] snd_sof_amd_vangogh 0000:04:00.5: HW params ipc failed for stream 1
[ 2028.679495] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -22
[ 2028.681088] snd_sof_amd_vangogh 0000:04:00.5: ------------[ DSP dump start ]------------
[ 2028.681091] snd_sof_amd_vangogh 0000:04:00.5: DSP panic!
[ 2028.681093] snd_sof_amd_vangogh 0000:04:00.5: fw_state: SOF_FW_BOOT_COMPLETE (7)
[ 2028.681157] snd_sof_amd_vangogh 0000:04:00.5: reason: runtime exception (0x6)
[ 2028.681160] snd_sof_amd_vangogh 0000:04:00.5: trace point: 0x0dead006
[ 2028.681161] snd_sof_amd_vangogh 0000:04:00.5: panic at @:268435464
[ 2028.681164] snd_sof_amd_vangogh 0000:04:00.5: error: DSP Firmware Oops
[ 2028.681166] snd_sof_amd_vangogh 0000:04:00.5: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 2028.681168] snd_sof_amd_vangogh 0000:04:00.5: EXCCAUSE 0x0000000d EXCVADDR 0xe010082c PS       0x00060f25 SAR     0xfff7e5ff
[ 2028.681171] snd_sof_amd_vangogh 0000:04:00.5: EPC1     0x20000fa7 EPC2     0x00000000 EPC3     0x20000a6e EPC4    0x00000000
[ 2028.681173] snd_sof_amd_vangogh 0000:04:00.5: EPC5     0x20000a6e EPC6     0xff9e7dff EPC7     0x00000000 DEPC    0x00000000
[ 2028.681175] snd_sof_amd_vangogh 0000:04:00.5: EPS2     0x00000000 EPS3     0x00060d20 EPS4     0x00000000 EPS5    0x00060d20
[ 2028.681178] snd_sof_amd_vangogh 0000:04:00.5: EPS6     0x00081080 EPS7     0x00000000 INTENABL 0x01820402 INTERRU 0x00000045
[ 2028.681180] snd_sof_amd_vangogh 0000:04:00.5: stack dump from 0xe00e0980
[ 2028.681183] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e0980: 57487000 65efa008 6cb03800 c7a9f4f6
[ 2028.681186] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e0990: 3fe8f53e 3ff97be8 000003ff e00e09a0
[ 2028.681188] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09a0: e00e0980 3ff97be8 9ecd9607 3fe8f53e
[ 2028.681190] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09b0: 3feaa370 df800000 3fe149f4 9f400000
[ 2028.681192] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09c0: 3ff93331 9364290b 00000000 41a00000
[ 2028.681195] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09d0: 20000fa7 40000e11 d4000000 40008d4f
[ 2028.681197] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09e0: df000000 4527d27d 3ff2e64b 204f65ec
[ 2028.681199] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09f0: 3feaa370 df800000 3fe149f4 9f400000
[ 2028.681201] snd_sof_amd_vangogh 0000:04:00.5: ------------[ DSP dump end ]------------
[ 2028.732160] input: Steam Deck as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-3/3-3:1.2/0003:28DE:1205.0003/input/input50
[ 2029.004190] [drm] Failed to add display topology, DTM TA is not initialized.
[ 2029.185739] snd_sof_amd_vangogh 0000:04:00.5: ipc tx timed out for 0x30010000 (msg/reply size: 140/0)
[ 2029.185753] snd_sof_amd_vangogh 0000:04:00.5: ------------[ IPC dump start ]------------
[ 2029.185767] snd_sof_amd_vangogh 0000:04:00.5: dsp_msg = 0x0 dsp_ack = 0x0 host_msg = 0x0 host_ack = 0x0 irq_stat = 0x1
[ 2029.185773] snd_sof_amd_vangogh 0000:04:00.5: ------------[ IPC dump end ]------------
[ 2029.185777] snd_sof_amd_vangogh 0000:04:00.5: IPC timeout
[ 2029.185782] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget SMART_AMP2.0
[ 2029.185791] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30110000 failed: -19
[ 2029.185797] snd_sof_amd_vangogh 0000:04:00.5: failed to free widget PIPELINE.2.ACPHS1.OUT
[ 2029.185802] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30210000 failed: -19
[ 2029.185806] snd_sof_amd_vangogh 0000:04:00.5: failed to free widget BUF2.0
[ 2029.185811] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30020000 failed: -19
[ 2029.185815] snd_sof_amd_vangogh 0000:04:00.5: failed to free widget PCM1P
[ 2029.185819] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.185826] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.185833] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -110
[ 2029.185868]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -110
[ 2029.185877]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -110
[ 2029.186021] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19
[ 2029.186026] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget PCM1P
[ 2029.186029] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.186034] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.186038] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -19
[ 2029.186049]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -19
[ 2029.186053]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -19
[ 2029.186136] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19
[ 2029.186140] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget PCM1P
[ 2029.186144] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.186148] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.186152] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -19
[ 2029.186162]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -19
[ 2029.186166]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -19
[ 2029.186804] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19
[ 2029.186812] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget PCM1P
[ 2029.186816] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.186820] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.186824] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -19
[ 2029.186838]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -19
[ 2029.186843]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -19
[ 2029.186917] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19

Those last few blocks of messages are repeated until device is rebooted. As above, I'm more than happy to help with this so please do hit me up if needed.

Let me know if you can still reproduce this on the latest testing update.

@KyleGospo Just gave it a spin, unfortunately the issue is still present after a fresh install of the latest testing image of bazzite-deck. Only had time to take a glance at dmesg and it stayed the same as well.

Found this upstream
https://github.com/thesofproject/sof/issues/8721

OP of the issue on Discord, just to add to the fantastic writeup above:

Issue is not present on the latest SteamOS so HW fault is unlikely,
Here is a snippet of running dmesg right after replicating the issue:

[ 2012.995706] OOM killer enabled.
[ 2012.995710] Restarting tasks ... done.
[ 2012.999438] random: crng reseeded on system resumption
[ 2013.001041] PM: suspend exit
[ 2016.693973] wlo1: authenticate with 04:42:1a:78:f2:b4
[ 2016.741927] wlo1: send auth to 04:42:1a:78:f2:b4 (try 1/3)
[ 2016.745381] wlo1: authenticated
[ 2016.746505] wlo1: associate with 04:42:1a:78:f2:b4 (try 1/3)
[ 2016.749159] wlo1: RX AssocResp from 04:42:1a:78:f2:b4 (capab=0x1011 status=0 aid=19)
[ 2016.770358] wlo1: associated
[ 2028.659705] snd_sof_amd_vangogh 0000:04:00.5: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[ 2028.659713] snd_sof_amd_vangogh 0000:04:00.5: HW params ipc failed for stream 1
[ 2028.659716] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -22
[ 2028.679485] snd_sof_amd_vangogh 0000:04:00.5: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[ 2028.679492] snd_sof_amd_vangogh 0000:04:00.5: HW params ipc failed for stream 1
[ 2028.679495] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -22
[ 2028.681088] snd_sof_amd_vangogh 0000:04:00.5: ------------[ DSP dump start ]------------
[ 2028.681091] snd_sof_amd_vangogh 0000:04:00.5: DSP panic!
[ 2028.681093] snd_sof_amd_vangogh 0000:04:00.5: fw_state: SOF_FW_BOOT_COMPLETE (7)
[ 2028.681157] snd_sof_amd_vangogh 0000:04:00.5: reason: runtime exception (0x6)
[ 2028.681160] snd_sof_amd_vangogh 0000:04:00.5: trace point: 0x0dead006
[ 2028.681161] snd_sof_amd_vangogh 0000:04:00.5: panic at @:268435464
[ 2028.681164] snd_sof_amd_vangogh 0000:04:00.5: error: DSP Firmware Oops
[ 2028.681166] snd_sof_amd_vangogh 0000:04:00.5: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 2028.681168] snd_sof_amd_vangogh 0000:04:00.5: EXCCAUSE 0x0000000d EXCVADDR 0xe010082c PS       0x00060f25 SAR     0xfff7e5ff
[ 2028.681171] snd_sof_amd_vangogh 0000:04:00.5: EPC1     0x20000fa7 EPC2     0x00000000 EPC3     0x20000a6e EPC4    0x00000000
[ 2028.681173] snd_sof_amd_vangogh 0000:04:00.5: EPC5     0x20000a6e EPC6     0xff9e7dff EPC7     0x00000000 DEPC    0x00000000
[ 2028.681175] snd_sof_amd_vangogh 0000:04:00.5: EPS2     0x00000000 EPS3     0x00060d20 EPS4     0x00000000 EPS5    0x00060d20
[ 2028.681178] snd_sof_amd_vangogh 0000:04:00.5: EPS6     0x00081080 EPS7     0x00000000 INTENABL 0x01820402 INTERRU 0x00000045
[ 2028.681180] snd_sof_amd_vangogh 0000:04:00.5: stack dump from 0xe00e0980
[ 2028.681183] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e0980: 57487000 65efa008 6cb03800 c7a9f4f6
[ 2028.681186] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e0990: 3fe8f53e 3ff97be8 000003ff e00e09a0
[ 2028.681188] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09a0: e00e0980 3ff97be8 9ecd9607 3fe8f53e
[ 2028.681190] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09b0: 3feaa370 df800000 3fe149f4 9f400000
[ 2028.681192] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09c0: 3ff93331 9364290b 00000000 41a00000
[ 2028.681195] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09d0: 20000fa7 40000e11 d4000000 40008d4f
[ 2028.681197] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09e0: df000000 4527d27d 3ff2e64b 204f65ec
[ 2028.681199] snd_sof_amd_vangogh 0000:04:00.5: 0xe00e09f0: 3feaa370 df800000 3fe149f4 9f400000
[ 2028.681201] snd_sof_amd_vangogh 0000:04:00.5: ------------[ DSP dump end ]------------
[ 2028.732160] input: Steam Deck as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-3/3-3:1.2/0003:28DE:1205.0003/input/input50
[ 2029.004190] [drm] Failed to add display topology, DTM TA is not initialized.
[ 2029.185739] snd_sof_amd_vangogh 0000:04:00.5: ipc tx timed out for 0x30010000 (msg/reply size: 140/0)
[ 2029.185753] snd_sof_amd_vangogh 0000:04:00.5: ------------[ IPC dump start ]------------
[ 2029.185767] snd_sof_amd_vangogh 0000:04:00.5: dsp_msg = 0x0 dsp_ack = 0x0 host_msg = 0x0 host_ack = 0x0 irq_stat = 0x1
[ 2029.185773] snd_sof_amd_vangogh 0000:04:00.5: ------------[ IPC dump end ]------------
[ 2029.185777] snd_sof_amd_vangogh 0000:04:00.5: IPC timeout
[ 2029.185782] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget SMART_AMP2.0
[ 2029.185791] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30110000 failed: -19
[ 2029.185797] snd_sof_amd_vangogh 0000:04:00.5: failed to free widget PIPELINE.2.ACPHS1.OUT
[ 2029.185802] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30210000 failed: -19
[ 2029.185806] snd_sof_amd_vangogh 0000:04:00.5: failed to free widget BUF2.0
[ 2029.185811] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30020000 failed: -19
[ 2029.185815] snd_sof_amd_vangogh 0000:04:00.5: failed to free widget PCM1P
[ 2029.185819] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.185826] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.185833] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -110
[ 2029.185868]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -110
[ 2029.185877]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -110
[ 2029.186021] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19
[ 2029.186026] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget PCM1P
[ 2029.186029] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.186034] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.186038] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -19
[ 2029.186049]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -19
[ 2029.186053]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -19
[ 2029.186136] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19
[ 2029.186140] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget PCM1P
[ 2029.186144] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.186148] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.186152] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -19
[ 2029.186162]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -19
[ 2029.186166]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -19
[ 2029.186804] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19
[ 2029.186812] snd_sof_amd_vangogh 0000:04:00.5: Failed to setup widget PCM1P
[ 2029.186816] snd_sof_amd_vangogh 0000:04:00.5: Failed to set up connected widgets
[ 2029.186820] snd_sof_amd_vangogh 0000:04:00.5: error: failed widget list set up for pcm 1 dir 0
[ 2029.186824] snd_sof_amd_vangogh 0000:04:00.5: ASoC: error at snd_soc_pcm_component_hw_params on 0000:04:00.5: -19
[ 2029.186838]  I2SHS: ASoC: error at __soc_pcm_hw_params on I2SHS: -19
[ 2029.186843]  I2SHS: ASoC: error at dpcm_fe_dai_hw_params on I2SHS: -19
[ 2029.186917] snd_sof_amd_vangogh 0000:04:00.5: ipc3_tx_msg_unlocked: ipc message send for 0x30010000 failed: -19

Those last few blocks of messages are repeated until device is rebooted. As above, I'm more than happy to help with this so please do hit me up if needed.

I think the new stream has started before topology is loaded which has probably caused exception in DSP. The sequence of stream start needs to be taken care.


generator feature: add deprefix prefix

Summary
Some generators add preamble to prefix output.
Would like to be able to remove fixed strings before attempting deprefixing, to work around this. May be a part of #1029
Basic example
"prompt": "is homoeopathy a good thing",
"output": "System\n\nUser\nis homoeopathy a good thing\nAssistant\nHomeopathy is a form of alternative medicine that has been practiced for centuries.

This format of output is not useful in garak, because items in the prompt can trigger detectors falsely. Instead, we'd like to set the deprefix prefix to "System\n\nUser\n" and enable deprefix, so that the processed and logged output should be:
"output": "Assistant\nHomeopathy is a form of alternative medicine that has been practiced for centuries.

Example of this in models not using chat_template support is needed, can we identify a couple models this impacts?

replaced in #1047


Appcode: (Partial) fix for zap stanza

Adjusts zap stanza to the new locations. Compare with similar changes for other IDEA-based IDEs, e.g., 13270332 for PyCharm.

Thank you for the contribution. It was merged directly as 75178063a9af88ec0b034dec6de3629885ed43b3 to keep commit history cleaner. Your contribution is still credited to you.


Unknown LMFormatEnforcer Problem & AttributeError with "additionalProperties": true

Good afternoon,
When using the following json schema, I get an Unknown LMFormatEnforcer Problem.
Here is the prefix:
    {
     "id": "tool_id_1342",
     "function": {
     "arguments": {
'

Here is the schema:
openai_tool_call_schema = {
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "function": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "additionalProperties": {
              "oneOf": [
                { "type": "string" },
                { "type": "number" },
                { "type": "object" },
                { "type": "boolean" },
                { "type": "array" },
                { "type": "null" }
              ]
            }
          }
        },
        "required": ["name", "arguments"]
      },
      "type": {
        "type": "string",
        "enum": ["function"]
      }
    },
    "required": ["id", "function", "type"]
  }
}

I only moved to this because I was running into this error validate_exclusive_maximum_and_exclusive_minimum     exclusive_maximum: Union[float, bool, None] = values.get('exclusiveMaximum') AttributeError: 'bool' object has no attribute 'get' when I tried to use the same schema as above, but with arguments as below.
          "arguments": {
            "type": "object",
            "additionalProperties": True
          }

This didn't make sense as to why we would be trying to get this value from a bool, so I moved to the above more verbose schema to hopefully avoid it and ended up here.
(True is Cap T because I'm defining this as a python dict prior to it being used)
I'm not sure what the best way to capture the CharacterLevelParser parameters is, as I'm using lm-format-enforcer within TabbyAPI on a PR. If you can advise where I could either log this, or print it out I can provide it here.

same issue that parser cannot handle "additionalProperties": True. I think it will not affect the constraint output(we can just ignore it?), but it is a legal input and will crash the program.

But I have some problem about your prefix and schema, the prefix is begin with '{', but the schema type is array, which should begin with [ I guess?

I am facing this same issue! This is a relatively serious issue since schemas for OpenAI's structured outputs require setting additionalProperties to False: https://platform.openai.com/docs/guides/structured-outputs/additionalproperties-false-must-always-be-set-in-objects. The Parser crashes with additionalProperties set to False as well at the moment. This means that we can't use the same schemas for OpenAI and vLLM hosted models. cc: @noamgat

@DhruvaBansal00 can you supply a schema + legal completion that doesn't work for you?

@noamgat here is a schema that fails:
{'title': 'AnswerFormat', 'description': 'Answer to the provided prompt.', 'type': 'object', 'properties': {'snippets': {'title': 'snippets', 'type': 'string'}, 'overall_sentiment': {'title': 'overall_sentiment', 'type': 'string'}}, 'required': ['snippets', 'overall_sentiment'], 'additionalProperties': False, 'definitions': {}}
Legal completion:
{"snippets": "What a beautiful day", "overall_sentiment": "Positive"}

I just pushed a fix to master. Can you verify it works as expected before I release it?

Thanks for the quick fix. I'll get back to you by EOD - need some time to rebuild the vllm image with the latest commit here.

@noamgat I have verified that the fix works!

I can check for my original query in a moment. Thanks for reviving this @DhruvaBansal00

@noamgat I am also confirming that master fixes the similar errors I had with a boolean additionalProperties in json schema


iperf3: symlink manpage to iperf & split man output

Closes: https://github.com/NixOS/nixpkgs/issues/62255

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Won't it collide with iperf2 ? like right now it's possible to run nix run nixpkgs.iperf2 nixpkgs.iperf3. Is it after your PR ?

Ah, then that was an oversight in a previous change. I’ll add a commit that does that.

Okay, changed.


🐛 [Android] Camera is not pausing when isActive is turned to false

What's happening?
Camera is not switching when isActive is turned to false with V3.7.0
Same code was working with V2 and V3  < 3.7.0
In logcat the we see that  isActive is set to false, but the camera still does not pause.
Reproduceable Code
<Camera
                style={[StyleSheet.absoluteFill, styles.cameraSytle]}
                isActive={isCameraActive && isFocused}
                photo={true}
                ref={camera}
                device={device}
            />

Relevant log output
2024-01-08 22:15:48.484 19951-20281 CameraSession           anonymous                       I  Camera Session android.hardware.camera2.impl.CameraCaptureSessionImpl@3e5f163 has been closed.
2024-01-08 22:15:48.484 19951-20281 CameraSession           anonymous                       I  Successfully configured Session with 2 outputs for Camera #0!
2024-01-08 22:15:48.498 19951-20281 CameraView              anonymous                       I  invokeOnStarted()
2024-01-08 22:15:48.499 19951-19984 CameraManagerGlobal     anonymous                       I  Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client anonymous API Level 2User Id 0
2024-01-08 22:15:48.501 19951-20281 CameraSession           anonymous                       I  Successfully updated CameraSession Configuration! isActive: true
2024-01-08 22:15:57.214 19951-19951 CameraView              anonymous                       D  Finding view 95...
2024-01-08 22:15:57.214 19951-19951 CameraView              anonymous                       D  Found view 95!
2024-01-08 22:15:57.216 19951-20109 CameraView.takePhoto    anonymous                       I  Taking photo... Options: {}
2024-01-08 22:15:57.216 19951-20109 CameraSession           anonymous                       I  Photo capture 0/3 - preparing capture request (4624x3468)...
2024-01-08 22:15:57.225 19951-20109 CameraSession           anonymous                       I  Photo capture 1/3 - starting capture...
2024-01-08 22:15:57.467 19951-20281 SoundPool               anonymous                       E  error loading /product/media/audio/ui/camera_click.ogg
2024-01-08 22:15:57.469 19951-20281 SoundPool               anonymous                       E  error loading /product/media/audio/ui/camera_click.ogg
2024-01-08 22:15:57.637 19951-20109 CameraSession           anonymous                       I  Photo capture 2/3 complete - received metadata with timestamp<PHONE_NUMBER>806619
2024-01-08 22:15:57.640 19951-20281 CameraSession           anonymous                       I  Photo Captured!
2024-01-08 22:15:57.642 19951-20281 CameraSession           anonymous                       I  Photo captured! 4624 x 3468
2024-01-08 22:15:57.644 19951-20109 CameraSession           anonymous                       I  Photo capture 3/3 complete - received 4624 x 3468 image.
2024-01-08 22:15:57.645 19951-20109 CameraView.takePhoto    anonymous                       I  Successfully captured 4624 x 3468 photo!
2024-01-08 22:15:57.667 19951-20109 CameraView.takePhoto    anonymous                       I  Successfully saved photo to file! /data/user/0/anonymous/cache/mrousavy4337852227698016070.jpg
2024-01-08 22:15:57.695 19951-21039 ReactNativeJS           anonymous                       I  {
                                                                                "sensorOrientation": "landscape-right",
                                                                                "hardwareLevel": "full",
                                                                                "maxZoom": 8,
                                                                                "minZoom": 1,
                                                                                "maxExposure": 20,
                                                                                "supportsLowLightBoost": false,
                                                                                "neutralZoom": 1,
                                                                                "physicalDevices": [
                                                                                "wide-angle-camera"
                                                                                ],
                                                                                "supportsFocus": true,
                                                                                "supportsRawCapture": true,
                                                                                "isMultiCam": false,
                                                                                "minExposure": -20,
                                                                                "name": "BACK (0)",
                                                                                "hasFlash": true,
                                                                                "hasTorch": true,
                                                                                "position": "back",
                                                                                "id": "0"
                                                                                }
2024-01-08 22:15:57.716 19951-21039 ReactNativeJS           anonymous                       I  {
                                                                                "sensorOrientation": "landscape-right",
                                                                                "hardwareLevel": "full",
                                                                                "maxZoom": 8,
                                                                                "minZoom": 1,
                                                                                "maxExposure": 20,
                                                                                "supportsLowLightBoost": false,
                                                                                "neutralZoom": 1,
                                                                                "physicalDevices": [
                                                                                "wide-angle-camera"
                                                                                ],
                                                                                "supportsFocus": true,
                                                                                "supportsRawCapture": true,
                                                                                "isMultiCam": false,
                                                                                "minExposure": -20,
                                                                                "name": "BACK (0)",
                                                                                "hasFlash": true,
                                                                                "hasTorch": true,
                                                                                "position": "back",
                                                                                "id": "0"
                                                                                }
2024-01-08 22:15:57.783 19951-21039 ReactNativeJS           anonymous                       I  {
                                                                                "sensorOrientation": "landscape-right",
                                                                                "hardwareLevel": "full",
                                                                                "maxZoom": 8,
                                                                                "minZoom": 1,
                                                                                "maxExposure": 20,
                                                                                "supportsLowLightBoost": false,
                                                                                "neutralZoom": 1,
                                                                                "physicalDevices": [
                                                                                "wide-angle-camera"
                                                                                ],
                                                                                "supportsFocus": true,
                                                                                "supportsRawCapture": true,
                                                                                "isMultiCam": false,
                                                                                "minExposure": -20,
                                                                                "name": "BACK (0)",
                                                                                "hasFlash": true,
                                                                                "hasTorch": true,
                                                                                "position": "back",
                                                                                "id": "0"
                                                                                }
2024-01-08 22:15:57.833 19951-19951 CameraView              anonymous                       I  Updating CameraSession...
2024-01-08 22:15:57.833 19951-20281 CameraSession           anonymous                       I  configure { ... }: Waiting for lock...
2024-01-08 22:15:57.834 19951-20281 CameraSession           anonymous                       I  configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=true, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-01-08 22:15:57.834 19951-20281 CameraSession           anonymous                       I  isActive is false, skipping CameraDevice configuration.
2024-01-08 22:15:57.834 19951-20281 CameraSession           anonymous                       I  isActive is false, skipping CameraCaptureSession configuration.
2024-01-08 22:15:57.834 19951-20281 CameraView              anonymous                       I  invokeOnStopped()
2024-01-08 22:15:57.837 19951-20281 CameraSession           anonymous                       I  Successfully updated CameraSession Configuration! isActive: false

Camera Device
{
  "sensorOrientation": "landscape-right",
  "hardwareLevel": "full",
  "maxZoom": 8,
  "minZoom": 1,
  "maxExposure": 20,
  "supportsLowLightBoost": true,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "minExposure": -20,
  "name": "BACK (0)",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device
Android
VisionCamera Version
3.7.0
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

const [isActive, setActive] = useState(false);
useEffect(() => {
if (hasPermission) {
setTimeout(() => setActive(true), 500); // I'm not sure "setTimeout" is needed
}
}, [hasPermission]);
And

tried the method to solve black screen issue.

reference link. i tried react native vision lifecycle still can't solve black screen problem, but setTimeout can solve the black screen problem.
https://discord.com/channels/1147256486762913884/1185605026907967568/1186034102248419559

Hello,
I'm having the same problem too. When I want to turn off the camera after scanning the QR code, I encounter a black screen error.Hello,

oh I think I know why this is

Done! Fix: #2361

works

@mrousavy This fixed it!

Awesome!


add some tox, .pylintrc, and .github/workflows fu

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@779d4c3). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   64.20%
=========================================
  Files             ?       27
  Lines             ?     2257
  Branches          ?        0
=========================================
  Hits              ?     1449
  Misses            ?      808
  Partials          ?        0

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 779d4c3...caddd3f. Read the comment docs.


FALCON-1882 Instance status api not working via prism

Testing :
$ bin/falcon instance -type feed -name feed1 -status -lifecycle EVICTION,REPLICATION
Consolidated Status: SUCCEEDED
Instances:
Instance		Cluster		SourceCluster		Status		Start		End		Details					Log
Additional Information:
Response: local/STATUS
Request Id: local/577728771@qtp-1744005378-0 - d2355720-a9a8-45d7-9
$ bin/falcon instance -type feed -name feed1 -status -lifecycle EVICTION
Consolidated Status: SUCCEEDED
Instances:
Instance		Cluster		SourceCluster		Status		Start		End		Details					Log
Additional Information:
Response: local/STATUS
Request Id: local/577728771@qtp-1744005378-0 - 6a620f94-34da-47bc-a92c-f50454986da0
$ bin/falcon instance -type feed -name feed1 -status
Consolidated Status: SUCCEEDED
Instances:
Instance		Cluster		SourceCluster		Status		Start		End		Details					Log
Additional Information:
Response: local/STATUS
Request Id: local/577728771@qtp-1744005378-0 - 295de95d-ba32-42b0-a71d-a7c0bbc90727

Will commit shortly.


fix: use the user's system locale for date formatting

fix issue #26
Instead of hardcoding Norwegian locale, use the user's system locale for date formatting

Hi there, this is done.
All you have to do is:
go to the file: "Sidebar.vue"; and
Ensure you change "no" to "en-US" as shown below, and it will convert the locale from Norwegian to English.
{{ chat.createdAt.toLocaleDateString('en-US', { day: '2-digit', month: 'short', weekday: 'long', hour: '2-digit', minute: '2-digit', second: '2-digit', }) }}


Diagnostics message ignore lsp_hover_max_lines

For some reason lsp_hover_max_lines seems to effect all hover messages but the Diagnostics ones. And as a result I am getting Diagnostics messages the size of my kak window maybe a common issue for Haskell programmers.

Looking into the code and its clear to me why this is happening. I want to try my hand at fixing it, but there is a design question that needs resolving. There are two variable sized outputs on hover, the info lines and the diagnostics lines, if there is not enough room in lsp_hover_max_lines which do we prioritize filling?
Actually giving how it currently I am thinking renaming lsp_hover_max_lines to lsp_hover_max_info_lines or something and making a separate lsp_hover_max_diagnostics_lines. Currently no matter how many much lsp_hover_max_lines is a few messages can get printed. It really works as a "how many total lines do you want the info message not push the entire message box passed" which seems not very clear.
I'll try to make a pr that might be simpler and more predictable.

Maybe even better would be to keep lsp_hover_max_lines and make it control the total lines and fill the message box in a prioritizing diagnostics over info (sort of how it does now), and adding the lsp_hover_max_info_lines and lsp_hover_max_diagnostics_lines options.

We should definitely not hide all diagnostics.
However I think it's fine to show only the first 2-3 diagnostics, because if you have dozens of diagnostics the fatal ones are probably listed first? Also it shouldn't be common to have that many..
The other options (separate config or always prioritizing diagnostics) might be fine as welll, but in order to improve the overall default experience I'm thinking something like (barely tested):
diff --git a/rc/lsp.kak b/rc/lsp.kak
index 7411f06..5af1854 100644
--- a/rc/lsp.kak
+++ b/rc/lsp.kak
@@ -123,7 +123,7 @@ info=$lsp_info \
         r = ""
         lines = 0
         if (diagnostics) {
-            r = r "{+b@InfoDefault}Diagnostics{InfoDefault} (shortcut e):\n" diagnostics "\n"
+            rendered_diagnostics = "{+b@InfoDefault}Diagnostics{InfoDefault} (shortcut e):\n" diagnostics "\n"
             diagnostics_lines = split(diagnostics, _, /\n/)
             lines += 1 + diagnostics_lines
         }
@@ -142,11 +142,24 @@ info=$lsp_info \
         }

         info_lines = split(info, info_line, /\n/)
+        if (max_lines > 0 && info_lines+lines+2 > max_lines && diagnostics) {
+            # We will exceed the limit. Usually  only the first few diagnostics are useful,
+            # so limit them.
+            max_diagnostics_lines = 6;
+            current_diagnostics_lines = split(rendered_diagnostics, rendered_diagnostics_lines, /\n/)
+            rendered_diagnostics = "";
+            for (i = 1; i <= max_diagnostics_lines && i <= current_diagnostics_lines; i++) {
+                rendered_diagnostics = rendered_diagnostics rendered_diagnostics_lines[i] "\n";
+                lines -= 1
+            }
+            truncated = 1; # TODO clean this up
+        }
         for (i = 1; i <= info_lines && (max_lines <= 0 || i+lines+2 <= max_lines); i++)
             print info_line[i]
+        r = rendered_diagnostics r
         if (i < info_lines || r)
             printf "\n"
-        if (i < info_lines)
+        if (i < info_lines || truncated)
             printf "{+i@InfoDefault}Hover info truncated, use lsp-hover-buffer (shortcut H) for full info\n"
         printf "%s", r
     }'

Going to clean up the commits, comment and fix the docs soon, but if you want to check out https://github.com/kak-lsp/kak-lsp/pull/717 for now, I tried to make things configurable and predictable.

We should definitely not hide all diagnostics.
But why not give the user control over how much is shown?

Also it shouldn't be common to have that many..
The issue is that some diagnostic messages are really tall.

I think the big issue here is that the current configuration option does not always fallow the PoLA, the user thinks they are limiting the size of the entire hover with lsp_hover_max_lines (as the documentation describes), but they are not controlling that at all.
I cleaned up my PR https://github.com/kak-lsp/kak-lsp/pull/717, and I think it "fixes" the behavior of lsp_hover_max_lines while giving the users more control over the how much space the info and diagnostics take up. Also it prioritizes outputting diagnostics over info when dealing with the effects of the lsp_hover_max_lines

Yeah that makes sense. The current behavior of lsp_hover_max_lines exists mostly due to lazy programming.
I'll take a look tomorrow.


The pairs with the mobile application do not appear

Recreating the issue
I add the URL testnet.nefis.es from the mobile application but the pairs do not appear. I'm using NGINX as proxy with HTTPS connection at <IP_ADDRESS>:9945
docker ps -a
CONTAINER ID   IMAGE                                  COMMAND    CREATED        STATUS          PORTS                                                                                NAMES
217f8f26f894   compose_tdexd                          "tdexd"    25 hours ago   Up 35 minutes   <IP_ADDRESS>:9000->9000/tcp, :::9000->9000/tcp, <IP_ADDRESS>:9945->9945/tcp, :::9945->9945/tcp   tdexd
7eebe02ad260   ghcr.io/vulpemventures/oceand:latest   "oceand"   25 hours ago   Up 35 minutes   <IP_ADDRESS>:18000->18000/tcp, :::18000->18000/tcp, 18001/tcp                               oceand

config nginx:
upstream tdex {

                server <IP_ADDRESS>:9945;
        }

server {

                listen 443 ssl;
                ssl_certificate /etc/ssl/certs/nefis.crt;
                ssl_certificate_key /etc/ssl/private/nefis.key;

                #ssl_handshake_timeout    10s;
                ssl_session_cache shared:SSL:1m;
                ssl_session_timeout 4h;
                ssl_protocols TLSv1.2 TLSv1.3;
                #ssl_prefer_server_ciphers on;
                ssl_ciphers HIGH:!aNULL:!MD5;
                proxy_pass tdex;
       }

tdex config
tdex config
quote_asset: f3d1ec678811398cd2ae277cbe3849c6f6dbd72c74bc542f7c4b11ff0e820958
macaroons_path: /home/tdex/.tdex-daemon/macaroons/admin.macaroon
no_tls: true
no_macaroons: false
proto: http
rpcserver: localhost:9000
tls_cert_path:
base_asset: 144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49
network: testnet

tdex status
tdex status
{
        "initialized": true,
        "unlocked": true,
        "synced": true
}

Market info
tdex market info
{
       "info": {
               "market": {
                       "base_asset": "144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49",
                       "quote_asset": "f3d1ec678811398cd2ae277cbe3849c6f6dbd72c74bc542f7c4b11ff0e820958"
               },
               "fee": {
                       "percentage_fee": {
                               "base_asset": "200",
                               "quote_asset": "100"
                       },
                       "fixed_fee": {
                               "base_asset": "700",
                               "quote_asset": "1000000"
                       }
               },
               "tradable": true,
               "strategy_type": "STRATEGY_TYPE_PLUGGABLE",
               "name": "lbtc_usdt",
               "price": {
                       "base_price": 0.00001936,
                       "quote_price": 51640
               },
               "balance": {
                       "144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49": {
                               "confirmed_balance": "30000000",
                               "unconfirmed_balance": "0",
                               "locked_balance": "0",
                               "total_balance": "30000000"
                       },
                       "58af36e1b529b42f3e4ccce812924380058cae18b2ad26c89805813a9db25980": {
                               "confirmed_balance": "100000000000",
                               "unconfirmed_balance": "0",
                               "locked_balance": "0",
                               "total_balance": "100000000000"
                       },
                       "b612eb46313a2cd6ebabd8b7a8eed5696e29898b87a43bff41c94f51acef9d73": {
                               "confirmed_balance": "200000000000",
                               "unconfirmed_balance": "0",
                               "locked_balance": "0",
                               "total_balance": "200000000000"
                       },
                       "f3d1ec678811398cd2ae277cbe3849c6f6dbd72c74bc542f7c4b11ff0e820958": {
                               "confirmed_balance": "10000000000",
                               "unconfirmed_balance": "0",
                               "locked_balance": "0",
                               "total_balance": "10000000000"
                       }
               },
               "base_asset_precision": 8,
               "quote_asset_precision": 8
       }
}

Browser result
https://testnet.nefis.es
{"code":5,"message":"Not Found","details":[]}
https://testnet.nefis.es/v2/transport
{"acceptedTypes":["CONTENT_TYPE_JSON","CONTENT_TYPE_GRPC","CONTENT_TYPE_GRPCWEB","CONTENT_TYPE_GRPCWEBTEXT"]}

Yes I have done it several times. What is not clear to me is which port to use as the nginx proxy for the 9000 or 9945 mobile application. I have tried it on both ports to no avail.

I'm able to list your markets with cURL!

I also don't see a way to open a certain market. If I create several markets and use tdex market open it only opens the first market created, but I see a way to call a market by name to be able to open it.

Is it possible that you sent the funds to the wrong market? Based on the market info you provided, the LBTC/USDT market  holds the following non-required funds:

100000000000 58af36e1b529b42f3e4ccce812924380058cae18b2ad26c89805813a9db25980
200000000000 b612eb46313a2cd6ebabd8b7a8eed5696e29898b87a43bff41c94f51acef9d73

Well, I've tried it on two different phones and it doesn't work.

With TDEX version 2.0.0: 18 if the pairs appear. With what Google Play offers, no


fix: github pages client-side routing hack

GitHub Pages doesn’t support routers that use the HTML5 pushState history API under the hood (like BrowserRouter) so we need to handle 404s by redirecting to the index.html page with a custom redirect parameter. Note that we cannot simply copy index.html to 404.html as the http response code will still be "erroneous" (e.g. tools like Lighthouse will not work).
For more information see https://create-react-app.dev/docs/deployment/#notes-on-client-side-routing

👍🏻


Please update SpectatorView to support at least Unity 2017.2 and work with the MixedRealityToolkit

We are using MixedRealityToolkit development, we will use SpectatorView, which is very important for developers, please update it

Spectator view has nothing to do with the MRTK, I believe this issue should be addressed in the Mixed Reality Companion Kit's repository.


Signup form for newsletter/updates (cf flowershow.app)

As someone interested in Portal.JS, I'd like to be able to subscribe to the Portal.JS Newsletter, so that I can get the latest updates on my email
:information_source: cf Flowershow.app
Acceptance

[ ]  I can subscribe to the Portal.JS newsletter using the signup form on the Portal.JS website :heavy_check_mark: 2023-04-18 FIXED. We have a Sendinblue list for subscribed users. See preview: https://site-portaljs-kuwep5orj-datopian1.vercel.app/

Criteria

[x] Create a form and a list on sendingblue
[x] Wire that up to the hero section form on the Portal.JS website

Updates 2023-03-18

Signup form implemented, see PR
See preview: https://site-portaljs-kuwep5orj-datopian1.vercel.app/

Future

Implement Repactcha

There's an invisible validation option which is not annoying and I think we are going to need it as soon as bots start getting to the site


Bug? Whitespace trimming

my command:
text="`cat subset.txt`" && node_modules/.bin/fontmin -t "$text" fonts/lato/lato__latofonts_com.ttf > fonts/lato/lato__fontmin.ttf

in subset.txt:
! "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~©«»ЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё‐‑‒–—―‘‚“„…‰™

whitespace character is in the set
but when I open the .ttf in FontForge, I see that the space character in the font is missing.
空白字符是集合
但是当我在FontForge打开.TTF，我看到，在字体的空格字符缺失。

I thought this was strange as well.  If you pass trim: false in the opts it will include the space.  The downside is that for certain fonts it is replacing the space with some other glyph.  This leads to another bug.