evdevshift don't work for Axis

Hi
I'd like to add new virtual axis (when button 12C or 12D is down).
For buttons there's no problem but I can't make it work for none of axis.
Moreover in that configuration (Saiteck_AV8R-01.conf.txt) new Joystic is not visible in jstest-gtk.
Log:

$ sudo setfacl -m user:$(whoami):rw /dev/uinput
$ ./evdevshift --config presets/Saiteck_AV8R-01.conf
Parsing file 'presets/Saiteck_AV8R-01.conf'.
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
Device: 'Saitek AV8R Joystick'.
Names defined:
Name def: Axis ABS_HAT0Y => 17
Name def: Axis ABS_HAT0X => 16
Name def: Axis ABS_THROTTLE => 6
Name def: Axis ABS_RZ => 5
Name def: Axis ABS_Z => 2
Name def: Axis ABS_Y => 1
Name def: Axis ABS_X => 0
Name def: Button BUTTON_12D => 301
Name def: Button BUTTON_12C => 300
Name def: Button BTN_BASE6 => 299
Name def: Button BTN_BASE5 => 298
Name def: Button BTN_BASE4 => 297
Name def: Button BTN_BASE3 => 296
Name def: Button BTN_BASE2 => 295
Name def: Button BTN_BASE => 294
Name def: Button BTN_PINKIE => 293
Name def: Button BTN_TOP2 => 292
Name def: Button BTN_TOP => 291
Name def: Button BTN_THUMB2 => 290
Name def: Button BTN_THUMB => 289
Name def: Button BTN_TRIGGER => 288
State:
Button BUTTON_12D => 301
Axis ABS_Y (1) will be mapped to 300/301.
Axis ABS_X (0) will be mapped to 302/303.
Axis ABS_Z (2) will be mapped to 304/305.
Button BTN_BASE6 (299) will be mapped to 306.
Button BTN_BASE5 (298) will be mapped to 307.
Button BTN_BASE4 (297) will be mapped to 308.
Button BTN_BASE3 (296) will be mapped to 309.
Button BTN_BASE2 (295) will be mapped to 310.
Button BTN_BASE (294) will be mapped to 311.
Button BTN_PINKIE (293) will be mapped to 312.
Button BTN_TOP2 (292) will be mapped to 313.
State:
Button BUTTON_12C => 300
Axis ABS_Y (1) will be mapped to 314/315.
Axis ABS_X (0) will be mapped to 316/317.
Axis ABS_Z (2) will be mapped to 318/319.
Button BTN_BASE6 (299) will be mapped to 320.
Button BTN_BASE5 (298) will be mapped to 321.
Button BTN_BASE4 (297) will be mapped to 322.
Button BTN_BASE3 (296) will be mapped to 323.
Button BTN_BASE2 (295) will be mapped to 324.
Button BTN_BASE (294) will be mapped to 325.
Button BTN_PINKIE (293) will be mapped to 326.
Button BTN_TOP2 (292) will be mapped to 327.
Axis Maps:
File 'presets/Saiteck_AV8R-01.conf' opened.
New device created.

When there's one Axis in conf (Saiteck_AV8R-01.conf-oneAxis.txt) it still doesn't work but at least second joystic is visible in jstest-gtk
Could you help?

Will take a look at that...
Kind regards,
Michal

Hello,
I tried to reproduce the problem, but so far it seems to work for me...
That said, there are few things to look for: first of all, if the new device didn't show up in the jstest-gtk, then look using the evtest - chances are, that the device was not recognized as a joystick (maybe due to disappearing ABS_X?). Also the axis mapping is meant for Hats, so it translates its movement to button presses...
Let me know if it explains the behavior you see...
Kind regards,
Michal

I was looking for additional Axises but each axis was mapped to 2 buttons.
If the axis if pushed more than half each way button press is simulated.
Can you add option to create additional axises, if axis or hat is used in own configuration e.g.:
if(BUTTON_12C){
  axis ABS_RZ
  axis ABS_HAT0Y
  axis ABS_HAT0X
}

?
so here if BUTTON_12C is keydown additional axis would be created for ABS_RZ and one "axis" for HAT.
IMHO it's more expected than mapping axis to buttons.

Hello,
this particular feature helps to make hats to behave more "naturally"; like "incremental" panning - when hat is mapped to buttons, then it is easy, while with axes it is impossible (at least in X-Plane AFAIK)...
I'll try to think about it...
Kind regards,
Michal

Thanks for you work and for this feature:)
I've noticed there's an issue with new axis assigning numbers.
New_axises numbers starts from 0 (instead of last axis number +1),
so steering real axis 0 is "overriden" by newly created axis 0.
It's hard to explain, hope the example will be clear:
Here's my setting for axises
if(BUTTON_12C){
  new_axis ABS_Z
}

if(BUTTON_12D){
  new_axis ABS_Z
}

Log:
State:
      Button BUTTON_12D => 301
        Axis ABS_Z (2) will be mapped to axis 0.
(..)
State:
      Button BUTTON_12C => 300
        Axis ABS_Z (2) will be mapped to axis 1.
(..)

This way I can control axis 0 using "real" axis 0 (ABS_X) or by the new_axis 0(ABS_Z when button (switcher) is 12C is "pressed").
On this example the same apply for axis 1(ABS_Y) when button 12D is "pressed", can be controlled by new axis 1 (ABS_Z + button 12D)

This is strange, my test shows the first unused axis is assigned to the new axis...
Could you please post the full log - so I can see what exactly is going on in there...
Kind regards,
Michal

Log:
./evdevshift --config presets/Saiteck_AV8R-01_2.conf
Parsing file 'presets/Saiteck_AV8R-01_2.conf'.
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
open: Permission denied
Device: 'Saitek AV8R Joystick'.
Names defined:
Name def: Axis ABS_HAT0Y => 17
Name def: Axis ABS_HAT0X => 16
Name def: Axis ABS_THROTTLE => 6
Name def: Axis ABS_RZ => 5
Name def: Axis ABS_Z => 2
Name def: Axis ABS_Y => 1
Name def: Axis ABS_X => 0
Name def: Button BUTTON_12D => 301
Name def: Button BUTTON_12C => 300
Name def: Button BTN_BASE6 => 299
Name def: Button BTN_BASE5 => 298
Name def: Button BTN_BASE4 => 297
Name def: Button BTN_BASE3 => 296
Name def: Button BTN_BASE2 => 295
Name def: Button BTN_BASE => 294
Name def: Button BTN_PINKIE => 293
Name def: Button BTN_TOP2 => 292
Name def: Button BTN_TOP => 291
Name def: Button BTN_THUMB2 => 290
Name def: Button BTN_THUMB => 289
Name def: Button BTN_TRIGGER => 288
State:
      Button BUTTON_12D => 301
        Axis ABS_Z (2) will be mapped to axis 0.
State:
      Button BUTTON_12C => 300
        Axis ABS_Z (2) will be mapped to axis 1.
Axis Maps:
File 'presets/Saiteck_AV8R-01_2.conf' opened.
New device created.

Config file:
Saiteck_AV8R-01_2.conf.txt
Thanks
Marcin

Hello,
can you try now?
Kind regards,
Michal

It's nearly done.
In jstest-gtk works fine. New Axis 3 and 4 are added:
(..)
        Axis ABS_RZ (5) will be mapped to axis 3.
(..)
        Axis ABS_RZ (5) will be mapped to axis 4.

They are not the last one (I've 7 'real' axises) but the others one got higher numbers, so no conflicts:)
There's a problem in X-plane 10.
I've "Yaw" mapped under this axis ABS_RZ and when mode switcher (a.k.a shift) is set to 'A' (or 'B') new axis is moved in X-plane, but unfortunately "Yaw" axis is also moved.
I've recorded a screen:
https://youtu.be/_bEVGfL8cEM

up to 12 sec modeswitcher set to "Off", moving "Yaw" (and duplicated axis, probably from oryginal joystick device, not virtual(evdevshift))
from 12 sec modeswicher changed to "A" moving "new_Axis" (and unfortunately X-plane "Yaw" in the same time)
from 20 sec modeswitcher changed to "B" moving "new_Axis" (and unfortunately X-plane "Yaw" in the same time)

Maybe it related with visiblity/duplicated axises from:
https://github.com/uglyDwarf/evdevshift/issues/5 ("in X-plane 10 axises are duplicated but this is probably because of this issue.")
?

Hello,
if I understand it correctly, the unwanted moving axis the X-Plane sees is on the source device (the physical one), not on the newly created device (there it should move only when both mode switching buttons are off) - am I correct?
If so, the only thing you can do is to assign the yaw to the axis on the new device, and unmap the "real" one... Or you can set the config to grab the device, so the X-Plane won't see movement of any of its axes (but will see the axes)... Third option might be setting the event device permissions/ACL so you can't read/write it - then the X-Plane won't use it at all...
Kind regards,
Michal

Well, it hard to tell is it "real" Axis or new one.
Newly created axises got numbers (in jstest) 3 and 4 and old ("real") is no. 5 (hope that's helpful).
Don't know how's that mapped by X-plane.
About you options:

What happen when you unmap "real" one will I be still able to use that axis or only newly created?
I can try it - how to "set the config to grab the device"?
Maybe this one would be the best solution. Will it also solve https://github.com/uglyDwarf/evdevshift/issues/5, so this way we would have solved 2 problems:) ?

Hello,
X-Plane puts axes from a device together, so I'd say that the first axis you see moving is the real one, while the block with the "switched axes" is the new device...
ad 1) you just go to the dropbox selecting what the axis does and there should be something like "nothing" or so; just indicate that it shouldn't use the axis at all...
ad 2) in the config, there is the device line - just prefix the device "xxx" with word grab ('grab device "xxx"')...
ad 3) It would, but I'm still thinking about how to make it easiest - you need the old device to be accessible by evdevshift, not accessible by X-Plane and the new device must be accessible by X-Plane... Maybe if you remove the ACL from the "real" device after you started the evdevshift, that might work...
Kind regards,
Michal
Kind regards,
Michal

ad 1) :/
ad 3) ACLs seems above my Linux knowledge. I was thinking about maybe adding a evdev group and adding read access and removing rwx for other. Googling around ACLs looks for somethink similiar/better.
ad 2) I replaced line
device "Saitek AV8R Joystick"
with:
grab device "Saitek AV8R Joystick"
not sure what it does but - It worked:) Good job :+1:
First 5 axises in X-plane are inactive now, then I have 9 new axises:)
What does the "grab" option? Maybe it worth to add it to automatic created configurations?;)

ps: isn't Evdevshit enough mature to announce it e.g. on X-plane(and/or Linux) forum as new thread?:)
More people would be able to find it.
For me it a great/must have joystick app.
It made my joystick much better.
Once again thanks for you work and time:)

