There seems to be an issue with the debian 11 repo?

I'm getting a bunch of 'file has unexpected size' errors when trying to fetch the packages from the debian 11 repo configured by this role.

Get:1 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  vim-common 100:8.2.5069-1 [72.1 kB]
Err:1 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  vim-common 100:8.2.5069-1
  File has unexpected size (71596 != 72100). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:be6cefffe402995ff7d049a46988e8b8c5875760c56d4ee89cbc0437c3f21721
   - SHA1:55f2ecb04bd475179030078a68107c5ba58ce81e [weak]
   - MD5Sum:59db4c2ae354d58469081f401d95aaab [weak]
   - Filesize:72100 [weak]
Get:2 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  catatonit 100:0.1.7-1 [255 kB]
Err:2 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  catatonit 100:0.1.7-1
  File has unexpected size (248652 != 254996). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:5c619e02fbd404495e51680cf6ee572aca91fa97ccbebc26d88c4b3bbcc44b12
   - SHA1:086249ca8273d299cac1d0038609af051f234f7d [weak]
   - MD5Sum:c1fdf2f65db887bb5dca1eb7143acdb1 [weak]
   - Filesize:254996 [weak]
Get:3 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking 100:1.1.2-1 [1089 kB]
Err:3 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking 100:1.1.2-1
  File has unexpected size (1062836 != 1089332). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:e63073beafbf96af70c8a35d68468a5c2278615e95b095fb59babfdba550e7bb
   - SHA1:2fc2a946da71ca56e3a043f1c678c0d784a51d14 [weak]
   - MD5Sum:add9a16e7ea61037765b72b75bceb52b [weak]
   - Filesize:1089332 [weak]
Get:4 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking-plugins 100:1.1.1-1 [7330 kB]
Err:4 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking-plugins 100:1.1.1-1
  File has unexpected size (7128344 != 7329992). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:c6bd58ce735fc64482af27aca1e4600ddfa152b758b09dd4231a21ea04f36e99
   - SHA1:26f0f3ab81928af94061d376d21f3a7fb5433fdb [weak]
   - MD5Sum:2af66aca391ca0469c9fa49f8a104b4f [weak]
   - Filesize:7329992 [weak]
Get:5 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking-dnsname 100:1.3.1-1 [1069 kB]
Err:5 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking-dnsname 100:1.3.1-1
  File has unexpected size (1039840 != 1069216). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:dd13c383dcb1151fd9413439e8e9dd5c4800844a29ed35f141e4869b61aedb24
   - SHA1:098beb4b3531d64ee5496ef037f54564d6e7ae8b [weak]
   - MD5Sum:d3e2a92b73bc20f599f7f3e6edbd60e5 [weak]
   - Filesize:1069216 [weak]
Get:6 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking-podman-machine 100:0.2.0-1 [1786 kB]
Err:6 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containernetworking-podman-machine 100:0.2.0-1
  File has unexpected size (1742664 != 1786188). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:309c9a6f2e7d31633251be80a0e71abdb73ff6eaac7c230c3a771868111bdcbd
   - SHA1:78123cbdc384c295978a2b8044e7ddabdba56b0d [weak]
   - MD5Sum:85bf157153eaa4e64edf59d65f36bd54 [weak]
   - Filesize:1786188 [weak]
Get:7 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containers-storage 100:1.42.0-1 [2044 kB]
Err:7 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  containers-storage 100:1.42.0-1
  File has unexpected size (2012600 != 2044016). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:d6b6a27799f1231da3ee736734215c94185fee31e76f69255701a87375f1e543
   - SHA1:29ee53975db8eda4486d8de16ad250e771a26792 [weak]
   - MD5Sum:991761d9c63d148a2188093eac677f55 [weak]
   - Filesize:2044016 [weak]
Get:8 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  fuse-overlayfs 100:1.9-1 [39.1 kB]
Err:8 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  fuse-overlayfs 100:1.9-1
  File has unexpected size (39136 != 39144). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:b49dc7549ddf2757f2a5c65e2d862736374d6009b601571d53d743e9e2c63d63
   - SHA1:6636cae991d69e19f705350556a783afec8dce06 [weak]
   - MD5Sum:59c7c5f6a2a2be3edfd4df0c26a1c665 [weak]
   - Filesize:39144 [weak]
Get:9 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  podman-aardvark-dns 100:1.1.0-1 [529 kB]
Err:9 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  podman-aardvark-dns 100:1.1.0-1
  File has unexpected size (530656 != 529188). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:671585773693d8791ced4d4e69a756e8e2c82e9810e4d8814ee04856900f5c60
   - SHA1:0815adcf90e85aa5ccede6e793e674289c202c9c [weak]
   - MD5Sum:7f70aa968934b4d4f5bf9d781f69eae4 [weak]
   - Filesize:529188 [weak]
Get:10 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  podman-netavark 100:1.1.0-1 [927 kB]
Err:10 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  podman-netavark 100:1.1.0-1
  File has unexpected size (929820 != 927224). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:5869b79f44492bb35f833501fd012d455e3bb4843f80761d78a3204907ccd9c7
   - SHA1:26c5f7fbd6722f439f06200d448ed920167a76c2 [weak]
   - MD5Sum:68db24f3d9bcef313a01f06195246514 [weak]
   - Filesize:927224 [weak]
Get:11 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  python3-lxml 100:4.9.1-1 [1091 kB]
Err:11 http://download.opensuse.org/repositories/home:/alvistack/Debian_11  python3-lxml 100:4.9.1-1
  File has unexpected size (1090776 != 1091180). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
  Hashes of expected file:
   - SHA256:11d9f4821e9b7443024b73b05a2bfa16f8a50438860b40be80faa901d3d75e45
   - SHA1:c98245b45336216e6c08d6f3b20e780f0cbcb0d8 [weak]
   - MD5Sum:e1bbcaadf01d76a135ac322340c8e50b [weak]
   - Filesize:1091180 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/all/vim-common_8.2.5069-1_all.deb  File has unexpected size (71596 != 72100). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:be6cefffe402995ff7d049a46988e8b8c5875760c56d4ee89cbc0437c3f21721
    - SHA1:55f2ecb04bd475179030078a68107c5ba58ce81e [weak]
    - MD5Sum:59db4c2ae354d58469081f401d95aaab [weak]
    - Filesize:72100 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/catatonit_0.1.7-1_amd64.deb  File has unexpected size (248652 != 254996). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:5c619e02fbd404495e51680cf6ee572aca91fa97ccbebc26d88c4b3bbcc44b12
    - SHA1:086249ca8273d299cac1d0038609af051f234f7d [weak]
    - MD5Sum:c1fdf2f65db887bb5dca1eb7143acdb1 [weak]
    - Filesize:254996 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/containernetworking_1.1.2-1_amd64.deb  File has unexpected size (1062836 != 1089332). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:e63073beafbf96af70c8a35d68468a5c2278615e95b095fb59babfdba550e7bb
    - SHA1:2fc2a946da71ca56e3a043f1c678c0d784a51d14 [weak]
    - MD5Sum:add9a16e7ea61037765b72b75bceb52b [weak]
    - Filesize:1089332 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/containernetworking-plugins_1.1.1-1_amd64.deb  File has unexpected size (7128344 != 7329992). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:c6bd58ce735fc64482af27aca1e4600ddfa152b758b09dd4231a21ea04f36e99
    - SHA1:26f0f3ab81928af94061d376d21f3a7fb5433fdb [weak]
    - MD5Sum:2af66aca391ca0469c9fa49f8a104b4f [weak]
    - Filesize:7329992 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/containernetworking-dnsname_1.3.1-1_amd64.deb  File has unexpected size (1039840 != 1069216). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:dd13c383dcb1151fd9413439e8e9dd5c4800844a29ed35f141e4869b61aedb24
    - SHA1:098beb4b3531d64ee5496ef037f54564d6e7ae8b [weak]
    - MD5Sum:d3e2a92b73bc20f599f7f3e6edbd60e5 [weak]
    - Filesize:1069216 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/containernetworking-podman-machine_0.2.0-1_amd64.deb  File has unexpected size (1742664 != 1786188). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:309c9a6f2e7d31633251be80a0e71abdb73ff6eaac7c230c3a771868111bdcbd
    - SHA1:78123cbdc384c295978a2b8044e7ddabdba56b0d [weak]
    - MD5Sum:85bf157153eaa4e64edf59d65f36bd54 [weak]
    - Filesize:1786188 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/containers-storage_1.42.0-1_amd64.deb  File has unexpected size (2012600 != 2044016). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:d6b6a27799f1231da3ee736734215c94185fee31e76f69255701a87375f1e543
    - SHA1:29ee53975db8eda4486d8de16ad250e771a26792 [weak]
    - MD5Sum:991761d9c63d148a2188093eac677f55 [weak]
    - Filesize:2044016 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/fuse-overlayfs_1.9-1_amd64.deb  File has unexpected size (39136 != 39144). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:b49dc7549ddf2757f2a5c65e2d862736374d6009b601571d53d743e9e2c63d63
    - SHA1:6636cae991d69e19f705350556a783afec8dce06 [weak]
    - MD5Sum:59c7c5f6a2a2be3edfd4df0c26a1c665 [weak]
    - Filesize:39144 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/podman-aardvark-dns_1.1.0-1_amd64.deb  File has unexpected size (530656 != 529188). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:671585773693d8791ced4d4e69a756e8e2c82e9810e4d8814ee04856900f5c60
    - SHA1:0815adcf90e85aa5ccede6e793e674289c202c9c [weak]
    - MD5Sum:7f70aa968934b4d4f5bf9d781f69eae4 [weak]
    - Filesize:529188 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/podman-netavark_1.1.0-1_amd64.deb  File has unexpected size (929820 != 927224). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:5869b79f44492bb35f833501fd012d455e3bb4843f80761d78a3204907ccd9c7
    - SHA1:26c5f7fbd6722f439f06200d448ed920167a76c2 [weak]
    - MD5Sum:68db24f3d9bcef313a01f06195246514 [weak]
    - Filesize:927224 [weak]
E: Failed to fetch http://provo-mirror.opensuse.org/repositories/home:/alvistack/Debian_11/amd64/python3-lxml_4.9.1-1_amd64.deb  File has unexpected size (1090776 != 1091180). Mirror sync in progress? [IP: <IP_ADDRESS> 80]
   Hashes of expected file:
    - SHA256:11d9f4821e9b7443024b73b05a2bfa16f8a50438860b40be80faa901d3d75e45
    - SHA1:c98245b45336216e6c08d6f3b20e780f0cbcb0d8 [weak]
    - MD5Sum:e1bbcaadf01d76a135ac322340c8e50b [weak]
    - Filesize:1091180 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Recently OBS make http://download.opensuse.org/ as a redirection to mirrored site, and mirrored sites need time to sync the content else repo checksum will be mismatched.
