Action is not able to take image and pull into Podman image storage

Hi guys 👋
I'm just wrapping up my workflows with the new s2i action supporting multiple tags (https://github.com/redhat-actions/s2i-build/issues/29) the image builds just fine with multiple tags, but when I try to push with the push-to-registry action, the action fails when podman should pull the image from the normal Docker context:
Run redhat-actions/push-to-registry@v2
  with:
    image: domstolene/ip-avgivelser
    tags: 2.0.0-128 253b187
    registry: ghcr.io
    username: domstolene
    password: ***
    tls-verify: true
  env:
    APP_NAME: ip-avgivelser
    JAR_NAME: ip-avgivelser-2.0.0.jar
    VERSION: 2.0.0
    IMAGE_TAG: test
    JAR_TARGET_FOLDER: target/
    BASE_IMAGE: registry.access.redhat.com/fuse7/fuse-java-openshift:1.2
    IMAGE_PUSH_REPOSITORY: ghcr.io
    OUTPUT_IMAGE: domstolene/ip-avgivelser
    IMAGE_SHA_TAG: 253b187
Checking if "domstolene/ip-avgivelser" with tags "2.0.0-128, 253b187" is present in Podman image storage
/usr/bin/podman version
/usr/bin/podman image exists domstolene/ip-avgivelser:2.0.0-128
/usr/bin/podman image exists domstolene/ip-avgivelser:253b187
Checking if "domstolene/ip-avgivelser" with tags "2.0.0-128, 253b187" is present in Docker image storage
/usr/bin/podman pull docker-daemon:domstolene/ip-avgivelser:2.0.0-128
/usr/bin/podman pull docker-daemon:domstolene/ip-avgivelser:253b187
Tags "2.0.0-128, 253b187" of "domstolene/ip-avgivelser" found in Docker image storage
"docker.io/library/domstolene/ip-avgivelser" was found in the Docker image storage, but not in the Podman image storage. The image(s) will be pulled into Podman image storage, pushed, and then removed from the Podman image storage.
Pushing "docker.io/library/domstolene/ip-avgivelser" with tags "2.0.0-128, 253b187" to "ghcr.io" as "domstolene"
/usr/bin/podman push --quiet --digestfile docker.io-library-domstolene-ip-avgivelser-2.0.0-128_digest.txt docker.io/library/domstolene/ip-avgivelser:2.0.0-128 ghcr.io/domstolene/ip-avgivelser:2.0.0-128 --tls-verify=true --creds=domstolene:***
Error: unable to find 'docker.io/library/domstolene/ip-avgivelser:2.0.0-128' in local storage: no such image
Error: Error: podman exited with code 125
Error: unable to find 'docker.io/library/domstolene/ip-avgivelser:2.0.0-128' in local storage: no such image

Removing "docker.io/library/domstolene/ip-avgivelser" from the Podman image storage
/usr/bin/podman rmi docker.io/library/domstolene/ip-avgivelser:2.0.0-128
Error: 1 error occurred:
	* unable to find 'docker.io/library/domstolene/ip-avgivelser:2.0.0-128' in local storage: no such image
(node:1860) UnhandledPromiseRejectionWarning: Error: podman exited with code 1
Error: 1 error occurred:
	* unable to find 'docker.io/library/domstolene/ip-avgivelser:2.0.0-128' in local storage: no such image

As you can see,
Tags "2.0.0-128, 253b187" of "domstolene/ip-avgivelser" found in Docker image storage
"docker.io/library/domstolene/ip-avgivelser" was found in the Docker image storage

But it fails when trying to pull into Podman image storage.
The target registry is ghcr, and I have tried building the image as ghcr/domstolene/ip-avgivelser as well - same result.
What am I not getting here? 😅

hi, is there a public link to this workflow run so we can look at it and try and reproduce it?
Otherwise, can you set ACTIONS_STEP_DEBUG (ref and run it again? I think the error in the podman pull may be getting logged only at the debug level in this catch block

I'll give it a run with v2.2 . The repo is private unfortunately, så I can't share it. I'll give it a go!

Note the podman pull output is grouped (collapsed) so make sure to expand those arrows to see / copy everything.

@tetchel here is the entire build log (with expanded output) in a gist:
https://gist.github.com/andmos/61aa36d22c657995030fa965788b5950

okay, it looks like the assumption about prefixing the image URL with docker.io/library is not correct

Yeah, that would make sense for operating with Dockerhub I guess. In my case, the complete repository URL would be ghcr.io/domstolene/ip-avgivelser. I was not sure if I needed the complete address when building (since the destination registry is ghcr.io it should not be needed in my understanding).

Hi @andmos I see your inputs are bit different. Can you change these two inputs?
image: ip-avgivelser
registry: ghcr.io/domstolene

instead of
image: domstolene/ip-avgivelser
registry: ghcr.io

Input registry should be in the form of ghcr.io/user
Ref: https://github.com/redhat-actions/push-to-registry#action-inputs

Yes having ghcr.io/user did the trick! I guess an action point should be some updates in the doc to make it clear. Thanks for the help, guys.

Yeah will do that :+1:

@Divyansh42 / @tetchel hm I ran into a new error today with v2.2 and main:
Run<EMAIL_ADDRESS>  with:
    image: ip-avgivelser
    tags: 2.0.0-144 ae9a555
    registry: ghcr.io/domstolene
    username: domstolene
    password: ***
    tls-verify: true
  env:
    APP_NAME: ip-avgivelser
    JAR_NAME: ip-avgivelser-2.0.0.jar
    VERSION: 2.0.0
    IMAGE_TAG: test
    JAR_TARGET_FOLDER: target/
    BASE_IMAGE: registry.access.redhat.com/fuse7/fuse-java-openshift:1.2
    IMAGE_PUSH_REPOSITORY: ghcr.io/domstolene
    OUTPUT_IMAGE: ip-avgivelser
    IMAGE_SHA_TAG: ae9a555
Checking if "ip-avgivelser" with tags "2.0.0-144, ae9a555" is present in Podman image storage
/usr/bin/podman version
  /usr/bin/podman version
  Version:      3.1.0
  API Version:  3.1.0
  Go Version:   go1.15.2
  Built:        Thu Jan  1 00:00:00 1970
  OS/Arch:      linux/amd64
/usr/bin/podman image exists ip-avgivelser:2.0.0-144
/usr/bin/podman image exists ip-avgivelser:ae9a555
Checking if "ip-avgivelser" with tags "2.0.0-144, ae9a555" is present in Docker image storage
/usr/bin/podman pull docker-daemon:ip-avgivelser:2.0.0-144
  /usr/bin/podman pull docker-daemon:ip-avgivelser:2.0.0-144
  Getting image source signatures
  Copying blob sha256:fb15b60ae93220334096891a970266fad8dbd924c154310edefdb87e20ccc272
  Copying blob sha256:bb4eeb13935401f15e2901ced5eb675546e17807bb9f2c78b0465cc0c8887819
  Copying blob sha256:4fa07caa9dc14bebc49deaaefc81844c428082cd352bb6eea3244c0ee541c937
  Copying blob sha256:c919f00c19ddd9f4ba2a1cf1d0e26cd1c3b0babc2f85cb4dbb646f01b43dd374
  Copying blob sha256:9bbc657f4fb00461e2754fbfc8e11a15ed24c9055e14902c2a18fbc0989f0e8e
  Copying blob sha256:050c734bd2868bcd3b69ab0ca033aa3bc95a00a4a1e5317e732394e1c36ef59e
  Copying config sha256:e9e448b72167ce56507f65b4d2a75f7bb34debdd50defd08e2cb566de375e22f
  Writing manifest to image destination
  Storing signatures
    Error processing tar file(exit status 1): operation not permitted
  Error: 1 error occurred:
  	* Error committing the finished image: error adding layer with blob "sha256:4fa07caa9dc14bebc49deaaefc81844c428082cd352bb6eea3244c0ee541c937": Error processing tar file(exit status 1): operation not permitted
/usr/bin/podman pull docker-daemon:ip-avgivelser:ae9a555
  /usr/bin/podman pull docker-daemon:ip-avgivelser:ae9a555
  Getting image source signatures
  Copying blob sha256:bb4eeb13935401f15e2901ced5eb675546e17807bb9f2c78b0465cc0c8887819
  Copying blob sha256:fb15b60ae93220334096891a970266fad8dbd924c154310edefdb87e20ccc272
  Copying blob sha256:050c734bd2868bcd3b69ab0ca033aa3bc95a00a4a1e5317e732394e1c36ef59e
  Copying blob sha256:c919f00c19ddd9f4ba2a1cf1d0e26cd1c3b0babc2f85cb4dbb646f01b43dd374
  Copying blob sha256:4fa07caa9dc14bebc49deaaefc81844c428082cd352bb6eea3244c0ee541c937
  Copying blob sha256:9bbc657f4fb00461e2754fbfc8e11a15ed24c9055e14902c2a18fbc0989f0e8e
  Copying config sha256:e9e448b72167ce56507f65b4d2a75f7bb34debdd50defd08e2cb566de375e22f
  Writing manifest to image destination
  Storing signatures
    Error processing tar file(exit status 1): operation not permitted
  Error: 1 error occurred:
  	* Error committing the finished image: error adding layer with blob "sha256:4fa07caa9dc14bebc49deaaefc81844c428082cd352bb6eea3244c0ee541c937": Error processing tar file(exit status 1): operation not permitted
Error: Error: All tags for "ip-avgivelser" were not found in either Podman image storage, or Docker image storage. Tags "2.0.0-144, ae9a555" not found in Podman image storage, and tags "2.0.0-144, ae9a555" not found in Docker image storage.

Any ideas? Worked fine when we closed this issue 🙈

Can you paste the complete logs in a github gist?

Here you are:
https://gist.github.com/andmos/4c3db2e7455d0a071bd0d9e563d0ad79
If you need some more debugging, I think you should add that to the code - I don't have permission to add the ACTIONS_STEP_DEBUG secret to the repo 😢

Here is a gist from 5 days ago when it worked like a charm:
https://gist.github.com/andmos/811586109c8831d191b5db40dcde231b

I am guessing, this is the 20.04 runner? It looks like the podman version has been upgraded to 3.1.0.

Correct, Environment: ubuntu-20.04. Any way to pin podman?

Well, our tests succeeded last night on 3.1.0 so now I'm not certain that's the case.
However your issue looks like https://github.com/containers/podman/issues/9936
and this https://bugzilla.redhat.com/show_bug.cgi?id=1943321
which, apparently has this workaround: https://github.com/containers/podman/issues/9834#issuecomment-808717893

it may also be worth trying 3.1.2 from https://podman.io/getting-started/installation
(see Ubuntu section, noting podman is not in the official repositories until Ubuntu 20.10)

Any way to pin podman?

I asked on your behalf: https://github.com/containers/podman/issues/10148
since we've wanted a way to do this before, too, with buildah.

Yeah, sounds like the sensible thing to do. If we want these actions to be truly versioned and reproducible, it should be a way to pin podman 👍

agreed, I wish the virtual environments were a little more flexible in that sense because you can either get no upgrades (18.04) or all of them without warning (20.04).

I tried
      - name: Podman workaround
        run: |
          . /etc/os-release
          echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.10/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
          curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.10/Release.key | sudo apt-key add -
          sudo apt-get update
          sudo apt-get -y upgrade
          sudo apt-get -y install podman

In my Action, failed with a new error:
/usr/bin/podman pull docker-daemon:ip-avgivelser:207ebfe
 /usr/bin/podman pull docker-daemon:ip-avgivelser:207ebfe
 /usr/bin/podman: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/bin/podman)