Hello,
ad 2) The grab word indicates that the application requests exclusive access to the device, so other applications can't read from it... I'm not putting it there on purpose - it doesn't seem nice ;) The X-Plane does enumerate the axes, but it can't read them...
ad 3) I'm using this:
sudo setfacl -m u:username:rw
This adds read/write access to the user 'username'... getfacl will tell you what ACLs are in place. Also ls indicates there are ACLs by + sign aside from rights when using something like 'ls -lsaF'...
I'm working on one more thing that I'd like to finish before going full public; I just made a python script that is able to test evdevshift's working - it will enable quick regression testing and code coverage on the full evdevshift (instead of just the main part, which was why I didn't see the axis mapping problem). I have the main part ready, so I expect to have it ready during this weekend...
Kind  regards,
Michal

Change done. Now it's working. Closing


Fragments aren't returned in results when using useQuery/useLazyQuery reactive refs

Describe the bug
When using useQuery/useLazyQuery reactive refs with GraphQL fragments in Vue Apollo Composable, the node data within the query result is not appearing as expected, though pageInfo is present. This issue does not occur with useQuery.
To Reproduce
Steps to reproduce the behavior:

Define a GraphQL query using useQuery/useLazyQuery:

   const { result, load } = useLazyQuery(gql`
     query listInvoices($orgSlug: String!) {
       listInvoices(orgSlug: $orgSlug) {
         edges {
           node {
             ...invoiceFields
           }
         }
         pageInfo {
           hasNextPage
         }
       }
     }
   `);

Define the invoiceFields fragment:

   fragment invoiceFields on InvoiceType {
     id
     amount
     // other fields
   }

Execute the query using the load function.
Observe that pageInfo is present, but node data is missing.
Here are some screenshots to prove that the data exists, and is fetched, it's just not getting updated inside the result. (Fake user data)

Expected behavior
Both pageInfo and node data should be accessible and populated, including fields defined in the fragment.
Versions

vue: ^3.3.8
vue-apollo: ^4.0.0-beta.12
@apollo/client: ^3.7.14

I forgot to mention I am using https://www.npmjs.com/package/@rollup/plugin-graphql to import my graphql files. perhaps there's a disconnect between what's being output here and whatever process the reactive props are using. It's worth nothing that the onResult callback has all the data available.

Duplicate #1403


[FLINK-32823][doc] Update the adaptive scheduler fall back strategy doc for batch jobs

What is the purpose of the change
FLINK-30846 [1] updated the fall back strategy from default Scheduler to AdaptiveBatch Scheduler when batch job enable jobmanager.scheduler: adaptive.
However, the doc[2] isn't updated.
Brief change log
[FLINK-32823][doc] Update the adaptive scheduler fall back strategy doc for batch jobs
[1] https://github.com/apache/flink/pull/21814/files
[2] https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/elastic_scaling/#limitations-1

Hi @zhuzhurk @JunRuiLee , would you mind helping take a look this PR in your free time? thanks~
This is a minor change about batch adaptive scheduler doc.

@1996fanrui Thanks for looking into and fix this problem!
LGTM!

Thanks to everyone who helped review, CI passed, merging~


Skipped tests don't run in the debugger

I have a feeling this is a wider issue with Jest but I am curious if this plugin could solve it.
When doing TDD there are often unit tests that are a work in progress or, for whatever reason, we do not want to run as part of our wider package of tests. Jest gives us the test.skip() and describe.skip() functions as an alternative to commenting out these blocks of code.
The VSCode Jest Runner is great at making it easy to run and debug single tests, but whenever we have one of these such tests and we click Debug Jest passes over it and no breakpoints are hit.

Is there a way to debug a test without having it run when an npm test is performed?

hey @feederaccount
unfortunately, not that i know of.

@firsttris Oh well, maybe something for me to submit to the Jest repo instead.
I'll close this now then.


s3: support anonymous access

Signed-off-by: swj<EMAIL_ADDRESS>

Codecov Report

Merging #1207 (2842305) into main (dd0adcf) will increase coverage by 0.55%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1207      +/-   ##
==========================================
+ Coverage   56.95%   57.51%   +0.55%
==========================================
  Files         127      127
  Lines       21351    21361      +10
==========================================
+ Hits        12161    12285     +124
+ Misses       7719     7577     -142
- Partials     1471     1499      +28

Impacted Files
Coverage Δ

pkg/object/s3.go
43.89% <0.00%> (-1.03%)
:arrow_down:

pkg/vfs/handle.go
85.71% <0.00%> (-0.85%)
:arrow_down:

pkg/vfs/reader.go
76.45% <0.00%> (-0.37%)
:arrow_down:

cmd/gateway.go
29.77% <0.00%> (-0.34%)
:arrow_down:

pkg/meta/sql.go
68.14% <0.00%> (ø)

pkg/sync/sync.go
33.18% <0.00%> (ø)

pkg/meta/utils.go
73.17% <0.00%> (+0.16%)
:arrow_up:

pkg/meta/tkv.go
76.33% <0.00%> (+0.74%)
:arrow_up:

pkg/meta/context.go
52.00% <0.00%> (+8.00%)
:arrow_up:

... and 1 more

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 dd0adcf...2842305. Read the comment docs.


lspmanager ignores lsps already in the PATH