But due to our DAILY package update practice, our repos are always keep moving, so the complete and success sync to mirrored site is rare…
You could update your repo setup to http://download content.opensuse.org/, which is the original main source and always keep updated ;-)

Sweet, that did it. Thanks.


Lemmatizer creation and deployment with tagger

I think that the researchers who need morphological analysis in their tasks may be split up into two groups:

those who need only lemmatizer (for dimension reduction etc.);
those who need both lemmatizer and tagger.

To the best of my knowledge, there are really few applied tasks which require tagging only.
While those people who need both lemmatizer and tagger may not use your tagger due to the fact that except for your tagger they need a lemmatizer; in the mean time, all of the (good) lemmatizers for Russian (pymorphy2, mystem, rnnmorph) support tagging as well.
As a consequence, most researchers might choose another tagger due to lemmatization absence in yours.
Besides, as soon as your tagger seems to use pymorphy2 features, you could take pymorphy2 lemmas for the beginning (perhaps it is computationally easy), and then change pymorphy2 lemmatizer for your own.

Hi! There is already lemmatizer for Russian language in the library, based on pymorphy2.
We will consider combining tags and lemmas in a single class soon.

Closed due to the removal of the morphotagger from the library.


Search input modal does not return focus to opener (search button) when modal is closed

Fixed by Apply modal pattern to search box pop-up pydata/pydata-sphinx-theme#1932


dependency tree incomplete

Since the cyclonedx-gradle-plugin only records Java/Maven dependencies in the SBoM, but our project also includes NPM (Vaadin) and Python in addition to Java, we wanted to use cdxgen. Here we encountered a number of problems.
Dependency tree incomplete
No dependency tree is created for either the subproject or transitive dependencies.
with cdxgen:
...
    {
      "ref": "pkg:maven/org.springframework.security/spring-security-core@5.7.7?type=jar",
      "dependsOn": []
    },
    {
      "ref": "pkg:maven/com.vaadin/vaadin-virtual-list-flow@23.2.17?type=jar",
      "dependsOn": []
    },
...
  {
      "ref": "pkg:pypi/app@latest",
      "dependsOn": [
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>      ]
    }
 ...

with cyclonedx-gradle-plugin
...
    {
      "ref" : "pkg:maven/org.springframework.security/spring-security-core@5.7.7?type=jar",
      "dependsOn" : [
        "pkg:maven/org.springframework/spring-context@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-aop@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-beans@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-expression@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-core@5.3.26?type=jar",
        "pkg:maven/org.springframework.security/spring-security-crypto@5.7.7?type=jar"
      ]
    },
    {
      "ref" : "pkg:maven/com.vaadin/vaadin-virtual-list-flow@23.2.17?type=jar",
      "dependsOn" : [
        "pkg:maven/com.vaadin/vaadin-renderer-flow@23.2.17?type=jar"
      ]
    }
...

2. Dependencies beetween Submodules

Dependencies between the gradle submodules also not generated

@thaarbach Hi - we fixed some bugs related to java/gradle in the last few days and I just did a new release with those changes. Please give this latest version, v9.3.2, a try and let me know if there is still an issue. Verify the version being run is the correct one with cdxgen --version Thanks!

Hi @cerrussell
thx for the fast reply. I tested the last version and now all the information seems to be included.

    {
      "ref": "pkg:maven/org.springframework.security/spring-security-core@5.7.7?type=jar",
      "dependsOn": [
        "pkg:maven/org.springframework.security/spring-security-crypto@5.7.7?type=jar",
        "pkg:maven/org.springframework/spring-aop@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-beans@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-context@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-core@5.3.26?type=jar",
        "pkg:maven/org.springframework/spring-expression@5.3.26?type=jar"
      ]
    },

Missing license information is now also present.


Add a badge with push workflow status

What this PR does / why we need it:
In order to highlight the main branch health, a build status badge is being added to the main project's page.
Change type

[ ] New feature
[ ] Bug fix
[ ] Unit tests
[ ] Integration tests
[ ] CI
[ ] Documentation
[ ] Auto generated SDK code

Impacted services

[ ] Workflow Service
[ ] Notifivcation Service

Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.

/lgtm


Error attempting to rip any gallery on jabarchives.com

Ripme version: 1.7.60
Java version:  Version 8 Update 181
Operating system:  Version 1803 (OS Build 17134.165)

Exact URL you were trying to rip when the problem occurred: https://www.jabarchives.com/main/view/mew_Toons
Please include any additional information about how to reproduce the problem:
Ripme recognizes the URL as being valid, providing the green text, however when pressing "Rip" the below behavior occurs.

Expected Behavior
Sucessful rip, initiated with the rip button is pressed.
Actual Behavior
(It appears that the ripper is always expecting "albumname" to be present, when that actually changes depending on which album is being viewed)
2018-08-03 16:28:09,460 DEBUG ripper.AbstractRipper .getRipper() Found album ripper: com.rarchives.ripme.ripper.rippers.JabArchivesRipper
2018-08-03 16:28:10,596 DEBUG ripper.AbstractRipper .getRipper() Found album ripper: com.rarchives.ripme.ripper.rippers.JabArchivesRipper
2018-08-03 16:28:10,596 ERROR ui.MainWindow .ripAlbum() Could not find ripper for URL https://www.jabarchives.com/main/view/mew_Toons
java.net.MalformedURLException: Expected javarchives.com URL format: jabarchives.com/main/view/albumname - got https://www.jabarchives.com/main/view/mew_Toons instead
at com.rarchives.ripme.ripper.rippers.JabArchivesRipper.getGID(JabArchivesRipper.java:42)
at com.rarchives.ripme.ripper.AbstractRipper.getAlbumTitle(AbstractRipper.java:475)
at com.rarchives.ripme.ripper.AlbumRipper.setWorkingDir(AlbumRipper.java:192)
at com.rarchives.ripme.ripper.AbstractRipper.setup(AbstractRipper.java:178)
at com.rarchives.ripme.ui.MainWindow.ripAlbum(MainWindow.java:1128)
at com.rarchives.ripme.ui.MainWindow.ripNextAlbum(MainWindow.java:1087)
at com.rarchives.ripme.ui.MainWindow.access$600(MainWindow.java:67)
at com.rarchives.ripme.ui.MainWindow$4.intervalAdded(MainWindow.java:852)
at javax.swing.AbstractListModel.fireIntervalAdded(Unknown Source)
at javax.swing.DefaultListModel.add(Unknown Source)
at com.rarchives.ripme.ui.MainWindow$RipButtonHandler.actionPerformed(MainWindow.java:1162)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Looks like it doesn't like the www. in the url.


Implement free aplicative

Use this as reference https://typelevel.org/cats/datatypes/freeapplicative.html

fixed in #56


train_pix2pix the result is not good

Dear author，
I greatly admire your research. I am a graduate student from Beijing Forestry University in China, and I would like to apply it to the field of terrain generation in images. But I encountered some problems in implementing the paired training model in this paper, and I hope you can continue to advise me.
Here are my relevant configurations and training process. It seems that the loss function has not converged and the generated results are not satisfactory.
accelerate_config:
compute_environment: LOCAL_MACHINE
debug: false
distributed_type: 'NO'
downcast_bf16: 'no'
enable_cpu_affinity: true
gpu_ids: all
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false
accelerate launch src/train_pix2pix_turbo.py
--pretrained_model_name_or_path="stabilityai/sd-turbo"
--output_dir="output/pix2pix_turbo/fill50k"
--dataset_folder="data/my_fill50k"
--resolution=512
--train_batch_size=1
--enable_xformers_memory_efficient_attention --viz_freq 25
--track_val_fid
--report_to "w
--tracker_project_name "pix2pix_turbo_fill50k"

Hi,
I think your training results look worse because of two things: precision="bf16" and batch_size=1.
Could you try making the following changes to your setting:
-make sure you are using the latest version of the training code.
-increase the batch_size to 2
-do not use bf16 mixed precision training
-Gaurav

Thank you for your reply. I will reconfigure and train according to your suggestion. However, I have configured it to always burst the video memory when batch_2 is 2. I would like to inquire about your specific configuration

Thank you for your reply. I will reconfigure and train according to your suggestion, but I have configured it to always burst memory when batch_size set to 2. I would like to inquire about your specific configuration.

@555jion hi, I encountered the same issue. The generated quality is very poor. I set BS=2, but in the validation set, each group of images is very similar, and in the test set, all the images are identical. This confuses me a lot. Have you solved this problem?
Training:

On validation set:

Testing(generation):

@555jion hi, I encountered the same issue. The generated quality is very poor. I set BS=2, but in the validation set, each group of images is very similar, and in the test set, all the images are identical. This confuses me a lot. Have you solved this problem? Training:   On validation set:  Testing(generation):

Hello, it seems that the loss function is converging normally, but it is true that your Fid function is oscillating. Is this related to your text input? I am just guessing that my situation is slightly different from yours.


Strange bug in argoverse environment

Argoverse map files need to be manually downloaded. We will add a Readme file in metadrive/component/map.


Make xmapped functions with no axis resources callable more than once

When no XLA lowering was involved (i.e. when using a purely vectorized
schedule), we used to return f.call_wrapped as the xmapped function.
This obviously didn't end well when someone tried to call it multiple
times, which this patch should fix.

cc @levskaya

cc @levskaya


docblocks and null values

require docblocks for all functions (including protected and private)

Add PHPDoc blocks for all classes, methods, and functions;
http://symfony.com/doc/current/contributing/code/standards.html#documentation

not requiring an @return annotation for functions returning null

Omit the @return tag if the method does not return anything;
http://symfony.com/doc/current/contributing/code/standards.html#documentation

last one is open for discussion as null might be considered anything.
as the first one has the potential to break ci configurations, you might want to tag prior to merge

replaced by https://github.com/djoos/Symfony2-coding-standard/pull/71


Image flickering issue while downloading url from FirebaseStorage and set image using Kingfisher

Check List

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
I'm using Kingfisher to cache images and show them on CollectionView
FirebaseStoreageHandler.shared.getDownloadUrl(forUrl: "urlString") {
                    url, error in

                    if error != nil {
                        print("Error while fetching image-> ", error?.localizedDescription as Any)
                    }
                    cell.imageView.kf.setImage(with: url)
                }