"ip-avgivelser" was found in the Podman image storage, but not in the Docker image storage. The image(s) will be pushed from Podman image storage.
⏳ Pushing "ip-avgivelser" with tags "2.0.0-149, 207ebfe" to "ghcr.io/domstolene" as "domstolene"
Combining image name "ip-avgivelser" and registry "ghcr.io/domstolene" to form registry path "ghcr.io/domstolene/ip-avgivelser"
/usr/bin/podman push --quiet --digestfile ip-avgivelser-2.0.0-149_digest.txt ip-avgivelser:2.0.0-149 ghcr.io/domstolene/ip-avgivelser:2.0.0-149 --tls-verify=true --creds=domstolene:***
/usr/bin/podman: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/bin/podman)
Error: podman exited with code 1
/usr/bin/podman: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/bin/podman)

This is really not something I would like to think about 😸

It looks like you used the kubic repository for ubuntu 20.10, but you're on 20.04 if you're using the GitHub runner
fwiw, if you don't need "new" versions of any of the other tools, reverting to ubuntu-18.04 runner will lock in the podman version to an older one.

Ah my bad. Got the versions confused there, let's see if this does the trick.

this workaround may also be easier (But I have not personally confirmed it works) https://github.com/containers/podman/issues/9834#issuecomment-808717893

Can confirm
      - name: Podman workaround
        run: |
          . /etc/os-release
          echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
          curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key | sudo apt-key add -
          sudo apt-get update
          sudo apt-get -y upgrade
          sudo apt-get -y install podman

works, installs podman 3.1.2

great. you'll see I linked this issue to a request for github to update the podman version so if/when they get around to that you can remove your workaround.

Yes i noticed! Thanks for being on the ball here 👍 🚀

Can now confirm that https://github.com/actions/virtual-environments/issues/3282 is fixed, so we have the needed version of podman installed on Ubuntu 20.04.


A11y_AzureExtensionsforVSCode_AzureFuction_DefaultScreen_Screenreader : Proper link text for controls such as "Visual studio ...", "installs ..." and "Azure pipelines ..." are not announced for screen reader users.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHub Tags:#A11y_Azure Extensions for VS Code;#Azure Tools for VS Code;#A11yTCS;#A11yMAS;#MAC;#FTP;#Benchmark;#Screenreader;#VoiceOver;#A11ySev1;#MAS1.3.1;#MAS4.1.2;#MAS1.1.1;
Environment Details:
Application Name: Azure Extensions for VS Code
Application Version: 1.48.0-insider
Commit: cfbd1999769f4f08dce29629fb92fdc0fac53829
Date: 2020-08-06T05:40:40.871Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.6.0
Operating system: macOS Catalina Version 10.15.6 (19G73)
Screen Reader: VoiceOver
MAS References: MAS1.3.1, MAS4.1.2, MAS1.1.1
Repro Steps:

Open Visual studio code
Click on extension button and search for "Azure Functions"
Click on install and move to the "Azure" button, the "Default Screen" will appear.
Start screen reader and navigate to controls such as controls such as "Visual studio ...", "installs ..." and "Azure pipelines ..." and observe if the visual text is announced or not.

Actual:
When screen reader users navigate to the controls such as controls such as "Visual studio marketplace v0.23.0", "installs 550.21k" and "Azure Pipelines failed" there visual text is not announced properly to the screen reader users which is incorrect. Since these controls are image links the alternative text provided should be descriptive for screen reader users.
Expected:
The controls such as "Visual studio marketplace v0.23.0", "installs 550.21k" and "Azure Pipelines failed" should be announced with the proper name as per its visual appearance on the screen for screen reader users when they navigate to these controls.
User Impact:
If proper name is not announced for the interactive elements on the screen content then the screen reader users will not understand how to interact with these control and this can lead to the confusion for screen reader users.
Attachment link for Reference:
2286_A11y_AzureExtensionsforVSCode_AzureFuction_DefaultScreen_Screenreader Proper link text for controls such as "Visual studio ...", "installs ..." and "Azure pipelines ..." are not announced for screen reader users.zip

Those are not necessary, so I just removed them.

Verified the bug in Visual Studio Code - Insiders application (Version: 1.50.0-insider) and Azure Functions (v0.24.0). The controls such as "Visual studio marketplace v0.23.0", "installs 550.21k" and "Azure Pipelines failed" are now no more available. Hence closing the bug. PFA


[accessibility] replace e.g. with "for example"

e.g. being a Latin abbreviation can be confusing for folks for whom English (with all of its weird quirks) is not their first language.  There are better ways of saying "for example" (for example, for example) that will improve readability for all.
see also - https://insidegovuk.blog.gov.uk/2016/07/20/changes-to-the-style-guide-no-more-eg-and-ie-etc/

Thanks for taking the time to contribute this pull request. However, we are not able to accept contributions to this historical reference repository at this time.


Add RubyMine plugin to community projects list

Adding new RubyMine LSP plugin to the list of community projects.
Motivation

I've been wanting this kind of deep integration in RubyMine for ages and they recently added support for LSP servers. I created this plugin as soon as I heard about it, and think many others will find it useful! https://github.com/sorbet/sorbet/issues/7197
Test plan

See included automated tests.

Hey @jez, I didn't realize there was an auto-formatter on this file and the minor fix disabled your auto-merge. 😬 whoops.


Epic Roadmap fails with <<)>>

Describe the bug
In one of our projects the Epic Roadmap extension has started to fail with the error <<)>>, as shown below.

Browser
Choose a browser
[X] Edge
[ ] Chrome
[X] FireFox
[ ] Safari
Version
[X] Azure DevOps/VSTS
[ ] TFS 2017 Update 2/3
[ ] TFS 2018
Screenshots
If applicable, add screenshots to help explain your problem.

I am having the same issue with Chrome.  But others on my team are not seeing the same issue (using Chrome).   In reviewing other trouble shooting options, it stated to review the Console details to confirm if there was an error.  Failed to load resource: the server responded with a status of 404 (Not Found).  Any assistance or additional direction on how to resolve would be appreciated.  Thanks.


Agents can be archived

Some of the existing Agent types have already stopped working and need to be either deleted or updated, but currently, Huginn is very awkward at obsoleting an Agent type.  If a Huginn database had any existing instance of the type, deleting the Agent implementation could render the entire Huginn server dysfunctional because Huginn uses STI where retrieving an Agent record with a non-existent type will immediately cause an error.
This PR provides a way to "archive" agents by converting them to a new Agent type called "ArchivedAgent" with all states and configuration options saved.  Once an agent is archived, it is disabled and becomes dormant.  The archiving is intended to take place in database migrations so deleting an Agent type wouldn't cause trouble to users.
Archived agents could be unarchived someday when a successor Agent type got ready.

Would this problem prevent it from archiving those agent classes?

@virtadpt I'm afraid not.  I guess the schema_migrations table got hosed and the db:migrate tried to run migrations that had already been run.  What does select * from schema_migrations show?  If it's empty for some reason, and you are sure the Huginn was at least the latest version after 2017-07-31, then you could insert all existing migration versions found in db/migrate.

This is set to the draft state only because the branch is based on ruby-3.2.  Once #3216 gets merged I'll rebase this on the default branch.

select * from schema_migrations is showing an empty table.
I know the version I've been running was after 2017-07-31 because I keep written (well, copy and pasted) records for debugging purposes.
I guess I need to figure out how to populate that table.

I like the idea of making our current approach of forcing the user to delete their Agent instances of deleted agent types more user friendly!

If a Huginn database had any existing instance of the type, deleting the Agent implementation could render the entire Huginn server dysfunctional because Huginn uses STI where retrieving an Agent record with a non-existent type will immediately cause an error.

We do already have this, how would one get to a state you are describing?
It looks to me that with the ArchivedAgent approach users would need to manually modify the database state after somehow a successor of the previous Agent was added to their instance. I wonder if we could somehow automatically cast deleted into an "degraded" state while still preserving the original database records.
For this scenario I am thinking about either us removing an Agent (or an agent gem not being enabled for some time) which is then later replace by another agent gem. If the new Agent would have the same class name and supported the same options, everything would start working againi without any interevention.


Will it receive update to v10?