there are no dynamic libs on NixOS so dynamically linked lsps wont run
/home/jk/.local/share/nvim/lspmanager/rust_analyzer/./rust-analyzer` failed: ENOENT: no such file o
r directory

It'd be great if lspmanager was to check in the PATH for lsps before downloading them

Could you elaborate on the experience you'd expect from this?


Types don't work when using ESNext, NodeNext

Typescript types don't work when using ESNext or NodeNext module resolution.

Hi,
Could you provide a minimum reproduction of the issue. Or package.json & jsconfig.json so there is a bit more to go on.
Thanks!

Hi,
Could you provide a minimum reproduction of the issue. Or package.json & jsconfig.json so there is a bit more to go on.
Thanks!

Here you go: https://codesandbox.io/p/devbox/red-snow-4qt6qv

I downloaded the files from the sandbox and ran npm install and for me the types are showing up correctly. I noticed that you might be using yarn. I never used yarn but it seems possible that it somehow messes with typescript's module resolution and it has to run in cjs mode.
This library is fairly minimal and the apart from creating a cjs bundle is written in "vanilla" ESM. So it should be straight forward to modify the package.json in the node_modules folder. Let me know if you can make it work, I'm happy to accept a PR that would appease yarn.
(As a side note: I did base Bark's type strategy on prisma extension accelerate. So I would be curious if it works for that but not this what the difference is)

I am using NPM. types there show correctly but I meant for e.x in prisma.node.createRoot(), "createRoot()" doesn't show on prisma.node

我正在使用 NPM。我说的是 prisma.node.createRoot（） 中的 e.x，“createRoot（）”没有显示在 prisma.node 上我不是在谈论返回类型

+1


SQLite DB Integration

Try the SQLite addon for Godot 4.
The addon Godot SQLite for G3 was working.

For reference, I'm going with the godot-sqlite addon: https://github.com/2shady4u/godot-sqlite/tree/gd-extension
He updated to work with Godot Alpha 7. Confirmed to also work with Alpha 8, and precompiled library files, which need to be copied to addons/godot-sqlite/bin, can be found at: https://github.com/2shady4u/godot-sqlite/actions/runs/2277653213

To figure out:

[ ] Convert old temporary json functions with temporary SQLite functions in AuthenticationServer
[ ] Implement simple user settings database for GameServer

Database checks:

[ ] Server side username and password string sanitizing for extra protection against db injection attacks
[ ] Disallow logging in twice with same user?

Transferring to issue in new repo.


ansible-builder 3.1.0 encountering "ERROR: Double requirement given: dnspython"

ISSUE TYPE

Bug Report

SUMMARY
Encountering Issue with ansible-builder building an execution environment:
Ignoring ipaddress: markers 'python_version < "3.3"' don't match your environment
ERROR: Double requirement given: dnspython (from -r /tmp/src/requirements.txt (line 74)) (already in dnspython>=2.0.0 (from -r /tmp/src/requirements.txt (line 63)), name='dnspython')
Error: building at STEP "RUN /output/scripts/assemble": while running runtime: exit status 1

Issue occurs whether dnspython is in the dependencies python list or not.
Environment is:

Fedora 40
ansible-builder 3.1.0
python 3.12
ansible-navigator 24.2.0 (this specific version to get around #1766

ANSIBLE-NAVIGATOR VERSION

ansible-navigator 24.2.0

CONFIGURATION

---
ansible-navigator:
  execution-environment:
    image: <our custom EE>
    pull:
      policy: missing
  playbook-artifact:
    enable: false
  logging:
    file: ~/ansible-navigator.log

LOG FILE

Ignoring ipaddress: markers 'python_version < "3.3"' don't match your environment
ERROR: Double requirement given: dnspython (from -r /tmp/src/requirements.txt (line 74)) (already in dnspython>=2.0.0 (from -r /tmp/src/requirements.txt (line 63)), name='dnspython')
Error: building at STEP "RUN /output/scripts/assemble": while running runtime: exit status 1

STEPS TO REPRODUCE

Build Fedora 40 system
Run

python3 -m pip install ansible-navigator==24.2.0 --user

Define your execution environment as follows:

---
version: 3

build_arg_defaults:
  ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: '--upgrade'

dependencies:
  galaxy:
    collections:
      - ansible.controller
      - ansible.posix
      - ansible.utils
      - ansible.windows
      - azure.azcollection
      - community.windows
      - microsoft.ad
      - redhat.rhel_system_roles
      - redhat.satellite
      - vmware.vmware_rest
      - community.crypto
      - cloud.vmware_ops
  python:
    - selinux
    - dnspython
    - psutil
    - netaddr
    - pyjwt
  system:
    - findutils [platform:rpm]

images:
  base_image:
    name: registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest

additional_build_files:
  - src: /home/bob/.ansible.cfg
    dest: configs

additional_build_steps:
  prepend_galaxy:
    - ADD _build/configs/.ansible.cfg ${HOME}/.ansible.cfg

options:
  package_manager_path: /usr/bin/microdnf

Run the following to build the Execution Environment:

 ansible-builder build --verbosity ${EE_VERBOSITY} --prune-images --tag ${EE_NAME}:${EE_VERSION} --tag ${EE_NAME}:latest

EXPECTED RESULTS

It is expected that ansible-builder will be able to resolve the python dependencies for dnspython and build an Execution Environment.
ACTUAL RESULTS

Ignoring ipaddress: markers 'python_version < "3.3"' don't match your environment
ERROR: Double requirement given: dnspython (from -r /tmp/src/requirements.txt (line 74)) (already in dnspython>=2.0.0 (from -r /tmp/src/requirements.txt (line 63)), name='dnspython')
Error: building at STEP "RUN /output/scripts/assemble": while running runtime: exit status 1

ADDITIONAL INFORMATION

When using ansible-builder 3.0.1, the Execution Environment is built successfully without error.  ansible-builder 3.1.0 seems to be the problem.
I scanned through the requirements.txt files for all the collections and only found 1 reference to dnspython:
microsoft.ad v1.7.1 requirements.txt
dnspython >= 2.0.0

There should not be 2 entries for dnspython in conflict as I am specifying dnspython in the execution_environment.yml without a version.  Further, even if I remove the reference to dnspython from the execution_environment.yml, I still get the error.

I had the same issue, I found my resolution over here:
https://github.com/ansible/ansible-builder/issues/706
By adding:
dependencies:
python_interpreter:
package_system: python3.12
python_path: /usr/bin/python3.12
ansible_core:
package_pip: ansible-core>=2.16,<2.17
ansible_runner:
package_pip: ansible-runner
Although I added
package_system: python3.12-devel
instead
Ubuntu EE builders may want to use
package_system: python3.12-dev
instead


Add radarsat2 in xsar

with https://github.com/umr-lops/xradarsat2/releases/tag/0.0.1 it should solve the issue with upper/lower case in xradarsat2 dependency and manage to go through the build.

@yreynaud can you merge with develop ?


Scipy versions

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

fyi @CagtayFabry, @vhirtham

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender

thanks @marscher
scipy 1.6.2 is not on conda-forge yet maybe that is the issue?

so there  is an inconsistency between the conda dependencies and those in setup.cfg for version 0.3.1, does that matter?

The dependencies of conda packages are handled by the conda package manager and not setup.{py, cfg}. During the build step of a conda package the automatic dependency installation/handling of setup.py is being disabled. This allows the conda recipe to declare different things than setup.py

sounds good 🚀

Since this inconsistency will only prolong for one micro release, I guess we can live with that.

turns out this causes trouble when loading ASDF files due to additional version checking of the ASDF extension modules
with this environment
asdf=2.7.3
scipy=1.6.2
weldx=0.3.1 (from this update)

I get an error opening ASDF files
---------------------------------------------------------------------------
VersionConflict                           Traceback (most recent call last)
<ipython-input-6-32c8c1649cd5> in <module>
----> 1 with asdf.open(filename, custom_schema=file_schema) as asdf_file:
      2     weldx_file = asdf_file.tree

/srv/conda/envs/notebook/lib/python3.8/site-packages/asdf/asdf.py in open_asdf(fd, uri, mode, validate_checksums, extensions, do_not_fill_defaults, ignore_version_mismatch, ignore_unrecognized_tag, _force_raw_types, copy_arrays, lazy_load, custom_schema, strict_extension_check, ignore_missing_extensions, validate_on_read, _compat)
   1472         readonly = (mode == 'r' and not copy_arrays)
   1473
-> 1474     instance = AsdfFile(extensions=extensions,
   1475                    ignore_version_mismatch=ignore_version_mismatch,
   1476                    ignore_unrecognized_tag=ignore_unrecognized_tag,

/srv/conda/envs/notebook/lib/python3.8/site-packages/asdf/asdf.py in __init__(self, tree, uri, extensions, version, ignore_version_mismatch, ignore_unrecognized_tag, ignore_implicit_conversion, copy_arrays, lazy_load, custom_schema, _readonly)
    113         self._extensions = []
    114         self._extension_metadata = {}
--> 115         self._process_extensions(extensions)
    116
    117         if custom_schema is not None:

/srv/conda/envs/notebook/lib/python3.8/site-packages/asdf/asdf.py in _process_extensions(self, extensions)
    214     def _process_extensions(self, extensions):
    215         if extensions is None or extensions == []:
--> 216             self._extensions = default_extensions.extension_list
    217             self._extension_metadata = default_extensions.package_metadata
    218             return

/srv/conda/envs/notebook/lib/python3.8/site-packages/asdf/extension.py in extension_list(self)
    233     def extension_list(self):
    234         if self._extension_list is None:
--> 235             self._extension_list = AsdfExtensionList(self.extensions)
    236
    237         return self._extension_list

/srv/conda/envs/notebook/lib/python3.8/site-packages/asdf/extension.py in extensions(self)
    226                 self._extensions.append(BuiltinExtension())
    227
--> 228             self._load_installed_extensions()
    229
    230         return self._extensions

/srv/conda/envs/notebook/lib/python3.8/site-packages/asdf/extension.py in _load_installed_extensions(self, group)
    196             with warnings.catch_warnings(record=True) as w:
    197                 warnings.simplefilter('always', category=AsdfDeprecationWarning)
--> 198                 ext = entry_point.load()
    199             if not issubclass(ext, AsdfExtension):
    200                 warnings.warn("Found entry point {}, from {} but it is not a "

/srv/conda/envs/notebook/lib/python3.8/site-packages/pkg_resources/__init__.py in load(self, require, *args, **kwargs)
   2469             )
   2470         if require:
-> 2471             self.require(*args, **kwargs)
   2472         return self.resolve()
   2473

/srv/conda/envs/notebook/lib/python3.8/site-packages/pkg_resources/__init__.py in require(self, env, installer)
   2492         # requirements for that extra are purely optional and skip over them.
   2493         reqs = self.dist.requires(self.extras)
-> 2494         items = working_set.resolve(reqs, env, installer, extras=self.extras)
   2495         list(map(working_set.add, items))
   2496

/srv/conda/envs/notebook/lib/python3.8/site-packages/pkg_resources/__init__.py in resolve(self, requirements, env, installer, replace_conflicting, extras)
    788                 # Oops, the "best" so far conflicts with a dependency
    789                 dependent_req = required_by[req]
--> 790                 raise VersionConflict(dist, req).with_context(dependent_req)
    791
    792             # push the new requirements onto the stack

VersionConflict: (scipy 1.6.2 (/srv/conda/envs/notebook/lib/python3.8/site-packages), Requirement.parse('scipy<1.6'))

So we should avoid discrepancy between conda builds and source requirements
In the future probably just publish a fix release for the dependencies
can you revert this to be <1.6 again for 0.3.1with a new build number @marscher ?


When gifting out NFT, raw popup shows

What happened?
Went out to our nft gallery on rmrk to send out nft
Please reproduce in steps
/
Expected Behavior
For it to look normal
What browsers are you seeing the problem on?
Firefox
At which address did you encounter bug?
kodadot.xyz
Are you logged in?
No response
Which wallet you are using?
PolkadotJS
At which chain did you encounter bug?
RMRK
Screenshots

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

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

👋


Drivers: Counter: Added flag for counting up

Tmr and dtmr drivers were missing a flag which tells the counter_is_conting_up function that the counter is counting up. So I've added the flag

Fixes #76785

the default is setting the counter to counting down by design, what is your test application and command line?

@hakehuang

I simply loop over the counter and print out the values. The counter is counting up. Iam letting it run in a ztest, there's no special configuration added.

I simply loop over the counter and print out the values. The counter is counting up. Iam letting it run in a ztest, there's no special configuration added.

so set to count down is not supported, as the old setting?

I simply loop over the counter and print out the values. The counter is counting up. Iam letting it run in a ztest, there's no special configuration added.

so set to count down is not supported, as the old setting?

No, the counters are counting up, but there's a missing flag so the counter_is_counting_up function returns false.

the clang format check issue I did not see it last time, what do yo changed?

I'll look at it.

the clang format check issue I did not see it last time, what do yo changed?

I ran those files through clang-format and it did more than i thought... but the only change that matters s the one with flags.

No, the counters are counting up, but there's a missing flag so the counter_is_counting_up function returns false.

I mean, if the counter can only count up, this setting shall be fixed in driver better by dts. Setting flags means it can UP/DOWN, can you clarify?

No, the counters are counting up, but there's a missing flag so the counter_is_counting_up function returns false.

I mean, if the counter can only count up, this setting shall be fixed in driver better by dts. Setting flags means it can UP/DOWN, can you clarify?

I did not find a way to configure the counter to count down. I think it was a typo. CI would not show this error because most of the testcases are skipped, and the PR draft here: #76527 would add a testcase that would catch this behavior.

Ok regarding documentation the dtmr should count down. I've ran the tests and it fails. If I print out the counted values, the counter is still counting up. Either there's a problem with qemu or the counter is counting so fast the prints look like its counting up or it is counting up. For now i've removed the dtmr from PR, but i think that it should too have this flag.

@ithinuel  do you known why the arm_cmsdk_timer and arm_cmsdk_dtimer are actually count up but spec says it is count down?

@hakehuang tmr_cmsdk_apb_get_value does load - value so counter_get_value will return a value going up.

LGTM, the format issue is not introduced by this PR, but enhanced CI check.

@nordic-krch Can you confirm, that this is ok?


Highlight results

Hi Kabir! First of all I must say the project is awesome! I never liked find and  fu is the answer.
By any chance would you like to add some highlighting to the results, maybe when searching by regex or substring?

Used grep here just to show what I mean.
I would like to give it a try and submit a PR. Only if you are up for it.

Sure, go ahead :smile:
You'd be implementing this for the name matchers (substring, prefix, suffix, etc.).
I'd make sure that the output is not colored when piping (I used mattn/go-isatty earlier for this purpose).

Have a look at the source code (specifically, fu.go and matchers.go).
I've thought about this, and I think the best way to implement this is to replace the rename the FileMatcher interface to AttrMatcher and introduce a new interface called NameMatcher.
A NameMatcher will return a boolean indicator of whether the query matched and a list of ranges (low and high indexes) representing the matched regions. Existing name matchers would have to be migrated over to this new interface.
Let me know what you think, or if you would like to implement this another way.

Great! I haven't read the code yet so I'll start by checking those up.
I do not have too much spare time right now and I am just learning Go so I won't be able to do it very quickly. So if you have the time and want to do it yourself of course that is totally fine to me.
I'll keep you posted and maybe ask for your feedback as I make progress with it. You already pointed a place to start so that's great! :smile:


feat: gitness app - executions list page with api

added executions list page with api for gitness app
shifted timeDistance out to common utils in playground
fixed a few exports in playground to be used in gitness app

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


misc,tests: Add cache of ALL/gem5.opt to ci-test.yaml

This is just a small toy example to play with and verify assumptions.
WIP: not ready for review! Just need it out of 'draft' state to run the tests.

Is this good to go?

I think it's good to go now, but best see the CI tests pass first.


Error when running ".\vcpkg.exe install freetype:x64-windows" on windows

Host Environment

OS: Windows
Package: brotli:x64-windows
Vcpkg version: 2021-01-13-768d8f95c9e752603d2c5901c7a7c7fbdb08af35

To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe install freetype:x64-windows
Failure logs
PS C:\src\vcpkg> .\vcpkg.exe install freetype:x64-windows
Computing installation plan...
The following packages will be built and installed:

brotli[core]:x64-windows -> 1.0.9
bzip2[core]:x64-windows -> 1.0.8#1
freetype[brotli,bzip2,core,png,zlib]:x64-windows -> 2.10.4
libpng[core]:x64-windows -> 1.6.37#14
zlib[core]:x64-windows -> 1.2.11#9
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...

-- Using cached C:/src/vcpkg/downloads/google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz
-- Cleaning sources at C:/src/vcpkg/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/src/vcpkg/downloads/google-brotli-e61745a6b7add50d380cfd7d3883dd6c62fc2c71.tar.gz
-- Applying patch install.patch
-- Applying patch fix-arm-uwp.patch
-- Applying patch pkgconfig.patch
-- Using source at C:/src/vcpkg/buildtrees/brotli/src/6c62fc2c71-a8c4ea9278.clean
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
Command failed: ninja -v
Working Directory: C:/src/vcpkg/buildtrees/brotli/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\src\vcpkg\buildtrees\brotli\config-x64-windows-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:319 (vcpkg_execute_required_process)
ports/brotli/portfile.cmake:13 (vcpkg_configure_cmake)
scripts/ports.cmake:131 (include)
Error: Building package brotli:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: brotli:x64-windows
Vcpkg version: 2021-01-13-768d8f95c9e752603d2c5901c7a7c7fbdb08af35
Additionally, attach any relevant sections from the log files above.

Please attach (drag & drop) file C:\src\vcpkg\buildtrees\brotli\config-x64-windows-out.log for further diagnostic review.

Please attach (drag & drop) file C:\src\vcpkg\buildtrees\brotli\config-x64-windows-out.log for further diagnostic review.

config-x64-windows-out.log

CMake is not able to generate the project properly -
Check to make sure Visual Studio 2019 has the following installed:

Desktop Development with C++
One of the Windows SDKs, preferably the latest 19041
English Language Pack

CMake is not able to generate the project properly -
Check to make sure Visual Studio 2019 has the following installed:

Desktop Development with C++
One of the Windows SDKs, preferably the latest 19041
English Language Pack

It starts downloading. I missed the SDKs.


[NuxtJS] Cannot read properties of null (reading 'getRootNode')

Versions

nuxt: 2.15.8
node: v16.16.0

Reproduction
Steps to reproduce
Create and use component
<template>
    <div>
        <nuxt-link to="/explore">test</nuxt-link>
    </div>
</template>

What is Expected?
I expected it to run without causing any issues.
What is actually happening?
The NuxtLink / nuxt-link is causing an exception Uncaught TypeError: Cannot read properties of null (reading 'getRootNode')

Would you provide a reproduction? You can start from https://stackblitz.com/edit/github-xvb1hm. 🙏

unable to reproduce issue


[PageWizard] The bullets in left navigator are not displayed well in Safari

What package is this for?

[x] React
[ ] Angular

Describe the bug
The bullets in left navigator are not displayed well in Safari
To Reproduce
Steps to reproduce the behavior:
Open https://carbon-addons-iot-react.com/?path=/story/watson-iot-pagewizard--stateful-example in Safari
Now it is shown like below

https://carbon-addons-iot-react.com/?path=/story/watson-iot-pagewizard--with-horizontal-progress-indicator

Expected behavior
Same as in Chrome

Environment/versions:

OS: [MacOS]
Browser: [ safari]
carbon-addons-iot-react version: [2.133.0+]

Specific timeline issues / requests
Our project is going to be GAed in January. Is it possible to fix this issue ASAP?

My fix is:
.iot--progress-step-button {
      flex-direction: column;
}

This should be fixed along with #2129

closing. fixed in both chrome and safari now in both https://carbon-addons-iot-react.com/?path=/story/watson-iot-pagewizard--stateful-example and https://next.carbon-addons-iot-react.com/?path=/story/1-watson-iot-pagewizard--stateful-example


Bookstore  use redux in react components

Bookstore: Use Redux in React components.
In this milestone I used a Redux store to display books. I implemented react-redux in order to connect the redux store and then access its state variables (accessed through useSelector) and state modifiers (which will be a combination of a reducer and useDispatch).
Comprehensively, I ensured to:

Display books, received from the slice, in a reusable component
Dispatch actions using useDispatch
Add a <Button> component, which includes:

An event handler that adds a book to the books array (with attributes id, title and author)

Add a <Button> component, which includes:

An event handler that removes a book from the books array (by id)

Hi @danielochuba, You can add styling of the bookstore app  as a future feature 👍🏿

@prolajumokeoni 😄 I have done so, thank you for pointing that out

@prolajumokeoni Thank you 🥰


Opening bash on ssh remote development

Type: Bug
If you're working on a remote server via SSH connection in VS Code and you want to open the bash of the linux server you're working on everytime there comes an error:
"The terminal process failed to launch: A native exception occurred during launch (posix_spawn failed: No such file or directory)."
In VS Code 1.74.3 this error doesn't exists.
 Go to view -> output and select windows and remote-ssh logs from the dropdown on the right. What version of the remote-ssh extension do you have? And to confirm you have a local windows machine and remote linux machine right?

If I try to open the terminal there are no window logs.
Window logs at VS Code startup:
2023-03-23 09:01:45.066 [info] Electron sandbox mode is enabled! 2023-03-23 09:01:45.084 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. 2023-03-23 09:01:45.085 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.remote-repositories' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. 2023-03-23 09:01:45.085 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. 2023-03-23 09:01:45.085 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.jupyter' wants API proposal 'notebookControllerKind' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. 2023-03-23 09:01:45.348 [info] Invoking resolveAuthority(ssh-remote)... 2023-03-23 09:01:45.348 [info] [LocalProcess0][resolveAuthority(ssh-remote,1)][0ms] obtaining proxy... 2023-03-23 09:01:45.779 [info] [LocalProcess0][resolveAuthority(ssh-remote,1)][430ms] invoking... 2023-03-23 09:01:46.756 [error] [Extension Host] (node:13340) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use Code - Insiders --trace-deprecation ...to show where the warning was created) 2023-03-23 09:01:46.772 [info] [LocalProcess0][resolveAuthority(ssh-remote,1)][1421ms] returned <IP_ADDRESS>:60403 2023-03-23 09:01:46.772 [info] resolveAuthority(ssh-remote) returned '<IP_ADDRESS>:60403' after 1422 ms 2023-03-23 09:01:46.773 [info] Creating a socket (renderer-Management-bcb4ee6f-5e3f-410e-95d7-0d2f42f19a51)... 2023-03-23 09:01:46.773 [info] Creating a socket (renderer-ExtensionHost-c262291f-ba47-42e5-9ff1-08b28beb6a6e)... 2023-03-23 09:01:46.783 [info] Creating a socket (renderer-Management-bcb4ee6f-5e3f-410e-95d7-0d2f42f19a51) was successful after 10 ms. 2023-03-23 09:01:46.801 [info] Creating a socket (renderer-ExtensionHost-c262291f-ba47-42e5-9ff1-08b28beb6a6e) was successful after 28 ms. 2023-03-23 09:01:48.132 [info] [perf] Render performance baseline is 32ms
Same at Remote-SSH logs.
Remote-SSH logs at startup:
`[09:03:13.690] Log Level: 2
[09:03:13.693] SSH Resolver called for "ssh-remote+vmcore", attempt 1
[09:03:13.693] "remote.SSH.useLocalServer": false
[09:03:13.694] "remote.SSH.showLoginTerminal": false
[09:03:13.694] "remote.SSH.remotePlatform": {"vmcore":"linux"}
[09:03:13.694] "remote.SSH.path": undefined
[09:03:13.695] "remote.SSH.configFile": undefined
[09:03:13.695] "remote.SSH.useFlock": true
[09:03:13.695] "remote.SSH.lockfilesInTmp": false
[09:03:13.695] "remote.SSH.localServerDownload": auto
[09:03:13.695] "remote.SSH.remoteServerListenOnSocket": false
[09:03:13.696] "remote.SSH.showLoginTerminal": false
[09:03:13.696] "remote.SSH.defaultExtensions": []
[09:03:13.696] "remote.SSH.loglevel": 2
[09:03:13.696] "remote.SSH.enableDynamicForwarding": true
[09:03:13.696] "remote.SSH.enableRemoteCommand": false
[09:03:13.696] "remote.SSH.serverPickPortsFromRange": {}
[09:03:13.697] "remote.SSH.serverInstallPath": {}
[09:03:13.700] VS Code version: 1.77.0-insider
[09:03:13.700] Remote-SSH version<EMAIL_ADDRESS>[09:03:13.700] win32 x64
[09:03:13.705] SSH Resolver called for host: vmcore
[09:03:13.705] Setting up SSH remote "vmcore"
[09:03:13.710] Using commit id "a5bd844beddef8ca5f9ccfdb1bb7b3b4f8e5204e" and quality "insider" for server
[09:03:13.714] Install and start server if needed
[09:03:13.717] Checking ssh with "C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe -V"
[09:03:13.724] Got error from ssh: spawn C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[09:03:13.724] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V"
[09:03:13.727] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT
[09:03:13.728] Checking ssh with "C:\WINDOWS\ssh.exe -V"
[09:03:13.731] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT
[09:03:13.731] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V"
[09:03:13.735] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT
[09:03:13.735] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[09:03:13.741] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[09:03:13.741] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[09:03:13.830] > OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
[09:03:13.848] Running script with connection command: "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 60419 vmcore bash
[09:03:13.852] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[09:03:14.473] > ]0;C:\WINDOWS\System32\cmd.exe
[09:03:14.474] Got some output, clearing connection timeout
[09:03:14.607] > 29a702292c07: running
[09:03:14.628] > Warning: Can't find libstdc++.so or ldconfig, can't verify libstdc++ version