Tried these options too - .keepCurrentImageWhileLoading, .loadDiskFileSynchronously
No luck.
What
Images get flickered when I refetch image data using url and reload collection view
Reproduce

Lunch a images screen
Scroll Collection view
Navigate to other screen
Back to Images screen
Images get flickered after 4-5 seconds when getImageData mehtod get called and collection view get reloaded

Other Comment
Gone through following issues/posts -
https://github.com/onevcat/Kingfisher/issues/1598#issue-784729434
https://github.com/onevcat/Kingfisher/issues/1425#issue-596013100
https://github.com/onevcat/Kingfisher/issues/1377
https://github.com/onevcat/Kingfisher/issues/114
Thanks.

Can you print to see if you are having the same URL and the image was loaded from cache instead of being downloaded again?
FirebaseStoreageHandler.shared.getDownloadUrl(forUrl: "urlString") {
    url, error in

    if error != nil {
        print("Error while fetching image-> ", error?.localizedDescription as Any)
    }
    print("URL: \(url)")
    cell.imageView.kf.setImage(with: url) { result in
        print("Cache type: \(result.value?.cacheType)")
    }
}

@onevcat Thanks for the quick reply!
Here is the output of cacheType
On app launch:
Cache type: disk
Cache type: disk
Cache type: disk
Cache type: disk
Cache type: disk
Cache type: disk
Cache type: disk
Cache type: disk
Cache type: disk
Cache type: disk
On scrolling:
Cache type: memory
Cache type: memory
Cache type: memory
Cache type: memory
Cache type: memory
Cache type: memory
Cache type: memory
Cache type: memory
Cache type: memory
Cache type: memory
Thanks.

Oh,
Thanks for it. It looks good. But in your original post, you mentioned:

get flickered when I refetch image data using url and reload collection view