Hello! I love this module and used it in v9, but now with v10 it stopped working and I would really like to be able to use the overhead tiles as before (the new version of Foundry still doesn't have the options that this module has). If you need anything, let us know!

I'd like to second this. This was a pretty vital module for me, and literally the only way I've been able to continue on without it is to just stop using roof tiles.

I'd like to second this. This was a pretty vital module for me, and literally the only way I've been able to continue on without it is to just stop using roof tiles.

Yes! I use it to control the treetops, so when there's a token down, the top disappears and only the trunk and the shadow of the leaves remain. If you're interested, a member on the Foundry League of Extraordinary Discord charged $30 to update.


Blank screen after starting picframe.service on RPi5

Hi all,
Just attempting to test this on a RPi5 and following the guide here:
https://www.thedigitalpictureframe.com/how-to-build-a-gorgeous-digital-photo-frame-with-a-raspberry-pi-based-on-2023-bookworm/
All appears to install/work fine, except when I start the service (either automatically on boot or manually), it displays a blank screen.
OS booting fine and console works fine, all services appear to be running fine - just getting a blank screen. Have an image in the Pictures directory (although assume the 'no picture' image should have appeared anyway).
RPi5 8gb
Raspberry Pi OS Bookworm Dec 2023
PictureFrame 2023
Raspberry Pi Imager 1.8.3
picframe version:  2023.07.26.post1+2.ge437440
Checking required packages......
PIL :  9.5.0
pi3d :  2.51
yaml :  6.0.1
paho.mqtt :  1.6.1
iptcinfo3 :  2.1.4
numpy :  1.26.2
ninepatch : installed, but no version info
pi_heif :  0.14.0
defusedxml :  0.7.1
Only change I've made vs the original instructions is changing the username from 'pi' to my own - I've doublechecked and think I've caught all these updates.
Any suggestions on how to debug?  Conscious RPi5 support is still in testing, so keen to check if it's something I've done or just a bug!

I'm out at the moment but will work through Wolfgang's instructions later on Pi 5 to see if I can spot anything.

I've tried adding: dtoverlay=vc4-fkms-v3d to the config.txt - this creates a small garbled square image in the middle of the screen, but nothing further?

Hi, I came confirm that I have been using picframe with Pi5 and 64 bit desktop mainly fine. The issue is automatic starting and process ownership. Hopefully soluble!

How odd - I've got it automatic start, so does this not work? Anything else you needed to do to configure?

To clarify my earlier comment. I've been busying myself trying to get the screensaver to work (or specifically get the emulated mouse movement and key presses to wake the slideshow up again after the screensaver had cut in). I have been using the Raspberry Pi 5 which I set up with the start_picframe.sh and the .config/wayfire.ini but I wasn't focussed on getting the systemd start process running. Now that I quickly try that I find that I get a blank screen with a mouse arrow. I'm pretty sure I ran into this before and got it working but I can't remember the details so I will have to start again from scratch and figure it out.
A couple of things I have found: not having the [core] section in .config/wayfire.ini seems to allow picframe to start even when the desktop is running but including [core] causes problems. The source command is instrinsic to bash so leaving the #!/bin/bash from the first line of the start_picframe.sh script stops the python back end to run and produces a blank screen with a mouse arrow.

Ah interesting and good to know it's not just me doing something silly!
Will have a fiddle myself - it sounds like it should work if I switch off the systemd  start process

Kate, I've just nipped through the process c.f. @sapnho 's instructions and there are a couple of things that are probably relevant. Mainly NB the missing library files used by numpy and PIL openblas0-pthread, gfortran5 and openjp2-7 (Wolfgang, you probably need to mention those library files in your instructions). I also started with the 32 bit lite Bookworm which was dated 11th rather than 5th December (64bit works OK with picframe on Pi 3 and 4 but I'm just trying to eliminate variables one by one).
Here is the listing from my .bash_history
sudo apt update
sudo apt upgrade -y
sudo apt install python3-venv git libsdl2-dev wayfire wlr-randr -y
sudo raspi-config
mkdir venv_picframe
python -m venv /home/pi/venv_picframe
source venv_picframe/bin/activate
python -m pip install git+https://github.com/helgeerbe/picframe@sdl2
sudo apt install libopenblas0-pthread libgfortran5 libopenjp2-7 -y
mkdir {Pictures,DeletedPictures}
picframe -i /home/pi/
nano picframe_data/config/configuration.yaml
nano start_picframe.sh
chmod +x start_picframe.sh
mkdir .config
nano .config/wayfire.ini
mkdir .config/systemd/user -p
nano .config/systemd/user/picframe.service
systemctl --user enable picframe.service
system reboot
sudo reboot

To stop wayfire I open a new terminal with Ctr+Alt+F2 and log in as pi, then
wayfire
pidof wayfire
kill 1267

swap back with Ctr+Alt+F1
To start with I used a "cut down" version that would drop back to using xwayland
start_picframe.sh
#!/bin/bash
source /home/pi/venv_picframe/bin/activate
sleep 2
picframe &

.config/wayfire.ini
[core]
plugins = autostart

[autostart]
picframe = /home/pi/start_picframe.sh

But when I added back in the lines export SDL_VIDEODRIVER=wayland and xwayland = false it all still worked fine. (I didn't bother with wlr-randr as it doesn't seem to switch the screen back on when we need it to)
Paddy

NB also @helgeerbe and @sapnho the step of installing, uninstalling and reinstalling picframe@sdl2 is not needed. You can just do it in one line
python -m pip install git+https://github.com/helgeerbe/picframe@sdl2

Ah thanks Paddywwoof - various missed bits then!
Ok, have gone through your .bash_history and filled the blanks and getting different error now - on running start_picframe.sh, 'I get failed to connect to display' X11 needs to be running?

That sounds like an error from trying to use xserver. Have you set use_sdl2 to True in the configuration.yaml file?

Also, with the lite version of the OS I think you need to start Wayland going and allow that to spawn start_picframe.sh I would use the systemctl stop and start commands to do that. You can also run wayfire from a command prompt but you need to have everything else debugged first. And stopping it from another session using the pidof then kill as I mentioned in my post

 - sorry, forgot that my configuration.yaml would have been overwritten by going through above process! <faceplant!>
Ok, interested now - still getting an initial 'failed to connect to display', but it seems to run and then I get the following screen:

Can obviously do a clean wipe, but curious to pin down what's missing now - else I'll never learn!
Do you think this could be the wayfire point you mention above?
PS - totally agree regarding the SD card images - think I'll be doing this myself anyway as plan to create 6-7 frames at least around the house, so we might as well do it for everyone!   ;)

At some point recently I got a similar effect... but now I'm kicking myself for not making a note of what caused it!! It looks like a mismatch between the real screen dimensions and whatever the GPU driver thinks they are. Do you know what the screen size is?
Is the dtoverlay=vc4.. still in effect?
All this messing around must be Very frustrating for you but it's all adding to information for sorting things out more thoroughly so thank you for persisting. There are so many variables it's quite a nightmare to set it up reliably!

No worries at all - glad to help debug (as I say, easy enough for me to just wipe and start from scratch, but we'd not understand which element fixes what if I did that!)
Ah bingo, you're right - played around with the /boot/config.txt and solved by setting dtoverlay=vc4-kms-v3d to dtoverlay=vc4-fkms-v3d  (I had done this previously, but obviously got reset) - obvious when you pointed out, but hopefully useful to know the symptom next time someone has it!
Frame working beautifully now - time to build some frames in time for Christmas!
I'll get working on a video guide in the new year and definitely keen to create a standardised set of images (so might hold fire on any walkthroughs until that as that'd be a wildly simpler approach for folks to use!)
I'll also create some standardised 3d printed parts I think for folks to use to fit their pi to the frame and so on to save them some time!
Keep up the great work and thanks again for all your help!!

Good that you found a fix. But... confusing that my /boot/config txt has
dtoverlay=vc4-kms-v3d

I'm not really sure what this does with Pi 5 to be honest - I probably ought to do some reading up. At some stage in the past there was more comprehensive support for true OpenGL (as opposed to the OpenGLES hardware used by mobile GPUs) done by software but at the expense of speed. Might be less relevant on Pi 5 I will try some FPS test with and without the f
Paddy

Yes, bit of a mystery that one - taking out again causes the problem. I'm stepping through just out of curiosity to check if it's a combination of errors that are resolving each other...!
Also portrait mode appears to not work, have tried instructions here for Rpi4:
https://www.thedigitalpictureframe.com/raspberry-pi-digital-picture-frame-portrait-orientation/
And I get sudo: xinit: command not found when I run the second part?

Katie, someone has recently reported and solved an issue relating to portrait orientation. I don't know of Wolfgang has incorated that info in his website yet. I will have a scan back whe. I get a chance later on.

Ah no problem then - I tried installing xinit manually, but that spits out:
xinit: giving upinated with error (1). Closing log file.log" for additional information.vices console=ttyAMA10,115200 console=tty1 root=PARTUUID=4                                   xinit: unable to connect to X server: Connection refused
xinit: server error
So might wait to see what Wolfgang thinks if a known issue!

Ah - updating start_picframe.sh to:
wlr-randr --output HDMI-A-1 --transform 270 --on
Did the trick - portrait mode working!
(note you'll need to update cmdline.txt also to set the right direction here too)

Hi @paddywwoof Got my Pi5 yesterday and will start testing right away when I get back from family after Christmas!

NB also @helgeerbe and @sapnho the step of installing, uninstalling and reinstalling picframe@sdl2 is not needed. You can just do it in one line

Have just made the changes and also the others that you suggested.

Katie, someone has recently reported and solved an issue relating to portrait orientation. I don't know of Wolfgang has incorated that info in his website yet. I will have a scan back whe. I get a chance later on.

Yes, I'll wait until we have everything in Bookworm going fine and will then do a general update of the articles.


there is no assertion on top of the JsonEqualTo

all tests are passing while they are broken

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

@h1alexbel this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-07-03T13:49:04.831049.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


set up separate git repo for documentation

Asked Eclipse webmaster to provision a second github repo for us to use for documentation. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=500621

Did a few simple experiments with http://asciidoctor.org/[Asciidoctor] in the mean time, and impressed. Even better is that apparently GitHub itself has Asciidoctor rendering built-in so we will be able to see a rendered view of the doc right in the repo.

Doc repo now available at /eclipse/rdf4j-doc/


Remove config.ini from repository

But we need to figure out the way it saved. And also prepare decent default settings for it.

Added window pos and size into config 2a2439ae6211a8c55b9c5f7d15320d11105fa294


Fix bug in bicep path

Pull Request
Issue
N/A
Description
Fix an incorrect path
License
By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.

Hi @oZakari. I found this bug in live when I ran the e2e tests. Will need to get the patch out ASAP.

I am going to go ahead and merge this and release without an approving review given the bicep accelerator is currently broken.

Thanks for jumping on that @jaredfholgate, much appreciated!


Expose lineFeed event

Currently the only way to listen to things happening inside the terminal is either on refresh (fired even on prompt input) or by listening to the data stream (a huge amount of data, inefficient to parse to check for \n) being fed into xterm.js. It would be useful to have some more granularity here for example if someone wants to know when there is a new line feed added. This would allow programs that integrate with the terminal a greater understanding of what's happening.

Reminder to add documentation: https://github.com/xtermjs/xtermjs.org/issues/28.


Update README.md

Fixed a typo

Codecov Report

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

@@            Coverage Diff            @@
##             master      #61   +/-   ##
=========================================
  Coverage     93.22%   93.22%
  Complexity       95       95
=========================================
  Files            23       23
  Lines           295      295
  Branches         50       50
=========================================
  Hits            275      275
  Misses            8        8
  Partials         12       12

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 782708f...2e2d8c3. Read the comment docs.

Thx!


remove PDI_comm

Each plugin should keep the communicator provided at initialization if it intends to use it.

closed via merge request !87

mentioned in commit 517ee7944f56deea31e412880f2c1bb23b17ca1a

closed via commit 066c03c38d2705e93ba6afd9d47c0615a4c29659

mentioned in commit d245a1da520943754c4c7fd2e522d1f5956df9ef

mentioned in commit 3fe72aebfb0085177091b03a00ef4c6bdadd337a

mentioned in commit 066c03c38d2705e93ba6afd9d47c0615a4c29659

mentioned in commit ef90873625801b43a2400b4e0521bea39cddfe6f


Can't fetch embedded lists

Thank you for making this API. It's great.
The only problem I seem to be having is that I can't seem to get any data other than the ID from embedded lists (lists that have been shared).
In my returned lists, I can perform getID() on the embedded list, and that is successfully returned. However the name is blank and its sublists are just an empty array.
Is this expected behaviour or do you know of any way to work around this?
Thanks in advance.

Hi!
thank you for your message.
I couldn't reproduce the bug, here is what I did:
$list_request = new WorkFlowyList('my-generated-session-id');
$list = $list_request->getList();

$shared_list = $list->searchSublist('#Sharing test#');
var_dump($shared_list->getName());

$children = $shared_list->getSublists();
foreach($children as $child)
{
  var_dump($child->getName());
}

// Outputs:
// string(12) "Sharing test"
// string(10) "Sub test 1"
// string(10) "Sub test 2"

I also shared the list by email instead of private link, but it works too.
Do you see a difference with your code which could explain I don't see the bug?


bug: query knows and uses history from chat

🐛 Describe the bug
If you use the chat method, the history is stored persistently in the Llm app-subclass. If query is used in the same script after chat, it also uses that history, because it assumes that you set this as custom history, which is supported behavior.
I'm really not sure how to fix this, other than splitting history in to history and custom_history.
If we just said that we only want to support history that's added directly as an argument to the query method, we'd probably have to:

serialize it
save the serial
delete the history
replace it with the history from arguments
restore the saved serial after the method run

This adds complexity and makes it slower. We also couldn't use the app.llm.set_history method anymore, this method is really good for managing custom history. So splitting into history and custom_history seems like the better option.
Open for suggestions.

I think the offered option makes a lot of sense. However, history (without any adjectives) is a bit ambiguous since contrast has to be made with custom_history to understand what's going on. I'd go for chat_history and query_history instead, which clearly shows the intent of which method it is supposed to be used with.


when clicking Meet pet link it leads to Cards but navbar covering top of first cards

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to main-page
Click on meet pet
notice the pet card are covered from top by navbar

Expected behavior
it wont cover and have  some margin
Screenshots

Desktop (please complete the following information):

OS: [e.g. windows 10]
Browser [e.g. chrome]
Version [e.g. 22]

Additional context
Please allow me to work on this issue to contribute

Helo, I am currently a GSSOC contributor, kindly assign the issue to me


Create index.mdx

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)
New or updated content
Translated content
Changes to the docs site code
Something else!

Description

Closes #
What does this PR change? Give us a brief description.
Did you change something visual? A before/after screenshot can be helpful.

Thanks for this PR @MazenCoder — really appreciate it!
We have some special guidance for translating the Astro tutorial here: https://github.com/withastro/docs/blob/main/TRANSLATING.md#tutorials
We need to wait for the full tutorial to be translated before merging, so that a reader doesn’t have a bad experience of starting the tutorial and then not being able to complete it.
Because that’s a big task, I’ll close this for now. If you’re keen to see the tutorial translated, maybe jump into our #i18n-gang-ar channel on the Astro Discord and chat with some our other Arabic translators about a good strategy to divide up that work.
We’d still be very happy if you’re interested in translating non-tutorial pages! You can always find them at https://i18n.docs.astro.build/ or help review some of our open Arabic translation PRs:

https://github.com/withastro/docs/pull/3476
https://github.com/withastro/docs/pull/3472
https://github.com/withastro/docs/pull/3522


Update tests.toml files

All of the tests.toml files are taken from the hello-world exercise so configlet sync brings up a lot of false positives for missing tests. I went through and updated these toml files to the best of my ability to reflect the current test suite. I removed from the toml file any tests that weren't implemented. Any tests that were in the test suite but noted as not possible in Batch are marked with include = false.
That leaves these tests that need to be added or marked include = false in the corresponding toml file after the toml file is synced again.
PS C:\Users\andras\Documents\exercism-batch> configlet sync
Updating cached 'problem-specifications' data...
Checking exercises...
[warn] armstrong-numbers: missing 3 test cases
       - Three-digit number that is not an Armstrong number (7154547d-c2ce-468d-b214-4cb953b870cf)
       - Armstrong number containing seven zeroes (5ee2fdf8-334e-4a46-bb8d-e5c19c02c148)
       - The largest and last Armstrong number (12ffbf10-307a-434e-b4ad-c925680e1dd4)
[warn] clock: missing 32 test cases
       - Add minutes -> add minutes (d098e723-ad29-4ef9-997a-2693c4c9d89a)
       - Add minutes -> add no minutes (b6ec8f38-e53e-4b22-92a7-60dab1f485f4)
       - Add minutes -> add to next hour (efd349dd-0785-453e-9ff8-d7452a8e7269)
       - Add minutes -> add more than one hour (749890f7-aba9-4702-acce-87becf4ef9fe)
       - Add minutes -> add more than two hours with carry (da63e4c1-1584-46e3-8d18-c9dc802c1713)
       - Add minutes -> add across midnight (be167a32-3d33-4cec-a8bc-accd47ddbb71)
       - Add minutes -> add more than one day (1500 min = 25 hrs) (6672541e-cdae-46e4-8be7-a820cc3be2a8)
       - Add minutes -> add more than two days (1918050d-c79b-4cb7-b707-b607e2745c7e)
       - Subtract minutes -> subtract minutes (37336cac-5ede-43a5-9026-d426cbe40354)
       - Subtract minutes -> subtract to previous hour (0aafa4d0-3b5f-4b12-b3af-e3a9e09c047b)
       - Subtract minutes -> subtract more than an hour (9b4e809c-612f-4b15-aae0-1df0acb801b9)
       - Subtract minutes -> subtract across midnight (8b04bb6a-3d33-4e6c-8de9-f5de6d2c70d6)
       - Subtract minutes -> subtract more than two hours (07c3bbf7-ce4d-4658-86e8-4a77b7a5ccd9)
       - Subtract minutes -> subtract more than two hours with borrow (90ac8a1b-761c-4342-9c9c-cdc3ed5db097)
       - Subtract minutes -> subtract more than one day (1500 min = 25 hrs) (2149f985-7136-44ad-9b29-ec023a97a2b7)
       - Subtract minutes -> subtract more than two days (ba11dbf0-ac27-4acb-ada9-3b853ec08c97)
       - Compare two clocks for equality -> clocks with same time (f2fdad51-499f-4c9b-a791-b28c9282e311)
       - Compare two clocks for equality -> clocks a minute apart (5d409d4b-f862-4960-901e-ec430160b768)
       - Compare two clocks for equality -> clocks an hour apart (a6045fcf-2b52-4a47-8bb2-ef10a064cba5)
       - Compare two clocks for equality -> clocks with hour overflow (66b12758-0be5-448b-a13c-6a44bce83527)
       - Compare two clocks for equality -> clocks with hour overflow by several days (2b19960c-212e-4a71-9aac-c581592f8111)
       - Compare two clocks for equality -> clocks with negative hour (6f8c6541-afac-4a92-b0c2-b10d4e50269f)
       - Compare two clocks for equality -> clocks with negative hour that wraps (bb9d5a68-e324-4bf5-a75e-0e9b1f97a90d)
       - Compare two clocks for equality -> clocks with negative hour that wraps multiple times (56c0326d-565b-4d19-a26f-63b3205778b7)
       - Compare two clocks for equality -> clocks with minute overflow (c90b9de8-ddff-4ffe-9858-da44a40fdbc2)
       - Compare two clocks for equality -> clocks with minute overflow by several days (533a3dc5-59a7-491b-b728-a7a34fe325de)
       - Compare two clocks for equality -> clocks with negative minute (fff49e15-f7b7-4692-a204-0f6052d62636)
       - Compare two clocks for equality -> clocks with negative minute that wraps (605c65bb-21bd-43eb-8f04-878edf508366)
       - Compare two clocks for equality -> clocks with negative minute that wraps multiple times (b87e64ed-212a-4335-91fd-56da8421d077)
       - Compare two clocks for equality -> clocks with negative hours and minutes (822fbf26-1f3b-4b13-b9bf-c914816b53dd)
       - Compare two clocks for equality -> clocks with negative hours and minutes that wrap (e787bccd-cf58-4a1d-841c-ff80eaaccfaa)
       - Compare two clocks for equality -> full clock and zeroed clock (96969ca8-875a-48a1-86ae-257a528c44f5)
[warn] darts: missing 7 test cases
       - Near the center (b65abce3-a679-4550-8115-4b74bda06088)
       - Just within the inner circle (66c29c1d-44f5-40cf-9927-e09a1305b399)
       - Just outside the inner circle (d1012f63-c97c-4394-b944-7beb3d0b141a)
       - Just within the middle circle (ab2b5666-b0b4-49c3-9b27-205e790ed945)
       - Just outside the middle circle (70f1424e-d690-4860-8caf-9740a52c0161)
       - Just within the outer circle (a7dbf8db-419c-4712-8a7f-67602b69b293)
       - Just outside the outer circle (e0f39315-9f9a-4546-96e4-a9475b885aa7)
       - Square the sum of the numbers up to the given number -> square of sum 1 (e46c542b-31fc-4506-bcae-6b62b3268537)
       - Square the sum of the numbers up to the given number -> square of sum 5 (9b3f96cb-638d-41ee-99b7-b4f9c0622948)
       - Square the sum of the numbers up to the given number -> square of sum 100 (54ba043f-3c35-4d43-86ff-3a41625d5e86)
       - Sum the squares of the numbers up to the given number -> sum of squares 1 (01d84507-b03e-4238-9395-dd61d03074b5)
       - Sum the squares of the numbers up to the given number -> sum of squares 5 (c93900cd-8cc2-4ca4-917b-dd3027023499)
       - Sum the squares of the numbers up to the given number -> sum of squares 100 (94807386-73e4-4d9e-8dec-69eb135b19e4)
[warn] nth-prime: missing 1 test case
       - big prime (fce1e979-0edb-412d-93aa-2c744e8f50ff)
[warn] raindrops: missing 1 test case
       - the sound for 105 is PlingPlangPlong as it has factors 3, 5 and 7 (e46677ed-ff1a-419f-a740-5c713d2830e4)
[warn] reverse-string: missing 4 test cases
       - a sentence with punctuation (71854b9c-f200-4469-9f5c-1e8e5eff5614)
       - wide characters (1bed0f8a-13b0-4bd3-9d59-3d0593326fa2)
       - grapheme cluster with pre-combined form (93d7e1b8-f60f-4f3c-9559-4056e10d2ead)
       - grapheme clusters (1028b2c1-6763-4459-8540-2da47ca512d9)
[warn] some exercises are missing test cases

Closes #49


Setup your SAP HANA MDC instance

Tutorial URL: https://developers.sap.com/tutorials/cp-hana-create-mdc-instance.html
This tutorial doesn't seem to be up to date. The options in the left pane are completely different in latest version I think and I cannot find the way to create a database/schema at all.

This is a Neo based tutorial.  Are you trying it in a trial account?  Are you in the Neo cockpit or the Cloud Foundry one?  Most likely unless you explicitly need the older Neo productive approach (which this tutorial covers); you would instead be better off using HANA As A Service on Cloud Foundry: https://developers.sap.com/group.hana-service-setup.html

@yadnesh98  - any feedback on the response to your question?  Did it address your question about what you are seeing?  If so I'd like to close this issue.

I've not heard back so I'm closing this issue. Feel free to reopen if you are still having issues and have additional questions.


Find Elastic-Version from Snapshot

This is one of the task from the Spike on Migration [https://app.zenhub.com/workspaces/the-delta-quadrant-5fc7c4c3922dc10021323fa6/issues/chef/automate/5594]
Doc Reference : https://progresssoftware.sharepoint.com/:w:/s/ChefCoreC/EevHqEmCAIJNgHUyAzs-cpkBuKA9CzGsgJ0AmyOh7ZFnEA?e=CRaoCx


SQL cache table still incorrect; also document the index created

This appears to be a regression in the docs. Closed issue https://github.com/dotnet/AspNetCore.Docs/issues/8383 asked about the Id column being shown as NVARCHAR(900) which led to PR https://github.com/dotnet/AspNetCore.Docs/pull/9038 to change it to 449, however the current documentation still shows 900 for some reason.
Compared to the source (below), there are other omissions like the collation declaration -- and I think the topic should also document the index the tool would create. In certain locked-down corporate scenarios, we can't just install arbitrary tools from the Internet.
https://github.com/dotnet/aspnetcore/blob/master/src/Tools/dotnet-sql-cache/src/SqlQueries.cs

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

ID: 0d01025d-86b2-bb2d-86c1-ef0695bc98e3
Version Independent ID: 5b9a6572-3671-0d54-b2ef-83d04f8b3e96
Content: Distributed caching in ASP.NET Core
Content Source: aspnetcore/performance/caching/distributed.md
Product: aspnet-core
Technology: aspnetcore-performance
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Indeed, something seems amiss here. The only image for this topic is ...
https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/performance/caching/distributed/_static/SqlServerCacheTable.png
... which matches the one that I placed on https://github.com/dotnet/AspNetCore.Docs/pull/9038 ...
https://github.com/dotnet/AspNetCore.Docs/blob/19f5a20859ed5c9f4fd5c019336395737310281f/aspnetcore/performance/caching/distributed/_static/SqlServerCacheTable.png
... and that's what's on the live branch at ...
https://github.com/dotnet/AspNetCore.Docs/blob/live/aspnetcore/performance/caching/distributed/_static/SqlServerCacheTable.png
... but the rendered topic is loading the old image ...
https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed/_static/sqlservercachetable.png
Refreshing indicates that this it isn't a local caching problem.
@MV10 ... The dotnet-sql-cache tool is owned by Microsoft, so it's not fair to call it an "arbitrary tool." However, I know what you mean. In some places that I worked, every tool, including those from Microsoft, had to be approved. I agree that it would be nice to show the SQL commands, but idk if there's time for anyone from the team to add the content. We're all 🏃😅 for .NET 5 AFAIK.

@MV10 ... The dotnet-sql-cache tool is owned by Microsoft, so it's not fair to call it an "arbitrary tool." However, I know what you mean. In some places that I worked, every tool, including those from Microsoft, had to be approved. I agree that it would be nice to show the SQL commands, but idk if there's time for anyone from the team to add the content. We're all 🏃😅 for .NET 5 AFAIK.

I probably should have worded it as "arbitrarily install tools" as we're very locked-down (big banking) and you know how the security guys get in corporate scenarios -- trust no one, etc.
Anyway -- I certainly don't think this is urgent, I didn't expect an immediate fix, I just wanted to get it on The List. I imagine most people would just use the tool. I simply got to wondering about what indexes it created and wound up in this rabbit hole.
Looking forward to 5.0!!!

The documentation could be more useful by providing a SQL script like so:
CREATE TABLE [dbo].[MyCache](
	[Id] UNIQUEIDENTIFIER NOT NULL,
	[Value] [VARBINARY](MAX) NOT NULL,
	[ExpiresAtTime] [DATETIMEOFFSET](7) NOT NULL,
	[SlidingExpirationInSeconds] [BIGINT] NULL,
	[AbsoluteExpiration] [DATETIMEOFFSET](7) NULL,
PRIMARY KEY CLUSTERED
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = OFF, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

CREATE NONCLUSTERED INDEX [Index_ExpiresAtTime] ON [dbo].[MyCache]
(
	[ExpiresAtTime] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
GO

I changed two things here:

ID from NVARCHAR(449) to UNIQUEIDENTIFIER
ALLOW_PAGE_LOCKS = OFF for the clustered index (not for Index_ExpiresAtTime)

The interface uses strings (seriously?) but after some testing I only ever see guids stored there, it seems to be working fine for me. The performance should be allot better than the default CI AI collation string comparison.
Could anyone point out why a decision was made for NVARCHAR(449) instead of UNIQUEIDENTIFIER?
It is great there is no EntityFramework dependency, though the string consts here could have been stored procedures instead. We don't want to give Redis a head-start do we?

Could anyone point out why a decision was made for NVARCHAR(449) instead of UNIQUEIDENTIFIER?

Valid point.

@Rick-Anderson can you guide me on this ?
I would love to contribute

Distributed Redis Cache is the recommended approach.


add a /scigraph/vocabulary/curies service

There is currently a service that shows all the available prefixes at /scigraph/vocabulary/prefixes but it would also be nice to have a service that would return the curies defined for a currently running scigraph instance so you don't have to hunt down the config file (which sometimes might not be accessible). The service path should probably be /scigraph/vocabulary/curies. A nice return format would be: {'PREFIX1':'iripattern1', 'PREFIX2':'iripattern2'}.

+1 @kshefchek and I were talking about this back in November. This is related to other requests we have gotten (eg. from OMIM) so that they can link out to us. That was a one-off effort, but I would like to take this a step further and not just provide a scigraph service, but also a corresponding application page eg. http://monarchinitiative.org/OMIM which would contain a list of the IDs, each hyperlinked to its corresponding application page eg: http://monarchinitiative.org/OMIM:nnnnn.

I can go ahead and work on this.

I'll take care of that since I want to check some other things related to curies, but thanks!

Okay

Hey.  Since I had already started on the issue I went ahead and pushed some code for it.  Let me know if it helps.

Thanks I'll have a look!
On Mon, Mar 7, 2016 at 11:52 AM, Alex Orr<EMAIL_ADDRESS>wrote:

Hey. Since I had already started on the issue I went ahead and pushed some
code for it. Let me know if it helps.
—
Reply to this email directly or view it on GitHub
https://github.com/SciGraph/SciGraph/issues/159#issuecomment-193421600.

@atorr I did a similar implementation but I've put the endpoint in a different service than the vocabulary one. I've added it in the /cypher one, as curie can be used in most of the services.


Autosetters during pkg update

@mortent
This PR is to perform auto-setters during update operation. This also cleans up logic for setting setter from environment variables.

Can you explain the steps we are taking when running autosetters during update? In particular:

Does this affect how we run the regular setters during update?
If a package already had fields set with the autosetters during get, if an extra field is added, would we then get the value from the environment or from the Kptfile since a value was fetched from the environment during set?

This doesn't affect the way we do normal setters as auto-setters only target gcloud and environment setters.
If a package already had fields set with the autosetters during get, if user has set them to different value after the fact and then if an extra field is added in upstream, then Kptfile will take precedence over the environment while update as user has changed it explicitly.


Error starting Vagrant on Mac OS 10.11.5

~/work/RedisMock (getset)> cp Vagrantfile.dist Vagrantfile
~/work/RedisMock (getset)> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'xotelia' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'xotelia' (v0) for provider: virtualbox
    default: Downloading: https://www.dropbox.com/s/mp2h1c8rlbom2sr/xotelia.box?dl=1
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):

bsdtar: Error opening archive: Unrecognized archive format

~/work/RedisMock (getset)> vagrant --version
Vagrant 1.8.1

Upgraded to latest Vagrant and the issue persists.
~/work/RedisMock (getset)> vagrant --version
Vagrant 1.8.5


AKV Secrets Provider Add System Assigned Identity to ARM template - fixes #96592

Hi all,
see issue on AKV Secrets Provider repo. Fixes #96592

@LeonardHd : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mayurigupta13
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@nilekhc - the content owner @mayurigupta13 has to sign off/approve ... thanks.

@nilekhc - the content owner @mayurigupta13 has to sign off/approve ... thanks.

@Jak-MS Mayuri is out of office until Aug 16th. Is there an another way we can get sing off?
cc @sozercan

@mlearned - can you review? thanks!

For additional context, I am the engineer working on this Arc extension and have tested this change.

thanks @nilekhc - I've checked your listing in the GAL and will merge this based on your credentials. cheers.


allow specifying --index and --index-url in pip-install

Version 8.0.2 of the Chart
What is your Bug?
In 7.X.X is used to be possible to configure extraPipPackages to be installed from a non-standard registry.
This can either be done by mounting a configmap to the container or by adding env-vars.
In the 8.X.X version of the Chart this is no longer supported for the dedicated sidecar: https://github.com/airflow-helm/charts/blob/8611c766992a9f7156aad450f17beb2213cf667c/charts/airflow/templates/_helpers/pods.tpl#L77
Workaround
In the meantime these options can be specified in the extraPipPackages in the values.yaml:
      airflow:
        extraPipPackages:
          - "my_package==0.1.5"
          - --index
          - https://forge.example.com/repository/pypi-all/pypi
          - --index-url
          - https://forge.example.com/repository/pypi-all/simple/

Bumping for bot, @c-thiel is this still an issue for you?

@c-thiel @johngtam this feature will be available in version 8.5.0 of the chart (to be released today/tomorrow) because of PR: https://github.com/airflow-helm/charts/pull/365
You can now set pip configs in airflow.config, for example:
airflow:
  config:
    ## pip configs can be set with environment variables
    PIP_TIMEOUT: 60
    PIP_INDEX_URL<EMAIL_ADDRESS>    PIP_TRUSTED_HOST: example.com

  extraPipPackages:
    - "my-internal-package==1.0.0"


Select2 fields: add a placeholder option

Just a little sugestion for improvement :smiley:
Right now, the Select2 Mutliple field have the exact appearance of the text fields, but very different functions.
Would be interesting to add a placeholder option to improve the usability of the field a bit, like this:

We could add the text in the description, but a placeholder is more direct. In a panel full of complex options, it could be useful.
In Select2 Multiple field, this could be easily achieved like this:
// Line 50 in controls/select2-multiple/class-kirki-controls-select2-multiple-control.php
// Adding a `data-placeholder` attribute to the select element
<select data-customize-setting-link="<?php echo esc_attr( $id ); ?>" data-placeholder="Placeholder text" class="select2" multiple="multiple">

// Line 57 in controls/select2-multiple/class-kirki-controls-select2-multiple-control.php
// Changing the Select2 jQuery
jQuery(document).ready(function($) {
    $('.select2').select2({
        minimumResultsForSearch: -1,
        placeholder: function() {
            $(this).data('placeholder');
        }
    });
});

But in this example, the placeholder text would be hardcoded. Maybe adding an extra placeholder argument in configs would do.

Another simpler option is just to add a little icon at the right of the field, like this:
.select2-container--default {
  position: relative;
}
.select2-container--default .select2-selection--multiple:before {
  content: "\f179";
  font-family: dashicons;
  display: block;
  position: absolute;
  right: 5px;
  top: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #ACA99F;
}

Hey there!
I like it... Could you please submit a pull request for that?

Now that we switched to using selectize instead of select2, this is possible simply by using an empty first option (see the included demo theme for an example)


Run lint checks through gometalinter on CI

https://github.com/abronan/valkeyrie/commit/fc50db13428acc7bffe804a575c800bf3572975a showed a quite serious issue with an error not being properly checked, which in turn resulted in a panic under certain conditions.
Extensive checks should be ran on the CI before merging with gometalinter or golang-ci-lint to avoid such simple mistakes.

as gometalinter is now dead and mainly replaced by golangci-lint, I close this issue.


[BugFix] Fix grants_to system table incorrectly showing deleted objects bug

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:disappointed: fail : 5 / 27 (18.52%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/system/starrocks/GrantsTo.java
5
27
18.52%
[212, 222, 248, 301, 302, 315, 316, 330, 355, 441, 460, 481, 482, 483, 484, 485, 486, 488, 489, 492, 493, 495]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0


Can't load custom layers (Module not found)

I recieved an error when i try to require my custom layers:
`ERROR in ./src/maras/reviews.ts
Module not found: Error: Can't resolve '/opt/nodejs/utils' in 'D:\Git\gestios\gestios-lambda\src\maras'
@ ./src/maras/reviews.ts 13:14-42
ERROR in ./src/maras/reviews.ts
Module not found: Error: Can't resolve 'gestios-sdk-js' in 'D:\Git\gestios\gestios-lambda\src\maras'
@ ./src/maras/reviews.ts 12:16-41
ERROR in D:\Git\gestios\gestios-lambda\src\maras\reviews.ts
./src/maras/reviews.ts
[tsl] ERROR in D:\Git\gestios\gestios-lambda\src\maras\reviews.ts(1,17)
TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try npm i @types/node.
ERROR in D:\Git\gestios\gestios-lambda\src\maras\reviews.ts
./src/maras/reviews.ts
[tsl] ERROR in D:\Git\gestios\gestios-lambda\src\maras\reviews.ts(2,15)
TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try npm i @types/node.`
Thats the code:
const GestiOS = require('gestios-sdk-js');
const utils = require('/opt/nodejs/utils');

let response;

export interface Event {
	name: string;
}

export default async (event: Event): Promise<string> => (
	`Hello ${event.name}`
);

I'm not supporting custom layers. Please look the official AWS support for TypeScript or CDK for that.


Fails to build doc

Crate name: guidon
Build failure link: https://docs.rs/crate/guidon/0.1.0/builds/242520
Additional details: works using cargo doc in the clone project.
Logs claims that jsonnet-sys is not a git repository ?

This looks like jsonnet-sys is trying to write to the src directory, which is not allowed:
[INFO] [stderr] error: failed to run custom build command for `jsonnet-sys v0.6.0`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/jsonnet-sys-9cd69f94bb60a6ac/build-script-build` (exit code: 101)
[INFO] [stderr] --- stdout
[INFO] [stderr] embedding: "jsonnet/stdlib/std.jsonnet" -> "jsonnet/core/std.jsonnet.h"
[INFO] [stderr]
[INFO] [stderr] --- stderr
[INFO] [stderr] fatal: not a git repository (or any parent up to mount point /opt/rustwide)
[INFO] [stderr] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[INFO] [stderr] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/jsonnet-sys-0.6.0/build.rs:28:25

Unfortunately there is not a more recent release of jsonnet-sys, so you will have to open an issue with that project. They could instead write to $CARGO_OUT_DIR, an environment variable set by cargo that we make sure is read/write.

Ok, thanks.
I'll see if I can get rid of this dependancy....


Add automatic ownership invitation admin page and widgets

This is the frontend of the work being done in https://github.com/ITI/searcch-backend/issues/95 .  Basically, we need

a page to list automatic invitations, responses, new ownership
and for that page to allow admins to stop invites from being sent for artifacts upon user request

Also, note this is working on the overall issue in https://github.com/ITI/searcch-issues/issues/46 .


Merging v2 to master after rebasing v2 to master HEAD

The master HEAD before this PR merging will go to v1 branch.

Job d2l-zh/PR-667/4 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-667/

cc @xiaotinghe @goldmermaid


NoSuchElementException: An element could not be located on the page using the given search parameters

Hello,
I am facing this issue when the following code is being executed. But this is not consistent. Sometimes the element is returned with no error. Sometimes the error is throwing. We are using pytest and WinAppDriver for automation of a win32 application.
Using :

Appium-Python-Client Ver 1.3.0
Pytest Ver 7.1.2
WinAppDriver v1.2.1

def click_element_in_toolbar(self, element_index):
    """Click element in the toolbar"""
    review_window_toolbar_children = self.driver.find_element_by_accessibility_id(REVIEW_WINDOW_TOOLBAR_ID).find_elements_by_xpath(ALL_CHILDREN_PATH)
    time.sleep(2)
    review_window_toolbar_children[element_index].click()

@hiransasidharan Try to use wait https://www.selenium.dev/documentation/webdriver/waits/#implicit-wait
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

def click_element_in_toolbar(self, element_index):
	review_window_toolbar = self.driver.find_element_by_accessibility_id(REVIEW_WINDOW_TOOLBAR_ID)
	wait = WebDriverWait(review_window_toolbar, 10)
	elements = wait.until(EC.presence_of_all_elements_located((By.XPATH, ALL_CHILDREN_PATH)))
	while len(review_window_toolbar_children) < element_index:
		review_window_toolbar_children = wait.until(EC.presence_of_all_elements_located((By.XPATH, ALL_CHILDREN_PATH)))
	time.sleep(2)
    review_window_toolbar_children[element_index].click()


auth.signup returning unexpected values

The auth.signUp method (with email and password parameters keeps returning
{session:null,mfa:null}

with the user account created successfully. which doesn't make any sense, as one would need the userId returned as part of the session.user object to enable the saving of other user data in public tables.
This is the case for several accounts created

Hello Joshua,
This is the normal behaviour when an user registers, but cannot sign in yet as their email needs to be verified.
It is possible to make email verification optional:

when using Hasura Auth: set the AUTH_EMAIL_SIGNIN_EMAIL_VERIFIED_REQUIRED environment variable to false
when using Nhost: untick this option in Users -> Loggin settings:

I agree this is quite confusing, and we are thinking about how to improve the API without introducing a breaking change.
I hope it helps


Bug in Softmax computation (jblas)

The current implementation of Softmax OP looks like this:
@Override
    public void init(INDArray x, INDArray y, INDArray z, int n) {
        super.init(x, y, z, n);
        if(x instanceof IComplexNDArray) {
            this.maxComplex = Nd4j.getExecutioner().execAndReturn(new Max(x)).currentResultComplex();
            IComplexNDArray complexX = (IComplexNDArray) x;
            this.y = Transforms.exp(complexX.sub(maxComplex));
            this.sumComplex =  Nd4j.getExecutioner().execAndReturn(new Sum(y)).currentResultComplex();
            this.y.divi(sumComplex);
            this.extraArgs = new Object[] {maxComplex,sumComplex};
        }
        else {
            this.max = Nd4j.getExecutioner().execAndReturn(new Max(x)).currentResult();
            INDArray xMinusMax = x.sub(max);
            this.y = Transforms.exp(xMinusMax);
            this.sum = Nd4j.getExecutioner().execAndReturn(new Sum(this.y)).currentResult();
            this.y.divi(sum);
            this.extraArgs = new Object[] {max,sum};
        }
    }

However this won't give the correct results because this.sum = Nd4j.getExecutioner().execAndReturn(new Sum(this.y)).currentResult(); gives a scalar sum of all elements in this.y.
What we actually want to do is to sum this.y row-by-row, so that when we normalize it, each row of this.y will be a proper pdf.
Any idea how should we fix this?

For the non-complex case, I fixed it like this. However I am not sure this is  the right way.
Could you confirm?
        super.init(x, y, z, n);
        if(x instanceof IComplexNDArray) {
            this.maxComplex = Nd4j.getExecutioner().execAndReturn(new Max(x)).currentResultComplex();
            IComplexNDArray complexX = (IComplexNDArray) x;
            this.y = Transforms.exp(complexX.sub(maxComplex));
            this.sumComplex =  Nd4j.getExecutioner().execAndReturn(new Sum(y)).currentResultComplex();
            this.y.divi(sumComplex);
            this.extraArgs = new Object[] {maxComplex,sumComplex};
        }
        else {
            this.max = Nd4j.getExecutioner().execAndReturn(new Max(x)).currentResult();
            INDArray xMinusMax = x.sub(max);
            this.y = Transforms.exp(xMinusMax);
            //this.sum = Nd4j.getExecutioner().execAndReturn(new Sum(this.y)).currentResult();
            //this.y.divi(sum);
            INDArray aSum = this.y.sum(1).repmat(new int[]{this.y.shape()[1], 1}).transpose();
            this.y.divi(aSum);
            this.extraArgs = new Object[] {max,sum};
        }

Mind submitting a pull request?

Ok

Hey Vu,
I redid that pull request. I had some stuff fail. I get what you mean. This is what the dimension wise operations are for. Nd4j.getExecutioner().exec(op,dimension) executes an op along a dimension.
In the case of each op, I'm ASSUMING it's a vector that's being operated on. If you want to do on a row by row basis or what have you do execAlongDimension to make it work.

Ok I see, thanks for clarification.
I got the error because I am trying to build a classifier, with a softmax on top. Regardless of the lower layers, in any case I will have an OutputLayer on top, with "softmax" as the activation function.
Now if I train it using a batch of samples, the forward computation of the OutputLayer is wrong.
Since extraArgs doesn't take vectors, how should we fix this? Is there any workaround that I am unaware of?

I re-opened this issue because I think this should be fixed properly.
Please feel free to close if it is not top priority for the moment.

JFYI: I do executeAlongDimension with the proper sums in OutputLayer:
https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j-core/src/main/java/org/deeplearning4j/nn/layers/OutputLayer.java#L131

Closing again. If this executeAlongDimension isn't adequate, we can discuss this in a separate issue.


Select all / Select none for "Track analytics for user roles" and "Show stats dashboard to additional user roles"

Hi there
I think could be a nice addition in plausible to make a small option below all the checkboxes for the both noted sections with a link to select all / select none (deselect all). This would lead us to be faster in setting up the plugin on each of our agency sites :)
Thanks for considering

Do you have an example of where you'd have to check, let's say, more than 5 boxes on either options?
@metmarkosaric, what do you think?

@Dan0sz easily have sites with 10 custom roles 😅

Okay, I guess I just couldn't imagine wanting to share your stats with or track all those user roles.
Still, @metmarkosaric has to pull the trigger on this one. 😁

@Dan0sz yeah that part not really needed for a lot sites. i think for 2-3 i used that. But the Track analytics for user roles part is more important. but i guess would be consistent to just do it for both then :)

Thanks! Could be something to consider in the future


feat: tokio-console support

The whole feature is said to be "unstable", but it might turned out very useful, and it's enabled only optionally, so should be OK.
Run fedimintd with an extra --tokio-console-bind=<IP_ADDRESS>:1111 to enable. Connect with tokio-console http://<IP_ADDRESS>:1111 (don't forget about http:// part or it will not work, but not give you a plain error either).
Preview:

Re: #865

@Maan2003 I'm out of context w.r.t how did cln-plugin work, and IIRC it doesn't even use tracing yet? So I guess we can't enable it for ln-gateway RN, but would be a good argument to convince upstream to switch to tracing?

@Maan2003 I'm out of context w.r.t how did cln-plugin work, and IIRC it doesn't even use tracing yet? So I guess we can't enable it for ln-gateway RN, but would be a good argument to convince upstream to switch to tracing?

I think @Maan2003 created a "log to disk" patch which used tracing iirc. Maybe we can adapt that. We should be able to both use the tracing -> log and the console subscriber at the same time afaik.

tracing support in cln-plugin: https://github.com/ElementsProject/lightning/issues/5954

I think @Maan2003 created a "log to disk"

log to disk has really bad perf in cloud environment. But yes adapting that should be possible (without file part).

For tokio-console what's needed is initialization of another tracing subscriber layer that exposes tokio=trace,runtime=trace is kind of all that is needed at runtime.


Can't edit profile?

I can't seem a way to edit my profile. e.g.

how do I add a name?
how can I edit my email address?
how can I edit my external page?
I'd like to see linked accounts (github, bitbucket)

(I'm https://bestpractices.coreinfrastructure.org/users/96)

We don't currently have a way for users to edit a user profile.  The intended purpose for user accounts is to limit who can edit entries & be able to re-contact them, and that's really it.  In general we try to limit the data we collect and display.  We already link to your GitHub page; I suggest modifying your GitHub profile to show that info.
I set your name 'daurnimator' for now, if you'd like a different name displayed let me know.

Editing your name makes sense, and would be easy to add.
Editing the email address is actually trickier - we have to verify that it's actually "you". We can edit pointing to web pages, but that's also tricky in the case of GitHub - where can, we want to limit project badge entry editing to people who are actually authorized to edit the project itself.  If we allow arbitrary edits, someone could switch their external page to say they can edit project X, edit its badge entry, and then change their external page back.  It's hard to associate users with projects on arbitrary sites, but we can do it with GitHub, so in that case we take advantage of it.
We could add external pages, but I don't see that they'd do much good.  I suggest adding those to your "GitHub bio" or other page.

For local accounts, we allow editing of user account info (e.g., so that people can change their password).
There's not much call for doing edits of accounts managed externally, e.g., by GitHub, at this time.  So I'm going to close this ticket.


use charm logger

This moves away from apko and related tools having its own opinionated logger, leaning further into slog's general structured logging and letting callers dictate the format they want in their output.
In this change, the apko CLI itself will use charmbracelet/log with the timestamp displayed, instead of promoting the arch to a log prefix.
Before:

After:

this is going to seriously mess with my fruedian developed dopamine hit looking at the apk summary logs


save all & commit option now commits all files (fixed #80837)

Fixes #80837

Closing in favor of https://github.com/microsoft/vscode/pull/81609


Mouse picking intersection doesn't update on camera move

Hello, lovely plugin you have here! I was just implementing some simple movement in my game using this, and I ran into a minor issue. See I have a cube that has to move along a plane when a part of the plane's surface is clicked, and it's supposed to move to the point of the plane. The issue I'm facing is that the camera moves with it, and the intersection does not get updated unless I move the mouse, despite the fact that the mouse obviously intersects with the mesh in a different spot due to the new camera position. See attached gif for an example.
I'm using the InteractableMesh and everything else works swimmingly, I figure this might be an oversight in how the InteractableMesh::mouse_down_event interacts with PickableMesh::intersection.
I'm using version 0.2.0 so if this has already been fixed I apologize

Hey, thanks for the report! I'll have to see if this is happening in the debug cursor, or in the actual picking systems. I think the intent here is to only compute picks during a mouse movement, instead of running constantly. Some ways we could specify the always-on behavior:

In your world movement systems, send a callback to the picking system, letting it know it will need to run a check this frame because you've moved things around.
When setting up the PickingSource, there could be an "always-on" mode you specify.

Let me know if you have any thoughts on this! 🙂

Hey, thanks for the report! I'll have to see if this is happening in the debug cursor, or in the actual picking systems. I think the intent here is to only compute picks during a mouse movement, instead of running constantly. Some ways we could specify the always-on behavior:
1. In your world movement systems, send a callback to the picking system, letting it know it will need to run a check this frame because you've moved things around.

2. When setting up the `PickingSource`, there could be an "always-on" mode you specify.

Let me know if you have any thoughts on this! 🙂

As shown in the example it also applies to the intersection returned by InteractableMesh, so the debug cursor is accurately showing the intersection it's returning. Now what I'd personally find most useful is to have a setting for PickingSource that it keeps updating the intersection even when a mouse button is held, personally I'd consider that the expected behavior, but leaving it as an option is fine

I've been thinking about this a bit - I think you are completely right in that this should be default behavior. The plugin really doesn't work as intended if the scene isn't static.

By default, picking should update every frame any time the window is active (focused).
We can supply options for update behavior (always, while window focused, on mouse move, etc.)

PR #68 gets us most of the way there. I will need to make some new test examples to verify this is working as intended.

@Sheepyhead this is resolved in PR #78 and #68. Default behavior now results in picks being updated every frame for the cursor pick source. The 3d_scene example has been updated to show this new behavior by animating the camera.


Extractor pipeline 2.0

This is major update on the path to Generative Semantic Search
The extractor pipeline was one of the first components in txtai, going all the way back to 1.0. Since then, much has changed both with txtai and externally. This pipeline has a lot of potential but it needs a couple updates.
Make the following upgrades to the Extractor pipeline.

Ability to run embeddings searches. Given that content is supported, text can be retrieved from the embeddings instance.
In addition to extractive qa, support text generation models, sequence to sequence models and custom pipelines
Better detection of when a tokenizer should be used (word vector models only)

These changes will enable a prompt-driven approach to question-answering with LLMs. This includes Hugging Face models and external services like OpenAI/Cohere. Services can be called directly or with another library like langchain. Custom pipelines only require a __call__ interface.

This recent notebook should help: https://github.com/neuml/txtai/blob/master/examples/62_RAG_with_llama_cpp_and_external_API_services.ipynb


Fix issue with getting a variable from a parent context

Nested loop now can get variables from parent context as it works in handlebars.js (Issue #107)

Thanks for the PR... implementation looks good. Can you replace the tabs with 4 spaces before we merge?

Sure I can! Done)


Add CORDIC math function accelerator support to stm32g4

Add CORDIC math accellerator enum definitions to stm32g4 family
- modified description on mislabeled registiers
- added clarifying descriptions for two CORDICs CSR fields

Thanks @adamgreig for fast and thorough review! :bowing_man:
Applied all suggestions. Should be ready for another review round.

Great, thanks!
bors merge


Install Error

Also having trouble installing this package. Linux Mint 19.3 Cin. I have verified that I have gcc and libxkbfile-dev installed.
Installing atom-keyboard-macros to /home/ajman/.atom/packages ✗

><EMAIL_ADDRESS>install /tmp/apm-install-dir-120422-7181-w7ijp6.tsl4/node_modules/atom-keyboard-macros/node_modules/keyboard-layout
> node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-120422-7181-w7ijp6.tsl4/node_modules/atom-keyboard-macros/node_modules/keyboard-layout/build'
  CXX(target) Release/obj.target/keyboard-layout-manager/src/keyboard-layout-manager.o
keyboard-layout-manager.target.mk:104: recipe for target 'Release/obj.target/keyboard-layout-manager/src/keyboard-layout-manager.o' failed
make: Leaving directory '/tmp/apm-install-dir-120422-7181-w7ijp6.tsl4/node_modules/atom-keyboard-macros/node_modules/keyboard-layout/build'

npm WARN deprecated<EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
make: g++: Command not found
make: *** [Release/obj.target/keyboard-layout-manager/src/keyboard-layout-manager.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 5.3.0-46-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-120422-7181-w7ijp6.tsl4/node_modules/atom-keyboard-macros/node_modules/keyboard-layout
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-120422-7181-w7ijp6.tsl4/package.json'
npm WARN apm-install-dir-120422-7181-w7ijp6.tsl4 No description
npm WARN apm-install-dir-120422-7181-w7ijp6.tsl4 No repository field.
npm WARN apm-install-dir-120422-7181-w7ijp6.tsl4 No README data
npm WARN apm-install-dir-120422-7181-w7ijp6.tsl4 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!


plugins like ogarul

Hello you can make a plugin for minions called "superminion" like ogarUL ? and spawnmass per player ?

We don't want lags like OgarUL and we don't want to copy the AJS-development stuff


Automated Package Upgrade

:tada: This PR is included in version 9.0.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ Bofrost.be has degraded performance

In 622830e, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1300 ms

Resolved: Bofrost.be performance has improved in 0cfc940 after 15 minutes.


adjust UV2 calculation in vertex. Fixes #314

using fma() here avoids precision loss.

0 ~ 15fps in mobile, no change for forward+

Admin edit:
Fixes #314

Interesting. In my list if optimizations, I noted we should move to fma everywhere we can since it's supposed to be 10% faster. However it's not supported by the compatibility renderer. Will that make it difficult for you supporting it? Will we have 2 shaders, or can we split it with defines and inserts? Maybe we can redefine fma.

it may end up having to be a seperate shader, tho, this line
UV2 = UV * _region_texel_size + 0.5 * _region_texel_size;

works just as well (though its slightly slower)

Excellent work, thank you @Xtarsia. Also looks fine out at -8k, -8k.
Another shader is fine. Currently compatibility mode complains about fma, textureQueryLod, and dFdyCoarse. However, adding this works: #define fma(a,b,c) a*b+c;
@Saul2022 is this the last standing mobile issue? I think everything else has been resolved.


Moves config.py and config.yaml into bigbang dir. Addresses #569

This PR addrsses issue #569 by moving the config/ directory contents into the bigbang/ directory, as per @MridulS 's recommendation.
The one thing I couldn't figure out was how fix some of the pipermail ingress tests. These depended on certificates that for some reason were bundled in the config/ directory. @Christovis , please advise.

This PR now passes tests and I believe will fix issue #569 .
I know it doesn't do all the refactoring recommended by @MridulS in that issue...
@MridulS any chance you could review this PR ?
cc @ccosborne this will soon be merged in.

Thanks @sbenthall !


feat: add new partner and move partners to sponsors section

Added new partner Pocket Gems and move Adyen, Guru and Sisense to the sponsor category.
Fixes #916

✅ By submitting this PR, I have verified the following

[X] Checked to see if a similar PR has already been opened 🤔
[X] Reviewed the contributing guidelines 🔍
[X] Added my name to the bottom of the list under the Contributors section in the README.md with a link to my personal website or GitHub profile 👥 (Optional)

This is a what the sponsor section would look like with the changes.


Adding MD file instead of PDF in specs>adrs

The PDFs in specs>docs need to be removed in main.

Can you rename the file as 01_name_of_file.md?

Also, please update the pull request with the latest of main.

Looks good to me!

@neontvn all done.


Fix PHP interop tests

Partial rollback.  We need fixes in PHP before we can upgrade protobuf and run the C++ portability tests.
https://github.com/google/protobuf/pull/2981

Performance differences noted:
Benchmark       cpu_time    real_time
--------------  ----------  -----------
BM_Zalloc/1024  +11%        +11%

#9088 #10734 #10640


Feature/explore emissions button

This Pr adds functionality to Explore Emissions and Explore Pathways button on Agricuture's Drivers of emissions section.
Pivotal task
Designs

Good job :+1:
I found one thing: when we click on Future Pathways and then, before the data will be loaded, click on Explore pathways, pathways page will open but query params will be null/undefined:
http://localhost:3000/pathways/model?currentLocation=undefined&category=null&indicator=null&model=null

Should we set default search?

Ready to review ☝
Thanks @kfilip94 for spotting the bug 🔎 🐛
Added the default link.

Thanks for fixing this :+1: But there is one more thing :cry:
For countries where we don't have any data about pathways, after click on explore emissions, the default link is set as /pathways/model but I think it would be good to pass country even if rest of the params is empty.
e.g. we don't have here category and indicator data for Lithuania, but we have location and model:
location: {label: "Lithuania", value: 146} ,  category: null,  indicator: null,  model: {label: "Global Change Assessment Model"}

@kfilip94 ready again ☝


Tables plus dotted keys generates incorrect error (vscode extension)

I am running version 0.8.7 as reported in vscode and listed at time of writing as the up to date version on the vscode marketplace.
I am running VSCode 1.50.1 on Windows 10 x64.
If I mix both fully qualified table syntax and table plus dotted key syntax, the "Even Better TOML" extension appears to incorrectly give me a duplicate table definition error if the first subtable matches a top level table name.
While there is no explicit sentence that I can find in the TOML spec, either rc1, or (current) rc3, stating it's not an error, the spec does appear to specify (and the code appears to handle this in isolation) that dotted keys under a table definition append under that table, not the global scope, and thus I would expect the intended result would not have it error about a conflict with a global table. Especially since using a dotted table definition works as expected.
TOML https://toml.io/en/v1.0.0-rc.3#table has an explicit example of dotted keys inside a table, and the example is the same in https://toml.io/en/v1.0.0-rc.1#table.
Hopefully, these examples make it clear what the issue is.
Invalid per the extension:
[foo]
bar = 1

[baz]
foo.bar = 2 # Not Ok per the extension, conflicts with table "foo"

[bar.foo] # Ok
baz = 3

Expected JSON Tree:
{
  "foo": {
    "bar": 1
  },
  "baz": {
    "foo": {
      "bar": 2
    }
  },
  "bar": {
    "foo": {
      "baz": 3
    }
  }
}

Do note that if I copy just the middle TOML snippet:
[baz]
foo.bar = 2

as JSON, the contents of my clipboard are the expected:
{
  "baz": {
    "foo": {
      "bar": 2
    }
  }
}

Thanks for the bug report!
I've just finished refactoring most of the parsing code that fixes several bugs like this one, I expect to publish a new version of the extension this week.

And thank you for the prompt response. Once I figured out what was happening enough to write the bug report, it really is only a minor issue for my use case.
I look forward to the update, when ever it comes out, but it's a low priority on my list.


option change not recognized when new option is diabled

Prerequisites

[x] Have you checked for an existing issue describing your problem?
[x] Are you running the latest version?
[x] Is your ports tree recent?
[x] Is your FreeBSD Host on a supported release?

Describe the bug
When a port gains a new option, which is disabled by default or by the user through poudriere config, the next run of poudriere bulk will not recognize a change in options.
How to reproduce
This was observed when dealing with this change to the ports tree.

Before, the port had only one option: DOCS
The port was changed to have two options: DOCS BRACKETEDPASTE, with BRACKETEDPASTE on by default
I called poudriere options -j myjail -c devel/readline to disable the new option BRACKEDTEDPASTE
poudriere bulk -j myjail -f myportlist did not rebuild the devel/readline port.

Expected behavior
I expected devel/readline to be rebuilt, because I had changed an option.
Likely cause
My guess is that poudriere compared the enabled options before and after, and found just "DOCS" in both cases. poudriere wasn't aware that a new option BRACKEDTEDPASTE had been introduced, but disabled.
One might be tempted to think: When a new option appears, but is disabled, then the properties of the port have not changed. But this is not the case at least in this instance, because BRACKEDTEDPASTE made configurable a behavior that was always-on before the option existed. So by disabling the new option, I changed the behavior of the port.
Environment

Host OS: 13.0 amd64
Jail OS: 13.0 amd64
Poudriere Version: poudriere-devel-<IP_ADDRESS>10720
Ports branch and revision: main a3abb6ed787917d0b8ef9da6837c25e414763efa

Poudriere compares the options in the pkgfile from pkg query -F readline-ver.txz '%Ok %Ov' to make -V SELECTED_OPTIONS in the port directory.
I do expect it would detect this change fine.
~/git/ports/main/devel/readline # git checkout a3abb6ed787917d0b8ef9da6837c25e414763efa^
Previous HEAD position was a3abb6ed7879 devel/readline: Add BRACKETEDPASTE option
HEAD is now at 538ac402f424 devel/py-twisted: Add NO_ARCH
~/git/ports/main/devel/readline # make -V SELECTED_OPTIONS
DOCS

# ./poudriere bulk -j exp-12amd64 -p commit -z test devel/readline
...
[00:00:11] Mounting ports from: /root/git/ports/main
[00:00:11] Mounting packages from: /poudriere/data/packages/exp-12amd64-commit-test
...
[00:00:07] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:07] Ports top-level git hash: 538ac402f424
...
[00:00:48] Built ports: devel/readline
...
# pkg query -F /poudriere/data/packages/exp-12amd64-commit-test/All/readline-8.1.1.txz '%Ok %Ov'
DOCS on

~/git/ports/main/devel/readline # git checkout a3abb6ed787917d0b8ef9da6837c25e414763efa
Previous HEAD position was 538ac402f424 devel/py-twisted: Add NO_ARCH
HEAD is now at a3abb6ed7879 devel/readline: Add BRACKETEDPASTE option
~/git/ports/main/devel/readline # make -V SELECTED_OPTIONS
BRACKETEDPASTE DOCS

The SELECTED_OPTIONS behaves as I expect so far.
# ./poudriere bulk -j exp-12amd64 -p commit -z test -nv devel/readline
...
[00:00:05] [Dry Run] Mounting ports from: /root/git/ports/main
[00:00:05] [Dry Run] Mounting packages from: /poudriere/data/packages/exp-12amd64-commit-test
...
[00:00:07] [Dry Run] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:08] [Dry Run] Ports top-level git hash: a3abb6ed7879
...
[00:00:09] [Dry Run] Deleting readline-8.1.1.pkg: changed options
[00:00:09] [Dry Run] Pkg: DOCS
[00:00:09] [Dry Run] New: BRACKETEDPASTE DOCS

And it detected the option and will rebuild it.
Did you modify the CHECK_CHANGED_OPTIONS value? It defaults to yes.

Note step 3. in my How to reproduce list, which comes before running poudriere bulk. If I understand your testing output correctly, you did not reproduce that step. (Though it's possible I'm misunderstanding it.)
The problem appears when an option is newly introduced and default-on, but then immediately disabled by poudriere options before running poudriere bulk the next time.

@emtiu Aha that makes sense now. Nice find!

I think I have it working locally now.
[00:00:12] [Dry Run] Deleting readline-8.1.1.pkg: changed options
[00:00:12] [Dry Run] Pkg: +DOCS
[00:00:12] [Dry Run] New: +DOCS -BRACKETEDPASTE

Doing more testing before pushing out to git.

This was also a problem for the new package fetching feature.
Before
[00:00:25] [Dry Run] Package fetch: Will fetch readline-8.1.1

After
[00:00:24] [Dry Run] Package fetch: Skipping readline-8.1.1: options wanted:   '-BRACKETEDPASTE +DOCS')
[00:00:24] [Dry Run] Package fetch: Skipping readline-8.1.1: options provided: '+DOCS')


How to show surrounding documents in alert

Hi,
I am using elastalert
Below is my rule
`type: frequency

index: java-prod-*

num_events: 10

timeframe:
  minutes: 10

attach_related: true

filter:
- query:
    query_string:
      query: "severity:ERROR AND -appenv:preprod AND app:transaction"

include: ["@timestamp", "_id", "app","message"]
slack_channel_override: '#transaction-exception'
alert:
- "slack"
slack:
slack_webhook_url: "https://hooks.slack.com/services/XXXXXX/XXXXXXXXXXXXX"`

Errors are coming to slack. Is there any way to push log lines that are above and below the error log as we show in kibana "Show surrounding documents"
We are using ES and Kibana 6.3 version. Is there a way where we can provide a link to the document on kibana?

Did you ever solve this? We have a similiar use case here: https://github.com/Yelp/elastalert/issues/2158


Rust build fails due to package collision when using exported signature

When building a Rust guest function, I can't use a different path for the Scale signature (for example, I can't use the path to a locally exported signature). If I try to, I get:
scale function build -d ./classifiers/questions
Error: failed to build scale function: unable to compile scale function:     Updating crates.io index
error: package collision in the lockfile: packages local_classifier_latest_guest v0.1.0 (/home/pojntfx/.config/scale/signatures/local_classifier_latest_4a8a84f12b689b5b500cd44fc143e32a7432a548a8ba913a8deef52fa3a0ce12_signature/rust/guest) and local_classifier_latest_guest v0.1.0 (/home/pojntfx/Projects/atmosfeed/pkg/signatures/classifier/rust/guest) are different, but only one can be written to lockfile unambiguously

This:

signature = { package = "local_classifier_latest_guest", path = "/home/pojntfx/.config/scale/signatures/local_classifier_latest_4a8a84f12b689b5b500cd44fc143e32a7432a548a8ba913a8deef52fa3a0ce12_signature/rust/guest" }

works, while this:
signature = { package = "local_classifier_latest_guest", path = "../../pkg/signatures/classifier/rust/guest" }

Does not.

Fixed in https://discord.com/channels/896399121731174480/1100100317665824789/1148757533868167189


Write a perfect introduction for this lib

write a awesome introduction for this and add it to the website

yes

yes

I can give it a try and do my best to make a great introduction.
so can you assign me this

Sure!