Acquiring lock on /home/domenic/.vscode-server-insiders/bin/a5bd844beddef8ca5f9c
cfdb1bb7b3b4f8e5204e/vscode-remote-lock.domenic.a5bd844beddef8ca5f9ccfdb1bb7b3b4
f8e5204e
[09:03:14.644] > Found existing installation at /home/domenic/.vscode-server-insiders/bin/a5bd844
beddef8ca5f9ccfdb1bb7b3b4f8e5204e...
Checking /home/domenic/.vscode-server-insiders/.a5bd844beddef8ca5f9ccfdb1bb7b3b4
f8e5204e.log and /home/domenic/.vscode-server-insiders/.a5bd844beddef8ca5f9ccfdb
1bb7b3b4f8e5204e.pid for a running server
Looking for server with pid: 1993792
[09:03:14.661] > Found running server...

Visual Studio Code Server

By using the software, you agree to
the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-lice
nse) and
the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacyst
atement).

Checking server status on port 39951 with wget
29a702292c07: start
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==39951==
osReleaseId==nixos==
arch==x86_64==
tmpDir==/run/user/9030==
platform==linux==
[09:03:14.667] >
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==a11a1aa1-aa11-1111-a1a1-11a1a111a111==
29a702292c07: end
[09:03:14.668] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==39951==
osReleaseId==nixos==
arch==x86_64==
tmpDir==/run/user/9030==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==a11a1aa1-aa11-1111-a1a1-11a1a111a111==