So I want to know when the refetching happens, where does Kingfisher load these images.. Since from your description, it looks like Kingfisher is not loading these images from memory or disk (if you already have .loadDiskFileSynchronously set, loading from disk won't cause a flickering too.)

Sorry if my original post was misled you.
I tried .keepCurrentImageWhileLoading, .loadDiskFileSynchronously both but still flickers while scrolling. :(
Please go through the following flow to understand image fetching flow

Get URLs array from server to fetch actual image path URLs from Firebase Storage
Call Firebase method while loading collection view data to get image download URL and pass downloaded URL to Kingfisher (https://firebase.google.com/docs/storage/ios/download-files).

Collection View Data set method:
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
            let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "ImageCollectionViewCell", for: indexPath) as! ImageCollectionViewCell

            FirebaseStoreageHandler.shared.getDownloadUrl(forUrl: "urlString") {
                    url, error in

                    if error != nil {
                        print("HomeViewController: Error while fetching image-> ", error?.localizedDescription as Any)
                    }

                    cell.imageView.kf.setImage(with: url, options: [.loadDiskFileSynchronously]) { result in
                        switch result {
                        case .success(let value):
                            print("Cache type: \(value.cacheType)")

                        case.failure(let error):
                            print(error.localizedDescription)

                        }
                    }
                }
            return cell
}

FirebaseHandler Class:
class FirebaseStoreageHandler {

    static let shared = FirebaseStoreageHandler()
    static let storage = Storage.storage()

    func getDownloadUrl(forUrl: String?, result: @escaping(URL?, Error?) -> Void) {

        //Unwrap optional url string
        guard let unWrappedUrl = forUrl else { return result(nil, nil) }

            // Create a storage reference from our storage service
              let storageRef = FirebaseStoreageHandler.storage.reference(forURL: unWrappedUrl)

            // Fetch the download URL
            storageRef.downloadURL { url, error in
                result(url, error)
            }
    }
}

Thanks.

OK. I got your idea.
So basically it means that when a cell is reused, it will keep showing the original image from last time it was set while fetching the URL from firebase, until Kingfisher has a chance to get the URL and finds the cached images.
Or, let me explain it better:
First time showing
Cell returned and shown -> Get URL1 (image is nil now) -> Set image in Kingfisher with URL1 -> Kingfisher download image1 and set it.
When you scroll and reuse the cell
Cell reused and returned (now it is showing image1) -> Get another URL2 (image1 is still showing) -> Set image in Kingfisher with URL2 -> Kingfisher download image2 and set it.
So the "flicking" is not an issue of Kingfisher, but expected during you get the URL2.
For the solution, it really depends on how you want to show the image while fetching URL is happening. If you just want a blank cell, maybe try to override the prepareForReuse method in cell and reset the image to nil:
class Cell: UICollectionViewCell {
    override func prepareForReuse() {
        super.prepareForReuse()
        imageView.image = nil
    }
}

Or try to find a way to cache the URLs as well, so Kingfisher can receive the URL and handle the image loading task without waiting.

Okay! Now I understand what is going on.
Thanks for your time and detailed explanation. 👍
Closing issue.


Notification Inbox

Agreed, tests are necessary this time. If not already done by tomorrow, I'll concern myself with it.

Agreed, tests are necessary this time. If not already done by tomorrow, I'll concern myself with it.
@gruendlich can we work on this together?

Don't merge and don't pull. Currently broken. Last commit (merge) will be reverted.

@bweengener could you maybe try to resolve the merge conflicts? We tried for hours now. Somehow we cannot get the tests to work properly after trying to merge dev into our branch. This might be because there are some strange changes in the gem files in our branch, other changes in our branch don't seem to make any sense either, but we don't know how to deal with this at the moment. Also the schema file seems to be making some trouble? Please send help.

After manually merging diffs from dev into hp/notification-inbox and fixing small issues resulting from the merge, the ci is now green, and this branch will be merged into dev now.

Hey, ich bin vom BA-Team (Stein) und für mich failen lokal 5 Tests, die mit items in Zusammenhang stehen (ich bin mir aber nicht sicher, ob das etwas mit dieser PR zu tun hat):
rspec ./spec/features/items/show_spec.rb[1:1:3] # show item page with multiple screensizes doesn't show borrow button if src=qrcode is not present
rspec ./spec/features/items/show_spec.rb[1:1:4] # show item page with multiple screensizes doesn't show borrow button if src=not-qrcode
rspec ./spec/features/items/show_spec.rb[1:2:3] # show item page with multiple screensizes doesn't show borrow button if src=qrcode is not present
rspec ./spec/features/items/show_spec.rb[1:2:4] # show item page with multiple screensizes doesn't show borrow button if src=not-qrcode
rspec ./spec/features/notifications/destroy_spec.rb:16 # Notification inbox with JS no longer shows a notification when it is dismissed
Die ersten 4 fails scheinen vom item team zu sein. Tritt der Fehler bei euch auch auf?

Moin,
auf dem momentanen Dev-stand kann ich den Fehler leider nicht reproduzieren. Auf welchem Branch/Commit tritt er denn auf?


[SPARK-13498] [SQL] Increment the recordsRead input metric for JDBC data source

What changes were proposed in this pull request?
This patch brings https://github.com/apache/spark/pull/11373 up-to-date and increments the record count for JDBC data source.
Closes #11373.
How was this patch tested?
N/A

Please attribute the patch to
Wayne Song<EMAIL_ADDRESS>

Test build #60610 has started for PR 13694 at commit 060968e.

Test build #60610 has finished for PR 13694 at commit 060968e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60610/
Test PASSed.

Merged build finished. Test PASSed.

Merging in master/2.0.


No me deja crear mi cuenta el botón entregar no funciona, ayudenme

Describe the Bug
To Reproduce
Expected Behavior
Screenshots
Device and Browser Information
Chrome. Motorola Moto G Stylus 2020. Android 11

Chrome on Android does not support Web3. So you will have to install an app that has a built-in Web3 browser.
Here are some apps you could try:

MetaMask
MyEtherWallet
Status

@alcercu This issue can be closed.


[WIP] Time Entry list action is executed twice

📒 Description
Our current implementation in Library cause the TimeEntry reloads twice for every following actions:

App Start
Load More button

Additionally, there is the unexpected jump when launching the app. See GIF at (https://github.com/toggl/toggldesktop/issues/2667)
🕶 Types of changes
Bug fix (non-breaking change which fixes an issue)
🤯 List of changes

[x] Don't reload Time Entry List when setUser
[x] Render Time Entry List once when clicking on LoadMore
[x] Load last 9 days from database
[ ] Able to "Load More" => I got the error as a SQL Constraints
[ ] Double check on Windows and Linux

Current Problem
By adding https://github.com/toggl/toggldesktop/commit/73f6dcddcc4d2d1bda7957a1930e2979cb7cd088 commit, the app doesn't appear all of list anymore 💯. However, the app is no longer able to do "Load More"

I tried couple solution, but no one of them work without impacting to other part. @IndrekV Do you have any suggestion on that?
👫 Relationships
Close #2667
🔎 Review hints

Double check that only 1 TimeEntryReload action when doing two actions: Launch app and LoadMore
No more "Jump" when launching the app

GIF
Update new GIF to demonstrate the "Jump"

I've rebased to clean up some Revert commits and get the latest from master. Please make sure we get the last one from Origin.
Update from the last time

[x] The jump is gone by filtering last 9 days at the first launch in  https://github.com/toggl/toggldesktop/pull/2977/commits/69bc9d0841505a068df8c6d3339da5ee06b3eda9. This approach is more reasonable since we don't change data directly from SQL Statement in database, which leads to some unexpected SQL Constraint Errors.
Worked on Linux
~Work on Window~ => I couldn;t test it after rebasing, because of mis-configuration in Windows versions. It happened on master too (See the Screenshot)

Windows issue

Updated: This issue wasn't specifically for Windows, it could happen in all platform if the Format of Hex Color isn't correct.
After clearing the cache and logout, I'm able to run it as usual.  Therefore, this tickets are working as we expect 👍

Looks good to me!


python312Packages.botocore: 1.34.131 -> 1.35.10

Description of changes

https://github.com/boto/boto3/compare/1.34.131...1.35.10
https://github.com/boto/botocore/compare/1.34.131...1.35.10
https://github.com/sethmlarson/truststore/compare/v0.9.1...v0.9.2
https://github.com/aws/aws-cli/compare/1.33.13...1.34.10

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Superseeded by #345657


grpc-client return parameter bug

https://github.com/anz-bank/sysl-go/blob/master/codegen/arrai/grpc.arrai#L8
This arrai transform reads a jsonified sysl file, specifically this kind of structure:
"stmt": [
  {
    "ret": {
      "payload": "ok \u003c: depserver.HelloResponse"
    }
  }
],

This works for a sysl file where the data types are located separately from the endpoints. Kind of like:
depserver:
    !type HelloRequest:
        Content <: string:
    !type HelloResponse:
        Content <: string:

myserverdep[~gRPC
    Hello(input <: depserver.HelloRequest)[~gRPC]:
        return ok <: depserver.HelloResponse

In the situation where they are located together, e.g:
myserverdep[~gRPC
    Hello(input <: HelloRequest)[~gRPC]:
        return ok <: HelloResponse

    !type HelloRequest:
        Content <: string:
    !type HelloResponse:
        Content <: string:

the arrai transform is incorrect due to the linked line (line 8).
The solution is to make the transform read the last word past the final dot (final '.') and use that in the string templating/transform.

The output JSON is working as intended. See https://github.com/anz-bank/sysl/issues/1040#issuecomment-684417202 for details.
The arr.ai transform will have to accommodate it by inferring appname from its containing app.

This is related to https://github.com/anz-bank/sysl-go/issues/215 and https://github.com/anz-bank/sysl/issues/1040, but slightly different since the interpretation of return bodies is up the code generator.


Spurious dangling git lock files

Description
Sorry if this is still on your radar (I've searched the issues but found nothing related).
I've had some issues with some mirrors that fail to sync. By checking the Gitea alerts, I found that some repositories have dangling locks (see screenshot attached).

It seems that the issue arises when git processes terminate abruptly. I wrote a script that cleans those dangling locks, but I wonder if Gitea itself should do it (maybe some cronjob that runs from time to time). If you guys think it would be helpful, I can submit a PR.
P.S. Sorry in advance if Gitea already does that. I tried looking into the source code but found nothing relevant (I'm not an expert on Git's plumbing commands).
P.S. I don't know if this is a particular issue of my environment, still, I feel that eventually, git processes will end unexpectedly.
Gitea Version
1.22.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I run a custom built docker image of gitea based on version 1.22.2
Database
PostgreSQL

Similiar as #22578

Similiar as #22578

@lunny Cool. I'm gonna close this one and use the other :) thanks for the reply


Add an option to set the notification's position on the screen, and a…

…dd a tiny bit more documentation.

This addition makes sense, thanks. Was there a particular reason to call the member variable notif_pos while both thenotify argument and more importantly the constructor argument are called position?

Thanks for the response! I originally wanted to call it "notification_position" but that was a bit long and I would need to change the alignment of all the other arguments to keep it neat :-) But please feel free to suggest (or modify directly) into anything you'd like!

I think I'll prefer just position for consistency (even though it's less clear perhaps). If anything the constructor argument should be at least as or more descriptive than the member variable.

Done, thanks!

Thanks, squash merged.


Document how to run ci scripts locally

Poke @arnaudgelas

@AlexandreBossard @dmerejkowsky Can we move forward with this MR?


Update mailing list info

Date: Thursday, August 22, 2024 at 3:20 AM
Subject: These lists can now be deactivated
To whomever it may concern,

CMIP IPO is providing the secretariat for obs4MIPs. There are now replacement mailing lists lodged with ESMO.
Please can the obs4mips LLNL  lists be deactivated.

If you have access, please could you organise for the text on the pcmdi github to be altered under the Contacts
section.  It would also  be helpful if access to this page could be granted to the WCRP CMIP github account so
that any changes to contact details/lists of steering groups and active participants can be updated by the CMIP
IPO.

[Welcome to obs4MIPs! | Project home (pcmdi.github.io)](https:/pcmdi.github.io/obs4MIPs/)
Please could this be edited to read:
<b>Contacts</b>
Send email to obs4MIPs team<EMAIL_ADDRESS>

Best wishes,
Briony

Ping @CMIP-IPO @gleckler1

Fixed by https://github.com/PCMDI/obs4MIPs/commit/69f90eb66a1bb1d7380e2e9d311816668d05e291


Why doesn't it work for every series on Crunchyroll?

For example,
"livedumper http://www.crunchyroll.com/mushi-uta/episode-1-the-beginning-of-the-dream-567486 best"

doesn't work. It exits with error
Plugin error: Media lookup error: You don't have permission to do this.

although I am able to watch it online without logging in.
Any idea why this is happening? I haven't encountered this problem on any other series on Crunchyroll thus far.
PS: Thanks for this simple and damn useful program, btw. :)

Sorry for the late response. Indeed, livestreamer is the cause of that error. I found that livestreamer gives errors on some other animes as well. Thanks!


File locks flaky on Windows?

I've been working on enabling Windows CI for ord, and I'm getting some strange Database already open. Cannot acquire lock. errors. The code is unmodified between unix and windows, so I'm wondering if the file locking/unlocking code on windows is working correctly. The errors are inconsistent, so the same test might pass or fail with no code changes on different runs.

I'm pretty sure this is a race in your tests. I added some debug logging, ran it on a Windows laptop, and it shows that you're opening "regtest\index.redb" a second time before the first one is closed. I can make a branch with the code, if you need

Oh nice, good find! I'll look into it. Any idea why this would pass on Linux/MacOS but fail on Windows? Maybe there's a difference in semantics between the two platforms.

I can make a branch with the code, if you need

Yah, that'd be great.

Done. See the ord_windows branch

Any idea why this would pass on Linux/MacOS but fail on Windows? Maybe there's a difference in semantics between the two platforms.

Not sure. It looks like your tests maybe spawn background processes though? If so, perhaps you need to do something extra to wait for them to finish on Windows

Ah nice. Ya, for sure!


Enhancement: uploading/harvesting in draft

Whene uploading or harvesting a record, if this does not passes validation it should be possibile to uploaded in draft status. Sometimes harvesting discards many records which could be inserted in draft mode and modified at later time with the edito; in our experience this enhancement could save a lot of time and effort.
Suggestion for this enhancement:

In the upload page a flag should indicate wether to save the document as a draft if not validated
In the external resource registration page a flag should be added (and so in the DB) to specify if record from the remote catalogue should be added in draft when not validated

Any comment/question is appreciated.
Gianni

duplicate with #181.

Closed with #181


fix: add system test to check presence of openssl errors due to missing DISCONNECT packet

Proposed changes

Send MQTT DISCONNECT on local MQTT connections (in normal operation).
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

https://github.com/thin-edge/thin-edge.io/issues/3024

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

First commit is to add the system test which should fail, and the second commit will be to fix the bug.


GA Integration.

Hi
Is there any method to integrate Google Analytics?
Description

Notion Test Page ID

Others have added it before; it's no different than any other react app, though you need to be familiar with code to add it. See https://github.com/transitive-bullshit/nextjs-notion-starter-kit/pull/155


[WIP] xUnit

This is a WIP PR to fix #193. There were several oddities, most notably the fact that xUnit doesn't out of the box handle nested enumerable equality. On the plus side, xUnit is now the preferred unit test framework for .NET Core and it will be very easy getting it to work there. Also, we no longer need a special case handling for AppVeyor (and possible CircleCI).
As there are so many changes, I'd really like a thorough review. If things are good, I think we should then leave it unmerged for a while, as otherwise we would have to adjust our documentation, which we would then have to anyway when we convert to .NET Core.
That would be the next thing I'm working on, converting to .NET Core. I will be doing that based on the code in this PR. Good times coming!

@ErikSchierboom I'd love to look through this but I'm moving tomorrow and I won't have time before then. I'll be back online after my vacation the second weekend of March.
I'm sure that you and @balazsbotond will keep everything up and running while I'm gone, and I'll "see" you soon!

But of course. No problem! When you're back, I hope to have . net core working.

This PR can be closed, as everything in this PR has been merged into #199.


Update Docs with Free Programming Books

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)
How do we know it's really free?
For book lists, is it a book?
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

I don't think this is helpful


pyenv-prefix: support use case to add it to $PATH

I find that PATH="$(pyenv prefix | sed 's/:.*//')/bin:$PATH" is a good way to improve performance, by adding the current / selected version to the path explicitly.
It would be helpful if pyenv-prefix would have an option to help with that, e.g. --suffix /bin, which adds that suffix to each entry (in case you have several python versions enabled).
I could also imagine to have a sh-script (which would be sourced) to help with that, e.g. pyenv set-path --suffix /bin.
What do you think?
Is it too much of a corner-case and against what pyenv tries to itself?
This would be equivalent to the following (zsh) shell script:
for p in ${(s/:/aO)$(pyenv prefix)}; do path=($p/bin $path); done

(splits by : (s/:/) and sorts in reverse (aO)).
A more advanced (zsh) function:
pyenv-prefix-to-path () {
    typeset -a prefixes
    local shim_index
    setopt localoptions rcexpandparam
    prefixes=(${(s/:/)$(pyenv prefix)}/bin)
    shim_index=${path[(i)${PYENV_ROOT}/shims*]}
    if (( $shim_index > $#path ))
    then
        echo "No pyenv shims found in path!" >&2
        return 1
    fi
    path=($path[1,$((shim_index-1))] $prefixes $path[$shim_index,-1])
    echo "Added ${(j~:~)prefixes} to PATH."
}

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11210977-pyenv-prefix-support-use-case-to-add-it-to-path?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

I'm really sorry for delay :disappointed:
Adding --suffix might not be useful for upstream rbenv since they would not need it (only pyenv would need it since it supports multiple versions). I think that this is a kind of corner case. And, I believe it would be better to go for approach like mislav/anyenv if the performance of string manipulation is a matter.

Ok, feel free to close it then.
I am fine with my pyenv-prefix-to-path function, but still think that a helper might be useful.  But I do not have the time currently to add it.

Okay, I'll close this for now. Anyway thanks for your help improving the performance!


text is not iterable

Expected behavior
When a non-string value is set to write API, taiko should fail with a friendly message
Actual behavior
Error: text is not iterable, run.tracefor more info.
Steps to reproduce
write(12345)
write(null)
write(process.env.USER) // undefined

write(12345) seems to be legit. IMO taiko should attempt a toString for objects that have implemented toString and for primitives.
null values should be either a warning or could be treated as semantic equivalent of clear. Thoughts?

I agree to graceful handling.
Do a null check, raise a warning and clear while convert to string for the rest.

@sriv  @zabil
Thanks for looking at the PR and feedbacks.

write(12345) seems to be legit. IMO taiko should attempt a toString for objects

Sounds good!! I can make changes.
When the value is null or undefined why should we raise a warning and clear? Why not, throwback Error to the users?

When the value is null or undefined why should we raise a warning and clear? Why not, throwback Error to the users?

An error means failing the test right? This will force the user to set do a null check if they want to handle it differently. If we handle the null with the warning they could choose to pass it or not.
For example, if field is not mandatory. It's better for the actual application to report an error if that behaviour is wrong.

https://github.com/getgauge/taiko/pull/764

Fix available in commit afdffed50e9836a80407d249aef032ce7bf53a61.

This issue has been verified and found fixed.
Tested version: 9d90e1dde5db09db26721c6ce07828e34cb09e5f


certs for VEN connection to VTN

Hi Stan,
I am trying to experiment with using certs for the open ADR authentication. Any chance I could get some tips?
On a new and different cloud linux hosting site (thank for all of the prior Heroku help btw, I can see now that Heroku probably shouldn't be used for open ADR) I can get my remote open Leadr VEN script to connect with my cloud open leader VTN script, but how can I do this with certs? I think I saw in the project road map that .pem support at some point in time... Is cert authentication between client and server available now?
This works from building to cloud Linux hosted VM VTN:
import asyncio
from datetime import datetime, timezone, timedelta
from openleadr import OpenADRServer, enable_default_logging
from functools import partial

enable_default_logging()

async def on_create_party_registration(registration_info):
    """
    Inspect the registration info and return a ven_id and registration_id.
    """
    if registration_info['ven_name'] == 'ven123':
        ven_id = 'ven_id_123'
        registration_id = 'reg_id_123'
        return ven_id, registration_id
    else:
        return False

async def on_register_report(ven_id, resource_id, measurement, unit, scale,
                             min_sampling_interval, max_sampling_interval):
    """
    Inspect a report offering from the VEN and return a callback and sampling interval for receiving the reports.
    """
    callback = partial(on_update_report, ven_id=ven_id, resource_id=resource_id, measurement=measurement)
    sampling_interval = min_sampling_interval
    return callback, sampling_interval

async def on_update_report(data, ven_id, resource_id, measurement):
    """
    Callback that receives report data from the VEN and handles it.
    """
    for time, value in data:
        print(f"Ven {ven_id} reported {measurement} = {value} at time {time} for resource {resource_id}")

async def event_response_callback(ven_id, event_id, opt_type):
    """
    Callback that receives the response from a VEN to an Event.
    """
    print(f"VEN {ven_id} responded to Event {event_id} with: {opt_type}")

# Create the server object
server = OpenADRServer(vtn_id='myvtn',http_host='<IP_ADDRESS>')

# Add the handler for client (VEN) registrations
server.add_handler('on_create_party_registration', on_create_party_registration)

# Add the handler for report registrations from the VEN
server.add_handler('on_register_report', on_register_report)

# Add a prepared event for a VEN that will be picked up when it polls for new messages.
server.add_event(ven_id='ven_id_123',
                 signal_name='LOAD_CONTROL',
                 signal_type='x-loadControlCapacity',
                 intervals=[{'dtstart': datetime.now(timezone.utc) + timedelta(minutes=5),
                             'duration': timedelta(minutes=60),
                             'signal_payload': 100.0}],
                 callback=event_response_callback)

# Run the server on the asyncio event loop
loop = asyncio.get_event_loop()
loop.create_task(server.run())
loop.run_forever()

On my building side VEN:
import asyncio
from datetime import timedelta
from openleadr import OpenADRClient, enable_default_logging

enable_default_logging()

async def collect_report_value():
    # This callback is called when you need to collect a value for your Report
    return 1.23

async def handle_event(event):
    # This callback receives an Event dict.
    # You should include code here that sends control signals to your resources.
    print(event)
    return 'optIn'

# Create the client object
client = OpenADRClient(ven_name='ven123',
                         ven_id='ven123',
                       vtn_url='http://<IP_ADDRESS>:8080/OpenADR2/Simple/2.0b')

# Add the report capability to the client
client.add_report(callback=collect_report_value,
                  resource_id='device001',
                  measurement='voltage',
                  sampling_rate=timedelta(seconds=10))

# Add event handling capability to the client
client.add_handler('on_event', handle_event)

# Run the client in the Python AsyncIO Event Loop
loop = asyncio.get_event_loop()
loop.create_task(client.run())
loop.run_forever()

I am also working in Python 3.9.5 with the virtual environments as recommended in the docs git cloning the repo. I also notice in the repo that there is example certs (dummy) in a directory too as well as a generate_certificates.sh which ill have to figure out how to use in time.
So any chance for a few tips related too how to change my VEN & VTN scripts to handle certs for authentication greatly appreciated.
Would there be any chance can you help me understand the VEN & VTN open leader API's on what I would all need to pass through to class openleadr.client.OpenADRClient and class openleadr.server.OpenADRServer for how open ADR specifies using certs?
For some reason I dont understand where the fingerprint comes into play between the client/server. Any time you have in response greatly appreciated...

updated question about certs for open leadr open ADR authentification

Authentication using certificates is definitely supported in the current version of OpenLEADR.
A short explanation of what certificates do in OpenADR is in our documentation here. Certificates allow parties to authenticate, meaning: to prove that they are who they say they are. For this to work, a few things must happen:

The VTN must be configured to present a certificate to any connecting VEN to prove the authenticity of the VTN.
Each time the VEN connects to the VTN (during Registration or Poll, for example), the VTN will present its certificate through the TLS handshake. The VEN can read the certificate that says: I'm VTN blabla. But how does in know that this is the correct certificate? From the certificate, a short string called a "fingerprint" can be calculated. Only the correct certificate will generate that specific fingerprint. The VTN publishes its fingerprint on its website, or uses some other mechanism to deliver its fingerprint to the VEN.
So, in the VEN, you enter the vtn_fingerprint parameter when starting; on every connection, the VEN will read the VTN's presented certificate, calculate the fingerprint, and compare it to the one that you configured as the vtn_fingerprint parameter. If it matches, it can be sure that its talking to the correct VTN.
In the message from the VEN to the VTN, the VEN will include its own certificate. The VTN will read that certificate, calculate the fingerprint from it, and compare it to the VEN's fingerprint that it has on file. That's what the ven_lookup function in the VTN's constructor does. Please see this part of the server docs.

Well cool I think I got this working with certificates now between VEN & VTN. This is just an experiment I have running on a test bench. I ran the generate_certificates.sh on the VTN side and just copied the key.pem & cert.pem to my VEN device certs directory.
Starting the VEN script:
********************************************************************************
                      Your VEN Certificate Fingerprint is
                         B7:63:B8:99:7B:9F:74:7F:9B:89
                  Please deliver this fingerprint to the VTN.
                     You do not need to keep this a secret.
********************************************************************************

I'm still a little bit confused on how to incorporate this Please deliver this fingerprint to the VTN. Is this something I need to do on my VTN script?
VEN script:
# Create the client object
client = OpenADRClient(ven_name='ven123',
                         ven_id='ven123',
                       vtn_url='http://<IP_ADDRESS>:8080/OpenADR2/Simple/2.0b',
                         cert='./certificates/certs/cert.pem',
                         key='./certificates/certs/key.pem',
                         passphrase='AmazingSecret!')

VTN script:
# Create the server object
server = OpenADRServer(vtn_id='myvtn',
                       http_host='<IP_ADDRESS>',
                       cert='./certificates/certs/cert.pem',
                       key='./certificates/certs/key.pem',
                       passphrase='AmazingSecret!')


Question: How to flow changes through MutableObservableArray2D?

I currently have the following data structure:
╔══════════════════╗
║    Collection    ║
║  (not an Array)  ║
╚══════════════════╝
          │     ┌────────────────┐
          ├────▶│ Parent Object  │
          │     └────────────────┘
          │              │     ┌──────────────────┐
          │              │     │    Collection    │
          │              └────▶│  (not an Array)  │
          │                    └──────────────────┘
          │                              │
          │                              │     ┌────────────────┐
          │                              ├────▶│  Child Object  │
          │                              │     └────────────────┘
          │                              │     ┌────────────────┐
          │                              ├────▶│  Child Object  │
          │                              │     └────────────────┘
          │                              │     ┌────────────────┐
          │                              ├────▶│  Child Object  │
          │                              ┆     └────────────────┘
          │                              ┆
          │                              ┆
          │                              ┆
          │                              ┆
          │                              ┆
          │     ┌────────────────┐
          ├────▶│ Parent Object  │
          ┆     └────────────────┘
          ┆
          ┆
          ┆

Which logically fits Array2D, however I'm finding that I need to manually push changes through to the underlying data structure, rather than just using the methods on MutableObservableArray2D to affect changes.
This is interfering with NSOutlineView animations, and obviously results in a lot of repeated logic.
Do you have any suggestions, @srdanrasic?

Oh dear, I'm going to have to make TreeArray and friends TreeCollection, aren't I?

Hey @tonyarnold, what did you exactly mean by "need to manually push changes through to the underlying data structure, rather than just using the methods on MutableObservableArray2D to affect changes." Could you post an example?

I'm trying hard to think of a good example - my tree structure is like above, but the Not Array Collections are structured like so:
┌──────────────────┐
│   MaterialList   │
└──────────────────┘
          │
          │     ┌────────────────┐
          ├────▶│    Material    │
          │     └────────────────┘
          │              │     ┌──────────────────┐
          │              └────▶│MaterialLayerList │
          │                    └──────────────────┘
          │                              │
          │                              │
          │                              │     ┌────────────────┐
          │                              ├────▶│ MaterialLayer  │
          │                              │     └────────────────┘
          │                              │     ┌────────────────┐
          │                              ├────▶│ MaterialLayer  │
          │                              │     └────────────────┘
          │                              │     ┌────────────────┐
          │                              ┆────▶│ MaterialLayer  │
          │                              ┆     └────────────────┘
          │                              ┆
          │                              ┆
          │                              ┆
          │                              ┆
          │                              │
          │     ┌────────────────┐
          ┆────▶│    Material    │
          ┆     └────────────────┘
          ┆
          ┆
          ┆

The issue is that I can't find a way to map that structure into compatible protocols so I can use it with Array2D directly - I need to map it into a new structure, which means any changes I make to those "List" items only affect the mapped structure, not my original data.
Does that make sense?

Looks like I forgot to answer this. Is it still relevant @tonyarnold?

No, this is fine now mate - I ended up using the data binder to pass on events to the underlying lists 👍


Why mouseenter delegate event handler is not firing? (but works with jquery)

Hi,
Why this isn't working? If I switch to jquery it will work though.

In case the pen has issues:

a

b

c

`

It looks like a bug 🤔

same issue, 'mouseenter' not working 😢

@fabiospampinato @m-ahmadi
It's working:

Mouseenter: https://jsfiddle.net/hp8ezfg0/
Mouseover: https://jsfiddle.net/drsq4jLg/

https://developer.mozilla.org/en-US/docs/Web/API/Element/mouseenter_event

Somehow it's not working in CodePen, but it works when I copy it into a test.html file.

test.html

a

b

c

@TryHardDood  At first I thought your version works because it's using v7.0.3 but it even works with v7.0.1 which was used in the first post of this issue,  so I guess something must be wrong with CodePen.

@m-ahmadi I tried it on codepen and my versions are working.
Mouseenter: https://codepen.io/TryHardDood/pen/qBbORda
Mouseover: https://codepen.io/TryHardDood/pen/jOWbyPd
This will not work for some reason (it's not working on jsfiddle too):
$('ul').on('mouseenter','li', function () {
  alert('fired');
})

Probably because you need to use mouseover instead of mouseenter

This will not work for some reason (it's not working on jsfiddle too):

Well then the issue is still there.
Because when you do $('ul li').on('mouseenter', ...), that's not a delegated event (you're adding a listener to every
) and there was no problem or issue with that in the first place.
The issue is when you do $('ul').on('mouseenter', 'li', ...) and not on mouseever (which works fine)  but on mouseenter.
The reason I made this issue is that this works in jquery so using mouseover instead might be a quick fix, but I don't that's the answer here.

@m-ahmadi Yeah you're right.
mouseover can be a quick workaround in this case however the problem exists with mouseleave too.
After a quick research I found this in jquery's source code, it seems like jquery use the mouseover/out events to make delegation work:
https://github.com/jquery/jquery/blob/3d62d5704989f17d3a20ae7521d52e9c8c60b4ee/src/event.js#L777

Fixed in v8! What an absolute mess of a bug, imagine my face when saw this: https://github.com/fabiospampinato/cash/commit/a66b43ed058edf31fcc4dfcc1f0fdf7a15dfb47a#diff-07b7d1177cdf432e3402964df5c32d69L111


Image is not loaded with Picasso.

Hi,
I have checked your app it's working properly when image load from drawable or assign directly, but it's not working when I have used Picasso for a loading image.
ScaleImageView imgPhotoView = (ScaleImageView) findViewById(R.id.activity_photo_view_img);
Picasso.with(this).load(photoURL).fit().centerInside().into(imgPhotoView);

Hi,
I've experienced the same issue. you can get the image loaded even when you are using Picasso, if you specify scaleImageView.setScaleType(ImageView.ScaleType.CENTER); but this disables the zooming functionality.  Has anybody found any solution for this?

I am also facing the same issue, not working when I have used Picasso for a loading image.

I am also facing the same issue, not working when I have choose the image from the gallery and it's not working when i choose the image from Explorer also.
please hemp me to solve this ..
thanks..

Assuming your image view is called mImageView, the following code should help you:
//Target should be imported from the Picasso Library
private  Target target;
target = new Target() {
@Override
public void onBitmapLoaded(Bitmap bitmap, Picasso.LoadedFrom from) {
mImageView.setImageBitmap(bitmap);
}
@Override
public void onBitmapFailed(Drawable errorDrawable) {
}
@Override
public void onPrepareLoad(Drawable placeHolderDrawable) {
}
};
Picasso.with(getContext())
.load(url)
.into(target);


Add moja global as an interested organization

Add moja global as an interested organization

@googlebot I signed it!


No metrics on Raspberry Pi OS 64bit

Describe the bug
Memory metrics not showing for Pi 4 nodes on Raspberry Pi OS 64bit. They're showing just fine for an intel NUC with Ubuntu 20.04 LTS.
I can see metrics from node-exporter within grafana, and even lens can see them in the node details.
To Reproduce
Steps to reproduce the behavior:

Install prometheus-community's kube-prometheus-stack
Click on 'Nodes'
See error

Expected behavior
Memory should be present for all nodes.
Screenshots

Environment (please complete the following information):

Lens Version: 5.4.3-latest.20220317.1
OS: Windows 10
Installation method (e.g. snap or AppImage in Linux): Windows installer

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
info:    Γû¬ ≡ƒôƒ Setting Lens as protocol client for lens:// +0ms
info:    Γû¬ ≡ƒôƒ Protocol client register succeeded Γ£à +3ms
info:    Γû¬ [EXTENSIONS-STORE]: LOADING from  ... +12ms
info:    Γû¬ [EXTENSIONS-STORE]: LOADED from C:\Users\Giorgio\AppData\Roaming\Lens\lens-extensions.json +21ms
info:    Γû¬ [FILESYSTEM-PROVISIONER-STORE]: LOADING from  ... +5ms
info:    Γû¬ [FILESYSTEM-PROVISIONER-STORE]: LOADED from C:\Users\Giorgio\AppData\Roaming\Lens\lens-filesystem-provisioner-store.json +3ms

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: [redacted]
    server: https://<IP_ADDRESS>:6443
  name: default
contexts:
- context:
    cluster: default
    user: default
  name: default
current-context: default
kind: Config
preferences: {}
users:
- name: default
  user:
    client-certificate-data: [redacted]
    client-key-data: [redacted]

Additional context
No errors in developer tools console

Nevermind, after upgrading k3s to 1.23.4 it works. Not sure what was the problem, but whatever


Window 10 部署后Sysprep阶段没有画面

有2块硬盘都使用（EFI+GPT），第1块硬盘已安装win10 1709 x64。
在1硬盘系统中使用dism++向第2块硬盘释放wim(安装过更新)，释放选项都是默认的。
开机后进入Sysprep阶段能听到“小娜”的声音，看不到画面。

使用系统自带dism释放wim无此现象。

使用讲述人配置成功后可以进入系统。

感谢 反馈~
话说 释放的WIM 是否是同一个？也就是Dism++释放的WIM跟Dism释放的WIM文件是否是同一个？

今天我又装了一便，发现不是软件的问题-_-!。是因为我有一块硬盘是ssd，释放到ssd上的系统就会没有画面。释放到机械硬盘上的系统就没有问题。

There is no screen in Sysprep stage after Window 10 deployment

There are two hard drives (EFI + GPT), the first one has win10 1709 x64 installed.

In a hard disk system, using Dism++ released to the second hard disk Wim (installed updated), the release options are the default.

After boot into the Sysprep stage can hear "Xiaona" sound, do not see the picture.

Use the system comes with dism release wim no such phenomenon.

After using the Narrator configured successfully enter the system.

Today, I installed again and found that the problem is not software -_- !. Because I have a hard drive is SSD, released to SSD on the system there will be no picture. There is no problem with the system that is released to the mechanical hard disk.

谢谢，最后发现问题就好。怪不得问题怎么那么诡异。
感谢支持


DNS resolution fail on Kubernetes

Hello folks, with my team we are trying to use AMPHP to execute a series of concurrency tasks.
Specifically, each task deals with:

reading values from a redis cache
if the values are not in the cache, executes one or more requests to APIs provided by our partners
records the values in the cache

To do this, we installed amphp/amp (^3.0), amphp/http-client (^5.1), amphp/redis (^2.0), league/uri (7.4.1) as dependency. Our project is based on Symfony and run PHP 8.1 We build our Amp\Futures and execute them with Amp\Future\awaitAll().
Locally we use docker-compose to execute our docker images and everything works as we expect.
In the test and production environment we use K8S with the same docker images used locally. Running the tests, however, we get an error when running requests, specifically when amp/dns tries to resolve the DNS, this is regardless of the configured uri. The error we get is as follows:
Connection to 'host.api.com:443' failed
Amp\Socket\ConnectException: Connection to tcp://host.api.com:443 failed after 3 attempts; previous attempts: DNS resolution for host.api.com failed: Name resolution failed for 'host.api.com.svc.cluster.local'; server returned error code: 3 (NXDomain), DNS resolution for host.api.com failed: Name resolution failed for 'host.api.com.svc.cluster.local'; server returned error code: 3 (NXDomain) in vendor/amphp/socket/src/RetrySocketConnector.php:50
These are systems outside of our network. The requests we want to execute are constructed quite simply:
        $request = new Request(
            'https://host.api.com/example',
            'POST',
            {'foo' : 'bar'},
        );

Reading the .svc.cluster.local it appears to be trying to resolve DNS internally within our K8S cluster. We also tried to configure the URI as https://host.api.com. (see the dot at the end) to avoid DNS resolution as reported in https://mrkaran.dev/posts/ndots-kubernetes/ . But then we encounter some certificate validation problems:
Amp\Socket\TlsException: TLS negotiation failed: stream_socket_enable_crypto(): Peer certificate CN=`host.api.com' did not match expected CN=`host.api.com.'

We then performed a further test, creating a script that would simply run Amp\Dns\resolve() on the uri we were interested in. By simply running this function in K8S env, the DNS are resolved correctly. We think it's somenthing between \Amp\Http\Client\Connection\DefaultConnectionFactory and \Amp\Dns\Rfc1035StubDnsResolver::resolve to cause the error but cannot undestand what it is.
Do you have any suggestions as to whether we are doing it wrong or there is some problem with the resolution of the DNS under K8S?
We have already read https://github.com/amphp/dns/issues/99 without success

Please have a look at your ndots configuration. From the looks of the error message you posted, it appears that the resolver is attempting to look up names prepended with other search names, and running out of attempts.
https://www.reddit.com/r/kubernetes/comments/duj86x/comment/f76k3hc/
Perhaps we're not handling ndots > 1 correctly and changes should be made here.


[Event Request] Codeunit 22 Item Jnl.-Post Line - procedure CheckItem - OnCheckItemOnAfterItemTestField

Please add the following existing Event OnCheckItemOnAfterItemTestField to procedure CheckItem in Codeunit 22 Item Jnl.-Post Line
[Event Request] Codeunit 22 Item Jnl.-Post Line - procedure CheckItem
begin
    if GetItem(ItemNo, false) then begin
        if not CalledFromAdjustment then
            Item.TestField(Blocked, false);

        OnCheckItemOnAfterItemTestField(Item, ItemJnlLine, CalledFromAdjustment); // <-- NEW EVENT

    end else
        Item.Init();
end;

[IntegrationEvent(false,false)]
local procedure OnCheckItemOnAfterItemTestField(Item: Record Item; ItemJnlLine: Record "Item Journal Line"; CalledFromAdjustment: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52098.


[docs-only] Explain tus upload metadata for client implementations

Description
Explain tus upload metadata
I checked current behavior in the pre-release versions of:

web 8.0.0
iOS 12.1
desktop 6.0.0

Motivation and Context
This helps to align x-platform client implementations.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

@JammingBen anything to add for the web?

@TheOneRing made name/filename and type/filetype an alias for now in my commit https://github.com/owncloud/ocis/pull/7882/commits/56422ceaaf4529321d959ef361994939072b2dd0 . Works for you?


Add wasmtime_linker_allow_unknown_exports to C API

The C API for using the wasmtime linker currently only gives access to the allow_shadowing setting of the linker, but not to the allow_unknown_exports setting. However, the latter setting needs to be enabled in order to allow exporting the global __stack_pointer. This is what's causing the issue described in wasmfx/waeio#2.
(Alternatively, we may add __stack_pointer to the list of blessed globals in the command function in crates/wasmtime/src/runtime/linker.rs, but the comments there suggest that new items shouldn't be added to that list. Therefore, just making this setting accessible in the C API seems less controversial.)

I guess the linker API doesn't readily allow to bless a certain name?

No, it's a hardcoded list in the command function in the file I mentioned earlier.


Add capability of compiler to parse beam args with list values

Allowing the compiler to parse beam args with list values would allow multiple --experiments flags being used. This is related to issue https://github.com/sky-uk/disco-mlops-deployments/issues/516

@adriangay @jmendesky


Remove licence

Includes removal of licence preamble in source files and the LICENCE definition file.
Note. We retain copyright inherently. See https://www.gov.uk/copyright
So regardless of the statement copyright (c) 2019 bob and dave, the authors Bob and Dave would retain copyright. The Apache licence we used included the copyright statement in the source preamble and in removing it, we haven't lost that right. Copyright is legally unrelated to licensing (terms).

Cool. I checked out the Berne Convention too and lots of countries are party to it.
Without the license would it be clear to people whether they can reuse and modify the work (without attribution)?

Not sure. No? We need to make it clear but this isn’t just about attribution.
The more I think about it, the more we need a license imo. CC-BY-SA OR CC-BY to protect us as much as attribution. I think this is non negotiable as the OSS community would attest to (having given birth to these types of licenses).
If any employer has an issue with this, it’s going to be blocker in my view. So glad we’re looking at options and #7 is reopened. This PR is half the story as Apache was prob inappropriate or at least a unilateral decision on my part and we should get consensus about what to do next.

Yeah, I was mentioning attribution as I was imagining your average Joe looking at it, and wondering whether they could reuse it, and if so whether they'd have to attribute. Without a license they may not know, so may make honest mistakes.
Clearly we want to cover ourselves for dishonest usage too, and also cover ourselves against warranty, etc, so I agree we need to land on one.
I think for this kind of material, share-alike is legit, no? Or do we want to allow people to build on it and redistribute for profit?

I feel like CC is the best choice then just agree on how restrictive.
I like the hardline approach or not allowing anyone to profit commercially for it (including ourselves).

Does CC achieve that? CC-BY-SA permits commercial use.

I'm cancelling this PR as after discussion, there doesn't seem to be a reason to remove the Apache license


Failed to run example-kernels

I run in an issue by the attempt to run example-kernels and hope to find help this way.
The cli cargo bootimage --target x86_64-bootimage-example-kernels.json finished successfully, but cargo xrun failed
✔ ~/git/github/rust-osdev/bootimage/example-kernels [master|✔]
14:47 $ git log --oneline -n1
d590098 (HEAD -> master, origin/master, origin/HEAD) CI: Use choco to install QEMU 6.0.0
✔ ~/git/github/rust-osdev/bootimage/example-kernels [master|✔]
14:47 $ cargo xrun --target x86_64-bootimage-example-kernels.json
WARNING: There is no root package to read the cargo-xbuild config from.
   Compiling core v0.0.0 (/home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling compiler_builtins v0.1.49
   Compiling rustc-std-workspace-core v1.99.0 (/home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error[E0465]: multiple rmeta candidates for `core` found
 --> /home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
  |
4 | pub use core::*;
  |         ^^^^
  |
note: candidate #1: /tmp/cargo-xbuild0mSUnk/target/x86_64-bootimage-example-kernels/release/deps/libcore-8386ca77507e6ddc.rmeta
 --> /home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
  |
4 | pub use core::*;
  |         ^^^^
note: candidate #2: /tmp/cargo-xbuild0mSUnk/target/x86_64-bootimage-example-kernels/release/deps/libcore-cb62582e916e4b2a.rmeta
 --> /home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
  |
4 | pub use core::*;
  |         ^^^^

error: could not compile `rustc-std-workspace-core` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
error: `"/home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "rustc" "-p" "alloc" "--release" "--manifest-path" "/tmp/cargo-xbuild0mSUnk/Cargo.toml" "--target" "x86_64-bootimage-example-kernels.json" "--" "-Z" "force-unstable-if-unmarked"` failed with exit code: Some(101)

Going to close the issue. Solved it by purging ~/.cargo directory and repeating the build procedure again.

Going to reopen the issue because it's unresolved.

Update of the crate x86_64 and removing of build-std solved the issue.
21:03 $ git diff .cargo/ basic/
diff --git a/example-kernels/.cargo/config.toml b/example-kernels/.cargo/config.toml
index 92cee48..37efe54 100644
--- a/example-kernels/.cargo/config.toml
+++ b/example-kernels/.cargo/config.toml
@@ -1,2 +1,2 @@
 [unstable]
-build-std = ["core", "compiler_builtins"]
+build-std-features = ["compiler-builtins-mem"]
diff --git a/example-kernels/basic/Cargo.toml b/example-kernels/basic/Cargo.toml
index 5a9a509..0beaadf 100644
--- a/example-kernels/basic/Cargo.toml
+++ b/example-kernels/basic/Cargo.toml
@@ -6,4 +6,4 @@ edition = "2018"

 [dependencies]
 bootloader = "0.9.7"
-x86_64 = "0.14.1"
+x86_64 = "0.14.6"
21:02 $ cargo xbuild --target  x86_64-bootimage-example-kernels.json
WARNING: There is no root package to read the cargo-xbuild config from.
   Compiling core v0.0.0 (/home/apastuchov/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling compiler_builtins v0.1.49
   Compiling rustc-std-workspace-core v1.99.0 (/home/apastuchov/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
   Compiling alloc v0.0.0 (/tmp/cargo-xbuildfkpbyO)
    Finished release [optimized] target(s) in 13.45s
   Compiling bootloader v0.9.19
   Compiling x86_64 v0.14.6
   Compiling bit_field v0.10.1
   Compiling volatile v0.4.4
   Compiling bitflags v1.3.2
   Compiling rlibc v1.0.0
   Compiling runner-test v0.1.0 (/home/apastuchov/git/github/rust-osdev/bootimage/example-kernels/runner-test)
   Compiling runner-doctest v0.1.0 (/home/apastuchov/git/github/rust-osdev/bootimage/example-kernels/runner-doctest)
   Compiling runner-fail-reboot v0.1.0 (/home/apastuchov/git/github/rust-osdev/bootimage/example-kernels/runner-fail-reboot)
   Compiling basic v0.1.0 (/home/apastuchov/git/github/rust-osdev/bootimage/example-kernels/basic)
   Compiling runner v0.1.0 (/home/apastuchov/git/github/rust-osdev/bootimage/example-kernels/runner)
    Finished dev [unoptimized + debuginfo] target(s) in 2.08s

There is a thread regarding core and compiler_builtins in build-std
https://github.com/rust-lang/wg-cargo-std-aware/issues/53


[improvement]Use phmap for aggregation with integer keys

Proposed changes
Issue Number: close #xxx
Problem Summary:
After some testing on clickbench, it was proved phmap has a performance improvement for aggregation with numeric key.
clickhouse bench q16: 4.38s--->3.81s; q33: 37s--->27s
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Can string type in serialized key can use this optimization?


Keep screen on during GPX-import or "Store for Offline"

There have been some issue about vanishing of progress dialogs while importing or downloading caches (like #292)
Some occurrence of this is related to screen timeout.
Just today I had to import some GPX-files and I have seen, that in this case the import is paused if the screen times out and only continued after activating again. For this the progress dialog does not vanish at least.
Proposal:
For me it would make sense to keep the screen on during these operations, as the user expects that the operation is finished without pausing and also may want to see the progress. Secondly this could avoid any "vanishing" problems of the progress window if there are any of them left.

Are img src="" also downloaded when loading from GPX?

@jeancaffou: Do you mean images referenced in cache descriptions that are part of a GPX file? They are not imported. GPX import does not contact GC.com.

Well, any image can be referenced via  tag in cache description HTML. When storing a cache in c:geo I think those images get saved, but from a GPX import they get downloaded when you open the cache in c:geo


EXC_BAD_ACCESS KERN_INVALID_ADDRESS for user updated from old schema to new sechama

This morning i have release a new version to app store and every existing users who updated to the latest version facing this crash.
Information:
Xcode: 7.3
Realm: 0.96.2
Previous schema version: 16.
I have included the migration block as below.
 RLMRealmConfiguration *config = [RLMRealmConfiguration defaultConfiguration];
    config.schemaVersion = 17;
    config.migrationBlock = ^(RLMMigration *migration, uint64_t oldSchemaVersion) {
        if (oldSchemaVersion < 17) {
//            self.isDatabaseVersionChanged = YES;
        }

Below is the Crashlytics report.
> Thread : Crashed: com.apple.main-thread
> 0  libobjc.A.dylib                0x1800b9bdc objc_msgSend + 28
> 1  Register                       0x1002b3960 -[RLMSchema setObjectSchema:] (RLMSchema.mm:100)
> 2  Register                       0x1002b41b0 +[RLMSchema dynamicSchemaFromRealm:] (RLMSchema.mm:210)
> 3  Register                       0x100247478 -[RLMMigration initWithRealm:key:error:] (RLMMigration.mm:62)
> 4  Register                       0x1002a7d9c __31-[RLMRealm migrationBlock:key:]_block_invoke (RLMRealm.mm:465)
> 5  Register                       0x100252ad0 std::__1::__function::__func<RLMUpdateRealmToSchemaVersion::$_0, std::__1::allocator<RLMUpdateRealmToSchemaVersion::$_0>, void (realm::Group*, std::__1::vector<realm::ObjectSchema, std::__1::allocator<realm::ObjectSchema> >&)>::operator()(realm::Group*&&, std::__1::vector<realm::ObjectSchema, std::__1::allocator<realm::ObjectSchema> >&) (RLMObjectStore.mm:164)
> 6  Register                       0x100232310 std::__1::function<void (realm::Group*, std::__1::vector<realm::ObjectSchema, std::__1::allocator<realm::ObjectSchema> >&)>::operator()(realm::Group*, std::__1::vector<realm::ObjectSchema, std::__1::allocator<realm::ObjectSchema> >&) const (functional:1817)
> 7  Register                       0x10022ecd4 realm::ObjectStore::update_realm_with_schema(realm::Group*, unsigned long long, std::__1::vector<realm::ObjectSchema, std::__1::allocator<realm::ObjectSchema> >&, std::__1::function<void (realm::Group*, std::__1::vector<realm::ObjectSchema, std::__1::allocator<realm::ObjectSchema> >&)>) (object_store.cpp:372)
> 8  Register                       0x10024fdc8 RLMUpdateRealmToSchemaVersion (RLMObjectStore.mm:161)
> 9  Register                       0x1002a7754 +[RLMRealm realmWithConfiguration:error:] (RLMRealm.mm:431)
> 10 Register                       0x1002a6d38 +[RLMRealm defaultRealm] (RLMRealm.mm:306)
> 11 Register                       0x100248b4c +[RLMObject objectsWithPredicate:] (RLMObject.mm:127)
> 12 Register                       0x100248908 +[RLMObject objectsWhere:args:] (RLMObject.mm:113)
> 13 Register                       0x100248884 +[RLMObject objectsWhere:] (RLMObject.mm:109)
> 14 Register                       0x1000fc8e8 -[OFModelManager(Store) fetchAllStoresInContextThatBelongsToUser] (OFModelManager+Store.m:118)
> 15 Register                       0x10010bc00 -[OFAppDelegate getRequest] (OFAppDelegate.m:162)
> 16 Register                       0x10010d620 -[OFAppDelegate startFetch] (OFAppDelegate.m:430)
> 17 Register                       0x10010c8bc -[OFAppDelegate application:didFinishLaunchingWithOptions:] (OFAppDelegate.m:290)
> 18 UIKit                          0x1857a1704 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 400
> 19 UIKit                          0x1859d0130 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2904
> 20 UIKit                          0x1859d44b8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1672
> 21 UIKit                          0x1859d15c0 -[UIApplication workspaceDidEndTransaction:] + 168
> 22 FrontBoardServices             0x181fef790 -[FBSSerialQueue _performNext] + 184
> 23 FrontBoardServices             0x181fefb10 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
> 24 CoreFoundation                 0x1809f0efc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
> 25 CoreFoundation                 0x1809f0990 __CFRunLoopDoSources0 + 540
> 26 CoreFoundation                 0x1809ee690 __CFRunLoopRun + 724
> 27 CoreFoundation                 0x18091d680 CFRunLoopRunSpecific + 384
> 28 UIKit                          0x18579a580 -[UIApplication _run] + 460
> 29 UIKit                          0x185794d90 UIApplicationMain + 204
> 30 Register                       0x10013ce00 main (main.m:17)
> 31 libdispatch.dylib              0x1804be8b8 (Missing)

Does it has any issue regarding using the latest Xcode 7.3 to build and submit? Previously doesn't have these crashes. User need to delete app and reinstall to solve this issue.

UPDATE:

This crash only happens on production build. I have tested via submit a build with Xcode 7.3 to test flight.
I have downgraded to Xcode 7.2.1 and submitted another build to test flight and it doesn't crash.

Above are what i found and tested. Feels like it is a issue in Xcode 7.3.

@kokhong20
The crash on update the new scheme.
Invoked Realm API
RLMObjectSchema.mm

(realm::Table *)table
_table = ObjectStore::table_for_object_type(_realm.group, _className.UTF8String

My solution:
get the table object before check the type of _className
if ([_className isKindOfClass:[NSString class]]) {
_table = ObjectStore::table_for_object_type(_realm.group, _className.UTF8String);
}
It's not the best solution , Waiting for the best answer.

Have you considered trying the most recent version of Realm to check whether the crash still occurs for you? Another user reported seeing the same sort of crash in #3398. Updating from v0.96.x to the most recent release addressed the crash for them.

@zhangzhang86 just asking, did you mark this key as Yes in Xcode 7.3?

Like kokhong92 said, I have same issue that didn't happen before when migration occurred. Due to app sizing issue, I still use 0.95.0. If this is Xcode 7.3 related issue, then I most likely need to downgrade to 7.2.1..

@bdash This issue solved by updating to the latest version 0.98.6. Just curious what is causing this issue and is only on production release.

@luohui8891
No.
Just asking, Are you from China ?

@zhangzhang86 yep.

Make sure to set Weak References in Manual Retain Release to YES in your Xcode project's configuration, and if you're still seeing this crash, we'll reopen this issue.

Had the same issues on production, this came up as an unpleasant surprise. How can I test so it doesn't work with new updated Realm?
I was specifically testing migration via test flight and it worked fine, but on production it dies.


Akord + React/Vite 504 Error

Hi all,
Have any of you encountered the same 504 error when attemting to use Akord-JS ("^3.8.4") in a Vite ("^4.3.9") project? If yes, have you found any solution on how to solve it? It may not be a problem related to Akord-JS but rather VIte however this error renders the use of the Akord-JS package useless for those working in React/Vite.
Kind regards,
Patrick
Merely adding import { Akord } from "@akord/akord-js" in component causes error in console: GET http://localhost:5174/node_modules/.vite/deps/@akord_akord-js.js?v=4d83f8e6 net::ERR_ABORTED 504 (Outdated Optimize Dep)

Hi @phuybregts ,
thanks for reporting.
Seems like Vite is detecting incorrect path in package's main.
One of our internal packages (@akord/ts-cacheable) was published without its cjs artifact which its main references. This was fixed now in the linked PR.
Installing @akord/akord-js@latest should do the trick

@jarrvis , Hi yes that worked however it spawned another error that seems to point towards the wallet configuration. I have added another snippet of my console which describes the error:

Am I overlooking something here? Do I need to add and/or configure Akord wallet settings prior to importing AkordJS (or perhaps simultaneously?)

fixed by polyfilling nodeJs modules.
Vite + React starter for reference:
https://github.com/Akord-com/recipes/tree/main/react-vite-starter


Add moc/test xml from my AVR 1912

These shows quite a bit of difference between the devices.

Thank you for the files, it's good to be able to test with other receivers 👍
I'll check the differences.


camera parameter missing

Hi, thanks for providing this great work!
I'm trying to use this dataset currently. But i found that the extrinstic and intrinstic matrix of camera 1 and camera 3 are missing in the sensor.json and calibrated_sensor.json. Can you tell me how to get the camera paramters of cam1 and cam3?
Thank you.

Currently the sdk only has the parameters for cam0 and cam2. I'll add the other parameters in the next couple of days.

It's the same as nuscenes. But yes, z is forward, and x is right.


Plugin card changes

Add plugin info to dropdown.
Move settings just above plugin info.
Make text also clickable (plugin name, verified, funding, version)
When update available show version to update instead current.
Add fade animation to update icon.
Add bridge icon (on the left of dropdown) when there is recomended bridge, and qr code icon when connect to homekit
Cog icon notification only when plugin is not configured (update notification moved to update icon, child bridge notification moved to child bridge icon)
Remove "Homebridge" word from title. It is obvious that the plug is Homebridge.

Hi @mkz212 sorry there is now a conflict from the other PR that need fixing!

@bwp91
solved conflicts


[Collapsible] Implement Collapsible

This is the place to gather ideas, measure interest, and discuss the API and implementation details of the Collapsible component.

Bumping this to work on together with https://github.com/mui/base-ui/issues/25


OSError: Not found: "checkpoints/lit-llama/tokenizer.model": No such file or directory Error #2

Where to get the tokenizer.model file?
I have been following the instructions given here - https://github.com/Lightning-AI/lit-llama/blob/main/howto/train_redpajama.md
when I run
python scripts/prepare_redpajama.py --source_path data/RedPajama-Data-1T-Sample --tokenizer_path checkpoints/lit-llama/tokenizer.model --destination_path data/lit-redpajama-sample --sample True
I get the error -
OSError: Not found: "checkpoints/lit-llama/tokenizer.model": No such file or directory Error #2

Good question, usually it comes with the model you downloaded via the python download.py ... script

Sure, for example, you can run
scripts/download.py --repo_id openlm-research/open_llama_7b --local_dir checkpoints/open-llama/7B

as described [here](python scripts/download.py --repo_id openlm-research/open_llama_7b --local_dir checkpoints/open-llama/7B), which will download the weights and create the checkpoint files.
The download.py script is in the ./scripts/ subdirectory. Please let me know if you bump into issues or have questions.

That worked! Thank you so much


Update codeql-analysis.yml workflow to use reusable workflow

This PR simplifies the current codeql-analysis.yml workflow and updates it to use reusable workflow from the https://github.com/actions/reusable-workflows/blob/main/.github/workflows/codeql-analysis.yml

Note:
Time schedule of the automatic workflow execution was also changed to every Sunday at 3 a.m. UTC, in order to fill in the cavity of customer activity.

akv-platform:codeql-reusable-workflow


[AH-14] Buy domain name and register personal website

Description
Once all work will be close to done, host your site.
Preferable domain name: ahurynovich.com
Notes
AWS Guide for domain reqistring:
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-register.html#domain-register-procedure
Sources of domain name buying:

https://www.namecheap.com/
https://www.domain.com/
https://console.aws.amazon.com/route53/home#DomainRegistration:

https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html


Documentation menu on mobile

I was almost hesitant to raise a bug because you've done such an amazing job. But the documentation menu is taking up a lot of space on mobile. I've made a screenshot on my desktop but you get the gist of it.
Either way, thanks a lot for all the work you put into this!

Yeah definitely! I didn't get to that before the launch but it's on my list. Thanks for raising the issue.


feat(splunk): add skip tls verification

Description
Add skip tls verification for Splunk.
Use tls-verify for this.
Related Issue

#496

hi @DmitriyLewen - could you update this PR so that it's ready to be reviewed and we can merge it in once the review is done?