[09:03:14.668] Remote server is listening on 39951
[09:03:14.668] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":39951},"osReleaseId":"nixos","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/9030","platform":"linux","connectionToken":"a11a1aa1-aa11-1111-a1a1-11a1a111a111"},"installUnpackCode":""}
[09:03:14.673] Starting forwarding server. localPort 60425 -> socksPort 60419 -> remotePort 39951
[09:03:14.674] Forwarding server listening on 60425
[09:03:14.674] Waiting for ssh tunnel to be ready
[09:03:14.675] [Forwarding server 60425] Got connection 0
[09:03:14.677] Tunneled 39951 to local port 60425
[09:03:14.677] Resolved "ssh-remote+vmcore" to "<IP_ADDRESS>:60425"
[09:03:14.689] ------
[09:03:14.710] [Forwarding server 60425] Got connection 1
[09:03:14.730] [Forwarding server 60425] Got connection 2
`
Remote - SSH Extension Version v0.98.0
My local machine is windows and the remote one is a linux machine right.

Thanks for that info.
Can you do a trace log while creating a terminal? https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging
/label info-needed terminal

Sure. Not sure though what you mean by while creating a terminal.
exthost.log

Looks like those logs are from the extension host. We'll need the Pty Host logs

ptyhost.log
Sorry, didn't know that.

Okay thanks for that. It looks like the shell path we're using for bash is /usr/bin/bash. I also see that your $SHELL is /usr/bin/zsh. Do both of those exist? What happens if you run /usr/bin/bash directly in a terminal?

Do you know if that path is a symlink?
Also, @deepak1556 any thoughts?

It's not.
UPDATE: I was trying to reproduce the issue and while I was connecting to the remote machine via ssh, the vscode-server on the remote machine was updated. Now the connection to the remote machine works flawlessly as it was before (I tried several times).
I'm adding the most recent log file.
Thank you very much and please excuse me for causing so much trouble.
ptyhost.log

Ok, I'll close this for now. Lmk if you see an issue again


minioperational-<IP_ADDRESS> does not compile

[3 of 4] Compiling Control.Monad.Operational.Mini ( Control/Monad/Operational/Mini.hs, dist/build/Control/Monad/Operational/Mini.o )

Control/Monad/Operational/Mini.hs:55:5:
    ‘toLoft’ is not a (visible) method of class ‘Tower’

Control/Monad/Operational/Mini.hs:87:5:
    ‘toLoft’ is not a (visible) method of class ‘Tower’

A complete build log is at http://hydra.cryp.to/build/522750/nixlog/1/raw.

Fixed and released 0.4.9. Thanks for the report.


[FLINK-3074] Add config option to start YARN AM on port range

Thanks for your work @rmetzger. I had some minor comments/questions for clarification.

Thank you for the good review
I've addressed all your concerns. I've also changed the method which parses the configuration string to return an iterator instead of a set.

Only some minor comments left. +1 for merging after they are are addressed or discarded.

Thank you for the review! I've merged it.


Alignment Issues

Hi, I'm using a Displayotron 3000 on a Raspberry Pi 3 and I'm having some difficulty having the text characters align properly, as when I run the sample "Hello World" script, the display cuts off some characters and displays "ello World". Changing the script to print " Hello World" makes it work. However, the alignment issues are different for different sets of characters, as some will only be off by 1 character while others will be offset by 2 or 3.
Thanks,
Nixpower

It looks like the issue I'm having is only the case when you don't use backlight.rgb prior to printing your text to the display. This looks like a really interesting and specific bug...

I've seen this happen a couple of times on Display-o-Tron 3000, but haven't been able to narrow down exactly why. It's always been one character offset for me, and can generally be fixed with a call to ( if I remember correctly ) home

I notice the same problem when I am clearing the display directly before other commands (usually set_cursor). A 10ms sleep solves the problem.


3 0 curl connection pool

Implement a ds3_connection_pool struct
Add tests to verify tcp connections are reused from the connection pool and thread safe.
-----Testing Bulk PUT of 200 very small files in parallel-------
resources/very_small_file.txt: 22
init ds3_connection_pool for sm2u-11.eng.sldomain.com
init connection 0
release connection 0
init connection 1
release connection 1
init connection 2
release connection 2
Thread 1 PUT file_00001
init connection 3
Thread 0 PUT file_00000
release connection 3
Thread 1 PUT file_00003
init connection 4
release connection 4
Thread 1 PUT file_00005
init connection 5
release connection 5
init connection 6
Thread 1 PUT file_00007
release connection 6
init connection 7
Thread 0 PUT file_00002
release connection 7
Thread 1 PUT file_00009
init connection 8
release connection 8
Thread 1 PUT file_00011
init connection 9
release connection 9
init connection 10
Thread 1 PUT file_00013
release connection 10
Thread 0 PUT file_00004
init connection 11
release connection 11
Thread 0 PUT file_00006
init connection 12
release connection 12
Thread 0 PUT file_00008
init connection 13
release connection 13
Thread 0 PUT file_00010
init connection 14
release connection 14
Thread 0 PUT file_00012
init connection 15
release connection 15
Thread 0 PUT file_00014
init connection 16
release connection 16
Thread 0 PUT file_00016
init connection 17
release connection 17
Thread 0 PUT file_00018
init connection 18
release connection 18
Thread 0 PUT file_00020
init connection 19
release connection 19
Thread 0 PUT file_00022
init connection 20
release connection 20
Thread 0 PUT file_00024
init connection 21
release connection 21
init connection 22
Thread 0 PUT file_00026
release connection 22
init connection 23
Thread 1 PUT file_00015
release connection 23
Thread 0 PUT file_00028
init connection 24
release connection 24
Thread 0 PUT file_00030
init connection 25
release connection 25
init connection 26
Thread 0 PUT file_00032
release connection 26
init connection 27
Thread 1 PUT file_00017
release connection 27
init connection 28
Thread 0 PUT file_00034
release connection 28
Thread 1 PUT file_00019
init connection 29
release connection 29
init connection 30
Thread 1 PUT file_00021
release connection 30
Thread 0 PUT file_00036
init connection 31
release connection 31
Thread 0 PUT file_00038
init connection 32
release connection 32
Thread 0 PUT file_00040
init connection 33
release connection 33
Thread 0 PUT file_00042
init connection 34
release connection 34
Thread 0 PUT file_00044
init connection 35
release connection 35
Thread 0 PUT file_00046
init connection 36
release connection 36
init connection 37
Thread 0 PUT file_00048
release connection 37
init connection 38
Thread 1 PUT file_00023
release connection 38
Thread 0 PUT file_00050
init connection 39
release connection 39
Thread 0 PUT file_00052
init connection 40
release connection 40
Thread 0 PUT file_00054
init connection 41
release connection 41
Thread 0 PUT file_00056
init connection 42
release connection 42
Thread 0 PUT file_00058
init connection 43
release connection 43
Thread 0 PUT file_00060
init connection 44
release connection 44
Thread 0 PUT file_00062
init connection 45
release connection 45
Thread 0 PUT file_00064
init connection 46
release connection 46
Thread 0 PUT file_00066
init connection 47
release connection 47
Thread 0 PUT file_00068
init connection 48
release connection 48
init connection 49
Thread 0 PUT file_00070
release connection 49
init connection 50
Thread 1 PUT file_00025
release connection 50
init connection 51
Thread 0 PUT file_00072
release connection 51
init connection 52
Thread 1 PUT file_00027
release connection 52
init connection 53
Thread 0 PUT file_00074
release connection 53
init connection 54
Thread 1 PUT file_00029
release connection 54
Thread 0 PUT file_00076
init connection 55
release connection 55
Thread 0 PUT file_00078
init connection 56
release connection 56
init connection 57
Thread 0 PUT file_00080
release connection 57
init connection 58
Thread 1 PUT file_00031
release connection 58
init connection 59
Thread 0 PUT file_00082
release connection 59
init connection 60
Thread 1 PUT file_00033
release connection 60
init connection 61
Thread 0 PUT file_00084
release connection 61
init connection 62
Thread 1 PUT file_00035
release connection 62
init connection 63
Thread 0 PUT file_00086
release connection 63
init connection 64
Thread 1 PUT file_00037
release connection 64
Thread 0 PUT file_00088
init connection 65
release connection 65
init connection 66
Thread 1 PUT file_00039
release connection 66
init connection 67
Thread 0 PUT file_00090
release connection 67
init connection 68
Thread 1 PUT file_00041
release connection 68
init connection 69
Thread 0 PUT file_00092
release connection 69
Thread 1 PUT file_00043
init connection 70
release connection 70
Thread 1 PUT file_00045
init connection 71
release connection 71
Thread 1 PUT file_00047
init connection 72
release connection 72
init connection 73
Thread 1 PUT file_00049
release connection 73
Thread 0 PUT file_00094
init connection 74
release connection 74
Thread 0 PUT file_00096
init connection 75
release connection 75
init connection 76
Thread 0 PUT file_00098
release connection 76
init connection 77
Thread 1 PUT file_00051
release connection 77
init connection 78
Thread 0 PUT file_00100
release connection 78
init connection 79
Thread 1 PUT file_00053
release connection 79
init connection 80
Thread 0 PUT file_00102
release connection 80
Thread 1 PUT file_00055
init connection 81
release connection 81
Thread 1 PUT file_00057
init connection 82
release connection 82
init connection 83
Thread 1 PUT file_00059
release connection 83
Thread 0 PUT file_00104
init connection 84
release connection 84
init connection 85
Thread 0 PUT file_00106
release connection 85
Thread 1 PUT file_00061
init connection 86
release connection 86
Thread 1 PUT file_00063
init connection 87
release connection 87
init connection 88
Thread 1 PUT file_00065
release connection 88
init connection 89
Thread 0 PUT file_00108
release connection 89
init connection 90
Thread 1 PUT file_00067
release connection 90
init connection 91
Thread 0 PUT file_00110
release connection 91
init connection 92
Thread 1 PUT file_00069
release connection 92
init connection 93
Thread 0 PUT file_00112
release connection 93
init connection 94
Thread 1 PUT file_00071
release connection 94
init connection 95
Thread 0 PUT file_00114
release connection 95
init connection 96
Thread 1 PUT file_00073
release connection 96
Thread 0 PUT file_00116
init connection 97
release connection 97
Thread 0 PUT file_00118
init connection 98
release connection 98
Thread 0 PUT file_00120
init connection 99
release connection 99
re-use connection 0
Thread 0 PUT file_00122
release connection 0
Thread 1 PUT file_00075
re-use connection 1
release connection 1
re-use connection 2
Thread 1 PUT file_00077
release connection 2
Thread 0 PUT file_00124
re-use connection 3
release connection 3
Thread 0 PUT file_00126
re-use connection 4
release connection 4
re-use connection 5
Thread 0 PUT file_00128
release connection 5
Thread 1 PUT file_00079
re-use connection 6
release connection 6
re-use connection 7
Thread 1 PUT file_00081
release connection 7
Thread 0 PUT file_00130
re-use connection 8
release connection 8
re-use connection 9
Thread 0 PUT file_00132
release connection 9
re-use connection 10
Thread 1 PUT file_00083
release connection 10
Thread 0 PUT file_00134
re-use connection 11
release connection 11
Thread 0 PUT file_00136
re-use connection 12
release connection 12
re-use connection 13
Thread 0 PUT file_00138
release connection 13
re-use connection 14
Thread 1 PUT file_00085
release connection 14
re-use connection 15
Thread 0 PUT file_00140
release connection 15
re-use connection 16
Thread 1 PUT file_00087
release connection 16
Thread 0 PUT file_00142
re-use connection 17
release connection 17
re-use connection 18
Thread 0 PUT file_00144
release connection 18
Thread 1 PUT file_00089
re-use connection 19
release connection 19
Thread 1 PUT file_00091
re-use connection 20
release connection 20
Thread 1 PUT file_00093
re-use connection 21
release connection 21
Thread 1 PUT file_00095
re-use connection 22
release connection 22
Thread 1 PUT file_00097
re-use connection 23
release connection 23
Thread 1 PUT file_00099
re-use connection 24
release connection 24
Thread 1 PUT file_00101
re-use connection 25
release connection 25
Thread 1 PUT file_00103
re-use connection 26
release connection 26
Thread 1 PUT file_00105
re-use connection 27
release connection 27
Thread 1 PUT file_00107
re-use connection 28
release connection 28
re-use connection 29
Thread 1 PUT file_00109
release connection 29
re-use connection 30
Thread 0 PUT file_00146
release connection 30
re-use connection 31
Thread 1 PUT file_00111
release connection 31
Thread 0 PUT file_00148
re-use connection 32
release connection 32
Thread 0 PUT file_00150
re-use connection 33
release connection 33
Thread 0 PUT file_00152
re-use connection 34
release connection 34
Thread 0 PUT file_00154
re-use connection 35
release connection 35
Thread 0 PUT file_00156
re-use connection 36
release connection 36
Thread 0 PUT file_00158
re-use connection 37
release connection 37
re-use connection 38
Thread 0 PUT file_00160
release connection 38
re-use connection 39
Thread 1 PUT file_00113
release connection 39
re-use connection 40
Thread 0 PUT file_00162
release connection 40
re-use connection 41
Thread 1 PUT file_00115
release connection 41
Thread 0 PUT file_00164
re-use connection 42
release connection 42
re-use connection 43
Thread 0 PUT file_00166
release connection 43
re-use connection 44
Thread 1 PUT file_00117
release connection 44
re-use connection 45
Thread 0 PUT file_00168
release connection 45
re-use connection 46
Thread 1 PUT file_00119
release connection 46
re-use connection 47
Thread 0 PUT file_00170
release connection 47
Thread 1 PUT file_00121
re-use connection 48
release connection 48
re-use connection 49
Thread 1 PUT file_00123
release connection 49
Thread 0 PUT file_00172
re-use connection 50
release connection 50
Thread 0 PUT file_00174
re-use connection 51
release connection 51
Thread 0 PUT file_00176
re-use connection 52
release connection 52
re-use connection 53
Thread 1 PUT file_00125
release connection 53
re-use connection 54
Thread 0 PUT file_00178
release connection 54
Thread 1 PUT file_00127
re-use connection 55
release connection 55
Thread 1 PUT file_00129
re-use connection 56
release connection 56
re-use connection 57
Thread 1 PUT file_00131
release connection 57
re-use connection 58
Thread 0 PUT file_00180
release connection 58
Thread 1 PUT file_00133
re-use connection 59
release connection 59
re-use connection 60
Thread 0 PUT file_00182
release connection 60
re-use connection 61
Thread 1 PUT file_00135
release connection 61
re-use connection 62
Thread 0 PUT file_00184
release connection 62
Thread 1 PUT file_00137
re-use connection 63
release connection 63
Thread 1 PUT file_00139
re-use connection 64
release connection 64
re-use connection 65
Thread 0 PUT file_00186
release connection 65
re-use connection 66
Thread 1 PUT file_00141
release connection 66
re-use connection 67
Thread 0 PUT file_00188
release connection 67
re-use connection 68
Thread 1 PUT file_00143
release connection 68
re-use connection 69
Thread 0 PUT file_00190
release connection 69
Thread 1 PUT file_00145
re-use connection 70
release connection 70
re-use connection 71
Thread 0 PUT file_00192
release connection 71
re-use connection 72
Thread 1 PUT file_00147
release connection 72
re-use connection 73
Thread 0 PUT file_00194
release connection 73
re-use connection 74
Thread 1 PUT file_00149
release connection 74
Thread 0 PUT file_00196
re-use connection 75
release connection 75
re-use connection 76
Thread 1 PUT file_00151
release connection 76
re-use connection 77
Thread 0 PUT file_00198
release connection 77
re-use connection 78
Thread 1 PUT file_00153
release connection 78
re-use connection 79
release connection 79
Thread 1 PUT file_00155
re-use connection 80
release connection 80
Thread 1 PUT file_00157
re-use connection 81
release connection 81
Thread 1 PUT file_00159
re-use connection 82
release connection 82
Thread 1 PUT file_00161
re-use connection 83
release connection 83
Thread 1 PUT file_00163
re-use connection 84
release connection 84
Thread 1 PUT file_00165
re-use connection 85
release connection 85
Thread 1 PUT file_00167
re-use connection 86
release connection 86
Thread 1 PUT file_00169
re-use connection 87
release connection 87
Thread 1 PUT file_00171
re-use connection 88
release connection 88
Thread 1 PUT file_00173
re-use connection 89
release connection 89
Thread 1 PUT file_00175
re-use connection 90
release connection 90
Thread 1 PUT file_00177
re-use connection 91
release connection 91
Thread 1 PUT file_00179
re-use connection 92
release connection 92
Thread 1 PUT file_00181
re-use connection 93
release connection 93
Thread 1 PUT file_00183
re-use connection 94
release connection 94
Thread 1 PUT file_00185
re-use connection 95
release connection 95
Thread 1 PUT file_00187
re-use connection 96
release connection 96
Thread 1 PUT file_00189
re-use connection 97
release connection 97
Thread 1 PUT file_00191
re-use connection 98
release connection 98
Thread 1 PUT file_00193
re-use connection 99
release connection 99
Thread 1 PUT file_00195
re-use connection 0
release connection 0
Thread 1 PUT file_00197
re-use connection 1
release connection 1
Thread 1 PUT file_00199
re-use connection 2
release connection 2
Children worker threads done
re-use connection 3
release connection 3
free connection 0
free connection 1
free connection 2
free connection 3
free connection 4
free connection 5
free connection 6
free connection 7
free connection 8
free connection 9
free connection 10
free connection 11
free connection 12
free connection 13
free connection 14
free connection 15
free connection 16
free connection 17
free connection 18
free connection 19
free connection 20
free connection 21
free connection 22
free connection 23
free connection 24
free connection 25
free connection 26
free connection 27
free connection 28
free connection 29
free connection 30
free connection 31
free connection 32
free connection 33
free connection 34
free connection 35
free connection 36
free connection 37
free connection 38
free connection 39
free connection 40
free connection 41
free connection 42
free connection 43
free connection 44
free connection 45
free connection 46
free connection 47
free connection 48
free connection 49
free connection 50
free connection 51
free connection 52
free connection 53
free connection 54
free connection 55
free connection 56
free connection 57
free connection 58
free connection 59
free connection 60
free connection 61
free connection 62
free connection 63
free connection 64
free connection 65
free connection 66
free connection 67
free connection 68
free connection 69
free connection 70
free connection 71
free connection 72
free connection 73
free connection 74
free connection 75
free connection 76
free connection 77
free connection 78
free connection 79
free connection 80
free connection 81
free connection 82
free connection 83
free connection 84
free connection 85
free connection 86
free connection 87
free connection 88
free connection 89
free connection 90
free connection 91
free connection 92
free connection 93
free connection 94
free connection 95
free connection 96
free connection 97
free connection 98
free connection 99
init ds3_connection_pool for sm2u-11.eng.sldomain.com
init connection 0
release connection 0
init connection 1
release connection 1
init connection 2
release connection 2
init connection 3
release connection 3
init connection 4
release connection 4
init connection 5
release connection 5
init connection 6
release connection 6
init connection 7
release connection 7
init connection 8
release connection 8
init connection 9
release connection 9
free connection 0
free connection 1
free connection 2
free connection 3
free connection 4
free connection 5
free connection 6
free connection 7
free connection 8
free connection 9
init ds3_connection_pool for sm2u-11.eng.sldomain.com
init connection 0
release connection 0
init connection 1
release connection 1
init connection 2
release connection 2
init connection 3
release connection 3
init connection 4
release connection 4
init connection 5
release connection 5
init connection 6
release connection 6
init connection 7
release connection 7
init connection 8
release connection 8
init connection 9
release connection 9
free connection 0
free connection 1
free connection 2
free connection 3
free connection 4
free connection 5
free connection 6
free connection 7
free connection 8
free connection 9
init ds3_connection_pool for sm2u-11.eng.sldomain.com
init connection 0
release connection 0
init connection 1
release connection 1
init connection 2
release connection 2
init connection 3
release connection 3
init connection 4
release connection 4
init connection 5
release connection 5
init connection 6
release connection 6
init connection 7
release connection 7
init connection 8
release connection 8
init connection 9
release connection 9
free connection 0
free connection 1
free connection 2
free connection 3
free connection 4
free connection 5
free connection 6
free connection 7
free connection 8
free connection 9
init ds3_connection_pool for sm2u-11.eng.sldomain.com
init connection 0
release connection 0
init connection 1
release connection 1
init connection 2
release connection 2
init connection 3
release connection 3
init connection 4
release connection 4
init connection 5
release connection 5
init connection 6
release connection 6
init connection 7
release connection 7
init connection 8
release connection 8
init connection 9
release connection 9
free connection 0
free connection 1
free connection 2
free connection 3
free connection 4
free connection 5
free connection 6
free connection 7
free connection 8
free connection 9
-----Testing GET object-------
init ds3_connection_pool for sm2u-11.eng.sldomain.com
init connection 0
release connection 0
init connection 1
release connection 1
init connection 2
release connection 2
init connection 3
release connection 3
init connection 4
release connection 4
init connection 5
release connection 5
init connection 6
release connection 6
init connection 7
release connection 7
init connection 8
release connection 8
init connection 9
release connection 9
init connection 10
release connection 10
free connection 0
free connection 1
free connection 2
free connection 3
free connection 4
free connection 5
free connection 6
free connection 7
free connection 8
free connection 9
free connection 10

updated and ready for review


Multiple ovirt clusters

I've got a couple of oVirt clusters, which I think is a case you've not covered yet.
Cluster1: Version <IP_ADDRESS>-1.el7.centos
Cluster2: Version <IP_ADDRESS>-1.el7.centos
I can add manages for each cluster and the vm list reflects machines from both, however I can only backup servers that are in the cluster managed by the first manager entered.
If I try to back up a VM from the second cluster I get the following error in worker.log:
[2017-09-26 13:08:39,043: INFO/MainProcess] Received task: manager.tasks.backup_vm[8099b23a-7431-46aa-b0fb-546eb7348f4e]
[2017-09-26 13:08:39,454: ERROR/ForkPoolWorker-7] Task manager.tasks.backup_vm[8099b23a-7431-46aa-b0fb-546eb7348f4e] raised unexpected: IndexError('list index out of range',)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 622, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/bacchus/bacchus/manager/tasks.py", line 23, in backup_vm
    return VMTools.backup_vm(rhevmname,vmname)
  File "/home/bacchus/bacchus/manager/vmtools.py", line 183, in backup_vm
    vm = vms_service.list(search='name='+str(vmname))[0]
IndexError: list index out of range

I suspect that the backup task is using the first (possibly a random?) manager that it comes across, and not linking / associating virtual machines with specific manager accounts.

I just deleted the second oVirt manager, which warned me that all objects under it woiuld be deleted.
All the VM's from the second cluster are still listed in VM Protection -> Virtual Machines

Hi,
Multiple managers case is considered. You may see VMTools.backupvm() gets 2 parameters: managername and vmname.
Can you also share the server.log ?
I have 2 clusters and can run backups on both of them.
Are you running the discovery job periodically ? Can you give some more details ?

Which server log are you after ovirt or bacchus ?
I haven't enabled periodic discovery yet.  I keep trying to find time to add a button to the UI to run the task on an ad-hock basis...

Sorry I was confused about log.
In worker log it says:
vm = vms_service.list(search='name='+str(vmname))[0]

IndexError: list index out of range
This means "vms_service.list(search='name='+str(vmname))"   returned an empty list. This could be due to:

vm name was changed and periodic discovery is not running
vm was deleted and periodic discovery is not running

Could you please enable discovery for this case as explained before ?

When I added the 2nd cluster it refreshed the list of all VM's in both clusters.
No VM's were changed or deleted.
I don't want to enable any periodic polling of test software on  my production cluster, I'll park this issue until I enable an alternative solution to polling.

I'm still not that happy with it, but I've scheduled the runInventory task.
I've definately only got one oVirt manager listed in the UI, however VM Protection -> Virutal Machines is still listing all VM's from both clusters.
runinventory task has executed a few times now.
Logs:
==> beat.log <==
[2017-09-27 17:15:00,448: INFO/MainProcess] Writing entries...
[2017-09-27 17:17:45,340: INFO/MainProcess] Scheduler: Sending due task Discovery (manager.tasks.runInventory)

==> worker.log <==
[2017-09-27 17:17:45,342: INFO/MainProcess] Received task: manager.tasks.runInventory[72e67cc6-daeb-44de-8470-b76099dd2ad8]
[2017-09-27 17:17:45,345: INFO/ForkPoolWorker-12] manager.tasks.runInventory[72e67cc6-daeb-44de-8470-b76099dd2ad8]: Running Bacchus inventory
[2017-09-27 17:17:45,582: WARNING/ForkPoolWorker-12] <hostname>, already discovered !

< - snip ->

[2017-09-27 17:17:52,365: INFO/ForkPoolWorker-12] Task manager.tasks.runInventory[72e67cc6-daeb-44de-8470-b76099dd2ad8] succeeded in 7.020386672s: True

==> beat.log <==
[2017-09-27 17:18:05,358: INFO/MainProcess] Writing entries...

I have tested in my environment many times, when a manager is deleted, all objects related to that manager is being deleted. They are relational objects in the database.
Could it be a browser cache problem ?

I don't think so, I've tried on several browsers and even different machines...

I just had a look in the database at manager_vm table.
All vm's had the same cluster_id....

closing the issue


dependencies for AEM 6.4, update mock libraries, build with Java 17

Just throwing this out there - but we should eventually get Azul builds  as this looks like the future for AEM due to all of Oracles licensing hoops  (and already supported https://experienceleague.adobe.com/docs/experience-manager-65/deploying/introduction/technical-requirements.html)

IMHO we should build with the most common freely available JDK distribution in our CI to make sure most developers can build the current source code  locally (to ease contribution). I would argue this is rather Adoptium than Zulu. ACS AEM Commons is never build with Cloud Manager and the build distribution and the execution distribution don't have to be equal. @davidjgonzalez Any reason why you think that CI build and execution should use the same Java distribution?

Just that I expect a push/recommendation/whatever for AEM developers to use/prefer Azul -- so over time, I expect Azul will be "the JDK" used on most AEM developer machines (which I assume will then also be used to develop ACS AEM Commons).

Currently there are ~200 test failures with Java 17 falling into one of these categories:

java.lang.RuntimeException: Unable to initialize JCR_OAK resource resolver factory: java/security/acl/Group Caused by: java.lang.NoClassDefFoundError: java/security/acl/Group Caused by: java.lang.ClassNotFoundException: java.security.acl.Group
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @755c9148  at com.adobe.acs.commons.errorpagehandler.cache.impl.PowerMockErrorPageCacheImplTest.setUp(PowerMockErrorPageCacheImplTest.java)
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.reflect.MemberUtils

Putting back to draft to wait for https://issues.apache.org/jira/browse/SLING-10972 to be able to embed the new Guava version again.

@davidjgonzalez IMHO now would be a good timing for merge. Although I needed to touch quite some files, this is mostly tests. The changes on the implementation are actually quite few. Can you have a look at this soon?


[AppConfig] Support for configuration snapshot

Add APIs to the SDK for new REST APIs fo the configuration snapshot feature in App Config.

Duplicate of #23605


Send originalRotation in response

Hey @marcshilling, awesome library!
This PR addresses #199 (issue was closed but not fixed).
For some devices (notably Samsung Galaxy S3, S5) and image will have a rotate value (90 deg) in the Exif data even if the image was never rotated.
So if you try to upload the image somewhere and then later grab it and render it, the image is rendered in the wrong orientation compared to the original.
I'm not sure if this needs to be handled at the library level but this PR simply at least passes that value as part of the response so if an image has a rotate value attached to it the client can decide how to handle (like transform the image 90deg to account for it)
Note: this hasn't been an issue for iOS but I figured I'd add it, I can remove it if that's easier

I just tested this branch after running in to issue #199 myself, seeing there is no other alternative. And it works perfectly! Hope this get's merged.

@jemise111 if this isn't an issue for iOS I'd prefer we only add it on Android. Can you update?

@marcshilling Done!

@jemise111  Unfortunately after converting image to base64 and reconvert back, Image component not understand in which rotation should showing image. What do you think about this?

@Romchik22 I'm a little confused here. Despite whether you use the base64 data off the response or not you should still be able to look at response.originalRotation and know whether or not that image needs to be rotated, right?

@jemise111 Sorry for my English. You are right. My problem is after uploading image on server and loading it back image lost orientation value and displaying incorrect.  I have solved this problem. Now I firstly rotate image and after this convert to base64.

@Romchik22 👍 glad to hear it

@jemise111 Do you have a working example of how to implement this fix?
For instance if I run the below code I get an error when trying to alert the rotation.  Is there something I need to do differently to grab the rotation (and if you have it, what's the line of code you run to rotate the image).
I appreciate the help if you have something that works!
ImagePicker.showImagePicker(options, (response) => {
if (response.didCancel) {
console.log('User cancelled image picker');
}
else if (response.error) {
console.log('ImagePicker Error: ', response.error);
}
else if (response.customButton) {
console.log('User tapped custom button: ', response.customButton);
}
else {
//        Alert.alert(response.originalRotation);


请问下DeepFM如何实现为每个用户推荐物品列表？

Please refer to the FAQ in doc and search for the related issues before you ask the question.
Describe the question(问题描述)
A clear and concise description of what the question is.
Additional context
Add any other context about the problem here.
Operating environment(运行环境):

python version [e.g. 3.6]
tensorflow version [e.g. 1.4.0, 1.5.0, 2.2.0]
deepctr version [e.g. 0.8.0,]

取打分最高的topN


Dev 0.2.0

Major refactoring, 100% test coverage and reworked api.

Codecov Report

Merging #10 into master will increase coverage by 8.1%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #10     +/-   ##
=======================================
+ Coverage   91.89%   100%   +8.1%
=======================================
  Files           2      4      +2
  Lines         185    190      +5
=======================================
+ Hits          170    190     +20
+ Misses         15      0     -15

Impacted Files
Coverage Δ

pdfebc_core/misc_utils.py
100% <100%> (ø)

pdfebc_core/config_utils.py
100% <100%> (ø)

pdfebc_core/compress.py
100% <100%> (+27.9%)
:arrow_up:

pdfebc_core/email_utils.py
100% <100%> (ø)

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 0721437...57f9827. Read the comment docs.


add safe check,in case virtualRenderer is undefined

when parent component' props change and _onSizeChanged hasn't called, virtualRenderer is undefined and there throws en exception

We've fixed the null issue rightly in https://github.com/Flipkart/ReactEssentials/pull/46 .. can you raise another PR for your layout requirement?


[Playback/Bug] ESN mismatch on Z11 Pro

I'm submitting a ...

[x] bug report
[ ] feature request
[x] support request

General infomration
Prerequisites

[x] Are you running the latest version?

Description
if ESN is automatically generated: playback starts but is black w/ no video / no audio
If ESN copied from Netflix apk: unable to playback
if ESN is copied from another device: same
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Context (Environment)
Installation

[x] I installed the plugin via zip from the Releases page
[ ] I´m using the Netflix Repo
[ ] I´m using a different source (Please tell which)

Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[ ] Linux (ARM)
[x] Android

Additional informatin on the environment
Widevine is supported.
Don't think is an hardware capability related issue: in Samsung Galaxy Tab A 2016, which has inferior CPU and same RAM amount goes flawlessy.
Android 6.1.1, Amlogic S905X, 2 GB RAM
Debug log
Don't have the log: I'm on office now. If necessary I'll upload it when I'll be at home.
Other information
I know someone has already discussed this before but I don't know if they have find a solution.

Pls. try the current version 0.13.0 with your original ESN (netflix apk)


convert  tags to  tags

any image that we're dynamically sourcing should be placed in a picture element so that we can have a static backup
example:

Change of plans: Just using the onerror event to default to a locally hosted image if the storage fails.
 is more for needed different sources on different browsers or screen sizes.

implemented to dev with latest commit


vapoursynth: Simplify plugin loading

Description of changes
These changes further simplify the plugin loading mechanism:
Instead of generating code to load every single plugin through a callback function, the plugin path of the combined plugin environment is exposed as a character array and used as default system plugin directory.
This allows plugin loading to be modified through configuration.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

10 packages built:

av1an
av1an-unwrapped
python311Packages.vapoursynth
python311Packages.vapoursynth.dist
python312Packages.vapoursynth
python312Packages.vapoursynth.dist
svp
vapoursynth
vapoursynth-editor
vapoursynth-mvtools

cc: @tadeokondrak who came up with the vapoursynth.withPlugins interface.

An alternative to this plugin loading approach could be to provide a configuration file with a system plugin directory path, through the VAPOURSYNTH_CONF_PATH environment variable.
This could be done through a NixOS module or through wrappers, but both options have disadvantages. The former obviously precludes non‐NixOS use and the latter requires wrapping all binaries linked against libvapoursynth.
I also considered if there might be a good reason for loading all the plugins individually, but as far as I can tell, it should not make a difference.

cc: @tadeokondrak who came up with the vapoursynth.withPlugins interface.

lgtm, the weak symbol was the important part and that stays. Good cleanup here

Any objections to merging this?
I tested the modified mechanism successfully with vspipe, vsedit and mpv, both with and without plugins, on 6 August.

No objection from me, but I haven't tested this yet. I will try it soon.


Update Scandit SDK to v6.6

ITS-Pro time category: https://its-pro.ucsd.edu/browse/MA-74
This is complete when:

[ ] The Android SDK is updated to v6.6
[ ] The iOS SDK is updated to v6.6

Note: v6.6 allows for tap to focus on Android
https://docs.scandit.com/data-capture-sdk/android/release-notes/6.6.html
https://docs.scandit.com/data-capture-sdk/ios/add-sdk.html

New PR for the scandit updates sent to flutter_scandit repo: https://github.com/UCSD/flutter_scandit/pull/1.
We actually do not need the raw archives for the scandit SDK to update them, scandit libraries are hosted on Maven and CocoaPods repos for Android and iOS respectively.
To make changes to the scandit version on Android, need to change the versions of the scandit library in android/build.gradle towards the bottom of the file (~ line 36):
dependencies {
    implementation "com.scandit.datacapture:core:6.6.0-beta.2"
    implementation "com.scandit.datacapture:barcode:6.6.0-beta.2"

For iOS, need to change the dependencies in ios/flutter_scandit_plugin.podspec at around line 18:
s.dependency 'ScanditBarcodeCapture', '~> 6.6.0-beta.2'


for fields of type URI, make entered URI clickable; and on any values selected from a lookup, make label clickable and remove globe icon

for a field of property type "resource" but with no nested templates, user is expected to enter a URI. once entered, the URI should be clickable, or we should have the globe icon like we do for URIs entered in fields of type lookup, so that user can click the URI and open it
example: https://development.sinopia.io/editor/ld4p:RT:bf2:Monograph:Work:Un-nested
in the "Expression of" field, I enter a URI

but the URI is not clickable
by contrast, here's a field that's a lookup and when I enter my own URI, it is then shown with the clickable globe icon so that a user can "visit" the URI:

@astridu please advise on whether we need globe here or some other interaction that makes the URI clickable
NOTE: this ticket emerges from #2059 (@timathom this is the follow up to your original ticket)

You can use the fa-external-link [] icon to indicate that they can click to view that URI.

is there a reason not to use the globe?

The fa-external-link is the icon used throughout the site to indicate that it's a link that will take you outside the site. I think the globe link is being used for language?

in fields that are lookups to QA, the globe takes you to the URI of the selected term from the external authority, per #2557

I wasn't aware of that change. I can't really comment since I don't know what the context is for the globe. If you feel like the globe is more appropriate, then go with that. I just hope it isn't being used for language as well.

I don't know where the globe came from, so should the globe also be fa-external-link?
or, in both cases, can't we just make the value itself clickable?

No globe should not be fa-external-link bc we have been using that icon for external links from the beginning. You could just make the value itself clickable.

we didn't have the globe before this work cycle.
so, can this ticket be:

for lookups, remove the globe and make selected/entered value clickable
for property = resource, no nested template (i.e., URI expected), make entered URI clickable
no globe, no fa-external-links on entered values

the entered URI seems to be clickable (the hand icon appears) but nothing happens when you click
on stage see ResourceTemplate:Demo:Fuller:LabelChange, field: "Example 25"

also, if you choose to "enter a new literal" on a lookup field, the globe is showing up but of course isn't clickable cause there isn't a URI

this is a note that if we remove globe and make term clickable, don't make the literal clickable.
but also see https://github.com/LD4P/sinopia_editor/issues/2339 re whether it makes sense to keep offering the "add a literal" option in lookups

also, if you choose to "enter a new literal" on a lookup field, the globe is showing up but of course isn't clickable cause there isn't a URI

this is a note that if we remove globe and make term clickable, don't make the literal clickable.
but also see https://github.com/LD4P/sinopia_editor/issues/2339 re whether it makes sense to keep offering the "add a literal" option in lookups

closing in favor of:

remove clickability from entered literal: #2903
for lookups, remove the globe and make selected/entered value clickable
for property = resource, no nested template (i.e., URI expected), make entered URI clickable


Client work

We need this for our auto generated client to work
This includes the chanegs to the generated code as a second commit. Deletions are in the same as #352

Thanks for doing this.
Command decision - merging


Refactor Document and ResolvedDocument for interior mutability

Description of change
This refactors WasmDocument to use Rc<RefCell> internally to reduce clones and for interior mutability when accessed from WasmResolvedDocument.
The WasmDocument API should be unchanged in terms of usage; WasmResolvedDocument on the other hand has several breaking changes listed below.
TODO
Links to any relevant issues
See discussion #603.
Type of change

[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] Enhancement (a non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Fix

How the change has been tested
Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.
TODO TODO
Change checklist
TODO TODO

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

There are concerns that peppering the code with Rc<RefCell> may worsen challenges around memory management with wasm-bindgen since it's unclear if we benefit from garbage collection with --weak-refs and even then it's a bit hazy. Particularly for objects like WasmDocument which are not expected to live for the entire life of the program (unlike the Client for instance), this may not be the best idea for now...

ResolvedDocument is to be removed with the legacy bindings.


Add diagnostics

This adds diagnostic_updater and aggregator_node from https://github.com/ros/diagnostics/tree/9f402787ea2c9b3dd4d7e51a9986810e8a3400ba

The code LGTM. Would you have time to add a simple e2e test?

For instance, a test could demonstrate that plugins are set up correctly.

Added an integration test for the diagnostic_updater and the aggregator_node. The aggregator test will fail if there aren't any plugins loaded.


Exclude armv7 from iOS add-to-app plugins

In the add-to-app podhelper.rb ruby script file require (import) the Flutter SDK flutter_tools/bin/podhelper.rb version of this file to push as much logic as possible into the SDK instead of the module project, and allow sharing logic between these scripts.

Introduce a new flutter_post_install method to the add-to-app podhelper.rb ruby script file.  This calls the existing flutter_additional_ios_build_settings method in the SDK podhelper.rb https://github.com/flutter/flutter/blob/ae805de4687480beee3c5f46acb84cfc98dd0fed/packages/flutter_tools/bin/podhelper.rb#L33
This will update the host app Flutter plugin build settings to:

Link against the right version of the Flutter.framework (simulator, debug, etc) in the artifacts cache, see  https://github.com/flutter/flutter/pull/70224.  This will fix https://github.com/flutter/flutter/issues/75296 since the plugin is now linking directly against the correct artifacts version instead of the last engine variant copied into the module project.

Set EXCLUDED_ARCHS[sdk=iphonesimulator*] = $(inherited) i386 (https://github.com/flutter/flutter/pull/85642) and EXCLUDED_ARCHS[sdk=iphoneos*]= $(inherited) armv7 (https://github.com/flutter/flutter/pull/97341).  This means Flutter plugins will not build for 32-bit armv7 iOS, unblocking https://github.com/flutter/flutter/issues/101793

Set ONLY_ACTIVE_ARCH = NO for plugins in debug mode.  This means both arm64 and x86_64 simulator versions of the plugins will be built, so if a plugin doesn't support the arm64 simulators, the app can link against the x64 version of the plugins https://github.com/flutter/flutter/pull/95293

Add a fatal Ruby exception to fire on pod install that will instruct the user to add the following to their host app Podfile if it's missing:

post_install do |installer|
  flutter_post_install(installer)
end

Error looks like:
$ pod install
Add `flutter_post_install(installer)` to your Podfile `post_install` block to build Flutter plugins:

post_install do |installer|
  flutter_post_install(installer)
end

[!] Invalid `Podfile` file: Missing `flutter_post_install(installer)` in Podfile `post_install` block.

 #  from /Users/magder/Projects/samples/add_to_app/plugin/ios_using_plugin/Podfile:12
 #  -------------------------------------------
 #    # Pods for IOSUsingPlugin
 >    install_all_flutter_pods(flutter_application_path)
 #
 #  -------------------------------------------

Fixes https://github.com/flutter/flutter/issues/101793
Fixes https://github.com/flutter/flutter/issues/75296
Fixes https://github.com/flutter/flutter/issues/78368
Unblocks https://github.com/flutter/flutter/issues/101793
Samples update: https://github.com/flutter/samples/pull/1079
Website update: https://github.com/flutter/website/pull/7032
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

test-exempt: is a test

When this hits a tagged beta release, update the website to indicate the version in which the new Ruby method is available https://github.com/flutter/website/issues/7039


Frontend/navbar

In this PR I:

Added fontawesome to the project.
Updated the App.js to take the sideBar component.
Added open and close functionalities to the sidebar.
Made the sidebar responsive.

closes #8
KanBan Board

Thank you @batoolfatima2135


Webhook for mirrored repositories

Not sure what the correct behavior would be, currently i am mirroring a branch from github into gitea and would like to trigger drone on a sync.
This currently does not seem to happen, i had a quick look in the code base and could not see any hooks for mirroring.
Seems we could hook into the pull web hook or perhaps it should be its own configurable hook in the admin area.
I may have a stab at this (maybe beyond my ability) but thought it would be good to have a discussion about how it should work or just general thought on the subject.

I've started doing something similar - basically the ability to run local scripts instead of calling web services. I thought this wouldn't be interesting to others, but if there is a need, I can contribute it.
For your use case, would you want to run a script ?

I would certainly be interested in seeing you script, but it would be nice if it was a web hook as well just so its a standard way of working.
I am thinking in the back end have a checkbox to initiate webhook on sync with the mirror, can we detect if there are changes a part of the sync ?
And what should wee trigger can we trigger an existing hook like pull on mirror or should it be a totally separate one ?

what is the status on this?

@Mattze96 no people declared working on this.

I would just like to echo this. Right now, I have a repository hosted on Github which is mirrored to a Gitea with Drone. I'd love if a mirror would trigger a webhook to fire off a build in Drone, just as if it was a direct commit to Gitea.


Calculate Camera FoV

I want to make a function to calculate the field of view to the camera which I put in a specific position
any help would be appreciated. Thanks.

could you please provide the solution to everyone?


Chromecast Name on Channel

This is exactly what I've been looking for!  Thank you!
Is there any way to remove the Chromecast Name overlay on channel displays?  I can't seem to find that anywhere.

If you remove this line:
{{ chromecast.name }}
from: greenscreen/public/setup-chromecast.html
It removes the channel name from the screen IIRC. I don't have greenscreen set up right now to test- but I was able to remove the overlay by editing one of those files.

I'd like for this to be an option for config.